From 5687ccce7c25bae593c2ba8c2ad8bc6d803b536a Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 23 Apr 2024 12:41:27 +0000 Subject: [PATCH 1/4] Update generated files with build 144721 --- .../access_review_item_request_builder.go | 6 +- .../access_reviews_request_builder.go | 4 +- .../item_apply_decisions_request_builder.go | 2 +- .../item_decisions_request_builder.go | 9 +- ...es_item_apply_decisions_request_builder.go | 2 +- ...nstances_item_decisions_request_builder.go | 9 +- ...ances_item_my_decisions_request_builder.go | 9 +- ...es_item_reset_decisions_request_builder.go | 2 +- ...ss_review_reviewer_item_request_builder.go | 7 +- ...nstances_item_reviewers_request_builder.go | 16 +- ...nces_item_send_reminder_request_builder.go | 2 +- ...tem_instances_item_stop_request_builder.go | 2 +- .../item_my_decisions_request_builder.go | 9 +- .../item_reset_decisions_request_builder.go | 2 +- ...ss_review_reviewer_item_request_builder.go | 7 +- .../item_reviewers_request_builder.go | 16 +- .../item_send_reminder_request_builder.go | 2 +- accessreviews/item_stop_request_builder.go | 2 +- admin/apps_and_services_request_builder.go | 16 +- admin/dynamics_request_builder.go | 16 +- ..._browser_site_list_item_request_builder.go | 23 +- ...site_lists_item_publish_request_builder.go | 2 +- ...wser_shared_cookie_item_request_builder.go | 23 +- ...sts_item_shared_cookies_request_builder.go | 16 +- ...sites_browser_site_item_request_builder.go | 23 +- ...e_site_lists_item_sites_request_builder.go | 16 +- ...xplorer_mode_site_lists_request_builder.go | 16 +- admin/forms_request_builder.go | 16 +- ...ps_installation_options_request_builder.go | 16 +- admin/people_item_insights_request_builder.go | 16 +- ...file_card_property_item_request_builder.go | 23 +- ...profile_card_properties_request_builder.go | 16 +- admin/people_pronouns_request_builder.go | 16 +- admin/people_request_builder.go | 9 +- admin/report_settings_request_builder.go | 16 +- ...es_item_incident_report_request_builder.go | 7 +- ...cement_health_overviews_request_builder.go | 9 +- ...ews_service_health_item_request_builder.go | 9 +- ...es_item_incident_report_request_builder.go | 7 +- ...ice_announcement_issues_request_builder.go | 9 +- ...rvice_health_issue_item_request_builder.go | 9 +- ...cement_messages_archive_request_builder.go | 4 +- ...ement_messages_favorite_request_builder.go | 4 +- ...tem_attachments_archive_request_builder.go | 3 - ...ttachments_item_content_request_builder.go | 3 - ...ssages_item_attachments_request_builder.go | 9 +- ...ncement_attachment_item_request_builder.go | 9 +- ...ment_messages_mark_read_request_builder.go | 4 +- ...nt_messages_mark_unread_request_builder.go | 4 +- ...e_announcement_messages_request_builder.go | 9 +- ...ice_update_message_item_request_builder.go | 9 +- ...ment_messages_unarchive_request_builder.go | 4 +- ...ent_messages_unfavorite_request_builder.go | 4 +- admin/sharepoint_settings_request_builder.go | 16 +- admin/todo_request_builder.go | 16 +- ...updates_catalog_entries_request_builder.go | 9 +- ...eployment_audience_item_request_builder.go | 16 +- ...dates_add_members_by_id_request_builder.go | 2 +- ...ows_updates_add_members_request_builder.go | 2 +- ...es_remove_members_by_id_request_builder.go | 2 +- ..._updates_remove_members_request_builder.go | 2 +- ...diences_item_exclusions_request_builder.go | 9 +- ...dates_add_members_by_id_request_builder.go | 2 +- ...ows_updates_add_members_request_builder.go | 2 +- ...es_remove_members_by_id_request_builder.go | 2 +- ..._updates_remove_members_request_builder.go | 2 +- ..._audiences_item_members_request_builder.go | 9 +- ...s_update_audience_by_id_request_builder.go | 2 +- ...updates_update_audience_request_builder.go | 2 +- ...es_deployment_audiences_request_builder.go | 16 +- ...oyments_deployment_item_request_builder.go | 23 +- ...dates_add_members_by_id_request_builder.go | 2 +- ...ows_updates_add_members_request_builder.go | 2 +- ...es_remove_members_by_id_request_builder.go | 2 +- ..._updates_remove_members_request_builder.go | 2 +- ...tem_audience_exclusions_request_builder.go | 9 +- ...dates_add_members_by_id_request_builder.go | 2 +- ...ows_updates_add_members_request_builder.go | 2 +- ...es_remove_members_by_id_request_builder.go | 2 +- ..._updates_remove_members_request_builder.go | 2 +- ...s_item_audience_members_request_builder.go | 9 +- ...s_update_audience_by_id_request_builder.go | 2 +- ...updates_update_audience_request_builder.go | 2 +- ...ows_updates_deployments_request_builder.go | 16 +- ...with_include_all_active_request_builder.go | 14 +- ...es_resource_connections_request_builder.go | 16 +- ...esource_connection_item_request_builder.go | 16 +- ...dates_add_members_by_id_request_builder.go | 2 +- ...ows_updates_add_members_request_builder.go | 2 +- ...es_remove_members_by_id_request_builder.go | 2 +- ..._updates_remove_members_request_builder.go | 2 +- ...pdates_updatable_assets_request_builder.go | 16 +- ...ts_updatable_asset_item_request_builder.go | 16 +- ...dates_add_members_by_id_request_builder.go | 2 +- ...ows_updates_add_members_request_builder.go | 2 +- ...es_remove_members_by_id_request_builder.go | 2 +- ..._updates_remove_members_request_builder.go | 2 +- ...tem_audience_exclusions_request_builder.go | 9 +- ...dates_add_members_by_id_request_builder.go | 2 +- ...ows_updates_add_members_request_builder.go | 2 +- ...es_remove_members_by_id_request_builder.go | 2 +- ..._updates_remove_members_request_builder.go | 2 +- ...s_item_audience_members_request_builder.go | 9 +- ...s_update_audience_by_id_request_builder.go | 2 +- ...updates_update_audience_request_builder.go | 2 +- ..._compliance_change_item_request_builder.go | 23 +- ...item_compliance_changes_request_builder.go | 16 +- ...updates_update_policies_request_builder.go | 16 +- ...cies_update_policy_item_request_builder.go | 23 +- ...dministrative_unit_item_request_builder.go | 6 +- .../administrative_units_request_builder.go | 4 +- administrativeunits/delta_request_builder.go | 14 +- .../get_by_ids_request_builder.go | 4 +- .../get_user_owned_objects_request_builder.go | 2 +- ...tem_check_member_groups_request_builder.go | 4 +- .../item_get_member_groups_request_builder.go | 4 +- .../item_members_ref_request_builder.go | 3 - .../item_members_request_builder.go | 3 - .../item_restore_request_builder.go | 2 +- ...tem_scoped_role_members_request_builder.go | 16 +- ...ed_role_membership_item_request_builder.go | 16 +- .../validate_properties_request_builder.go | 2 +- .../item_acceptances_request_builder.go | 9 +- ...item_file_localizations_request_builder.go | 9 +- agreements/item_file_request_builder.go | 9 +- agreements/item_files_request_builder.go | 7 +- ..._add_large_gallery_view_request_builder.go | 2 +- app/calls_item_answer_request_builder.go | 2 +- ...udio_routing_group_item_request_builder.go | 23 +- ...em_audio_routing_groups_request_builder.go | 16 +- ...cancel_media_processing_request_builder.go | 2 +- ...nge_screen_sharing_role_request_builder.go | 2 +- ...nt_sharing_session_item_request_builder.go | 9 +- ...ontent_sharing_sessions_request_builder.go | 9 +- app/calls_item_keep_alive_request_builder.go | 2 +- app/calls_item_mute_request_builder.go | 2 +- ...ns_comms_operation_item_request_builder.go | 9 +- app/calls_item_operations_request_builder.go | 6 +- ...tem_participants_invite_request_builder.go | 6 +- ..._participants_item_mute_request_builder.go | 2 +- ...s_item_start_hold_music_request_builder.go | 2 +- ...ts_item_stop_hold_music_request_builder.go | 2 +- ...m_participants_mute_all_request_builder.go | 2 +- ...ipants_participant_item_request_builder.go | 16 +- ...calls_item_participants_request_builder.go | 9 +- app/calls_item_play_prompt_request_builder.go | 2 +- ...ls_item_record_response_request_builder.go | 2 +- app/calls_item_redirect_request_builder.go | 2 +- app/calls_item_reject_request_builder.go | 2 +- ..._item_subscribe_to_tone_request_builder.go | 2 +- app/calls_item_transfer_request_builder.go | 2 +- app/calls_item_unmute_request_builder.go | 2 +- ...update_recording_status_request_builder.go | 2 +- ...nference_device_quality_request_builder.go | 2 +- ..._meetings_create_or_get_request_builder.go | 2 +- ...ngs_get_all_transcripts_request_builder.go | 14 +- ...item_attendance_records_request_builder.go | 9 +- ...ppointment_join_web_url_request_builder.go | 12 +- ...port_attendance_records_request_builder.go | 9 +- ...eting_attendance_report_request_builder.go | 9 +- ...ngs_call_recording_item_request_builder.go | 9 +- ...eetings_item_recordings_request_builder.go | 6 +- ...istration_question_item_request_builder.go | 23 +- ...ration_custom_questions_request_builder.go | 16 +- ...tings_item_registration_request_builder.go | 23 +- ...ppointment_reminder_sms_request_builder.go | 2 +- ...virtual_appointment_sms_request_builder.go | 2 +- ...ts_call_transcript_item_request_builder.go | 9 +- ...ranscripts_item_content_request_builder.go | 3 - ...s_item_metadata_content_request_builder.go | 3 - ...etings_item_transcripts_request_builder.go | 9 +- ...ppointment_join_web_url_request_builder.go | 12 +- ...ppointment_reminder_sms_request_builder.go | 2 +- ...virtual_appointment_sms_request_builder.go | 2 +- ...pp_definitions_item_bot_request_builder.go | 9 +- ...lor_icon_hosted_content_request_builder.go | 9 +- ...d_content_value_content_request_builder.go | 3 - ...nitions_item_color_icon_request_builder.go | 9 +- ...ine_icon_hosted_content_request_builder.go | 9 +- ...d_content_value_content_request_builder.go | 3 - ...tions_item_outline_icon_request_builder.go | 9 +- ...ps_item_app_definitions_request_builder.go | 7 +- ...ams_app_definition_item_request_builder.go | 7 +- appcatalogs/teams_apps_request_builder.go | 16 +- ...ams_apps_teams_app_item_request_builder.go | 7 +- .../application_item_request_builder.go | 6 +- applications/applications_request_builder.go | 4 +- applications/delta_request_builder.go | 14 +- applications/get_by_ids_request_builder.go | 4 +- .../get_user_owned_objects_request_builder.go | 2 +- applications/item_add_key_request_builder.go | 2 +- .../item_add_password_request_builder.go | 2 +- ...ement_policies_item_ref_request_builder.go | 7 +- ...management_policies_ref_request_builder.go | 16 +- ...tem_check_member_groups_request_builder.go | 4 +- ...tem_connector_group_ref_request_builder.go | 7 +- ...extension_property_item_request_builder.go | 16 +- ...em_extension_properties_request_builder.go | 16 +- ...dentity_credential_item_request_builder.go | 23 +- ...ed_identity_credentials_request_builder.go | 16 +- ...y_credentials_with_name_request_builder.go | 23 +- .../item_get_member_groups_request_builder.go | 4 +- .../item_owners_item_ref_request_builder.go | 7 +- .../item_owners_ref_request_builder.go | 19 +- applications/item_owners_request_builder.go | 3 - .../item_remove_key_request_builder.go | 2 +- .../item_remove_password_request_builder.go | 2 +- applications/item_restore_request_builder.go | 2 +- ..._set_verified_publisher_request_builder.go | 2 +- ...on_acquire_access_token_request_builder.go | 2 +- ...ization_jobs_item_pause_request_builder.go | 2 +- ...tem_provision_on_demand_request_builder.go | 2 +- ...ation_jobs_item_restart_request_builder.go | 2 +- ...rectories_item_discover_request_builder.go | 2 +- ...schema_filter_operators_request_builder.go | 14 +- ...s_item_schema_functions_request_builder.go | 14 +- ...schema_parse_expression_request_builder.go | 2 +- ...zation_jobs_item_schema_request_builder.go | 16 +- ...ization_jobs_item_start_request_builder.go | 2 +- ...em_validate_credentials_request_builder.go | 2 +- ...em_synchronization_jobs_request_builder.go | 16 +- ...ynchronization_job_item_request_builder.go | 16 +- ...rectories_item_discover_request_builder.go | 2 +- ...schema_filter_operators_request_builder.go | 14 +- ...s_item_schema_functions_request_builder.go | 14 +- ...schema_parse_expression_request_builder.go | 2 +- ...nchronization_templates_request_builder.go | 9 +- ...onization_template_item_request_builder.go | 7 +- ...uance_policies_item_ref_request_builder.go | 7 +- ...n_issuance_policies_ref_request_builder.go | 25 +- ...token_issuance_policies_request_builder.go | 9 +- ...etime_policies_item_ref_request_builder.go | 7 +- ...n_lifetime_policies_ref_request_builder.go | 25 +- ...token_lifetime_policies_request_builder.go | 9 +- ...nset_verified_publisher_request_builder.go | 2 +- .../validate_properties_request_builder.go | 2 +- ...pplications_with_app_id_request_builder.go | 6 +- ...ations_with_unique_name_request_builder.go | 6 +- ...plication_template_item_request_builder.go | 2 +- .../application_templates_request_builder.go | 2 +- .../item_instantiate_request_builder.go | 2 +- ...curity_attribute_audits_request_builder.go | 9 +- ...ts_directory_audit_item_request_builder.go | 9 +- auditlogs/directory_audits_request_builder.go | 9 +- auditlogs/provisioning_request_builder.go | 9 +- ...ins_confirm_compromised_request_builder.go | 2 +- .../sign_ins_confirm_safe_request_builder.go | 2 +- auditlogs/sign_ins_request_builder.go | 9 +- .../sign_ins_sign_in_item_request_builder.go | 9 +- ...ooking_appointment_item_request_builder.go | 23 +- ...ppointments_item_cancel_request_builder.go | 2 +- .../item_appointments_request_builder.go | 16 +- ...lendar_view_item_cancel_request_builder.go | 2 +- .../item_calendar_view_request_builder.go | 3 - ...ng_custom_question_item_request_builder.go | 23 +- .../item_custom_questions_request_builder.go | 16 +- ...s_booking_customer_item_request_builder.go | 23 +- .../item_customers_request_builder.go | 16 +- ..._get_staff_availability_request_builder.go | 4 +- .../item_publish_request_builder.go | 2 +- ...es_booking_service_item_request_builder.go | 23 +- .../item_services_request_builder.go | 16 +- ...oking_staff_member_item_request_builder.go | 23 +- .../item_staff_members_request_builder.go | 16 +- .../item_unpublish_request_builder.go | 2 +- ...business_flow_templates_request_builder.go | 2 +- chats/chat_item_request_builder.go | 6 +- chats/chats_request_builder.go | 4 +- ...t_all_retained_messages_request_builder.go | 14 +- chats/item_hide_for_user_request_builder.go | 2 +- ...alled_apps_item_upgrade_request_builder.go | 2 +- chats/item_installed_apps_request_builder.go | 16 +- ...s_app_installation_item_request_builder.go | 16 +- ...mark_chat_read_for_user_request_builder.go | 2 +- ...rk_chat_unread_for_user_request_builder.go | 2 +- chats/item_members_add_request_builder.go | 4 +- ...onversation_member_item_request_builder.go | 16 +- chats/item_members_request_builder.go | 16 +- ...sages_chat_message_item_request_builder.go | 9 +- chats/item_messages_delta_request_builder.go | 14 +- ...age_hosted_content_item_request_builder.go | 9 +- ...ents_item_value_content_request_builder.go | 3 - ...es_item_hosted_contents_request_builder.go | 9 +- ...plies_chat_message_item_request_builder.go | 9 +- ...ages_item_replies_delta_request_builder.go | 14 +- ...age_hosted_content_item_request_builder.go | 9 +- ...ents_item_value_content_request_builder.go | 3 - ...es_item_hosted_contents_request_builder.go | 9 +- ...eplies_item_soft_delete_request_builder.go | 2 +- ...s_item_undo_soft_delete_request_builder.go | 2 +- ...m_messages_item_replies_request_builder.go | 16 +- ...ssages_item_soft_delete_request_builder.go | 2 +- ...s_item_undo_soft_delete_request_builder.go | 2 +- chats/item_messages_request_builder.go | 16 +- chats/item_operations_request_builder.go | 9 +- ...ms_async_operation_item_request_builder.go | 9 +- .../item_permission_grants_request_builder.go | 9 +- ..._chat_message_info_item_request_builder.go | 7 +- chats/item_pinned_messages_request_builder.go | 16 +- ...ove_all_access_for_user_request_builder.go | 2 +- ...d_activity_notification_request_builder.go | 2 +- chats/item_tabs_request_builder.go | 16 +- ...tem_tabs_teams_tab_item_request_builder.go | 23 +- chats/item_unhide_for_user_request_builder.go | 2 +- ...ecords_call_record_item_request_builder.go | 9 +- ...ds_item_participants_v2_request_builder.go | 9 +- ...l_records_item_sessions_request_builder.go | 9 +- .../call_records_request_builder.go | 9 +- .../calls_call_item_request_builder.go | 16 +- ..._add_large_gallery_view_request_builder.go | 2 +- .../calls_item_answer_request_builder.go | 2 +- ...udio_routing_group_item_request_builder.go | 23 +- ...em_audio_routing_groups_request_builder.go | 16 +- ...cancel_media_processing_request_builder.go | 2 +- ...nge_screen_sharing_role_request_builder.go | 2 +- ...nt_sharing_session_item_request_builder.go | 9 +- ...ontent_sharing_sessions_request_builder.go | 9 +- .../calls_item_keep_alive_request_builder.go | 2 +- .../calls_item_mute_request_builder.go | 2 +- ...ns_comms_operation_item_request_builder.go | 9 +- .../calls_item_operations_request_builder.go | 6 +- ...tem_participants_invite_request_builder.go | 6 +- ..._participants_item_mute_request_builder.go | 2 +- ...s_item_start_hold_music_request_builder.go | 2 +- ...ts_item_stop_hold_music_request_builder.go | 2 +- ...m_participants_mute_all_request_builder.go | 2 +- ...ipants_participant_item_request_builder.go | 16 +- ...calls_item_participants_request_builder.go | 9 +- .../calls_item_play_prompt_request_builder.go | 2 +- ...ls_item_record_response_request_builder.go | 2 +- .../calls_item_redirect_request_builder.go | 2 +- .../calls_item_reject_request_builder.go | 2 +- ..._item_subscribe_to_tone_request_builder.go | 2 +- .../calls_item_transfer_request_builder.go | 2 +- .../calls_item_unmute_request_builder.go | 2 +- ...update_recording_status_request_builder.go | 2 +- ...nference_device_quality_request_builder.go | 2 +- communications/calls_request_builder.go | 13 +- ...et_presences_by_user_id_request_builder.go | 4 +- ..._meetings_create_or_get_request_builder.go | 2 +- ...ngs_get_all_transcripts_request_builder.go | 14 +- ...m_alternative_recording_request_builder.go | 3 - ...item_attendance_records_request_builder.go | 9 +- ...gs_item_attendee_report_request_builder.go | 3 - ...tem_broadcast_recording_request_builder.go | 3 - ...ppointment_join_web_url_request_builder.go | 12 +- ...port_attendance_records_request_builder.go | 9 +- ...eting_attendance_report_request_builder.go | 9 +- ...meetings_item_recording_request_builder.go | 3 - ...ngs_call_recording_item_request_builder.go | 9 +- ...eetings_item_recordings_request_builder.go | 6 +- ...istration_question_item_request_builder.go | 23 +- ...ration_custom_questions_request_builder.go | 16 +- ...tings_item_registration_request_builder.go | 23 +- ...ppointment_reminder_sms_request_builder.go | 2 +- ...virtual_appointment_sms_request_builder.go | 2 +- ...ts_call_transcript_item_request_builder.go | 9 +- ...ranscripts_item_content_request_builder.go | 3 - ...s_item_metadata_content_request_builder.go | 3 - ...etings_item_transcripts_request_builder.go | 9 +- .../online_meetings_request_builder.go | 9 +- ...ppointment_join_web_url_request_builder.go | 12 +- ...ppointment_reminder_sms_request_builder.go | 2 +- ...virtual_appointment_sms_request_builder.go | 2 +- ...ces_item_clear_presence_request_builder.go | 2 +- ...user_preferred_presence_request_builder.go | 2 +- ...ences_item_set_presence_request_builder.go | 2 +- ...item_set_status_message_request_builder.go | 2 +- ...user_preferred_presence_request_builder.go | 2 +- ...presences_presence_item_request_builder.go | 9 +- communications/presences_request_builder.go | 6 +- ...scovery_cases_case_item_request_builder.go | 23 +- ...stodians_custodian_item_request_builder.go | 16 +- ...aph_ediscovery_activate_request_builder.go | 2 +- ...raph_ediscovery_release_request_builder.go | 2 +- ...dians_item_site_sources_request_builder.go | 16 +- ...ources_site_source_item_request_builder.go | 16 +- ...m_unified_group_sources_request_builder.go | 16 +- ...ified_group_source_item_request_builder.go | 16 +- ...dians_item_user_sources_request_builder.go | 16 +- ...ources_user_source_item_request_builder.go | 16 +- ...y_cases_item_custodians_request_builder.go | 16 +- ...holds_item_site_sources_request_builder.go | 16 +- ...holds_item_user_sources_request_builder.go | 16 +- ...l_holds_legal_hold_item_request_builder.go | 23 +- ..._cases_item_legal_holds_request_builder.go | 6 +- ..._graph_ediscovery_close_request_builder.go | 2 +- ...graph_ediscovery_reopen_request_builder.go | 2 +- ...raph_ediscovery_release_request_builder.go | 2 +- ...todial_data_source_item_request_builder.go | 9 +- ...ncustodial_data_sources_request_builder.go | 16 +- ...overy_add_to_review_set_request_builder.go | 2 +- ...graph_ediscovery_export_request_builder.go | 2 +- ...h_ediscovery_apply_tags_request_builder.go | 2 +- ...eview_sets_item_queries_request_builder.go | 16 +- ...s_review_set_query_item_request_builder.go | 23 +- ..._cases_item_review_sets_request_builder.go | 13 +- ...ew_sets_review_set_item_request_builder.go | 9 +- ...covery_reset_to_default_request_builder.go | 2 +- ...ery_cases_item_settings_request_builder.go | 16 +- ...to_review_set_operation_request_builder.go | 9 +- ...item_additional_sources_request_builder.go | 9 +- ..._item_custodian_sources_request_builder.go | 9 +- ...te_statistics_operation_request_builder.go | 9 +- ...ery_estimate_statistics_request_builder.go | 2 +- ...h_ediscovery_purge_data_request_builder.go | 2 +- ...em_noncustodial_sources_request_builder.go | 9 +- ...item_source_collections_request_builder.go | 16 +- ..._source_collection_item_request_builder.go | 14 +- ...em_tags_item_child_tags_request_builder.go | 9 +- ...scovery_cases_item_tags_request_builder.go | 16 +- ...ases_item_tags_tag_item_request_builder.go | 23 +- .../ediscovery_cases_request_builder.go | 16 +- ...ups_external_group_item_request_builder.go | 7 +- ...m_members_identity_item_request_builder.go | 7 +- ...tem_groups_item_members_request_builder.go | 7 +- connections/item_groups_request_builder.go | 7 +- ...tems_external_item_item_request_builder.go | 16 +- connections/item_items_request_builder.go | 6 +- connections/item_quota_request_builder.go | 9 +- connections/item_schema_request_builder.go | 16 +- contacts/contacts_request_builder.go | 2 +- contacts/delta_request_builder.go | 14 +- contacts/get_by_ids_request_builder.go | 4 +- .../get_user_owned_objects_request_builder.go | 2 +- ...tem_check_member_groups_request_builder.go | 4 +- .../item_direct_reports_request_builder.go | 3 - .../item_get_member_groups_request_builder.go | 4 +- contacts/item_manager_request_builder.go | 9 +- contacts/item_member_of_request_builder.go | 3 - contacts/item_restore_request_builder.go | 2 +- ...ry_service_provisioning_request_builder.go | 2 +- contacts/org_contact_item_request_builder.go | 2 +- .../validate_properties_request_builder.go | 2 +- contracts/contract_item_request_builder.go | 2 +- contracts/contracts_request_builder.go | 2 +- contracts/delta_request_builder.go | 14 +- contracts/get_by_ids_request_builder.go | 4 +- .../get_user_owned_objects_request_builder.go | 2 +- ...tem_check_member_groups_request_builder.go | 4 +- .../item_get_member_groups_request_builder.go | 4 +- contracts/item_restore_request_builder.go | 2 +- .../validate_properties_request_builder.go | 2 +- ...a_policy_operation_item_request_builder.go | 2 +- ...uration_assignment_item_request_builder.go | 6 +- ...ations_item_assignments_request_builder.go | 6 +- ...e_app_relationship_item_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 +- ...e_app_relationship_item_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 +- ...e_app_relationship_item_request_builder.go | 6 +- ...d_lob_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 +- ...e_lob_app_relationships_request_builder.go | 6 +- ...e_app_relationship_item_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 +- ...e_app_relationship_item_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 +- ...e_app_relationship_item_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 +- ...lk_reprovision_cloud_pc_request_builder.go | 2 +- ...s_bulk_restore_cloud_pc_request_builder.go | 2 +- ..._cloud_pc_review_status_request_builder.go | 2 +- ...c_remote_action_results_request_builder.go | 14 +- ..._cloud_pc_review_status_request_builder.go | 7 +- ...em_reprovision_cloud_pc_request_builder.go | 2 +- ...es_item_resize_cloud_pc_request_builder.go | 2 +- ...s_item_restore_cloud_pc_request_builder.go | 2 +- ..._cloud_pc_review_status_request_builder.go | 2 +- ...uration_assignment_item_request_builder.go | 6 +- ...ations_item_assignments_request_builder.go | 6 +- ...ation_device_state_item_request_builder.go | 6 +- ..._item_device_run_states_request_builder.go | 6 +- ...ations_item_run_summary_request_builder.go | 6 +- ...uration_user_state_item_request_builder.go | 6 +- ...ns_item_user_run_states_request_builder.go | 6 +- ...lk_reprovision_cloud_pc_request_builder.go | 2 +- ...s_bulk_restore_cloud_pc_request_builder.go | 2 +- ..._cloud_pc_review_status_request_builder.go | 2 +- ...c_remote_action_results_request_builder.go | 14 +- ..._cloud_pc_review_status_request_builder.go | 7 +- ...em_reprovision_cloud_pc_request_builder.go | 2 +- ...es_item_resize_cloud_pc_request_builder.go | 2 +- ...s_item_restore_cloud_pc_request_builder.go | 2 +- ..._cloud_pc_review_status_request_builder.go | 2 +- ...collection_request_item_request_builder.go | 6 +- ...log_collection_requests_request_builder.go | 6 +- ...cords_alert_record_item_request_builder.go | 9 +- ...al_notification_as_sent_request_builder.go | 2 +- ...onitoring_alert_records_request_builder.go | 9 +- ...t_rules_alert_rule_item_request_builder.go | 16 +- .../monitoring_alert_rules_request_builder.go | 16 +- ...oud_pc_audit_event_item_request_builder.go | 9 +- ...et_audit_activity_types_request_builder.go | 14 +- ...l_endpoint_audit_events_request_builder.go | 9 +- ...oud_pc_bulk_action_item_request_builder.go | 9 +- ...l_endpoint_bulk_actions_request_builder.go | 16 +- ..._cloud_p_cs_bulk_resize_request_builder.go | 4 +- ...oud_p_cs_cloud_p_c_item_request_builder.go | 9 +- ...id_with_service_plan_id_request_builder.go | 14 +- ...hange_user_account_type_request_builder.go | 2 +- ...s_item_end_grace_period_request_builder.go | 2 +- ...pc_connectivity_history_request_builder.go | 14 +- ...et_cloud_pc_launch_info_request_builder.go | 7 +- ...e_cloud_pc_access_state_request_builder.go | 7 +- ...k_cloud_pc_access_state_request_builder.go | 7 +- ...cloud_pc_remote_actions_request_builder.go | 14 +- ...oud_p_cs_item_power_off_request_builder.go | 2 +- ...loud_p_cs_item_power_on_request_builder.go | 2 +- ..._cloud_p_cs_item_reboot_request_builder.go | 2 +- ..._cloud_p_cs_item_rename_request_builder.go | 2 +- ...d_p_cs_item_reprovision_request_builder.go | 2 +- ...cloud_p_cs_item_restore_request_builder.go | 2 +- ...tner_agent_installation_request_builder.go | 2 +- ...t_cloud_p_cs_item_start_request_builder.go | 2 +- ...nt_cloud_p_cs_item_stop_request_builder.go | 2 +- ..._p_cs_item_troubleshoot_request_builder.go | 2 +- ...ual_endpoint_cloud_p_cs_request_builder.go | 9 +- ...cs_validate_bulk_resize_request_builder.go | 4 +- ...nt_organization_mapping_request_builder.go | 9 +- ...ud_pc_device_image_item_request_builder.go | 16 +- ...mages_get_source_images_request_builder.go | 14 +- ...ce_images_item_reupload_request_builder.go | 2 +- ..._endpoint_device_images_request_builder.go | 16 +- ...al_partner_setting_item_request_builder.go | 16 +- ...ternal_partner_settings_request_builder.go | 16 +- ..._line_service_plan_item_request_builder.go | 9 +- ...ront_line_service_plans_request_builder.go | 9 +- ...d_pc_gallery_image_item_request_builder.go | 9 +- ...endpoint_gallery_images_request_builder.go | 9 +- ...t_effective_permissions_request_builder.go | 14 +- ...remises_connection_item_request_builder.go | 23 +- ..._item_run_health_checks_request_builder.go | 2 +- ...date_ad_domain_password_request_builder.go | 2 +- ...on_premises_connections_request_builder.go | 16 +- ...t_organization_settings_request_builder.go | 16 +- ...g_policies_apply_config_request_builder.go | 2 +- ...rovisioning_policy_item_request_builder.go | 23 +- ...ing_policies_item_apply_request_builder.go | 2 +- ...ng_policies_item_assign_request_builder.go | 2 +- ...t_provisioning_policies_request_builder.go | 16 +- ...loud_pc_export_job_item_request_builder.go | 9 +- ...int_reports_export_jobs_request_builder.go | 13 +- ...t_action_status_reports_request_builder.go | 2 +- ..._recommendation_reports_request_builder.go | 2 +- ...nection_quality_reports_request_builder.go | 2 +- ...mote_connection_reports_request_builder.go | 2 +- ...ts_get_frontline_report_request_builder.go | 2 +- ...ssible_cloud_pc_reports_request_builder.go | 2 +- ...mote_connection_reports_request_builder.go | 2 +- ...atency_with_cloud_pc_id_request_builder.go | 7 +- ...status_with_cloud_pc_id_request_builder.go | 7 +- ...tion_historical_reports_request_builder.go | 2 +- ...se_license_usage_report_request_builder.go | 2 +- ...mote_connection_reports_request_builder.go | 2 +- ...ieve_scoped_permissions_request_builder.go | 14 +- ..._endpoint_service_plans_request_builder.go | 9 +- ...d_use_service_plan_item_request_builder.go | 9 +- ...hared_use_service_plans_request_builder.go | 9 +- ..._cloud_pc_snapshot_item_request_builder.go | 9 +- ...ts_with_subscription_id_request_builder.go | 14 +- ...shots_get_subscriptions_request_builder.go | 14 +- ...tual_endpoint_snapshots_request_builder.go | 9 +- ...point_supported_regions_request_builder.go | 9 +- ...ud_pc_user_setting_item_request_builder.go | 23 +- ...er_settings_item_assign_request_builder.go | 2 +- ..._endpoint_user_settings_request_builder.go | 16 +- devices/delta_request_builder.go | 14 +- devices/device_item_request_builder.go | 6 +- devices/devices_request_builder.go | 4 +- devices/get_by_ids_request_builder.go | 4 +- .../get_user_owned_objects_request_builder.go | 2 +- ...tem_check_member_groups_request_builder.go | 4 +- .../item_get_member_groups_request_builder.go | 4 +- devices/item_member_of_request_builder.go | 3 - ...istered_owners_item_ref_request_builder.go | 7 +- ...m_registered_owners_ref_request_builder.go | 19 +- .../item_registered_owners_request_builder.go | 3 - ...gistered_users_item_ref_request_builder.go | 7 +- ...em_registered_users_ref_request_builder.go | 19 +- .../item_registered_users_request_builder.go | 3 - devices/item_restore_request_builder.go | 2 +- ...em_transitive_member_of_request_builder.go | 3 - devices/item_usage_rights_request_builder.go | 9 +- .../validate_properties_request_builder.go | 2 +- .../devices_with_device_id_request_builder.go | 6 +- ...inistrative_units_delta_request_builder.go | 14 +- ..._units_item_members_ref_request_builder.go | 3 - ...tive_units_item_members_request_builder.go | 3 - ...tem_scoped_role_members_request_builder.go | 16 +- ...ed_role_membership_item_request_builder.go | 16 +- ...sets_attribute_set_item_request_builder.go | 16 +- directory/attribute_sets_request_builder.go | 16 +- ...tion_configuration_item_request_builder.go | 23 +- ...lication_configurations_request_builder.go | 9 +- ...tribute_definition_item_request_builder.go | 16 +- ...lues_allowed_value_item_request_builder.go | 16 +- ...ons_item_allowed_values_request_builder.go | 16 +- ...y_attribute_definitions_request_builder.go | 16 +- ...eleted_items_get_by_ids_request_builder.go | 4 +- ...tem_check_member_groups_request_builder.go | 4 +- ..._item_get_member_groups_request_builder.go | 4 +- ...eted_items_item_restore_request_builder.go | 2 +- ...ems_validate_properties_request_builder.go | 2 +- ...al_credential_info_item_request_builder.go | 9 +- ...evice_local_credentials_request_builder.go | 9 +- ...ernal_user_profile_item_request_builder.go | 23 +- .../external_user_profiles_request_builder.go | 9 +- ...tem_applies_to_item_ref_request_builder.go | 7 +- ...ies_item_applies_to_ref_request_builder.go | 16 +- ...olicies_item_applies_to_request_builder.go | 7 +- ...vailable_provider_types_request_builder.go | 14 +- ...tity_provider_base_item_request_builder.go | 7 +- ...resources_item_complete_request_builder.go | 2 +- ..._resources_item_dismiss_request_builder.go | 2 +- ...resources_item_postpone_request_builder.go | 2 +- ...sources_item_reactivate_request_builder.go | 2 +- ..._user_profile_user_item_request_builder.go | 9 +- ...em_export_personal_data_request_builder.go | 2 +- ...em_remove_personal_data_request_builder.go | 2 +- ...nd_shared_user_profiles_request_builder.go | 9 +- ...ry_synchronization_item_request_builder.go | 16 +- ...remises_synchronization_request_builder.go | 6 +- ...em_remove_personal_data_request_builder.go | 2 +- ...r_profiles_item_tenants_request_builder.go | 9 +- ..._user_profile_user_item_request_builder.go | 9 +- ...nd_shared_user_profiles_request_builder.go | 9 +- ...ernal_user_profile_item_request_builder.go | 23 +- ..._external_user_profiles_request_builder.go | 16 +- ...endations_item_complete_request_builder.go | 2 +- ...mendations_item_dismiss_request_builder.go | 2 +- ...resources_item_complete_request_builder.go | 2 +- ..._resources_item_dismiss_request_builder.go | 2 +- ...resources_item_postpone_request_builder.go | 2 +- ...sources_item_reactivate_request_builder.go | 2 +- ...endations_item_postpone_request_builder.go | 2 +- ...dations_item_reactivate_request_builder.go | 2 +- ...ons_recommendation_item_request_builder.go | 9 +- directory/recommendations_request_builder.go | 9 +- ...mpany_subscription_item_request_builder.go | 9 +- directory/subscriptions_request_builder.go | 9 +- ...ommerce_subscription_id_request_builder.go | 9 +- ...ith_ocp_subscription_id_request_builder.go | 9 +- directoryobjects/delta_request_builder.go | 14 +- .../directory_object_item_request_builder.go | 4 +- .../get_by_ids_request_builder.go | 4 +- .../get_user_owned_objects_request_builder.go | 2 +- ...tem_check_member_groups_request_builder.go | 4 +- .../item_get_member_groups_request_builder.go | 4 +- .../item_restore_request_builder.go | 2 +- .../validate_properties_request_builder.go | 2 +- directoryroles/delta_request_builder.go | 14 +- .../directory_role_item_request_builder.go | 2 +- .../directory_roles_request_builder.go | 4 +- directoryroles/get_by_ids_request_builder.go | 4 +- .../get_user_owned_objects_request_builder.go | 2 +- ...tem_check_member_groups_request_builder.go | 4 +- .../item_get_member_groups_request_builder.go | 4 +- .../item_members_item_ref_request_builder.go | 7 +- .../item_members_ref_request_builder.go | 19 +- .../item_members_request_builder.go | 3 - .../item_restore_request_builder.go | 2 +- .../item_scoped_members_request_builder.go | 9 +- .../validate_properties_request_builder.go | 2 +- ...s_with_role_template_id_request_builder.go | 2 +- .../delta_request_builder.go | 14 +- ...tory_role_template_item_request_builder.go | 2 +- ...irectory_role_templates_request_builder.go | 2 +- .../get_by_ids_request_builder.go | 4 +- .../get_user_owned_objects_request_builder.go | 2 +- ...tem_check_member_groups_request_builder.go | 4 +- .../item_get_member_groups_request_builder.go | 4 +- .../item_restore_request_builder.go | 2 +- .../validate_properties_request_builder.go | 2 +- .../delta_request_builder.go | 14 +- ...y_setting_template_item_request_builder.go | 2 +- ...ctory_setting_templates_request_builder.go | 2 +- .../get_by_ids_request_builder.go | 4 +- .../get_user_owned_objects_request_builder.go | 2 +- ...tem_check_member_groups_request_builder.go | 4 +- .../item_get_member_groups_request_builder.go | 4 +- .../item_restore_request_builder.go | 2 +- .../validate_properties_request_builder.go | 2 +- domains/domain_item_request_builder.go | 6 +- domains/domains_request_builder.go | 4 +- ..._domain_name_references_request_builder.go | 9 +- ..._domain_federation_item_request_builder.go | 23 +- ...ederation_configuration_request_builder.go | 16 +- domains/item_force_delete_request_builder.go | 2 +- domains/item_promote_request_builder.go | 4 +- ...e_configuration_records_request_builder.go | 9 +- ...erification_dns_records_request_builder.go | 9 +- domains/item_verify_request_builder.go | 2 +- drives/item_activities_request_builder.go | 9 +- ...bundles_drive_item_item_request_builder.go | 6 +- drives/item_bundles_request_builder.go | 6 +- ..._following_item_content_request_builder.go | 3 - ...ing_item_content_stream_request_builder.go | 3 - drives/item_following_request_builder.go | 9 +- ...m_items_drive_item_item_request_builder.go | 14 +- ...em_items_item_analytics_request_builder.go | 9 +- ...item_items_item_checkin_request_builder.go | 2 +- ...tem_items_item_checkout_request_builder.go | 2 +- ...m_children_item_content_request_builder.go | 3 - ...ren_item_content_stream_request_builder.go | 3 - ...tem_items_item_children_request_builder.go | 12 +- .../item_items_item_copy_request_builder.go | 6 +- ..._items_item_create_link_request_builder.go | 2 +- .../item_items_item_delta_request_builder.go | 14 +- .../item_items_item_follow_request_builder.go | 2 +- ...date_time_with_interval_request_builder.go | 14 +- .../item_items_item_invite_request_builder.go | 4 +- ..._permissions_item_grant_request_builder.go | 10 +- ...ions_item_revoke_grants_request_builder.go | 6 +- ...issions_permission_item_request_builder.go | 23 +- ..._items_item_permissions_request_builder.go | 9 +- ...item_items_item_restore_request_builder.go | 2 +- ...ms_item_retention_label_request_builder.go | 14 +- ...tems_item_search_with_q_request_builder.go | 14 +- ...ptions_item_reauthorize_request_builder.go | 2 +- ...m_items_item_thumbnails_request_builder.go | 9 +- ...ails_thumbnail_set_item_request_builder.go | 6 +- ...tem_items_item_unfollow_request_builder.go | 2 +- ...drive_item_version_item_request_builder.go | 9 +- ...m_versions_item_content_request_builder.go | 3 - ...ns_item_restore_version_request_builder.go | 2 +- ...tem_items_item_versions_request_builder.go | 9 +- ...k_application_calculate_request_builder.go | 2 +- ...em_workbook_application_request_builder.go | 9 +- ..._workbook_close_session_request_builder.go | 2 +- ...workbook_create_session_request_builder.go | 2 +- ...names_add_formula_local_request_builder.go | 2 +- ...item_workbook_names_add_request_builder.go | 2 +- ...rkbook_names_item_range_request_builder.go | 2 +- ...ems_item_workbook_names_request_builder.go | 9 +- ...orkbook_named_item_item_request_builder.go | 23 +- ...tem_workbook_operations_request_builder.go | 6 +- ...workbook_operation_item_request_builder.go | 9 +- ...orkbook_refresh_session_request_builder.go | 2 +- ...tem_workbook_tables_add_request_builder.go | 6 +- ...ith_index_clear_filters_request_builder.go | 2 +- ...m_at_with_index_columns_request_builder.go | 16 +- ..._index_convert_to_range_request_builder.go | 2 +- ...h_index_data_body_range_request_builder.go | 2 +- ..._index_header_row_range_request_builder.go | 2 +- ...tem_at_with_index_range_request_builder.go | 2 +- ...h_index_reapply_filters_request_builder.go | 2 +- ...item_at_with_index_rows_request_builder.go | 16 +- ...item_at_with_index_sort_request_builder.go | 9 +- ...h_index_total_row_range_request_builder.go | 2 +- ...bles_item_clear_filters_request_builder.go | 2 +- ...tables_item_columns_add_request_builder.go | 2 +- ...h_index_data_body_range_request_builder.go | 2 +- ..._index_header_row_range_request_builder.go | 2 +- ...tem_at_with_index_range_request_builder.go | 2 +- ...umns_item_at_with_index_request_builder.go | 7 +- ...h_index_total_row_range_request_builder.go | 2 +- ...ns_item_data_body_range_request_builder.go | 2 +- ...lumns_item_filter_apply_request_builder.go | 2 +- ...lumns_item_filter_clear_request_builder.go | 2 +- ...s_item_header_row_range_request_builder.go | 2 +- ...item_columns_item_range_request_builder.go | 2 +- ...ns_item_total_row_range_request_builder.go | 2 +- ...ook_tables_item_columns_request_builder.go | 16 +- ...kbook_table_column_item_request_builder.go | 23 +- ...s_item_convert_to_range_request_builder.go | 2 +- ...es_item_data_body_range_request_builder.go | 2 +- ...s_item_header_row_range_request_builder.go | 2 +- ...kbook_tables_item_range_request_builder.go | 2 +- ...es_item_reapply_filters_request_builder.go | 2 +- ...ok_tables_item_rows_add_request_builder.go | 2 +- ...tem_at_with_index_range_request_builder.go | 2 +- ...rows_item_at_with_index_request_builder.go | 7 +- ...es_item_rows_item_range_request_builder.go | 2 +- ...rkbook_tables_item_rows_request_builder.go | 16 +- ...workbook_table_row_item_request_builder.go | 23 +- ..._tables_item_sort_apply_request_builder.go | 2 +- ..._tables_item_sort_clear_request_builder.go | 2 +- ...ables_item_sort_reapply_request_builder.go | 2 +- ...rkbook_tables_item_sort_request_builder.go | 9 +- ...es_item_total_row_range_request_builder.go | 2 +- ...ms_item_workbook_tables_request_builder.go | 9 +- ...les_workbook_table_item_request_builder.go | 23 +- ...workbook_worksheets_add_request_builder.go | 2 +- ...ll_with_row_with_column_request_builder.go | 7 +- ...ksheets_item_charts_add_request_builder.go | 2 +- ..._with_index_data_labels_request_builder.go | 16 +- ...em_at_with_index_legend_request_builder.go | 16 +- ...arts_item_at_with_index_request_builder.go | 7 +- ...em_at_with_index_series_request_builder.go | 16 +- ..._at_with_index_set_data_request_builder.go | 2 +- ...with_index_set_position_request_builder.go | 2 +- ...tem_at_with_index_title_request_builder.go | 16 +- ...tegory_axis_format_font_request_builder.go | 16 +- ..._axis_format_line_clear_request_builder.go | 2 +- ...tegory_axis_format_line_request_builder.go | 16 +- ...lines_format_line_clear_request_builder.go | 2 +- ...lines_format_line_clear_request_builder.go | 2 +- ...ry_axis_minor_gridlines_request_builder.go | 16 +- ...xes_category_axis_title_request_builder.go | 16 +- ...series_axis_format_font_request_builder.go | 16 +- ..._axis_format_line_clear_request_builder.go | 2 +- ...series_axis_format_line_request_builder.go | 16 +- ...lines_format_line_clear_request_builder.go | 2 +- ...lines_format_line_clear_request_builder.go | 2 +- ...es_axis_minor_gridlines_request_builder.go | 16 +- ..._axes_series_axis_title_request_builder.go | 16 +- ..._value_axis_format_font_request_builder.go | 16 +- ..._axis_format_line_clear_request_builder.go | 2 +- ..._value_axis_format_line_request_builder.go | 16 +- ...lines_format_line_clear_request_builder.go | 2 +- ...lines_format_line_clear_request_builder.go | 2 +- ...ue_axis_minor_gridlines_request_builder.go | 16 +- ...ts_item_axes_value_axis_request_builder.go | 16 +- ...m_axes_value_axis_title_request_builder.go | 16 +- ...abels_format_fill_clear_request_builder.go | 2 +- ...at_fill_set_solid_color_request_builder.go | 2 +- ...charts_item_data_labels_request_builder.go | 16 +- ..._item_format_fill_clear_request_builder.go | 2 +- ...at_fill_set_solid_color_request_builder.go | 2 +- ...egend_format_fill_clear_request_builder.go | 2 +- ...at_fill_set_solid_color_request_builder.go | 2 +- ...item_charts_item_legend_request_builder.go | 16 +- ...em_at_with_index_points_request_builder.go | 16 +- ...ries_item_at_with_index_request_builder.go | 7 +- ..._item_format_fill_clear_request_builder.go | 2 +- ...at_fill_set_solid_color_request_builder.go | 2 +- ..._item_format_line_clear_request_builder.go | 2 +- ...ints_item_at_with_index_request_builder.go | 7 +- ..._item_format_fill_clear_request_builder.go | 2 +- ...at_fill_set_solid_color_request_builder.go | 2 +- ...item_series_item_points_request_builder.go | 16 +- ...rkbook_chart_point_item_request_builder.go | 9 +- ...item_charts_item_series_request_builder.go | 16 +- ...kbook_chart_series_item_request_builder.go | 16 +- ...em_charts_item_set_data_request_builder.go | 2 +- ...harts_item_set_position_request_builder.go | 2 +- ...title_format_fill_clear_request_builder.go | 2 +- ...at_fill_set_solid_color_request_builder.go | 2 +- ..._item_charts_item_title_request_builder.go | 16 +- ...m_with_name_data_labels_request_builder.go | 16 +- ...s_item_with_name_legend_request_builder.go | 16 +- ...s_item_with_name_series_request_builder.go | 16 +- ...item_with_name_set_data_request_builder.go | 2 +- ..._with_name_set_position_request_builder.go | 2 +- ...ts_item_with_name_title_request_builder.go | 16 +- ..._worksheets_item_charts_request_builder.go | 16 +- ...rts_workbook_chart_item_request_builder.go | 23 +- ...names_add_formula_local_request_builder.go | 2 +- ...rksheets_item_names_add_request_builder.go | 2 +- ...s_item_names_item_range_request_builder.go | 2 +- ...k_worksheets_item_names_request_builder.go | 9 +- ...item_protection_protect_request_builder.go | 2 +- ...ksheets_item_protection_request_builder.go | 9 +- ...em_protection_unprotect_request_builder.go | 2 +- ...ksheets_item_tables_add_request_builder.go | 6 +- ...ith_index_clear_filters_request_builder.go | 2 +- ...m_at_with_index_columns_request_builder.go | 16 +- ..._index_convert_to_range_request_builder.go | 2 +- ...h_index_data_body_range_request_builder.go | 2 +- ..._index_header_row_range_request_builder.go | 2 +- ...tem_at_with_index_range_request_builder.go | 2 +- ...h_index_reapply_filters_request_builder.go | 2 +- ...item_at_with_index_rows_request_builder.go | 16 +- ...item_at_with_index_sort_request_builder.go | 9 +- ...h_index_total_row_range_request_builder.go | 2 +- ...bles_item_clear_filters_request_builder.go | 2 +- ...tables_item_columns_add_request_builder.go | 2 +- ...h_index_data_body_range_request_builder.go | 2 +- ..._index_header_row_range_request_builder.go | 2 +- ...tem_at_with_index_range_request_builder.go | 2 +- ...umns_item_at_with_index_request_builder.go | 7 +- ...h_index_total_row_range_request_builder.go | 2 +- ...ns_item_data_body_range_request_builder.go | 2 +- ...lumns_item_filter_apply_request_builder.go | 2 +- ...lumns_item_filter_clear_request_builder.go | 2 +- ...s_item_header_row_range_request_builder.go | 2 +- ...item_columns_item_range_request_builder.go | 2 +- ...ns_item_total_row_range_request_builder.go | 2 +- ...tem_tables_item_columns_request_builder.go | 16 +- ...kbook_table_column_item_request_builder.go | 23 +- ...s_item_convert_to_range_request_builder.go | 2 +- ...es_item_data_body_range_request_builder.go | 2 +- ...s_item_header_row_range_request_builder.go | 2 +- ..._item_tables_item_range_request_builder.go | 2 +- ...es_item_reapply_filters_request_builder.go | 2 +- ...em_tables_item_rows_add_request_builder.go | 2 +- ...tem_at_with_index_range_request_builder.go | 2 +- ...rows_item_at_with_index_request_builder.go | 7 +- ...es_item_rows_item_range_request_builder.go | 2 +- ...s_item_tables_item_rows_request_builder.go | 16 +- ...workbook_table_row_item_request_builder.go | 23 +- ..._tables_item_sort_apply_request_builder.go | 2 +- ..._tables_item_sort_clear_request_builder.go | 2 +- ...ables_item_sort_reapply_request_builder.go | 2 +- ...s_item_tables_item_sort_request_builder.go | 9 +- ...es_item_total_row_range_request_builder.go | 2 +- ..._worksheets_item_tables_request_builder.go | 9 +- ...tem_workbook_worksheets_request_builder.go | 9 +- ...workbook_worksheet_item_request_builder.go | 23 +- drives/item_list_columns_request_builder.go | 10 +- ...y_from_content_type_hub_request_builder.go | 2 +- ..._content_types_add_copy_request_builder.go | 2 +- ...tible_hub_content_types_request_builder.go | 14 +- ...ssociate_with_hub_sites_request_builder.go | 2 +- ..._column_definition_item_request_builder.go | 23 +- ...tent_types_item_columns_request_builder.go | 10 +- ...efault_content_location_request_builder.go | 2 +- ...types_item_is_published_request_builder.go | 6 + ...tent_types_item_publish_request_builder.go | 2 +- ...nt_types_item_unpublish_request_builder.go | 2 +- ...item_list_content_types_request_builder.go | 3 - .../item_list_items_delta_request_builder.go | 14 +- ..._items_item_create_link_request_builder.go | 2 +- ...cument_set_version_item_request_builder.go | 16 +- ...t_versions_item_restore_request_builder.go | 2 +- ...m_document_set_versions_request_builder.go | 16 +- ...t_items_item_drive_item_request_builder.go | 6 +- ..._list_items_item_fields_request_builder.go | 7 +- ...st_items_list_item_item_request_builder.go | 16 +- drives/item_list_items_request_builder.go | 16 +- ...ptions_item_reauthorize_request_builder.go | 2 +- drives/item_recent_request_builder.go | 14 +- drives/item_root_content_request_builder.go | 3 - ...tem_root_content_stream_request_builder.go | 3 - drives/item_root_request_builder.go | 9 +- drives/item_search_with_q_request_builder.go | 14 +- drives/item_shared_with_me_request_builder.go | 14 +- ...special_drive_item_item_request_builder.go | 9 +- drives/item_special_request_builder.go | 6 +- education/classes_delta_request_builder.go | 14 +- ...es_education_class_item_request_builder.go | 23 +- ...gnment_categories_delta_request_builder.go | 14 +- ...education_category_item_request_builder.go | 16 +- ...m_assignment_categories_request_builder.go | 16 +- ...tem_assignment_defaults_request_builder.go | 16 +- ...n_grading_category_item_request_builder.go | 7 +- ...ion_grading_scheme_item_request_builder.go | 16 +- ...ettings_grading_schemes_request_builder.go | 13 +- ...tem_assignment_settings_request_builder.go | 16 +- ..._item_assignments_delta_request_builder.go | 14 +- ...ucation_assignment_item_request_builder.go | 23 +- ...signments_item_activate_request_builder.go | 2 +- ...s_item_categories_delta_request_builder.go | 14 +- ...nts_item_categories_ref_request_builder.go | 9 +- ...gnments_item_categories_request_builder.go | 9 +- ...gnments_item_deactivate_request_builder.go | 2 +- ...ssignments_item_publish_request_builder.go | 2 +- ...ssignment_resource_item_request_builder.go | 16 +- ...ignments_item_resources_request_builder.go | 16 +- ...gnments_item_rubric_ref_request_builder.go | 21 +- ...assignments_item_rubric_request_builder.go | 23 +- ...edback_resources_folder_request_builder.go | 2 +- ...set_up_resources_folder_request_builder.go | 2 +- ...ucation_submission_item_request_builder.go | 9 +- ...submissions_item_excuse_request_builder.go | 2 +- ..._education_outcome_item_request_builder.go | 14 +- ...bmissions_item_outcomes_request_builder.go | 16 +- ...bmissions_item_reassign_request_builder.go | 2 +- ...ubmission_resource_item_request_builder.go | 16 +- ...missions_item_resources_request_builder.go | 16 +- ...submissions_item_return_request_builder.go | 2 +- ...set_up_resources_folder_request_builder.go | 2 +- ...submissions_item_submit_request_builder.go | 2 +- ...bmissions_item_unsubmit_request_builder.go | 2 +- ...nments_item_submissions_request_builder.go | 9 +- ...lasses_item_assignments_request_builder.go | 16 +- .../classes_item_group_request_builder.go | 9 +- ...s_item_members_item_ref_request_builder.go | 7 +- ...lasses_item_members_ref_request_builder.go | 25 +- .../classes_item_members_request_builder.go | 9 +- ...s_education_module_item_request_builder.go | 23 +- ...s_item_modules_item_pin_request_builder.go | 2 +- ...em_modules_item_publish_request_builder.go | 2 +- ...on_module_resource_item_request_builder.go | 23 +- ..._modules_item_resources_request_builder.go | 16 +- ...set_up_resources_folder_request_builder.go | 2 +- ...item_modules_item_unpin_request_builder.go | 2 +- .../classes_item_modules_request_builder.go | 16 +- .../classes_item_schools_request_builder.go | 9 +- ..._item_teachers_item_ref_request_builder.go | 7 +- ...asses_item_teachers_ref_request_builder.go | 25 +- .../classes_item_teachers_request_builder.go | 9 +- education/classes_request_builder.go | 16 +- .../me_assignments_delta_request_builder.go | 14 +- ...signments_item_activate_request_builder.go | 2 +- ...s_item_categories_delta_request_builder.go | 14 +- ...nts_item_categories_ref_request_builder.go | 9 +- ...gnments_item_categories_request_builder.go | 9 +- ...gnments_item_deactivate_request_builder.go | 2 +- ...ssignments_item_publish_request_builder.go | 2 +- ...ssignment_resource_item_request_builder.go | 16 +- ...ignments_item_resources_request_builder.go | 16 +- ...gnments_item_rubric_ref_request_builder.go | 21 +- ...assignments_item_rubric_request_builder.go | 23 +- ...edback_resources_folder_request_builder.go | 2 +- ...set_up_resources_folder_request_builder.go | 2 +- ...ucation_submission_item_request_builder.go | 9 +- ...submissions_item_excuse_request_builder.go | 2 +- ..._education_outcome_item_request_builder.go | 14 +- ...bmissions_item_outcomes_request_builder.go | 16 +- ...bmissions_item_reassign_request_builder.go | 2 +- ...ubmission_resource_item_request_builder.go | 16 +- ...missions_item_resources_request_builder.go | 16 +- ...submissions_item_return_request_builder.go | 2 +- ...set_up_resources_folder_request_builder.go | 2 +- ...submissions_item_submit_request_builder.go | 2 +- ...bmissions_item_unsubmit_request_builder.go | 2 +- ...nments_item_submissions_request_builder.go | 9 +- education/me_assignments_request_builder.go | 9 +- education/me_classes_request_builder.go | 9 +- ...s_education_rubric_item_request_builder.go | 23 +- education/me_rubrics_request_builder.go | 16 +- education/me_schools_request_builder.go | 9 +- education/me_user_request_builder.go | 9 +- education/schools_delta_request_builder.go | 14 +- ...s_education_school_item_request_builder.go | 23 +- ...tem_administrative_unit_request_builder.go | 9 +- ...s_item_classes_item_ref_request_builder.go | 7 +- ...chools_item_classes_ref_request_builder.go | 25 +- .../schools_item_classes_request_builder.go | 9 +- ...ols_item_users_item_ref_request_builder.go | 7 +- .../schools_item_users_ref_request_builder.go | 25 +- .../schools_item_users_request_builder.go | 9 +- education/schools_request_builder.go | 16 +- ...ronization_profile_item_request_builder.go | 16 +- ...on_profiles_item_errors_request_builder.go | 9 +- ...ion_profiles_item_pause_request_builder.go | 2 +- ...les_item_profile_status_request_builder.go | 9 +- ...ion_profiles_item_reset_request_builder.go | 2 +- ...on_profiles_item_resume_request_builder.go | 2 +- ...ion_profiles_item_start_request_builder.go | 4 +- ...rofiles_item_upload_url_request_builder.go | 12 +- ...ynchronization_profiles_request_builder.go | 9 +- education/users_delta_request_builder.go | 14 +- ...ers_education_user_item_request_builder.go | 23 +- ..._item_assignments_delta_request_builder.go | 14 +- ...signments_item_activate_request_builder.go | 2 +- ...s_item_categories_delta_request_builder.go | 14 +- ...nts_item_categories_ref_request_builder.go | 9 +- ...gnments_item_categories_request_builder.go | 9 +- ...gnments_item_deactivate_request_builder.go | 2 +- ...ssignments_item_publish_request_builder.go | 2 +- ...ssignment_resource_item_request_builder.go | 16 +- ...ignments_item_resources_request_builder.go | 16 +- ...gnments_item_rubric_ref_request_builder.go | 21 +- ...assignments_item_rubric_request_builder.go | 23 +- ...edback_resources_folder_request_builder.go | 2 +- ...set_up_resources_folder_request_builder.go | 2 +- ...ucation_submission_item_request_builder.go | 9 +- ...submissions_item_excuse_request_builder.go | 2 +- ..._education_outcome_item_request_builder.go | 14 +- ...bmissions_item_outcomes_request_builder.go | 16 +- ...bmissions_item_reassign_request_builder.go | 2 +- ...ubmission_resource_item_request_builder.go | 16 +- ...missions_item_resources_request_builder.go | 16 +- ...submissions_item_return_request_builder.go | 2 +- ...set_up_resources_folder_request_builder.go | 2 +- ...submissions_item_submit_request_builder.go | 2 +- ...bmissions_item_unsubmit_request_builder.go | 2 +- ...nments_item_submissions_request_builder.go | 9 +- .../users_item_assignments_request_builder.go | 9 +- .../users_item_classes_request_builder.go | 9 +- ...s_education_rubric_item_request_builder.go | 23 +- .../users_item_rubrics_request_builder.go | 16 +- .../users_item_schools_request_builder.go | 9 +- education/users_item_user_request_builder.go | 9 +- education/users_request_builder.go | 16 +- ...munities_community_item_request_builder.go | 9 +- .../communities_request_builder.go | 13 +- ...nt_async_operation_item_request_builder.go | 9 +- ...gement_async_operations_request_builder.go | 6 +- ...xport_jobs_item_content_request_builder.go | 3 - .../goals_export_jobs_request_builder.go | 16 +- ...ng_course_activity_item_request_builder.go | 9 +- ...rning_course_activities_request_builder.go | 6 +- ...ernalcourse_activity_id_request_builder.go | 9 +- ...s_learning_content_item_request_builder.go | 23 +- ..._item_learning_contents_request_builder.go | 9 +- ...ntents_with_external_id_request_builder.go | 23 +- ...ng_course_activity_item_request_builder.go | 14 +- ...rning_course_activities_request_builder.go | 7 +- ...ernalcourse_activity_id_request_builder.go | 14 +- ..._learning_provider_item_request_builder.go | 23 +- .../learning_providers_request_builder.go | 16 +- .../authorization_systems_request_builder.go | 9 +- ...xternal_connection_item_request_builder.go | 23 +- ...ups_external_group_item_request_builder.go | 7 +- ...m_members_identity_item_request_builder.go | 7 +- ...tem_groups_item_members_request_builder.go | 7 +- ...connections_item_groups_request_builder.go | 7 +- ...tems_external_item_item_request_builder.go | 16 +- .../connections_item_items_request_builder.go | 6 +- .../connections_item_quota_request_builder.go | 9 +- ...connections_item_schema_request_builder.go | 16 +- external/connections_request_builder.go | 16 +- ...try_data_connector_item_request_builder.go | 23 +- ..._industry_data_validate_request_builder.go | 2 +- ...ry_data_data_connectors_request_builder.go | 16 +- ...flows_inbound_flow_item_request_builder.go | 23 +- ...stry_data_inbound_flows_request_builder.go | 16 +- ..._running_operation_item_request_builder.go | 9 +- ...ndustry_data_operations_request_builder.go | 9 +- ..._provisioning_flow_item_request_builder.go | 23 +- ...item_provisioning_flows_request_builder.go | 16 +- ..._provisioning_flow_sets_request_builder.go | 9 +- ...ference_definition_item_request_builder.go | 9 +- ...a_reference_definitions_request_builder.go | 9 +- ...dustry_data_role_groups_request_builder.go | 9 +- ..._groups_role_group_item_request_builder.go | 9 +- ..._industry_data_run_item_request_builder.go | 9 +- ...try_data_get_statistics_request_builder.go | 7 +- .../industry_data_runs_request_builder.go | 9 +- ...try_data_source_systems_request_builder.go | 16 +- ..._system_definition_item_request_builder.go | 23 +- .../industry_data_years_request_builder.go | 16 +- ..._period_definition_item_request_builder.go | 23 +- graph_request_adapter.go | 3 +- ...roup_lifecycle_policies_request_builder.go | 4 +- ...p_lifecycle_policy_item_request_builder.go | 6 +- .../renew_group_request_builder.go | 4 +- groups/delta_request_builder.go | 14 +- ...uate_dynamic_membership_request_builder.go | 2 +- groups/get_by_ids_request_builder.go | 4 +- .../get_user_owned_objects_request_builder.go | 2 +- groups/group_item_request_builder.go | 6 +- groups/groups_request_builder.go | 4 +- ...cepted_senders_item_ref_request_builder.go | 7 +- ...em_accepted_senders_ref_request_builder.go | 25 +- .../item_accepted_senders_request_builder.go | 9 +- groups/item_add_favorite_request_builder.go | 2 +- ...pp_role_assignment_item_request_builder.go | 7 +- ...em_app_role_assignments_request_builder.go | 10 +- groups/item_assign_license_request_builder.go | 2 +- ...alendar_permission_item_request_builder.go | 23 +- ...ar_calendar_permissions_request_builder.go | 13 +- ...dar_calendar_view_delta_request_builder.go | 4 +- ...lendar_view_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ...r_view_item_attachments_request_builder.go | 16 +- ...lendar_view_item_cancel_request_builder.go | 2 +- ...endar_view_item_decline_request_builder.go | 2 +- ...w_item_dismiss_reminder_request_builder.go | 2 +- ...ption_occurrences_delta_request_builder.go | 4 +- ...occurrences_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ...rences_item_attachments_request_builder.go | 16 +- ...occurrences_item_cancel_request_builder.go | 2 +- ...ccurrences_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 9 +- ...rrences_item_extensions_request_builder.go | 13 +- ...ccurrences_item_forward_request_builder.go | 2 +- ...es_item_instances_delta_request_builder.go | 4 +- ...m_instances_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ...tances_item_attachments_request_builder.go | 16 +- ...m_instances_item_cancel_request_builder.go | 2 +- ..._instances_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 9 +- ...stances_item_extensions_request_builder.go | 13 +- ..._instances_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...urrences_item_instances_request_builder.go | 3 - ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 9 +- ...ar_view_item_extensions_request_builder.go | 13 +- ...endar_view_item_forward_request_builder.go | 2 +- ...ew_item_instances_delta_request_builder.go | 4 +- ...m_instances_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ...tances_item_attachments_request_builder.go | 16 +- ...m_instances_item_cancel_request_builder.go | 2 +- ..._instances_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...ption_occurrences_delta_request_builder.go | 4 +- ...occurrences_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ...rences_item_attachments_request_builder.go | 16 +- ...occurrences_item_cancel_request_builder.go | 2 +- ...ccurrences_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 9 +- ...rrences_item_extensions_request_builder.go | 13 +- ...ccurrences_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 9 +- ...stances_item_extensions_request_builder.go | 13 +- ..._instances_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...dar_view_item_instances_request_builder.go | 3 - ...ew_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ..._calendar_calendar_view_request_builder.go | 3 - ...m_calendar_events_delta_request_builder.go | 4 +- ...ndar_events_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ...events_item_attachments_request_builder.go | 16 +- ...ndar_events_item_cancel_request_builder.go | 2 +- ...dar_events_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...ption_occurrences_delta_request_builder.go | 4 +- ...occurrences_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ...rences_item_attachments_request_builder.go | 16 +- ...occurrences_item_cancel_request_builder.go | 2 +- ...ccurrences_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 9 +- ...rrences_item_extensions_request_builder.go | 13 +- ...ccurrences_item_forward_request_builder.go | 2 +- ...es_item_instances_delta_request_builder.go | 4 +- ...m_instances_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ...tances_item_attachments_request_builder.go | 16 +- ...m_instances_item_cancel_request_builder.go | 2 +- ..._instances_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 9 +- ...stances_item_extensions_request_builder.go | 13 +- ..._instances_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...urrences_item_instances_request_builder.go | 3 - ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 9 +- ..._events_item_extensions_request_builder.go | 13 +- ...dar_events_item_forward_request_builder.go | 2 +- ...ts_item_instances_delta_request_builder.go | 4 +- ...m_instances_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ...tances_item_attachments_request_builder.go | 16 +- ...m_instances_item_cancel_request_builder.go | 2 +- ..._instances_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...ption_occurrences_delta_request_builder.go | 4 +- ...occurrences_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ...rences_item_attachments_request_builder.go | 16 +- ...occurrences_item_cancel_request_builder.go | 2 +- ...ccurrences_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 9 +- ...rrences_item_extensions_request_builder.go | 13 +- ...ccurrences_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 9 +- ...stances_item_extensions_request_builder.go | 13 +- ..._instances_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...r_events_item_instances_request_builder.go | 3 - ...ts_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- .../item_calendar_events_request_builder.go | 16 +- ...m_calendar_get_schedule_request_builder.go | 4 +- ...tem_calendar_view_delta_request_builder.go | 4 +- ...lendar_view_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ...r_view_item_attachments_request_builder.go | 16 +- ...lendar_view_item_cancel_request_builder.go | 2 +- ...endar_view_item_decline_request_builder.go | 2 +- ...w_item_dismiss_reminder_request_builder.go | 2 +- ...ption_occurrences_delta_request_builder.go | 4 +- ...occurrences_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ...rences_item_attachments_request_builder.go | 16 +- ...occurrences_item_cancel_request_builder.go | 2 +- ...ccurrences_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 9 +- ...rrences_item_extensions_request_builder.go | 13 +- ...ccurrences_item_forward_request_builder.go | 2 +- ...es_item_instances_delta_request_builder.go | 4 +- ...m_instances_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ...tances_item_attachments_request_builder.go | 16 +- ...m_instances_item_cancel_request_builder.go | 2 +- ..._instances_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 9 +- ...stances_item_extensions_request_builder.go | 13 +- ..._instances_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...urrences_item_instances_request_builder.go | 3 - ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 9 +- ...ar_view_item_extensions_request_builder.go | 13 +- ...endar_view_item_forward_request_builder.go | 2 +- ...ew_item_instances_delta_request_builder.go | 4 +- ...m_instances_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ...tances_item_attachments_request_builder.go | 16 +- ...m_instances_item_cancel_request_builder.go | 2 +- ..._instances_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...ption_occurrences_delta_request_builder.go | 4 +- ...occurrences_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ...rences_item_attachments_request_builder.go | 16 +- ...occurrences_item_cancel_request_builder.go | 2 +- ...ccurrences_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 9 +- ...rrences_item_extensions_request_builder.go | 13 +- ...ccurrences_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 9 +- ...stances_item_extensions_request_builder.go | 13 +- ..._instances_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...dar_view_item_instances_request_builder.go | 3 - ...ew_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- groups/item_calendar_view_request_builder.go | 3 - ...tem_check_member_groups_request_builder.go | 4 +- ...tions_conversation_item_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ..._posts_item_attachments_request_builder.go | 9 +- ...tensions_extension_item_request_builder.go | 16 +- ...m_posts_item_extensions_request_builder.go | 6 +- ...item_posts_item_forward_request_builder.go | 2 +- ...s_create_upload_session_request_builder.go | 2 +- ...in_reply_to_attachments_request_builder.go | 9 +- ...tensions_extension_item_request_builder.go | 16 +- ..._in_reply_to_extensions_request_builder.go | 6 +- ...tem_in_reply_to_forward_request_builder.go | 2 +- ...ds_item_posts_post_item_request_builder.go | 9 +- ...item_threads_item_posts_request_builder.go | 9 +- ...item_threads_item_reply_request_builder.go | 2 +- ...versations_item_threads_request_builder.go | 16 +- groups/item_conversations_request_builder.go | 16 +- ...endpoints_endpoint_item_request_builder.go | 9 +- groups/item_endpoints_request_builder.go | 9 +- ...uate_dynamic_membership_request_builder.go | 2 +- groups/item_events_delta_request_builder.go | 4 +- .../item_events_event_item_request_builder.go | 23 +- ...item_events_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ...events_item_attachments_request_builder.go | 16 +- ...item_events_item_cancel_request_builder.go | 2 +- ...tem_events_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...ption_occurrences_delta_request_builder.go | 4 +- ...occurrences_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ...rences_item_attachments_request_builder.go | 16 +- ...occurrences_item_cancel_request_builder.go | 2 +- ...ccurrences_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 9 +- ...rrences_item_extensions_request_builder.go | 13 +- ...ccurrences_item_forward_request_builder.go | 2 +- ...es_item_instances_delta_request_builder.go | 4 +- ...m_instances_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ...tances_item_attachments_request_builder.go | 16 +- ...m_instances_item_cancel_request_builder.go | 2 +- ..._instances_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 9 +- ...stances_item_extensions_request_builder.go | 13 +- ..._instances_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...urrences_item_instances_request_builder.go | 3 - ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 9 +- ..._events_item_extensions_request_builder.go | 13 +- ...tem_events_item_forward_request_builder.go | 2 +- ...ts_item_instances_delta_request_builder.go | 4 +- ...m_instances_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ...tances_item_attachments_request_builder.go | 16 +- ...m_instances_item_cancel_request_builder.go | 2 +- ..._instances_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...ption_occurrences_delta_request_builder.go | 4 +- ...occurrences_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ...rences_item_attachments_request_builder.go | 16 +- ...occurrences_item_cancel_request_builder.go | 2 +- ...ccurrences_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 9 +- ...rrences_item_extensions_request_builder.go | 13 +- ...ccurrences_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 9 +- ...stances_item_extensions_request_builder.go | 13 +- ..._instances_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...m_events_item_instances_request_builder.go | 3 - ...ts_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- groups/item_events_request_builder.go | 16 +- .../item_get_member_groups_request_builder.go | 4 +- ...le_policies_renew_group_request_builder.go | 4 +- ...roup_lifecycle_policies_request_builder.go | 9 +- groups/item_member_of_request_builder.go | 3 - .../item_members_item_ref_request_builder.go | 7 +- groups/item_members_ref_request_builder.go | 19 +- groups/item_members_request_builder.go | 3 - ...t_notebook_from_web_url_request_builder.go | 2 +- ...lude_personal_notebooks_request_builder.go | 14 +- ...ooks_item_copy_notebook_request_builder.go | 2 +- ...ups_item_section_groups_request_builder.go | 9 +- ...s_item_copy_to_notebook_request_builder.go | 2 +- ...m_copy_to_section_group_request_builder.go | 2 +- ...es_item_copy_to_section_request_builder.go | 2 +- ...on_groups_item_sections_request_builder.go | 16 +- ...oks_item_section_groups_request_builder.go | 16 +- ...s_item_copy_to_notebook_request_builder.go | 2 +- ...m_copy_to_section_group_request_builder.go | 2 +- ...es_item_copy_to_section_request_builder.go | 2 +- ...notebooks_item_sections_request_builder.go | 16 +- ...notebooks_notebook_item_request_builder.go | 9 +- .../item_onenote_notebooks_request_builder.go | 16 +- ..._onenote_operation_item_request_builder.go | 9 +- ...item_onenote_operations_request_builder.go | 6 +- ...es_item_copy_to_section_request_builder.go | 2 +- ...pages_onenote_page_item_request_builder.go | 7 +- ...ups_item_section_groups_request_builder.go | 9 +- ...s_item_copy_to_notebook_request_builder.go | 2 +- ...m_copy_to_section_group_request_builder.go | 2 +- ...es_item_copy_to_section_request_builder.go | 2 +- ...on_groups_item_sections_request_builder.go | 16 +- ..._onenote_section_groups_request_builder.go | 9 +- ...oups_section_group_item_request_builder.go | 9 +- ...s_item_copy_to_notebook_request_builder.go | 2 +- ...m_copy_to_section_group_request_builder.go | 2 +- ...es_item_copy_to_section_request_builder.go | 2 +- ...ns_onenote_section_item_request_builder.go | 9 +- .../item_onenote_sections_request_builder.go | 9 +- .../item_owners_item_ref_request_builder.go | 7 +- groups/item_owners_ref_request_builder.go | 19 +- groups/item_owners_request_builder.go | 3 - .../item_permission_grants_request_builder.go | 9 +- ...otos_item_value_content_request_builder.go | 3 - groups/item_photos_request_builder.go | 9 +- ...tem_planner_plans_delta_request_builder.go | 14 +- ...lans_item_buckets_delta_request_builder.go | 14 +- ...uckets_item_tasks_delta_request_builder.go | 14 +- ...ed_to_task_board_format_request_builder.go | 12 +- ...ucket_task_board_format_request_builder.go | 12 +- ...item_tasks_item_details_request_builder.go | 12 +- ...gress_task_board_format_request_builder.go | 12 +- ...item_buckets_item_tasks_request_builder.go | 9 +- ...nner_plans_item_buckets_request_builder.go | 9 +- ...nner_plans_item_details_request_builder.go | 12 +- ..._item_move_to_container_request_builder.go | 2 +- ..._plans_item_tasks_delta_request_builder.go | 14 +- ...ed_to_task_board_format_request_builder.go | 12 +- ...ucket_task_board_format_request_builder.go | 12 +- ...item_tasks_item_details_request_builder.go | 12 +- ...gress_task_board_format_request_builder.go | 12 +- ...lanner_plans_item_tasks_request_builder.go | 9 +- groups/item_planner_plans_request_builder.go | 9 +- ...jected_senders_item_ref_request_builder.go | 7 +- ...em_rejected_senders_ref_request_builder.go | 25 +- .../item_rejected_senders_request_builder.go | 9 +- .../item_remove_favorite_request_builder.go | 2 +- groups/item_renew_request_builder.go | 2 +- ...item_reset_unseen_count_request_builder.go | 2 +- groups/item_restore_request_builder.go | 2 +- ...ry_service_provisioning_request_builder.go | 2 +- groups/item_settings_request_builder.go | 7 +- groups/item_sites_add_request_builder.go | 4 +- groups/item_sites_delta_request_builder.go | 14 +- ...tem_sites_get_all_sites_request_builder.go | 14 +- ...item_sites_item_columns_request_builder.go | 10 +- ...y_from_content_type_hub_request_builder.go | 2 +- ..._content_types_add_copy_request_builder.go | 2 +- ...types_content_type_item_request_builder.go | 23 +- ...tible_hub_content_types_request_builder.go | 14 +- ...ssociate_with_hub_sites_request_builder.go | 2 +- ..._column_definition_item_request_builder.go | 23 +- ...tent_types_item_columns_request_builder.go | 10 +- ...efault_content_location_request_builder.go | 2 +- ...types_item_is_published_request_builder.go | 6 + ...tent_types_item_publish_request_builder.go | 2 +- ...nt_types_item_unpublish_request_builder.go | 2 +- ...ites_item_content_types_request_builder.go | 10 +- ...s_for_list_with_list_id_request_builder.go | 14 +- ..._path_with_path_columns_request_builder.go | 10 +- ...with_path_content_types_request_builder.go | 10 +- ...s_for_list_with_list_id_request_builder.go | 14 +- ...path_with_path1_columns_request_builder.go | 10 +- ...ith_path1_content_types_request_builder.go | 10 +- ...y_path_with_path1_lists_request_builder.go | 16 +- ...h_with_path1_operations_request_builder.go | 9 +- ...y_path_with_path1_pages_request_builder.go | 16 +- ..._with_path1_permissions_request_builder.go | 16 +- ...y_path_with_path1_sites_request_builder.go | 9 +- ...h_with_path1_term_store_request_builder.go | 9 +- ...by_path_with_path_lists_request_builder.go | 16 +- ...th_with_path_operations_request_builder.go | 9 +- ...by_path_with_path_pages_request_builder.go | 16 +- ...h_with_path_permissions_request_builder.go | 16 +- ...by_path_with_path_sites_request_builder.go | 9 +- ...th_with_path_term_store_request_builder.go | 9 +- ...ocker_recovery_key_item_request_builder.go | 9 +- ...bitlocker_recovery_keys_request_builder.go | 9 +- ...ls_evaluate_application_request_builder.go | 4 +- ..._classification_results_request_builder.go | 4 +- ...labels_evaluate_removal_request_builder.go | 4 +- ...cy_labels_extract_label_request_builder.go | 2 +- ...n_protection_label_item_request_builder.go | 9 +- ...rotection_policy_labels_request_builder.go | 9 +- ...eat_assessment_requests_request_builder.go | 16 +- ...assessment_request_item_request_builder.go | 9 +- ...item_lists_item_columns_request_builder.go | 10 +- ...y_from_content_type_hub_request_builder.go | 2 +- ..._content_types_add_copy_request_builder.go | 2 +- ...tible_hub_content_types_request_builder.go | 14 +- ...ssociate_with_hub_sites_request_builder.go | 2 +- ..._column_definition_item_request_builder.go | 23 +- ...tent_types_item_columns_request_builder.go | 10 +- ...efault_content_location_request_builder.go | 2 +- ...types_item_is_published_request_builder.go | 6 + ...tent_types_item_publish_request_builder.go | 2 +- ...nt_types_item_unpublish_request_builder.go | 2 +- ...ists_item_content_types_request_builder.go | 3 - ..._lists_item_items_delta_request_builder.go | 14 +- ..._items_item_create_link_request_builder.go | 2 +- ...cument_set_version_item_request_builder.go | 16 +- ...t_versions_item_restore_request_builder.go | 2 +- ...m_document_set_versions_request_builder.go | 16 +- ...m_items_item_drive_item_request_builder.go | 6 +- ..._item_items_item_fields_request_builder.go | 7 +- ...em_items_list_item_item_request_builder.go | 16 +- ...s_item_lists_item_items_request_builder.go | 16 +- ...ptions_item_reauthorize_request_builder.go | 2 +- ...es_item_lists_list_item_request_builder.go | 9 +- .../item_sites_item_lists_request_builder.go | 16 +- ...t_notebook_from_web_url_request_builder.go | 2 +- ...lude_personal_notebooks_request_builder.go | 14 +- ...ooks_item_copy_notebook_request_builder.go | 2 +- ...ups_item_section_groups_request_builder.go | 9 +- ...s_item_copy_to_notebook_request_builder.go | 2 +- ...m_copy_to_section_group_request_builder.go | 2 +- ...es_item_copy_to_section_request_builder.go | 2 +- ...on_groups_item_sections_request_builder.go | 16 +- ...oks_item_section_groups_request_builder.go | 16 +- ...s_item_copy_to_notebook_request_builder.go | 2 +- ...m_copy_to_section_group_request_builder.go | 2 +- ...es_item_copy_to_section_request_builder.go | 2 +- ...notebooks_item_sections_request_builder.go | 16 +- ...notebooks_notebook_item_request_builder.go | 9 +- ..._item_onenote_notebooks_request_builder.go | 16 +- ..._onenote_operation_item_request_builder.go | 9 +- ...item_onenote_operations_request_builder.go | 6 +- ...es_item_copy_to_section_request_builder.go | 2 +- ...pages_onenote_page_item_request_builder.go | 7 +- ...ups_item_section_groups_request_builder.go | 9 +- ...s_item_copy_to_notebook_request_builder.go | 2 +- ...m_copy_to_section_group_request_builder.go | 2 +- ...es_item_copy_to_section_request_builder.go | 2 +- ...on_groups_item_sections_request_builder.go | 16 +- ..._onenote_section_groups_request_builder.go | 9 +- ...oups_section_group_item_request_builder.go | 9 +- ...s_item_copy_to_notebook_request_builder.go | 2 +- ...m_copy_to_section_group_request_builder.go | 2 +- ...es_item_copy_to_section_request_builder.go | 2 +- ...ns_onenote_section_item_request_builder.go | 9 +- ...s_item_onenote_sections_request_builder.go | 9 +- ...m_sites_item_operations_request_builder.go | 9 +- ..._running_operation_item_request_builder.go | 9 +- ...ges_base_site_page_item_request_builder.go | 9 +- .../item_sites_item_pages_request_builder.go | 16 +- ..._permissions_item_grant_request_builder.go | 10 +- ...ions_item_revoke_grants_request_builder.go | 6 +- ...issions_permission_item_request_builder.go | 16 +- ..._sites_item_permissions_request_builder.go | 16 +- ..._item_recycle_bin_items_request_builder.go | 9 +- .../item_sites_item_sites_request_builder.go | 9 +- ...store_groups_group_item_request_builder.go | 16 +- ...item_sets_item_children_request_builder.go | 16 +- ...tem_sets_item_relations_request_builder.go | 9 +- ...ps_item_sets_item_terms_request_builder.go | 6 +- ...ts_item_terms_term_item_request_builder.go | 23 +- ..._store_groups_item_sets_request_builder.go | 9 +- ..._item_term_store_groups_request_builder.go | 16 +- ...m_sites_item_term_store_request_builder.go | 9 +- ...tore_sets_item_children_request_builder.go | 16 +- ...roup_sets_item_children_request_builder.go | 16 +- ...oup_sets_item_relations_request_builder.go | 9 +- ...t_group_sets_item_terms_request_builder.go | 6 +- ...ts_item_terms_term_item_request_builder.go | 23 +- ..._item_parent_group_sets_request_builder.go | 9 +- ...ore_sets_item_relations_request_builder.go | 9 +- ...m_store_sets_item_terms_request_builder.go | 6 +- ...ts_item_terms_term_item_request_builder.go | 23 +- ...es_item_term_store_sets_request_builder.go | 6 +- ...erm_store_sets_set_item_request_builder.go | 23 +- groups/item_sites_remove_request_builder.go | 4 +- .../item_subscribe_by_mail_request_builder.go | 2 +- .../item_team_all_channels_request_builder.go | 9 +- groups/item_team_archive_request_builder.go | 2 +- ...m_channels_channel_item_request_builder.go | 23 +- ...annels_get_all_messages_request_builder.go | 14 +- ...t_all_retained_messages_request_builder.go | 14 +- ...m_channels_item_archive_request_builder.go | 2 +- ...item_complete_migration_request_builder.go | 2 +- ...ame_user_principal_name_request_builder.go | 14 +- ...em_files_folder_content_request_builder.go | 3 - ...s_folder_content_stream_request_builder.go | 3 - ...nnels_item_files_folder_request_builder.go | 9 +- ...annels_item_members_add_request_builder.go | 4 +- ...onversation_member_item_request_builder.go | 23 +- ...m_channels_item_members_request_builder.go | 16 +- ...sages_chat_message_item_request_builder.go | 16 +- ...els_item_messages_delta_request_builder.go | 14 +- ...age_hosted_content_item_request_builder.go | 9 +- ...ents_item_value_content_request_builder.go | 3 - ...es_item_hosted_contents_request_builder.go | 9 +- ...plies_chat_message_item_request_builder.go | 9 +- ...ages_item_replies_delta_request_builder.go | 14 +- ...age_hosted_content_item_request_builder.go | 9 +- ...ents_item_value_content_request_builder.go | 3 - ...es_item_hosted_contents_request_builder.go | 9 +- ...eplies_item_soft_delete_request_builder.go | 2 +- ...s_item_undo_soft_delete_request_builder.go | 2 +- ...m_messages_item_replies_request_builder.go | 16 +- ...ssages_item_soft_delete_request_builder.go | 2 +- ...s_item_undo_soft_delete_request_builder.go | 2 +- ..._channels_item_messages_request_builder.go | 16 +- ...ls_item_provision_email_request_builder.go | 2 +- ...nnels_item_remove_email_request_builder.go | 2 +- ...ms_item_allowed_members_request_builder.go | 9 +- ..._item_shared_with_teams_request_builder.go | 9 +- ..._channel_team_info_item_request_builder.go | 16 +- ...team_channels_item_tabs_request_builder.go | 9 +- ...channels_item_unarchive_request_builder.go | 2 +- groups/item_team_channels_request_builder.go | 16 +- groups/item_team_clone_request_builder.go | 2 +- ...team_complete_migration_request_builder.go | 2 +- ..._team_incoming_channels_request_builder.go | 9 +- ...alled_apps_item_upgrade_request_builder.go | 2 +- ...tem_team_installed_apps_request_builder.go | 16 +- ...s_app_installation_item_request_builder.go | 16 +- .../item_team_members_add_request_builder.go | 4 +- ...onversation_member_item_request_builder.go | 23 +- groups/item_team_members_request_builder.go | 16 +- ..._team_permission_grants_request_builder.go | 9 +- ...primary_channel_archive_request_builder.go | 2 +- ...nnel_complete_migration_request_builder.go | 2 +- ...ame_user_principal_name_request_builder.go | 14 +- ...el_files_folder_content_request_builder.go | 3 - ...s_folder_content_stream_request_builder.go | 3 - ...ry_channel_files_folder_request_builder.go | 9 +- ...ary_channel_members_add_request_builder.go | 4 +- ...onversation_member_item_request_builder.go | 23 +- ...primary_channel_members_request_builder.go | 16 +- ...sages_chat_message_item_request_builder.go | 16 +- ..._channel_messages_delta_request_builder.go | 14 +- ...age_hosted_content_item_request_builder.go | 9 +- ...ents_item_value_content_request_builder.go | 3 - ...es_item_hosted_contents_request_builder.go | 9 +- ...plies_chat_message_item_request_builder.go | 9 +- ...ages_item_replies_delta_request_builder.go | 14 +- ...age_hosted_content_item_request_builder.go | 9 +- ...ents_item_value_content_request_builder.go | 3 - ...es_item_hosted_contents_request_builder.go | 9 +- ...eplies_item_soft_delete_request_builder.go | 2 +- ...s_item_undo_soft_delete_request_builder.go | 2 +- ...l_messages_item_replies_request_builder.go | 16 +- ...ssages_item_soft_delete_request_builder.go | 2 +- ...s_item_undo_soft_delete_request_builder.go | 2 +- ...rimary_channel_messages_request_builder.go | 16 +- ...channel_provision_email_request_builder.go | 2 +- ...ry_channel_remove_email_request_builder.go | 2 +- ...em_team_primary_channel_request_builder.go | 9 +- ...ms_item_allowed_members_request_builder.go | 9 +- ...annel_shared_with_teams_request_builder.go | 9 +- ..._channel_team_info_item_request_builder.go | 16 +- ...am_primary_channel_tabs_request_builder.go | 9 +- ...imary_channel_unarchive_request_builder.go | 2 +- ...day_notes_day_note_item_request_builder.go | 7 +- ...ffer_shift_request_item_request_builder.go | 9 +- ...le_offer_shift_requests_request_builder.go | 16 +- ...ift_change_request_item_request_builder.go | 9 +- ...n_shift_change_requests_request_builder.go | 16 +- ..._shifts_open_shift_item_request_builder.go | 23 +- ...am_schedule_open_shifts_request_builder.go | 16 +- groups/item_team_schedule_request_builder.go | 9 +- ...edule_scheduling_groups_request_builder.go | 16 +- ...s_scheduling_group_item_request_builder.go | 23 +- ...tem_team_schedule_share_request_builder.go | 2 +- ...em_team_schedule_shifts_request_builder.go | 10 +- ...edule_shifts_shift_item_request_builder.go | 23 +- ..._shifts_change_requests_request_builder.go | 16 +- ...fts_change_request_item_request_builder.go | 9 +- ...ule_time_cards_clock_in_request_builder.go | 2 +- ...me_cards_item_clock_out_request_builder.go | 2 +- ...time_cards_item_confirm_request_builder.go | 2 +- ...me_cards_item_end_break_request_builder.go | 2 +- ..._cards_item_start_break_request_builder.go | 2 +- ...eam_schedule_time_cards_request_builder.go | 16 +- ...me_cards_time_card_item_request_builder.go | 23 +- ...hedule_time_off_reasons_request_builder.go | 10 +- ...ns_time_off_reason_item_request_builder.go | 23 +- ...edule_time_off_requests_request_builder.go | 9 +- ...s_time_off_request_item_request_builder.go | 16 +- ...team_schedule_times_off_request_builder.go | 16 +- ...times_off_time_off_item_request_builder.go | 23 +- ...d_activity_notification_request_builder.go | 2 +- ..._team_tags_item_members_request_builder.go | 16 +- ...eamwork_tag_member_item_request_builder.go | 16 +- groups/item_team_tags_request_builder.go | 16 +- ..._tags_teamwork_tag_item_request_builder.go | 23 +- groups/item_team_unarchive_request_builder.go | 2 +- ...onversation_thread_item_request_builder.go | 23 +- ...s_create_upload_session_request_builder.go | 2 +- ..._posts_item_attachments_request_builder.go | 9 +- ...tensions_extension_item_request_builder.go | 16 +- ...m_posts_item_extensions_request_builder.go | 6 +- ...item_posts_item_forward_request_builder.go | 2 +- ...s_create_upload_session_request_builder.go | 2 +- ...in_reply_to_attachments_request_builder.go | 9 +- ...tensions_extension_item_request_builder.go | 16 +- ..._in_reply_to_extensions_request_builder.go | 6 +- ...tem_in_reply_to_forward_request_builder.go | 2 +- ...ds_item_posts_post_item_request_builder.go | 9 +- ...item_threads_item_posts_request_builder.go | 9 +- ...item_threads_item_reply_request_builder.go | 2 +- groups/item_threads_request_builder.go | 16 +- ...em_transitive_member_of_request_builder.go | 3 - ...item_transitive_members_request_builder.go | 3 - ...tem_unsubscribe_by_mail_request_builder.go | 2 +- ...tem_validate_properties_request_builder.go | 2 +- groups/validate_properties_request_builder.go | 2 +- ...groups_with_unique_name_request_builder.go | 6 +- ...tity_api_connector_item_request_builder.go | 23 +- ...load_client_certificate_request_builder.go | 2 +- identity/api_connectors_request_builder.go | 16 +- ...ion_event_listener_item_request_builder.go | 14 +- ...ication_event_listeners_request_builder.go | 16 +- ...cation_events_flow_item_request_builder.go | 23 +- ...entication_events_flows_request_builder.go | 16 +- ...identity_user_flow_item_request_builder.go | 23 +- ...tity_providers_item_ref_request_builder.go | 7 +- ..._identity_providers_ref_request_builder.go | 25 +- ...item_identity_providers_request_builder.go | 9 +- ...ages_item_value_content_request_builder.go | 3 - ...ages_item_default_pages_request_builder.go | 9 +- ...ages_item_value_content_request_builder.go | 3 - ...es_item_overrides_pages_request_builder.go | 9 +- ...er_flows_item_languages_request_builder.go | 9 +- ...uage_configuration_item_request_builder.go | 23 +- ...e_assignments_get_order_request_builder.go | 7 +- ...tribute_assignment_item_request_builder.go | 23 +- ...r_attribute_assignments_request_builder.go | 16 +- ...e_assignments_set_order_request_builder.go | 2 +- identity/b2c_user_flows_request_builder.go | 16 +- ...identity_user_flow_item_request_builder.go | 16 +- ...load_client_certificate_request_builder.go | 2 +- ...load_client_certificate_request_builder.go | 2 +- ...load_client_certificate_request_builder.go | 2 +- ...item_identity_providers_request_builder.go | 9 +- ...ages_item_value_content_request_builder.go | 3 - ...ages_item_default_pages_request_builder.go | 9 +- ...ages_item_value_content_request_builder.go | 3 - ...es_item_overrides_pages_request_builder.go | 9 +- ...er_flows_item_languages_request_builder.go | 9 +- ...e_assignments_get_order_request_builder.go | 7 +- ...r_attribute_assignments_request_builder.go | 16 +- ...e_assignments_set_order_request_builder.go | 2 +- identity/b2x_user_flows_request_builder.go | 16 +- ...xt_class_reference_item_request_builder.go | 23 +- ...ontext_class_references_request_builder.go | 16 +- ...entication_method_modes_request_builder.go | 9 +- ...entication_method_modes_request_builder.go | 14 +- ...tion_configuration_item_request_builder.go | 23 +- ...bination_configurations_request_builder.go | 16 +- ...te_allowed_combinations_request_builder.go | 2 +- ...gth_policies_item_usage_request_builder.go | 7 +- ...entication_method_modes_request_builder.go | 9 +- ...entication_method_modes_request_builder.go | 14 +- ...tion_configuration_item_request_builder.go | 23 +- ...bination_configurations_request_builder.go | 16 +- ...te_allowed_combinations_request_builder.go | 2 +- ...ths_policies_item_usage_request_builder.go | 7 +- ...ons_named_location_item_request_builder.go | 23 +- ..._access_named_locations_request_builder.go | 16 +- ...onal_access_policy_item_request_builder.go | 23 +- ...itional_access_policies_request_builder.go | 16 +- ...al_access_template_item_request_builder.go | 9 +- ...tional_access_templates_request_builder.go | 9 +- ...ccess_evaluation_policy_request_builder.go | 16 +- ...tication_extension_item_request_builder.go | 16 +- ...ntication_configuration_request_builder.go | 2 +- ...thentication_extensions_request_builder.go | 16 +- ...vailable_provider_types_request_builder.go | 14 +- ...tity_provider_base_item_request_builder.go | 23 +- .../identity_providers_request_builder.go | 16 +- ...ser_flow_attribute_item_request_builder.go | 23 +- .../user_flow_attributes_request_builder.go | 16 +- ...identity_user_flow_item_request_builder.go | 16 +- identity/user_flows_request_builder.go | 16 +- ...by_current_user_with_on_request_builder.go | 14 +- ..._accept_recommendations_request_builder.go | 2 +- ...nstance_apply_decisions_request_builder.go | 2 +- ..._batch_record_decisions_request_builder.go | 2 +- ...nce_contacted_reviewers_request_builder.go | 9 +- ...ance_decision_item_item_request_builder.go | 9 +- ...by_current_user_with_on_request_builder.go | 14 +- ...ns_record_all_decisions_request_builder.go | 2 +- ...item_instance_decisions_request_builder.go | 9 +- ...nstance_reset_decisions_request_builder.go | 2 +- ..._instance_send_reminder_request_builder.go | 2 +- ...ccess_review_stage_item_request_builder.go | 16 +- ...by_current_user_with_on_request_builder.go | 14 +- ...ance_decision_item_item_request_builder.go | 16 +- ...by_current_user_with_on_request_builder.go | 14 +- ...ns_record_all_decisions_request_builder.go | 2 +- ...e_stages_item_decisions_request_builder.go | 9 +- ...stance_stages_item_stop_request_builder.go | 2 +- ...ns_item_instance_stages_request_builder.go | 9 +- ...ions_item_instance_stop_request_builder.go | 2 +- ...ns_record_all_decisions_request_builder.go | 2 +- ...chedule_definition_item_request_builder.go | 16 +- ...by_current_user_with_on_request_builder.go | 14 +- ...ss_review_instance_item_request_builder.go | 16 +- ...by_current_user_with_on_request_builder.go | 14 +- ..._accept_recommendations_request_builder.go | 2 +- ...es_item_apply_decisions_request_builder.go | 2 +- ..._batch_record_decisions_request_builder.go | 2 +- ...tem_contacted_reviewers_request_builder.go | 9 +- ...ance_decision_item_item_request_builder.go | 9 +- ...by_current_user_with_on_request_builder.go | 14 +- ..._accept_recommendations_request_builder.go | 2 +- ...nstance_apply_decisions_request_builder.go | 2 +- ..._batch_record_decisions_request_builder.go | 2 +- ...nce_contacted_reviewers_request_builder.go | 9 +- ...nstance_reset_decisions_request_builder.go | 2 +- ..._instance_send_reminder_request_builder.go | 2 +- ...ccess_review_stage_item_request_builder.go | 16 +- ...by_current_user_with_on_request_builder.go | 14 +- ...ance_decision_item_item_request_builder.go | 16 +- ...by_current_user_with_on_request_builder.go | 14 +- ...ns_record_all_decisions_request_builder.go | 2 +- ...e_stages_item_decisions_request_builder.go | 9 +- ...stance_stages_item_stop_request_builder.go | 2 +- ...ns_item_instance_stages_request_builder.go | 9 +- ...ions_item_instance_stop_request_builder.go | 2 +- ...ns_record_all_decisions_request_builder.go | 2 +- ...nstances_item_decisions_request_builder.go | 9 +- ...es_item_reset_decisions_request_builder.go | 2 +- ...nces_item_send_reminder_request_builder.go | 2 +- ...ccess_review_stage_item_request_builder.go | 16 +- ...by_current_user_with_on_request_builder.go | 14 +- ...ance_decision_item_item_request_builder.go | 16 +- ...by_current_user_with_on_request_builder.go | 14 +- ..._accept_recommendations_request_builder.go | 2 +- ...nstance_apply_decisions_request_builder.go | 2 +- ..._batch_record_decisions_request_builder.go | 2 +- ...nce_contacted_reviewers_request_builder.go | 9 +- ...ance_decision_item_item_request_builder.go | 9 +- ...by_current_user_with_on_request_builder.go | 14 +- ...ns_record_all_decisions_request_builder.go | 2 +- ...item_instance_decisions_request_builder.go | 9 +- ...nstance_reset_decisions_request_builder.go | 2 +- ..._instance_send_reminder_request_builder.go | 2 +- ...ions_item_instance_stop_request_builder.go | 2 +- ...ns_record_all_decisions_request_builder.go | 2 +- ...m_stages_item_decisions_request_builder.go | 9 +- ...s_item_stages_item_stop_request_builder.go | 2 +- ...m_instances_item_stages_request_builder.go | 9 +- ...tem_instances_item_stop_request_builder.go | 2 +- ...initions_item_instances_request_builder.go | 9 +- ...ess_reviews_definitions_request_builder.go | 16 +- ...history_definition_item_request_builder.go | 9 +- ...m_generate_download_uri_request_builder.go | 2 +- ...initions_item_instances_request_builder.go | 9 +- ...ews_history_definitions_request_builder.go | 16 +- .../access_reviews_policy_request_builder.go | 16 +- ...pp_consent_request_item_request_builder.go | 9 +- ...by_current_user_with_on_request_builder.go | 14 +- ...by_current_user_with_on_request_builder.go | 14 +- ...teps_approval_step_item_request_builder.go | 16 +- ...sts_item_approval_steps_request_builder.go | 9 +- ...m_user_consent_requests_request_builder.go | 9 +- ...er_consent_request_item_request_builder.go | 9 +- ...nt_app_consent_requests_request_builder.go | 9 +- ...approvals_approval_item_request_builder.go | 9 +- ...by_current_user_with_on_request_builder.go | 14 +- ...teps_approval_step_item_request_builder.go | 16 +- ...nt_approvals_item_steps_request_builder.go | 9 +- ...ge_assignment_approvals_request_builder.go | 6 +- ..._assignment_policy_item_request_builder.go | 16 +- ...age_assignment_policies_request_builder.go | 16 +- ...assignment_request_item_request_builder.go | 16 +- ...by_current_user_with_on_request_builder.go | 14 +- ...nt_requests_item_cancel_request_builder.go | 2 +- ...nt_requests_item_resume_request_builder.go | 2 +- ...age_assignment_requests_request_builder.go | 16 +- ...ment_resource_role_item_request_builder.go | 9 +- ...ackage_resource_refresh_request_builder.go | 2 +- ...ackage_resource_refresh_request_builder.go | 2 +- ...ackage_resource_refresh_request_builder.go | 2 +- ...ackage_resource_refresh_request_builder.go | 2 +- ...signment_resource_roles_request_builder.go | 9 +- ...ments_additional_access_request_builder.go | 14 +- ...by_current_user_with_on_request_builder.go | 14 +- ...ackage_resource_refresh_request_builder.go | 2 +- ...ackage_resource_refresh_request_builder.go | 2 +- ...ackage_resource_refresh_request_builder.go | 2 +- ...ackage_resource_refresh_request_builder.go | 2 +- ...ge_resource_role_scopes_request_builder.go | 7 +- ...kages_incompatible_with_request_builder.go | 9 +- ...by_current_user_with_on_request_builder.go | 14 +- ...nt_requests_item_cancel_request_builder.go | 2 +- ...nt_requests_item_resume_request_builder.go | 2 +- ...ackage_resource_refresh_request_builder.go | 2 +- ...ackage_resource_refresh_request_builder.go | 2 +- ...ackage_resource_refresh_request_builder.go | 2 +- ...ackage_resource_refresh_request_builder.go | 2 +- ...ble_policy_requirements_request_builder.go | 4 +- ...ccess_packages_item_ref_request_builder.go | 7 +- ...ble_access_packages_ref_request_builder.go | 25 +- ...patible_access_packages_request_builder.go | 9 +- ...patible_groups_item_ref_request_builder.go | 7 +- ...incompatible_groups_ref_request_builder.go | 25 +- ...age_incompatible_groups_request_builder.go | 9 +- ...package_move_to_catalog_request_builder.go | 2 +- ...ess_package_assignments_request_builder.go | 9 +- ...ss_package_catalog_item_request_builder.go | 23 +- ..._callout_extension_item_request_builder.go | 16 +- ...tom_workflow_extensions_request_builder.go | 9 +- ...ackage_resource_refresh_request_builder.go | 2 +- ...ackage_resource_refresh_request_builder.go | 2 +- ..._package_resource_roles_request_builder.go | 9 +- ...ackage_resource_refresh_request_builder.go | 2 +- ...ackage_resource_refresh_request_builder.go | 2 +- ...ackage_resource_refresh_request_builder.go | 2 +- ...ackage_resource_refresh_request_builder.go | 2 +- ...ackage_resource_refresh_request_builder.go | 2 +- ...ackage_resource_refresh_request_builder.go | 2 +- ..._resources_item_refresh_request_builder.go | 2 +- ...ccess_package_resources_request_builder.go | 9 +- ...workflow_extension_item_request_builder.go | 23 +- ...age_workflow_extensions_request_builder.go | 16 +- ...access_package_catalogs_request_builder.go | 16 +- ...source_environment_item_request_builder.go | 9 +- ...e_resource_environments_request_builder.go | 9 +- ...ckage_resource_requests_request_builder.go | 16 +- ...ackage_resource_refresh_request_builder.go | 2 +- ...ackage_resource_refresh_request_builder.go | 2 +- ...ackage_resource_refresh_request_builder.go | 2 +- ...ackage_resource_refresh_request_builder.go | 2 +- ...ackage_resource_refresh_request_builder.go | 2 +- ...ackage_resource_refresh_request_builder.go | 2 +- ...ackage_resource_refresh_request_builder.go | 2 +- ...ackage_resource_refresh_request_builder.go | 2 +- ..._resources_item_refresh_request_builder.go | 2 +- ...ges_access_package_item_request_builder.go | 23 +- ...by_current_user_with_on_request_builder.go | 14 +- ...ackage_resource_refresh_request_builder.go | 2 +- ...ackage_resource_refresh_request_builder.go | 2 +- ...ackage_resource_refresh_request_builder.go | 2 +- ...ackage_resource_refresh_request_builder.go | 2 +- ...ge_resource_role_scopes_request_builder.go | 7 +- ...kages_incompatible_with_request_builder.go | 9 +- ...ble_policy_requirements_request_builder.go | 4 +- ...ccess_packages_item_ref_request_builder.go | 7 +- ...ble_access_packages_ref_request_builder.go | 25 +- ...patible_access_packages_request_builder.go | 9 +- ...patible_groups_item_ref_request_builder.go | 7 +- ...incompatible_groups_ref_request_builder.go | 25 +- ...tem_incompatible_groups_request_builder.go | 9 +- ...es_item_move_to_catalog_request_builder.go | 2 +- ...agement_access_packages_request_builder.go | 16 +- ...by_current_user_with_on_request_builder.go | 14 +- ...nt_requests_item_cancel_request_builder.go | 2 +- ...nt_requests_item_resume_request_builder.go | 2 +- ...ent_assignment_requests_request_builder.go | 16 +- ...ected_organization_item_request_builder.go | 23 +- ...ernal_sponsors_item_ref_request_builder.go | 7 +- ...m_external_sponsors_ref_request_builder.go | 25 +- ..._item_external_sponsors_request_builder.go | 9 +- ...ernal_sponsors_item_ref_request_builder.go | 7 +- ...m_internal_sponsors_ref_request_builder.go | 25 +- ..._item_internal_sponsors_request_builder.go | 9 +- ...connected_organizations_request_builder.go | 16 +- ...ent_management_settings_request_builder.go | 16 +- ...tom_task_extension_item_request_builder.go | 23 +- ..._custom_task_extensions_request_builder.go | 16 +- ...ity_governance_activate_request_builder.go | 2 +- ...ance_create_new_version_request_builder.go | 2 +- ...tity_governance_restore_request_builder.go | 2 +- ...ntity_governance_resume_request_builder.go | 2 +- ...task_processing_results_request_builder.go | 9 +- ...ntity_governance_resume_request_builder.go | 2 +- ...task_processing_results_request_builder.go | 9 +- ...user_processing_results_request_builder.go | 9 +- ..._processing_result_item_request_builder.go | 9 +- ...ems_workflows_item_runs_request_builder.go | 9 +- ...lows_item_runs_run_item_request_builder.go | 9 +- ...ntity_governance_resume_request_builder.go | 2 +- ...task_processing_results_request_builder.go | 9 +- ...flows_item_task_reports_request_builder.go | 9 +- ...ntity_governance_resume_request_builder.go | 2 +- ...ntity_governance_resume_request_builder.go | 2 +- ...task_processing_results_request_builder.go | 9 +- ...user_processing_results_request_builder.go | 9 +- ...ntity_governance_resume_request_builder.go | 2 +- ...workflows_item_versions_request_builder.go | 9 +- ...ion_version_number_item_request_builder.go | 9 +- ...deleted_items_workflows_request_builder.go | 9 +- ...workflows_workflow_item_request_builder.go | 16 +- ...ycle_workflows_settings_request_builder.go | 16 +- ...kflows_task_definitions_request_builder.go | 9 +- ...ns_task_definition_item_request_builder.go | 9 +- ...ntity_governance_resume_request_builder.go | 2 +- ...lows_workflow_templates_request_builder.go | 9 +- ..._workflow_template_item_request_builder.go | 9 +- ...ity_governance_activate_request_builder.go | 2 +- ...ance_create_new_version_request_builder.go | 2 +- ...tity_governance_restore_request_builder.go | 2 +- ...ntity_governance_resume_request_builder.go | 2 +- ...task_processing_results_request_builder.go | 9 +- ...ntity_governance_resume_request_builder.go | 2 +- ...task_processing_results_request_builder.go | 9 +- ...user_processing_results_request_builder.go | 9 +- ..._processing_result_item_request_builder.go | 9 +- ...ows_workflows_item_runs_request_builder.go | 9 +- ...lows_item_runs_run_item_request_builder.go | 9 +- ...ntity_governance_resume_request_builder.go | 2 +- ...task_processing_results_request_builder.go | 9 +- ...flows_item_task_reports_request_builder.go | 9 +- ...ntity_governance_resume_request_builder.go | 2 +- ...ntity_governance_resume_request_builder.go | 2 +- ...task_processing_results_request_builder.go | 9 +- ...user_processing_results_request_builder.go | 9 +- ...ntity_governance_resume_request_builder.go | 2 +- ...workflows_item_versions_request_builder.go | 9 +- ...ion_version_number_item_request_builder.go | 9 +- ...cle_workflows_workflows_request_builder.go | 16 +- ...workflows_workflow_item_request_builder.go | 23 +- ...eep_index_distributions_request_builder.go | 9 +- ...eep_index_distributions_request_builder.go | 9 +- ...eep_index_distributions_request_builder.go | 9 +- ...ons_request_change_item_request_builder.go | 9 +- ...issions_request_changes_request_builder.go | 9 +- ...by_current_user_with_on_request_builder.go | 14 +- ...teps_approval_step_item_request_builder.go | 16 +- ...ns_approvals_item_steps_request_builder.go | 9 +- ...ed_permissions_requests_request_builder.go | 7 +- ...by_current_user_with_on_request_builder.go | 14 +- ...teps_approval_step_item_request_builder.go | 16 +- ...nt_approvals_item_steps_request_builder.go | 9 +- ...by_current_user_with_on_request_builder.go | 14 +- ..._schedule_instance_item_request_builder.go | 9 +- ...ment_schedule_instances_request_builder.go | 9 +- ...by_current_user_with_on_request_builder.go | 14 +- ...le_requests_item_cancel_request_builder.go | 2 +- ...t_schedule_request_item_request_builder.go | 9 +- ...nment_schedule_requests_request_builder.go | 16 +- ...by_current_user_with_on_request_builder.go | 14 +- ...ssignment_schedule_item_request_builder.go | 9 +- ...up_assignment_schedules_request_builder.go | 9 +- ...by_current_user_with_on_request_builder.go | 14 +- ..._schedule_instance_item_request_builder.go | 9 +- ...lity_schedule_instances_request_builder.go | 9 +- ...by_current_user_with_on_request_builder.go | 14 +- ...le_requests_item_cancel_request_builder.go | 2 +- ...y_schedule_request_item_request_builder.go | 9 +- ...ility_schedule_requests_request_builder.go | 16 +- ...by_current_user_with_on_request_builder.go | 14 +- ...igibility_schedule_item_request_builder.go | 9 +- ...p_eligibility_schedules_request_builder.go | 9 +- ...ts_alert_configurations_request_builder.go | 9 +- ...lerts_alert_definitions_request_builder.go | 9 +- ...ts_item_alert_incidents_request_builder.go | 9 +- ...ent_alert_incident_item_request_builder.go | 9 +- ...t_alerts_alerts_refresh_request_builder.go | 2 +- ...anagement_alerts_alerts_request_builder.go | 9 +- ...reements_agreement_item_request_builder.go | 23 +- ...ements_item_acceptances_request_builder.go | 9 +- ...item_file_localizations_request_builder.go | 9 +- ...se_agreements_item_file_request_builder.go | 9 +- ...e_agreements_item_files_request_builder.go | 7 +- ...terms_of_use_agreements_request_builder.go | 16 +- .../risk_detections_request_builder.go | 9 +- ...ons_risk_detection_item_request_builder.go | 9 +- ...als_confirm_compromised_request_builder.go | 2 +- ...vice_principals_dismiss_request_builder.go | 2 +- ...principals_item_history_request_builder.go | 9 +- ...isky_service_principals_request_builder.go | 9 +- ..._service_principal_item_request_builder.go | 9 +- ...ers_confirm_compromised_request_builder.go | 2 +- .../risky_users_dismiss_request_builder.go | 2 +- ...isky_users_item_history_request_builder.go | 9 +- ..._user_history_item_item_request_builder.go | 9 +- .../risky_users_request_builder.go | 9 +- ...incipal_risk_detections_request_builder.go | 9 +- ...pal_risk_detection_item_request_builder.go | 9 +- ...vailable_provider_types_request_builder.go | 14 +- .../identity_provider_item_request_builder.go | 6 +- .../identity_providers_request_builder.go | 4 +- ...ocker_recovery_key_item_request_builder.go | 9 +- ...bitlocker_recovery_keys_request_builder.go | 9 +- ...ls_evaluate_application_request_builder.go | 4 +- ..._classification_results_request_builder.go | 4 +- ...labels_evaluate_removal_request_builder.go | 4 +- ...cy_labels_extract_label_request_builder.go | 2 +- ...n_protection_label_item_request_builder.go | 9 +- .../policy_labels_request_builder.go | 9 +- ...eat_assessment_requests_request_builder.go | 16 +- ...assessment_request_item_request_builder.go | 9 +- invitations/invitations_request_builder.go | 2 +- kiota-lock.json | 2 +- ...ncluded_groups_item_ref_request_builder.go | 7 +- ...tem_included_groups_ref_request_builder.go | 25 +- .../item_included_groups_request_builder.go | 9 +- models/active_users_breakdown_metric.go | 20 +- models/admin.go | 71 ----- models/admin_windows.go | 76 +++++ models/album.go | 4 +- models/alert.go | 20 +- models/android_managed_app_protection.go | 8 +- models/application.go | 4 +- .../apps_installation_options_for_windows.go | 261 ++++++++++++++++++ models/authorization_policy.go | 4 +- models/bundle.go | 4 +- models/callrecords/media_stream.go | 28 +- models/callrecords/trace_route_hop.go | 4 +- models/cloud_pc_audit_resource.go | 8 +- models/column_definition.go | 4 +- models/device_management.go | 8 +- ...configuration_choice_setting_definition.go | 8 +- ...figuration_referred_setting_information.go | 4 +- ...gement_configuration_setting_definition.go | 28 +- ..._configuration_setting_group_definition.go | 4 +- ...configuration_simple_setting_definition.go | 16 +- ...uration_string_setting_value_definition.go | 12 +- models/drive.go | 4 +- models/drive_item.go | 8 +- .../education_one_roster_api_data_provider.go | 12 +- models/extension_schema_property.go | 4 +- models/hardware_configuration.go | 52 ++-- .../ios_lob_app_provisioning_configuration.go | 8 +- models/ios_managed_app_protection.go | 4 +- models/item_reference.go | 16 +- models/key_value_pair.go | 8 +- models/list_item.go | 4 +- models/m365_apps_installation_options.go | 256 ----------------- models/managed_app_log_collection_request.go | 12 +- models/managed_app_log_upload.go | 8 +- models/mobile_app.go | 24 +- models/mobile_app_troubleshooting_event.go | 4 +- models/permission.go | 4 +- models/permission_grant_policy.go | 4 +- models/report.go | 4 +- models/risk_detection.go | 4 +- .../windows_app_x_app_assignment_settings.go | 4 +- .../windows_autopilot_deployment_profile.go | 4 +- ...cords_alert_record_item_request_builder.go | 9 +- ...al_notification_as_sent_request_builder.go | 2 +- monitoring/alert_records_request_builder.go | 9 +- ...t_rules_alert_rule_item_request_builder.go | 16 +- monitoring/alert_rules_request_builder.go | 16 +- ...anches_branch_site_item_request_builder.go | 23 +- ...nectivity_configuration_request_builder.go | 9 +- ..._links_device_link_item_request_builder.go | 14 +- ...nches_item_device_links_request_builder.go | 16 +- ...tem_forwarding_profiles_request_builder.go | 9 +- .../connectivity_branches_request_builder.go | 16 +- ..._links_device_link_item_request_builder.go | 16 +- ...works_item_device_links_request_builder.go | 6 +- ...ctivity_remote_networks_request_builder.go | 7 +- ...s_filtering_policy_item_request_builder.go | 9 +- .../filtering_policies_request_builder.go | 9 +- ..._filtering_profile_item_request_builder.go | 7 +- .../filtering_profiles_request_builder.go | 9 +- ..._forwarding_policy_item_request_builder.go | 9 +- ...ess_update_policy_rules_request_builder.go | 2 +- .../forwarding_policies_request_builder.go | 6 +- ...forwarding_profile_item_request_builder.go | 16 +- .../forwarding_profiles_request_builder.go | 9 +- .../logs_remote_networks_request_builder.go | 9 +- networkaccess/logs_traffic_request_builder.go | 9 +- ...time_with_end_date_time_request_builder.go | 14 +- ...time_with_end_date_time_request_builder.go | 14 +- ...ings_conditional_access_request_builder.go | 16 +- ...ngs_cross_tenant_access_request_builder.go | 16 +- ...ngs_enriched_audit_logs_request_builder.go | 7 +- ...ings_forwarding_options_request_builder.go | 16 +- .../tenant_status_request_builder.go | 9 +- .../delta_request_builder.go | 14 +- ...2_permission_grant_item_request_builder.go | 6 +- ...auth2_permission_grants_request_builder.go | 4 +- ...emises_agent_group_item_request_builder.go | 23 +- .../item_agent_groups_request_builder.go | 16 +- ..._on_premises_agent_item_request_builder.go | 9 +- .../item_agents_request_builder.go | 9 +- ...ps_connector_group_item_request_builder.go | 23 +- .../item_connector_groups_request_builder.go | 16 +- ...nnectors_connector_item_request_builder.go | 9 +- .../item_connectors_request_builder.go | 9 +- ...published_resource_item_request_builder.go | 16 +- ...tem_published_resources_request_builder.go | 16 +- organization/delta_request_builder.go | 14 +- organization/get_by_ids_request_builder.go | 4 +- .../get_user_owned_objects_request_builder.go | 2 +- ...anding_background_image_request_builder.go | 3 - ...em_branding_banner_logo_request_builder.go | 3 - ...m_branding_custom_c_s_s_request_builder.go | 3 - .../item_branding_favicon_request_builder.go | 3 - ...em_branding_header_logo_request_builder.go | 3 - ...s_item_background_image_request_builder.go | 3 - ...ations_item_banner_logo_request_builder.go | 3 - ...tions_item_custom_c_s_s_request_builder.go | 3 - ...alizations_item_favicon_request_builder.go | 3 - ...ations_item_header_logo_request_builder.go | 3 - ...s_item_square_logo_dark_request_builder.go | 3 - ...ations_item_square_logo_request_builder.go | 3 - ...nding_localization_item_request_builder.go | 23 +- ..._branding_localizations_request_builder.go | 16 +- organization/item_branding_request_builder.go | 23 +- ...anding_square_logo_dark_request_builder.go | 3 - ...em_branding_square_logo_request_builder.go | 3 - ...auth_configuration_item_request_builder.go | 16 +- ...ased_auth_configuration_request_builder.go | 16 +- ...tem_check_member_groups_request_builder.go | 4 +- .../item_get_member_groups_request_builder.go | 4 +- organization/item_restore_request_builder.go | 2 +- ...ttings_contact_insights_request_builder.go | 16 +- ..._settings_item_insights_request_builder.go | 9 +- ...application_data_access_request_builder.go | 16 +- ...ettings_people_insights_request_builder.go | 16 +- .../organization_item_request_builder.go | 4 +- organization/organization_request_builder.go | 2 +- .../validate_properties_request_builder.go | 2 +- permissiongrants/delta_request_builder.go | 14 +- .../get_by_ids_request_builder.go | 4 +- .../get_user_owned_objects_request_builder.go | 2 +- ...tem_check_member_groups_request_builder.go | 4 +- .../item_get_member_groups_request_builder.go | 4 +- .../item_restore_request_builder.go | 2 +- .../validate_properties_request_builder.go | 2 +- places/place_item_request_builder.go | 2 +- .../places_with_place_id_request_builder.go | 2 +- planner/buckets_delta_request_builder.go | 14 +- ...uckets_item_tasks_delta_request_builder.go | 14 +- ...ed_to_task_board_format_request_builder.go | 12 +- ...ucket_task_board_format_request_builder.go | 12 +- ...item_tasks_item_details_request_builder.go | 12 +- ...gress_task_board_format_request_builder.go | 12 +- planner/buckets_item_tasks_request_builder.go | 9 +- ...ets_planner_bucket_item_request_builder.go | 19 +- planner/buckets_request_builder.go | 16 +- planner/plans_delta_request_builder.go | 14 +- ...lans_item_buckets_delta_request_builder.go | 14 +- ...uckets_item_tasks_delta_request_builder.go | 14 +- ...ed_to_task_board_format_request_builder.go | 12 +- ...ucket_task_board_format_request_builder.go | 12 +- ...item_tasks_item_details_request_builder.go | 12 +- ...gress_task_board_format_request_builder.go | 12 +- ...item_buckets_item_tasks_request_builder.go | 9 +- planner/plans_item_buckets_request_builder.go | 9 +- planner/plans_item_details_request_builder.go | 12 +- ..._item_move_to_container_request_builder.go | 2 +- .../plans_item_tasks_delta_request_builder.go | 14 +- ...ed_to_task_board_format_request_builder.go | 12 +- ...ucket_task_board_format_request_builder.go | 12 +- ...item_tasks_item_details_request_builder.go | 12 +- ...gress_task_board_format_request_builder.go | 12 +- planner/plans_item_tasks_request_builder.go | 9 +- ...plans_planner_plan_item_request_builder.go | 23 +- planner/plans_request_builder.go | 16 +- ...nner_roster_member_item_request_builder.go | 16 +- .../rosters_item_members_request_builder.go | 16 +- planner/rosters_item_plans_request_builder.go | 9 +- ...ers_planner_roster_item_request_builder.go | 16 +- planner/rosters_request_builder.go | 13 +- planner/tasks_delta_request_builder.go | 14 +- ...ed_to_task_board_format_request_builder.go | 12 +- ...ucket_task_board_format_request_builder.go | 12 +- planner/tasks_item_details_request_builder.go | 12 +- ...gress_task_board_format_request_builder.go | 12 +- ...tasks_planner_task_item_request_builder.go | 19 +- planner/tasks_request_builder.go | 16 +- .../access_review_policy_request_builder.go | 16 +- ...sed_timeout_policy_item_request_builder.go | 23 +- ..._based_timeout_policies_request_builder.go | 16 +- ..._consent_request_policy_request_builder.go | 16 +- ..._management_policy_item_request_builder.go | 23 +- ...olicies_item_applies_to_request_builder.go | 9 +- ...app_management_policies_request_builder.go | 16 +- ...entication_flows_policy_request_builder.go | 16 +- ...tication_methods_policy_request_builder.go | 16 +- ...on_strength_policy_item_request_builder.go | 23 +- ...entication_method_modes_request_builder.go | 14 +- ...tion_configuration_item_request_builder.go | 23 +- ...bination_configurations_request_builder.go | 16 +- ...te_allowed_combinations_request_builder.go | 2 +- ...gth_policies_item_usage_request_builder.go | 7 +- ...ation_strength_policies_request_builder.go | 16 +- .../authorization_policy_request_builder.go | 9 +- ...tication_methods_policy_request_builder.go | 16 +- ...ims_mapping_policy_item_request_builder.go | 23 +- ...claims_mapping_policies_request_builder.go | 16 +- ...t_access_policy_default_request_builder.go | 16 +- ...reset_to_system_default_request_builder.go | 2 +- ...ion_partner_tenant_item_request_builder.go | 23 +- ...dentity_synchronization_request_builder.go | 16 +- ..._access_policy_partners_request_builder.go | 16 +- ...ss_tenant_access_policy_request_builder.go | 16 +- ...dentity_synchronization_request_builder.go | 16 +- ...set_to_default_settings_request_builder.go | 2 +- ...n_partner_configuration_request_builder.go | 16 +- ...set_to_default_settings_request_builder.go | 2 +- ...t_app_management_policy_request_builder.go | 16 +- ...ice_registration_policy_request_builder.go | 54 +--- ...ernal_identities_policy_request_builder.go | 16 +- ...ure_rollout_policy_item_request_builder.go | 23 +- ...tem_applies_to_item_ref_request_builder.go | 7 +- ...ies_item_applies_to_ref_request_builder.go | 16 +- ...olicies_item_applies_to_request_builder.go | 7 +- ...eature_rollout_policies_request_builder.go | 16 +- ...token_validation_policy_request_builder.go | 16 +- ...m_discovery_policy_item_request_builder.go | 23 +- ...ealm_discovery_policies_request_builder.go | 16 +- ...ults_enforcement_policy_request_builder.go | 16 +- ...ncluded_groups_item_ref_request_builder.go | 7 +- ...tem_included_groups_ref_request_builder.go | 25 +- ...es_item_included_groups_request_builder.go | 9 +- ..._management_policy_item_request_builder.go | 23 +- ...app_management_policies_request_builder.go | 9 +- ...ncluded_groups_item_ref_request_builder.go | 7 +- ...tem_included_groups_ref_request_builder.go | 25 +- ...es_item_included_groups_request_builder.go | 9 +- ..._management_policy_item_request_builder.go | 23 +- ...ice_management_policies_request_builder.go | 9 +- ...rant_condition_set_item_request_builder.go | 7 +- ..._policies_item_excludes_request_builder.go | 16 +- ...rant_condition_set_item_request_builder.go | 7 +- ..._policies_item_includes_request_builder.go | 16 +- ...ssion_grant_policy_item_request_builder.go | 23 +- ...rmission_grant_policies_request_builder.go | 16 +- ...es_item_effective_rules_request_builder.go | 9 +- ...ent_policies_item_rules_request_builder.go | 9 +- ...gement_policy_rule_item_request_builder.go | 16 +- ...ole_management_policies_request_builder.go | 9 +- ...ment_policy_assignments_request_builder.go | 9 +- ...token_issuance_policies_request_builder.go | 16 +- ...en_issuance_policy_item_request_builder.go | 23 +- ...token_lifetime_policies_request_builder.go | 16 +- ...en_lifetime_policy_item_request_builder.go | 23 +- ...rs_print_connector_item_request_builder.go | 23 +- print/connectors_request_builder.go | 9 +- ...ns_print_operation_item_request_builder.go | 9 +- print/operations_request_builder.go | 6 +- ...allowed_groups_item_ref_request_builder.go | 7 +- ...item_allowed_groups_ref_request_builder.go | 25 +- ...res_item_allowed_groups_request_builder.go | 9 +- ..._allowed_users_item_ref_request_builder.go | 7 +- ..._item_allowed_users_ref_request_builder.go | 25 +- ...ares_item_allowed_users_request_builder.go | 9 +- ...es_item_jobs_item_abort_request_builder.go | 2 +- ...s_item_jobs_item_cancel_request_builder.go | 2 +- ...m_create_upload_session_request_builder.go | 2 +- ...item_jobs_item_redirect_request_builder.go | 2 +- print/printers_create_request_builder.go | 2 +- ...rinters_item_connectors_request_builder.go | 9 +- ...s_item_get_capabilities_request_builder.go | 7 +- ...rs_item_jobs_item_abort_request_builder.go | 2 +- ...s_item_jobs_item_cancel_request_builder.go | 2 +- ...m_create_upload_session_request_builder.go | 2 +- ...item_jobs_item_redirect_request_builder.go | 2 +- ...estore_factory_defaults_request_builder.go | 2 +- ...print_task_trigger_item_request_builder.go | 16 +- ...ters_item_task_triggers_request_builder.go | 16 +- .../printers_printer_item_request_builder.go | 23 +- print/printers_request_builder.go | 9 +- ...t_service_endpoint_item_request_builder.go | 9 +- ...services_item_endpoints_request_builder.go | 9 +- ...ices_print_service_item_request_builder.go | 9 +- print/services_request_builder.go | 9 +- ...allowed_groups_item_ref_request_builder.go | 7 +- ...item_allowed_groups_ref_request_builder.go | 25 +- ...res_item_allowed_groups_request_builder.go | 9 +- ..._allowed_users_item_ref_request_builder.go | 7 +- ..._item_allowed_users_ref_request_builder.go | 25 +- ...ares_item_allowed_users_request_builder.go | 9 +- ...es_item_jobs_item_abort_request_builder.go | 2 +- ...s_item_jobs_item_cancel_request_builder.go | 2 +- ...m_create_upload_session_request_builder.go | 2 +- ...item_jobs_item_redirect_request_builder.go | 2 +- ...ares_printer_share_item_request_builder.go | 23 +- print/shares_request_builder.go | 16 +- ...m_tasks_print_task_item_request_builder.go | 16 +- ..._definitions_item_tasks_request_builder.go | 9 +- ...nt_task_definition_item_request_builder.go | 23 +- print/task_definitions_request_builder.go | 16 +- ...em_get_final_attachment_request_builder.go | 7 +- ...s_item_get_final_report_request_builder.go | 7 +- ...hts_requests_item_notes_request_builder.go | 16 +- ...subject_rights_requests_request_builder.go | 16 +- ...ect_rights_request_item_request_builder.go | 16 +- .../item_resources_request_builder.go | 9 +- ...ole_assignment_requests_request_builder.go | 7 +- ...nance_role_setting_item_request_builder.go | 16 +- .../item_role_settings_request_builder.go | 6 +- .../item_program_controls_request_builder.go | 9 +- .../program_control_item_request_builder.go | 2 +- .../program_controls_request_builder.go | 4 +- .../program_control_types_request_builder.go | 2 +- programs/item_controls_request_builder.go | 9 +- programs/program_item_request_builder.go | 4 +- programs/programs_request_builder.go | 4 +- ...l_sign_in_activity_item_request_builder.go | 9 +- ...tial_sign_in_activities_request_builder.go | 9 +- ...n_detailed_summary_item_request_builder.go | 9 +- ...ign_in_detailed_summary_request_builder.go | 9 +- ...er_registration_details_request_builder.go | 9 +- ...gistration_details_item_request_builder.go | 9 +- ...s_registered_by_feature_request_builder.go | 7 +- ...rs_registered_by_method_request_builder.go | 7 +- ...er_registration_details_request_builder.go | 9 +- ...t_usage_by_printer_item_request_builder.go | 9 +- ..._print_usage_by_printer_request_builder.go | 3 - ...rint_usage_by_user_item_request_builder.go | 9 +- ...ily_print_usage_by_user_request_builder.go | 3 - ...lation_repeat_offenders_request_builder.go | 14 +- ...imulation_user_coverage_request_builder.go | 14 +- ..._training_user_coverage_request_builder.go | 14 +- ..._in_summary_with_period_request_builder.go | 14 +- ...age_summary_with_period_request_builder.go | 14 +- ...user_registration_count_request_builder.go | 4 +- ...time_with_end_date_time_request_builder.go | 14 +- ...user_counts_with_period_request_builder.go | 7 +- ...user_counts_with_period_request_builder.go | 7 +- ...time_with_end_date_time_request_builder.go | 14 +- ...led_summary_with_period_request_builder.go | 14 +- ...time_with_end_date_time_request_builder.go | 14 +- ..._print_usage_by_printer_request_builder.go | 3 - ...hly_print_usage_by_user_request_builder.go | 3 - ...manifests_manifest_item_request_builder.go | 9 +- ...tners_billing_manifests_request_builder.go | 6 +- ...erations_operation_item_request_builder.go | 9 +- ...ners_billing_operations_request_builder.go | 6 +- ...partners_billing_export_request_builder.go | 2 +- ...partners_billing_export_request_builder.go | 2 +- ...partners_billing_export_request_builder.go | 2 +- ...lation_repeat_offenders_request_builder.go | 14 +- ...imulation_user_coverage_request_builder.go | 14 +- ..._training_user_coverage_request_builder.go | 14 +- ...ion_interval_in_minutes_request_builder.go | 14 +- ...ion_interval_in_minutes_request_builder.go | 14 +- ...ion_interval_in_minutes_request_builder.go | 14 +- ...ion_interval_in_minutes_request_builder.go | 14 +- ...ion_interval_in_minutes_request_builder.go | 14 +- ...ipal_sign_in_activities_request_builder.go | 9 +- ...l_sign_in_activity_item_request_builder.go | 9 +- ...zure_a_d_authentication_request_builder.go | 9 +- ...redential_usage_details_request_builder.go | 9 +- ..._active_users_breakdown_request_builder.go | 9 +- ...ghts_daily_active_users_request_builder.go | 9 +- ...s_daily_authentications_request_builder.go | 9 +- ...s_daily_mfa_completions_request_builder.go | 9 +- ...insights_daily_sign_ups_request_builder.go | 9 +- ...sights_daily_user_count_request_builder.go | 9 +- ..._active_users_breakdown_request_builder.go | 9 +- ...ts_monthly_active_users_request_builder.go | 9 +- ...monthly_authentications_request_builder.go | 9 +- ...monthly_mfa_completions_request_builder.go | 9 +- ...sights_monthly_requests_request_builder.go | 9 +- ...sights_monthly_sign_ups_request_builder.go | 9 +- .../risk_detections_request_builder.go | 2 +- .../confirm_compromised_request_builder.go | 2 +- riskyusers/dismiss_request_builder.go | 2 +- riskyusers/item_history_request_builder.go | 9 +- ..._user_history_item_item_request_builder.go | 9 +- riskyusers/risky_user_item_request_builder.go | 2 +- riskyusers/risky_users_request_builder.go | 2 +- ...s_item_resource_actions_request_builder.go | 9 +- ...ac_resource_action_item_request_builder.go | 9 +- ...ud_p_c_role_assignments_request_builder.go | 16 +- ...ssignment_multiple_item_request_builder.go | 23 +- ...e_id_directory_scope_id_request_builder.go | 14 +- ...e_id_directory_scope_id_request_builder.go | 14 +- ...ud_p_c_role_definitions_request_builder.go | 16 +- ...ed_role_definition_item_request_builder.go | 23 +- ...s_item_resource_actions_request_builder.go | 9 +- ...ac_resource_action_item_request_builder.go | 9 +- ...gement_role_assignments_request_builder.go | 16 +- ...ssignment_multiple_item_request_builder.go | 23 +- ...e_id_directory_scope_id_request_builder.go | 14 +- ...e_id_directory_scope_id_request_builder.go | 14 +- ...gement_role_definitions_request_builder.go | 16 +- ...ed_role_definition_item_request_builder.go | 23 +- ...s_item_resource_actions_request_builder.go | 9 +- ...ac_resource_action_item_request_builder.go | 9 +- ...ory_resource_namespaces_request_builder.go | 9 +- ...resource_namespace_item_request_builder.go | 9 +- ...by_current_user_with_on_request_builder.go | 14 +- ...teps_approval_step_item_request_builder.go | 16 +- ...nt_approvals_item_steps_request_builder.go | 9 +- ...by_current_user_with_on_request_builder.go | 14 +- ...ment_schedule_instances_request_builder.go | 9 +- ..._schedule_instance_item_request_builder.go | 9 +- ...by_current_user_with_on_request_builder.go | 14 +- ...le_requests_item_cancel_request_builder.go | 2 +- ...nment_schedule_requests_request_builder.go | 16 +- ...t_schedule_request_item_request_builder.go | 9 +- ...by_current_user_with_on_request_builder.go | 14 +- ...le_assignment_schedules_request_builder.go | 9 +- ...ssignment_schedule_item_request_builder.go | 9 +- ...ectory_role_assignments_request_builder.go | 16 +- ...ed_role_assignment_item_request_builder.go | 16 +- ...e_id_directory_scope_id_request_builder.go | 14 +- ...e_id_directory_scope_id_request_builder.go | 14 +- ...ectory_role_definitions_request_builder.go | 16 +- ...ed_role_definition_item_request_builder.go | 23 +- ...by_current_user_with_on_request_builder.go | 14 +- ...lity_schedule_instances_request_builder.go | 9 +- ..._schedule_instance_item_request_builder.go | 9 +- ...by_current_user_with_on_request_builder.go | 14 +- ...le_requests_item_cancel_request_builder.go | 2 +- ...ility_schedule_requests_request_builder.go | 16 +- ...y_schedule_request_item_request_builder.go | 9 +- ...by_current_user_with_on_request_builder.go | 14 +- ...e_eligibility_schedules_request_builder.go | 9 +- ...igibility_schedule_item_request_builder.go | 9 +- ...n_id_role_definition_id_request_builder.go | 14 +- ...n_id_role_definition_id_request_builder.go | 14 +- ...sitive_role_assignments_request_builder.go | 3 - ...s_item_resource_actions_request_builder.go | 9 +- ...ac_resource_action_item_request_builder.go | 9 +- ...tem_resource_namespaces_request_builder.go | 9 +- ...resource_namespace_item_request_builder.go | 9 +- ...by_current_user_with_on_request_builder.go | 14 +- ...teps_approval_step_item_request_builder.go | 16 +- ...nt_approvals_item_steps_request_builder.go | 9 +- ...by_current_user_with_on_request_builder.go | 14 +- ...ment_schedule_instances_request_builder.go | 9 +- ..._schedule_instance_item_request_builder.go | 9 +- ...by_current_user_with_on_request_builder.go | 14 +- ...le_requests_item_cancel_request_builder.go | 2 +- ...nment_schedule_requests_request_builder.go | 16 +- ...t_schedule_request_item_request_builder.go | 9 +- ...by_current_user_with_on_request_builder.go | 14 +- ...le_assignment_schedules_request_builder.go | 9 +- ...ssignment_schedule_item_request_builder.go | 9 +- ...s_item_role_assignments_request_builder.go | 16 +- ...ed_role_assignment_item_request_builder.go | 16 +- ...e_id_directory_scope_id_request_builder.go | 14 +- ...e_id_directory_scope_id_request_builder.go | 14 +- ...s_item_role_definitions_request_builder.go | 16 +- ...ed_role_definition_item_request_builder.go | 23 +- ...by_current_user_with_on_request_builder.go | 14 +- ...lity_schedule_instances_request_builder.go | 9 +- ..._schedule_instance_item_request_builder.go | 9 +- ...by_current_user_with_on_request_builder.go | 14 +- ...le_requests_item_cancel_request_builder.go | 2 +- ...ility_schedule_requests_request_builder.go | 16 +- ...y_schedule_request_item_request_builder.go | 9 +- ...by_current_user_with_on_request_builder.go | 14 +- ...e_eligibility_schedules_request_builder.go | 9 +- ...igibility_schedule_item_request_builder.go | 9 +- ...n_id_role_definition_id_request_builder.go | 14 +- ...n_id_role_definition_id_request_builder.go | 14 +- ...sitive_role_assignments_request_builder.go | 3 - ...s_item_resource_actions_request_builder.go | 9 +- ...ac_resource_action_item_request_builder.go | 9 +- ...ent_resource_namespaces_request_builder.go | 9 +- ...resource_namespace_item_request_builder.go | 9 +- ...by_current_user_with_on_request_builder.go | 14 +- ...teps_approval_step_item_request_builder.go | 16 +- ...nt_approvals_item_steps_request_builder.go | 9 +- ...by_current_user_with_on_request_builder.go | 14 +- ...ment_schedule_instances_request_builder.go | 9 +- ..._schedule_instance_item_request_builder.go | 9 +- ...by_current_user_with_on_request_builder.go | 14 +- ...le_requests_item_cancel_request_builder.go | 2 +- ...nment_schedule_requests_request_builder.go | 16 +- ...t_schedule_request_item_request_builder.go | 9 +- ...by_current_user_with_on_request_builder.go | 14 +- ...le_assignment_schedules_request_builder.go | 9 +- ...ssignment_schedule_item_request_builder.go | 9 +- ...gement_role_assignments_request_builder.go | 16 +- ...ed_role_assignment_item_request_builder.go | 16 +- ...e_id_directory_scope_id_request_builder.go | 14 +- ...e_id_directory_scope_id_request_builder.go | 14 +- ...gement_role_definitions_request_builder.go | 16 +- ...ed_role_definition_item_request_builder.go | 23 +- ...by_current_user_with_on_request_builder.go | 14 +- ...lity_schedule_instances_request_builder.go | 9 +- ..._schedule_instance_item_request_builder.go | 9 +- ...by_current_user_with_on_request_builder.go | 14 +- ...le_requests_item_cancel_request_builder.go | 2 +- ...ility_schedule_requests_request_builder.go | 16 +- ...y_schedule_request_item_request_builder.go | 9 +- ...by_current_user_with_on_request_builder.go | 14 +- ...e_eligibility_schedules_request_builder.go | 9 +- ...igibility_schedule_item_request_builder.go | 9 +- ...n_id_role_definition_id_request_builder.go | 14 +- ...n_id_role_definition_id_request_builder.go | 14 +- ...sitive_role_assignments_request_builder.go | 3 - ...s_custom_app_scope_item_request_builder.go | 23 +- ...hange_custom_app_scopes_request_builder.go | 16 +- ...s_item_resource_actions_request_builder.go | 9 +- ...ac_resource_action_item_request_builder.go | 9 +- ...change_role_assignments_request_builder.go | 16 +- ...ed_role_assignment_item_request_builder.go | 16 +- ...e_id_directory_scope_id_request_builder.go | 14 +- ...e_id_directory_scope_id_request_builder.go | 14 +- ...change_role_definitions_request_builder.go | 9 +- ...ed_role_definition_item_request_builder.go | 9 +- .../schema_extension_item_request_builder.go | 6 +- .../schema_extensions_request_builder.go | 4 +- .../acronyms_acronym_item_request_builder.go | 23 +- search/acronyms_request_builder.go | 16 +- ...bookmarks_bookmark_item_request_builder.go | 23 +- search/bookmarks_request_builder.go | 16 +- search/qnas_qna_item_request_builder.go | 23 +- search/qnas_request_builder.go | 16 +- search/query_request_builder.go | 4 +- security/alerts_alert_item_request_builder.go | 16 +- security/alerts_request_builder.go | 9 +- .../alerts_update_alerts_request_builder.go | 4 +- .../alerts_v2_alert_item_request_builder.go | 16 +- security/alerts_v2_request_builder.go | 9 +- ..._end_user_notifications_request_builder.go | 9 +- ...imulation_landing_pages_request_builder.go | 9 +- ..._simulation_login_pages_request_builder.go | 9 +- ...mulation_operation_item_request_builder.go | 9 +- ...k_simulation_operations_request_builder.go | 6 +- ...ack_simulation_payloads_request_builder.go | 9 +- ...n_automations_item_runs_request_builder.go | 9 +- ..._simulation_automations_request_builder.go | 9 +- ...ulation_automation_item_request_builder.go | 9 +- ..._simulation_simulations_request_builder.go | 16 +- ...lations_simulation_item_request_builder.go | 23 +- ...tion_training_campaigns_request_builder.go | 16 +- ..._training_campaign_item_request_builder.go | 23 +- ...ck_simulation_trainings_request_builder.go | 9 +- ...es_audit_log_query_item_request_builder.go | 9 +- ...og_queries_item_records_request_builder.go | 9 +- security/audit_log_queries_request_builder.go | 16 +- ...es_ediscovery_case_item_request_builder.go | 23 +- ...iscovery_custodian_item_request_builder.go | 9 +- ...em_last_index_operation_request_builder.go | 9 +- ...graph_security_activate_request_builder.go | 2 +- ...aph_security_apply_hold_request_builder.go | 2 +- ..._graph_security_release_request_builder.go | 2 +- ...ph_security_remove_hold_request_builder.go | 2 +- ...h_security_update_index_request_builder.go | 2 +- ...dians_item_site_sources_request_builder.go | 16 +- ...m_unified_group_sources_request_builder.go | 16 +- ...dians_item_user_sources_request_builder.go | 16 +- ...aph_security_apply_hold_request_builder.go | 2 +- ...ph_security_remove_hold_request_builder.go | 2 +- ...h_security_update_index_request_builder.go | 2 +- ...y_cases_item_custodians_request_builder.go | 16 +- ...holds_item_site_sources_request_builder.go | 7 +- ...holds_item_user_sources_request_builder.go | 7 +- ..._cases_item_legal_holds_request_builder.go | 16 +- ...ft_graph_security_close_request_builder.go | 2 +- ...t_graph_security_reopen_request_builder.go | 2 +- ...aph_security_apply_hold_request_builder.go | 2 +- ..._graph_security_release_request_builder.go | 2 +- ...ph_security_remove_hold_request_builder.go | 2 +- ...h_security_update_index_request_builder.go | 2 +- ...aph_security_apply_hold_request_builder.go | 2 +- ...ph_security_remove_hold_request_builder.go | 2 +- ...ncustodial_data_sources_request_builder.go | 7 +- ...ons_case_operation_item_request_builder.go | 9 +- ...y_cases_item_operations_request_builder.go | 9 +- ...scovery_review_set_item_request_builder.go | 9 +- ...es_ediscovery_file_item_request_builder.go | 9 +- ...item_files_item_content_request_builder.go | 3 - ..._extracted_text_content_request_builder.go | 3 - ..._review_sets_item_files_request_builder.go | 9 +- ...urity_add_to_review_set_request_builder.go | 2 +- ...t_graph_security_export_request_builder.go | 2 +- ...y_review_set_query_item_request_builder.go | 23 +- ...aph_security_apply_tags_request_builder.go | 2 +- ...t_graph_security_export_request_builder.go | 2 +- ...soft_graph_security_run_request_builder.go | 14 +- ...eview_sets_item_queries_request_builder.go | 16 +- ..._cases_item_review_sets_request_builder.go | 16 +- ..._ediscovery_search_item_request_builder.go | 23 +- ...item_additional_sources_request_builder.go | 16 +- ..._item_custodian_sources_request_builder.go | 9 +- ...te_statistics_operation_request_builder.go | 9 +- ...ity_estimate_statistics_request_builder.go | 2 +- ...aph_security_purge_data_request_builder.go | 2 +- ...ery_cases_item_searches_request_builder.go | 16 +- ...curity_reset_to_default_request_builder.go | 2 +- ...ery_cases_item_settings_request_builder.go | 16 +- ...scovery_review_tag_item_request_builder.go | 23 +- ...h_security_as_hierarchy_request_builder.go | 14 +- ...scovery_cases_item_tags_request_builder.go | 16 +- .../cases_ediscovery_cases_request_builder.go | 16 +- ...ils_analyzed_email_item_request_builder.go | 9 +- ...raph_security_remediate_request_builder.go | 2 +- ...oration_analyzed_emails_request_builder.go | 6 +- ...ssues_health_issue_item_request_builder.go | 16 +- ...dentities_health_issues_request_builder.go | 9 +- ...incidents_incident_item_request_builder.go | 16 +- security/incidents_request_builder.go | 9 +- ...n_label_policy_settings_request_builder.go | 9 +- ...ty_evaluate_application_request_builder.go | 4 +- ..._classification_results_request_builder.go | 4 +- ...curity_evaluate_removal_request_builder.go | 4 +- ...y_extract_content_label_request_builder.go | 2 +- ...tion_sensitivity_labels_request_builder.go | 9 +- ...authority_template_item_request_builder.go | 9 +- .../labels_authorities_request_builder.go | 16 +- ..._category_template_item_request_builder.go | 9 +- security/labels_categories_request_builder.go | 16 +- ..._citation_template_item_request_builder.go | 9 +- security/labels_citations_request_builder.go | 16 +- ...epartment_template_item_request_builder.go | 9 +- .../labels_departments_request_builder.go | 16 +- ...reference_template_item_request_builder.go | 9 +- ...ls_file_plan_references_request_builder.go | 16 +- ...labels_retention_labels_request_builder.go | 16 +- ...ls_retention_label_item_request_builder.go | 14 +- .../rules_detection_rules_request_builder.go | 9 +- ..._score_control_profiles_request_builder.go | 9 +- ...re_control_profile_item_request_builder.go | 7 +- security/secure_scores_request_builder.go | 9 +- ..._cancel_security_action_request_builder.go | 2 +- security/security_actions_request_builder.go | 16 +- ...ns_security_action_item_request_builder.go | 9 +- ...em_get_final_attachment_request_builder.go | 7 +- ...s_item_get_final_report_request_builder.go | 7 +- ...hts_requests_item_notes_request_builder.go | 16 +- ..._article_indicator_item_request_builder.go | 9 +- ...ence_article_indicators_request_builder.go | 6 +- ...e_articles_article_item_request_builder.go | 9 +- ...rticles_item_indicators_request_builder.go | 9 +- ...t_intelligence_articles_request_builder.go | 9 +- ...nts_host_component_item_request_builder.go | 9 +- ...ligence_host_components_request_builder.go | 6 +- ...ookies_host_cookie_item_request_builder.go | 9 +- ...telligence_host_cookies_request_builder.go | 6 +- ...st_pairs_host_pair_item_request_builder.go | 9 +- ...intelligence_host_pairs_request_builder.go | 6 +- ...st_ports_host_port_item_request_builder.go | 9 +- ...intelligence_host_ports_request_builder.go | 6 +- ...st_ssl_certificate_item_request_builder.go | 9 +- ...e_host_ssl_certificates_request_builder.go | 6 +- ...ckers_host_tracker_item_request_builder.go | 9 +- ...elligence_host_trackers_request_builder.go | 6 +- ...ligence_hosts_host_item_request_builder.go | 9 +- ...s_item_child_host_pairs_request_builder.go | 9 +- ...e_hosts_item_components_request_builder.go | 9 +- ...ence_hosts_item_cookies_request_builder.go | 9 +- ...e_hosts_item_host_pairs_request_builder.go | 9 +- ..._item_parent_host_pairs_request_builder.go | 9 +- ..._hosts_item_passive_dns_request_builder.go | 9 +- ...tem_passive_dns_reverse_request_builder.go | 9 +- ...igence_hosts_item_ports_request_builder.go | 9 +- ...e_hosts_item_reputation_request_builder.go | 9 +- ...s_item_ssl_certificates_request_builder.go | 9 +- ...e_hosts_item_subdomains_request_builder.go | 9 +- ...nce_hosts_item_trackers_request_builder.go | 9 +- ...igence_hosts_item_whois_request_builder.go | 9 +- ...reat_intelligence_hosts_request_builder.go | 6 +- ...telligence_profile_item_request_builder.go | 9 +- ...rofiles_item_indicators_request_builder.go | 9 +- ...lligence_intel_profiles_request_builder.go | 9 +- ..._profile_indicator_item_request_builder.go | 9 +- ...ence_profile_indicators_request_builder.go | 6 +- ...passive_dns_record_item_request_builder.go | 9 +- ...nce_passive_dns_records_request_builder.go | 6 +- ...igence_ssl_certificates_request_builder.go | 9 +- ...es_ssl_certificate_item_request_builder.go | 9 +- ...intelligence_subdomains_request_builder.go | 6 +- ...bdomains_subdomain_item_request_builder.go | 9 +- ...ilities_item_components_request_builder.go | 9 +- ...rability_component_item_request_builder.go | 9 +- ...ligence_vulnerabilities_request_builder.go | 6 +- ...ties_vulnerability_item_request_builder.go | 9 +- ...is_records_item_history_request_builder.go | 9 +- ...elligence_whois_records_request_builder.go | 9 +- ...cords_whois_record_item_request_builder.go | 9 +- ..._submission_policy_item_request_builder.go | 9 +- ...eat_submission_policies_request_builder.go | 9 +- ..._threat_submission_item_request_builder.go | 9 +- ...ubmission_email_threats_request_builder.go | 16 +- ..._threat_submission_item_request_builder.go | 9 +- ...submission_file_threats_request_builder.go | 9 +- ..._submission_url_threats_request_builder.go | 16 +- ..._threat_submission_item_request_builder.go | 9 +- ...dicators_by_external_id_request_builder.go | 4 +- ...rs_delete_ti_indicators_request_builder.go | 4 +- security/ti_indicators_request_builder.go | 16 +- ...rs_submit_ti_indicators_request_builder.go | 4 +- ...ators_ti_indicator_item_request_builder.go | 23 +- ...rs_update_ti_indicators_request_builder.go | 4 +- ...s_retention_event_types_request_builder.go | 16 +- ...tention_event_type_item_request_builder.go | 16 +- ...iggers_retention_events_request_builder.go | 16 +- ...ts_retention_event_item_request_builder.go | 16 +- serviceprincipals/delta_request_builder.go | 14 +- .../get_by_ids_request_builder.go | 4 +- .../get_user_owned_objects_request_builder.go | 2 +- ...ken_signing_certificate_request_builder.go | 2 +- ...pp_role_assignment_item_request_builder.go | 7 +- ...em_app_role_assigned_to_request_builder.go | 16 +- ...pp_role_assignment_item_request_builder.go | 7 +- ...em_app_role_assignments_request_builder.go | 10 +- ...tem_check_member_groups_request_builder.go | 4 +- ...pping_policies_item_ref_request_builder.go | 7 +- ...ms_mapping_policies_ref_request_builder.go | 25 +- ...claims_mapping_policies_request_builder.go | 9 +- ...gle_sign_on_credentials_request_builder.go | 2 +- .../item_created_objects_request_builder.go | 9 +- ...ion_classification_item_request_builder.go | 7 +- ...mission_classifications_request_builder.go | 16 +- ...gle_sign_on_credentials_request_builder.go | 2 +- .../item_get_member_groups_request_builder.go | 4 +- ...gle_sign_on_credentials_request_builder.go | 2 +- ...overy_policies_item_ref_request_builder.go | 7 +- ..._discovery_policies_ref_request_builder.go | 25 +- ...ealm_discovery_policies_request_builder.go | 9 +- ...teams_licensing_details_request_builder.go | 7 +- .../item_member_of_request_builder.go | 3 - ...auth2_permission_grants_request_builder.go | 9 +- .../item_owned_objects_request_builder.go | 9 +- .../item_owners_item_ref_request_builder.go | 7 +- .../item_owners_ref_request_builder.go | 19 +- .../item_owners_request_builder.go | 3 - ..._security_configuration_request_builder.go | 23 +- ...on_target_device_groups_request_builder.go | 16 +- ...arget_device_group_item_request_builder.go | 23 +- .../item_restore_request_builder.go | 2 +- ...on_acquire_access_token_request_builder.go | 2 +- ...ization_jobs_item_pause_request_builder.go | 2 +- ...tem_provision_on_demand_request_builder.go | 2 +- ...ation_jobs_item_restart_request_builder.go | 2 +- ...rectories_item_discover_request_builder.go | 2 +- ...schema_filter_operators_request_builder.go | 14 +- ...s_item_schema_functions_request_builder.go | 14 +- ...schema_parse_expression_request_builder.go | 2 +- ...zation_jobs_item_schema_request_builder.go | 16 +- ...ization_jobs_item_start_request_builder.go | 2 +- ...em_validate_credentials_request_builder.go | 2 +- ...em_synchronization_jobs_request_builder.go | 16 +- ...ynchronization_job_item_request_builder.go | 16 +- ...rectories_item_discover_request_builder.go | 2 +- ...schema_filter_operators_request_builder.go | 14 +- ...s_item_schema_functions_request_builder.go | 14 +- ...schema_parse_expression_request_builder.go | 2 +- ...nchronization_templates_request_builder.go | 9 +- ...onization_template_item_request_builder.go | 7 +- ...token_lifetime_policies_request_builder.go | 9 +- ...em_transitive_member_of_request_builder.go | 3 - ...gle_sign_on_credentials_request_builder.go | 2 +- .../service_principal_item_request_builder.go | 6 +- .../service_principals_request_builder.go | 4 +- .../validate_properties_request_builder.go | 2 +- ..._principals_with_app_id_request_builder.go | 6 +- .../directory_setting_item_request_builder.go | 6 +- settings/settings_request_builder.go | 4 +- ...item_drive_item_content_request_builder.go | 3 - ...ive_item_content_stream_request_builder.go | 3 - shares/item_drive_item_request_builder.go | 9 +- shares/item_list_columns_request_builder.go | 10 +- ...y_from_content_type_hub_request_builder.go | 2 +- ..._content_types_add_copy_request_builder.go | 2 +- ...tible_hub_content_types_request_builder.go | 14 +- ...ssociate_with_hub_sites_request_builder.go | 2 +- ..._column_definition_item_request_builder.go | 23 +- ...tent_types_item_columns_request_builder.go | 10 +- ...efault_content_location_request_builder.go | 2 +- ...types_item_is_published_request_builder.go | 6 + ...tent_types_item_publish_request_builder.go | 2 +- ...nt_types_item_unpublish_request_builder.go | 2 +- ...item_list_content_types_request_builder.go | 3 - .../item_list_items_delta_request_builder.go | 14 +- ..._items_item_create_link_request_builder.go | 2 +- ...cument_set_version_item_request_builder.go | 16 +- ...t_versions_item_restore_request_builder.go | 2 +- ...m_document_set_versions_request_builder.go | 16 +- ...t_items_item_drive_item_request_builder.go | 6 +- ..._list_items_item_fields_request_builder.go | 7 +- ...st_items_list_item_item_request_builder.go | 16 +- shares/item_list_items_request_builder.go | 16 +- ...ptions_item_reauthorize_request_builder.go | 2 +- .../item_permission_grant_request_builder.go | 10 +- ...ermission_revoke_grants_request_builder.go | 6 +- .../shared_drive_item_item_request_builder.go | 2 +- sites/add_request_builder.go | 4 +- sites/delta_request_builder.go | 14 +- sites/get_all_sites_request_builder.go | 14 +- sites/item_columns_request_builder.go | 10 +- ...y_from_content_type_hub_request_builder.go | 2 +- ..._content_types_add_copy_request_builder.go | 2 +- ...types_content_type_item_request_builder.go | 23 +- ...tible_hub_content_types_request_builder.go | 14 +- ...ssociate_with_hub_sites_request_builder.go | 2 +- ..._column_definition_item_request_builder.go | 23 +- ...tent_types_item_columns_request_builder.go | 10 +- ...efault_content_location_request_builder.go | 2 +- ...types_item_is_published_request_builder.go | 6 + ...tent_types_item_publish_request_builder.go | 2 +- ...nt_types_item_unpublish_request_builder.go | 2 +- sites/item_content_types_request_builder.go | 10 +- ...s_for_list_with_list_id_request_builder.go | 14 +- ..._path_with_path_columns_request_builder.go | 10 +- ...with_path_content_types_request_builder.go | 10 +- ...s_for_list_with_list_id_request_builder.go | 14 +- ...path_with_path1_columns_request_builder.go | 10 +- ...ith_path1_content_types_request_builder.go | 10 +- ...y_path_with_path1_lists_request_builder.go | 16 +- ...h_with_path1_operations_request_builder.go | 9 +- ...y_path_with_path1_pages_request_builder.go | 16 +- ..._with_path1_permissions_request_builder.go | 16 +- ...y_path_with_path1_sites_request_builder.go | 9 +- ...h_with_path1_term_store_request_builder.go | 9 +- ...by_path_with_path_lists_request_builder.go | 16 +- ...th_with_path_operations_request_builder.go | 9 +- ...by_path_with_path_pages_request_builder.go | 16 +- ...h_with_path_permissions_request_builder.go | 16 +- ...by_path_with_path_sites_request_builder.go | 9 +- ...th_with_path_term_store_request_builder.go | 9 +- ...ocker_recovery_key_item_request_builder.go | 9 +- ...bitlocker_recovery_keys_request_builder.go | 9 +- ...ls_evaluate_application_request_builder.go | 4 +- ..._classification_results_request_builder.go | 4 +- ...labels_evaluate_removal_request_builder.go | 4 +- ...cy_labels_extract_label_request_builder.go | 2 +- ...n_protection_label_item_request_builder.go | 9 +- ...rotection_policy_labels_request_builder.go | 9 +- ...eat_assessment_requests_request_builder.go | 16 +- ...assessment_request_item_request_builder.go | 9 +- ...item_lists_item_columns_request_builder.go | 10 +- ...y_from_content_type_hub_request_builder.go | 2 +- ..._content_types_add_copy_request_builder.go | 2 +- ...tible_hub_content_types_request_builder.go | 14 +- ...ssociate_with_hub_sites_request_builder.go | 2 +- ..._column_definition_item_request_builder.go | 23 +- ...tent_types_item_columns_request_builder.go | 10 +- ...efault_content_location_request_builder.go | 2 +- ...types_item_is_published_request_builder.go | 6 + ...tent_types_item_publish_request_builder.go | 2 +- ...nt_types_item_unpublish_request_builder.go | 2 +- ...ists_item_content_types_request_builder.go | 3 - ..._lists_item_items_delta_request_builder.go | 14 +- ..._items_item_create_link_request_builder.go | 2 +- ...cument_set_version_item_request_builder.go | 16 +- ...t_versions_item_restore_request_builder.go | 2 +- ...m_document_set_versions_request_builder.go | 16 +- ...m_items_item_drive_item_request_builder.go | 6 +- ..._item_items_item_fields_request_builder.go | 7 +- ...em_items_list_item_item_request_builder.go | 16 +- .../item_lists_item_items_request_builder.go | 16 +- ...ptions_item_reauthorize_request_builder.go | 2 +- sites/item_lists_list_item_request_builder.go | 9 +- sites/item_lists_request_builder.go | 16 +- ...t_notebook_from_web_url_request_builder.go | 2 +- ...lude_personal_notebooks_request_builder.go | 14 +- ...ooks_item_copy_notebook_request_builder.go | 2 +- ...ups_item_section_groups_request_builder.go | 9 +- ...s_item_copy_to_notebook_request_builder.go | 2 +- ...m_copy_to_section_group_request_builder.go | 2 +- ...es_item_copy_to_section_request_builder.go | 2 +- ...on_groups_item_sections_request_builder.go | 16 +- ...oks_item_section_groups_request_builder.go | 16 +- ...s_item_copy_to_notebook_request_builder.go | 2 +- ...m_copy_to_section_group_request_builder.go | 2 +- ...es_item_copy_to_section_request_builder.go | 2 +- ...notebooks_item_sections_request_builder.go | 16 +- ...notebooks_notebook_item_request_builder.go | 9 +- .../item_onenote_notebooks_request_builder.go | 16 +- ..._onenote_operation_item_request_builder.go | 9 +- ...item_onenote_operations_request_builder.go | 6 +- ...es_item_copy_to_section_request_builder.go | 2 +- ...pages_onenote_page_item_request_builder.go | 7 +- ...ups_item_section_groups_request_builder.go | 9 +- ...s_item_copy_to_notebook_request_builder.go | 2 +- ...m_copy_to_section_group_request_builder.go | 2 +- ...es_item_copy_to_section_request_builder.go | 2 +- ...on_groups_item_sections_request_builder.go | 16 +- ..._onenote_section_groups_request_builder.go | 9 +- ...oups_section_group_item_request_builder.go | 9 +- ...s_item_copy_to_notebook_request_builder.go | 2 +- ...m_copy_to_section_group_request_builder.go | 2 +- ...es_item_copy_to_section_request_builder.go | 2 +- ...ns_onenote_section_item_request_builder.go | 9 +- .../item_onenote_sections_request_builder.go | 9 +- sites/item_operations_request_builder.go | 9 +- ..._running_operation_item_request_builder.go | 9 +- ...ges_base_site_page_item_request_builder.go | 9 +- sites/item_pages_request_builder.go | 16 +- ..._permissions_item_grant_request_builder.go | 10 +- ...ions_item_revoke_grants_request_builder.go | 6 +- ...issions_permission_item_request_builder.go | 16 +- sites/item_permissions_request_builder.go | 16 +- .../item_recycle_bin_items_request_builder.go | 9 +- sites/item_sites_request_builder.go | 9 +- ...store_groups_group_item_request_builder.go | 16 +- ...item_sets_item_children_request_builder.go | 16 +- ...tem_sets_item_relations_request_builder.go | 9 +- ...ps_item_sets_item_terms_request_builder.go | 6 +- ...ts_item_terms_term_item_request_builder.go | 23 +- ..._store_groups_item_sets_request_builder.go | 9 +- .../item_term_store_groups_request_builder.go | 16 +- sites/item_term_store_request_builder.go | 9 +- ...tore_sets_item_children_request_builder.go | 16 +- ...roup_sets_item_children_request_builder.go | 16 +- ...oup_sets_item_relations_request_builder.go | 9 +- ...t_group_sets_item_terms_request_builder.go | 6 +- ...ts_item_terms_term_item_request_builder.go | 23 +- ..._item_parent_group_sets_request_builder.go | 9 +- ...ore_sets_item_relations_request_builder.go | 9 +- ...m_store_sets_item_terms_request_builder.go | 6 +- ...ts_item_terms_term_item_request_builder.go | 23 +- sites/item_term_store_sets_request_builder.go | 6 +- ...erm_store_sets_set_item_request_builder.go | 23 +- sites/remove_request_builder.go | 4 +- sites/site_item_request_builder.go | 8 +- sites/sites_request_builder.go | 8 +- ...s_booking_business_item_request_builder.go | 7 +- ...ooking_appointment_item_request_builder.go | 23 +- ...ppointments_item_cancel_request_builder.go | 2 +- ...esses_item_appointments_request_builder.go | 16 +- ...lendar_view_item_cancel_request_builder.go | 2 +- ...sses_item_calendar_view_request_builder.go | 3 - ...ng_custom_question_item_request_builder.go | 23 +- ...s_item_custom_questions_request_builder.go | 16 +- ...s_booking_customer_item_request_builder.go | 23 +- ...sinesses_item_customers_request_builder.go | 16 +- ..._get_staff_availability_request_builder.go | 4 +- ...businesses_item_publish_request_builder.go | 2 +- ...es_booking_service_item_request_builder.go | 23 +- ...usinesses_item_services_request_builder.go | 16 +- ...oking_staff_member_item_request_builder.go | 23 +- ...sses_item_staff_members_request_builder.go | 16 +- ...sinesses_item_unpublish_request_builder.go | 2 +- ...s_booking_currency_item_request_builder.go | 9 +- .../booking_currencies_request_builder.go | 9 +- ..._business_scenario_item_request_builder.go | 23 +- ...s_item_planner_get_plan_request_builder.go | 2 +- ...ation_localization_item_request_builder.go | 23 +- ...iguration_localizations_request_builder.go | 16 +- ...nner_plan_configuration_request_builder.go | 16 +- ..._scenarios_item_planner_request_builder.go | 9 +- ...nner_task_configuration_request_builder.go | 16 +- ...ness_scenario_task_item_request_builder.go | 23 +- ...ed_to_task_board_format_request_builder.go | 12 +- ...ucket_task_board_format_request_builder.go | 12 +- ...nner_tasks_item_details_request_builder.go | 12 +- ...gress_task_board_format_request_builder.go | 12 +- ...rios_item_planner_tasks_request_builder.go | 16 +- .../business_scenarios_request_builder.go | 16 +- ...narios_with_unique_name_request_builder.go | 23 +- ...item_attendance_records_request_builder.go | 9 +- ...item_attendance_records_request_builder.go | 9 +- ..._with_user_id_with_role_request_builder.go | 14 +- ..._by_user_role_with_role_request_builder.go | 14 +- ...nars_item_registrations_request_builder.go | 9 +- ...event_registration_item_request_builder.go | 9 +- ...egistrations_with_email_request_builder.go | 9 +- ...istrations_with_user_id_request_builder.go | 9 +- ...item_attendance_records_request_builder.go | 9 +- ...virtual_events_webinars_request_builder.go | 9 +- ...tual_event_webinar_item_request_builder.go | 9 +- .../subscribed_sku_item_request_builder.go | 2 +- .../subscribed_skus_request_builder.go | 2 +- .../item_reauthorize_request_builder.go | 2 +- .../subscription_item_request_builder.go | 6 +- .../subscriptions_request_builder.go | 4 +- teams/get_open_shifts_request_builder.go | 14 +- teams/get_shifts_request_builder.go | 14 +- teams/get_times_off_request_builder.go | 14 +- teams/item_all_channels_request_builder.go | 9 +- teams/item_archive_request_builder.go | 2 +- ...m_channels_channel_item_request_builder.go | 23 +- ...annels_get_all_messages_request_builder.go | 14 +- ...t_all_retained_messages_request_builder.go | 14 +- ...m_channels_item_archive_request_builder.go | 2 +- ...item_complete_migration_request_builder.go | 2 +- ...ame_user_principal_name_request_builder.go | 14 +- ...em_files_folder_content_request_builder.go | 3 - ...s_folder_content_stream_request_builder.go | 3 - ...nnels_item_files_folder_request_builder.go | 9 +- ...annels_item_members_add_request_builder.go | 4 +- ...onversation_member_item_request_builder.go | 23 +- ...m_channels_item_members_request_builder.go | 16 +- ...sages_chat_message_item_request_builder.go | 16 +- ...els_item_messages_delta_request_builder.go | 14 +- ...age_hosted_content_item_request_builder.go | 9 +- ...ents_item_value_content_request_builder.go | 3 - ...es_item_hosted_contents_request_builder.go | 9 +- ...plies_chat_message_item_request_builder.go | 9 +- ...ages_item_replies_delta_request_builder.go | 14 +- ...age_hosted_content_item_request_builder.go | 9 +- ...ents_item_value_content_request_builder.go | 3 - ...es_item_hosted_contents_request_builder.go | 9 +- ...eplies_item_soft_delete_request_builder.go | 2 +- ...s_item_undo_soft_delete_request_builder.go | 2 +- ...m_messages_item_replies_request_builder.go | 16 +- ...ssages_item_soft_delete_request_builder.go | 2 +- ...s_item_undo_soft_delete_request_builder.go | 2 +- ..._channels_item_messages_request_builder.go | 16 +- ...ls_item_provision_email_request_builder.go | 2 +- ...nnels_item_remove_email_request_builder.go | 2 +- ...ms_item_allowed_members_request_builder.go | 9 +- ..._item_shared_with_teams_request_builder.go | 9 +- ..._channel_team_info_item_request_builder.go | 16 +- ...item_channels_item_tabs_request_builder.go | 9 +- ...channels_item_unarchive_request_builder.go | 2 +- teams/item_channels_request_builder.go | 16 +- teams/item_clone_request_builder.go | 2 +- ...item_complete_migration_request_builder.go | 2 +- .../item_incoming_channels_request_builder.go | 9 +- ...alled_apps_item_upgrade_request_builder.go | 2 +- teams/item_installed_apps_request_builder.go | 16 +- ...s_app_installation_item_request_builder.go | 16 +- teams/item_members_add_request_builder.go | 4 +- ...onversation_member_item_request_builder.go | 23 +- teams/item_members_request_builder.go | 16 +- .../item_permission_grants_request_builder.go | 9 +- ...primary_channel_archive_request_builder.go | 2 +- ...nnel_complete_migration_request_builder.go | 2 +- ...ame_user_principal_name_request_builder.go | 14 +- ...el_files_folder_content_request_builder.go | 3 - ...s_folder_content_stream_request_builder.go | 3 - ...ry_channel_files_folder_request_builder.go | 9 +- ...ary_channel_members_add_request_builder.go | 4 +- ...onversation_member_item_request_builder.go | 23 +- ...primary_channel_members_request_builder.go | 16 +- ...sages_chat_message_item_request_builder.go | 16 +- ..._channel_messages_delta_request_builder.go | 14 +- ...age_hosted_content_item_request_builder.go | 9 +- ...ents_item_value_content_request_builder.go | 3 - ...es_item_hosted_contents_request_builder.go | 9 +- ...plies_chat_message_item_request_builder.go | 9 +- ...ages_item_replies_delta_request_builder.go | 14 +- ...age_hosted_content_item_request_builder.go | 9 +- ...ents_item_value_content_request_builder.go | 3 - ...es_item_hosted_contents_request_builder.go | 9 +- ...eplies_item_soft_delete_request_builder.go | 2 +- ...s_item_undo_soft_delete_request_builder.go | 2 +- ...l_messages_item_replies_request_builder.go | 16 +- ...ssages_item_soft_delete_request_builder.go | 2 +- ...s_item_undo_soft_delete_request_builder.go | 2 +- ...rimary_channel_messages_request_builder.go | 16 +- ...channel_provision_email_request_builder.go | 2 +- ...ry_channel_remove_email_request_builder.go | 2 +- teams/item_primary_channel_request_builder.go | 9 +- ...ms_item_allowed_members_request_builder.go | 9 +- ...annel_shared_with_teams_request_builder.go | 9 +- ..._channel_team_info_item_request_builder.go | 16 +- ...em_primary_channel_tabs_request_builder.go | 9 +- ...imary_channel_unarchive_request_builder.go | 2 +- ...day_notes_day_note_item_request_builder.go | 7 +- ...ffer_shift_request_item_request_builder.go | 9 +- ...le_offer_shift_requests_request_builder.go | 16 +- ...ift_change_request_item_request_builder.go | 9 +- ...n_shift_change_requests_request_builder.go | 16 +- ..._shifts_open_shift_item_request_builder.go | 23 +- ...em_schedule_open_shifts_request_builder.go | 16 +- teams/item_schedule_request_builder.go | 9 +- ...edule_scheduling_groups_request_builder.go | 16 +- ...s_scheduling_group_item_request_builder.go | 23 +- teams/item_schedule_share_request_builder.go | 2 +- teams/item_schedule_shifts_request_builder.go | 10 +- ...edule_shifts_shift_item_request_builder.go | 23 +- ..._shifts_change_requests_request_builder.go | 16 +- ...fts_change_request_item_request_builder.go | 9 +- ...ule_time_cards_clock_in_request_builder.go | 2 +- ...me_cards_item_clock_out_request_builder.go | 2 +- ...time_cards_item_confirm_request_builder.go | 2 +- ...me_cards_item_end_break_request_builder.go | 2 +- ..._cards_item_start_break_request_builder.go | 2 +- ...tem_schedule_time_cards_request_builder.go | 16 +- ...me_cards_time_card_item_request_builder.go | 23 +- ...hedule_time_off_reasons_request_builder.go | 10 +- ...ns_time_off_reason_item_request_builder.go | 23 +- ...edule_time_off_requests_request_builder.go | 9 +- ...s_time_off_request_item_request_builder.go | 16 +- ...item_schedule_times_off_request_builder.go | 16 +- ...times_off_time_off_item_request_builder.go | 23 +- ...d_activity_notification_request_builder.go | 2 +- .../item_tags_item_members_request_builder.go | 16 +- ...eamwork_tag_member_item_request_builder.go | 16 +- teams/item_tags_request_builder.go | 16 +- ..._tags_teamwork_tag_item_request_builder.go | 23 +- teams/item_unarchive_request_builder.go | 2 +- teams/team_item_request_builder.go | 4 +- teams/teams_request_builder.go | 4 +- ...definition_all_channels_request_builder.go | 9 +- ...team_definition_archive_request_builder.go | 2 +- ...n_channels_channel_item_request_builder.go | 23 +- ...annels_get_all_messages_request_builder.go | 14 +- ...t_all_retained_messages_request_builder.go | 14 +- ...n_channels_item_archive_request_builder.go | 2 +- ...item_complete_migration_request_builder.go | 2 +- ...ame_user_principal_name_request_builder.go | 14 +- ...em_files_folder_content_request_builder.go | 3 - ...s_folder_content_stream_request_builder.go | 3 - ...nnels_item_files_folder_request_builder.go | 9 +- ...annels_item_members_add_request_builder.go | 4 +- ...onversation_member_item_request_builder.go | 23 +- ...n_channels_item_members_request_builder.go | 16 +- ...sages_chat_message_item_request_builder.go | 16 +- ...els_item_messages_delta_request_builder.go | 14 +- ...age_hosted_content_item_request_builder.go | 9 +- ...ents_item_value_content_request_builder.go | 3 - ...es_item_hosted_contents_request_builder.go | 9 +- ...plies_chat_message_item_request_builder.go | 9 +- ...ages_item_replies_delta_request_builder.go | 14 +- ...age_hosted_content_item_request_builder.go | 9 +- ...ents_item_value_content_request_builder.go | 3 - ...es_item_hosted_contents_request_builder.go | 9 +- ...eplies_item_soft_delete_request_builder.go | 2 +- ...s_item_undo_soft_delete_request_builder.go | 2 +- ...m_messages_item_replies_request_builder.go | 16 +- ...ssages_item_soft_delete_request_builder.go | 2 +- ...s_item_undo_soft_delete_request_builder.go | 2 +- ..._channels_item_messages_request_builder.go | 16 +- ...ls_item_provision_email_request_builder.go | 2 +- ...nnels_item_remove_email_request_builder.go | 2 +- ...ms_item_allowed_members_request_builder.go | 9 +- ..._item_shared_with_teams_request_builder.go | 9 +- ..._channel_team_info_item_request_builder.go | 16 +- ...tion_channels_item_tabs_request_builder.go | 9 +- ...channels_item_unarchive_request_builder.go | 2 +- ...eam_definition_channels_request_builder.go | 16 +- ...m_team_definition_clone_request_builder.go | 2 +- ...tion_complete_migration_request_builder.go | 2 +- ...ition_incoming_channels_request_builder.go | 9 +- ...alled_apps_item_upgrade_request_builder.go | 2 +- ...finition_installed_apps_request_builder.go | 16 +- ...s_app_installation_item_request_builder.go | 16 +- ..._definition_members_add_request_builder.go | 4 +- ...onversation_member_item_request_builder.go | 23 +- ...team_definition_members_request_builder.go | 16 +- ...ition_permission_grants_request_builder.go | 9 +- ...primary_channel_archive_request_builder.go | 2 +- ...nnel_complete_migration_request_builder.go | 2 +- ...ame_user_principal_name_request_builder.go | 14 +- ...el_files_folder_content_request_builder.go | 3 - ...s_folder_content_stream_request_builder.go | 3 - ...ry_channel_files_folder_request_builder.go | 9 +- ...ary_channel_members_add_request_builder.go | 4 +- ...onversation_member_item_request_builder.go | 23 +- ...primary_channel_members_request_builder.go | 16 +- ...sages_chat_message_item_request_builder.go | 16 +- ..._channel_messages_delta_request_builder.go | 14 +- ...age_hosted_content_item_request_builder.go | 9 +- ...ents_item_value_content_request_builder.go | 3 - ...es_item_hosted_contents_request_builder.go | 9 +- ...plies_chat_message_item_request_builder.go | 9 +- ...ages_item_replies_delta_request_builder.go | 14 +- ...age_hosted_content_item_request_builder.go | 9 +- ...ents_item_value_content_request_builder.go | 3 - ...es_item_hosted_contents_request_builder.go | 9 +- ...eplies_item_soft_delete_request_builder.go | 2 +- ...s_item_undo_soft_delete_request_builder.go | 2 +- ...l_messages_item_replies_request_builder.go | 16 +- ...ssages_item_soft_delete_request_builder.go | 2 +- ...s_item_undo_soft_delete_request_builder.go | 2 +- ...rimary_channel_messages_request_builder.go | 16 +- ...channel_provision_email_request_builder.go | 2 +- ...ry_channel_remove_email_request_builder.go | 2 +- ...inition_primary_channel_request_builder.go | 9 +- ...ms_item_allowed_members_request_builder.go | 9 +- ...annel_shared_with_teams_request_builder.go | 9 +- ..._channel_team_info_item_request_builder.go | 16 +- ...on_primary_channel_tabs_request_builder.go | 9 +- ...imary_channel_unarchive_request_builder.go | 2 +- .../item_team_definition_request_builder.go | 9 +- ...day_notes_day_note_item_request_builder.go | 7 +- ...ffer_shift_request_item_request_builder.go | 9 +- ...le_offer_shift_requests_request_builder.go | 16 +- ...ift_change_request_item_request_builder.go | 9 +- ...n_shift_change_requests_request_builder.go | 16 +- ..._shifts_open_shift_item_request_builder.go | 23 +- ...on_schedule_open_shifts_request_builder.go | 16 +- ...eam_definition_schedule_request_builder.go | 9 +- ...edule_scheduling_groups_request_builder.go | 16 +- ...s_scheduling_group_item_request_builder.go | 23 +- ...finition_schedule_share_request_builder.go | 2 +- ...inition_schedule_shifts_request_builder.go | 10 +- ...edule_shifts_shift_item_request_builder.go | 23 +- ..._shifts_change_requests_request_builder.go | 16 +- ...fts_change_request_item_request_builder.go | 9 +- ...ule_time_cards_clock_in_request_builder.go | 2 +- ...me_cards_item_clock_out_request_builder.go | 2 +- ...time_cards_item_confirm_request_builder.go | 2 +- ...me_cards_item_end_break_request_builder.go | 2 +- ..._cards_item_start_break_request_builder.go | 2 +- ...ion_schedule_time_cards_request_builder.go | 16 +- ...me_cards_time_card_item_request_builder.go | 23 +- ...hedule_time_off_reasons_request_builder.go | 10 +- ...ns_time_off_reason_item_request_builder.go | 23 +- ...edule_time_off_requests_request_builder.go | 9 +- ...s_time_off_request_item_request_builder.go | 16 +- ...tion_schedule_times_off_request_builder.go | 16 +- ...times_off_time_off_item_request_builder.go | 23 +- ...d_activity_notification_request_builder.go | 2 +- ...ition_tags_item_members_request_builder.go | 16 +- ...eamwork_tag_member_item_request_builder.go | 16 +- ...em_team_definition_tags_request_builder.go | 16 +- ..._tags_teamwork_tag_item_request_builder.go | 23 +- ...am_definition_unarchive_request_builder.go | 2 +- ...chats_deleted_chat_item_request_builder.go | 9 +- ..._chats_item_undo_delete_request_builder.go | 2 +- teamwork/deleted_chats_request_builder.go | 6 +- ...annels_get_all_messages_request_builder.go | 14 +- ...t_all_retained_messages_request_builder.go | 14 +- ...m_channels_item_archive_request_builder.go | 2 +- ...item_complete_migration_request_builder.go | 2 +- ...ame_user_principal_name_request_builder.go | 14 +- ...em_files_folder_content_request_builder.go | 3 - ...s_folder_content_stream_request_builder.go | 3 - ...nnels_item_files_folder_request_builder.go | 9 +- ...annels_item_members_add_request_builder.go | 4 +- ...onversation_member_item_request_builder.go | 23 +- ...m_channels_item_members_request_builder.go | 16 +- ...sages_chat_message_item_request_builder.go | 16 +- ...els_item_messages_delta_request_builder.go | 14 +- ...age_hosted_content_item_request_builder.go | 9 +- ...ents_item_value_content_request_builder.go | 3 - ...es_item_hosted_contents_request_builder.go | 9 +- ...plies_chat_message_item_request_builder.go | 9 +- ...ages_item_replies_delta_request_builder.go | 14 +- ...age_hosted_content_item_request_builder.go | 9 +- ...ents_item_value_content_request_builder.go | 3 - ...es_item_hosted_contents_request_builder.go | 9 +- ...eplies_item_soft_delete_request_builder.go | 2 +- ...s_item_undo_soft_delete_request_builder.go | 2 +- ...m_messages_item_replies_request_builder.go | 16 +- ...ssages_item_soft_delete_request_builder.go | 2 +- ...s_item_undo_soft_delete_request_builder.go | 2 +- ..._channels_item_messages_request_builder.go | 16 +- ...ls_item_provision_email_request_builder.go | 2 +- ...nnels_item_remove_email_request_builder.go | 2 +- ...ms_item_allowed_members_request_builder.go | 9 +- ..._item_shared_with_teams_request_builder.go | 9 +- ..._channel_team_info_item_request_builder.go | 16 +- ...item_channels_item_tabs_request_builder.go | 9 +- ...channels_item_unarchive_request_builder.go | 2 +- teamwork/deleted_teams_request_builder.go | 9 +- .../devices_item_activity_request_builder.go | 9 +- ...ices_item_configuration_request_builder.go | 9 +- .../devices_item_health_request_builder.go | 9 +- ...devices_item_operations_request_builder.go | 9 +- ...k_device_operation_item_request_builder.go | 9 +- .../devices_item_restart_request_builder.go | 2 +- ...es_item_run_diagnostics_request_builder.go | 2 +- ...es_item_update_software_request_builder.go | 2 +- teamwork/devices_request_builder.go | 9 +- ...es_teamwork_device_item_request_builder.go | 9 +- ...ification_to_recipients_request_builder.go | 2 +- ...definition_all_channels_request_builder.go | 9 +- ...team_definition_archive_request_builder.go | 2 +- ...n_channels_channel_item_request_builder.go | 23 +- ...annels_get_all_messages_request_builder.go | 14 +- ...t_all_retained_messages_request_builder.go | 14 +- ...n_channels_item_archive_request_builder.go | 2 +- ...item_complete_migration_request_builder.go | 2 +- ...ame_user_principal_name_request_builder.go | 14 +- ...em_files_folder_content_request_builder.go | 3 - ...s_folder_content_stream_request_builder.go | 3 - ...nnels_item_files_folder_request_builder.go | 9 +- ...annels_item_members_add_request_builder.go | 4 +- ...onversation_member_item_request_builder.go | 23 +- ...n_channels_item_members_request_builder.go | 16 +- ...sages_chat_message_item_request_builder.go | 16 +- ...els_item_messages_delta_request_builder.go | 14 +- ...age_hosted_content_item_request_builder.go | 9 +- ...ents_item_value_content_request_builder.go | 3 - ...es_item_hosted_contents_request_builder.go | 9 +- ...plies_chat_message_item_request_builder.go | 9 +- ...ages_item_replies_delta_request_builder.go | 14 +- ...age_hosted_content_item_request_builder.go | 9 +- ...ents_item_value_content_request_builder.go | 3 - ...es_item_hosted_contents_request_builder.go | 9 +- ...eplies_item_soft_delete_request_builder.go | 2 +- ...s_item_undo_soft_delete_request_builder.go | 2 +- ...m_messages_item_replies_request_builder.go | 16 +- ...ssages_item_soft_delete_request_builder.go | 2 +- ...s_item_undo_soft_delete_request_builder.go | 2 +- ..._channels_item_messages_request_builder.go | 16 +- ...ls_item_provision_email_request_builder.go | 2 +- ...nnels_item_remove_email_request_builder.go | 2 +- ...ms_item_allowed_members_request_builder.go | 9 +- ..._item_shared_with_teams_request_builder.go | 9 +- ..._channel_team_info_item_request_builder.go | 16 +- ...tion_channels_item_tabs_request_builder.go | 9 +- ...channels_item_unarchive_request_builder.go | 2 +- ...eam_definition_channels_request_builder.go | 16 +- ...m_team_definition_clone_request_builder.go | 2 +- ...tion_complete_migration_request_builder.go | 2 +- ...ition_incoming_channels_request_builder.go | 9 +- ...alled_apps_item_upgrade_request_builder.go | 2 +- ...finition_installed_apps_request_builder.go | 16 +- ...s_app_installation_item_request_builder.go | 16 +- ..._definition_members_add_request_builder.go | 4 +- ...onversation_member_item_request_builder.go | 23 +- ...team_definition_members_request_builder.go | 16 +- ...ition_permission_grants_request_builder.go | 9 +- ...primary_channel_archive_request_builder.go | 2 +- ...nnel_complete_migration_request_builder.go | 2 +- ...ame_user_principal_name_request_builder.go | 14 +- ...el_files_folder_content_request_builder.go | 3 - ...s_folder_content_stream_request_builder.go | 3 - ...ry_channel_files_folder_request_builder.go | 9 +- ...ary_channel_members_add_request_builder.go | 4 +- ...onversation_member_item_request_builder.go | 23 +- ...primary_channel_members_request_builder.go | 16 +- ...sages_chat_message_item_request_builder.go | 16 +- ..._channel_messages_delta_request_builder.go | 14 +- ...age_hosted_content_item_request_builder.go | 9 +- ...ents_item_value_content_request_builder.go | 3 - ...es_item_hosted_contents_request_builder.go | 9 +- ...plies_chat_message_item_request_builder.go | 9 +- ...ages_item_replies_delta_request_builder.go | 14 +- ...age_hosted_content_item_request_builder.go | 9 +- ...ents_item_value_content_request_builder.go | 3 - ...es_item_hosted_contents_request_builder.go | 9 +- ...eplies_item_soft_delete_request_builder.go | 2 +- ...s_item_undo_soft_delete_request_builder.go | 2 +- ...l_messages_item_replies_request_builder.go | 16 +- ...ssages_item_soft_delete_request_builder.go | 2 +- ...s_item_undo_soft_delete_request_builder.go | 2 +- ...rimary_channel_messages_request_builder.go | 16 +- ...channel_provision_email_request_builder.go | 2 +- ...ry_channel_remove_email_request_builder.go | 2 +- ...inition_primary_channel_request_builder.go | 9 +- ...ms_item_allowed_members_request_builder.go | 9 +- ...annel_shared_with_teams_request_builder.go | 9 +- ..._channel_team_info_item_request_builder.go | 16 +- ...on_primary_channel_tabs_request_builder.go | 9 +- ...imary_channel_unarchive_request_builder.go | 2 +- ...ns_item_team_definition_request_builder.go | 9 +- ...day_notes_day_note_item_request_builder.go | 7 +- ...ffer_shift_request_item_request_builder.go | 9 +- ...le_offer_shift_requests_request_builder.go | 16 +- ...ift_change_request_item_request_builder.go | 9 +- ...n_shift_change_requests_request_builder.go | 16 +- ..._shifts_open_shift_item_request_builder.go | 23 +- ...on_schedule_open_shifts_request_builder.go | 16 +- ...eam_definition_schedule_request_builder.go | 9 +- ...edule_scheduling_groups_request_builder.go | 16 +- ...s_scheduling_group_item_request_builder.go | 23 +- ...finition_schedule_share_request_builder.go | 2 +- ...inition_schedule_shifts_request_builder.go | 10 +- ...edule_shifts_shift_item_request_builder.go | 23 +- ..._shifts_change_requests_request_builder.go | 16 +- ...fts_change_request_item_request_builder.go | 9 +- ...ule_time_cards_clock_in_request_builder.go | 2 +- ...me_cards_item_clock_out_request_builder.go | 2 +- ...time_cards_item_confirm_request_builder.go | 2 +- ...me_cards_item_end_break_request_builder.go | 2 +- ..._cards_item_start_break_request_builder.go | 2 +- ...ion_schedule_time_cards_request_builder.go | 16 +- ...me_cards_time_card_item_request_builder.go | 23 +- ...hedule_time_off_reasons_request_builder.go | 10 +- ...ns_time_off_reason_item_request_builder.go | 23 +- ...edule_time_off_requests_request_builder.go | 9 +- ...s_time_off_request_item_request_builder.go | 16 +- ...tion_schedule_times_off_request_builder.go | 16 +- ...times_off_time_off_item_request_builder.go | 23 +- ...d_activity_notification_request_builder.go | 2 +- ...ition_tags_item_members_request_builder.go | 16 +- ...eamwork_tag_member_item_request_builder.go | 16 +- ...em_team_definition_tags_request_builder.go | 16 +- ..._tags_teamwork_tag_item_request_builder.go | 23 +- ...am_definition_unarchive_request_builder.go | 2 +- ...plates_item_definitions_request_builder.go | 6 +- ...emplate_definition_item_request_builder.go | 9 +- teamwork/team_templates_request_builder.go | 9 +- .../teams_app_settings_request_builder.go | 16 +- teamwork/teamwork_request_builder.go | 2 +- .../workforce_integrations_request_builder.go | 16 +- ...kforce_integration_item_request_builder.go | 23 +- ...ted_admin_customer_item_request_builder.go | 9 +- ...vice_management_details_request_builder.go | 9 +- ...legated_admin_customers_request_builder.go | 9 +- ...admin_relationship_item_request_builder.go | 23 +- ..._access_assignment_item_request_builder.go | 23 +- ...item_access_assignments_request_builder.go | 16 +- ...tionship_operation_item_request_builder.go | 9 +- ...onships_item_operations_request_builder.go | 9 +- ...lationship_request_item_request_builder.go | 9 +- ...tionships_item_requests_request_builder.go | 16 +- ...ted_admin_relationships_request_builder.go | 16 +- ...n_name_with_domain_name_request_builder.go | 7 +- ...enant_id_with_tenant_id_request_builder.go | 7 +- ...ated_policy_compliances_request_builder.go | 9 +- ...events_audit_event_item_request_builder.go | 9 +- ...ed_tenants_audit_events_request_builder.go | 9 +- ...loud_pc_connection_item_request_builder.go | 9 +- ...ts_cloud_pc_connections_request_builder.go | 9 +- ...es_cloud_pc_device_item_request_builder.go | 9 +- ...enants_cloud_pc_devices_request_builder.go | 9 +- ...pc_overview_tenant_item_request_builder.go | 9 +- ...ants_cloud_pcs_overview_request_builder.go | 9 +- ...ss_policy_coverage_item_request_builder.go | 9 +- ...access_policy_coverages_request_builder.go | 9 +- ...istrations_summary_item_request_builder.go | 9 +- ...registrations_summaries_request_builder.go | 9 +- ...ting_state_summary_item_request_builder.go | 9 +- ...setting_state_summaries_request_builder.go | 9 +- ...e_compliance_trend_item_request_builder.go | 9 +- ...evice_compliance_trends_request_builder.go | 9 +- ..._device_compliance_item_request_builder.go | 9 +- ...aged_device_compliances_request_builder.go | 9 +- ..._deployment_status_item_request_builder.go | 9 +- ...ant_deployment_statuses_request_builder.go | 9 +- ...h_managed_tenants_apply_request_builder.go | 2 +- ..._management_action_item_request_builder.go | 9 +- ...ants_management_actions_request_builder.go | 9 +- ..._management_intent_item_request_builder.go | 9 +- ...ants_management_intents_request_builder.go | 9 +- ...anagement_template_item_request_builder.go | 9 +- ...ts_management_templates_request_builder.go | 9 +- ...anaged_tenants_my_roles_request_builder.go | 9 +- ...d_tenants_tenant_groups_request_builder.go | 9 +- ...roups_tenant_group_item_request_builder.go | 9 +- ...aged_tenants_assign_tag_request_builder.go | 2 +- ...ed_tenants_unassign_tag_request_builder.go | 2 +- ...ged_tenants_tenant_tags_request_builder.go | 16 +- ...nt_tags_tenant_tag_item_request_builder.go | 23 +- ..._customized_information_request_builder.go | 9 +- ...omized_information_item_request_builder.go | 16 +- ...ts_detailed_information_request_builder.go | 9 +- ...tailed_information_item_request_builder.go | 9 +- ...tenants_offboard_tenant_request_builder.go | 2 +- ...enant_onboarding_status_request_builder.go | 2 +- ...managed_tenants_tenants_request_builder.go | 9 +- ...nts_tenants_tenant_item_request_builder.go | 9 +- ...s_device_malware_states_request_builder.go | 9 +- ...vice_malware_state_item_request_builder.go | 9 +- ...ndows_protection_states_request_builder.go | 9 +- ...s_protection_state_item_request_builder.go | 9 +- ...ganization_join_request_request_builder.go | 16 +- ...lti_tenant_organization_request_builder.go | 28 +- ...rganization_member_item_request_builder.go | 16 +- ...nt_organization_tenants_request_builder.go | 16 +- .../groups_group_item_request_builder.go | 16 +- ...item_sets_item_children_request_builder.go | 16 +- ...tem_sets_item_relations_request_builder.go | 9 +- ...ps_item_sets_item_terms_request_builder.go | 6 +- ...ts_item_terms_term_item_request_builder.go | 23 +- termstore/groups_item_sets_request_builder.go | 9 +- termstore/groups_request_builder.go | 16 +- .../sets_item_children_request_builder.go | 16 +- ...roup_sets_item_children_request_builder.go | 16 +- ...oup_sets_item_relations_request_builder.go | 9 +- ...t_group_sets_item_terms_request_builder.go | 6 +- ...ts_item_terms_term_item_request_builder.go | 23 +- ..._item_parent_group_sets_request_builder.go | 9 +- .../sets_item_relations_request_builder.go | 9 +- termstore/sets_item_terms_request_builder.go | 6 +- ...ts_item_terms_term_item_request_builder.go | 23 +- termstore/sets_request_builder.go | 6 +- termstore/sets_set_item_request_builder.go | 23 +- termstore/term_store_request_builder.go | 4 +- ..._submission_policy_item_request_builder.go | 9 +- ...eat_submission_policies_request_builder.go | 9 +- ..._threat_submission_item_request_builder.go | 9 +- .../email_threats_request_builder.go | 16 +- ..._threat_submission_item_request_builder.go | 9 +- .../file_threats_request_builder.go | 9 +- .../url_threats_request_builder.go | 16 +- ..._threat_submission_item_request_builder.go | 9 +- ..._sets_item_generate_key_request_builder.go | 2 +- ...ets_item_get_active_key_request_builder.go | 7 +- ...item_upload_certificate_request_builder.go | 2 +- ...sets_item_upload_pkcs12_request_builder.go | 2 +- ...sets_item_upload_secret_request_builder.go | 2 +- trustframework/key_sets_request_builder.go | 16 +- ..._framework_key_set_item_request_builder.go | 23 +- ...cies_item_value_content_request_builder.go | 3 - trustframework/policies_request_builder.go | 9 +- ...t_framework_policy_item_request_builder.go | 7 +- users/delta_request_builder.go | 14 +- users/get_by_ids_request_builder.go | 4 +- .../get_user_owned_objects_request_builder.go | 2 +- ...ivity_history_item_item_request_builder.go | 7 +- ...ties_user_activity_item_request_builder.go | 7 +- ...m_agreement_acceptances_request_builder.go | 9 +- ...by_current_user_with_on_request_builder.go | 14 +- ...by_current_user_with_on_request_builder.go | 14 +- ...teps_approval_step_item_request_builder.go | 16 +- ...sts_item_approval_steps_request_builder.go | 9 +- ...m_user_consent_requests_request_builder.go | 9 +- ...er_consent_request_item_request_builder.go | 9 +- ...role_assigned_resources_request_builder.go | 9 +- ...pp_role_assignment_item_request_builder.go | 7 +- ...em_app_role_assignments_request_builder.go | 10 +- ...by_current_user_with_on_request_builder.go | 14 +- ...teps_approval_step_item_request_builder.go | 16 +- ...em_approvals_item_steps_request_builder.go | 9 +- users/item_assign_license_request_builder.go | 2 +- ...hentication_method_item_request_builder.go | 23 +- ...ntication_email_methods_request_builder.go | 16 +- ...hentication_method_item_request_builder.go | 16 +- ...ntication_fido2_methods_request_builder.go | 9 +- ...hentication_method_item_request_builder.go | 9 +- ...ods_item_reset_password_request_builder.go | 2 +- ..._authentication_methods_request_builder.go | 9 +- ...hentication_method_item_request_builder.go | 16 +- ...t_authenticator_methods_request_builder.go | 9 +- ..._running_operation_item_request_builder.go | 9 +- ...thentication_operations_request_builder.go | 6 +- ...hentication_method_item_request_builder.go | 9 +- ...cation_password_methods_request_builder.go | 9 +- ...hentication_method_item_request_builder.go | 16 +- ...t_authenticator_methods_request_builder.go | 9 +- ...hentication_method_item_request_builder.go | 23 +- ...ntication_phone_methods_request_builder.go | 16 +- ...hentication_method_item_request_builder.go | 16 +- ...form_credential_methods_request_builder.go | 9 +- ...n_software_oath_methods_request_builder.go | 9 +- ...hentication_method_item_request_builder.go | 16 +- ...ary_access_pass_methods_request_builder.go | 16 +- ...hentication_method_item_request_builder.go | 16 +- ...lo_for_business_methods_request_builder.go | 9 +- ...hentication_method_item_request_builder.go | 16 +- ...alendar_permission_item_request_builder.go | 23 +- ...ar_calendar_permissions_request_builder.go | 13 +- ...dar_calendar_view_delta_request_builder.go | 4 +- ...lendar_view_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ...r_view_item_attachments_request_builder.go | 16 +- ...lendar_view_item_cancel_request_builder.go | 2 +- ...endar_view_item_decline_request_builder.go | 2 +- ...w_item_dismiss_reminder_request_builder.go | 2 +- ...ption_occurrences_delta_request_builder.go | 4 +- ...occurrences_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ...rences_item_attachments_request_builder.go | 16 +- ...occurrences_item_cancel_request_builder.go | 2 +- ...ccurrences_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 9 +- ...rrences_item_extensions_request_builder.go | 13 +- ...ccurrences_item_forward_request_builder.go | 2 +- ...es_item_instances_delta_request_builder.go | 4 +- ...m_instances_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ...tances_item_attachments_request_builder.go | 16 +- ...m_instances_item_cancel_request_builder.go | 2 +- ..._instances_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 9 +- ...stances_item_extensions_request_builder.go | 13 +- ..._instances_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...urrences_item_instances_request_builder.go | 3 - ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 9 +- ...ar_view_item_extensions_request_builder.go | 13 +- ...endar_view_item_forward_request_builder.go | 2 +- ...ew_item_instances_delta_request_builder.go | 4 +- ...m_instances_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ...tances_item_attachments_request_builder.go | 16 +- ...m_instances_item_cancel_request_builder.go | 2 +- ..._instances_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...ption_occurrences_delta_request_builder.go | 4 +- ...occurrences_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ...rences_item_attachments_request_builder.go | 16 +- ...occurrences_item_cancel_request_builder.go | 2 +- ...ccurrences_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 9 +- ...rrences_item_extensions_request_builder.go | 13 +- ...ccurrences_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 9 +- ...stances_item_extensions_request_builder.go | 13 +- ..._instances_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...dar_view_item_instances_request_builder.go | 3 - ...ew_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ..._calendar_calendar_view_request_builder.go | 3 - ...m_calendar_events_delta_request_builder.go | 4 +- ...ndar_events_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ...events_item_attachments_request_builder.go | 16 +- ...ndar_events_item_cancel_request_builder.go | 2 +- ...dar_events_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...ption_occurrences_delta_request_builder.go | 4 +- ...occurrences_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ...rences_item_attachments_request_builder.go | 16 +- ...occurrences_item_cancel_request_builder.go | 2 +- ...ccurrences_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 9 +- ...rrences_item_extensions_request_builder.go | 13 +- ...ccurrences_item_forward_request_builder.go | 2 +- ...es_item_instances_delta_request_builder.go | 4 +- ...m_instances_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ...tances_item_attachments_request_builder.go | 16 +- ...m_instances_item_cancel_request_builder.go | 2 +- ..._instances_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 9 +- ...stances_item_extensions_request_builder.go | 13 +- ..._instances_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...urrences_item_instances_request_builder.go | 3 - ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 9 +- ..._events_item_extensions_request_builder.go | 13 +- ...dar_events_item_forward_request_builder.go | 2 +- ...ts_item_instances_delta_request_builder.go | 4 +- ...m_instances_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ...tances_item_attachments_request_builder.go | 16 +- ...m_instances_item_cancel_request_builder.go | 2 +- ..._instances_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...ption_occurrences_delta_request_builder.go | 4 +- ...occurrences_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ...rences_item_attachments_request_builder.go | 16 +- ...occurrences_item_cancel_request_builder.go | 2 +- ...ccurrences_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 9 +- ...rrences_item_extensions_request_builder.go | 13 +- ...ccurrences_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 9 +- ...stances_item_extensions_request_builder.go | 13 +- ..._instances_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...r_events_item_instances_request_builder.go | 3 - ...ts_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- users/item_calendar_events_request_builder.go | 16 +- ...m_calendar_get_schedule_request_builder.go | 4 +- ...ups_calendar_group_item_request_builder.go | 23 +- ...alendar_permission_item_request_builder.go | 23 +- ...em_calendar_permissions_request_builder.go | 13 +- ...tem_calendar_view_delta_request_builder.go | 4 +- ...lendar_view_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ...r_view_item_attachments_request_builder.go | 16 +- ...lendar_view_item_cancel_request_builder.go | 2 +- ...endar_view_item_decline_request_builder.go | 2 +- ...w_item_dismiss_reminder_request_builder.go | 2 +- ...ption_occurrences_delta_request_builder.go | 4 +- ...occurrences_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ...rences_item_attachments_request_builder.go | 16 +- ...occurrences_item_cancel_request_builder.go | 2 +- ...ccurrences_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 9 +- ...rrences_item_extensions_request_builder.go | 13 +- ...ccurrences_item_forward_request_builder.go | 2 +- ...es_item_instances_delta_request_builder.go | 4 +- ...m_instances_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ...tances_item_attachments_request_builder.go | 16 +- ...m_instances_item_cancel_request_builder.go | 2 +- ..._instances_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 9 +- ...stances_item_extensions_request_builder.go | 13 +- ..._instances_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...urrences_item_instances_request_builder.go | 3 - ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 9 +- ...ar_view_item_extensions_request_builder.go | 13 +- ...endar_view_item_forward_request_builder.go | 2 +- ...ew_item_instances_delta_request_builder.go | 4 +- ...m_instances_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ...tances_item_attachments_request_builder.go | 16 +- ...m_instances_item_cancel_request_builder.go | 2 +- ..._instances_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...ption_occurrences_delta_request_builder.go | 4 +- ...occurrences_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ...rences_item_attachments_request_builder.go | 16 +- ...occurrences_item_cancel_request_builder.go | 2 +- ...ccurrences_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 9 +- ...rrences_item_extensions_request_builder.go | 13 +- ...ccurrences_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 9 +- ...stances_item_extensions_request_builder.go | 13 +- ..._instances_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...dar_view_item_instances_request_builder.go | 3 - ...ew_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...dars_item_calendar_view_request_builder.go | 3 - ...ndars_item_events_delta_request_builder.go | 4 +- ...item_events_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ...events_item_attachments_request_builder.go | 16 +- ...item_events_item_cancel_request_builder.go | 2 +- ...tem_events_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...ption_occurrences_delta_request_builder.go | 4 +- ...occurrences_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ...rences_item_attachments_request_builder.go | 16 +- ...occurrences_item_cancel_request_builder.go | 2 +- ...ccurrences_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 9 +- ...rrences_item_extensions_request_builder.go | 13 +- ...ccurrences_item_forward_request_builder.go | 2 +- ...es_item_instances_delta_request_builder.go | 4 +- ...m_instances_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ...tances_item_attachments_request_builder.go | 16 +- ...m_instances_item_cancel_request_builder.go | 2 +- ..._instances_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 9 +- ...stances_item_extensions_request_builder.go | 13 +- ..._instances_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...urrences_item_instances_request_builder.go | 3 - ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 9 +- ..._events_item_extensions_request_builder.go | 13 +- ...tem_events_item_forward_request_builder.go | 2 +- ...ts_item_instances_delta_request_builder.go | 4 +- ...m_instances_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ...tances_item_attachments_request_builder.go | 16 +- ...m_instances_item_cancel_request_builder.go | 2 +- ..._instances_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...ption_occurrences_delta_request_builder.go | 4 +- ...occurrences_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ...rences_item_attachments_request_builder.go | 16 +- ...occurrences_item_cancel_request_builder.go | 2 +- ...ccurrences_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 9 +- ...rrences_item_extensions_request_builder.go | 13 +- ...ccurrences_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 9 +- ...stances_item_extensions_request_builder.go | 13 +- ..._instances_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...m_events_item_instances_request_builder.go | 3 - ...ts_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...m_calendars_item_events_request_builder.go | 16 +- ...ndars_item_get_schedule_request_builder.go | 4 +- ...r_groups_item_calendars_request_builder.go | 16 +- users/item_calendar_groups_request_builder.go | 16 +- users/item_calendar_request_builder.go | 53 +--- ...tem_calendar_view_delta_request_builder.go | 4 +- ...lendar_view_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ...r_view_item_attachments_request_builder.go | 16 +- ...lendar_view_item_cancel_request_builder.go | 2 +- ...endar_view_item_decline_request_builder.go | 2 +- ...w_item_dismiss_reminder_request_builder.go | 2 +- ...ption_occurrences_delta_request_builder.go | 4 +- ...occurrences_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ...rences_item_attachments_request_builder.go | 16 +- ...occurrences_item_cancel_request_builder.go | 2 +- ...ccurrences_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 9 +- ...rrences_item_extensions_request_builder.go | 13 +- ...ccurrences_item_forward_request_builder.go | 2 +- ...es_item_instances_delta_request_builder.go | 4 +- ...m_instances_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ...tances_item_attachments_request_builder.go | 16 +- ...m_instances_item_cancel_request_builder.go | 2 +- ..._instances_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 9 +- ...stances_item_extensions_request_builder.go | 13 +- ..._instances_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...urrences_item_instances_request_builder.go | 3 - ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 9 +- ...ar_view_item_extensions_request_builder.go | 13 +- ...endar_view_item_forward_request_builder.go | 2 +- ...ew_item_instances_delta_request_builder.go | 4 +- ...m_instances_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ...tances_item_attachments_request_builder.go | 16 +- ...m_instances_item_cancel_request_builder.go | 2 +- ..._instances_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...ption_occurrences_delta_request_builder.go | 4 +- ...occurrences_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ...rences_item_attachments_request_builder.go | 16 +- ...occurrences_item_cancel_request_builder.go | 2 +- ...ccurrences_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 9 +- ...rrences_item_extensions_request_builder.go | 13 +- ...ccurrences_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 9 +- ...stances_item_extensions_request_builder.go | 13 +- ..._instances_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...dar_view_item_instances_request_builder.go | 3 - ...ew_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- users/item_calendar_view_request_builder.go | 3 - ...alendar_permission_item_request_builder.go | 23 +- ...em_calendar_permissions_request_builder.go | 13 +- ...tem_calendar_view_delta_request_builder.go | 4 +- ...lendar_view_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ...r_view_item_attachments_request_builder.go | 16 +- ...lendar_view_item_cancel_request_builder.go | 2 +- ...endar_view_item_decline_request_builder.go | 2 +- ...w_item_dismiss_reminder_request_builder.go | 2 +- ...ption_occurrences_delta_request_builder.go | 4 +- ...occurrences_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ...rences_item_attachments_request_builder.go | 16 +- ...occurrences_item_cancel_request_builder.go | 2 +- ...ccurrences_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 9 +- ...rrences_item_extensions_request_builder.go | 13 +- ...ccurrences_item_forward_request_builder.go | 2 +- ...es_item_instances_delta_request_builder.go | 4 +- ...m_instances_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ...tances_item_attachments_request_builder.go | 16 +- ...m_instances_item_cancel_request_builder.go | 2 +- ..._instances_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 9 +- ...stances_item_extensions_request_builder.go | 13 +- ..._instances_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...urrences_item_instances_request_builder.go | 3 - ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 9 +- ...ar_view_item_extensions_request_builder.go | 13 +- ...endar_view_item_forward_request_builder.go | 2 +- ...ew_item_instances_delta_request_builder.go | 4 +- ...m_instances_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ...tances_item_attachments_request_builder.go | 16 +- ...m_instances_item_cancel_request_builder.go | 2 +- ..._instances_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...ption_occurrences_delta_request_builder.go | 4 +- ...occurrences_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ...rences_item_attachments_request_builder.go | 16 +- ...occurrences_item_cancel_request_builder.go | 2 +- ...ccurrences_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 9 +- ...rrences_item_extensions_request_builder.go | 13 +- ...ccurrences_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 9 +- ...stances_item_extensions_request_builder.go | 13 +- ..._instances_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...dar_view_item_instances_request_builder.go | 3 - ...ew_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...dars_item_calendar_view_request_builder.go | 3 - ...ndars_item_events_delta_request_builder.go | 4 +- ...item_events_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ...events_item_attachments_request_builder.go | 16 +- ...item_events_item_cancel_request_builder.go | 2 +- ...tem_events_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...ption_occurrences_delta_request_builder.go | 4 +- ...occurrences_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ...rences_item_attachments_request_builder.go | 16 +- ...occurrences_item_cancel_request_builder.go | 2 +- ...ccurrences_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 9 +- ...rrences_item_extensions_request_builder.go | 13 +- ...ccurrences_item_forward_request_builder.go | 2 +- ...es_item_instances_delta_request_builder.go | 4 +- ...m_instances_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ...tances_item_attachments_request_builder.go | 16 +- ...m_instances_item_cancel_request_builder.go | 2 +- ..._instances_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 9 +- ...stances_item_extensions_request_builder.go | 13 +- ..._instances_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...urrences_item_instances_request_builder.go | 3 - ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 9 +- ..._events_item_extensions_request_builder.go | 13 +- ...tem_events_item_forward_request_builder.go | 2 +- ...ts_item_instances_delta_request_builder.go | 4 +- ...m_instances_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ...tances_item_attachments_request_builder.go | 16 +- ...m_instances_item_cancel_request_builder.go | 2 +- ..._instances_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...ption_occurrences_delta_request_builder.go | 4 +- ...occurrences_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ...rences_item_attachments_request_builder.go | 16 +- ...occurrences_item_cancel_request_builder.go | 2 +- ...ccurrences_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 9 +- ...rrences_item_extensions_request_builder.go | 13 +- ...ccurrences_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 9 +- ...stances_item_extensions_request_builder.go | 13 +- ..._instances_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...m_events_item_instances_request_builder.go | 3 - ...ts_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...m_calendars_item_events_request_builder.go | 16 +- ...ndars_item_get_schedule_request_builder.go | 4 +- users/item_calendars_request_builder.go | 16 +- users/item_change_password_request_builder.go | 2 +- users/item_chats_chat_item_request_builder.go | 9 +- ...t_all_retained_messages_request_builder.go | 14 +- ...hats_item_hide_for_user_request_builder.go | 2 +- ...alled_apps_item_upgrade_request_builder.go | 2 +- ...ats_item_installed_apps_request_builder.go | 16 +- ...s_app_installation_item_request_builder.go | 16 +- ...mark_chat_read_for_user_request_builder.go | 2 +- ...rk_chat_unread_for_user_request_builder.go | 2 +- ..._chats_item_members_add_request_builder.go | 4 +- ...onversation_member_item_request_builder.go | 16 +- ...item_chats_item_members_request_builder.go | 16 +- ...sages_chat_message_item_request_builder.go | 9 +- ...ats_item_messages_delta_request_builder.go | 14 +- ...age_hosted_content_item_request_builder.go | 9 +- ...ents_item_value_content_request_builder.go | 3 - ...es_item_hosted_contents_request_builder.go | 9 +- ...plies_chat_message_item_request_builder.go | 9 +- ...ages_item_replies_delta_request_builder.go | 14 +- ...age_hosted_content_item_request_builder.go | 9 +- ...ents_item_value_content_request_builder.go | 3 - ...es_item_hosted_contents_request_builder.go | 9 +- ...eplies_item_soft_delete_request_builder.go | 2 +- ...s_item_undo_soft_delete_request_builder.go | 2 +- ...m_messages_item_replies_request_builder.go | 16 +- ...ssages_item_soft_delete_request_builder.go | 2 +- ...s_item_undo_soft_delete_request_builder.go | 2 +- ...tem_chats_item_messages_request_builder.go | 16 +- ...m_chats_item_operations_request_builder.go | 9 +- ...ms_async_operation_item_request_builder.go | 9 +- ..._item_permission_grants_request_builder.go | 9 +- ..._chat_message_info_item_request_builder.go | 7 +- ...ts_item_pinned_messages_request_builder.go | 16 +- ...ove_all_access_for_user_request_builder.go | 2 +- ...d_activity_notification_request_builder.go | 2 +- users/item_chats_item_tabs_request_builder.go | 16 +- ...tem_tabs_teams_tab_item_request_builder.go | 23 +- ...ts_item_unhide_for_user_request_builder.go | 2 +- users/item_chats_request_builder.go | 9 +- ...tem_check_member_groups_request_builder.go | 4 +- ...m_cloud_clipboard_items_request_builder.go | 9 +- ..._cloud_p_cs_bulk_resize_request_builder.go | 4 +- ...oud_p_cs_cloud_p_c_item_request_builder.go | 9 +- ...id_with_service_plan_id_request_builder.go | 14 +- ...hange_user_account_type_request_builder.go | 2 +- ...s_item_end_grace_period_request_builder.go | 2 +- ...pc_connectivity_history_request_builder.go | 14 +- ...et_cloud_pc_launch_info_request_builder.go | 7 +- ...e_cloud_pc_access_state_request_builder.go | 7 +- ...k_cloud_pc_access_state_request_builder.go | 7 +- ...cloud_pc_remote_actions_request_builder.go | 14 +- ...oud_p_cs_item_power_off_request_builder.go | 2 +- ...loud_p_cs_item_power_on_request_builder.go | 2 +- ..._cloud_p_cs_item_reboot_request_builder.go | 2 +- ..._cloud_p_cs_item_rename_request_builder.go | 2 +- ...d_p_cs_item_reprovision_request_builder.go | 2 +- ...cloud_p_cs_item_restore_request_builder.go | 2 +- ...tner_agent_installation_request_builder.go | 2 +- ...m_cloud_p_cs_item_start_request_builder.go | 2 +- ...em_cloud_p_cs_item_stop_request_builder.go | 2 +- ..._p_cs_item_troubleshoot_request_builder.go | 2 +- users/item_cloud_p_cs_request_builder.go | 9 +- ...cs_validate_bulk_resize_request_builder.go | 4 +- ...ers_contact_folder_item_request_builder.go | 23 +- ...m_contact_folders_delta_request_builder.go | 4 +- ...tem_child_folders_delta_request_builder.go | 4 +- ...ers_item_contacts_delta_request_builder.go | 4 +- ...d_folders_item_contacts_request_builder.go | 16 +- ...ders_item_child_folders_request_builder.go | 16 +- ...ers_item_contacts_delta_request_builder.go | 4 +- ...t_folders_item_contacts_request_builder.go | 16 +- users/item_contact_folders_request_builder.go | 16 +- ...m_contacts_contact_item_request_builder.go | 23 +- users/item_contacts_delta_request_builder.go | 4 +- users/item_contacts_request_builder.go | 16 +- ...to_internal_member_user_request_builder.go | 2 +- users/item_created_objects_request_builder.go | 9 +- ...gle_sign_on_credentials_request_builder.go | 2 +- users/item_devices_delta_request_builder.go | 14 +- ..._devices_item_member_of_request_builder.go | 3 - ...istered_owners_item_ref_request_builder.go | 7 +- ...m_registered_owners_ref_request_builder.go | 19 +- ..._item_registered_owners_request_builder.go | 3 - ...gistered_users_item_ref_request_builder.go | 7 +- ...em_registered_users_ref_request_builder.go | 19 +- ...s_item_registered_users_request_builder.go | 3 - ...em_transitive_member_of_request_builder.go | 3 - ...vices_item_usage_rights_request_builder.go | 9 +- users/item_direct_reports_request_builder.go | 3 - users/item_drive_request_builder.go | 9 +- users/item_drives_request_builder.go | 9 +- ...ng_course_activity_item_request_builder.go | 9 +- ...rning_course_activities_request_builder.go | 9 +- ...ernalcourse_activity_id_request_builder.go | 9 +- users/item_events_delta_request_builder.go | 4 +- .../item_events_event_item_request_builder.go | 23 +- ...item_events_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ...events_item_attachments_request_builder.go | 16 +- ...item_events_item_cancel_request_builder.go | 2 +- ...tem_events_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...ption_occurrences_delta_request_builder.go | 4 +- ...occurrences_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ...rences_item_attachments_request_builder.go | 16 +- ...occurrences_item_cancel_request_builder.go | 2 +- ...ccurrences_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 9 +- ...rrences_item_extensions_request_builder.go | 13 +- ...ccurrences_item_forward_request_builder.go | 2 +- ...es_item_instances_delta_request_builder.go | 4 +- ...m_instances_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ...tances_item_attachments_request_builder.go | 16 +- ...m_instances_item_cancel_request_builder.go | 2 +- ..._instances_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 9 +- ...stances_item_extensions_request_builder.go | 13 +- ..._instances_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...urrences_item_instances_request_builder.go | 3 - ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 9 +- ..._events_item_extensions_request_builder.go | 13 +- ...tem_events_item_forward_request_builder.go | 2 +- ...ts_item_instances_delta_request_builder.go | 4 +- ...m_instances_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ...tances_item_attachments_request_builder.go | 16 +- ...m_instances_item_cancel_request_builder.go | 2 +- ..._instances_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...ption_occurrences_delta_request_builder.go | 4 +- ...occurrences_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ...rences_item_attachments_request_builder.go | 16 +- ...occurrences_item_cancel_request_builder.go | 2 +- ...ccurrences_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 9 +- ...rrences_item_extensions_request_builder.go | 13 +- ...ccurrences_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 9 +- ...stances_item_extensions_request_builder.go | 13 +- ..._instances_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...m_events_item_instances_request_builder.go | 3 - ...ts_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- users/item_events_request_builder.go | 16 +- ...em_export_personal_data_request_builder.go | 6 +- ...item_find_meeting_times_request_builder.go | 2 +- users/item_find_room_lists_request_builder.go | 4 +- ...item_followed_sites_add_request_builder.go | 4 +- ...m_followed_sites_remove_request_builder.go | 4 +- users/item_followed_sites_request_builder.go | 9 +- users/item_get_mail_tips_request_builder.go | 4 +- .../item_get_member_groups_request_builder.go | 4 +- ...gle_sign_on_credentials_request_builder.go | 4 +- ...ification_override_item_request_builder.go | 14 +- ...lassification_overrides_request_builder.go | 16 +- ...ocker_recovery_key_item_request_builder.go | 9 +- ...bitlocker_recovery_keys_request_builder.go | 9 +- ...ls_evaluate_application_request_builder.go | 4 +- ..._classification_results_request_builder.go | 4 +- ...labels_evaluate_removal_request_builder.go | 4 +- ...cy_labels_extract_label_request_builder.go | 2 +- ...n_protection_label_item_request_builder.go | 9 +- ...rotection_policy_labels_request_builder.go | 9 +- ...eat_assessment_requests_request_builder.go | 16 +- ...assessment_request_item_request_builder.go | 9 +- ...date_all_refresh_tokens_request_builder.go | 4 +- ...tem_joined_groups_delta_request_builder.go | 14 +- ...uate_dynamic_membership_request_builder.go | 2 +- users/item_joined_teams_request_builder.go | 9 +- ...teams_licensing_details_request_builder.go | 7 +- users/item_license_details_request_builder.go | 9 +- ...item_mail_folders_delta_request_builder.go | 4 +- ...tem_child_folders_delta_request_builder.go | 4 +- ...child_folders_item_copy_request_builder.go | 2 +- ...rules_message_rule_item_request_builder.go | 23 +- ...ders_item_message_rules_request_builder.go | 16 +- ...ers_item_messages_delta_request_builder.go | 4 +- ...chments_attachment_item_request_builder.go | 9 +- ...s_create_upload_session_request_builder.go | 2 +- ...ssages_item_attachments_request_builder.go | 16 +- ...item_messages_item_copy_request_builder.go | 2 +- ...ges_item_create_forward_request_builder.go | 2 +- ...s_item_create_reply_all_request_builder.go | 2 +- ...sages_item_create_reply_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 16 +- ...essages_item_extensions_request_builder.go | 13 +- ...m_messages_item_forward_request_builder.go | 2 +- ...sages_item_mark_as_junk_request_builder.go | 2 +- ...s_item_mark_as_not_junk_request_builder.go | 2 +- ...m_mentions_mention_item_request_builder.go | 7 +- ...item_messages_item_move_request_builder.go | 2 +- ...messages_item_reply_all_request_builder.go | 2 +- ...tem_messages_item_reply_request_builder.go | 2 +- ...item_messages_item_send_request_builder.go | 2 +- ...ssages_item_unsubscribe_request_builder.go | 2 +- ...ages_item_value_content_request_builder.go | 3 - ...d_folders_item_messages_request_builder.go | 16 +- ...child_folders_item_move_request_builder.go | 2 +- ...ders_item_child_folders_request_builder.go | 10 +- ..._mail_folders_item_copy_request_builder.go | 2 +- ...rules_message_rule_item_request_builder.go | 23 +- ...ders_item_message_rules_request_builder.go | 16 +- ...ers_item_messages_delta_request_builder.go | 4 +- ...chments_attachment_item_request_builder.go | 9 +- ...s_create_upload_session_request_builder.go | 2 +- ...ssages_item_attachments_request_builder.go | 16 +- ...item_messages_item_copy_request_builder.go | 2 +- ...ges_item_create_forward_request_builder.go | 2 +- ...s_item_create_reply_all_request_builder.go | 2 +- ...sages_item_create_reply_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 16 +- ...essages_item_extensions_request_builder.go | 13 +- ...m_messages_item_forward_request_builder.go | 2 +- ...sages_item_mark_as_junk_request_builder.go | 2 +- ...s_item_mark_as_not_junk_request_builder.go | 2 +- ...m_mentions_mention_item_request_builder.go | 7 +- ...item_messages_item_move_request_builder.go | 2 +- ...messages_item_reply_all_request_builder.go | 2 +- ...tem_messages_item_reply_request_builder.go | 2 +- ...item_messages_item_send_request_builder.go | 2 +- ...ssages_item_unsubscribe_request_builder.go | 2 +- ...ages_item_value_content_request_builder.go | 3 - ...l_folders_item_messages_request_builder.go | 16 +- ..._mail_folders_item_move_request_builder.go | 2 +- ...olders_mail_folder_item_request_builder.go | 17 +- users/item_mail_folders_request_builder.go | 10 +- ...lk_reprovision_cloud_pc_request_builder.go | 2 +- ...s_bulk_restore_cloud_pc_request_builder.go | 2 +- ..._cloud_pc_review_status_request_builder.go | 2 +- ...c_remote_action_results_request_builder.go | 14 +- ..._cloud_pc_review_status_request_builder.go | 7 +- ...em_reprovision_cloud_pc_request_builder.go | 2 +- ...es_item_resize_cloud_pc_request_builder.go | 2 +- ...s_item_restore_cloud_pc_request_builder.go | 2 +- ..._cloud_pc_review_status_request_builder.go | 2 +- users/item_manager_ref_request_builder.go | 21 +- users/item_manager_request_builder.go | 9 +- users/item_member_of_request_builder.go | 3 - users/item_messages_delta_request_builder.go | 4 +- ...chments_attachment_item_request_builder.go | 9 +- ...s_create_upload_session_request_builder.go | 2 +- ...ssages_item_attachments_request_builder.go | 16 +- ...item_messages_item_copy_request_builder.go | 2 +- ...ges_item_create_forward_request_builder.go | 2 +- ...s_item_create_reply_all_request_builder.go | 2 +- ...sages_item_create_reply_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 16 +- ...essages_item_extensions_request_builder.go | 13 +- ...m_messages_item_forward_request_builder.go | 2 +- ...sages_item_mark_as_junk_request_builder.go | 2 +- ...s_item_mark_as_not_junk_request_builder.go | 2 +- ...m_mentions_mention_item_request_builder.go | 7 +- ...item_messages_item_move_request_builder.go | 2 +- ...messages_item_reply_all_request_builder.go | 2 +- ...tem_messages_item_reply_request_builder.go | 2 +- ...item_messages_item_send_request_builder.go | 2 +- ...ssages_item_unsubscribe_request_builder.go | 2 +- ...ages_item_value_content_request_builder.go | 3 - ...m_messages_message_item_request_builder.go | 17 +- users/item_messages_request_builder.go | 10 +- ...collection_request_item_request_builder.go | 6 +- ...log_collection_requests_request_builder.go | 6 +- ...auth2_permission_grants_request_builder.go | 9 +- ...t_notebook_from_web_url_request_builder.go | 2 +- ...lude_personal_notebooks_request_builder.go | 14 +- ...ooks_item_copy_notebook_request_builder.go | 2 +- ...ups_item_section_groups_request_builder.go | 9 +- ...s_item_copy_to_notebook_request_builder.go | 2 +- ...m_copy_to_section_group_request_builder.go | 2 +- ...es_item_copy_to_section_request_builder.go | 2 +- ...on_groups_item_sections_request_builder.go | 16 +- ...oks_item_section_groups_request_builder.go | 16 +- ...s_item_copy_to_notebook_request_builder.go | 2 +- ...m_copy_to_section_group_request_builder.go | 2 +- ...es_item_copy_to_section_request_builder.go | 2 +- ...notebooks_item_sections_request_builder.go | 16 +- ...notebooks_notebook_item_request_builder.go | 9 +- .../item_onenote_notebooks_request_builder.go | 16 +- ..._onenote_operation_item_request_builder.go | 9 +- ...item_onenote_operations_request_builder.go | 6 +- ...es_item_copy_to_section_request_builder.go | 2 +- ...pages_onenote_page_item_request_builder.go | 7 +- ...ups_item_section_groups_request_builder.go | 9 +- ...s_item_copy_to_notebook_request_builder.go | 2 +- ...m_copy_to_section_group_request_builder.go | 2 +- ...es_item_copy_to_section_request_builder.go | 2 +- ...on_groups_item_sections_request_builder.go | 16 +- ..._onenote_section_groups_request_builder.go | 9 +- ...oups_section_group_item_request_builder.go | 9 +- ...s_item_copy_to_notebook_request_builder.go | 2 +- ...m_copy_to_section_group_request_builder.go | 2 +- ...es_item_copy_to_section_request_builder.go | 2 +- ...ns_onenote_section_item_request_builder.go | 9 +- .../item_onenote_sections_request_builder.go | 9 +- ..._meetings_create_or_get_request_builder.go | 2 +- ...ngs_get_all_transcripts_request_builder.go | 14 +- ...m_alternative_recording_request_builder.go | 3 - ...item_attendance_records_request_builder.go | 9 +- ...gs_item_attendee_report_request_builder.go | 3 - ...tem_broadcast_recording_request_builder.go | 3 - ...ppointment_join_web_url_request_builder.go | 12 +- ...port_attendance_records_request_builder.go | 9 +- ...eting_attendance_report_request_builder.go | 9 +- ...meetings_item_recording_request_builder.go | 3 - ...ngs_call_recording_item_request_builder.go | 9 +- ...eetings_item_recordings_request_builder.go | 6 +- ...istration_question_item_request_builder.go | 23 +- ...ration_custom_questions_request_builder.go | 16 +- ...tings_item_registration_request_builder.go | 23 +- ...ppointment_reminder_sms_request_builder.go | 2 +- ...virtual_appointment_sms_request_builder.go | 2 +- ...ts_call_transcript_item_request_builder.go | 9 +- ...ranscripts_item_content_request_builder.go | 3 - ...s_item_metadata_content_request_builder.go | 3 - ...etings_item_transcripts_request_builder.go | 9 +- ...ngs_online_meeting_item_request_builder.go | 14 +- users/item_online_meetings_request_builder.go | 16 +- ...ppointment_join_web_url_request_builder.go | 12 +- ...tings_with_join_web_url_request_builder.go | 14 +- ...ppointment_reminder_sms_request_builder.go | 2 +- ...virtual_appointment_sms_request_builder.go | 2 +- ...s_outlook_category_item_request_builder.go | 23 +- ...tlook_master_categories_request_builder.go | 16 +- ...ook_supported_languages_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ..._tasks_item_attachments_request_builder.go | 16 +- ...tem_tasks_item_complete_request_builder.go | 4 +- ...task_folders_item_tasks_request_builder.go | 16 +- ...utlook_task_folder_item_request_builder.go | 23 +- ...em_outlook_task_folders_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ..._tasks_item_attachments_request_builder.go | 16 +- ...tem_tasks_item_complete_request_builder.go | 4 +- ...task_folders_item_tasks_request_builder.go | 16 +- ...roups_item_task_folders_request_builder.go | 16 +- ...outlook_task_group_item_request_builder.go | 9 +- ...tem_outlook_task_groups_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ..._tasks_item_attachments_request_builder.go | 16 +- ...ook_tasks_item_complete_request_builder.go | 4 +- ...tasks_outlook_task_item_request_builder.go | 23 +- users/item_outlook_tasks_request_builder.go | 16 +- users/item_owned_devices_request_builder.go | 3 - users/item_owned_objects_request_builder.go | 3 - ...by_current_user_with_on_request_builder.go | 14 +- ..._accept_recommendations_request_builder.go | 2 +- ...es_item_apply_decisions_request_builder.go | 2 +- ..._batch_record_decisions_request_builder.go | 2 +- ...tem_contacted_reviewers_request_builder.go | 9 +- ...ance_decision_item_item_request_builder.go | 9 +- ...by_current_user_with_on_request_builder.go | 14 +- ..._accept_recommendations_request_builder.go | 2 +- ...nstance_apply_decisions_request_builder.go | 2 +- ..._batch_record_decisions_request_builder.go | 2 +- ...nce_contacted_reviewers_request_builder.go | 9 +- ...nstance_reset_decisions_request_builder.go | 2 +- ..._instance_send_reminder_request_builder.go | 2 +- ...ccess_review_stage_item_request_builder.go | 16 +- ...by_current_user_with_on_request_builder.go | 14 +- ...ance_decision_item_item_request_builder.go | 16 +- ...by_current_user_with_on_request_builder.go | 14 +- ...ns_record_all_decisions_request_builder.go | 2 +- ...e_stages_item_decisions_request_builder.go | 9 +- ...stance_stages_item_stop_request_builder.go | 2 +- ...ns_item_instance_stages_request_builder.go | 9 +- ...ions_item_instance_stop_request_builder.go | 2 +- ...ns_record_all_decisions_request_builder.go | 2 +- ...nstances_item_decisions_request_builder.go | 9 +- ...es_item_reset_decisions_request_builder.go | 2 +- ...nces_item_send_reminder_request_builder.go | 2 +- ...ccess_review_stage_item_request_builder.go | 16 +- ...by_current_user_with_on_request_builder.go | 14 +- ...ance_decision_item_item_request_builder.go | 16 +- ...by_current_user_with_on_request_builder.go | 14 +- ..._accept_recommendations_request_builder.go | 2 +- ...nstance_apply_decisions_request_builder.go | 2 +- ..._batch_record_decisions_request_builder.go | 2 +- ...nce_contacted_reviewers_request_builder.go | 9 +- ...ance_decision_item_item_request_builder.go | 9 +- ...by_current_user_with_on_request_builder.go | 14 +- ...ns_record_all_decisions_request_builder.go | 2 +- ...item_instance_decisions_request_builder.go | 9 +- ...nstance_reset_decisions_request_builder.go | 2 +- ..._instance_send_reminder_request_builder.go | 2 +- ...ions_item_instance_stop_request_builder.go | 2 +- ...ns_record_all_decisions_request_builder.go | 2 +- ...m_stages_item_decisions_request_builder.go | 9 +- ...s_item_stages_item_stop_request_builder.go | 2 +- ...w_instances_item_stages_request_builder.go | 9 +- ...iew_instances_item_stop_request_builder.go | 2 +- ...access_review_instances_request_builder.go | 9 +- users/item_people_request_builder.go | 9 +- .../item_permission_grants_request_builder.go | 9 +- .../item_planner_all_delta_request_builder.go | 14 +- ..._planner_favorite_plans_request_builder.go | 9 +- ...tem_planner_plans_delta_request_builder.go | 14 +- ...lans_item_buckets_delta_request_builder.go | 14 +- ...uckets_item_tasks_delta_request_builder.go | 14 +- ...ed_to_task_board_format_request_builder.go | 12 +- ...ucket_task_board_format_request_builder.go | 12 +- ...item_tasks_item_details_request_builder.go | 12 +- ...gress_task_board_format_request_builder.go | 12 +- ...item_buckets_item_tasks_request_builder.go | 9 +- ...nner_plans_item_buckets_request_builder.go | 9 +- ...nner_plans_item_details_request_builder.go | 12 +- ..._item_move_to_container_request_builder.go | 2 +- ..._plans_item_tasks_delta_request_builder.go | 14 +- ...ed_to_task_board_format_request_builder.go | 12 +- ...ucket_task_board_format_request_builder.go | 12 +- ...item_tasks_item_details_request_builder.go | 12 +- ...gress_task_board_format_request_builder.go | 12 +- ...lanner_plans_item_tasks_request_builder.go | 9 +- users/item_planner_plans_request_builder.go | 9 +- ...em_planner_recent_plans_request_builder.go | 9 +- users/item_planner_request_builder.go | 12 +- ...em_planner_roster_plans_request_builder.go | 9 +- ...tem_planner_tasks_delta_request_builder.go | 14 +- ...ed_to_task_board_format_request_builder.go | 12 +- ...ucket_task_board_format_request_builder.go | 12 +- ...nner_tasks_item_details_request_builder.go | 12 +- ...gress_task_board_format_request_builder.go | 12 +- users/item_planner_tasks_request_builder.go | 9 +- ...presence_clear_presence_request_builder.go | 2 +- ...user_preferred_presence_request_builder.go | 2 +- users/item_presence_request_builder.go | 9 +- ...m_presence_set_presence_request_builder.go | 2 +- ...ence_set_status_message_request_builder.go | 2 +- ...user_preferred_presence_request_builder.go | 2 +- users/item_profile_account_request_builder.go | 16 +- ...ccount_information_item_request_builder.go | 23 +- ...esses_item_address_item_request_builder.go | 23 +- .../item_profile_addresses_request_builder.go | 16 +- ...erson_annual_event_item_request_builder.go | 23 +- ...m_profile_anniversaries_request_builder.go | 16 +- ...wards_person_award_item_request_builder.go | 23 +- users/item_profile_awards_request_builder.go | 16 +- ...rson_certification_item_request_builder.go | 23 +- ..._profile_certifications_request_builder.go | 16 +- ...ucational_activity_item_request_builder.go | 23 +- ..._educational_activities_request_builder.go | 16 +- ..._emails_item_email_item_request_builder.go | 23 +- users/item_profile_emails_request_builder.go | 16 +- ...ts_person_interest_item_request_builder.go | 23 +- .../item_profile_interests_request_builder.go | 16 +- ...nguage_proficiency_item_request_builder.go | 23 +- .../item_profile_languages_request_builder.go | 16 +- ..._names_person_name_item_request_builder.go | 23 +- users/item_profile_names_request_builder.go | 16 +- ..._person_annotation_item_request_builder.go | 23 +- users/item_profile_notes_request_builder.go | 16 +- ...atents_item_patent_item_request_builder.go | 23 +- users/item_profile_patents_request_builder.go | 16 +- ..._phones_item_phone_item_request_builder.go | 23 +- users/item_profile_phones_request_builder.go | 16 +- .../item_profile_positions_request_builder.go | 16 +- ...ions_work_position_item_request_builder.go | 23 +- ...ject_participation_item_request_builder.go | 23 +- .../item_profile_projects_request_builder.go | 16 +- ...s_item_publication_item_request_builder.go | 23 +- ...em_profile_publications_request_builder.go | 16 +- users/item_profile_request_builder.go | 16 +- users/item_profile_skills_request_builder.go | 16 +- ..._skill_proficiency_item_request_builder.go | 23 +- ...em_profile_web_accounts_request_builder.go | 16 +- ...counts_web_account_item_request_builder.go | 23 +- ...tes_person_website_item_request_builder.go | 23 +- .../item_profile_websites_request_builder.go | 16 +- ...item_registered_devices_request_builder.go | 3 - ...time_with_end_date_time_request_builder.go | 14 +- ...cess_license_assignment_request_builder.go | 2 +- users/item_restore_request_builder.go | 2 +- ...ry_service_provisioning_request_builder.go | 2 +- ...revoke_sign_in_sessions_request_builder.go | 4 +- ...m_scoped_role_member_of_request_builder.go | 9 +- ...n_label_policy_settings_request_builder.go | 9 +- ...ty_evaluate_application_request_builder.go | 4 +- ..._classification_results_request_builder.go | 4 +- ...curity_evaluate_removal_request_builder.go | 4 +- ...y_extract_content_label_request_builder.go | 2 +- ...tion_sensitivity_labels_request_builder.go | 9 +- users/item_send_mail_request_builder.go | 2 +- ...ntact_merge_suggestions_request_builder.go | 16 +- ..._settings_item_insights_request_builder.go | 16 +- ...l_and_language_settings_request_builder.go | 16 +- ...tings_shift_preferences_request_builder.go | 16 +- ..._settings_storage_quota_request_builder.go | 9 +- ..._storage_quota_services_request_builder.go | 9 +- ..._windows_item_instances_request_builder.go | 9 +- ...s_setting_instance_item_request_builder.go | 9 +- .../item_settings_windows_request_builder.go | 9 +- ...ws_windows_setting_item_request_builder.go | 9 +- users/item_sponsors_request_builder.go | 9 +- ...amwork_associated_teams_request_builder.go | 9 +- ...nstalled_apps_item_chat_request_builder.go | 9 +- ...teamwork_installed_apps_request_builder.go | 16 +- ...s_app_installation_item_request_builder.go | 16 +- users/item_teamwork_request_builder.go | 9 +- ...d_activity_notification_request_builder.go | 2 +- ...ts_attachment_base_item_request_builder.go | 16 +- ...s_create_upload_session_request_builder.go | 2 +- ...ents_item_value_content_request_builder.go | 3 - ..._tasks_item_attachments_request_builder.go | 16 +- ...ems_checklist_item_item_request_builder.go | 23 +- ...ks_item_checklist_items_request_builder.go | 16 +- ...es_linked_resource_item_request_builder.go | 23 +- ...s_item_linked_resources_request_builder.go | 16 +- ...m_todo_lists_item_tasks_request_builder.go | 16 +- ...em_tasks_todo_task_item_request_builder.go | 23 +- users/item_todo_lists_request_builder.go | 16 +- ...sts_todo_task_list_item_request_builder.go | 23 +- ...em_transitive_member_of_request_builder.go | 3 - ..._translate_exchange_ids_request_builder.go | 4 +- users/item_usage_rights_request_builder.go | 9 +- users/user_item_request_builder.go | 6 +- users/users_request_builder.go | 4 +- users/validate_password_request_builder.go | 2 +- users/validate_properties_request_builder.go | 2 +- ...evices_ingest_telemetry_request_builder.go | 2 +- workplace/sensor_devices_request_builder.go | 16 +- ..._devices_with_device_id_request_builder.go | 23 +- ...lace_sensor_device_item_request_builder.go | 23 +- 4718 files changed, 15501 insertions(+), 25673 deletions(-) create mode 100644 models/admin_windows.go create mode 100644 models/apps_installation_options_for_windows.go diff --git a/accessreviews/access_review_item_request_builder.go b/accessreviews/access_review_item_request_builder.go index 04603ad6664..4c36b87f0bb 100644 --- a/accessreviews/access_review_item_request_builder.go +++ b/accessreviews/access_review_item_request_builder.go @@ -68,7 +68,7 @@ func (m *AccessReviewItemRequestBuilder) Decisions()(*ItemDecisionsRequestBuilde // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreview-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreview-delete?view=graph-rest-beta func (m *AccessReviewItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *AccessReviewItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -88,7 +88,7 @@ func (m *AccessReviewItemRequestBuilder) Delete(ctx context.Context, requestConf // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreview-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreview-get?view=graph-rest-beta func (m *AccessReviewItemRequestBuilder) Get(ctx context.Context, requestConfiguration *AccessReviewItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -121,7 +121,7 @@ func (m *AccessReviewItemRequestBuilder) MyDecisions()(*ItemMyDecisionsRequestBu // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreview-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreview-update?view=graph-rest-beta func (m *AccessReviewItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewable, requestConfiguration *AccessReviewItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/accessreviews/access_reviews_request_builder.go b/accessreviews/access_reviews_request_builder.go index 48525311217..39c34e248cf 100644 --- a/accessreviews/access_reviews_request_builder.go +++ b/accessreviews/access_reviews_request_builder.go @@ -81,7 +81,7 @@ func (m *AccessReviewsRequestBuilder) Count()(*CountRequestBuilder) { // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreview-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreview-list?view=graph-rest-beta func (m *AccessReviewsRequestBuilder) Get(ctx context.Context, requestConfiguration *AccessReviewsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,7 +104,7 @@ func (m *AccessReviewsRequestBuilder) Get(ctx context.Context, requestConfigurat // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreview-create?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreview-create?view=graph-rest-beta func (m *AccessReviewsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewable, requestConfiguration *AccessReviewsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/accessreviews/item_apply_decisions_request_builder.go b/accessreviews/item_apply_decisions_request_builder.go index 2831e413181..d81002640ee 100644 --- a/accessreviews/item_apply_decisions_request_builder.go +++ b/accessreviews/item_apply_decisions_request_builder.go @@ -34,7 +34,7 @@ func NewItemApplyDecisionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreview-apply?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreview-apply?view=graph-rest-beta func (m *ItemApplyDecisionsRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemApplyDecisionsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/accessreviews/item_decisions_request_builder.go b/accessreviews/item_decisions_request_builder.go index cff4514ef46..589488d2c35 100644 --- a/accessreviews/item_decisions_request_builder.go +++ b/accessreviews/item_decisions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemDecisionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemDecisionsRequestBuilderGetQueryParameters in the Microsoft Entra access reviews feature, retrieve the decisions of an accessReview object. Note that a recurring access review will not have a decisions relationship. Instead, the caller must navigate the instance relationship to find an accessReview object for a current or past instance of the access review. +// ItemDecisionsRequestBuilderGetQueryParameters the collection of decisions for this access review. type ItemDecisionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemDecisionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee func (m *ItemDecisionsRequestBuilder) Count()(*ItemDecisionsCountRequestBuilder) { return NewItemDecisionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get in the Microsoft Entra access reviews feature, retrieve the decisions of an accessReview object. Note that a recurring access review will not have a decisions relationship. Instead, the caller must navigate the instance relationship to find an accessReview object for a current or past instance of the access review. +// Get the collection of decisions for this access review. // returns a AccessReviewDecisionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreview-listdecisions?view=graph-rest-1.0 func (m *ItemDecisionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemDecisionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewDecisionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemDecisionsRequestBuilder) Post(ctx context.Context, body ie233ee762e } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewDecisionable), nil } -// ToGetRequestInformation in the Microsoft Entra access reviews feature, retrieve the decisions of an accessReview object. Note that a recurring access review will not have a decisions relationship. Instead, the caller must navigate the instance relationship to find an accessReview object for a current or past instance of the access review. +// ToGetRequestInformation the collection of decisions for this access review. // returns a *RequestInformation when successful func (m *ItemDecisionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemDecisionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/accessreviews/item_instances_item_apply_decisions_request_builder.go b/accessreviews/item_instances_item_apply_decisions_request_builder.go index e53a93bace5..2f6383cc08a 100644 --- a/accessreviews/item_instances_item_apply_decisions_request_builder.go +++ b/accessreviews/item_instances_item_apply_decisions_request_builder.go @@ -34,7 +34,7 @@ func NewItemInstancesItemApplyDecisionsRequestBuilder(rawUrl string, requestAdap // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreview-apply?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreview-apply?view=graph-rest-beta func (m *ItemInstancesItemApplyDecisionsRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemInstancesItemApplyDecisionsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/accessreviews/item_instances_item_decisions_request_builder.go b/accessreviews/item_instances_item_decisions_request_builder.go index 35f972083f6..0394f7e645b 100644 --- a/accessreviews/item_instances_item_decisions_request_builder.go +++ b/accessreviews/item_instances_item_decisions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemInstancesItemDecisionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemInstancesItemDecisionsRequestBuilderGetQueryParameters in the Microsoft Entra access reviews feature, retrieve the decisions of an accessReview object. Note that a recurring access review will not have a decisions relationship. Instead, the caller must navigate the instance relationship to find an accessReview object for a current or past instance of the access review. +// ItemInstancesItemDecisionsRequestBuilderGetQueryParameters the collection of decisions for this access review. type ItemInstancesItemDecisionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemInstancesItemDecisionsRequestBuilder(rawUrl string, requestAdapter i func (m *ItemInstancesItemDecisionsRequestBuilder) Count()(*ItemInstancesItemDecisionsCountRequestBuilder) { return NewItemInstancesItemDecisionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get in the Microsoft Entra access reviews feature, retrieve the decisions of an accessReview object. Note that a recurring access review will not have a decisions relationship. Instead, the caller must navigate the instance relationship to find an accessReview object for a current or past instance of the access review. +// Get the collection of decisions for this access review. // returns a AccessReviewDecisionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreview-listdecisions?view=graph-rest-1.0 func (m *ItemInstancesItemDecisionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemInstancesItemDecisionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewDecisionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemInstancesItemDecisionsRequestBuilder) Post(ctx context.Context, bod } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewDecisionable), nil } -// ToGetRequestInformation in the Microsoft Entra access reviews feature, retrieve the decisions of an accessReview object. Note that a recurring access review will not have a decisions relationship. Instead, the caller must navigate the instance relationship to find an accessReview object for a current or past instance of the access review. +// ToGetRequestInformation the collection of decisions for this access review. // returns a *RequestInformation when successful func (m *ItemInstancesItemDecisionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemInstancesItemDecisionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/accessreviews/item_instances_item_my_decisions_request_builder.go b/accessreviews/item_instances_item_my_decisions_request_builder.go index 1ce0f2d1630..da31bd0ad20 100644 --- a/accessreviews/item_instances_item_my_decisions_request_builder.go +++ b/accessreviews/item_instances_item_my_decisions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemInstancesItemMyDecisionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemInstancesItemMyDecisionsRequestBuilderGetQueryParameters in the Microsoft Entra access reviews feature, retrieve the decisions of an accessReview object for the calling user as reviewer. +// ItemInstancesItemMyDecisionsRequestBuilderGetQueryParameters the collection of decisions for the caller, if the caller is a reviewer. type ItemInstancesItemMyDecisionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemInstancesItemMyDecisionsRequestBuilder(rawUrl string, requestAdapter func (m *ItemInstancesItemMyDecisionsRequestBuilder) Count()(*ItemInstancesItemMyDecisionsCountRequestBuilder) { return NewItemInstancesItemMyDecisionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get in the Microsoft Entra access reviews feature, retrieve the decisions of an accessReview object for the calling user as reviewer. +// Get the collection of decisions for the caller, if the caller is a reviewer. // returns a AccessReviewDecisionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreview-listmydecisions?view=graph-rest-1.0 func (m *ItemInstancesItemMyDecisionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemInstancesItemMyDecisionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewDecisionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemInstancesItemMyDecisionsRequestBuilder) Post(ctx context.Context, b } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewDecisionable), nil } -// ToGetRequestInformation in the Microsoft Entra access reviews feature, retrieve the decisions of an accessReview object for the calling user as reviewer. +// ToGetRequestInformation the collection of decisions for the caller, if the caller is a reviewer. // returns a *RequestInformation when successful func (m *ItemInstancesItemMyDecisionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemInstancesItemMyDecisionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/accessreviews/item_instances_item_reset_decisions_request_builder.go b/accessreviews/item_instances_item_reset_decisions_request_builder.go index b4b5ca1dffc..fc298e80032 100644 --- a/accessreviews/item_instances_item_reset_decisions_request_builder.go +++ b/accessreviews/item_instances_item_reset_decisions_request_builder.go @@ -34,7 +34,7 @@ func NewItemInstancesItemResetDecisionsRequestBuilder(rawUrl string, requestAdap // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreview-reset?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreview-reset?view=graph-rest-beta func (m *ItemInstancesItemResetDecisionsRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemInstancesItemResetDecisionsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/accessreviews/item_instances_item_reviewers_access_review_reviewer_item_request_builder.go b/accessreviews/item_instances_item_reviewers_access_review_reviewer_item_request_builder.go index 7e3ab2a2eea..00fc6fc14d9 100644 --- a/accessreviews/item_instances_item_reviewers_access_review_reviewer_item_request_builder.go +++ b/accessreviews/item_instances_item_reviewers_access_review_reviewer_item_request_builder.go @@ -54,11 +54,8 @@ func NewItemInstancesItemReviewersAccessReviewReviewerItemRequestBuilder(rawUrl urlParams["request-raw-url"] = rawUrl return NewItemInstancesItemReviewersAccessReviewReviewerItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete in the Microsoft Entra access reviews feature, update an existing accessReview object to remove a user as a reviewer. This operation is only permitted for an access review that isn't yet completed, and only for an access review where the reviewers are explicitly specified. This operation isn't permitted for an access review in which users review their own access, and not intended for an access review in which the group owners are assigned as the reviewers. +// Delete delete navigation property reviewers for accessReviews // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreview-removereviewer?view=graph-rest-1.0 func (m *ItemInstancesItemReviewersAccessReviewReviewerItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemInstancesItemReviewersAccessReviewReviewerItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -113,7 +110,7 @@ func (m *ItemInstancesItemReviewersAccessReviewReviewerItemRequestBuilder) Patch } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewReviewerable), nil } -// ToDeleteRequestInformation in the Microsoft Entra access reviews feature, update an existing accessReview object to remove a user as a reviewer. This operation is only permitted for an access review that isn't yet completed, and only for an access review where the reviewers are explicitly specified. This operation isn't permitted for an access review in which users review their own access, and not intended for an access review in which the group owners are assigned as the reviewers. +// ToDeleteRequestInformation delete navigation property reviewers for accessReviews // returns a *RequestInformation when successful func (m *ItemInstancesItemReviewersAccessReviewReviewerItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemInstancesItemReviewersAccessReviewReviewerItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/accessreviews/item_instances_item_reviewers_request_builder.go b/accessreviews/item_instances_item_reviewers_request_builder.go index 8c8e996b318..4c6b391d4cc 100644 --- a/accessreviews/item_instances_item_reviewers_request_builder.go +++ b/accessreviews/item_instances_item_reviewers_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemInstancesItemReviewersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemInstancesItemReviewersRequestBuilderGetQueryParameters in the Microsoft Entra access reviews feature, retrieve the reviewers of an accessReview object. +// ItemInstancesItemReviewersRequestBuilderGetQueryParameters the collection of reviewers for an access review, if access review reviewerType is of type delegated. type ItemInstancesItemReviewersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemInstancesItemReviewersRequestBuilder(rawUrl string, requestAdapter i func (m *ItemInstancesItemReviewersRequestBuilder) Count()(*ItemInstancesItemReviewersCountRequestBuilder) { return NewItemInstancesItemReviewersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get in the Microsoft Entra access reviews feature, retrieve the reviewers of an accessReview object. +// Get the collection of reviewers for an access review, if access review reviewerType is of type delegated. // returns a AccessReviewReviewerCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreview-listreviewers?view=graph-rest-1.0 func (m *ItemInstancesItemReviewersRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemInstancesItemReviewersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewReviewerCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemInstancesItemReviewersRequestBuilder) Get(ctx context.Context, requ } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewReviewerCollectionResponseable), nil } -// Post in the Microsoft Entra access reviews feature, update an existing accessReview object to add another user as a reviewer. This operation is only permitted for an access review that isn't yet completed, and only for an access review where the reviewers are explicitly specified. This operation isn't permitted for an access review in which users review their own access, and not intended for an access review in which the group owners are assigned as the reviewers. +// Post create new navigation property to reviewers for accessReviews // returns a AccessReviewReviewerable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreview-addreviewer?view=graph-rest-1.0 func (m *ItemInstancesItemReviewersRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewReviewerable, requestConfiguration *ItemInstancesItemReviewersRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewReviewerable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemInstancesItemReviewersRequestBuilder) Post(ctx context.Context, bod } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewReviewerable), nil } -// ToGetRequestInformation in the Microsoft Entra access reviews feature, retrieve the reviewers of an accessReview object. +// ToGetRequestInformation the collection of reviewers for an access review, if access review reviewerType is of type delegated. // returns a *RequestInformation when successful func (m *ItemInstancesItemReviewersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemInstancesItemReviewersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemInstancesItemReviewersRequestBuilder) ToGetRequestInformation(ctx c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation in the Microsoft Entra access reviews feature, update an existing accessReview object to add another user as a reviewer. This operation is only permitted for an access review that isn't yet completed, and only for an access review where the reviewers are explicitly specified. This operation isn't permitted for an access review in which users review their own access, and not intended for an access review in which the group owners are assigned as the reviewers. +// ToPostRequestInformation create new navigation property to reviewers for accessReviews // returns a *RequestInformation when successful func (m *ItemInstancesItemReviewersRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewReviewerable, requestConfiguration *ItemInstancesItemReviewersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/accessreviews/item_instances_item_send_reminder_request_builder.go b/accessreviews/item_instances_item_send_reminder_request_builder.go index 3371935c328..4487a61fe9c 100644 --- a/accessreviews/item_instances_item_send_reminder_request_builder.go +++ b/accessreviews/item_instances_item_send_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemInstancesItemSendReminderRequestBuilder(rawUrl string, requestAdapte // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreview-sendreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreview-sendreminder?view=graph-rest-beta func (m *ItemInstancesItemSendReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemInstancesItemSendReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/accessreviews/item_instances_item_stop_request_builder.go b/accessreviews/item_instances_item_stop_request_builder.go index 8e118ab9404..edc07143e3d 100644 --- a/accessreviews/item_instances_item_stop_request_builder.go +++ b/accessreviews/item_instances_item_stop_request_builder.go @@ -34,7 +34,7 @@ func NewItemInstancesItemStopRequestBuilder(rawUrl string, requestAdapter i2ae41 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreview-stop?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreview-stop?view=graph-rest-beta func (m *ItemInstancesItemStopRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemInstancesItemStopRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/accessreviews/item_my_decisions_request_builder.go b/accessreviews/item_my_decisions_request_builder.go index 748f3d5092e..6f17b549d05 100644 --- a/accessreviews/item_my_decisions_request_builder.go +++ b/accessreviews/item_my_decisions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemMyDecisionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemMyDecisionsRequestBuilderGetQueryParameters in the Microsoft Entra access reviews feature, retrieve the decisions of an accessReview object for the calling user as reviewer. +// ItemMyDecisionsRequestBuilderGetQueryParameters the collection of decisions for the caller, if the caller is a reviewer. type ItemMyDecisionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemMyDecisionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7da func (m *ItemMyDecisionsRequestBuilder) Count()(*ItemMyDecisionsCountRequestBuilder) { return NewItemMyDecisionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get in the Microsoft Entra access reviews feature, retrieve the decisions of an accessReview object for the calling user as reviewer. +// Get the collection of decisions for the caller, if the caller is a reviewer. // returns a AccessReviewDecisionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreview-listmydecisions?view=graph-rest-1.0 func (m *ItemMyDecisionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMyDecisionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewDecisionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemMyDecisionsRequestBuilder) Post(ctx context.Context, body ie233ee76 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewDecisionable), nil } -// ToGetRequestInformation in the Microsoft Entra access reviews feature, retrieve the decisions of an accessReview object for the calling user as reviewer. +// ToGetRequestInformation the collection of decisions for the caller, if the caller is a reviewer. // returns a *RequestInformation when successful func (m *ItemMyDecisionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMyDecisionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/accessreviews/item_reset_decisions_request_builder.go b/accessreviews/item_reset_decisions_request_builder.go index 44386f06e02..4542035f772 100644 --- a/accessreviews/item_reset_decisions_request_builder.go +++ b/accessreviews/item_reset_decisions_request_builder.go @@ -34,7 +34,7 @@ func NewItemResetDecisionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreview-reset?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreview-reset?view=graph-rest-beta func (m *ItemResetDecisionsRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemResetDecisionsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/accessreviews/item_reviewers_access_review_reviewer_item_request_builder.go b/accessreviews/item_reviewers_access_review_reviewer_item_request_builder.go index 20759a84c39..2b2f5c7d932 100644 --- a/accessreviews/item_reviewers_access_review_reviewer_item_request_builder.go +++ b/accessreviews/item_reviewers_access_review_reviewer_item_request_builder.go @@ -54,11 +54,8 @@ func NewItemReviewersAccessReviewReviewerItemRequestBuilder(rawUrl string, reque urlParams["request-raw-url"] = rawUrl return NewItemReviewersAccessReviewReviewerItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete in the Microsoft Entra access reviews feature, update an existing accessReview object to remove a user as a reviewer. This operation is only permitted for an access review that isn't yet completed, and only for an access review where the reviewers are explicitly specified. This operation isn't permitted for an access review in which users review their own access, and not intended for an access review in which the group owners are assigned as the reviewers. +// Delete delete navigation property reviewers for accessReviews // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreview-removereviewer?view=graph-rest-1.0 func (m *ItemReviewersAccessReviewReviewerItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemReviewersAccessReviewReviewerItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -113,7 +110,7 @@ func (m *ItemReviewersAccessReviewReviewerItemRequestBuilder) Patch(ctx context. } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewReviewerable), nil } -// ToDeleteRequestInformation in the Microsoft Entra access reviews feature, update an existing accessReview object to remove a user as a reviewer. This operation is only permitted for an access review that isn't yet completed, and only for an access review where the reviewers are explicitly specified. This operation isn't permitted for an access review in which users review their own access, and not intended for an access review in which the group owners are assigned as the reviewers. +// ToDeleteRequestInformation delete navigation property reviewers for accessReviews // returns a *RequestInformation when successful func (m *ItemReviewersAccessReviewReviewerItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemReviewersAccessReviewReviewerItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/accessreviews/item_reviewers_request_builder.go b/accessreviews/item_reviewers_request_builder.go index 683003ed5fd..79e15f2879e 100644 --- a/accessreviews/item_reviewers_request_builder.go +++ b/accessreviews/item_reviewers_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemReviewersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemReviewersRequestBuilderGetQueryParameters in the Microsoft Entra access reviews feature, retrieve the reviewers of an accessReview object. +// ItemReviewersRequestBuilderGetQueryParameters the collection of reviewers for an access review, if access review reviewerType is of type delegated. type ItemReviewersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemReviewersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee func (m *ItemReviewersRequestBuilder) Count()(*ItemReviewersCountRequestBuilder) { return NewItemReviewersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get in the Microsoft Entra access reviews feature, retrieve the reviewers of an accessReview object. +// Get the collection of reviewers for an access review, if access review reviewerType is of type delegated. // returns a AccessReviewReviewerCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreview-listreviewers?view=graph-rest-1.0 func (m *ItemReviewersRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemReviewersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewReviewerCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemReviewersRequestBuilder) Get(ctx context.Context, requestConfigurat } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewReviewerCollectionResponseable), nil } -// Post in the Microsoft Entra access reviews feature, update an existing accessReview object to add another user as a reviewer. This operation is only permitted for an access review that isn't yet completed, and only for an access review where the reviewers are explicitly specified. This operation isn't permitted for an access review in which users review their own access, and not intended for an access review in which the group owners are assigned as the reviewers. +// Post create new navigation property to reviewers for accessReviews // returns a AccessReviewReviewerable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreview-addreviewer?view=graph-rest-1.0 func (m *ItemReviewersRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewReviewerable, requestConfiguration *ItemReviewersRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewReviewerable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemReviewersRequestBuilder) Post(ctx context.Context, body ie233ee762e } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewReviewerable), nil } -// ToGetRequestInformation in the Microsoft Entra access reviews feature, retrieve the reviewers of an accessReview object. +// ToGetRequestInformation the collection of reviewers for an access review, if access review reviewerType is of type delegated. // returns a *RequestInformation when successful func (m *ItemReviewersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemReviewersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemReviewersRequestBuilder) ToGetRequestInformation(ctx context.Contex requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation in the Microsoft Entra access reviews feature, update an existing accessReview object to add another user as a reviewer. This operation is only permitted for an access review that isn't yet completed, and only for an access review where the reviewers are explicitly specified. This operation isn't permitted for an access review in which users review their own access, and not intended for an access review in which the group owners are assigned as the reviewers. +// ToPostRequestInformation create new navigation property to reviewers for accessReviews // returns a *RequestInformation when successful func (m *ItemReviewersRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewReviewerable, requestConfiguration *ItemReviewersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/accessreviews/item_send_reminder_request_builder.go b/accessreviews/item_send_reminder_request_builder.go index a25b252a3d1..dcf1b00ebc4 100644 --- a/accessreviews/item_send_reminder_request_builder.go +++ b/accessreviews/item_send_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemSendReminderRequestBuilder(rawUrl string, requestAdapter i2ae4187f7d // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreview-sendreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreview-sendreminder?view=graph-rest-beta func (m *ItemSendReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemSendReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/accessreviews/item_stop_request_builder.go b/accessreviews/item_stop_request_builder.go index 071c64f3f4c..3089b48c3d0 100644 --- a/accessreviews/item_stop_request_builder.go +++ b/accessreviews/item_stop_request_builder.go @@ -34,7 +34,7 @@ func NewItemStopRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26337 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreview-stop?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreview-stop?view=graph-rest-beta func (m *ItemStopRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemStopRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/admin/apps_and_services_request_builder.go b/admin/apps_and_services_request_builder.go index 7d69378f408..7ffe69cd0a8 100644 --- a/admin/apps_and_services_request_builder.go +++ b/admin/apps_and_services_request_builder.go @@ -18,7 +18,7 @@ type AppsAndServicesRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// AppsAndServicesRequestBuilderGetQueryParameters read the properties and relationships of a adminAppsAndServices object. +// AppsAndServicesRequestBuilderGetQueryParameters get appsAndServices from admin type AppsAndServicesRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *AppsAndServicesRequestBuilder) Delete(ctx context.Context, requestConfi } return nil } -// Get read the properties and relationships of a adminAppsAndServices object. +// Get get appsAndServices from admin // returns a AdminAppsAndServicesable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/adminappsandservices-get?view=graph-rest-1.0 func (m *AppsAndServicesRequestBuilder) Get(ctx context.Context, requestConfiguration *AppsAndServicesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdminAppsAndServicesable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *AppsAndServicesRequestBuilder) Get(ctx context.Context, requestConfigur } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdminAppsAndServicesable), nil } -// Patch update the properties of a adminAppsAndServices object. +// Patch update the navigation property appsAndServices in admin // returns a AdminAppsAndServicesable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/adminappsandservices-update?view=graph-rest-1.0 func (m *AppsAndServicesRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdminAppsAndServicesable, requestConfiguration *AppsAndServicesRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdminAppsAndServicesable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *AppsAndServicesRequestBuilder) ToDeleteRequestInformation(ctx context.C requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a adminAppsAndServices object. +// ToGetRequestInformation get appsAndServices from admin // returns a *RequestInformation when successful func (m *AppsAndServicesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AppsAndServicesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *AppsAndServicesRequestBuilder) ToGetRequestInformation(ctx context.Cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a adminAppsAndServices object. +// ToPatchRequestInformation update the navigation property appsAndServices in admin // returns a *RequestInformation when successful func (m *AppsAndServicesRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdminAppsAndServicesable, requestConfiguration *AppsAndServicesRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/dynamics_request_builder.go b/admin/dynamics_request_builder.go index be3424385a5..eb932d27f89 100644 --- a/admin/dynamics_request_builder.go +++ b/admin/dynamics_request_builder.go @@ -18,7 +18,7 @@ type DynamicsRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DynamicsRequestBuilderGetQueryParameters read the properties and relationships of a adminDynamics object. +// DynamicsRequestBuilderGetQueryParameters get dynamics from admin type DynamicsRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *DynamicsRequestBuilder) Delete(ctx context.Context, requestConfiguratio } return nil } -// Get read the properties and relationships of a adminDynamics object. +// Get get dynamics from admin // returns a AdminDynamicsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/admindynamics-get?view=graph-rest-1.0 func (m *DynamicsRequestBuilder) Get(ctx context.Context, requestConfiguration *DynamicsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdminDynamicsable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *DynamicsRequestBuilder) Get(ctx context.Context, requestConfiguration * } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdminDynamicsable), nil } -// Patch update the properties of a adminDynamics object. +// Patch update the navigation property dynamics in admin // returns a AdminDynamicsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/admindynamics-update?view=graph-rest-1.0 func (m *DynamicsRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdminDynamicsable, requestConfiguration *DynamicsRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdminDynamicsable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *DynamicsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a adminDynamics object. +// ToGetRequestInformation get dynamics from admin // returns a *RequestInformation when successful func (m *DynamicsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DynamicsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *DynamicsRequestBuilder) ToGetRequestInformation(ctx context.Context, re requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a adminDynamics object. +// ToPatchRequestInformation update the navigation property dynamics in admin // returns a *RequestInformation when successful func (m *DynamicsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdminDynamicsable, requestConfiguration *DynamicsRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/edge_internet_explorer_mode_site_lists_browser_site_list_item_request_builder.go b/admin/edge_internet_explorer_mode_site_lists_browser_site_list_item_request_builder.go index 7d078d0fef5..e6808116041 100644 --- a/admin/edge_internet_explorer_mode_site_lists_browser_site_list_item_request_builder.go +++ b/admin/edge_internet_explorer_mode_site_lists_browser_site_list_item_request_builder.go @@ -18,7 +18,7 @@ type EdgeInternetExplorerModeSiteListsBrowserSiteListItemRequestBuilderDeleteReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EdgeInternetExplorerModeSiteListsBrowserSiteListItemRequestBuilderGetQueryParameters get a browserSiteList that contains browserSite and browserSharedCookie resources. +// EdgeInternetExplorerModeSiteListsBrowserSiteListItemRequestBuilderGetQueryParameters a collection of site lists to support Internet Explorer mode. type EdgeInternetExplorerModeSiteListsBrowserSiteListItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewEdgeInternetExplorerModeSiteListsBrowserSiteListItemRequestBuilder(rawUr urlParams["request-raw-url"] = rawUrl return NewEdgeInternetExplorerModeSiteListsBrowserSiteListItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a browserSiteList object. +// Delete delete navigation property siteLists for admin // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/internetexplorermode-delete-sitelists?view=graph-rest-1.0 func (m *EdgeInternetExplorerModeSiteListsBrowserSiteListItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *EdgeInternetExplorerModeSiteListsBrowserSiteListItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *EdgeInternetExplorerModeSiteListsBrowserSiteListItemRequestBuilder) Del } return nil } -// Get get a browserSiteList that contains browserSite and browserSharedCookie resources. +// Get a collection of site lists to support Internet Explorer mode. // returns a BrowserSiteListable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/browsersitelist-get?view=graph-rest-1.0 func (m *EdgeInternetExplorerModeSiteListsBrowserSiteListItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EdgeInternetExplorerModeSiteListsBrowserSiteListItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BrowserSiteListable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *EdgeInternetExplorerModeSiteListsBrowserSiteListItemRequestBuilder) Get } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BrowserSiteListable), nil } -// Patch update the properties of a browserSiteList object. +// Patch update the navigation property siteLists in admin // returns a BrowserSiteListable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/browsersitelist-update?view=graph-rest-1.0 func (m *EdgeInternetExplorerModeSiteListsBrowserSiteListItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BrowserSiteListable, requestConfiguration *EdgeInternetExplorerModeSiteListsBrowserSiteListItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BrowserSiteListable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -134,7 +125,7 @@ func (m *EdgeInternetExplorerModeSiteListsBrowserSiteListItemRequestBuilder) Sha func (m *EdgeInternetExplorerModeSiteListsBrowserSiteListItemRequestBuilder) Sites()(*EdgeInternetExplorerModeSiteListsItemSitesRequestBuilder) { return NewEdgeInternetExplorerModeSiteListsItemSitesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a browserSiteList object. +// ToDeleteRequestInformation delete navigation property siteLists for admin // returns a *RequestInformation when successful func (m *EdgeInternetExplorerModeSiteListsBrowserSiteListItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *EdgeInternetExplorerModeSiteListsBrowserSiteListItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -145,7 +136,7 @@ func (m *EdgeInternetExplorerModeSiteListsBrowserSiteListItemRequestBuilder) ToD requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a browserSiteList that contains browserSite and browserSharedCookie resources. +// ToGetRequestInformation a collection of site lists to support Internet Explorer mode. // returns a *RequestInformation when successful func (m *EdgeInternetExplorerModeSiteListsBrowserSiteListItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EdgeInternetExplorerModeSiteListsBrowserSiteListItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -159,7 +150,7 @@ func (m *EdgeInternetExplorerModeSiteListsBrowserSiteListItemRequestBuilder) ToG requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a browserSiteList object. +// ToPatchRequestInformation update the navigation property siteLists in admin // returns a *RequestInformation when successful func (m *EdgeInternetExplorerModeSiteListsBrowserSiteListItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BrowserSiteListable, requestConfiguration *EdgeInternetExplorerModeSiteListsBrowserSiteListItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/edge_internet_explorer_mode_site_lists_item_publish_request_builder.go b/admin/edge_internet_explorer_mode_site_lists_item_publish_request_builder.go index 3633b7da570..e25241add45 100644 --- a/admin/edge_internet_explorer_mode_site_lists_item_publish_request_builder.go +++ b/admin/edge_internet_explorer_mode_site_lists_item_publish_request_builder.go @@ -36,7 +36,7 @@ func NewEdgeInternetExplorerModeSiteListsItemPublishRequestBuilder(rawUrl string // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/browsersitelist-publish?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/browsersitelist-publish?view=graph-rest-beta func (m *EdgeInternetExplorerModeSiteListsItemPublishRequestBuilder) Post(ctx context.Context, body EdgeInternetExplorerModeSiteListsItemPublishPostRequestBodyable, requestConfiguration *EdgeInternetExplorerModeSiteListsItemPublishRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BrowserSiteListable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/admin/edge_internet_explorer_mode_site_lists_item_shared_cookies_browser_shared_cookie_item_request_builder.go b/admin/edge_internet_explorer_mode_site_lists_item_shared_cookies_browser_shared_cookie_item_request_builder.go index 250b46088ab..70e14ad52f7 100644 --- a/admin/edge_internet_explorer_mode_site_lists_item_shared_cookies_browser_shared_cookie_item_request_builder.go +++ b/admin/edge_internet_explorer_mode_site_lists_item_shared_cookies_browser_shared_cookie_item_request_builder.go @@ -18,7 +18,7 @@ type EdgeInternetExplorerModeSiteListsItemSharedCookiesBrowserSharedCookieItemRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EdgeInternetExplorerModeSiteListsItemSharedCookiesBrowserSharedCookieItemRequestBuilderGetQueryParameters get a session cookie that can be shared between a Microsoft Edge process and an Internet Explorer process, while using Internet Explorer mode. +// EdgeInternetExplorerModeSiteListsItemSharedCookiesBrowserSharedCookieItemRequestBuilderGetQueryParameters a collection of shared cookies defined for the site list. type EdgeInternetExplorerModeSiteListsItemSharedCookiesBrowserSharedCookieItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewEdgeInternetExplorerModeSiteListsItemSharedCookiesBrowserSharedCookieIte urlParams["request-raw-url"] = rawUrl return NewEdgeInternetExplorerModeSiteListsItemSharedCookiesBrowserSharedCookieItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a browserSharedCookie from a browserSiteList. +// Delete delete navigation property sharedCookies for admin // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/browsersitelist-delete-sharedcookies?view=graph-rest-1.0 func (m *EdgeInternetExplorerModeSiteListsItemSharedCookiesBrowserSharedCookieItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *EdgeInternetExplorerModeSiteListsItemSharedCookiesBrowserSharedCookieItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *EdgeInternetExplorerModeSiteListsItemSharedCookiesBrowserSharedCookieIt } return nil } -// Get get a session cookie that can be shared between a Microsoft Edge process and an Internet Explorer process, while using Internet Explorer mode. +// Get a collection of shared cookies defined for the site list. // returns a BrowserSharedCookieable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/browsersharedcookie-get?view=graph-rest-1.0 func (m *EdgeInternetExplorerModeSiteListsItemSharedCookiesBrowserSharedCookieItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EdgeInternetExplorerModeSiteListsItemSharedCookiesBrowserSharedCookieItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BrowserSharedCookieable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *EdgeInternetExplorerModeSiteListsItemSharedCookiesBrowserSharedCookieIt } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BrowserSharedCookieable), nil } -// Patch update the properties of a browserSharedCookie object. +// Patch update the navigation property sharedCookies in admin // returns a BrowserSharedCookieable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/browsersharedcookie-update?view=graph-rest-1.0 func (m *EdgeInternetExplorerModeSiteListsItemSharedCookiesBrowserSharedCookieItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BrowserSharedCookieable, requestConfiguration *EdgeInternetExplorerModeSiteListsItemSharedCookiesBrowserSharedCookieItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BrowserSharedCookieable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *EdgeInternetExplorerModeSiteListsItemSharedCookiesBrowserSharedCookieIt } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BrowserSharedCookieable), nil } -// ToDeleteRequestInformation delete a browserSharedCookie from a browserSiteList. +// ToDeleteRequestInformation delete navigation property sharedCookies for admin // returns a *RequestInformation when successful func (m *EdgeInternetExplorerModeSiteListsItemSharedCookiesBrowserSharedCookieItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *EdgeInternetExplorerModeSiteListsItemSharedCookiesBrowserSharedCookieItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *EdgeInternetExplorerModeSiteListsItemSharedCookiesBrowserSharedCookieIt requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a session cookie that can be shared between a Microsoft Edge process and an Internet Explorer process, while using Internet Explorer mode. +// ToGetRequestInformation a collection of shared cookies defined for the site list. // returns a *RequestInformation when successful func (m *EdgeInternetExplorerModeSiteListsItemSharedCookiesBrowserSharedCookieItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EdgeInternetExplorerModeSiteListsItemSharedCookiesBrowserSharedCookieItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *EdgeInternetExplorerModeSiteListsItemSharedCookiesBrowserSharedCookieIt requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a browserSharedCookie object. +// ToPatchRequestInformation update the navigation property sharedCookies in admin // returns a *RequestInformation when successful func (m *EdgeInternetExplorerModeSiteListsItemSharedCookiesBrowserSharedCookieItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BrowserSharedCookieable, requestConfiguration *EdgeInternetExplorerModeSiteListsItemSharedCookiesBrowserSharedCookieItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/edge_internet_explorer_mode_site_lists_item_shared_cookies_request_builder.go b/admin/edge_internet_explorer_mode_site_lists_item_shared_cookies_request_builder.go index 580be288e52..49dc2776501 100644 --- a/admin/edge_internet_explorer_mode_site_lists_item_shared_cookies_request_builder.go +++ b/admin/edge_internet_explorer_mode_site_lists_item_shared_cookies_request_builder.go @@ -11,7 +11,7 @@ import ( type EdgeInternetExplorerModeSiteListsItemSharedCookiesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EdgeInternetExplorerModeSiteListsItemSharedCookiesRequestBuilderGetQueryParameters get a list of the browserSharedCookie objects and their properties. +// EdgeInternetExplorerModeSiteListsItemSharedCookiesRequestBuilderGetQueryParameters a collection of shared cookies defined for the site list. type EdgeInternetExplorerModeSiteListsItemSharedCookiesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewEdgeInternetExplorerModeSiteListsItemSharedCookiesRequestBuilder(rawUrl func (m *EdgeInternetExplorerModeSiteListsItemSharedCookiesRequestBuilder) Count()(*EdgeInternetExplorerModeSiteListsItemSharedCookiesCountRequestBuilder) { return NewEdgeInternetExplorerModeSiteListsItemSharedCookiesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the browserSharedCookie objects and their properties. +// Get a collection of shared cookies defined for the site list. // returns a BrowserSharedCookieCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/browsersitelist-list-sharedcookies?view=graph-rest-1.0 func (m *EdgeInternetExplorerModeSiteListsItemSharedCookiesRequestBuilder) Get(ctx context.Context, requestConfiguration *EdgeInternetExplorerModeSiteListsItemSharedCookiesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BrowserSharedCookieCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *EdgeInternetExplorerModeSiteListsItemSharedCookiesRequestBuilder) Get(c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BrowserSharedCookieCollectionResponseable), nil } -// Post create a new browserSharedCookie object in a browserSiteList. +// Post create new navigation property to sharedCookies for admin // returns a BrowserSharedCookieable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/browsersitelist-post-sharedcookies?view=graph-rest-1.0 func (m *EdgeInternetExplorerModeSiteListsItemSharedCookiesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BrowserSharedCookieable, requestConfiguration *EdgeInternetExplorerModeSiteListsItemSharedCookiesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BrowserSharedCookieable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *EdgeInternetExplorerModeSiteListsItemSharedCookiesRequestBuilder) Post( } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BrowserSharedCookieable), nil } -// ToGetRequestInformation get a list of the browserSharedCookie objects and their properties. +// ToGetRequestInformation a collection of shared cookies defined for the site list. // returns a *RequestInformation when successful func (m *EdgeInternetExplorerModeSiteListsItemSharedCookiesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EdgeInternetExplorerModeSiteListsItemSharedCookiesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *EdgeInternetExplorerModeSiteListsItemSharedCookiesRequestBuilder) ToGet requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new browserSharedCookie object in a browserSiteList. +// ToPostRequestInformation create new navigation property to sharedCookies for admin // returns a *RequestInformation when successful func (m *EdgeInternetExplorerModeSiteListsItemSharedCookiesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BrowserSharedCookieable, requestConfiguration *EdgeInternetExplorerModeSiteListsItemSharedCookiesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/edge_internet_explorer_mode_site_lists_item_sites_browser_site_item_request_builder.go b/admin/edge_internet_explorer_mode_site_lists_item_sites_browser_site_item_request_builder.go index 8ca261abca0..61d0c2ca281 100644 --- a/admin/edge_internet_explorer_mode_site_lists_item_sites_browser_site_item_request_builder.go +++ b/admin/edge_internet_explorer_mode_site_lists_item_sites_browser_site_item_request_builder.go @@ -18,7 +18,7 @@ type EdgeInternetExplorerModeSiteListsItemSitesBrowserSiteItemRequestBuilderDele // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EdgeInternetExplorerModeSiteListsItemSitesBrowserSiteItemRequestBuilderGetQueryParameters get a browserSite that resides on a browserSiteList. +// EdgeInternetExplorerModeSiteListsItemSitesBrowserSiteItemRequestBuilderGetQueryParameters a collection of sites defined for the site list. type EdgeInternetExplorerModeSiteListsItemSitesBrowserSiteItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewEdgeInternetExplorerModeSiteListsItemSitesBrowserSiteItemRequestBuilder( urlParams["request-raw-url"] = rawUrl return NewEdgeInternetExplorerModeSiteListsItemSitesBrowserSiteItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a browserSite from a browserSiteList. +// Delete delete navigation property sites for admin // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/browsersitelist-delete-sites?view=graph-rest-1.0 func (m *EdgeInternetExplorerModeSiteListsItemSitesBrowserSiteItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *EdgeInternetExplorerModeSiteListsItemSitesBrowserSiteItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *EdgeInternetExplorerModeSiteListsItemSitesBrowserSiteItemRequestBuilder } return nil } -// Get get a browserSite that resides on a browserSiteList. +// Get a collection of sites defined for the site list. // returns a BrowserSiteable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/browsersite-get?view=graph-rest-1.0 func (m *EdgeInternetExplorerModeSiteListsItemSitesBrowserSiteItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EdgeInternetExplorerModeSiteListsItemSitesBrowserSiteItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BrowserSiteable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *EdgeInternetExplorerModeSiteListsItemSitesBrowserSiteItemRequestBuilder } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BrowserSiteable), nil } -// Patch update the properties of a browserSite object. +// Patch update the navigation property sites in admin // returns a BrowserSiteable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/browsersite-update?view=graph-rest-1.0 func (m *EdgeInternetExplorerModeSiteListsItemSitesBrowserSiteItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BrowserSiteable, requestConfiguration *EdgeInternetExplorerModeSiteListsItemSitesBrowserSiteItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BrowserSiteable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *EdgeInternetExplorerModeSiteListsItemSitesBrowserSiteItemRequestBuilder } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BrowserSiteable), nil } -// ToDeleteRequestInformation delete a browserSite from a browserSiteList. +// ToDeleteRequestInformation delete navigation property sites for admin // returns a *RequestInformation when successful func (m *EdgeInternetExplorerModeSiteListsItemSitesBrowserSiteItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *EdgeInternetExplorerModeSiteListsItemSitesBrowserSiteItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *EdgeInternetExplorerModeSiteListsItemSitesBrowserSiteItemRequestBuilder requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a browserSite that resides on a browserSiteList. +// ToGetRequestInformation a collection of sites defined for the site list. // returns a *RequestInformation when successful func (m *EdgeInternetExplorerModeSiteListsItemSitesBrowserSiteItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EdgeInternetExplorerModeSiteListsItemSitesBrowserSiteItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *EdgeInternetExplorerModeSiteListsItemSitesBrowserSiteItemRequestBuilder requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a browserSite object. +// ToPatchRequestInformation update the navigation property sites in admin // returns a *RequestInformation when successful func (m *EdgeInternetExplorerModeSiteListsItemSitesBrowserSiteItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BrowserSiteable, requestConfiguration *EdgeInternetExplorerModeSiteListsItemSitesBrowserSiteItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/edge_internet_explorer_mode_site_lists_item_sites_request_builder.go b/admin/edge_internet_explorer_mode_site_lists_item_sites_request_builder.go index d30aecfc41c..fbbcbf13099 100644 --- a/admin/edge_internet_explorer_mode_site_lists_item_sites_request_builder.go +++ b/admin/edge_internet_explorer_mode_site_lists_item_sites_request_builder.go @@ -11,7 +11,7 @@ import ( type EdgeInternetExplorerModeSiteListsItemSitesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EdgeInternetExplorerModeSiteListsItemSitesRequestBuilderGetQueryParameters get a list of the browserSite objects and their properties. +// EdgeInternetExplorerModeSiteListsItemSitesRequestBuilderGetQueryParameters a collection of sites defined for the site list. type EdgeInternetExplorerModeSiteListsItemSitesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewEdgeInternetExplorerModeSiteListsItemSitesRequestBuilder(rawUrl string, func (m *EdgeInternetExplorerModeSiteListsItemSitesRequestBuilder) Count()(*EdgeInternetExplorerModeSiteListsItemSitesCountRequestBuilder) { return NewEdgeInternetExplorerModeSiteListsItemSitesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the browserSite objects and their properties. +// Get a collection of sites defined for the site list. // returns a BrowserSiteCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/browsersitelist-list-sites?view=graph-rest-1.0 func (m *EdgeInternetExplorerModeSiteListsItemSitesRequestBuilder) Get(ctx context.Context, requestConfiguration *EdgeInternetExplorerModeSiteListsItemSitesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BrowserSiteCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *EdgeInternetExplorerModeSiteListsItemSitesRequestBuilder) Get(ctx conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BrowserSiteCollectionResponseable), nil } -// Post create a new browserSite object in a browserSiteList. +// Post create new navigation property to sites for admin // returns a BrowserSiteable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/browsersitelist-post-sites?view=graph-rest-1.0 func (m *EdgeInternetExplorerModeSiteListsItemSitesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BrowserSiteable, requestConfiguration *EdgeInternetExplorerModeSiteListsItemSitesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BrowserSiteable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *EdgeInternetExplorerModeSiteListsItemSitesRequestBuilder) Post(ctx cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BrowserSiteable), nil } -// ToGetRequestInformation get a list of the browserSite objects and their properties. +// ToGetRequestInformation a collection of sites defined for the site list. // returns a *RequestInformation when successful func (m *EdgeInternetExplorerModeSiteListsItemSitesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EdgeInternetExplorerModeSiteListsItemSitesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *EdgeInternetExplorerModeSiteListsItemSitesRequestBuilder) ToGetRequestI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new browserSite object in a browserSiteList. +// ToPostRequestInformation create new navigation property to sites for admin // returns a *RequestInformation when successful func (m *EdgeInternetExplorerModeSiteListsItemSitesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BrowserSiteable, requestConfiguration *EdgeInternetExplorerModeSiteListsItemSitesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/edge_internet_explorer_mode_site_lists_request_builder.go b/admin/edge_internet_explorer_mode_site_lists_request_builder.go index ce115320556..4f08a1b5ef1 100644 --- a/admin/edge_internet_explorer_mode_site_lists_request_builder.go +++ b/admin/edge_internet_explorer_mode_site_lists_request_builder.go @@ -11,7 +11,7 @@ import ( type EdgeInternetExplorerModeSiteListsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EdgeInternetExplorerModeSiteListsRequestBuilderGetQueryParameters get a list of the browserSiteList objects and their properties. +// EdgeInternetExplorerModeSiteListsRequestBuilderGetQueryParameters a collection of site lists to support Internet Explorer mode. type EdgeInternetExplorerModeSiteListsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewEdgeInternetExplorerModeSiteListsRequestBuilder(rawUrl string, requestAd func (m *EdgeInternetExplorerModeSiteListsRequestBuilder) Count()(*EdgeInternetExplorerModeSiteListsCountRequestBuilder) { return NewEdgeInternetExplorerModeSiteListsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the browserSiteList objects and their properties. +// Get a collection of site lists to support Internet Explorer mode. // returns a BrowserSiteListCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/internetexplorermode-list-sitelists?view=graph-rest-1.0 func (m *EdgeInternetExplorerModeSiteListsRequestBuilder) Get(ctx context.Context, requestConfiguration *EdgeInternetExplorerModeSiteListsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BrowserSiteListCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *EdgeInternetExplorerModeSiteListsRequestBuilder) Get(ctx context.Contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BrowserSiteListCollectionResponseable), nil } -// Post create a new browserSiteList object to support Internet Explorer mode. +// Post create new navigation property to siteLists for admin // returns a BrowserSiteListable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/internetexplorermode-post-sitelists?view=graph-rest-1.0 func (m *EdgeInternetExplorerModeSiteListsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BrowserSiteListable, requestConfiguration *EdgeInternetExplorerModeSiteListsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BrowserSiteListable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *EdgeInternetExplorerModeSiteListsRequestBuilder) Post(ctx context.Conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BrowserSiteListable), nil } -// ToGetRequestInformation get a list of the browserSiteList objects and their properties. +// ToGetRequestInformation a collection of site lists to support Internet Explorer mode. // returns a *RequestInformation when successful func (m *EdgeInternetExplorerModeSiteListsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EdgeInternetExplorerModeSiteListsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *EdgeInternetExplorerModeSiteListsRequestBuilder) ToGetRequestInformatio requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new browserSiteList object to support Internet Explorer mode. +// ToPostRequestInformation create new navigation property to siteLists for admin // returns a *RequestInformation when successful func (m *EdgeInternetExplorerModeSiteListsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BrowserSiteListable, requestConfiguration *EdgeInternetExplorerModeSiteListsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/forms_request_builder.go b/admin/forms_request_builder.go index 8f9826d95c6..8b93a584f17 100644 --- a/admin/forms_request_builder.go +++ b/admin/forms_request_builder.go @@ -18,7 +18,7 @@ type FormsRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// FormsRequestBuilderGetQueryParameters read the properties and relationships of a adminForms object. +// FormsRequestBuilderGetQueryParameters get forms from admin type FormsRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *FormsRequestBuilder) Delete(ctx context.Context, requestConfiguration * } return nil } -// Get read the properties and relationships of a adminForms object. +// Get get forms from admin // returns a AdminFormsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/adminforms-get?view=graph-rest-1.0 func (m *FormsRequestBuilder) Get(ctx context.Context, requestConfiguration *FormsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdminFormsable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *FormsRequestBuilder) Get(ctx context.Context, requestConfiguration *For } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdminFormsable), nil } -// Patch update the properties of a adminForms object. +// Patch update the navigation property forms in admin // returns a AdminFormsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/adminforms-update?view=graph-rest-1.0 func (m *FormsRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdminFormsable, requestConfiguration *FormsRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdminFormsable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *FormsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, re requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a adminForms object. +// ToGetRequestInformation get forms from admin // returns a *RequestInformation when successful func (m *FormsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FormsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *FormsRequestBuilder) ToGetRequestInformation(ctx context.Context, reque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a adminForms object. +// ToPatchRequestInformation update the navigation property forms in admin // returns a *RequestInformation when successful func (m *FormsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdminFormsable, requestConfiguration *FormsRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/microsoft365_apps_installation_options_request_builder.go b/admin/microsoft365_apps_installation_options_request_builder.go index b82501609c0..9e3121fa672 100644 --- a/admin/microsoft365_apps_installation_options_request_builder.go +++ b/admin/microsoft365_apps_installation_options_request_builder.go @@ -18,7 +18,7 @@ type Microsoft365AppsInstallationOptionsRequestBuilderDeleteRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// Microsoft365AppsInstallationOptionsRequestBuilderGetQueryParameters read the properties and relationships of an m365AppsInstallationOptions object. +// Microsoft365AppsInstallationOptionsRequestBuilderGetQueryParameters a container for tenant-level settings for Microsoft 365 applications. type Microsoft365AppsInstallationOptionsRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *Microsoft365AppsInstallationOptionsRequestBuilder) Delete(ctx context.C } return nil } -// Get read the properties and relationships of an m365AppsInstallationOptions object. +// Get a container for tenant-level settings for Microsoft 365 applications. // returns a M365AppsInstallationOptionsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/m365appsinstallationoptions-get?view=graph-rest-1.0 func (m *Microsoft365AppsInstallationOptionsRequestBuilder) Get(ctx context.Context, requestConfiguration *Microsoft365AppsInstallationOptionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.M365AppsInstallationOptionsable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *Microsoft365AppsInstallationOptionsRequestBuilder) Get(ctx context.Cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.M365AppsInstallationOptionsable), nil } -// Patch update the properties of an m365AppsInstallationOptions object. +// Patch update the navigation property installationOptions in admin // returns a M365AppsInstallationOptionsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/m365appsinstallationoptions-update?view=graph-rest-1.0 func (m *Microsoft365AppsInstallationOptionsRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.M365AppsInstallationOptionsable, requestConfiguration *Microsoft365AppsInstallationOptionsRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.M365AppsInstallationOptionsable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *Microsoft365AppsInstallationOptionsRequestBuilder) ToDeleteRequestInfor requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an m365AppsInstallationOptions object. +// ToGetRequestInformation a container for tenant-level settings for Microsoft 365 applications. // returns a *RequestInformation when successful func (m *Microsoft365AppsInstallationOptionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *Microsoft365AppsInstallationOptionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *Microsoft365AppsInstallationOptionsRequestBuilder) ToGetRequestInformat requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an m365AppsInstallationOptions object. +// ToPatchRequestInformation update the navigation property installationOptions in admin // returns a *RequestInformation when successful func (m *Microsoft365AppsInstallationOptionsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.M365AppsInstallationOptionsable, requestConfiguration *Microsoft365AppsInstallationOptionsRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/people_item_insights_request_builder.go b/admin/people_item_insights_request_builder.go index a42be5b7718..524310b2d78 100644 --- a/admin/people_item_insights_request_builder.go +++ b/admin/people_item_insights_request_builder.go @@ -18,7 +18,7 @@ type PeopleItemInsightsRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// PeopleItemInsightsRequestBuilderGetQueryParameters get the properties of an insightsSettings object for displaying or returning item insights in an organization. To learn how to customize the privacy of item insights in an organization, see Customize item insights privacy. +// PeopleItemInsightsRequestBuilderGetQueryParameters represents administrator settings that manage the support for item insights in an organization. type PeopleItemInsightsRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *PeopleItemInsightsRequestBuilder) Delete(ctx context.Context, requestCo } return nil } -// Get get the properties of an insightsSettings object for displaying or returning item insights in an organization. To learn how to customize the privacy of item insights in an organization, see Customize item insights privacy. +// Get represents administrator settings that manage the support for item insights in an organization. // returns a InsightsSettingsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/peopleadminsettings-list-iteminsights?view=graph-rest-1.0 func (m *PeopleItemInsightsRequestBuilder) Get(ctx context.Context, requestConfiguration *PeopleItemInsightsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InsightsSettingsable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *PeopleItemInsightsRequestBuilder) Get(ctx context.Context, requestConfi } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InsightsSettingsable), nil } -// Patch update privacy settings to display or return the specified type of insights in an organization. The type of settings can be contact insights, item insights, or people insights. To learn more about customizing insights privacy for your organization, see:- Customize item insights privacy - Customize people insights privacy +// Patch update the navigation property itemInsights in admin // returns a InsightsSettingsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/insightssettings-update?view=graph-rest-1.0 func (m *PeopleItemInsightsRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InsightsSettingsable, requestConfiguration *PeopleItemInsightsRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InsightsSettingsable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *PeopleItemInsightsRequestBuilder) ToDeleteRequestInformation(ctx contex requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties of an insightsSettings object for displaying or returning item insights in an organization. To learn how to customize the privacy of item insights in an organization, see Customize item insights privacy. +// ToGetRequestInformation represents administrator settings that manage the support for item insights in an organization. // returns a *RequestInformation when successful func (m *PeopleItemInsightsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PeopleItemInsightsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *PeopleItemInsightsRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update privacy settings to display or return the specified type of insights in an organization. The type of settings can be contact insights, item insights, or people insights. To learn more about customizing insights privacy for your organization, see:- Customize item insights privacy - Customize people insights privacy +// ToPatchRequestInformation update the navigation property itemInsights in admin // returns a *RequestInformation when successful func (m *PeopleItemInsightsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InsightsSettingsable, requestConfiguration *PeopleItemInsightsRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/people_profile_card_properties_profile_card_property_item_request_builder.go b/admin/people_profile_card_properties_profile_card_property_item_request_builder.go index 5465fa21679..e6af8aaf9a8 100644 --- a/admin/people_profile_card_properties_profile_card_property_item_request_builder.go +++ b/admin/people_profile_card_properties_profile_card_property_item_request_builder.go @@ -18,7 +18,7 @@ type PeopleProfileCardPropertiesProfileCardPropertyItemRequestBuilderDeleteReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// PeopleProfileCardPropertiesProfileCardPropertyItemRequestBuilderGetQueryParameters retrieve the properties of a profileCardProperty entity. The profileCardProperty is identified by its directoryPropertyName property. +// PeopleProfileCardPropertiesProfileCardPropertyItemRequestBuilderGetQueryParameters contains a collection of the properties an administrator defined as visible on the Microsoft 365 profile card. type PeopleProfileCardPropertiesProfileCardPropertyItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewPeopleProfileCardPropertiesProfileCardPropertyItemRequestBuilder(rawUrl urlParams["request-raw-url"] = rawUrl return NewPeopleProfileCardPropertiesProfileCardPropertyItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete the profileCardProperty object specified by its directoryPropertyName from the organization's profile card, and remove any localized customizations for that property. +// Delete delete navigation property profileCardProperties for admin // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/profilecardproperty-delete?view=graph-rest-1.0 func (m *PeopleProfileCardPropertiesProfileCardPropertyItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *PeopleProfileCardPropertiesProfileCardPropertyItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *PeopleProfileCardPropertiesProfileCardPropertyItemRequestBuilder) Delet } return nil } -// Get retrieve the properties of a profileCardProperty entity. The profileCardProperty is identified by its directoryPropertyName property. +// Get contains a collection of the properties an administrator defined as visible on the Microsoft 365 profile card. // returns a ProfileCardPropertyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/profilecardproperty-get?view=graph-rest-1.0 func (m *PeopleProfileCardPropertiesProfileCardPropertyItemRequestBuilder) Get(ctx context.Context, requestConfiguration *PeopleProfileCardPropertiesProfileCardPropertyItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProfileCardPropertyable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *PeopleProfileCardPropertiesProfileCardPropertyItemRequestBuilder) Get(c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProfileCardPropertyable), nil } -// Patch update the properties of a profileCardProperty object, identified by its directoryPropertyName property. +// Patch update the navigation property profileCardProperties in admin // returns a ProfileCardPropertyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/profilecardproperty-update?view=graph-rest-1.0 func (m *PeopleProfileCardPropertiesProfileCardPropertyItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProfileCardPropertyable, requestConfiguration *PeopleProfileCardPropertiesProfileCardPropertyItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProfileCardPropertyable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *PeopleProfileCardPropertiesProfileCardPropertyItemRequestBuilder) Patch } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProfileCardPropertyable), nil } -// ToDeleteRequestInformation delete the profileCardProperty object specified by its directoryPropertyName from the organization's profile card, and remove any localized customizations for that property. +// ToDeleteRequestInformation delete navigation property profileCardProperties for admin // returns a *RequestInformation when successful func (m *PeopleProfileCardPropertiesProfileCardPropertyItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *PeopleProfileCardPropertiesProfileCardPropertyItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *PeopleProfileCardPropertiesProfileCardPropertyItemRequestBuilder) ToDel requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties of a profileCardProperty entity. The profileCardProperty is identified by its directoryPropertyName property. +// ToGetRequestInformation contains a collection of the properties an administrator defined as visible on the Microsoft 365 profile card. // returns a *RequestInformation when successful func (m *PeopleProfileCardPropertiesProfileCardPropertyItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PeopleProfileCardPropertiesProfileCardPropertyItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *PeopleProfileCardPropertiesProfileCardPropertyItemRequestBuilder) ToGet requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a profileCardProperty object, identified by its directoryPropertyName property. +// ToPatchRequestInformation update the navigation property profileCardProperties in admin // returns a *RequestInformation when successful func (m *PeopleProfileCardPropertiesProfileCardPropertyItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProfileCardPropertyable, requestConfiguration *PeopleProfileCardPropertiesProfileCardPropertyItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/people_profile_card_properties_request_builder.go b/admin/people_profile_card_properties_request_builder.go index 9c679dbc006..9e2395fe1de 100644 --- a/admin/people_profile_card_properties_request_builder.go +++ b/admin/people_profile_card_properties_request_builder.go @@ -11,7 +11,7 @@ import ( type PeopleProfileCardPropertiesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// PeopleProfileCardPropertiesRequestBuilderGetQueryParameters get a collection of profileCardProperty resources for an organization. Each resource is identified by its directoryPropertyName property. +// PeopleProfileCardPropertiesRequestBuilderGetQueryParameters contains a collection of the properties an administrator defined as visible on the Microsoft 365 profile card. type PeopleProfileCardPropertiesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewPeopleProfileCardPropertiesRequestBuilder(rawUrl string, requestAdapter func (m *PeopleProfileCardPropertiesRequestBuilder) Count()(*PeopleProfileCardPropertiesCountRequestBuilder) { return NewPeopleProfileCardPropertiesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a collection of profileCardProperty resources for an organization. Each resource is identified by its directoryPropertyName property. +// Get contains a collection of the properties an administrator defined as visible on the Microsoft 365 profile card. // returns a ProfileCardPropertyCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/peopleadminsettings-list-profilecardproperties?view=graph-rest-1.0 func (m *PeopleProfileCardPropertiesRequestBuilder) Get(ctx context.Context, requestConfiguration *PeopleProfileCardPropertiesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProfileCardPropertyCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *PeopleProfileCardPropertiesRequestBuilder) Get(ctx context.Context, req } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProfileCardPropertyCollectionResponseable), nil } -// Post create a new profileCardProperty for an organization. The new property is identified by its directoryPropertyName property. For more information about how to add properties to the profile card for an organization, see Add or remove custom attributes on a profile card using the profile card API. +// Post create new navigation property to profileCardProperties for admin // returns a ProfileCardPropertyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/peopleadminsettings-post-profilecardproperties?view=graph-rest-1.0 func (m *PeopleProfileCardPropertiesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProfileCardPropertyable, requestConfiguration *PeopleProfileCardPropertiesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProfileCardPropertyable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *PeopleProfileCardPropertiesRequestBuilder) Post(ctx context.Context, bo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProfileCardPropertyable), nil } -// ToGetRequestInformation get a collection of profileCardProperty resources for an organization. Each resource is identified by its directoryPropertyName property. +// ToGetRequestInformation contains a collection of the properties an administrator defined as visible on the Microsoft 365 profile card. // returns a *RequestInformation when successful func (m *PeopleProfileCardPropertiesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PeopleProfileCardPropertiesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *PeopleProfileCardPropertiesRequestBuilder) ToGetRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new profileCardProperty for an organization. The new property is identified by its directoryPropertyName property. For more information about how to add properties to the profile card for an organization, see Add or remove custom attributes on a profile card using the profile card API. +// ToPostRequestInformation create new navigation property to profileCardProperties for admin // returns a *RequestInformation when successful func (m *PeopleProfileCardPropertiesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProfileCardPropertyable, requestConfiguration *PeopleProfileCardPropertiesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/people_pronouns_request_builder.go b/admin/people_pronouns_request_builder.go index a07fe7f411c..d9453b65f5e 100644 --- a/admin/people_pronouns_request_builder.go +++ b/admin/people_pronouns_request_builder.go @@ -18,7 +18,7 @@ type PeoplePronounsRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// PeoplePronounsRequestBuilderGetQueryParameters get the properties of the pronounsSettings resource for an organization. For more information on settings to manage pronouns support, see Manage pronouns settings for an organization using the Microsoft Graph API. +// PeoplePronounsRequestBuilderGetQueryParameters represents administrator settings that manage the support of pronouns in an organization. type PeoplePronounsRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *PeoplePronounsRequestBuilder) Delete(ctx context.Context, requestConfig } return nil } -// Get get the properties of the pronounsSettings resource for an organization. For more information on settings to manage pronouns support, see Manage pronouns settings for an organization using the Microsoft Graph API. +// Get represents administrator settings that manage the support of pronouns in an organization. // returns a PronounsSettingsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/peopleadminsettings-list-pronouns?view=graph-rest-1.0 func (m *PeoplePronounsRequestBuilder) Get(ctx context.Context, requestConfiguration *PeoplePronounsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PronounsSettingsable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *PeoplePronounsRequestBuilder) Get(ctx context.Context, requestConfigura } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PronounsSettingsable), nil } -// Patch update the properties of a pronounsSettings object in an organization. For more information on settings to manage pronouns support, see Manage pronouns settings for an organization using the Microsoft Graph API. +// Patch update the navigation property pronouns in admin // returns a PronounsSettingsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/pronounssettings-update?view=graph-rest-1.0 func (m *PeoplePronounsRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PronounsSettingsable, requestConfiguration *PeoplePronounsRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PronounsSettingsable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *PeoplePronounsRequestBuilder) ToDeleteRequestInformation(ctx context.Co requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties of the pronounsSettings resource for an organization. For more information on settings to manage pronouns support, see Manage pronouns settings for an organization using the Microsoft Graph API. +// ToGetRequestInformation represents administrator settings that manage the support of pronouns in an organization. // returns a *RequestInformation when successful func (m *PeoplePronounsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PeoplePronounsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *PeoplePronounsRequestBuilder) ToGetRequestInformation(ctx context.Conte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a pronounsSettings object in an organization. For more information on settings to manage pronouns support, see Manage pronouns settings for an organization using the Microsoft Graph API. +// ToPatchRequestInformation update the navigation property pronouns in admin // returns a *RequestInformation when successful func (m *PeoplePronounsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PronounsSettingsable, requestConfiguration *PeoplePronounsRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/people_request_builder.go b/admin/people_request_builder.go index 4ff8dc1da87..b7836148adf 100644 --- a/admin/people_request_builder.go +++ b/admin/people_request_builder.go @@ -18,7 +18,7 @@ type PeopleRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// PeopleRequestBuilderGetQueryParameters retrieve the properties and relationships of a peopleAdminSettings object. +// PeopleRequestBuilderGetQueryParameters represents a setting to control people-related admin settings in the tenant. type PeopleRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *PeopleRequestBuilder) Delete(ctx context.Context, requestConfiguration } return nil } -// Get retrieve the properties and relationships of a peopleAdminSettings object. +// Get represents a setting to control people-related admin settings in the tenant. // returns a PeopleAdminSettingsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/peopleadminsettings-get?view=graph-rest-1.0 func (m *PeopleRequestBuilder) Get(ctx context.Context, requestConfiguration *PeopleRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PeopleAdminSettingsable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -139,7 +136,7 @@ func (m *PeopleRequestBuilder) ToDeleteRequestInformation(ctx context.Context, r requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a peopleAdminSettings object. +// ToGetRequestInformation represents a setting to control people-related admin settings in the tenant. // returns a *RequestInformation when successful func (m *PeopleRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PeopleRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/report_settings_request_builder.go b/admin/report_settings_request_builder.go index 8a22e3d1bf3..384c65f19d4 100644 --- a/admin/report_settings_request_builder.go +++ b/admin/report_settings_request_builder.go @@ -18,7 +18,7 @@ type ReportSettingsRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ReportSettingsRequestBuilderGetQueryParameters get the tenant-level settings for Microsoft 365 reports. +// ReportSettingsRequestBuilderGetQueryParameters a container for administrative resources to manage reports. type ReportSettingsRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ReportSettingsRequestBuilder) Delete(ctx context.Context, requestConfig } return nil } -// Get get the tenant-level settings for Microsoft 365 reports. +// Get a container for administrative resources to manage reports. // returns a AdminReportSettingsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/adminreportsettings-get?view=graph-rest-1.0 func (m *ReportSettingsRequestBuilder) Get(ctx context.Context, requestConfiguration *ReportSettingsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdminReportSettingsable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *ReportSettingsRequestBuilder) Get(ctx context.Context, requestConfigura } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdminReportSettingsable), nil } -// Patch update tenant-level settings for Microsoft 365 reports. +// Patch update the navigation property reportSettings in admin // returns a AdminReportSettingsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/adminreportsettings-update?view=graph-rest-1.0 func (m *ReportSettingsRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdminReportSettingsable, requestConfiguration *ReportSettingsRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdminReportSettingsable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ReportSettingsRequestBuilder) ToDeleteRequestInformation(ctx context.Co requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the tenant-level settings for Microsoft 365 reports. +// ToGetRequestInformation a container for administrative resources to manage reports. // returns a *RequestInformation when successful func (m *ReportSettingsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ReportSettingsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ReportSettingsRequestBuilder) ToGetRequestInformation(ctx context.Conte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update tenant-level settings for Microsoft 365 reports. +// ToPatchRequestInformation update the navigation property reportSettings in admin // returns a *RequestInformation when successful func (m *ReportSettingsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdminReportSettingsable, requestConfiguration *ReportSettingsRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/service_announcement_health_overviews_item_issues_item_incident_report_request_builder.go b/admin/service_announcement_health_overviews_item_issues_item_incident_report_request_builder.go index f1430083911..82e2a752c4a 100644 --- a/admin/service_announcement_health_overviews_item_issues_item_incident_report_request_builder.go +++ b/admin/service_announcement_health_overviews_item_issues_item_incident_report_request_builder.go @@ -30,9 +30,12 @@ func NewServiceAnnouncementHealthOverviewsItemIssuesItemIncidentReportRequestBui urlParams["request-raw-url"] = rawUrl return NewServiceAnnouncementHealthOverviewsItemIssuesItemIncidentReportRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function incidentReport +// Get provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document does not exist for the issue. // 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/servicehealthissue-incidentreport?view=graph-rest-beta func (m *ServiceAnnouncementHealthOverviewsItemIssuesItemIncidentReportRequestBuilder) Get(ctx context.Context, requestConfiguration *ServiceAnnouncementHealthOverviewsItemIssuesItemIncidentReportRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -50,7 +53,7 @@ func (m *ServiceAnnouncementHealthOverviewsItemIssuesItemIncidentReportRequestBu } return res.([]byte), nil } -// ToGetRequestInformation invoke function incidentReport +// ToGetRequestInformation provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document does not exist for the issue. // returns a *RequestInformation when successful func (m *ServiceAnnouncementHealthOverviewsItemIssuesItemIncidentReportRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ServiceAnnouncementHealthOverviewsItemIssuesItemIncidentReportRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/service_announcement_health_overviews_request_builder.go b/admin/service_announcement_health_overviews_request_builder.go index 51b278da9c6..c32195f9fe9 100644 --- a/admin/service_announcement_health_overviews_request_builder.go +++ b/admin/service_announcement_health_overviews_request_builder.go @@ -11,7 +11,7 @@ import ( type ServiceAnnouncementHealthOverviewsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ServiceAnnouncementHealthOverviewsRequestBuilderGetQueryParameters retrieve the serviceHealth resources from the healthOverviews navigation property. This operation provides the health report of all subscribed services for a tenant. +// ServiceAnnouncementHealthOverviewsRequestBuilderGetQueryParameters a collection of service health information for tenant. This property is a contained navigation property, it is nullable and readonly. type ServiceAnnouncementHealthOverviewsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewServiceAnnouncementHealthOverviewsRequestBuilder(rawUrl string, requestA func (m *ServiceAnnouncementHealthOverviewsRequestBuilder) Count()(*ServiceAnnouncementHealthOverviewsCountRequestBuilder) { return NewServiceAnnouncementHealthOverviewsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the serviceHealth resources from the healthOverviews navigation property. This operation provides the health report of all subscribed services for a tenant. +// Get a collection of service health information for tenant. This property is a contained navigation property, it is nullable and readonly. // returns a ServiceHealthCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceannouncement-list-healthoverviews?view=graph-rest-1.0 func (m *ServiceAnnouncementHealthOverviewsRequestBuilder) Get(ctx context.Context, requestConfiguration *ServiceAnnouncementHealthOverviewsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceHealthCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ServiceAnnouncementHealthOverviewsRequestBuilder) Post(ctx context.Cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceHealthable), nil } -// ToGetRequestInformation retrieve the serviceHealth resources from the healthOverviews navigation property. This operation provides the health report of all subscribed services for a tenant. +// ToGetRequestInformation a collection of service health information for tenant. This property is a contained navigation property, it is nullable and readonly. // returns a *RequestInformation when successful func (m *ServiceAnnouncementHealthOverviewsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ServiceAnnouncementHealthOverviewsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/service_announcement_health_overviews_service_health_item_request_builder.go b/admin/service_announcement_health_overviews_service_health_item_request_builder.go index 324cbce6ec4..0f309bd46c9 100644 --- a/admin/service_announcement_health_overviews_service_health_item_request_builder.go +++ b/admin/service_announcement_health_overviews_service_health_item_request_builder.go @@ -18,7 +18,7 @@ type ServiceAnnouncementHealthOverviewsServiceHealthItemRequestBuilderDeleteRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ServiceAnnouncementHealthOverviewsServiceHealthItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a serviceHealth object. This operation provides the health information of a specified service for a tenant. +// ServiceAnnouncementHealthOverviewsServiceHealthItemRequestBuilderGetQueryParameters a collection of service health information for tenant. This property is a contained navigation property, it is nullable and readonly. type ServiceAnnouncementHealthOverviewsServiceHealthItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ServiceAnnouncementHealthOverviewsServiceHealthItemRequestBuilder) Dele } return nil } -// Get retrieve the properties and relationships of a serviceHealth object. This operation provides the health information of a specified service for a tenant. +// Get a collection of service health information for tenant. This property is a contained navigation property, it is nullable and readonly. // returns a ServiceHealthable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/servicehealth-get?view=graph-rest-1.0 func (m *ServiceAnnouncementHealthOverviewsServiceHealthItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ServiceAnnouncementHealthOverviewsServiceHealthItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceHealthable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *ServiceAnnouncementHealthOverviewsServiceHealthItemRequestBuilder) ToDe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a serviceHealth object. This operation provides the health information of a specified service for a tenant. +// ToGetRequestInformation a collection of service health information for tenant. This property is a contained navigation property, it is nullable and readonly. // returns a *RequestInformation when successful func (m *ServiceAnnouncementHealthOverviewsServiceHealthItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ServiceAnnouncementHealthOverviewsServiceHealthItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/service_announcement_issues_item_incident_report_request_builder.go b/admin/service_announcement_issues_item_incident_report_request_builder.go index 1458b884957..ca47a9a4db5 100644 --- a/admin/service_announcement_issues_item_incident_report_request_builder.go +++ b/admin/service_announcement_issues_item_incident_report_request_builder.go @@ -30,9 +30,12 @@ func NewServiceAnnouncementIssuesItemIncidentReportRequestBuilder(rawUrl string, urlParams["request-raw-url"] = rawUrl return NewServiceAnnouncementIssuesItemIncidentReportRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function incidentReport +// Get provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document does not exist for the issue. // 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/servicehealthissue-incidentreport?view=graph-rest-beta func (m *ServiceAnnouncementIssuesItemIncidentReportRequestBuilder) Get(ctx context.Context, requestConfiguration *ServiceAnnouncementIssuesItemIncidentReportRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -50,7 +53,7 @@ func (m *ServiceAnnouncementIssuesItemIncidentReportRequestBuilder) Get(ctx cont } return res.([]byte), nil } -// ToGetRequestInformation invoke function incidentReport +// ToGetRequestInformation provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document does not exist for the issue. // returns a *RequestInformation when successful func (m *ServiceAnnouncementIssuesItemIncidentReportRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ServiceAnnouncementIssuesItemIncidentReportRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/service_announcement_issues_request_builder.go b/admin/service_announcement_issues_request_builder.go index 9a2038e1838..df6c9d2d71b 100644 --- a/admin/service_announcement_issues_request_builder.go +++ b/admin/service_announcement_issues_request_builder.go @@ -11,7 +11,7 @@ import ( type ServiceAnnouncementIssuesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ServiceAnnouncementIssuesRequestBuilderGetQueryParameters retrieve serviceHealthIssue resources from the issues navigation property. This operation retrieves information about all service health issues that exist for the tenant. +// ServiceAnnouncementIssuesRequestBuilderGetQueryParameters a collection of service issues for tenant. This property is a contained navigation property, it is nullable and readonly. type ServiceAnnouncementIssuesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewServiceAnnouncementIssuesRequestBuilder(rawUrl string, requestAdapter i2 func (m *ServiceAnnouncementIssuesRequestBuilder) Count()(*ServiceAnnouncementIssuesCountRequestBuilder) { return NewServiceAnnouncementIssuesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve serviceHealthIssue resources from the issues navigation property. This operation retrieves information about all service health issues that exist for the tenant. +// Get a collection of service issues for tenant. This property is a contained navigation property, it is nullable and readonly. // returns a ServiceHealthIssueCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceannouncement-list-issues?view=graph-rest-1.0 func (m *ServiceAnnouncementIssuesRequestBuilder) Get(ctx context.Context, requestConfiguration *ServiceAnnouncementIssuesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceHealthIssueCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ServiceAnnouncementIssuesRequestBuilder) Post(ctx context.Context, body } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceHealthIssueable), nil } -// ToGetRequestInformation retrieve serviceHealthIssue resources from the issues navigation property. This operation retrieves information about all service health issues that exist for the tenant. +// ToGetRequestInformation a collection of service issues for tenant. This property is a contained navigation property, it is nullable and readonly. // returns a *RequestInformation when successful func (m *ServiceAnnouncementIssuesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ServiceAnnouncementIssuesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/service_announcement_issues_service_health_issue_item_request_builder.go b/admin/service_announcement_issues_service_health_issue_item_request_builder.go index 0a9f0aaffc9..c8767f18a19 100644 --- a/admin/service_announcement_issues_service_health_issue_item_request_builder.go +++ b/admin/service_announcement_issues_service_health_issue_item_request_builder.go @@ -18,7 +18,7 @@ type ServiceAnnouncementIssuesServiceHealthIssueItemRequestBuilderDeleteRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ServiceAnnouncementIssuesServiceHealthIssueItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue does not exist for the tenant. +// ServiceAnnouncementIssuesServiceHealthIssueItemRequestBuilderGetQueryParameters a collection of service issues for tenant. This property is a contained navigation property, it is nullable and readonly. type ServiceAnnouncementIssuesServiceHealthIssueItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ServiceAnnouncementIssuesServiceHealthIssueItemRequestBuilder) Delete(c } return nil } -// Get retrieve the properties and relationships of a serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue does not exist for the tenant. +// Get a collection of service issues for tenant. This property is a contained navigation property, it is nullable and readonly. // returns a ServiceHealthIssueable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/servicehealthissue-get?view=graph-rest-1.0 func (m *ServiceAnnouncementIssuesServiceHealthIssueItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ServiceAnnouncementIssuesServiceHealthIssueItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceHealthIssueable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *ServiceAnnouncementIssuesServiceHealthIssueItemRequestBuilder) ToDelete requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue does not exist for the tenant. +// ToGetRequestInformation a collection of service issues for tenant. This property is a contained navigation property, it is nullable and readonly. // returns a *RequestInformation when successful func (m *ServiceAnnouncementIssuesServiceHealthIssueItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ServiceAnnouncementIssuesServiceHealthIssueItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/service_announcement_messages_archive_request_builder.go b/admin/service_announcement_messages_archive_request_builder.go index e8274321c30..69a09f1f08a 100644 --- a/admin/service_announcement_messages_archive_request_builder.go +++ b/admin/service_announcement_messages_archive_request_builder.go @@ -36,7 +36,7 @@ func NewServiceAnnouncementMessagesArchiveRequestBuilder(rawUrl string, requestA // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceupdatemessage-archive?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/serviceupdatemessage-archive?view=graph-rest-beta func (m *ServiceAnnouncementMessagesArchiveRequestBuilder) Post(ctx context.Context, body ServiceAnnouncementMessagesArchivePostRequestBodyable, requestConfiguration *ServiceAnnouncementMessagesArchiveRequestBuilderPostRequestConfiguration)(ServiceAnnouncementMessagesArchiveResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ServiceAnnouncementMessagesArchiveRequestBuilder) Post(ctx context.Cont // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceupdatemessage-archive?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/serviceupdatemessage-archive?view=graph-rest-beta func (m *ServiceAnnouncementMessagesArchiveRequestBuilder) PostAsArchivePostResponse(ctx context.Context, body ServiceAnnouncementMessagesArchivePostRequestBodyable, requestConfiguration *ServiceAnnouncementMessagesArchiveRequestBuilderPostRequestConfiguration)(ServiceAnnouncementMessagesArchivePostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/admin/service_announcement_messages_favorite_request_builder.go b/admin/service_announcement_messages_favorite_request_builder.go index 44655396379..dc1d2839b44 100644 --- a/admin/service_announcement_messages_favorite_request_builder.go +++ b/admin/service_announcement_messages_favorite_request_builder.go @@ -36,7 +36,7 @@ func NewServiceAnnouncementMessagesFavoriteRequestBuilder(rawUrl string, request // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceupdatemessage-favorite?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/serviceupdatemessage-favorite?view=graph-rest-beta func (m *ServiceAnnouncementMessagesFavoriteRequestBuilder) Post(ctx context.Context, body ServiceAnnouncementMessagesFavoritePostRequestBodyable, requestConfiguration *ServiceAnnouncementMessagesFavoriteRequestBuilderPostRequestConfiguration)(ServiceAnnouncementMessagesFavoriteResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ServiceAnnouncementMessagesFavoriteRequestBuilder) Post(ctx context.Con // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceupdatemessage-favorite?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/serviceupdatemessage-favorite?view=graph-rest-beta func (m *ServiceAnnouncementMessagesFavoriteRequestBuilder) PostAsFavoritePostResponse(ctx context.Context, body ServiceAnnouncementMessagesFavoritePostRequestBodyable, requestConfiguration *ServiceAnnouncementMessagesFavoriteRequestBuilderPostRequestConfiguration)(ServiceAnnouncementMessagesFavoritePostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/admin/service_announcement_messages_item_attachments_archive_request_builder.go b/admin/service_announcement_messages_item_attachments_archive_request_builder.go index 36a99391fe5..56a0ea8898a 100644 --- a/admin/service_announcement_messages_item_attachments_archive_request_builder.go +++ b/admin/service_announcement_messages_item_attachments_archive_request_builder.go @@ -40,9 +40,6 @@ func NewServiceAnnouncementMessagesItemAttachmentsArchiveRequestBuilder(rawUrl s // Get the zip file of all attachments for a message. // 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/serviceannouncement-list-messages?view=graph-rest-1.0 func (m *ServiceAnnouncementMessagesItemAttachmentsArchiveRequestBuilder) Get(ctx context.Context, requestConfiguration *ServiceAnnouncementMessagesItemAttachmentsArchiveRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/admin/service_announcement_messages_item_attachments_item_content_request_builder.go b/admin/service_announcement_messages_item_attachments_item_content_request_builder.go index ac933d430c8..cb3a25aea9d 100644 --- a/admin/service_announcement_messages_item_attachments_item_content_request_builder.go +++ b/admin/service_announcement_messages_item_attachments_item_content_request_builder.go @@ -41,9 +41,6 @@ func NewServiceAnnouncementMessagesItemAttachmentsItemContentRequestBuilder(rawU // Get the attachment content. // 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/serviceupdatemessage-list-attachments?view=graph-rest-1.0 func (m *ServiceAnnouncementMessagesItemAttachmentsItemContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ServiceAnnouncementMessagesItemAttachmentsItemContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/admin/service_announcement_messages_item_attachments_request_builder.go b/admin/service_announcement_messages_item_attachments_request_builder.go index 2452f4c7964..1feae499654 100644 --- a/admin/service_announcement_messages_item_attachments_request_builder.go +++ b/admin/service_announcement_messages_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ServiceAnnouncementMessagesItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ServiceAnnouncementMessagesItemAttachmentsRequestBuilderGetQueryParameters get a list of attachments associated with a service message. +// ServiceAnnouncementMessagesItemAttachmentsRequestBuilderGetQueryParameters a collection of serviceAnnouncementAttachments. type ServiceAnnouncementMessagesItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewServiceAnnouncementMessagesItemAttachmentsRequestBuilder(rawUrl string, func (m *ServiceAnnouncementMessagesItemAttachmentsRequestBuilder) Count()(*ServiceAnnouncementMessagesItemAttachmentsCountRequestBuilder) { return NewServiceAnnouncementMessagesItemAttachmentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of attachments associated with a service message. +// Get a collection of serviceAnnouncementAttachments. // returns a ServiceAnnouncementAttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceupdatemessage-list-attachments?view=graph-rest-1.0 func (m *ServiceAnnouncementMessagesItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ServiceAnnouncementMessagesItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceAnnouncementAttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ServiceAnnouncementMessagesItemAttachmentsRequestBuilder) Post(ctx cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceAnnouncementAttachmentable), nil } -// ToGetRequestInformation get a list of attachments associated with a service message. +// ToGetRequestInformation a collection of serviceAnnouncementAttachments. // returns a *RequestInformation when successful func (m *ServiceAnnouncementMessagesItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ServiceAnnouncementMessagesItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/service_announcement_messages_item_attachments_service_announcement_attachment_item_request_builder.go b/admin/service_announcement_messages_item_attachments_service_announcement_attachment_item_request_builder.go index 54ec566fd4b..8f46ce7eb56 100644 --- a/admin/service_announcement_messages_item_attachments_service_announcement_attachment_item_request_builder.go +++ b/admin/service_announcement_messages_item_attachments_service_announcement_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ServiceAnnouncementMessagesItemAttachmentsServiceAnnouncementAttachmentItem // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ServiceAnnouncementMessagesItemAttachmentsServiceAnnouncementAttachmentItemRequestBuilderGetQueryParameters read the properties and relationships of a serviceAnnouncementAttachment object. +// ServiceAnnouncementMessagesItemAttachmentsServiceAnnouncementAttachmentItemRequestBuilderGetQueryParameters a collection of serviceAnnouncementAttachments. type ServiceAnnouncementMessagesItemAttachmentsServiceAnnouncementAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *ServiceAnnouncementMessagesItemAttachmentsServiceAnnouncementAttachment } return nil } -// Get read the properties and relationships of a serviceAnnouncementAttachment object. +// Get a collection of serviceAnnouncementAttachments. // returns a ServiceAnnouncementAttachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceannouncementattachment-get?view=graph-rest-1.0 func (m *ServiceAnnouncementMessagesItemAttachmentsServiceAnnouncementAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ServiceAnnouncementMessagesItemAttachmentsServiceAnnouncementAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceAnnouncementAttachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *ServiceAnnouncementMessagesItemAttachmentsServiceAnnouncementAttachment requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a serviceAnnouncementAttachment object. +// ToGetRequestInformation a collection of serviceAnnouncementAttachments. // returns a *RequestInformation when successful func (m *ServiceAnnouncementMessagesItemAttachmentsServiceAnnouncementAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ServiceAnnouncementMessagesItemAttachmentsServiceAnnouncementAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/service_announcement_messages_mark_read_request_builder.go b/admin/service_announcement_messages_mark_read_request_builder.go index 7cb754ff5c4..c0b13fd7ce6 100644 --- a/admin/service_announcement_messages_mark_read_request_builder.go +++ b/admin/service_announcement_messages_mark_read_request_builder.go @@ -36,7 +36,7 @@ func NewServiceAnnouncementMessagesMarkReadRequestBuilder(rawUrl string, request // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceupdatemessage-markread?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/serviceupdatemessage-markread?view=graph-rest-beta func (m *ServiceAnnouncementMessagesMarkReadRequestBuilder) Post(ctx context.Context, body ServiceAnnouncementMessagesMarkReadPostRequestBodyable, requestConfiguration *ServiceAnnouncementMessagesMarkReadRequestBuilderPostRequestConfiguration)(ServiceAnnouncementMessagesMarkReadResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ServiceAnnouncementMessagesMarkReadRequestBuilder) Post(ctx context.Con // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceupdatemessage-markread?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/serviceupdatemessage-markread?view=graph-rest-beta func (m *ServiceAnnouncementMessagesMarkReadRequestBuilder) PostAsMarkReadPostResponse(ctx context.Context, body ServiceAnnouncementMessagesMarkReadPostRequestBodyable, requestConfiguration *ServiceAnnouncementMessagesMarkReadRequestBuilderPostRequestConfiguration)(ServiceAnnouncementMessagesMarkReadPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/admin/service_announcement_messages_mark_unread_request_builder.go b/admin/service_announcement_messages_mark_unread_request_builder.go index 87ab2f8fcf6..924c3a2d8ec 100644 --- a/admin/service_announcement_messages_mark_unread_request_builder.go +++ b/admin/service_announcement_messages_mark_unread_request_builder.go @@ -36,7 +36,7 @@ func NewServiceAnnouncementMessagesMarkUnreadRequestBuilder(rawUrl string, reque // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceupdatemessage-markunread?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/serviceupdatemessage-markunread?view=graph-rest-beta func (m *ServiceAnnouncementMessagesMarkUnreadRequestBuilder) Post(ctx context.Context, body ServiceAnnouncementMessagesMarkUnreadPostRequestBodyable, requestConfiguration *ServiceAnnouncementMessagesMarkUnreadRequestBuilderPostRequestConfiguration)(ServiceAnnouncementMessagesMarkUnreadResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ServiceAnnouncementMessagesMarkUnreadRequestBuilder) Post(ctx context.C // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceupdatemessage-markunread?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/serviceupdatemessage-markunread?view=graph-rest-beta func (m *ServiceAnnouncementMessagesMarkUnreadRequestBuilder) PostAsMarkUnreadPostResponse(ctx context.Context, body ServiceAnnouncementMessagesMarkUnreadPostRequestBodyable, requestConfiguration *ServiceAnnouncementMessagesMarkUnreadRequestBuilderPostRequestConfiguration)(ServiceAnnouncementMessagesMarkUnreadPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/admin/service_announcement_messages_request_builder.go b/admin/service_announcement_messages_request_builder.go index 262a99cccd8..6469debe514 100644 --- a/admin/service_announcement_messages_request_builder.go +++ b/admin/service_announcement_messages_request_builder.go @@ -11,7 +11,7 @@ import ( type ServiceAnnouncementMessagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ServiceAnnouncementMessagesRequestBuilderGetQueryParameters retrieve the serviceUpdateMessage resources from the messages navigation property. This operation retrieves all service update messages that exist for the tenant. +// ServiceAnnouncementMessagesRequestBuilderGetQueryParameters a collection of service messages for tenant. This property is a contained navigation property, it is nullable and readonly. type ServiceAnnouncementMessagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -86,12 +86,9 @@ func (m *ServiceAnnouncementMessagesRequestBuilder) Count()(*ServiceAnnouncement func (m *ServiceAnnouncementMessagesRequestBuilder) Favorite()(*ServiceAnnouncementMessagesFavoriteRequestBuilder) { return NewServiceAnnouncementMessagesFavoriteRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the serviceUpdateMessage resources from the messages navigation property. This operation retrieves all service update messages that exist for the tenant. +// Get a collection of service messages for tenant. This property is a contained navigation property, it is nullable and readonly. // returns a ServiceUpdateMessageCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceannouncement-list-messages?view=graph-rest-1.0 func (m *ServiceAnnouncementMessagesRequestBuilder) Get(ctx context.Context, requestConfiguration *ServiceAnnouncementMessagesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceUpdateMessageCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -139,7 +136,7 @@ func (m *ServiceAnnouncementMessagesRequestBuilder) Post(ctx context.Context, bo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceUpdateMessageable), nil } -// ToGetRequestInformation retrieve the serviceUpdateMessage resources from the messages navigation property. This operation retrieves all service update messages that exist for the tenant. +// ToGetRequestInformation a collection of service messages for tenant. This property is a contained navigation property, it is nullable and readonly. // returns a *RequestInformation when successful func (m *ServiceAnnouncementMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ServiceAnnouncementMessagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/service_announcement_messages_service_update_message_item_request_builder.go b/admin/service_announcement_messages_service_update_message_item_request_builder.go index 82c4bd1d428..5f6b1dbcedd 100644 --- a/admin/service_announcement_messages_service_update_message_item_request_builder.go +++ b/admin/service_announcement_messages_service_update_message_item_request_builder.go @@ -18,7 +18,7 @@ type ServiceAnnouncementMessagesServiceUpdateMessageItemRequestBuilderDeleteRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ServiceAnnouncementMessagesServiceUpdateMessageItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message does not exist for the tenant. +// ServiceAnnouncementMessagesServiceUpdateMessageItemRequestBuilderGetQueryParameters a collection of service messages for tenant. This property is a contained navigation property, it is nullable and readonly. type ServiceAnnouncementMessagesServiceUpdateMessageItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -80,12 +80,9 @@ func (m *ServiceAnnouncementMessagesServiceUpdateMessageItemRequestBuilder) Dele } return nil } -// Get retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message does not exist for the tenant. +// Get a collection of service messages for tenant. This property is a contained navigation property, it is nullable and readonly. // returns a ServiceUpdateMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceupdatemessage-get?view=graph-rest-1.0 func (m *ServiceAnnouncementMessagesServiceUpdateMessageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ServiceAnnouncementMessagesServiceUpdateMessageItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceUpdateMessageable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -134,7 +131,7 @@ func (m *ServiceAnnouncementMessagesServiceUpdateMessageItemRequestBuilder) ToDe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message does not exist for the tenant. +// ToGetRequestInformation a collection of service messages for tenant. This property is a contained navigation property, it is nullable and readonly. // returns a *RequestInformation when successful func (m *ServiceAnnouncementMessagesServiceUpdateMessageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ServiceAnnouncementMessagesServiceUpdateMessageItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/service_announcement_messages_unarchive_request_builder.go b/admin/service_announcement_messages_unarchive_request_builder.go index 13c8d418135..5442c0ea0d7 100644 --- a/admin/service_announcement_messages_unarchive_request_builder.go +++ b/admin/service_announcement_messages_unarchive_request_builder.go @@ -36,7 +36,7 @@ func NewServiceAnnouncementMessagesUnarchiveRequestBuilder(rawUrl string, reques // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceupdatemessage-unarchive?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/serviceupdatemessage-unarchive?view=graph-rest-beta func (m *ServiceAnnouncementMessagesUnarchiveRequestBuilder) Post(ctx context.Context, body ServiceAnnouncementMessagesUnarchivePostRequestBodyable, requestConfiguration *ServiceAnnouncementMessagesUnarchiveRequestBuilderPostRequestConfiguration)(ServiceAnnouncementMessagesUnarchiveResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ServiceAnnouncementMessagesUnarchiveRequestBuilder) Post(ctx context.Co // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceupdatemessage-unarchive?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/serviceupdatemessage-unarchive?view=graph-rest-beta func (m *ServiceAnnouncementMessagesUnarchiveRequestBuilder) PostAsUnarchivePostResponse(ctx context.Context, body ServiceAnnouncementMessagesUnarchivePostRequestBodyable, requestConfiguration *ServiceAnnouncementMessagesUnarchiveRequestBuilderPostRequestConfiguration)(ServiceAnnouncementMessagesUnarchivePostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/admin/service_announcement_messages_unfavorite_request_builder.go b/admin/service_announcement_messages_unfavorite_request_builder.go index ce0dc1f11b3..91b7d5c43b2 100644 --- a/admin/service_announcement_messages_unfavorite_request_builder.go +++ b/admin/service_announcement_messages_unfavorite_request_builder.go @@ -36,7 +36,7 @@ func NewServiceAnnouncementMessagesUnfavoriteRequestBuilder(rawUrl string, reque // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceupdatemessage-unfavorite?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/serviceupdatemessage-unfavorite?view=graph-rest-beta func (m *ServiceAnnouncementMessagesUnfavoriteRequestBuilder) Post(ctx context.Context, body ServiceAnnouncementMessagesUnfavoritePostRequestBodyable, requestConfiguration *ServiceAnnouncementMessagesUnfavoriteRequestBuilderPostRequestConfiguration)(ServiceAnnouncementMessagesUnfavoriteResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ServiceAnnouncementMessagesUnfavoriteRequestBuilder) Post(ctx context.C // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceupdatemessage-unfavorite?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/serviceupdatemessage-unfavorite?view=graph-rest-beta func (m *ServiceAnnouncementMessagesUnfavoriteRequestBuilder) PostAsUnfavoritePostResponse(ctx context.Context, body ServiceAnnouncementMessagesUnfavoritePostRequestBodyable, requestConfiguration *ServiceAnnouncementMessagesUnfavoriteRequestBuilderPostRequestConfiguration)(ServiceAnnouncementMessagesUnfavoritePostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/admin/sharepoint_settings_request_builder.go b/admin/sharepoint_settings_request_builder.go index 6202bad95b2..0b4d8437b3b 100644 --- a/admin/sharepoint_settings_request_builder.go +++ b/admin/sharepoint_settings_request_builder.go @@ -18,7 +18,7 @@ type SharepointSettingsRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// SharepointSettingsRequestBuilderGetQueryParameters get the tenant-level settings for SharePoint and OneDrive. +// SharepointSettingsRequestBuilderGetQueryParameters get settings from admin type SharepointSettingsRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *SharepointSettingsRequestBuilder) Delete(ctx context.Context, requestCo } return nil } -// Get get the tenant-level settings for SharePoint and OneDrive. +// Get get settings from admin // returns a SharepointSettingsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sharepointsettings-get?view=graph-rest-1.0 func (m *SharepointSettingsRequestBuilder) Get(ctx context.Context, requestConfiguration *SharepointSettingsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharepointSettingsable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *SharepointSettingsRequestBuilder) Get(ctx context.Context, requestConfi } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharepointSettingsable), nil } -// Patch update one or more tenant-level settings for SharePoint and OneDrive. +// Patch update the navigation property settings in admin // returns a SharepointSettingsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sharepointsettings-update?view=graph-rest-1.0 func (m *SharepointSettingsRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharepointSettingsable, requestConfiguration *SharepointSettingsRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharepointSettingsable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *SharepointSettingsRequestBuilder) ToDeleteRequestInformation(ctx contex requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the tenant-level settings for SharePoint and OneDrive. +// ToGetRequestInformation get settings from admin // returns a *RequestInformation when successful func (m *SharepointSettingsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SharepointSettingsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *SharepointSettingsRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update one or more tenant-level settings for SharePoint and OneDrive. +// ToPatchRequestInformation update the navigation property settings in admin // returns a *RequestInformation when successful func (m *SharepointSettingsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharepointSettingsable, requestConfiguration *SharepointSettingsRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/todo_request_builder.go b/admin/todo_request_builder.go index c4de6e4d50b..8997b342e1e 100644 --- a/admin/todo_request_builder.go +++ b/admin/todo_request_builder.go @@ -18,7 +18,7 @@ type TodoRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TodoRequestBuilderGetQueryParameters read the properties and relationships of a adminTodo object. +// TodoRequestBuilderGetQueryParameters get todo from admin type TodoRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *TodoRequestBuilder) Delete(ctx context.Context, requestConfiguration *T } return nil } -// Get read the properties and relationships of a adminTodo object. +// Get get todo from admin // returns a AdminTodoable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/admintodo-get?view=graph-rest-1.0 func (m *TodoRequestBuilder) Get(ctx context.Context, requestConfiguration *TodoRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdminTodoable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *TodoRequestBuilder) Get(ctx context.Context, requestConfiguration *Todo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdminTodoable), nil } -// Patch update the properties of a adminTodo object. +// Patch update the navigation property todo in admin // returns a AdminTodoable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/admintodo-update?view=graph-rest-1.0 func (m *TodoRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdminTodoable, requestConfiguration *TodoRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdminTodoable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *TodoRequestBuilder) ToDeleteRequestInformation(ctx context.Context, req requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a adminTodo object. +// ToGetRequestInformation get todo from admin // returns a *RequestInformation when successful func (m *TodoRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TodoRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *TodoRequestBuilder) ToGetRequestInformation(ctx context.Context, reques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a adminTodo object. +// ToPatchRequestInformation update the navigation property todo in admin // returns a *RequestInformation when successful func (m *TodoRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdminTodoable, requestConfiguration *TodoRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/windows_updates_catalog_entries_request_builder.go b/admin/windows_updates_catalog_entries_request_builder.go index 5262c6ecff7..10a429aed97 100644 --- a/admin/windows_updates_catalog_entries_request_builder.go +++ b/admin/windows_updates_catalog_entries_request_builder.go @@ -11,7 +11,7 @@ import ( type WindowsUpdatesCatalogEntriesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// WindowsUpdatesCatalogEntriesRequestBuilderGetQueryParameters get a list of catalogEntry resources from the catalog. Currently, this operation returns entries of the featureUpdateCatalogEntry or qualityUpdateCatalog types, inherited from catalogEntry. +// WindowsUpdatesCatalogEntriesRequestBuilderGetQueryParameters lists the content that you can approve for deployment. Read-only. type WindowsUpdatesCatalogEntriesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewWindowsUpdatesCatalogEntriesRequestBuilder(rawUrl string, requestAdapter func (m *WindowsUpdatesCatalogEntriesRequestBuilder) Count()(*WindowsUpdatesCatalogEntriesCountRequestBuilder) { return NewWindowsUpdatesCatalogEntriesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of catalogEntry resources from the catalog. Currently, this operation returns entries of the featureUpdateCatalogEntry or qualityUpdateCatalog types, inherited from catalogEntry. +// Get lists the content that you can approve for deployment. Read-only. // returns a CatalogEntryCollectionResponseable when successful // returns a ODataError error 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-catalog-list-entries?view=graph-rest-1.0 func (m *WindowsUpdatesCatalogEntriesRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsUpdatesCatalogEntriesRequestBuilderGetRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.CatalogEntryCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *WindowsUpdatesCatalogEntriesRequestBuilder) Post(ctx context.Context, b } return res.(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.CatalogEntryable), nil } -// ToGetRequestInformation get a list of catalogEntry resources from the catalog. Currently, this operation returns entries of the featureUpdateCatalogEntry or qualityUpdateCatalog types, inherited from catalogEntry. +// ToGetRequestInformation lists the content that you can approve for deployment. Read-only. // returns a *RequestInformation when successful func (m *WindowsUpdatesCatalogEntriesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesCatalogEntriesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/windows_updates_deployment_audiences_deployment_audience_item_request_builder.go b/admin/windows_updates_deployment_audiences_deployment_audience_item_request_builder.go index 5dac78887c1..a5d21b5e340 100644 --- a/admin/windows_updates_deployment_audiences_deployment_audience_item_request_builder.go +++ b/admin/windows_updates_deployment_audiences_deployment_audience_item_request_builder.go @@ -18,7 +18,7 @@ type WindowsUpdatesDeploymentAudiencesDeploymentAudienceItemRequestBuilderDelete // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// WindowsUpdatesDeploymentAudiencesDeploymentAudienceItemRequestBuilderGetQueryParameters read the properties and relationships of a deploymentAudience object. +// WindowsUpdatesDeploymentAudiencesDeploymentAudienceItemRequestBuilderGetQueryParameters the set of updatableAsset resources to which a deployment can apply. type WindowsUpdatesDeploymentAudiencesDeploymentAudienceItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewWindowsUpdatesDeploymentAudiencesDeploymentAudienceItemRequestBuilder(ra urlParams["request-raw-url"] = rawUrl return NewWindowsUpdatesDeploymentAudiencesDeploymentAudienceItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a deploymentAudience object. +// Delete delete navigation property deploymentAudiences for admin // returns a ODataError error 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-deploymentaudience-delete?view=graph-rest-1.0 func (m *WindowsUpdatesDeploymentAudiencesDeploymentAudienceItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *WindowsUpdatesDeploymentAudiencesDeploymentAudienceItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -83,12 +80,9 @@ func (m *WindowsUpdatesDeploymentAudiencesDeploymentAudienceItemRequestBuilder) func (m *WindowsUpdatesDeploymentAudiencesDeploymentAudienceItemRequestBuilder) Exclusions()(*WindowsUpdatesDeploymentAudiencesItemExclusionsRequestBuilder) { return NewWindowsUpdatesDeploymentAudiencesItemExclusionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of a deploymentAudience object. +// Get the set of updatableAsset resources to which a deployment can apply. // returns a DeploymentAudienceable when successful // returns a ODataError error 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-deploymentaudience-get?view=graph-rest-1.0 func (m *WindowsUpdatesDeploymentAudiencesDeploymentAudienceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsUpdatesDeploymentAudiencesDeploymentAudienceItemRequestBuilderGetRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.DeploymentAudienceable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -141,7 +135,7 @@ func (m *WindowsUpdatesDeploymentAudiencesDeploymentAudienceItemRequestBuilder) } return res.(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.DeploymentAudienceable), nil } -// ToDeleteRequestInformation delete a deploymentAudience object. +// ToDeleteRequestInformation delete navigation property deploymentAudiences for admin // returns a *RequestInformation when successful func (m *WindowsUpdatesDeploymentAudiencesDeploymentAudienceItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesDeploymentAudiencesDeploymentAudienceItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -152,7 +146,7 @@ func (m *WindowsUpdatesDeploymentAudiencesDeploymentAudienceItemRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a deploymentAudience object. +// ToGetRequestInformation the set of updatableAsset resources to which a deployment can apply. // returns a *RequestInformation when successful func (m *WindowsUpdatesDeploymentAudiencesDeploymentAudienceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesDeploymentAudiencesDeploymentAudienceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/windows_updates_deployment_audiences_item_exclusions_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go b/admin/windows_updates_deployment_audiences_item_exclusions_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go index 85183eab3ed..7be94548898 100644 --- a/admin/windows_updates_deployment_audiences_item_exclusions_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go +++ b/admin/windows_updates_deployment_audiences_item_exclusions_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go @@ -34,7 +34,7 @@ func NewWindowsUpdatesDeploymentAudiencesItemExclusionsItemMicrosoftGraphWindows // returns a ODataError error 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-addmembersbyid?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-addmembersbyid?view=graph-rest-beta func (m *WindowsUpdatesDeploymentAudiencesItemExclusionsItemMicrosoftGraphWindowsUpdatesAddMembersByIdRequestBuilder) Post(ctx context.Context, body WindowsUpdatesDeploymentAudiencesItemExclusionsItemMicrosoftGraphWindowsUpdatesAddMembersByIdAddMembersByIdPostRequestBodyable, requestConfiguration *WindowsUpdatesDeploymentAudiencesItemExclusionsItemMicrosoftGraphWindowsUpdatesAddMembersByIdRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/admin/windows_updates_deployment_audiences_item_exclusions_item_microsoft_graph_windows_updates_add_members_request_builder.go b/admin/windows_updates_deployment_audiences_item_exclusions_item_microsoft_graph_windows_updates_add_members_request_builder.go index 415c311ab76..db08e9a7572 100644 --- a/admin/windows_updates_deployment_audiences_item_exclusions_item_microsoft_graph_windows_updates_add_members_request_builder.go +++ b/admin/windows_updates_deployment_audiences_item_exclusions_item_microsoft_graph_windows_updates_add_members_request_builder.go @@ -34,7 +34,7 @@ func NewWindowsUpdatesDeploymentAudiencesItemExclusionsItemMicrosoftGraphWindows // returns a ODataError error 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-addmembers?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-addmembers?view=graph-rest-beta func (m *WindowsUpdatesDeploymentAudiencesItemExclusionsItemMicrosoftGraphWindowsUpdatesAddMembersRequestBuilder) Post(ctx context.Context, body WindowsUpdatesDeploymentAudiencesItemExclusionsItemMicrosoftGraphWindowsUpdatesAddMembersAddMembersPostRequestBodyable, requestConfiguration *WindowsUpdatesDeploymentAudiencesItemExclusionsItemMicrosoftGraphWindowsUpdatesAddMembersRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/admin/windows_updates_deployment_audiences_item_exclusions_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go b/admin/windows_updates_deployment_audiences_item_exclusions_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go index 005ab7571a4..79769855db7 100644 --- a/admin/windows_updates_deployment_audiences_item_exclusions_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go +++ b/admin/windows_updates_deployment_audiences_item_exclusions_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go @@ -34,7 +34,7 @@ func NewWindowsUpdatesDeploymentAudiencesItemExclusionsItemMicrosoftGraphWindows // returns a ODataError error 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-removemembersbyid?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-removemembersbyid?view=graph-rest-beta func (m *WindowsUpdatesDeploymentAudiencesItemExclusionsItemMicrosoftGraphWindowsUpdatesRemoveMembersByIdRequestBuilder) Post(ctx context.Context, body WindowsUpdatesDeploymentAudiencesItemExclusionsItemMicrosoftGraphWindowsUpdatesRemoveMembersByIdRemoveMembersByIdPostRequestBodyable, requestConfiguration *WindowsUpdatesDeploymentAudiencesItemExclusionsItemMicrosoftGraphWindowsUpdatesRemoveMembersByIdRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/admin/windows_updates_deployment_audiences_item_exclusions_item_microsoft_graph_windows_updates_remove_members_request_builder.go b/admin/windows_updates_deployment_audiences_item_exclusions_item_microsoft_graph_windows_updates_remove_members_request_builder.go index d38d752b1e3..96b44431809 100644 --- a/admin/windows_updates_deployment_audiences_item_exclusions_item_microsoft_graph_windows_updates_remove_members_request_builder.go +++ b/admin/windows_updates_deployment_audiences_item_exclusions_item_microsoft_graph_windows_updates_remove_members_request_builder.go @@ -34,7 +34,7 @@ func NewWindowsUpdatesDeploymentAudiencesItemExclusionsItemMicrosoftGraphWindows // returns a ODataError error 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-removemembers?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-removemembers?view=graph-rest-beta func (m *WindowsUpdatesDeploymentAudiencesItemExclusionsItemMicrosoftGraphWindowsUpdatesRemoveMembersRequestBuilder) Post(ctx context.Context, body WindowsUpdatesDeploymentAudiencesItemExclusionsItemMicrosoftGraphWindowsUpdatesRemoveMembersRemoveMembersPostRequestBodyable, requestConfiguration *WindowsUpdatesDeploymentAudiencesItemExclusionsItemMicrosoftGraphWindowsUpdatesRemoveMembersRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/admin/windows_updates_deployment_audiences_item_exclusions_request_builder.go b/admin/windows_updates_deployment_audiences_item_exclusions_request_builder.go index 2badde0e528..2599d50cda6 100644 --- a/admin/windows_updates_deployment_audiences_item_exclusions_request_builder.go +++ b/admin/windows_updates_deployment_audiences_item_exclusions_request_builder.go @@ -11,7 +11,7 @@ import ( type WindowsUpdatesDeploymentAudiencesItemExclusionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// WindowsUpdatesDeploymentAudiencesItemExclusionsRequestBuilderGetQueryParameters list the updatableAsset resources that are excluded from a deploymentAudience. +// WindowsUpdatesDeploymentAudiencesItemExclusionsRequestBuilderGetQueryParameters specifies the assets to exclude from the audience. type WindowsUpdatesDeploymentAudiencesItemExclusionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewWindowsUpdatesDeploymentAudiencesItemExclusionsRequestBuilder(rawUrl str func (m *WindowsUpdatesDeploymentAudiencesItemExclusionsRequestBuilder) Count()(*WindowsUpdatesDeploymentAudiencesItemExclusionsCountRequestBuilder) { return NewWindowsUpdatesDeploymentAudiencesItemExclusionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list the updatableAsset resources that are excluded from a deploymentAudience. +// Get specifies the assets to exclude from the audience. // returns a UpdatableAssetCollectionResponseable when successful // returns a ODataError error 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-deploymentaudience-list-exclusions?view=graph-rest-1.0 func (m *WindowsUpdatesDeploymentAudiencesItemExclusionsRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsUpdatesDeploymentAudiencesItemExclusionsRequestBuilderGetRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.UpdatableAssetCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -139,7 +136,7 @@ func (m *WindowsUpdatesDeploymentAudiencesItemExclusionsRequestBuilder) Post(ctx } return res.(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.UpdatableAssetable), nil } -// ToGetRequestInformation list the updatableAsset resources that are excluded from a deploymentAudience. +// ToGetRequestInformation specifies the assets to exclude from the audience. // returns a *RequestInformation when successful func (m *WindowsUpdatesDeploymentAudiencesItemExclusionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesDeploymentAudiencesItemExclusionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/windows_updates_deployment_audiences_item_members_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go b/admin/windows_updates_deployment_audiences_item_members_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go index a8ca60e3cdd..bc7d7f1918b 100644 --- a/admin/windows_updates_deployment_audiences_item_members_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go +++ b/admin/windows_updates_deployment_audiences_item_members_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go @@ -34,7 +34,7 @@ func NewWindowsUpdatesDeploymentAudiencesItemMembersItemMicrosoftGraphWindowsUpd // returns a ODataError error 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-addmembersbyid?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-addmembersbyid?view=graph-rest-beta func (m *WindowsUpdatesDeploymentAudiencesItemMembersItemMicrosoftGraphWindowsUpdatesAddMembersByIdRequestBuilder) Post(ctx context.Context, body WindowsUpdatesDeploymentAudiencesItemMembersItemMicrosoftGraphWindowsUpdatesAddMembersByIdAddMembersByIdPostRequestBodyable, requestConfiguration *WindowsUpdatesDeploymentAudiencesItemMembersItemMicrosoftGraphWindowsUpdatesAddMembersByIdRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/admin/windows_updates_deployment_audiences_item_members_item_microsoft_graph_windows_updates_add_members_request_builder.go b/admin/windows_updates_deployment_audiences_item_members_item_microsoft_graph_windows_updates_add_members_request_builder.go index 4cbc652b89d..48734da8081 100644 --- a/admin/windows_updates_deployment_audiences_item_members_item_microsoft_graph_windows_updates_add_members_request_builder.go +++ b/admin/windows_updates_deployment_audiences_item_members_item_microsoft_graph_windows_updates_add_members_request_builder.go @@ -34,7 +34,7 @@ func NewWindowsUpdatesDeploymentAudiencesItemMembersItemMicrosoftGraphWindowsUpd // returns a ODataError error 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-addmembers?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-addmembers?view=graph-rest-beta func (m *WindowsUpdatesDeploymentAudiencesItemMembersItemMicrosoftGraphWindowsUpdatesAddMembersRequestBuilder) Post(ctx context.Context, body WindowsUpdatesDeploymentAudiencesItemMembersItemMicrosoftGraphWindowsUpdatesAddMembersAddMembersPostRequestBodyable, requestConfiguration *WindowsUpdatesDeploymentAudiencesItemMembersItemMicrosoftGraphWindowsUpdatesAddMembersRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/admin/windows_updates_deployment_audiences_item_members_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go b/admin/windows_updates_deployment_audiences_item_members_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go index a22b7c4a9af..eebcd40a882 100644 --- a/admin/windows_updates_deployment_audiences_item_members_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go +++ b/admin/windows_updates_deployment_audiences_item_members_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go @@ -34,7 +34,7 @@ func NewWindowsUpdatesDeploymentAudiencesItemMembersItemMicrosoftGraphWindowsUpd // returns a ODataError error 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-removemembersbyid?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-removemembersbyid?view=graph-rest-beta func (m *WindowsUpdatesDeploymentAudiencesItemMembersItemMicrosoftGraphWindowsUpdatesRemoveMembersByIdRequestBuilder) Post(ctx context.Context, body WindowsUpdatesDeploymentAudiencesItemMembersItemMicrosoftGraphWindowsUpdatesRemoveMembersByIdRemoveMembersByIdPostRequestBodyable, requestConfiguration *WindowsUpdatesDeploymentAudiencesItemMembersItemMicrosoftGraphWindowsUpdatesRemoveMembersByIdRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/admin/windows_updates_deployment_audiences_item_members_item_microsoft_graph_windows_updates_remove_members_request_builder.go b/admin/windows_updates_deployment_audiences_item_members_item_microsoft_graph_windows_updates_remove_members_request_builder.go index d5613647ada..a4393899732 100644 --- a/admin/windows_updates_deployment_audiences_item_members_item_microsoft_graph_windows_updates_remove_members_request_builder.go +++ b/admin/windows_updates_deployment_audiences_item_members_item_microsoft_graph_windows_updates_remove_members_request_builder.go @@ -34,7 +34,7 @@ func NewWindowsUpdatesDeploymentAudiencesItemMembersItemMicrosoftGraphWindowsUpd // returns a ODataError error 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-removemembers?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-removemembers?view=graph-rest-beta func (m *WindowsUpdatesDeploymentAudiencesItemMembersItemMicrosoftGraphWindowsUpdatesRemoveMembersRequestBuilder) Post(ctx context.Context, body WindowsUpdatesDeploymentAudiencesItemMembersItemMicrosoftGraphWindowsUpdatesRemoveMembersRemoveMembersPostRequestBodyable, requestConfiguration *WindowsUpdatesDeploymentAudiencesItemMembersItemMicrosoftGraphWindowsUpdatesRemoveMembersRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/admin/windows_updates_deployment_audiences_item_members_request_builder.go b/admin/windows_updates_deployment_audiences_item_members_request_builder.go index f4e06973e43..2f75a3483d1 100644 --- a/admin/windows_updates_deployment_audiences_item_members_request_builder.go +++ b/admin/windows_updates_deployment_audiences_item_members_request_builder.go @@ -11,7 +11,7 @@ import ( type WindowsUpdatesDeploymentAudiencesItemMembersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// WindowsUpdatesDeploymentAudiencesItemMembersRequestBuilderGetQueryParameters list the updatableAsset resources that are members of a deploymentAudience. +// WindowsUpdatesDeploymentAudiencesItemMembersRequestBuilderGetQueryParameters specifies the assets to include in the audience. type WindowsUpdatesDeploymentAudiencesItemMembersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewWindowsUpdatesDeploymentAudiencesItemMembersRequestBuilder(rawUrl string func (m *WindowsUpdatesDeploymentAudiencesItemMembersRequestBuilder) Count()(*WindowsUpdatesDeploymentAudiencesItemMembersCountRequestBuilder) { return NewWindowsUpdatesDeploymentAudiencesItemMembersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list the updatableAsset resources that are members of a deploymentAudience. +// Get specifies the assets to include in the audience. // returns a UpdatableAssetCollectionResponseable when successful // returns a ODataError error 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-deploymentaudience-list-members?view=graph-rest-1.0 func (m *WindowsUpdatesDeploymentAudiencesItemMembersRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsUpdatesDeploymentAudiencesItemMembersRequestBuilderGetRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.UpdatableAssetCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -139,7 +136,7 @@ func (m *WindowsUpdatesDeploymentAudiencesItemMembersRequestBuilder) Post(ctx co } return res.(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.UpdatableAssetable), nil } -// ToGetRequestInformation list the updatableAsset resources that are members of a deploymentAudience. +// ToGetRequestInformation specifies the assets to include in the audience. // returns a *RequestInformation when successful func (m *WindowsUpdatesDeploymentAudiencesItemMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesDeploymentAudiencesItemMembersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/windows_updates_deployment_audiences_item_microsoft_graph_windows_updates_update_audience_by_id_request_builder.go b/admin/windows_updates_deployment_audiences_item_microsoft_graph_windows_updates_update_audience_by_id_request_builder.go index c47ce2fe1b7..f55d99914eb 100644 --- a/admin/windows_updates_deployment_audiences_item_microsoft_graph_windows_updates_update_audience_by_id_request_builder.go +++ b/admin/windows_updates_deployment_audiences_item_microsoft_graph_windows_updates_update_audience_by_id_request_builder.go @@ -34,7 +34,7 @@ func NewWindowsUpdatesDeploymentAudiencesItemMicrosoftGraphWindowsUpdatesUpdateA // returns a ODataError error 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-deploymentaudience-updateaudiencebyid?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-deploymentaudience-updateaudiencebyid?view=graph-rest-beta func (m *WindowsUpdatesDeploymentAudiencesItemMicrosoftGraphWindowsUpdatesUpdateAudienceByIdRequestBuilder) Post(ctx context.Context, body WindowsUpdatesDeploymentAudiencesItemMicrosoftGraphWindowsUpdatesUpdateAudienceByIdUpdateAudienceByIdPostRequestBodyable, requestConfiguration *WindowsUpdatesDeploymentAudiencesItemMicrosoftGraphWindowsUpdatesUpdateAudienceByIdRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/admin/windows_updates_deployment_audiences_item_microsoft_graph_windows_updates_update_audience_request_builder.go b/admin/windows_updates_deployment_audiences_item_microsoft_graph_windows_updates_update_audience_request_builder.go index ec891b8cf6e..effa3da791d 100644 --- a/admin/windows_updates_deployment_audiences_item_microsoft_graph_windows_updates_update_audience_request_builder.go +++ b/admin/windows_updates_deployment_audiences_item_microsoft_graph_windows_updates_update_audience_request_builder.go @@ -34,7 +34,7 @@ func NewWindowsUpdatesDeploymentAudiencesItemMicrosoftGraphWindowsUpdatesUpdateA // returns a ODataError error 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-deploymentaudience-updateaudience?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-deploymentaudience-updateaudience?view=graph-rest-beta func (m *WindowsUpdatesDeploymentAudiencesItemMicrosoftGraphWindowsUpdatesUpdateAudienceRequestBuilder) Post(ctx context.Context, body WindowsUpdatesDeploymentAudiencesItemMicrosoftGraphWindowsUpdatesUpdateAudienceUpdateAudiencePostRequestBodyable, requestConfiguration *WindowsUpdatesDeploymentAudiencesItemMicrosoftGraphWindowsUpdatesUpdateAudienceRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/admin/windows_updates_deployment_audiences_request_builder.go b/admin/windows_updates_deployment_audiences_request_builder.go index 24426d25eaa..affe7d5d436 100644 --- a/admin/windows_updates_deployment_audiences_request_builder.go +++ b/admin/windows_updates_deployment_audiences_request_builder.go @@ -11,7 +11,7 @@ import ( type WindowsUpdatesDeploymentAudiencesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// WindowsUpdatesDeploymentAudiencesRequestBuilderGetQueryParameters get a list of deploymentAudience objects and their properties. +// WindowsUpdatesDeploymentAudiencesRequestBuilderGetQueryParameters the set of updatableAsset resources to which a deployment can apply. type WindowsUpdatesDeploymentAudiencesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewWindowsUpdatesDeploymentAudiencesRequestBuilder(rawUrl string, requestAd func (m *WindowsUpdatesDeploymentAudiencesRequestBuilder) Count()(*WindowsUpdatesDeploymentAudiencesCountRequestBuilder) { return NewWindowsUpdatesDeploymentAudiencesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of deploymentAudience objects and their properties. +// Get the set of updatableAsset resources to which a deployment can apply. // returns a DeploymentAudienceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/adminwindowsupdates-list-deploymentaudiences?view=graph-rest-1.0 func (m *WindowsUpdatesDeploymentAudiencesRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsUpdatesDeploymentAudiencesRequestBuilderGetRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.DeploymentAudienceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *WindowsUpdatesDeploymentAudiencesRequestBuilder) Get(ctx context.Contex } return res.(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.DeploymentAudienceCollectionResponseable), nil } -// Post create a new deploymentAudience object. +// Post create new navigation property to deploymentAudiences for admin // returns a DeploymentAudienceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/adminwindowsupdates-post-deploymentaudiences?view=graph-rest-1.0 func (m *WindowsUpdatesDeploymentAudiencesRequestBuilder) Post(ctx context.Context, body i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.DeploymentAudienceable, requestConfiguration *WindowsUpdatesDeploymentAudiencesRequestBuilderPostRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.DeploymentAudienceable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *WindowsUpdatesDeploymentAudiencesRequestBuilder) Post(ctx context.Conte } return res.(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.DeploymentAudienceable), nil } -// ToGetRequestInformation get a list of deploymentAudience objects and their properties. +// ToGetRequestInformation the set of updatableAsset resources to which a deployment can apply. // returns a *RequestInformation when successful func (m *WindowsUpdatesDeploymentAudiencesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesDeploymentAudiencesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *WindowsUpdatesDeploymentAudiencesRequestBuilder) ToGetRequestInformatio requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new deploymentAudience object. +// ToPostRequestInformation create new navigation property to deploymentAudiences for admin // returns a *RequestInformation when successful func (m *WindowsUpdatesDeploymentAudiencesRequestBuilder) ToPostRequestInformation(ctx context.Context, body i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.DeploymentAudienceable, requestConfiguration *WindowsUpdatesDeploymentAudiencesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/windows_updates_deployments_deployment_item_request_builder.go b/admin/windows_updates_deployments_deployment_item_request_builder.go index 7aca39724d0..0d50058116f 100644 --- a/admin/windows_updates_deployments_deployment_item_request_builder.go +++ b/admin/windows_updates_deployments_deployment_item_request_builder.go @@ -18,7 +18,7 @@ type WindowsUpdatesDeploymentsDeploymentItemRequestBuilderDeleteRequestConfigura // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// WindowsUpdatesDeploymentsDeploymentItemRequestBuilderGetQueryParameters read the properties and relationships of a deployment object. +// WindowsUpdatesDeploymentsDeploymentItemRequestBuilderGetQueryParameters deployments created using the deployment service. type WindowsUpdatesDeploymentsDeploymentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewWindowsUpdatesDeploymentsDeploymentItemRequestBuilder(rawUrl string, req urlParams["request-raw-url"] = rawUrl return NewWindowsUpdatesDeploymentsDeploymentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a deployment object. +// Delete delete navigation property deployments for admin // returns a ODataError error 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-deployment-delete?view=graph-rest-1.0 func (m *WindowsUpdatesDeploymentsDeploymentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *WindowsUpdatesDeploymentsDeploymentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *WindowsUpdatesDeploymentsDeploymentItemRequestBuilder) Delete(ctx conte } return nil } -// Get read the properties and relationships of a deployment object. +// Get deployments created using the deployment service. // returns a Deploymentable when successful // returns a ODataError error 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-deployment-get?view=graph-rest-1.0 func (m *WindowsUpdatesDeploymentsDeploymentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsUpdatesDeploymentsDeploymentItemRequestBuilderGetRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.Deploymentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,12 +95,9 @@ func (m *WindowsUpdatesDeploymentsDeploymentItemRequestBuilder) Get(ctx context. } return res.(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.Deploymentable), nil } -// Patch update the properties of a deployment object. +// Patch update the navigation property deployments in admin // returns a Deploymentable when successful // returns a ODataError error 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-deployment-update?view=graph-rest-1.0 func (m *WindowsUpdatesDeploymentsDeploymentItemRequestBuilder) Patch(ctx context.Context, body i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.Deploymentable, requestConfiguration *WindowsUpdatesDeploymentsDeploymentItemRequestBuilderPatchRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.Deploymentable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -124,7 +115,7 @@ func (m *WindowsUpdatesDeploymentsDeploymentItemRequestBuilder) Patch(ctx contex } return res.(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.Deploymentable), nil } -// ToDeleteRequestInformation delete a deployment object. +// ToDeleteRequestInformation delete navigation property deployments for admin // returns a *RequestInformation when successful func (m *WindowsUpdatesDeploymentsDeploymentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesDeploymentsDeploymentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -135,7 +126,7 @@ func (m *WindowsUpdatesDeploymentsDeploymentItemRequestBuilder) ToDeleteRequestI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a deployment object. +// ToGetRequestInformation deployments created using the deployment service. // returns a *RequestInformation when successful func (m *WindowsUpdatesDeploymentsDeploymentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesDeploymentsDeploymentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -149,7 +140,7 @@ func (m *WindowsUpdatesDeploymentsDeploymentItemRequestBuilder) ToGetRequestInfo requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a deployment object. +// ToPatchRequestInformation update the navigation property deployments in admin // returns a *RequestInformation when successful func (m *WindowsUpdatesDeploymentsDeploymentItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.Deploymentable, requestConfiguration *WindowsUpdatesDeploymentsDeploymentItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/windows_updates_deployments_item_audience_exclusions_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go b/admin/windows_updates_deployments_item_audience_exclusions_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go index 287ac022c99..d8cc08462de 100644 --- a/admin/windows_updates_deployments_item_audience_exclusions_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go +++ b/admin/windows_updates_deployments_item_audience_exclusions_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go @@ -34,7 +34,7 @@ func NewWindowsUpdatesDeploymentsItemAudienceExclusionsItemMicrosoftGraphWindows // returns a ODataError error 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-addmembersbyid?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-addmembersbyid?view=graph-rest-beta func (m *WindowsUpdatesDeploymentsItemAudienceExclusionsItemMicrosoftGraphWindowsUpdatesAddMembersByIdRequestBuilder) Post(ctx context.Context, body WindowsUpdatesDeploymentsItemAudienceExclusionsItemMicrosoftGraphWindowsUpdatesAddMembersByIdAddMembersByIdPostRequestBodyable, requestConfiguration *WindowsUpdatesDeploymentsItemAudienceExclusionsItemMicrosoftGraphWindowsUpdatesAddMembersByIdRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/admin/windows_updates_deployments_item_audience_exclusions_item_microsoft_graph_windows_updates_add_members_request_builder.go b/admin/windows_updates_deployments_item_audience_exclusions_item_microsoft_graph_windows_updates_add_members_request_builder.go index 501b8ae8a3b..a2496324aa0 100644 --- a/admin/windows_updates_deployments_item_audience_exclusions_item_microsoft_graph_windows_updates_add_members_request_builder.go +++ b/admin/windows_updates_deployments_item_audience_exclusions_item_microsoft_graph_windows_updates_add_members_request_builder.go @@ -34,7 +34,7 @@ func NewWindowsUpdatesDeploymentsItemAudienceExclusionsItemMicrosoftGraphWindows // returns a ODataError error 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-addmembers?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-addmembers?view=graph-rest-beta func (m *WindowsUpdatesDeploymentsItemAudienceExclusionsItemMicrosoftGraphWindowsUpdatesAddMembersRequestBuilder) Post(ctx context.Context, body WindowsUpdatesDeploymentsItemAudienceExclusionsItemMicrosoftGraphWindowsUpdatesAddMembersAddMembersPostRequestBodyable, requestConfiguration *WindowsUpdatesDeploymentsItemAudienceExclusionsItemMicrosoftGraphWindowsUpdatesAddMembersRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/admin/windows_updates_deployments_item_audience_exclusions_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go b/admin/windows_updates_deployments_item_audience_exclusions_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go index d021e33ec4d..a77ad2dbbe3 100644 --- a/admin/windows_updates_deployments_item_audience_exclusions_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go +++ b/admin/windows_updates_deployments_item_audience_exclusions_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go @@ -34,7 +34,7 @@ func NewWindowsUpdatesDeploymentsItemAudienceExclusionsItemMicrosoftGraphWindows // returns a ODataError error 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-removemembersbyid?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-removemembersbyid?view=graph-rest-beta func (m *WindowsUpdatesDeploymentsItemAudienceExclusionsItemMicrosoftGraphWindowsUpdatesRemoveMembersByIdRequestBuilder) Post(ctx context.Context, body WindowsUpdatesDeploymentsItemAudienceExclusionsItemMicrosoftGraphWindowsUpdatesRemoveMembersByIdRemoveMembersByIdPostRequestBodyable, requestConfiguration *WindowsUpdatesDeploymentsItemAudienceExclusionsItemMicrosoftGraphWindowsUpdatesRemoveMembersByIdRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/admin/windows_updates_deployments_item_audience_exclusions_item_microsoft_graph_windows_updates_remove_members_request_builder.go b/admin/windows_updates_deployments_item_audience_exclusions_item_microsoft_graph_windows_updates_remove_members_request_builder.go index 76d12b92d25..e558b360dcd 100644 --- a/admin/windows_updates_deployments_item_audience_exclusions_item_microsoft_graph_windows_updates_remove_members_request_builder.go +++ b/admin/windows_updates_deployments_item_audience_exclusions_item_microsoft_graph_windows_updates_remove_members_request_builder.go @@ -34,7 +34,7 @@ func NewWindowsUpdatesDeploymentsItemAudienceExclusionsItemMicrosoftGraphWindows // returns a ODataError error 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-removemembers?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-removemembers?view=graph-rest-beta func (m *WindowsUpdatesDeploymentsItemAudienceExclusionsItemMicrosoftGraphWindowsUpdatesRemoveMembersRequestBuilder) Post(ctx context.Context, body WindowsUpdatesDeploymentsItemAudienceExclusionsItemMicrosoftGraphWindowsUpdatesRemoveMembersRemoveMembersPostRequestBodyable, requestConfiguration *WindowsUpdatesDeploymentsItemAudienceExclusionsItemMicrosoftGraphWindowsUpdatesRemoveMembersRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/admin/windows_updates_deployments_item_audience_exclusions_request_builder.go b/admin/windows_updates_deployments_item_audience_exclusions_request_builder.go index 0fa2a5973b2..568035dcd40 100644 --- a/admin/windows_updates_deployments_item_audience_exclusions_request_builder.go +++ b/admin/windows_updates_deployments_item_audience_exclusions_request_builder.go @@ -11,7 +11,7 @@ import ( type WindowsUpdatesDeploymentsItemAudienceExclusionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// WindowsUpdatesDeploymentsItemAudienceExclusionsRequestBuilderGetQueryParameters list the updatableAsset resources that are excluded from a deploymentAudience. +// WindowsUpdatesDeploymentsItemAudienceExclusionsRequestBuilderGetQueryParameters specifies the assets to exclude from the audience. type WindowsUpdatesDeploymentsItemAudienceExclusionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewWindowsUpdatesDeploymentsItemAudienceExclusionsRequestBuilder(rawUrl str func (m *WindowsUpdatesDeploymentsItemAudienceExclusionsRequestBuilder) Count()(*WindowsUpdatesDeploymentsItemAudienceExclusionsCountRequestBuilder) { return NewWindowsUpdatesDeploymentsItemAudienceExclusionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list the updatableAsset resources that are excluded from a deploymentAudience. +// Get specifies the assets to exclude from the audience. // returns a UpdatableAssetCollectionResponseable when successful // returns a ODataError error 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-deploymentaudience-list-exclusions?view=graph-rest-1.0 func (m *WindowsUpdatesDeploymentsItemAudienceExclusionsRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsUpdatesDeploymentsItemAudienceExclusionsRequestBuilderGetRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.UpdatableAssetCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -139,7 +136,7 @@ func (m *WindowsUpdatesDeploymentsItemAudienceExclusionsRequestBuilder) Post(ctx } return res.(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.UpdatableAssetable), nil } -// ToGetRequestInformation list the updatableAsset resources that are excluded from a deploymentAudience. +// ToGetRequestInformation specifies the assets to exclude from the audience. // returns a *RequestInformation when successful func (m *WindowsUpdatesDeploymentsItemAudienceExclusionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesDeploymentsItemAudienceExclusionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/windows_updates_deployments_item_audience_members_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go b/admin/windows_updates_deployments_item_audience_members_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go index 89002e47467..238acb1fe72 100644 --- a/admin/windows_updates_deployments_item_audience_members_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go +++ b/admin/windows_updates_deployments_item_audience_members_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go @@ -34,7 +34,7 @@ func NewWindowsUpdatesDeploymentsItemAudienceMembersItemMicrosoftGraphWindowsUpd // returns a ODataError error 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-addmembersbyid?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-addmembersbyid?view=graph-rest-beta func (m *WindowsUpdatesDeploymentsItemAudienceMembersItemMicrosoftGraphWindowsUpdatesAddMembersByIdRequestBuilder) Post(ctx context.Context, body WindowsUpdatesDeploymentsItemAudienceMembersItemMicrosoftGraphWindowsUpdatesAddMembersByIdAddMembersByIdPostRequestBodyable, requestConfiguration *WindowsUpdatesDeploymentsItemAudienceMembersItemMicrosoftGraphWindowsUpdatesAddMembersByIdRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/admin/windows_updates_deployments_item_audience_members_item_microsoft_graph_windows_updates_add_members_request_builder.go b/admin/windows_updates_deployments_item_audience_members_item_microsoft_graph_windows_updates_add_members_request_builder.go index 6615a44e505..1cf7bbd74bb 100644 --- a/admin/windows_updates_deployments_item_audience_members_item_microsoft_graph_windows_updates_add_members_request_builder.go +++ b/admin/windows_updates_deployments_item_audience_members_item_microsoft_graph_windows_updates_add_members_request_builder.go @@ -34,7 +34,7 @@ func NewWindowsUpdatesDeploymentsItemAudienceMembersItemMicrosoftGraphWindowsUpd // returns a ODataError error 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-addmembers?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-addmembers?view=graph-rest-beta func (m *WindowsUpdatesDeploymentsItemAudienceMembersItemMicrosoftGraphWindowsUpdatesAddMembersRequestBuilder) Post(ctx context.Context, body WindowsUpdatesDeploymentsItemAudienceMembersItemMicrosoftGraphWindowsUpdatesAddMembersAddMembersPostRequestBodyable, requestConfiguration *WindowsUpdatesDeploymentsItemAudienceMembersItemMicrosoftGraphWindowsUpdatesAddMembersRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/admin/windows_updates_deployments_item_audience_members_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go b/admin/windows_updates_deployments_item_audience_members_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go index 74dac9edcc1..b9859d38c15 100644 --- a/admin/windows_updates_deployments_item_audience_members_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go +++ b/admin/windows_updates_deployments_item_audience_members_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go @@ -34,7 +34,7 @@ func NewWindowsUpdatesDeploymentsItemAudienceMembersItemMicrosoftGraphWindowsUpd // returns a ODataError error 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-removemembersbyid?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-removemembersbyid?view=graph-rest-beta func (m *WindowsUpdatesDeploymentsItemAudienceMembersItemMicrosoftGraphWindowsUpdatesRemoveMembersByIdRequestBuilder) Post(ctx context.Context, body WindowsUpdatesDeploymentsItemAudienceMembersItemMicrosoftGraphWindowsUpdatesRemoveMembersByIdRemoveMembersByIdPostRequestBodyable, requestConfiguration *WindowsUpdatesDeploymentsItemAudienceMembersItemMicrosoftGraphWindowsUpdatesRemoveMembersByIdRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/admin/windows_updates_deployments_item_audience_members_item_microsoft_graph_windows_updates_remove_members_request_builder.go b/admin/windows_updates_deployments_item_audience_members_item_microsoft_graph_windows_updates_remove_members_request_builder.go index 01b08793a73..cba2b7b954f 100644 --- a/admin/windows_updates_deployments_item_audience_members_item_microsoft_graph_windows_updates_remove_members_request_builder.go +++ b/admin/windows_updates_deployments_item_audience_members_item_microsoft_graph_windows_updates_remove_members_request_builder.go @@ -34,7 +34,7 @@ func NewWindowsUpdatesDeploymentsItemAudienceMembersItemMicrosoftGraphWindowsUpd // returns a ODataError error 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-removemembers?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-removemembers?view=graph-rest-beta func (m *WindowsUpdatesDeploymentsItemAudienceMembersItemMicrosoftGraphWindowsUpdatesRemoveMembersRequestBuilder) Post(ctx context.Context, body WindowsUpdatesDeploymentsItemAudienceMembersItemMicrosoftGraphWindowsUpdatesRemoveMembersRemoveMembersPostRequestBodyable, requestConfiguration *WindowsUpdatesDeploymentsItemAudienceMembersItemMicrosoftGraphWindowsUpdatesRemoveMembersRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/admin/windows_updates_deployments_item_audience_members_request_builder.go b/admin/windows_updates_deployments_item_audience_members_request_builder.go index 008df5fd93f..45497c8c6cc 100644 --- a/admin/windows_updates_deployments_item_audience_members_request_builder.go +++ b/admin/windows_updates_deployments_item_audience_members_request_builder.go @@ -11,7 +11,7 @@ import ( type WindowsUpdatesDeploymentsItemAudienceMembersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// WindowsUpdatesDeploymentsItemAudienceMembersRequestBuilderGetQueryParameters list the updatableAsset resources that are members of a deploymentAudience. +// WindowsUpdatesDeploymentsItemAudienceMembersRequestBuilderGetQueryParameters specifies the assets to include in the audience. type WindowsUpdatesDeploymentsItemAudienceMembersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewWindowsUpdatesDeploymentsItemAudienceMembersRequestBuilder(rawUrl string func (m *WindowsUpdatesDeploymentsItemAudienceMembersRequestBuilder) Count()(*WindowsUpdatesDeploymentsItemAudienceMembersCountRequestBuilder) { return NewWindowsUpdatesDeploymentsItemAudienceMembersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list the updatableAsset resources that are members of a deploymentAudience. +// Get specifies the assets to include in the audience. // returns a UpdatableAssetCollectionResponseable when successful // returns a ODataError error 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-deploymentaudience-list-members?view=graph-rest-1.0 func (m *WindowsUpdatesDeploymentsItemAudienceMembersRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsUpdatesDeploymentsItemAudienceMembersRequestBuilderGetRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.UpdatableAssetCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -139,7 +136,7 @@ func (m *WindowsUpdatesDeploymentsItemAudienceMembersRequestBuilder) Post(ctx co } return res.(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.UpdatableAssetable), nil } -// ToGetRequestInformation list the updatableAsset resources that are members of a deploymentAudience. +// ToGetRequestInformation specifies the assets to include in the audience. // returns a *RequestInformation when successful func (m *WindowsUpdatesDeploymentsItemAudienceMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesDeploymentsItemAudienceMembersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/windows_updates_deployments_item_audience_microsoft_graph_windows_updates_update_audience_by_id_request_builder.go b/admin/windows_updates_deployments_item_audience_microsoft_graph_windows_updates_update_audience_by_id_request_builder.go index 898f583ecd9..91a5ef37f0a 100644 --- a/admin/windows_updates_deployments_item_audience_microsoft_graph_windows_updates_update_audience_by_id_request_builder.go +++ b/admin/windows_updates_deployments_item_audience_microsoft_graph_windows_updates_update_audience_by_id_request_builder.go @@ -34,7 +34,7 @@ func NewWindowsUpdatesDeploymentsItemAudienceMicrosoftGraphWindowsUpdatesUpdateA // returns a ODataError error 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-deploymentaudience-updateaudiencebyid?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-deploymentaudience-updateaudiencebyid?view=graph-rest-beta func (m *WindowsUpdatesDeploymentsItemAudienceMicrosoftGraphWindowsUpdatesUpdateAudienceByIdRequestBuilder) Post(ctx context.Context, body WindowsUpdatesDeploymentsItemAudienceMicrosoftGraphWindowsUpdatesUpdateAudienceByIdUpdateAudienceByIdPostRequestBodyable, requestConfiguration *WindowsUpdatesDeploymentsItemAudienceMicrosoftGraphWindowsUpdatesUpdateAudienceByIdRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/admin/windows_updates_deployments_item_audience_microsoft_graph_windows_updates_update_audience_request_builder.go b/admin/windows_updates_deployments_item_audience_microsoft_graph_windows_updates_update_audience_request_builder.go index d6562b25cd1..d4b4233c08e 100644 --- a/admin/windows_updates_deployments_item_audience_microsoft_graph_windows_updates_update_audience_request_builder.go +++ b/admin/windows_updates_deployments_item_audience_microsoft_graph_windows_updates_update_audience_request_builder.go @@ -34,7 +34,7 @@ func NewWindowsUpdatesDeploymentsItemAudienceMicrosoftGraphWindowsUpdatesUpdateA // returns a ODataError error 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-deploymentaudience-updateaudience?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-deploymentaudience-updateaudience?view=graph-rest-beta func (m *WindowsUpdatesDeploymentsItemAudienceMicrosoftGraphWindowsUpdatesUpdateAudienceRequestBuilder) Post(ctx context.Context, body WindowsUpdatesDeploymentsItemAudienceMicrosoftGraphWindowsUpdatesUpdateAudienceUpdateAudiencePostRequestBodyable, requestConfiguration *WindowsUpdatesDeploymentsItemAudienceMicrosoftGraphWindowsUpdatesUpdateAudienceRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/admin/windows_updates_deployments_request_builder.go b/admin/windows_updates_deployments_request_builder.go index 384b42dbd8e..0ba468f6bc7 100644 --- a/admin/windows_updates_deployments_request_builder.go +++ b/admin/windows_updates_deployments_request_builder.go @@ -11,7 +11,7 @@ import ( type WindowsUpdatesDeploymentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// WindowsUpdatesDeploymentsRequestBuilderGetQueryParameters get a list of deployment objects and their properties. +// WindowsUpdatesDeploymentsRequestBuilderGetQueryParameters deployments created using the deployment service. type WindowsUpdatesDeploymentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewWindowsUpdatesDeploymentsRequestBuilder(rawUrl string, requestAdapter i2 func (m *WindowsUpdatesDeploymentsRequestBuilder) Count()(*WindowsUpdatesDeploymentsCountRequestBuilder) { return NewWindowsUpdatesDeploymentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of deployment objects and their properties. +// Get deployments created using the deployment service. // returns a DeploymentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/adminwindowsupdates-list-deployments?view=graph-rest-1.0 func (m *WindowsUpdatesDeploymentsRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsUpdatesDeploymentsRequestBuilderGetRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.DeploymentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *WindowsUpdatesDeploymentsRequestBuilder) Get(ctx context.Context, reque } return res.(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.DeploymentCollectionResponseable), nil } -// Post create a new deployment object. +// Post create new navigation property to deployments for admin // returns a Deploymentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/adminwindowsupdates-post-deployments?view=graph-rest-1.0 func (m *WindowsUpdatesDeploymentsRequestBuilder) Post(ctx context.Context, body i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.Deploymentable, requestConfiguration *WindowsUpdatesDeploymentsRequestBuilderPostRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.Deploymentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *WindowsUpdatesDeploymentsRequestBuilder) Post(ctx context.Context, body } return res.(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.Deploymentable), nil } -// ToGetRequestInformation get a list of deployment objects and their properties. +// ToGetRequestInformation deployments created using the deployment service. // returns a *RequestInformation when successful func (m *WindowsUpdatesDeploymentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesDeploymentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *WindowsUpdatesDeploymentsRequestBuilder) ToGetRequestInformation(ctx co requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new deployment object. +// ToPostRequestInformation create new navigation property to deployments for admin // returns a *RequestInformation when successful func (m *WindowsUpdatesDeploymentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.Deploymentable, requestConfiguration *WindowsUpdatesDeploymentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/windows_updates_products_item_microsoft_graph_windows_updates_get_known_issues_by_time_range_with_days_in_past_with_include_all_active_request_builder.go b/admin/windows_updates_products_item_microsoft_graph_windows_updates_get_known_issues_by_time_range_with_days_in_past_with_include_all_active_request_builder.go index 05275fb4998..a26ac1359f5 100644 --- a/admin/windows_updates_products_item_microsoft_graph_windows_updates_get_known_issues_by_time_range_with_days_in_past_with_include_all_active_request_builder.go +++ b/admin/windows_updates_products_item_microsoft_graph_windows_updates_get_known_issues_by_time_range_with_days_in_past_with_include_all_active_request_builder.go @@ -11,7 +11,7 @@ import ( type WindowsUpdatesProductsItemMicrosoftGraphWindowsUpdatesGetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// WindowsUpdatesProductsItemMicrosoftGraphWindowsUpdatesGetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveRequestBuilderGetQueryParameters invoke function getKnownIssuesByTimeRange +// WindowsUpdatesProductsItemMicrosoftGraphWindowsUpdatesGetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveRequestBuilderGetQueryParameters get known issues related to a particular product based on a specified timeframe in the past. type WindowsUpdatesProductsItemMicrosoftGraphWindowsUpdatesGetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -57,10 +57,13 @@ func NewWindowsUpdatesProductsItemMicrosoftGraphWindowsUpdatesGetKnownIssuesByTi urlParams["request-raw-url"] = rawUrl return NewWindowsUpdatesProductsItemMicrosoftGraphWindowsUpdatesGetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function getKnownIssuesByTimeRange +// Get get known issues related to a particular product based on a specified timeframe in the past. // Deprecated: This method is obsolete. Use GetAsGetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveGetResponse instead. // returns a WindowsUpdatesProductsItemMicrosoftGraphWindowsUpdatesGetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveGetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveResponseable when successful // returns a ODataError error 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-product-getknownissuesbytimerange?view=graph-rest-beta func (m *WindowsUpdatesProductsItemMicrosoftGraphWindowsUpdatesGetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsUpdatesProductsItemMicrosoftGraphWindowsUpdatesGetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveRequestBuilderGetRequestConfiguration)(WindowsUpdatesProductsItemMicrosoftGraphWindowsUpdatesGetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveGetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,9 +81,12 @@ func (m *WindowsUpdatesProductsItemMicrosoftGraphWindowsUpdatesGetKnownIssuesByT } return res.(WindowsUpdatesProductsItemMicrosoftGraphWindowsUpdatesGetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveGetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveResponseable), nil } -// GetAsGetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveGetResponse invoke function getKnownIssuesByTimeRange +// GetAsGetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveGetResponse get known issues related to a particular product based on a specified timeframe in the past. // returns a WindowsUpdatesProductsItemMicrosoftGraphWindowsUpdatesGetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveGetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveGetResponseable when successful // returns a ODataError error 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-product-getknownissuesbytimerange?view=graph-rest-beta func (m *WindowsUpdatesProductsItemMicrosoftGraphWindowsUpdatesGetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveRequestBuilder) GetAsGetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveGetResponse(ctx context.Context, requestConfiguration *WindowsUpdatesProductsItemMicrosoftGraphWindowsUpdatesGetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveRequestBuilderGetRequestConfiguration)(WindowsUpdatesProductsItemMicrosoftGraphWindowsUpdatesGetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveGetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,7 +104,7 @@ func (m *WindowsUpdatesProductsItemMicrosoftGraphWindowsUpdatesGetKnownIssuesByT } return res.(WindowsUpdatesProductsItemMicrosoftGraphWindowsUpdatesGetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveGetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveGetResponseable), nil } -// ToGetRequestInformation invoke function getKnownIssuesByTimeRange +// ToGetRequestInformation get known issues related to a particular product based on a specified timeframe in the past. // returns a *RequestInformation when successful func (m *WindowsUpdatesProductsItemMicrosoftGraphWindowsUpdatesGetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesProductsItemMicrosoftGraphWindowsUpdatesGetKnownIssuesByTimeRangeWithDaysInPastWithIncludeAllActiveRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/windows_updates_resource_connections_request_builder.go b/admin/windows_updates_resource_connections_request_builder.go index b5e7319ac89..2dbd3e93804 100644 --- a/admin/windows_updates_resource_connections_request_builder.go +++ b/admin/windows_updates_resource_connections_request_builder.go @@ -11,7 +11,7 @@ import ( type WindowsUpdatesResourceConnectionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// WindowsUpdatesResourceConnectionsRequestBuilderGetQueryParameters get a list of the resourceConnection objects and their properties. +// WindowsUpdatesResourceConnectionsRequestBuilderGetQueryParameters service connections to external resources such as analytics workspaces. type WindowsUpdatesResourceConnectionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewWindowsUpdatesResourceConnectionsRequestBuilder(rawUrl string, requestAd func (m *WindowsUpdatesResourceConnectionsRequestBuilder) Count()(*WindowsUpdatesResourceConnectionsCountRequestBuilder) { return NewWindowsUpdatesResourceConnectionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the resourceConnection objects and their properties. +// Get service connections to external resources such as analytics workspaces. // returns a ResourceConnectionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/adminwindowsupdates-list-resourceconnections?view=graph-rest-1.0 func (m *WindowsUpdatesResourceConnectionsRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsUpdatesResourceConnectionsRequestBuilderGetRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ResourceConnectionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *WindowsUpdatesResourceConnectionsRequestBuilder) Get(ctx context.Contex } return res.(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ResourceConnectionCollectionResponseable), nil } -// Post create a new operationalInsightsConnection object. +// Post create new navigation property to resourceConnections for admin // 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/adminwindowsupdates-post-resourceconnections-operationalinsightsconnection?view=graph-rest-1.0 func (m *WindowsUpdatesResourceConnectionsRequestBuilder) Post(ctx context.Context, body i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ResourceConnectionable, requestConfiguration *WindowsUpdatesResourceConnectionsRequestBuilderPostRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ResourceConnectionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *WindowsUpdatesResourceConnectionsRequestBuilder) Post(ctx context.Conte } return res.(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ResourceConnectionable), nil } -// ToGetRequestInformation get a list of the resourceConnection objects and their properties. +// ToGetRequestInformation service connections to external resources such as analytics workspaces. // returns a *RequestInformation when successful func (m *WindowsUpdatesResourceConnectionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesResourceConnectionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *WindowsUpdatesResourceConnectionsRequestBuilder) ToGetRequestInformatio requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new operationalInsightsConnection object. +// ToPostRequestInformation create new navigation property to resourceConnections for admin // returns a *RequestInformation when successful func (m *WindowsUpdatesResourceConnectionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ResourceConnectionable, requestConfiguration *WindowsUpdatesResourceConnectionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) 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 d011c522668..87ccf25966b 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 service connections to external resources such as analytics workspaces. type WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewWindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilder(ra urlParams["request-raw-url"] = rawUrl return NewWindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a resourceConnection object. +// Delete delete navigation property resourceConnections for admin // returns a ODataError error 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-resourceconnection-delete?view=graph-rest-1.0 func (m *WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilder) } return nil } -// Get read the properties and relationships of an operationalInsightsConnection object. +// Get service connections to external resources such as analytics workspaces. // 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-1.0 func (m *WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilderGetRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ResourceConnectionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -116,7 +110,7 @@ func (m *WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilder) } return res.(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ResourceConnectionable), nil } -// ToDeleteRequestInformation delete a resourceConnection object. +// ToDeleteRequestInformation delete navigation property resourceConnections for admin // returns a *RequestInformation when successful func (m *WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -127,7 +121,7 @@ func (m *WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an operationalInsightsConnection object. +// ToGetRequestInformation service connections to external resources such as analytics workspaces. // 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_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go b/admin/windows_updates_updatable_assets_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go index 6b651cefefd..cc9143839a1 100644 --- a/admin/windows_updates_updatable_assets_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go +++ b/admin/windows_updates_updatable_assets_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go @@ -34,7 +34,7 @@ func NewWindowsUpdatesUpdatableAssetsItemMicrosoftGraphWindowsUpdatesAddMembersB // returns a ODataError error 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-addmembersbyid?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-addmembersbyid?view=graph-rest-beta func (m *WindowsUpdatesUpdatableAssetsItemMicrosoftGraphWindowsUpdatesAddMembersByIdRequestBuilder) Post(ctx context.Context, body WindowsUpdatesUpdatableAssetsItemMicrosoftGraphWindowsUpdatesAddMembersByIdAddMembersByIdPostRequestBodyable, requestConfiguration *WindowsUpdatesUpdatableAssetsItemMicrosoftGraphWindowsUpdatesAddMembersByIdRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/admin/windows_updates_updatable_assets_item_microsoft_graph_windows_updates_add_members_request_builder.go b/admin/windows_updates_updatable_assets_item_microsoft_graph_windows_updates_add_members_request_builder.go index 866c7d883bc..7f6b1b959ce 100644 --- a/admin/windows_updates_updatable_assets_item_microsoft_graph_windows_updates_add_members_request_builder.go +++ b/admin/windows_updates_updatable_assets_item_microsoft_graph_windows_updates_add_members_request_builder.go @@ -34,7 +34,7 @@ func NewWindowsUpdatesUpdatableAssetsItemMicrosoftGraphWindowsUpdatesAddMembersR // returns a ODataError error 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-addmembers?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-addmembers?view=graph-rest-beta func (m *WindowsUpdatesUpdatableAssetsItemMicrosoftGraphWindowsUpdatesAddMembersRequestBuilder) Post(ctx context.Context, body WindowsUpdatesUpdatableAssetsItemMicrosoftGraphWindowsUpdatesAddMembersAddMembersPostRequestBodyable, requestConfiguration *WindowsUpdatesUpdatableAssetsItemMicrosoftGraphWindowsUpdatesAddMembersRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/admin/windows_updates_updatable_assets_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go b/admin/windows_updates_updatable_assets_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go index b40e672e2c7..f6b7e9eddfc 100644 --- a/admin/windows_updates_updatable_assets_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go +++ b/admin/windows_updates_updatable_assets_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go @@ -34,7 +34,7 @@ func NewWindowsUpdatesUpdatableAssetsItemMicrosoftGraphWindowsUpdatesRemoveMembe // returns a ODataError error 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-removemembersbyid?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-removemembersbyid?view=graph-rest-beta func (m *WindowsUpdatesUpdatableAssetsItemMicrosoftGraphWindowsUpdatesRemoveMembersByIdRequestBuilder) Post(ctx context.Context, body WindowsUpdatesUpdatableAssetsItemMicrosoftGraphWindowsUpdatesRemoveMembersByIdRemoveMembersByIdPostRequestBodyable, requestConfiguration *WindowsUpdatesUpdatableAssetsItemMicrosoftGraphWindowsUpdatesRemoveMembersByIdRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/admin/windows_updates_updatable_assets_item_microsoft_graph_windows_updates_remove_members_request_builder.go b/admin/windows_updates_updatable_assets_item_microsoft_graph_windows_updates_remove_members_request_builder.go index 5005bc1bdbd..37e57674ca4 100644 --- a/admin/windows_updates_updatable_assets_item_microsoft_graph_windows_updates_remove_members_request_builder.go +++ b/admin/windows_updates_updatable_assets_item_microsoft_graph_windows_updates_remove_members_request_builder.go @@ -34,7 +34,7 @@ func NewWindowsUpdatesUpdatableAssetsItemMicrosoftGraphWindowsUpdatesRemoveMembe // returns a ODataError error 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-removemembers?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-removemembers?view=graph-rest-beta func (m *WindowsUpdatesUpdatableAssetsItemMicrosoftGraphWindowsUpdatesRemoveMembersRequestBuilder) Post(ctx context.Context, body WindowsUpdatesUpdatableAssetsItemMicrosoftGraphWindowsUpdatesRemoveMembersRemoveMembersPostRequestBodyable, requestConfiguration *WindowsUpdatesUpdatableAssetsItemMicrosoftGraphWindowsUpdatesRemoveMembersRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/admin/windows_updates_updatable_assets_request_builder.go b/admin/windows_updates_updatable_assets_request_builder.go index ca9001ceaa8..77566623880 100644 --- a/admin/windows_updates_updatable_assets_request_builder.go +++ b/admin/windows_updates_updatable_assets_request_builder.go @@ -11,7 +11,7 @@ import ( type WindowsUpdatesUpdatableAssetsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// WindowsUpdatesUpdatableAssetsRequestBuilderGetQueryParameters get a list of updatableAsset objects and their properties. Listing updatable assets returns updatableAsset resources of the following derived types: azureADDevice and updatableAssetGroup. Use list azureADDevice resources or list updatableAssetGroup resources to filter and get resources of only one of the derived types. +// WindowsUpdatesUpdatableAssetsRequestBuilderGetQueryParameters assets registered with the deployment service that can receive updates. type WindowsUpdatesUpdatableAssetsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewWindowsUpdatesUpdatableAssetsRequestBuilder(rawUrl string, requestAdapte func (m *WindowsUpdatesUpdatableAssetsRequestBuilder) Count()(*WindowsUpdatesUpdatableAssetsCountRequestBuilder) { return NewWindowsUpdatesUpdatableAssetsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of updatableAsset objects and their properties. Listing updatable assets returns updatableAsset resources of the following derived types: azureADDevice and updatableAssetGroup. Use list azureADDevice resources or list updatableAssetGroup resources to filter and get resources of only one of the derived types. +// Get assets registered with the deployment service that can receive updates. // returns a UpdatableAssetCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/adminwindowsupdates-list-updatableassets?view=graph-rest-1.0 func (m *WindowsUpdatesUpdatableAssetsRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsUpdatesUpdatableAssetsRequestBuilderGetRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.UpdatableAssetCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,12 +116,9 @@ func (m *WindowsUpdatesUpdatableAssetsRequestBuilder) MicrosoftGraphWindowsUpdat func (m *WindowsUpdatesUpdatableAssetsRequestBuilder) MicrosoftGraphWindowsUpdatesUnenrollAssetsById()(*WindowsUpdatesUpdatableAssetsMicrosoftGraphWindowsUpdatesUnenrollAssetsByIdRequestBuilder) { return NewWindowsUpdatesUpdatableAssetsMicrosoftGraphWindowsUpdatesUnenrollAssetsByIdRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Post create a new updatableAssetGroup object. The updatableAssetGroup resource inherits from updatableAsset. +// Post create new navigation property to updatableAssets for admin // 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/adminwindowsupdates-post-updatableassets-updatableassetgroup?view=graph-rest-1.0 func (m *WindowsUpdatesUpdatableAssetsRequestBuilder) Post(ctx context.Context, body i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.UpdatableAssetable, requestConfiguration *WindowsUpdatesUpdatableAssetsRequestBuilderPostRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.UpdatableAssetable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -142,7 +136,7 @@ func (m *WindowsUpdatesUpdatableAssetsRequestBuilder) Post(ctx context.Context, } return res.(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.UpdatableAssetable), nil } -// ToGetRequestInformation get a list of updatableAsset objects and their properties. Listing updatable assets returns updatableAsset resources of the following derived types: azureADDevice and updatableAssetGroup. Use list azureADDevice resources or list updatableAssetGroup resources to filter and get resources of only one of the derived types. +// ToGetRequestInformation assets registered with the deployment service that can receive updates. // returns a *RequestInformation when successful func (m *WindowsUpdatesUpdatableAssetsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesUpdatableAssetsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -156,7 +150,7 @@ func (m *WindowsUpdatesUpdatableAssetsRequestBuilder) ToGetRequestInformation(ct requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new updatableAssetGroup object. The updatableAssetGroup resource inherits from updatableAsset. +// ToPostRequestInformation create new navigation property to updatableAssets for admin // returns a *RequestInformation when successful func (m *WindowsUpdatesUpdatableAssetsRequestBuilder) ToPostRequestInformation(ctx context.Context, body i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.UpdatableAssetable, requestConfiguration *WindowsUpdatesUpdatableAssetsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, 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 e1abe29f2c6..10933e4bc69 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 of an azureADDevice object. +// WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilderGetQueryParameters assets registered with the deployment service that can receive updates. type WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewWindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilder(rawUrl str urlParams["request-raw-url"] = rawUrl return NewWindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an updatableAsset object. +// Delete delete navigation property updatableAssets for admin // returns a ODataError error 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-updatableasset-delete?view=graph-rest-1.0 func (m *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilder) Delete(c } return nil } -// Get read the properties of an azureADDevice object. +// Get assets registered with the deployment service that can receive updates. // 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-azureaddevice-get?view=graph-rest-1.0 func (m *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilderGetRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.UpdatableAssetable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -136,7 +130,7 @@ func (m *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilder) Patch(ct } return res.(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.UpdatableAssetable), nil } -// ToDeleteRequestInformation delete an updatableAsset object. +// ToDeleteRequestInformation delete navigation property updatableAssets for admin // 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 +141,7 @@ func (m *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilder) ToDelete requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties of an azureADDevice object. +// ToGetRequestInformation assets registered with the deployment service that can receive updates. // 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/admin/windows_updates_update_policies_item_audience_exclusions_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go b/admin/windows_updates_update_policies_item_audience_exclusions_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go index c46f2d05f0f..d587a907e46 100644 --- a/admin/windows_updates_update_policies_item_audience_exclusions_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go +++ b/admin/windows_updates_update_policies_item_audience_exclusions_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go @@ -34,7 +34,7 @@ func NewWindowsUpdatesUpdatePoliciesItemAudienceExclusionsItemMicrosoftGraphWind // returns a ODataError error 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-addmembersbyid?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-addmembersbyid?view=graph-rest-beta func (m *WindowsUpdatesUpdatePoliciesItemAudienceExclusionsItemMicrosoftGraphWindowsUpdatesAddMembersByIdRequestBuilder) Post(ctx context.Context, body WindowsUpdatesUpdatePoliciesItemAudienceExclusionsItemMicrosoftGraphWindowsUpdatesAddMembersByIdAddMembersByIdPostRequestBodyable, requestConfiguration *WindowsUpdatesUpdatePoliciesItemAudienceExclusionsItemMicrosoftGraphWindowsUpdatesAddMembersByIdRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/admin/windows_updates_update_policies_item_audience_exclusions_item_microsoft_graph_windows_updates_add_members_request_builder.go b/admin/windows_updates_update_policies_item_audience_exclusions_item_microsoft_graph_windows_updates_add_members_request_builder.go index 9ca6f137e7b..a11a6c0564e 100644 --- a/admin/windows_updates_update_policies_item_audience_exclusions_item_microsoft_graph_windows_updates_add_members_request_builder.go +++ b/admin/windows_updates_update_policies_item_audience_exclusions_item_microsoft_graph_windows_updates_add_members_request_builder.go @@ -34,7 +34,7 @@ func NewWindowsUpdatesUpdatePoliciesItemAudienceExclusionsItemMicrosoftGraphWind // returns a ODataError error 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-addmembers?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-addmembers?view=graph-rest-beta func (m *WindowsUpdatesUpdatePoliciesItemAudienceExclusionsItemMicrosoftGraphWindowsUpdatesAddMembersRequestBuilder) Post(ctx context.Context, body WindowsUpdatesUpdatePoliciesItemAudienceExclusionsItemMicrosoftGraphWindowsUpdatesAddMembersAddMembersPostRequestBodyable, requestConfiguration *WindowsUpdatesUpdatePoliciesItemAudienceExclusionsItemMicrosoftGraphWindowsUpdatesAddMembersRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/admin/windows_updates_update_policies_item_audience_exclusions_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go b/admin/windows_updates_update_policies_item_audience_exclusions_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go index bee5ac739d2..98c6f1cb44c 100644 --- a/admin/windows_updates_update_policies_item_audience_exclusions_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go +++ b/admin/windows_updates_update_policies_item_audience_exclusions_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go @@ -34,7 +34,7 @@ func NewWindowsUpdatesUpdatePoliciesItemAudienceExclusionsItemMicrosoftGraphWind // returns a ODataError error 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-removemembersbyid?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-removemembersbyid?view=graph-rest-beta func (m *WindowsUpdatesUpdatePoliciesItemAudienceExclusionsItemMicrosoftGraphWindowsUpdatesRemoveMembersByIdRequestBuilder) Post(ctx context.Context, body WindowsUpdatesUpdatePoliciesItemAudienceExclusionsItemMicrosoftGraphWindowsUpdatesRemoveMembersByIdRemoveMembersByIdPostRequestBodyable, requestConfiguration *WindowsUpdatesUpdatePoliciesItemAudienceExclusionsItemMicrosoftGraphWindowsUpdatesRemoveMembersByIdRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/admin/windows_updates_update_policies_item_audience_exclusions_item_microsoft_graph_windows_updates_remove_members_request_builder.go b/admin/windows_updates_update_policies_item_audience_exclusions_item_microsoft_graph_windows_updates_remove_members_request_builder.go index 90bfd265ad2..440767c4f22 100644 --- a/admin/windows_updates_update_policies_item_audience_exclusions_item_microsoft_graph_windows_updates_remove_members_request_builder.go +++ b/admin/windows_updates_update_policies_item_audience_exclusions_item_microsoft_graph_windows_updates_remove_members_request_builder.go @@ -34,7 +34,7 @@ func NewWindowsUpdatesUpdatePoliciesItemAudienceExclusionsItemMicrosoftGraphWind // returns a ODataError error 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-removemembers?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-removemembers?view=graph-rest-beta func (m *WindowsUpdatesUpdatePoliciesItemAudienceExclusionsItemMicrosoftGraphWindowsUpdatesRemoveMembersRequestBuilder) Post(ctx context.Context, body WindowsUpdatesUpdatePoliciesItemAudienceExclusionsItemMicrosoftGraphWindowsUpdatesRemoveMembersRemoveMembersPostRequestBodyable, requestConfiguration *WindowsUpdatesUpdatePoliciesItemAudienceExclusionsItemMicrosoftGraphWindowsUpdatesRemoveMembersRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/admin/windows_updates_update_policies_item_audience_exclusions_request_builder.go b/admin/windows_updates_update_policies_item_audience_exclusions_request_builder.go index 3fd8815318b..5013b9cd732 100644 --- a/admin/windows_updates_update_policies_item_audience_exclusions_request_builder.go +++ b/admin/windows_updates_update_policies_item_audience_exclusions_request_builder.go @@ -11,7 +11,7 @@ import ( type WindowsUpdatesUpdatePoliciesItemAudienceExclusionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// WindowsUpdatesUpdatePoliciesItemAudienceExclusionsRequestBuilderGetQueryParameters list the updatableAsset resources that are excluded from a deploymentAudience. +// WindowsUpdatesUpdatePoliciesItemAudienceExclusionsRequestBuilderGetQueryParameters specifies the assets to exclude from the audience. type WindowsUpdatesUpdatePoliciesItemAudienceExclusionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewWindowsUpdatesUpdatePoliciesItemAudienceExclusionsRequestBuilder(rawUrl func (m *WindowsUpdatesUpdatePoliciesItemAudienceExclusionsRequestBuilder) Count()(*WindowsUpdatesUpdatePoliciesItemAudienceExclusionsCountRequestBuilder) { return NewWindowsUpdatesUpdatePoliciesItemAudienceExclusionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list the updatableAsset resources that are excluded from a deploymentAudience. +// Get specifies the assets to exclude from the audience. // returns a UpdatableAssetCollectionResponseable when successful // returns a ODataError error 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-deploymentaudience-list-exclusions?view=graph-rest-1.0 func (m *WindowsUpdatesUpdatePoliciesItemAudienceExclusionsRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsUpdatesUpdatePoliciesItemAudienceExclusionsRequestBuilderGetRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.UpdatableAssetCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -139,7 +136,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemAudienceExclusionsRequestBuilder) Post( } return res.(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.UpdatableAssetable), nil } -// ToGetRequestInformation list the updatableAsset resources that are excluded from a deploymentAudience. +// ToGetRequestInformation specifies the assets to exclude from the audience. // returns a *RequestInformation when successful func (m *WindowsUpdatesUpdatePoliciesItemAudienceExclusionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesUpdatePoliciesItemAudienceExclusionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/windows_updates_update_policies_item_audience_members_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go b/admin/windows_updates_update_policies_item_audience_members_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go index 4411d4fdfd9..2271eac370a 100644 --- a/admin/windows_updates_update_policies_item_audience_members_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go +++ b/admin/windows_updates_update_policies_item_audience_members_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go @@ -34,7 +34,7 @@ func NewWindowsUpdatesUpdatePoliciesItemAudienceMembersItemMicrosoftGraphWindows // returns a ODataError error 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-addmembersbyid?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-addmembersbyid?view=graph-rest-beta func (m *WindowsUpdatesUpdatePoliciesItemAudienceMembersItemMicrosoftGraphWindowsUpdatesAddMembersByIdRequestBuilder) Post(ctx context.Context, body WindowsUpdatesUpdatePoliciesItemAudienceMembersItemMicrosoftGraphWindowsUpdatesAddMembersByIdAddMembersByIdPostRequestBodyable, requestConfiguration *WindowsUpdatesUpdatePoliciesItemAudienceMembersItemMicrosoftGraphWindowsUpdatesAddMembersByIdRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/admin/windows_updates_update_policies_item_audience_members_item_microsoft_graph_windows_updates_add_members_request_builder.go b/admin/windows_updates_update_policies_item_audience_members_item_microsoft_graph_windows_updates_add_members_request_builder.go index 782592a683d..53b76c71d74 100644 --- a/admin/windows_updates_update_policies_item_audience_members_item_microsoft_graph_windows_updates_add_members_request_builder.go +++ b/admin/windows_updates_update_policies_item_audience_members_item_microsoft_graph_windows_updates_add_members_request_builder.go @@ -34,7 +34,7 @@ func NewWindowsUpdatesUpdatePoliciesItemAudienceMembersItemMicrosoftGraphWindows // returns a ODataError error 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-addmembers?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-addmembers?view=graph-rest-beta func (m *WindowsUpdatesUpdatePoliciesItemAudienceMembersItemMicrosoftGraphWindowsUpdatesAddMembersRequestBuilder) Post(ctx context.Context, body WindowsUpdatesUpdatePoliciesItemAudienceMembersItemMicrosoftGraphWindowsUpdatesAddMembersAddMembersPostRequestBodyable, requestConfiguration *WindowsUpdatesUpdatePoliciesItemAudienceMembersItemMicrosoftGraphWindowsUpdatesAddMembersRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/admin/windows_updates_update_policies_item_audience_members_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go b/admin/windows_updates_update_policies_item_audience_members_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go index 464a5d1220a..444ff1681fd 100644 --- a/admin/windows_updates_update_policies_item_audience_members_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go +++ b/admin/windows_updates_update_policies_item_audience_members_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go @@ -34,7 +34,7 @@ func NewWindowsUpdatesUpdatePoliciesItemAudienceMembersItemMicrosoftGraphWindows // returns a ODataError error 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-removemembersbyid?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-removemembersbyid?view=graph-rest-beta func (m *WindowsUpdatesUpdatePoliciesItemAudienceMembersItemMicrosoftGraphWindowsUpdatesRemoveMembersByIdRequestBuilder) Post(ctx context.Context, body WindowsUpdatesUpdatePoliciesItemAudienceMembersItemMicrosoftGraphWindowsUpdatesRemoveMembersByIdRemoveMembersByIdPostRequestBodyable, requestConfiguration *WindowsUpdatesUpdatePoliciesItemAudienceMembersItemMicrosoftGraphWindowsUpdatesRemoveMembersByIdRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/admin/windows_updates_update_policies_item_audience_members_item_microsoft_graph_windows_updates_remove_members_request_builder.go b/admin/windows_updates_update_policies_item_audience_members_item_microsoft_graph_windows_updates_remove_members_request_builder.go index cb1cda6e362..52a78bdbe59 100644 --- a/admin/windows_updates_update_policies_item_audience_members_item_microsoft_graph_windows_updates_remove_members_request_builder.go +++ b/admin/windows_updates_update_policies_item_audience_members_item_microsoft_graph_windows_updates_remove_members_request_builder.go @@ -34,7 +34,7 @@ func NewWindowsUpdatesUpdatePoliciesItemAudienceMembersItemMicrosoftGraphWindows // returns a ODataError error 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-removemembers?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-removemembers?view=graph-rest-beta func (m *WindowsUpdatesUpdatePoliciesItemAudienceMembersItemMicrosoftGraphWindowsUpdatesRemoveMembersRequestBuilder) Post(ctx context.Context, body WindowsUpdatesUpdatePoliciesItemAudienceMembersItemMicrosoftGraphWindowsUpdatesRemoveMembersRemoveMembersPostRequestBodyable, requestConfiguration *WindowsUpdatesUpdatePoliciesItemAudienceMembersItemMicrosoftGraphWindowsUpdatesRemoveMembersRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/admin/windows_updates_update_policies_item_audience_members_request_builder.go b/admin/windows_updates_update_policies_item_audience_members_request_builder.go index 9689529488d..9c4b0caa452 100644 --- a/admin/windows_updates_update_policies_item_audience_members_request_builder.go +++ b/admin/windows_updates_update_policies_item_audience_members_request_builder.go @@ -11,7 +11,7 @@ import ( type WindowsUpdatesUpdatePoliciesItemAudienceMembersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// WindowsUpdatesUpdatePoliciesItemAudienceMembersRequestBuilderGetQueryParameters list the updatableAsset resources that are members of a deploymentAudience. +// WindowsUpdatesUpdatePoliciesItemAudienceMembersRequestBuilderGetQueryParameters specifies the assets to include in the audience. type WindowsUpdatesUpdatePoliciesItemAudienceMembersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewWindowsUpdatesUpdatePoliciesItemAudienceMembersRequestBuilder(rawUrl str func (m *WindowsUpdatesUpdatePoliciesItemAudienceMembersRequestBuilder) Count()(*WindowsUpdatesUpdatePoliciesItemAudienceMembersCountRequestBuilder) { return NewWindowsUpdatesUpdatePoliciesItemAudienceMembersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list the updatableAsset resources that are members of a deploymentAudience. +// Get specifies the assets to include in the audience. // returns a UpdatableAssetCollectionResponseable when successful // returns a ODataError error 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-deploymentaudience-list-members?view=graph-rest-1.0 func (m *WindowsUpdatesUpdatePoliciesItemAudienceMembersRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsUpdatesUpdatePoliciesItemAudienceMembersRequestBuilderGetRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.UpdatableAssetCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -139,7 +136,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemAudienceMembersRequestBuilder) Post(ctx } return res.(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.UpdatableAssetable), nil } -// ToGetRequestInformation list the updatableAsset resources that are members of a deploymentAudience. +// ToGetRequestInformation specifies the assets to include in the audience. // returns a *RequestInformation when successful func (m *WindowsUpdatesUpdatePoliciesItemAudienceMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesUpdatePoliciesItemAudienceMembersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/windows_updates_update_policies_item_audience_microsoft_graph_windows_updates_update_audience_by_id_request_builder.go b/admin/windows_updates_update_policies_item_audience_microsoft_graph_windows_updates_update_audience_by_id_request_builder.go index 3363ba621b7..3b6120ef6bb 100644 --- a/admin/windows_updates_update_policies_item_audience_microsoft_graph_windows_updates_update_audience_by_id_request_builder.go +++ b/admin/windows_updates_update_policies_item_audience_microsoft_graph_windows_updates_update_audience_by_id_request_builder.go @@ -34,7 +34,7 @@ func NewWindowsUpdatesUpdatePoliciesItemAudienceMicrosoftGraphWindowsUpdatesUpda // returns a ODataError error 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-deploymentaudience-updateaudiencebyid?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-deploymentaudience-updateaudiencebyid?view=graph-rest-beta func (m *WindowsUpdatesUpdatePoliciesItemAudienceMicrosoftGraphWindowsUpdatesUpdateAudienceByIdRequestBuilder) Post(ctx context.Context, body WindowsUpdatesUpdatePoliciesItemAudienceMicrosoftGraphWindowsUpdatesUpdateAudienceByIdUpdateAudienceByIdPostRequestBodyable, requestConfiguration *WindowsUpdatesUpdatePoliciesItemAudienceMicrosoftGraphWindowsUpdatesUpdateAudienceByIdRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/admin/windows_updates_update_policies_item_audience_microsoft_graph_windows_updates_update_audience_request_builder.go b/admin/windows_updates_update_policies_item_audience_microsoft_graph_windows_updates_update_audience_request_builder.go index 267143ecc16..42486ef8de8 100644 --- a/admin/windows_updates_update_policies_item_audience_microsoft_graph_windows_updates_update_audience_request_builder.go +++ b/admin/windows_updates_update_policies_item_audience_microsoft_graph_windows_updates_update_audience_request_builder.go @@ -34,7 +34,7 @@ func NewWindowsUpdatesUpdatePoliciesItemAudienceMicrosoftGraphWindowsUpdatesUpda // returns a ODataError error 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-deploymentaudience-updateaudience?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-deploymentaudience-updateaudience?view=graph-rest-beta func (m *WindowsUpdatesUpdatePoliciesItemAudienceMicrosoftGraphWindowsUpdatesUpdateAudienceRequestBuilder) Post(ctx context.Context, body WindowsUpdatesUpdatePoliciesItemAudienceMicrosoftGraphWindowsUpdatesUpdateAudienceUpdateAudiencePostRequestBodyable, requestConfiguration *WindowsUpdatesUpdatePoliciesItemAudienceMicrosoftGraphWindowsUpdatesUpdateAudienceRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/admin/windows_updates_update_policies_item_compliance_changes_compliance_change_item_request_builder.go b/admin/windows_updates_update_policies_item_compliance_changes_compliance_change_item_request_builder.go index 2deb5996251..e15c2154b69 100644 --- a/admin/windows_updates_update_policies_item_compliance_changes_compliance_change_item_request_builder.go +++ b/admin/windows_updates_update_policies_item_compliance_changes_compliance_change_item_request_builder.go @@ -18,7 +18,7 @@ type WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRequestBuilderGetQueryParameters read the properties and relationships of a contentApproval object. +// WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRequestBuilderGetQueryParameters compliance changes like content approvals which result in the automatic creation of deployments using the audience and deploymentSettings of the policy. type WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewWindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemReq urlParams["request-raw-url"] = rawUrl return NewWindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a contentApproval object. +// Delete delete navigation property complianceChanges for admin // returns a ODataError error 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-contentapproval-delete?view=graph-rest-1.0 func (m *WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRe } return nil } -// Get read the properties and relationships of a contentApproval object. +// Get compliance changes like content approvals which result in the automatic creation of deployments using the audience and deploymentSettings of the policy. // returns a ComplianceChangeable when successful // returns a ODataError error 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-contentapproval-get?view=graph-rest-1.0 func (m *WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRequestBuilderGetRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ComplianceChangeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRe } return res.(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ComplianceChangeable), nil } -// Patch update the properties of a complianceChange object. +// Patch update the navigation property complianceChanges in admin // returns a ComplianceChangeable when successful // returns a ODataError error 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-compliancechange-update?view=graph-rest-1.0 func (m *WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRequestBuilder) Patch(ctx context.Context, body i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ComplianceChangeable, requestConfiguration *WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRequestBuilderPatchRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ComplianceChangeable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRe } return res.(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ComplianceChangeable), nil } -// ToDeleteRequestInformation delete a contentApproval object. +// ToDeleteRequestInformation delete navigation property complianceChanges for admin // returns a *RequestInformation when successful func (m *WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a contentApproval object. +// ToGetRequestInformation compliance changes like content approvals which result in the automatic creation of deployments using the audience and deploymentSettings of the policy. // returns a *RequestInformation when successful func (m *WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a complianceChange object. +// ToPatchRequestInformation update the navigation property complianceChanges in admin // returns a *RequestInformation when successful func (m *WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ComplianceChangeable, requestConfiguration *WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/windows_updates_update_policies_item_compliance_changes_request_builder.go b/admin/windows_updates_update_policies_item_compliance_changes_request_builder.go index b3526aa516a..9615be5daf7 100644 --- a/admin/windows_updates_update_policies_item_compliance_changes_request_builder.go +++ b/admin/windows_updates_update_policies_item_compliance_changes_request_builder.go @@ -11,7 +11,7 @@ import ( type WindowsUpdatesUpdatePoliciesItemComplianceChangesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// WindowsUpdatesUpdatePoliciesItemComplianceChangesRequestBuilderGetQueryParameters get a list of the complianceChange objects and their properties. +// WindowsUpdatesUpdatePoliciesItemComplianceChangesRequestBuilderGetQueryParameters compliance changes like content approvals which result in the automatic creation of deployments using the audience and deploymentSettings of the policy. type WindowsUpdatesUpdatePoliciesItemComplianceChangesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewWindowsUpdatesUpdatePoliciesItemComplianceChangesRequestBuilder(rawUrl s func (m *WindowsUpdatesUpdatePoliciesItemComplianceChangesRequestBuilder) Count()(*WindowsUpdatesUpdatePoliciesItemComplianceChangesCountRequestBuilder) { return NewWindowsUpdatesUpdatePoliciesItemComplianceChangesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the complianceChange objects and their properties. +// Get compliance changes like content approvals which result in the automatic creation of deployments using the audience and deploymentSettings of the policy. // returns a ComplianceChangeCollectionResponseable when successful // returns a ODataError error 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-updatepolicy-list-compliancechanges?view=graph-rest-1.0 func (m *WindowsUpdatesUpdatePoliciesItemComplianceChangesRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsUpdatesUpdatePoliciesItemComplianceChangesRequestBuilderGetRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ComplianceChangeCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *WindowsUpdatesUpdatePoliciesItemComplianceChangesRequestBuilder) Get(ct } return res.(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ComplianceChangeCollectionResponseable), nil } -// Post create a new contentApproval object. +// Post create new navigation property to complianceChanges for admin // returns a ComplianceChangeable when successful // returns a ODataError error 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-updatepolicy-post-compliancechanges-contentapproval?view=graph-rest-1.0 func (m *WindowsUpdatesUpdatePoliciesItemComplianceChangesRequestBuilder) Post(ctx context.Context, body i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ComplianceChangeable, requestConfiguration *WindowsUpdatesUpdatePoliciesItemComplianceChangesRequestBuilderPostRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ComplianceChangeable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemComplianceChangesRequestBuilder) Post(c } return res.(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ComplianceChangeable), nil } -// ToGetRequestInformation get a list of the complianceChange objects and their properties. +// ToGetRequestInformation compliance changes like content approvals which result in the automatic creation of deployments using the audience and deploymentSettings of the policy. // returns a *RequestInformation when successful func (m *WindowsUpdatesUpdatePoliciesItemComplianceChangesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesUpdatePoliciesItemComplianceChangesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemComplianceChangesRequestBuilder) ToGetR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new contentApproval object. +// ToPostRequestInformation create new navigation property to complianceChanges for admin // returns a *RequestInformation when successful func (m *WindowsUpdatesUpdatePoliciesItemComplianceChangesRequestBuilder) ToPostRequestInformation(ctx context.Context, body i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ComplianceChangeable, requestConfiguration *WindowsUpdatesUpdatePoliciesItemComplianceChangesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/windows_updates_update_policies_request_builder.go b/admin/windows_updates_update_policies_request_builder.go index b3d304871b1..53cb9ca8944 100644 --- a/admin/windows_updates_update_policies_request_builder.go +++ b/admin/windows_updates_update_policies_request_builder.go @@ -11,7 +11,7 @@ import ( type WindowsUpdatesUpdatePoliciesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// WindowsUpdatesUpdatePoliciesRequestBuilderGetQueryParameters get a list of updatePolicy objects and their properties. +// WindowsUpdatesUpdatePoliciesRequestBuilderGetQueryParameters a collection of policies for approving the deployment of different content to an audience over time. type WindowsUpdatesUpdatePoliciesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewWindowsUpdatesUpdatePoliciesRequestBuilder(rawUrl string, requestAdapter func (m *WindowsUpdatesUpdatePoliciesRequestBuilder) Count()(*WindowsUpdatesUpdatePoliciesCountRequestBuilder) { return NewWindowsUpdatesUpdatePoliciesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of updatePolicy objects and their properties. +// Get a collection of policies for approving the deployment of different content to an audience over time. // returns a UpdatePolicyCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/adminwindowsupdates-list-updatepolicies?view=graph-rest-1.0 func (m *WindowsUpdatesUpdatePoliciesRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsUpdatesUpdatePoliciesRequestBuilderGetRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.UpdatePolicyCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *WindowsUpdatesUpdatePoliciesRequestBuilder) Get(ctx context.Context, re } return res.(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.UpdatePolicyCollectionResponseable), nil } -// Post create a new updatePolicy object. +// Post create new navigation property to updatePolicies for admin // returns a UpdatePolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/adminwindowsupdates-post-updatepolicies?view=graph-rest-1.0 func (m *WindowsUpdatesUpdatePoliciesRequestBuilder) Post(ctx context.Context, body i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.UpdatePolicyable, requestConfiguration *WindowsUpdatesUpdatePoliciesRequestBuilderPostRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.UpdatePolicyable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *WindowsUpdatesUpdatePoliciesRequestBuilder) Post(ctx context.Context, b } return res.(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.UpdatePolicyable), nil } -// ToGetRequestInformation get a list of updatePolicy objects and their properties. +// ToGetRequestInformation a collection of policies for approving the deployment of different content to an audience over time. // returns a *RequestInformation when successful func (m *WindowsUpdatesUpdatePoliciesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesUpdatePoliciesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *WindowsUpdatesUpdatePoliciesRequestBuilder) ToGetRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new updatePolicy object. +// ToPostRequestInformation create new navigation property to updatePolicies for admin // returns a *RequestInformation when successful func (m *WindowsUpdatesUpdatePoliciesRequestBuilder) ToPostRequestInformation(ctx context.Context, body i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.UpdatePolicyable, requestConfiguration *WindowsUpdatesUpdatePoliciesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/windows_updates_update_policies_update_policy_item_request_builder.go b/admin/windows_updates_update_policies_update_policy_item_request_builder.go index a132fa8ed71..3b0d5b2d77d 100644 --- a/admin/windows_updates_update_policies_update_policy_item_request_builder.go +++ b/admin/windows_updates_update_policies_update_policy_item_request_builder.go @@ -18,7 +18,7 @@ type WindowsUpdatesUpdatePoliciesUpdatePolicyItemRequestBuilderDeleteRequestConf // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// WindowsUpdatesUpdatePoliciesUpdatePolicyItemRequestBuilderGetQueryParameters read the properties and relationships of an updatePolicy object. +// WindowsUpdatesUpdatePoliciesUpdatePolicyItemRequestBuilderGetQueryParameters a collection of policies for approving the deployment of different content to an audience over time. type WindowsUpdatesUpdatePoliciesUpdatePolicyItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -64,11 +64,8 @@ func NewWindowsUpdatesUpdatePoliciesUpdatePolicyItemRequestBuilder(rawUrl string urlParams["request-raw-url"] = rawUrl return NewWindowsUpdatesUpdatePoliciesUpdatePolicyItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an updatePolicy object. +// Delete delete navigation property updatePolicies for admin // returns a ODataError error 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-updatepolicy-delete?view=graph-rest-1.0 func (m *WindowsUpdatesUpdatePoliciesUpdatePolicyItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *WindowsUpdatesUpdatePoliciesUpdatePolicyItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -83,12 +80,9 @@ func (m *WindowsUpdatesUpdatePoliciesUpdatePolicyItemRequestBuilder) Delete(ctx } return nil } -// Get read the properties and relationships of an updatePolicy object. +// Get a collection of policies for approving the deployment of different content to an audience over time. // returns a UpdatePolicyable when successful // returns a ODataError error 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-updatepolicy-get?view=graph-rest-1.0 func (m *WindowsUpdatesUpdatePoliciesUpdatePolicyItemRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsUpdatesUpdatePoliciesUpdatePolicyItemRequestBuilderGetRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.UpdatePolicyable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -106,12 +100,9 @@ func (m *WindowsUpdatesUpdatePoliciesUpdatePolicyItemRequestBuilder) Get(ctx con } return res.(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.UpdatePolicyable), nil } -// Patch update the properties of an updatePolicy object. +// Patch update the navigation property updatePolicies in admin // returns a UpdatePolicyable when successful // returns a ODataError error 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-updatepolicy-update?view=graph-rest-1.0 func (m *WindowsUpdatesUpdatePoliciesUpdatePolicyItemRequestBuilder) Patch(ctx context.Context, body i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.UpdatePolicyable, requestConfiguration *WindowsUpdatesUpdatePoliciesUpdatePolicyItemRequestBuilderPatchRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.UpdatePolicyable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -129,7 +120,7 @@ func (m *WindowsUpdatesUpdatePoliciesUpdatePolicyItemRequestBuilder) Patch(ctx c } return res.(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.UpdatePolicyable), nil } -// ToDeleteRequestInformation delete an updatePolicy object. +// ToDeleteRequestInformation delete navigation property updatePolicies for admin // returns a *RequestInformation when successful func (m *WindowsUpdatesUpdatePoliciesUpdatePolicyItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesUpdatePoliciesUpdatePolicyItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -140,7 +131,7 @@ func (m *WindowsUpdatesUpdatePoliciesUpdatePolicyItemRequestBuilder) ToDeleteReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an updatePolicy object. +// ToGetRequestInformation a collection of policies for approving the deployment of different content to an audience over time. // returns a *RequestInformation when successful func (m *WindowsUpdatesUpdatePoliciesUpdatePolicyItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesUpdatePoliciesUpdatePolicyItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -154,7 +145,7 @@ func (m *WindowsUpdatesUpdatePoliciesUpdatePolicyItemRequestBuilder) ToGetReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an updatePolicy object. +// ToPatchRequestInformation update the navigation property updatePolicies in admin // returns a *RequestInformation when successful func (m *WindowsUpdatesUpdatePoliciesUpdatePolicyItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.UpdatePolicyable, requestConfiguration *WindowsUpdatesUpdatePoliciesUpdatePolicyItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/administrativeunits/administrative_unit_item_request_builder.go b/administrativeunits/administrative_unit_item_request_builder.go index 403c28bacf2..c179d98e381 100644 --- a/administrativeunits/administrative_unit_item_request_builder.go +++ b/administrativeunits/administrative_unit_item_request_builder.go @@ -68,7 +68,7 @@ func NewAdministrativeUnitItemRequestBuilder(rawUrl string, requestAdapter i2ae4 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/administrativeunit-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/administrativeunit-delete?view=graph-rest-beta func (m *AdministrativeUnitItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *AdministrativeUnitItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,7 +93,7 @@ func (m *AdministrativeUnitItemRequestBuilder) Extensions()(*ItemExtensionsReque // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/administrativeunit-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/administrativeunit-get?view=graph-rest-beta func (m *AdministrativeUnitItemRequestBuilder) Get(ctx context.Context, requestConfiguration *AdministrativeUnitItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdministrativeUnitable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -131,7 +131,7 @@ func (m *AdministrativeUnitItemRequestBuilder) Members()(*ItemMembersRequestBuil // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/administrativeunit-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/administrativeunit-update?view=graph-rest-beta func (m *AdministrativeUnitItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdministrativeUnitable, requestConfiguration *AdministrativeUnitItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdministrativeUnitable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/administrativeunits/administrative_units_request_builder.go b/administrativeunits/administrative_units_request_builder.go index 2c0ee1de7e7..c781630f1a5 100644 --- a/administrativeunits/administrative_units_request_builder.go +++ b/administrativeunits/administrative_units_request_builder.go @@ -86,7 +86,7 @@ func (m *AdministrativeUnitsRequestBuilder) Delta()(*DeltaRequestBuilder) { // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directory-list-administrativeunits?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directory-list-administrativeunits?view=graph-rest-beta func (m *AdministrativeUnitsRequestBuilder) Get(ctx context.Context, requestConfiguration *AdministrativeUnitsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdministrativeUnitCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +119,7 @@ func (m *AdministrativeUnitsRequestBuilder) GetUserOwnedObjects()(*GetUserOwnedO // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directory-post-administrativeunits?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directory-post-administrativeunits?view=graph-rest-beta func (m *AdministrativeUnitsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdministrativeUnitable, requestConfiguration *AdministrativeUnitsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdministrativeUnitable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/administrativeunits/delta_request_builder.go b/administrativeunits/delta_request_builder.go index 99a62b81260..837f2673fca 100644 --- a/administrativeunits/delta_request_builder.go +++ b/administrativeunits/delta_request_builder.go @@ -10,7 +10,7 @@ import ( type DeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeltaRequestBuilderGetQueryParameters invoke function delta +// DeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted administrativeUnits without having to perform a full read of the entire resource collection. For details, see Using delta query. type DeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb urlParams["request-raw-url"] = rawUrl return NewDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get get newly created, updated, or deleted administrativeUnits without having to perform a full read of the entire resource collection. For details, see Using delta query. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a DeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/administrativeunit-delta?view=graph-rest-beta func (m *DeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(DeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *DeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *Del } return res.(DeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse get newly created, updated, or deleted administrativeUnits without having to perform a full read of the entire resource collection. For details, see Using delta query. // returns a DeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/administrativeunit-delta?view=graph-rest-beta func (m *DeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(DeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *DeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, request } return res.(DeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation get newly created, updated, or deleted administrativeUnits without having to perform a full read of the entire resource collection. For details, see Using delta query. // returns a *RequestInformation when successful func (m *DeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/administrativeunits/get_by_ids_request_builder.go b/administrativeunits/get_by_ids_request_builder.go index d474e1bc83c..96c0838f5ce 100644 --- a/administrativeunits/get_by_ids_request_builder.go +++ b/administrativeunits/get_by_ids_request_builder.go @@ -36,7 +36,7 @@ func NewGetByIdsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26337 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-beta func (m *GetByIdsRequestBuilder) Post(ctx context.Context, body GetByIdsPostRequestBodyable, requestConfiguration *GetByIdsRequestBuilderPostRequestConfiguration)(GetByIdsResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *GetByIdsRequestBuilder) Post(ctx context.Context, body GetByIdsPostRequ // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-beta func (m *GetByIdsRequestBuilder) PostAsGetByIdsPostResponse(ctx context.Context, body GetByIdsPostRequestBodyable, requestConfiguration *GetByIdsRequestBuilderPostRequestConfiguration)(GetByIdsPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/administrativeunits/get_user_owned_objects_request_builder.go b/administrativeunits/get_user_owned_objects_request_builder.go index afc29b5a651..f7ed32199ce 100644 --- a/administrativeunits/get_user_owned_objects_request_builder.go +++ b/administrativeunits/get_user_owned_objects_request_builder.go @@ -36,7 +36,7 @@ func NewGetUserOwnedObjectsRequestBuilder(rawUrl string, requestAdapter i2ae4187 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directory-deleteditems-getuserownedobjects?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directory-deleteditems-getuserownedobjects?view=graph-rest-beta func (m *GetUserOwnedObjectsRequestBuilder) Post(ctx context.Context, body GetUserOwnedObjectsPostRequestBodyable, requestConfiguration *GetUserOwnedObjectsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/administrativeunits/item_check_member_groups_request_builder.go b/administrativeunits/item_check_member_groups_request_builder.go index e44ab25db56..3aeeed9594b 100644 --- a/administrativeunits/item_check_member_groups_request_builder.go +++ b/administrativeunits/item_check_member_groups_request_builder.go @@ -36,7 +36,7 @@ func NewItemCheckMemberGroupsRequestBuilder(rawUrl string, requestAdapter i2ae41 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-beta func (m *ItemCheckMemberGroupsRequestBuilder) Post(ctx context.Context, body ItemCheckMemberGroupsPostRequestBodyable, requestConfiguration *ItemCheckMemberGroupsRequestBuilderPostRequestConfiguration)(ItemCheckMemberGroupsResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ItemCheckMemberGroupsRequestBuilder) Post(ctx context.Context, body Ite // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-beta func (m *ItemCheckMemberGroupsRequestBuilder) PostAsCheckMemberGroupsPostResponse(ctx context.Context, body ItemCheckMemberGroupsPostRequestBodyable, requestConfiguration *ItemCheckMemberGroupsRequestBuilderPostRequestConfiguration)(ItemCheckMemberGroupsPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/administrativeunits/item_get_member_groups_request_builder.go b/administrativeunits/item_get_member_groups_request_builder.go index 0726a0a76c2..946d5c36270 100644 --- a/administrativeunits/item_get_member_groups_request_builder.go +++ b/administrativeunits/item_get_member_groups_request_builder.go @@ -36,7 +36,7 @@ func NewItemGetMemberGroupsRequestBuilder(rawUrl string, requestAdapter i2ae4187 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-beta func (m *ItemGetMemberGroupsRequestBuilder) Post(ctx context.Context, body ItemGetMemberGroupsPostRequestBodyable, requestConfiguration *ItemGetMemberGroupsRequestBuilderPostRequestConfiguration)(ItemGetMemberGroupsResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ItemGetMemberGroupsRequestBuilder) Post(ctx context.Context, body ItemG // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-beta func (m *ItemGetMemberGroupsRequestBuilder) PostAsGetMemberGroupsPostResponse(ctx context.Context, body ItemGetMemberGroupsPostRequestBodyable, requestConfiguration *ItemGetMemberGroupsRequestBuilderPostRequestConfiguration)(ItemGetMemberGroupsPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/administrativeunits/item_members_ref_request_builder.go b/administrativeunits/item_members_ref_request_builder.go index 3c5eb1238ca..abe1641c821 100644 --- a/administrativeunits/item_members_ref_request_builder.go +++ b/administrativeunits/item_members_ref_request_builder.go @@ -107,9 +107,6 @@ func (m *ItemMembersRefRequestBuilder) Get(ctx context.Context, requestConfigura } // Post create new navigation property ref to members for administrativeUnits // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/administrativeunit-post-members?view=graph-rest-1.0 func (m *ItemMembersRefRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *ItemMembersRefRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/administrativeunits/item_members_request_builder.go b/administrativeunits/item_members_request_builder.go index 7884fd7ca1b..8a33c80ba35 100644 --- a/administrativeunits/item_members_request_builder.go +++ b/administrativeunits/item_members_request_builder.go @@ -129,9 +129,6 @@ func (m *ItemMembersRequestBuilder) GraphUser()(*ItemMembersGraphUserRequestBuil // Post create new navigation property to members for administrativeUnits // returns a DirectoryObjectable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/administrativeunit-post-members?view=graph-rest-1.0 func (m *ItemMembersRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable, requestConfiguration *ItemMembersRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/administrativeunits/item_restore_request_builder.go b/administrativeunits/item_restore_request_builder.go index e384f89a05f..4efc01a2f3c 100644 --- a/administrativeunits/item_restore_request_builder.go +++ b/administrativeunits/item_restore_request_builder.go @@ -36,7 +36,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-beta func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemRestoreRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/administrativeunits/item_scoped_role_members_request_builder.go b/administrativeunits/item_scoped_role_members_request_builder.go index 12792ce5de6..6f718826b99 100644 --- a/administrativeunits/item_scoped_role_members_request_builder.go +++ b/administrativeunits/item_scoped_role_members_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemScopedRoleMembersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemScopedRoleMembersRequestBuilderGetQueryParameters list Microsoft Entra role assignments with administrative unit scope. +// ItemScopedRoleMembersRequestBuilderGetQueryParameters scoped-role members of this administrative unit. type ItemScopedRoleMembersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemScopedRoleMembersRequestBuilder(rawUrl string, requestAdapter i2ae41 func (m *ItemScopedRoleMembersRequestBuilder) Count()(*ItemScopedRoleMembersCountRequestBuilder) { return NewItemScopedRoleMembersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list Microsoft Entra role assignments with administrative unit scope. +// Get scoped-role members of this administrative unit. // returns a ScopedRoleMembershipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/administrativeunit-list-scopedrolemembers?view=graph-rest-1.0 func (m *ItemScopedRoleMembersRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemScopedRoleMembersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ScopedRoleMembershipCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemScopedRoleMembersRequestBuilder) Get(ctx context.Context, requestCo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ScopedRoleMembershipCollectionResponseable), nil } -// Post assign a Microsoft Entra role with administrative unit scope. For a list of roles that can be assigned with administrative unit scope, see Assign Microsoft Entra roles with administrative unit scope. +// Post create new navigation property to scopedRoleMembers for administrativeUnits // returns a ScopedRoleMembershipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/administrativeunit-post-scopedrolemembers?view=graph-rest-1.0 func (m *ItemScopedRoleMembersRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ScopedRoleMembershipable, requestConfiguration *ItemScopedRoleMembersRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ScopedRoleMembershipable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemScopedRoleMembersRequestBuilder) Post(ctx context.Context, body ie2 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ScopedRoleMembershipable), nil } -// ToGetRequestInformation list Microsoft Entra role assignments with administrative unit scope. +// ToGetRequestInformation scoped-role members of this administrative unit. // returns a *RequestInformation when successful func (m *ItemScopedRoleMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemScopedRoleMembersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemScopedRoleMembersRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation assign a Microsoft Entra role with administrative unit scope. For a list of roles that can be assigned with administrative unit scope, see Assign Microsoft Entra roles with administrative unit scope. +// ToPostRequestInformation create new navigation property to scopedRoleMembers for administrativeUnits // returns a *RequestInformation when successful func (m *ItemScopedRoleMembersRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ScopedRoleMembershipable, requestConfiguration *ItemScopedRoleMembersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/administrativeunits/item_scoped_role_members_scoped_role_membership_item_request_builder.go b/administrativeunits/item_scoped_role_members_scoped_role_membership_item_request_builder.go index 9a0905f55af..1f5b59cdd69 100644 --- a/administrativeunits/item_scoped_role_members_scoped_role_membership_item_request_builder.go +++ b/administrativeunits/item_scoped_role_members_scoped_role_membership_item_request_builder.go @@ -18,7 +18,7 @@ type ItemScopedRoleMembersScopedRoleMembershipItemRequestBuilderDeleteRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemScopedRoleMembersScopedRoleMembershipItemRequestBuilderGetQueryParameters get a Microsoft Entra role assignment with administrative unit scope. +// ItemScopedRoleMembersScopedRoleMembershipItemRequestBuilderGetQueryParameters scoped-role members of this administrative unit. type ItemScopedRoleMembersScopedRoleMembershipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemScopedRoleMembersScopedRoleMembershipItemRequestBuilder(rawUrl strin urlParams["request-raw-url"] = rawUrl return NewItemScopedRoleMembersScopedRoleMembershipItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove a Microsoft Entra role assignment with administrative unit scope. +// Delete delete navigation property scopedRoleMembers for administrativeUnits // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/administrativeunit-delete-scopedrolemembers?view=graph-rest-1.0 func (m *ItemScopedRoleMembersScopedRoleMembershipItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemScopedRoleMembersScopedRoleMembershipItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemScopedRoleMembersScopedRoleMembershipItemRequestBuilder) Delete(ctx } return nil } -// Get get a Microsoft Entra role assignment with administrative unit scope. +// Get scoped-role members of this administrative unit. // returns a ScopedRoleMembershipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/administrativeunit-get-scopedrolemembers?view=graph-rest-1.0 func (m *ItemScopedRoleMembersScopedRoleMembershipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemScopedRoleMembersScopedRoleMembershipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ScopedRoleMembershipable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -116,7 +110,7 @@ func (m *ItemScopedRoleMembersScopedRoleMembershipItemRequestBuilder) Patch(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ScopedRoleMembershipable), nil } -// ToDeleteRequestInformation remove a Microsoft Entra role assignment with administrative unit scope. +// ToDeleteRequestInformation delete navigation property scopedRoleMembers for administrativeUnits // returns a *RequestInformation when successful func (m *ItemScopedRoleMembersScopedRoleMembershipItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemScopedRoleMembersScopedRoleMembershipItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -127,7 +121,7 @@ func (m *ItemScopedRoleMembersScopedRoleMembershipItemRequestBuilder) ToDeleteRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a Microsoft Entra role assignment with administrative unit scope. +// ToGetRequestInformation scoped-role members of this administrative unit. // returns a *RequestInformation when successful func (m *ItemScopedRoleMembersScopedRoleMembershipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemScopedRoleMembersScopedRoleMembershipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/administrativeunits/validate_properties_request_builder.go b/administrativeunits/validate_properties_request_builder.go index 434aac5e6b9..a4ceb32c5a3 100644 --- a/administrativeunits/validate_properties_request_builder.go +++ b/administrativeunits/validate_properties_request_builder.go @@ -34,7 +34,7 @@ func NewValidatePropertiesRequestBuilder(rawUrl string, requestAdapter i2ae4187f // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-validateproperties?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-validateproperties?view=graph-rest-beta func (m *ValidatePropertiesRequestBuilder) Post(ctx context.Context, body ValidatePropertiesPostRequestBodyable, requestConfiguration *ValidatePropertiesRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/agreements/item_acceptances_request_builder.go b/agreements/item_acceptances_request_builder.go index eb4414978e8..78919b5622e 100644 --- a/agreements/item_acceptances_request_builder.go +++ b/agreements/item_acceptances_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemAcceptancesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemAcceptancesRequestBuilderGetQueryParameters get the details about the acceptance records for a specific agreement. +// ItemAcceptancesRequestBuilderGetQueryParameters read-only. Information about acceptances of this agreement. type ItemAcceptancesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemAcceptancesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7da func (m *ItemAcceptancesRequestBuilder) Count()(*ItemAcceptancesCountRequestBuilder) { return NewItemAcceptancesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the details about the acceptance records for a specific agreement. +// Get read-only. Information about acceptances of this agreement. // returns a AgreementAcceptanceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/agreement-list-acceptances?view=graph-rest-1.0 func (m *ItemAcceptancesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAcceptancesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AgreementAcceptanceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemAcceptancesRequestBuilder) Post(ctx context.Context, body ie233ee76 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AgreementAcceptanceable), nil } -// ToGetRequestInformation get the details about the acceptance records for a specific agreement. +// ToGetRequestInformation read-only. Information about acceptances of this agreement. // returns a *RequestInformation when successful func (m *ItemAcceptancesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAcceptancesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/agreements/item_file_localizations_request_builder.go b/agreements/item_file_localizations_request_builder.go index c1620d33542..636dedcaff8 100644 --- a/agreements/item_file_localizations_request_builder.go +++ b/agreements/item_file_localizations_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemFileLocalizationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemFileLocalizationsRequestBuilderGetQueryParameters get a list of the default and localized agreement files. +// ItemFileLocalizationsRequestBuilderGetQueryParameters the localized version of the terms of use agreement files attached to the agreement. type ItemFileLocalizationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemFileLocalizationsRequestBuilder(rawUrl string, requestAdapter i2ae41 func (m *ItemFileLocalizationsRequestBuilder) Count()(*ItemFileLocalizationsCountRequestBuilder) { return NewItemFileLocalizationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the default and localized agreement files. +// Get the localized version of the terms of use agreement files attached to the agreement. // returns a AgreementFileLocalizationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/agreementfile-list-localizations?view=graph-rest-1.0 func (m *ItemFileLocalizationsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemFileLocalizationsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AgreementFileLocalizationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemFileLocalizationsRequestBuilder) Post(ctx context.Context, body ie2 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AgreementFileLocalizationable), nil } -// ToGetRequestInformation get a list of the default and localized agreement files. +// ToGetRequestInformation the localized version of the terms of use agreement files attached to the agreement. // returns a *RequestInformation when successful func (m *ItemFileLocalizationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemFileLocalizationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/agreements/item_file_request_builder.go b/agreements/item_file_request_builder.go index a48f1ff0586..fd107ec4d96 100644 --- a/agreements/item_file_request_builder.go +++ b/agreements/item_file_request_builder.go @@ -18,7 +18,7 @@ type ItemFileRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemFileRequestBuilderGetQueryParameters retrieve the details of an agreement file, including the language and version information. The default file can have multiple versions, each with its own language, that can be retrieved by specifying the Accept-Language header. +// ItemFileRequestBuilderGetQueryParameters default PDF linked to this agreement. type ItemFileRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemFileRequestBuilder) Delete(ctx context.Context, requestConfiguratio } return nil } -// Get retrieve the details of an agreement file, including the language and version information. The default file can have multiple versions, each with its own language, that can be retrieved by specifying the Accept-Language header. +// Get default PDF linked to this agreement. // returns a AgreementFileable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/agreementfile-get?view=graph-rest-1.0 func (m *ItemFileRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemFileRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AgreementFileable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *ItemFileRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the details of an agreement file, including the language and version information. The default file can have multiple versions, each with its own language, that can be retrieved by specifying the Accept-Language header. +// ToGetRequestInformation default PDF linked to this agreement. // returns a *RequestInformation when successful func (m *ItemFileRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemFileRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/agreements/item_files_request_builder.go b/agreements/item_files_request_builder.go index 63090e426ad..08a49b57450 100644 --- a/agreements/item_files_request_builder.go +++ b/agreements/item_files_request_builder.go @@ -96,12 +96,9 @@ func (m *ItemFilesRequestBuilder) Get(ctx context.Context, requestConfiguration } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AgreementFileLocalizationCollectionResponseable), nil } -// Post create a new localized agreement file. +// Post create new navigation property to files for agreements // returns a AgreementFileLocalizationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/agreement-post-files?view=graph-rest-1.0 func (m *ItemFilesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AgreementFileLocalizationable, requestConfiguration *ItemFilesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AgreementFileLocalizationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -133,7 +130,7 @@ func (m *ItemFilesRequestBuilder) ToGetRequestInformation(ctx context.Context, r requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new localized agreement file. +// ToPostRequestInformation create new navigation property to files for agreements // returns a *RequestInformation when successful func (m *ItemFilesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AgreementFileLocalizationable, requestConfiguration *ItemFilesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/app/calls_item_add_large_gallery_view_request_builder.go b/app/calls_item_add_large_gallery_view_request_builder.go index 999c2312710..d0a8b57549a 100644 --- a/app/calls_item_add_large_gallery_view_request_builder.go +++ b/app/calls_item_add_large_gallery_view_request_builder.go @@ -36,7 +36,7 @@ func NewCallsItemAddLargeGalleryViewRequestBuilder(rawUrl string, requestAdapter // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/call-addlargegalleryview?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/call-addlargegalleryview?view=graph-rest-beta func (m *CallsItemAddLargeGalleryViewRequestBuilder) Post(ctx context.Context, body CallsItemAddLargeGalleryViewPostRequestBodyable, requestConfiguration *CallsItemAddLargeGalleryViewRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AddLargeGalleryViewOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/app/calls_item_answer_request_builder.go b/app/calls_item_answer_request_builder.go index f519d630cd9..1e9cc83b75a 100644 --- a/app/calls_item_answer_request_builder.go +++ b/app/calls_item_answer_request_builder.go @@ -34,7 +34,7 @@ func NewCallsItemAnswerRequestBuilder(rawUrl string, requestAdapter i2ae4187f7da // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/call-answer?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/call-answer?view=graph-rest-beta func (m *CallsItemAnswerRequestBuilder) Post(ctx context.Context, body CallsItemAnswerPostRequestBodyable, requestConfiguration *CallsItemAnswerRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/app/calls_item_audio_routing_groups_audio_routing_group_item_request_builder.go b/app/calls_item_audio_routing_groups_audio_routing_group_item_request_builder.go index 79b062c5641..56f2fe0e446 100644 --- a/app/calls_item_audio_routing_groups_audio_routing_group_item_request_builder.go +++ b/app/calls_item_audio_routing_groups_audio_routing_group_item_request_builder.go @@ -18,7 +18,7 @@ type CallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilderDeleteRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// CallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an audioRoutingGroup object. +// CallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilderGetQueryParameters get audioRoutingGroups from app type CallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewCallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilder(rawUrl st urlParams["request-raw-url"] = rawUrl return NewCallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete the specified audioRoutingGroup. +// Delete delete navigation property audioRoutingGroups for app // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/audioroutinggroup-delete?view=graph-rest-1.0 func (m *CallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *CallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *CallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilder) Delete( } return nil } -// Get retrieve the properties and relationships of an audioRoutingGroup object. +// Get get audioRoutingGroups from app // returns a AudioRoutingGroupable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/audioroutinggroup-get?view=graph-rest-1.0 func (m *CallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilder) Get(ctx context.Context, requestConfiguration *CallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AudioRoutingGroupable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *CallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilder) Get(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AudioRoutingGroupable), nil } -// Patch modify sources and receivers of an audioRoutingGroup. +// Patch update the navigation property audioRoutingGroups in app // returns a AudioRoutingGroupable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/audioroutinggroup-update?view=graph-rest-1.0 func (m *CallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AudioRoutingGroupable, requestConfiguration *CallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AudioRoutingGroupable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *CallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilder) Patch(c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AudioRoutingGroupable), nil } -// ToDeleteRequestInformation delete the specified audioRoutingGroup. +// ToDeleteRequestInformation delete navigation property audioRoutingGroups for app // returns a *RequestInformation when successful func (m *CallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *CallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *CallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilder) ToDelet requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of an audioRoutingGroup object. +// ToGetRequestInformation get audioRoutingGroups from app // returns a *RequestInformation when successful func (m *CallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *CallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilder) ToGetRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation modify sources and receivers of an audioRoutingGroup. +// ToPatchRequestInformation update the navigation property audioRoutingGroups in app // returns a *RequestInformation when successful func (m *CallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AudioRoutingGroupable, requestConfiguration *CallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/app/calls_item_audio_routing_groups_request_builder.go b/app/calls_item_audio_routing_groups_request_builder.go index 42fb4a4e158..ef208e92970 100644 --- a/app/calls_item_audio_routing_groups_request_builder.go +++ b/app/calls_item_audio_routing_groups_request_builder.go @@ -11,7 +11,7 @@ import ( type CallsItemAudioRoutingGroupsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// CallsItemAudioRoutingGroupsRequestBuilderGetQueryParameters retrieve a list of audioRoutingGroup objects. +// CallsItemAudioRoutingGroupsRequestBuilderGetQueryParameters get audioRoutingGroups from app type CallsItemAudioRoutingGroupsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewCallsItemAudioRoutingGroupsRequestBuilder(rawUrl string, requestAdapter func (m *CallsItemAudioRoutingGroupsRequestBuilder) Count()(*CallsItemAudioRoutingGroupsCountRequestBuilder) { return NewCallsItemAudioRoutingGroupsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of audioRoutingGroup objects. +// Get get audioRoutingGroups from app // returns a AudioRoutingGroupCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/call-list-audioroutinggroups?view=graph-rest-1.0 func (m *CallsItemAudioRoutingGroupsRequestBuilder) Get(ctx context.Context, requestConfiguration *CallsItemAudioRoutingGroupsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AudioRoutingGroupCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *CallsItemAudioRoutingGroupsRequestBuilder) Get(ctx context.Context, req } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AudioRoutingGroupCollectionResponseable), nil } -// Post create a new audioRoutingGroup. +// Post create new navigation property to audioRoutingGroups for app // returns a AudioRoutingGroupable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/call-post-audioroutinggroups?view=graph-rest-1.0 func (m *CallsItemAudioRoutingGroupsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AudioRoutingGroupable, requestConfiguration *CallsItemAudioRoutingGroupsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AudioRoutingGroupable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *CallsItemAudioRoutingGroupsRequestBuilder) Post(ctx context.Context, bo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AudioRoutingGroupable), nil } -// ToGetRequestInformation retrieve a list of audioRoutingGroup objects. +// ToGetRequestInformation get audioRoutingGroups from app // returns a *RequestInformation when successful func (m *CallsItemAudioRoutingGroupsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CallsItemAudioRoutingGroupsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *CallsItemAudioRoutingGroupsRequestBuilder) ToGetRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new audioRoutingGroup. +// ToPostRequestInformation create new navigation property to audioRoutingGroups for app // returns a *RequestInformation when successful func (m *CallsItemAudioRoutingGroupsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AudioRoutingGroupable, requestConfiguration *CallsItemAudioRoutingGroupsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/app/calls_item_cancel_media_processing_request_builder.go b/app/calls_item_cancel_media_processing_request_builder.go index 931dbbd4808..38b5208e04a 100644 --- a/app/calls_item_cancel_media_processing_request_builder.go +++ b/app/calls_item_cancel_media_processing_request_builder.go @@ -36,7 +36,7 @@ func NewCallsItemCancelMediaProcessingRequestBuilder(rawUrl string, requestAdapt // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/call-cancelmediaprocessing?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/call-cancelmediaprocessing?view=graph-rest-beta func (m *CallsItemCancelMediaProcessingRequestBuilder) Post(ctx context.Context, body CallsItemCancelMediaProcessingPostRequestBodyable, requestConfiguration *CallsItemCancelMediaProcessingRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CancelMediaProcessingOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/app/calls_item_change_screen_sharing_role_request_builder.go b/app/calls_item_change_screen_sharing_role_request_builder.go index a7c493edce3..e88884a1fbd 100644 --- a/app/calls_item_change_screen_sharing_role_request_builder.go +++ b/app/calls_item_change_screen_sharing_role_request_builder.go @@ -34,7 +34,7 @@ func NewCallsItemChangeScreenSharingRoleRequestBuilder(rawUrl string, requestAda // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/call-changescreensharingrole?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/call-changescreensharingrole?view=graph-rest-beta func (m *CallsItemChangeScreenSharingRoleRequestBuilder) Post(ctx context.Context, body CallsItemChangeScreenSharingRolePostRequestBodyable, requestConfiguration *CallsItemChangeScreenSharingRoleRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/app/calls_item_content_sharing_sessions_content_sharing_session_item_request_builder.go b/app/calls_item_content_sharing_sessions_content_sharing_session_item_request_builder.go index cc05ea87241..1092842f800 100644 --- a/app/calls_item_content_sharing_sessions_content_sharing_session_item_request_builder.go +++ b/app/calls_item_content_sharing_sessions_content_sharing_session_item_request_builder.go @@ -18,7 +18,7 @@ type CallsItemContentSharingSessionsContentSharingSessionItemRequestBuilderDelet // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// CallsItemContentSharingSessionsContentSharingSessionItemRequestBuilderGetQueryParameters retrieve the properties of a contentSharingSession object. +// CallsItemContentSharingSessionsContentSharingSessionItemRequestBuilderGetQueryParameters get contentSharingSessions from app type CallsItemContentSharingSessionsContentSharingSessionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *CallsItemContentSharingSessionsContentSharingSessionItemRequestBuilder) } return nil } -// Get retrieve the properties of a contentSharingSession object. +// Get get contentSharingSessions from app // returns a ContentSharingSessionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/contentsharingsession-get?view=graph-rest-1.0 func (m *CallsItemContentSharingSessionsContentSharingSessionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *CallsItemContentSharingSessionsContentSharingSessionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContentSharingSessionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *CallsItemContentSharingSessionsContentSharingSessionItemRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties of a contentSharingSession object. +// ToGetRequestInformation get contentSharingSessions from app // returns a *RequestInformation when successful func (m *CallsItemContentSharingSessionsContentSharingSessionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CallsItemContentSharingSessionsContentSharingSessionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/app/calls_item_content_sharing_sessions_request_builder.go b/app/calls_item_content_sharing_sessions_request_builder.go index f9179e352f2..c449970fc2b 100644 --- a/app/calls_item_content_sharing_sessions_request_builder.go +++ b/app/calls_item_content_sharing_sessions_request_builder.go @@ -11,7 +11,7 @@ import ( type CallsItemContentSharingSessionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// CallsItemContentSharingSessionsRequestBuilderGetQueryParameters retrieve a list of contentSharingSession objects in a call. +// CallsItemContentSharingSessionsRequestBuilderGetQueryParameters get contentSharingSessions from app type CallsItemContentSharingSessionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewCallsItemContentSharingSessionsRequestBuilder(rawUrl string, requestAdap func (m *CallsItemContentSharingSessionsRequestBuilder) Count()(*CallsItemContentSharingSessionsCountRequestBuilder) { return NewCallsItemContentSharingSessionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of contentSharingSession objects in a call. +// Get get contentSharingSessions from app // returns a ContentSharingSessionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/call-list-contentsharingsessions?view=graph-rest-1.0 func (m *CallsItemContentSharingSessionsRequestBuilder) Get(ctx context.Context, requestConfiguration *CallsItemContentSharingSessionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContentSharingSessionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *CallsItemContentSharingSessionsRequestBuilder) Post(ctx context.Context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContentSharingSessionable), nil } -// ToGetRequestInformation retrieve a list of contentSharingSession objects in a call. +// ToGetRequestInformation get contentSharingSessions from app // returns a *RequestInformation when successful func (m *CallsItemContentSharingSessionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CallsItemContentSharingSessionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/app/calls_item_keep_alive_request_builder.go b/app/calls_item_keep_alive_request_builder.go index 2980af7442d..c852a22f850 100644 --- a/app/calls_item_keep_alive_request_builder.go +++ b/app/calls_item_keep_alive_request_builder.go @@ -34,7 +34,7 @@ func NewCallsItemKeepAliveRequestBuilder(rawUrl string, requestAdapter i2ae4187f // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/call-keepalive?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/call-keepalive?view=graph-rest-beta func (m *CallsItemKeepAliveRequestBuilder) Post(ctx context.Context, requestConfiguration *CallsItemKeepAliveRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/app/calls_item_mute_request_builder.go b/app/calls_item_mute_request_builder.go index 923968d297f..92db44110ee 100644 --- a/app/calls_item_mute_request_builder.go +++ b/app/calls_item_mute_request_builder.go @@ -36,7 +36,7 @@ func NewCallsItemMuteRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/call-mute?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/call-mute?view=graph-rest-beta func (m *CallsItemMuteRequestBuilder) Post(ctx context.Context, body CallsItemMutePostRequestBodyable, requestConfiguration *CallsItemMuteRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MuteParticipantOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/app/calls_item_operations_comms_operation_item_request_builder.go b/app/calls_item_operations_comms_operation_item_request_builder.go index 1b7dcd170cb..cb6d6a32c65 100644 --- a/app/calls_item_operations_comms_operation_item_request_builder.go +++ b/app/calls_item_operations_comms_operation_item_request_builder.go @@ -18,7 +18,7 @@ type CallsItemOperationsCommsOperationItemRequestBuilderDeleteRequestConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// CallsItemOperationsCommsOperationItemRequestBuilderGetQueryParameters get the status of an operation that adds the large gallery view to a call. +// CallsItemOperationsCommsOperationItemRequestBuilderGetQueryParameters get operations from app type CallsItemOperationsCommsOperationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *CallsItemOperationsCommsOperationItemRequestBuilder) Delete(ctx context } return nil } -// Get get the status of an operation that adds the large gallery view to a call. +// Get get operations from app // returns a CommsOperationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/addlargegalleryviewoperation-get?view=graph-rest-1.0 func (m *CallsItemOperationsCommsOperationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *CallsItemOperationsCommsOperationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CommsOperationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *CallsItemOperationsCommsOperationItemRequestBuilder) ToDeleteRequestInf requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the status of an operation that adds the large gallery view to a call. +// ToGetRequestInformation get operations from app // returns a *RequestInformation when successful func (m *CallsItemOperationsCommsOperationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CallsItemOperationsCommsOperationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/app/calls_item_operations_request_builder.go b/app/calls_item_operations_request_builder.go index 919ab338821..ff95297fd77 100644 --- a/app/calls_item_operations_request_builder.go +++ b/app/calls_item_operations_request_builder.go @@ -11,7 +11,7 @@ import ( type CallsItemOperationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// CallsItemOperationsRequestBuilderGetQueryParameters get the status of an operation that adds the large gallery view to a call. +// CallsItemOperationsRequestBuilderGetQueryParameters get operations from app type CallsItemOperationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewCallsItemOperationsRequestBuilder(rawUrl string, requestAdapter i2ae4187 func (m *CallsItemOperationsRequestBuilder) Count()(*CallsItemOperationsCountRequestBuilder) { return NewCallsItemOperationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the status of an operation that adds the large gallery view to a call. +// Get get operations from app // returns a CommsOperationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *CallsItemOperationsRequestBuilder) Get(ctx context.Context, requestConfiguration *CallsItemOperationsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CommsOperationCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *CallsItemOperationsRequestBuilder) Post(ctx context.Context, body ie233 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CommsOperationable), nil } -// ToGetRequestInformation get the status of an operation that adds the large gallery view to a call. +// ToGetRequestInformation get operations from app // returns a *RequestInformation when successful func (m *CallsItemOperationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CallsItemOperationsRequestBuilderGetRequestConfiguration)(*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 6ef2676f9aa..f1aca6c9e0e 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 delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. +// Post invite participants to the active call. For more information about how to handle operations, see commsOperation. // returns a InviteParticipantsOperationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/participant-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-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 delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. +// ToPostRequestInformation invite participants to the active call. For more information about how to handle operations, see commsOperation. // returns a *RequestInformation when successful func (m *CallsItemParticipantsInviteRequestBuilder) ToPostRequestInformation(ctx context.Context, body CallsItemParticipantsInvitePostRequestBodyable, requestConfiguration *CallsItemParticipantsInviteRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/app/calls_item_participants_item_mute_request_builder.go b/app/calls_item_participants_item_mute_request_builder.go index 5fb38b6d259..6ffd4cfd754 100644 --- a/app/calls_item_participants_item_mute_request_builder.go +++ b/app/calls_item_participants_item_mute_request_builder.go @@ -36,7 +36,7 @@ func NewCallsItemParticipantsItemMuteRequestBuilder(rawUrl string, requestAdapte // returns a ODataError error 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-mute?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/participant-mute?view=graph-rest-beta func (m *CallsItemParticipantsItemMuteRequestBuilder) Post(ctx context.Context, body CallsItemParticipantsItemMutePostRequestBodyable, requestConfiguration *CallsItemParticipantsItemMuteRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MuteParticipantOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/app/calls_item_participants_item_start_hold_music_request_builder.go b/app/calls_item_participants_item_start_hold_music_request_builder.go index 81b019a07ea..9ee7c6783c9 100644 --- a/app/calls_item_participants_item_start_hold_music_request_builder.go +++ b/app/calls_item_participants_item_start_hold_music_request_builder.go @@ -36,7 +36,7 @@ func NewCallsItemParticipantsItemStartHoldMusicRequestBuilder(rawUrl string, req // returns a ODataError error 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-startholdmusic?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/participant-startholdmusic?view=graph-rest-beta func (m *CallsItemParticipantsItemStartHoldMusicRequestBuilder) Post(ctx context.Context, body CallsItemParticipantsItemStartHoldMusicPostRequestBodyable, requestConfiguration *CallsItemParticipantsItemStartHoldMusicRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StartHoldMusicOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/app/calls_item_participants_item_stop_hold_music_request_builder.go b/app/calls_item_participants_item_stop_hold_music_request_builder.go index 215a655708e..ad9112594e7 100644 --- a/app/calls_item_participants_item_stop_hold_music_request_builder.go +++ b/app/calls_item_participants_item_stop_hold_music_request_builder.go @@ -36,7 +36,7 @@ func NewCallsItemParticipantsItemStopHoldMusicRequestBuilder(rawUrl string, requ // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/participant-stopholdmusic?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/participant-stopholdmusic?view=graph-rest-beta func (m *CallsItemParticipantsItemStopHoldMusicRequestBuilder) Post(ctx context.Context, body CallsItemParticipantsItemStopHoldMusicPostRequestBodyable, requestConfiguration *CallsItemParticipantsItemStopHoldMusicRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StopHoldMusicOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/app/calls_item_participants_mute_all_request_builder.go b/app/calls_item_participants_mute_all_request_builder.go index 4e0c9317947..f57e1eeee79 100644 --- a/app/calls_item_participants_mute_all_request_builder.go +++ b/app/calls_item_participants_mute_all_request_builder.go @@ -36,7 +36,7 @@ func NewCallsItemParticipantsMuteAllRequestBuilder(rawUrl string, requestAdapter // returns a ODataError error 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-muteall?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/participant-muteall?view=graph-rest-beta func (m *CallsItemParticipantsMuteAllRequestBuilder) Post(ctx context.Context, body CallsItemParticipantsMuteAllPostRequestBodyable, requestConfiguration *CallsItemParticipantsMuteAllRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MuteParticipantsOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/app/calls_item_participants_participant_item_request_builder.go b/app/calls_item_participants_participant_item_request_builder.go index 6e76d92307e..d30b7d29bdf 100644 --- a/app/calls_item_participants_participant_item_request_builder.go +++ b/app/calls_item_participants_participant_item_request_builder.go @@ -18,7 +18,7 @@ type CallsItemParticipantsParticipantItemRequestBuilderDeleteRequestConfiguratio // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// CallsItemParticipantsParticipantItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a participant object. +// CallsItemParticipantsParticipantItemRequestBuilderGetQueryParameters get participants from app type CallsItemParticipantsParticipantItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewCallsItemParticipantsParticipantItemRequestBuilder(rawUrl string, reques urlParams["request-raw-url"] = rawUrl return NewCallsItemParticipantsParticipantItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete 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. +// Delete delete navigation property participants for app // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/participant-delete?view=graph-rest-1.0 func (m *CallsItemParticipantsParticipantItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *CallsItemParticipantsParticipantItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *CallsItemParticipantsParticipantItemRequestBuilder) Delete(ctx context. } return nil } -// Get retrieve the properties and relationships of a participant object. +// Get get participants from app // returns a Participantable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *CallsItemParticipantsParticipantItemRequestBuilder) Get(ctx context.Context, requestConfiguration *CallsItemParticipantsParticipantItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Participantable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -131,7 +125,7 @@ func (m *CallsItemParticipantsParticipantItemRequestBuilder) StartHoldMusic()(*C func (m *CallsItemParticipantsParticipantItemRequestBuilder) StopHoldMusic()(*CallsItemParticipantsItemStopHoldMusicRequestBuilder) { return NewCallsItemParticipantsItemStopHoldMusicRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation 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. +// ToDeleteRequestInformation delete navigation property participants for app // returns a *RequestInformation when successful func (m *CallsItemParticipantsParticipantItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *CallsItemParticipantsParticipantItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -142,7 +136,7 @@ func (m *CallsItemParticipantsParticipantItemRequestBuilder) ToDeleteRequestInfo requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a participant object. +// ToGetRequestInformation get participants from app // returns a *RequestInformation when successful func (m *CallsItemParticipantsParticipantItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CallsItemParticipantsParticipantItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/app/calls_item_participants_request_builder.go b/app/calls_item_participants_request_builder.go index 6ce27f1e471..ab04fa96354 100644 --- a/app/calls_item_participants_request_builder.go +++ b/app/calls_item_participants_request_builder.go @@ -11,7 +11,7 @@ import ( type CallsItemParticipantsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// CallsItemParticipantsRequestBuilderGetQueryParameters retrieve a list of participant objects in the call. +// CallsItemParticipantsRequestBuilderGetQueryParameters get participants from app type CallsItemParticipantsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewCallsItemParticipantsRequestBuilder(rawUrl string, requestAdapter i2ae41 func (m *CallsItemParticipantsRequestBuilder) Count()(*CallsItemParticipantsCountRequestBuilder) { return NewCallsItemParticipantsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of participant objects in the call. +// Get get participants from app // returns a ParticipantCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/call-list-participants?view=graph-rest-1.0 func (m *CallsItemParticipantsRequestBuilder) Get(ctx context.Context, requestConfiguration *CallsItemParticipantsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ParticipantCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *CallsItemParticipantsRequestBuilder) Post(ctx context.Context, body ie2 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Participantable), nil } -// ToGetRequestInformation retrieve a list of participant objects in the call. +// ToGetRequestInformation get participants from app // returns a *RequestInformation when successful func (m *CallsItemParticipantsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CallsItemParticipantsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/app/calls_item_play_prompt_request_builder.go b/app/calls_item_play_prompt_request_builder.go index b30e7c4ae6e..f67df0faae8 100644 --- a/app/calls_item_play_prompt_request_builder.go +++ b/app/calls_item_play_prompt_request_builder.go @@ -36,7 +36,7 @@ func NewCallsItemPlayPromptRequestBuilder(rawUrl string, requestAdapter i2ae4187 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/call-playprompt?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/call-playprompt?view=graph-rest-beta func (m *CallsItemPlayPromptRequestBuilder) Post(ctx context.Context, body CallsItemPlayPromptPostRequestBodyable, requestConfiguration *CallsItemPlayPromptRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlayPromptOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/app/calls_item_record_response_request_builder.go b/app/calls_item_record_response_request_builder.go index 1fd31d5045b..398ca1d81f3 100644 --- a/app/calls_item_record_response_request_builder.go +++ b/app/calls_item_record_response_request_builder.go @@ -36,7 +36,7 @@ func NewCallsItemRecordResponseRequestBuilder(rawUrl string, requestAdapter i2ae // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/call-record?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/call-record?view=graph-rest-beta func (m *CallsItemRecordResponseRequestBuilder) Post(ctx context.Context, body CallsItemRecordResponsePostRequestBodyable, requestConfiguration *CallsItemRecordResponseRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RecordOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/app/calls_item_redirect_request_builder.go b/app/calls_item_redirect_request_builder.go index 7839a3269eb..1a2868238cb 100644 --- a/app/calls_item_redirect_request_builder.go +++ b/app/calls_item_redirect_request_builder.go @@ -34,7 +34,7 @@ func NewCallsItemRedirectRequestBuilder(rawUrl string, requestAdapter i2ae4187f7 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/call-redirect?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/call-redirect?view=graph-rest-beta func (m *CallsItemRedirectRequestBuilder) Post(ctx context.Context, body CallsItemRedirectPostRequestBodyable, requestConfiguration *CallsItemRedirectRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/app/calls_item_reject_request_builder.go b/app/calls_item_reject_request_builder.go index 11249b2dee0..60d577f19ca 100644 --- a/app/calls_item_reject_request_builder.go +++ b/app/calls_item_reject_request_builder.go @@ -34,7 +34,7 @@ func NewCallsItemRejectRequestBuilder(rawUrl string, requestAdapter i2ae4187f7da // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/call-reject?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/call-reject?view=graph-rest-beta func (m *CallsItemRejectRequestBuilder) Post(ctx context.Context, body CallsItemRejectPostRequestBodyable, requestConfiguration *CallsItemRejectRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/app/calls_item_subscribe_to_tone_request_builder.go b/app/calls_item_subscribe_to_tone_request_builder.go index 93effdd645f..fe22ac1e81e 100644 --- a/app/calls_item_subscribe_to_tone_request_builder.go +++ b/app/calls_item_subscribe_to_tone_request_builder.go @@ -36,7 +36,7 @@ func NewCallsItemSubscribeToToneRequestBuilder(rawUrl string, requestAdapter i2a // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/call-subscribetotone?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/call-subscribetotone?view=graph-rest-beta func (m *CallsItemSubscribeToToneRequestBuilder) Post(ctx context.Context, body CallsItemSubscribeToTonePostRequestBodyable, requestConfiguration *CallsItemSubscribeToToneRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SubscribeToToneOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/app/calls_item_transfer_request_builder.go b/app/calls_item_transfer_request_builder.go index 3f95393f175..bdc5ea61107 100644 --- a/app/calls_item_transfer_request_builder.go +++ b/app/calls_item_transfer_request_builder.go @@ -34,7 +34,7 @@ func NewCallsItemTransferRequestBuilder(rawUrl string, requestAdapter i2ae4187f7 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/call-transfer?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/call-transfer?view=graph-rest-beta func (m *CallsItemTransferRequestBuilder) Post(ctx context.Context, body CallsItemTransferPostRequestBodyable, requestConfiguration *CallsItemTransferRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/app/calls_item_unmute_request_builder.go b/app/calls_item_unmute_request_builder.go index 41ec71183b5..2bedfe3379b 100644 --- a/app/calls_item_unmute_request_builder.go +++ b/app/calls_item_unmute_request_builder.go @@ -36,7 +36,7 @@ func NewCallsItemUnmuteRequestBuilder(rawUrl string, requestAdapter i2ae4187f7da // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/call-unmute?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/call-unmute?view=graph-rest-beta func (m *CallsItemUnmuteRequestBuilder) Post(ctx context.Context, body CallsItemUnmutePostRequestBodyable, requestConfiguration *CallsItemUnmuteRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnmuteParticipantOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/app/calls_item_update_recording_status_request_builder.go b/app/calls_item_update_recording_status_request_builder.go index 84cfa481aea..a9b899ec75d 100644 --- a/app/calls_item_update_recording_status_request_builder.go +++ b/app/calls_item_update_recording_status_request_builder.go @@ -36,7 +36,7 @@ func NewCallsItemUpdateRecordingStatusRequestBuilder(rawUrl string, requestAdapt // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/call-updaterecordingstatus?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/call-updaterecordingstatus?view=graph-rest-beta func (m *CallsItemUpdateRecordingStatusRequestBuilder) Post(ctx context.Context, body CallsItemUpdateRecordingStatusPostRequestBodyable, requestConfiguration *CallsItemUpdateRecordingStatusRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UpdateRecordingStatusOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/app/calls_log_teleconference_device_quality_request_builder.go b/app/calls_log_teleconference_device_quality_request_builder.go index 9d98a2bb001..7d979a73cef 100644 --- a/app/calls_log_teleconference_device_quality_request_builder.go +++ b/app/calls_log_teleconference_device_quality_request_builder.go @@ -34,7 +34,7 @@ func NewCallsLogTeleconferenceDeviceQualityRequestBuilder(rawUrl string, request // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/call-logteleconferencedevicequality?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/call-logteleconferencedevicequality?view=graph-rest-beta func (m *CallsLogTeleconferenceDeviceQualityRequestBuilder) Post(ctx context.Context, body CallsLogTeleconferenceDeviceQualityPostRequestBodyable, requestConfiguration *CallsLogTeleconferenceDeviceQualityRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/app/online_meetings_create_or_get_request_builder.go b/app/online_meetings_create_or_get_request_builder.go index 6c503d69d88..e4df37025b1 100644 --- a/app/online_meetings_create_or_get_request_builder.go +++ b/app/online_meetings_create_or_get_request_builder.go @@ -36,7 +36,7 @@ func NewOnlineMeetingsCreateOrGetRequestBuilder(rawUrl string, requestAdapter i2 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/onlinemeeting-createorget?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/onlinemeeting-createorget?view=graph-rest-beta func (m *OnlineMeetingsCreateOrGetRequestBuilder) Post(ctx context.Context, body OnlineMeetingsCreateOrGetPostRequestBodyable, requestConfiguration *OnlineMeetingsCreateOrGetRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnlineMeetingable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/app/online_meetings_get_all_transcripts_request_builder.go b/app/online_meetings_get_all_transcripts_request_builder.go index 850acec3cb3..68279f5ef51 100644 --- a/app/online_meetings_get_all_transcripts_request_builder.go +++ b/app/online_meetings_get_all_transcripts_request_builder.go @@ -10,7 +10,7 @@ import ( type OnlineMeetingsGetAllTranscriptsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// OnlineMeetingsGetAllTranscriptsRequestBuilderGetQueryParameters invoke function getAllTranscripts +// OnlineMeetingsGetAllTranscriptsRequestBuilderGetQueryParameters get all transcripts from scheduled onlineMeeting instances for which the specified user is the organizer. This API currently doesn't support getting call transcripts from channel meetings. You can apply the delta function on getAllTranscripts to synchronize and get callTranscript resources as they are added for onlineMeeting instances organized by the specified user. Delta query supports both full synchronization that gets all the transcripts for online meetings organized by the user, and incremental synchronization that gets transcripts that have been added since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that transcript view periodically. Find more information in the delta query documentation. For additional examples, see callTranscript: delta. To learn more about using the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. type OnlineMeetingsGetAllTranscriptsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewOnlineMeetingsGetAllTranscriptsRequestBuilder(rawUrl string, requestAdap urlParams["request-raw-url"] = rawUrl return NewOnlineMeetingsGetAllTranscriptsRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getAllTranscripts +// Get get all transcripts from scheduled onlineMeeting instances for which the specified user is the organizer. This API currently doesn't support getting call transcripts from channel meetings. You can apply the delta function on getAllTranscripts to synchronize and get callTranscript resources as they are added for onlineMeeting instances organized by the specified user. Delta query supports both full synchronization that gets all the transcripts for online meetings organized by the user, and incremental synchronization that gets transcripts that have been added since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that transcript view periodically. Find more information in the delta query documentation. For additional examples, see callTranscript: delta. To learn more about using the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. // Deprecated: This method is obsolete. Use GetAsGetAllTranscriptsGetResponse instead. // returns a OnlineMeetingsGetAllTranscriptsResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/onlinemeeting-getalltranscripts?view=graph-rest-beta func (m *OnlineMeetingsGetAllTranscriptsRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingsGetAllTranscriptsRequestBuilderGetRequestConfiguration)(OnlineMeetingsGetAllTranscriptsResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *OnlineMeetingsGetAllTranscriptsRequestBuilder) Get(ctx context.Context, } return res.(OnlineMeetingsGetAllTranscriptsResponseable), nil } -// GetAsGetAllTranscriptsGetResponse invoke function getAllTranscripts +// GetAsGetAllTranscriptsGetResponse get all transcripts from scheduled onlineMeeting instances for which the specified user is the organizer. This API currently doesn't support getting call transcripts from channel meetings. You can apply the delta function on getAllTranscripts to synchronize and get callTranscript resources as they are added for onlineMeeting instances organized by the specified user. Delta query supports both full synchronization that gets all the transcripts for online meetings organized by the user, and incremental synchronization that gets transcripts that have been added since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that transcript view periodically. Find more information in the delta query documentation. For additional examples, see callTranscript: delta. To learn more about using the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. // returns a OnlineMeetingsGetAllTranscriptsGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/onlinemeeting-getalltranscripts?view=graph-rest-beta func (m *OnlineMeetingsGetAllTranscriptsRequestBuilder) GetAsGetAllTranscriptsGetResponse(ctx context.Context, requestConfiguration *OnlineMeetingsGetAllTranscriptsRequestBuilderGetRequestConfiguration)(OnlineMeetingsGetAllTranscriptsGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *OnlineMeetingsGetAllTranscriptsRequestBuilder) GetAsGetAllTranscriptsGe } return res.(OnlineMeetingsGetAllTranscriptsGetResponseable), nil } -// ToGetRequestInformation invoke function getAllTranscripts +// ToGetRequestInformation get all transcripts from scheduled onlineMeeting instances for which the specified user is the organizer. This API currently doesn't support getting call transcripts from channel meetings. You can apply the delta function on getAllTranscripts to synchronize and get callTranscript resources as they are added for onlineMeeting instances organized by the specified user. Delta query supports both full synchronization that gets all the transcripts for online meetings organized by the user, and incremental synchronization that gets transcripts that have been added since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that transcript view periodically. Find more information in the delta query documentation. For additional examples, see callTranscript: delta. To learn more about using the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. // returns a *RequestInformation when successful func (m *OnlineMeetingsGetAllTranscriptsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingsGetAllTranscriptsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/app/online_meetings_item_attendance_reports_item_attendance_records_request_builder.go b/app/online_meetings_item_attendance_reports_item_attendance_records_request_builder.go index be938950f94..fcd6ffdc844 100644 --- a/app/online_meetings_item_attendance_reports_item_attendance_records_request_builder.go +++ b/app/online_meetings_item_attendance_reports_item_attendance_records_request_builder.go @@ -11,7 +11,7 @@ import ( type OnlineMeetingsItemAttendanceReportsItemAttendanceRecordsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// OnlineMeetingsItemAttendanceReportsItemAttendanceRecordsRequestBuilderGetQueryParameters get a list of attendanceRecord objects and their properties. +// OnlineMeetingsItemAttendanceReportsItemAttendanceRecordsRequestBuilderGetQueryParameters list of attendance records of an attendance report. Read-only. type OnlineMeetingsItemAttendanceReportsItemAttendanceRecordsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewOnlineMeetingsItemAttendanceReportsItemAttendanceRecordsRequestBuilder(r func (m *OnlineMeetingsItemAttendanceReportsItemAttendanceRecordsRequestBuilder) Count()(*OnlineMeetingsItemAttendanceReportsItemAttendanceRecordsCountRequestBuilder) { return NewOnlineMeetingsItemAttendanceReportsItemAttendanceRecordsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of attendanceRecord objects and their properties. +// Get list of attendance records of an attendance report. Read-only. // returns a AttendanceRecordCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attendancerecord-list?view=graph-rest-1.0 func (m *OnlineMeetingsItemAttendanceReportsItemAttendanceRecordsRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingsItemAttendanceReportsItemAttendanceRecordsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttendanceRecordCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *OnlineMeetingsItemAttendanceReportsItemAttendanceRecordsRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttendanceRecordable), nil } -// ToGetRequestInformation get a list of attendanceRecord objects and their properties. +// ToGetRequestInformation list of attendance records of an attendance report. Read-only. // returns a *RequestInformation when successful func (m *OnlineMeetingsItemAttendanceReportsItemAttendanceRecordsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingsItemAttendanceReportsItemAttendanceRecordsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/app/online_meetings_item_get_virtual_appointment_join_web_url_request_builder.go b/app/online_meetings_item_get_virtual_appointment_join_web_url_request_builder.go index 7fb195f737a..d6c3cc7a382 100644 --- a/app/online_meetings_item_get_virtual_appointment_join_web_url_request_builder.go +++ b/app/online_meetings_item_get_virtual_appointment_join_web_url_request_builder.go @@ -30,10 +30,13 @@ func NewOnlineMeetingsItemGetVirtualAppointmentJoinWebUrlRequestBuilder(rawUrl s urlParams["request-raw-url"] = rawUrl return NewOnlineMeetingsItemGetVirtualAppointmentJoinWebUrlRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getVirtualAppointmentJoinWebUrl +// Get get a join web URL for a Teams Virtual Appointment. This web URL includes enhanced business-to-customer experiences such as mobile browser join and virtual lobby rooms. With Teams Premium, you can configure a custom lobby room experience for attendees by adding your company logo and access the Virtual Appointments usage report for organizational analytics. // Deprecated: This method is obsolete. Use GetAsGetVirtualAppointmentJoinWebUrlGetResponse instead. // returns a OnlineMeetingsItemGetVirtualAppointmentJoinWebUrlResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/virtualappointment-getvirtualappointmentjoinweburl?view=graph-rest-beta func (m *OnlineMeetingsItemGetVirtualAppointmentJoinWebUrlRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingsItemGetVirtualAppointmentJoinWebUrlRequestBuilderGetRequestConfiguration)(OnlineMeetingsItemGetVirtualAppointmentJoinWebUrlResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -51,9 +54,12 @@ func (m *OnlineMeetingsItemGetVirtualAppointmentJoinWebUrlRequestBuilder) Get(ct } return res.(OnlineMeetingsItemGetVirtualAppointmentJoinWebUrlResponseable), nil } -// GetAsGetVirtualAppointmentJoinWebUrlGetResponse invoke function getVirtualAppointmentJoinWebUrl +// GetAsGetVirtualAppointmentJoinWebUrlGetResponse get a join web URL for a Teams Virtual Appointment. This web URL includes enhanced business-to-customer experiences such as mobile browser join and virtual lobby rooms. With Teams Premium, you can configure a custom lobby room experience for attendees by adding your company logo and access the Virtual Appointments usage report for organizational analytics. // returns a OnlineMeetingsItemGetVirtualAppointmentJoinWebUrlGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/virtualappointment-getvirtualappointmentjoinweburl?view=graph-rest-beta func (m *OnlineMeetingsItemGetVirtualAppointmentJoinWebUrlRequestBuilder) GetAsGetVirtualAppointmentJoinWebUrlGetResponse(ctx context.Context, requestConfiguration *OnlineMeetingsItemGetVirtualAppointmentJoinWebUrlRequestBuilderGetRequestConfiguration)(OnlineMeetingsItemGetVirtualAppointmentJoinWebUrlGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -71,7 +77,7 @@ func (m *OnlineMeetingsItemGetVirtualAppointmentJoinWebUrlRequestBuilder) GetAsG } return res.(OnlineMeetingsItemGetVirtualAppointmentJoinWebUrlGetResponseable), nil } -// ToGetRequestInformation invoke function getVirtualAppointmentJoinWebUrl +// ToGetRequestInformation get a join web URL for a Teams Virtual Appointment. This web URL includes enhanced business-to-customer experiences such as mobile browser join and virtual lobby rooms. With Teams Premium, you can configure a custom lobby room experience for attendees by adding your company logo and access the Virtual Appointments usage report for organizational analytics. // returns a *RequestInformation when successful func (m *OnlineMeetingsItemGetVirtualAppointmentJoinWebUrlRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingsItemGetVirtualAppointmentJoinWebUrlRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/app/online_meetings_item_meeting_attendance_report_attendance_records_request_builder.go b/app/online_meetings_item_meeting_attendance_report_attendance_records_request_builder.go index 171795bc1bd..eb7a7d5164e 100644 --- a/app/online_meetings_item_meeting_attendance_report_attendance_records_request_builder.go +++ b/app/online_meetings_item_meeting_attendance_report_attendance_records_request_builder.go @@ -11,7 +11,7 @@ import ( type OnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// OnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsRequestBuilderGetQueryParameters get a list of attendanceRecord objects and their properties. +// OnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsRequestBuilderGetQueryParameters list of attendance records of an attendance report. Read-only. type OnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewOnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder func (m *OnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder) Count()(*OnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilder) { return NewOnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of attendanceRecord objects and their properties. +// Get list of attendance records of an attendance report. Read-only. // returns a AttendanceRecordCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attendancerecord-list?view=graph-rest-1.0 func (m *OnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttendanceRecordCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *OnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsRequestBuilde } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttendanceRecordable), nil } -// ToGetRequestInformation get a list of attendanceRecord objects and their properties. +// ToGetRequestInformation list of attendance records of an attendance report. Read-only. // returns a *RequestInformation when successful func (m *OnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/app/online_meetings_item_meeting_attendance_report_request_builder.go b/app/online_meetings_item_meeting_attendance_report_request_builder.go index 034661f07b5..0be5a2fa345 100644 --- a/app/online_meetings_item_meeting_attendance_report_request_builder.go +++ b/app/online_meetings_item_meeting_attendance_report_request_builder.go @@ -18,7 +18,7 @@ type OnlineMeetingsItemMeetingAttendanceReportRequestBuilderDeleteRequestConfigu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// OnlineMeetingsItemMeetingAttendanceReportRequestBuilderGetQueryParameters get the meetingAttendanceReport for an onlineMeeting or a virtualEvent. Each time an online meeting ends, an attendance report is generated for that session. +// OnlineMeetingsItemMeetingAttendanceReportRequestBuilderGetQueryParameters get meetingAttendanceReport from app type OnlineMeetingsItemMeetingAttendanceReportRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *OnlineMeetingsItemMeetingAttendanceReportRequestBuilder) Delete(ctx con } return nil } -// Get get the meetingAttendanceReport for an onlineMeeting or a virtualEvent. Each time an online meeting ends, an attendance report is generated for that session. +// Get get meetingAttendanceReport from app // returns a MeetingAttendanceReportable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/meetingattendancereport-get?view=graph-rest-1.0 func (m *OnlineMeetingsItemMeetingAttendanceReportRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingsItemMeetingAttendanceReportRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingAttendanceReportable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *OnlineMeetingsItemMeetingAttendanceReportRequestBuilder) ToDeleteReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the meetingAttendanceReport for an onlineMeeting or a virtualEvent. Each time an online meeting ends, an attendance report is generated for that session. +// ToGetRequestInformation get meetingAttendanceReport from app // returns a *RequestInformation when successful func (m *OnlineMeetingsItemMeetingAttendanceReportRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingsItemMeetingAttendanceReportRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/app/online_meetings_item_recordings_call_recording_item_request_builder.go b/app/online_meetings_item_recordings_call_recording_item_request_builder.go index 3d9d91205e5..ac40b1804fd 100644 --- a/app/online_meetings_item_recordings_call_recording_item_request_builder.go +++ b/app/online_meetings_item_recordings_call_recording_item_request_builder.go @@ -18,7 +18,7 @@ type OnlineMeetingsItemRecordingsCallRecordingItemRequestBuilderDeleteRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// OnlineMeetingsItemRecordingsCallRecordingItemRequestBuilderGetQueryParameters get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. +// OnlineMeetingsItemRecordingsCallRecordingItemRequestBuilderGetQueryParameters the recordings of an online meeting. Read-only. type OnlineMeetingsItemRecordingsCallRecordingItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *OnlineMeetingsItemRecordingsCallRecordingItemRequestBuilder) Delete(ctx } return nil } -// Get get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. +// Get the recordings of an online meeting. Read-only. // returns a CallRecordingable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/callrecording-get?view=graph-rest-1.0 func (m *OnlineMeetingsItemRecordingsCallRecordingItemRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingsItemRecordingsCallRecordingItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *OnlineMeetingsItemRecordingsCallRecordingItemRequestBuilder) ToDeleteRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. +// ToGetRequestInformation the recordings of an online meeting. Read-only. // returns a *RequestInformation when successful func (m *OnlineMeetingsItemRecordingsCallRecordingItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingsItemRecordingsCallRecordingItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/app/online_meetings_item_recordings_request_builder.go b/app/online_meetings_item_recordings_request_builder.go index a6c4caf42a5..0a30b427f97 100644 --- a/app/online_meetings_item_recordings_request_builder.go +++ b/app/online_meetings_item_recordings_request_builder.go @@ -11,7 +11,7 @@ import ( type OnlineMeetingsItemRecordingsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// OnlineMeetingsItemRecordingsRequestBuilderGetQueryParameters get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. +// OnlineMeetingsItemRecordingsRequestBuilderGetQueryParameters the recordings of an online meeting. Read-only. type OnlineMeetingsItemRecordingsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,7 +81,7 @@ func (m *OnlineMeetingsItemRecordingsRequestBuilder) Count()(*OnlineMeetingsItem func (m *OnlineMeetingsItemRecordingsRequestBuilder) Delta()(*OnlineMeetingsItemRecordingsDeltaRequestBuilder) { return NewOnlineMeetingsItemRecordingsDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. +// Get the recordings of an online meeting. Read-only. // returns a CallRecordingCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *OnlineMeetingsItemRecordingsRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingsItemRecordingsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingCollectionResponseable, error) { @@ -121,7 +121,7 @@ func (m *OnlineMeetingsItemRecordingsRequestBuilder) Post(ctx context.Context, b } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable), nil } -// ToGetRequestInformation get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. +// ToGetRequestInformation the recordings of an online meeting. Read-only. // returns a *RequestInformation when successful func (m *OnlineMeetingsItemRecordingsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingsItemRecordingsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/app/online_meetings_item_registration_custom_questions_meeting_registration_question_item_request_builder.go b/app/online_meetings_item_registration_custom_questions_meeting_registration_question_item_request_builder.go index 02deda1200f..5c04e02cb1c 100644 --- a/app/online_meetings_item_registration_custom_questions_meeting_registration_question_item_request_builder.go +++ b/app/online_meetings_item_registration_custom_questions_meeting_registration_question_item_request_builder.go @@ -18,7 +18,7 @@ type OnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionIte // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// OnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderGetQueryParameters get a custom registration question associated with a meetingRegistration object on behalf of the organizer. +// OnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderGetQueryParameters custom registration questions. type OnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewOnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestion urlParams["request-raw-url"] = rawUrl return NewOnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a custom registration question from a meetingRegistration object on behalf of the organizer. +// Delete delete navigation property customQuestions for app // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/meetingregistrationquestion-delete?view=graph-rest-1.0 func (m *OnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *OnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *OnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestio } return nil } -// Get get a custom registration question associated with a meetingRegistration object on behalf of the organizer. +// Get custom registration questions. // returns a MeetingRegistrationQuestionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/meetingregistrationquestion-get?view=graph-rest-1.0 func (m *OnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationQuestionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *OnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestio } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationQuestionable), nil } -// Patch update a custom registration question associated with a meetingRegistration object on behalf of the organizer. +// Patch update the navigation property customQuestions in app // returns a MeetingRegistrationQuestionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/meetingregistrationquestion-update?view=graph-rest-1.0 func (m *OnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationQuestionable, requestConfiguration *OnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationQuestionable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *OnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestio } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationQuestionable), nil } -// ToDeleteRequestInformation delete a custom registration question from a meetingRegistration object on behalf of the organizer. +// ToDeleteRequestInformation delete navigation property customQuestions for app // returns a *RequestInformation when successful func (m *OnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *OnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestio requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a custom registration question associated with a meetingRegistration object on behalf of the organizer. +// ToGetRequestInformation custom registration questions. // returns a *RequestInformation when successful func (m *OnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *OnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestio requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update a custom registration question associated with a meetingRegistration object on behalf of the organizer. +// ToPatchRequestInformation update the navigation property customQuestions in app // returns a *RequestInformation when successful func (m *OnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationQuestionable, requestConfiguration *OnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/app/online_meetings_item_registration_custom_questions_request_builder.go b/app/online_meetings_item_registration_custom_questions_request_builder.go index fcd04f3b646..e7da5e370d5 100644 --- a/app/online_meetings_item_registration_custom_questions_request_builder.go +++ b/app/online_meetings_item_registration_custom_questions_request_builder.go @@ -11,7 +11,7 @@ import ( type OnlineMeetingsItemRegistrationCustomQuestionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// OnlineMeetingsItemRegistrationCustomQuestionsRequestBuilderGetQueryParameters get a custom registration question associated with a meetingRegistration object on behalf of the organizer. +// OnlineMeetingsItemRegistrationCustomQuestionsRequestBuilderGetQueryParameters custom registration questions. type OnlineMeetingsItemRegistrationCustomQuestionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewOnlineMeetingsItemRegistrationCustomQuestionsRequestBuilder(rawUrl strin func (m *OnlineMeetingsItemRegistrationCustomQuestionsRequestBuilder) Count()(*OnlineMeetingsItemRegistrationCustomQuestionsCountRequestBuilder) { return NewOnlineMeetingsItemRegistrationCustomQuestionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a custom registration question associated with a meetingRegistration object on behalf of the organizer. +// Get custom registration questions. // returns a MeetingRegistrationQuestionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/meetingregistration-list-customquestions?view=graph-rest-1.0 func (m *OnlineMeetingsItemRegistrationCustomQuestionsRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingsItemRegistrationCustomQuestionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationQuestionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *OnlineMeetingsItemRegistrationCustomQuestionsRequestBuilder) Get(ctx co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationQuestionCollectionResponseable), nil } -// Post create a custom registration question associated with a meetingRegistration object on behalf of the organizer. +// Post create new navigation property to customQuestions for app // returns a MeetingRegistrationQuestionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/meetingregistration-post-customquestions?view=graph-rest-1.0 func (m *OnlineMeetingsItemRegistrationCustomQuestionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationQuestionable, requestConfiguration *OnlineMeetingsItemRegistrationCustomQuestionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationQuestionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *OnlineMeetingsItemRegistrationCustomQuestionsRequestBuilder) Post(ctx c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationQuestionable), nil } -// ToGetRequestInformation get a custom registration question associated with a meetingRegistration object on behalf of the organizer. +// ToGetRequestInformation custom registration questions. // returns a *RequestInformation when successful func (m *OnlineMeetingsItemRegistrationCustomQuestionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingsItemRegistrationCustomQuestionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *OnlineMeetingsItemRegistrationCustomQuestionsRequestBuilder) ToGetReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a custom registration question associated with a meetingRegistration object on behalf of the organizer. +// ToPostRequestInformation create new navigation property to customQuestions for app // returns a *RequestInformation when successful func (m *OnlineMeetingsItemRegistrationCustomQuestionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationQuestionable, requestConfiguration *OnlineMeetingsItemRegistrationCustomQuestionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/app/online_meetings_item_registration_request_builder.go b/app/online_meetings_item_registration_request_builder.go index 0105b5eea75..6c237b6c2df 100644 --- a/app/online_meetings_item_registration_request_builder.go +++ b/app/online_meetings_item_registration_request_builder.go @@ -18,7 +18,7 @@ type OnlineMeetingsItemRegistrationRequestBuilderDeleteRequestConfiguration stru // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// OnlineMeetingsItemRegistrationRequestBuilderGetQueryParameters get the meetingRegistration details associated with an onlineMeeting on behalf of the organizer. +// OnlineMeetingsItemRegistrationRequestBuilderGetQueryParameters the registration that is enabled for an online meeting. One online meeting can only have one registration enabled. type OnlineMeetingsItemRegistrationRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewOnlineMeetingsItemRegistrationRequestBuilder(rawUrl string, requestAdapt func (m *OnlineMeetingsItemRegistrationRequestBuilder) CustomQuestions()(*OnlineMeetingsItemRegistrationCustomQuestionsRequestBuilder) { return NewOnlineMeetingsItemRegistrationCustomQuestionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Delete disable and delete the externalMeetingRegistration of an onlineMeeting. +// Delete delete navigation property registration for app // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/externalmeetingregistration-delete?view=graph-rest-1.0 func (m *OnlineMeetingsItemRegistrationRequestBuilder) Delete(ctx context.Context, requestConfiguration *OnlineMeetingsItemRegistrationRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *OnlineMeetingsItemRegistrationRequestBuilder) Delete(ctx context.Contex } return nil } -// Get get the meetingRegistration details associated with an onlineMeeting on behalf of the organizer. +// Get the registration that is enabled for an online meeting. One online meeting can only have one registration enabled. // returns a MeetingRegistrationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/meetingregistration-get?view=graph-rest-1.0 func (m *OnlineMeetingsItemRegistrationRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingsItemRegistrationRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,12 +95,9 @@ func (m *OnlineMeetingsItemRegistrationRequestBuilder) Get(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationable), nil } -// Patch update the details of a meetingRegistration object assciated with an onlineMeeting on behalf of the organizer. +// Patch update the navigation property registration in app // returns a MeetingRegistrationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/meetingregistration-update?view=graph-rest-1.0 func (m *OnlineMeetingsItemRegistrationRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationable, requestConfiguration *OnlineMeetingsItemRegistrationRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -129,7 +120,7 @@ func (m *OnlineMeetingsItemRegistrationRequestBuilder) Patch(ctx context.Context func (m *OnlineMeetingsItemRegistrationRequestBuilder) Registrants()(*OnlineMeetingsItemRegistrationRegistrantsRequestBuilder) { return NewOnlineMeetingsItemRegistrationRegistrantsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation disable and delete the externalMeetingRegistration of an onlineMeeting. +// ToDeleteRequestInformation delete navigation property registration for app // returns a *RequestInformation when successful func (m *OnlineMeetingsItemRegistrationRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingsItemRegistrationRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -140,7 +131,7 @@ func (m *OnlineMeetingsItemRegistrationRequestBuilder) ToDeleteRequestInformatio requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the meetingRegistration details associated with an onlineMeeting on behalf of the organizer. +// ToGetRequestInformation the registration that is enabled for an online meeting. One online meeting can only have one registration enabled. // returns a *RequestInformation when successful func (m *OnlineMeetingsItemRegistrationRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingsItemRegistrationRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -154,7 +145,7 @@ func (m *OnlineMeetingsItemRegistrationRequestBuilder) ToGetRequestInformation(c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the details of a meetingRegistration object assciated with an onlineMeeting on behalf of the organizer. +// ToPatchRequestInformation update the navigation property registration in app // returns a *RequestInformation when successful func (m *OnlineMeetingsItemRegistrationRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationable, requestConfiguration *OnlineMeetingsItemRegistrationRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/app/online_meetings_item_send_virtual_appointment_reminder_sms_request_builder.go b/app/online_meetings_item_send_virtual_appointment_reminder_sms_request_builder.go index 1554f04f988..7b759235ed0 100644 --- a/app/online_meetings_item_send_virtual_appointment_reminder_sms_request_builder.go +++ b/app/online_meetings_item_send_virtual_appointment_reminder_sms_request_builder.go @@ -34,7 +34,7 @@ func NewOnlineMeetingsItemSendVirtualAppointmentReminderSmsRequestBuilder(rawUrl // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/virtualappointment-sendvirtualappointmentremindersms?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/virtualappointment-sendvirtualappointmentremindersms?view=graph-rest-beta func (m *OnlineMeetingsItemSendVirtualAppointmentReminderSmsRequestBuilder) Post(ctx context.Context, body OnlineMeetingsItemSendVirtualAppointmentReminderSmsPostRequestBodyable, requestConfiguration *OnlineMeetingsItemSendVirtualAppointmentReminderSmsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/app/online_meetings_item_send_virtual_appointment_sms_request_builder.go b/app/online_meetings_item_send_virtual_appointment_sms_request_builder.go index 7100b036d7b..ce462b3388e 100644 --- a/app/online_meetings_item_send_virtual_appointment_sms_request_builder.go +++ b/app/online_meetings_item_send_virtual_appointment_sms_request_builder.go @@ -34,7 +34,7 @@ func NewOnlineMeetingsItemSendVirtualAppointmentSmsRequestBuilder(rawUrl string, // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/virtualappointment-sendvirtualappointmentsms?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/virtualappointment-sendvirtualappointmentsms?view=graph-rest-beta func (m *OnlineMeetingsItemSendVirtualAppointmentSmsRequestBuilder) Post(ctx context.Context, body OnlineMeetingsItemSendVirtualAppointmentSmsPostRequestBodyable, requestConfiguration *OnlineMeetingsItemSendVirtualAppointmentSmsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/app/online_meetings_item_transcripts_call_transcript_item_request_builder.go b/app/online_meetings_item_transcripts_call_transcript_item_request_builder.go index f2e891774d8..6895c50f42e 100644 --- a/app/online_meetings_item_transcripts_call_transcript_item_request_builder.go +++ b/app/online_meetings_item_transcripts_call_transcript_item_request_builder.go @@ -18,7 +18,7 @@ type OnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilderDeleteRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// OnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilderGetQueryParameters retrieve a callTranscript object associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. +// OnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilderGetQueryParameters the transcripts of an online meeting. Read-only. type OnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *OnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilder) Delete(c } return nil } -// Get retrieve a callTranscript object associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. +// Get the transcripts of an online meeting. Read-only. // returns a CallTranscriptable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/calltranscript-get?view=graph-rest-1.0 func (m *OnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -134,7 +131,7 @@ func (m *OnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilder) ToDelete requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a callTranscript object associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. +// ToGetRequestInformation the transcripts of an online meeting. Read-only. // returns a *RequestInformation when successful func (m *OnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/app/online_meetings_item_transcripts_item_content_request_builder.go b/app/online_meetings_item_transcripts_item_content_request_builder.go index a44a0e5e07b..5b456a992cb 100644 --- a/app/online_meetings_item_transcripts_item_content_request_builder.go +++ b/app/online_meetings_item_transcripts_item_content_request_builder.go @@ -41,9 +41,6 @@ func NewOnlineMeetingsItemTranscriptsItemContentRequestBuilder(rawUrl string, re // Get the content of the transcript. Read-only. // 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/onlinemeeting-list-transcripts?view=graph-rest-1.0 func (m *OnlineMeetingsItemTranscriptsItemContentRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingsItemTranscriptsItemContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/app/online_meetings_item_transcripts_item_metadata_content_request_builder.go b/app/online_meetings_item_transcripts_item_metadata_content_request_builder.go index c69c58024aa..04b71b7a6a4 100644 --- a/app/online_meetings_item_transcripts_item_metadata_content_request_builder.go +++ b/app/online_meetings_item_transcripts_item_metadata_content_request_builder.go @@ -40,9 +40,6 @@ func NewOnlineMeetingsItemTranscriptsItemMetadataContentRequestBuilder(rawUrl st // Get the time-aligned metadata of the utterances in the transcript. Read-only. // 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/onlinemeeting-list-transcripts?view=graph-rest-1.0 func (m *OnlineMeetingsItemTranscriptsItemMetadataContentRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingsItemTranscriptsItemMetadataContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/app/online_meetings_item_transcripts_request_builder.go b/app/online_meetings_item_transcripts_request_builder.go index cf644016bc4..4a0865a7a4e 100644 --- a/app/online_meetings_item_transcripts_request_builder.go +++ b/app/online_meetings_item_transcripts_request_builder.go @@ -11,7 +11,7 @@ import ( type OnlineMeetingsItemTranscriptsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// OnlineMeetingsItemTranscriptsRequestBuilderGetQueryParameters retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. +// OnlineMeetingsItemTranscriptsRequestBuilderGetQueryParameters the transcripts of an online meeting. Read-only. type OnlineMeetingsItemTranscriptsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *OnlineMeetingsItemTranscriptsRequestBuilder) Count()(*OnlineMeetingsIte func (m *OnlineMeetingsItemTranscriptsRequestBuilder) Delta()(*OnlineMeetingsItemTranscriptsDeltaRequestBuilder) { return NewOnlineMeetingsItemTranscriptsDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. +// Get the transcripts of an online meeting. Read-only. // returns a CallTranscriptCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/onlinemeeting-list-transcripts?view=graph-rest-1.0 func (m *OnlineMeetingsItemTranscriptsRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingsItemTranscriptsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *OnlineMeetingsItemTranscriptsRequestBuilder) Post(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable), nil } -// ToGetRequestInformation retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. +// ToGetRequestInformation the transcripts of an online meeting. Read-only. // returns a *RequestInformation when successful func (m *OnlineMeetingsItemTranscriptsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingsItemTranscriptsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/app/online_meetings_with_join_web_url_get_virtual_appointment_join_web_url_request_builder.go b/app/online_meetings_with_join_web_url_get_virtual_appointment_join_web_url_request_builder.go index 45cb3fc9da6..67fe1847d36 100644 --- a/app/online_meetings_with_join_web_url_get_virtual_appointment_join_web_url_request_builder.go +++ b/app/online_meetings_with_join_web_url_get_virtual_appointment_join_web_url_request_builder.go @@ -30,10 +30,13 @@ func NewOnlineMeetingsWithJoinWebUrlGetVirtualAppointmentJoinWebUrlRequestBuilde urlParams["request-raw-url"] = rawUrl return NewOnlineMeetingsWithJoinWebUrlGetVirtualAppointmentJoinWebUrlRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getVirtualAppointmentJoinWebUrl +// Get get a join web URL for a Teams Virtual Appointment. This web URL includes enhanced business-to-customer experiences such as mobile browser join and virtual lobby rooms. With Teams Premium, you can configure a custom lobby room experience for attendees by adding your company logo and access the Virtual Appointments usage report for organizational analytics. // Deprecated: This method is obsolete. Use GetAsGetVirtualAppointmentJoinWebUrlGetResponse instead. // returns a OnlineMeetingsWithJoinWebUrlGetVirtualAppointmentJoinWebUrlResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/virtualappointment-getvirtualappointmentjoinweburl?view=graph-rest-beta func (m *OnlineMeetingsWithJoinWebUrlGetVirtualAppointmentJoinWebUrlRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingsWithJoinWebUrlGetVirtualAppointmentJoinWebUrlRequestBuilderGetRequestConfiguration)(OnlineMeetingsWithJoinWebUrlGetVirtualAppointmentJoinWebUrlResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -51,9 +54,12 @@ func (m *OnlineMeetingsWithJoinWebUrlGetVirtualAppointmentJoinWebUrlRequestBuild } return res.(OnlineMeetingsWithJoinWebUrlGetVirtualAppointmentJoinWebUrlResponseable), nil } -// GetAsGetVirtualAppointmentJoinWebUrlGetResponse invoke function getVirtualAppointmentJoinWebUrl +// GetAsGetVirtualAppointmentJoinWebUrlGetResponse get a join web URL for a Teams Virtual Appointment. This web URL includes enhanced business-to-customer experiences such as mobile browser join and virtual lobby rooms. With Teams Premium, you can configure a custom lobby room experience for attendees by adding your company logo and access the Virtual Appointments usage report for organizational analytics. // returns a OnlineMeetingsWithJoinWebUrlGetVirtualAppointmentJoinWebUrlGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/virtualappointment-getvirtualappointmentjoinweburl?view=graph-rest-beta func (m *OnlineMeetingsWithJoinWebUrlGetVirtualAppointmentJoinWebUrlRequestBuilder) GetAsGetVirtualAppointmentJoinWebUrlGetResponse(ctx context.Context, requestConfiguration *OnlineMeetingsWithJoinWebUrlGetVirtualAppointmentJoinWebUrlRequestBuilderGetRequestConfiguration)(OnlineMeetingsWithJoinWebUrlGetVirtualAppointmentJoinWebUrlGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -71,7 +77,7 @@ func (m *OnlineMeetingsWithJoinWebUrlGetVirtualAppointmentJoinWebUrlRequestBuild } return res.(OnlineMeetingsWithJoinWebUrlGetVirtualAppointmentJoinWebUrlGetResponseable), nil } -// ToGetRequestInformation invoke function getVirtualAppointmentJoinWebUrl +// ToGetRequestInformation get a join web URL for a Teams Virtual Appointment. This web URL includes enhanced business-to-customer experiences such as mobile browser join and virtual lobby rooms. With Teams Premium, you can configure a custom lobby room experience for attendees by adding your company logo and access the Virtual Appointments usage report for organizational analytics. // returns a *RequestInformation when successful func (m *OnlineMeetingsWithJoinWebUrlGetVirtualAppointmentJoinWebUrlRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingsWithJoinWebUrlGetVirtualAppointmentJoinWebUrlRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/app/online_meetings_with_join_web_url_send_virtual_appointment_reminder_sms_request_builder.go b/app/online_meetings_with_join_web_url_send_virtual_appointment_reminder_sms_request_builder.go index bfb5f9129b8..37e7f298133 100644 --- a/app/online_meetings_with_join_web_url_send_virtual_appointment_reminder_sms_request_builder.go +++ b/app/online_meetings_with_join_web_url_send_virtual_appointment_reminder_sms_request_builder.go @@ -34,7 +34,7 @@ func NewOnlineMeetingsWithJoinWebUrlSendVirtualAppointmentReminderSmsRequestBuil // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/virtualappointment-sendvirtualappointmentremindersms?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/virtualappointment-sendvirtualappointmentremindersms?view=graph-rest-beta func (m *OnlineMeetingsWithJoinWebUrlSendVirtualAppointmentReminderSmsRequestBuilder) Post(ctx context.Context, body OnlineMeetingsWithJoinWebUrlSendVirtualAppointmentReminderSmsPostRequestBodyable, requestConfiguration *OnlineMeetingsWithJoinWebUrlSendVirtualAppointmentReminderSmsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/app/online_meetings_with_join_web_url_send_virtual_appointment_sms_request_builder.go b/app/online_meetings_with_join_web_url_send_virtual_appointment_sms_request_builder.go index e840640c3cb..42a28f0189c 100644 --- a/app/online_meetings_with_join_web_url_send_virtual_appointment_sms_request_builder.go +++ b/app/online_meetings_with_join_web_url_send_virtual_appointment_sms_request_builder.go @@ -34,7 +34,7 @@ func NewOnlineMeetingsWithJoinWebUrlSendVirtualAppointmentSmsRequestBuilder(rawU // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/virtualappointment-sendvirtualappointmentsms?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/virtualappointment-sendvirtualappointmentsms?view=graph-rest-beta func (m *OnlineMeetingsWithJoinWebUrlSendVirtualAppointmentSmsRequestBuilder) Post(ctx context.Context, body OnlineMeetingsWithJoinWebUrlSendVirtualAppointmentSmsPostRequestBodyable, requestConfiguration *OnlineMeetingsWithJoinWebUrlSendVirtualAppointmentSmsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/appcatalogs/teams_apps_item_app_definitions_item_bot_request_builder.go b/appcatalogs/teams_apps_item_app_definitions_item_bot_request_builder.go index 43a3cdc7c0b..63c2d6f34bc 100644 --- a/appcatalogs/teams_apps_item_app_definitions_item_bot_request_builder.go +++ b/appcatalogs/teams_apps_item_app_definitions_item_bot_request_builder.go @@ -18,7 +18,7 @@ type TeamsAppsItemAppDefinitionsItemBotRequestBuilderDeleteRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TeamsAppsItemAppDefinitionsItemBotRequestBuilderGetQueryParameters get the bot associated with a specific definition of the TeamsApp. +// TeamsAppsItemAppDefinitionsItemBotRequestBuilderGetQueryParameters the details of the bot specified in the Teams app manifest. type TeamsAppsItemAppDefinitionsItemBotRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *TeamsAppsItemAppDefinitionsItemBotRequestBuilder) Delete(ctx context.Co } return nil } -// Get get the bot associated with a specific definition of the TeamsApp. +// Get the details of the bot specified in the Teams app manifest. // returns a TeamworkBotable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/teamworkbot-get?view=graph-rest-1.0 func (m *TeamsAppsItemAppDefinitionsItemBotRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamsAppsItemAppDefinitionsItemBotRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkBotable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *TeamsAppsItemAppDefinitionsItemBotRequestBuilder) ToDeleteRequestInform requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the bot associated with a specific definition of the TeamsApp. +// ToGetRequestInformation the details of the bot specified in the Teams app manifest. // returns a *RequestInformation when successful func (m *TeamsAppsItemAppDefinitionsItemBotRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamsAppsItemAppDefinitionsItemBotRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/appcatalogs/teams_apps_item_app_definitions_item_color_icon_hosted_content_request_builder.go b/appcatalogs/teams_apps_item_app_definitions_item_color_icon_hosted_content_request_builder.go index 2c8ea03911d..e2274084b06 100644 --- a/appcatalogs/teams_apps_item_app_definitions_item_color_icon_hosted_content_request_builder.go +++ b/appcatalogs/teams_apps_item_app_definitions_item_color_icon_hosted_content_request_builder.go @@ -18,7 +18,7 @@ type TeamsAppsItemAppDefinitionsItemColorIconHostedContentRequestBuilderDeleteRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TeamsAppsItemAppDefinitionsItemColorIconHostedContentRequestBuilderGetQueryParameters retrieve the hosted content in an app's icon. +// TeamsAppsItemAppDefinitionsItemColorIconHostedContentRequestBuilderGetQueryParameters the contents of the app icon if the icon is hosted within the Teams infrastructure. type TeamsAppsItemAppDefinitionsItemColorIconHostedContentRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *TeamsAppsItemAppDefinitionsItemColorIconHostedContentRequestBuilder) De } return nil } -// Get retrieve the hosted content in an app's icon. +// Get the contents of the app icon if the icon is hosted within the Teams infrastructure. // returns a TeamworkHostedContentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/teamworkhostedcontent-get?view=graph-rest-1.0 func (m *TeamsAppsItemAppDefinitionsItemColorIconHostedContentRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamsAppsItemAppDefinitionsItemColorIconHostedContentRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkHostedContentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *TeamsAppsItemAppDefinitionsItemColorIconHostedContentRequestBuilder) To requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the hosted content in an app's icon. +// ToGetRequestInformation the contents of the app icon if the icon is hosted within the Teams infrastructure. // returns a *RequestInformation when successful func (m *TeamsAppsItemAppDefinitionsItemColorIconHostedContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamsAppsItemAppDefinitionsItemColorIconHostedContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/appcatalogs/teams_apps_item_app_definitions_item_color_icon_hosted_content_value_content_request_builder.go b/appcatalogs/teams_apps_item_app_definitions_item_color_icon_hosted_content_value_content_request_builder.go index 0d48bbb64c5..bc186f1896d 100644 --- a/appcatalogs/teams_apps_item_app_definitions_item_color_icon_hosted_content_value_content_request_builder.go +++ b/appcatalogs/teams_apps_item_app_definitions_item_color_icon_hosted_content_value_content_request_builder.go @@ -40,9 +40,6 @@ func NewTeamsAppsItemAppDefinitionsItemColorIconHostedContentValueContentRequest // Get get media content for the navigation property hostedContent from appCatalogs // 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/teamworkhostedcontent-get?view=graph-rest-1.0 func (m *TeamsAppsItemAppDefinitionsItemColorIconHostedContentValueContentRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamsAppsItemAppDefinitionsItemColorIconHostedContentValueContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/appcatalogs/teams_apps_item_app_definitions_item_color_icon_request_builder.go b/appcatalogs/teams_apps_item_app_definitions_item_color_icon_request_builder.go index 61ec94a11be..1b282436930 100644 --- a/appcatalogs/teams_apps_item_app_definitions_item_color_icon_request_builder.go +++ b/appcatalogs/teams_apps_item_app_definitions_item_color_icon_request_builder.go @@ -18,7 +18,7 @@ type TeamsAppsItemAppDefinitionsItemColorIconRequestBuilderDeleteRequestConfigur // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TeamsAppsItemAppDefinitionsItemColorIconRequestBuilderGetQueryParameters retrieve a Teams app icon associated with a specific definition of an app. +// TeamsAppsItemAppDefinitionsItemColorIconRequestBuilderGetQueryParameters the color version of the Teams app's icon. type TeamsAppsItemAppDefinitionsItemColorIconRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *TeamsAppsItemAppDefinitionsItemColorIconRequestBuilder) Delete(ctx cont } return nil } -// Get retrieve a Teams app icon associated with a specific definition of an app. +// Get the color version of the Teams app's icon. // returns a TeamsAppIconable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/teamsappicon-get?view=graph-rest-1.0 func (m *TeamsAppsItemAppDefinitionsItemColorIconRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamsAppsItemAppDefinitionsItemColorIconRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppIconable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *TeamsAppsItemAppDefinitionsItemColorIconRequestBuilder) ToDeleteRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a Teams app icon associated with a specific definition of an app. +// ToGetRequestInformation the color version of the Teams app's icon. // returns a *RequestInformation when successful func (m *TeamsAppsItemAppDefinitionsItemColorIconRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamsAppsItemAppDefinitionsItemColorIconRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/appcatalogs/teams_apps_item_app_definitions_item_outline_icon_hosted_content_request_builder.go b/appcatalogs/teams_apps_item_app_definitions_item_outline_icon_hosted_content_request_builder.go index 73fbc8e6ff5..cd9b0833839 100644 --- a/appcatalogs/teams_apps_item_app_definitions_item_outline_icon_hosted_content_request_builder.go +++ b/appcatalogs/teams_apps_item_app_definitions_item_outline_icon_hosted_content_request_builder.go @@ -18,7 +18,7 @@ type TeamsAppsItemAppDefinitionsItemOutlineIconHostedContentRequestBuilderDelete // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TeamsAppsItemAppDefinitionsItemOutlineIconHostedContentRequestBuilderGetQueryParameters retrieve the hosted content in an app's icon. +// TeamsAppsItemAppDefinitionsItemOutlineIconHostedContentRequestBuilderGetQueryParameters the contents of the app icon if the icon is hosted within the Teams infrastructure. type TeamsAppsItemAppDefinitionsItemOutlineIconHostedContentRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *TeamsAppsItemAppDefinitionsItemOutlineIconHostedContentRequestBuilder) } return nil } -// Get retrieve the hosted content in an app's icon. +// Get the contents of the app icon if the icon is hosted within the Teams infrastructure. // returns a TeamworkHostedContentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/teamworkhostedcontent-get?view=graph-rest-1.0 func (m *TeamsAppsItemAppDefinitionsItemOutlineIconHostedContentRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamsAppsItemAppDefinitionsItemOutlineIconHostedContentRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkHostedContentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *TeamsAppsItemAppDefinitionsItemOutlineIconHostedContentRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the hosted content in an app's icon. +// ToGetRequestInformation the contents of the app icon if the icon is hosted within the Teams infrastructure. // returns a *RequestInformation when successful func (m *TeamsAppsItemAppDefinitionsItemOutlineIconHostedContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamsAppsItemAppDefinitionsItemOutlineIconHostedContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/appcatalogs/teams_apps_item_app_definitions_item_outline_icon_hosted_content_value_content_request_builder.go b/appcatalogs/teams_apps_item_app_definitions_item_outline_icon_hosted_content_value_content_request_builder.go index ffa2c4501ad..990194486cc 100644 --- a/appcatalogs/teams_apps_item_app_definitions_item_outline_icon_hosted_content_value_content_request_builder.go +++ b/appcatalogs/teams_apps_item_app_definitions_item_outline_icon_hosted_content_value_content_request_builder.go @@ -40,9 +40,6 @@ func NewTeamsAppsItemAppDefinitionsItemOutlineIconHostedContentValueContentReque // Get get media content for the navigation property hostedContent from appCatalogs // 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/teamworkhostedcontent-get?view=graph-rest-1.0 func (m *TeamsAppsItemAppDefinitionsItemOutlineIconHostedContentValueContentRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamsAppsItemAppDefinitionsItemOutlineIconHostedContentValueContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/appcatalogs/teams_apps_item_app_definitions_item_outline_icon_request_builder.go b/appcatalogs/teams_apps_item_app_definitions_item_outline_icon_request_builder.go index d4da28059d5..62f81243265 100644 --- a/appcatalogs/teams_apps_item_app_definitions_item_outline_icon_request_builder.go +++ b/appcatalogs/teams_apps_item_app_definitions_item_outline_icon_request_builder.go @@ -18,7 +18,7 @@ type TeamsAppsItemAppDefinitionsItemOutlineIconRequestBuilderDeleteRequestConfig // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TeamsAppsItemAppDefinitionsItemOutlineIconRequestBuilderGetQueryParameters retrieve a Teams app icon associated with a specific definition of an app. +// TeamsAppsItemAppDefinitionsItemOutlineIconRequestBuilderGetQueryParameters the outline version of the Teams app's icon. type TeamsAppsItemAppDefinitionsItemOutlineIconRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *TeamsAppsItemAppDefinitionsItemOutlineIconRequestBuilder) Delete(ctx co } return nil } -// Get retrieve a Teams app icon associated with a specific definition of an app. +// Get the outline version of the Teams app's icon. // returns a TeamsAppIconable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/teamsappicon-get?view=graph-rest-1.0 func (m *TeamsAppsItemAppDefinitionsItemOutlineIconRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamsAppsItemAppDefinitionsItemOutlineIconRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppIconable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *TeamsAppsItemAppDefinitionsItemOutlineIconRequestBuilder) ToDeleteReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a Teams app icon associated with a specific definition of an app. +// ToGetRequestInformation the outline version of the Teams app's icon. // returns a *RequestInformation when successful func (m *TeamsAppsItemAppDefinitionsItemOutlineIconRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamsAppsItemAppDefinitionsItemOutlineIconRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/appcatalogs/teams_apps_item_app_definitions_request_builder.go b/appcatalogs/teams_apps_item_app_definitions_request_builder.go index e5f0ec25f56..b215a423fd5 100644 --- a/appcatalogs/teams_apps_item_app_definitions_request_builder.go +++ b/appcatalogs/teams_apps_item_app_definitions_request_builder.go @@ -96,12 +96,9 @@ func (m *TeamsAppsItemAppDefinitionsRequestBuilder) Get(ctx context.Context, req } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppDefinitionCollectionResponseable), nil } -// Post update an app previously published to the Microsoft Teams app catalog. To update an app, the distributionMethod property for the app must be set to organization. This API specifically updates an app published to your organization's app catalog (the tenant app catalog). +// Post create new navigation property to appDefinitions for appCatalogs // returns a TeamsAppDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/teamsapp-update?view=graph-rest-1.0 func (m *TeamsAppsItemAppDefinitionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppDefinitionable, requestConfiguration *TeamsAppsItemAppDefinitionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppDefinitionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -133,7 +130,7 @@ func (m *TeamsAppsItemAppDefinitionsRequestBuilder) ToGetRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation update an app previously published to the Microsoft Teams app catalog. To update an app, the distributionMethod property for the app must be set to organization. This API specifically updates an app published to your organization's app catalog (the tenant app catalog). +// ToPostRequestInformation create new navigation property to appDefinitions for appCatalogs // returns a *RequestInformation when successful func (m *TeamsAppsItemAppDefinitionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppDefinitionable, requestConfiguration *TeamsAppsItemAppDefinitionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/appcatalogs/teams_apps_item_app_definitions_teams_app_definition_item_request_builder.go b/appcatalogs/teams_apps_item_app_definitions_teams_app_definition_item_request_builder.go index 97d0bfb6fe3..4e12584167a 100644 --- a/appcatalogs/teams_apps_item_app_definitions_teams_app_definition_item_request_builder.go +++ b/appcatalogs/teams_apps_item_app_definitions_teams_app_definition_item_request_builder.go @@ -110,12 +110,9 @@ func (m *TeamsAppsItemAppDefinitionsTeamsAppDefinitionItemRequestBuilder) Get(ct func (m *TeamsAppsItemAppDefinitionsTeamsAppDefinitionItemRequestBuilder) OutlineIcon()(*TeamsAppsItemAppDefinitionsItemOutlineIconRequestBuilder) { return NewTeamsAppsItemAppDefinitionsItemOutlineIconRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch publish an app to the Microsoft Teams app catalog.Specifically, this API publishes the app to your organization's catalog (the tenant app catalog);the created resource has a distributionMethod property value of organization. The requiresReview property allows any user to submit an app for review by an administrator. Admins can approve or reject these apps via this API or the Microsoft Teams admin center. +// Patch update the navigation property appDefinitions in appCatalogs // returns a TeamsAppDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/teamsapp-publish?view=graph-rest-1.0 func (m *TeamsAppsItemAppDefinitionsTeamsAppDefinitionItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppDefinitionable, requestConfiguration *TeamsAppsItemAppDefinitionsTeamsAppDefinitionItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppDefinitionable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -158,7 +155,7 @@ func (m *TeamsAppsItemAppDefinitionsTeamsAppDefinitionItemRequestBuilder) ToGetR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation publish an app to the Microsoft Teams app catalog.Specifically, this API publishes the app to your organization's catalog (the tenant app catalog);the created resource has a distributionMethod property value of organization. The requiresReview property allows any user to submit an app for review by an administrator. Admins can approve or reject these apps via this API or the Microsoft Teams admin center. +// ToPatchRequestInformation update the navigation property appDefinitions in appCatalogs // returns a *RequestInformation when successful func (m *TeamsAppsItemAppDefinitionsTeamsAppDefinitionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppDefinitionable, requestConfiguration *TeamsAppsItemAppDefinitionsTeamsAppDefinitionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/appcatalogs/teams_apps_request_builder.go b/appcatalogs/teams_apps_request_builder.go index 28e08940f7a..c63e93c8678 100644 --- a/appcatalogs/teams_apps_request_builder.go +++ b/appcatalogs/teams_apps_request_builder.go @@ -11,7 +11,7 @@ import ( type TeamsAppsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TeamsAppsRequestBuilderGetQueryParameters list apps from the Microsoft Teams app catalog. This includes apps from the Microsoft Teams store and apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request. +// TeamsAppsRequestBuilderGetQueryParameters get teamsApps from appCatalogs type TeamsAppsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewTeamsAppsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee2633 func (m *TeamsAppsRequestBuilder) Count()(*TeamsAppsCountRequestBuilder) { return NewTeamsAppsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list apps from the Microsoft Teams app catalog. This includes apps from the Microsoft Teams store and apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request. +// Get get teamsApps from appCatalogs // returns a TeamsAppCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/appcatalogs-list-teamsapps?view=graph-rest-1.0 func (m *TeamsAppsRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamsAppsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *TeamsAppsRequestBuilder) Get(ctx context.Context, requestConfiguration } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppCollectionResponseable), nil } -// Post publish an app to the Microsoft Teams app catalog.Specifically, this API publishes the app to your organization's catalog (the tenant app catalog);the created resource has a distributionMethod property value of organization. The requiresReview property allows any user to submit an app for review by an administrator. Admins can approve or reject these apps via this API or the Microsoft Teams admin center. +// Post create new navigation property to teamsApps for appCatalogs // returns a TeamsAppable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/teamsapp-publish?view=graph-rest-1.0 func (m *TeamsAppsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppable, requestConfiguration *TeamsAppsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *TeamsAppsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppable), nil } -// ToGetRequestInformation list apps from the Microsoft Teams app catalog. This includes apps from the Microsoft Teams store and apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request. +// ToGetRequestInformation get teamsApps from appCatalogs // returns a *RequestInformation when successful func (m *TeamsAppsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamsAppsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *TeamsAppsRequestBuilder) ToGetRequestInformation(ctx context.Context, r requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation publish an app to the Microsoft Teams app catalog.Specifically, this API publishes the app to your organization's catalog (the tenant app catalog);the created resource has a distributionMethod property value of organization. The requiresReview property allows any user to submit an app for review by an administrator. Admins can approve or reject these apps via this API or the Microsoft Teams admin center. +// ToPostRequestInformation create new navigation property to teamsApps for appCatalogs // returns a *RequestInformation when successful func (m *TeamsAppsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppable, requestConfiguration *TeamsAppsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/appcatalogs/teams_apps_teams_app_item_request_builder.go b/appcatalogs/teams_apps_teams_app_item_request_builder.go index aa15b2aaa72..155ace36ce0 100644 --- a/appcatalogs/teams_apps_teams_app_item_request_builder.go +++ b/appcatalogs/teams_apps_teams_app_item_request_builder.go @@ -59,11 +59,8 @@ func NewTeamsAppsTeamsAppItemRequestBuilder(rawUrl string, requestAdapter i2ae41 urlParams["request-raw-url"] = rawUrl return NewTeamsAppsTeamsAppItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an app from an organization's app catalog (the tenant app catalog). To delete an app, the distributionMethod property for the app must be set to organization. You can also use this API to remove a submitted app from the review process. +// Delete delete navigation property teamsApps for appCatalogs // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/teamsapp-delete?view=graph-rest-1.0 func (m *TeamsAppsTeamsAppItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *TeamsAppsTeamsAppItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -118,7 +115,7 @@ func (m *TeamsAppsTeamsAppItemRequestBuilder) Patch(ctx context.Context, body ie } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppable), nil } -// ToDeleteRequestInformation delete an app from an organization's app catalog (the tenant app catalog). To delete an app, the distributionMethod property for the app must be set to organization. You can also use this API to remove a submitted app from the review process. +// ToDeleteRequestInformation delete navigation property teamsApps for appCatalogs // returns a *RequestInformation when successful func (m *TeamsAppsTeamsAppItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *TeamsAppsTeamsAppItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/applications/application_item_request_builder.go b/applications/application_item_request_builder.go index 9f7fd5916cf..9125f935ddd 100644 --- a/applications/application_item_request_builder.go +++ b/applications/application_item_request_builder.go @@ -93,7 +93,7 @@ func (m *ApplicationItemRequestBuilder) CreatedOnBehalfOf()(*ItemCreatedOnBehalf // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/application-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/application-delete?view=graph-rest-beta func (m *ApplicationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ApplicationItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -128,7 +128,7 @@ func (m *ApplicationItemRequestBuilder) FederatedIdentityCredentialsWithName(nam // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/application-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/application-get?view=graph-rest-beta func (m *ApplicationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ApplicationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Applicationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -176,7 +176,7 @@ func (m *ApplicationItemRequestBuilder) Owners()(*ItemOwnersRequestBuilder) { // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/application-upsert?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/application-upsert?view=graph-rest-beta func (m *ApplicationItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Applicationable, requestConfiguration *ApplicationItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Applicationable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/applications/applications_request_builder.go b/applications/applications_request_builder.go index dce57e8cf13..049c331e541 100644 --- a/applications/applications_request_builder.go +++ b/applications/applications_request_builder.go @@ -86,7 +86,7 @@ func (m *ApplicationsRequestBuilder) Delta()(*DeltaRequestBuilder) { // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/application-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/application-list?view=graph-rest-beta func (m *ApplicationsRequestBuilder) Get(ctx context.Context, requestConfiguration *ApplicationsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApplicationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +119,7 @@ func (m *ApplicationsRequestBuilder) GetUserOwnedObjects()(*GetUserOwnedObjectsR // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/application-post-applications?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/application-post-applications?view=graph-rest-beta func (m *ApplicationsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Applicationable, requestConfiguration *ApplicationsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Applicationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/applications/delta_request_builder.go b/applications/delta_request_builder.go index 3539b22eefd..e8960e0a267 100644 --- a/applications/delta_request_builder.go +++ b/applications/delta_request_builder.go @@ -10,7 +10,7 @@ import ( type DeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeltaRequestBuilderGetQueryParameters invoke function delta +// DeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted applications without having to perform a full read of the entire resource collection. See Using Delta Query for details. type DeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb urlParams["request-raw-url"] = rawUrl return NewDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get get newly created, updated, or deleted applications without having to perform a full read of the entire resource collection. See Using Delta Query for details. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a DeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/application-delta?view=graph-rest-beta func (m *DeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(DeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *DeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *Del } return res.(DeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse get newly created, updated, or deleted applications without having to perform a full read of the entire resource collection. See Using Delta Query for details. // returns a DeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/application-delta?view=graph-rest-beta func (m *DeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(DeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *DeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, request } return res.(DeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation get newly created, updated, or deleted applications without having to perform a full read of the entire resource collection. See Using Delta Query for details. // returns a *RequestInformation when successful func (m *DeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/applications/get_by_ids_request_builder.go b/applications/get_by_ids_request_builder.go index 1a06e91ba8c..6f0c655d8c3 100644 --- a/applications/get_by_ids_request_builder.go +++ b/applications/get_by_ids_request_builder.go @@ -36,7 +36,7 @@ func NewGetByIdsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26337 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-beta func (m *GetByIdsRequestBuilder) Post(ctx context.Context, body GetByIdsPostRequestBodyable, requestConfiguration *GetByIdsRequestBuilderPostRequestConfiguration)(GetByIdsResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *GetByIdsRequestBuilder) Post(ctx context.Context, body GetByIdsPostRequ // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-beta func (m *GetByIdsRequestBuilder) PostAsGetByIdsPostResponse(ctx context.Context, body GetByIdsPostRequestBodyable, requestConfiguration *GetByIdsRequestBuilderPostRequestConfiguration)(GetByIdsPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/applications/get_user_owned_objects_request_builder.go b/applications/get_user_owned_objects_request_builder.go index c68fc6fa983..004144efebd 100644 --- a/applications/get_user_owned_objects_request_builder.go +++ b/applications/get_user_owned_objects_request_builder.go @@ -36,7 +36,7 @@ func NewGetUserOwnedObjectsRequestBuilder(rawUrl string, requestAdapter i2ae4187 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directory-deleteditems-getuserownedobjects?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directory-deleteditems-getuserownedobjects?view=graph-rest-beta func (m *GetUserOwnedObjectsRequestBuilder) Post(ctx context.Context, body GetUserOwnedObjectsPostRequestBodyable, requestConfiguration *GetUserOwnedObjectsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/applications/item_add_key_request_builder.go b/applications/item_add_key_request_builder.go index 670df526a36..141de3f1c7b 100644 --- a/applications/item_add_key_request_builder.go +++ b/applications/item_add_key_request_builder.go @@ -36,7 +36,7 @@ func NewItemAddKeyRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/application-addkey?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/application-addkey?view=graph-rest-beta func (m *ItemAddKeyRequestBuilder) Post(ctx context.Context, body ItemAddKeyPostRequestBodyable, requestConfiguration *ItemAddKeyRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.KeyCredentialable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/applications/item_add_password_request_builder.go b/applications/item_add_password_request_builder.go index f7dca985218..507d379294a 100644 --- a/applications/item_add_password_request_builder.go +++ b/applications/item_add_password_request_builder.go @@ -36,7 +36,7 @@ func NewItemAddPasswordRequestBuilder(rawUrl string, requestAdapter i2ae4187f7da // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/application-addpassword?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/application-addpassword?view=graph-rest-beta func (m *ItemAddPasswordRequestBuilder) Post(ctx context.Context, body ItemAddPasswordPostRequestBodyable, requestConfiguration *ItemAddPasswordRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PasswordCredentialable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/applications/item_app_management_policies_item_ref_request_builder.go b/applications/item_app_management_policies_item_ref_request_builder.go index ddbf1465541..627af7b2316 100644 --- a/applications/item_app_management_policies_item_ref_request_builder.go +++ b/applications/item_app_management_policies_item_ref_request_builder.go @@ -30,11 +30,8 @@ func NewItemAppManagementPoliciesItemRefRequestBuilder(rawUrl string, requestAda urlParams["request-raw-url"] = rawUrl return NewItemAppManagementPoliciesItemRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove an appManagementPolicy policy object from an application or service principal object. When you remove the appManagementPolicy, the application or service principal adopts the tenant-wide tenantAppManagementPolicy setting. +// Delete delete ref of navigation property appManagementPolicies for applications // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/appmanagementpolicy-delete-appliesto?view=graph-rest-1.0 func (m *ItemAppManagementPoliciesItemRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemAppManagementPoliciesItemRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -49,7 +46,7 @@ func (m *ItemAppManagementPoliciesItemRefRequestBuilder) Delete(ctx context.Cont } return nil } -// ToDeleteRequestInformation remove an appManagementPolicy policy object from an application or service principal object. When you remove the appManagementPolicy, the application or service principal adopts the tenant-wide tenantAppManagementPolicy setting. +// ToDeleteRequestInformation delete ref of navigation property appManagementPolicies for applications // returns a *RequestInformation when successful func (m *ItemAppManagementPoliciesItemRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemAppManagementPoliciesItemRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/applications/item_app_management_policies_ref_request_builder.go b/applications/item_app_management_policies_ref_request_builder.go index 785cacdafa2..9a3276f6d84 100644 --- a/applications/item_app_management_policies_ref_request_builder.go +++ b/applications/item_app_management_policies_ref_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemAppManagementPoliciesRefRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemAppManagementPoliciesRefRequestBuilderDeleteQueryParameters remove an appManagementPolicy policy object from an application or service principal object. When you remove the appManagementPolicy, the application or service principal adopts the tenant-wide tenantAppManagementPolicy setting. +// ItemAppManagementPoliciesRefRequestBuilderDeleteQueryParameters delete ref of navigation property appManagementPolicies for applications type ItemAppManagementPoliciesRefRequestBuilderDeleteQueryParameters struct { // The delete Uri Id *string `uriparametername:"%40id"` @@ -69,11 +69,8 @@ func NewItemAppManagementPoliciesRefRequestBuilder(rawUrl string, requestAdapter urlParams["request-raw-url"] = rawUrl return NewItemAppManagementPoliciesRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove an appManagementPolicy policy object from an application or service principal object. When you remove the appManagementPolicy, the application or service principal adopts the tenant-wide tenantAppManagementPolicy setting. +// Delete delete ref of navigation property appManagementPolicies for applications // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/appmanagementpolicy-delete-appliesto?view=graph-rest-1.0 func (m *ItemAppManagementPoliciesRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemAppManagementPoliciesRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -108,11 +105,8 @@ func (m *ItemAppManagementPoliciesRefRequestBuilder) Get(ctx context.Context, re } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable), nil } -// Post assign an appManagementPolicy policy object to an application or service principal object. The application or service principal adopts this policy over the tenant-wide tenantAppManagementPolicy setting. Only one policy object can be assigned to an application or service principal. +// Post create new navigation property ref to appManagementPolicies for applications // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/appmanagementpolicy-post-appliesto?view=graph-rest-1.0 func (m *ItemAppManagementPoliciesRefRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *ItemAppManagementPoliciesRefRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemAppManagementPoliciesRefRequestBuilder) Post(ctx context.Context, b } return nil } -// ToDeleteRequestInformation remove an appManagementPolicy policy object from an application or service principal object. When you remove the appManagementPolicy, the application or service principal adopts the tenant-wide tenantAppManagementPolicy setting. +// ToDeleteRequestInformation delete ref of navigation property appManagementPolicies for applications // returns a *RequestInformation when successful func (m *ItemAppManagementPoliciesRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemAppManagementPoliciesRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, "{+baseurl}/applications/{application%2Did}/appManagementPolicies/$ref?@id={%40id}", m.BaseRequestBuilder.PathParameters) @@ -155,7 +149,7 @@ func (m *ItemAppManagementPoliciesRefRequestBuilder) ToGetRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation assign an appManagementPolicy policy object to an application or service principal object. The application or service principal adopts this policy over the tenant-wide tenantAppManagementPolicy setting. Only one policy object can be assigned to an application or service principal. +// ToPostRequestInformation create new navigation property ref to appManagementPolicies for applications // returns a *RequestInformation when successful func (m *ItemAppManagementPoliciesRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *ItemAppManagementPoliciesRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/applications/{application%2Did}/appManagementPolicies/$ref", m.BaseRequestBuilder.PathParameters) diff --git a/applications/item_check_member_groups_request_builder.go b/applications/item_check_member_groups_request_builder.go index a4f1dcfab3f..61d58001149 100644 --- a/applications/item_check_member_groups_request_builder.go +++ b/applications/item_check_member_groups_request_builder.go @@ -36,7 +36,7 @@ func NewItemCheckMemberGroupsRequestBuilder(rawUrl string, requestAdapter i2ae41 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-beta func (m *ItemCheckMemberGroupsRequestBuilder) Post(ctx context.Context, body ItemCheckMemberGroupsPostRequestBodyable, requestConfiguration *ItemCheckMemberGroupsRequestBuilderPostRequestConfiguration)(ItemCheckMemberGroupsResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ItemCheckMemberGroupsRequestBuilder) Post(ctx context.Context, body Ite // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-beta func (m *ItemCheckMemberGroupsRequestBuilder) PostAsCheckMemberGroupsPostResponse(ctx context.Context, body ItemCheckMemberGroupsPostRequestBodyable, requestConfiguration *ItemCheckMemberGroupsRequestBuilderPostRequestConfiguration)(ItemCheckMemberGroupsPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/applications/item_connector_group_ref_request_builder.go b/applications/item_connector_group_ref_request_builder.go index 183a0b418bc..b2763d3bca2 100644 --- a/applications/item_connector_group_ref_request_builder.go +++ b/applications/item_connector_group_ref_request_builder.go @@ -81,11 +81,8 @@ func (m *ItemConnectorGroupRefRequestBuilder) Get(ctx context.Context, requestCo } return res.(*string), nil } -// Put assign a connectorGroup to an application. +// Put update the ref of navigation property connectorGroup in applications // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/connectorgroup-post-applications?view=graph-rest-1.0 func (m *ItemConnectorGroupRefRequestBuilder) Put(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceUpdateable, requestConfiguration *ItemConnectorGroupRefRequestBuilderPutRequestConfiguration)(error) { requestInfo, err := m.ToPutRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +119,7 @@ func (m *ItemConnectorGroupRefRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPutRequestInformation assign a connectorGroup to an application. +// ToPutRequestInformation update the ref of navigation property connectorGroup in applications // returns a *RequestInformation when successful func (m *ItemConnectorGroupRefRequestBuilder) ToPutRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceUpdateable, requestConfiguration *ItemConnectorGroupRefRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/applications/item_extension_properties_extension_property_item_request_builder.go b/applications/item_extension_properties_extension_property_item_request_builder.go index ebb147c2acf..ec5a31e5258 100644 --- a/applications/item_extension_properties_extension_property_item_request_builder.go +++ b/applications/item_extension_properties_extension_property_item_request_builder.go @@ -18,7 +18,7 @@ type ItemExtensionPropertiesExtensionPropertyItemRequestBuilderDeleteRequestConf // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemExtensionPropertiesExtensionPropertyItemRequestBuilderGetQueryParameters read a directory extension definition represented by an extensionProperty object. +// ItemExtensionPropertiesExtensionPropertyItemRequestBuilderGetQueryParameters read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0). type ItemExtensionPropertiesExtensionPropertyItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemExtensionPropertiesExtensionPropertyItemRequestBuilder(rawUrl string urlParams["request-raw-url"] = rawUrl return NewItemExtensionPropertiesExtensionPropertyItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a directory extension definition represented by an extensionProperty object. You can delete only directory extensions that aren't synced from on-premises active directory (AD). +// Delete delete navigation property extensionProperties for applications // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/extensionproperty-delete?view=graph-rest-1.0 func (m *ItemExtensionPropertiesExtensionPropertyItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemExtensionPropertiesExtensionPropertyItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemExtensionPropertiesExtensionPropertyItemRequestBuilder) Delete(ctx } return nil } -// Get read a directory extension definition represented by an extensionProperty object. +// Get read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0). // returns a ExtensionPropertyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/extensionproperty-get?view=graph-rest-1.0 func (m *ItemExtensionPropertiesExtensionPropertyItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemExtensionPropertiesExtensionPropertyItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionPropertyable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -116,7 +110,7 @@ func (m *ItemExtensionPropertiesExtensionPropertyItemRequestBuilder) Patch(ctx c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionPropertyable), nil } -// ToDeleteRequestInformation delete a directory extension definition represented by an extensionProperty object. You can delete only directory extensions that aren't synced from on-premises active directory (AD). +// ToDeleteRequestInformation delete navigation property extensionProperties for applications // returns a *RequestInformation when successful func (m *ItemExtensionPropertiesExtensionPropertyItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemExtensionPropertiesExtensionPropertyItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -127,7 +121,7 @@ func (m *ItemExtensionPropertiesExtensionPropertyItemRequestBuilder) ToDeleteReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read a directory extension definition represented by an extensionProperty object. +// ToGetRequestInformation read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0). // returns a *RequestInformation when successful func (m *ItemExtensionPropertiesExtensionPropertyItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemExtensionPropertiesExtensionPropertyItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/applications/item_extension_properties_request_builder.go b/applications/item_extension_properties_request_builder.go index 5036af1f6bf..f622b07d724 100644 --- a/applications/item_extension_properties_request_builder.go +++ b/applications/item_extension_properties_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemExtensionPropertiesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemExtensionPropertiesRequestBuilderGetQueryParameters retrieve the list of directory extension definitions, represented by extensionProperty objects on an application. +// ItemExtensionPropertiesRequestBuilderGetQueryParameters read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0). type ItemExtensionPropertiesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemExtensionPropertiesRequestBuilder(rawUrl string, requestAdapter i2ae func (m *ItemExtensionPropertiesRequestBuilder) Count()(*ItemExtensionPropertiesCountRequestBuilder) { return NewItemExtensionPropertiesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of directory extension definitions, represented by extensionProperty objects on an application. +// Get read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0). // returns a ExtensionPropertyCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/application-list-extensionproperty?view=graph-rest-1.0 func (m *ItemExtensionPropertiesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemExtensionPropertiesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionPropertyCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemExtensionPropertiesRequestBuilder) Get(ctx context.Context, request } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionPropertyCollectionResponseable), nil } -// Post create a new directory extension definition, represented by an extensionProperty object. +// Post create new navigation property to extensionProperties for applications // returns a ExtensionPropertyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/application-post-extensionproperty?view=graph-rest-1.0 func (m *ItemExtensionPropertiesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionPropertyable, requestConfiguration *ItemExtensionPropertiesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionPropertyable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemExtensionPropertiesRequestBuilder) Post(ctx context.Context, body i } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionPropertyable), nil } -// ToGetRequestInformation retrieve the list of directory extension definitions, represented by extensionProperty objects on an application. +// ToGetRequestInformation read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0). // returns a *RequestInformation when successful func (m *ItemExtensionPropertiesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemExtensionPropertiesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemExtensionPropertiesRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new directory extension definition, represented by an extensionProperty object. +// ToPostRequestInformation create new navigation property to extensionProperties for applications // returns a *RequestInformation when successful func (m *ItemExtensionPropertiesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionPropertyable, requestConfiguration *ItemExtensionPropertiesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/applications/item_federated_identity_credentials_federated_identity_credential_item_request_builder.go b/applications/item_federated_identity_credentials_federated_identity_credential_item_request_builder.go index 551edef7979..4a18ca2aa67 100644 --- a/applications/item_federated_identity_credentials_federated_identity_credential_item_request_builder.go +++ b/applications/item_federated_identity_credentials_federated_identity_credential_item_request_builder.go @@ -18,7 +18,7 @@ type ItemFederatedIdentityCredentialsFederatedIdentityCredentialItemRequestBuild // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemFederatedIdentityCredentialsFederatedIdentityCredentialItemRequestBuilderGetQueryParameters read the properties and relationships of a federatedIdentityCredential object. +// ItemFederatedIdentityCredentialsFederatedIdentityCredentialItemRequestBuilderGetQueryParameters federated identities for applications. Supports $expand and $filter (startsWith, /$count eq 0, /$count ne 0). type ItemFederatedIdentityCredentialsFederatedIdentityCredentialItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemFederatedIdentityCredentialsFederatedIdentityCredentialItemRequestBu urlParams["request-raw-url"] = rawUrl return NewItemFederatedIdentityCredentialsFederatedIdentityCredentialItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a federatedIdentityCredential object from an application. +// Delete delete navigation property federatedIdentityCredentials for applications // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/federatedidentitycredential-delete?view=graph-rest-1.0 func (m *ItemFederatedIdentityCredentialsFederatedIdentityCredentialItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemFederatedIdentityCredentialsFederatedIdentityCredentialItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemFederatedIdentityCredentialsFederatedIdentityCredentialItemRequestB } return nil } -// Get read the properties and relationships of a federatedIdentityCredential object. +// Get federated identities for applications. Supports $expand and $filter (startsWith, /$count eq 0, /$count ne 0). // returns a FederatedIdentityCredentialable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/federatedidentitycredential-get?view=graph-rest-1.0 func (m *ItemFederatedIdentityCredentialsFederatedIdentityCredentialItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemFederatedIdentityCredentialsFederatedIdentityCredentialItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FederatedIdentityCredentialable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ItemFederatedIdentityCredentialsFederatedIdentityCredentialItemRequestB } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FederatedIdentityCredentialable), nil } -// Patch update the properties of a federatedIdentityCredential object. +// Patch update the navigation property federatedIdentityCredentials in applications // returns a FederatedIdentityCredentialable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/federatedidentitycredential-update?view=graph-rest-1.0 func (m *ItemFederatedIdentityCredentialsFederatedIdentityCredentialItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FederatedIdentityCredentialable, requestConfiguration *ItemFederatedIdentityCredentialsFederatedIdentityCredentialItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FederatedIdentityCredentialable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *ItemFederatedIdentityCredentialsFederatedIdentityCredentialItemRequestB } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FederatedIdentityCredentialable), nil } -// ToDeleteRequestInformation deletes a federatedIdentityCredential object from an application. +// ToDeleteRequestInformation delete navigation property federatedIdentityCredentials for applications // returns a *RequestInformation when successful func (m *ItemFederatedIdentityCredentialsFederatedIdentityCredentialItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemFederatedIdentityCredentialsFederatedIdentityCredentialItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *ItemFederatedIdentityCredentialsFederatedIdentityCredentialItemRequestB requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a federatedIdentityCredential object. +// ToGetRequestInformation federated identities for applications. Supports $expand and $filter (startsWith, /$count eq 0, /$count ne 0). // returns a *RequestInformation when successful func (m *ItemFederatedIdentityCredentialsFederatedIdentityCredentialItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemFederatedIdentityCredentialsFederatedIdentityCredentialItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *ItemFederatedIdentityCredentialsFederatedIdentityCredentialItemRequestB requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a federatedIdentityCredential object. +// ToPatchRequestInformation update the navigation property federatedIdentityCredentials in applications // returns a *RequestInformation when successful func (m *ItemFederatedIdentityCredentialsFederatedIdentityCredentialItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FederatedIdentityCredentialable, requestConfiguration *ItemFederatedIdentityCredentialsFederatedIdentityCredentialItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/applications/item_federated_identity_credentials_request_builder.go b/applications/item_federated_identity_credentials_request_builder.go index d723b810f55..7ee6b6bed4a 100644 --- a/applications/item_federated_identity_credentials_request_builder.go +++ b/applications/item_federated_identity_credentials_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemFederatedIdentityCredentialsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemFederatedIdentityCredentialsRequestBuilderGetQueryParameters get a list of the federatedIdentityCredential objects and their properties. +// ItemFederatedIdentityCredentialsRequestBuilderGetQueryParameters federated identities for applications. Supports $expand and $filter (startsWith, /$count eq 0, /$count ne 0). type ItemFederatedIdentityCredentialsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemFederatedIdentityCredentialsRequestBuilder(rawUrl string, requestAda func (m *ItemFederatedIdentityCredentialsRequestBuilder) Count()(*ItemFederatedIdentityCredentialsCountRequestBuilder) { return NewItemFederatedIdentityCredentialsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the federatedIdentityCredential objects and their properties. +// Get federated identities for applications. Supports $expand and $filter (startsWith, /$count eq 0, /$count ne 0). // returns a FederatedIdentityCredentialCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/application-list-federatedidentitycredentials?view=graph-rest-1.0 func (m *ItemFederatedIdentityCredentialsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemFederatedIdentityCredentialsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FederatedIdentityCredentialCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemFederatedIdentityCredentialsRequestBuilder) Get(ctx context.Context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FederatedIdentityCredentialCollectionResponseable), nil } -// Post create a new federatedIdentityCredential object for an application. By configuring a trust relationship between your Microsoft Entra application registration and the identity provider for your compute platform, you can use tokens issued by that platform to authenticate with Microsoft identity platform and call APIs in the Microsoft ecosystem. Maximum of 20 objects can be added to an application. +// Post create new navigation property to federatedIdentityCredentials for applications // returns a FederatedIdentityCredentialable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/application-post-federatedidentitycredentials?view=graph-rest-1.0 func (m *ItemFederatedIdentityCredentialsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FederatedIdentityCredentialable, requestConfiguration *ItemFederatedIdentityCredentialsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FederatedIdentityCredentialable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemFederatedIdentityCredentialsRequestBuilder) Post(ctx context.Contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FederatedIdentityCredentialable), nil } -// ToGetRequestInformation get a list of the federatedIdentityCredential objects and their properties. +// ToGetRequestInformation federated identities for applications. Supports $expand and $filter (startsWith, /$count eq 0, /$count ne 0). // returns a *RequestInformation when successful func (m *ItemFederatedIdentityCredentialsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemFederatedIdentityCredentialsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemFederatedIdentityCredentialsRequestBuilder) ToGetRequestInformation requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new federatedIdentityCredential object for an application. By configuring a trust relationship between your Microsoft Entra application registration and the identity provider for your compute platform, you can use tokens issued by that platform to authenticate with Microsoft identity platform and call APIs in the Microsoft ecosystem. Maximum of 20 objects can be added to an application. +// ToPostRequestInformation create new navigation property to federatedIdentityCredentials for applications // returns a *RequestInformation when successful func (m *ItemFederatedIdentityCredentialsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FederatedIdentityCredentialable, requestConfiguration *ItemFederatedIdentityCredentialsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/applications/item_federated_identity_credentials_with_name_request_builder.go b/applications/item_federated_identity_credentials_with_name_request_builder.go index 997f900dfd7..e8b0f8a84c7 100644 --- a/applications/item_federated_identity_credentials_with_name_request_builder.go +++ b/applications/item_federated_identity_credentials_with_name_request_builder.go @@ -18,7 +18,7 @@ type ItemFederatedIdentityCredentialsWithNameRequestBuilderDeleteRequestConfigur // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemFederatedIdentityCredentialsWithNameRequestBuilderGetQueryParameters read the properties and relationships of a federatedIdentityCredential object. +// ItemFederatedIdentityCredentialsWithNameRequestBuilderGetQueryParameters federated identities for applications. Supports $expand and $filter (startsWith, /$count eq 0, /$count ne 0). type ItemFederatedIdentityCredentialsWithNameRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,11 +57,8 @@ func NewItemFederatedIdentityCredentialsWithNameRequestBuilder(rawUrl string, re urlParams["request-raw-url"] = rawUrl return NewItemFederatedIdentityCredentialsWithNameRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Delete deletes a federatedIdentityCredential object from an application. +// Delete delete navigation property federatedIdentityCredentials for applications // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/federatedidentitycredential-delete?view=graph-rest-1.0 func (m *ItemFederatedIdentityCredentialsWithNameRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemFederatedIdentityCredentialsWithNameRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -76,12 +73,9 @@ func (m *ItemFederatedIdentityCredentialsWithNameRequestBuilder) Delete(ctx cont } return nil } -// Get read the properties and relationships of a federatedIdentityCredential object. +// Get federated identities for applications. Supports $expand and $filter (startsWith, /$count eq 0, /$count ne 0). // returns a FederatedIdentityCredentialable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/federatedidentitycredential-get?view=graph-rest-1.0 func (m *ItemFederatedIdentityCredentialsWithNameRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemFederatedIdentityCredentialsWithNameRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FederatedIdentityCredentialable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +93,9 @@ func (m *ItemFederatedIdentityCredentialsWithNameRequestBuilder) Get(ctx context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FederatedIdentityCredentialable), nil } -// Patch update the properties of a federatedIdentityCredential object. +// Patch update the navigation property federatedIdentityCredentials in applications // returns a FederatedIdentityCredentialable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/federatedidentitycredential-update?view=graph-rest-1.0 func (m *ItemFederatedIdentityCredentialsWithNameRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FederatedIdentityCredentialable, requestConfiguration *ItemFederatedIdentityCredentialsWithNameRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FederatedIdentityCredentialable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +113,7 @@ func (m *ItemFederatedIdentityCredentialsWithNameRequestBuilder) Patch(ctx conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FederatedIdentityCredentialable), nil } -// ToDeleteRequestInformation deletes a federatedIdentityCredential object from an application. +// ToDeleteRequestInformation delete navigation property federatedIdentityCredentials for applications // returns a *RequestInformation when successful func (m *ItemFederatedIdentityCredentialsWithNameRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemFederatedIdentityCredentialsWithNameRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +124,7 @@ func (m *ItemFederatedIdentityCredentialsWithNameRequestBuilder) ToDeleteRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a federatedIdentityCredential object. +// ToGetRequestInformation federated identities for applications. Supports $expand and $filter (startsWith, /$count eq 0, /$count ne 0). // returns a *RequestInformation when successful func (m *ItemFederatedIdentityCredentialsWithNameRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemFederatedIdentityCredentialsWithNameRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -147,7 +138,7 @@ func (m *ItemFederatedIdentityCredentialsWithNameRequestBuilder) ToGetRequestInf requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a federatedIdentityCredential object. +// ToPatchRequestInformation update the navigation property federatedIdentityCredentials in applications // returns a *RequestInformation when successful func (m *ItemFederatedIdentityCredentialsWithNameRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FederatedIdentityCredentialable, requestConfiguration *ItemFederatedIdentityCredentialsWithNameRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/applications/item_get_member_groups_request_builder.go b/applications/item_get_member_groups_request_builder.go index 10ee6cea7fb..b9a4e5193f6 100644 --- a/applications/item_get_member_groups_request_builder.go +++ b/applications/item_get_member_groups_request_builder.go @@ -36,7 +36,7 @@ func NewItemGetMemberGroupsRequestBuilder(rawUrl string, requestAdapter i2ae4187 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-beta func (m *ItemGetMemberGroupsRequestBuilder) Post(ctx context.Context, body ItemGetMemberGroupsPostRequestBodyable, requestConfiguration *ItemGetMemberGroupsRequestBuilderPostRequestConfiguration)(ItemGetMemberGroupsResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ItemGetMemberGroupsRequestBuilder) Post(ctx context.Context, body ItemG // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-beta func (m *ItemGetMemberGroupsRequestBuilder) PostAsGetMemberGroupsPostResponse(ctx context.Context, body ItemGetMemberGroupsPostRequestBodyable, requestConfiguration *ItemGetMemberGroupsRequestBuilderPostRequestConfiguration)(ItemGetMemberGroupsPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/applications/item_owners_item_ref_request_builder.go b/applications/item_owners_item_ref_request_builder.go index 2dfa3458c00..b41a97c2b1d 100644 --- a/applications/item_owners_item_ref_request_builder.go +++ b/applications/item_owners_item_ref_request_builder.go @@ -30,11 +30,8 @@ func NewItemOwnersItemRefRequestBuilder(rawUrl string, requestAdapter i2ae4187f7 urlParams["request-raw-url"] = rawUrl return NewItemOwnersItemRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove an owner from an application. As a recommended best practice, apps should have at least two owners. +// Delete delete ref of navigation property owners for applications // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/application-delete-owners?view=graph-rest-1.0 func (m *ItemOwnersItemRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemOwnersItemRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -49,7 +46,7 @@ func (m *ItemOwnersItemRefRequestBuilder) Delete(ctx context.Context, requestCon } return nil } -// ToDeleteRequestInformation remove an owner from an application. As a recommended best practice, apps should have at least two owners. +// ToDeleteRequestInformation delete ref of navigation property owners for applications // 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/applications/item_owners_ref_request_builder.go b/applications/item_owners_ref_request_builder.go index 5ea62188e84..7a5800087d2 100644 --- a/applications/item_owners_ref_request_builder.go +++ b/applications/item_owners_ref_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOwnersRefRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOwnersRefRequestBuilderDeleteQueryParameters remove an owner from an application. As a recommended best practice, apps should have at least two owners. +// ItemOwnersRefRequestBuilderDeleteQueryParameters delete ref of navigation property owners for applications type ItemOwnersRefRequestBuilderDeleteQueryParameters struct { // The delete Uri Id *string `uriparametername:"%40id"` @@ -69,11 +69,8 @@ func NewItemOwnersRefRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee urlParams["request-raw-url"] = rawUrl return NewItemOwnersRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove an owner from an application. As a recommended best practice, apps should have at least two owners. +// Delete delete ref of navigation property owners for applications // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/application-delete-owners?view=graph-rest-1.0 func (m *ItemOwnersRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemOwnersRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -91,9 +88,6 @@ func (m *ItemOwnersRefRequestBuilder) Delete(ctx context.Context, requestConfigu // Get directory objects that are owners of the application. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. // returns a StringCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/application-list-owners?view=graph-rest-1.0 func (m *ItemOwnersRefRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOwnersRefRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -111,11 +105,8 @@ func (m *ItemOwnersRefRequestBuilder) Get(ctx context.Context, requestConfigurat } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable), nil } -// Post use this API to add an owner to an application by posting to the owners collection. +// Post create new navigation property ref to owners for applications // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/application-post-owners?view=graph-rest-1.0 func (m *ItemOwnersRefRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *ItemOwnersRefRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -130,7 +121,7 @@ func (m *ItemOwnersRefRequestBuilder) Post(ctx context.Context, body ie233ee762e } return nil } -// ToDeleteRequestInformation remove an owner from an application. As a recommended best practice, apps should have at least two owners. +// ToDeleteRequestInformation delete ref of navigation property owners for applications // returns a *RequestInformation when successful func (m *ItemOwnersRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemOwnersRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, "{+baseurl}/applications/{application%2Did}/owners/$ref?@id={%40id}", m.BaseRequestBuilder.PathParameters) @@ -158,7 +149,7 @@ func (m *ItemOwnersRefRequestBuilder) ToGetRequestInformation(ctx context.Contex requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to add an owner to an application by posting to the owners collection. +// ToPostRequestInformation create new navigation property ref to owners for applications // returns a *RequestInformation when successful func (m *ItemOwnersRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *ItemOwnersRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/applications/{application%2Did}/owners/$ref", m.BaseRequestBuilder.PathParameters) diff --git a/applications/item_owners_request_builder.go b/applications/item_owners_request_builder.go index 8e8a4a7cdb3..25c30b4181b 100644 --- a/applications/item_owners_request_builder.go +++ b/applications/item_owners_request_builder.go @@ -72,9 +72,6 @@ func (m *ItemOwnersRequestBuilder) Count()(*ItemOwnersCountRequestBuilder) { // Get directory objects that are owners of the application. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. // returns a DirectoryObjectCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/application-list-owners?view=graph-rest-1.0 func (m *ItemOwnersRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOwnersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/applications/item_remove_key_request_builder.go b/applications/item_remove_key_request_builder.go index 4599b016ee3..edfd7b15d3b 100644 --- a/applications/item_remove_key_request_builder.go +++ b/applications/item_remove_key_request_builder.go @@ -34,7 +34,7 @@ func NewItemRemoveKeyRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/application-removekey?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/application-removekey?view=graph-rest-beta func (m *ItemRemoveKeyRequestBuilder) Post(ctx context.Context, body ItemRemoveKeyPostRequestBodyable, requestConfiguration *ItemRemoveKeyRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/applications/item_remove_password_request_builder.go b/applications/item_remove_password_request_builder.go index d00520405f1..f2e132b3c08 100644 --- a/applications/item_remove_password_request_builder.go +++ b/applications/item_remove_password_request_builder.go @@ -34,7 +34,7 @@ func NewItemRemovePasswordRequestBuilder(rawUrl string, requestAdapter i2ae4187f // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/application-removepassword?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/application-removepassword?view=graph-rest-beta func (m *ItemRemovePasswordRequestBuilder) Post(ctx context.Context, body ItemRemovePasswordPostRequestBodyable, requestConfiguration *ItemRemovePasswordRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/applications/item_restore_request_builder.go b/applications/item_restore_request_builder.go index ae6522ba06c..ee6192203f2 100644 --- a/applications/item_restore_request_builder.go +++ b/applications/item_restore_request_builder.go @@ -36,7 +36,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-beta func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemRestoreRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/applications/item_set_verified_publisher_request_builder.go b/applications/item_set_verified_publisher_request_builder.go index f51e7c0e1bc..3eac7b1f313 100644 --- a/applications/item_set_verified_publisher_request_builder.go +++ b/applications/item_set_verified_publisher_request_builder.go @@ -34,7 +34,7 @@ func NewItemSetVerifiedPublisherRequestBuilder(rawUrl string, requestAdapter i2a // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/application-setverifiedpublisher?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/application-setverifiedpublisher?view=graph-rest-beta func (m *ItemSetVerifiedPublisherRequestBuilder) Post(ctx context.Context, body ItemSetVerifiedPublisherPostRequestBodyable, requestConfiguration *ItemSetVerifiedPublisherRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/applications/item_synchronization_acquire_access_token_request_builder.go b/applications/item_synchronization_acquire_access_token_request_builder.go index 4fa119e7bf8..1288d642340 100644 --- a/applications/item_synchronization_acquire_access_token_request_builder.go +++ b/applications/item_synchronization_acquire_access_token_request_builder.go @@ -34,7 +34,7 @@ func NewItemSynchronizationAcquireAccessTokenRequestBuilder(rawUrl string, reque // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronization-acquireaccesstoken?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronization-acquireaccesstoken?view=graph-rest-beta func (m *ItemSynchronizationAcquireAccessTokenRequestBuilder) Post(ctx context.Context, body ItemSynchronizationAcquireAccessTokenPostRequestBodyable, requestConfiguration *ItemSynchronizationAcquireAccessTokenRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/applications/item_synchronization_jobs_item_pause_request_builder.go b/applications/item_synchronization_jobs_item_pause_request_builder.go index 28d01d9a572..c03538bdf4a 100644 --- a/applications/item_synchronization_jobs_item_pause_request_builder.go +++ b/applications/item_synchronization_jobs_item_pause_request_builder.go @@ -34,7 +34,7 @@ func NewItemSynchronizationJobsItemPauseRequestBuilder(rawUrl string, requestAda // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronizationjob-pause?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronizationjob-pause?view=graph-rest-beta func (m *ItemSynchronizationJobsItemPauseRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemSynchronizationJobsItemPauseRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/applications/item_synchronization_jobs_item_provision_on_demand_request_builder.go b/applications/item_synchronization_jobs_item_provision_on_demand_request_builder.go index 9cc6ac7882d..a850d6b6435 100644 --- a/applications/item_synchronization_jobs_item_provision_on_demand_request_builder.go +++ b/applications/item_synchronization_jobs_item_provision_on_demand_request_builder.go @@ -36,7 +36,7 @@ func NewItemSynchronizationJobsItemProvisionOnDemandRequestBuilder(rawUrl string // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronizationjob-provisionondemand?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronizationjob-provisionondemand?view=graph-rest-beta func (m *ItemSynchronizationJobsItemProvisionOnDemandRequestBuilder) Post(ctx context.Context, body ItemSynchronizationJobsItemProvisionOnDemandPostRequestBodyable, requestConfiguration *ItemSynchronizationJobsItemProvisionOnDemandRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringKeyStringValuePairable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/applications/item_synchronization_jobs_item_restart_request_builder.go b/applications/item_synchronization_jobs_item_restart_request_builder.go index 53ba8e3def1..07866a00c5d 100644 --- a/applications/item_synchronization_jobs_item_restart_request_builder.go +++ b/applications/item_synchronization_jobs_item_restart_request_builder.go @@ -34,7 +34,7 @@ func NewItemSynchronizationJobsItemRestartRequestBuilder(rawUrl string, requestA // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronizationjob-restart?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronizationjob-restart?view=graph-rest-beta func (m *ItemSynchronizationJobsItemRestartRequestBuilder) Post(ctx context.Context, body ItemSynchronizationJobsItemRestartPostRequestBodyable, requestConfiguration *ItemSynchronizationJobsItemRestartRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/applications/item_synchronization_jobs_item_schema_directories_item_discover_request_builder.go b/applications/item_synchronization_jobs_item_schema_directories_item_discover_request_builder.go index f2a350364fd..8d9522c2dbd 100644 --- a/applications/item_synchronization_jobs_item_schema_directories_item_discover_request_builder.go +++ b/applications/item_synchronization_jobs_item_schema_directories_item_discover_request_builder.go @@ -36,7 +36,7 @@ func NewItemSynchronizationJobsItemSchemaDirectoriesItemDiscoverRequestBuilder(r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-directorydefinition-discover?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-directorydefinition-discover?view=graph-rest-beta func (m *ItemSynchronizationJobsItemSchemaDirectoriesItemDiscoverRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemSynchronizationJobsItemSchemaDirectoriesItemDiscoverRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryDefinitionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/applications/item_synchronization_jobs_item_schema_filter_operators_request_builder.go b/applications/item_synchronization_jobs_item_schema_filter_operators_request_builder.go index 09937f2572a..0e2da636d72 100644 --- a/applications/item_synchronization_jobs_item_schema_filter_operators_request_builder.go +++ b/applications/item_synchronization_jobs_item_schema_filter_operators_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemSynchronizationJobsItemSchemaFilterOperatorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSynchronizationJobsItemSchemaFilterOperatorsRequestBuilderGetQueryParameters invoke function filterOperators +// ItemSynchronizationJobsItemSchemaFilterOperatorsRequestBuilderGetQueryParameters list all operators supported in the scoping filters. type ItemSynchronizationJobsItemSchemaFilterOperatorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewItemSynchronizationJobsItemSchemaFilterOperatorsRequestBuilder(rawUrl st urlParams["request-raw-url"] = rawUrl return NewItemSynchronizationJobsItemSchemaFilterOperatorsRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function filterOperators +// Get list all operators supported in the scoping filters. // Deprecated: This method is obsolete. Use GetAsFilterOperatorsGetResponse instead. // returns a ItemSynchronizationJobsItemSchemaFilterOperatorsResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronizationschema-filteroperators?view=graph-rest-beta func (m *ItemSynchronizationJobsItemSchemaFilterOperatorsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSynchronizationJobsItemSchemaFilterOperatorsRequestBuilderGetRequestConfiguration)(ItemSynchronizationJobsItemSchemaFilterOperatorsResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ItemSynchronizationJobsItemSchemaFilterOperatorsRequestBuilder) Get(ctx } return res.(ItemSynchronizationJobsItemSchemaFilterOperatorsResponseable), nil } -// GetAsFilterOperatorsGetResponse invoke function filterOperators +// GetAsFilterOperatorsGetResponse list all operators supported in the scoping filters. // returns a ItemSynchronizationJobsItemSchemaFilterOperatorsGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronizationschema-filteroperators?view=graph-rest-beta func (m *ItemSynchronizationJobsItemSchemaFilterOperatorsRequestBuilder) GetAsFilterOperatorsGetResponse(ctx context.Context, requestConfiguration *ItemSynchronizationJobsItemSchemaFilterOperatorsRequestBuilderGetRequestConfiguration)(ItemSynchronizationJobsItemSchemaFilterOperatorsGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ItemSynchronizationJobsItemSchemaFilterOperatorsRequestBuilder) GetAsFi } return res.(ItemSynchronizationJobsItemSchemaFilterOperatorsGetResponseable), nil } -// ToGetRequestInformation invoke function filterOperators +// ToGetRequestInformation list all operators supported in the scoping filters. // returns a *RequestInformation when successful func (m *ItemSynchronizationJobsItemSchemaFilterOperatorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSynchronizationJobsItemSchemaFilterOperatorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/applications/item_synchronization_jobs_item_schema_functions_request_builder.go b/applications/item_synchronization_jobs_item_schema_functions_request_builder.go index 85487ac623f..c572a7585cc 100644 --- a/applications/item_synchronization_jobs_item_schema_functions_request_builder.go +++ b/applications/item_synchronization_jobs_item_schema_functions_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemSynchronizationJobsItemSchemaFunctionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSynchronizationJobsItemSchemaFunctionsRequestBuilderGetQueryParameters invoke function functions +// ItemSynchronizationJobsItemSchemaFunctionsRequestBuilderGetQueryParameters list all the functions currently supported in the attributeMappingSource. type ItemSynchronizationJobsItemSchemaFunctionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewItemSynchronizationJobsItemSchemaFunctionsRequestBuilder(rawUrl string, urlParams["request-raw-url"] = rawUrl return NewItemSynchronizationJobsItemSchemaFunctionsRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function functions +// Get list all the functions currently supported in the attributeMappingSource. // Deprecated: This method is obsolete. Use GetAsFunctionsGetResponse instead. // returns a ItemSynchronizationJobsItemSchemaFunctionsResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronizationschema-functions?view=graph-rest-beta func (m *ItemSynchronizationJobsItemSchemaFunctionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSynchronizationJobsItemSchemaFunctionsRequestBuilderGetRequestConfiguration)(ItemSynchronizationJobsItemSchemaFunctionsResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ItemSynchronizationJobsItemSchemaFunctionsRequestBuilder) Get(ctx conte } return res.(ItemSynchronizationJobsItemSchemaFunctionsResponseable), nil } -// GetAsFunctionsGetResponse invoke function functions +// GetAsFunctionsGetResponse list all the functions currently supported in the attributeMappingSource. // returns a ItemSynchronizationJobsItemSchemaFunctionsGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronizationschema-functions?view=graph-rest-beta func (m *ItemSynchronizationJobsItemSchemaFunctionsRequestBuilder) GetAsFunctionsGetResponse(ctx context.Context, requestConfiguration *ItemSynchronizationJobsItemSchemaFunctionsRequestBuilderGetRequestConfiguration)(ItemSynchronizationJobsItemSchemaFunctionsGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ItemSynchronizationJobsItemSchemaFunctionsRequestBuilder) GetAsFunction } return res.(ItemSynchronizationJobsItemSchemaFunctionsGetResponseable), nil } -// ToGetRequestInformation invoke function functions +// ToGetRequestInformation list all the functions currently supported in the attributeMappingSource. // returns a *RequestInformation when successful func (m *ItemSynchronizationJobsItemSchemaFunctionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSynchronizationJobsItemSchemaFunctionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/applications/item_synchronization_jobs_item_schema_parse_expression_request_builder.go b/applications/item_synchronization_jobs_item_schema_parse_expression_request_builder.go index cd172e75e3f..af3c57e16f4 100644 --- a/applications/item_synchronization_jobs_item_schema_parse_expression_request_builder.go +++ b/applications/item_synchronization_jobs_item_schema_parse_expression_request_builder.go @@ -36,7 +36,7 @@ func NewItemSynchronizationJobsItemSchemaParseExpressionRequestBuilder(rawUrl st // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronizationschema-parseexpression?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronizationschema-parseexpression?view=graph-rest-beta func (m *ItemSynchronizationJobsItemSchemaParseExpressionRequestBuilder) Post(ctx context.Context, body ItemSynchronizationJobsItemSchemaParseExpressionPostRequestBodyable, requestConfiguration *ItemSynchronizationJobsItemSchemaParseExpressionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ParseExpressionResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/applications/item_synchronization_jobs_item_schema_request_builder.go b/applications/item_synchronization_jobs_item_schema_request_builder.go index 2ea36bbfcef..60506bc2679 100644 --- a/applications/item_synchronization_jobs_item_schema_request_builder.go +++ b/applications/item_synchronization_jobs_item_schema_request_builder.go @@ -18,7 +18,7 @@ type ItemSynchronizationJobsItemSchemaRequestBuilderDeleteRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemSynchronizationJobsItemSchemaRequestBuilderGetQueryParameters retrieve the schema for a given synchronization job or template. +// ItemSynchronizationJobsItemSchemaRequestBuilderGetQueryParameters the synchronization schema configured for the job. type ItemSynchronizationJobsItemSchemaRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -85,12 +85,9 @@ func (m *ItemSynchronizationJobsItemSchemaRequestBuilder) FilterOperators()(*Ite func (m *ItemSynchronizationJobsItemSchemaRequestBuilder) Functions()(*ItemSynchronizationJobsItemSchemaFunctionsRequestBuilder) { return NewItemSynchronizationJobsItemSchemaFunctionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the schema for a given synchronization job or template. +// Get the synchronization schema configured for the job. // returns a SynchronizationSchemaable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronizationschema-get?view=graph-rest-1.0 func (m *ItemSynchronizationJobsItemSchemaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSynchronizationJobsItemSchemaRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SynchronizationSchemaable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -113,12 +110,9 @@ func (m *ItemSynchronizationJobsItemSchemaRequestBuilder) Get(ctx context.Contex func (m *ItemSynchronizationJobsItemSchemaRequestBuilder) ParseExpression()(*ItemSynchronizationJobsItemSchemaParseExpressionRequestBuilder) { return NewItemSynchronizationJobsItemSchemaParseExpressionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the synchronization schema for a given job or template. This method fully replaces the current schema with the one provided in the request. To update the schema of a template, make the call on the application object. You must be the owner of the application. +// Patch update the navigation property schema in applications // returns a SynchronizationSchemaable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronizationschema-update?view=graph-rest-1.0 func (m *ItemSynchronizationJobsItemSchemaRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SynchronizationSchemaable, requestConfiguration *ItemSynchronizationJobsItemSchemaRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SynchronizationSchemaable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -147,7 +141,7 @@ func (m *ItemSynchronizationJobsItemSchemaRequestBuilder) ToDeleteRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the schema for a given synchronization job or template. +// ToGetRequestInformation the synchronization schema configured for the job. // returns a *RequestInformation when successful func (m *ItemSynchronizationJobsItemSchemaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSynchronizationJobsItemSchemaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -161,7 +155,7 @@ func (m *ItemSynchronizationJobsItemSchemaRequestBuilder) ToGetRequestInformatio requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the synchronization schema for a given job or template. This method fully replaces the current schema with the one provided in the request. To update the schema of a template, make the call on the application object. You must be the owner of the application. +// ToPatchRequestInformation update the navigation property schema in applications // returns a *RequestInformation when successful func (m *ItemSynchronizationJobsItemSchemaRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SynchronizationSchemaable, requestConfiguration *ItemSynchronizationJobsItemSchemaRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/applications/item_synchronization_jobs_item_start_request_builder.go b/applications/item_synchronization_jobs_item_start_request_builder.go index 984b77fcaad..95ecad2909f 100644 --- a/applications/item_synchronization_jobs_item_start_request_builder.go +++ b/applications/item_synchronization_jobs_item_start_request_builder.go @@ -34,7 +34,7 @@ func NewItemSynchronizationJobsItemStartRequestBuilder(rawUrl string, requestAda // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronizationjob-start?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronizationjob-start?view=graph-rest-beta func (m *ItemSynchronizationJobsItemStartRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemSynchronizationJobsItemStartRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/applications/item_synchronization_jobs_item_validate_credentials_request_builder.go b/applications/item_synchronization_jobs_item_validate_credentials_request_builder.go index e8c3d3ef1c7..360a5502811 100644 --- a/applications/item_synchronization_jobs_item_validate_credentials_request_builder.go +++ b/applications/item_synchronization_jobs_item_validate_credentials_request_builder.go @@ -34,7 +34,7 @@ func NewItemSynchronizationJobsItemValidateCredentialsRequestBuilder(rawUrl stri // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronizationjob-validatecredentials?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronizationjob-validatecredentials?view=graph-rest-beta func (m *ItemSynchronizationJobsItemValidateCredentialsRequestBuilder) Post(ctx context.Context, body ItemSynchronizationJobsItemValidateCredentialsPostRequestBodyable, requestConfiguration *ItemSynchronizationJobsItemValidateCredentialsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/applications/item_synchronization_jobs_request_builder.go b/applications/item_synchronization_jobs_request_builder.go index 09a240e69ef..976dd18f036 100644 --- a/applications/item_synchronization_jobs_request_builder.go +++ b/applications/item_synchronization_jobs_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSynchronizationJobsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSynchronizationJobsRequestBuilderGetQueryParameters list existing jobs for a given application instance (service principal). +// ItemSynchronizationJobsRequestBuilderGetQueryParameters performs synchronization by periodically running in the background, polling for changes in one directory, and pushing them to another directory. type ItemSynchronizationJobsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemSynchronizationJobsRequestBuilder(rawUrl string, requestAdapter i2ae func (m *ItemSynchronizationJobsRequestBuilder) Count()(*ItemSynchronizationJobsCountRequestBuilder) { return NewItemSynchronizationJobsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list existing jobs for a given application instance (service principal). +// Get performs synchronization by periodically running in the background, polling for changes in one directory, and pushing them to another directory. // returns a SynchronizationJobCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronization-list-jobs?view=graph-rest-1.0 func (m *ItemSynchronizationJobsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSynchronizationJobsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SynchronizationJobCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemSynchronizationJobsRequestBuilder) Get(ctx context.Context, request } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SynchronizationJobCollectionResponseable), nil } -// Post create new synchronization job with a default synchronization schema. The job is created in a disabled state. Call Start job to start synchronization. +// Post create new navigation property to jobs for applications // returns a SynchronizationJobable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronization-post-jobs?view=graph-rest-1.0 func (m *ItemSynchronizationJobsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SynchronizationJobable, requestConfiguration *ItemSynchronizationJobsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SynchronizationJobable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemSynchronizationJobsRequestBuilder) Post(ctx context.Context, body i } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SynchronizationJobable), nil } -// ToGetRequestInformation list existing jobs for a given application instance (service principal). +// ToGetRequestInformation performs synchronization by periodically running in the background, polling for changes in one directory, and pushing them to another directory. // returns a *RequestInformation when successful func (m *ItemSynchronizationJobsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSynchronizationJobsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemSynchronizationJobsRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create new synchronization job with a default synchronization schema. The job is created in a disabled state. Call Start job to start synchronization. +// ToPostRequestInformation create new navigation property to jobs for applications // returns a *RequestInformation when successful func (m *ItemSynchronizationJobsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SynchronizationJobable, requestConfiguration *ItemSynchronizationJobsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/applications/item_synchronization_jobs_synchronization_job_item_request_builder.go b/applications/item_synchronization_jobs_synchronization_job_item_request_builder.go index bd115ee4e65..d0c84cdc31b 100644 --- a/applications/item_synchronization_jobs_synchronization_job_item_request_builder.go +++ b/applications/item_synchronization_jobs_synchronization_job_item_request_builder.go @@ -18,7 +18,7 @@ type ItemSynchronizationJobsSynchronizationJobItemRequestBuilderDeleteRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemSynchronizationJobsSynchronizationJobItemRequestBuilderGetQueryParameters retrieve the existing synchronization job and its properties. +// ItemSynchronizationJobsSynchronizationJobItemRequestBuilderGetQueryParameters performs synchronization by periodically running in the background, polling for changes in one directory, and pushing them to another directory. type ItemSynchronizationJobsSynchronizationJobItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewItemSynchronizationJobsSynchronizationJobItemRequestBuilder(rawUrl strin urlParams["request-raw-url"] = rawUrl return NewItemSynchronizationJobsSynchronizationJobItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete stop the synchronization job, and permanently delete all the state associated with it. Synchronized accounts are left as-is. +// Delete delete navigation property jobs for applications // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronizationjob-delete?view=graph-rest-1.0 func (m *ItemSynchronizationJobsSynchronizationJobItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemSynchronizationJobsSynchronizationJobItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *ItemSynchronizationJobsSynchronizationJobItemRequestBuilder) Delete(ctx } return nil } -// Get retrieve the existing synchronization job and its properties. +// Get performs synchronization by periodically running in the background, polling for changes in one directory, and pushing them to another directory. // returns a SynchronizationJobable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronizationjob-get?view=graph-rest-1.0 func (m *ItemSynchronizationJobsSynchronizationJobItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSynchronizationJobsSynchronizationJobItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SynchronizationJobable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -146,7 +140,7 @@ func (m *ItemSynchronizationJobsSynchronizationJobItemRequestBuilder) Schema()(* func (m *ItemSynchronizationJobsSynchronizationJobItemRequestBuilder) Start()(*ItemSynchronizationJobsItemStartRequestBuilder) { return NewItemSynchronizationJobsItemStartRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation stop the synchronization job, and permanently delete all the state associated with it. Synchronized accounts are left as-is. +// ToDeleteRequestInformation delete navigation property jobs for applications // returns a *RequestInformation when successful func (m *ItemSynchronizationJobsSynchronizationJobItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemSynchronizationJobsSynchronizationJobItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -157,7 +151,7 @@ func (m *ItemSynchronizationJobsSynchronizationJobItemRequestBuilder) ToDeleteRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the existing synchronization job and its properties. +// ToGetRequestInformation performs synchronization by periodically running in the background, polling for changes in one directory, and pushing them to another directory. // returns a *RequestInformation when successful func (m *ItemSynchronizationJobsSynchronizationJobItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSynchronizationJobsSynchronizationJobItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/applications/item_synchronization_templates_item_schema_directories_item_discover_request_builder.go b/applications/item_synchronization_templates_item_schema_directories_item_discover_request_builder.go index 3597160d2b2..50d42c1f0d5 100644 --- a/applications/item_synchronization_templates_item_schema_directories_item_discover_request_builder.go +++ b/applications/item_synchronization_templates_item_schema_directories_item_discover_request_builder.go @@ -36,7 +36,7 @@ func NewItemSynchronizationTemplatesItemSchemaDirectoriesItemDiscoverRequestBuil // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-directorydefinition-discover?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-directorydefinition-discover?view=graph-rest-beta func (m *ItemSynchronizationTemplatesItemSchemaDirectoriesItemDiscoverRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemSynchronizationTemplatesItemSchemaDirectoriesItemDiscoverRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryDefinitionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/applications/item_synchronization_templates_item_schema_filter_operators_request_builder.go b/applications/item_synchronization_templates_item_schema_filter_operators_request_builder.go index 57917884142..6fd38f93969 100644 --- a/applications/item_synchronization_templates_item_schema_filter_operators_request_builder.go +++ b/applications/item_synchronization_templates_item_schema_filter_operators_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemSynchronizationTemplatesItemSchemaFilterOperatorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSynchronizationTemplatesItemSchemaFilterOperatorsRequestBuilderGetQueryParameters invoke function filterOperators +// ItemSynchronizationTemplatesItemSchemaFilterOperatorsRequestBuilderGetQueryParameters list all operators supported in the scoping filters. type ItemSynchronizationTemplatesItemSchemaFilterOperatorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewItemSynchronizationTemplatesItemSchemaFilterOperatorsRequestBuilder(rawU urlParams["request-raw-url"] = rawUrl return NewItemSynchronizationTemplatesItemSchemaFilterOperatorsRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function filterOperators +// Get list all operators supported in the scoping filters. // Deprecated: This method is obsolete. Use GetAsFilterOperatorsGetResponse instead. // returns a ItemSynchronizationTemplatesItemSchemaFilterOperatorsResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronizationschema-filteroperators?view=graph-rest-beta func (m *ItemSynchronizationTemplatesItemSchemaFilterOperatorsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSynchronizationTemplatesItemSchemaFilterOperatorsRequestBuilderGetRequestConfiguration)(ItemSynchronizationTemplatesItemSchemaFilterOperatorsResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ItemSynchronizationTemplatesItemSchemaFilterOperatorsRequestBuilder) Ge } return res.(ItemSynchronizationTemplatesItemSchemaFilterOperatorsResponseable), nil } -// GetAsFilterOperatorsGetResponse invoke function filterOperators +// GetAsFilterOperatorsGetResponse list all operators supported in the scoping filters. // returns a ItemSynchronizationTemplatesItemSchemaFilterOperatorsGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronizationschema-filteroperators?view=graph-rest-beta func (m *ItemSynchronizationTemplatesItemSchemaFilterOperatorsRequestBuilder) GetAsFilterOperatorsGetResponse(ctx context.Context, requestConfiguration *ItemSynchronizationTemplatesItemSchemaFilterOperatorsRequestBuilderGetRequestConfiguration)(ItemSynchronizationTemplatesItemSchemaFilterOperatorsGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ItemSynchronizationTemplatesItemSchemaFilterOperatorsRequestBuilder) Ge } return res.(ItemSynchronizationTemplatesItemSchemaFilterOperatorsGetResponseable), nil } -// ToGetRequestInformation invoke function filterOperators +// ToGetRequestInformation list all operators supported in the scoping filters. // returns a *RequestInformation when successful func (m *ItemSynchronizationTemplatesItemSchemaFilterOperatorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSynchronizationTemplatesItemSchemaFilterOperatorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/applications/item_synchronization_templates_item_schema_functions_request_builder.go b/applications/item_synchronization_templates_item_schema_functions_request_builder.go index ad1ed2ab263..7af9a52c3bb 100644 --- a/applications/item_synchronization_templates_item_schema_functions_request_builder.go +++ b/applications/item_synchronization_templates_item_schema_functions_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemSynchronizationTemplatesItemSchemaFunctionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSynchronizationTemplatesItemSchemaFunctionsRequestBuilderGetQueryParameters invoke function functions +// ItemSynchronizationTemplatesItemSchemaFunctionsRequestBuilderGetQueryParameters list all the functions currently supported in the attributeMappingSource. type ItemSynchronizationTemplatesItemSchemaFunctionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewItemSynchronizationTemplatesItemSchemaFunctionsRequestBuilder(rawUrl str urlParams["request-raw-url"] = rawUrl return NewItemSynchronizationTemplatesItemSchemaFunctionsRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function functions +// Get list all the functions currently supported in the attributeMappingSource. // Deprecated: This method is obsolete. Use GetAsFunctionsGetResponse instead. // returns a ItemSynchronizationTemplatesItemSchemaFunctionsResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronizationschema-functions?view=graph-rest-beta func (m *ItemSynchronizationTemplatesItemSchemaFunctionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSynchronizationTemplatesItemSchemaFunctionsRequestBuilderGetRequestConfiguration)(ItemSynchronizationTemplatesItemSchemaFunctionsResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ItemSynchronizationTemplatesItemSchemaFunctionsRequestBuilder) Get(ctx } return res.(ItemSynchronizationTemplatesItemSchemaFunctionsResponseable), nil } -// GetAsFunctionsGetResponse invoke function functions +// GetAsFunctionsGetResponse list all the functions currently supported in the attributeMappingSource. // returns a ItemSynchronizationTemplatesItemSchemaFunctionsGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronizationschema-functions?view=graph-rest-beta func (m *ItemSynchronizationTemplatesItemSchemaFunctionsRequestBuilder) GetAsFunctionsGetResponse(ctx context.Context, requestConfiguration *ItemSynchronizationTemplatesItemSchemaFunctionsRequestBuilderGetRequestConfiguration)(ItemSynchronizationTemplatesItemSchemaFunctionsGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ItemSynchronizationTemplatesItemSchemaFunctionsRequestBuilder) GetAsFun } return res.(ItemSynchronizationTemplatesItemSchemaFunctionsGetResponseable), nil } -// ToGetRequestInformation invoke function functions +// ToGetRequestInformation list all the functions currently supported in the attributeMappingSource. // returns a *RequestInformation when successful func (m *ItemSynchronizationTemplatesItemSchemaFunctionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSynchronizationTemplatesItemSchemaFunctionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/applications/item_synchronization_templates_item_schema_parse_expression_request_builder.go b/applications/item_synchronization_templates_item_schema_parse_expression_request_builder.go index c88bb81c3c1..01fc96b36f9 100644 --- a/applications/item_synchronization_templates_item_schema_parse_expression_request_builder.go +++ b/applications/item_synchronization_templates_item_schema_parse_expression_request_builder.go @@ -36,7 +36,7 @@ func NewItemSynchronizationTemplatesItemSchemaParseExpressionRequestBuilder(rawU // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronizationschema-parseexpression?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronizationschema-parseexpression?view=graph-rest-beta func (m *ItemSynchronizationTemplatesItemSchemaParseExpressionRequestBuilder) Post(ctx context.Context, body ItemSynchronizationTemplatesItemSchemaParseExpressionPostRequestBodyable, requestConfiguration *ItemSynchronizationTemplatesItemSchemaParseExpressionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ParseExpressionResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/applications/item_synchronization_templates_request_builder.go b/applications/item_synchronization_templates_request_builder.go index 94b315a6919..d92f7bd6afb 100644 --- a/applications/item_synchronization_templates_request_builder.go +++ b/applications/item_synchronization_templates_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSynchronizationTemplatesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSynchronizationTemplatesRequestBuilderGetQueryParameters list the synchronization templates associated with a given application or service principal. +// ItemSynchronizationTemplatesRequestBuilderGetQueryParameters pre-configured synchronization settings for a particular application. type ItemSynchronizationTemplatesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemSynchronizationTemplatesRequestBuilder(rawUrl string, requestAdapter func (m *ItemSynchronizationTemplatesRequestBuilder) Count()(*ItemSynchronizationTemplatesCountRequestBuilder) { return NewItemSynchronizationTemplatesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list the synchronization templates associated with a given application or service principal. +// Get pre-configured synchronization settings for a particular application. // returns a SynchronizationTemplateCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronization-list-templates?view=graph-rest-1.0 func (m *ItemSynchronizationTemplatesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSynchronizationTemplatesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SynchronizationTemplateCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemSynchronizationTemplatesRequestBuilder) Post(ctx context.Context, b } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SynchronizationTemplateable), nil } -// ToGetRequestInformation list the synchronization templates associated with a given application or service principal. +// ToGetRequestInformation pre-configured synchronization settings for a particular application. // returns a *RequestInformation when successful func (m *ItemSynchronizationTemplatesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSynchronizationTemplatesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/applications/item_synchronization_templates_synchronization_template_item_request_builder.go b/applications/item_synchronization_templates_synchronization_template_item_request_builder.go index eac4ee1972b..6e2c2cd002b 100644 --- a/applications/item_synchronization_templates_synchronization_template_item_request_builder.go +++ b/applications/item_synchronization_templates_synchronization_template_item_request_builder.go @@ -90,12 +90,9 @@ func (m *ItemSynchronizationTemplatesSynchronizationTemplateItemRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SynchronizationTemplateable), nil } -// Patch update (override) the synchronization template associated with a given application. +// Patch update the navigation property templates in applications // returns a SynchronizationTemplateable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronizationtemplate-update?view=graph-rest-1.0 func (m *ItemSynchronizationTemplatesSynchronizationTemplateItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SynchronizationTemplateable, requestConfiguration *ItemSynchronizationTemplatesSynchronizationTemplateItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SynchronizationTemplateable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -143,7 +140,7 @@ func (m *ItemSynchronizationTemplatesSynchronizationTemplateItemRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update (override) the synchronization template associated with a given application. +// ToPatchRequestInformation update the navigation property templates in applications // returns a *RequestInformation when successful func (m *ItemSynchronizationTemplatesSynchronizationTemplateItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SynchronizationTemplateable, requestConfiguration *ItemSynchronizationTemplatesSynchronizationTemplateItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/applications/item_token_issuance_policies_item_ref_request_builder.go b/applications/item_token_issuance_policies_item_ref_request_builder.go index 23959566cd0..a10ebfe7209 100644 --- a/applications/item_token_issuance_policies_item_ref_request_builder.go +++ b/applications/item_token_issuance_policies_item_ref_request_builder.go @@ -30,11 +30,8 @@ func NewItemTokenIssuancePoliciesItemRefRequestBuilder(rawUrl string, requestAda urlParams["request-raw-url"] = rawUrl return NewItemTokenIssuancePoliciesItemRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove a tokenIssuancePolicy from an application. +// Delete delete ref of navigation property tokenIssuancePolicies for applications // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/application-delete-tokenissuancepolicies?view=graph-rest-1.0 func (m *ItemTokenIssuancePoliciesItemRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTokenIssuancePoliciesItemRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -49,7 +46,7 @@ func (m *ItemTokenIssuancePoliciesItemRefRequestBuilder) Delete(ctx context.Cont } return nil } -// ToDeleteRequestInformation remove a tokenIssuancePolicy from an application. +// ToDeleteRequestInformation delete ref of navigation property tokenIssuancePolicies for applications // returns a *RequestInformation when successful func (m *ItemTokenIssuancePoliciesItemRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTokenIssuancePoliciesItemRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/applications/item_token_issuance_policies_ref_request_builder.go b/applications/item_token_issuance_policies_ref_request_builder.go index 578e7fd2f4e..f7982877c84 100644 --- a/applications/item_token_issuance_policies_ref_request_builder.go +++ b/applications/item_token_issuance_policies_ref_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTokenIssuancePoliciesRefRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTokenIssuancePoliciesRefRequestBuilderDeleteQueryParameters remove a tokenIssuancePolicy from an application. +// ItemTokenIssuancePoliciesRefRequestBuilderDeleteQueryParameters delete ref of navigation property tokenIssuancePolicies for applications type ItemTokenIssuancePoliciesRefRequestBuilderDeleteQueryParameters struct { // The delete Uri Id *string `uriparametername:"%40id"` @@ -25,7 +25,7 @@ type ItemTokenIssuancePoliciesRefRequestBuilderDeleteRequestConfiguration struct // Request query parameters QueryParameters *ItemTokenIssuancePoliciesRefRequestBuilderDeleteQueryParameters } -// ItemTokenIssuancePoliciesRefRequestBuilderGetQueryParameters list the tokenIssuancePolicy objects that are assigned to an application. +// ItemTokenIssuancePoliciesRefRequestBuilderGetQueryParameters get ref of tokenIssuancePolicies from applications type ItemTokenIssuancePoliciesRefRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,11 +69,8 @@ func NewItemTokenIssuancePoliciesRefRequestBuilder(rawUrl string, requestAdapter urlParams["request-raw-url"] = rawUrl return NewItemTokenIssuancePoliciesRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove a tokenIssuancePolicy from an application. +// Delete delete ref of navigation property tokenIssuancePolicies for applications // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/application-delete-tokenissuancepolicies?view=graph-rest-1.0 func (m *ItemTokenIssuancePoliciesRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTokenIssuancePoliciesRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -88,12 +85,9 @@ func (m *ItemTokenIssuancePoliciesRefRequestBuilder) Delete(ctx context.Context, } return nil } -// Get list the tokenIssuancePolicy objects that are assigned to an application. +// Get get ref of tokenIssuancePolicies from applications // returns a StringCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/application-list-tokenissuancepolicies?view=graph-rest-1.0 func (m *ItemTokenIssuancePoliciesRefRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTokenIssuancePoliciesRefRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -111,11 +105,8 @@ func (m *ItemTokenIssuancePoliciesRefRequestBuilder) Get(ctx context.Context, re } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable), nil } -// Post assign a tokenIssuancePolicy to an application. +// Post create new navigation property ref to tokenIssuancePolicies for applications // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/application-post-tokenissuancepolicies?view=graph-rest-1.0 func (m *ItemTokenIssuancePoliciesRefRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *ItemTokenIssuancePoliciesRefRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -130,7 +121,7 @@ func (m *ItemTokenIssuancePoliciesRefRequestBuilder) Post(ctx context.Context, b } return nil } -// ToDeleteRequestInformation remove a tokenIssuancePolicy from an application. +// ToDeleteRequestInformation delete ref of navigation property tokenIssuancePolicies for applications // returns a *RequestInformation when successful func (m *ItemTokenIssuancePoliciesRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTokenIssuancePoliciesRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, "{+baseurl}/applications/{application%2Did}/tokenIssuancePolicies/$ref?@id={%40id}", m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *ItemTokenIssuancePoliciesRefRequestBuilder) ToDeleteRequestInformation( requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation list the tokenIssuancePolicy objects that are assigned to an application. +// ToGetRequestInformation get ref of tokenIssuancePolicies from applications // returns a *RequestInformation when successful func (m *ItemTokenIssuancePoliciesRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTokenIssuancePoliciesRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/applications/{application%2Did}/tokenIssuancePolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) @@ -158,7 +149,7 @@ func (m *ItemTokenIssuancePoliciesRefRequestBuilder) ToGetRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation assign a tokenIssuancePolicy to an application. +// ToPostRequestInformation create new navigation property ref to tokenIssuancePolicies for applications // returns a *RequestInformation when successful func (m *ItemTokenIssuancePoliciesRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *ItemTokenIssuancePoliciesRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/applications/{application%2Did}/tokenIssuancePolicies/$ref", m.BaseRequestBuilder.PathParameters) diff --git a/applications/item_token_issuance_policies_request_builder.go b/applications/item_token_issuance_policies_request_builder.go index eadcc023134..1626de09766 100644 --- a/applications/item_token_issuance_policies_request_builder.go +++ b/applications/item_token_issuance_policies_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTokenIssuancePoliciesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTokenIssuancePoliciesRequestBuilderGetQueryParameters list the tokenIssuancePolicy objects that are assigned to an application. +// ItemTokenIssuancePoliciesRequestBuilderGetQueryParameters get tokenIssuancePolicies from applications type ItemTokenIssuancePoliciesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewItemTokenIssuancePoliciesRequestBuilder(rawUrl string, requestAdapter i2 func (m *ItemTokenIssuancePoliciesRequestBuilder) Count()(*ItemTokenIssuancePoliciesCountRequestBuilder) { return NewItemTokenIssuancePoliciesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list the tokenIssuancePolicy objects that are assigned to an application. +// Get get tokenIssuancePolicies from applications // returns a TokenIssuancePolicyCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/application-list-tokenissuancepolicies?view=graph-rest-1.0 func (m *ItemTokenIssuancePoliciesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTokenIssuancePoliciesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TokenIssuancePolicyCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -97,7 +94,7 @@ func (m *ItemTokenIssuancePoliciesRequestBuilder) Get(ctx context.Context, reque func (m *ItemTokenIssuancePoliciesRequestBuilder) Ref()(*ItemTokenIssuancePoliciesRefRequestBuilder) { return NewItemTokenIssuancePoliciesRefRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation list the tokenIssuancePolicy objects that are assigned to an application. +// ToGetRequestInformation get tokenIssuancePolicies from applications // returns a *RequestInformation when successful func (m *ItemTokenIssuancePoliciesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTokenIssuancePoliciesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/applications/item_token_lifetime_policies_item_ref_request_builder.go b/applications/item_token_lifetime_policies_item_ref_request_builder.go index a6e49c1a016..5d5e703031e 100644 --- a/applications/item_token_lifetime_policies_item_ref_request_builder.go +++ b/applications/item_token_lifetime_policies_item_ref_request_builder.go @@ -30,11 +30,8 @@ func NewItemTokenLifetimePoliciesItemRefRequestBuilder(rawUrl string, requestAda urlParams["request-raw-url"] = rawUrl return NewItemTokenLifetimePoliciesItemRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove a tokenLifetimePolicy from an application or servicePrincipal. +// Delete delete ref of navigation property tokenLifetimePolicies for applications // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/application-delete-tokenlifetimepolicies?view=graph-rest-1.0 func (m *ItemTokenLifetimePoliciesItemRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTokenLifetimePoliciesItemRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -49,7 +46,7 @@ func (m *ItemTokenLifetimePoliciesItemRefRequestBuilder) Delete(ctx context.Cont } return nil } -// ToDeleteRequestInformation remove a tokenLifetimePolicy from an application or servicePrincipal. +// ToDeleteRequestInformation delete ref of navigation property tokenLifetimePolicies for applications // returns a *RequestInformation when successful func (m *ItemTokenLifetimePoliciesItemRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTokenLifetimePoliciesItemRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/applications/item_token_lifetime_policies_ref_request_builder.go b/applications/item_token_lifetime_policies_ref_request_builder.go index 2decaebac43..828eb4d41b3 100644 --- a/applications/item_token_lifetime_policies_ref_request_builder.go +++ b/applications/item_token_lifetime_policies_ref_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTokenLifetimePoliciesRefRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTokenLifetimePoliciesRefRequestBuilderDeleteQueryParameters remove a tokenLifetimePolicy from an application or servicePrincipal. +// ItemTokenLifetimePoliciesRefRequestBuilderDeleteQueryParameters delete ref of navigation property tokenLifetimePolicies for applications type ItemTokenLifetimePoliciesRefRequestBuilderDeleteQueryParameters struct { // The delete Uri Id *string `uriparametername:"%40id"` @@ -25,7 +25,7 @@ type ItemTokenLifetimePoliciesRefRequestBuilderDeleteRequestConfiguration struct // Request query parameters QueryParameters *ItemTokenLifetimePoliciesRefRequestBuilderDeleteQueryParameters } -// ItemTokenLifetimePoliciesRefRequestBuilderGetQueryParameters list the tokenLifetimePolicy objects that are assigned to an application or servicePrincipal. Only one object is returned in the collection because only one tokenLifetimePolicy can be assigned to an application. +// ItemTokenLifetimePoliciesRefRequestBuilderGetQueryParameters the tokenLifetimePolicies assigned to this application. Supports $expand. type ItemTokenLifetimePoliciesRefRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,11 +69,8 @@ func NewItemTokenLifetimePoliciesRefRequestBuilder(rawUrl string, requestAdapter urlParams["request-raw-url"] = rawUrl return NewItemTokenLifetimePoliciesRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove a tokenLifetimePolicy from an application or servicePrincipal. +// Delete delete ref of navigation property tokenLifetimePolicies for applications // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/application-delete-tokenlifetimepolicies?view=graph-rest-1.0 func (m *ItemTokenLifetimePoliciesRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTokenLifetimePoliciesRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -88,12 +85,9 @@ func (m *ItemTokenLifetimePoliciesRefRequestBuilder) Delete(ctx context.Context, } return nil } -// Get list the tokenLifetimePolicy objects that are assigned to an application or servicePrincipal. Only one object is returned in the collection because only one tokenLifetimePolicy can be assigned to an application. +// Get the tokenLifetimePolicies assigned to this application. Supports $expand. // returns a StringCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/application-list-tokenlifetimepolicies?view=graph-rest-1.0 func (m *ItemTokenLifetimePoliciesRefRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTokenLifetimePoliciesRefRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -111,11 +105,8 @@ func (m *ItemTokenLifetimePoliciesRefRequestBuilder) Get(ctx context.Context, re } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable), nil } -// Post assign a tokenLifetimePolicy to an application or servicePrincipal. You can have multiple tokenLifetimePolicy policies in a tenant but can assign only one tokenLifetimePolicy per application. +// Post create new navigation property ref to tokenLifetimePolicies for applications // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/application-post-tokenlifetimepolicies?view=graph-rest-1.0 func (m *ItemTokenLifetimePoliciesRefRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *ItemTokenLifetimePoliciesRefRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -130,7 +121,7 @@ func (m *ItemTokenLifetimePoliciesRefRequestBuilder) Post(ctx context.Context, b } return nil } -// ToDeleteRequestInformation remove a tokenLifetimePolicy from an application or servicePrincipal. +// ToDeleteRequestInformation delete ref of navigation property tokenLifetimePolicies for applications // returns a *RequestInformation when successful func (m *ItemTokenLifetimePoliciesRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTokenLifetimePoliciesRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, "{+baseurl}/applications/{application%2Did}/tokenLifetimePolicies/$ref?@id={%40id}", m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *ItemTokenLifetimePoliciesRefRequestBuilder) ToDeleteRequestInformation( requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation list the tokenLifetimePolicy objects that are assigned to an application or servicePrincipal. Only one object is returned in the collection because only one tokenLifetimePolicy can be assigned to an application. +// ToGetRequestInformation the tokenLifetimePolicies assigned to this application. Supports $expand. // returns a *RequestInformation when successful func (m *ItemTokenLifetimePoliciesRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTokenLifetimePoliciesRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/applications/{application%2Did}/tokenLifetimePolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) @@ -158,7 +149,7 @@ func (m *ItemTokenLifetimePoliciesRefRequestBuilder) ToGetRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation assign a tokenLifetimePolicy to an application or servicePrincipal. You can have multiple tokenLifetimePolicy policies in a tenant but can assign only one tokenLifetimePolicy per application. +// ToPostRequestInformation create new navigation property ref to tokenLifetimePolicies for applications // returns a *RequestInformation when successful func (m *ItemTokenLifetimePoliciesRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *ItemTokenLifetimePoliciesRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/applications/{application%2Did}/tokenLifetimePolicies/$ref", m.BaseRequestBuilder.PathParameters) diff --git a/applications/item_token_lifetime_policies_request_builder.go b/applications/item_token_lifetime_policies_request_builder.go index 5bcb20e29a0..f1acd901f12 100644 --- a/applications/item_token_lifetime_policies_request_builder.go +++ b/applications/item_token_lifetime_policies_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTokenLifetimePoliciesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTokenLifetimePoliciesRequestBuilderGetQueryParameters list the tokenLifetimePolicy objects that are assigned to an application or servicePrincipal. Only one object is returned in the collection because only one tokenLifetimePolicy can be assigned to an application. +// ItemTokenLifetimePoliciesRequestBuilderGetQueryParameters the tokenLifetimePolicies assigned to this application. Supports $expand. type ItemTokenLifetimePoliciesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewItemTokenLifetimePoliciesRequestBuilder(rawUrl string, requestAdapter i2 func (m *ItemTokenLifetimePoliciesRequestBuilder) Count()(*ItemTokenLifetimePoliciesCountRequestBuilder) { return NewItemTokenLifetimePoliciesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list the tokenLifetimePolicy objects that are assigned to an application or servicePrincipal. Only one object is returned in the collection because only one tokenLifetimePolicy can be assigned to an application. +// Get the tokenLifetimePolicies assigned to this application. Supports $expand. // returns a TokenLifetimePolicyCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/application-list-tokenlifetimepolicies?view=graph-rest-1.0 func (m *ItemTokenLifetimePoliciesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTokenLifetimePoliciesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TokenLifetimePolicyCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -97,7 +94,7 @@ func (m *ItemTokenLifetimePoliciesRequestBuilder) Get(ctx context.Context, reque func (m *ItemTokenLifetimePoliciesRequestBuilder) Ref()(*ItemTokenLifetimePoliciesRefRequestBuilder) { return NewItemTokenLifetimePoliciesRefRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation list the tokenLifetimePolicy objects that are assigned to an application or servicePrincipal. Only one object is returned in the collection because only one tokenLifetimePolicy can be assigned to an application. +// ToGetRequestInformation the tokenLifetimePolicies assigned to this application. Supports $expand. // returns a *RequestInformation when successful func (m *ItemTokenLifetimePoliciesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTokenLifetimePoliciesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/applications/item_unset_verified_publisher_request_builder.go b/applications/item_unset_verified_publisher_request_builder.go index 4ab68a83f23..bab344fefd0 100644 --- a/applications/item_unset_verified_publisher_request_builder.go +++ b/applications/item_unset_verified_publisher_request_builder.go @@ -34,7 +34,7 @@ func NewItemUnsetVerifiedPublisherRequestBuilder(rawUrl string, requestAdapter i // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/application-unsetverifiedpublisher?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/application-unsetverifiedpublisher?view=graph-rest-beta func (m *ItemUnsetVerifiedPublisherRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemUnsetVerifiedPublisherRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/applications/validate_properties_request_builder.go b/applications/validate_properties_request_builder.go index 28a5f312c62..3ba299d4d4c 100644 --- a/applications/validate_properties_request_builder.go +++ b/applications/validate_properties_request_builder.go @@ -34,7 +34,7 @@ func NewValidatePropertiesRequestBuilder(rawUrl string, requestAdapter i2ae4187f // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-validateproperties?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-validateproperties?view=graph-rest-beta func (m *ValidatePropertiesRequestBuilder) Post(ctx context.Context, body ValidatePropertiesPostRequestBodyable, requestConfiguration *ValidatePropertiesRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/applicationswithappid/applications_with_app_id_request_builder.go b/applicationswithappid/applications_with_app_id_request_builder.go index 72eac460f86..d9cfc3ef088 100644 --- a/applicationswithappid/applications_with_app_id_request_builder.go +++ b/applicationswithappid/applications_with_app_id_request_builder.go @@ -61,7 +61,7 @@ func NewApplicationsWithAppIdRequestBuilder(rawUrl string, requestAdapter i2ae41 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/application-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/application-delete?view=graph-rest-beta func (m *ApplicationsWithAppIdRequestBuilder) Delete(ctx context.Context, requestConfiguration *ApplicationsWithAppIdRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -81,7 +81,7 @@ func (m *ApplicationsWithAppIdRequestBuilder) Delete(ctx context.Context, reques // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/application-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/application-get?view=graph-rest-beta func (m *ApplicationsWithAppIdRequestBuilder) Get(ctx context.Context, requestConfiguration *ApplicationsWithAppIdRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Applicationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,7 +104,7 @@ func (m *ApplicationsWithAppIdRequestBuilder) Get(ctx context.Context, requestCo // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/application-upsert?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/application-upsert?view=graph-rest-beta func (m *ApplicationsWithAppIdRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Applicationable, requestConfiguration *ApplicationsWithAppIdRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Applicationable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/applicationswithuniquename/applications_with_unique_name_request_builder.go b/applicationswithuniquename/applications_with_unique_name_request_builder.go index 5bbdd1dc736..1da7e184460 100644 --- a/applicationswithuniquename/applications_with_unique_name_request_builder.go +++ b/applicationswithuniquename/applications_with_unique_name_request_builder.go @@ -61,7 +61,7 @@ func NewApplicationsWithUniqueNameRequestBuilder(rawUrl string, requestAdapter i // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/application-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/application-delete?view=graph-rest-beta func (m *ApplicationsWithUniqueNameRequestBuilder) Delete(ctx context.Context, requestConfiguration *ApplicationsWithUniqueNameRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -81,7 +81,7 @@ func (m *ApplicationsWithUniqueNameRequestBuilder) Delete(ctx context.Context, r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/application-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/application-get?view=graph-rest-beta func (m *ApplicationsWithUniqueNameRequestBuilder) Get(ctx context.Context, requestConfiguration *ApplicationsWithUniqueNameRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Applicationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,7 +104,7 @@ func (m *ApplicationsWithUniqueNameRequestBuilder) Get(ctx context.Context, requ // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/application-upsert?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/application-upsert?view=graph-rest-beta func (m *ApplicationsWithUniqueNameRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Applicationable, requestConfiguration *ApplicationsWithUniqueNameRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Applicationable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/applicationtemplates/application_template_item_request_builder.go b/applicationtemplates/application_template_item_request_builder.go index 9da9cac1909..2f9e8954562 100644 --- a/applicationtemplates/application_template_item_request_builder.go +++ b/applicationtemplates/application_template_item_request_builder.go @@ -45,7 +45,7 @@ func NewApplicationTemplateItemRequestBuilder(rawUrl string, requestAdapter i2ae // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/applicationtemplate-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/applicationtemplate-get?view=graph-rest-beta func (m *ApplicationTemplateItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ApplicationTemplateItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApplicationTemplateable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/applicationtemplates/application_templates_request_builder.go b/applicationtemplates/application_templates_request_builder.go index a15d4448cf4..231b69d6303 100644 --- a/applicationtemplates/application_templates_request_builder.go +++ b/applicationtemplates/application_templates_request_builder.go @@ -74,7 +74,7 @@ func (m *ApplicationTemplatesRequestBuilder) Count()(*CountRequestBuilder) { // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/applicationtemplate-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/applicationtemplate-list?view=graph-rest-beta func (m *ApplicationTemplatesRequestBuilder) Get(ctx context.Context, requestConfiguration *ApplicationTemplatesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApplicationTemplateCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/applicationtemplates/item_instantiate_request_builder.go b/applicationtemplates/item_instantiate_request_builder.go index 003fa1663ce..e0145c84e96 100644 --- a/applicationtemplates/item_instantiate_request_builder.go +++ b/applicationtemplates/item_instantiate_request_builder.go @@ -36,7 +36,7 @@ func NewItemInstantiateRequestBuilder(rawUrl string, requestAdapter i2ae4187f7da // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/applicationtemplate-instantiate?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/applicationtemplate-instantiate?view=graph-rest-beta func (m *ItemInstantiateRequestBuilder) Post(ctx context.Context, body ItemInstantiatePostRequestBodyable, requestConfiguration *ItemInstantiateRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApplicationServicePrincipalable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/auditlogs/custom_security_attribute_audits_request_builder.go b/auditlogs/custom_security_attribute_audits_request_builder.go index a3253a2ade6..089640fc82c 100644 --- a/auditlogs/custom_security_attribute_audits_request_builder.go +++ b/auditlogs/custom_security_attribute_audits_request_builder.go @@ -11,7 +11,7 @@ import ( type CustomSecurityAttributeAuditsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// CustomSecurityAttributeAuditsRequestBuilderGetQueryParameters get the list of audit logs generated by activities related to custom security attribute management in Microsoft Entra ID. +// CustomSecurityAttributeAuditsRequestBuilderGetQueryParameters represents a custom security attribute audit log. type CustomSecurityAttributeAuditsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewCustomSecurityAttributeAuditsRequestBuilder(rawUrl string, requestAdapte func (m *CustomSecurityAttributeAuditsRequestBuilder) Count()(*CustomSecurityAttributeAuditsCountRequestBuilder) { return NewCustomSecurityAttributeAuditsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of audit logs generated by activities related to custom security attribute management in Microsoft Entra ID. +// Get represents a custom security attribute audit log. // returns a CustomSecurityAttributeAuditCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/auditlogroot-list-customsecurityattributeaudits?view=graph-rest-1.0 func (m *CustomSecurityAttributeAuditsRequestBuilder) Get(ctx context.Context, requestConfiguration *CustomSecurityAttributeAuditsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomSecurityAttributeAuditCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *CustomSecurityAttributeAuditsRequestBuilder) Post(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomSecurityAttributeAuditable), nil } -// ToGetRequestInformation get the list of audit logs generated by activities related to custom security attribute management in Microsoft Entra ID. +// ToGetRequestInformation represents a custom security attribute audit log. // returns a *RequestInformation when successful func (m *CustomSecurityAttributeAuditsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CustomSecurityAttributeAuditsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/auditlogs/directory_audits_directory_audit_item_request_builder.go b/auditlogs/directory_audits_directory_audit_item_request_builder.go index c8150ad4452..a040f3378ba 100644 --- a/auditlogs/directory_audits_directory_audit_item_request_builder.go +++ b/auditlogs/directory_audits_directory_audit_item_request_builder.go @@ -18,7 +18,7 @@ type DirectoryAuditsDirectoryAuditItemRequestBuilderDeleteRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DirectoryAuditsDirectoryAuditItemRequestBuilderGetQueryParameters get a specific Microsoft Entra audit log item. This includes an audit log item generated by various services within Microsoft Entra ID like user, application, device and group management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), self-service group management, and so on. +// DirectoryAuditsDirectoryAuditItemRequestBuilderGetQueryParameters get directoryAudits from auditLogs type DirectoryAuditsDirectoryAuditItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *DirectoryAuditsDirectoryAuditItemRequestBuilder) Delete(ctx context.Con } return nil } -// Get get a specific Microsoft Entra audit log item. This includes an audit log item generated by various services within Microsoft Entra ID like user, application, device and group management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), self-service group management, and so on. +// Get get directoryAudits from auditLogs // returns a DirectoryAuditable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryaudit-get?view=graph-rest-1.0 func (m *DirectoryAuditsDirectoryAuditItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DirectoryAuditsDirectoryAuditItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryAuditable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *DirectoryAuditsDirectoryAuditItemRequestBuilder) ToDeleteRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a specific Microsoft Entra audit log item. This includes an audit log item generated by various services within Microsoft Entra ID like user, application, device and group management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), self-service group management, and so on. +// ToGetRequestInformation get directoryAudits from auditLogs // returns a *RequestInformation when successful func (m *DirectoryAuditsDirectoryAuditItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DirectoryAuditsDirectoryAuditItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/auditlogs/directory_audits_request_builder.go b/auditlogs/directory_audits_request_builder.go index c41dafa7580..4310ac977b9 100644 --- a/auditlogs/directory_audits_request_builder.go +++ b/auditlogs/directory_audits_request_builder.go @@ -11,7 +11,7 @@ import ( type DirectoryAuditsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DirectoryAuditsRequestBuilderGetQueryParameters get the list of audit logs generated by Microsoft Entra ID. This includes audit logs generated by various services within Microsoft Entra ID, including user, app, device and group Management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (SSPR and admin password resets), and self service group management. +// DirectoryAuditsRequestBuilderGetQueryParameters get directoryAudits from auditLogs type DirectoryAuditsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewDirectoryAuditsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7da func (m *DirectoryAuditsRequestBuilder) Count()(*DirectoryAuditsCountRequestBuilder) { return NewDirectoryAuditsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of audit logs generated by Microsoft Entra ID. This includes audit logs generated by various services within Microsoft Entra ID, including user, app, device and group Management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (SSPR and admin password resets), and self service group management. +// Get get directoryAudits from auditLogs // returns a DirectoryAuditCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryaudit-list?view=graph-rest-1.0 func (m *DirectoryAuditsRequestBuilder) Get(ctx context.Context, requestConfiguration *DirectoryAuditsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryAuditCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *DirectoryAuditsRequestBuilder) Post(ctx context.Context, body ie233ee76 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryAuditable), nil } -// ToGetRequestInformation get the list of audit logs generated by Microsoft Entra ID. This includes audit logs generated by various services within Microsoft Entra ID, including user, app, device and group Management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (SSPR and admin password resets), and self service group management. +// ToGetRequestInformation get directoryAudits from auditLogs // returns a *RequestInformation when successful func (m *DirectoryAuditsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DirectoryAuditsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/auditlogs/provisioning_request_builder.go b/auditlogs/provisioning_request_builder.go index 3e141cc294f..2ef76208430 100644 --- a/auditlogs/provisioning_request_builder.go +++ b/auditlogs/provisioning_request_builder.go @@ -11,7 +11,7 @@ import ( type ProvisioningRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ProvisioningRequestBuilderGetQueryParameters get all provisioning events that occurred in your tenant, such as the deletion of a group in a target application or the creation of a user when provisioning user accounts from your HR system. +// ProvisioningRequestBuilderGetQueryParameters represents an action performed by the Microsoft Entra provisioning service and its associated properties. type ProvisioningRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewProvisioningRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee2 func (m *ProvisioningRequestBuilder) Count()(*ProvisioningCountRequestBuilder) { return NewProvisioningCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get all provisioning events that occurred in your tenant, such as the deletion of a group in a target application or the creation of a user when provisioning user accounts from your HR system. +// Get represents an action performed by the Microsoft Entra provisioning service and its associated properties. // returns a ProvisioningObjectSummaryCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/provisioningobjectsummary-list?view=graph-rest-1.0 func (m *ProvisioningRequestBuilder) Get(ctx context.Context, requestConfiguration *ProvisioningRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProvisioningObjectSummaryCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ProvisioningRequestBuilder) Post(ctx context.Context, body ie233ee762e2 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProvisioningObjectSummaryable), nil } -// ToGetRequestInformation get all provisioning events that occurred in your tenant, such as the deletion of a group in a target application or the creation of a user when provisioning user accounts from your HR system. +// ToGetRequestInformation represents an action performed by the Microsoft Entra provisioning service and its associated properties. // returns a *RequestInformation when successful func (m *ProvisioningRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ProvisioningRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/auditlogs/sign_ins_confirm_compromised_request_builder.go b/auditlogs/sign_ins_confirm_compromised_request_builder.go index 5c479431b04..99e34aee55c 100644 --- a/auditlogs/sign_ins_confirm_compromised_request_builder.go +++ b/auditlogs/sign_ins_confirm_compromised_request_builder.go @@ -34,7 +34,7 @@ func NewSignInsConfirmCompromisedRequestBuilder(rawUrl string, requestAdapter i2 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/signin-confirmcompromised?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/signin-confirmcompromised?view=graph-rest-beta func (m *SignInsConfirmCompromisedRequestBuilder) Post(ctx context.Context, body SignInsConfirmCompromisedPostRequestBodyable, requestConfiguration *SignInsConfirmCompromisedRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/auditlogs/sign_ins_confirm_safe_request_builder.go b/auditlogs/sign_ins_confirm_safe_request_builder.go index f38f325ee7b..1557bb94e28 100644 --- a/auditlogs/sign_ins_confirm_safe_request_builder.go +++ b/auditlogs/sign_ins_confirm_safe_request_builder.go @@ -34,7 +34,7 @@ func NewSignInsConfirmSafeRequestBuilder(rawUrl string, requestAdapter i2ae4187f // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/signin-confirmsafe?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/signin-confirmsafe?view=graph-rest-beta func (m *SignInsConfirmSafeRequestBuilder) Post(ctx context.Context, body SignInsConfirmSafePostRequestBodyable, requestConfiguration *SignInsConfirmSafeRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/auditlogs/sign_ins_request_builder.go b/auditlogs/sign_ins_request_builder.go index a98f9e8cd4f..e694325768d 100644 --- a/auditlogs/sign_ins_request_builder.go +++ b/auditlogs/sign_ins_request_builder.go @@ -11,7 +11,7 @@ import ( type SignInsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// SignInsRequestBuilderGetQueryParameters get a list of signIn objects. The list contains the user sign-ins for your Microsoft Entra tenant. Sign-ins where a username and password are passed as part of authorization token, and successful federated sign-ins are currently included in the sign-in logs. The maximum and default page size is 1,000 objects and by default, the most recent sign-ins are returned first. Only sign-in events that occurred within the Microsoft Entra ID default retention period are available. +// SignInsRequestBuilderGetQueryParameters get signIns from auditLogs type SignInsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -86,12 +86,9 @@ func NewSignInsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371 func (m *SignInsRequestBuilder) Count()(*SignInsCountRequestBuilder) { return NewSignInsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of signIn objects. The list contains the user sign-ins for your Microsoft Entra tenant. Sign-ins where a username and password are passed as part of authorization token, and successful federated sign-ins are currently included in the sign-in logs. The maximum and default page size is 1,000 objects and by default, the most recent sign-ins are returned first. Only sign-in events that occurred within the Microsoft Entra ID default retention period are available. +// Get get signIns from auditLogs // returns a SignInCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/signin-list?view=graph-rest-1.0 func (m *SignInsRequestBuilder) Get(ctx context.Context, requestConfiguration *SignInsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SignInCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *SignInsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SignInable), nil } -// ToGetRequestInformation get a list of signIn objects. The list contains the user sign-ins for your Microsoft Entra tenant. Sign-ins where a username and password are passed as part of authorization token, and successful federated sign-ins are currently included in the sign-in logs. The maximum and default page size is 1,000 objects and by default, the most recent sign-ins are returned first. Only sign-in events that occurred within the Microsoft Entra ID default retention period are available. +// ToGetRequestInformation get signIns from auditLogs // returns a *RequestInformation when successful func (m *SignInsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SignInsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/auditlogs/sign_ins_sign_in_item_request_builder.go b/auditlogs/sign_ins_sign_in_item_request_builder.go index fc517206b5b..bc1a56bbe81 100644 --- a/auditlogs/sign_ins_sign_in_item_request_builder.go +++ b/auditlogs/sign_ins_sign_in_item_request_builder.go @@ -18,7 +18,7 @@ type SignInsSignInItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// SignInsSignInItemRequestBuilderGetQueryParameters get a signIn object that contains a specific user sign-in event for your tenant that includes sign-ins where a user is asked to enter a username or password, and session tokens. +// SignInsSignInItemRequestBuilderGetQueryParameters get signIns from auditLogs type SignInsSignInItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *SignInsSignInItemRequestBuilder) Delete(ctx context.Context, requestCon } return nil } -// Get get a signIn object that contains a specific user sign-in event for your tenant that includes sign-ins where a user is asked to enter a username or password, and session tokens. +// Get get signIns from auditLogs // returns a SignInable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/signin-get?view=graph-rest-1.0 func (m *SignInsSignInItemRequestBuilder) Get(ctx context.Context, requestConfiguration *SignInsSignInItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SignInable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *SignInsSignInItemRequestBuilder) ToDeleteRequestInformation(ctx context requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a signIn object that contains a specific user sign-in event for your tenant that includes sign-ins where a user is asked to enter a username or password, and session tokens. +// ToGetRequestInformation get signIns from auditLogs // returns a *RequestInformation when successful func (m *SignInsSignInItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SignInsSignInItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/bookingbusinesses/item_appointments_booking_appointment_item_request_builder.go b/bookingbusinesses/item_appointments_booking_appointment_item_request_builder.go index 39bb437f842..b0561a7c316 100644 --- a/bookingbusinesses/item_appointments_booking_appointment_item_request_builder.go +++ b/bookingbusinesses/item_appointments_booking_appointment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemAppointmentsBookingAppointmentItemRequestBuilderDeleteRequestConfigurat // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemAppointmentsBookingAppointmentItemRequestBuilderGetQueryParameters get the properties and relationships of a bookingAppointment object in the specified bookingBusiness. The start and end properties are always returned in UTC. +// ItemAppointmentsBookingAppointmentItemRequestBuilderGetQueryParameters all the appointments of this business. Read-only. Nullable. type ItemAppointmentsBookingAppointmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewItemAppointmentsBookingAppointmentItemRequestBuilder(rawUrl string, requ urlParams["request-raw-url"] = rawUrl return NewItemAppointmentsBookingAppointmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a bookingAppointment in the specified bookingBusiness. +// Delete delete navigation property appointments for bookingBusinesses // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingappointment-delete?view=graph-rest-1.0 func (m *ItemAppointmentsBookingAppointmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemAppointmentsBookingAppointmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *ItemAppointmentsBookingAppointmentItemRequestBuilder) Delete(ctx contex } return nil } -// Get get the properties and relationships of a bookingAppointment object in the specified bookingBusiness. The start and end properties are always returned in UTC. +// Get all the appointments of this business. Read-only. Nullable. // returns a BookingAppointmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingappointment-get?view=graph-rest-1.0 func (m *ItemAppointmentsBookingAppointmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAppointmentsBookingAppointmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingAppointmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,12 +95,9 @@ func (m *ItemAppointmentsBookingAppointmentItemRequestBuilder) Get(ctx context.C } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingAppointmentable), nil } -// Patch update the properties of a bookingAppointment object in the specified bookingBusiness. +// Patch update the navigation property appointments in bookingBusinesses // returns a BookingAppointmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingappointment-update?view=graph-rest-1.0 func (m *ItemAppointmentsBookingAppointmentItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingAppointmentable, requestConfiguration *ItemAppointmentsBookingAppointmentItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingAppointmentable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -124,7 +115,7 @@ func (m *ItemAppointmentsBookingAppointmentItemRequestBuilder) Patch(ctx context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingAppointmentable), nil } -// ToDeleteRequestInformation delete a bookingAppointment in the specified bookingBusiness. +// ToDeleteRequestInformation delete navigation property appointments for bookingBusinesses // returns a *RequestInformation when successful func (m *ItemAppointmentsBookingAppointmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemAppointmentsBookingAppointmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -135,7 +126,7 @@ func (m *ItemAppointmentsBookingAppointmentItemRequestBuilder) ToDeleteRequestIn requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties and relationships of a bookingAppointment object in the specified bookingBusiness. The start and end properties are always returned in UTC. +// ToGetRequestInformation all the appointments of this business. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemAppointmentsBookingAppointmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAppointmentsBookingAppointmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -149,7 +140,7 @@ func (m *ItemAppointmentsBookingAppointmentItemRequestBuilder) ToGetRequestInfor requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a bookingAppointment object in the specified bookingBusiness. +// ToPatchRequestInformation update the navigation property appointments in bookingBusinesses // returns a *RequestInformation when successful func (m *ItemAppointmentsBookingAppointmentItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingAppointmentable, requestConfiguration *ItemAppointmentsBookingAppointmentItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/bookingbusinesses/item_appointments_item_cancel_request_builder.go b/bookingbusinesses/item_appointments_item_cancel_request_builder.go index 7c10b1535e8..f601ff887c8 100644 --- a/bookingbusinesses/item_appointments_item_cancel_request_builder.go +++ b/bookingbusinesses/item_appointments_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewItemAppointmentsItemCancelRequestBuilder(rawUrl string, requestAdapter i // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingappointment-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/bookingappointment-cancel?view=graph-rest-beta func (m *ItemAppointmentsItemCancelRequestBuilder) Post(ctx context.Context, body ItemAppointmentsItemCancelPostRequestBodyable, requestConfiguration *ItemAppointmentsItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/bookingbusinesses/item_appointments_request_builder.go b/bookingbusinesses/item_appointments_request_builder.go index 9a3a2645fc3..d4bb60e708c 100644 --- a/bookingbusinesses/item_appointments_request_builder.go +++ b/bookingbusinesses/item_appointments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemAppointmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemAppointmentsRequestBuilderGetQueryParameters get a list of bookingAppointment objects for the specified bookingBusiness. +// ItemAppointmentsRequestBuilderGetQueryParameters all the appointments of this business. Read-only. Nullable. type ItemAppointmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemAppointmentsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7d func (m *ItemAppointmentsRequestBuilder) Count()(*ItemAppointmentsCountRequestBuilder) { return NewItemAppointmentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of bookingAppointment objects for the specified bookingBusiness. +// Get all the appointments of this business. Read-only. Nullable. // returns a BookingAppointmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingbusiness-list-appointments?view=graph-rest-1.0 func (m *ItemAppointmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAppointmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingAppointmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemAppointmentsRequestBuilder) Get(ctx context.Context, requestConfigu } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingAppointmentCollectionResponseable), nil } -// Post create a new bookingAppointment for the specified bookingBusiness. +// Post create new navigation property to appointments for bookingBusinesses // returns a BookingAppointmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingbusiness-post-appointments?view=graph-rest-1.0 func (m *ItemAppointmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingAppointmentable, requestConfiguration *ItemAppointmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingAppointmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemAppointmentsRequestBuilder) Post(ctx context.Context, body ie233ee7 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingAppointmentable), nil } -// ToGetRequestInformation get a list of bookingAppointment objects for the specified bookingBusiness. +// ToGetRequestInformation all the appointments of this business. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemAppointmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAppointmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemAppointmentsRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new bookingAppointment for the specified bookingBusiness. +// ToPostRequestInformation create new navigation property to appointments for bookingBusinesses // returns a *RequestInformation when successful func (m *ItemAppointmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingAppointmentable, requestConfiguration *ItemAppointmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/bookingbusinesses/item_calendar_view_item_cancel_request_builder.go b/bookingbusinesses/item_calendar_view_item_cancel_request_builder.go index 14cb36457ae..d90af5cc897 100644 --- a/bookingbusinesses/item_calendar_view_item_cancel_request_builder.go +++ b/bookingbusinesses/item_calendar_view_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemCancelRequestBuilder(rawUrl string, requestAdapter i // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingappointment-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/bookingappointment-cancel?view=graph-rest-beta func (m *ItemCalendarViewItemCancelRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemCancelPostRequestBodyable, requestConfiguration *ItemCalendarViewItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/bookingbusinesses/item_calendar_view_request_builder.go b/bookingbusinesses/item_calendar_view_request_builder.go index 7b1363c0774..1393b1f4774 100644 --- a/bookingbusinesses/item_calendar_view_request_builder.go +++ b/bookingbusinesses/item_calendar_view_request_builder.go @@ -83,9 +83,6 @@ func (m *ItemCalendarViewRequestBuilder) Count()(*ItemCalendarViewCountRequestBu // Get the set of appointments of this business in a specified date range. Read-only. Nullable. // returns a BookingAppointmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingbusiness-list-calendarview?view=graph-rest-1.0 func (m *ItemCalendarViewRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarViewRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingAppointmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/bookingbusinesses/item_custom_questions_booking_custom_question_item_request_builder.go b/bookingbusinesses/item_custom_questions_booking_custom_question_item_request_builder.go index d5409192fb8..bc8b1692cf0 100644 --- a/bookingbusinesses/item_custom_questions_booking_custom_question_item_request_builder.go +++ b/bookingbusinesses/item_custom_questions_booking_custom_question_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCustomQuestionsBookingCustomQuestionItemRequestBuilderDeleteRequestConf // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCustomQuestionsBookingCustomQuestionItemRequestBuilderGetQueryParameters read the properties and relationships of a bookingCustomQuestion object. +// ItemCustomQuestionsBookingCustomQuestionItemRequestBuilderGetQueryParameters all custom questions of this business. type ItemCustomQuestionsBookingCustomQuestionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemCustomQuestionsBookingCustomQuestionItemRequestBuilder(rawUrl string urlParams["request-raw-url"] = rawUrl return NewItemCustomQuestionsBookingCustomQuestionItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete the specified bookingCustomQuestion object. +// Delete delete navigation property customQuestions for bookingBusinesses // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingcustomquestion-delete?view=graph-rest-1.0 func (m *ItemCustomQuestionsBookingCustomQuestionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCustomQuestionsBookingCustomQuestionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemCustomQuestionsBookingCustomQuestionItemRequestBuilder) Delete(ctx } return nil } -// Get read the properties and relationships of a bookingCustomQuestion object. +// Get all custom questions of this business. // returns a BookingCustomQuestionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingcustomquestion-get?view=graph-rest-1.0 func (m *ItemCustomQuestionsBookingCustomQuestionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCustomQuestionsBookingCustomQuestionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingCustomQuestionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ItemCustomQuestionsBookingCustomQuestionItemRequestBuilder) Get(ctx con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingCustomQuestionable), nil } -// Patch update the properties of a bookingCustomQuestion object. +// Patch update the navigation property customQuestions in bookingBusinesses // returns a BookingCustomQuestionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingcustomquestion-update?view=graph-rest-1.0 func (m *ItemCustomQuestionsBookingCustomQuestionItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingCustomQuestionable, requestConfiguration *ItemCustomQuestionsBookingCustomQuestionItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingCustomQuestionable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *ItemCustomQuestionsBookingCustomQuestionItemRequestBuilder) Patch(ctx c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingCustomQuestionable), nil } -// ToDeleteRequestInformation delete the specified bookingCustomQuestion object. +// ToDeleteRequestInformation delete navigation property customQuestions for bookingBusinesses // returns a *RequestInformation when successful func (m *ItemCustomQuestionsBookingCustomQuestionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemCustomQuestionsBookingCustomQuestionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *ItemCustomQuestionsBookingCustomQuestionItemRequestBuilder) ToDeleteReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a bookingCustomQuestion object. +// ToGetRequestInformation all custom questions of this business. // returns a *RequestInformation when successful func (m *ItemCustomQuestionsBookingCustomQuestionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCustomQuestionsBookingCustomQuestionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *ItemCustomQuestionsBookingCustomQuestionItemRequestBuilder) ToGetReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a bookingCustomQuestion object. +// ToPatchRequestInformation update the navigation property customQuestions in bookingBusinesses // returns a *RequestInformation when successful func (m *ItemCustomQuestionsBookingCustomQuestionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingCustomQuestionable, requestConfiguration *ItemCustomQuestionsBookingCustomQuestionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/bookingbusinesses/item_custom_questions_request_builder.go b/bookingbusinesses/item_custom_questions_request_builder.go index 9d362684386..0b14761fe24 100644 --- a/bookingbusinesses/item_custom_questions_request_builder.go +++ b/bookingbusinesses/item_custom_questions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCustomQuestionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCustomQuestionsRequestBuilderGetQueryParameters get the bookingCustomQuestion resources associated with a bookingBusiness. +// ItemCustomQuestionsRequestBuilderGetQueryParameters all custom questions of this business. type ItemCustomQuestionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemCustomQuestionsRequestBuilder(rawUrl string, requestAdapter i2ae4187 func (m *ItemCustomQuestionsRequestBuilder) Count()(*ItemCustomQuestionsCountRequestBuilder) { return NewItemCustomQuestionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the bookingCustomQuestion resources associated with a bookingBusiness. +// Get all custom questions of this business. // returns a BookingCustomQuestionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingbusiness-list-customquestions?view=graph-rest-1.0 func (m *ItemCustomQuestionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCustomQuestionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingCustomQuestionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemCustomQuestionsRequestBuilder) Get(ctx context.Context, requestConf } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingCustomQuestionCollectionResponseable), nil } -// Post create a new bookingCustomQuestion object. +// Post create new navigation property to customQuestions for bookingBusinesses // returns a BookingCustomQuestionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingbusiness-post-customquestions?view=graph-rest-1.0 func (m *ItemCustomQuestionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingCustomQuestionable, requestConfiguration *ItemCustomQuestionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingCustomQuestionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemCustomQuestionsRequestBuilder) Post(ctx context.Context, body ie233 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingCustomQuestionable), nil } -// ToGetRequestInformation get the bookingCustomQuestion resources associated with a bookingBusiness. +// ToGetRequestInformation all custom questions of this business. // returns a *RequestInformation when successful func (m *ItemCustomQuestionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCustomQuestionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemCustomQuestionsRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new bookingCustomQuestion object. +// ToPostRequestInformation create new navigation property to customQuestions for bookingBusinesses // returns a *RequestInformation when successful func (m *ItemCustomQuestionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingCustomQuestionable, requestConfiguration *ItemCustomQuestionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/bookingbusinesses/item_customers_booking_customer_item_request_builder.go b/bookingbusinesses/item_customers_booking_customer_item_request_builder.go index 3d07253fb8f..50a1fa8c0d4 100644 --- a/bookingbusinesses/item_customers_booking_customer_item_request_builder.go +++ b/bookingbusinesses/item_customers_booking_customer_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCustomersBookingCustomerItemRequestBuilderDeleteRequestConfiguration st // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCustomersBookingCustomerItemRequestBuilderGetQueryParameters get the properties and relationships of a bookingCustomer object. +// ItemCustomersBookingCustomerItemRequestBuilderGetQueryParameters all the customers of this business. Read-only. Nullable. type ItemCustomersBookingCustomerItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemCustomersBookingCustomerItemRequestBuilder(rawUrl string, requestAda urlParams["request-raw-url"] = rawUrl return NewItemCustomersBookingCustomerItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete the specified bookingCustomer object. +// Delete delete navigation property customers for bookingBusinesses // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingcustomer-delete?view=graph-rest-1.0 func (m *ItemCustomersBookingCustomerItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCustomersBookingCustomerItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemCustomersBookingCustomerItemRequestBuilder) Delete(ctx context.Cont } return nil } -// Get get the properties and relationships of a bookingCustomer object. +// Get all the customers of this business. Read-only. Nullable. // returns a BookingCustomerable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingcustomer-get?view=graph-rest-1.0 func (m *ItemCustomersBookingCustomerItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCustomersBookingCustomerItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingCustomerable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ItemCustomersBookingCustomerItemRequestBuilder) Get(ctx context.Context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingCustomerable), nil } -// Patch update the properties of a bookingCustomer object. +// Patch update the navigation property customers in bookingBusinesses // returns a BookingCustomerable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingcustomer-update?view=graph-rest-1.0 func (m *ItemCustomersBookingCustomerItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingCustomerable, requestConfiguration *ItemCustomersBookingCustomerItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingCustomerable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *ItemCustomersBookingCustomerItemRequestBuilder) Patch(ctx context.Conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingCustomerable), nil } -// ToDeleteRequestInformation delete the specified bookingCustomer object. +// ToDeleteRequestInformation delete navigation property customers for bookingBusinesses // returns a *RequestInformation when successful func (m *ItemCustomersBookingCustomerItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemCustomersBookingCustomerItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *ItemCustomersBookingCustomerItemRequestBuilder) ToDeleteRequestInformat requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties and relationships of a bookingCustomer object. +// ToGetRequestInformation all the customers of this business. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCustomersBookingCustomerItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCustomersBookingCustomerItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *ItemCustomersBookingCustomerItemRequestBuilder) ToGetRequestInformation requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a bookingCustomer object. +// ToPatchRequestInformation update the navigation property customers in bookingBusinesses // returns a *RequestInformation when successful func (m *ItemCustomersBookingCustomerItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingCustomerable, requestConfiguration *ItemCustomersBookingCustomerItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/bookingbusinesses/item_customers_request_builder.go b/bookingbusinesses/item_customers_request_builder.go index 608ea2cafb5..43a4adc2fb2 100644 --- a/bookingbusinesses/item_customers_request_builder.go +++ b/bookingbusinesses/item_customers_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCustomersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCustomersRequestBuilderGetQueryParameters get a list of bookingCustomer objects. +// ItemCustomersRequestBuilderGetQueryParameters all the customers of this business. Read-only. Nullable. type ItemCustomersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemCustomersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee func (m *ItemCustomersRequestBuilder) Count()(*ItemCustomersCountRequestBuilder) { return NewItemCustomersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of bookingCustomer objects. +// Get all the customers of this business. Read-only. Nullable. // returns a BookingCustomerCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingbusiness-list-customers?view=graph-rest-1.0 func (m *ItemCustomersRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCustomersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingCustomerCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemCustomersRequestBuilder) Get(ctx context.Context, requestConfigurat } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingCustomerCollectionResponseable), nil } -// Post create a new bookingCustomer object. +// Post create new navigation property to customers for bookingBusinesses // returns a BookingCustomerable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingbusiness-post-customers?view=graph-rest-1.0 func (m *ItemCustomersRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingCustomerable, requestConfiguration *ItemCustomersRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingCustomerable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemCustomersRequestBuilder) Post(ctx context.Context, body ie233ee762e } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingCustomerable), nil } -// ToGetRequestInformation get a list of bookingCustomer objects. +// ToGetRequestInformation all the customers of this business. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCustomersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCustomersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemCustomersRequestBuilder) ToGetRequestInformation(ctx context.Contex requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new bookingCustomer object. +// ToPostRequestInformation create new navigation property to customers for bookingBusinesses // returns a *RequestInformation when successful func (m *ItemCustomersRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingCustomerable, requestConfiguration *ItemCustomersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/bookingbusinesses/item_get_staff_availability_request_builder.go b/bookingbusinesses/item_get_staff_availability_request_builder.go index 2f6e026b992..2a94896f4c5 100644 --- a/bookingbusinesses/item_get_staff_availability_request_builder.go +++ b/bookingbusinesses/item_get_staff_availability_request_builder.go @@ -36,7 +36,7 @@ func NewItemGetStaffAvailabilityRequestBuilder(rawUrl string, requestAdapter i2a // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingbusiness-getstaffavailability?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/bookingbusiness-getstaffavailability?view=graph-rest-beta func (m *ItemGetStaffAvailabilityRequestBuilder) Post(ctx context.Context, body ItemGetStaffAvailabilityPostRequestBodyable, requestConfiguration *ItemGetStaffAvailabilityRequestBuilderPostRequestConfiguration)(ItemGetStaffAvailabilityResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ItemGetStaffAvailabilityRequestBuilder) Post(ctx context.Context, body // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingbusiness-getstaffavailability?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/bookingbusiness-getstaffavailability?view=graph-rest-beta func (m *ItemGetStaffAvailabilityRequestBuilder) PostAsGetStaffAvailabilityPostResponse(ctx context.Context, body ItemGetStaffAvailabilityPostRequestBodyable, requestConfiguration *ItemGetStaffAvailabilityRequestBuilderPostRequestConfiguration)(ItemGetStaffAvailabilityPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/bookingbusinesses/item_publish_request_builder.go b/bookingbusinesses/item_publish_request_builder.go index 05f384eeb22..d33d5ba05dd 100644 --- a/bookingbusinesses/item_publish_request_builder.go +++ b/bookingbusinesses/item_publish_request_builder.go @@ -34,7 +34,7 @@ func NewItemPublishRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingbusiness-publish?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/bookingbusiness-publish?view=graph-rest-beta func (m *ItemPublishRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemPublishRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/bookingbusinesses/item_services_booking_service_item_request_builder.go b/bookingbusinesses/item_services_booking_service_item_request_builder.go index d59b2dca1f0..a2246367533 100644 --- a/bookingbusinesses/item_services_booking_service_item_request_builder.go +++ b/bookingbusinesses/item_services_booking_service_item_request_builder.go @@ -18,7 +18,7 @@ type ItemServicesBookingServiceItemRequestBuilderDeleteRequestConfiguration stru // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemServicesBookingServiceItemRequestBuilderGetQueryParameters get the properties and relationships of a bookingService object in the specified bookingBusiness. +// ItemServicesBookingServiceItemRequestBuilderGetQueryParameters all the services offered by this business. Read-only. Nullable. type ItemServicesBookingServiceItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemServicesBookingServiceItemRequestBuilder(rawUrl string, requestAdapt urlParams["request-raw-url"] = rawUrl return NewItemServicesBookingServiceItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a bookingService object in the specified bookingBusiness. +// Delete delete navigation property services for bookingBusinesses // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingservice-delete?view=graph-rest-1.0 func (m *ItemServicesBookingServiceItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemServicesBookingServiceItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemServicesBookingServiceItemRequestBuilder) Delete(ctx context.Contex } return nil } -// Get get the properties and relationships of a bookingService object in the specified bookingBusiness. +// Get all the services offered by this business. Read-only. Nullable. // returns a BookingServiceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingservice-get?view=graph-rest-1.0 func (m *ItemServicesBookingServiceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemServicesBookingServiceItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingServiceable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ItemServicesBookingServiceItemRequestBuilder) Get(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingServiceable), nil } -// Patch update the properties of a bookingService object in the specified bookingBusiness. The following are some examples you can customize for a service:- Price- Typical length of an appointment- Reminders- Any, time buffer to set up before or finish up after the service- Scheduling policy parameters such as minimum notice to book or cancel, and whether customers can select specific staff members for an appointment. +// Patch update the navigation property services in bookingBusinesses // returns a BookingServiceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingservice-update?view=graph-rest-1.0 func (m *ItemServicesBookingServiceItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingServiceable, requestConfiguration *ItemServicesBookingServiceItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingServiceable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *ItemServicesBookingServiceItemRequestBuilder) Patch(ctx context.Context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingServiceable), nil } -// ToDeleteRequestInformation delete a bookingService object in the specified bookingBusiness. +// ToDeleteRequestInformation delete navigation property services for bookingBusinesses // returns a *RequestInformation when successful func (m *ItemServicesBookingServiceItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemServicesBookingServiceItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *ItemServicesBookingServiceItemRequestBuilder) ToDeleteRequestInformatio requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties and relationships of a bookingService object in the specified bookingBusiness. +// ToGetRequestInformation all the services offered by this business. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemServicesBookingServiceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemServicesBookingServiceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *ItemServicesBookingServiceItemRequestBuilder) ToGetRequestInformation(c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a bookingService object in the specified bookingBusiness. The following are some examples you can customize for a service:- Price- Typical length of an appointment- Reminders- Any, time buffer to set up before or finish up after the service- Scheduling policy parameters such as minimum notice to book or cancel, and whether customers can select specific staff members for an appointment. +// ToPatchRequestInformation update the navigation property services in bookingBusinesses // returns a *RequestInformation when successful func (m *ItemServicesBookingServiceItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingServiceable, requestConfiguration *ItemServicesBookingServiceItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/bookingbusinesses/item_services_request_builder.go b/bookingbusinesses/item_services_request_builder.go index c1ca5af2f1a..a56d13fb028 100644 --- a/bookingbusinesses/item_services_request_builder.go +++ b/bookingbusinesses/item_services_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemServicesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemServicesRequestBuilderGetQueryParameters get a list of bookingService objects in the specified bookingBusiness. +// ItemServicesRequestBuilderGetQueryParameters all the services offered by this business. Read-only. Nullable. type ItemServicesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemServicesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee2 func (m *ItemServicesRequestBuilder) Count()(*ItemServicesCountRequestBuilder) { return NewItemServicesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of bookingService objects in the specified bookingBusiness. +// Get all the services offered by this business. Read-only. Nullable. // returns a BookingServiceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingbusiness-list-services?view=graph-rest-1.0 func (m *ItemServicesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemServicesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingServiceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemServicesRequestBuilder) Get(ctx context.Context, requestConfigurati } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingServiceCollectionResponseable), nil } -// Post create a new bookingService for the specified bookingBusiness. +// Post create new navigation property to services for bookingBusinesses // returns a BookingServiceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingbusiness-post-services?view=graph-rest-1.0 func (m *ItemServicesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingServiceable, requestConfiguration *ItemServicesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingServiceable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemServicesRequestBuilder) Post(ctx context.Context, body ie233ee762e2 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingServiceable), nil } -// ToGetRequestInformation get a list of bookingService objects in the specified bookingBusiness. +// ToGetRequestInformation all the services offered by this business. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemServicesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemServicesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemServicesRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new bookingService for the specified bookingBusiness. +// ToPostRequestInformation create new navigation property to services for bookingBusinesses // returns a *RequestInformation when successful func (m *ItemServicesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingServiceable, requestConfiguration *ItemServicesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/bookingbusinesses/item_staff_members_booking_staff_member_item_request_builder.go b/bookingbusinesses/item_staff_members_booking_staff_member_item_request_builder.go index 2de167d8257..6bfd8cd3d3d 100644 --- a/bookingbusinesses/item_staff_members_booking_staff_member_item_request_builder.go +++ b/bookingbusinesses/item_staff_members_booking_staff_member_item_request_builder.go @@ -18,7 +18,7 @@ type ItemStaffMembersBookingStaffMemberItemRequestBuilderDeleteRequestConfigurat // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemStaffMembersBookingStaffMemberItemRequestBuilderGetQueryParameters get the properties and relationships of a bookingStaffMember in the specified bookingBusiness. +// ItemStaffMembersBookingStaffMemberItemRequestBuilderGetQueryParameters all the staff members that provide services in this business. Read-only. Nullable. type ItemStaffMembersBookingStaffMemberItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemStaffMembersBookingStaffMemberItemRequestBuilder(rawUrl string, requ urlParams["request-raw-url"] = rawUrl return NewItemStaffMembersBookingStaffMemberItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a staff member in the specified bookingbusiness. +// Delete delete navigation property staffMembers for bookingBusinesses // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingstaffmember-delete?view=graph-rest-1.0 func (m *ItemStaffMembersBookingStaffMemberItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemStaffMembersBookingStaffMemberItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemStaffMembersBookingStaffMemberItemRequestBuilder) Delete(ctx contex } return nil } -// Get get the properties and relationships of a bookingStaffMember in the specified bookingBusiness. +// Get all the staff members that provide services in this business. Read-only. Nullable. // returns a BookingStaffMemberable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingstaffmember-get?view=graph-rest-1.0 func (m *ItemStaffMembersBookingStaffMemberItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemStaffMembersBookingStaffMemberItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingStaffMemberable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ItemStaffMembersBookingStaffMemberItemRequestBuilder) Get(ctx context.C } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingStaffMemberable), nil } -// Patch update the properties of a bookingStaffMember in the specified bookingBusiness. +// Patch update the navigation property staffMembers in bookingBusinesses // returns a BookingStaffMemberable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingstaffmember-update?view=graph-rest-1.0 func (m *ItemStaffMembersBookingStaffMemberItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingStaffMemberable, requestConfiguration *ItemStaffMembersBookingStaffMemberItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingStaffMemberable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *ItemStaffMembersBookingStaffMemberItemRequestBuilder) Patch(ctx context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingStaffMemberable), nil } -// ToDeleteRequestInformation delete a staff member in the specified bookingbusiness. +// ToDeleteRequestInformation delete navigation property staffMembers for bookingBusinesses // returns a *RequestInformation when successful func (m *ItemStaffMembersBookingStaffMemberItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemStaffMembersBookingStaffMemberItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *ItemStaffMembersBookingStaffMemberItemRequestBuilder) ToDeleteRequestIn requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties and relationships of a bookingStaffMember in the specified bookingBusiness. +// ToGetRequestInformation all the staff members that provide services in this business. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemStaffMembersBookingStaffMemberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemStaffMembersBookingStaffMemberItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *ItemStaffMembersBookingStaffMemberItemRequestBuilder) ToGetRequestInfor requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a bookingStaffMember in the specified bookingBusiness. +// ToPatchRequestInformation update the navigation property staffMembers in bookingBusinesses // returns a *RequestInformation when successful func (m *ItemStaffMembersBookingStaffMemberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingStaffMemberable, requestConfiguration *ItemStaffMembersBookingStaffMemberItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/bookingbusinesses/item_staff_members_request_builder.go b/bookingbusinesses/item_staff_members_request_builder.go index 0736cb78b70..a0184d5dc65 100644 --- a/bookingbusinesses/item_staff_members_request_builder.go +++ b/bookingbusinesses/item_staff_members_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemStaffMembersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemStaffMembersRequestBuilderGetQueryParameters get a list of bookingStaffMember objects in the specified bookingBusiness. +// ItemStaffMembersRequestBuilderGetQueryParameters all the staff members that provide services in this business. Read-only. Nullable. type ItemStaffMembersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemStaffMembersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7d func (m *ItemStaffMembersRequestBuilder) Count()(*ItemStaffMembersCountRequestBuilder) { return NewItemStaffMembersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of bookingStaffMember objects in the specified bookingBusiness. +// Get all the staff members that provide services in this business. Read-only. Nullable. // returns a BookingStaffMemberCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingbusiness-list-staffmembers?view=graph-rest-1.0 func (m *ItemStaffMembersRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemStaffMembersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingStaffMemberCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemStaffMembersRequestBuilder) Get(ctx context.Context, requestConfigu } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingStaffMemberCollectionResponseable), nil } -// Post create a new staff member in the specified bookingBusiness. +// Post create new navigation property to staffMembers for bookingBusinesses // returns a BookingStaffMemberable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingbusiness-post-staffmembers?view=graph-rest-1.0 func (m *ItemStaffMembersRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingStaffMemberable, requestConfiguration *ItemStaffMembersRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingStaffMemberable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemStaffMembersRequestBuilder) Post(ctx context.Context, body ie233ee7 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingStaffMemberable), nil } -// ToGetRequestInformation get a list of bookingStaffMember objects in the specified bookingBusiness. +// ToGetRequestInformation all the staff members that provide services in this business. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemStaffMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemStaffMembersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemStaffMembersRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new staff member in the specified bookingBusiness. +// ToPostRequestInformation create new navigation property to staffMembers for bookingBusinesses // returns a *RequestInformation when successful func (m *ItemStaffMembersRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingStaffMemberable, requestConfiguration *ItemStaffMembersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/bookingbusinesses/item_unpublish_request_builder.go b/bookingbusinesses/item_unpublish_request_builder.go index 12705f74f8e..8d68415ddf8 100644 --- a/bookingbusinesses/item_unpublish_request_builder.go +++ b/bookingbusinesses/item_unpublish_request_builder.go @@ -34,7 +34,7 @@ func NewItemUnpublishRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingbusiness-unpublish?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/bookingbusiness-unpublish?view=graph-rest-beta func (m *ItemUnpublishRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemUnpublishRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/businessflowtemplates/business_flow_templates_request_builder.go b/businessflowtemplates/business_flow_templates_request_builder.go index e118cbcaf23..c032d68a3a4 100644 --- a/businessflowtemplates/business_flow_templates_request_builder.go +++ b/businessflowtemplates/business_flow_templates_request_builder.go @@ -81,7 +81,7 @@ func (m *BusinessFlowTemplatesRequestBuilder) Count()(*CountRequestBuilder) { // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/businessflowtemplate-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/businessflowtemplate-list?view=graph-rest-beta func (m *BusinessFlowTemplatesRequestBuilder) Get(ctx context.Context, requestConfiguration *BusinessFlowTemplatesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BusinessFlowTemplateCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/chats/chat_item_request_builder.go b/chats/chat_item_request_builder.go index 565d8bcccdd..7615d00517f 100644 --- a/chats/chat_item_request_builder.go +++ b/chats/chat_item_request_builder.go @@ -58,7 +58,7 @@ func NewChatItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26337 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chat-delete?view=graph-rest-beta func (m *ChatItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ChatItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,7 +78,7 @@ func (m *ChatItemRequestBuilder) Delete(ctx context.Context, requestConfiguratio // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chat-get?view=graph-rest-beta func (m *ChatItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ChatItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Chatable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -141,7 +141,7 @@ func (m *ChatItemRequestBuilder) Operations()(*ItemOperationsRequestBuilder) { // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-patch?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chat-patch?view=graph-rest-beta func (m *ChatItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Chatable, requestConfiguration *ChatItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Chatable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/chats/chats_request_builder.go b/chats/chats_request_builder.go index 0837dab69f7..81d9e0d742e 100644 --- a/chats/chats_request_builder.go +++ b/chats/chats_request_builder.go @@ -86,7 +86,7 @@ func (m *ChatsRequestBuilder) Count()(*CountRequestBuilder) { // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chat-list?view=graph-rest-beta func (m *ChatsRequestBuilder) Get(ctx context.Context, requestConfiguration *ChatsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +119,7 @@ func (m *ChatsRequestBuilder) GetAllRetainedMessages()(*GetAllRetainedMessagesRe // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-post?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chat-post?view=graph-rest-beta func (m *ChatsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Chatable, requestConfiguration *ChatsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Chatable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/chats/get_all_retained_messages_request_builder.go b/chats/get_all_retained_messages_request_builder.go index 6dd0333fd24..7fb12db8425 100644 --- a/chats/get_all_retained_messages_request_builder.go +++ b/chats/get_all_retained_messages_request_builder.go @@ -10,7 +10,7 @@ import ( type GetAllRetainedMessagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// GetAllRetainedMessagesRequestBuilderGetQueryParameters invoke function getAllRetainedMessages +// GetAllRetainedMessagesRequestBuilderGetQueryParameters get all retained messages from all chats that a user is a participant in, including one-on-one chats, group chats, and meeting chats. type GetAllRetainedMessagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewGetAllRetainedMessagesRequestBuilder(rawUrl string, requestAdapter i2ae4 urlParams["request-raw-url"] = rawUrl return NewGetAllRetainedMessagesRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getAllRetainedMessages +// Get get all retained messages from all chats that a user is a participant in, including one-on-one chats, group chats, and meeting chats. // Deprecated: This method is obsolete. Use GetAsGetAllRetainedMessagesGetResponse instead. // returns a GetAllRetainedMessagesResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chat-getallretainedmessages?view=graph-rest-beta func (m *GetAllRetainedMessagesRequestBuilder) Get(ctx context.Context, requestConfiguration *GetAllRetainedMessagesRequestBuilderGetRequestConfiguration)(GetAllRetainedMessagesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *GetAllRetainedMessagesRequestBuilder) Get(ctx context.Context, requestC } return res.(GetAllRetainedMessagesResponseable), nil } -// GetAsGetAllRetainedMessagesGetResponse invoke function getAllRetainedMessages +// GetAsGetAllRetainedMessagesGetResponse get all retained messages from all chats that a user is a participant in, including one-on-one chats, group chats, and meeting chats. // returns a GetAllRetainedMessagesGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chat-getallretainedmessages?view=graph-rest-beta func (m *GetAllRetainedMessagesRequestBuilder) GetAsGetAllRetainedMessagesGetResponse(ctx context.Context, requestConfiguration *GetAllRetainedMessagesRequestBuilderGetRequestConfiguration)(GetAllRetainedMessagesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *GetAllRetainedMessagesRequestBuilder) GetAsGetAllRetainedMessagesGetRes } return res.(GetAllRetainedMessagesGetResponseable), nil } -// ToGetRequestInformation invoke function getAllRetainedMessages +// ToGetRequestInformation get all retained messages from all chats that a user is a participant in, including one-on-one chats, group chats, and meeting chats. // returns a *RequestInformation when successful func (m *GetAllRetainedMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *GetAllRetainedMessagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/chats/item_hide_for_user_request_builder.go b/chats/item_hide_for_user_request_builder.go index d146a49099e..4a34b7fc7c7 100644 --- a/chats/item_hide_for_user_request_builder.go +++ b/chats/item_hide_for_user_request_builder.go @@ -34,7 +34,7 @@ func NewItemHideForUserRequestBuilder(rawUrl string, requestAdapter i2ae4187f7da // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-hideforuser?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chat-hideforuser?view=graph-rest-beta func (m *ItemHideForUserRequestBuilder) Post(ctx context.Context, body ItemHideForUserPostRequestBodyable, requestConfiguration *ItemHideForUserRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/chats/item_installed_apps_item_upgrade_request_builder.go b/chats/item_installed_apps_item_upgrade_request_builder.go index 220852aee2a..8cdf7ffc702 100644 --- a/chats/item_installed_apps_item_upgrade_request_builder.go +++ b/chats/item_installed_apps_item_upgrade_request_builder.go @@ -34,7 +34,7 @@ func NewItemInstalledAppsItemUpgradeRequestBuilder(rawUrl string, requestAdapter // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-teamsappinstallation-upgrade?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chat-teamsappinstallation-upgrade?view=graph-rest-beta func (m *ItemInstalledAppsItemUpgradeRequestBuilder) Post(ctx context.Context, body ItemInstalledAppsItemUpgradePostRequestBodyable, requestConfiguration *ItemInstalledAppsItemUpgradeRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/chats/item_installed_apps_request_builder.go b/chats/item_installed_apps_request_builder.go index 93eca27dc95..26673d65192 100644 --- a/chats/item_installed_apps_request_builder.go +++ b/chats/item_installed_apps_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemInstalledAppsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemInstalledAppsRequestBuilderGetQueryParameters list all app installations within a chat. If the chat is associated with an onlineMeeting instance, then, effectively, the teamsApps installed in the meeting will be listed. +// ItemInstalledAppsRequestBuilderGetQueryParameters a collection of all the apps in the chat. Nullable. type ItemInstalledAppsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemInstalledAppsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7 func (m *ItemInstalledAppsRequestBuilder) Count()(*ItemInstalledAppsCountRequestBuilder) { return NewItemInstalledAppsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list all app installations within a chat. If the chat is associated with an onlineMeeting instance, then, effectively, the teamsApps installed in the meeting will be listed. +// Get a collection of all the apps in the chat. Nullable. // returns a TeamsAppInstallationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-list-installedapps?view=graph-rest-1.0 func (m *ItemInstalledAppsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemInstalledAppsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppInstallationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemInstalledAppsRequestBuilder) Get(ctx context.Context, requestConfig } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppInstallationCollectionResponseable), nil } -// Post install a teamsApp to the specified chat. +// Post create new navigation property to installedApps for chats // returns a TeamsAppInstallationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-post-installedapps?view=graph-rest-1.0 func (m *ItemInstalledAppsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppInstallationable, requestConfiguration *ItemInstalledAppsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppInstallationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemInstalledAppsRequestBuilder) Post(ctx context.Context, body ie233ee } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppInstallationable), nil } -// ToGetRequestInformation list all app installations within a chat. If the chat is associated with an onlineMeeting instance, then, effectively, the teamsApps installed in the meeting will be listed. +// ToGetRequestInformation a collection of all the apps in the chat. Nullable. // returns a *RequestInformation when successful func (m *ItemInstalledAppsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemInstalledAppsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemInstalledAppsRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation install a teamsApp to the specified chat. +// ToPostRequestInformation create new navigation property to installedApps for chats // returns a *RequestInformation when successful func (m *ItemInstalledAppsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppInstallationable, requestConfiguration *ItemInstalledAppsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/chats/item_installed_apps_teams_app_installation_item_request_builder.go b/chats/item_installed_apps_teams_app_installation_item_request_builder.go index a619ae0a016..a44e0675c80 100644 --- a/chats/item_installed_apps_teams_app_installation_item_request_builder.go +++ b/chats/item_installed_apps_teams_app_installation_item_request_builder.go @@ -18,7 +18,7 @@ type ItemInstalledAppsTeamsAppInstallationItemRequestBuilderDeleteRequestConfigu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemInstalledAppsTeamsAppInstallationItemRequestBuilderGetQueryParameters get an app installed in a chat. +// ItemInstalledAppsTeamsAppInstallationItemRequestBuilderGetQueryParameters a collection of all the apps in the chat. Nullable. type ItemInstalledAppsTeamsAppInstallationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemInstalledAppsTeamsAppInstallationItemRequestBuilder(rawUrl string, r urlParams["request-raw-url"] = rawUrl return NewItemInstalledAppsTeamsAppInstallationItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete uninstall an app installed within a chat. +// Delete delete navigation property installedApps for chats // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-delete-installedapps?view=graph-rest-1.0 func (m *ItemInstalledAppsTeamsAppInstallationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemInstalledAppsTeamsAppInstallationItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemInstalledAppsTeamsAppInstallationItemRequestBuilder) Delete(ctx con } return nil } -// Get get an app installed in a chat. +// Get a collection of all the apps in the chat. Nullable. // returns a TeamsAppInstallationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-get-installedapps?view=graph-rest-1.0 func (m *ItemInstalledAppsTeamsAppInstallationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemInstalledAppsTeamsAppInstallationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppInstallationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -126,7 +120,7 @@ func (m *ItemInstalledAppsTeamsAppInstallationItemRequestBuilder) TeamsApp()(*It func (m *ItemInstalledAppsTeamsAppInstallationItemRequestBuilder) TeamsAppDefinition()(*ItemInstalledAppsItemTeamsAppDefinitionRequestBuilder) { return NewItemInstalledAppsItemTeamsAppDefinitionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation uninstall an app installed within a chat. +// ToDeleteRequestInformation delete navigation property installedApps for chats // returns a *RequestInformation when successful func (m *ItemInstalledAppsTeamsAppInstallationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemInstalledAppsTeamsAppInstallationItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -137,7 +131,7 @@ func (m *ItemInstalledAppsTeamsAppInstallationItemRequestBuilder) ToDeleteReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an app installed in a chat. +// ToGetRequestInformation a collection of all the apps in the chat. Nullable. // returns a *RequestInformation when successful func (m *ItemInstalledAppsTeamsAppInstallationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemInstalledAppsTeamsAppInstallationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/chats/item_mark_chat_read_for_user_request_builder.go b/chats/item_mark_chat_read_for_user_request_builder.go index d89a38422d8..71812164451 100644 --- a/chats/item_mark_chat_read_for_user_request_builder.go +++ b/chats/item_mark_chat_read_for_user_request_builder.go @@ -34,7 +34,7 @@ func NewItemMarkChatReadForUserRequestBuilder(rawUrl string, requestAdapter i2ae // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-markchatreadforuser?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chat-markchatreadforuser?view=graph-rest-beta func (m *ItemMarkChatReadForUserRequestBuilder) Post(ctx context.Context, body ItemMarkChatReadForUserPostRequestBodyable, requestConfiguration *ItemMarkChatReadForUserRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/chats/item_mark_chat_unread_for_user_request_builder.go b/chats/item_mark_chat_unread_for_user_request_builder.go index 973d0025cff..24bd58da750 100644 --- a/chats/item_mark_chat_unread_for_user_request_builder.go +++ b/chats/item_mark_chat_unread_for_user_request_builder.go @@ -34,7 +34,7 @@ func NewItemMarkChatUnreadForUserRequestBuilder(rawUrl string, requestAdapter i2 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-markchatunreadforuser?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chat-markchatunreadforuser?view=graph-rest-beta func (m *ItemMarkChatUnreadForUserRequestBuilder) Post(ctx context.Context, body ItemMarkChatUnreadForUserPostRequestBodyable, requestConfiguration *ItemMarkChatUnreadForUserRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/chats/item_members_add_request_builder.go b/chats/item_members_add_request_builder.go index b5d312144a8..d4a28260eb4 100644 --- a/chats/item_members_add_request_builder.go +++ b/chats/item_members_add_request_builder.go @@ -36,7 +36,7 @@ func NewItemMembersAddRequestBuilder(rawUrl string, requestAdapter i2ae4187f7dae // returns a ODataError error 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-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-beta func (m *ItemMembersAddRequestBuilder) Post(ctx context.Context, body ItemMembersAddPostRequestBodyable, requestConfiguration *ItemMembersAddRequestBuilderPostRequestConfiguration)(ItemMembersAddResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ItemMembersAddRequestBuilder) Post(ctx context.Context, body ItemMember // returns a ODataError error 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-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-beta func (m *ItemMembersAddRequestBuilder) PostAsAddPostResponse(ctx context.Context, body ItemMembersAddPostRequestBodyable, requestConfiguration *ItemMembersAddRequestBuilderPostRequestConfiguration)(ItemMembersAddPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/chats/item_members_conversation_member_item_request_builder.go b/chats/item_members_conversation_member_item_request_builder.go index 03b82e0d9db..7510a46de3c 100644 --- a/chats/item_members_conversation_member_item_request_builder.go +++ b/chats/item_members_conversation_member_item_request_builder.go @@ -18,7 +18,7 @@ type ItemMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemMembersConversationMemberItemRequestBuilderGetQueryParameters retrieve a conversationMember from a chat. +// ItemMembersConversationMemberItemRequestBuilderGetQueryParameters a collection of all the members in the chat. Nullable. type ItemMembersConversationMemberItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemMembersConversationMemberItemRequestBuilder(rawUrl string, requestAd urlParams["request-raw-url"] = rawUrl return NewItemMembersConversationMemberItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove a conversationMember from a chat. +// Delete delete navigation property members for chats // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-delete-members?view=graph-rest-1.0 func (m *ItemMembersConversationMemberItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemMembersConversationMemberItemRequestBuilder) Delete(ctx context.Con } return nil } -// Get retrieve a conversationMember from a chat. +// Get a collection of all the members in the chat. Nullable. // returns a ConversationMemberable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-get-members?view=graph-rest-1.0 func (m *ItemMembersConversationMemberItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMembersConversationMemberItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -116,7 +110,7 @@ func (m *ItemMembersConversationMemberItemRequestBuilder) Patch(ctx context.Cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil } -// ToDeleteRequestInformation remove a conversationMember from a chat. +// ToDeleteRequestInformation delete navigation property members for chats // returns a *RequestInformation when successful func (m *ItemMembersConversationMemberItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -127,7 +121,7 @@ func (m *ItemMembersConversationMemberItemRequestBuilder) ToDeleteRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a conversationMember from a chat. +// ToGetRequestInformation a collection of all the members in the chat. Nullable. // returns a *RequestInformation when successful func (m *ItemMembersConversationMemberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMembersConversationMemberItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/chats/item_members_request_builder.go b/chats/item_members_request_builder.go index 13cbe661086..9dfa86def46 100644 --- a/chats/item_members_request_builder.go +++ b/chats/item_members_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemMembersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemMembersRequestBuilderGetQueryParameters retrieve a conversationMember from a chat. +// ItemMembersRequestBuilderGetQueryParameters a collection of all the members in the chat. Nullable. type ItemMembersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func NewItemMembersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 func (m *ItemMembersRequestBuilder) Count()(*ItemMembersCountRequestBuilder) { return NewItemMembersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a conversationMember from a chat. +// Get a collection of all the members in the chat. Nullable. // returns a ConversationMemberCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-list-members?view=graph-rest-1.0 func (m *ItemMembersRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMembersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *ItemMembersRequestBuilder) Get(ctx context.Context, requestConfiguratio } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable), nil } -// Post add a conversationMember to a chat. +// Post create new navigation property to members for chats // returns a ConversationMemberable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-post-members?view=graph-rest-1.0 func (m *ItemMembersRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemMembersRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemMembersRequestBuilder) Post(ctx context.Context, body ie233ee762e29 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil } -// ToGetRequestInformation retrieve a conversationMember from a chat. +// ToGetRequestInformation a collection of all the members in the chat. Nullable. // returns a *RequestInformation when successful func (m *ItemMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMembersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ItemMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add a conversationMember to a chat. +// ToPostRequestInformation create new navigation property to members for chats // returns a *RequestInformation when successful func (m *ItemMembersRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemMembersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/chats/item_messages_chat_message_item_request_builder.go b/chats/item_messages_chat_message_item_request_builder.go index 729a3759866..e08eef204e3 100644 --- a/chats/item_messages_chat_message_item_request_builder.go +++ b/chats/item_messages_chat_message_item_request_builder.go @@ -18,7 +18,7 @@ type ItemMessagesChatMessageItemRequestBuilderDeleteRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemMessagesChatMessageItemRequestBuilderGetQueryParameters retrieve a single message or a message reply in a channel or a chat. +// ItemMessagesChatMessageItemRequestBuilderGetQueryParameters a collection of all the messages in the chat. Nullable. type ItemMessagesChatMessageItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemMessagesChatMessageItemRequestBuilder) Delete(ctx context.Context, } return nil } -// Get retrieve a single message or a message reply in a channel or a chat. +// Get a collection of all the messages in the chat. Nullable. // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-get?view=graph-rest-1.0 func (m *ItemMessagesChatMessageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMessagesChatMessageItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -144,7 +141,7 @@ func (m *ItemMessagesChatMessageItemRequestBuilder) ToDeleteRequestInformation(c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a single message or a message reply in a channel or a chat. +// ToGetRequestInformation a collection of all the messages in the chat. Nullable. // returns a *RequestInformation when successful func (m *ItemMessagesChatMessageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMessagesChatMessageItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/chats/item_messages_delta_request_builder.go b/chats/item_messages_delta_request_builder.go index d3de1e91a22..0182a656cb0 100644 --- a/chats/item_messages_delta_request_builder.go +++ b/chats/item_messages_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemMessagesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemMessagesDeltaRequestBuilderGetQueryParameters invoke function delta +// ItemMessagesDeltaRequestBuilderGetQueryParameters retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. type ItemMessagesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewItemMessagesDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7 urlParams["request-raw-url"] = rawUrl return NewItemMessagesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // 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 +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-beta func (m *ItemMessagesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMessagesDeltaRequestBuilderGetRequestConfiguration)(ItemMessagesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ItemMessagesDeltaRequestBuilder) Get(ctx context.Context, requestConfig } return res.(ItemMessagesDeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // returns a ItemMessagesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-beta func (m *ItemMessagesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemMessagesDeltaRequestBuilderGetRequestConfiguration)(ItemMessagesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ItemMessagesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Cont } return res.(ItemMessagesDeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // 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/chats/item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/chats/item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index 8b01c22a3fc..f5ed31ba773 100644 --- a/chats/item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/chats/item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -18,7 +18,7 @@ type ItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderDel // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters retrieve the properties and relationships of chatMessageHostedContent object. +// ItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters content in a message hosted by Microsoft Teams - for example, images or code snippets. type ItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *ItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilde } return nil } -// Get retrieve the properties and relationships of chatMessageHostedContent object. +// Get content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a ChatMessageHostedContentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessagehostedcontent-get?view=graph-rest-1.0 func (m *ItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *ItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilde requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of chatMessageHostedContent object. +// ToGetRequestInformation content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a *RequestInformation when successful func (m *ItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/chats/item_messages_item_hosted_contents_item_value_content_request_builder.go b/chats/item_messages_item_hosted_contents_item_value_content_request_builder.go index 313d956ffec..d2d45d30b36 100644 --- a/chats/item_messages_item_hosted_contents_item_value_content_request_builder.go +++ b/chats/item_messages_item_hosted_contents_item_value_content_request_builder.go @@ -40,9 +40,6 @@ func NewItemMessagesItemHostedContentsItemValueContentRequestBuilder(rawUrl stri // Get get media content for the navigation property hostedContents from chats // 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/chatmessage-list-hostedcontents?view=graph-rest-1.0 func (m *ItemMessagesItemHostedContentsItemValueContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMessagesItemHostedContentsItemValueContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/chats/item_messages_item_hosted_contents_request_builder.go b/chats/item_messages_item_hosted_contents_request_builder.go index efd3dc2a537..ce7a18e8704 100644 --- a/chats/item_messages_item_hosted_contents_request_builder.go +++ b/chats/item_messages_item_hosted_contents_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemMessagesItemHostedContentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemMessagesItemHostedContentsRequestBuilderGetQueryParameters retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// ItemMessagesItemHostedContentsRequestBuilderGetQueryParameters content in a message hosted by Microsoft Teams - for example, images or code snippets. type ItemMessagesItemHostedContentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemMessagesItemHostedContentsRequestBuilder(rawUrl string, requestAdapt func (m *ItemMessagesItemHostedContentsRequestBuilder) Count()(*ItemMessagesItemHostedContentsCountRequestBuilder) { return NewItemMessagesItemHostedContentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// Get content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a ChatMessageHostedContentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0 func (m *ItemMessagesItemHostedContentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMessagesItemHostedContentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemMessagesItemHostedContentsRequestBuilder) Post(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentable), nil } -// ToGetRequestInformation retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// ToGetRequestInformation content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a *RequestInformation when successful func (m *ItemMessagesItemHostedContentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMessagesItemHostedContentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/chats/item_messages_item_replies_chat_message_item_request_builder.go b/chats/item_messages_item_replies_chat_message_item_request_builder.go index a763d0561d2..f339d29ff69 100644 --- a/chats/item_messages_item_replies_chat_message_item_request_builder.go +++ b/chats/item_messages_item_replies_chat_message_item_request_builder.go @@ -18,7 +18,7 @@ type ItemMessagesItemRepliesChatMessageItemRequestBuilderDeleteRequestConfigurat // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemMessagesItemRepliesChatMessageItemRequestBuilderGetQueryParameters retrieve a single message or a message reply in a channel or a chat. +// ItemMessagesItemRepliesChatMessageItemRequestBuilderGetQueryParameters replies for a specified message. Supports $expand for channel messages. type ItemMessagesItemRepliesChatMessageItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemMessagesItemRepliesChatMessageItemRequestBuilder) Delete(ctx contex } return nil } -// Get retrieve a single message or a message reply in a channel or a chat. +// Get replies for a specified message. Supports $expand for channel messages. // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-get?view=graph-rest-1.0 func (m *ItemMessagesItemRepliesChatMessageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMessagesItemRepliesChatMessageItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -139,7 +136,7 @@ func (m *ItemMessagesItemRepliesChatMessageItemRequestBuilder) ToDeleteRequestIn requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a single message or a message reply in a channel or a chat. +// ToGetRequestInformation replies for a specified message. Supports $expand for channel messages. // returns a *RequestInformation when successful func (m *ItemMessagesItemRepliesChatMessageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMessagesItemRepliesChatMessageItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/chats/item_messages_item_replies_delta_request_builder.go b/chats/item_messages_item_replies_delta_request_builder.go index 12a16efa77d..ab60b438123 100644 --- a/chats/item_messages_item_replies_delta_request_builder.go +++ b/chats/item_messages_item_replies_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemMessagesItemRepliesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemMessagesItemRepliesDeltaRequestBuilderGetQueryParameters invoke function delta +// ItemMessagesItemRepliesDeltaRequestBuilderGetQueryParameters retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. type ItemMessagesItemRepliesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewItemMessagesItemRepliesDeltaRequestBuilder(rawUrl string, requestAdapter urlParams["request-raw-url"] = rawUrl return NewItemMessagesItemRepliesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemMessagesItemRepliesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-beta func (m *ItemMessagesItemRepliesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMessagesItemRepliesDeltaRequestBuilderGetRequestConfiguration)(ItemMessagesItemRepliesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ItemMessagesItemRepliesDeltaRequestBuilder) Get(ctx context.Context, re } return res.(ItemMessagesItemRepliesDeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // returns a ItemMessagesItemRepliesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-beta func (m *ItemMessagesItemRepliesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemMessagesItemRepliesDeltaRequestBuilderGetRequestConfiguration)(ItemMessagesItemRepliesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ItemMessagesItemRepliesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx c } return res.(ItemMessagesItemRepliesDeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // returns a *RequestInformation when successful func (m *ItemMessagesItemRepliesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMessagesItemRepliesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/chats/item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/chats/item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index 5b09b63507d..cfb3945d210 100644 --- a/chats/item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/chats/item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -18,7 +18,7 @@ type ItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters retrieve the properties and relationships of chatMessageHostedContent object. +// ItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters content in a message hosted by Microsoft Teams - for example, images or code snippets. type ItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *ItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRe } return nil } -// Get retrieve the properties and relationships of chatMessageHostedContent object. +// Get content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a ChatMessageHostedContentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessagehostedcontent-get?view=graph-rest-1.0 func (m *ItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *ItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of chatMessageHostedContent object. +// ToGetRequestInformation content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a *RequestInformation when successful func (m *ItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/chats/item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go b/chats/item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go index 544f834998c..e5d54a9e9e5 100644 --- a/chats/item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go +++ b/chats/item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go @@ -40,9 +40,6 @@ func NewItemMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder( // Get get media content for the navigation property hostedContents from chats // 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/chatmessage-list-hostedcontents?view=graph-rest-1.0 func (m *ItemMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/chats/item_messages_item_replies_item_hosted_contents_request_builder.go b/chats/item_messages_item_replies_item_hosted_contents_request_builder.go index 41ea722a163..d158054ad7e 100644 --- a/chats/item_messages_item_replies_item_hosted_contents_request_builder.go +++ b/chats/item_messages_item_replies_item_hosted_contents_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemMessagesItemRepliesItemHostedContentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemMessagesItemRepliesItemHostedContentsRequestBuilderGetQueryParameters retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// ItemMessagesItemRepliesItemHostedContentsRequestBuilderGetQueryParameters content in a message hosted by Microsoft Teams - for example, images or code snippets. type ItemMessagesItemRepliesItemHostedContentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemMessagesItemRepliesItemHostedContentsRequestBuilder(rawUrl string, r func (m *ItemMessagesItemRepliesItemHostedContentsRequestBuilder) Count()(*ItemMessagesItemRepliesItemHostedContentsCountRequestBuilder) { return NewItemMessagesItemRepliesItemHostedContentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// Get content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a ChatMessageHostedContentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0 func (m *ItemMessagesItemRepliesItemHostedContentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMessagesItemRepliesItemHostedContentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemMessagesItemRepliesItemHostedContentsRequestBuilder) Post(ctx conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentable), nil } -// ToGetRequestInformation retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// ToGetRequestInformation content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a *RequestInformation when successful func (m *ItemMessagesItemRepliesItemHostedContentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMessagesItemRepliesItemHostedContentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/chats/item_messages_item_replies_item_soft_delete_request_builder.go b/chats/item_messages_item_replies_item_soft_delete_request_builder.go index 9e7f013f199..0b144178b4c 100644 --- a/chats/item_messages_item_replies_item_soft_delete_request_builder.go +++ b/chats/item_messages_item_replies_item_soft_delete_request_builder.go @@ -34,7 +34,7 @@ func NewItemMessagesItemRepliesItemSoftDeleteRequestBuilder(rawUrl string, reque // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-beta func (m *ItemMessagesItemRepliesItemSoftDeleteRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemMessagesItemRepliesItemSoftDeleteRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/chats/item_messages_item_replies_item_undo_soft_delete_request_builder.go b/chats/item_messages_item_replies_item_undo_soft_delete_request_builder.go index 2c7129b124a..693c8cb311e 100644 --- a/chats/item_messages_item_replies_item_undo_soft_delete_request_builder.go +++ b/chats/item_messages_item_replies_item_undo_soft_delete_request_builder.go @@ -34,7 +34,7 @@ func NewItemMessagesItemRepliesItemUndoSoftDeleteRequestBuilder(rawUrl string, r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-beta func (m *ItemMessagesItemRepliesItemUndoSoftDeleteRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemMessagesItemRepliesItemUndoSoftDeleteRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/chats/item_messages_item_replies_request_builder.go b/chats/item_messages_item_replies_request_builder.go index 92ede9bd76a..8b7d51e4664 100644 --- a/chats/item_messages_item_replies_request_builder.go +++ b/chats/item_messages_item_replies_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemMessagesItemRepliesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemMessagesItemRepliesRequestBuilderGetQueryParameters list all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, call get channel message. +// ItemMessagesItemRepliesRequestBuilderGetQueryParameters replies for a specified message. Supports $expand for channel messages. type ItemMessagesItemRepliesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *ItemMessagesItemRepliesRequestBuilder) Count()(*ItemMessagesItemReplies func (m *ItemMessagesItemRepliesRequestBuilder) Delta()(*ItemMessagesItemRepliesDeltaRequestBuilder) { return NewItemMessagesItemRepliesDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, call get channel message. +// Get replies for a specified message. Supports $expand for channel messages. // returns a ChatMessageCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-list-replies?view=graph-rest-1.0 func (m *ItemMessagesItemRepliesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMessagesItemRepliesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *ItemMessagesItemRepliesRequestBuilder) Get(ctx context.Context, request } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageCollectionResponseable), nil } -// Post send a new reply to a chatMessage in a specified channel. +// Post create new navigation property to replies for chats // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0 func (m *ItemMessagesItemRepliesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemMessagesItemRepliesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemMessagesItemRepliesRequestBuilder) Post(ctx context.Context, body i } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable), nil } -// ToGetRequestInformation list all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, call get channel message. +// ToGetRequestInformation replies for a specified message. Supports $expand for channel messages. // returns a *RequestInformation when successful func (m *ItemMessagesItemRepliesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMessagesItemRepliesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ItemMessagesItemRepliesRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation send a new reply to a chatMessage in a specified channel. +// ToPostRequestInformation create new navigation property to replies for chats // returns a *RequestInformation when successful func (m *ItemMessagesItemRepliesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemMessagesItemRepliesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/chats/item_messages_item_soft_delete_request_builder.go b/chats/item_messages_item_soft_delete_request_builder.go index b49faf32b9f..2ad83daa7a9 100644 --- a/chats/item_messages_item_soft_delete_request_builder.go +++ b/chats/item_messages_item_soft_delete_request_builder.go @@ -34,7 +34,7 @@ func NewItemMessagesItemSoftDeleteRequestBuilder(rawUrl string, requestAdapter i // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-beta func (m *ItemMessagesItemSoftDeleteRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemMessagesItemSoftDeleteRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/chats/item_messages_item_undo_soft_delete_request_builder.go b/chats/item_messages_item_undo_soft_delete_request_builder.go index aa02cde9915..e2af2a4b888 100644 --- a/chats/item_messages_item_undo_soft_delete_request_builder.go +++ b/chats/item_messages_item_undo_soft_delete_request_builder.go @@ -34,7 +34,7 @@ func NewItemMessagesItemUndoSoftDeleteRequestBuilder(rawUrl string, requestAdapt // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-beta func (m *ItemMessagesItemUndoSoftDeleteRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemMessagesItemUndoSoftDeleteRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/chats/item_messages_request_builder.go b/chats/item_messages_request_builder.go index 439fa58b367..c679f3d457a 100644 --- a/chats/item_messages_request_builder.go +++ b/chats/item_messages_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemMessagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemMessagesRequestBuilderGetQueryParameters retrieve the list of messages in a chat. This method supports federation. To list chat messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). +// ItemMessagesRequestBuilderGetQueryParameters a collection of all the messages in the chat. Nullable. type ItemMessagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *ItemMessagesRequestBuilder) Count()(*ItemMessagesCountRequestBuilder) { func (m *ItemMessagesRequestBuilder) Delta()(*ItemMessagesDeltaRequestBuilder) { return NewItemMessagesDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of messages in a chat. This method supports federation. To list chat messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). +// Get a collection of all the messages in the chat. Nullable. // returns a ChatMessageCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-list-messages?view=graph-rest-1.0 func (m *ItemMessagesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMessagesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *ItemMessagesRequestBuilder) Get(ctx context.Context, requestConfigurati } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageCollectionResponseable), nil } -// Post send a new chatMessage in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating a chat message. +// Post create new navigation property to messages for chats // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-1.0 func (m *ItemMessagesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemMessagesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemMessagesRequestBuilder) Post(ctx context.Context, body ie233ee762e2 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable), nil } -// ToGetRequestInformation retrieve the list of messages in a chat. This method supports federation. To list chat messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). +// ToGetRequestInformation a collection of all the messages in the chat. Nullable. // returns a *RequestInformation when successful func (m *ItemMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMessagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ItemMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation send a new chatMessage in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating a chat message. +// ToPostRequestInformation create new navigation property to messages for chats // returns a *RequestInformation when successful func (m *ItemMessagesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemMessagesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/chats/item_operations_request_builder.go b/chats/item_operations_request_builder.go index 5528eabcc50..9524b3d418d 100644 --- a/chats/item_operations_request_builder.go +++ b/chats/item_operations_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOperationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOperationsRequestBuilderGetQueryParameters list all Teams async operations that ran or are running on the specified chat. +// ItemOperationsRequestBuilderGetQueryParameters a collection of all the Teams async operations that ran or are running on the chat. Nullable. type ItemOperationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemOperationsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7dae func (m *ItemOperationsRequestBuilder) Count()(*ItemOperationsCountRequestBuilder) { return NewItemOperationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list all Teams async operations that ran or are running on the specified chat. +// Get a collection of all the Teams async operations that ran or are running on the chat. Nullable. // returns a TeamsAsyncOperationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-list-operations?view=graph-rest-1.0 func (m *ItemOperationsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOperationsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAsyncOperationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemOperationsRequestBuilder) Post(ctx context.Context, body ie233ee762 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAsyncOperationable), nil } -// ToGetRequestInformation list all Teams async operations that ran or are running on the specified chat. +// ToGetRequestInformation a collection of all the Teams async operations that ran or are running on the chat. Nullable. // returns a *RequestInformation when successful func (m *ItemOperationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOperationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/chats/item_operations_teams_async_operation_item_request_builder.go b/chats/item_operations_teams_async_operation_item_request_builder.go index 48a78d46479..4ee25db4ba7 100644 --- a/chats/item_operations_teams_async_operation_item_request_builder.go +++ b/chats/item_operations_teams_async_operation_item_request_builder.go @@ -18,7 +18,7 @@ type ItemOperationsTeamsAsyncOperationItemRequestBuilderDeleteRequestConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemOperationsTeamsAsyncOperationItemRequestBuilderGetQueryParameters get the specified Teams async operation that ran or is running on a specific resource. +// ItemOperationsTeamsAsyncOperationItemRequestBuilderGetQueryParameters a collection of all the Teams async operations that ran or are running on the chat. Nullable. type ItemOperationsTeamsAsyncOperationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemOperationsTeamsAsyncOperationItemRequestBuilder) Delete(ctx context } return nil } -// Get get the specified Teams async operation that ran or is running on a specific resource. +// Get a collection of all the Teams async operations that ran or are running on the chat. Nullable. // returns a TeamsAsyncOperationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/teamsasyncoperation-get?view=graph-rest-1.0 func (m *ItemOperationsTeamsAsyncOperationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOperationsTeamsAsyncOperationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAsyncOperationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemOperationsTeamsAsyncOperationItemRequestBuilder) ToDeleteRequestInf requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the specified Teams async operation that ran or is running on a specific resource. +// ToGetRequestInformation a collection of all the Teams async operations that ran or are running on the chat. Nullable. // returns a *RequestInformation when successful func (m *ItemOperationsTeamsAsyncOperationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOperationsTeamsAsyncOperationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/chats/item_permission_grants_request_builder.go b/chats/item_permission_grants_request_builder.go index 07548d58734..3e6b8d2ced9 100644 --- a/chats/item_permission_grants_request_builder.go +++ b/chats/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 chat. This list specifies the Microsoft Entra apps that have access to the chat, along with the corresponding resource-specific access that each app has. +// ItemPermissionGrantsRequestBuilderGetQueryParameters a collection of permissions granted to apps for the chat. type ItemPermissionGrantsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ 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 chat. This list specifies the Microsoft Entra apps that have access to the chat, along with the corresponding resource-specific access that each app has. +// Get a collection of permissions granted to apps for the chat. // returns a ResourceSpecificPermissionGrantCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-list-permissiongrants?view=graph-rest-1.0 func (m *ItemPermissionGrantsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPermissionGrantsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ResourceSpecificPermissionGrantCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemPermissionGrantsRequestBuilder) Post(ctx context.Context, body ie23 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ResourceSpecificPermissionGrantable), nil } -// ToGetRequestInformation list all resource-specific permission grants on the chat. This list specifies the Microsoft Entra apps that have access to the chat, along with the corresponding resource-specific access that each app has. +// ToGetRequestInformation a collection of permissions granted to apps for the chat. // 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/chats/item_pinned_messages_pinned_chat_message_info_item_request_builder.go b/chats/item_pinned_messages_pinned_chat_message_info_item_request_builder.go index 518daaa1b52..3b7ee6cfc66 100644 --- a/chats/item_pinned_messages_pinned_chat_message_info_item_request_builder.go +++ b/chats/item_pinned_messages_pinned_chat_message_info_item_request_builder.go @@ -54,11 +54,8 @@ func NewItemPinnedMessagesPinnedChatMessageInfoItemRequestBuilder(rawUrl string, urlParams["request-raw-url"] = rawUrl return NewItemPinnedMessagesPinnedChatMessageInfoItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete unpin a message from a chat. +// Delete delete navigation property pinnedMessages for chats // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-delete-pinnedmessages?view=graph-rest-1.0 func (m *ItemPinnedMessagesPinnedChatMessageInfoItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemPinnedMessagesPinnedChatMessageInfoItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -118,7 +115,7 @@ func (m *ItemPinnedMessagesPinnedChatMessageInfoItemRequestBuilder) Patch(ctx co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PinnedChatMessageInfoable), nil } -// ToDeleteRequestInformation unpin a message from a chat. +// ToDeleteRequestInformation delete navigation property pinnedMessages for chats // returns a *RequestInformation when successful func (m *ItemPinnedMessagesPinnedChatMessageInfoItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemPinnedMessagesPinnedChatMessageInfoItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/chats/item_pinned_messages_request_builder.go b/chats/item_pinned_messages_request_builder.go index 506aefb8c9c..6e196f76c4d 100644 --- a/chats/item_pinned_messages_request_builder.go +++ b/chats/item_pinned_messages_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemPinnedMessagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemPinnedMessagesRequestBuilderGetQueryParameters get a list of pinnedChatMessages in a chat. +// ItemPinnedMessagesRequestBuilderGetQueryParameters a collection of all the pinned messages in the chat. Nullable. type ItemPinnedMessagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemPinnedMessagesRequestBuilder(rawUrl string, requestAdapter i2ae4187f func (m *ItemPinnedMessagesRequestBuilder) Count()(*ItemPinnedMessagesCountRequestBuilder) { return NewItemPinnedMessagesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of pinnedChatMessages in a chat. +// Get a collection of all the pinned messages in the chat. Nullable. // returns a PinnedChatMessageInfoCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-list-pinnedmessages?view=graph-rest-1.0 func (m *ItemPinnedMessagesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPinnedMessagesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PinnedChatMessageInfoCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemPinnedMessagesRequestBuilder) Get(ctx context.Context, requestConfi } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PinnedChatMessageInfoCollectionResponseable), nil } -// Post pin a chat message in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can pin a chat message. +// Post create new navigation property to pinnedMessages for chats // returns a PinnedChatMessageInfoable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-post-pinnedmessages?view=graph-rest-1.0 func (m *ItemPinnedMessagesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PinnedChatMessageInfoable, requestConfiguration *ItemPinnedMessagesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PinnedChatMessageInfoable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemPinnedMessagesRequestBuilder) Post(ctx context.Context, body ie233e } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PinnedChatMessageInfoable), nil } -// ToGetRequestInformation get a list of pinnedChatMessages in a chat. +// ToGetRequestInformation a collection of all the pinned messages in the chat. Nullable. // returns a *RequestInformation when successful func (m *ItemPinnedMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPinnedMessagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemPinnedMessagesRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation pin a chat message in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can pin a chat message. +// ToPostRequestInformation create new navigation property to pinnedMessages for chats // returns a *RequestInformation when successful func (m *ItemPinnedMessagesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PinnedChatMessageInfoable, requestConfiguration *ItemPinnedMessagesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/chats/item_remove_all_access_for_user_request_builder.go b/chats/item_remove_all_access_for_user_request_builder.go index f90963be452..b4e1d55f866 100644 --- a/chats/item_remove_all_access_for_user_request_builder.go +++ b/chats/item_remove_all_access_for_user_request_builder.go @@ -34,7 +34,7 @@ func NewItemRemoveAllAccessForUserRequestBuilder(rawUrl string, requestAdapter i // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-removeallaccessforuser?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chat-removeallaccessforuser?view=graph-rest-beta func (m *ItemRemoveAllAccessForUserRequestBuilder) Post(ctx context.Context, body ItemRemoveAllAccessForUserPostRequestBodyable, requestConfiguration *ItemRemoveAllAccessForUserRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/chats/item_send_activity_notification_request_builder.go b/chats/item_send_activity_notification_request_builder.go index a2802cc9c2c..0fce8318605 100644 --- a/chats/item_send_activity_notification_request_builder.go +++ b/chats/item_send_activity_notification_request_builder.go @@ -34,7 +34,7 @@ func NewItemSendActivityNotificationRequestBuilder(rawUrl string, requestAdapter // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-sendactivitynotification?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chat-sendactivitynotification?view=graph-rest-beta func (m *ItemSendActivityNotificationRequestBuilder) Post(ctx context.Context, body ItemSendActivityNotificationPostRequestBodyable, requestConfiguration *ItemSendActivityNotificationRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/chats/item_tabs_request_builder.go b/chats/item_tabs_request_builder.go index c654311ddfa..51ab2c03e1a 100644 --- a/chats/item_tabs_request_builder.go +++ b/chats/item_tabs_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTabsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTabsRequestBuilderGetQueryParameters retrieve the list of tabs in the specified chat. +// ItemTabsRequestBuilderGetQueryParameters a collection of all the tabs in the chat. Nullable. type ItemTabsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemTabsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26337 func (m *ItemTabsRequestBuilder) Count()(*ItemTabsCountRequestBuilder) { return NewItemTabsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of tabs in the specified chat. +// Get a collection of all the tabs in the chat. Nullable. // returns a TeamsTabCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-list-tabs?view=graph-rest-1.0 func (m *ItemTabsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTabsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsTabCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemTabsRequestBuilder) Get(ctx context.Context, requestConfiguration * } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsTabCollectionResponseable), nil } -// Post add (pin) a tab to the specified chat. The corresponding app must already be installed in the chat. +// Post create new navigation property to tabs for chats // returns a TeamsTabable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-post-tabs?view=graph-rest-1.0 func (m *ItemTabsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsTabable, requestConfiguration *ItemTabsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsTabable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemTabsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4b } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsTabable), nil } -// ToGetRequestInformation retrieve the list of tabs in the specified chat. +// ToGetRequestInformation a collection of all the tabs in the chat. Nullable. // returns a *RequestInformation when successful func (m *ItemTabsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTabsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemTabsRequestBuilder) ToGetRequestInformation(ctx context.Context, re requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add (pin) a tab to the specified chat. The corresponding app must already be installed in the chat. +// ToPostRequestInformation create new navigation property to tabs for chats // returns a *RequestInformation when successful func (m *ItemTabsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsTabable, requestConfiguration *ItemTabsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/chats/item_tabs_teams_tab_item_request_builder.go b/chats/item_tabs_teams_tab_item_request_builder.go index 52e3f0361a3..380a431bec8 100644 --- a/chats/item_tabs_teams_tab_item_request_builder.go +++ b/chats/item_tabs_teams_tab_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTabsTeamsTabItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTabsTeamsTabItemRequestBuilderGetQueryParameters retrieve the properties and relationships of the specified tab in a chat. +// ItemTabsTeamsTabItemRequestBuilderGetQueryParameters a collection of all the tabs in the chat. Nullable. type ItemTabsTeamsTabItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemTabsTeamsTabItemRequestBuilder(rawUrl string, requestAdapter i2ae418 urlParams["request-raw-url"] = rawUrl return NewItemTabsTeamsTabItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove (unpin) a tab from the specified chat. +// Delete delete navigation property tabs for chats // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-delete-tabs?view=graph-rest-1.0 func (m *ItemTabsTeamsTabItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTabsTeamsTabItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemTabsTeamsTabItemRequestBuilder) Delete(ctx context.Context, request } return nil } -// Get retrieve the properties and relationships of the specified tab in a chat. +// Get a collection of all the tabs in the chat. Nullable. // returns a TeamsTabable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-get-tabs?view=graph-rest-1.0 func (m *ItemTabsTeamsTabItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTabsTeamsTabItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsTabable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ItemTabsTeamsTabItemRequestBuilder) Get(ctx context.Context, requestCon } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsTabable), nil } -// Patch update the properties of the specified tab in a chat. This API can be used to configure the content of the tab. +// Patch update the navigation property tabs in chats // returns a TeamsTabable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-patch-tabs?view=graph-rest-1.0 func (m *ItemTabsTeamsTabItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsTabable, requestConfiguration *ItemTabsTeamsTabItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsTabable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -124,7 +115,7 @@ func (m *ItemTabsTeamsTabItemRequestBuilder) Patch(ctx context.Context, body ie2 func (m *ItemTabsTeamsTabItemRequestBuilder) TeamsApp()(*ItemTabsItemTeamsAppRequestBuilder) { return NewItemTabsItemTeamsAppRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation remove (unpin) a tab from the specified chat. +// ToDeleteRequestInformation delete navigation property tabs for chats // returns a *RequestInformation when successful func (m *ItemTabsTeamsTabItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTabsTeamsTabItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -135,7 +126,7 @@ func (m *ItemTabsTeamsTabItemRequestBuilder) ToDeleteRequestInformation(ctx cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of the specified tab in a chat. +// ToGetRequestInformation a collection of all the tabs in the chat. Nullable. // returns a *RequestInformation when successful func (m *ItemTabsTeamsTabItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTabsTeamsTabItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -149,7 +140,7 @@ func (m *ItemTabsTeamsTabItemRequestBuilder) ToGetRequestInformation(ctx context requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of the specified tab in a chat. This API can be used to configure the content of the tab. +// ToPatchRequestInformation update the navigation property tabs in chats // returns a *RequestInformation when successful func (m *ItemTabsTeamsTabItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsTabable, requestConfiguration *ItemTabsTeamsTabItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/chats/item_unhide_for_user_request_builder.go b/chats/item_unhide_for_user_request_builder.go index 4f2563711ee..e95e97c93cf 100644 --- a/chats/item_unhide_for_user_request_builder.go +++ b/chats/item_unhide_for_user_request_builder.go @@ -34,7 +34,7 @@ func NewItemUnhideForUserRequestBuilder(rawUrl string, requestAdapter i2ae4187f7 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-unhideforuser?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chat-unhideforuser?view=graph-rest-beta func (m *ItemUnhideForUserRequestBuilder) Post(ctx context.Context, body ItemUnhideForUserPostRequestBodyable, requestConfiguration *ItemUnhideForUserRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/communications/call_records_call_record_item_request_builder.go b/communications/call_records_call_record_item_request_builder.go index 8e929eb1d0a..d28b3adf546 100644 --- a/communications/call_records_call_record_item_request_builder.go +++ b/communications/call_records_call_record_item_request_builder.go @@ -18,7 +18,7 @@ type CallRecordsCallRecordItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// CallRecordsCallRecordItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a callRecord object. There are two ways to get the id of a callRecord: +// CallRecordsCallRecordItemRequestBuilderGetQueryParameters get callRecords from communications type CallRecordsCallRecordItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *CallRecordsCallRecordItemRequestBuilder) Delete(ctx context.Context, re } return nil } -// Get retrieve the properties and relationships of a callRecord object. There are two ways to get the id of a callRecord: +// Get get callRecords from communications // returns a CallRecordable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/callrecords-callrecord-get?view=graph-rest-1.0 func (m *CallRecordsCallRecordItemRequestBuilder) Get(ctx context.Context, requestConfiguration *CallRecordsCallRecordItemRequestBuilderGetRequestConfiguration)(iabe42a55de44a0960e4cc683a105812061defb936fe89e1bc4ab83c390c3839f.CallRecordable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -139,7 +136,7 @@ func (m *CallRecordsCallRecordItemRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a callRecord object. There are two ways to get the id of a callRecord: +// ToGetRequestInformation get callRecords from communications // returns a *RequestInformation when successful func (m *CallRecordsCallRecordItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CallRecordsCallRecordItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/communications/call_records_item_participants_v2_request_builder.go b/communications/call_records_item_participants_v2_request_builder.go index f7a0987695b..dab503a42f8 100644 --- a/communications/call_records_item_participants_v2_request_builder.go +++ b/communications/call_records_item_participants_v2_request_builder.go @@ -11,7 +11,7 @@ import ( type CallRecordsItemParticipants_v2RequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// CallRecordsItemParticipants_v2RequestBuilderGetQueryParameters get the list of participant objects associated with a callRecord. +// CallRecordsItemParticipants_v2RequestBuilderGetQueryParameters list of distinct participants in the call. type CallRecordsItemParticipants_v2RequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewCallRecordsItemParticipants_v2RequestBuilder(rawUrl string, requestAdapt func (m *CallRecordsItemParticipants_v2RequestBuilder) Count()(*CallRecordsItemParticipants_v2CountRequestBuilder) { return NewCallRecordsItemParticipants_v2CountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of participant objects associated with a callRecord. +// Get list of distinct participants in the call. // returns a ParticipantCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/callrecords-callrecord-list-participants_v2?view=graph-rest-1.0 func (m *CallRecordsItemParticipants_v2RequestBuilder) Get(ctx context.Context, requestConfiguration *CallRecordsItemParticipants_v2RequestBuilderGetRequestConfiguration)(iabe42a55de44a0960e4cc683a105812061defb936fe89e1bc4ab83c390c3839f.ParticipantCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *CallRecordsItemParticipants_v2RequestBuilder) Post(ctx context.Context, } return res.(iabe42a55de44a0960e4cc683a105812061defb936fe89e1bc4ab83c390c3839f.Participantable), nil } -// ToGetRequestInformation get the list of participant objects associated with a callRecord. +// ToGetRequestInformation list of distinct participants in the call. // returns a *RequestInformation when successful func (m *CallRecordsItemParticipants_v2RequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CallRecordsItemParticipants_v2RequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/communications/call_records_item_sessions_request_builder.go b/communications/call_records_item_sessions_request_builder.go index 2637e43ad7f..287643de249 100644 --- a/communications/call_records_item_sessions_request_builder.go +++ b/communications/call_records_item_sessions_request_builder.go @@ -11,7 +11,7 @@ import ( type CallRecordsItemSessionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// CallRecordsItemSessionsRequestBuilderGetQueryParameters retrieve the list of sessions associated with a callRecord object. +// CallRecordsItemSessionsRequestBuilderGetQueryParameters list of sessions involved in the call. Peer-to-peer calls typically only have one session, whereas group calls typically have at least one session per participant. Read-only. Nullable. type CallRecordsItemSessionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewCallRecordsItemSessionsRequestBuilder(rawUrl string, requestAdapter i2ae func (m *CallRecordsItemSessionsRequestBuilder) Count()(*CallRecordsItemSessionsCountRequestBuilder) { return NewCallRecordsItemSessionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of sessions associated with a callRecord object. +// Get list of sessions involved in the call. Peer-to-peer calls typically only have one session, whereas group calls typically have at least one session per participant. Read-only. Nullable. // returns a SessionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/callrecords-callrecord-list-sessions?view=graph-rest-1.0 func (m *CallRecordsItemSessionsRequestBuilder) Get(ctx context.Context, requestConfiguration *CallRecordsItemSessionsRequestBuilderGetRequestConfiguration)(iabe42a55de44a0960e4cc683a105812061defb936fe89e1bc4ab83c390c3839f.SessionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *CallRecordsItemSessionsRequestBuilder) Post(ctx context.Context, body i } return res.(iabe42a55de44a0960e4cc683a105812061defb936fe89e1bc4ab83c390c3839f.Sessionable), nil } -// ToGetRequestInformation retrieve the list of sessions associated with a callRecord object. +// ToGetRequestInformation list of sessions involved in the call. Peer-to-peer calls typically only have one session, whereas group calls typically have at least one session per participant. Read-only. Nullable. // returns a *RequestInformation when successful func (m *CallRecordsItemSessionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CallRecordsItemSessionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/communications/call_records_request_builder.go b/communications/call_records_request_builder.go index 949825b0fda..4e7e7554506 100644 --- a/communications/call_records_request_builder.go +++ b/communications/call_records_request_builder.go @@ -12,7 +12,7 @@ import ( type CallRecordsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// CallRecordsRequestBuilderGetQueryParameters get the list of callRecord objects and their properties. The results can be optionally filtered using the $filter query parameter on the startDateTime and participant id properties. Note that the listed call records don't include expandable relationships such as sessions and participants_v2. You can expand these relationships using Get callRecord for a specific record. +// CallRecordsRequestBuilderGetQueryParameters get callRecords from communications type CallRecordsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -77,12 +77,9 @@ func NewCallRecordsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 func (m *CallRecordsRequestBuilder) Count()(*CallRecordsCountRequestBuilder) { return NewCallRecordsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of callRecord objects and their properties. The results can be optionally filtered using the $filter query parameter on the startDateTime and participant id properties. Note that the listed call records don't include expandable relationships such as sessions and participants_v2. You can expand these relationships using Get callRecord for a specific record. +// Get get callRecords from communications // returns a CallRecordCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/callrecords-cloudcommunications-list-callrecords?view=graph-rest-1.0 func (m *CallRecordsRequestBuilder) Get(ctx context.Context, requestConfiguration *CallRecordsRequestBuilderGetRequestConfiguration)(iabe42a55de44a0960e4cc683a105812061defb936fe89e1bc4ab83c390c3839f.CallRecordCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -145,7 +142,7 @@ func (m *CallRecordsRequestBuilder) Post(ctx context.Context, body iabe42a55de44 } return res.(iabe42a55de44a0960e4cc683a105812061defb936fe89e1bc4ab83c390c3839f.CallRecordable), nil } -// ToGetRequestInformation get the list of callRecord objects and their properties. The results can be optionally filtered using the $filter query parameter on the startDateTime and participant id properties. Note that the listed call records don't include expandable relationships such as sessions and participants_v2. You can expand these relationships using Get callRecord for a specific record. +// ToGetRequestInformation get callRecords from communications // returns a *RequestInformation when successful func (m *CallRecordsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CallRecordsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/communications/calls_call_item_request_builder.go b/communications/calls_call_item_request_builder.go index d486463249a..816217c446d 100644 --- a/communications/calls_call_item_request_builder.go +++ b/communications/calls_call_item_request_builder.go @@ -18,7 +18,7 @@ type CallsCallItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// CallsCallItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a call object. +// CallsCallItemRequestBuilderGetQueryParameters get calls from communications type CallsCallItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -84,11 +84,8 @@ func NewCallsCallItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee func (m *CallsCallItemRequestBuilder) ContentSharingSessions()(*CallsItemContentSharingSessionsRequestBuilder) { return NewCallsItemContentSharingSessionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Delete delete or hang up an active call. For group calls, this will only delete your call leg and the underlying group call will still continue. +// Delete delete navigation property calls for communications // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/call-delete?view=graph-rest-1.0 func (m *CallsCallItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *CallsCallItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -103,12 +100,9 @@ func (m *CallsCallItemRequestBuilder) Delete(ctx context.Context, requestConfigu } return nil } -// Get retrieve the properties and relationships of a call object. +// Get get calls from communications // returns a Callable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/call-get?view=graph-rest-1.0 func (m *CallsCallItemRequestBuilder) Get(ctx context.Context, requestConfiguration *CallsCallItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Callable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -201,7 +195,7 @@ func (m *CallsCallItemRequestBuilder) SendDtmfTones()(*CallsItemSendDtmfTonesReq func (m *CallsCallItemRequestBuilder) SubscribeToTone()(*CallsItemSubscribeToToneRequestBuilder) { return NewCallsItemSubscribeToToneRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete or hang up an active call. For group calls, this will only delete your call leg and the underlying group call will still continue. +// ToDeleteRequestInformation delete navigation property calls for communications // returns a *RequestInformation when successful func (m *CallsCallItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *CallsCallItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -212,7 +206,7 @@ func (m *CallsCallItemRequestBuilder) ToDeleteRequestInformation(ctx context.Con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a call object. +// ToGetRequestInformation get calls from communications // returns a *RequestInformation when successful func (m *CallsCallItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CallsCallItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/communications/calls_item_add_large_gallery_view_request_builder.go b/communications/calls_item_add_large_gallery_view_request_builder.go index 2c66307be12..59cfcb7d12f 100644 --- a/communications/calls_item_add_large_gallery_view_request_builder.go +++ b/communications/calls_item_add_large_gallery_view_request_builder.go @@ -36,7 +36,7 @@ func NewCallsItemAddLargeGalleryViewRequestBuilder(rawUrl string, requestAdapter // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/call-addlargegalleryview?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/call-addlargegalleryview?view=graph-rest-beta func (m *CallsItemAddLargeGalleryViewRequestBuilder) Post(ctx context.Context, body CallsItemAddLargeGalleryViewPostRequestBodyable, requestConfiguration *CallsItemAddLargeGalleryViewRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AddLargeGalleryViewOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/communications/calls_item_answer_request_builder.go b/communications/calls_item_answer_request_builder.go index e64b50c5946..8e96244d650 100644 --- a/communications/calls_item_answer_request_builder.go +++ b/communications/calls_item_answer_request_builder.go @@ -34,7 +34,7 @@ func NewCallsItemAnswerRequestBuilder(rawUrl string, requestAdapter i2ae4187f7da // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/call-answer?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/call-answer?view=graph-rest-beta func (m *CallsItemAnswerRequestBuilder) Post(ctx context.Context, body CallsItemAnswerPostRequestBodyable, requestConfiguration *CallsItemAnswerRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/communications/calls_item_audio_routing_groups_audio_routing_group_item_request_builder.go b/communications/calls_item_audio_routing_groups_audio_routing_group_item_request_builder.go index a6df9c26faa..61f79e3b92c 100644 --- a/communications/calls_item_audio_routing_groups_audio_routing_group_item_request_builder.go +++ b/communications/calls_item_audio_routing_groups_audio_routing_group_item_request_builder.go @@ -18,7 +18,7 @@ type CallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilderDeleteRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// CallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an audioRoutingGroup object. +// CallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilderGetQueryParameters get audioRoutingGroups from communications type CallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewCallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilder(rawUrl st urlParams["request-raw-url"] = rawUrl return NewCallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete the specified audioRoutingGroup. +// Delete delete navigation property audioRoutingGroups for communications // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/audioroutinggroup-delete?view=graph-rest-1.0 func (m *CallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *CallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *CallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilder) Delete( } return nil } -// Get retrieve the properties and relationships of an audioRoutingGroup object. +// Get get audioRoutingGroups from communications // returns a AudioRoutingGroupable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/audioroutinggroup-get?view=graph-rest-1.0 func (m *CallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilder) Get(ctx context.Context, requestConfiguration *CallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AudioRoutingGroupable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *CallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilder) Get(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AudioRoutingGroupable), nil } -// Patch modify sources and receivers of an audioRoutingGroup. +// Patch update the navigation property audioRoutingGroups in communications // returns a AudioRoutingGroupable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/audioroutinggroup-update?view=graph-rest-1.0 func (m *CallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AudioRoutingGroupable, requestConfiguration *CallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AudioRoutingGroupable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *CallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilder) Patch(c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AudioRoutingGroupable), nil } -// ToDeleteRequestInformation delete the specified audioRoutingGroup. +// ToDeleteRequestInformation delete navigation property audioRoutingGroups for communications // returns a *RequestInformation when successful func (m *CallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *CallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *CallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilder) ToDelet requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of an audioRoutingGroup object. +// ToGetRequestInformation get audioRoutingGroups from communications // returns a *RequestInformation when successful func (m *CallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *CallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilder) ToGetRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation modify sources and receivers of an audioRoutingGroup. +// ToPatchRequestInformation update the navigation property audioRoutingGroups in communications // returns a *RequestInformation when successful func (m *CallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AudioRoutingGroupable, requestConfiguration *CallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/communications/calls_item_audio_routing_groups_request_builder.go b/communications/calls_item_audio_routing_groups_request_builder.go index 0e20f6e2865..0f163dcfc8c 100644 --- a/communications/calls_item_audio_routing_groups_request_builder.go +++ b/communications/calls_item_audio_routing_groups_request_builder.go @@ -11,7 +11,7 @@ import ( type CallsItemAudioRoutingGroupsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// CallsItemAudioRoutingGroupsRequestBuilderGetQueryParameters retrieve a list of audioRoutingGroup objects. +// CallsItemAudioRoutingGroupsRequestBuilderGetQueryParameters get audioRoutingGroups from communications type CallsItemAudioRoutingGroupsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewCallsItemAudioRoutingGroupsRequestBuilder(rawUrl string, requestAdapter func (m *CallsItemAudioRoutingGroupsRequestBuilder) Count()(*CallsItemAudioRoutingGroupsCountRequestBuilder) { return NewCallsItemAudioRoutingGroupsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of audioRoutingGroup objects. +// Get get audioRoutingGroups from communications // returns a AudioRoutingGroupCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/call-list-audioroutinggroups?view=graph-rest-1.0 func (m *CallsItemAudioRoutingGroupsRequestBuilder) Get(ctx context.Context, requestConfiguration *CallsItemAudioRoutingGroupsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AudioRoutingGroupCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *CallsItemAudioRoutingGroupsRequestBuilder) Get(ctx context.Context, req } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AudioRoutingGroupCollectionResponseable), nil } -// Post create a new audioRoutingGroup. +// Post create new navigation property to audioRoutingGroups for communications // returns a AudioRoutingGroupable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/call-post-audioroutinggroups?view=graph-rest-1.0 func (m *CallsItemAudioRoutingGroupsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AudioRoutingGroupable, requestConfiguration *CallsItemAudioRoutingGroupsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AudioRoutingGroupable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *CallsItemAudioRoutingGroupsRequestBuilder) Post(ctx context.Context, bo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AudioRoutingGroupable), nil } -// ToGetRequestInformation retrieve a list of audioRoutingGroup objects. +// ToGetRequestInformation get audioRoutingGroups from communications // returns a *RequestInformation when successful func (m *CallsItemAudioRoutingGroupsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CallsItemAudioRoutingGroupsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *CallsItemAudioRoutingGroupsRequestBuilder) ToGetRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new audioRoutingGroup. +// ToPostRequestInformation create new navigation property to audioRoutingGroups for communications // returns a *RequestInformation when successful func (m *CallsItemAudioRoutingGroupsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AudioRoutingGroupable, requestConfiguration *CallsItemAudioRoutingGroupsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/communications/calls_item_cancel_media_processing_request_builder.go b/communications/calls_item_cancel_media_processing_request_builder.go index 4dbd8860929..ea3ee1476ba 100644 --- a/communications/calls_item_cancel_media_processing_request_builder.go +++ b/communications/calls_item_cancel_media_processing_request_builder.go @@ -36,7 +36,7 @@ func NewCallsItemCancelMediaProcessingRequestBuilder(rawUrl string, requestAdapt // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/call-cancelmediaprocessing?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/call-cancelmediaprocessing?view=graph-rest-beta func (m *CallsItemCancelMediaProcessingRequestBuilder) Post(ctx context.Context, body CallsItemCancelMediaProcessingPostRequestBodyable, requestConfiguration *CallsItemCancelMediaProcessingRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CancelMediaProcessingOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/communications/calls_item_change_screen_sharing_role_request_builder.go b/communications/calls_item_change_screen_sharing_role_request_builder.go index e949bd0a295..4e052d78159 100644 --- a/communications/calls_item_change_screen_sharing_role_request_builder.go +++ b/communications/calls_item_change_screen_sharing_role_request_builder.go @@ -34,7 +34,7 @@ func NewCallsItemChangeScreenSharingRoleRequestBuilder(rawUrl string, requestAda // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/call-changescreensharingrole?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/call-changescreensharingrole?view=graph-rest-beta func (m *CallsItemChangeScreenSharingRoleRequestBuilder) Post(ctx context.Context, body CallsItemChangeScreenSharingRolePostRequestBodyable, requestConfiguration *CallsItemChangeScreenSharingRoleRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/communications/calls_item_content_sharing_sessions_content_sharing_session_item_request_builder.go b/communications/calls_item_content_sharing_sessions_content_sharing_session_item_request_builder.go index c4a3a4c8e6f..65406aee552 100644 --- a/communications/calls_item_content_sharing_sessions_content_sharing_session_item_request_builder.go +++ b/communications/calls_item_content_sharing_sessions_content_sharing_session_item_request_builder.go @@ -18,7 +18,7 @@ type CallsItemContentSharingSessionsContentSharingSessionItemRequestBuilderDelet // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// CallsItemContentSharingSessionsContentSharingSessionItemRequestBuilderGetQueryParameters retrieve the properties of a contentSharingSession object. +// CallsItemContentSharingSessionsContentSharingSessionItemRequestBuilderGetQueryParameters get contentSharingSessions from communications type CallsItemContentSharingSessionsContentSharingSessionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *CallsItemContentSharingSessionsContentSharingSessionItemRequestBuilder) } return nil } -// Get retrieve the properties of a contentSharingSession object. +// Get get contentSharingSessions from communications // returns a ContentSharingSessionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/contentsharingsession-get?view=graph-rest-1.0 func (m *CallsItemContentSharingSessionsContentSharingSessionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *CallsItemContentSharingSessionsContentSharingSessionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContentSharingSessionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *CallsItemContentSharingSessionsContentSharingSessionItemRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties of a contentSharingSession object. +// ToGetRequestInformation get contentSharingSessions from communications // returns a *RequestInformation when successful func (m *CallsItemContentSharingSessionsContentSharingSessionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CallsItemContentSharingSessionsContentSharingSessionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/communications/calls_item_content_sharing_sessions_request_builder.go b/communications/calls_item_content_sharing_sessions_request_builder.go index 147e31d805c..e9c9e807e0f 100644 --- a/communications/calls_item_content_sharing_sessions_request_builder.go +++ b/communications/calls_item_content_sharing_sessions_request_builder.go @@ -11,7 +11,7 @@ import ( type CallsItemContentSharingSessionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// CallsItemContentSharingSessionsRequestBuilderGetQueryParameters retrieve a list of contentSharingSession objects in a call. +// CallsItemContentSharingSessionsRequestBuilderGetQueryParameters get contentSharingSessions from communications type CallsItemContentSharingSessionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewCallsItemContentSharingSessionsRequestBuilder(rawUrl string, requestAdap func (m *CallsItemContentSharingSessionsRequestBuilder) Count()(*CallsItemContentSharingSessionsCountRequestBuilder) { return NewCallsItemContentSharingSessionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of contentSharingSession objects in a call. +// Get get contentSharingSessions from communications // returns a ContentSharingSessionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/call-list-contentsharingsessions?view=graph-rest-1.0 func (m *CallsItemContentSharingSessionsRequestBuilder) Get(ctx context.Context, requestConfiguration *CallsItemContentSharingSessionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContentSharingSessionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *CallsItemContentSharingSessionsRequestBuilder) Post(ctx context.Context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContentSharingSessionable), nil } -// ToGetRequestInformation retrieve a list of contentSharingSession objects in a call. +// ToGetRequestInformation get contentSharingSessions from communications // returns a *RequestInformation when successful func (m *CallsItemContentSharingSessionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CallsItemContentSharingSessionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/communications/calls_item_keep_alive_request_builder.go b/communications/calls_item_keep_alive_request_builder.go index 81a51f2e5f0..d0b18957595 100644 --- a/communications/calls_item_keep_alive_request_builder.go +++ b/communications/calls_item_keep_alive_request_builder.go @@ -34,7 +34,7 @@ func NewCallsItemKeepAliveRequestBuilder(rawUrl string, requestAdapter i2ae4187f // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/call-keepalive?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/call-keepalive?view=graph-rest-beta func (m *CallsItemKeepAliveRequestBuilder) Post(ctx context.Context, requestConfiguration *CallsItemKeepAliveRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/communications/calls_item_mute_request_builder.go b/communications/calls_item_mute_request_builder.go index 82dd6ebc1b4..c0e3ee312e4 100644 --- a/communications/calls_item_mute_request_builder.go +++ b/communications/calls_item_mute_request_builder.go @@ -36,7 +36,7 @@ func NewCallsItemMuteRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/call-mute?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/call-mute?view=graph-rest-beta func (m *CallsItemMuteRequestBuilder) Post(ctx context.Context, body CallsItemMutePostRequestBodyable, requestConfiguration *CallsItemMuteRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MuteParticipantOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/communications/calls_item_operations_comms_operation_item_request_builder.go b/communications/calls_item_operations_comms_operation_item_request_builder.go index 7582c513df8..6e7669789de 100644 --- a/communications/calls_item_operations_comms_operation_item_request_builder.go +++ b/communications/calls_item_operations_comms_operation_item_request_builder.go @@ -18,7 +18,7 @@ type CallsItemOperationsCommsOperationItemRequestBuilderDeleteRequestConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// CallsItemOperationsCommsOperationItemRequestBuilderGetQueryParameters get the status of an operation that adds the large gallery view to a call. +// CallsItemOperationsCommsOperationItemRequestBuilderGetQueryParameters get operations from communications type CallsItemOperationsCommsOperationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *CallsItemOperationsCommsOperationItemRequestBuilder) Delete(ctx context } return nil } -// Get get the status of an operation that adds the large gallery view to a call. +// Get get operations from communications // returns a CommsOperationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/addlargegalleryviewoperation-get?view=graph-rest-1.0 func (m *CallsItemOperationsCommsOperationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *CallsItemOperationsCommsOperationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CommsOperationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *CallsItemOperationsCommsOperationItemRequestBuilder) ToDeleteRequestInf requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the status of an operation that adds the large gallery view to a call. +// ToGetRequestInformation get operations from communications // returns a *RequestInformation when successful func (m *CallsItemOperationsCommsOperationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CallsItemOperationsCommsOperationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/communications/calls_item_operations_request_builder.go b/communications/calls_item_operations_request_builder.go index d1c10a011d9..4280fc28ca0 100644 --- a/communications/calls_item_operations_request_builder.go +++ b/communications/calls_item_operations_request_builder.go @@ -11,7 +11,7 @@ import ( type CallsItemOperationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// CallsItemOperationsRequestBuilderGetQueryParameters get the status of an operation that adds the large gallery view to a call. +// CallsItemOperationsRequestBuilderGetQueryParameters get operations from communications type CallsItemOperationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewCallsItemOperationsRequestBuilder(rawUrl string, requestAdapter i2ae4187 func (m *CallsItemOperationsRequestBuilder) Count()(*CallsItemOperationsCountRequestBuilder) { return NewCallsItemOperationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the status of an operation that adds the large gallery view to a call. +// Get get operations from communications // returns a CommsOperationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *CallsItemOperationsRequestBuilder) Get(ctx context.Context, requestConfiguration *CallsItemOperationsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CommsOperationCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *CallsItemOperationsRequestBuilder) Post(ctx context.Context, body ie233 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CommsOperationable), nil } -// ToGetRequestInformation get the status of an operation that adds the large gallery view to a call. +// ToGetRequestInformation get operations from communications // returns a *RequestInformation when successful func (m *CallsItemOperationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CallsItemOperationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/communications/calls_item_participants_invite_request_builder.go b/communications/calls_item_participants_invite_request_builder.go index b3fbfcfb4cd..705d331d1f6 100644 --- a/communications/calls_item_participants_invite_request_builder.go +++ b/communications/calls_item_participants_invite_request_builder.go @@ -31,12 +31,12 @@ func NewCallsItemParticipantsInviteRequestBuilder(rawUrl string, requestAdapter urlParams["request-raw-url"] = rawUrl return NewCallsItemParticipantsInviteRequestBuilderInternal(urlParams, requestAdapter) } -// Post delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. +// Post invite participants to the active call. For more information about how to handle operations, see commsOperation. // returns a InviteParticipantsOperationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/participant-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-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 delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. +// ToPostRequestInformation invite participants to the active call. For more information about how to handle operations, see commsOperation. // returns a *RequestInformation when successful func (m *CallsItemParticipantsInviteRequestBuilder) ToPostRequestInformation(ctx context.Context, body CallsItemParticipantsInvitePostRequestBodyable, requestConfiguration *CallsItemParticipantsInviteRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/communications/calls_item_participants_item_mute_request_builder.go b/communications/calls_item_participants_item_mute_request_builder.go index 2e849524a7d..aa0d2aceff4 100644 --- a/communications/calls_item_participants_item_mute_request_builder.go +++ b/communications/calls_item_participants_item_mute_request_builder.go @@ -36,7 +36,7 @@ func NewCallsItemParticipantsItemMuteRequestBuilder(rawUrl string, requestAdapte // returns a ODataError error 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-mute?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/participant-mute?view=graph-rest-beta func (m *CallsItemParticipantsItemMuteRequestBuilder) Post(ctx context.Context, body CallsItemParticipantsItemMutePostRequestBodyable, requestConfiguration *CallsItemParticipantsItemMuteRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MuteParticipantOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/communications/calls_item_participants_item_start_hold_music_request_builder.go b/communications/calls_item_participants_item_start_hold_music_request_builder.go index 83013b7f299..64d16e3f0ca 100644 --- a/communications/calls_item_participants_item_start_hold_music_request_builder.go +++ b/communications/calls_item_participants_item_start_hold_music_request_builder.go @@ -36,7 +36,7 @@ func NewCallsItemParticipantsItemStartHoldMusicRequestBuilder(rawUrl string, req // returns a ODataError error 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-startholdmusic?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/participant-startholdmusic?view=graph-rest-beta func (m *CallsItemParticipantsItemStartHoldMusicRequestBuilder) Post(ctx context.Context, body CallsItemParticipantsItemStartHoldMusicPostRequestBodyable, requestConfiguration *CallsItemParticipantsItemStartHoldMusicRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StartHoldMusicOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/communications/calls_item_participants_item_stop_hold_music_request_builder.go b/communications/calls_item_participants_item_stop_hold_music_request_builder.go index 126e2dcb6df..be195e11395 100644 --- a/communications/calls_item_participants_item_stop_hold_music_request_builder.go +++ b/communications/calls_item_participants_item_stop_hold_music_request_builder.go @@ -36,7 +36,7 @@ func NewCallsItemParticipantsItemStopHoldMusicRequestBuilder(rawUrl string, requ // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/participant-stopholdmusic?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/participant-stopholdmusic?view=graph-rest-beta func (m *CallsItemParticipantsItemStopHoldMusicRequestBuilder) Post(ctx context.Context, body CallsItemParticipantsItemStopHoldMusicPostRequestBodyable, requestConfiguration *CallsItemParticipantsItemStopHoldMusicRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StopHoldMusicOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/communications/calls_item_participants_mute_all_request_builder.go b/communications/calls_item_participants_mute_all_request_builder.go index ae640012f5c..fdb33a9950c 100644 --- a/communications/calls_item_participants_mute_all_request_builder.go +++ b/communications/calls_item_participants_mute_all_request_builder.go @@ -36,7 +36,7 @@ func NewCallsItemParticipantsMuteAllRequestBuilder(rawUrl string, requestAdapter // returns a ODataError error 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-muteall?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/participant-muteall?view=graph-rest-beta func (m *CallsItemParticipantsMuteAllRequestBuilder) Post(ctx context.Context, body CallsItemParticipantsMuteAllPostRequestBodyable, requestConfiguration *CallsItemParticipantsMuteAllRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MuteParticipantsOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/communications/calls_item_participants_participant_item_request_builder.go b/communications/calls_item_participants_participant_item_request_builder.go index 26a23730bba..3cc2d853847 100644 --- a/communications/calls_item_participants_participant_item_request_builder.go +++ b/communications/calls_item_participants_participant_item_request_builder.go @@ -18,7 +18,7 @@ type CallsItemParticipantsParticipantItemRequestBuilderDeleteRequestConfiguratio // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// CallsItemParticipantsParticipantItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a participant object. +// CallsItemParticipantsParticipantItemRequestBuilderGetQueryParameters get participants from communications type CallsItemParticipantsParticipantItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewCallsItemParticipantsParticipantItemRequestBuilder(rawUrl string, reques urlParams["request-raw-url"] = rawUrl return NewCallsItemParticipantsParticipantItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete 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. +// Delete delete navigation property participants for communications // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/participant-delete?view=graph-rest-1.0 func (m *CallsItemParticipantsParticipantItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *CallsItemParticipantsParticipantItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *CallsItemParticipantsParticipantItemRequestBuilder) Delete(ctx context. } return nil } -// Get retrieve the properties and relationships of a participant object. +// Get get participants from communications // returns a Participantable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *CallsItemParticipantsParticipantItemRequestBuilder) Get(ctx context.Context, requestConfiguration *CallsItemParticipantsParticipantItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Participantable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -131,7 +125,7 @@ func (m *CallsItemParticipantsParticipantItemRequestBuilder) StartHoldMusic()(*C func (m *CallsItemParticipantsParticipantItemRequestBuilder) StopHoldMusic()(*CallsItemParticipantsItemStopHoldMusicRequestBuilder) { return NewCallsItemParticipantsItemStopHoldMusicRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation 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. +// ToDeleteRequestInformation delete navigation property participants for communications // returns a *RequestInformation when successful func (m *CallsItemParticipantsParticipantItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *CallsItemParticipantsParticipantItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -142,7 +136,7 @@ func (m *CallsItemParticipantsParticipantItemRequestBuilder) ToDeleteRequestInfo requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a participant object. +// ToGetRequestInformation get participants from communications // returns a *RequestInformation when successful func (m *CallsItemParticipantsParticipantItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CallsItemParticipantsParticipantItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/communications/calls_item_participants_request_builder.go b/communications/calls_item_participants_request_builder.go index f2bafa76d02..824667a66f1 100644 --- a/communications/calls_item_participants_request_builder.go +++ b/communications/calls_item_participants_request_builder.go @@ -11,7 +11,7 @@ import ( type CallsItemParticipantsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// CallsItemParticipantsRequestBuilderGetQueryParameters retrieve a list of participant objects in the call. +// CallsItemParticipantsRequestBuilderGetQueryParameters get participants from communications type CallsItemParticipantsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewCallsItemParticipantsRequestBuilder(rawUrl string, requestAdapter i2ae41 func (m *CallsItemParticipantsRequestBuilder) Count()(*CallsItemParticipantsCountRequestBuilder) { return NewCallsItemParticipantsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of participant objects in the call. +// Get get participants from communications // returns a ParticipantCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/call-list-participants?view=graph-rest-1.0 func (m *CallsItemParticipantsRequestBuilder) Get(ctx context.Context, requestConfiguration *CallsItemParticipantsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ParticipantCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *CallsItemParticipantsRequestBuilder) Post(ctx context.Context, body ie2 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Participantable), nil } -// ToGetRequestInformation retrieve a list of participant objects in the call. +// ToGetRequestInformation get participants from communications // returns a *RequestInformation when successful func (m *CallsItemParticipantsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CallsItemParticipantsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/communications/calls_item_play_prompt_request_builder.go b/communications/calls_item_play_prompt_request_builder.go index 2564df1f8ff..650da144f12 100644 --- a/communications/calls_item_play_prompt_request_builder.go +++ b/communications/calls_item_play_prompt_request_builder.go @@ -36,7 +36,7 @@ func NewCallsItemPlayPromptRequestBuilder(rawUrl string, requestAdapter i2ae4187 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/call-playprompt?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/call-playprompt?view=graph-rest-beta func (m *CallsItemPlayPromptRequestBuilder) Post(ctx context.Context, body CallsItemPlayPromptPostRequestBodyable, requestConfiguration *CallsItemPlayPromptRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlayPromptOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/communications/calls_item_record_response_request_builder.go b/communications/calls_item_record_response_request_builder.go index bc5163aad0a..424a8ceabc7 100644 --- a/communications/calls_item_record_response_request_builder.go +++ b/communications/calls_item_record_response_request_builder.go @@ -36,7 +36,7 @@ func NewCallsItemRecordResponseRequestBuilder(rawUrl string, requestAdapter i2ae // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/call-record?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/call-record?view=graph-rest-beta func (m *CallsItemRecordResponseRequestBuilder) Post(ctx context.Context, body CallsItemRecordResponsePostRequestBodyable, requestConfiguration *CallsItemRecordResponseRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RecordOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/communications/calls_item_redirect_request_builder.go b/communications/calls_item_redirect_request_builder.go index 43cd7ce60ef..ee09fcca40b 100644 --- a/communications/calls_item_redirect_request_builder.go +++ b/communications/calls_item_redirect_request_builder.go @@ -34,7 +34,7 @@ func NewCallsItemRedirectRequestBuilder(rawUrl string, requestAdapter i2ae4187f7 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/call-redirect?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/call-redirect?view=graph-rest-beta func (m *CallsItemRedirectRequestBuilder) Post(ctx context.Context, body CallsItemRedirectPostRequestBodyable, requestConfiguration *CallsItemRedirectRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/communications/calls_item_reject_request_builder.go b/communications/calls_item_reject_request_builder.go index 732646db40e..ea361eda4db 100644 --- a/communications/calls_item_reject_request_builder.go +++ b/communications/calls_item_reject_request_builder.go @@ -34,7 +34,7 @@ func NewCallsItemRejectRequestBuilder(rawUrl string, requestAdapter i2ae4187f7da // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/call-reject?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/call-reject?view=graph-rest-beta func (m *CallsItemRejectRequestBuilder) Post(ctx context.Context, body CallsItemRejectPostRequestBodyable, requestConfiguration *CallsItemRejectRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/communications/calls_item_subscribe_to_tone_request_builder.go b/communications/calls_item_subscribe_to_tone_request_builder.go index 2f33beb6818..113806eac97 100644 --- a/communications/calls_item_subscribe_to_tone_request_builder.go +++ b/communications/calls_item_subscribe_to_tone_request_builder.go @@ -36,7 +36,7 @@ func NewCallsItemSubscribeToToneRequestBuilder(rawUrl string, requestAdapter i2a // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/call-subscribetotone?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/call-subscribetotone?view=graph-rest-beta func (m *CallsItemSubscribeToToneRequestBuilder) Post(ctx context.Context, body CallsItemSubscribeToTonePostRequestBodyable, requestConfiguration *CallsItemSubscribeToToneRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SubscribeToToneOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/communications/calls_item_transfer_request_builder.go b/communications/calls_item_transfer_request_builder.go index 47106d1c905..28c9cfe7705 100644 --- a/communications/calls_item_transfer_request_builder.go +++ b/communications/calls_item_transfer_request_builder.go @@ -34,7 +34,7 @@ func NewCallsItemTransferRequestBuilder(rawUrl string, requestAdapter i2ae4187f7 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/call-transfer?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/call-transfer?view=graph-rest-beta func (m *CallsItemTransferRequestBuilder) Post(ctx context.Context, body CallsItemTransferPostRequestBodyable, requestConfiguration *CallsItemTransferRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/communications/calls_item_unmute_request_builder.go b/communications/calls_item_unmute_request_builder.go index 80a902349a9..87c79cdce47 100644 --- a/communications/calls_item_unmute_request_builder.go +++ b/communications/calls_item_unmute_request_builder.go @@ -36,7 +36,7 @@ func NewCallsItemUnmuteRequestBuilder(rawUrl string, requestAdapter i2ae4187f7da // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/call-unmute?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/call-unmute?view=graph-rest-beta func (m *CallsItemUnmuteRequestBuilder) Post(ctx context.Context, body CallsItemUnmutePostRequestBodyable, requestConfiguration *CallsItemUnmuteRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnmuteParticipantOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/communications/calls_item_update_recording_status_request_builder.go b/communications/calls_item_update_recording_status_request_builder.go index 77ee0e9b19c..65b3d52ab97 100644 --- a/communications/calls_item_update_recording_status_request_builder.go +++ b/communications/calls_item_update_recording_status_request_builder.go @@ -36,7 +36,7 @@ func NewCallsItemUpdateRecordingStatusRequestBuilder(rawUrl string, requestAdapt // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/call-updaterecordingstatus?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/call-updaterecordingstatus?view=graph-rest-beta func (m *CallsItemUpdateRecordingStatusRequestBuilder) Post(ctx context.Context, body CallsItemUpdateRecordingStatusPostRequestBodyable, requestConfiguration *CallsItemUpdateRecordingStatusRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UpdateRecordingStatusOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/communications/calls_log_teleconference_device_quality_request_builder.go b/communications/calls_log_teleconference_device_quality_request_builder.go index db494251867..2cc1a79b70c 100644 --- a/communications/calls_log_teleconference_device_quality_request_builder.go +++ b/communications/calls_log_teleconference_device_quality_request_builder.go @@ -34,7 +34,7 @@ func NewCallsLogTeleconferenceDeviceQualityRequestBuilder(rawUrl string, request // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/call-logteleconferencedevicequality?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/call-logteleconferencedevicequality?view=graph-rest-beta func (m *CallsLogTeleconferenceDeviceQualityRequestBuilder) Post(ctx context.Context, body CallsLogTeleconferenceDeviceQualityPostRequestBodyable, requestConfiguration *CallsLogTeleconferenceDeviceQualityRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/communications/calls_request_builder.go b/communications/calls_request_builder.go index 98b7b7fbf73..fb3831b1e75 100644 --- a/communications/calls_request_builder.go +++ b/communications/calls_request_builder.go @@ -11,7 +11,7 @@ import ( type CallsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// CallsRequestBuilderGetQueryParameters retrieve the properties and relationships of a call object. +// CallsRequestBuilderGetQueryParameters get calls from communications type CallsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewCallsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb func (m *CallsRequestBuilder) Count()(*CallsCountRequestBuilder) { return NewCallsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties and relationships of a call object. +// Get get calls from communications // returns a CallCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *CallsRequestBuilder) Get(ctx context.Context, requestConfiguration *CallsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallCollectionResponseable, error) { @@ -101,12 +101,9 @@ func (m *CallsRequestBuilder) Get(ctx context.Context, requestConfiguration *Cal func (m *CallsRequestBuilder) LogTeleconferenceDeviceQuality()(*CallsLogTeleconferenceDeviceQualityRequestBuilder) { return NewCallsLogTeleconferenceDeviceQualityRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Post create call enables your bot to create a new outgoing peer-to-peer or group call, or join an existing meeting. You need to register the calling bot and go through the list of permissions needed. +// Post create new navigation property to calls for communications // returns a Callable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/application-post-calls?view=graph-rest-1.0 func (m *CallsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Callable, requestConfiguration *CallsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Callable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *CallsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba69 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Callable), nil } -// ToGetRequestInformation retrieve the properties and relationships of a call object. +// ToGetRequestInformation get calls from communications // returns a *RequestInformation when successful func (m *CallsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CallsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -138,7 +135,7 @@ func (m *CallsRequestBuilder) ToGetRequestInformation(ctx context.Context, reque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create call enables your bot to create a new outgoing peer-to-peer or group call, or join an existing meeting. You need to register the calling bot and go through the list of permissions needed. +// ToPostRequestInformation create new navigation property to calls for communications // returns a *RequestInformation when successful func (m *CallsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Callable, requestConfiguration *CallsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/communications/get_presences_by_user_id_request_builder.go b/communications/get_presences_by_user_id_request_builder.go index e52c0965974..8d93255a2df 100644 --- a/communications/get_presences_by_user_id_request_builder.go +++ b/communications/get_presences_by_user_id_request_builder.go @@ -36,7 +36,7 @@ func NewGetPresencesByUserIdRequestBuilder(rawUrl string, requestAdapter i2ae418 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/cloudcommunications-getpresencesbyuserid?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudcommunications-getpresencesbyuserid?view=graph-rest-beta func (m *GetPresencesByUserIdRequestBuilder) Post(ctx context.Context, body GetPresencesByUserIdPostRequestBodyable, requestConfiguration *GetPresencesByUserIdRequestBuilderPostRequestConfiguration)(GetPresencesByUserIdResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *GetPresencesByUserIdRequestBuilder) Post(ctx context.Context, body GetP // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/cloudcommunications-getpresencesbyuserid?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudcommunications-getpresencesbyuserid?view=graph-rest-beta func (m *GetPresencesByUserIdRequestBuilder) PostAsGetPresencesByUserIdPostResponse(ctx context.Context, body GetPresencesByUserIdPostRequestBodyable, requestConfiguration *GetPresencesByUserIdRequestBuilderPostRequestConfiguration)(GetPresencesByUserIdPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/communications/online_meetings_create_or_get_request_builder.go b/communications/online_meetings_create_or_get_request_builder.go index a87d64f0933..d9a6f58414d 100644 --- a/communications/online_meetings_create_or_get_request_builder.go +++ b/communications/online_meetings_create_or_get_request_builder.go @@ -36,7 +36,7 @@ func NewOnlineMeetingsCreateOrGetRequestBuilder(rawUrl string, requestAdapter i2 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/onlinemeeting-createorget?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/onlinemeeting-createorget?view=graph-rest-beta func (m *OnlineMeetingsCreateOrGetRequestBuilder) Post(ctx context.Context, body OnlineMeetingsCreateOrGetPostRequestBodyable, requestConfiguration *OnlineMeetingsCreateOrGetRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnlineMeetingable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/communications/online_meetings_get_all_transcripts_request_builder.go b/communications/online_meetings_get_all_transcripts_request_builder.go index 55609178dcc..247fe293e9f 100644 --- a/communications/online_meetings_get_all_transcripts_request_builder.go +++ b/communications/online_meetings_get_all_transcripts_request_builder.go @@ -10,7 +10,7 @@ import ( type OnlineMeetingsGetAllTranscriptsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// OnlineMeetingsGetAllTranscriptsRequestBuilderGetQueryParameters invoke function getAllTranscripts +// OnlineMeetingsGetAllTranscriptsRequestBuilderGetQueryParameters get all transcripts from scheduled onlineMeeting instances for which the specified user is the organizer. This API currently doesn't support getting call transcripts from channel meetings. You can apply the delta function on getAllTranscripts to synchronize and get callTranscript resources as they are added for onlineMeeting instances organized by the specified user. Delta query supports both full synchronization that gets all the transcripts for online meetings organized by the user, and incremental synchronization that gets transcripts that have been added since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that transcript view periodically. Find more information in the delta query documentation. For additional examples, see callTranscript: delta. To learn more about using the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. type OnlineMeetingsGetAllTranscriptsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewOnlineMeetingsGetAllTranscriptsRequestBuilder(rawUrl string, requestAdap urlParams["request-raw-url"] = rawUrl return NewOnlineMeetingsGetAllTranscriptsRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getAllTranscripts +// Get get all transcripts from scheduled onlineMeeting instances for which the specified user is the organizer. This API currently doesn't support getting call transcripts from channel meetings. You can apply the delta function on getAllTranscripts to synchronize and get callTranscript resources as they are added for onlineMeeting instances organized by the specified user. Delta query supports both full synchronization that gets all the transcripts for online meetings organized by the user, and incremental synchronization that gets transcripts that have been added since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that transcript view periodically. Find more information in the delta query documentation. For additional examples, see callTranscript: delta. To learn more about using the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. // Deprecated: This method is obsolete. Use GetAsGetAllTranscriptsGetResponse instead. // returns a OnlineMeetingsGetAllTranscriptsResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/onlinemeeting-getalltranscripts?view=graph-rest-beta func (m *OnlineMeetingsGetAllTranscriptsRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingsGetAllTranscriptsRequestBuilderGetRequestConfiguration)(OnlineMeetingsGetAllTranscriptsResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *OnlineMeetingsGetAllTranscriptsRequestBuilder) Get(ctx context.Context, } return res.(OnlineMeetingsGetAllTranscriptsResponseable), nil } -// GetAsGetAllTranscriptsGetResponse invoke function getAllTranscripts +// GetAsGetAllTranscriptsGetResponse get all transcripts from scheduled onlineMeeting instances for which the specified user is the organizer. This API currently doesn't support getting call transcripts from channel meetings. You can apply the delta function on getAllTranscripts to synchronize and get callTranscript resources as they are added for onlineMeeting instances organized by the specified user. Delta query supports both full synchronization that gets all the transcripts for online meetings organized by the user, and incremental synchronization that gets transcripts that have been added since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that transcript view periodically. Find more information in the delta query documentation. For additional examples, see callTranscript: delta. To learn more about using the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. // returns a OnlineMeetingsGetAllTranscriptsGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/onlinemeeting-getalltranscripts?view=graph-rest-beta func (m *OnlineMeetingsGetAllTranscriptsRequestBuilder) GetAsGetAllTranscriptsGetResponse(ctx context.Context, requestConfiguration *OnlineMeetingsGetAllTranscriptsRequestBuilderGetRequestConfiguration)(OnlineMeetingsGetAllTranscriptsGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *OnlineMeetingsGetAllTranscriptsRequestBuilder) GetAsGetAllTranscriptsGe } return res.(OnlineMeetingsGetAllTranscriptsGetResponseable), nil } -// ToGetRequestInformation invoke function getAllTranscripts +// ToGetRequestInformation get all transcripts from scheduled onlineMeeting instances for which the specified user is the organizer. This API currently doesn't support getting call transcripts from channel meetings. You can apply the delta function on getAllTranscripts to synchronize and get callTranscript resources as they are added for onlineMeeting instances organized by the specified user. Delta query supports both full synchronization that gets all the transcripts for online meetings organized by the user, and incremental synchronization that gets transcripts that have been added since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that transcript view periodically. Find more information in the delta query documentation. For additional examples, see callTranscript: delta. To learn more about using the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. // returns a *RequestInformation when successful func (m *OnlineMeetingsGetAllTranscriptsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingsGetAllTranscriptsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/communications/online_meetings_item_alternative_recording_request_builder.go b/communications/online_meetings_item_alternative_recording_request_builder.go index d000528b8ff..afe7caa97a8 100644 --- a/communications/online_meetings_item_alternative_recording_request_builder.go +++ b/communications/online_meetings_item_alternative_recording_request_builder.go @@ -40,9 +40,6 @@ func NewOnlineMeetingsItemAlternativeRecordingRequestBuilder(rawUrl string, requ // Get get alternativeRecording for the navigation property onlineMeetings from communications // 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/onlinemeeting-get?view=graph-rest-1.0 func (m *OnlineMeetingsItemAlternativeRecordingRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingsItemAlternativeRecordingRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/communications/online_meetings_item_attendance_reports_item_attendance_records_request_builder.go b/communications/online_meetings_item_attendance_reports_item_attendance_records_request_builder.go index b4acfc249b7..a862987d63b 100644 --- a/communications/online_meetings_item_attendance_reports_item_attendance_records_request_builder.go +++ b/communications/online_meetings_item_attendance_reports_item_attendance_records_request_builder.go @@ -11,7 +11,7 @@ import ( type OnlineMeetingsItemAttendanceReportsItemAttendanceRecordsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// OnlineMeetingsItemAttendanceReportsItemAttendanceRecordsRequestBuilderGetQueryParameters get a list of attendanceRecord objects and their properties. +// OnlineMeetingsItemAttendanceReportsItemAttendanceRecordsRequestBuilderGetQueryParameters list of attendance records of an attendance report. Read-only. type OnlineMeetingsItemAttendanceReportsItemAttendanceRecordsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewOnlineMeetingsItemAttendanceReportsItemAttendanceRecordsRequestBuilder(r func (m *OnlineMeetingsItemAttendanceReportsItemAttendanceRecordsRequestBuilder) Count()(*OnlineMeetingsItemAttendanceReportsItemAttendanceRecordsCountRequestBuilder) { return NewOnlineMeetingsItemAttendanceReportsItemAttendanceRecordsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of attendanceRecord objects and their properties. +// Get list of attendance records of an attendance report. Read-only. // returns a AttendanceRecordCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attendancerecord-list?view=graph-rest-1.0 func (m *OnlineMeetingsItemAttendanceReportsItemAttendanceRecordsRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingsItemAttendanceReportsItemAttendanceRecordsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttendanceRecordCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *OnlineMeetingsItemAttendanceReportsItemAttendanceRecordsRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttendanceRecordable), nil } -// ToGetRequestInformation get a list of attendanceRecord objects and their properties. +// ToGetRequestInformation list of attendance records of an attendance report. Read-only. // returns a *RequestInformation when successful func (m *OnlineMeetingsItemAttendanceReportsItemAttendanceRecordsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingsItemAttendanceReportsItemAttendanceRecordsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/communications/online_meetings_item_attendee_report_request_builder.go b/communications/online_meetings_item_attendee_report_request_builder.go index 0e583f65fba..ec930a460ab 100644 --- a/communications/online_meetings_item_attendee_report_request_builder.go +++ b/communications/online_meetings_item_attendee_report_request_builder.go @@ -40,9 +40,6 @@ func NewOnlineMeetingsItemAttendeeReportRequestBuilder(rawUrl string, requestAda // Get get attendeeReport for the navigation property onlineMeetings from communications // 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/onlinemeeting-get?view=graph-rest-1.0 func (m *OnlineMeetingsItemAttendeeReportRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingsItemAttendeeReportRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/communications/online_meetings_item_broadcast_recording_request_builder.go b/communications/online_meetings_item_broadcast_recording_request_builder.go index 9a09a52a942..a19473faf54 100644 --- a/communications/online_meetings_item_broadcast_recording_request_builder.go +++ b/communications/online_meetings_item_broadcast_recording_request_builder.go @@ -40,9 +40,6 @@ func NewOnlineMeetingsItemBroadcastRecordingRequestBuilder(rawUrl string, reques // Get get broadcastRecording for the navigation property onlineMeetings from communications // 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/onlinemeeting-get?view=graph-rest-1.0 func (m *OnlineMeetingsItemBroadcastRecordingRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingsItemBroadcastRecordingRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/communications/online_meetings_item_get_virtual_appointment_join_web_url_request_builder.go b/communications/online_meetings_item_get_virtual_appointment_join_web_url_request_builder.go index 8e1cd42bd57..5135cca3032 100644 --- a/communications/online_meetings_item_get_virtual_appointment_join_web_url_request_builder.go +++ b/communications/online_meetings_item_get_virtual_appointment_join_web_url_request_builder.go @@ -30,10 +30,13 @@ func NewOnlineMeetingsItemGetVirtualAppointmentJoinWebUrlRequestBuilder(rawUrl s urlParams["request-raw-url"] = rawUrl return NewOnlineMeetingsItemGetVirtualAppointmentJoinWebUrlRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getVirtualAppointmentJoinWebUrl +// Get get a join web URL for a Teams Virtual Appointment. This web URL includes enhanced business-to-customer experiences such as mobile browser join and virtual lobby rooms. With Teams Premium, you can configure a custom lobby room experience for attendees by adding your company logo and access the Virtual Appointments usage report for organizational analytics. // Deprecated: This method is obsolete. Use GetAsGetVirtualAppointmentJoinWebUrlGetResponse instead. // returns a OnlineMeetingsItemGetVirtualAppointmentJoinWebUrlResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/virtualappointment-getvirtualappointmentjoinweburl?view=graph-rest-beta func (m *OnlineMeetingsItemGetVirtualAppointmentJoinWebUrlRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingsItemGetVirtualAppointmentJoinWebUrlRequestBuilderGetRequestConfiguration)(OnlineMeetingsItemGetVirtualAppointmentJoinWebUrlResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -51,9 +54,12 @@ func (m *OnlineMeetingsItemGetVirtualAppointmentJoinWebUrlRequestBuilder) Get(ct } return res.(OnlineMeetingsItemGetVirtualAppointmentJoinWebUrlResponseable), nil } -// GetAsGetVirtualAppointmentJoinWebUrlGetResponse invoke function getVirtualAppointmentJoinWebUrl +// GetAsGetVirtualAppointmentJoinWebUrlGetResponse get a join web URL for a Teams Virtual Appointment. This web URL includes enhanced business-to-customer experiences such as mobile browser join and virtual lobby rooms. With Teams Premium, you can configure a custom lobby room experience for attendees by adding your company logo and access the Virtual Appointments usage report for organizational analytics. // returns a OnlineMeetingsItemGetVirtualAppointmentJoinWebUrlGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/virtualappointment-getvirtualappointmentjoinweburl?view=graph-rest-beta func (m *OnlineMeetingsItemGetVirtualAppointmentJoinWebUrlRequestBuilder) GetAsGetVirtualAppointmentJoinWebUrlGetResponse(ctx context.Context, requestConfiguration *OnlineMeetingsItemGetVirtualAppointmentJoinWebUrlRequestBuilderGetRequestConfiguration)(OnlineMeetingsItemGetVirtualAppointmentJoinWebUrlGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -71,7 +77,7 @@ func (m *OnlineMeetingsItemGetVirtualAppointmentJoinWebUrlRequestBuilder) GetAsG } return res.(OnlineMeetingsItemGetVirtualAppointmentJoinWebUrlGetResponseable), nil } -// ToGetRequestInformation invoke function getVirtualAppointmentJoinWebUrl +// ToGetRequestInformation get a join web URL for a Teams Virtual Appointment. This web URL includes enhanced business-to-customer experiences such as mobile browser join and virtual lobby rooms. With Teams Premium, you can configure a custom lobby room experience for attendees by adding your company logo and access the Virtual Appointments usage report for organizational analytics. // returns a *RequestInformation when successful func (m *OnlineMeetingsItemGetVirtualAppointmentJoinWebUrlRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingsItemGetVirtualAppointmentJoinWebUrlRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/communications/online_meetings_item_meeting_attendance_report_attendance_records_request_builder.go b/communications/online_meetings_item_meeting_attendance_report_attendance_records_request_builder.go index 6333a3427c8..2da6c61b706 100644 --- a/communications/online_meetings_item_meeting_attendance_report_attendance_records_request_builder.go +++ b/communications/online_meetings_item_meeting_attendance_report_attendance_records_request_builder.go @@ -11,7 +11,7 @@ import ( type OnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// OnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsRequestBuilderGetQueryParameters get a list of attendanceRecord objects and their properties. +// OnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsRequestBuilderGetQueryParameters list of attendance records of an attendance report. Read-only. type OnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewOnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder func (m *OnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder) Count()(*OnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilder) { return NewOnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of attendanceRecord objects and their properties. +// Get list of attendance records of an attendance report. Read-only. // returns a AttendanceRecordCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attendancerecord-list?view=graph-rest-1.0 func (m *OnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttendanceRecordCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *OnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsRequestBuilde } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttendanceRecordable), nil } -// ToGetRequestInformation get a list of attendanceRecord objects and their properties. +// ToGetRequestInformation list of attendance records of an attendance report. Read-only. // returns a *RequestInformation when successful func (m *OnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/communications/online_meetings_item_meeting_attendance_report_request_builder.go b/communications/online_meetings_item_meeting_attendance_report_request_builder.go index ba9c9dd8986..c83f94b79eb 100644 --- a/communications/online_meetings_item_meeting_attendance_report_request_builder.go +++ b/communications/online_meetings_item_meeting_attendance_report_request_builder.go @@ -18,7 +18,7 @@ type OnlineMeetingsItemMeetingAttendanceReportRequestBuilderDeleteRequestConfigu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// OnlineMeetingsItemMeetingAttendanceReportRequestBuilderGetQueryParameters get the meetingAttendanceReport for an onlineMeeting or a virtualEvent. Each time an online meeting ends, an attendance report is generated for that session. +// OnlineMeetingsItemMeetingAttendanceReportRequestBuilderGetQueryParameters get meetingAttendanceReport from communications type OnlineMeetingsItemMeetingAttendanceReportRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *OnlineMeetingsItemMeetingAttendanceReportRequestBuilder) Delete(ctx con } return nil } -// Get get the meetingAttendanceReport for an onlineMeeting or a virtualEvent. Each time an online meeting ends, an attendance report is generated for that session. +// Get get meetingAttendanceReport from communications // returns a MeetingAttendanceReportable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/meetingattendancereport-get?view=graph-rest-1.0 func (m *OnlineMeetingsItemMeetingAttendanceReportRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingsItemMeetingAttendanceReportRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingAttendanceReportable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *OnlineMeetingsItemMeetingAttendanceReportRequestBuilder) ToDeleteReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the meetingAttendanceReport for an onlineMeeting or a virtualEvent. Each time an online meeting ends, an attendance report is generated for that session. +// ToGetRequestInformation get meetingAttendanceReport from communications // returns a *RequestInformation when successful func (m *OnlineMeetingsItemMeetingAttendanceReportRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingsItemMeetingAttendanceReportRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/communications/online_meetings_item_recording_request_builder.go b/communications/online_meetings_item_recording_request_builder.go index 282cc042d9b..157c5b491fa 100644 --- a/communications/online_meetings_item_recording_request_builder.go +++ b/communications/online_meetings_item_recording_request_builder.go @@ -40,9 +40,6 @@ func NewOnlineMeetingsItemRecordingRequestBuilder(rawUrl string, requestAdapter // Get get recording for the navigation property onlineMeetings from communications // 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/onlinemeeting-get?view=graph-rest-1.0 func (m *OnlineMeetingsItemRecordingRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingsItemRecordingRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/communications/online_meetings_item_recordings_call_recording_item_request_builder.go b/communications/online_meetings_item_recordings_call_recording_item_request_builder.go index 8b147152870..75b0753e961 100644 --- a/communications/online_meetings_item_recordings_call_recording_item_request_builder.go +++ b/communications/online_meetings_item_recordings_call_recording_item_request_builder.go @@ -18,7 +18,7 @@ type OnlineMeetingsItemRecordingsCallRecordingItemRequestBuilderDeleteRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// OnlineMeetingsItemRecordingsCallRecordingItemRequestBuilderGetQueryParameters get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. +// OnlineMeetingsItemRecordingsCallRecordingItemRequestBuilderGetQueryParameters the recordings of an online meeting. Read-only. type OnlineMeetingsItemRecordingsCallRecordingItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *OnlineMeetingsItemRecordingsCallRecordingItemRequestBuilder) Delete(ctx } return nil } -// Get get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. +// Get the recordings of an online meeting. Read-only. // returns a CallRecordingable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/callrecording-get?view=graph-rest-1.0 func (m *OnlineMeetingsItemRecordingsCallRecordingItemRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingsItemRecordingsCallRecordingItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *OnlineMeetingsItemRecordingsCallRecordingItemRequestBuilder) ToDeleteRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. +// ToGetRequestInformation the recordings of an online meeting. Read-only. // returns a *RequestInformation when successful func (m *OnlineMeetingsItemRecordingsCallRecordingItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingsItemRecordingsCallRecordingItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/communications/online_meetings_item_recordings_request_builder.go b/communications/online_meetings_item_recordings_request_builder.go index fdea82174c3..7d5f6bc5aad 100644 --- a/communications/online_meetings_item_recordings_request_builder.go +++ b/communications/online_meetings_item_recordings_request_builder.go @@ -11,7 +11,7 @@ import ( type OnlineMeetingsItemRecordingsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// OnlineMeetingsItemRecordingsRequestBuilderGetQueryParameters get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. +// OnlineMeetingsItemRecordingsRequestBuilderGetQueryParameters the recordings of an online meeting. Read-only. type OnlineMeetingsItemRecordingsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,7 +81,7 @@ func (m *OnlineMeetingsItemRecordingsRequestBuilder) Count()(*OnlineMeetingsItem func (m *OnlineMeetingsItemRecordingsRequestBuilder) Delta()(*OnlineMeetingsItemRecordingsDeltaRequestBuilder) { return NewOnlineMeetingsItemRecordingsDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. +// Get the recordings of an online meeting. Read-only. // returns a CallRecordingCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *OnlineMeetingsItemRecordingsRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingsItemRecordingsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingCollectionResponseable, error) { @@ -121,7 +121,7 @@ func (m *OnlineMeetingsItemRecordingsRequestBuilder) Post(ctx context.Context, b } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable), nil } -// ToGetRequestInformation get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. +// ToGetRequestInformation the recordings of an online meeting. Read-only. // returns a *RequestInformation when successful func (m *OnlineMeetingsItemRecordingsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingsItemRecordingsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/communications/online_meetings_item_registration_custom_questions_meeting_registration_question_item_request_builder.go b/communications/online_meetings_item_registration_custom_questions_meeting_registration_question_item_request_builder.go index b4a54af6a2c..462a2bacf9a 100644 --- a/communications/online_meetings_item_registration_custom_questions_meeting_registration_question_item_request_builder.go +++ b/communications/online_meetings_item_registration_custom_questions_meeting_registration_question_item_request_builder.go @@ -18,7 +18,7 @@ type OnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionIte // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// OnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderGetQueryParameters get a custom registration question associated with a meetingRegistration object on behalf of the organizer. +// OnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderGetQueryParameters custom registration questions. type OnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewOnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestion urlParams["request-raw-url"] = rawUrl return NewOnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a custom registration question from a meetingRegistration object on behalf of the organizer. +// Delete delete navigation property customQuestions for communications // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/meetingregistrationquestion-delete?view=graph-rest-1.0 func (m *OnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *OnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *OnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestio } return nil } -// Get get a custom registration question associated with a meetingRegistration object on behalf of the organizer. +// Get custom registration questions. // returns a MeetingRegistrationQuestionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/meetingregistrationquestion-get?view=graph-rest-1.0 func (m *OnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationQuestionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *OnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestio } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationQuestionable), nil } -// Patch update a custom registration question associated with a meetingRegistration object on behalf of the organizer. +// Patch update the navigation property customQuestions in communications // returns a MeetingRegistrationQuestionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/meetingregistrationquestion-update?view=graph-rest-1.0 func (m *OnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationQuestionable, requestConfiguration *OnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationQuestionable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *OnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestio } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationQuestionable), nil } -// ToDeleteRequestInformation delete a custom registration question from a meetingRegistration object on behalf of the organizer. +// ToDeleteRequestInformation delete navigation property customQuestions for communications // returns a *RequestInformation when successful func (m *OnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *OnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestio requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a custom registration question associated with a meetingRegistration object on behalf of the organizer. +// ToGetRequestInformation custom registration questions. // returns a *RequestInformation when successful func (m *OnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *OnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestio requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update a custom registration question associated with a meetingRegistration object on behalf of the organizer. +// ToPatchRequestInformation update the navigation property customQuestions in communications // returns a *RequestInformation when successful func (m *OnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationQuestionable, requestConfiguration *OnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/communications/online_meetings_item_registration_custom_questions_request_builder.go b/communications/online_meetings_item_registration_custom_questions_request_builder.go index abd06e36b30..22a09a8c771 100644 --- a/communications/online_meetings_item_registration_custom_questions_request_builder.go +++ b/communications/online_meetings_item_registration_custom_questions_request_builder.go @@ -11,7 +11,7 @@ import ( type OnlineMeetingsItemRegistrationCustomQuestionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// OnlineMeetingsItemRegistrationCustomQuestionsRequestBuilderGetQueryParameters get a custom registration question associated with a meetingRegistration object on behalf of the organizer. +// OnlineMeetingsItemRegistrationCustomQuestionsRequestBuilderGetQueryParameters custom registration questions. type OnlineMeetingsItemRegistrationCustomQuestionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewOnlineMeetingsItemRegistrationCustomQuestionsRequestBuilder(rawUrl strin func (m *OnlineMeetingsItemRegistrationCustomQuestionsRequestBuilder) Count()(*OnlineMeetingsItemRegistrationCustomQuestionsCountRequestBuilder) { return NewOnlineMeetingsItemRegistrationCustomQuestionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a custom registration question associated with a meetingRegistration object on behalf of the organizer. +// Get custom registration questions. // returns a MeetingRegistrationQuestionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/meetingregistration-list-customquestions?view=graph-rest-1.0 func (m *OnlineMeetingsItemRegistrationCustomQuestionsRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingsItemRegistrationCustomQuestionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationQuestionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *OnlineMeetingsItemRegistrationCustomQuestionsRequestBuilder) Get(ctx co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationQuestionCollectionResponseable), nil } -// Post create a custom registration question associated with a meetingRegistration object on behalf of the organizer. +// Post create new navigation property to customQuestions for communications // returns a MeetingRegistrationQuestionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/meetingregistration-post-customquestions?view=graph-rest-1.0 func (m *OnlineMeetingsItemRegistrationCustomQuestionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationQuestionable, requestConfiguration *OnlineMeetingsItemRegistrationCustomQuestionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationQuestionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *OnlineMeetingsItemRegistrationCustomQuestionsRequestBuilder) Post(ctx c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationQuestionable), nil } -// ToGetRequestInformation get a custom registration question associated with a meetingRegistration object on behalf of the organizer. +// ToGetRequestInformation custom registration questions. // returns a *RequestInformation when successful func (m *OnlineMeetingsItemRegistrationCustomQuestionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingsItemRegistrationCustomQuestionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *OnlineMeetingsItemRegistrationCustomQuestionsRequestBuilder) ToGetReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a custom registration question associated with a meetingRegistration object on behalf of the organizer. +// ToPostRequestInformation create new navigation property to customQuestions for communications // returns a *RequestInformation when successful func (m *OnlineMeetingsItemRegistrationCustomQuestionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationQuestionable, requestConfiguration *OnlineMeetingsItemRegistrationCustomQuestionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/communications/online_meetings_item_registration_request_builder.go b/communications/online_meetings_item_registration_request_builder.go index cf59520bac2..b6362540de6 100644 --- a/communications/online_meetings_item_registration_request_builder.go +++ b/communications/online_meetings_item_registration_request_builder.go @@ -18,7 +18,7 @@ type OnlineMeetingsItemRegistrationRequestBuilderDeleteRequestConfiguration stru // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// OnlineMeetingsItemRegistrationRequestBuilderGetQueryParameters get the meetingRegistration details associated with an onlineMeeting on behalf of the organizer. +// OnlineMeetingsItemRegistrationRequestBuilderGetQueryParameters the registration that is enabled for an online meeting. One online meeting can only have one registration enabled. type OnlineMeetingsItemRegistrationRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewOnlineMeetingsItemRegistrationRequestBuilder(rawUrl string, requestAdapt func (m *OnlineMeetingsItemRegistrationRequestBuilder) CustomQuestions()(*OnlineMeetingsItemRegistrationCustomQuestionsRequestBuilder) { return NewOnlineMeetingsItemRegistrationCustomQuestionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Delete disable and delete the externalMeetingRegistration of an onlineMeeting. +// Delete delete navigation property registration for communications // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/externalmeetingregistration-delete?view=graph-rest-1.0 func (m *OnlineMeetingsItemRegistrationRequestBuilder) Delete(ctx context.Context, requestConfiguration *OnlineMeetingsItemRegistrationRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *OnlineMeetingsItemRegistrationRequestBuilder) Delete(ctx context.Contex } return nil } -// Get get the meetingRegistration details associated with an onlineMeeting on behalf of the organizer. +// Get the registration that is enabled for an online meeting. One online meeting can only have one registration enabled. // returns a MeetingRegistrationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/meetingregistration-get?view=graph-rest-1.0 func (m *OnlineMeetingsItemRegistrationRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingsItemRegistrationRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,12 +95,9 @@ func (m *OnlineMeetingsItemRegistrationRequestBuilder) Get(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationable), nil } -// Patch update the details of a meetingRegistration object assciated with an onlineMeeting on behalf of the organizer. +// Patch update the navigation property registration in communications // returns a MeetingRegistrationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/meetingregistration-update?view=graph-rest-1.0 func (m *OnlineMeetingsItemRegistrationRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationable, requestConfiguration *OnlineMeetingsItemRegistrationRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -129,7 +120,7 @@ func (m *OnlineMeetingsItemRegistrationRequestBuilder) Patch(ctx context.Context func (m *OnlineMeetingsItemRegistrationRequestBuilder) Registrants()(*OnlineMeetingsItemRegistrationRegistrantsRequestBuilder) { return NewOnlineMeetingsItemRegistrationRegistrantsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation disable and delete the externalMeetingRegistration of an onlineMeeting. +// ToDeleteRequestInformation delete navigation property registration for communications // returns a *RequestInformation when successful func (m *OnlineMeetingsItemRegistrationRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingsItemRegistrationRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -140,7 +131,7 @@ func (m *OnlineMeetingsItemRegistrationRequestBuilder) ToDeleteRequestInformatio requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the meetingRegistration details associated with an onlineMeeting on behalf of the organizer. +// ToGetRequestInformation the registration that is enabled for an online meeting. One online meeting can only have one registration enabled. // returns a *RequestInformation when successful func (m *OnlineMeetingsItemRegistrationRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingsItemRegistrationRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -154,7 +145,7 @@ func (m *OnlineMeetingsItemRegistrationRequestBuilder) ToGetRequestInformation(c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the details of a meetingRegistration object assciated with an onlineMeeting on behalf of the organizer. +// ToPatchRequestInformation update the navigation property registration in communications // returns a *RequestInformation when successful func (m *OnlineMeetingsItemRegistrationRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationable, requestConfiguration *OnlineMeetingsItemRegistrationRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/communications/online_meetings_item_send_virtual_appointment_reminder_sms_request_builder.go b/communications/online_meetings_item_send_virtual_appointment_reminder_sms_request_builder.go index fb1cd83f5ac..a28f17e8253 100644 --- a/communications/online_meetings_item_send_virtual_appointment_reminder_sms_request_builder.go +++ b/communications/online_meetings_item_send_virtual_appointment_reminder_sms_request_builder.go @@ -34,7 +34,7 @@ func NewOnlineMeetingsItemSendVirtualAppointmentReminderSmsRequestBuilder(rawUrl // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/virtualappointment-sendvirtualappointmentremindersms?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/virtualappointment-sendvirtualappointmentremindersms?view=graph-rest-beta func (m *OnlineMeetingsItemSendVirtualAppointmentReminderSmsRequestBuilder) Post(ctx context.Context, body OnlineMeetingsItemSendVirtualAppointmentReminderSmsPostRequestBodyable, requestConfiguration *OnlineMeetingsItemSendVirtualAppointmentReminderSmsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/communications/online_meetings_item_send_virtual_appointment_sms_request_builder.go b/communications/online_meetings_item_send_virtual_appointment_sms_request_builder.go index 50d508adb49..e9023fe0140 100644 --- a/communications/online_meetings_item_send_virtual_appointment_sms_request_builder.go +++ b/communications/online_meetings_item_send_virtual_appointment_sms_request_builder.go @@ -34,7 +34,7 @@ func NewOnlineMeetingsItemSendVirtualAppointmentSmsRequestBuilder(rawUrl string, // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/virtualappointment-sendvirtualappointmentsms?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/virtualappointment-sendvirtualappointmentsms?view=graph-rest-beta func (m *OnlineMeetingsItemSendVirtualAppointmentSmsRequestBuilder) Post(ctx context.Context, body OnlineMeetingsItemSendVirtualAppointmentSmsPostRequestBodyable, requestConfiguration *OnlineMeetingsItemSendVirtualAppointmentSmsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/communications/online_meetings_item_transcripts_call_transcript_item_request_builder.go b/communications/online_meetings_item_transcripts_call_transcript_item_request_builder.go index 23691b66516..81cfcf25552 100644 --- a/communications/online_meetings_item_transcripts_call_transcript_item_request_builder.go +++ b/communications/online_meetings_item_transcripts_call_transcript_item_request_builder.go @@ -18,7 +18,7 @@ type OnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilderDeleteRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// OnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilderGetQueryParameters retrieve a callTranscript object associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. +// OnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilderGetQueryParameters the transcripts of an online meeting. Read-only. type OnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *OnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilder) Delete(c } return nil } -// Get retrieve a callTranscript object associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. +// Get the transcripts of an online meeting. Read-only. // returns a CallTranscriptable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/calltranscript-get?view=graph-rest-1.0 func (m *OnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -134,7 +131,7 @@ func (m *OnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilder) ToDelete requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a callTranscript object associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. +// ToGetRequestInformation the transcripts of an online meeting. Read-only. // returns a *RequestInformation when successful func (m *OnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/communications/online_meetings_item_transcripts_item_content_request_builder.go b/communications/online_meetings_item_transcripts_item_content_request_builder.go index 46b8a0e45ab..524c4cdf2a3 100644 --- a/communications/online_meetings_item_transcripts_item_content_request_builder.go +++ b/communications/online_meetings_item_transcripts_item_content_request_builder.go @@ -41,9 +41,6 @@ func NewOnlineMeetingsItemTranscriptsItemContentRequestBuilder(rawUrl string, re // Get the content of the transcript. Read-only. // 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/onlinemeeting-list-transcripts?view=graph-rest-1.0 func (m *OnlineMeetingsItemTranscriptsItemContentRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingsItemTranscriptsItemContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/communications/online_meetings_item_transcripts_item_metadata_content_request_builder.go b/communications/online_meetings_item_transcripts_item_metadata_content_request_builder.go index d7d0b53fc51..c208812bf8e 100644 --- a/communications/online_meetings_item_transcripts_item_metadata_content_request_builder.go +++ b/communications/online_meetings_item_transcripts_item_metadata_content_request_builder.go @@ -40,9 +40,6 @@ func NewOnlineMeetingsItemTranscriptsItemMetadataContentRequestBuilder(rawUrl st // Get the time-aligned metadata of the utterances in the transcript. Read-only. // 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/onlinemeeting-list-transcripts?view=graph-rest-1.0 func (m *OnlineMeetingsItemTranscriptsItemMetadataContentRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingsItemTranscriptsItemMetadataContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/communications/online_meetings_item_transcripts_request_builder.go b/communications/online_meetings_item_transcripts_request_builder.go index 7d1b89e5b20..ca4e217aba5 100644 --- a/communications/online_meetings_item_transcripts_request_builder.go +++ b/communications/online_meetings_item_transcripts_request_builder.go @@ -11,7 +11,7 @@ import ( type OnlineMeetingsItemTranscriptsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// OnlineMeetingsItemTranscriptsRequestBuilderGetQueryParameters retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. +// OnlineMeetingsItemTranscriptsRequestBuilderGetQueryParameters the transcripts of an online meeting. Read-only. type OnlineMeetingsItemTranscriptsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *OnlineMeetingsItemTranscriptsRequestBuilder) Count()(*OnlineMeetingsIte func (m *OnlineMeetingsItemTranscriptsRequestBuilder) Delta()(*OnlineMeetingsItemTranscriptsDeltaRequestBuilder) { return NewOnlineMeetingsItemTranscriptsDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. +// Get the transcripts of an online meeting. Read-only. // returns a CallTranscriptCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/onlinemeeting-list-transcripts?view=graph-rest-1.0 func (m *OnlineMeetingsItemTranscriptsRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingsItemTranscriptsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *OnlineMeetingsItemTranscriptsRequestBuilder) Post(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable), nil } -// ToGetRequestInformation retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. +// ToGetRequestInformation the transcripts of an online meeting. Read-only. // returns a *RequestInformation when successful func (m *OnlineMeetingsItemTranscriptsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingsItemTranscriptsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/communications/online_meetings_request_builder.go b/communications/online_meetings_request_builder.go index b0c3f558bcd..7af7e705e30 100644 --- a/communications/online_meetings_request_builder.go +++ b/communications/online_meetings_request_builder.go @@ -11,7 +11,7 @@ import ( type OnlineMeetingsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// OnlineMeetingsRequestBuilderGetQueryParameters retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) and Teams live event recordings (deprecated) are online meeting artifacts. For details, see Online meeting artifacts and permissions. +// OnlineMeetingsRequestBuilderGetQueryParameters get onlineMeetings from communications type OnlineMeetingsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *OnlineMeetingsRequestBuilder) Count()(*OnlineMeetingsCountRequestBuilde func (m *OnlineMeetingsRequestBuilder) CreateOrGet()(*OnlineMeetingsCreateOrGetRequestBuilder) { return NewOnlineMeetingsCreateOrGetRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) and Teams live event recordings (deprecated) are online meeting artifacts. For details, see Online meeting artifacts and permissions. +// Get get onlineMeetings from communications // returns a OnlineMeetingCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/onlinemeeting-get?view=graph-rest-1.0 func (m *OnlineMeetingsRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnlineMeetingCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -134,7 +131,7 @@ func (m *OnlineMeetingsRequestBuilder) Post(ctx context.Context, body ie233ee762 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnlineMeetingable), nil } -// ToGetRequestInformation retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) and Teams live event recordings (deprecated) are online meeting artifacts. For details, see Online meeting artifacts and permissions. +// ToGetRequestInformation get onlineMeetings from communications // returns a *RequestInformation when successful func (m *OnlineMeetingsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/communications/online_meetings_with_join_web_url_get_virtual_appointment_join_web_url_request_builder.go b/communications/online_meetings_with_join_web_url_get_virtual_appointment_join_web_url_request_builder.go index e43b155882e..5134f216327 100644 --- a/communications/online_meetings_with_join_web_url_get_virtual_appointment_join_web_url_request_builder.go +++ b/communications/online_meetings_with_join_web_url_get_virtual_appointment_join_web_url_request_builder.go @@ -30,10 +30,13 @@ func NewOnlineMeetingsWithJoinWebUrlGetVirtualAppointmentJoinWebUrlRequestBuilde urlParams["request-raw-url"] = rawUrl return NewOnlineMeetingsWithJoinWebUrlGetVirtualAppointmentJoinWebUrlRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getVirtualAppointmentJoinWebUrl +// Get get a join web URL for a Teams Virtual Appointment. This web URL includes enhanced business-to-customer experiences such as mobile browser join and virtual lobby rooms. With Teams Premium, you can configure a custom lobby room experience for attendees by adding your company logo and access the Virtual Appointments usage report for organizational analytics. // Deprecated: This method is obsolete. Use GetAsGetVirtualAppointmentJoinWebUrlGetResponse instead. // returns a OnlineMeetingsWithJoinWebUrlGetVirtualAppointmentJoinWebUrlResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/virtualappointment-getvirtualappointmentjoinweburl?view=graph-rest-beta func (m *OnlineMeetingsWithJoinWebUrlGetVirtualAppointmentJoinWebUrlRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingsWithJoinWebUrlGetVirtualAppointmentJoinWebUrlRequestBuilderGetRequestConfiguration)(OnlineMeetingsWithJoinWebUrlGetVirtualAppointmentJoinWebUrlResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -51,9 +54,12 @@ func (m *OnlineMeetingsWithJoinWebUrlGetVirtualAppointmentJoinWebUrlRequestBuild } return res.(OnlineMeetingsWithJoinWebUrlGetVirtualAppointmentJoinWebUrlResponseable), nil } -// GetAsGetVirtualAppointmentJoinWebUrlGetResponse invoke function getVirtualAppointmentJoinWebUrl +// GetAsGetVirtualAppointmentJoinWebUrlGetResponse get a join web URL for a Teams Virtual Appointment. This web URL includes enhanced business-to-customer experiences such as mobile browser join and virtual lobby rooms. With Teams Premium, you can configure a custom lobby room experience for attendees by adding your company logo and access the Virtual Appointments usage report for organizational analytics. // returns a OnlineMeetingsWithJoinWebUrlGetVirtualAppointmentJoinWebUrlGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/virtualappointment-getvirtualappointmentjoinweburl?view=graph-rest-beta func (m *OnlineMeetingsWithJoinWebUrlGetVirtualAppointmentJoinWebUrlRequestBuilder) GetAsGetVirtualAppointmentJoinWebUrlGetResponse(ctx context.Context, requestConfiguration *OnlineMeetingsWithJoinWebUrlGetVirtualAppointmentJoinWebUrlRequestBuilderGetRequestConfiguration)(OnlineMeetingsWithJoinWebUrlGetVirtualAppointmentJoinWebUrlGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -71,7 +77,7 @@ func (m *OnlineMeetingsWithJoinWebUrlGetVirtualAppointmentJoinWebUrlRequestBuild } return res.(OnlineMeetingsWithJoinWebUrlGetVirtualAppointmentJoinWebUrlGetResponseable), nil } -// ToGetRequestInformation invoke function getVirtualAppointmentJoinWebUrl +// ToGetRequestInformation get a join web URL for a Teams Virtual Appointment. This web URL includes enhanced business-to-customer experiences such as mobile browser join and virtual lobby rooms. With Teams Premium, you can configure a custom lobby room experience for attendees by adding your company logo and access the Virtual Appointments usage report for organizational analytics. // returns a *RequestInformation when successful func (m *OnlineMeetingsWithJoinWebUrlGetVirtualAppointmentJoinWebUrlRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingsWithJoinWebUrlGetVirtualAppointmentJoinWebUrlRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/communications/online_meetings_with_join_web_url_send_virtual_appointment_reminder_sms_request_builder.go b/communications/online_meetings_with_join_web_url_send_virtual_appointment_reminder_sms_request_builder.go index 30f134d4c6f..cf8207c7410 100644 --- a/communications/online_meetings_with_join_web_url_send_virtual_appointment_reminder_sms_request_builder.go +++ b/communications/online_meetings_with_join_web_url_send_virtual_appointment_reminder_sms_request_builder.go @@ -34,7 +34,7 @@ func NewOnlineMeetingsWithJoinWebUrlSendVirtualAppointmentReminderSmsRequestBuil // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/virtualappointment-sendvirtualappointmentremindersms?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/virtualappointment-sendvirtualappointmentremindersms?view=graph-rest-beta func (m *OnlineMeetingsWithJoinWebUrlSendVirtualAppointmentReminderSmsRequestBuilder) Post(ctx context.Context, body OnlineMeetingsWithJoinWebUrlSendVirtualAppointmentReminderSmsPostRequestBodyable, requestConfiguration *OnlineMeetingsWithJoinWebUrlSendVirtualAppointmentReminderSmsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/communications/online_meetings_with_join_web_url_send_virtual_appointment_sms_request_builder.go b/communications/online_meetings_with_join_web_url_send_virtual_appointment_sms_request_builder.go index bf559f7e0ae..56e312a03d0 100644 --- a/communications/online_meetings_with_join_web_url_send_virtual_appointment_sms_request_builder.go +++ b/communications/online_meetings_with_join_web_url_send_virtual_appointment_sms_request_builder.go @@ -34,7 +34,7 @@ func NewOnlineMeetingsWithJoinWebUrlSendVirtualAppointmentSmsRequestBuilder(rawU // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/virtualappointment-sendvirtualappointmentsms?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/virtualappointment-sendvirtualappointmentsms?view=graph-rest-beta func (m *OnlineMeetingsWithJoinWebUrlSendVirtualAppointmentSmsRequestBuilder) Post(ctx context.Context, body OnlineMeetingsWithJoinWebUrlSendVirtualAppointmentSmsPostRequestBodyable, requestConfiguration *OnlineMeetingsWithJoinWebUrlSendVirtualAppointmentSmsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/communications/presences_item_clear_presence_request_builder.go b/communications/presences_item_clear_presence_request_builder.go index 6c82df837dd..208e1a88356 100644 --- a/communications/presences_item_clear_presence_request_builder.go +++ b/communications/presences_item_clear_presence_request_builder.go @@ -34,7 +34,7 @@ func NewPresencesItemClearPresenceRequestBuilder(rawUrl string, requestAdapter i // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/presence-clearpresence?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/presence-clearpresence?view=graph-rest-beta func (m *PresencesItemClearPresenceRequestBuilder) Post(ctx context.Context, body PresencesItemClearPresencePostRequestBodyable, requestConfiguration *PresencesItemClearPresenceRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/communications/presences_item_clear_user_preferred_presence_request_builder.go b/communications/presences_item_clear_user_preferred_presence_request_builder.go index 3e808804784..fbf6df4418e 100644 --- a/communications/presences_item_clear_user_preferred_presence_request_builder.go +++ b/communications/presences_item_clear_user_preferred_presence_request_builder.go @@ -34,7 +34,7 @@ func NewPresencesItemClearUserPreferredPresenceRequestBuilder(rawUrl string, req // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/presence-clearuserpreferredpresence?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/presence-clearuserpreferredpresence?view=graph-rest-beta func (m *PresencesItemClearUserPreferredPresenceRequestBuilder) Post(ctx context.Context, requestConfiguration *PresencesItemClearUserPreferredPresenceRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/communications/presences_item_set_presence_request_builder.go b/communications/presences_item_set_presence_request_builder.go index 1e957b9251f..359dfab45ff 100644 --- a/communications/presences_item_set_presence_request_builder.go +++ b/communications/presences_item_set_presence_request_builder.go @@ -34,7 +34,7 @@ func NewPresencesItemSetPresenceRequestBuilder(rawUrl string, requestAdapter i2a // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/presence-setpresence?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/presence-setpresence?view=graph-rest-beta func (m *PresencesItemSetPresenceRequestBuilder) Post(ctx context.Context, body PresencesItemSetPresencePostRequestBodyable, requestConfiguration *PresencesItemSetPresenceRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/communications/presences_item_set_status_message_request_builder.go b/communications/presences_item_set_status_message_request_builder.go index 5db768855b9..eeaaf239455 100644 --- a/communications/presences_item_set_status_message_request_builder.go +++ b/communications/presences_item_set_status_message_request_builder.go @@ -34,7 +34,7 @@ func NewPresencesItemSetStatusMessageRequestBuilder(rawUrl string, requestAdapte // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/presence-setstatusmessage?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/presence-setstatusmessage?view=graph-rest-beta func (m *PresencesItemSetStatusMessageRequestBuilder) Post(ctx context.Context, body PresencesItemSetStatusMessagePostRequestBodyable, requestConfiguration *PresencesItemSetStatusMessageRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/communications/presences_item_set_user_preferred_presence_request_builder.go b/communications/presences_item_set_user_preferred_presence_request_builder.go index ca949e2aa8e..5510c9a2c71 100644 --- a/communications/presences_item_set_user_preferred_presence_request_builder.go +++ b/communications/presences_item_set_user_preferred_presence_request_builder.go @@ -34,7 +34,7 @@ func NewPresencesItemSetUserPreferredPresenceRequestBuilder(rawUrl string, reque // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/presence-setuserpreferredpresence?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/presence-setuserpreferredpresence?view=graph-rest-beta func (m *PresencesItemSetUserPreferredPresenceRequestBuilder) Post(ctx context.Context, body PresencesItemSetUserPreferredPresencePostRequestBodyable, requestConfiguration *PresencesItemSetUserPreferredPresenceRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/communications/presences_presence_item_request_builder.go b/communications/presences_presence_item_request_builder.go index 2eb75199d4d..5bff6d7b2e7 100644 --- a/communications/presences_presence_item_request_builder.go +++ b/communications/presences_presence_item_request_builder.go @@ -18,7 +18,7 @@ type PresencesPresenceItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// PresencesPresenceItemRequestBuilderGetQueryParameters get a user's presence information. +// PresencesPresenceItemRequestBuilderGetQueryParameters get presences from communications type PresencesPresenceItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -80,12 +80,9 @@ func (m *PresencesPresenceItemRequestBuilder) Delete(ctx context.Context, reques } return nil } -// Get get a user's presence information. +// Get get presences from communications // returns a Presenceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/presence-get?view=graph-rest-1.0 func (m *PresencesPresenceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *PresencesPresenceItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Presenceable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -149,7 +146,7 @@ func (m *PresencesPresenceItemRequestBuilder) ToDeleteRequestInformation(ctx con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a user's presence information. +// ToGetRequestInformation get presences from communications // returns a *RequestInformation when successful func (m *PresencesPresenceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PresencesPresenceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/communications/presences_request_builder.go b/communications/presences_request_builder.go index 06d22e16dd7..3ba724fcd75 100644 --- a/communications/presences_request_builder.go +++ b/communications/presences_request_builder.go @@ -11,7 +11,7 @@ import ( type PresencesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// PresencesRequestBuilderGetQueryParameters get a user's presence information. +// PresencesRequestBuilderGetQueryParameters get presences from communications type PresencesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewPresencesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee2633 func (m *PresencesRequestBuilder) Count()(*PresencesCountRequestBuilder) { return NewPresencesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a user's presence information. +// Get get presences from communications // returns a PresenceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *PresencesRequestBuilder) Get(ctx context.Context, requestConfiguration *PresencesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PresenceCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *PresencesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Presenceable), nil } -// ToGetRequestInformation get a user's presence information. +// ToGetRequestInformation get presences from communications // returns a *RequestInformation when successful func (m *PresencesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PresencesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/compliance/ediscovery_cases_case_item_request_builder.go b/compliance/ediscovery_cases_case_item_request_builder.go index 7159883cc02..2e3744d7b40 100644 --- a/compliance/ediscovery_cases_case_item_request_builder.go +++ b/compliance/ediscovery_cases_case_item_request_builder.go @@ -18,7 +18,7 @@ type EdiscoveryCasesCaseItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EdiscoveryCasesCaseItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a case object. +// EdiscoveryCasesCaseItemRequestBuilderGetQueryParameters get cases from compliance type EdiscoveryCasesCaseItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,12 +59,9 @@ func NewEdiscoveryCasesCaseItemRequestBuilder(rawUrl string, requestAdapter i2ae func (m *EdiscoveryCasesCaseItemRequestBuilder) Custodians()(*EdiscoveryCasesItemCustodiansRequestBuilder) { return NewEdiscoveryCasesItemCustodiansRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Delete delete a case object. +// Delete delete navigation property cases for compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-case-delete?view=graph-rest-1.0 func (m *EdiscoveryCasesCaseItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *EdiscoveryCasesCaseItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -79,13 +76,10 @@ func (m *EdiscoveryCasesCaseItemRequestBuilder) Delete(ctx context.Context, requ } return nil } -// Get retrieve the properties and relationships of a case object. +// Get get cases from compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a CaseEscapedable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-case-get?view=graph-rest-1.0 func (m *EdiscoveryCasesCaseItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EdiscoveryCasesCaseItemRequestBuilderGetRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.CaseEscapedable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -128,13 +122,10 @@ func (m *EdiscoveryCasesCaseItemRequestBuilder) NoncustodialDataSources()(*Edisc func (m *EdiscoveryCasesCaseItemRequestBuilder) Operations()(*EdiscoveryCasesItemOperationsRequestBuilder) { return NewEdiscoveryCasesItemOperationsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of a case object. +// Patch update the navigation property cases in compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a CaseEscapedable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-case-update?view=graph-rest-1.0 func (m *EdiscoveryCasesCaseItemRequestBuilder) Patch(ctx context.Context, body ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.CaseEscapedable, requestConfiguration *EdiscoveryCasesCaseItemRequestBuilderPatchRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.CaseEscapedable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -172,7 +163,7 @@ func (m *EdiscoveryCasesCaseItemRequestBuilder) SourceCollections()(*EdiscoveryC func (m *EdiscoveryCasesCaseItemRequestBuilder) Tags()(*EdiscoveryCasesItemTagsRequestBuilder) { return NewEdiscoveryCasesItemTagsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a case object. +// ToDeleteRequestInformation delete navigation property cases for compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesCaseItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *EdiscoveryCasesCaseItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -184,7 +175,7 @@ func (m *EdiscoveryCasesCaseItemRequestBuilder) ToDeleteRequestInformation(ctx c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a case object. +// ToGetRequestInformation get cases from compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesCaseItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EdiscoveryCasesCaseItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -199,7 +190,7 @@ func (m *EdiscoveryCasesCaseItemRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a case object. +// ToPatchRequestInformation update the navigation property cases in compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesCaseItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.CaseEscapedable, requestConfiguration *EdiscoveryCasesCaseItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/compliance/ediscovery_cases_item_custodians_custodian_item_request_builder.go b/compliance/ediscovery_cases_item_custodians_custodian_item_request_builder.go index 0c736718ace..eff90183c89 100644 --- a/compliance/ediscovery_cases_item_custodians_custodian_item_request_builder.go +++ b/compliance/ediscovery_cases_item_custodians_custodian_item_request_builder.go @@ -18,7 +18,7 @@ type EdiscoveryCasesItemCustodiansCustodianItemRequestBuilderDeleteRequestConfig // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EdiscoveryCasesItemCustodiansCustodianItemRequestBuilderGetQueryParameters read the properties and relationships of a custodian object. +// EdiscoveryCasesItemCustodiansCustodianItemRequestBuilderGetQueryParameters returns a list of case custodian objects for this case. Nullable. type EdiscoveryCasesItemCustodiansCustodianItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -71,13 +71,10 @@ func (m *EdiscoveryCasesItemCustodiansCustodianItemRequestBuilder) Delete(ctx co } return nil } -// Get read the properties and relationships of a custodian object. +// Get returns a list of case custodian objects for this case. Nullable. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a Custodianable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-custodian-get?view=graph-rest-1.0 func (m *EdiscoveryCasesItemCustodiansCustodianItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EdiscoveryCasesItemCustodiansCustodianItemRequestBuilderGetRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.Custodianable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -125,13 +122,10 @@ func (m *EdiscoveryCasesItemCustodiansCustodianItemRequestBuilder) MicrosoftGrap func (m *EdiscoveryCasesItemCustodiansCustodianItemRequestBuilder) MicrosoftGraphEdiscoveryUpdateIndex()(*EdiscoveryCasesItemCustodiansItemMicrosoftGraphEdiscoveryUpdateIndexRequestBuilder) { return NewEdiscoveryCasesItemCustodiansItemMicrosoftGraphEdiscoveryUpdateIndexRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of a custodian object. +// Patch update the navigation property custodians in compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a Custodianable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-custodian-update?view=graph-rest-1.0 func (m *EdiscoveryCasesItemCustodiansCustodianItemRequestBuilder) Patch(ctx context.Context, body ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.Custodianable, requestConfiguration *EdiscoveryCasesItemCustodiansCustodianItemRequestBuilderPatchRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.Custodianable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -166,7 +160,7 @@ func (m *EdiscoveryCasesItemCustodiansCustodianItemRequestBuilder) ToDeleteReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a custodian object. +// ToGetRequestInformation returns a list of case custodian objects for this case. Nullable. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemCustodiansCustodianItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EdiscoveryCasesItemCustodiansCustodianItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -181,7 +175,7 @@ func (m *EdiscoveryCasesItemCustodiansCustodianItemRequestBuilder) ToGetRequestI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a custodian object. +// ToPatchRequestInformation update the navigation property custodians in compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemCustodiansCustodianItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.Custodianable, requestConfiguration *EdiscoveryCasesItemCustodiansCustodianItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/compliance/ediscovery_cases_item_custodians_item_microsoft_graph_ediscovery_activate_request_builder.go b/compliance/ediscovery_cases_item_custodians_item_microsoft_graph_ediscovery_activate_request_builder.go index a1c83b5566b..e4da290d5ba 100644 --- a/compliance/ediscovery_cases_item_custodians_item_microsoft_graph_ediscovery_activate_request_builder.go +++ b/compliance/ediscovery_cases_item_custodians_item_microsoft_graph_ediscovery_activate_request_builder.go @@ -35,7 +35,7 @@ func NewEdiscoveryCasesItemCustodiansItemMicrosoftGraphEdiscoveryActivateRequest // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-custodian-activate?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-custodian-activate?view=graph-rest-beta func (m *EdiscoveryCasesItemCustodiansItemMicrosoftGraphEdiscoveryActivateRequestBuilder) Post(ctx context.Context, requestConfiguration *EdiscoveryCasesItemCustodiansItemMicrosoftGraphEdiscoveryActivateRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/compliance/ediscovery_cases_item_custodians_item_microsoft_graph_ediscovery_release_request_builder.go b/compliance/ediscovery_cases_item_custodians_item_microsoft_graph_ediscovery_release_request_builder.go index a861e6f8ab7..2dbc9c4e438 100644 --- a/compliance/ediscovery_cases_item_custodians_item_microsoft_graph_ediscovery_release_request_builder.go +++ b/compliance/ediscovery_cases_item_custodians_item_microsoft_graph_ediscovery_release_request_builder.go @@ -35,7 +35,7 @@ func NewEdiscoveryCasesItemCustodiansItemMicrosoftGraphEdiscoveryReleaseRequestB // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-custodian-release?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-custodian-release?view=graph-rest-beta func (m *EdiscoveryCasesItemCustodiansItemMicrosoftGraphEdiscoveryReleaseRequestBuilder) Post(ctx context.Context, requestConfiguration *EdiscoveryCasesItemCustodiansItemMicrosoftGraphEdiscoveryReleaseRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/compliance/ediscovery_cases_item_custodians_item_site_sources_request_builder.go b/compliance/ediscovery_cases_item_custodians_item_site_sources_request_builder.go index d4189b1ddce..d4e935c3210 100644 --- a/compliance/ediscovery_cases_item_custodians_item_site_sources_request_builder.go +++ b/compliance/ediscovery_cases_item_custodians_item_site_sources_request_builder.go @@ -11,7 +11,7 @@ import ( type EdiscoveryCasesItemCustodiansItemSiteSourcesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EdiscoveryCasesItemCustodiansItemSiteSourcesRequestBuilderGetQueryParameters get a list of siteSource objects and their properties. +// EdiscoveryCasesItemCustodiansItemSiteSourcesRequestBuilderGetQueryParameters data source entity for SharePoint sites associated with the custodian. type EdiscoveryCasesItemCustodiansItemSiteSourcesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -77,13 +77,10 @@ func NewEdiscoveryCasesItemCustodiansItemSiteSourcesRequestBuilder(rawUrl string func (m *EdiscoveryCasesItemCustodiansItemSiteSourcesRequestBuilder) Count()(*EdiscoveryCasesItemCustodiansItemSiteSourcesCountRequestBuilder) { return NewEdiscoveryCasesItemCustodiansItemSiteSourcesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of siteSource objects and their properties. +// Get data source entity for SharePoint sites associated with the custodian. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a SiteSourceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-custodian-list-sitesources?view=graph-rest-1.0 func (m *EdiscoveryCasesItemCustodiansItemSiteSourcesRequestBuilder) Get(ctx context.Context, requestConfiguration *EdiscoveryCasesItemCustodiansItemSiteSourcesRequestBuilderGetRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.SiteSourceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,13 +98,10 @@ func (m *EdiscoveryCasesItemCustodiansItemSiteSourcesRequestBuilder) Get(ctx con } return res.(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.SiteSourceCollectionResponseable), nil } -// Post create a new custodian siteSource object. +// Post create new navigation property to siteSources for compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a SiteSourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-custodian-post-sitesources?view=graph-rest-1.0 func (m *EdiscoveryCasesItemCustodiansItemSiteSourcesRequestBuilder) Post(ctx context.Context, body ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.SiteSourceable, requestConfiguration *EdiscoveryCasesItemCustodiansItemSiteSourcesRequestBuilderPostRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.SiteSourceable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *EdiscoveryCasesItemCustodiansItemSiteSourcesRequestBuilder) Post(ctx co } return res.(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.SiteSourceable), nil } -// ToGetRequestInformation get a list of siteSource objects and their properties. +// ToGetRequestInformation data source entity for SharePoint sites associated with the custodian. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemCustodiansItemSiteSourcesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EdiscoveryCasesItemCustodiansItemSiteSourcesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -140,7 +134,7 @@ func (m *EdiscoveryCasesItemCustodiansItemSiteSourcesRequestBuilder) ToGetReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new custodian siteSource object. +// ToPostRequestInformation create new navigation property to siteSources for compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemCustodiansItemSiteSourcesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.SiteSourceable, requestConfiguration *EdiscoveryCasesItemCustodiansItemSiteSourcesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/compliance/ediscovery_cases_item_custodians_item_site_sources_site_source_item_request_builder.go b/compliance/ediscovery_cases_item_custodians_item_site_sources_site_source_item_request_builder.go index 58d4c90151f..f60a47fc854 100644 --- a/compliance/ediscovery_cases_item_custodians_item_site_sources_site_source_item_request_builder.go +++ b/compliance/ediscovery_cases_item_custodians_item_site_sources_site_source_item_request_builder.go @@ -18,7 +18,7 @@ type EdiscoveryCasesItemCustodiansItemSiteSourcesSiteSourceItemRequestBuilderDel // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EdiscoveryCasesItemCustodiansItemSiteSourcesSiteSourceItemRequestBuilderGetQueryParameters read the properties and relationships of a siteSource object. +// EdiscoveryCasesItemCustodiansItemSiteSourcesSiteSourceItemRequestBuilderGetQueryParameters data source entity for SharePoint sites associated with the custodian. type EdiscoveryCasesItemCustodiansItemSiteSourcesSiteSourceItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,12 +54,9 @@ func NewEdiscoveryCasesItemCustodiansItemSiteSourcesSiteSourceItemRequestBuilder urlParams["request-raw-url"] = rawUrl return NewEdiscoveryCasesItemCustodiansItemSiteSourcesSiteSourceItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a siteSource object. +// Delete delete navigation property siteSources for compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-sitesource-delete?view=graph-rest-1.0 func (m *EdiscoveryCasesItemCustodiansItemSiteSourcesSiteSourceItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *EdiscoveryCasesItemCustodiansItemSiteSourcesSiteSourceItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -74,13 +71,10 @@ func (m *EdiscoveryCasesItemCustodiansItemSiteSourcesSiteSourceItemRequestBuilde } return nil } -// Get read the properties and relationships of a siteSource object. +// Get data source entity for SharePoint sites associated with the custodian. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a SiteSourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-sitesource-get?view=graph-rest-1.0 func (m *EdiscoveryCasesItemCustodiansItemSiteSourcesSiteSourceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EdiscoveryCasesItemCustodiansItemSiteSourcesSiteSourceItemRequestBuilderGetRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.SiteSourceable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +118,7 @@ func (m *EdiscoveryCasesItemCustodiansItemSiteSourcesSiteSourceItemRequestBuilde func (m *EdiscoveryCasesItemCustodiansItemSiteSourcesSiteSourceItemRequestBuilder) Site()(*EdiscoveryCasesItemCustodiansItemSiteSourcesItemSiteRequestBuilder) { return NewEdiscoveryCasesItemCustodiansItemSiteSourcesItemSiteRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a siteSource object. +// ToDeleteRequestInformation delete navigation property siteSources for compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemCustodiansItemSiteSourcesSiteSourceItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *EdiscoveryCasesItemCustodiansItemSiteSourcesSiteSourceItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -136,7 +130,7 @@ func (m *EdiscoveryCasesItemCustodiansItemSiteSourcesSiteSourceItemRequestBuilde requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a siteSource object. +// ToGetRequestInformation data source entity for SharePoint sites associated with the custodian. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemCustodiansItemSiteSourcesSiteSourceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EdiscoveryCasesItemCustodiansItemSiteSourcesSiteSourceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/compliance/ediscovery_cases_item_custodians_item_unified_group_sources_request_builder.go b/compliance/ediscovery_cases_item_custodians_item_unified_group_sources_request_builder.go index 7315f44bdec..de358fd1a54 100644 --- a/compliance/ediscovery_cases_item_custodians_item_unified_group_sources_request_builder.go +++ b/compliance/ediscovery_cases_item_custodians_item_unified_group_sources_request_builder.go @@ -11,7 +11,7 @@ import ( type EdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesRequestBuilderGetQueryParameters get a list of the unifiedGroupSource objects and their properties. +// EdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesRequestBuilderGetQueryParameters data source entity for groups associated with the custodian. type EdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -77,13 +77,10 @@ func NewEdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesRequestBuilder(rawUr func (m *EdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesRequestBuilder) Count()(*EdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesCountRequestBuilder) { return NewEdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the unifiedGroupSource objects and their properties. +// Get data source entity for groups associated with the custodian. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a UnifiedGroupSourceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-custodian-list-unifiedgroupsources?view=graph-rest-1.0 func (m *EdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesRequestBuilder) Get(ctx context.Context, requestConfiguration *EdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesRequestBuilderGetRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.UnifiedGroupSourceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,13 +98,10 @@ func (m *EdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesRequestBuilder) Get } return res.(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.UnifiedGroupSourceCollectionResponseable), nil } -// Post create a new unifiedGroupSource object. +// Post create new navigation property to unifiedGroupSources for compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a UnifiedGroupSourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-custodian-post-unifiedgroupsources?view=graph-rest-1.0 func (m *EdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesRequestBuilder) Post(ctx context.Context, body ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.UnifiedGroupSourceable, requestConfiguration *EdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesRequestBuilderPostRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.UnifiedGroupSourceable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *EdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesRequestBuilder) Pos } return res.(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.UnifiedGroupSourceable), nil } -// ToGetRequestInformation get a list of the unifiedGroupSource objects and their properties. +// ToGetRequestInformation data source entity for groups associated with the custodian. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -140,7 +134,7 @@ func (m *EdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesRequestBuilder) ToG requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new unifiedGroupSource object. +// ToPostRequestInformation create new navigation property to unifiedGroupSources for compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.UnifiedGroupSourceable, requestConfiguration *EdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/compliance/ediscovery_cases_item_custodians_item_unified_group_sources_unified_group_source_item_request_builder.go b/compliance/ediscovery_cases_item_custodians_item_unified_group_sources_unified_group_source_item_request_builder.go index 9db73ed0f04..c14f276c438 100644 --- a/compliance/ediscovery_cases_item_custodians_item_unified_group_sources_unified_group_source_item_request_builder.go +++ b/compliance/ediscovery_cases_item_custodians_item_unified_group_sources_unified_group_source_item_request_builder.go @@ -18,7 +18,7 @@ type EdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesUnifiedGroupSourceItemR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesUnifiedGroupSourceItemRequestBuilderGetQueryParameters read the properties and relationships of a unifiedGroupSource object. +// EdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesUnifiedGroupSourceItemRequestBuilderGetQueryParameters data source entity for groups associated with the custodian. type EdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesUnifiedGroupSourceItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,12 +54,9 @@ func NewEdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesUnifiedGroupSourceIt urlParams["request-raw-url"] = rawUrl return NewEdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesUnifiedGroupSourceItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a unifiedGroupSource object. +// Delete delete navigation property unifiedGroupSources for compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-unifiedgroupsource-delete?view=graph-rest-1.0 func (m *EdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesUnifiedGroupSourceItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *EdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesUnifiedGroupSourceItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -74,13 +71,10 @@ func (m *EdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesUnifiedGroupSourceI } return nil } -// Get read the properties and relationships of a unifiedGroupSource object. +// Get data source entity for groups associated with the custodian. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a UnifiedGroupSourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-unifiedgroupsource-get?view=graph-rest-1.0 func (m *EdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesUnifiedGroupSourceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesUnifiedGroupSourceItemRequestBuilderGetRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.UnifiedGroupSourceable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +118,7 @@ func (m *EdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesUnifiedGroupSourceI } return res.(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.UnifiedGroupSourceable), nil } -// ToDeleteRequestInformation delete a unifiedGroupSource object. +// ToDeleteRequestInformation delete navigation property unifiedGroupSources for compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesUnifiedGroupSourceItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *EdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesUnifiedGroupSourceItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -136,7 +130,7 @@ func (m *EdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesUnifiedGroupSourceI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a unifiedGroupSource object. +// ToGetRequestInformation data source entity for groups associated with the custodian. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesUnifiedGroupSourceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesUnifiedGroupSourceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/compliance/ediscovery_cases_item_custodians_item_user_sources_request_builder.go b/compliance/ediscovery_cases_item_custodians_item_user_sources_request_builder.go index c6427fd4bf8..39acf58d197 100644 --- a/compliance/ediscovery_cases_item_custodians_item_user_sources_request_builder.go +++ b/compliance/ediscovery_cases_item_custodians_item_user_sources_request_builder.go @@ -11,7 +11,7 @@ import ( type EdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilderGetQueryParameters get a list of the userSource objects and their properties. +// EdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilderGetQueryParameters data source entity for a the custodian. This is the container for a custodian's mailbox and OneDrive for Business site. type EdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -77,13 +77,10 @@ func NewEdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilder(rawUrl string func (m *EdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilder) Count()(*EdiscoveryCasesItemCustodiansItemUserSourcesCountRequestBuilder) { return NewEdiscoveryCasesItemCustodiansItemUserSourcesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the userSource objects and their properties. +// Get data source entity for a the custodian. This is the container for a custodian's mailbox and OneDrive for Business site. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a UserSourceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-custodian-list-usersources?view=graph-rest-1.0 func (m *EdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilder) Get(ctx context.Context, requestConfiguration *EdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilderGetRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.UserSourceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,13 +98,10 @@ func (m *EdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilder) Get(ctx con } return res.(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.UserSourceCollectionResponseable), nil } -// Post create a new custodian userSource object. +// Post create new navigation property to userSources for compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a UserSourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-custodian-post-usersources?view=graph-rest-1.0 func (m *EdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilder) Post(ctx context.Context, body ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.UserSourceable, requestConfiguration *EdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilderPostRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.UserSourceable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *EdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilder) Post(ctx co } return res.(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.UserSourceable), nil } -// ToGetRequestInformation get a list of the userSource objects and their properties. +// ToGetRequestInformation data source entity for a the custodian. This is the container for a custodian's mailbox and OneDrive for Business site. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -140,7 +134,7 @@ func (m *EdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilder) ToGetReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new custodian userSource object. +// ToPostRequestInformation create new navigation property to userSources for compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.UserSourceable, requestConfiguration *EdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/compliance/ediscovery_cases_item_custodians_item_user_sources_user_source_item_request_builder.go b/compliance/ediscovery_cases_item_custodians_item_user_sources_user_source_item_request_builder.go index 933edf32890..50cda4c3ac5 100644 --- a/compliance/ediscovery_cases_item_custodians_item_user_sources_user_source_item_request_builder.go +++ b/compliance/ediscovery_cases_item_custodians_item_user_sources_user_source_item_request_builder.go @@ -18,7 +18,7 @@ type EdiscoveryCasesItemCustodiansItemUserSourcesUserSourceItemRequestBuilderDel // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EdiscoveryCasesItemCustodiansItemUserSourcesUserSourceItemRequestBuilderGetQueryParameters read the properties and relationships of a userSource object. +// EdiscoveryCasesItemCustodiansItemUserSourcesUserSourceItemRequestBuilderGetQueryParameters data source entity for a the custodian. This is the container for a custodian's mailbox and OneDrive for Business site. type EdiscoveryCasesItemCustodiansItemUserSourcesUserSourceItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,12 +54,9 @@ func NewEdiscoveryCasesItemCustodiansItemUserSourcesUserSourceItemRequestBuilder urlParams["request-raw-url"] = rawUrl return NewEdiscoveryCasesItemCustodiansItemUserSourcesUserSourceItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a userSource object. +// Delete delete navigation property userSources for compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-usersource-delete?view=graph-rest-1.0 func (m *EdiscoveryCasesItemCustodiansItemUserSourcesUserSourceItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *EdiscoveryCasesItemCustodiansItemUserSourcesUserSourceItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -74,13 +71,10 @@ func (m *EdiscoveryCasesItemCustodiansItemUserSourcesUserSourceItemRequestBuilde } return nil } -// Get read the properties and relationships of a userSource object. +// Get data source entity for a the custodian. This is the container for a custodian's mailbox and OneDrive for Business site. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a UserSourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-usersource-get?view=graph-rest-1.0 func (m *EdiscoveryCasesItemCustodiansItemUserSourcesUserSourceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EdiscoveryCasesItemCustodiansItemUserSourcesUserSourceItemRequestBuilderGetRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.UserSourceable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +113,7 @@ func (m *EdiscoveryCasesItemCustodiansItemUserSourcesUserSourceItemRequestBuilde } return res.(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.UserSourceable), nil } -// ToDeleteRequestInformation delete a userSource object. +// ToDeleteRequestInformation delete navigation property userSources for compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemCustodiansItemUserSourcesUserSourceItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *EdiscoveryCasesItemCustodiansItemUserSourcesUserSourceItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -131,7 +125,7 @@ func (m *EdiscoveryCasesItemCustodiansItemUserSourcesUserSourceItemRequestBuilde requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a userSource object. +// ToGetRequestInformation data source entity for a the custodian. This is the container for a custodian's mailbox and OneDrive for Business site. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemCustodiansItemUserSourcesUserSourceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EdiscoveryCasesItemCustodiansItemUserSourcesUserSourceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/compliance/ediscovery_cases_item_custodians_request_builder.go b/compliance/ediscovery_cases_item_custodians_request_builder.go index f20cc8f3d90..b512291330c 100644 --- a/compliance/ediscovery_cases_item_custodians_request_builder.go +++ b/compliance/ediscovery_cases_item_custodians_request_builder.go @@ -11,7 +11,7 @@ import ( type EdiscoveryCasesItemCustodiansRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EdiscoveryCasesItemCustodiansRequestBuilderGetQueryParameters get a list of the custodian objects and their properties. +// EdiscoveryCasesItemCustodiansRequestBuilderGetQueryParameters returns a list of case custodian objects for this case. Nullable. type EdiscoveryCasesItemCustodiansRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -77,13 +77,10 @@ func NewEdiscoveryCasesItemCustodiansRequestBuilder(rawUrl string, requestAdapte func (m *EdiscoveryCasesItemCustodiansRequestBuilder) Count()(*EdiscoveryCasesItemCustodiansCountRequestBuilder) { return NewEdiscoveryCasesItemCustodiansCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the custodian objects and their properties. +// Get returns a list of case custodian objects for this case. Nullable. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a CustodianCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-case-list-custodians?view=graph-rest-1.0 func (m *EdiscoveryCasesItemCustodiansRequestBuilder) Get(ctx context.Context, requestConfiguration *EdiscoveryCasesItemCustodiansRequestBuilderGetRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.CustodianCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -111,13 +108,10 @@ func (m *EdiscoveryCasesItemCustodiansRequestBuilder) MicrosoftGraphEdiscoveryAp func (m *EdiscoveryCasesItemCustodiansRequestBuilder) MicrosoftGraphEdiscoveryRemoveHold()(*EdiscoveryCasesItemCustodiansMicrosoftGraphEdiscoveryRemoveHoldRequestBuilder) { return NewEdiscoveryCasesItemCustodiansMicrosoftGraphEdiscoveryRemoveHoldRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Post create a new custodian object. After the custodian object is created, you will need to create the custodian's userSource to reference their mailbox and OneDrive for Business site. +// Post create new navigation property to custodians for compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a Custodianable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-case-post-custodians?view=graph-rest-1.0 func (m *EdiscoveryCasesItemCustodiansRequestBuilder) Post(ctx context.Context, body ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.Custodianable, requestConfiguration *EdiscoveryCasesItemCustodiansRequestBuilderPostRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.Custodianable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -135,7 +129,7 @@ func (m *EdiscoveryCasesItemCustodiansRequestBuilder) Post(ctx context.Context, } return res.(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.Custodianable), nil } -// ToGetRequestInformation get a list of the custodian objects and their properties. +// ToGetRequestInformation returns a list of case custodian objects for this case. Nullable. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemCustodiansRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EdiscoveryCasesItemCustodiansRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -150,7 +144,7 @@ func (m *EdiscoveryCasesItemCustodiansRequestBuilder) ToGetRequestInformation(ct requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new custodian object. After the custodian object is created, you will need to create the custodian's userSource to reference their mailbox and OneDrive for Business site. +// ToPostRequestInformation create new navigation property to custodians for compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemCustodiansRequestBuilder) ToPostRequestInformation(ctx context.Context, body ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.Custodianable, requestConfiguration *EdiscoveryCasesItemCustodiansRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/compliance/ediscovery_cases_item_legal_holds_item_site_sources_request_builder.go b/compliance/ediscovery_cases_item_legal_holds_item_site_sources_request_builder.go index 77cdc20ca74..e014972f50a 100644 --- a/compliance/ediscovery_cases_item_legal_holds_item_site_sources_request_builder.go +++ b/compliance/ediscovery_cases_item_legal_holds_item_site_sources_request_builder.go @@ -11,7 +11,7 @@ import ( type EdiscoveryCasesItemLegalHoldsItemSiteSourcesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EdiscoveryCasesItemLegalHoldsItemSiteSourcesRequestBuilderGetQueryParameters get the list of siteSource objecs associated with a legal hold. +// EdiscoveryCasesItemLegalHoldsItemSiteSourcesRequestBuilderGetQueryParameters data source entity for SharePoint sites associated with the legal hold. type EdiscoveryCasesItemLegalHoldsItemSiteSourcesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -77,13 +77,10 @@ func NewEdiscoveryCasesItemLegalHoldsItemSiteSourcesRequestBuilder(rawUrl string func (m *EdiscoveryCasesItemLegalHoldsItemSiteSourcesRequestBuilder) Count()(*EdiscoveryCasesItemLegalHoldsItemSiteSourcesCountRequestBuilder) { return NewEdiscoveryCasesItemLegalHoldsItemSiteSourcesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of siteSource objecs associated with a legal hold. +// Get data source entity for SharePoint sites associated with the legal hold. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a SiteSourceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-legalhold-list-sitesources?view=graph-rest-1.0 func (m *EdiscoveryCasesItemLegalHoldsItemSiteSourcesRequestBuilder) Get(ctx context.Context, requestConfiguration *EdiscoveryCasesItemLegalHoldsItemSiteSourcesRequestBuilderGetRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.SiteSourceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,13 +98,10 @@ func (m *EdiscoveryCasesItemLegalHoldsItemSiteSourcesRequestBuilder) Get(ctx con } return res.(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.SiteSourceCollectionResponseable), nil } -// Post adds a siteSource to a legalHold object. +// Post create new navigation property to siteSources for compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a SiteSourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-legalhold-post-sitesources?view=graph-rest-1.0 func (m *EdiscoveryCasesItemLegalHoldsItemSiteSourcesRequestBuilder) Post(ctx context.Context, body ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.SiteSourceable, requestConfiguration *EdiscoveryCasesItemLegalHoldsItemSiteSourcesRequestBuilderPostRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.SiteSourceable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *EdiscoveryCasesItemLegalHoldsItemSiteSourcesRequestBuilder) Post(ctx co } return res.(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.SiteSourceable), nil } -// ToGetRequestInformation get the list of siteSource objecs associated with a legal hold. +// ToGetRequestInformation data source entity for SharePoint sites associated with the legal hold. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemLegalHoldsItemSiteSourcesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EdiscoveryCasesItemLegalHoldsItemSiteSourcesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -140,7 +134,7 @@ func (m *EdiscoveryCasesItemLegalHoldsItemSiteSourcesRequestBuilder) ToGetReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation adds a siteSource to a legalHold object. +// ToPostRequestInformation create new navigation property to siteSources for compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemLegalHoldsItemSiteSourcesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.SiteSourceable, requestConfiguration *EdiscoveryCasesItemLegalHoldsItemSiteSourcesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/compliance/ediscovery_cases_item_legal_holds_item_user_sources_request_builder.go b/compliance/ediscovery_cases_item_legal_holds_item_user_sources_request_builder.go index 8e4b99bc33d..4d6b863a95b 100644 --- a/compliance/ediscovery_cases_item_legal_holds_item_user_sources_request_builder.go +++ b/compliance/ediscovery_cases_item_legal_holds_item_user_sources_request_builder.go @@ -11,7 +11,7 @@ import ( type EdiscoveryCasesItemLegalHoldsItemUserSourcesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EdiscoveryCasesItemLegalHoldsItemUserSourcesRequestBuilderGetQueryParameters get the list of userSource objects associated with a legal hold. +// EdiscoveryCasesItemLegalHoldsItemUserSourcesRequestBuilderGetQueryParameters data source entity for a the legal hold. This is the container for a mailbox and OneDrive for Business site. type EdiscoveryCasesItemLegalHoldsItemUserSourcesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -77,13 +77,10 @@ func NewEdiscoveryCasesItemLegalHoldsItemUserSourcesRequestBuilder(rawUrl string func (m *EdiscoveryCasesItemLegalHoldsItemUserSourcesRequestBuilder) Count()(*EdiscoveryCasesItemLegalHoldsItemUserSourcesCountRequestBuilder) { return NewEdiscoveryCasesItemLegalHoldsItemUserSourcesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of userSource objects associated with a legal hold. +// Get data source entity for a the legal hold. This is the container for a mailbox and OneDrive for Business site. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a UserSourceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-legalhold-list-usersources?view=graph-rest-1.0 func (m *EdiscoveryCasesItemLegalHoldsItemUserSourcesRequestBuilder) Get(ctx context.Context, requestConfiguration *EdiscoveryCasesItemLegalHoldsItemUserSourcesRequestBuilderGetRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.UserSourceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,13 +98,10 @@ func (m *EdiscoveryCasesItemLegalHoldsItemUserSourcesRequestBuilder) Get(ctx con } return res.(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.UserSourceCollectionResponseable), nil } -// Post adds a userSource to a legalHold object. +// Post create new navigation property to userSources for compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a UserSourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-legalhold-post-usersources?view=graph-rest-1.0 func (m *EdiscoveryCasesItemLegalHoldsItemUserSourcesRequestBuilder) Post(ctx context.Context, body ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.UserSourceable, requestConfiguration *EdiscoveryCasesItemLegalHoldsItemUserSourcesRequestBuilderPostRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.UserSourceable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *EdiscoveryCasesItemLegalHoldsItemUserSourcesRequestBuilder) Post(ctx co } return res.(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.UserSourceable), nil } -// ToGetRequestInformation get the list of userSource objects associated with a legal hold. +// ToGetRequestInformation data source entity for a the legal hold. This is the container for a mailbox and OneDrive for Business site. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemLegalHoldsItemUserSourcesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EdiscoveryCasesItemLegalHoldsItemUserSourcesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -140,7 +134,7 @@ func (m *EdiscoveryCasesItemLegalHoldsItemUserSourcesRequestBuilder) ToGetReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation adds a userSource to a legalHold object. +// ToPostRequestInformation create new navigation property to userSources for compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemLegalHoldsItemUserSourcesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.UserSourceable, requestConfiguration *EdiscoveryCasesItemLegalHoldsItemUserSourcesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/compliance/ediscovery_cases_item_legal_holds_legal_hold_item_request_builder.go b/compliance/ediscovery_cases_item_legal_holds_legal_hold_item_request_builder.go index 404c44344c2..1b9ee09ba8f 100644 --- a/compliance/ediscovery_cases_item_legal_holds_legal_hold_item_request_builder.go +++ b/compliance/ediscovery_cases_item_legal_holds_legal_hold_item_request_builder.go @@ -18,7 +18,7 @@ type EdiscoveryCasesItemLegalHoldsLegalHoldItemRequestBuilderDeleteRequestConfig // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EdiscoveryCasesItemLegalHoldsLegalHoldItemRequestBuilderGetQueryParameters read the properties and relationships of a legalHold object. +// EdiscoveryCasesItemLegalHoldsLegalHoldItemRequestBuilderGetQueryParameters returns a list of case legalHold objects for this case. Nullable. type EdiscoveryCasesItemLegalHoldsLegalHoldItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,12 +54,9 @@ func NewEdiscoveryCasesItemLegalHoldsLegalHoldItemRequestBuilder(rawUrl string, urlParams["request-raw-url"] = rawUrl return NewEdiscoveryCasesItemLegalHoldsLegalHoldItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a legalHold object. +// Delete delete navigation property legalHolds for compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-legalhold-delete?view=graph-rest-1.0 func (m *EdiscoveryCasesItemLegalHoldsLegalHoldItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *EdiscoveryCasesItemLegalHoldsLegalHoldItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -74,13 +71,10 @@ func (m *EdiscoveryCasesItemLegalHoldsLegalHoldItemRequestBuilder) Delete(ctx co } return nil } -// Get read the properties and relationships of a legalHold object. +// Get returns a list of case legalHold objects for this case. Nullable. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a LegalHoldable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-legalhold-get?view=graph-rest-1.0 func (m *EdiscoveryCasesItemLegalHoldsLegalHoldItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EdiscoveryCasesItemLegalHoldsLegalHoldItemRequestBuilderGetRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.LegalHoldable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,13 +92,10 @@ func (m *EdiscoveryCasesItemLegalHoldsLegalHoldItemRequestBuilder) Get(ctx conte } return res.(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.LegalHoldable), nil } -// Patch update the properties of a legalHold object. +// Patch update the navigation property legalHolds in compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a LegalHoldable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-legalhold-update?view=graph-rest-1.0 func (m *EdiscoveryCasesItemLegalHoldsLegalHoldItemRequestBuilder) Patch(ctx context.Context, body ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.LegalHoldable, requestConfiguration *EdiscoveryCasesItemLegalHoldsLegalHoldItemRequestBuilderPatchRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.LegalHoldable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +118,7 @@ func (m *EdiscoveryCasesItemLegalHoldsLegalHoldItemRequestBuilder) Patch(ctx con func (m *EdiscoveryCasesItemLegalHoldsLegalHoldItemRequestBuilder) SiteSources()(*EdiscoveryCasesItemLegalHoldsItemSiteSourcesRequestBuilder) { return NewEdiscoveryCasesItemLegalHoldsItemSiteSourcesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a legalHold object. +// ToDeleteRequestInformation delete navigation property legalHolds for compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemLegalHoldsLegalHoldItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *EdiscoveryCasesItemLegalHoldsLegalHoldItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -139,7 +130,7 @@ func (m *EdiscoveryCasesItemLegalHoldsLegalHoldItemRequestBuilder) ToDeleteReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a legalHold object. +// ToGetRequestInformation returns a list of case legalHold objects for this case. Nullable. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemLegalHoldsLegalHoldItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EdiscoveryCasesItemLegalHoldsLegalHoldItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -154,7 +145,7 @@ func (m *EdiscoveryCasesItemLegalHoldsLegalHoldItemRequestBuilder) ToGetRequestI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a legalHold object. +// ToPatchRequestInformation update the navigation property legalHolds in compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemLegalHoldsLegalHoldItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.LegalHoldable, requestConfiguration *EdiscoveryCasesItemLegalHoldsLegalHoldItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/compliance/ediscovery_cases_item_legal_holds_request_builder.go b/compliance/ediscovery_cases_item_legal_holds_request_builder.go index a46a3808a3b..76ca60cc5f9 100644 --- a/compliance/ediscovery_cases_item_legal_holds_request_builder.go +++ b/compliance/ediscovery_cases_item_legal_holds_request_builder.go @@ -11,7 +11,7 @@ import ( type EdiscoveryCasesItemLegalHoldsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EdiscoveryCasesItemLegalHoldsRequestBuilderGetQueryParameters read the properties and relationships of a legalHold object. +// EdiscoveryCasesItemLegalHoldsRequestBuilderGetQueryParameters returns a list of case legalHold objects for this case. Nullable. type EdiscoveryCasesItemLegalHoldsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -77,7 +77,7 @@ func NewEdiscoveryCasesItemLegalHoldsRequestBuilder(rawUrl string, requestAdapte func (m *EdiscoveryCasesItemLegalHoldsRequestBuilder) Count()(*EdiscoveryCasesItemLegalHoldsCountRequestBuilder) { return NewEdiscoveryCasesItemLegalHoldsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of a legalHold object. +// Get returns a list of case legalHold objects for this case. Nullable. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a LegalHoldCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -119,7 +119,7 @@ func (m *EdiscoveryCasesItemLegalHoldsRequestBuilder) Post(ctx context.Context, } return res.(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.LegalHoldable), nil } -// ToGetRequestInformation read the properties and relationships of a legalHold object. +// ToGetRequestInformation returns a list of case legalHold objects for this case. Nullable. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemLegalHoldsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EdiscoveryCasesItemLegalHoldsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/compliance/ediscovery_cases_item_microsoft_graph_ediscovery_close_request_builder.go b/compliance/ediscovery_cases_item_microsoft_graph_ediscovery_close_request_builder.go index 3e9ded811f0..c8c6c84bde3 100644 --- a/compliance/ediscovery_cases_item_microsoft_graph_ediscovery_close_request_builder.go +++ b/compliance/ediscovery_cases_item_microsoft_graph_ediscovery_close_request_builder.go @@ -35,7 +35,7 @@ func NewEdiscoveryCasesItemMicrosoftGraphEdiscoveryCloseRequestBuilder(rawUrl st // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-case-close?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-case-close?view=graph-rest-beta func (m *EdiscoveryCasesItemMicrosoftGraphEdiscoveryCloseRequestBuilder) Post(ctx context.Context, requestConfiguration *EdiscoveryCasesItemMicrosoftGraphEdiscoveryCloseRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/compliance/ediscovery_cases_item_microsoft_graph_ediscovery_reopen_request_builder.go b/compliance/ediscovery_cases_item_microsoft_graph_ediscovery_reopen_request_builder.go index 815346a1c0e..7ae53e39c93 100644 --- a/compliance/ediscovery_cases_item_microsoft_graph_ediscovery_reopen_request_builder.go +++ b/compliance/ediscovery_cases_item_microsoft_graph_ediscovery_reopen_request_builder.go @@ -35,7 +35,7 @@ func NewEdiscoveryCasesItemMicrosoftGraphEdiscoveryReopenRequestBuilder(rawUrl s // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-case-reopen?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-case-reopen?view=graph-rest-beta func (m *EdiscoveryCasesItemMicrosoftGraphEdiscoveryReopenRequestBuilder) Post(ctx context.Context, requestConfiguration *EdiscoveryCasesItemMicrosoftGraphEdiscoveryReopenRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/compliance/ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_ediscovery_release_request_builder.go b/compliance/ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_ediscovery_release_request_builder.go index e4d7014d21e..52781cc056a 100644 --- a/compliance/ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_ediscovery_release_request_builder.go +++ b/compliance/ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_ediscovery_release_request_builder.go @@ -35,7 +35,7 @@ func NewEdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphEdiscoveryRe // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-noncustodialdatasource-release?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-noncustodialdatasource-release?view=graph-rest-beta func (m *EdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphEdiscoveryReleaseRequestBuilder) Post(ctx context.Context, requestConfiguration *EdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphEdiscoveryReleaseRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/compliance/ediscovery_cases_item_noncustodial_data_sources_noncustodial_data_source_item_request_builder.go b/compliance/ediscovery_cases_item_noncustodial_data_sources_noncustodial_data_source_item_request_builder.go index 0e0bdd25db2..9a19f1d3afe 100644 --- a/compliance/ediscovery_cases_item_noncustodial_data_sources_noncustodial_data_source_item_request_builder.go +++ b/compliance/ediscovery_cases_item_noncustodial_data_sources_noncustodial_data_source_item_request_builder.go @@ -18,7 +18,7 @@ type EdiscoveryCasesItemNoncustodialDataSourcesNoncustodialDataSourceItemRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EdiscoveryCasesItemNoncustodialDataSourcesNoncustodialDataSourceItemRequestBuilderGetQueryParameters read the properties and relationships of a noncustodialDataSource object. +// EdiscoveryCasesItemNoncustodialDataSourcesNoncustodialDataSourceItemRequestBuilderGetQueryParameters returns a list of case noncustodialDataSource objects for this case. Nullable. type EdiscoveryCasesItemNoncustodialDataSourcesNoncustodialDataSourceItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -76,13 +76,10 @@ func (m *EdiscoveryCasesItemNoncustodialDataSourcesNoncustodialDataSourceItemReq } return nil } -// Get read the properties and relationships of a noncustodialDataSource object. +// Get returns a list of case noncustodialDataSource objects for this case. Nullable. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a NoncustodialDataSourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-noncustodialdatasource-get?view=graph-rest-1.0 func (m *EdiscoveryCasesItemNoncustodialDataSourcesNoncustodialDataSourceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EdiscoveryCasesItemNoncustodialDataSourcesNoncustodialDataSourceItemRequestBuilderGetRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.NoncustodialDataSourceable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -158,7 +155,7 @@ func (m *EdiscoveryCasesItemNoncustodialDataSourcesNoncustodialDataSourceItemReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a noncustodialDataSource object. +// ToGetRequestInformation returns a list of case noncustodialDataSource objects for this case. Nullable. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemNoncustodialDataSourcesNoncustodialDataSourceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EdiscoveryCasesItemNoncustodialDataSourcesNoncustodialDataSourceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/compliance/ediscovery_cases_item_noncustodial_data_sources_request_builder.go b/compliance/ediscovery_cases_item_noncustodial_data_sources_request_builder.go index 5f2ae2e06a2..bf68a80dbb4 100644 --- a/compliance/ediscovery_cases_item_noncustodial_data_sources_request_builder.go +++ b/compliance/ediscovery_cases_item_noncustodial_data_sources_request_builder.go @@ -11,7 +11,7 @@ import ( type EdiscoveryCasesItemNoncustodialDataSourcesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EdiscoveryCasesItemNoncustodialDataSourcesRequestBuilderGetQueryParameters get a list of the noncustodialDataSource objects and their properties. +// EdiscoveryCasesItemNoncustodialDataSourcesRequestBuilderGetQueryParameters returns a list of case noncustodialDataSource objects for this case. Nullable. type EdiscoveryCasesItemNoncustodialDataSourcesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -77,13 +77,10 @@ func NewEdiscoveryCasesItemNoncustodialDataSourcesRequestBuilder(rawUrl string, func (m *EdiscoveryCasesItemNoncustodialDataSourcesRequestBuilder) Count()(*EdiscoveryCasesItemNoncustodialDataSourcesCountRequestBuilder) { return NewEdiscoveryCasesItemNoncustodialDataSourcesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the noncustodialDataSource objects and their properties. +// Get returns a list of case noncustodialDataSource objects for this case. Nullable. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a NoncustodialDataSourceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-noncustodialdatasource-list?view=graph-rest-1.0 func (m *EdiscoveryCasesItemNoncustodialDataSourcesRequestBuilder) Get(ctx context.Context, requestConfiguration *EdiscoveryCasesItemNoncustodialDataSourcesRequestBuilderGetRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.NoncustodialDataSourceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -111,13 +108,10 @@ func (m *EdiscoveryCasesItemNoncustodialDataSourcesRequestBuilder) MicrosoftGrap func (m *EdiscoveryCasesItemNoncustodialDataSourcesRequestBuilder) MicrosoftGraphEdiscoveryRemoveHold()(*EdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphEdiscoveryRemoveHoldRequestBuilder) { return NewEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphEdiscoveryRemoveHoldRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Post create a new noncustodialDataSource object. +// Post create new navigation property to noncustodialDataSources for compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a NoncustodialDataSourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-noncustodialdatasource-post?view=graph-rest-1.0 func (m *EdiscoveryCasesItemNoncustodialDataSourcesRequestBuilder) Post(ctx context.Context, body ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.NoncustodialDataSourceable, requestConfiguration *EdiscoveryCasesItemNoncustodialDataSourcesRequestBuilderPostRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.NoncustodialDataSourceable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -135,7 +129,7 @@ func (m *EdiscoveryCasesItemNoncustodialDataSourcesRequestBuilder) Post(ctx cont } return res.(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.NoncustodialDataSourceable), nil } -// ToGetRequestInformation get a list of the noncustodialDataSource objects and their properties. +// ToGetRequestInformation returns a list of case noncustodialDataSource objects for this case. Nullable. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemNoncustodialDataSourcesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EdiscoveryCasesItemNoncustodialDataSourcesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -150,7 +144,7 @@ func (m *EdiscoveryCasesItemNoncustodialDataSourcesRequestBuilder) ToGetRequestI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new noncustodialDataSource object. +// ToPostRequestInformation create new navigation property to noncustodialDataSources for compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemNoncustodialDataSourcesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.NoncustodialDataSourceable, requestConfiguration *EdiscoveryCasesItemNoncustodialDataSourcesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/compliance/ediscovery_cases_item_review_sets_item_microsoft_graph_ediscovery_add_to_review_set_request_builder.go b/compliance/ediscovery_cases_item_review_sets_item_microsoft_graph_ediscovery_add_to_review_set_request_builder.go index 4dd7642385f..37adff04cec 100644 --- a/compliance/ediscovery_cases_item_review_sets_item_microsoft_graph_ediscovery_add_to_review_set_request_builder.go +++ b/compliance/ediscovery_cases_item_review_sets_item_microsoft_graph_ediscovery_add_to_review_set_request_builder.go @@ -35,7 +35,7 @@ func NewEdiscoveryCasesItemReviewSetsItemMicrosoftGraphEdiscoveryAddToReviewSetR // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-reviewset-addtoreviewset?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-reviewset-addtoreviewset?view=graph-rest-beta func (m *EdiscoveryCasesItemReviewSetsItemMicrosoftGraphEdiscoveryAddToReviewSetRequestBuilder) Post(ctx context.Context, body EdiscoveryCasesItemReviewSetsItemMicrosoftGraphEdiscoveryAddToReviewSetAddToReviewSetPostRequestBodyable, requestConfiguration *EdiscoveryCasesItemReviewSetsItemMicrosoftGraphEdiscoveryAddToReviewSetRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/compliance/ediscovery_cases_item_review_sets_item_microsoft_graph_ediscovery_export_request_builder.go b/compliance/ediscovery_cases_item_review_sets_item_microsoft_graph_ediscovery_export_request_builder.go index 8cc68175a71..b31ceac1574 100644 --- a/compliance/ediscovery_cases_item_review_sets_item_microsoft_graph_ediscovery_export_request_builder.go +++ b/compliance/ediscovery_cases_item_review_sets_item_microsoft_graph_ediscovery_export_request_builder.go @@ -35,7 +35,7 @@ func NewEdiscoveryCasesItemReviewSetsItemMicrosoftGraphEdiscoveryExportRequestBu // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-reviewset-export?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-reviewset-export?view=graph-rest-beta func (m *EdiscoveryCasesItemReviewSetsItemMicrosoftGraphEdiscoveryExportRequestBuilder) Post(ctx context.Context, body EdiscoveryCasesItemReviewSetsItemMicrosoftGraphEdiscoveryExportExportPostRequestBodyable, requestConfiguration *EdiscoveryCasesItemReviewSetsItemMicrosoftGraphEdiscoveryExportRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/compliance/ediscovery_cases_item_review_sets_item_queries_item_microsoft_graph_ediscovery_apply_tags_request_builder.go b/compliance/ediscovery_cases_item_review_sets_item_queries_item_microsoft_graph_ediscovery_apply_tags_request_builder.go index 113dd8c3850..e038181c7f8 100644 --- a/compliance/ediscovery_cases_item_review_sets_item_queries_item_microsoft_graph_ediscovery_apply_tags_request_builder.go +++ b/compliance/ediscovery_cases_item_review_sets_item_queries_item_microsoft_graph_ediscovery_apply_tags_request_builder.go @@ -35,7 +35,7 @@ func NewEdiscoveryCasesItemReviewSetsItemQueriesItemMicrosoftGraphEdiscoveryAppl // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-reviewsetquery-applytags?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-reviewsetquery-applytags?view=graph-rest-beta func (m *EdiscoveryCasesItemReviewSetsItemQueriesItemMicrosoftGraphEdiscoveryApplyTagsRequestBuilder) Post(ctx context.Context, body EdiscoveryCasesItemReviewSetsItemQueriesItemMicrosoftGraphEdiscoveryApplyTagsApplyTagsPostRequestBodyable, requestConfiguration *EdiscoveryCasesItemReviewSetsItemQueriesItemMicrosoftGraphEdiscoveryApplyTagsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/compliance/ediscovery_cases_item_review_sets_item_queries_request_builder.go b/compliance/ediscovery_cases_item_review_sets_item_queries_request_builder.go index 64227fcbbf0..f5cb305c4bf 100644 --- a/compliance/ediscovery_cases_item_review_sets_item_queries_request_builder.go +++ b/compliance/ediscovery_cases_item_review_sets_item_queries_request_builder.go @@ -11,7 +11,7 @@ import ( type EdiscoveryCasesItemReviewSetsItemQueriesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EdiscoveryCasesItemReviewSetsItemQueriesRequestBuilderGetQueryParameters retrieve a list of eDiscovery reviewSetQuery objects. +// EdiscoveryCasesItemReviewSetsItemQueriesRequestBuilderGetQueryParameters get queries from compliance type EdiscoveryCasesItemReviewSetsItemQueriesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -77,13 +77,10 @@ func NewEdiscoveryCasesItemReviewSetsItemQueriesRequestBuilder(rawUrl string, re func (m *EdiscoveryCasesItemReviewSetsItemQueriesRequestBuilder) Count()(*EdiscoveryCasesItemReviewSetsItemQueriesCountRequestBuilder) { return NewEdiscoveryCasesItemReviewSetsItemQueriesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of eDiscovery reviewSetQuery objects. +// Get get queries from compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a ReviewSetQueryCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-reviewsetquery-list?view=graph-rest-1.0 func (m *EdiscoveryCasesItemReviewSetsItemQueriesRequestBuilder) Get(ctx context.Context, requestConfiguration *EdiscoveryCasesItemReviewSetsItemQueriesRequestBuilderGetRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.ReviewSetQueryCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,13 +98,10 @@ func (m *EdiscoveryCasesItemReviewSetsItemQueriesRequestBuilder) Get(ctx context } return res.(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.ReviewSetQueryCollectionResponseable), nil } -// Post create a new reviewSetQuery object. +// Post create new navigation property to queries for compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a ReviewSetQueryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-reviewsetquery-post?view=graph-rest-1.0 func (m *EdiscoveryCasesItemReviewSetsItemQueriesRequestBuilder) Post(ctx context.Context, body ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.ReviewSetQueryable, requestConfiguration *EdiscoveryCasesItemReviewSetsItemQueriesRequestBuilderPostRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.ReviewSetQueryable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *EdiscoveryCasesItemReviewSetsItemQueriesRequestBuilder) Post(ctx contex } return res.(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.ReviewSetQueryable), nil } -// ToGetRequestInformation retrieve a list of eDiscovery reviewSetQuery objects. +// ToGetRequestInformation get queries from compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemReviewSetsItemQueriesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EdiscoveryCasesItemReviewSetsItemQueriesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -140,7 +134,7 @@ func (m *EdiscoveryCasesItemReviewSetsItemQueriesRequestBuilder) ToGetRequestInf requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new reviewSetQuery object. +// ToPostRequestInformation create new navigation property to queries for compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemReviewSetsItemQueriesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.ReviewSetQueryable, requestConfiguration *EdiscoveryCasesItemReviewSetsItemQueriesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/compliance/ediscovery_cases_item_review_sets_item_queries_review_set_query_item_request_builder.go b/compliance/ediscovery_cases_item_review_sets_item_queries_review_set_query_item_request_builder.go index b5404336121..ae230f810f1 100644 --- a/compliance/ediscovery_cases_item_review_sets_item_queries_review_set_query_item_request_builder.go +++ b/compliance/ediscovery_cases_item_review_sets_item_queries_review_set_query_item_request_builder.go @@ -18,7 +18,7 @@ type EdiscoveryCasesItemReviewSetsItemQueriesReviewSetQueryItemRequestBuilderDel // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EdiscoveryCasesItemReviewSetsItemQueriesReviewSetQueryItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an eDiscovery reviewSetQuery object. +// EdiscoveryCasesItemReviewSetsItemQueriesReviewSetQueryItemRequestBuilderGetQueryParameters get queries from compliance type EdiscoveryCasesItemReviewSetsItemQueriesReviewSetQueryItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,12 +54,9 @@ func NewEdiscoveryCasesItemReviewSetsItemQueriesReviewSetQueryItemRequestBuilder urlParams["request-raw-url"] = rawUrl return NewEdiscoveryCasesItemReviewSetsItemQueriesReviewSetQueryItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a reviewSetQuery object. +// Delete delete navigation property queries for compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-reviewsetquery-delete?view=graph-rest-1.0 func (m *EdiscoveryCasesItemReviewSetsItemQueriesReviewSetQueryItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *EdiscoveryCasesItemReviewSetsItemQueriesReviewSetQueryItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -74,13 +71,10 @@ func (m *EdiscoveryCasesItemReviewSetsItemQueriesReviewSetQueryItemRequestBuilde } return nil } -// Get retrieve the properties and relationships of an eDiscovery reviewSetQuery object. +// Get get queries from compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a ReviewSetQueryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-reviewsetquery-get?view=graph-rest-1.0 func (m *EdiscoveryCasesItemReviewSetsItemQueriesReviewSetQueryItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EdiscoveryCasesItemReviewSetsItemQueriesReviewSetQueryItemRequestBuilderGetRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.ReviewSetQueryable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -103,13 +97,10 @@ func (m *EdiscoveryCasesItemReviewSetsItemQueriesReviewSetQueryItemRequestBuilde func (m *EdiscoveryCasesItemReviewSetsItemQueriesReviewSetQueryItemRequestBuilder) MicrosoftGraphEdiscoveryApplyTags()(*EdiscoveryCasesItemReviewSetsItemQueriesItemMicrosoftGraphEdiscoveryApplyTagsRequestBuilder) { return NewEdiscoveryCasesItemReviewSetsItemQueriesItemMicrosoftGraphEdiscoveryApplyTagsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of an eDiscovery reviewSetQuery. +// Patch update the navigation property queries in compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a ReviewSetQueryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-reviewsetquery-update?view=graph-rest-1.0 func (m *EdiscoveryCasesItemReviewSetsItemQueriesReviewSetQueryItemRequestBuilder) Patch(ctx context.Context, body ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.ReviewSetQueryable, requestConfiguration *EdiscoveryCasesItemReviewSetsItemQueriesReviewSetQueryItemRequestBuilderPatchRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.ReviewSetQueryable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +118,7 @@ func (m *EdiscoveryCasesItemReviewSetsItemQueriesReviewSetQueryItemRequestBuilde } return res.(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.ReviewSetQueryable), nil } -// ToDeleteRequestInformation delete a reviewSetQuery object. +// ToDeleteRequestInformation delete navigation property queries for compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemReviewSetsItemQueriesReviewSetQueryItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *EdiscoveryCasesItemReviewSetsItemQueriesReviewSetQueryItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -139,7 +130,7 @@ func (m *EdiscoveryCasesItemReviewSetsItemQueriesReviewSetQueryItemRequestBuilde requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of an eDiscovery reviewSetQuery object. +// ToGetRequestInformation get queries from compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemReviewSetsItemQueriesReviewSetQueryItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EdiscoveryCasesItemReviewSetsItemQueriesReviewSetQueryItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -154,7 +145,7 @@ func (m *EdiscoveryCasesItemReviewSetsItemQueriesReviewSetQueryItemRequestBuilde requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an eDiscovery reviewSetQuery. +// ToPatchRequestInformation update the navigation property queries in compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemReviewSetsItemQueriesReviewSetQueryItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.ReviewSetQueryable, requestConfiguration *EdiscoveryCasesItemReviewSetsItemQueriesReviewSetQueryItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/compliance/ediscovery_cases_item_review_sets_request_builder.go b/compliance/ediscovery_cases_item_review_sets_request_builder.go index 4a81e5f4c73..46d2e079dfe 100644 --- a/compliance/ediscovery_cases_item_review_sets_request_builder.go +++ b/compliance/ediscovery_cases_item_review_sets_request_builder.go @@ -11,7 +11,7 @@ import ( type EdiscoveryCasesItemReviewSetsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EdiscoveryCasesItemReviewSetsRequestBuilderGetQueryParameters retrieve the properties and relationships of a reviewSet object. +// EdiscoveryCasesItemReviewSetsRequestBuilderGetQueryParameters returns a list of reviewSet objects in the case. Read-only. Nullable. type EdiscoveryCasesItemReviewSetsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -77,7 +77,7 @@ func NewEdiscoveryCasesItemReviewSetsRequestBuilder(rawUrl string, requestAdapte func (m *EdiscoveryCasesItemReviewSetsRequestBuilder) Count()(*EdiscoveryCasesItemReviewSetsCountRequestBuilder) { return NewEdiscoveryCasesItemReviewSetsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties and relationships of a reviewSet object. +// Get returns a list of reviewSet objects in the case. Read-only. Nullable. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a ReviewSetCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -98,13 +98,10 @@ func (m *EdiscoveryCasesItemReviewSetsRequestBuilder) Get(ctx context.Context, r } return res.(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.ReviewSetCollectionResponseable), nil } -// Post create a new reviewSet object. The request body contains the display name of the review set, which is the only writable property. +// Post create new navigation property to reviewSets for compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a ReviewSetable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-case-post-reviewsets?view=graph-rest-1.0 func (m *EdiscoveryCasesItemReviewSetsRequestBuilder) Post(ctx context.Context, body ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.ReviewSetable, requestConfiguration *EdiscoveryCasesItemReviewSetsRequestBuilderPostRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.ReviewSetable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +119,7 @@ func (m *EdiscoveryCasesItemReviewSetsRequestBuilder) Post(ctx context.Context, } return res.(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.ReviewSetable), nil } -// ToGetRequestInformation retrieve the properties and relationships of a reviewSet object. +// ToGetRequestInformation returns a list of reviewSet objects in the case. Read-only. Nullable. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemReviewSetsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EdiscoveryCasesItemReviewSetsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -137,7 +134,7 @@ func (m *EdiscoveryCasesItemReviewSetsRequestBuilder) ToGetRequestInformation(ct requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new reviewSet object. The request body contains the display name of the review set, which is the only writable property. +// ToPostRequestInformation create new navigation property to reviewSets for compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemReviewSetsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.ReviewSetable, requestConfiguration *EdiscoveryCasesItemReviewSetsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/compliance/ediscovery_cases_item_review_sets_review_set_item_request_builder.go b/compliance/ediscovery_cases_item_review_sets_review_set_item_request_builder.go index 8fa7015a49f..3be14b8b63d 100644 --- a/compliance/ediscovery_cases_item_review_sets_review_set_item_request_builder.go +++ b/compliance/ediscovery_cases_item_review_sets_review_set_item_request_builder.go @@ -18,7 +18,7 @@ type EdiscoveryCasesItemReviewSetsReviewSetItemRequestBuilderDeleteRequestConfig // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EdiscoveryCasesItemReviewSetsReviewSetItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a reviewSet object. +// EdiscoveryCasesItemReviewSetsReviewSetItemRequestBuilderGetQueryParameters returns a list of reviewSet objects in the case. Read-only. Nullable. type EdiscoveryCasesItemReviewSetsReviewSetItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -71,13 +71,10 @@ func (m *EdiscoveryCasesItemReviewSetsReviewSetItemRequestBuilder) Delete(ctx co } return nil } -// Get retrieve the properties and relationships of a reviewSet object. +// Get returns a list of reviewSet objects in the case. Read-only. Nullable. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a ReviewSetable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-reviewset-get?view=graph-rest-1.0 func (m *EdiscoveryCasesItemReviewSetsReviewSetItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EdiscoveryCasesItemReviewSetsReviewSetItemRequestBuilderGetRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.ReviewSetable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -143,7 +140,7 @@ func (m *EdiscoveryCasesItemReviewSetsReviewSetItemRequestBuilder) ToDeleteReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a reviewSet object. +// ToGetRequestInformation returns a list of reviewSet objects in the case. Read-only. Nullable. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemReviewSetsReviewSetItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EdiscoveryCasesItemReviewSetsReviewSetItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/compliance/ediscovery_cases_item_settings_microsoft_graph_ediscovery_reset_to_default_request_builder.go b/compliance/ediscovery_cases_item_settings_microsoft_graph_ediscovery_reset_to_default_request_builder.go index ef83621da3f..ad1ea4df154 100644 --- a/compliance/ediscovery_cases_item_settings_microsoft_graph_ediscovery_reset_to_default_request_builder.go +++ b/compliance/ediscovery_cases_item_settings_microsoft_graph_ediscovery_reset_to_default_request_builder.go @@ -35,7 +35,7 @@ func NewEdiscoveryCasesItemSettingsMicrosoftGraphEdiscoveryResetToDefaultRequest // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-casesettings-resettodefault?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-casesettings-resettodefault?view=graph-rest-beta func (m *EdiscoveryCasesItemSettingsMicrosoftGraphEdiscoveryResetToDefaultRequestBuilder) Post(ctx context.Context, requestConfiguration *EdiscoveryCasesItemSettingsMicrosoftGraphEdiscoveryResetToDefaultRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/compliance/ediscovery_cases_item_settings_request_builder.go b/compliance/ediscovery_cases_item_settings_request_builder.go index fa89c9fe036..0ce106e749f 100644 --- a/compliance/ediscovery_cases_item_settings_request_builder.go +++ b/compliance/ediscovery_cases_item_settings_request_builder.go @@ -18,7 +18,7 @@ type EdiscoveryCasesItemSettingsRequestBuilderDeleteRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EdiscoveryCasesItemSettingsRequestBuilderGetQueryParameters read the properties and relationships of an eDiscovery caseSettings object. +// EdiscoveryCasesItemSettingsRequestBuilderGetQueryParameters get settings from compliance type EdiscoveryCasesItemSettingsRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -71,13 +71,10 @@ func (m *EdiscoveryCasesItemSettingsRequestBuilder) Delete(ctx context.Context, } return nil } -// Get read the properties and relationships of an eDiscovery caseSettings object. +// Get get settings from compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a CaseSettingsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-casesettings-get?view=graph-rest-1.0 func (m *EdiscoveryCasesItemSettingsRequestBuilder) Get(ctx context.Context, requestConfiguration *EdiscoveryCasesItemSettingsRequestBuilderGetRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.CaseSettingsable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -100,13 +97,10 @@ func (m *EdiscoveryCasesItemSettingsRequestBuilder) Get(ctx context.Context, req func (m *EdiscoveryCasesItemSettingsRequestBuilder) MicrosoftGraphEdiscoveryResetToDefault()(*EdiscoveryCasesItemSettingsMicrosoftGraphEdiscoveryResetToDefaultRequestBuilder) { return NewEdiscoveryCasesItemSettingsMicrosoftGraphEdiscoveryResetToDefaultRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of a an eDiscovery caseSettings object. +// Patch update the navigation property settings in compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a CaseSettingsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-casesettings-update?view=graph-rest-1.0 func (m *EdiscoveryCasesItemSettingsRequestBuilder) Patch(ctx context.Context, body ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.CaseSettingsable, requestConfiguration *EdiscoveryCasesItemSettingsRequestBuilderPatchRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.CaseSettingsable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -136,7 +130,7 @@ func (m *EdiscoveryCasesItemSettingsRequestBuilder) ToDeleteRequestInformation(c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an eDiscovery caseSettings object. +// ToGetRequestInformation get settings from compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemSettingsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EdiscoveryCasesItemSettingsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -151,7 +145,7 @@ func (m *EdiscoveryCasesItemSettingsRequestBuilder) ToGetRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a an eDiscovery caseSettings object. +// ToPatchRequestInformation update the navigation property settings in compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemSettingsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.CaseSettingsable, requestConfiguration *EdiscoveryCasesItemSettingsRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/compliance/ediscovery_cases_item_source_collections_item_add_to_review_set_operation_request_builder.go b/compliance/ediscovery_cases_item_source_collections_item_add_to_review_set_operation_request_builder.go index 18d30ee2845..9e6e4d6931d 100644 --- a/compliance/ediscovery_cases_item_source_collections_item_add_to_review_set_operation_request_builder.go +++ b/compliance/ediscovery_cases_item_source_collections_item_add_to_review_set_operation_request_builder.go @@ -11,7 +11,7 @@ import ( type EdiscoveryCasesItemSourceCollectionsItemAddToReviewSetOperationRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EdiscoveryCasesItemSourceCollectionsItemAddToReviewSetOperationRequestBuilderGetQueryParameters get the last addToReviewSetOperation object associated with a source collection. +// EdiscoveryCasesItemSourceCollectionsItemAddToReviewSetOperationRequestBuilderGetQueryParameters adds the results of the sourceCollection to the specified reviewSet. type EdiscoveryCasesItemSourceCollectionsItemAddToReviewSetOperationRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -40,13 +40,10 @@ func NewEdiscoveryCasesItemSourceCollectionsItemAddToReviewSetOperationRequestBu urlParams["request-raw-url"] = rawUrl return NewEdiscoveryCasesItemSourceCollectionsItemAddToReviewSetOperationRequestBuilderInternal(urlParams, requestAdapter) } -// Get get the last addToReviewSetOperation object associated with a source collection. +// Get adds the results of the sourceCollection to the specified reviewSet. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a AddToReviewSetOperationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-sourcecollection-list-addtoreviewsetoperation?view=graph-rest-1.0 func (m *EdiscoveryCasesItemSourceCollectionsItemAddToReviewSetOperationRequestBuilder) Get(ctx context.Context, requestConfiguration *EdiscoveryCasesItemSourceCollectionsItemAddToReviewSetOperationRequestBuilderGetRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.AddToReviewSetOperationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -64,7 +61,7 @@ func (m *EdiscoveryCasesItemSourceCollectionsItemAddToReviewSetOperationRequestB } return res.(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.AddToReviewSetOperationable), nil } -// ToGetRequestInformation get the last addToReviewSetOperation object associated with a source collection. +// ToGetRequestInformation adds the results of the sourceCollection to the specified reviewSet. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemSourceCollectionsItemAddToReviewSetOperationRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EdiscoveryCasesItemSourceCollectionsItemAddToReviewSetOperationRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/compliance/ediscovery_cases_item_source_collections_item_additional_sources_request_builder.go b/compliance/ediscovery_cases_item_source_collections_item_additional_sources_request_builder.go index 9b49a0529c1..321d81919ed 100644 --- a/compliance/ediscovery_cases_item_source_collections_item_additional_sources_request_builder.go +++ b/compliance/ediscovery_cases_item_source_collections_item_additional_sources_request_builder.go @@ -11,7 +11,7 @@ import ( type EdiscoveryCasesItemSourceCollectionsItemAdditionalSourcesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EdiscoveryCasesItemSourceCollectionsItemAdditionalSourcesRequestBuilderGetQueryParameters get a list of additional dataSource objects associated with a source collection. +// EdiscoveryCasesItemSourceCollectionsItemAdditionalSourcesRequestBuilderGetQueryParameters adds an additional source to the sourceCollection. type EdiscoveryCasesItemSourceCollectionsItemAdditionalSourcesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -77,13 +77,10 @@ func NewEdiscoveryCasesItemSourceCollectionsItemAdditionalSourcesRequestBuilder( func (m *EdiscoveryCasesItemSourceCollectionsItemAdditionalSourcesRequestBuilder) Count()(*EdiscoveryCasesItemSourceCollectionsItemAdditionalSourcesCountRequestBuilder) { return NewEdiscoveryCasesItemSourceCollectionsItemAdditionalSourcesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of additional dataSource objects associated with a source collection. +// Get adds an additional source to the sourceCollection. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a DataSourceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-sourcecollection-list-additionalsources?view=graph-rest-1.0 func (m *EdiscoveryCasesItemSourceCollectionsItemAdditionalSourcesRequestBuilder) Get(ctx context.Context, requestConfiguration *EdiscoveryCasesItemSourceCollectionsItemAdditionalSourcesRequestBuilderGetRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.DataSourceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -122,7 +119,7 @@ func (m *EdiscoveryCasesItemSourceCollectionsItemAdditionalSourcesRequestBuilder } return res.(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.DataSourceable), nil } -// ToGetRequestInformation get a list of additional dataSource objects associated with a source collection. +// ToGetRequestInformation adds an additional source to the sourceCollection. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemSourceCollectionsItemAdditionalSourcesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EdiscoveryCasesItemSourceCollectionsItemAdditionalSourcesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/compliance/ediscovery_cases_item_source_collections_item_custodian_sources_request_builder.go b/compliance/ediscovery_cases_item_source_collections_item_custodian_sources_request_builder.go index 6bcfce40615..f847e2394b0 100644 --- a/compliance/ediscovery_cases_item_source_collections_item_custodian_sources_request_builder.go +++ b/compliance/ediscovery_cases_item_source_collections_item_custodian_sources_request_builder.go @@ -11,7 +11,7 @@ import ( type EdiscoveryCasesItemSourceCollectionsItemCustodianSourcesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EdiscoveryCasesItemSourceCollectionsItemCustodianSourcesRequestBuilderGetQueryParameters get the list of dataSource objects associated with a source collection. +// EdiscoveryCasesItemSourceCollectionsItemCustodianSourcesRequestBuilderGetQueryParameters custodian sources that are included in the sourceCollection. type EdiscoveryCasesItemSourceCollectionsItemCustodianSourcesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -70,13 +70,10 @@ func NewEdiscoveryCasesItemSourceCollectionsItemCustodianSourcesRequestBuilder(r func (m *EdiscoveryCasesItemSourceCollectionsItemCustodianSourcesRequestBuilder) Count()(*EdiscoveryCasesItemSourceCollectionsItemCustodianSourcesCountRequestBuilder) { return NewEdiscoveryCasesItemSourceCollectionsItemCustodianSourcesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of dataSource objects associated with a source collection. +// Get custodian sources that are included in the sourceCollection. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a DataSourceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-sourcecollection-list-custodiansources?view=graph-rest-1.0 func (m *EdiscoveryCasesItemSourceCollectionsItemCustodianSourcesRequestBuilder) Get(ctx context.Context, requestConfiguration *EdiscoveryCasesItemSourceCollectionsItemCustodianSourcesRequestBuilderGetRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.DataSourceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -94,7 +91,7 @@ func (m *EdiscoveryCasesItemSourceCollectionsItemCustodianSourcesRequestBuilder) } return res.(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.DataSourceCollectionResponseable), nil } -// ToGetRequestInformation get the list of dataSource objects associated with a source collection. +// ToGetRequestInformation custodian sources that are included in the sourceCollection. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemSourceCollectionsItemCustodianSourcesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EdiscoveryCasesItemSourceCollectionsItemCustodianSourcesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/compliance/ediscovery_cases_item_source_collections_item_last_estimate_statistics_operation_request_builder.go b/compliance/ediscovery_cases_item_source_collections_item_last_estimate_statistics_operation_request_builder.go index fd4bed7f83a..d7fa22a84ee 100644 --- a/compliance/ediscovery_cases_item_source_collections_item_last_estimate_statistics_operation_request_builder.go +++ b/compliance/ediscovery_cases_item_source_collections_item_last_estimate_statistics_operation_request_builder.go @@ -11,7 +11,7 @@ import ( type EdiscoveryCasesItemSourceCollectionsItemLastEstimateStatisticsOperationRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EdiscoveryCasesItemSourceCollectionsItemLastEstimateStatisticsOperationRequestBuilderGetQueryParameters get the last estimateStatisticsOperation object associated with a source collection. +// EdiscoveryCasesItemSourceCollectionsItemLastEstimateStatisticsOperationRequestBuilderGetQueryParameters the last estimate operation associated with the sourceCollection. type EdiscoveryCasesItemSourceCollectionsItemLastEstimateStatisticsOperationRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -40,13 +40,10 @@ func NewEdiscoveryCasesItemSourceCollectionsItemLastEstimateStatisticsOperationR urlParams["request-raw-url"] = rawUrl return NewEdiscoveryCasesItemSourceCollectionsItemLastEstimateStatisticsOperationRequestBuilderInternal(urlParams, requestAdapter) } -// Get get the last estimateStatisticsOperation object associated with a source collection. +// Get the last estimate operation associated with the sourceCollection. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a EstimateStatisticsOperationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-sourcecollection-list-lastestimatestatisticsoperation?view=graph-rest-1.0 func (m *EdiscoveryCasesItemSourceCollectionsItemLastEstimateStatisticsOperationRequestBuilder) Get(ctx context.Context, requestConfiguration *EdiscoveryCasesItemSourceCollectionsItemLastEstimateStatisticsOperationRequestBuilderGetRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.EstimateStatisticsOperationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -64,7 +61,7 @@ func (m *EdiscoveryCasesItemSourceCollectionsItemLastEstimateStatisticsOperation } return res.(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.EstimateStatisticsOperationable), nil } -// ToGetRequestInformation get the last estimateStatisticsOperation object associated with a source collection. +// ToGetRequestInformation the last estimate operation associated with the sourceCollection. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemSourceCollectionsItemLastEstimateStatisticsOperationRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EdiscoveryCasesItemSourceCollectionsItemLastEstimateStatisticsOperationRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/compliance/ediscovery_cases_item_source_collections_item_microsoft_graph_ediscovery_estimate_statistics_request_builder.go b/compliance/ediscovery_cases_item_source_collections_item_microsoft_graph_ediscovery_estimate_statistics_request_builder.go index d0ea1514fd1..bdc9a49efa3 100644 --- a/compliance/ediscovery_cases_item_source_collections_item_microsoft_graph_ediscovery_estimate_statistics_request_builder.go +++ b/compliance/ediscovery_cases_item_source_collections_item_microsoft_graph_ediscovery_estimate_statistics_request_builder.go @@ -35,7 +35,7 @@ func NewEdiscoveryCasesItemSourceCollectionsItemMicrosoftGraphEdiscoveryEstimate // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-sourcecollection-estimatestatistics?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-sourcecollection-estimatestatistics?view=graph-rest-beta func (m *EdiscoveryCasesItemSourceCollectionsItemMicrosoftGraphEdiscoveryEstimateStatisticsRequestBuilder) Post(ctx context.Context, requestConfiguration *EdiscoveryCasesItemSourceCollectionsItemMicrosoftGraphEdiscoveryEstimateStatisticsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/compliance/ediscovery_cases_item_source_collections_item_microsoft_graph_ediscovery_purge_data_request_builder.go b/compliance/ediscovery_cases_item_source_collections_item_microsoft_graph_ediscovery_purge_data_request_builder.go index 39aa6c2d90c..c294f3491b4 100644 --- a/compliance/ediscovery_cases_item_source_collections_item_microsoft_graph_ediscovery_purge_data_request_builder.go +++ b/compliance/ediscovery_cases_item_source_collections_item_microsoft_graph_ediscovery_purge_data_request_builder.go @@ -35,7 +35,7 @@ func NewEdiscoveryCasesItemSourceCollectionsItemMicrosoftGraphEdiscoveryPurgeDat // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-sourcecollection-purgedata?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-sourcecollection-purgedata?view=graph-rest-beta func (m *EdiscoveryCasesItemSourceCollectionsItemMicrosoftGraphEdiscoveryPurgeDataRequestBuilder) Post(ctx context.Context, requestConfiguration *EdiscoveryCasesItemSourceCollectionsItemMicrosoftGraphEdiscoveryPurgeDataRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/compliance/ediscovery_cases_item_source_collections_item_noncustodial_sources_request_builder.go b/compliance/ediscovery_cases_item_source_collections_item_noncustodial_sources_request_builder.go index fdac41fdbcc..74a6e6261a5 100644 --- a/compliance/ediscovery_cases_item_source_collections_item_noncustodial_sources_request_builder.go +++ b/compliance/ediscovery_cases_item_source_collections_item_noncustodial_sources_request_builder.go @@ -11,7 +11,7 @@ import ( type EdiscoveryCasesItemSourceCollectionsItemNoncustodialSourcesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EdiscoveryCasesItemSourceCollectionsItemNoncustodialSourcesRequestBuilderGetQueryParameters get a list of noncustodialDataSource associated with a sourceCollection. +// EdiscoveryCasesItemSourceCollectionsItemNoncustodialSourcesRequestBuilderGetQueryParameters noncustodialDataSource sources that are included in the sourceCollection type EdiscoveryCasesItemSourceCollectionsItemNoncustodialSourcesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -70,13 +70,10 @@ func NewEdiscoveryCasesItemSourceCollectionsItemNoncustodialSourcesRequestBuilde func (m *EdiscoveryCasesItemSourceCollectionsItemNoncustodialSourcesRequestBuilder) Count()(*EdiscoveryCasesItemSourceCollectionsItemNoncustodialSourcesCountRequestBuilder) { return NewEdiscoveryCasesItemSourceCollectionsItemNoncustodialSourcesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of noncustodialDataSource associated with a sourceCollection. +// Get noncustodialDataSource sources that are included in the sourceCollection // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a NoncustodialDataSourceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-sourcecollection-list-noncustodialsources?view=graph-rest-1.0 func (m *EdiscoveryCasesItemSourceCollectionsItemNoncustodialSourcesRequestBuilder) Get(ctx context.Context, requestConfiguration *EdiscoveryCasesItemSourceCollectionsItemNoncustodialSourcesRequestBuilderGetRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.NoncustodialDataSourceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -94,7 +91,7 @@ func (m *EdiscoveryCasesItemSourceCollectionsItemNoncustodialSourcesRequestBuild } return res.(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.NoncustodialDataSourceCollectionResponseable), nil } -// ToGetRequestInformation get a list of noncustodialDataSource associated with a sourceCollection. +// ToGetRequestInformation noncustodialDataSource sources that are included in the sourceCollection // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemSourceCollectionsItemNoncustodialSourcesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EdiscoveryCasesItemSourceCollectionsItemNoncustodialSourcesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/compliance/ediscovery_cases_item_source_collections_request_builder.go b/compliance/ediscovery_cases_item_source_collections_request_builder.go index 4b8d3764d92..ad5dc05cad4 100644 --- a/compliance/ediscovery_cases_item_source_collections_request_builder.go +++ b/compliance/ediscovery_cases_item_source_collections_request_builder.go @@ -11,7 +11,7 @@ import ( type EdiscoveryCasesItemSourceCollectionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EdiscoveryCasesItemSourceCollectionsRequestBuilderGetQueryParameters get the list of sourceCollections from a case object. +// EdiscoveryCasesItemSourceCollectionsRequestBuilderGetQueryParameters returns a list of sourceCollection objects associated with this case. type EdiscoveryCasesItemSourceCollectionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -77,13 +77,10 @@ func NewEdiscoveryCasesItemSourceCollectionsRequestBuilder(rawUrl string, reques func (m *EdiscoveryCasesItemSourceCollectionsRequestBuilder) Count()(*EdiscoveryCasesItemSourceCollectionsCountRequestBuilder) { return NewEdiscoveryCasesItemSourceCollectionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of sourceCollections from a case object. +// Get returns a list of sourceCollection objects associated with this case. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a SourceCollectionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-case-list-sourcecollections?view=graph-rest-1.0 func (m *EdiscoveryCasesItemSourceCollectionsRequestBuilder) Get(ctx context.Context, requestConfiguration *EdiscoveryCasesItemSourceCollectionsRequestBuilderGetRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.SourceCollectionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,13 +98,10 @@ func (m *EdiscoveryCasesItemSourceCollectionsRequestBuilder) Get(ctx context.Con } return res.(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.SourceCollectionCollectionResponseable), nil } -// Post create a new sourceCollection object. +// Post create new navigation property to sourceCollections for compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a SourceCollectionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-case-post-sourcecollections?view=graph-rest-1.0 func (m *EdiscoveryCasesItemSourceCollectionsRequestBuilder) Post(ctx context.Context, body ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.SourceCollectionable, requestConfiguration *EdiscoveryCasesItemSourceCollectionsRequestBuilderPostRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.SourceCollectionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *EdiscoveryCasesItemSourceCollectionsRequestBuilder) Post(ctx context.Co } return res.(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.SourceCollectionable), nil } -// ToGetRequestInformation get the list of sourceCollections from a case object. +// ToGetRequestInformation returns a list of sourceCollection objects associated with this case. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemSourceCollectionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EdiscoveryCasesItemSourceCollectionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -140,7 +134,7 @@ func (m *EdiscoveryCasesItemSourceCollectionsRequestBuilder) ToGetRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new sourceCollection object. +// ToPostRequestInformation create new navigation property to sourceCollections for compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemSourceCollectionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.SourceCollectionable, requestConfiguration *EdiscoveryCasesItemSourceCollectionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/compliance/ediscovery_cases_item_source_collections_source_collection_item_request_builder.go b/compliance/ediscovery_cases_item_source_collections_source_collection_item_request_builder.go index c798b6f7725..e51aa38a3fc 100644 --- a/compliance/ediscovery_cases_item_source_collections_source_collection_item_request_builder.go +++ b/compliance/ediscovery_cases_item_source_collections_source_collection_item_request_builder.go @@ -69,12 +69,9 @@ func NewEdiscoveryCasesItemSourceCollectionsSourceCollectionItemRequestBuilder(r func (m *EdiscoveryCasesItemSourceCollectionsSourceCollectionItemRequestBuilder) CustodianSources()(*EdiscoveryCasesItemSourceCollectionsItemCustodianSourcesRequestBuilder) { return NewEdiscoveryCasesItemSourceCollectionsItemCustodianSourcesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Delete delete a sourceCollection object. +// Delete delete navigation property sourceCollections for compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-sourcecollection-delete?view=graph-rest-1.0 func (m *EdiscoveryCasesItemSourceCollectionsSourceCollectionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *EdiscoveryCasesItemSourceCollectionsSourceCollectionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -130,13 +127,10 @@ func (m *EdiscoveryCasesItemSourceCollectionsSourceCollectionItemRequestBuilder) func (m *EdiscoveryCasesItemSourceCollectionsSourceCollectionItemRequestBuilder) NoncustodialSources()(*EdiscoveryCasesItemSourceCollectionsItemNoncustodialSourcesRequestBuilder) { return NewEdiscoveryCasesItemSourceCollectionsItemNoncustodialSourcesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of a sourceCollection object. +// Patch update the navigation property sourceCollections in compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a SourceCollectionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-sourcecollection-update?view=graph-rest-1.0 func (m *EdiscoveryCasesItemSourceCollectionsSourceCollectionItemRequestBuilder) Patch(ctx context.Context, body ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.SourceCollectionable, requestConfiguration *EdiscoveryCasesItemSourceCollectionsSourceCollectionItemRequestBuilderPatchRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.SourceCollectionable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -154,7 +148,7 @@ func (m *EdiscoveryCasesItemSourceCollectionsSourceCollectionItemRequestBuilder) } return res.(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.SourceCollectionable), nil } -// ToDeleteRequestInformation delete a sourceCollection object. +// ToDeleteRequestInformation delete navigation property sourceCollections for compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemSourceCollectionsSourceCollectionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *EdiscoveryCasesItemSourceCollectionsSourceCollectionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -181,7 +175,7 @@ func (m *EdiscoveryCasesItemSourceCollectionsSourceCollectionItemRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a sourceCollection object. +// ToPatchRequestInformation update the navigation property sourceCollections in compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemSourceCollectionsSourceCollectionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.SourceCollectionable, requestConfiguration *EdiscoveryCasesItemSourceCollectionsSourceCollectionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/compliance/ediscovery_cases_item_tags_item_child_tags_request_builder.go b/compliance/ediscovery_cases_item_tags_item_child_tags_request_builder.go index 1a5e969516b..a6ba0c38b44 100644 --- a/compliance/ediscovery_cases_item_tags_item_child_tags_request_builder.go +++ b/compliance/ediscovery_cases_item_tags_item_child_tags_request_builder.go @@ -11,7 +11,7 @@ import ( type EdiscoveryCasesItemTagsItemChildTagsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EdiscoveryCasesItemTagsItemChildTagsRequestBuilderGetQueryParameters get a list of child tag objects associated with a tag. +// EdiscoveryCasesItemTagsItemChildTagsRequestBuilderGetQueryParameters returns the tags that are a child of a tag. type EdiscoveryCasesItemTagsItemChildTagsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -70,13 +70,10 @@ func NewEdiscoveryCasesItemTagsItemChildTagsRequestBuilder(rawUrl string, reques func (m *EdiscoveryCasesItemTagsItemChildTagsRequestBuilder) Count()(*EdiscoveryCasesItemTagsItemChildTagsCountRequestBuilder) { return NewEdiscoveryCasesItemTagsItemChildTagsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of child tag objects associated with a tag. +// Get returns the tags that are a child of a tag. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a TagCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-tag-childtags?view=graph-rest-1.0 func (m *EdiscoveryCasesItemTagsItemChildTagsRequestBuilder) Get(ctx context.Context, requestConfiguration *EdiscoveryCasesItemTagsItemChildTagsRequestBuilderGetRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.TagCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -94,7 +91,7 @@ func (m *EdiscoveryCasesItemTagsItemChildTagsRequestBuilder) Get(ctx context.Con } return res.(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.TagCollectionResponseable), nil } -// ToGetRequestInformation get a list of child tag objects associated with a tag. +// ToGetRequestInformation returns the tags that are a child of a tag. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemTagsItemChildTagsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EdiscoveryCasesItemTagsItemChildTagsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/compliance/ediscovery_cases_item_tags_request_builder.go b/compliance/ediscovery_cases_item_tags_request_builder.go index 56d26f51b92..cfd89f6a0cb 100644 --- a/compliance/ediscovery_cases_item_tags_request_builder.go +++ b/compliance/ediscovery_cases_item_tags_request_builder.go @@ -11,7 +11,7 @@ import ( type EdiscoveryCasesItemTagsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EdiscoveryCasesItemTagsRequestBuilderGetQueryParameters retrieve a list of tag objects from an eDiscovery case. +// EdiscoveryCasesItemTagsRequestBuilderGetQueryParameters returns a list of tag objects associated to this case. type EdiscoveryCasesItemTagsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -77,13 +77,10 @@ func NewEdiscoveryCasesItemTagsRequestBuilder(rawUrl string, requestAdapter i2ae func (m *EdiscoveryCasesItemTagsRequestBuilder) Count()(*EdiscoveryCasesItemTagsCountRequestBuilder) { return NewEdiscoveryCasesItemTagsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of tag objects from an eDiscovery case. +// Get returns a list of tag objects associated to this case. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a TagCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-case-list-tags?view=graph-rest-1.0 func (m *EdiscoveryCasesItemTagsRequestBuilder) Get(ctx context.Context, requestConfiguration *EdiscoveryCasesItemTagsRequestBuilderGetRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.TagCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -106,13 +103,10 @@ func (m *EdiscoveryCasesItemTagsRequestBuilder) Get(ctx context.Context, request func (m *EdiscoveryCasesItemTagsRequestBuilder) MicrosoftGraphEdiscoveryAsHierarchy()(*EdiscoveryCasesItemTagsMicrosoftGraphEdiscoveryAsHierarchyRequestBuilder) { return NewEdiscoveryCasesItemTagsMicrosoftGraphEdiscoveryAsHierarchyRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Post create a new tag for the specified case. The tags are used in review sets while reviewing content. +// Post create new navigation property to tags for compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a Tagable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-case-post-tags?view=graph-rest-1.0 func (m *EdiscoveryCasesItemTagsRequestBuilder) Post(ctx context.Context, body ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.Tagable, requestConfiguration *EdiscoveryCasesItemTagsRequestBuilderPostRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.Tagable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -130,7 +124,7 @@ func (m *EdiscoveryCasesItemTagsRequestBuilder) Post(ctx context.Context, body i } return res.(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.Tagable), nil } -// ToGetRequestInformation retrieve a list of tag objects from an eDiscovery case. +// ToGetRequestInformation returns a list of tag objects associated to this case. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemTagsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EdiscoveryCasesItemTagsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -145,7 +139,7 @@ func (m *EdiscoveryCasesItemTagsRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new tag for the specified case. The tags are used in review sets while reviewing content. +// ToPostRequestInformation create new navigation property to tags for compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemTagsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.Tagable, requestConfiguration *EdiscoveryCasesItemTagsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/compliance/ediscovery_cases_item_tags_tag_item_request_builder.go b/compliance/ediscovery_cases_item_tags_tag_item_request_builder.go index 94f4632f989..4d92c2dc77c 100644 --- a/compliance/ediscovery_cases_item_tags_tag_item_request_builder.go +++ b/compliance/ediscovery_cases_item_tags_tag_item_request_builder.go @@ -18,7 +18,7 @@ type EdiscoveryCasesItemTagsTagItemRequestBuilderDeleteRequestConfiguration stru // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EdiscoveryCasesItemTagsTagItemRequestBuilderGetQueryParameters read the properties and relationships of a tag object. +// EdiscoveryCasesItemTagsTagItemRequestBuilderGetQueryParameters returns a list of tag objects associated to this case. type EdiscoveryCasesItemTagsTagItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,12 +59,9 @@ func NewEdiscoveryCasesItemTagsTagItemRequestBuilder(rawUrl string, requestAdapt urlParams["request-raw-url"] = rawUrl return NewEdiscoveryCasesItemTagsTagItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a tag object. +// Delete delete navigation property tags for compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-tag-delete?view=graph-rest-1.0 func (m *EdiscoveryCasesItemTagsTagItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *EdiscoveryCasesItemTagsTagItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -79,13 +76,10 @@ func (m *EdiscoveryCasesItemTagsTagItemRequestBuilder) Delete(ctx context.Contex } return nil } -// Get read the properties and relationships of a tag object. +// Get returns a list of tag objects associated to this case. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a Tagable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-tag-get?view=graph-rest-1.0 func (m *EdiscoveryCasesItemTagsTagItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EdiscoveryCasesItemTagsTagItemRequestBuilderGetRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.Tagable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -108,13 +102,10 @@ func (m *EdiscoveryCasesItemTagsTagItemRequestBuilder) Get(ctx context.Context, func (m *EdiscoveryCasesItemTagsTagItemRequestBuilder) Parent()(*EdiscoveryCasesItemTagsItemParentRequestBuilder) { return NewEdiscoveryCasesItemTagsItemParentRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of a tag object. +// Patch update the navigation property tags in compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a Tagable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-tag-update?view=graph-rest-1.0 func (m *EdiscoveryCasesItemTagsTagItemRequestBuilder) Patch(ctx context.Context, body ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.Tagable, requestConfiguration *EdiscoveryCasesItemTagsTagItemRequestBuilderPatchRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.Tagable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -132,7 +123,7 @@ func (m *EdiscoveryCasesItemTagsTagItemRequestBuilder) Patch(ctx context.Context } return res.(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.Tagable), nil } -// ToDeleteRequestInformation delete a tag object. +// ToDeleteRequestInformation delete navigation property tags for compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemTagsTagItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *EdiscoveryCasesItemTagsTagItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -144,7 +135,7 @@ func (m *EdiscoveryCasesItemTagsTagItemRequestBuilder) ToDeleteRequestInformatio requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a tag object. +// ToGetRequestInformation returns a list of tag objects associated to this case. // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemTagsTagItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EdiscoveryCasesItemTagsTagItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -159,7 +150,7 @@ func (m *EdiscoveryCasesItemTagsTagItemRequestBuilder) ToGetRequestInformation(c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a tag object. +// ToPatchRequestInformation update the navigation property tags in compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesItemTagsTagItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.Tagable, requestConfiguration *EdiscoveryCasesItemTagsTagItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/compliance/ediscovery_cases_request_builder.go b/compliance/ediscovery_cases_request_builder.go index d60e34ef518..67851f93a73 100644 --- a/compliance/ediscovery_cases_request_builder.go +++ b/compliance/ediscovery_cases_request_builder.go @@ -11,7 +11,7 @@ import ( type EdiscoveryCasesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EdiscoveryCasesRequestBuilderGetQueryParameters retrieve a list of case objects. +// EdiscoveryCasesRequestBuilderGetQueryParameters get cases from compliance type EdiscoveryCasesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -77,13 +77,10 @@ func NewEdiscoveryCasesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7da func (m *EdiscoveryCasesRequestBuilder) Count()(*EdiscoveryCasesCountRequestBuilder) { return NewEdiscoveryCasesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of case objects. +// Get get cases from compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a CaseCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-case-list?view=graph-rest-1.0 func (m *EdiscoveryCasesRequestBuilder) Get(ctx context.Context, requestConfiguration *EdiscoveryCasesRequestBuilderGetRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.CaseCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,13 +98,10 @@ func (m *EdiscoveryCasesRequestBuilder) Get(ctx context.Context, requestConfigur } return res.(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.CaseCollectionResponseable), nil } -// Post create a new case object. +// Post create new navigation property to cases for compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a CaseEscapedable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/ediscovery-case-post?view=graph-rest-1.0 func (m *EdiscoveryCasesRequestBuilder) Post(ctx context.Context, body ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.CaseEscapedable, requestConfiguration *EdiscoveryCasesRequestBuilderPostRequestConfiguration)(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.CaseEscapedable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *EdiscoveryCasesRequestBuilder) Post(ctx context.Context, body ic154d683 } return res.(ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.CaseEscapedable), nil } -// ToGetRequestInformation retrieve a list of case objects. +// ToGetRequestInformation get cases from compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EdiscoveryCasesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -140,7 +134,7 @@ func (m *EdiscoveryCasesRequestBuilder) ToGetRequestInformation(ctx context.Cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new case object. +// ToPostRequestInformation create new navigation property to cases for compliance // Deprecated: The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace // returns a *RequestInformation when successful func (m *EdiscoveryCasesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ic154d683aa4025ee28853b9c1a3c35cd1f093a1c4542feba4c07682e2752db13.CaseEscapedable, requestConfiguration *EdiscoveryCasesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/connections/item_groups_external_group_item_request_builder.go b/connections/item_groups_external_group_item_request_builder.go index c42d031a260..fc5e5b4accd 100644 --- a/connections/item_groups_external_group_item_request_builder.go +++ b/connections/item_groups_external_group_item_request_builder.go @@ -54,11 +54,8 @@ func NewItemGroupsExternalGroupItemRequestBuilder(rawUrl string, requestAdapter urlParams["request-raw-url"] = rawUrl return NewItemGroupsExternalGroupItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an externalGroup object. +// Delete delete navigation property groups for connections // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/externalconnectors-externalgroup-delete?view=graph-rest-1.0 func (m *ItemGroupsExternalGroupItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemGroupsExternalGroupItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -118,7 +115,7 @@ func (m *ItemGroupsExternalGroupItemRequestBuilder) Patch(ctx context.Context, b } return res.(ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.ExternalGroupable), nil } -// ToDeleteRequestInformation delete an externalGroup object. +// ToDeleteRequestInformation delete navigation property groups for connections // returns a *RequestInformation when successful func (m *ItemGroupsExternalGroupItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemGroupsExternalGroupItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/connections/item_groups_item_members_identity_item_request_builder.go b/connections/item_groups_item_members_identity_item_request_builder.go index cca7f3b5403..169ff979c70 100644 --- a/connections/item_groups_item_members_identity_item_request_builder.go +++ b/connections/item_groups_item_members_identity_item_request_builder.go @@ -54,11 +54,8 @@ func NewItemGroupsItemMembersIdentityItemRequestBuilder(rawUrl string, requestAd urlParams["request-raw-url"] = rawUrl return NewItemGroupsItemMembersIdentityItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an externalGroupMember object. +// Delete delete navigation property members for connections // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/externalconnectors-externalgroupmember-delete?view=graph-rest-1.0 func (m *ItemGroupsItemMembersIdentityItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemGroupsItemMembersIdentityItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -113,7 +110,7 @@ func (m *ItemGroupsItemMembersIdentityItemRequestBuilder) Patch(ctx context.Cont } return res.(ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.Identityable), nil } -// ToDeleteRequestInformation delete an externalGroupMember object. +// ToDeleteRequestInformation delete navigation property members for connections // returns a *RequestInformation when successful func (m *ItemGroupsItemMembersIdentityItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemGroupsItemMembersIdentityItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/connections/item_groups_item_members_request_builder.go b/connections/item_groups_item_members_request_builder.go index d643a8b3786..60a47e35fcf 100644 --- a/connections/item_groups_item_members_request_builder.go +++ b/connections/item_groups_item_members_request_builder.go @@ -96,12 +96,9 @@ func (m *ItemGroupsItemMembersRequestBuilder) Get(ctx context.Context, requestCo } return res.(ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.IdentityCollectionResponseable), nil } -// Post create a new externalGroupMember object. +// Post create new navigation property to members for connections // returns a Identityable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/externalconnectors-externalgroup-post-members?view=graph-rest-1.0 func (m *ItemGroupsItemMembersRequestBuilder) Post(ctx context.Context, body ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.Identityable, requestConfiguration *ItemGroupsItemMembersRequestBuilderPostRequestConfiguration)(ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.Identityable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -133,7 +130,7 @@ func (m *ItemGroupsItemMembersRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new externalGroupMember object. +// ToPostRequestInformation create new navigation property to members for connections // returns a *RequestInformation when successful func (m *ItemGroupsItemMembersRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.Identityable, requestConfiguration *ItemGroupsItemMembersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/connections/item_groups_request_builder.go b/connections/item_groups_request_builder.go index afa236517a7..ee4ce3dea69 100644 --- a/connections/item_groups_request_builder.go +++ b/connections/item_groups_request_builder.go @@ -96,12 +96,9 @@ func (m *ItemGroupsRequestBuilder) Get(ctx context.Context, requestConfiguration } return res.(ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.ExternalGroupCollectionResponseable), nil } -// Post create a new externalGroup object. +// Post create new navigation property to groups for connections // returns a ExternalGroupable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/externalconnectors-externalconnection-post-groups?view=graph-rest-1.0 func (m *ItemGroupsRequestBuilder) Post(ctx context.Context, body ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.ExternalGroupable, requestConfiguration *ItemGroupsRequestBuilderPostRequestConfiguration)(ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.ExternalGroupable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -133,7 +130,7 @@ func (m *ItemGroupsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new externalGroup object. +// ToPostRequestInformation create new navigation property to groups for connections // returns a *RequestInformation when successful func (m *ItemGroupsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.ExternalGroupable, requestConfiguration *ItemGroupsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/connections/item_items_external_item_item_request_builder.go b/connections/item_items_external_item_item_request_builder.go index 2d02d76ae62..1f8790b02c1 100644 --- a/connections/item_items_external_item_item_request_builder.go +++ b/connections/item_items_external_item_item_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsExternalItemItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsExternalItemItemRequestBuilderGetQueryParameters get the properties and relationships of an externalitem object. This API is provided for diagnostic purposes only. It isn't intended to be used for any other purpose. Repeated requests to this API might result in 429 HTTP errors. +// ItemItemsExternalItemItemRequestBuilderGetQueryParameters get items from connections type ItemItemsExternalItemItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewItemItemsExternalItemItemRequestBuilder(rawUrl string, requestAdapter i2 urlParams["request-raw-url"] = rawUrl return NewItemItemsExternalItemItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an externalitem. +// Delete delete navigation property items for connections // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/externalconnectors-externalitem-delete?view=graph-rest-1.0 func (m *ItemItemsExternalItemItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemItemsExternalItemItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *ItemItemsExternalItemItemRequestBuilder) Delete(ctx context.Context, re } return nil } -// Get get the properties and relationships of an externalitem object. This API is provided for diagnostic purposes only. It isn't intended to be used for any other purpose. Repeated requests to this API might result in 429 HTTP errors. +// Get get items from connections // returns a ExternalItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/externalconnectors-externalitem-get?view=graph-rest-1.0 func (m *ItemItemsExternalItemItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsExternalItemItemRequestBuilderGetRequestConfiguration)(ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.ExternalItemable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -126,7 +120,7 @@ func (m *ItemItemsExternalItemItemRequestBuilder) Put(ctx context.Context, body } return res.(ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.ExternalItemable), nil } -// ToDeleteRequestInformation delete an externalitem. +// ToDeleteRequestInformation delete navigation property items for connections // returns a *RequestInformation when successful func (m *ItemItemsExternalItemItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemItemsExternalItemItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -137,7 +131,7 @@ func (m *ItemItemsExternalItemItemRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties and relationships of an externalitem object. This API is provided for diagnostic purposes only. It isn't intended to be used for any other purpose. Repeated requests to this API might result in 429 HTTP errors. +// ToGetRequestInformation get items from connections // returns a *RequestInformation when successful func (m *ItemItemsExternalItemItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsExternalItemItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/connections/item_items_request_builder.go b/connections/item_items_request_builder.go index 7383a402f82..5905b972ac3 100644 --- a/connections/item_items_request_builder.go +++ b/connections/item_items_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemItemsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemItemsRequestBuilderGetQueryParameters get the properties and relationships of an externalitem object. This API is provided for diagnostic purposes only. It isn't intended to be used for any other purpose. Repeated requests to this API might result in 429 HTTP errors. +// ItemItemsRequestBuilderGetQueryParameters get items from connections type ItemItemsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewItemItemsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee2633 func (m *ItemItemsRequestBuilder) Count()(*ItemItemsCountRequestBuilder) { return NewItemItemsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the properties and relationships of an externalitem object. This API is provided for diagnostic purposes only. It isn't intended to be used for any other purpose. Repeated requests to this API might result in 429 HTTP errors. +// Get get items from connections // returns a ExternalItemCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemItemsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsRequestBuilderGetRequestConfiguration)(ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.ExternalItemCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *ItemItemsRequestBuilder) Post(ctx context.Context, body ie98116770ca9f5 } return res.(ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.ExternalItemable), nil } -// ToGetRequestInformation get the properties and relationships of an externalitem object. This API is provided for diagnostic purposes only. It isn't intended to be used for any other purpose. Repeated requests to this API might result in 429 HTTP errors. +// ToGetRequestInformation get items from connections // returns a *RequestInformation when successful func (m *ItemItemsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/connections/item_quota_request_builder.go b/connections/item_quota_request_builder.go index 99de10c171e..fa32db579f8 100644 --- a/connections/item_quota_request_builder.go +++ b/connections/item_quota_request_builder.go @@ -18,7 +18,7 @@ type ItemQuotaRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemQuotaRequestBuilderGetQueryParameters retrieve the properties and relationships of a connectionQuota object. +// ItemQuotaRequestBuilderGetQueryParameters get quota from connections type ItemQuotaRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemQuotaRequestBuilder) Delete(ctx context.Context, requestConfigurati } return nil } -// Get retrieve the properties and relationships of a connectionQuota object. +// Get get quota from connections // returns a ConnectionQuotaable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/externalconnectors-connectionquota-get?view=graph-rest-1.0 func (m *ItemQuotaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemQuotaRequestBuilderGetRequestConfiguration)(ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.ConnectionQuotaable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemQuotaRequestBuilder) ToDeleteRequestInformation(ctx context.Context requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a connectionQuota object. +// ToGetRequestInformation get quota from connections // returns a *RequestInformation when successful func (m *ItemQuotaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemQuotaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/connections/item_schema_request_builder.go b/connections/item_schema_request_builder.go index c3c7c89d244..9aae2f93bdd 100644 --- a/connections/item_schema_request_builder.go +++ b/connections/item_schema_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSchemaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSchemaRequestBuilderGetQueryParameters retrieve the properties of a schema for an externalConnection. +// ItemSchemaRequestBuilderGetQueryParameters get schema from connections type ItemSchemaRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,12 +47,9 @@ func NewItemSchemaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263 urlParams["request-raw-url"] = rawUrl return NewItemSchemaRequestBuilderInternal(urlParams, requestAdapter) } -// Get retrieve the properties of a schema for an externalConnection. +// Get get schema from connections // returns a Schemaable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/externalconnectors-schema-get?view=graph-rest-1.0 func (m *ItemSchemaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSchemaRequestBuilderGetRequestConfiguration)(ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.Schemaable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -70,12 +67,9 @@ func (m *ItemSchemaRequestBuilder) Get(ctx context.Context, requestConfiguration } return res.(ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.Schemaable), nil } -// Patch create the schema for a Microsoft Search connection. +// Patch update the navigation property schema in connections // returns a Schemaable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/externalconnectors-externalconnection-patch-schema?view=graph-rest-1.0 func (m *ItemSchemaRequestBuilder) Patch(ctx context.Context, body ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.Schemaable, requestConfiguration *ItemSchemaRequestBuilderPatchRequestConfiguration)(ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.Schemaable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -93,7 +87,7 @@ func (m *ItemSchemaRequestBuilder) Patch(ctx context.Context, body ie98116770ca9 } return res.(ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.Schemaable), nil } -// ToGetRequestInformation retrieve the properties of a schema for an externalConnection. +// ToGetRequestInformation get schema from connections // returns a *RequestInformation when successful func (m *ItemSchemaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSchemaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -107,7 +101,7 @@ func (m *ItemSchemaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation create the schema for a Microsoft Search connection. +// ToPatchRequestInformation update the navigation property schema in connections // returns a *RequestInformation when successful func (m *ItemSchemaRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.Schemaable, requestConfiguration *ItemSchemaRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/contacts/contacts_request_builder.go b/contacts/contacts_request_builder.go index 750ca06a536..4afb7c482ce 100644 --- a/contacts/contacts_request_builder.go +++ b/contacts/contacts_request_builder.go @@ -86,7 +86,7 @@ func (m *ContactsRequestBuilder) Delta()(*DeltaRequestBuilder) { // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/orgcontact-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/orgcontact-list?view=graph-rest-beta func (m *ContactsRequestBuilder) Get(ctx context.Context, requestConfiguration *ContactsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OrgContactCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/contacts/delta_request_builder.go b/contacts/delta_request_builder.go index bd721cdabc1..8f31cb2bd42 100644 --- a/contacts/delta_request_builder.go +++ b/contacts/delta_request_builder.go @@ -10,7 +10,7 @@ import ( type DeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeltaRequestBuilderGetQueryParameters invoke function delta +// DeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted organizational contacts without having to perform a full read of the entire collection. See change tracking for details. type DeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb urlParams["request-raw-url"] = rawUrl return NewDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get get newly created, updated, or deleted organizational contacts without having to perform a full read of the entire collection. See change tracking for details. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a DeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/orgcontact-delta?view=graph-rest-beta func (m *DeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(DeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *DeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *Del } return res.(DeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse get newly created, updated, or deleted organizational contacts without having to perform a full read of the entire collection. See change tracking for details. // returns a DeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/orgcontact-delta?view=graph-rest-beta func (m *DeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(DeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *DeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, request } return res.(DeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation get newly created, updated, or deleted organizational contacts without having to perform a full read of the entire collection. See change tracking for details. // returns a *RequestInformation when successful func (m *DeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/contacts/get_by_ids_request_builder.go b/contacts/get_by_ids_request_builder.go index 91ded84ff9f..ad111fb57dd 100644 --- a/contacts/get_by_ids_request_builder.go +++ b/contacts/get_by_ids_request_builder.go @@ -36,7 +36,7 @@ func NewGetByIdsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26337 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-beta func (m *GetByIdsRequestBuilder) Post(ctx context.Context, body GetByIdsPostRequestBodyable, requestConfiguration *GetByIdsRequestBuilderPostRequestConfiguration)(GetByIdsResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *GetByIdsRequestBuilder) Post(ctx context.Context, body GetByIdsPostRequ // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-beta func (m *GetByIdsRequestBuilder) PostAsGetByIdsPostResponse(ctx context.Context, body GetByIdsPostRequestBodyable, requestConfiguration *GetByIdsRequestBuilderPostRequestConfiguration)(GetByIdsPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/contacts/get_user_owned_objects_request_builder.go b/contacts/get_user_owned_objects_request_builder.go index f2fc018a5f4..4d7b16f1f00 100644 --- a/contacts/get_user_owned_objects_request_builder.go +++ b/contacts/get_user_owned_objects_request_builder.go @@ -36,7 +36,7 @@ func NewGetUserOwnedObjectsRequestBuilder(rawUrl string, requestAdapter i2ae4187 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directory-deleteditems-getuserownedobjects?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directory-deleteditems-getuserownedobjects?view=graph-rest-beta func (m *GetUserOwnedObjectsRequestBuilder) Post(ctx context.Context, body GetUserOwnedObjectsPostRequestBodyable, requestConfiguration *GetUserOwnedObjectsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/contacts/item_check_member_groups_request_builder.go b/contacts/item_check_member_groups_request_builder.go index 4332d19d705..df68d047106 100644 --- a/contacts/item_check_member_groups_request_builder.go +++ b/contacts/item_check_member_groups_request_builder.go @@ -36,7 +36,7 @@ func NewItemCheckMemberGroupsRequestBuilder(rawUrl string, requestAdapter i2ae41 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-beta func (m *ItemCheckMemberGroupsRequestBuilder) Post(ctx context.Context, body ItemCheckMemberGroupsPostRequestBodyable, requestConfiguration *ItemCheckMemberGroupsRequestBuilderPostRequestConfiguration)(ItemCheckMemberGroupsResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ItemCheckMemberGroupsRequestBuilder) Post(ctx context.Context, body Ite // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-beta func (m *ItemCheckMemberGroupsRequestBuilder) PostAsCheckMemberGroupsPostResponse(ctx context.Context, body ItemCheckMemberGroupsPostRequestBodyable, requestConfiguration *ItemCheckMemberGroupsRequestBuilderPostRequestConfiguration)(ItemCheckMemberGroupsPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/contacts/item_direct_reports_request_builder.go b/contacts/item_direct_reports_request_builder.go index 49b8614abc7..8e8f436e3a6 100644 --- a/contacts/item_direct_reports_request_builder.go +++ b/contacts/item_direct_reports_request_builder.go @@ -72,9 +72,6 @@ func (m *ItemDirectReportsRequestBuilder) Count()(*ItemDirectReportsCountRequest // Get the contact's direct reports. (The users and contacts that have their manager property set to this contact.) Read-only. Nullable. Supports $expand. // returns a DirectoryObjectCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/orgcontact-list-directreports?view=graph-rest-1.0 func (m *ItemDirectReportsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemDirectReportsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/contacts/item_get_member_groups_request_builder.go b/contacts/item_get_member_groups_request_builder.go index e8bd73e4a84..38e881bafe6 100644 --- a/contacts/item_get_member_groups_request_builder.go +++ b/contacts/item_get_member_groups_request_builder.go @@ -36,7 +36,7 @@ func NewItemGetMemberGroupsRequestBuilder(rawUrl string, requestAdapter i2ae4187 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-beta func (m *ItemGetMemberGroupsRequestBuilder) Post(ctx context.Context, body ItemGetMemberGroupsPostRequestBodyable, requestConfiguration *ItemGetMemberGroupsRequestBuilderPostRequestConfiguration)(ItemGetMemberGroupsResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ItemGetMemberGroupsRequestBuilder) Post(ctx context.Context, body ItemG // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-beta func (m *ItemGetMemberGroupsRequestBuilder) PostAsGetMemberGroupsPostResponse(ctx context.Context, body ItemGetMemberGroupsPostRequestBodyable, requestConfiguration *ItemGetMemberGroupsRequestBuilderPostRequestConfiguration)(ItemGetMemberGroupsPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/contacts/item_manager_request_builder.go b/contacts/item_manager_request_builder.go index 1a740ddb497..2459a3386af 100644 --- a/contacts/item_manager_request_builder.go +++ b/contacts/item_manager_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemManagerRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemManagerRequestBuilderGetQueryParameters get the contact's manager +// ItemManagerRequestBuilderGetQueryParameters the user or contact that is this contact's manager. Read-only. Supports $expand and $filter (eq) by id. type ItemManagerRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -40,12 +40,9 @@ func NewItemManagerRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 urlParams["request-raw-url"] = rawUrl return NewItemManagerRequestBuilderInternal(urlParams, requestAdapter) } -// Get get the contact's manager +// Get the user or contact that is this contact's manager. Read-only. Supports $expand and $filter (eq) by id. // returns a DirectoryObjectable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/orgcontact-get-manager?view=graph-rest-1.0 func (m *ItemManagerRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemManagerRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -63,7 +60,7 @@ func (m *ItemManagerRequestBuilder) Get(ctx context.Context, requestConfiguratio } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable), nil } -// ToGetRequestInformation get the contact's manager +// ToGetRequestInformation the user or contact that is this contact's manager. Read-only. Supports $expand and $filter (eq) by id. // returns a *RequestInformation when successful func (m *ItemManagerRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemManagerRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/contacts/item_member_of_request_builder.go b/contacts/item_member_of_request_builder.go index 8e18436d245..ce8e10533b4 100644 --- a/contacts/item_member_of_request_builder.go +++ b/contacts/item_member_of_request_builder.go @@ -72,9 +72,6 @@ func (m *ItemMemberOfRequestBuilder) Count()(*ItemMemberOfCountRequestBuilder) { // Get groups that this contact is a member of. Read-only. Nullable. Supports $expand. // returns a DirectoryObjectCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/orgcontact-list-memberof?view=graph-rest-1.0 func (m *ItemMemberOfRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMemberOfRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/contacts/item_restore_request_builder.go b/contacts/item_restore_request_builder.go index aa9d5276503..07c42c153a4 100644 --- a/contacts/item_restore_request_builder.go +++ b/contacts/item_restore_request_builder.go @@ -36,7 +36,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-beta func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemRestoreRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/contacts/item_retry_service_provisioning_request_builder.go b/contacts/item_retry_service_provisioning_request_builder.go index 5e04710dc84..ca35c61c6e1 100644 --- a/contacts/item_retry_service_provisioning_request_builder.go +++ b/contacts/item_retry_service_provisioning_request_builder.go @@ -34,7 +34,7 @@ func NewItemRetryServiceProvisioningRequestBuilder(rawUrl string, requestAdapter // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/orgcontact-retryserviceprovisioning?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/orgcontact-retryserviceprovisioning?view=graph-rest-beta func (m *ItemRetryServiceProvisioningRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemRetryServiceProvisioningRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/contacts/org_contact_item_request_builder.go b/contacts/org_contact_item_request_builder.go index 94f135ea982..669fd62c866 100644 --- a/contacts/org_contact_item_request_builder.go +++ b/contacts/org_contact_item_request_builder.go @@ -90,7 +90,7 @@ func (m *OrgContactItemRequestBuilder) DirectReports()(*ItemDirectReportsRequest // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/orgcontact-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/orgcontact-get?view=graph-rest-beta func (m *OrgContactItemRequestBuilder) Get(ctx context.Context, requestConfiguration *OrgContactItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OrgContactable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/contacts/validate_properties_request_builder.go b/contacts/validate_properties_request_builder.go index efe25db6637..6a9aec2b381 100644 --- a/contacts/validate_properties_request_builder.go +++ b/contacts/validate_properties_request_builder.go @@ -34,7 +34,7 @@ func NewValidatePropertiesRequestBuilder(rawUrl string, requestAdapter i2ae4187f // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-validateproperties?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-validateproperties?view=graph-rest-beta func (m *ValidatePropertiesRequestBuilder) Post(ctx context.Context, body ValidatePropertiesPostRequestBodyable, requestConfiguration *ValidatePropertiesRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/contracts/contract_item_request_builder.go b/contracts/contract_item_request_builder.go index 4f1b53984cc..4024e9fa2af 100644 --- a/contracts/contract_item_request_builder.go +++ b/contracts/contract_item_request_builder.go @@ -85,7 +85,7 @@ func (m *ContractItemRequestBuilder) Delete(ctx context.Context, requestConfigur // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/contract-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/contract-get?view=graph-rest-beta func (m *ContractItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ContractItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Contractable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/contracts/contracts_request_builder.go b/contracts/contracts_request_builder.go index d7765f2a99a..70671eb4686 100644 --- a/contracts/contracts_request_builder.go +++ b/contracts/contracts_request_builder.go @@ -86,7 +86,7 @@ func (m *ContractsRequestBuilder) Delta()(*DeltaRequestBuilder) { // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/contract-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/contract-list?view=graph-rest-beta func (m *ContractsRequestBuilder) Get(ctx context.Context, requestConfiguration *ContractsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContractCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/contracts/delta_request_builder.go b/contracts/delta_request_builder.go index 6b44bfa0f09..2a04e622e32 100644 --- a/contracts/delta_request_builder.go +++ b/contracts/delta_request_builder.go @@ -10,7 +10,7 @@ import ( type DeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeltaRequestBuilderGetQueryParameters invoke function delta +// DeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. type DeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb urlParams["request-raw-url"] = rawUrl return NewDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a DeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-delta?view=graph-rest-beta func (m *DeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(DeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *DeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *Del } return res.(DeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. // returns a DeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-delta?view=graph-rest-beta func (m *DeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(DeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *DeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, request } return res.(DeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. // returns a *RequestInformation when successful func (m *DeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/contracts/get_by_ids_request_builder.go b/contracts/get_by_ids_request_builder.go index 63c437a32fc..9286bed555e 100644 --- a/contracts/get_by_ids_request_builder.go +++ b/contracts/get_by_ids_request_builder.go @@ -36,7 +36,7 @@ func NewGetByIdsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26337 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-beta func (m *GetByIdsRequestBuilder) Post(ctx context.Context, body GetByIdsPostRequestBodyable, requestConfiguration *GetByIdsRequestBuilderPostRequestConfiguration)(GetByIdsResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *GetByIdsRequestBuilder) Post(ctx context.Context, body GetByIdsPostRequ // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-beta func (m *GetByIdsRequestBuilder) PostAsGetByIdsPostResponse(ctx context.Context, body GetByIdsPostRequestBodyable, requestConfiguration *GetByIdsRequestBuilderPostRequestConfiguration)(GetByIdsPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/contracts/get_user_owned_objects_request_builder.go b/contracts/get_user_owned_objects_request_builder.go index d080be2e37d..04e1cfe9222 100644 --- a/contracts/get_user_owned_objects_request_builder.go +++ b/contracts/get_user_owned_objects_request_builder.go @@ -36,7 +36,7 @@ func NewGetUserOwnedObjectsRequestBuilder(rawUrl string, requestAdapter i2ae4187 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directory-deleteditems-getuserownedobjects?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directory-deleteditems-getuserownedobjects?view=graph-rest-beta func (m *GetUserOwnedObjectsRequestBuilder) Post(ctx context.Context, body GetUserOwnedObjectsPostRequestBodyable, requestConfiguration *GetUserOwnedObjectsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/contracts/item_check_member_groups_request_builder.go b/contracts/item_check_member_groups_request_builder.go index 67768dcffc9..52a0a801fe6 100644 --- a/contracts/item_check_member_groups_request_builder.go +++ b/contracts/item_check_member_groups_request_builder.go @@ -36,7 +36,7 @@ func NewItemCheckMemberGroupsRequestBuilder(rawUrl string, requestAdapter i2ae41 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-beta func (m *ItemCheckMemberGroupsRequestBuilder) Post(ctx context.Context, body ItemCheckMemberGroupsPostRequestBodyable, requestConfiguration *ItemCheckMemberGroupsRequestBuilderPostRequestConfiguration)(ItemCheckMemberGroupsResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ItemCheckMemberGroupsRequestBuilder) Post(ctx context.Context, body Ite // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-beta func (m *ItemCheckMemberGroupsRequestBuilder) PostAsCheckMemberGroupsPostResponse(ctx context.Context, body ItemCheckMemberGroupsPostRequestBodyable, requestConfiguration *ItemCheckMemberGroupsRequestBuilderPostRequestConfiguration)(ItemCheckMemberGroupsPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/contracts/item_get_member_groups_request_builder.go b/contracts/item_get_member_groups_request_builder.go index 6a5f87ef78f..14ef51ae650 100644 --- a/contracts/item_get_member_groups_request_builder.go +++ b/contracts/item_get_member_groups_request_builder.go @@ -36,7 +36,7 @@ func NewItemGetMemberGroupsRequestBuilder(rawUrl string, requestAdapter i2ae4187 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-beta func (m *ItemGetMemberGroupsRequestBuilder) Post(ctx context.Context, body ItemGetMemberGroupsPostRequestBodyable, requestConfiguration *ItemGetMemberGroupsRequestBuilderPostRequestConfiguration)(ItemGetMemberGroupsResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ItemGetMemberGroupsRequestBuilder) Post(ctx context.Context, body ItemG // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-beta func (m *ItemGetMemberGroupsRequestBuilder) PostAsGetMemberGroupsPostResponse(ctx context.Context, body ItemGetMemberGroupsPostRequestBodyable, requestConfiguration *ItemGetMemberGroupsRequestBuilderPostRequestConfiguration)(ItemGetMemberGroupsPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/contracts/item_restore_request_builder.go b/contracts/item_restore_request_builder.go index fbae4de53fc..2157041aa3c 100644 --- a/contracts/item_restore_request_builder.go +++ b/contracts/item_restore_request_builder.go @@ -36,7 +36,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-beta func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemRestoreRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/contracts/validate_properties_request_builder.go b/contracts/validate_properties_request_builder.go index 7c5b79c5d2f..b48465cbf06 100644 --- a/contracts/validate_properties_request_builder.go +++ b/contracts/validate_properties_request_builder.go @@ -34,7 +34,7 @@ func NewValidatePropertiesRequestBuilder(rawUrl string, requestAdapter i2ae4187f // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-validateproperties?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-validateproperties?view=graph-rest-beta func (m *ValidatePropertiesRequestBuilder) Post(ctx context.Context, body ValidatePropertiesPostRequestBodyable, requestConfiguration *ValidatePropertiesRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/datapolicyoperations/data_policy_operation_item_request_builder.go b/datapolicyoperations/data_policy_operation_item_request_builder.go index 6daf20d0bb5..a662738edee 100644 --- a/datapolicyoperations/data_policy_operation_item_request_builder.go +++ b/datapolicyoperations/data_policy_operation_item_request_builder.go @@ -75,7 +75,7 @@ func (m *DataPolicyOperationItemRequestBuilder) Delete(ctx context.Context, requ // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/datapolicyoperation-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/datapolicyoperation-get?view=graph-rest-beta func (m *DataPolicyOperationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DataPolicyOperationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DataPolicyOperationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/deviceappmanagement/ios_lob_app_provisioning_configurations_item_assignments_ios_lob_app_provisioning_configuration_assignment_item_request_builder.go b/deviceappmanagement/ios_lob_app_provisioning_configurations_item_assignments_ios_lob_app_provisioning_configuration_assignment_item_request_builder.go index 7c6ecce6609..39d25e35677 100644 --- a/deviceappmanagement/ios_lob_app_provisioning_configurations_item_assignments_ios_lob_app_provisioning_configuration_assignment_item_request_builder.go +++ b/deviceappmanagement/ios_lob_app_provisioning_configurations_item_assignments_ios_lob_app_provisioning_configuration_assignment_item_request_builder.go @@ -18,7 +18,7 @@ type IosLobAppProvisioningConfigurationsItemAssignmentsIosLobAppProvisioningConf // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// IosLobAppProvisioningConfigurationsItemAssignmentsIosLobAppProvisioningConfigurationAssignmentItemRequestBuilderGetQueryParameters the associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. +// IosLobAppProvisioningConfigurationsItemAssignmentsIosLobAppProvisioningConfigurationAssignmentItemRequestBuilderGetQueryParameters the associated group assignments for IosLobAppProvisioningConfiguration. 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, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. +// Get the associated group assignments for IosLobAppProvisioningConfiguration. // 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, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. +// ToGetRequestInformation the associated group assignments for IosLobAppProvisioningConfiguration. // 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/ios_lob_app_provisioning_configurations_item_assignments_request_builder.go b/deviceappmanagement/ios_lob_app_provisioning_configurations_item_assignments_request_builder.go index 16eaa8fdfd8..99837d7a7c6 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, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. +// IosLobAppProvisioningConfigurationsItemAssignmentsRequestBuilderGetQueryParameters the associated group assignments for IosLobAppProvisioningConfiguration. 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, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. +// Get the associated group assignments for IosLobAppProvisioningConfiguration. // 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, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. +// ToGetRequestInformation the associated group assignments for IosLobAppProvisioningConfiguration. // 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_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_android_for_work_app_relationships_mobile_app_relationship_item_request_builder.go index f4e2a48606b..a587655639d 100644 --- a/deviceappmanagement/mobile_apps_item_graph_android_for_work_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_android_for_work_app_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphAndroidForWorkAppRelationshipsMobileAppRelationshipItemR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphAndroidForWorkAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphAndroidForWorkAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphAndroidForWorkAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphAndroidForWorkAppRelationshipsMobileAppRelationshipI } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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/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 73e11416baa..91d94aa8865 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 list of relationships for this mobile app. +// MobileAppsItemGraphAndroidForWorkAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this 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 list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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 3b12aa27879..3a00945df43 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 list of relationships for this mobile app. +// MobileAppsItemGraphAndroidLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphAndroidLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphAndroidLobAppRelationshipsMobileAppRelationshipItemR } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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 7cbe154fc0b..f097e84b4f4 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 list of relationships for this mobile app. +// MobileAppsItemGraphAndroidLobAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this 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 list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_android_managed_store_app_relationships_mobile_app_relationship_item_request_builder.go index 73c8f344528..9b4df51ef50 100644 --- a/deviceappmanagement/mobile_apps_item_graph_android_managed_store_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_android_managed_store_app_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphAndroidManagedStoreAppRelationshipsMobileAppRelationship // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphAndroidManagedStoreAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphAndroidManagedStoreAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphAndroidManagedStoreAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphAndroidManagedStoreAppRelationshipsMobileAppRelation } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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/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 1754a63f62c..0385bf97d13 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 list of relationships for this mobile app. +// MobileAppsItemGraphAndroidManagedStoreAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this 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 list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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 5fb084b5147..736af4c8666 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 list of relationships for this mobile app. +// MobileAppsItemGraphAndroidStoreAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphAndroidStoreAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphAndroidStoreAppRelationshipsMobileAppRelationshipIte } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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 f1f784c165c..6d79454cb40 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 list of relationships for this mobile app. +// MobileAppsItemGraphAndroidStoreAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this 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 list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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 4d3c5debae9..7ee0c344847 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 list of relationships for this mobile app. +// MobileAppsItemGraphIosLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphIosLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphIosLobAppRelationshipsMobileAppRelationshipItemReque } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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 5eb74895160..071a07d1d61 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 list of relationships for this mobile app. +// MobileAppsItemGraphIosLobAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this 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 list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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 dece73473f3..dea6fa4e751 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 list of relationships for this mobile app. +// MobileAppsItemGraphIosStoreAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphIosStoreAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphIosStoreAppRelationshipsMobileAppRelationshipItemReq } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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 7b6f064a3f9..b5e70b4647f 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 list of relationships for this mobile app. +// MobileAppsItemGraphIosStoreAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this 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 list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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 fb41ac3a083..d0541428648 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 list of relationships for this mobile app. +// MobileAppsItemGraphIosVppAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphIosVppAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphIosVppAppRelationshipsMobileAppRelationshipItemReque } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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 dc34bede80d..0c78baec05e 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 list of relationships for this mobile app. +// MobileAppsItemGraphIosVppAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this 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 list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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 9a76d738e42..6fbe4218608 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 list of relationships for this mobile app. +// MobileAppsItemGraphMacOSDmgAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphMacOSDmgAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphMacOSDmgAppRelationshipsMobileAppRelationshipItemReq } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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 bd2eab8ffad..bd6f6ac4bf4 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 list of relationships for this mobile app. +// MobileAppsItemGraphMacOSDmgAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this 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 list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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 27456812bba..0d8479b71cc 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 list of relationships for this mobile app. +// MobileAppsItemGraphMacOSLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphMacOSLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphMacOSLobAppRelationshipsMobileAppRelationshipItemReq } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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 f9641b2b34c..ce43c37f0a0 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 list of relationships for this mobile app. +// MobileAppsItemGraphMacOSLobAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this 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 list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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 91aa2abe612..c6b0b372c2d 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 list of relationships for this mobile app. +// MobileAppsItemGraphMacOSPkgAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphMacOSPkgAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphMacOSPkgAppRelationshipsMobileAppRelationshipItemReq } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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 1f79e1604fb..0c6f76fcd17 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 list of relationships for this mobile app. +// MobileAppsItemGraphMacOSPkgAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this 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 list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_relationships_mobile_app_relationship_item_request_builder.go index da6a6c9b256..6fc5bf80b5a 100644 --- a/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphManagedAndroidLobAppRelationshipsMobileAppRelationshipIt // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphManagedAndroidLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphManagedAndroidLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphManagedAndroidLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphManagedAndroidLobAppRelationshipsMobileAppRelationsh } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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/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 e0f10f56afa..f45ea1c06da 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 list of relationships for this mobile app. +// MobileAppsItemGraphManagedAndroidLobAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this 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 list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_relationships_mobile_app_relationship_item_request_builder.go index 17c052ccfee..396b671d55a 100644 --- a/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphManagedIOSLobAppRelationshipsMobileAppRelationshipItemRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphManagedIOSLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphManagedIOSLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphManagedIOSLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphManagedIOSLobAppRelationshipsMobileAppRelationshipIt } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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/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 fdb862d5090..fafe766181d 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 list of relationships for this mobile app. +// MobileAppsItemGraphManagedIOSLobAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this 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 list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_relationships_mobile_app_relationship_item_request_builder.go index 457a67098ad..666db560686 100644 --- a/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphManagedMobileLobAppRelationshipsMobileAppRelationshipIte // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphManagedMobileLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphManagedMobileLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphManagedMobileLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphManagedMobileLobAppRelationshipsMobileAppRelationshi } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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/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 9fb88f603ce..ec8f77796a8 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 list of relationships for this mobile app. +// MobileAppsItemGraphManagedMobileLobAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this 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 list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_microsoft_store_for_business_app_relationships_mobile_app_relationship_item_request_builder.go index 3baaa4e30ed..1477cf940e1 100644 --- a/deviceappmanagement/mobile_apps_item_graph_microsoft_store_for_business_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_microsoft_store_for_business_app_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsMobileAppRelati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsMobileAppRe } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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/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 4d58a737ee9..803fce06664 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 list of relationships for this mobile app. +// MobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this 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 list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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 c10df7ed98f..8106d98fb83 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 list of relationships for this mobile app. +// MobileAppsItemGraphWin32LobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphWin32LobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphWin32LobAppRelationshipsMobileAppRelationshipItemReq } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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 396e6132afa..d51a2ffa0f7 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 list of relationships for this mobile app. +// MobileAppsItemGraphWin32LobAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this 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 list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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 0815419459e..68525e095d3 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 list of relationships for this mobile app. +// MobileAppsItemGraphWinGetAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphWinGetAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphWinGetAppRelationshipsMobileAppRelationshipItemReque } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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 a449fb8d3a4..8ec9bab5750 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 list of relationships for this mobile app. +// MobileAppsItemGraphWinGetAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this 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 list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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 d8aec3d4193..5dd5dab3a7c 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 list of relationships for this mobile app. +// MobileAppsItemGraphWindowsAppXRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphWindowsAppXRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphWindowsAppXRelationshipsMobileAppRelationshipItemReq } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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 43ea9050a5a..f9d016bdae4 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 list of relationships for this mobile app. +// MobileAppsItemGraphWindowsAppXRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this 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 list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_relationships_mobile_app_relationship_item_request_builder.go index 5bcdfd16bdc..d0cfb066c12 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphWindowsMobileMSIRelationshipsMobileAppRelationshipItemRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphWindowsMobileMSIRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphWindowsMobileMSIRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphWindowsMobileMSIRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphWindowsMobileMSIRelationshipsMobileAppRelationshipIt } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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/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 a4e70b5781c..31023821c96 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 list of relationships for this mobile app. +// MobileAppsItemGraphWindowsMobileMSIRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this 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 list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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 867f95a5435..65fc4cb5fe8 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 list of relationships for this mobile app. +// MobileAppsItemGraphWindowsStoreAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphWindowsStoreAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphWindowsStoreAppRelationshipsMobileAppRelationshipIte } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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 726f73ab2cf..cec477b327a 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 list of relationships for this mobile app. +// MobileAppsItemGraphWindowsStoreAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this 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 list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_relationships_mobile_app_relationship_item_request_builder.go index 7940c24f374..1d0336d63f4 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphWindowsUniversalAppXRelationshipsMobileAppRelationshipIt // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphWindowsUniversalAppXRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphWindowsUniversalAppXRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphWindowsUniversalAppXRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphWindowsUniversalAppXRelationshipsMobileAppRelationsh } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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/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 d40cc99add4..6bcc2b012ad 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 list of relationships for this mobile app. +// MobileAppsItemGraphWindowsUniversalAppXRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this 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 list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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 67ec4fc924c..e337a83c0e5 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 list of relationships for this mobile app. +// MobileAppsItemGraphWindowsWebAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphWindowsWebAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphWindowsWebAppRelationshipsMobileAppRelationshipItemR } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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 3338c21cdc0..f828e778fb2 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 list of relationships for this mobile app. +// MobileAppsItemGraphWindowsWebAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this 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 list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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 c50c3f38993..c735e11f2ca 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 list of relationships for this mobile app. +// MobileAppsItemRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemRelationshipsMobileAppRelationshipItemRequestBuilder) Del } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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 b0ebbdcbc13..93080353eaf 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 list of relationships for this mobile app. +// MobileAppsItemRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this 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 list of relationships for this mobile app. +// Get the set of direct relationships for this 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 list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this 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/comanaged_devices_bulk_reprovision_cloud_pc_request_builder.go b/devicemanagement/comanaged_devices_bulk_reprovision_cloud_pc_request_builder.go index 4e20baae869..a20f300bef8 100644 --- a/devicemanagement/comanaged_devices_bulk_reprovision_cloud_pc_request_builder.go +++ b/devicemanagement/comanaged_devices_bulk_reprovision_cloud_pc_request_builder.go @@ -37,7 +37,7 @@ func NewComanagedDevicesBulkReprovisionCloudPcRequestBuilder(rawUrl string, requ // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/manageddevice-bulkreprovisioncloudpc?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/manageddevice-bulkreprovisioncloudpc?view=graph-rest-beta func (m *ComanagedDevicesBulkReprovisionCloudPcRequestBuilder) Post(ctx context.Context, body ComanagedDevicesBulkReprovisionCloudPcPostRequestBodyable, requestConfiguration *ComanagedDevicesBulkReprovisionCloudPcRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcBulkRemoteActionResultable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/devicemanagement/comanaged_devices_bulk_restore_cloud_pc_request_builder.go b/devicemanagement/comanaged_devices_bulk_restore_cloud_pc_request_builder.go index 546d40a1dae..50e76632671 100644 --- a/devicemanagement/comanaged_devices_bulk_restore_cloud_pc_request_builder.go +++ b/devicemanagement/comanaged_devices_bulk_restore_cloud_pc_request_builder.go @@ -37,7 +37,7 @@ func NewComanagedDevicesBulkRestoreCloudPcRequestBuilder(rawUrl string, requestA // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/manageddevice-bulkrestorecloudpc?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/manageddevice-bulkrestorecloudpc?view=graph-rest-beta func (m *ComanagedDevicesBulkRestoreCloudPcRequestBuilder) Post(ctx context.Context, body ComanagedDevicesBulkRestoreCloudPcPostRequestBodyable, requestConfiguration *ComanagedDevicesBulkRestoreCloudPcRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcBulkRemoteActionResultable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/devicemanagement/comanaged_devices_bulk_set_cloud_pc_review_status_request_builder.go b/devicemanagement/comanaged_devices_bulk_set_cloud_pc_review_status_request_builder.go index eaf48519751..de4920d2c04 100644 --- a/devicemanagement/comanaged_devices_bulk_set_cloud_pc_review_status_request_builder.go +++ b/devicemanagement/comanaged_devices_bulk_set_cloud_pc_review_status_request_builder.go @@ -36,7 +36,7 @@ func NewComanagedDevicesBulkSetCloudPcReviewStatusRequestBuilder(rawUrl string, // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/manageddevice-bulksetcloudpcreviewstatus?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/manageddevice-bulksetcloudpcreviewstatus?view=graph-rest-beta func (m *ComanagedDevicesBulkSetCloudPcReviewStatusRequestBuilder) Post(ctx context.Context, body ComanagedDevicesBulkSetCloudPcReviewStatusPostRequestBodyable, requestConfiguration *ComanagedDevicesBulkSetCloudPcReviewStatusRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcBulkRemoteActionResultable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/devicemanagement/comanaged_devices_item_get_cloud_pc_remote_action_results_request_builder.go b/devicemanagement/comanaged_devices_item_get_cloud_pc_remote_action_results_request_builder.go index dd47c9a9b74..280b9cf7ff7 100644 --- a/devicemanagement/comanaged_devices_item_get_cloud_pc_remote_action_results_request_builder.go +++ b/devicemanagement/comanaged_devices_item_get_cloud_pc_remote_action_results_request_builder.go @@ -10,7 +10,7 @@ import ( type ComanagedDevicesItemGetCloudPcRemoteActionResultsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ComanagedDevicesItemGetCloudPcRemoteActionResultsRequestBuilderGetQueryParameters invoke function getCloudPcRemoteActionResults +// ComanagedDevicesItemGetCloudPcRemoteActionResultsRequestBuilderGetQueryParameters check the Cloud PC-specified remote action results for a Cloud PC device. Cloud PC supports reprovision and resize remote actions. type ComanagedDevicesItemGetCloudPcRemoteActionResultsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -45,10 +45,13 @@ func NewComanagedDevicesItemGetCloudPcRemoteActionResultsRequestBuilder(rawUrl s urlParams["request-raw-url"] = rawUrl return NewComanagedDevicesItemGetCloudPcRemoteActionResultsRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getCloudPcRemoteActionResults +// Get check the Cloud PC-specified remote action results for a Cloud PC device. Cloud PC supports reprovision and resize remote actions. // Deprecated: This method is obsolete. Use GetAsGetCloudPcRemoteActionResultsGetResponse instead. // returns a ComanagedDevicesItemGetCloudPcRemoteActionResultsResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/manageddevice-getcloudpcremoteactionresults?view=graph-rest-beta func (m *ComanagedDevicesItemGetCloudPcRemoteActionResultsRequestBuilder) Get(ctx context.Context, requestConfiguration *ComanagedDevicesItemGetCloudPcRemoteActionResultsRequestBuilderGetRequestConfiguration)(ComanagedDevicesItemGetCloudPcRemoteActionResultsResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,9 +69,12 @@ func (m *ComanagedDevicesItemGetCloudPcRemoteActionResultsRequestBuilder) Get(ct } return res.(ComanagedDevicesItemGetCloudPcRemoteActionResultsResponseable), nil } -// GetAsGetCloudPcRemoteActionResultsGetResponse invoke function getCloudPcRemoteActionResults +// GetAsGetCloudPcRemoteActionResultsGetResponse check the Cloud PC-specified remote action results for a Cloud PC device. Cloud PC supports reprovision and resize remote actions. // returns a ComanagedDevicesItemGetCloudPcRemoteActionResultsGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/manageddevice-getcloudpcremoteactionresults?view=graph-rest-beta func (m *ComanagedDevicesItemGetCloudPcRemoteActionResultsRequestBuilder) GetAsGetCloudPcRemoteActionResultsGetResponse(ctx context.Context, requestConfiguration *ComanagedDevicesItemGetCloudPcRemoteActionResultsRequestBuilderGetRequestConfiguration)(ComanagedDevicesItemGetCloudPcRemoteActionResultsGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -86,7 +92,7 @@ func (m *ComanagedDevicesItemGetCloudPcRemoteActionResultsRequestBuilder) GetAsG } return res.(ComanagedDevicesItemGetCloudPcRemoteActionResultsGetResponseable), nil } -// ToGetRequestInformation invoke function getCloudPcRemoteActionResults +// ToGetRequestInformation check the Cloud PC-specified remote action results for a Cloud PC device. Cloud PC supports reprovision and resize remote actions. // returns a *RequestInformation when successful func (m *ComanagedDevicesItemGetCloudPcRemoteActionResultsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ComanagedDevicesItemGetCloudPcRemoteActionResultsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/comanaged_devices_item_get_cloud_pc_review_status_request_builder.go b/devicemanagement/comanaged_devices_item_get_cloud_pc_review_status_request_builder.go index 074d32b526a..fea03c708a4 100644 --- a/devicemanagement/comanaged_devices_item_get_cloud_pc_review_status_request_builder.go +++ b/devicemanagement/comanaged_devices_item_get_cloud_pc_review_status_request_builder.go @@ -31,9 +31,12 @@ func NewComanagedDevicesItemGetCloudPcReviewStatusRequestBuilder(rawUrl string, urlParams["request-raw-url"] = rawUrl return NewComanagedDevicesItemGetCloudPcReviewStatusRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getCloudPcReviewStatus +// Get get the review status of a specific Cloud PC device. // 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/manageddevice-getcloudpcreviewstatus?view=graph-rest-beta func (m *ComanagedDevicesItemGetCloudPcReviewStatusRequestBuilder) Get(ctx context.Context, requestConfiguration *ComanagedDevicesItemGetCloudPcReviewStatusRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcReviewStatusable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -51,7 +54,7 @@ func (m *ComanagedDevicesItemGetCloudPcReviewStatusRequestBuilder) Get(ctx conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcReviewStatusable), nil } -// ToGetRequestInformation invoke function getCloudPcReviewStatus +// ToGetRequestInformation get the review status of a specific Cloud PC device. // returns a *RequestInformation when successful func (m *ComanagedDevicesItemGetCloudPcReviewStatusRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ComanagedDevicesItemGetCloudPcReviewStatusRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/comanaged_devices_item_reprovision_cloud_pc_request_builder.go b/devicemanagement/comanaged_devices_item_reprovision_cloud_pc_request_builder.go index 2925ea9a207..41f1d230cab 100644 --- a/devicemanagement/comanaged_devices_item_reprovision_cloud_pc_request_builder.go +++ b/devicemanagement/comanaged_devices_item_reprovision_cloud_pc_request_builder.go @@ -35,7 +35,7 @@ func NewComanagedDevicesItemReprovisionCloudPcRequestBuilder(rawUrl string, requ // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/manageddevice-reprovisioncloudpc?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/manageddevice-reprovisioncloudpc?view=graph-rest-beta func (m *ComanagedDevicesItemReprovisionCloudPcRequestBuilder) Post(ctx context.Context, requestConfiguration *ComanagedDevicesItemReprovisionCloudPcRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/devicemanagement/comanaged_devices_item_resize_cloud_pc_request_builder.go b/devicemanagement/comanaged_devices_item_resize_cloud_pc_request_builder.go index 2c2fb2baee1..9128a812fb0 100644 --- a/devicemanagement/comanaged_devices_item_resize_cloud_pc_request_builder.go +++ b/devicemanagement/comanaged_devices_item_resize_cloud_pc_request_builder.go @@ -35,7 +35,7 @@ func NewComanagedDevicesItemResizeCloudPcRequestBuilder(rawUrl string, requestAd // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/manageddevice-resizecloudpc?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/manageddevice-resizecloudpc?view=graph-rest-beta func (m *ComanagedDevicesItemResizeCloudPcRequestBuilder) Post(ctx context.Context, body ComanagedDevicesItemResizeCloudPcPostRequestBodyable, requestConfiguration *ComanagedDevicesItemResizeCloudPcRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/devicemanagement/comanaged_devices_item_restore_cloud_pc_request_builder.go b/devicemanagement/comanaged_devices_item_restore_cloud_pc_request_builder.go index 261b066807b..a1dba0285a2 100644 --- a/devicemanagement/comanaged_devices_item_restore_cloud_pc_request_builder.go +++ b/devicemanagement/comanaged_devices_item_restore_cloud_pc_request_builder.go @@ -35,7 +35,7 @@ func NewComanagedDevicesItemRestoreCloudPcRequestBuilder(rawUrl string, requestA // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/manageddevice-restorecloudpc?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/manageddevice-restorecloudpc?view=graph-rest-beta func (m *ComanagedDevicesItemRestoreCloudPcRequestBuilder) Post(ctx context.Context, body ComanagedDevicesItemRestoreCloudPcPostRequestBodyable, requestConfiguration *ComanagedDevicesItemRestoreCloudPcRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/devicemanagement/comanaged_devices_item_set_cloud_pc_review_status_request_builder.go b/devicemanagement/comanaged_devices_item_set_cloud_pc_review_status_request_builder.go index 2c4eb95c830..932fd0becfe 100644 --- a/devicemanagement/comanaged_devices_item_set_cloud_pc_review_status_request_builder.go +++ b/devicemanagement/comanaged_devices_item_set_cloud_pc_review_status_request_builder.go @@ -34,7 +34,7 @@ func NewComanagedDevicesItemSetCloudPcReviewStatusRequestBuilder(rawUrl string, // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/manageddevice-setcloudpcreviewstatus?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/manageddevice-setcloudpcreviewstatus?view=graph-rest-beta func (m *ComanagedDevicesItemSetCloudPcReviewStatusRequestBuilder) Post(ctx context.Context, body ComanagedDevicesItemSetCloudPcReviewStatusPostRequestBodyable, requestConfiguration *ComanagedDevicesItemSetCloudPcReviewStatusRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/devicemanagement/hardware_configurations_item_assignments_hardware_configuration_assignment_item_request_builder.go b/devicemanagement/hardware_configurations_item_assignments_hardware_configuration_assignment_item_request_builder.go index ad046271302..1e3bc4b1a53 100644 --- a/devicemanagement/hardware_configurations_item_assignments_hardware_configuration_assignment_item_request_builder.go +++ b/devicemanagement/hardware_configurations_item_assignments_hardware_configuration_assignment_item_request_builder.go @@ -18,7 +18,7 @@ type HardwareConfigurationsItemAssignmentsHardwareConfigurationAssignmentItemReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// HardwareConfigurationsItemAssignmentsHardwareConfigurationAssignmentItemRequestBuilderGetQueryParameters list of the Azure AD user group ids that hardware configuration will be applied to. Only security groups and Office 365 Groups are supported. +// HardwareConfigurationsItemAssignmentsHardwareConfigurationAssignmentItemRequestBuilderGetQueryParameters a list of the Entra user group ids that hardware configuration will be applied to. Only security groups and Office 365 Groups are supported. Optional. type HardwareConfigurationsItemAssignmentsHardwareConfigurationAssignmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *HardwareConfigurationsItemAssignmentsHardwareConfigurationAssignmentIte } return nil } -// Get list of the Azure AD user group ids that hardware configuration will be applied to. Only security groups and Office 365 Groups are supported. +// Get a list of the Entra user group ids that hardware configuration will be applied to. Only security groups and Office 365 Groups are supported. Optional. // returns a HardwareConfigurationAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *HardwareConfigurationsItemAssignmentsHardwareConfigurationAssignmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *HardwareConfigurationsItemAssignmentsHardwareConfigurationAssignmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareConfigurationAssignmentable, error) { @@ -121,7 +121,7 @@ func (m *HardwareConfigurationsItemAssignmentsHardwareConfigurationAssignmentIte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation list of the Azure AD user group ids that hardware configuration will be applied to. Only security groups and Office 365 Groups are supported. +// ToGetRequestInformation a list of the Entra user group ids that hardware configuration will be applied to. Only security groups and Office 365 Groups are supported. Optional. // returns a *RequestInformation when successful func (m *HardwareConfigurationsItemAssignmentsHardwareConfigurationAssignmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *HardwareConfigurationsItemAssignmentsHardwareConfigurationAssignmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/hardware_configurations_item_assignments_request_builder.go b/devicemanagement/hardware_configurations_item_assignments_request_builder.go index 32369ad46e1..c0dcd4a6770 100644 --- a/devicemanagement/hardware_configurations_item_assignments_request_builder.go +++ b/devicemanagement/hardware_configurations_item_assignments_request_builder.go @@ -11,7 +11,7 @@ import ( type HardwareConfigurationsItemAssignmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// HardwareConfigurationsItemAssignmentsRequestBuilderGetQueryParameters list of the Azure AD user group ids that hardware configuration will be applied to. Only security groups and Office 365 Groups are supported. +// HardwareConfigurationsItemAssignmentsRequestBuilderGetQueryParameters a list of the Entra user group ids that hardware configuration will be applied to. Only security groups and Office 365 Groups are supported. Optional. type HardwareConfigurationsItemAssignmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewHardwareConfigurationsItemAssignmentsRequestBuilder(rawUrl string, reque func (m *HardwareConfigurationsItemAssignmentsRequestBuilder) Count()(*HardwareConfigurationsItemAssignmentsCountRequestBuilder) { return NewHardwareConfigurationsItemAssignmentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list of the Azure AD user group ids that hardware configuration will be applied to. Only security groups and Office 365 Groups are supported. +// Get a list of the Entra user group ids that hardware configuration will be applied to. Only security groups and Office 365 Groups are supported. Optional. // returns a HardwareConfigurationAssignmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *HardwareConfigurationsItemAssignmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *HardwareConfigurationsItemAssignmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareConfigurationAssignmentCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *HardwareConfigurationsItemAssignmentsRequestBuilder) Post(ctx context.C } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareConfigurationAssignmentable), nil } -// ToGetRequestInformation list of the Azure AD user group ids that hardware configuration will be applied to. Only security groups and Office 365 Groups are supported. +// ToGetRequestInformation a list of the Entra user group ids that hardware configuration will be applied to. Only security groups and Office 365 Groups are supported. Optional. // returns a *RequestInformation when successful func (m *HardwareConfigurationsItemAssignmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *HardwareConfigurationsItemAssignmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/hardware_configurations_item_device_run_states_hardware_configuration_device_state_item_request_builder.go b/devicemanagement/hardware_configurations_item_device_run_states_hardware_configuration_device_state_item_request_builder.go index f4d7f320373..fe1675e6f68 100644 --- a/devicemanagement/hardware_configurations_item_device_run_states_hardware_configuration_device_state_item_request_builder.go +++ b/devicemanagement/hardware_configurations_item_device_run_states_hardware_configuration_device_state_item_request_builder.go @@ -18,7 +18,7 @@ type HardwareConfigurationsItemDeviceRunStatesHardwareConfigurationDeviceStateIt // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// HardwareConfigurationsItemDeviceRunStatesHardwareConfigurationDeviceStateItemRequestBuilderGetQueryParameters list of run states for the hardware configuration across all devices +// HardwareConfigurationsItemDeviceRunStatesHardwareConfigurationDeviceStateItemRequestBuilderGetQueryParameters list of run states for the hardware configuration across all devices. Read-Only. type HardwareConfigurationsItemDeviceRunStatesHardwareConfigurationDeviceStateItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *HardwareConfigurationsItemDeviceRunStatesHardwareConfigurationDeviceSta } return nil } -// Get list of run states for the hardware configuration across all devices +// Get list of run states for the hardware configuration across all devices. Read-Only. // returns a HardwareConfigurationDeviceStateable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *HardwareConfigurationsItemDeviceRunStatesHardwareConfigurationDeviceStateItemRequestBuilder) Get(ctx context.Context, requestConfiguration *HardwareConfigurationsItemDeviceRunStatesHardwareConfigurationDeviceStateItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareConfigurationDeviceStateable, error) { @@ -121,7 +121,7 @@ func (m *HardwareConfigurationsItemDeviceRunStatesHardwareConfigurationDeviceSta requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation list of run states for the hardware configuration across all devices +// ToGetRequestInformation list of run states for the hardware configuration across all devices. Read-Only. // returns a *RequestInformation when successful func (m *HardwareConfigurationsItemDeviceRunStatesHardwareConfigurationDeviceStateItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *HardwareConfigurationsItemDeviceRunStatesHardwareConfigurationDeviceStateItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/hardware_configurations_item_device_run_states_request_builder.go b/devicemanagement/hardware_configurations_item_device_run_states_request_builder.go index b9251e2267b..ffedaddf00e 100644 --- a/devicemanagement/hardware_configurations_item_device_run_states_request_builder.go +++ b/devicemanagement/hardware_configurations_item_device_run_states_request_builder.go @@ -11,7 +11,7 @@ import ( type HardwareConfigurationsItemDeviceRunStatesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// HardwareConfigurationsItemDeviceRunStatesRequestBuilderGetQueryParameters list of run states for the hardware configuration across all devices +// HardwareConfigurationsItemDeviceRunStatesRequestBuilderGetQueryParameters list of run states for the hardware configuration across all devices. Read-Only. type HardwareConfigurationsItemDeviceRunStatesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewHardwareConfigurationsItemDeviceRunStatesRequestBuilder(rawUrl string, r func (m *HardwareConfigurationsItemDeviceRunStatesRequestBuilder) Count()(*HardwareConfigurationsItemDeviceRunStatesCountRequestBuilder) { return NewHardwareConfigurationsItemDeviceRunStatesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list of run states for the hardware configuration across all devices +// Get list of run states for the hardware configuration across all devices. Read-Only. // returns a HardwareConfigurationDeviceStateCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *HardwareConfigurationsItemDeviceRunStatesRequestBuilder) Get(ctx context.Context, requestConfiguration *HardwareConfigurationsItemDeviceRunStatesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareConfigurationDeviceStateCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *HardwareConfigurationsItemDeviceRunStatesRequestBuilder) Post(ctx conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareConfigurationDeviceStateable), nil } -// ToGetRequestInformation list of run states for the hardware configuration across all devices +// ToGetRequestInformation list of run states for the hardware configuration across all devices. Read-Only. // returns a *RequestInformation when successful func (m *HardwareConfigurationsItemDeviceRunStatesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *HardwareConfigurationsItemDeviceRunStatesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/hardware_configurations_item_run_summary_request_builder.go b/devicemanagement/hardware_configurations_item_run_summary_request_builder.go index 77f18d246b8..53444bd6afa 100644 --- a/devicemanagement/hardware_configurations_item_run_summary_request_builder.go +++ b/devicemanagement/hardware_configurations_item_run_summary_request_builder.go @@ -18,7 +18,7 @@ type HardwareConfigurationsItemRunSummaryRequestBuilderDeleteRequestConfiguratio // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// HardwareConfigurationsItemRunSummaryRequestBuilderGetQueryParameters a summary of the results from an attempt to configure hardware settings +// HardwareConfigurationsItemRunSummaryRequestBuilderGetQueryParameters a summary of the results from an attempt to configure hardware settings. Read-Only. type HardwareConfigurationsItemRunSummaryRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *HardwareConfigurationsItemRunSummaryRequestBuilder) Delete(ctx context. } return nil } -// Get a summary of the results from an attempt to configure hardware settings +// Get a summary of the results from an attempt to configure hardware settings. Read-Only. // returns a HardwareConfigurationRunSummaryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *HardwareConfigurationsItemRunSummaryRequestBuilder) Get(ctx context.Context, requestConfiguration *HardwareConfigurationsItemRunSummaryRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareConfigurationRunSummaryable, error) { @@ -121,7 +121,7 @@ func (m *HardwareConfigurationsItemRunSummaryRequestBuilder) ToDeleteRequestInfo requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation a summary of the results from an attempt to configure hardware settings +// ToGetRequestInformation a summary of the results from an attempt to configure hardware settings. Read-Only. // returns a *RequestInformation when successful func (m *HardwareConfigurationsItemRunSummaryRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *HardwareConfigurationsItemRunSummaryRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/hardware_configurations_item_user_run_states_hardware_configuration_user_state_item_request_builder.go b/devicemanagement/hardware_configurations_item_user_run_states_hardware_configuration_user_state_item_request_builder.go index e182bc6f9c5..307f0bf336d 100644 --- a/devicemanagement/hardware_configurations_item_user_run_states_hardware_configuration_user_state_item_request_builder.go +++ b/devicemanagement/hardware_configurations_item_user_run_states_hardware_configuration_user_state_item_request_builder.go @@ -18,7 +18,7 @@ type HardwareConfigurationsItemUserRunStatesHardwareConfigurationUserStateItemRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// HardwareConfigurationsItemUserRunStatesHardwareConfigurationUserStateItemRequestBuilderGetQueryParameters list of run states for the hardware configuration across all users +// HardwareConfigurationsItemUserRunStatesHardwareConfigurationUserStateItemRequestBuilderGetQueryParameters list of run states for the hardware configuration across all users. Read-Only. type HardwareConfigurationsItemUserRunStatesHardwareConfigurationUserStateItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *HardwareConfigurationsItemUserRunStatesHardwareConfigurationUserStateIt } return nil } -// Get list of run states for the hardware configuration across all users +// Get list of run states for the hardware configuration across all users. Read-Only. // returns a HardwareConfigurationUserStateable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *HardwareConfigurationsItemUserRunStatesHardwareConfigurationUserStateItemRequestBuilder) Get(ctx context.Context, requestConfiguration *HardwareConfigurationsItemUserRunStatesHardwareConfigurationUserStateItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareConfigurationUserStateable, error) { @@ -121,7 +121,7 @@ func (m *HardwareConfigurationsItemUserRunStatesHardwareConfigurationUserStateIt requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation list of run states for the hardware configuration across all users +// ToGetRequestInformation list of run states for the hardware configuration across all users. Read-Only. // returns a *RequestInformation when successful func (m *HardwareConfigurationsItemUserRunStatesHardwareConfigurationUserStateItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *HardwareConfigurationsItemUserRunStatesHardwareConfigurationUserStateItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/hardware_configurations_item_user_run_states_request_builder.go b/devicemanagement/hardware_configurations_item_user_run_states_request_builder.go index 505b478156a..147aa2d22b8 100644 --- a/devicemanagement/hardware_configurations_item_user_run_states_request_builder.go +++ b/devicemanagement/hardware_configurations_item_user_run_states_request_builder.go @@ -11,7 +11,7 @@ import ( type HardwareConfigurationsItemUserRunStatesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// HardwareConfigurationsItemUserRunStatesRequestBuilderGetQueryParameters list of run states for the hardware configuration across all users +// HardwareConfigurationsItemUserRunStatesRequestBuilderGetQueryParameters list of run states for the hardware configuration across all users. Read-Only. type HardwareConfigurationsItemUserRunStatesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewHardwareConfigurationsItemUserRunStatesRequestBuilder(rawUrl string, req func (m *HardwareConfigurationsItemUserRunStatesRequestBuilder) Count()(*HardwareConfigurationsItemUserRunStatesCountRequestBuilder) { return NewHardwareConfigurationsItemUserRunStatesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list of run states for the hardware configuration across all users +// Get list of run states for the hardware configuration across all users. Read-Only. // returns a HardwareConfigurationUserStateCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *HardwareConfigurationsItemUserRunStatesRequestBuilder) Get(ctx context.Context, requestConfiguration *HardwareConfigurationsItemUserRunStatesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareConfigurationUserStateCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *HardwareConfigurationsItemUserRunStatesRequestBuilder) Post(ctx context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HardwareConfigurationUserStateable), nil } -// ToGetRequestInformation list of run states for the hardware configuration across all users +// ToGetRequestInformation list of run states for the hardware configuration across all users. Read-Only. // returns a *RequestInformation when successful func (m *HardwareConfigurationsItemUserRunStatesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *HardwareConfigurationsItemUserRunStatesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/managed_devices_bulk_reprovision_cloud_pc_request_builder.go b/devicemanagement/managed_devices_bulk_reprovision_cloud_pc_request_builder.go index b5205a405dc..cfd536f5958 100644 --- a/devicemanagement/managed_devices_bulk_reprovision_cloud_pc_request_builder.go +++ b/devicemanagement/managed_devices_bulk_reprovision_cloud_pc_request_builder.go @@ -37,7 +37,7 @@ func NewManagedDevicesBulkReprovisionCloudPcRequestBuilder(rawUrl string, reques // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/manageddevice-bulkreprovisioncloudpc?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/manageddevice-bulkreprovisioncloudpc?view=graph-rest-beta func (m *ManagedDevicesBulkReprovisionCloudPcRequestBuilder) Post(ctx context.Context, body ManagedDevicesBulkReprovisionCloudPcPostRequestBodyable, requestConfiguration *ManagedDevicesBulkReprovisionCloudPcRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcBulkRemoteActionResultable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/devicemanagement/managed_devices_bulk_restore_cloud_pc_request_builder.go b/devicemanagement/managed_devices_bulk_restore_cloud_pc_request_builder.go index 169ef8f3d05..0af302433d3 100644 --- a/devicemanagement/managed_devices_bulk_restore_cloud_pc_request_builder.go +++ b/devicemanagement/managed_devices_bulk_restore_cloud_pc_request_builder.go @@ -37,7 +37,7 @@ func NewManagedDevicesBulkRestoreCloudPcRequestBuilder(rawUrl string, requestAda // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/manageddevice-bulkrestorecloudpc?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/manageddevice-bulkrestorecloudpc?view=graph-rest-beta func (m *ManagedDevicesBulkRestoreCloudPcRequestBuilder) Post(ctx context.Context, body ManagedDevicesBulkRestoreCloudPcPostRequestBodyable, requestConfiguration *ManagedDevicesBulkRestoreCloudPcRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcBulkRemoteActionResultable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/devicemanagement/managed_devices_bulk_set_cloud_pc_review_status_request_builder.go b/devicemanagement/managed_devices_bulk_set_cloud_pc_review_status_request_builder.go index 8658ab0d467..9f256fa7e4f 100644 --- a/devicemanagement/managed_devices_bulk_set_cloud_pc_review_status_request_builder.go +++ b/devicemanagement/managed_devices_bulk_set_cloud_pc_review_status_request_builder.go @@ -36,7 +36,7 @@ func NewManagedDevicesBulkSetCloudPcReviewStatusRequestBuilder(rawUrl string, re // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/manageddevice-bulksetcloudpcreviewstatus?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/manageddevice-bulksetcloudpcreviewstatus?view=graph-rest-beta func (m *ManagedDevicesBulkSetCloudPcReviewStatusRequestBuilder) Post(ctx context.Context, body ManagedDevicesBulkSetCloudPcReviewStatusPostRequestBodyable, requestConfiguration *ManagedDevicesBulkSetCloudPcReviewStatusRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcBulkRemoteActionResultable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/devicemanagement/managed_devices_item_get_cloud_pc_remote_action_results_request_builder.go b/devicemanagement/managed_devices_item_get_cloud_pc_remote_action_results_request_builder.go index c4096b89c80..e8729f4fcd3 100644 --- a/devicemanagement/managed_devices_item_get_cloud_pc_remote_action_results_request_builder.go +++ b/devicemanagement/managed_devices_item_get_cloud_pc_remote_action_results_request_builder.go @@ -10,7 +10,7 @@ import ( type ManagedDevicesItemGetCloudPcRemoteActionResultsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ManagedDevicesItemGetCloudPcRemoteActionResultsRequestBuilderGetQueryParameters invoke function getCloudPcRemoteActionResults +// ManagedDevicesItemGetCloudPcRemoteActionResultsRequestBuilderGetQueryParameters check the Cloud PC-specified remote action results for a Cloud PC device. Cloud PC supports reprovision and resize remote actions. type ManagedDevicesItemGetCloudPcRemoteActionResultsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -45,10 +45,13 @@ func NewManagedDevicesItemGetCloudPcRemoteActionResultsRequestBuilder(rawUrl str urlParams["request-raw-url"] = rawUrl return NewManagedDevicesItemGetCloudPcRemoteActionResultsRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getCloudPcRemoteActionResults +// Get check the Cloud PC-specified remote action results for a Cloud PC device. Cloud PC supports reprovision and resize remote actions. // Deprecated: This method is obsolete. Use GetAsGetCloudPcRemoteActionResultsGetResponse instead. // returns a ManagedDevicesItemGetCloudPcRemoteActionResultsResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/manageddevice-getcloudpcremoteactionresults?view=graph-rest-beta func (m *ManagedDevicesItemGetCloudPcRemoteActionResultsRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedDevicesItemGetCloudPcRemoteActionResultsRequestBuilderGetRequestConfiguration)(ManagedDevicesItemGetCloudPcRemoteActionResultsResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,9 +69,12 @@ func (m *ManagedDevicesItemGetCloudPcRemoteActionResultsRequestBuilder) Get(ctx } return res.(ManagedDevicesItemGetCloudPcRemoteActionResultsResponseable), nil } -// GetAsGetCloudPcRemoteActionResultsGetResponse invoke function getCloudPcRemoteActionResults +// GetAsGetCloudPcRemoteActionResultsGetResponse check the Cloud PC-specified remote action results for a Cloud PC device. Cloud PC supports reprovision and resize remote actions. // returns a ManagedDevicesItemGetCloudPcRemoteActionResultsGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/manageddevice-getcloudpcremoteactionresults?view=graph-rest-beta func (m *ManagedDevicesItemGetCloudPcRemoteActionResultsRequestBuilder) GetAsGetCloudPcRemoteActionResultsGetResponse(ctx context.Context, requestConfiguration *ManagedDevicesItemGetCloudPcRemoteActionResultsRequestBuilderGetRequestConfiguration)(ManagedDevicesItemGetCloudPcRemoteActionResultsGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -86,7 +92,7 @@ func (m *ManagedDevicesItemGetCloudPcRemoteActionResultsRequestBuilder) GetAsGet } return res.(ManagedDevicesItemGetCloudPcRemoteActionResultsGetResponseable), nil } -// ToGetRequestInformation invoke function getCloudPcRemoteActionResults +// ToGetRequestInformation check the Cloud PC-specified remote action results for a Cloud PC device. Cloud PC supports reprovision and resize remote actions. // returns a *RequestInformation when successful func (m *ManagedDevicesItemGetCloudPcRemoteActionResultsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedDevicesItemGetCloudPcRemoteActionResultsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/managed_devices_item_get_cloud_pc_review_status_request_builder.go b/devicemanagement/managed_devices_item_get_cloud_pc_review_status_request_builder.go index 2cee4c94239..c984b01066e 100644 --- a/devicemanagement/managed_devices_item_get_cloud_pc_review_status_request_builder.go +++ b/devicemanagement/managed_devices_item_get_cloud_pc_review_status_request_builder.go @@ -31,9 +31,12 @@ func NewManagedDevicesItemGetCloudPcReviewStatusRequestBuilder(rawUrl string, re urlParams["request-raw-url"] = rawUrl return NewManagedDevicesItemGetCloudPcReviewStatusRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getCloudPcReviewStatus +// Get get the review status of a specific Cloud PC device. // 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/manageddevice-getcloudpcreviewstatus?view=graph-rest-beta func (m *ManagedDevicesItemGetCloudPcReviewStatusRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedDevicesItemGetCloudPcReviewStatusRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcReviewStatusable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -51,7 +54,7 @@ func (m *ManagedDevicesItemGetCloudPcReviewStatusRequestBuilder) Get(ctx context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcReviewStatusable), nil } -// ToGetRequestInformation invoke function getCloudPcReviewStatus +// ToGetRequestInformation get the review status of a specific Cloud PC device. // returns a *RequestInformation when successful func (m *ManagedDevicesItemGetCloudPcReviewStatusRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedDevicesItemGetCloudPcReviewStatusRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/managed_devices_item_reprovision_cloud_pc_request_builder.go b/devicemanagement/managed_devices_item_reprovision_cloud_pc_request_builder.go index c83974d604d..c49ca41b929 100644 --- a/devicemanagement/managed_devices_item_reprovision_cloud_pc_request_builder.go +++ b/devicemanagement/managed_devices_item_reprovision_cloud_pc_request_builder.go @@ -35,7 +35,7 @@ func NewManagedDevicesItemReprovisionCloudPcRequestBuilder(rawUrl string, reques // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/manageddevice-reprovisioncloudpc?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/manageddevice-reprovisioncloudpc?view=graph-rest-beta func (m *ManagedDevicesItemReprovisionCloudPcRequestBuilder) Post(ctx context.Context, requestConfiguration *ManagedDevicesItemReprovisionCloudPcRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/devicemanagement/managed_devices_item_resize_cloud_pc_request_builder.go b/devicemanagement/managed_devices_item_resize_cloud_pc_request_builder.go index d24450af6e7..5d8f2d3ed2b 100644 --- a/devicemanagement/managed_devices_item_resize_cloud_pc_request_builder.go +++ b/devicemanagement/managed_devices_item_resize_cloud_pc_request_builder.go @@ -35,7 +35,7 @@ func NewManagedDevicesItemResizeCloudPcRequestBuilder(rawUrl string, requestAdap // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/manageddevice-resizecloudpc?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/manageddevice-resizecloudpc?view=graph-rest-beta func (m *ManagedDevicesItemResizeCloudPcRequestBuilder) Post(ctx context.Context, body ManagedDevicesItemResizeCloudPcPostRequestBodyable, requestConfiguration *ManagedDevicesItemResizeCloudPcRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/devicemanagement/managed_devices_item_restore_cloud_pc_request_builder.go b/devicemanagement/managed_devices_item_restore_cloud_pc_request_builder.go index dc51b3467bf..39c5caf11f6 100644 --- a/devicemanagement/managed_devices_item_restore_cloud_pc_request_builder.go +++ b/devicemanagement/managed_devices_item_restore_cloud_pc_request_builder.go @@ -35,7 +35,7 @@ func NewManagedDevicesItemRestoreCloudPcRequestBuilder(rawUrl string, requestAda // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/manageddevice-restorecloudpc?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/manageddevice-restorecloudpc?view=graph-rest-beta func (m *ManagedDevicesItemRestoreCloudPcRequestBuilder) Post(ctx context.Context, body ManagedDevicesItemRestoreCloudPcPostRequestBodyable, requestConfiguration *ManagedDevicesItemRestoreCloudPcRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/devicemanagement/managed_devices_item_set_cloud_pc_review_status_request_builder.go b/devicemanagement/managed_devices_item_set_cloud_pc_review_status_request_builder.go index ee140ccc2c8..4a708aa6424 100644 --- a/devicemanagement/managed_devices_item_set_cloud_pc_review_status_request_builder.go +++ b/devicemanagement/managed_devices_item_set_cloud_pc_review_status_request_builder.go @@ -34,7 +34,7 @@ func NewManagedDevicesItemSetCloudPcReviewStatusRequestBuilder(rawUrl string, re // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/manageddevice-setcloudpcreviewstatus?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/manageddevice-setcloudpcreviewstatus?view=graph-rest-beta func (m *ManagedDevicesItemSetCloudPcReviewStatusRequestBuilder) Post(ctx context.Context, body ManagedDevicesItemSetCloudPcReviewStatusPostRequestBodyable, requestConfiguration *ManagedDevicesItemSetCloudPcReviewStatusRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/devicemanagement/mobile_app_troubleshooting_events_item_app_log_collection_requests_app_log_collection_request_item_request_builder.go b/devicemanagement/mobile_app_troubleshooting_events_item_app_log_collection_requests_app_log_collection_request_item_request_builder.go index add8007fa97..3647e44dd61 100644 --- a/devicemanagement/mobile_app_troubleshooting_events_item_app_log_collection_requests_app_log_collection_request_item_request_builder.go +++ b/devicemanagement/mobile_app_troubleshooting_events_item_app_log_collection_requests_app_log_collection_request_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionRequestItemRequestBuilderGetQueryParameters the collection property of AppLogUploadRequest. +// MobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionRequestItemRequestBuilderGetQueryParameters indicates collection of App Log Upload Request. type MobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionRequestItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,7 +75,7 @@ func (m *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollect } return nil } -// Get the collection property of AppLogUploadRequest. +// Get indicates collection of App Log Upload Request. // 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 the collection property of AppLogUploadRequest. +// ToGetRequestInformation indicates collection of App Log Upload Request. // 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 09ea29a717d..9ab489528b6 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 the collection property of AppLogUploadRequest. +// MobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilderGetQueryParameters indicates collection of App Log Upload Request. 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 the collection property of AppLogUploadRequest. +// Get indicates collection of App Log Upload Request. // 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 the collection property of AppLogUploadRequest. +// ToGetRequestInformation indicates collection of App Log Upload Request. // 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/monitoring_alert_records_alert_record_item_request_builder.go b/devicemanagement/monitoring_alert_records_alert_record_item_request_builder.go index ea56efa270f..bf9273c1236 100644 --- a/devicemanagement/monitoring_alert_records_alert_record_item_request_builder.go +++ b/devicemanagement/monitoring_alert_records_alert_record_item_request_builder.go @@ -18,7 +18,7 @@ type MonitoringAlertRecordsAlertRecordItemRequestBuilderDeleteRequestConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MonitoringAlertRecordsAlertRecordItemRequestBuilderGetQueryParameters read the properties and relationships of an alertRecord object. +// MonitoringAlertRecordsAlertRecordItemRequestBuilderGetQueryParameters the collection of records of alert events. type MonitoringAlertRecordsAlertRecordItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *MonitoringAlertRecordsAlertRecordItemRequestBuilder) Delete(ctx context } return nil } -// Get read the properties and relationships of an alertRecord object. +// Get the collection of records of alert events. // returns a AlertRecordable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/devicemanagement-alertrecord-get?view=graph-rest-1.0 func (m *MonitoringAlertRecordsAlertRecordItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MonitoringAlertRecordsAlertRecordItemRequestBuilderGetRequestConfiguration)(i2edb12705e6a63a8a0fb3f8c7a11f4ab12f4be764e61fa1094f401595fb171bf.AlertRecordable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *MonitoringAlertRecordsAlertRecordItemRequestBuilder) ToDeleteRequestInf requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an alertRecord object. +// ToGetRequestInformation the collection of records of alert events. // returns a *RequestInformation when successful func (m *MonitoringAlertRecordsAlertRecordItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MonitoringAlertRecordsAlertRecordItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/monitoring_alert_records_item_microsoft_graph_device_management_set_portal_notification_as_sent_request_builder.go b/devicemanagement/monitoring_alert_records_item_microsoft_graph_device_management_set_portal_notification_as_sent_request_builder.go index f5202f2ce6b..7b7fec40a86 100644 --- a/devicemanagement/monitoring_alert_records_item_microsoft_graph_device_management_set_portal_notification_as_sent_request_builder.go +++ b/devicemanagement/monitoring_alert_records_item_microsoft_graph_device_management_set_portal_notification_as_sent_request_builder.go @@ -34,7 +34,7 @@ func NewMonitoringAlertRecordsItemMicrosoftGraphDeviceManagementSetPortalNotific // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/devicemanagement-alertrecord-setportalnotificationassent?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/devicemanagement-alertrecord-setportalnotificationassent?view=graph-rest-beta func (m *MonitoringAlertRecordsItemMicrosoftGraphDeviceManagementSetPortalNotificationAsSentRequestBuilder) Post(ctx context.Context, requestConfiguration *MonitoringAlertRecordsItemMicrosoftGraphDeviceManagementSetPortalNotificationAsSentRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/devicemanagement/monitoring_alert_records_request_builder.go b/devicemanagement/monitoring_alert_records_request_builder.go index c33ebf63cb6..d734916b346 100644 --- a/devicemanagement/monitoring_alert_records_request_builder.go +++ b/devicemanagement/monitoring_alert_records_request_builder.go @@ -11,7 +11,7 @@ import ( type MonitoringAlertRecordsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MonitoringAlertRecordsRequestBuilderGetQueryParameters get a list of the alertRecord objects and their properties. +// MonitoringAlertRecordsRequestBuilderGetQueryParameters the collection of records of alert events. type MonitoringAlertRecordsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewMonitoringAlertRecordsRequestBuilder(rawUrl string, requestAdapter i2ae4 func (m *MonitoringAlertRecordsRequestBuilder) Count()(*MonitoringAlertRecordsCountRequestBuilder) { return NewMonitoringAlertRecordsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the alertRecord objects and their properties. +// Get the collection of records of alert events. // returns a AlertRecordCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/devicemanagement-alertrecord-list?view=graph-rest-1.0 func (m *MonitoringAlertRecordsRequestBuilder) Get(ctx context.Context, requestConfiguration *MonitoringAlertRecordsRequestBuilderGetRequestConfiguration)(i2edb12705e6a63a8a0fb3f8c7a11f4ab12f4be764e61fa1094f401595fb171bf.AlertRecordCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *MonitoringAlertRecordsRequestBuilder) Post(ctx context.Context, body i2 } return res.(i2edb12705e6a63a8a0fb3f8c7a11f4ab12f4be764e61fa1094f401595fb171bf.AlertRecordable), nil } -// ToGetRequestInformation get a list of the alertRecord objects and their properties. +// ToGetRequestInformation the collection of records of alert events. // returns a *RequestInformation when successful func (m *MonitoringAlertRecordsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MonitoringAlertRecordsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/monitoring_alert_rules_alert_rule_item_request_builder.go b/devicemanagement/monitoring_alert_rules_alert_rule_item_request_builder.go index c6b6cc03e32..ebe9de31fac 100644 --- a/devicemanagement/monitoring_alert_rules_alert_rule_item_request_builder.go +++ b/devicemanagement/monitoring_alert_rules_alert_rule_item_request_builder.go @@ -18,7 +18,7 @@ type MonitoringAlertRulesAlertRuleItemRequestBuilderDeleteRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MonitoringAlertRulesAlertRuleItemRequestBuilderGetQueryParameters read the properties and relationships of an alertRule object. +// MonitoringAlertRulesAlertRuleItemRequestBuilderGetQueryParameters the collection of alert rules. type MonitoringAlertRulesAlertRuleItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *MonitoringAlertRulesAlertRuleItemRequestBuilder) Delete(ctx context.Con } return nil } -// Get read the properties and relationships of an alertRule object. +// Get the collection of alert rules. // returns a AlertRuleable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/devicemanagement-alertrule-get?view=graph-rest-1.0 func (m *MonitoringAlertRulesAlertRuleItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MonitoringAlertRulesAlertRuleItemRequestBuilderGetRequestConfiguration)(i2edb12705e6a63a8a0fb3f8c7a11f4ab12f4be764e61fa1094f401595fb171bf.AlertRuleable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *MonitoringAlertRulesAlertRuleItemRequestBuilder) Get(ctx context.Contex } return res.(i2edb12705e6a63a8a0fb3f8c7a11f4ab12f4be764e61fa1094f401595fb171bf.AlertRuleable), nil } -// Patch update the properties of an alertRule object. +// Patch update the navigation property alertRules in deviceManagement // returns a AlertRuleable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/devicemanagement-alertrule-update?view=graph-rest-1.0 func (m *MonitoringAlertRulesAlertRuleItemRequestBuilder) Patch(ctx context.Context, body i2edb12705e6a63a8a0fb3f8c7a11f4ab12f4be764e61fa1094f401595fb171bf.AlertRuleable, requestConfiguration *MonitoringAlertRulesAlertRuleItemRequestBuilderPatchRequestConfiguration)(i2edb12705e6a63a8a0fb3f8c7a11f4ab12f4be764e61fa1094f401595fb171bf.AlertRuleable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *MonitoringAlertRulesAlertRuleItemRequestBuilder) ToDeleteRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an alertRule object. +// ToGetRequestInformation the collection of alert rules. // returns a *RequestInformation when successful func (m *MonitoringAlertRulesAlertRuleItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MonitoringAlertRulesAlertRuleItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *MonitoringAlertRulesAlertRuleItemRequestBuilder) ToGetRequestInformatio requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an alertRule object. +// ToPatchRequestInformation update the navigation property alertRules in deviceManagement // returns a *RequestInformation when successful func (m *MonitoringAlertRulesAlertRuleItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i2edb12705e6a63a8a0fb3f8c7a11f4ab12f4be764e61fa1094f401595fb171bf.AlertRuleable, requestConfiguration *MonitoringAlertRulesAlertRuleItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/monitoring_alert_rules_request_builder.go b/devicemanagement/monitoring_alert_rules_request_builder.go index 7c6e7dd6860..d383f65c3e5 100644 --- a/devicemanagement/monitoring_alert_rules_request_builder.go +++ b/devicemanagement/monitoring_alert_rules_request_builder.go @@ -11,7 +11,7 @@ import ( type MonitoringAlertRulesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MonitoringAlertRulesRequestBuilderGetQueryParameters get a list of the alertRule objects and their properties. +// MonitoringAlertRulesRequestBuilderGetQueryParameters the collection of alert rules. type MonitoringAlertRulesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewMonitoringAlertRulesRequestBuilder(rawUrl string, requestAdapter i2ae418 func (m *MonitoringAlertRulesRequestBuilder) Count()(*MonitoringAlertRulesCountRequestBuilder) { return NewMonitoringAlertRulesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the alertRule objects and their properties. +// Get the collection of alert rules. // returns a AlertRuleCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/devicemanagement-alertrule-list?view=graph-rest-1.0 func (m *MonitoringAlertRulesRequestBuilder) Get(ctx context.Context, requestConfiguration *MonitoringAlertRulesRequestBuilderGetRequestConfiguration)(i2edb12705e6a63a8a0fb3f8c7a11f4ab12f4be764e61fa1094f401595fb171bf.AlertRuleCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *MonitoringAlertRulesRequestBuilder) Get(ctx context.Context, requestCon } return res.(i2edb12705e6a63a8a0fb3f8c7a11f4ab12f4be764e61fa1094f401595fb171bf.AlertRuleCollectionResponseable), nil } -// Post create an alertRule object. +// Post create new navigation property to alertRules for deviceManagement // returns a AlertRuleable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/devicemanagement-alertrule-post?view=graph-rest-1.0 func (m *MonitoringAlertRulesRequestBuilder) Post(ctx context.Context, body i2edb12705e6a63a8a0fb3f8c7a11f4ab12f4be764e61fa1094f401595fb171bf.AlertRuleable, requestConfiguration *MonitoringAlertRulesRequestBuilderPostRequestConfiguration)(i2edb12705e6a63a8a0fb3f8c7a11f4ab12f4be764e61fa1094f401595fb171bf.AlertRuleable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *MonitoringAlertRulesRequestBuilder) Post(ctx context.Context, body i2ed } return res.(i2edb12705e6a63a8a0fb3f8c7a11f4ab12f4be764e61fa1094f401595fb171bf.AlertRuleable), nil } -// ToGetRequestInformation get a list of the alertRule objects and their properties. +// ToGetRequestInformation the collection of alert rules. // returns a *RequestInformation when successful func (m *MonitoringAlertRulesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MonitoringAlertRulesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *MonitoringAlertRulesRequestBuilder) ToGetRequestInformation(ctx context requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an alertRule object. +// ToPostRequestInformation create new navigation property to alertRules for deviceManagement // returns a *RequestInformation when successful func (m *MonitoringAlertRulesRequestBuilder) ToPostRequestInformation(ctx context.Context, body i2edb12705e6a63a8a0fb3f8c7a11f4ab12f4be764e61fa1094f401595fb171bf.AlertRuleable, requestConfiguration *MonitoringAlertRulesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/virtual_endpoint_audit_events_cloud_pc_audit_event_item_request_builder.go b/devicemanagement/virtual_endpoint_audit_events_cloud_pc_audit_event_item_request_builder.go index 0b87c2b77ae..bf5e83b5ff7 100644 --- a/devicemanagement/virtual_endpoint_audit_events_cloud_pc_audit_event_item_request_builder.go +++ b/devicemanagement/virtual_endpoint_audit_events_cloud_pc_audit_event_item_request_builder.go @@ -18,7 +18,7 @@ type VirtualEndpointAuditEventsCloudPcAuditEventItemRequestBuilderDeleteRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// VirtualEndpointAuditEventsCloudPcAuditEventItemRequestBuilderGetQueryParameters read the properties and relationships of a cloudPcAuditEvent object. +// VirtualEndpointAuditEventsCloudPcAuditEventItemRequestBuilderGetQueryParameters cloud PC audit event. type VirtualEndpointAuditEventsCloudPcAuditEventItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *VirtualEndpointAuditEventsCloudPcAuditEventItemRequestBuilder) Delete(c } return nil } -// Get read the properties and relationships of a cloudPcAuditEvent object. +// Get cloud PC audit event. // returns a CloudPcAuditEventable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpcauditevent-get?view=graph-rest-1.0 func (m *VirtualEndpointAuditEventsCloudPcAuditEventItemRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointAuditEventsCloudPcAuditEventItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcAuditEventable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *VirtualEndpointAuditEventsCloudPcAuditEventItemRequestBuilder) ToDelete requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a cloudPcAuditEvent object. +// ToGetRequestInformation cloud PC audit event. // returns a *RequestInformation when successful func (m *VirtualEndpointAuditEventsCloudPcAuditEventItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointAuditEventsCloudPcAuditEventItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/virtual_endpoint_audit_events_get_audit_activity_types_request_builder.go b/devicemanagement/virtual_endpoint_audit_events_get_audit_activity_types_request_builder.go index 189aa282be2..f5d7a4633cb 100644 --- a/devicemanagement/virtual_endpoint_audit_events_get_audit_activity_types_request_builder.go +++ b/devicemanagement/virtual_endpoint_audit_events_get_audit_activity_types_request_builder.go @@ -10,7 +10,7 @@ import ( type VirtualEndpointAuditEventsGetAuditActivityTypesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// VirtualEndpointAuditEventsGetAuditActivityTypesRequestBuilderGetQueryParameters invoke function getAuditActivityTypes +// VirtualEndpointAuditEventsGetAuditActivityTypesRequestBuilderGetQueryParameters get audit activity types by tenant ID. type VirtualEndpointAuditEventsGetAuditActivityTypesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -45,10 +45,13 @@ func NewVirtualEndpointAuditEventsGetAuditActivityTypesRequestBuilder(rawUrl str urlParams["request-raw-url"] = rawUrl return NewVirtualEndpointAuditEventsGetAuditActivityTypesRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getAuditActivityTypes +// Get get audit activity types by tenant ID. // Deprecated: This method is obsolete. Use GetAsGetAuditActivityTypesGetResponse instead. // returns a VirtualEndpointAuditEventsGetAuditActivityTypesResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpcauditevent-getauditactivitytypes?view=graph-rest-beta func (m *VirtualEndpointAuditEventsGetAuditActivityTypesRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointAuditEventsGetAuditActivityTypesRequestBuilderGetRequestConfiguration)(VirtualEndpointAuditEventsGetAuditActivityTypesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,9 +69,12 @@ func (m *VirtualEndpointAuditEventsGetAuditActivityTypesRequestBuilder) Get(ctx } return res.(VirtualEndpointAuditEventsGetAuditActivityTypesResponseable), nil } -// GetAsGetAuditActivityTypesGetResponse invoke function getAuditActivityTypes +// GetAsGetAuditActivityTypesGetResponse get audit activity types by tenant ID. // returns a VirtualEndpointAuditEventsGetAuditActivityTypesGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpcauditevent-getauditactivitytypes?view=graph-rest-beta func (m *VirtualEndpointAuditEventsGetAuditActivityTypesRequestBuilder) GetAsGetAuditActivityTypesGetResponse(ctx context.Context, requestConfiguration *VirtualEndpointAuditEventsGetAuditActivityTypesRequestBuilderGetRequestConfiguration)(VirtualEndpointAuditEventsGetAuditActivityTypesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -86,7 +92,7 @@ func (m *VirtualEndpointAuditEventsGetAuditActivityTypesRequestBuilder) GetAsGet } return res.(VirtualEndpointAuditEventsGetAuditActivityTypesGetResponseable), nil } -// ToGetRequestInformation invoke function getAuditActivityTypes +// ToGetRequestInformation get audit activity types by tenant ID. // returns a *RequestInformation when successful func (m *VirtualEndpointAuditEventsGetAuditActivityTypesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointAuditEventsGetAuditActivityTypesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/virtual_endpoint_audit_events_request_builder.go b/devicemanagement/virtual_endpoint_audit_events_request_builder.go index ec8ceb7e559..7b97ac9babb 100644 --- a/devicemanagement/virtual_endpoint_audit_events_request_builder.go +++ b/devicemanagement/virtual_endpoint_audit_events_request_builder.go @@ -11,7 +11,7 @@ import ( type VirtualEndpointAuditEventsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// VirtualEndpointAuditEventsRequestBuilderGetQueryParameters list all the cloudPcAuditEvent objects for the tenant. +// VirtualEndpointAuditEventsRequestBuilderGetQueryParameters cloud PC audit event. type VirtualEndpointAuditEventsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewVirtualEndpointAuditEventsRequestBuilder(rawUrl string, requestAdapter i func (m *VirtualEndpointAuditEventsRequestBuilder) Count()(*VirtualEndpointAuditEventsCountRequestBuilder) { return NewVirtualEndpointAuditEventsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list all the cloudPcAuditEvent objects for the tenant. +// Get cloud PC audit event. // returns a CloudPcAuditEventCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/virtualendpoint-list-auditevents?view=graph-rest-1.0 func (m *VirtualEndpointAuditEventsRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointAuditEventsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcAuditEventCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *VirtualEndpointAuditEventsRequestBuilder) Post(ctx context.Context, bod } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcAuditEventable), nil } -// ToGetRequestInformation list all the cloudPcAuditEvent objects for the tenant. +// ToGetRequestInformation cloud PC audit event. // returns a *RequestInformation when successful func (m *VirtualEndpointAuditEventsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointAuditEventsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/virtual_endpoint_bulk_actions_cloud_pc_bulk_action_item_request_builder.go b/devicemanagement/virtual_endpoint_bulk_actions_cloud_pc_bulk_action_item_request_builder.go index 6c1d8e2e952..c5d7bdad0f6 100644 --- a/devicemanagement/virtual_endpoint_bulk_actions_cloud_pc_bulk_action_item_request_builder.go +++ b/devicemanagement/virtual_endpoint_bulk_actions_cloud_pc_bulk_action_item_request_builder.go @@ -18,7 +18,7 @@ type VirtualEndpointBulkActionsCloudPcBulkActionItemRequestBuilderDeleteRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// VirtualEndpointBulkActionsCloudPcBulkActionItemRequestBuilderGetQueryParameters read the properties and relationships of a cloudPcBulkAction object. +// VirtualEndpointBulkActionsCloudPcBulkActionItemRequestBuilderGetQueryParameters bulk actions applied to a Cloud PC. type VirtualEndpointBulkActionsCloudPcBulkActionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *VirtualEndpointBulkActionsCloudPcBulkActionItemRequestBuilder) Delete(c } return nil } -// Get read the properties and relationships of a cloudPcBulkAction object. +// Get bulk actions applied to a Cloud PC. // returns a CloudPcBulkActionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpcbulkaction-get?view=graph-rest-1.0 func (m *VirtualEndpointBulkActionsCloudPcBulkActionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointBulkActionsCloudPcBulkActionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcBulkActionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *VirtualEndpointBulkActionsCloudPcBulkActionItemRequestBuilder) ToDelete requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a cloudPcBulkAction object. +// ToGetRequestInformation bulk actions applied to a Cloud PC. // returns a *RequestInformation when successful func (m *VirtualEndpointBulkActionsCloudPcBulkActionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointBulkActionsCloudPcBulkActionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/virtual_endpoint_bulk_actions_request_builder.go b/devicemanagement/virtual_endpoint_bulk_actions_request_builder.go index d5d303d3235..8afb06471b1 100644 --- a/devicemanagement/virtual_endpoint_bulk_actions_request_builder.go +++ b/devicemanagement/virtual_endpoint_bulk_actions_request_builder.go @@ -11,7 +11,7 @@ import ( type VirtualEndpointBulkActionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// VirtualEndpointBulkActionsRequestBuilderGetQueryParameters get a list of the cloudPcBulkAction objects and their properties. +// VirtualEndpointBulkActionsRequestBuilderGetQueryParameters bulk actions applied to a Cloud PC. type VirtualEndpointBulkActionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewVirtualEndpointBulkActionsRequestBuilder(rawUrl string, requestAdapter i func (m *VirtualEndpointBulkActionsRequestBuilder) Count()(*VirtualEndpointBulkActionsCountRequestBuilder) { return NewVirtualEndpointBulkActionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the cloudPcBulkAction objects and their properties. +// Get bulk actions applied to a Cloud PC. // returns a CloudPcBulkActionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/virtualendpoint-list-bulkactions?view=graph-rest-1.0 func (m *VirtualEndpointBulkActionsRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointBulkActionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcBulkActionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *VirtualEndpointBulkActionsRequestBuilder) Get(ctx context.Context, requ } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcBulkActionCollectionResponseable), nil } -// Post create a new cloudPcBulkAction object. +// Post create new navigation property to bulkActions for deviceManagement // returns a CloudPcBulkActionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/virtualendpoint-post-bulkactions?view=graph-rest-1.0 func (m *VirtualEndpointBulkActionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcBulkActionable, requestConfiguration *VirtualEndpointBulkActionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcBulkActionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *VirtualEndpointBulkActionsRequestBuilder) Post(ctx context.Context, bod } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcBulkActionable), nil } -// ToGetRequestInformation get a list of the cloudPcBulkAction objects and their properties. +// ToGetRequestInformation bulk actions applied to a Cloud PC. // returns a *RequestInformation when successful func (m *VirtualEndpointBulkActionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointBulkActionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *VirtualEndpointBulkActionsRequestBuilder) ToGetRequestInformation(ctx c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new cloudPcBulkAction object. +// ToPostRequestInformation create new navigation property to bulkActions for deviceManagement // returns a *RequestInformation when successful func (m *VirtualEndpointBulkActionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcBulkActionable, requestConfiguration *VirtualEndpointBulkActionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_bulk_resize_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_bulk_resize_request_builder.go index cc2e656e6be..58599dfcb17 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_bulk_resize_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_bulk_resize_request_builder.go @@ -36,7 +36,7 @@ func NewVirtualEndpointCloudPCsBulkResizeRequestBuilder(rawUrl string, requestAd // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpc-bulkresize?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpc-bulkresize?view=graph-rest-beta func (m *VirtualEndpointCloudPCsBulkResizeRequestBuilder) Post(ctx context.Context, body VirtualEndpointCloudPCsBulkResizePostRequestBodyable, requestConfiguration *VirtualEndpointCloudPCsBulkResizeRequestBuilderPostRequestConfiguration)(VirtualEndpointCloudPCsBulkResizeResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -60,7 +60,7 @@ func (m *VirtualEndpointCloudPCsBulkResizeRequestBuilder) Post(ctx context.Conte // returns a ODataError error 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-bulkresize?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpc-bulkresize?view=graph-rest-beta func (m *VirtualEndpointCloudPCsBulkResizeRequestBuilder) PostAsBulkResizePostResponse(ctx context.Context, body VirtualEndpointCloudPCsBulkResizePostRequestBodyable, requestConfiguration *VirtualEndpointCloudPCsBulkResizeRequestBuilderPostRequestConfiguration)(VirtualEndpointCloudPCsBulkResizePostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_cloud_p_c_item_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_cloud_p_c_item_request_builder.go index bb358fc536c..9ebdcd7aa04 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_cloud_p_c_item_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_cloud_p_c_item_request_builder.go @@ -18,7 +18,7 @@ type VirtualEndpointCloudPCsCloudPCItemRequestBuilderDeleteRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// VirtualEndpointCloudPCsCloudPCItemRequestBuilderGetQueryParameters read the properties and relationships of a specific cloudPC object. +// VirtualEndpointCloudPCsCloudPCItemRequestBuilderGetQueryParameters cloud managed virtual desktops. type VirtualEndpointCloudPCsCloudPCItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -85,12 +85,9 @@ func (m *VirtualEndpointCloudPCsCloudPCItemRequestBuilder) Delete(ctx context.Co func (m *VirtualEndpointCloudPCsCloudPCItemRequestBuilder) EndGracePeriod()(*VirtualEndpointCloudPCsItemEndGracePeriodRequestBuilder) { return NewVirtualEndpointCloudPCsItemEndGracePeriodRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of a specific cloudPC object. +// Get cloud managed virtual desktops. // returns a CloudPCable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *VirtualEndpointCloudPCsCloudPCItemRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointCloudPCsCloudPCItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPCable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -214,7 +211,7 @@ func (m *VirtualEndpointCloudPCsCloudPCItemRequestBuilder) ToDeleteRequestInform requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a specific cloudPC object. +// ToGetRequestInformation cloud managed virtual desktops. // returns a *RequestInformation when successful func (m *VirtualEndpointCloudPCsCloudPCItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointCloudPCsCloudPCItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_get_provisioned_cloud_p_cs_with_group_id_with_service_plan_id_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_get_provisioned_cloud_p_cs_with_group_id_with_service_plan_id_request_builder.go index 5b157a67d37..4cbb6624605 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_get_provisioned_cloud_p_cs_with_group_id_with_service_plan_id_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_get_provisioned_cloud_p_cs_with_group_id_with_service_plan_id_request_builder.go @@ -10,7 +10,7 @@ import ( type VirtualEndpointCloudPCsGetProvisionedCloudPCsWithGroupIdWithServicePlanIdRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// VirtualEndpointCloudPCsGetProvisionedCloudPCsWithGroupIdWithServicePlanIdRequestBuilderGetQueryParameters invoke function getProvisionedCloudPCs +// VirtualEndpointCloudPCsGetProvisionedCloudPCsWithGroupIdWithServicePlanIdRequestBuilderGetQueryParameters get all provisioned Cloud PCs of a specific service plan for users under a Microsoft Entra user group. type VirtualEndpointCloudPCsGetProvisionedCloudPCsWithGroupIdWithServicePlanIdRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -57,10 +57,13 @@ func NewVirtualEndpointCloudPCsGetProvisionedCloudPCsWithGroupIdWithServicePlanI urlParams["request-raw-url"] = rawUrl return NewVirtualEndpointCloudPCsGetProvisionedCloudPCsWithGroupIdWithServicePlanIdRequestBuilderInternal(urlParams, requestAdapter, nil, nil) } -// Get invoke function getProvisionedCloudPCs +// Get get all provisioned Cloud PCs of a specific service plan for users under a Microsoft Entra user group. // Deprecated: This method is obsolete. Use GetAsGetProvisionedCloudPCsWithGroupIdWithServicePlanIdGetResponse instead. // returns a VirtualEndpointCloudPCsGetProvisionedCloudPCsWithGroupIdWithServicePlanIdResponseable when successful // returns a ODataError error 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-getprovisionedcloudpcs?view=graph-rest-beta func (m *VirtualEndpointCloudPCsGetProvisionedCloudPCsWithGroupIdWithServicePlanIdRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointCloudPCsGetProvisionedCloudPCsWithGroupIdWithServicePlanIdRequestBuilderGetRequestConfiguration)(VirtualEndpointCloudPCsGetProvisionedCloudPCsWithGroupIdWithServicePlanIdResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,9 +81,12 @@ func (m *VirtualEndpointCloudPCsGetProvisionedCloudPCsWithGroupIdWithServicePlan } return res.(VirtualEndpointCloudPCsGetProvisionedCloudPCsWithGroupIdWithServicePlanIdResponseable), nil } -// GetAsGetProvisionedCloudPCsWithGroupIdWithServicePlanIdGetResponse invoke function getProvisionedCloudPCs +// GetAsGetProvisionedCloudPCsWithGroupIdWithServicePlanIdGetResponse get all provisioned Cloud PCs of a specific service plan for users under a Microsoft Entra user group. // returns a VirtualEndpointCloudPCsGetProvisionedCloudPCsWithGroupIdWithServicePlanIdGetResponseable when successful // returns a ODataError error 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-getprovisionedcloudpcs?view=graph-rest-beta func (m *VirtualEndpointCloudPCsGetProvisionedCloudPCsWithGroupIdWithServicePlanIdRequestBuilder) GetAsGetProvisionedCloudPCsWithGroupIdWithServicePlanIdGetResponse(ctx context.Context, requestConfiguration *VirtualEndpointCloudPCsGetProvisionedCloudPCsWithGroupIdWithServicePlanIdRequestBuilderGetRequestConfiguration)(VirtualEndpointCloudPCsGetProvisionedCloudPCsWithGroupIdWithServicePlanIdGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,7 +104,7 @@ func (m *VirtualEndpointCloudPCsGetProvisionedCloudPCsWithGroupIdWithServicePlan } return res.(VirtualEndpointCloudPCsGetProvisionedCloudPCsWithGroupIdWithServicePlanIdGetResponseable), nil } -// ToGetRequestInformation invoke function getProvisionedCloudPCs +// ToGetRequestInformation get all provisioned Cloud PCs of a specific service plan for users under a Microsoft Entra user group. // returns a *RequestInformation when successful func (m *VirtualEndpointCloudPCsGetProvisionedCloudPCsWithGroupIdWithServicePlanIdRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointCloudPCsGetProvisionedCloudPCsWithGroupIdWithServicePlanIdRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_item_change_user_account_type_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_item_change_user_account_type_request_builder.go index 7f2c82ff7c7..eab1fca9edd 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_item_change_user_account_type_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_item_change_user_account_type_request_builder.go @@ -34,7 +34,7 @@ func NewVirtualEndpointCloudPCsItemChangeUserAccountTypeRequestBuilder(rawUrl st // returns a ODataError error 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-changeuseraccounttype?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpc-changeuseraccounttype?view=graph-rest-beta func (m *VirtualEndpointCloudPCsItemChangeUserAccountTypeRequestBuilder) Post(ctx context.Context, body VirtualEndpointCloudPCsItemChangeUserAccountTypePostRequestBodyable, requestConfiguration *VirtualEndpointCloudPCsItemChangeUserAccountTypeRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_item_end_grace_period_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_item_end_grace_period_request_builder.go index cd8c138452b..74eab8bc3c9 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_item_end_grace_period_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_item_end_grace_period_request_builder.go @@ -34,7 +34,7 @@ func NewVirtualEndpointCloudPCsItemEndGracePeriodRequestBuilder(rawUrl string, r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpc-endgraceperiod?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpc-endgraceperiod?view=graph-rest-beta func (m *VirtualEndpointCloudPCsItemEndGracePeriodRequestBuilder) Post(ctx context.Context, requestConfiguration *VirtualEndpointCloudPCsItemEndGracePeriodRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_item_get_cloud_pc_connectivity_history_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_item_get_cloud_pc_connectivity_history_request_builder.go index 80b612f6800..6adb7bc2d02 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_item_get_cloud_pc_connectivity_history_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_item_get_cloud_pc_connectivity_history_request_builder.go @@ -10,7 +10,7 @@ import ( type VirtualEndpointCloudPCsItemGetCloudPcConnectivityHistoryRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// VirtualEndpointCloudPCsItemGetCloudPcConnectivityHistoryRequestBuilderGetQueryParameters invoke function getCloudPcConnectivityHistory +// VirtualEndpointCloudPCsItemGetCloudPcConnectivityHistoryRequestBuilderGetQueryParameters get the connectivity history of a specific Cloud PC. type VirtualEndpointCloudPCsItemGetCloudPcConnectivityHistoryRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -45,10 +45,13 @@ func NewVirtualEndpointCloudPCsItemGetCloudPcConnectivityHistoryRequestBuilder(r urlParams["request-raw-url"] = rawUrl return NewVirtualEndpointCloudPCsItemGetCloudPcConnectivityHistoryRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getCloudPcConnectivityHistory +// Get get the connectivity history of a specific Cloud PC. // Deprecated: This method is obsolete. Use GetAsGetCloudPcConnectivityHistoryGetResponse instead. // returns a VirtualEndpointCloudPCsItemGetCloudPcConnectivityHistoryResponseable when successful // returns a ODataError error 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-getcloudpcconnectivityhistory?view=graph-rest-beta func (m *VirtualEndpointCloudPCsItemGetCloudPcConnectivityHistoryRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointCloudPCsItemGetCloudPcConnectivityHistoryRequestBuilderGetRequestConfiguration)(VirtualEndpointCloudPCsItemGetCloudPcConnectivityHistoryResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,9 +69,12 @@ func (m *VirtualEndpointCloudPCsItemGetCloudPcConnectivityHistoryRequestBuilder) } return res.(VirtualEndpointCloudPCsItemGetCloudPcConnectivityHistoryResponseable), nil } -// GetAsGetCloudPcConnectivityHistoryGetResponse invoke function getCloudPcConnectivityHistory +// GetAsGetCloudPcConnectivityHistoryGetResponse get the connectivity history of a specific Cloud PC. // returns a VirtualEndpointCloudPCsItemGetCloudPcConnectivityHistoryGetResponseable when successful // returns a ODataError error 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-getcloudpcconnectivityhistory?view=graph-rest-beta func (m *VirtualEndpointCloudPCsItemGetCloudPcConnectivityHistoryRequestBuilder) GetAsGetCloudPcConnectivityHistoryGetResponse(ctx context.Context, requestConfiguration *VirtualEndpointCloudPCsItemGetCloudPcConnectivityHistoryRequestBuilderGetRequestConfiguration)(VirtualEndpointCloudPCsItemGetCloudPcConnectivityHistoryGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -86,7 +92,7 @@ func (m *VirtualEndpointCloudPCsItemGetCloudPcConnectivityHistoryRequestBuilder) } return res.(VirtualEndpointCloudPCsItemGetCloudPcConnectivityHistoryGetResponseable), nil } -// ToGetRequestInformation invoke function getCloudPcConnectivityHistory +// ToGetRequestInformation get the connectivity history of a specific Cloud PC. // returns a *RequestInformation when successful func (m *VirtualEndpointCloudPCsItemGetCloudPcConnectivityHistoryRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointCloudPCsItemGetCloudPcConnectivityHistoryRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_item_get_cloud_pc_launch_info_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_item_get_cloud_pc_launch_info_request_builder.go index 4b83c22dd0c..5675e0b4e0d 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_item_get_cloud_pc_launch_info_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_item_get_cloud_pc_launch_info_request_builder.go @@ -31,9 +31,12 @@ func NewVirtualEndpointCloudPCsItemGetCloudPcLaunchInfoRequestBuilder(rawUrl str urlParams["request-raw-url"] = rawUrl return NewVirtualEndpointCloudPCsItemGetCloudPcLaunchInfoRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getCloudPcLaunchInfo +// Get get the cloudPCLaunchInfo for the signed-in user. // returns a CloudPcLaunchInfoable when successful // returns a ODataError error 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-getcloudpclaunchinfo?view=graph-rest-beta func (m *VirtualEndpointCloudPCsItemGetCloudPcLaunchInfoRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointCloudPCsItemGetCloudPcLaunchInfoRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcLaunchInfoable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -51,7 +54,7 @@ func (m *VirtualEndpointCloudPCsItemGetCloudPcLaunchInfoRequestBuilder) Get(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcLaunchInfoable), nil } -// ToGetRequestInformation invoke function getCloudPcLaunchInfo +// ToGetRequestInformation get the cloudPCLaunchInfo for the signed-in user. // returns a *RequestInformation when successful func (m *VirtualEndpointCloudPCsItemGetCloudPcLaunchInfoRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointCloudPCsItemGetCloudPcLaunchInfoRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_item_get_frontline_cloud_pc_access_state_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_item_get_frontline_cloud_pc_access_state_request_builder.go index c7e454536c6..1181621f81b 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_item_get_frontline_cloud_pc_access_state_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_item_get_frontline_cloud_pc_access_state_request_builder.go @@ -31,9 +31,12 @@ func NewVirtualEndpointCloudPCsItemGetFrontlineCloudPcAccessStateRequestBuilder( urlParams["request-raw-url"] = rawUrl return NewVirtualEndpointCloudPCsItemGetFrontlineCloudPcAccessStateRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getFrontlineCloudPcAccessState +// Get get the frontlineCloudPcAccessState of a frontline Cloud PC. This API only supports shared-use licenses. For more information, see cloudPcProvisioningPolicy. Shared-use licenses allow three users per license, with one user signed in at a time. Callers can get the latest frontline Cloud PC accessState and determine whether the frontline Cloud PC is accessible to a user. If a web client needs to connect to a frontline Cloud PC, the sharedCloudPcAccessState validates the bookmark scenario. If sharedCloudPcAccessState isn't active/activating/standbyMode, the web client shows a bad bookmark. // returns a *FrontlineCloudPcAccessState when successful // returns a ODataError error 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-getfrontlinecloudpcaccessstate?view=graph-rest-beta func (m *VirtualEndpointCloudPCsItemGetFrontlineCloudPcAccessStateRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointCloudPCsItemGetFrontlineCloudPcAccessStateRequestBuilderGetRequestConfiguration)(*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FrontlineCloudPcAccessState, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -51,7 +54,7 @@ func (m *VirtualEndpointCloudPCsItemGetFrontlineCloudPcAccessStateRequestBuilder } return res.(*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FrontlineCloudPcAccessState), nil } -// ToGetRequestInformation invoke function getFrontlineCloudPcAccessState +// ToGetRequestInformation get the frontlineCloudPcAccessState of a frontline Cloud PC. This API only supports shared-use licenses. For more information, see cloudPcProvisioningPolicy. Shared-use licenses allow three users per license, with one user signed in at a time. Callers can get the latest frontline Cloud PC accessState and determine whether the frontline Cloud PC is accessible to a user. If a web client needs to connect to a frontline Cloud PC, the sharedCloudPcAccessState validates the bookmark scenario. If sharedCloudPcAccessState isn't active/activating/standbyMode, the web client shows a bad bookmark. // returns a *RequestInformation when successful func (m *VirtualEndpointCloudPCsItemGetFrontlineCloudPcAccessStateRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointCloudPCsItemGetFrontlineCloudPcAccessStateRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_item_get_shift_work_cloud_pc_access_state_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_item_get_shift_work_cloud_pc_access_state_request_builder.go index 0d13cd59c40..94b0dfb1212 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_item_get_shift_work_cloud_pc_access_state_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_item_get_shift_work_cloud_pc_access_state_request_builder.go @@ -31,10 +31,13 @@ func NewVirtualEndpointCloudPCsItemGetShiftWorkCloudPcAccessStateRequestBuilder( urlParams["request-raw-url"] = rawUrl return NewVirtualEndpointCloudPCsItemGetShiftWorkCloudPcAccessStateRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getShiftWorkCloudPcAccessState +// Get get the shiftWorkCloudPcAccessState of a shift work Cloud PC. This API only supports shared-use licenses. For more information, see cloudPcProvisioningPolicy. Shared-use licenses allow three users per license, with one user signed in at a time. Callers can get the latest shift work Cloud PC accessState and determine whether the shift work Cloud PC is accessible to the user. If a web client needs to connect to a shift work Cloud PC, the sharedCloudPcAccessState validates the bookmark scenario. If sharedCloudPcAccessState is not active/activating/standbyMode, the web client shows a 'bad bookmark'. // Deprecated: The getShiftWorkCloudPcAccessState API is deprecated and will stop returning data on Dec 31, 2023. Please use the new getFrontlineCloudPcAccessState API as of 2023-08/getShiftWorkCloudPcAccessState // returns a *ShiftWorkCloudPcAccessState when successful // returns a ODataError error 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-getshiftworkcloudpcaccessstate?view=graph-rest-beta func (m *VirtualEndpointCloudPCsItemGetShiftWorkCloudPcAccessStateRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointCloudPCsItemGetShiftWorkCloudPcAccessStateRequestBuilderGetRequestConfiguration)(*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ShiftWorkCloudPcAccessState, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -52,7 +55,7 @@ func (m *VirtualEndpointCloudPCsItemGetShiftWorkCloudPcAccessStateRequestBuilder } return res.(*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ShiftWorkCloudPcAccessState), nil } -// ToGetRequestInformation invoke function getShiftWorkCloudPcAccessState +// ToGetRequestInformation get the shiftWorkCloudPcAccessState of a shift work Cloud PC. This API only supports shared-use licenses. For more information, see cloudPcProvisioningPolicy. Shared-use licenses allow three users per license, with one user signed in at a time. Callers can get the latest shift work Cloud PC accessState and determine whether the shift work Cloud PC is accessible to the user. If a web client needs to connect to a shift work Cloud PC, the sharedCloudPcAccessState validates the bookmark scenario. If sharedCloudPcAccessState is not active/activating/standbyMode, the web client shows a 'bad bookmark'. // Deprecated: The getShiftWorkCloudPcAccessState API is deprecated and will stop returning data on Dec 31, 2023. Please use the new getFrontlineCloudPcAccessState API as of 2023-08/getShiftWorkCloudPcAccessState // returns a *RequestInformation when successful func (m *VirtualEndpointCloudPCsItemGetShiftWorkCloudPcAccessStateRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointCloudPCsItemGetShiftWorkCloudPcAccessStateRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_item_get_supported_cloud_pc_remote_actions_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_item_get_supported_cloud_pc_remote_actions_request_builder.go index f87aa7b7f46..a9092416cd1 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_item_get_supported_cloud_pc_remote_actions_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_item_get_supported_cloud_pc_remote_actions_request_builder.go @@ -10,7 +10,7 @@ import ( type VirtualEndpointCloudPCsItemGetSupportedCloudPcRemoteActionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// VirtualEndpointCloudPCsItemGetSupportedCloudPcRemoteActionsRequestBuilderGetQueryParameters invoke function getSupportedCloudPcRemoteActions +// VirtualEndpointCloudPCsItemGetSupportedCloudPcRemoteActionsRequestBuilderGetQueryParameters get a list of supported Cloud PC remote actions for a specific Cloud PC device, including the action names and capabilities. type VirtualEndpointCloudPCsItemGetSupportedCloudPcRemoteActionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -45,10 +45,13 @@ func NewVirtualEndpointCloudPCsItemGetSupportedCloudPcRemoteActionsRequestBuilde urlParams["request-raw-url"] = rawUrl return NewVirtualEndpointCloudPCsItemGetSupportedCloudPcRemoteActionsRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getSupportedCloudPcRemoteActions +// Get get a list of supported Cloud PC remote actions for a specific Cloud PC device, including the action names and capabilities. // Deprecated: This method is obsolete. Use GetAsGetSupportedCloudPcRemoteActionsGetResponse instead. // returns a VirtualEndpointCloudPCsItemGetSupportedCloudPcRemoteActionsResponseable when successful // returns a ODataError error 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-getsupportedcloudpcremoteactions?view=graph-rest-beta func (m *VirtualEndpointCloudPCsItemGetSupportedCloudPcRemoteActionsRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointCloudPCsItemGetSupportedCloudPcRemoteActionsRequestBuilderGetRequestConfiguration)(VirtualEndpointCloudPCsItemGetSupportedCloudPcRemoteActionsResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,9 +69,12 @@ func (m *VirtualEndpointCloudPCsItemGetSupportedCloudPcRemoteActionsRequestBuild } return res.(VirtualEndpointCloudPCsItemGetSupportedCloudPcRemoteActionsResponseable), nil } -// GetAsGetSupportedCloudPcRemoteActionsGetResponse invoke function getSupportedCloudPcRemoteActions +// GetAsGetSupportedCloudPcRemoteActionsGetResponse get a list of supported Cloud PC remote actions for a specific Cloud PC device, including the action names and capabilities. // returns a VirtualEndpointCloudPCsItemGetSupportedCloudPcRemoteActionsGetResponseable when successful // returns a ODataError error 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-getsupportedcloudpcremoteactions?view=graph-rest-beta func (m *VirtualEndpointCloudPCsItemGetSupportedCloudPcRemoteActionsRequestBuilder) GetAsGetSupportedCloudPcRemoteActionsGetResponse(ctx context.Context, requestConfiguration *VirtualEndpointCloudPCsItemGetSupportedCloudPcRemoteActionsRequestBuilderGetRequestConfiguration)(VirtualEndpointCloudPCsItemGetSupportedCloudPcRemoteActionsGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -86,7 +92,7 @@ func (m *VirtualEndpointCloudPCsItemGetSupportedCloudPcRemoteActionsRequestBuild } return res.(VirtualEndpointCloudPCsItemGetSupportedCloudPcRemoteActionsGetResponseable), nil } -// ToGetRequestInformation invoke function getSupportedCloudPcRemoteActions +// ToGetRequestInformation get a list of supported Cloud PC remote actions for a specific Cloud PC device, including the action names and capabilities. // returns a *RequestInformation when successful func (m *VirtualEndpointCloudPCsItemGetSupportedCloudPcRemoteActionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointCloudPCsItemGetSupportedCloudPcRemoteActionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_item_power_off_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_item_power_off_request_builder.go index 0f94943301a..f5d6c784ea4 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_item_power_off_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_item_power_off_request_builder.go @@ -34,7 +34,7 @@ func NewVirtualEndpointCloudPCsItemPowerOffRequestBuilder(rawUrl string, request // returns a ODataError error 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-poweroff?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpc-poweroff?view=graph-rest-beta func (m *VirtualEndpointCloudPCsItemPowerOffRequestBuilder) Post(ctx context.Context, requestConfiguration *VirtualEndpointCloudPCsItemPowerOffRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_item_power_on_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_item_power_on_request_builder.go index 7ba26a456e6..c3f050bece0 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_item_power_on_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_item_power_on_request_builder.go @@ -34,7 +34,7 @@ func NewVirtualEndpointCloudPCsItemPowerOnRequestBuilder(rawUrl string, requestA // returns a ODataError error 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-poweron?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpc-poweron?view=graph-rest-beta func (m *VirtualEndpointCloudPCsItemPowerOnRequestBuilder) Post(ctx context.Context, requestConfiguration *VirtualEndpointCloudPCsItemPowerOnRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_item_reboot_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_item_reboot_request_builder.go index d5416ebd1e7..c8f99ccac6d 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_item_reboot_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_item_reboot_request_builder.go @@ -34,7 +34,7 @@ func NewVirtualEndpointCloudPCsItemRebootRequestBuilder(rawUrl string, requestAd // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpc-reboot?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpc-reboot?view=graph-rest-beta func (m *VirtualEndpointCloudPCsItemRebootRequestBuilder) Post(ctx context.Context, requestConfiguration *VirtualEndpointCloudPCsItemRebootRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_item_rename_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_item_rename_request_builder.go index f5987dfd66e..0da3789387e 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_item_rename_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_item_rename_request_builder.go @@ -34,7 +34,7 @@ func NewVirtualEndpointCloudPCsItemRenameRequestBuilder(rawUrl string, requestAd // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpc-rename?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpc-rename?view=graph-rest-beta func (m *VirtualEndpointCloudPCsItemRenameRequestBuilder) Post(ctx context.Context, body VirtualEndpointCloudPCsItemRenamePostRequestBodyable, requestConfiguration *VirtualEndpointCloudPCsItemRenameRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_item_reprovision_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_item_reprovision_request_builder.go index 75039768367..47fb3abcc18 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_item_reprovision_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_item_reprovision_request_builder.go @@ -34,7 +34,7 @@ func NewVirtualEndpointCloudPCsItemReprovisionRequestBuilder(rawUrl string, requ // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpc-reprovision?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpc-reprovision?view=graph-rest-beta func (m *VirtualEndpointCloudPCsItemReprovisionRequestBuilder) Post(ctx context.Context, body VirtualEndpointCloudPCsItemReprovisionPostRequestBodyable, requestConfiguration *VirtualEndpointCloudPCsItemReprovisionRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_item_restore_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_item_restore_request_builder.go index 22da418080b..c411c602c7f 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_item_restore_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_item_restore_request_builder.go @@ -34,7 +34,7 @@ func NewVirtualEndpointCloudPCsItemRestoreRequestBuilder(rawUrl string, requestA // returns a ODataError error 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-restore?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpc-restore?view=graph-rest-beta func (m *VirtualEndpointCloudPCsItemRestoreRequestBuilder) Post(ctx context.Context, body VirtualEndpointCloudPCsItemRestorePostRequestBodyable, requestConfiguration *VirtualEndpointCloudPCsItemRestoreRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_item_retry_partner_agent_installation_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_item_retry_partner_agent_installation_request_builder.go index a98b03b36d4..fbd2e6e98a0 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_item_retry_partner_agent_installation_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_item_retry_partner_agent_installation_request_builder.go @@ -34,7 +34,7 @@ func NewVirtualEndpointCloudPCsItemRetryPartnerAgentInstallationRequestBuilder(r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpc-retrypartneragentinstallation?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpc-retrypartneragentinstallation?view=graph-rest-beta func (m *VirtualEndpointCloudPCsItemRetryPartnerAgentInstallationRequestBuilder) Post(ctx context.Context, requestConfiguration *VirtualEndpointCloudPCsItemRetryPartnerAgentInstallationRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_item_start_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_item_start_request_builder.go index 6819cd530b7..e24528ced68 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_item_start_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_item_start_request_builder.go @@ -34,7 +34,7 @@ func NewVirtualEndpointCloudPCsItemStartRequestBuilder(rawUrl string, requestAda // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpc-start?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpc-start?view=graph-rest-beta func (m *VirtualEndpointCloudPCsItemStartRequestBuilder) Post(ctx context.Context, requestConfiguration *VirtualEndpointCloudPCsItemStartRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_item_stop_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_item_stop_request_builder.go index ce12b602cea..9445f0ad48b 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_item_stop_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_item_stop_request_builder.go @@ -34,7 +34,7 @@ func NewVirtualEndpointCloudPCsItemStopRequestBuilder(rawUrl string, requestAdap // returns a ODataError error 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-stop?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpc-stop?view=graph-rest-beta func (m *VirtualEndpointCloudPCsItemStopRequestBuilder) Post(ctx context.Context, requestConfiguration *VirtualEndpointCloudPCsItemStopRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_item_troubleshoot_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_item_troubleshoot_request_builder.go index 96feb6b6ed1..036a4098777 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_item_troubleshoot_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_item_troubleshoot_request_builder.go @@ -34,7 +34,7 @@ func NewVirtualEndpointCloudPCsItemTroubleshootRequestBuilder(rawUrl string, req // returns a ODataError error 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-troubleshoot?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpc-troubleshoot?view=graph-rest-beta func (m *VirtualEndpointCloudPCsItemTroubleshootRequestBuilder) Post(ctx context.Context, requestConfiguration *VirtualEndpointCloudPCsItemTroubleshootRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_request_builder.go index 00eee8dffd5..10a5099366b 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_request_builder.go @@ -11,7 +11,7 @@ import ( type VirtualEndpointCloudPCsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// VirtualEndpointCloudPCsRequestBuilderGetQueryParameters list the cloudPC devices in a tenant. +// VirtualEndpointCloudPCsRequestBuilderGetQueryParameters cloud managed virtual desktops. type VirtualEndpointCloudPCsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func NewVirtualEndpointCloudPCsRequestBuilder(rawUrl string, requestAdapter i2ae func (m *VirtualEndpointCloudPCsRequestBuilder) Count()(*VirtualEndpointCloudPCsCountRequestBuilder) { return NewVirtualEndpointCloudPCsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list the cloudPC devices in a tenant. +// Get cloud managed virtual desktops. // returns a CloudPCCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/virtualendpoint-list-cloudpcs?view=graph-rest-1.0 func (m *VirtualEndpointCloudPCsRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointCloudPCsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPCCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *VirtualEndpointCloudPCsRequestBuilder) Post(ctx context.Context, body i } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPCable), nil } -// ToGetRequestInformation list the cloudPC devices in a tenant. +// ToGetRequestInformation cloud managed virtual desktops. // returns a *RequestInformation when successful func (m *VirtualEndpointCloudPCsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointCloudPCsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_validate_bulk_resize_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_validate_bulk_resize_request_builder.go index 0011daa1335..328bdb31a86 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_validate_bulk_resize_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_validate_bulk_resize_request_builder.go @@ -36,7 +36,7 @@ func NewVirtualEndpointCloudPCsValidateBulkResizeRequestBuilder(rawUrl string, r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpc-validatebulkresize?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpc-validatebulkresize?view=graph-rest-beta func (m *VirtualEndpointCloudPCsValidateBulkResizeRequestBuilder) Post(ctx context.Context, body VirtualEndpointCloudPCsValidateBulkResizePostRequestBodyable, requestConfiguration *VirtualEndpointCloudPCsValidateBulkResizeRequestBuilderPostRequestConfiguration)(VirtualEndpointCloudPCsValidateBulkResizeResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *VirtualEndpointCloudPCsValidateBulkResizeRequestBuilder) Post(ctx conte // returns a ODataError error 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-validatebulkresize?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpc-validatebulkresize?view=graph-rest-beta func (m *VirtualEndpointCloudPCsValidateBulkResizeRequestBuilder) PostAsValidateBulkResizePostResponse(ctx context.Context, body VirtualEndpointCloudPCsValidateBulkResizePostRequestBodyable, requestConfiguration *VirtualEndpointCloudPCsValidateBulkResizeRequestBuilderPostRequestConfiguration)(VirtualEndpointCloudPCsValidateBulkResizePostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/devicemanagement/virtual_endpoint_cross_cloud_government_organization_mapping_request_builder.go b/devicemanagement/virtual_endpoint_cross_cloud_government_organization_mapping_request_builder.go index 5a909d22c82..87496fa1ec9 100644 --- a/devicemanagement/virtual_endpoint_cross_cloud_government_organization_mapping_request_builder.go +++ b/devicemanagement/virtual_endpoint_cross_cloud_government_organization_mapping_request_builder.go @@ -18,7 +18,7 @@ type VirtualEndpointCrossCloudGovernmentOrganizationMappingRequestBuilderDeleteR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// VirtualEndpointCrossCloudGovernmentOrganizationMappingRequestBuilderGetQueryParameters read the properties and relationships of a cloudPcCrossCloudGovernmentOrganizationMapping object. +// VirtualEndpointCrossCloudGovernmentOrganizationMappingRequestBuilderGetQueryParameters cloud PC organization mapping between public and US Government Community Cloud (GCC) organizations. type VirtualEndpointCrossCloudGovernmentOrganizationMappingRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *VirtualEndpointCrossCloudGovernmentOrganizationMappingRequestBuilder) D } return nil } -// Get read the properties and relationships of a cloudPcCrossCloudGovernmentOrganizationMapping object. +// Get cloud PC organization mapping between public and US Government Community Cloud (GCC) organizations. // returns a CloudPcCrossCloudGovernmentOrganizationMappingable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpccrosscloudgovernmentorganizationmapping-get?view=graph-rest-1.0 func (m *VirtualEndpointCrossCloudGovernmentOrganizationMappingRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointCrossCloudGovernmentOrganizationMappingRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcCrossCloudGovernmentOrganizationMappingable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *VirtualEndpointCrossCloudGovernmentOrganizationMappingRequestBuilder) T requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a cloudPcCrossCloudGovernmentOrganizationMapping object. +// ToGetRequestInformation cloud PC organization mapping between public and US Government Community Cloud (GCC) organizations. // returns a *RequestInformation when successful func (m *VirtualEndpointCrossCloudGovernmentOrganizationMappingRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointCrossCloudGovernmentOrganizationMappingRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/virtual_endpoint_device_images_cloud_pc_device_image_item_request_builder.go b/devicemanagement/virtual_endpoint_device_images_cloud_pc_device_image_item_request_builder.go index 49d919d5187..0e48c1f148b 100644 --- a/devicemanagement/virtual_endpoint_device_images_cloud_pc_device_image_item_request_builder.go +++ b/devicemanagement/virtual_endpoint_device_images_cloud_pc_device_image_item_request_builder.go @@ -18,7 +18,7 @@ type VirtualEndpointDeviceImagesCloudPcDeviceImageItemRequestBuilderDeleteReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// VirtualEndpointDeviceImagesCloudPcDeviceImageItemRequestBuilderGetQueryParameters read the properties and relationships of a specific cloudPcDeviceImage object. +// VirtualEndpointDeviceImagesCloudPcDeviceImageItemRequestBuilderGetQueryParameters the image resource on Cloud PC. type VirtualEndpointDeviceImagesCloudPcDeviceImageItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewVirtualEndpointDeviceImagesCloudPcDeviceImageItemRequestBuilder(rawUrl s urlParams["request-raw-url"] = rawUrl return NewVirtualEndpointDeviceImagesCloudPcDeviceImageItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a cloudPcDeviceImage object. +// Delete delete navigation property deviceImages for deviceManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpcdeviceimage-delete?view=graph-rest-1.0 func (m *VirtualEndpointDeviceImagesCloudPcDeviceImageItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *VirtualEndpointDeviceImagesCloudPcDeviceImageItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *VirtualEndpointDeviceImagesCloudPcDeviceImageItemRequestBuilder) Delete } return nil } -// Get read the properties and relationships of a specific cloudPcDeviceImage object. +// Get the image resource on Cloud PC. // returns a CloudPcDeviceImageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpcdeviceimage-get?view=graph-rest-1.0 func (m *VirtualEndpointDeviceImagesCloudPcDeviceImageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointDeviceImagesCloudPcDeviceImageItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcDeviceImageable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -121,7 +115,7 @@ func (m *VirtualEndpointDeviceImagesCloudPcDeviceImageItemRequestBuilder) Patch( func (m *VirtualEndpointDeviceImagesCloudPcDeviceImageItemRequestBuilder) Reupload()(*VirtualEndpointDeviceImagesItemReuploadRequestBuilder) { return NewVirtualEndpointDeviceImagesItemReuploadRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a cloudPcDeviceImage object. +// ToDeleteRequestInformation delete navigation property deviceImages for deviceManagement // returns a *RequestInformation when successful func (m *VirtualEndpointDeviceImagesCloudPcDeviceImageItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointDeviceImagesCloudPcDeviceImageItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -132,7 +126,7 @@ func (m *VirtualEndpointDeviceImagesCloudPcDeviceImageItemRequestBuilder) ToDele requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a specific cloudPcDeviceImage object. +// ToGetRequestInformation the image resource on Cloud PC. // returns a *RequestInformation when successful func (m *VirtualEndpointDeviceImagesCloudPcDeviceImageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointDeviceImagesCloudPcDeviceImageItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/virtual_endpoint_device_images_get_source_images_request_builder.go b/devicemanagement/virtual_endpoint_device_images_get_source_images_request_builder.go index 0f470a389d4..d8a9cabb6e4 100644 --- a/devicemanagement/virtual_endpoint_device_images_get_source_images_request_builder.go +++ b/devicemanagement/virtual_endpoint_device_images_get_source_images_request_builder.go @@ -10,7 +10,7 @@ import ( type VirtualEndpointDeviceImagesGetSourceImagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// VirtualEndpointDeviceImagesGetSourceImagesRequestBuilderGetQueryParameters invoke function getSourceImages +// VirtualEndpointDeviceImagesGetSourceImagesRequestBuilderGetQueryParameters get cloudPcSourceDeviceImage objects that can be uploaded and used on Cloud PCs. View a list of all the managed image resources from your Microsoft Entra subscriptions. type VirtualEndpointDeviceImagesGetSourceImagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -45,10 +45,13 @@ func NewVirtualEndpointDeviceImagesGetSourceImagesRequestBuilder(rawUrl string, urlParams["request-raw-url"] = rawUrl return NewVirtualEndpointDeviceImagesGetSourceImagesRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getSourceImages +// Get get cloudPcSourceDeviceImage objects that can be uploaded and used on Cloud PCs. View a list of all the managed image resources from your Microsoft Entra subscriptions. // Deprecated: This method is obsolete. Use GetAsGetSourceImagesGetResponse instead. // returns a VirtualEndpointDeviceImagesGetSourceImagesResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpcdeviceimage-getsourceimages?view=graph-rest-beta func (m *VirtualEndpointDeviceImagesGetSourceImagesRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointDeviceImagesGetSourceImagesRequestBuilderGetRequestConfiguration)(VirtualEndpointDeviceImagesGetSourceImagesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,9 +69,12 @@ func (m *VirtualEndpointDeviceImagesGetSourceImagesRequestBuilder) Get(ctx conte } return res.(VirtualEndpointDeviceImagesGetSourceImagesResponseable), nil } -// GetAsGetSourceImagesGetResponse invoke function getSourceImages +// GetAsGetSourceImagesGetResponse get cloudPcSourceDeviceImage objects that can be uploaded and used on Cloud PCs. View a list of all the managed image resources from your Microsoft Entra subscriptions. // returns a VirtualEndpointDeviceImagesGetSourceImagesGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpcdeviceimage-getsourceimages?view=graph-rest-beta func (m *VirtualEndpointDeviceImagesGetSourceImagesRequestBuilder) GetAsGetSourceImagesGetResponse(ctx context.Context, requestConfiguration *VirtualEndpointDeviceImagesGetSourceImagesRequestBuilderGetRequestConfiguration)(VirtualEndpointDeviceImagesGetSourceImagesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -86,7 +92,7 @@ func (m *VirtualEndpointDeviceImagesGetSourceImagesRequestBuilder) GetAsGetSourc } return res.(VirtualEndpointDeviceImagesGetSourceImagesGetResponseable), nil } -// ToGetRequestInformation invoke function getSourceImages +// ToGetRequestInformation get cloudPcSourceDeviceImage objects that can be uploaded and used on Cloud PCs. View a list of all the managed image resources from your Microsoft Entra subscriptions. // returns a *RequestInformation when successful func (m *VirtualEndpointDeviceImagesGetSourceImagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointDeviceImagesGetSourceImagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/virtual_endpoint_device_images_item_reupload_request_builder.go b/devicemanagement/virtual_endpoint_device_images_item_reupload_request_builder.go index d466d9e02a8..ed5cd759112 100644 --- a/devicemanagement/virtual_endpoint_device_images_item_reupload_request_builder.go +++ b/devicemanagement/virtual_endpoint_device_images_item_reupload_request_builder.go @@ -34,7 +34,7 @@ func NewVirtualEndpointDeviceImagesItemReuploadRequestBuilder(rawUrl string, req // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpcdeviceimage-reupload?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpcdeviceimage-reupload?view=graph-rest-beta func (m *VirtualEndpointDeviceImagesItemReuploadRequestBuilder) Post(ctx context.Context, requestConfiguration *VirtualEndpointDeviceImagesItemReuploadRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/devicemanagement/virtual_endpoint_device_images_request_builder.go b/devicemanagement/virtual_endpoint_device_images_request_builder.go index fddea553d24..9ccf1b36488 100644 --- a/devicemanagement/virtual_endpoint_device_images_request_builder.go +++ b/devicemanagement/virtual_endpoint_device_images_request_builder.go @@ -11,7 +11,7 @@ import ( type VirtualEndpointDeviceImagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// VirtualEndpointDeviceImagesRequestBuilderGetQueryParameters list the properties and relationships of the cloudPcDeviceImage objects (OS images) uploaded to Cloud PC. +// VirtualEndpointDeviceImagesRequestBuilderGetQueryParameters the image resource on Cloud PC. type VirtualEndpointDeviceImagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewVirtualEndpointDeviceImagesRequestBuilder(rawUrl string, requestAdapter func (m *VirtualEndpointDeviceImagesRequestBuilder) Count()(*VirtualEndpointDeviceImagesCountRequestBuilder) { return NewVirtualEndpointDeviceImagesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list the properties and relationships of the cloudPcDeviceImage objects (OS images) uploaded to Cloud PC. +// Get the image resource on Cloud PC. // returns a CloudPcDeviceImageCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/virtualendpoint-list-deviceimages?view=graph-rest-1.0 func (m *VirtualEndpointDeviceImagesRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointDeviceImagesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcDeviceImageCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *VirtualEndpointDeviceImagesRequestBuilder) Get(ctx context.Context, req func (m *VirtualEndpointDeviceImagesRequestBuilder) GetSourceImages()(*VirtualEndpointDeviceImagesGetSourceImagesRequestBuilder) { return NewVirtualEndpointDeviceImagesGetSourceImagesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Post create a new cloudPcDeviceImage object. Upload a custom OS image that you can later provision on Cloud PCs. +// Post create new navigation property to deviceImages for deviceManagement // returns a CloudPcDeviceImageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/virtualendpoint-post-deviceimages?view=graph-rest-1.0 func (m *VirtualEndpointDeviceImagesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcDeviceImageable, requestConfiguration *VirtualEndpointDeviceImagesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcDeviceImageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *VirtualEndpointDeviceImagesRequestBuilder) Post(ctx context.Context, bo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcDeviceImageable), nil } -// ToGetRequestInformation list the properties and relationships of the cloudPcDeviceImage objects (OS images) uploaded to Cloud PC. +// ToGetRequestInformation the image resource on Cloud PC. // returns a *RequestInformation when successful func (m *VirtualEndpointDeviceImagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointDeviceImagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *VirtualEndpointDeviceImagesRequestBuilder) ToGetRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new cloudPcDeviceImage object. Upload a custom OS image that you can later provision on Cloud PCs. +// ToPostRequestInformation create new navigation property to deviceImages for deviceManagement // returns a *RequestInformation when successful func (m *VirtualEndpointDeviceImagesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcDeviceImageable, requestConfiguration *VirtualEndpointDeviceImagesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/virtual_endpoint_external_partner_settings_cloud_pc_external_partner_setting_item_request_builder.go b/devicemanagement/virtual_endpoint_external_partner_settings_cloud_pc_external_partner_setting_item_request_builder.go index 238a61d0db6..880f280ea78 100644 --- a/devicemanagement/virtual_endpoint_external_partner_settings_cloud_pc_external_partner_setting_item_request_builder.go +++ b/devicemanagement/virtual_endpoint_external_partner_settings_cloud_pc_external_partner_setting_item_request_builder.go @@ -18,7 +18,7 @@ type VirtualEndpointExternalPartnerSettingsCloudPcExternalPartnerSettingItemRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// VirtualEndpointExternalPartnerSettingsCloudPcExternalPartnerSettingItemRequestBuilderGetQueryParameters read the properties and relationships of a cloudPcExternalPartnerSetting object. +// VirtualEndpointExternalPartnerSettingsCloudPcExternalPartnerSettingItemRequestBuilderGetQueryParameters the external partner settings on a Cloud PC. type VirtualEndpointExternalPartnerSettingsCloudPcExternalPartnerSettingItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *VirtualEndpointExternalPartnerSettingsCloudPcExternalPartnerSettingItem } return nil } -// Get read the properties and relationships of a cloudPcExternalPartnerSetting object. +// Get the external partner settings on a Cloud PC. // returns a CloudPcExternalPartnerSettingable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpcexternalpartnersetting-get?view=graph-rest-1.0 func (m *VirtualEndpointExternalPartnerSettingsCloudPcExternalPartnerSettingItemRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointExternalPartnerSettingsCloudPcExternalPartnerSettingItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcExternalPartnerSettingable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *VirtualEndpointExternalPartnerSettingsCloudPcExternalPartnerSettingItem } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcExternalPartnerSettingable), nil } -// Patch update the properties of a cloudPcExternalPartnerSetting object. +// Patch update the navigation property externalPartnerSettings in deviceManagement // returns a CloudPcExternalPartnerSettingable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpcexternalpartnersetting-update?view=graph-rest-1.0 func (m *VirtualEndpointExternalPartnerSettingsCloudPcExternalPartnerSettingItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcExternalPartnerSettingable, requestConfiguration *VirtualEndpointExternalPartnerSettingsCloudPcExternalPartnerSettingItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcExternalPartnerSettingable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *VirtualEndpointExternalPartnerSettingsCloudPcExternalPartnerSettingItem requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a cloudPcExternalPartnerSetting object. +// ToGetRequestInformation the external partner settings on a Cloud PC. // returns a *RequestInformation when successful func (m *VirtualEndpointExternalPartnerSettingsCloudPcExternalPartnerSettingItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointExternalPartnerSettingsCloudPcExternalPartnerSettingItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *VirtualEndpointExternalPartnerSettingsCloudPcExternalPartnerSettingItem requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a cloudPcExternalPartnerSetting object. +// ToPatchRequestInformation update the navigation property externalPartnerSettings in deviceManagement // returns a *RequestInformation when successful func (m *VirtualEndpointExternalPartnerSettingsCloudPcExternalPartnerSettingItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcExternalPartnerSettingable, requestConfiguration *VirtualEndpointExternalPartnerSettingsCloudPcExternalPartnerSettingItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/virtual_endpoint_external_partner_settings_request_builder.go b/devicemanagement/virtual_endpoint_external_partner_settings_request_builder.go index c468dec7d34..deed072a27d 100644 --- a/devicemanagement/virtual_endpoint_external_partner_settings_request_builder.go +++ b/devicemanagement/virtual_endpoint_external_partner_settings_request_builder.go @@ -11,7 +11,7 @@ import ( type VirtualEndpointExternalPartnerSettingsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// VirtualEndpointExternalPartnerSettingsRequestBuilderGetQueryParameters get a list of the cloudPcExternalPartnerSetting objects and their properties. +// VirtualEndpointExternalPartnerSettingsRequestBuilderGetQueryParameters the external partner settings on a Cloud PC. type VirtualEndpointExternalPartnerSettingsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewVirtualEndpointExternalPartnerSettingsRequestBuilder(rawUrl string, requ func (m *VirtualEndpointExternalPartnerSettingsRequestBuilder) Count()(*VirtualEndpointExternalPartnerSettingsCountRequestBuilder) { return NewVirtualEndpointExternalPartnerSettingsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the cloudPcExternalPartnerSetting objects and their properties. +// Get the external partner settings on a Cloud PC. // returns a CloudPcExternalPartnerSettingCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/virtualendpoint-list-externalpartnersettings?view=graph-rest-1.0 func (m *VirtualEndpointExternalPartnerSettingsRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointExternalPartnerSettingsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcExternalPartnerSettingCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *VirtualEndpointExternalPartnerSettingsRequestBuilder) Get(ctx context.C } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcExternalPartnerSettingCollectionResponseable), nil } -// Post create a new cloudPcExternalPartnerSetting object. +// Post create new navigation property to externalPartnerSettings for deviceManagement // returns a CloudPcExternalPartnerSettingable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/virtualendpoint-post-externalpartnersettings?view=graph-rest-1.0 func (m *VirtualEndpointExternalPartnerSettingsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcExternalPartnerSettingable, requestConfiguration *VirtualEndpointExternalPartnerSettingsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcExternalPartnerSettingable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *VirtualEndpointExternalPartnerSettingsRequestBuilder) Post(ctx context. } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcExternalPartnerSettingable), nil } -// ToGetRequestInformation get a list of the cloudPcExternalPartnerSetting objects and their properties. +// ToGetRequestInformation the external partner settings on a Cloud PC. // returns a *RequestInformation when successful func (m *VirtualEndpointExternalPartnerSettingsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointExternalPartnerSettingsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *VirtualEndpointExternalPartnerSettingsRequestBuilder) ToGetRequestInfor requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new cloudPcExternalPartnerSetting object. +// ToPostRequestInformation create new navigation property to externalPartnerSettings for deviceManagement // returns a *RequestInformation when successful func (m *VirtualEndpointExternalPartnerSettingsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcExternalPartnerSettingable, requestConfiguration *VirtualEndpointExternalPartnerSettingsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/virtual_endpoint_front_line_service_plans_cloud_pc_front_line_service_plan_item_request_builder.go b/devicemanagement/virtual_endpoint_front_line_service_plans_cloud_pc_front_line_service_plan_item_request_builder.go index ac3a07b1ef6..9116dc491b6 100644 --- a/devicemanagement/virtual_endpoint_front_line_service_plans_cloud_pc_front_line_service_plan_item_request_builder.go +++ b/devicemanagement/virtual_endpoint_front_line_service_plans_cloud_pc_front_line_service_plan_item_request_builder.go @@ -18,7 +18,7 @@ type VirtualEndpointFrontLineServicePlansCloudPcFrontLineServicePlanItemRequestB // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// VirtualEndpointFrontLineServicePlansCloudPcFrontLineServicePlanItemRequestBuilderGetQueryParameters get the properties and relationships of a cloudPcFrontLineServicePlan object. +// VirtualEndpointFrontLineServicePlansCloudPcFrontLineServicePlanItemRequestBuilderGetQueryParameters front-line service plans for a Cloud PC. type VirtualEndpointFrontLineServicePlansCloudPcFrontLineServicePlanItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *VirtualEndpointFrontLineServicePlansCloudPcFrontLineServicePlanItemRequ } return nil } -// Get get the properties and relationships of a cloudPcFrontLineServicePlan object. +// Get front-line service plans for a Cloud PC. // returns a CloudPcFrontLineServicePlanable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpcfrontlineserviceplan-get?view=graph-rest-1.0 func (m *VirtualEndpointFrontLineServicePlansCloudPcFrontLineServicePlanItemRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointFrontLineServicePlansCloudPcFrontLineServicePlanItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcFrontLineServicePlanable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *VirtualEndpointFrontLineServicePlansCloudPcFrontLineServicePlanItemRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties and relationships of a cloudPcFrontLineServicePlan object. +// ToGetRequestInformation front-line service plans for a Cloud PC. // returns a *RequestInformation when successful func (m *VirtualEndpointFrontLineServicePlansCloudPcFrontLineServicePlanItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointFrontLineServicePlansCloudPcFrontLineServicePlanItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/virtual_endpoint_front_line_service_plans_request_builder.go b/devicemanagement/virtual_endpoint_front_line_service_plans_request_builder.go index 5914c45bdb0..1e666eb8896 100644 --- a/devicemanagement/virtual_endpoint_front_line_service_plans_request_builder.go +++ b/devicemanagement/virtual_endpoint_front_line_service_plans_request_builder.go @@ -11,7 +11,7 @@ import ( type VirtualEndpointFrontLineServicePlansRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// VirtualEndpointFrontLineServicePlansRequestBuilderGetQueryParameters get a list of the cloudPcFrontLineServicePlan objects and their properties. +// VirtualEndpointFrontLineServicePlansRequestBuilderGetQueryParameters front-line service plans for a Cloud PC. type VirtualEndpointFrontLineServicePlansRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewVirtualEndpointFrontLineServicePlansRequestBuilder(rawUrl string, reques func (m *VirtualEndpointFrontLineServicePlansRequestBuilder) Count()(*VirtualEndpointFrontLineServicePlansCountRequestBuilder) { return NewVirtualEndpointFrontLineServicePlansCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the cloudPcFrontLineServicePlan objects and their properties. +// Get front-line service plans for a Cloud PC. // returns a CloudPcFrontLineServicePlanCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/virtualendpoint-list-frontlineserviceplans?view=graph-rest-1.0 func (m *VirtualEndpointFrontLineServicePlansRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointFrontLineServicePlansRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcFrontLineServicePlanCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *VirtualEndpointFrontLineServicePlansRequestBuilder) Post(ctx context.Co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcFrontLineServicePlanable), nil } -// ToGetRequestInformation get a list of the cloudPcFrontLineServicePlan objects and their properties. +// ToGetRequestInformation front-line service plans for a Cloud PC. // returns a *RequestInformation when successful func (m *VirtualEndpointFrontLineServicePlansRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointFrontLineServicePlansRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/virtual_endpoint_gallery_images_cloud_pc_gallery_image_item_request_builder.go b/devicemanagement/virtual_endpoint_gallery_images_cloud_pc_gallery_image_item_request_builder.go index d646b47a6bc..59a82df2060 100644 --- a/devicemanagement/virtual_endpoint_gallery_images_cloud_pc_gallery_image_item_request_builder.go +++ b/devicemanagement/virtual_endpoint_gallery_images_cloud_pc_gallery_image_item_request_builder.go @@ -18,7 +18,7 @@ type VirtualEndpointGalleryImagesCloudPcGalleryImageItemRequestBuilderDeleteRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// VirtualEndpointGalleryImagesCloudPcGalleryImageItemRequestBuilderGetQueryParameters read the properties and relationships of a specific cloudPcGalleryImage object. +// VirtualEndpointGalleryImagesCloudPcGalleryImageItemRequestBuilderGetQueryParameters the gallery image resource on Cloud PC. type VirtualEndpointGalleryImagesCloudPcGalleryImageItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *VirtualEndpointGalleryImagesCloudPcGalleryImageItemRequestBuilder) Dele } return nil } -// Get read the properties and relationships of a specific cloudPcGalleryImage object. +// Get the gallery image resource on Cloud PC. // returns a CloudPcGalleryImageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpcgalleryimage-get?view=graph-rest-1.0 func (m *VirtualEndpointGalleryImagesCloudPcGalleryImageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointGalleryImagesCloudPcGalleryImageItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcGalleryImageable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *VirtualEndpointGalleryImagesCloudPcGalleryImageItemRequestBuilder) ToDe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a specific cloudPcGalleryImage object. +// ToGetRequestInformation the gallery image resource on Cloud PC. // returns a *RequestInformation when successful func (m *VirtualEndpointGalleryImagesCloudPcGalleryImageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointGalleryImagesCloudPcGalleryImageItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/virtual_endpoint_gallery_images_request_builder.go b/devicemanagement/virtual_endpoint_gallery_images_request_builder.go index efbe70d8367..74b043325e7 100644 --- a/devicemanagement/virtual_endpoint_gallery_images_request_builder.go +++ b/devicemanagement/virtual_endpoint_gallery_images_request_builder.go @@ -11,7 +11,7 @@ import ( type VirtualEndpointGalleryImagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// VirtualEndpointGalleryImagesRequestBuilderGetQueryParameters list the properties and relationships of the cloudPcGalleryImage objects. +// VirtualEndpointGalleryImagesRequestBuilderGetQueryParameters the gallery image resource on Cloud PC. type VirtualEndpointGalleryImagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewVirtualEndpointGalleryImagesRequestBuilder(rawUrl string, requestAdapter func (m *VirtualEndpointGalleryImagesRequestBuilder) Count()(*VirtualEndpointGalleryImagesCountRequestBuilder) { return NewVirtualEndpointGalleryImagesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list the properties and relationships of the cloudPcGalleryImage objects. +// Get the gallery image resource on Cloud PC. // returns a CloudPcGalleryImageCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/virtualendpoint-list-galleryimages?view=graph-rest-1.0 func (m *VirtualEndpointGalleryImagesRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointGalleryImagesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcGalleryImageCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *VirtualEndpointGalleryImagesRequestBuilder) Post(ctx context.Context, b } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcGalleryImageable), nil } -// ToGetRequestInformation list the properties and relationships of the cloudPcGalleryImage objects. +// ToGetRequestInformation the gallery image resource on Cloud PC. // returns a *RequestInformation when successful func (m *VirtualEndpointGalleryImagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointGalleryImagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/virtual_endpoint_get_effective_permissions_request_builder.go b/devicemanagement/virtual_endpoint_get_effective_permissions_request_builder.go index 40dbb1ef4e4..bf692d96089 100644 --- a/devicemanagement/virtual_endpoint_get_effective_permissions_request_builder.go +++ b/devicemanagement/virtual_endpoint_get_effective_permissions_request_builder.go @@ -10,7 +10,7 @@ import ( type VirtualEndpointGetEffectivePermissionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// VirtualEndpointGetEffectivePermissionsRequestBuilderGetQueryParameters invoke function getEffectivePermissions +// VirtualEndpointGetEffectivePermissionsRequestBuilderGetQueryParameters get the effective permissions of the currently authenticated user, helping UX hide or disable content that the current user doesn't have access to. type VirtualEndpointGetEffectivePermissionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -45,10 +45,13 @@ func NewVirtualEndpointGetEffectivePermissionsRequestBuilder(rawUrl string, requ urlParams["request-raw-url"] = rawUrl return NewVirtualEndpointGetEffectivePermissionsRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getEffectivePermissions +// Get get the effective permissions of the currently authenticated user, helping UX hide or disable content that the current user doesn't have access to. // Deprecated: This method is obsolete. Use GetAsGetEffectivePermissionsGetResponse instead. // returns a VirtualEndpointGetEffectivePermissionsResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/virtualendpoint-geteffectivepermissions?view=graph-rest-beta func (m *VirtualEndpointGetEffectivePermissionsRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointGetEffectivePermissionsRequestBuilderGetRequestConfiguration)(VirtualEndpointGetEffectivePermissionsResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,9 +69,12 @@ func (m *VirtualEndpointGetEffectivePermissionsRequestBuilder) Get(ctx context.C } return res.(VirtualEndpointGetEffectivePermissionsResponseable), nil } -// GetAsGetEffectivePermissionsGetResponse invoke function getEffectivePermissions +// GetAsGetEffectivePermissionsGetResponse get the effective permissions of the currently authenticated user, helping UX hide or disable content that the current user doesn't have access to. // returns a VirtualEndpointGetEffectivePermissionsGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/virtualendpoint-geteffectivepermissions?view=graph-rest-beta func (m *VirtualEndpointGetEffectivePermissionsRequestBuilder) GetAsGetEffectivePermissionsGetResponse(ctx context.Context, requestConfiguration *VirtualEndpointGetEffectivePermissionsRequestBuilderGetRequestConfiguration)(VirtualEndpointGetEffectivePermissionsGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -86,7 +92,7 @@ func (m *VirtualEndpointGetEffectivePermissionsRequestBuilder) GetAsGetEffective } return res.(VirtualEndpointGetEffectivePermissionsGetResponseable), nil } -// ToGetRequestInformation invoke function getEffectivePermissions +// ToGetRequestInformation get the effective permissions of the currently authenticated user, helping UX hide or disable content that the current user doesn't have access to. // returns a *RequestInformation when successful func (m *VirtualEndpointGetEffectivePermissionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointGetEffectivePermissionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/virtual_endpoint_on_premises_connections_cloud_pc_on_premises_connection_item_request_builder.go b/devicemanagement/virtual_endpoint_on_premises_connections_cloud_pc_on_premises_connection_item_request_builder.go index a1515ffc74c..218bdaad78e 100644 --- a/devicemanagement/virtual_endpoint_on_premises_connections_cloud_pc_on_premises_connection_item_request_builder.go +++ b/devicemanagement/virtual_endpoint_on_premises_connections_cloud_pc_on_premises_connection_item_request_builder.go @@ -18,7 +18,7 @@ type VirtualEndpointOnPremisesConnectionsCloudPcOnPremisesConnectionItemRequestB // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// VirtualEndpointOnPremisesConnectionsCloudPcOnPremisesConnectionItemRequestBuilderGetQueryParameters read the properties and relationships of the cloudPcOnPremisesConnection object. +// VirtualEndpointOnPremisesConnectionsCloudPcOnPremisesConnectionItemRequestBuilderGetQueryParameters a defined collection of Azure resource information that can be used to establish on-premises network connectivity for Cloud PCs. type VirtualEndpointOnPremisesConnectionsCloudPcOnPremisesConnectionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewVirtualEndpointOnPremisesConnectionsCloudPcOnPremisesConnectionItemReque urlParams["request-raw-url"] = rawUrl return NewVirtualEndpointOnPremisesConnectionsCloudPcOnPremisesConnectionItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a specific cloudPcOnPremisesConnection object. When you delete an Azure network connection, permissions to the service are removed from the specified Azure resources. You can't delete an Azure network connection when it's in use, as indicated by the inUse property. +// Delete delete navigation property onPremisesConnections for deviceManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpconpremisesconnection-delete?view=graph-rest-1.0 func (m *VirtualEndpointOnPremisesConnectionsCloudPcOnPremisesConnectionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *VirtualEndpointOnPremisesConnectionsCloudPcOnPremisesConnectionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *VirtualEndpointOnPremisesConnectionsCloudPcOnPremisesConnectionItemRequ } return nil } -// Get read the properties and relationships of the cloudPcOnPremisesConnection object. +// Get a defined collection of Azure resource information that can be used to establish on-premises network connectivity for Cloud PCs. // returns a CloudPcOnPremisesConnectionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpconpremisesconnection-get?view=graph-rest-1.0 func (m *VirtualEndpointOnPremisesConnectionsCloudPcOnPremisesConnectionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointOnPremisesConnectionsCloudPcOnPremisesConnectionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcOnPremisesConnectionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *VirtualEndpointOnPremisesConnectionsCloudPcOnPremisesConnectionItemRequ } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcOnPremisesConnectionable), nil } -// Patch update the properties of a cloudPcOnPremisesConnection object. +// Patch update the navigation property onPremisesConnections in deviceManagement // returns a CloudPcOnPremisesConnectionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpconpremisesconnection-update?view=graph-rest-1.0 func (m *VirtualEndpointOnPremisesConnectionsCloudPcOnPremisesConnectionItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcOnPremisesConnectionable, requestConfiguration *VirtualEndpointOnPremisesConnectionsCloudPcOnPremisesConnectionItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcOnPremisesConnectionable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -124,7 +115,7 @@ func (m *VirtualEndpointOnPremisesConnectionsCloudPcOnPremisesConnectionItemRequ func (m *VirtualEndpointOnPremisesConnectionsCloudPcOnPremisesConnectionItemRequestBuilder) RunHealthChecks()(*VirtualEndpointOnPremisesConnectionsItemRunHealthChecksRequestBuilder) { return NewVirtualEndpointOnPremisesConnectionsItemRunHealthChecksRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a specific cloudPcOnPremisesConnection object. When you delete an Azure network connection, permissions to the service are removed from the specified Azure resources. You can't delete an Azure network connection when it's in use, as indicated by the inUse property. +// ToDeleteRequestInformation delete navigation property onPremisesConnections for deviceManagement // returns a *RequestInformation when successful func (m *VirtualEndpointOnPremisesConnectionsCloudPcOnPremisesConnectionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointOnPremisesConnectionsCloudPcOnPremisesConnectionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -135,7 +126,7 @@ func (m *VirtualEndpointOnPremisesConnectionsCloudPcOnPremisesConnectionItemRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of the cloudPcOnPremisesConnection object. +// ToGetRequestInformation a defined collection of Azure resource information that can be used to establish on-premises network connectivity for Cloud PCs. // returns a *RequestInformation when successful func (m *VirtualEndpointOnPremisesConnectionsCloudPcOnPremisesConnectionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointOnPremisesConnectionsCloudPcOnPremisesConnectionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -149,7 +140,7 @@ func (m *VirtualEndpointOnPremisesConnectionsCloudPcOnPremisesConnectionItemRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a cloudPcOnPremisesConnection object. +// ToPatchRequestInformation update the navigation property onPremisesConnections in deviceManagement // returns a *RequestInformation when successful func (m *VirtualEndpointOnPremisesConnectionsCloudPcOnPremisesConnectionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcOnPremisesConnectionable, requestConfiguration *VirtualEndpointOnPremisesConnectionsCloudPcOnPremisesConnectionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/virtual_endpoint_on_premises_connections_item_run_health_checks_request_builder.go b/devicemanagement/virtual_endpoint_on_premises_connections_item_run_health_checks_request_builder.go index 5906ff0b310..5328d06a170 100644 --- a/devicemanagement/virtual_endpoint_on_premises_connections_item_run_health_checks_request_builder.go +++ b/devicemanagement/virtual_endpoint_on_premises_connections_item_run_health_checks_request_builder.go @@ -34,7 +34,7 @@ func NewVirtualEndpointOnPremisesConnectionsItemRunHealthChecksRequestBuilder(ra // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpconpremisesconnection-runhealthcheck?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpconpremisesconnection-runhealthcheck?view=graph-rest-beta func (m *VirtualEndpointOnPremisesConnectionsItemRunHealthChecksRequestBuilder) Post(ctx context.Context, requestConfiguration *VirtualEndpointOnPremisesConnectionsItemRunHealthChecksRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/devicemanagement/virtual_endpoint_on_premises_connections_item_update_ad_domain_password_request_builder.go b/devicemanagement/virtual_endpoint_on_premises_connections_item_update_ad_domain_password_request_builder.go index 5b68e8bb756..da716d1178d 100644 --- a/devicemanagement/virtual_endpoint_on_premises_connections_item_update_ad_domain_password_request_builder.go +++ b/devicemanagement/virtual_endpoint_on_premises_connections_item_update_ad_domain_password_request_builder.go @@ -34,7 +34,7 @@ func NewVirtualEndpointOnPremisesConnectionsItemUpdateAdDomainPasswordRequestBui // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpconpremisesconnection-updateaddomainpassword?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpconpremisesconnection-updateaddomainpassword?view=graph-rest-beta func (m *VirtualEndpointOnPremisesConnectionsItemUpdateAdDomainPasswordRequestBuilder) Post(ctx context.Context, body VirtualEndpointOnPremisesConnectionsItemUpdateAdDomainPasswordPostRequestBodyable, requestConfiguration *VirtualEndpointOnPremisesConnectionsItemUpdateAdDomainPasswordRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/devicemanagement/virtual_endpoint_on_premises_connections_request_builder.go b/devicemanagement/virtual_endpoint_on_premises_connections_request_builder.go index 2ba7154c3ad..72f8d7be1b4 100644 --- a/devicemanagement/virtual_endpoint_on_premises_connections_request_builder.go +++ b/devicemanagement/virtual_endpoint_on_premises_connections_request_builder.go @@ -11,7 +11,7 @@ import ( type VirtualEndpointOnPremisesConnectionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// VirtualEndpointOnPremisesConnectionsRequestBuilderGetQueryParameters get a list of the cloudPcOnPremisesConnection objects and their properties. +// VirtualEndpointOnPremisesConnectionsRequestBuilderGetQueryParameters a defined collection of Azure resource information that can be used to establish on-premises network connectivity for Cloud PCs. type VirtualEndpointOnPremisesConnectionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewVirtualEndpointOnPremisesConnectionsRequestBuilder(rawUrl string, reques func (m *VirtualEndpointOnPremisesConnectionsRequestBuilder) Count()(*VirtualEndpointOnPremisesConnectionsCountRequestBuilder) { return NewVirtualEndpointOnPremisesConnectionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the cloudPcOnPremisesConnection objects and their properties. +// Get a defined collection of Azure resource information that can be used to establish on-premises network connectivity for Cloud PCs. // returns a CloudPcOnPremisesConnectionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/virtualendpoint-list-onpremisesconnections?view=graph-rest-1.0 func (m *VirtualEndpointOnPremisesConnectionsRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointOnPremisesConnectionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcOnPremisesConnectionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *VirtualEndpointOnPremisesConnectionsRequestBuilder) Get(ctx context.Con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcOnPremisesConnectionCollectionResponseable), nil } -// Post create a new cloudPcOnPremisesConnection object for provisioning Cloud PCs. +// Post create new navigation property to onPremisesConnections for deviceManagement // returns a CloudPcOnPremisesConnectionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/virtualendpoint-post-onpremisesconnections?view=graph-rest-1.0 func (m *VirtualEndpointOnPremisesConnectionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcOnPremisesConnectionable, requestConfiguration *VirtualEndpointOnPremisesConnectionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcOnPremisesConnectionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *VirtualEndpointOnPremisesConnectionsRequestBuilder) Post(ctx context.Co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcOnPremisesConnectionable), nil } -// ToGetRequestInformation get a list of the cloudPcOnPremisesConnection objects and their properties. +// ToGetRequestInformation a defined collection of Azure resource information that can be used to establish on-premises network connectivity for Cloud PCs. // returns a *RequestInformation when successful func (m *VirtualEndpointOnPremisesConnectionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointOnPremisesConnectionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *VirtualEndpointOnPremisesConnectionsRequestBuilder) ToGetRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new cloudPcOnPremisesConnection object for provisioning Cloud PCs. +// ToPostRequestInformation create new navigation property to onPremisesConnections for deviceManagement // returns a *RequestInformation when successful func (m *VirtualEndpointOnPremisesConnectionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcOnPremisesConnectionable, requestConfiguration *VirtualEndpointOnPremisesConnectionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/virtual_endpoint_organization_settings_request_builder.go b/devicemanagement/virtual_endpoint_organization_settings_request_builder.go index d975da212a3..39179b8bb16 100644 --- a/devicemanagement/virtual_endpoint_organization_settings_request_builder.go +++ b/devicemanagement/virtual_endpoint_organization_settings_request_builder.go @@ -18,7 +18,7 @@ type VirtualEndpointOrganizationSettingsRequestBuilderDeleteRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// VirtualEndpointOrganizationSettingsRequestBuilderGetQueryParameters read the properties and relationships of the cloudPcOrganizationSettings from the current tenant. A tenant has only one cloudPcOrganizationSettings object. +// VirtualEndpointOrganizationSettingsRequestBuilderGetQueryParameters the Cloud PC organization settings for a tenant. type VirtualEndpointOrganizationSettingsRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *VirtualEndpointOrganizationSettingsRequestBuilder) Delete(ctx context.C } return nil } -// Get read the properties and relationships of the cloudPcOrganizationSettings from the current tenant. A tenant has only one cloudPcOrganizationSettings object. +// Get the Cloud PC organization settings for a tenant. // returns a CloudPcOrganizationSettingsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpcorganizationsettings-get?view=graph-rest-1.0 func (m *VirtualEndpointOrganizationSettingsRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointOrganizationSettingsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcOrganizationSettingsable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *VirtualEndpointOrganizationSettingsRequestBuilder) Get(ctx context.Cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcOrganizationSettingsable), nil } -// Patch update the properties of the cloudPcOrganizationSettings object in a tenant. +// Patch update the navigation property organizationSettings in deviceManagement // returns a CloudPcOrganizationSettingsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpcorganizationsettings-update?view=graph-rest-1.0 func (m *VirtualEndpointOrganizationSettingsRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcOrganizationSettingsable, requestConfiguration *VirtualEndpointOrganizationSettingsRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcOrganizationSettingsable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *VirtualEndpointOrganizationSettingsRequestBuilder) ToDeleteRequestInfor requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of the cloudPcOrganizationSettings from the current tenant. A tenant has only one cloudPcOrganizationSettings object. +// ToGetRequestInformation the Cloud PC organization settings for a tenant. // returns a *RequestInformation when successful func (m *VirtualEndpointOrganizationSettingsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointOrganizationSettingsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *VirtualEndpointOrganizationSettingsRequestBuilder) ToGetRequestInformat requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of the cloudPcOrganizationSettings object in a tenant. +// ToPatchRequestInformation update the navigation property organizationSettings in deviceManagement // returns a *RequestInformation when successful func (m *VirtualEndpointOrganizationSettingsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcOrganizationSettingsable, requestConfiguration *VirtualEndpointOrganizationSettingsRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/virtual_endpoint_provisioning_policies_apply_config_request_builder.go b/devicemanagement/virtual_endpoint_provisioning_policies_apply_config_request_builder.go index beff5ac4c60..0b0cac2cbd9 100644 --- a/devicemanagement/virtual_endpoint_provisioning_policies_apply_config_request_builder.go +++ b/devicemanagement/virtual_endpoint_provisioning_policies_apply_config_request_builder.go @@ -35,7 +35,7 @@ func NewVirtualEndpointProvisioningPoliciesApplyConfigRequestBuilder(rawUrl stri // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpcprovisioningpolicy-applyconfig?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpcprovisioningpolicy-applyconfig?view=graph-rest-beta func (m *VirtualEndpointProvisioningPoliciesApplyConfigRequestBuilder) Post(ctx context.Context, body VirtualEndpointProvisioningPoliciesApplyConfigPostRequestBodyable, requestConfiguration *VirtualEndpointProvisioningPoliciesApplyConfigRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/devicemanagement/virtual_endpoint_provisioning_policies_cloud_pc_provisioning_policy_item_request_builder.go b/devicemanagement/virtual_endpoint_provisioning_policies_cloud_pc_provisioning_policy_item_request_builder.go index 0a9af138bbe..575e9fbbb35 100644 --- a/devicemanagement/virtual_endpoint_provisioning_policies_cloud_pc_provisioning_policy_item_request_builder.go +++ b/devicemanagement/virtual_endpoint_provisioning_policies_cloud_pc_provisioning_policy_item_request_builder.go @@ -18,7 +18,7 @@ type VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequestBuil // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequestBuilderGetQueryParameters read the properties and relationships of a cloudPcProvisioningPolicy object. +// VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequestBuilderGetQueryParameters cloud PC provisioning policy. type VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -69,12 +69,9 @@ func NewVirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequestB urlParams["request-raw-url"] = rawUrl return NewVirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a cloudPcProvisioningPolicy object. You can’t delete a policy that’s in use. +// Delete delete navigation property provisioningPolicies for deviceManagement // Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpcprovisioningpolicy-delete?view=graph-rest-1.0 func (m *VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,13 +86,10 @@ func (m *VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequest } return nil } -// Get read the properties and relationships of a cloudPcProvisioningPolicy object. +// Get cloud PC provisioning policy. // Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a CloudPcProvisioningPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpcprovisioningpolicy-get?view=graph-rest-1.0 func (m *VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcProvisioningPolicyable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -113,13 +107,10 @@ func (m *VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequest } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcProvisioningPolicyable), nil } -// Patch update the properties of a cloudPcProvisioningPolicy object. +// Patch update the navigation property provisioningPolicies in deviceManagement // Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a CloudPcProvisioningPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpcprovisioningpolicy-update?view=graph-rest-1.0 func (m *VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcProvisioningPolicyable, requestConfiguration *VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcProvisioningPolicyable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -137,7 +128,7 @@ func (m *VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequest } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcProvisioningPolicyable), nil } -// ToDeleteRequestInformation delete a cloudPcProvisioningPolicy object. You can’t delete a policy that’s in use. +// ToDeleteRequestInformation delete navigation property provisioningPolicies for deviceManagement // Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a *RequestInformation when successful func (m *VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -149,7 +140,7 @@ func (m *VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a cloudPcProvisioningPolicy object. +// ToGetRequestInformation cloud PC provisioning policy. // Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a *RequestInformation when successful func (m *VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -164,7 +155,7 @@ func (m *VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a cloudPcProvisioningPolicy object. +// ToPatchRequestInformation update the navigation property provisioningPolicies in deviceManagement // Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a *RequestInformation when successful func (m *VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcProvisioningPolicyable, requestConfiguration *VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/devicemanagement/virtual_endpoint_provisioning_policies_item_apply_request_builder.go b/devicemanagement/virtual_endpoint_provisioning_policies_item_apply_request_builder.go index 3d9bc8fc8a1..3f6105b42f4 100644 --- a/devicemanagement/virtual_endpoint_provisioning_policies_item_apply_request_builder.go +++ b/devicemanagement/virtual_endpoint_provisioning_policies_item_apply_request_builder.go @@ -35,7 +35,7 @@ func NewVirtualEndpointProvisioningPoliciesItemApplyRequestBuilder(rawUrl string // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpcprovisioningpolicy-apply?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpcprovisioningpolicy-apply?view=graph-rest-beta func (m *VirtualEndpointProvisioningPoliciesItemApplyRequestBuilder) Post(ctx context.Context, body VirtualEndpointProvisioningPoliciesItemApplyPostRequestBodyable, requestConfiguration *VirtualEndpointProvisioningPoliciesItemApplyRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/devicemanagement/virtual_endpoint_provisioning_policies_item_assign_request_builder.go b/devicemanagement/virtual_endpoint_provisioning_policies_item_assign_request_builder.go index 46ec10dd827..0ced80cf1b3 100644 --- a/devicemanagement/virtual_endpoint_provisioning_policies_item_assign_request_builder.go +++ b/devicemanagement/virtual_endpoint_provisioning_policies_item_assign_request_builder.go @@ -35,7 +35,7 @@ func NewVirtualEndpointProvisioningPoliciesItemAssignRequestBuilder(rawUrl strin // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpcprovisioningpolicy-assign?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpcprovisioningpolicy-assign?view=graph-rest-beta func (m *VirtualEndpointProvisioningPoliciesItemAssignRequestBuilder) Post(ctx context.Context, body VirtualEndpointProvisioningPoliciesItemAssignPostRequestBodyable, requestConfiguration *VirtualEndpointProvisioningPoliciesItemAssignRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/devicemanagement/virtual_endpoint_provisioning_policies_request_builder.go b/devicemanagement/virtual_endpoint_provisioning_policies_request_builder.go index 0b3320d7e7d..9d1b6de9810 100644 --- a/devicemanagement/virtual_endpoint_provisioning_policies_request_builder.go +++ b/devicemanagement/virtual_endpoint_provisioning_policies_request_builder.go @@ -11,7 +11,7 @@ import ( type VirtualEndpointProvisioningPoliciesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// VirtualEndpointProvisioningPoliciesRequestBuilderGetQueryParameters list properties and relationships of the cloudPcProvisioningPolicy objects. +// VirtualEndpointProvisioningPoliciesRequestBuilderGetQueryParameters cloud PC provisioning policy. type VirtualEndpointProvisioningPoliciesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -82,13 +82,10 @@ func NewVirtualEndpointProvisioningPoliciesRequestBuilder(rawUrl string, request func (m *VirtualEndpointProvisioningPoliciesRequestBuilder) Count()(*VirtualEndpointProvisioningPoliciesCountRequestBuilder) { return NewVirtualEndpointProvisioningPoliciesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list properties and relationships of the cloudPcProvisioningPolicy objects. +// Get cloud PC provisioning policy. // Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a CloudPcProvisioningPolicyCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/virtualendpoint-list-provisioningpolicies?view=graph-rest-1.0 func (m *VirtualEndpointProvisioningPoliciesRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointProvisioningPoliciesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcProvisioningPolicyCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -106,13 +103,10 @@ func (m *VirtualEndpointProvisioningPoliciesRequestBuilder) Get(ctx context.Cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcProvisioningPolicyCollectionResponseable), nil } -// Post create a new cloudPcProvisioningPolicy object. +// Post create new navigation property to provisioningPolicies for deviceManagement // Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a CloudPcProvisioningPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/virtualendpoint-post-provisioningpolicies?view=graph-rest-1.0 func (m *VirtualEndpointProvisioningPoliciesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcProvisioningPolicyable, requestConfiguration *VirtualEndpointProvisioningPoliciesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcProvisioningPolicyable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -130,7 +124,7 @@ func (m *VirtualEndpointProvisioningPoliciesRequestBuilder) Post(ctx context.Con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcProvisioningPolicyable), nil } -// ToGetRequestInformation list properties and relationships of the cloudPcProvisioningPolicy objects. +// ToGetRequestInformation cloud PC provisioning policy. // Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a *RequestInformation when successful func (m *VirtualEndpointProvisioningPoliciesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointProvisioningPoliciesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -145,7 +139,7 @@ func (m *VirtualEndpointProvisioningPoliciesRequestBuilder) ToGetRequestInformat requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new cloudPcProvisioningPolicy object. +// ToPostRequestInformation create new navigation property to provisioningPolicies for deviceManagement // Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId // returns a *RequestInformation when successful func (m *VirtualEndpointProvisioningPoliciesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcProvisioningPolicyable, requestConfiguration *VirtualEndpointProvisioningPoliciesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/devicemanagement/virtual_endpoint_reports_export_jobs_cloud_pc_export_job_item_request_builder.go b/devicemanagement/virtual_endpoint_reports_export_jobs_cloud_pc_export_job_item_request_builder.go index 244bb73e693..e7ed4e27288 100644 --- a/devicemanagement/virtual_endpoint_reports_export_jobs_cloud_pc_export_job_item_request_builder.go +++ b/devicemanagement/virtual_endpoint_reports_export_jobs_cloud_pc_export_job_item_request_builder.go @@ -18,7 +18,7 @@ type VirtualEndpointReportsExportJobsCloudPcExportJobItemRequestBuilderDeleteReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// VirtualEndpointReportsExportJobsCloudPcExportJobItemRequestBuilderGetQueryParameters read the properties and relationships of a cloudPcExportJob object. You can download a report by first creating a new cloudPcExportJob resource to initiate downloading. Use this GET operation to verify the exportJobStatus property of the cloudPcExportJob resource. The property becomes completed when the report finishes downloading in the location specified by the exportUrl property. +// VirtualEndpointReportsExportJobsCloudPcExportJobItemRequestBuilderGetQueryParameters the export jobs created for downloading reports. type VirtualEndpointReportsExportJobsCloudPcExportJobItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *VirtualEndpointReportsExportJobsCloudPcExportJobItemRequestBuilder) Del } return nil } -// Get read the properties and relationships of a cloudPcExportJob object. You can download a report by first creating a new cloudPcExportJob resource to initiate downloading. Use this GET operation to verify the exportJobStatus property of the cloudPcExportJob resource. The property becomes completed when the report finishes downloading in the location specified by the exportUrl property. +// Get the export jobs created for downloading reports. // returns a CloudPcExportJobable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpcexportjob-get?view=graph-rest-1.0 func (m *VirtualEndpointReportsExportJobsCloudPcExportJobItemRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointReportsExportJobsCloudPcExportJobItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcExportJobable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *VirtualEndpointReportsExportJobsCloudPcExportJobItemRequestBuilder) ToD requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a cloudPcExportJob object. You can download a report by first creating a new cloudPcExportJob resource to initiate downloading. Use this GET operation to verify the exportJobStatus property of the cloudPcExportJob resource. The property becomes completed when the report finishes downloading in the location specified by the exportUrl property. +// ToGetRequestInformation the export jobs created for downloading reports. // returns a *RequestInformation when successful func (m *VirtualEndpointReportsExportJobsCloudPcExportJobItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointReportsExportJobsCloudPcExportJobItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/virtual_endpoint_reports_export_jobs_request_builder.go b/devicemanagement/virtual_endpoint_reports_export_jobs_request_builder.go index 9b16246bd81..214b337a381 100644 --- a/devicemanagement/virtual_endpoint_reports_export_jobs_request_builder.go +++ b/devicemanagement/virtual_endpoint_reports_export_jobs_request_builder.go @@ -11,7 +11,7 @@ import ( type VirtualEndpointReportsExportJobsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// VirtualEndpointReportsExportJobsRequestBuilderGetQueryParameters read the properties and relationships of a cloudPcExportJob object. You can download a report by first creating a new cloudPcExportJob resource to initiate downloading. Use this GET operation to verify the exportJobStatus property of the cloudPcExportJob resource. The property becomes completed when the report finishes downloading in the location specified by the exportUrl property. +// VirtualEndpointReportsExportJobsRequestBuilderGetQueryParameters the export jobs created for downloading reports. type VirtualEndpointReportsExportJobsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewVirtualEndpointReportsExportJobsRequestBuilder(rawUrl string, requestAda func (m *VirtualEndpointReportsExportJobsRequestBuilder) Count()(*VirtualEndpointReportsExportJobsCountRequestBuilder) { return NewVirtualEndpointReportsExportJobsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of a cloudPcExportJob object. You can download a report by first creating a new cloudPcExportJob resource to initiate downloading. Use this GET operation to verify the exportJobStatus property of the cloudPcExportJob resource. The property becomes completed when the report finishes downloading in the location specified by the exportUrl property. +// Get the export jobs created for downloading reports. // returns a CloudPcExportJobCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *VirtualEndpointReportsExportJobsRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointReportsExportJobsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcExportJobCollectionResponseable, error) { @@ -96,12 +96,9 @@ func (m *VirtualEndpointReportsExportJobsRequestBuilder) Get(ctx context.Context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcExportJobCollectionResponseable), nil } -// Post create a new cloudPcExportJob resource to initiate downloading the entire or specified portion of a report. Use the GET cloudPcExportJob operation to verify the exportJobStatus property of the cloudPcExportJob resource. When the property result is completed, the report has finished downloading to the location specified by the exportUrl property. +// Post create new navigation property to exportJobs for deviceManagement // returns a CloudPcExportJobable when successful // returns a ODataError error 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-post-exportjobs?view=graph-rest-1.0 func (m *VirtualEndpointReportsExportJobsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcExportJobable, requestConfiguration *VirtualEndpointReportsExportJobsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcExportJobable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *VirtualEndpointReportsExportJobsRequestBuilder) Post(ctx context.Contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcExportJobable), nil } -// ToGetRequestInformation read the properties and relationships of a cloudPcExportJob object. You can download a report by first creating a new cloudPcExportJob resource to initiate downloading. Use this GET operation to verify the exportJobStatus property of the cloudPcExportJob resource. The property becomes completed when the report finishes downloading in the location specified by the exportUrl property. +// ToGetRequestInformation the export jobs created for downloading reports. // returns a *RequestInformation when successful func (m *VirtualEndpointReportsExportJobsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointReportsExportJobsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +130,7 @@ func (m *VirtualEndpointReportsExportJobsRequestBuilder) ToGetRequestInformation requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new cloudPcExportJob resource to initiate downloading the entire or specified portion of a report. Use the GET cloudPcExportJob operation to verify the exportJobStatus property of the cloudPcExportJob resource. When the property result is completed, the report has finished downloading to the location specified by the exportUrl property. +// ToPostRequestInformation create new navigation property to exportJobs for deviceManagement // returns a *RequestInformation when successful func (m *VirtualEndpointReportsExportJobsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcExportJobable, requestConfiguration *VirtualEndpointReportsExportJobsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/virtual_endpoint_reports_get_action_status_reports_request_builder.go b/devicemanagement/virtual_endpoint_reports_get_action_status_reports_request_builder.go index c58797f2251..427806762d3 100644 --- a/devicemanagement/virtual_endpoint_reports_get_action_status_reports_request_builder.go +++ b/devicemanagement/virtual_endpoint_reports_get_action_status_reports_request_builder.go @@ -35,7 +35,7 @@ func NewVirtualEndpointReportsGetActionStatusReportsRequestBuilder(rawUrl string // returns a ODataError error 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-getactionstatusreports?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpcreports-getactionstatusreports?view=graph-rest-beta func (m *VirtualEndpointReportsGetActionStatusReportsRequestBuilder) Post(ctx context.Context, body VirtualEndpointReportsGetActionStatusReportsPostRequestBodyable, requestConfiguration *VirtualEndpointReportsGetActionStatusReportsRequestBuilderPostRequestConfiguration)([]byte, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/devicemanagement/virtual_endpoint_reports_get_cloud_pc_recommendation_reports_request_builder.go b/devicemanagement/virtual_endpoint_reports_get_cloud_pc_recommendation_reports_request_builder.go index 42a56246bdc..3b0a67dd318 100644 --- a/devicemanagement/virtual_endpoint_reports_get_cloud_pc_recommendation_reports_request_builder.go +++ b/devicemanagement/virtual_endpoint_reports_get_cloud_pc_recommendation_reports_request_builder.go @@ -35,7 +35,7 @@ func NewVirtualEndpointReportsGetCloudPcRecommendationReportsRequestBuilder(rawU // returns a ODataError error 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-getcloudpcrecommendationreports?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpcreports-getcloudpcrecommendationreports?view=graph-rest-beta func (m *VirtualEndpointReportsGetCloudPcRecommendationReportsRequestBuilder) Post(ctx context.Context, body VirtualEndpointReportsGetCloudPcRecommendationReportsPostRequestBodyable, requestConfiguration *VirtualEndpointReportsGetCloudPcRecommendationReportsRequestBuilderPostRequestConfiguration)([]byte, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/devicemanagement/virtual_endpoint_reports_get_connection_quality_reports_request_builder.go b/devicemanagement/virtual_endpoint_reports_get_connection_quality_reports_request_builder.go index 4eb5620634d..834a7560557 100644 --- a/devicemanagement/virtual_endpoint_reports_get_connection_quality_reports_request_builder.go +++ b/devicemanagement/virtual_endpoint_reports_get_connection_quality_reports_request_builder.go @@ -35,7 +35,7 @@ func NewVirtualEndpointReportsGetConnectionQualityReportsRequestBuilder(rawUrl s // returns a ODataError error 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-getconnectionqualityreports?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpcreports-getconnectionqualityreports?view=graph-rest-beta func (m *VirtualEndpointReportsGetConnectionQualityReportsRequestBuilder) Post(ctx context.Context, body VirtualEndpointReportsGetConnectionQualityReportsPostRequestBodyable, requestConfiguration *VirtualEndpointReportsGetConnectionQualityReportsRequestBuilderPostRequestConfiguration)([]byte, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/devicemanagement/virtual_endpoint_reports_get_daily_aggregated_remote_connection_reports_request_builder.go b/devicemanagement/virtual_endpoint_reports_get_daily_aggregated_remote_connection_reports_request_builder.go index 6790c106bfa..6ec40f6ca24 100644 --- a/devicemanagement/virtual_endpoint_reports_get_daily_aggregated_remote_connection_reports_request_builder.go +++ b/devicemanagement/virtual_endpoint_reports_get_daily_aggregated_remote_connection_reports_request_builder.go @@ -35,7 +35,7 @@ func NewVirtualEndpointReportsGetDailyAggregatedRemoteConnectionReportsRequestBu // returns a ODataError error 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-getdailyaggregatedremoteconnectionreports?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpcreports-getdailyaggregatedremoteconnectionreports?view=graph-rest-beta func (m *VirtualEndpointReportsGetDailyAggregatedRemoteConnectionReportsRequestBuilder) Post(ctx context.Context, body VirtualEndpointReportsGetDailyAggregatedRemoteConnectionReportsPostRequestBodyable, requestConfiguration *VirtualEndpointReportsGetDailyAggregatedRemoteConnectionReportsRequestBuilderPostRequestConfiguration)([]byte, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/devicemanagement/virtual_endpoint_reports_get_frontline_report_request_builder.go b/devicemanagement/virtual_endpoint_reports_get_frontline_report_request_builder.go index e0dd9fd191a..7a0e481e176 100644 --- a/devicemanagement/virtual_endpoint_reports_get_frontline_report_request_builder.go +++ b/devicemanagement/virtual_endpoint_reports_get_frontline_report_request_builder.go @@ -35,7 +35,7 @@ func NewVirtualEndpointReportsGetFrontlineReportRequestBuilder(rawUrl string, re // returns a ODataError error 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-getfrontlinereport?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpcreports-getfrontlinereport?view=graph-rest-beta func (m *VirtualEndpointReportsGetFrontlineReportRequestBuilder) Post(ctx context.Context, body VirtualEndpointReportsGetFrontlineReportPostRequestBodyable, requestConfiguration *VirtualEndpointReportsGetFrontlineReportRequestBuilderPostRequestConfiguration)([]byte, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/devicemanagement/virtual_endpoint_reports_get_inaccessible_cloud_pc_reports_request_builder.go b/devicemanagement/virtual_endpoint_reports_get_inaccessible_cloud_pc_reports_request_builder.go index 3d8126f899d..065a87aa0a5 100644 --- a/devicemanagement/virtual_endpoint_reports_get_inaccessible_cloud_pc_reports_request_builder.go +++ b/devicemanagement/virtual_endpoint_reports_get_inaccessible_cloud_pc_reports_request_builder.go @@ -35,7 +35,7 @@ func NewVirtualEndpointReportsGetInaccessibleCloudPcReportsRequestBuilder(rawUrl // returns a ODataError error 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-getinaccessiblecloudpcreports?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpcreports-getinaccessiblecloudpcreports?view=graph-rest-beta func (m *VirtualEndpointReportsGetInaccessibleCloudPcReportsRequestBuilder) Post(ctx context.Context, body VirtualEndpointReportsGetInaccessibleCloudPcReportsPostRequestBodyable, requestConfiguration *VirtualEndpointReportsGetInaccessibleCloudPcReportsRequestBuilderPostRequestConfiguration)([]byte, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/devicemanagement/virtual_endpoint_reports_get_raw_remote_connection_reports_request_builder.go b/devicemanagement/virtual_endpoint_reports_get_raw_remote_connection_reports_request_builder.go index 75e70877b3c..b4e1a5a3963 100644 --- a/devicemanagement/virtual_endpoint_reports_get_raw_remote_connection_reports_request_builder.go +++ b/devicemanagement/virtual_endpoint_reports_get_raw_remote_connection_reports_request_builder.go @@ -35,7 +35,7 @@ func NewVirtualEndpointReportsGetRawRemoteConnectionReportsRequestBuilder(rawUrl // returns a ODataError error 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-getrawremoteconnectionreports?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpcreports-getrawremoteconnectionreports?view=graph-rest-beta func (m *VirtualEndpointReportsGetRawRemoteConnectionReportsRequestBuilder) Post(ctx context.Context, body VirtualEndpointReportsGetRawRemoteConnectionReportsPostRequestBodyable, requestConfiguration *VirtualEndpointReportsGetRawRemoteConnectionReportsRequestBuilderPostRequestConfiguration)([]byte, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/devicemanagement/virtual_endpoint_reports_get_real_time_remote_connection_latency_with_cloud_pc_id_request_builder.go b/devicemanagement/virtual_endpoint_reports_get_real_time_remote_connection_latency_with_cloud_pc_id_request_builder.go index 1b6b545817b..37d3a943bad 100644 --- a/devicemanagement/virtual_endpoint_reports_get_real_time_remote_connection_latency_with_cloud_pc_id_request_builder.go +++ b/devicemanagement/virtual_endpoint_reports_get_real_time_remote_connection_latency_with_cloud_pc_id_request_builder.go @@ -33,9 +33,12 @@ func NewVirtualEndpointReportsGetRealTimeRemoteConnectionLatencyWithCloudPcIdReq urlParams["request-raw-url"] = rawUrl return NewVirtualEndpointReportsGetRealTimeRemoteConnectionLatencyWithCloudPcIdRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function getRealTimeRemoteConnectionLatency +// Get get the real-time connection latency information for a Cloud PC. // 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-getrealtimeremoteconnectionlatency?view=graph-rest-beta func (m *VirtualEndpointReportsGetRealTimeRemoteConnectionLatencyWithCloudPcIdRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointReportsGetRealTimeRemoteConnectionLatencyWithCloudPcIdRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -53,7 +56,7 @@ func (m *VirtualEndpointReportsGetRealTimeRemoteConnectionLatencyWithCloudPcIdRe } return res.([]byte), nil } -// ToGetRequestInformation invoke function getRealTimeRemoteConnectionLatency +// ToGetRequestInformation get the real-time connection latency information for a Cloud PC. // returns a *RequestInformation when successful func (m *VirtualEndpointReportsGetRealTimeRemoteConnectionLatencyWithCloudPcIdRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointReportsGetRealTimeRemoteConnectionLatencyWithCloudPcIdRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/virtual_endpoint_reports_get_real_time_remote_connection_status_with_cloud_pc_id_request_builder.go b/devicemanagement/virtual_endpoint_reports_get_real_time_remote_connection_status_with_cloud_pc_id_request_builder.go index 3a557dd0af8..12d984f16d5 100644 --- a/devicemanagement/virtual_endpoint_reports_get_real_time_remote_connection_status_with_cloud_pc_id_request_builder.go +++ b/devicemanagement/virtual_endpoint_reports_get_real_time_remote_connection_status_with_cloud_pc_id_request_builder.go @@ -33,9 +33,12 @@ func NewVirtualEndpointReportsGetRealTimeRemoteConnectionStatusWithCloudPcIdRequ urlParams["request-raw-url"] = rawUrl return NewVirtualEndpointReportsGetRealTimeRemoteConnectionStatusWithCloudPcIdRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function getRealTimeRemoteConnectionStatus +// Get get the real-time connection status information, such as signInStatus or daysSinceLastUse, for a Cloud PC. // 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-getrealtimeremoteconnectionstatus?view=graph-rest-beta func (m *VirtualEndpointReportsGetRealTimeRemoteConnectionStatusWithCloudPcIdRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointReportsGetRealTimeRemoteConnectionStatusWithCloudPcIdRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -53,7 +56,7 @@ func (m *VirtualEndpointReportsGetRealTimeRemoteConnectionStatusWithCloudPcIdReq } return res.([]byte), nil } -// ToGetRequestInformation invoke function getRealTimeRemoteConnectionStatus +// ToGetRequestInformation get the real-time connection status information, such as signInStatus or daysSinceLastUse, for a Cloud PC. // returns a *RequestInformation when successful func (m *VirtualEndpointReportsGetRealTimeRemoteConnectionStatusWithCloudPcIdRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointReportsGetRealTimeRemoteConnectionStatusWithCloudPcIdRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/virtual_endpoint_reports_get_remote_connection_historical_reports_request_builder.go b/devicemanagement/virtual_endpoint_reports_get_remote_connection_historical_reports_request_builder.go index c16112bcc81..0761f0abc2f 100644 --- a/devicemanagement/virtual_endpoint_reports_get_remote_connection_historical_reports_request_builder.go +++ b/devicemanagement/virtual_endpoint_reports_get_remote_connection_historical_reports_request_builder.go @@ -35,7 +35,7 @@ func NewVirtualEndpointReportsGetRemoteConnectionHistoricalReportsRequestBuilder // returns a ODataError error 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-getremoteconnectionhistoricalreports?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpcreports-getremoteconnectionhistoricalreports?view=graph-rest-beta func (m *VirtualEndpointReportsGetRemoteConnectionHistoricalReportsRequestBuilder) Post(ctx context.Context, body VirtualEndpointReportsGetRemoteConnectionHistoricalReportsPostRequestBodyable, requestConfiguration *VirtualEndpointReportsGetRemoteConnectionHistoricalReportsRequestBuilderPostRequestConfiguration)([]byte, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/devicemanagement/virtual_endpoint_reports_get_shared_use_license_usage_report_request_builder.go b/devicemanagement/virtual_endpoint_reports_get_shared_use_license_usage_report_request_builder.go index c81e4b53c2e..31f6a97ee95 100644 --- a/devicemanagement/virtual_endpoint_reports_get_shared_use_license_usage_report_request_builder.go +++ b/devicemanagement/virtual_endpoint_reports_get_shared_use_license_usage_report_request_builder.go @@ -36,7 +36,7 @@ func NewVirtualEndpointReportsGetSharedUseLicenseUsageReportRequestBuilder(rawUr // returns a ODataError error 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-getshareduselicenseusagereport?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpcreports-getshareduselicenseusagereport?view=graph-rest-beta func (m *VirtualEndpointReportsGetSharedUseLicenseUsageReportRequestBuilder) Post(ctx context.Context, body VirtualEndpointReportsGetSharedUseLicenseUsageReportPostRequestBodyable, requestConfiguration *VirtualEndpointReportsGetSharedUseLicenseUsageReportRequestBuilderPostRequestConfiguration)([]byte, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/devicemanagement/virtual_endpoint_reports_get_total_aggregated_remote_connection_reports_request_builder.go b/devicemanagement/virtual_endpoint_reports_get_total_aggregated_remote_connection_reports_request_builder.go index 947d409b416..e0811818d3e 100644 --- a/devicemanagement/virtual_endpoint_reports_get_total_aggregated_remote_connection_reports_request_builder.go +++ b/devicemanagement/virtual_endpoint_reports_get_total_aggregated_remote_connection_reports_request_builder.go @@ -35,7 +35,7 @@ func NewVirtualEndpointReportsGetTotalAggregatedRemoteConnectionReportsRequestBu // returns a ODataError error 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-gettotalaggregatedremoteconnectionreports?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpcreports-gettotalaggregatedremoteconnectionreports?view=graph-rest-beta func (m *VirtualEndpointReportsGetTotalAggregatedRemoteConnectionReportsRequestBuilder) Post(ctx context.Context, body VirtualEndpointReportsGetTotalAggregatedRemoteConnectionReportsPostRequestBodyable, requestConfiguration *VirtualEndpointReportsGetTotalAggregatedRemoteConnectionReportsRequestBuilderPostRequestConfiguration)([]byte, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/devicemanagement/virtual_endpoint_retrieve_scoped_permissions_request_builder.go b/devicemanagement/virtual_endpoint_retrieve_scoped_permissions_request_builder.go index 05e6032b8d6..634dd035f34 100644 --- a/devicemanagement/virtual_endpoint_retrieve_scoped_permissions_request_builder.go +++ b/devicemanagement/virtual_endpoint_retrieve_scoped_permissions_request_builder.go @@ -10,7 +10,7 @@ import ( type VirtualEndpointRetrieveScopedPermissionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// VirtualEndpointRetrieveScopedPermissionsRequestBuilderGetQueryParameters invoke function retrieveScopedPermissions +// VirtualEndpointRetrieveScopedPermissionsRequestBuilderGetQueryParameters get the permissions and corresponding scope IDs for which the authenticated user has access. type VirtualEndpointRetrieveScopedPermissionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -45,10 +45,13 @@ func NewVirtualEndpointRetrieveScopedPermissionsRequestBuilder(rawUrl string, re urlParams["request-raw-url"] = rawUrl return NewVirtualEndpointRetrieveScopedPermissionsRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function retrieveScopedPermissions +// Get get the permissions and corresponding scope IDs for which the authenticated user has access. // Deprecated: This method is obsolete. Use GetAsRetrieveScopedPermissionsGetResponse instead. // returns a VirtualEndpointRetrieveScopedPermissionsResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/virtualendpoint-retrievescopedpermissions?view=graph-rest-beta func (m *VirtualEndpointRetrieveScopedPermissionsRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointRetrieveScopedPermissionsRequestBuilderGetRequestConfiguration)(VirtualEndpointRetrieveScopedPermissionsResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,9 +69,12 @@ func (m *VirtualEndpointRetrieveScopedPermissionsRequestBuilder) Get(ctx context } return res.(VirtualEndpointRetrieveScopedPermissionsResponseable), nil } -// GetAsRetrieveScopedPermissionsGetResponse invoke function retrieveScopedPermissions +// GetAsRetrieveScopedPermissionsGetResponse get the permissions and corresponding scope IDs for which the authenticated user has access. // returns a VirtualEndpointRetrieveScopedPermissionsGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/virtualendpoint-retrievescopedpermissions?view=graph-rest-beta func (m *VirtualEndpointRetrieveScopedPermissionsRequestBuilder) GetAsRetrieveScopedPermissionsGetResponse(ctx context.Context, requestConfiguration *VirtualEndpointRetrieveScopedPermissionsRequestBuilderGetRequestConfiguration)(VirtualEndpointRetrieveScopedPermissionsGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -86,7 +92,7 @@ func (m *VirtualEndpointRetrieveScopedPermissionsRequestBuilder) GetAsRetrieveSc } return res.(VirtualEndpointRetrieveScopedPermissionsGetResponseable), nil } -// ToGetRequestInformation invoke function retrieveScopedPermissions +// ToGetRequestInformation get the permissions and corresponding scope IDs for which the authenticated user has access. // returns a *RequestInformation when successful func (m *VirtualEndpointRetrieveScopedPermissionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointRetrieveScopedPermissionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/virtual_endpoint_service_plans_request_builder.go b/devicemanagement/virtual_endpoint_service_plans_request_builder.go index 6708bbe7e47..ec111167db0 100644 --- a/devicemanagement/virtual_endpoint_service_plans_request_builder.go +++ b/devicemanagement/virtual_endpoint_service_plans_request_builder.go @@ -11,7 +11,7 @@ import ( type VirtualEndpointServicePlansRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// VirtualEndpointServicePlansRequestBuilderGetQueryParameters list the currently available service plans that an organization can purchase for their Cloud PCs. For examples of currently available service plans, see Windows 365 compare plans and pricing. Currently, Microsoft Graph API is available for Windows 365 Enterprise. +// VirtualEndpointServicePlansRequestBuilderGetQueryParameters cloud PC service plans. type VirtualEndpointServicePlansRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewVirtualEndpointServicePlansRequestBuilder(rawUrl string, requestAdapter func (m *VirtualEndpointServicePlansRequestBuilder) Count()(*VirtualEndpointServicePlansCountRequestBuilder) { return NewVirtualEndpointServicePlansCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list the currently available service plans that an organization can purchase for their Cloud PCs. For examples of currently available service plans, see Windows 365 compare plans and pricing. Currently, Microsoft Graph API is available for Windows 365 Enterprise. +// Get cloud PC service plans. // returns a CloudPcServicePlanCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/virtualendpoint-list-serviceplans?view=graph-rest-1.0 func (m *VirtualEndpointServicePlansRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointServicePlansRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcServicePlanCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *VirtualEndpointServicePlansRequestBuilder) Post(ctx context.Context, bo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcServicePlanable), nil } -// ToGetRequestInformation list the currently available service plans that an organization can purchase for their Cloud PCs. For examples of currently available service plans, see Windows 365 compare plans and pricing. Currently, Microsoft Graph API is available for Windows 365 Enterprise. +// ToGetRequestInformation cloud PC service plans. // returns a *RequestInformation when successful func (m *VirtualEndpointServicePlansRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointServicePlansRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/virtual_endpoint_shared_use_service_plans_cloud_pc_shared_use_service_plan_item_request_builder.go b/devicemanagement/virtual_endpoint_shared_use_service_plans_cloud_pc_shared_use_service_plan_item_request_builder.go index 86fceb337d0..f4f39c9037f 100644 --- a/devicemanagement/virtual_endpoint_shared_use_service_plans_cloud_pc_shared_use_service_plan_item_request_builder.go +++ b/devicemanagement/virtual_endpoint_shared_use_service_plans_cloud_pc_shared_use_service_plan_item_request_builder.go @@ -18,7 +18,7 @@ type VirtualEndpointSharedUseServicePlansCloudPcSharedUseServicePlanItemRequestB // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// VirtualEndpointSharedUseServicePlansCloudPcSharedUseServicePlanItemRequestBuilderGetQueryParameters read the properties and relationships of a cloudPcSharedUseServicePlan object. +// VirtualEndpointSharedUseServicePlansCloudPcSharedUseServicePlanItemRequestBuilderGetQueryParameters get sharedUseServicePlans from deviceManagement type VirtualEndpointSharedUseServicePlansCloudPcSharedUseServicePlanItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -71,13 +71,10 @@ func (m *VirtualEndpointSharedUseServicePlansCloudPcSharedUseServicePlanItemRequ } return nil } -// Get read the properties and relationships of a cloudPcSharedUseServicePlan object. +// Get get sharedUseServicePlans from deviceManagement // Deprecated: The sharedUseServicePlans property is deprecated and will not be supported starting Oct 8, 2023. This property will not be included as part of the API response. as of 2023-03/sharedUseServicePlans // returns a CloudPcSharedUseServicePlanable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpcshareduseserviceplan-get?view=graph-rest-1.0 func (m *VirtualEndpointSharedUseServicePlansCloudPcSharedUseServicePlanItemRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointSharedUseServicePlansCloudPcSharedUseServicePlanItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcSharedUseServicePlanable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -128,7 +125,7 @@ func (m *VirtualEndpointSharedUseServicePlansCloudPcSharedUseServicePlanItemRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a cloudPcSharedUseServicePlan object. +// ToGetRequestInformation get sharedUseServicePlans from deviceManagement // Deprecated: The sharedUseServicePlans property is deprecated and will not be supported starting Oct 8, 2023. This property will not be included as part of the API response. as of 2023-03/sharedUseServicePlans // returns a *RequestInformation when successful func (m *VirtualEndpointSharedUseServicePlansCloudPcSharedUseServicePlanItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointSharedUseServicePlansCloudPcSharedUseServicePlanItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/devicemanagement/virtual_endpoint_shared_use_service_plans_request_builder.go b/devicemanagement/virtual_endpoint_shared_use_service_plans_request_builder.go index ea8478303e3..71ba00a0083 100644 --- a/devicemanagement/virtual_endpoint_shared_use_service_plans_request_builder.go +++ b/devicemanagement/virtual_endpoint_shared_use_service_plans_request_builder.go @@ -11,7 +11,7 @@ import ( type VirtualEndpointSharedUseServicePlansRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// VirtualEndpointSharedUseServicePlansRequestBuilderGetQueryParameters get a list of the cloudPcSharedUseServicePlan objects and their properties. +// VirtualEndpointSharedUseServicePlansRequestBuilderGetQueryParameters get sharedUseServicePlans from deviceManagement type VirtualEndpointSharedUseServicePlansRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -77,13 +77,10 @@ func NewVirtualEndpointSharedUseServicePlansRequestBuilder(rawUrl string, reques func (m *VirtualEndpointSharedUseServicePlansRequestBuilder) Count()(*VirtualEndpointSharedUseServicePlansCountRequestBuilder) { return NewVirtualEndpointSharedUseServicePlansCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the cloudPcSharedUseServicePlan objects and their properties. +// Get get sharedUseServicePlans from deviceManagement // Deprecated: The sharedUseServicePlans property is deprecated and will not be supported starting Oct 8, 2023. This property will not be included as part of the API response. as of 2023-03/sharedUseServicePlans // returns a CloudPcSharedUseServicePlanCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/virtualendpoint-list-shareduseserviceplans?view=graph-rest-1.0 func (m *VirtualEndpointSharedUseServicePlansRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointSharedUseServicePlansRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcSharedUseServicePlanCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -122,7 +119,7 @@ func (m *VirtualEndpointSharedUseServicePlansRequestBuilder) Post(ctx context.Co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcSharedUseServicePlanable), nil } -// ToGetRequestInformation get a list of the cloudPcSharedUseServicePlan objects and their properties. +// ToGetRequestInformation get sharedUseServicePlans from deviceManagement // Deprecated: The sharedUseServicePlans property is deprecated and will not be supported starting Oct 8, 2023. This property will not be included as part of the API response. as of 2023-03/sharedUseServicePlans // returns a *RequestInformation when successful func (m *VirtualEndpointSharedUseServicePlansRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointSharedUseServicePlansRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/devicemanagement/virtual_endpoint_snapshots_cloud_pc_snapshot_item_request_builder.go b/devicemanagement/virtual_endpoint_snapshots_cloud_pc_snapshot_item_request_builder.go index 2222f945a22..d0c1d5ca2d3 100644 --- a/devicemanagement/virtual_endpoint_snapshots_cloud_pc_snapshot_item_request_builder.go +++ b/devicemanagement/virtual_endpoint_snapshots_cloud_pc_snapshot_item_request_builder.go @@ -18,7 +18,7 @@ type VirtualEndpointSnapshotsCloudPcSnapshotItemRequestBuilderDeleteRequestConfi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// VirtualEndpointSnapshotsCloudPcSnapshotItemRequestBuilderGetQueryParameters read the properties and relationships of a cloudPcSnapshot object. +// VirtualEndpointSnapshotsCloudPcSnapshotItemRequestBuilderGetQueryParameters cloud PC snapshots. type VirtualEndpointSnapshotsCloudPcSnapshotItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *VirtualEndpointSnapshotsCloudPcSnapshotItemRequestBuilder) Delete(ctx c } return nil } -// Get read the properties and relationships of a cloudPcSnapshot object. +// Get cloud PC snapshots. // returns a CloudPcSnapshotable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpcsnapshot-get?view=graph-rest-1.0 func (m *VirtualEndpointSnapshotsCloudPcSnapshotItemRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointSnapshotsCloudPcSnapshotItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcSnapshotable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *VirtualEndpointSnapshotsCloudPcSnapshotItemRequestBuilder) ToDeleteRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a cloudPcSnapshot object. +// ToGetRequestInformation cloud PC snapshots. // returns a *RequestInformation when successful func (m *VirtualEndpointSnapshotsCloudPcSnapshotItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointSnapshotsCloudPcSnapshotItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/virtual_endpoint_snapshots_get_storage_accounts_with_subscription_id_request_builder.go b/devicemanagement/virtual_endpoint_snapshots_get_storage_accounts_with_subscription_id_request_builder.go index 616b91f3da6..978a2e60a98 100644 --- a/devicemanagement/virtual_endpoint_snapshots_get_storage_accounts_with_subscription_id_request_builder.go +++ b/devicemanagement/virtual_endpoint_snapshots_get_storage_accounts_with_subscription_id_request_builder.go @@ -10,7 +10,7 @@ import ( type VirtualEndpointSnapshotsGetStorageAccountsWithSubscriptionIdRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// VirtualEndpointSnapshotsGetStorageAccountsWithSubscriptionIdRequestBuilderGetQueryParameters invoke function getStorageAccounts +// VirtualEndpointSnapshotsGetStorageAccountsWithSubscriptionIdRequestBuilderGetQueryParameters list all storage accounts cloudPcForensicStorageAccount that can be used to store a snapshot or snapshots of a Cloud PC for forensic analysis. type VirtualEndpointSnapshotsGetStorageAccountsWithSubscriptionIdRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -48,10 +48,13 @@ func NewVirtualEndpointSnapshotsGetStorageAccountsWithSubscriptionIdRequestBuild urlParams["request-raw-url"] = rawUrl return NewVirtualEndpointSnapshotsGetStorageAccountsWithSubscriptionIdRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function getStorageAccounts +// Get list all storage accounts cloudPcForensicStorageAccount that can be used to store a snapshot or snapshots of a Cloud PC for forensic analysis. // Deprecated: This method is obsolete. Use GetAsGetStorageAccountsWithSubscriptionIdGetResponse instead. // returns a VirtualEndpointSnapshotsGetStorageAccountsWithSubscriptionIdResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpcsnapshot-getstorageaccounts?view=graph-rest-beta func (m *VirtualEndpointSnapshotsGetStorageAccountsWithSubscriptionIdRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointSnapshotsGetStorageAccountsWithSubscriptionIdRequestBuilderGetRequestConfiguration)(VirtualEndpointSnapshotsGetStorageAccountsWithSubscriptionIdResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -69,9 +72,12 @@ func (m *VirtualEndpointSnapshotsGetStorageAccountsWithSubscriptionIdRequestBuil } return res.(VirtualEndpointSnapshotsGetStorageAccountsWithSubscriptionIdResponseable), nil } -// GetAsGetStorageAccountsWithSubscriptionIdGetResponse invoke function getStorageAccounts +// GetAsGetStorageAccountsWithSubscriptionIdGetResponse list all storage accounts cloudPcForensicStorageAccount that can be used to store a snapshot or snapshots of a Cloud PC for forensic analysis. // returns a VirtualEndpointSnapshotsGetStorageAccountsWithSubscriptionIdGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpcsnapshot-getstorageaccounts?view=graph-rest-beta func (m *VirtualEndpointSnapshotsGetStorageAccountsWithSubscriptionIdRequestBuilder) GetAsGetStorageAccountsWithSubscriptionIdGetResponse(ctx context.Context, requestConfiguration *VirtualEndpointSnapshotsGetStorageAccountsWithSubscriptionIdRequestBuilderGetRequestConfiguration)(VirtualEndpointSnapshotsGetStorageAccountsWithSubscriptionIdGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +95,7 @@ func (m *VirtualEndpointSnapshotsGetStorageAccountsWithSubscriptionIdRequestBuil } return res.(VirtualEndpointSnapshotsGetStorageAccountsWithSubscriptionIdGetResponseable), nil } -// ToGetRequestInformation invoke function getStorageAccounts +// ToGetRequestInformation list all storage accounts cloudPcForensicStorageAccount that can be used to store a snapshot or snapshots of a Cloud PC for forensic analysis. // returns a *RequestInformation when successful func (m *VirtualEndpointSnapshotsGetStorageAccountsWithSubscriptionIdRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointSnapshotsGetStorageAccountsWithSubscriptionIdRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/virtual_endpoint_snapshots_get_subscriptions_request_builder.go b/devicemanagement/virtual_endpoint_snapshots_get_subscriptions_request_builder.go index 3d84290f0da..60c5b15e086 100644 --- a/devicemanagement/virtual_endpoint_snapshots_get_subscriptions_request_builder.go +++ b/devicemanagement/virtual_endpoint_snapshots_get_subscriptions_request_builder.go @@ -10,7 +10,7 @@ import ( type VirtualEndpointSnapshotsGetSubscriptionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// VirtualEndpointSnapshotsGetSubscriptionsRequestBuilderGetQueryParameters invoke function getSubscriptions +// VirtualEndpointSnapshotsGetSubscriptionsRequestBuilderGetQueryParameters list all subscriptions cloudPcSubscription that can be used to store a snapshot or snapshots of a Cloud PC for forensic analysis. type VirtualEndpointSnapshotsGetSubscriptionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -45,10 +45,13 @@ func NewVirtualEndpointSnapshotsGetSubscriptionsRequestBuilder(rawUrl string, re urlParams["request-raw-url"] = rawUrl return NewVirtualEndpointSnapshotsGetSubscriptionsRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getSubscriptions +// Get list all subscriptions cloudPcSubscription that can be used to store a snapshot or snapshots of a Cloud PC for forensic analysis. // Deprecated: This method is obsolete. Use GetAsGetSubscriptionsGetResponse instead. // returns a VirtualEndpointSnapshotsGetSubscriptionsResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpcsnapshot-getsubscriptions?view=graph-rest-beta func (m *VirtualEndpointSnapshotsGetSubscriptionsRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointSnapshotsGetSubscriptionsRequestBuilderGetRequestConfiguration)(VirtualEndpointSnapshotsGetSubscriptionsResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,9 +69,12 @@ func (m *VirtualEndpointSnapshotsGetSubscriptionsRequestBuilder) Get(ctx context } return res.(VirtualEndpointSnapshotsGetSubscriptionsResponseable), nil } -// GetAsGetSubscriptionsGetResponse invoke function getSubscriptions +// GetAsGetSubscriptionsGetResponse list all subscriptions cloudPcSubscription that can be used to store a snapshot or snapshots of a Cloud PC for forensic analysis. // returns a VirtualEndpointSnapshotsGetSubscriptionsGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpcsnapshot-getsubscriptions?view=graph-rest-beta func (m *VirtualEndpointSnapshotsGetSubscriptionsRequestBuilder) GetAsGetSubscriptionsGetResponse(ctx context.Context, requestConfiguration *VirtualEndpointSnapshotsGetSubscriptionsRequestBuilderGetRequestConfiguration)(VirtualEndpointSnapshotsGetSubscriptionsGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -86,7 +92,7 @@ func (m *VirtualEndpointSnapshotsGetSubscriptionsRequestBuilder) GetAsGetSubscri } return res.(VirtualEndpointSnapshotsGetSubscriptionsGetResponseable), nil } -// ToGetRequestInformation invoke function getSubscriptions +// ToGetRequestInformation list all subscriptions cloudPcSubscription that can be used to store a snapshot or snapshots of a Cloud PC for forensic analysis. // returns a *RequestInformation when successful func (m *VirtualEndpointSnapshotsGetSubscriptionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointSnapshotsGetSubscriptionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/virtual_endpoint_snapshots_request_builder.go b/devicemanagement/virtual_endpoint_snapshots_request_builder.go index 55added75f7..986e0e75ca6 100644 --- a/devicemanagement/virtual_endpoint_snapshots_request_builder.go +++ b/devicemanagement/virtual_endpoint_snapshots_request_builder.go @@ -11,7 +11,7 @@ import ( type VirtualEndpointSnapshotsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// VirtualEndpointSnapshotsRequestBuilderGetQueryParameters get a list of cloudPcSnapshot objects and their properties. +// VirtualEndpointSnapshotsRequestBuilderGetQueryParameters cloud PC snapshots. type VirtualEndpointSnapshotsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewVirtualEndpointSnapshotsRequestBuilder(rawUrl string, requestAdapter i2a func (m *VirtualEndpointSnapshotsRequestBuilder) Count()(*VirtualEndpointSnapshotsCountRequestBuilder) { return NewVirtualEndpointSnapshotsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of cloudPcSnapshot objects and their properties. +// Get cloud PC snapshots. // returns a CloudPcSnapshotCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/virtualendpoint-list-snapshots?view=graph-rest-1.0 func (m *VirtualEndpointSnapshotsRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointSnapshotsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcSnapshotCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *VirtualEndpointSnapshotsRequestBuilder) Post(ctx context.Context, body } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcSnapshotable), nil } -// ToGetRequestInformation get a list of cloudPcSnapshot objects and their properties. +// ToGetRequestInformation cloud PC snapshots. // returns a *RequestInformation when successful func (m *VirtualEndpointSnapshotsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointSnapshotsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/virtual_endpoint_supported_regions_request_builder.go b/devicemanagement/virtual_endpoint_supported_regions_request_builder.go index 62663dd0875..b6009dc5de9 100644 --- a/devicemanagement/virtual_endpoint_supported_regions_request_builder.go +++ b/devicemanagement/virtual_endpoint_supported_regions_request_builder.go @@ -11,7 +11,7 @@ import ( type VirtualEndpointSupportedRegionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// VirtualEndpointSupportedRegionsRequestBuilderGetQueryParameters list the supported regions that are available for creating Cloud PC connections. +// VirtualEndpointSupportedRegionsRequestBuilderGetQueryParameters cloud PC supported regions. type VirtualEndpointSupportedRegionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewVirtualEndpointSupportedRegionsRequestBuilder(rawUrl string, requestAdap func (m *VirtualEndpointSupportedRegionsRequestBuilder) Count()(*VirtualEndpointSupportedRegionsCountRequestBuilder) { return NewVirtualEndpointSupportedRegionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list the supported regions that are available for creating Cloud PC connections. +// Get cloud PC supported regions. // returns a CloudPcSupportedRegionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/virtualendpoint-list-supportedregions?view=graph-rest-1.0 func (m *VirtualEndpointSupportedRegionsRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointSupportedRegionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcSupportedRegionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *VirtualEndpointSupportedRegionsRequestBuilder) Post(ctx context.Context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcSupportedRegionable), nil } -// ToGetRequestInformation list the supported regions that are available for creating Cloud PC connections. +// ToGetRequestInformation cloud PC supported regions. // returns a *RequestInformation when successful func (m *VirtualEndpointSupportedRegionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointSupportedRegionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/virtual_endpoint_user_settings_cloud_pc_user_setting_item_request_builder.go b/devicemanagement/virtual_endpoint_user_settings_cloud_pc_user_setting_item_request_builder.go index ec6e1e723aa..3f8dcfac566 100644 --- a/devicemanagement/virtual_endpoint_user_settings_cloud_pc_user_setting_item_request_builder.go +++ b/devicemanagement/virtual_endpoint_user_settings_cloud_pc_user_setting_item_request_builder.go @@ -18,7 +18,7 @@ type VirtualEndpointUserSettingsCloudPcUserSettingItemRequestBuilderDeleteReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// VirtualEndpointUserSettingsCloudPcUserSettingItemRequestBuilderGetQueryParameters read the properties and relationships of a cloudPcUserSetting object. +// VirtualEndpointUserSettingsCloudPcUserSettingItemRequestBuilderGetQueryParameters cloud PC user settings. type VirtualEndpointUserSettingsCloudPcUserSettingItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -64,11 +64,8 @@ func NewVirtualEndpointUserSettingsCloudPcUserSettingItemRequestBuilder(rawUrl s urlParams["request-raw-url"] = rawUrl return NewVirtualEndpointUserSettingsCloudPcUserSettingItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a cloudPcUserSetting object. +// Delete delete navigation property userSettings for deviceManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpcusersetting-delete?view=graph-rest-1.0 func (m *VirtualEndpointUserSettingsCloudPcUserSettingItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *VirtualEndpointUserSettingsCloudPcUserSettingItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -83,12 +80,9 @@ func (m *VirtualEndpointUserSettingsCloudPcUserSettingItemRequestBuilder) Delete } return nil } -// Get read the properties and relationships of a cloudPcUserSetting object. +// Get cloud PC user settings. // returns a CloudPcUserSettingable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpcusersetting-get?view=graph-rest-1.0 func (m *VirtualEndpointUserSettingsCloudPcUserSettingItemRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointUserSettingsCloudPcUserSettingItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcUserSettingable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -106,12 +100,9 @@ func (m *VirtualEndpointUserSettingsCloudPcUserSettingItemRequestBuilder) Get(ct } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcUserSettingable), nil } -// Patch update the properties of a cloudPcUserSetting object. +// Patch update the navigation property userSettings in deviceManagement // returns a CloudPcUserSettingable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpcusersetting-update?view=graph-rest-1.0 func (m *VirtualEndpointUserSettingsCloudPcUserSettingItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcUserSettingable, requestConfiguration *VirtualEndpointUserSettingsCloudPcUserSettingItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcUserSettingable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -129,7 +120,7 @@ func (m *VirtualEndpointUserSettingsCloudPcUserSettingItemRequestBuilder) Patch( } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcUserSettingable), nil } -// ToDeleteRequestInformation delete a cloudPcUserSetting object. +// ToDeleteRequestInformation delete navigation property userSettings for deviceManagement // returns a *RequestInformation when successful func (m *VirtualEndpointUserSettingsCloudPcUserSettingItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointUserSettingsCloudPcUserSettingItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -140,7 +131,7 @@ func (m *VirtualEndpointUserSettingsCloudPcUserSettingItemRequestBuilder) ToDele requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a cloudPcUserSetting object. +// ToGetRequestInformation cloud PC user settings. // returns a *RequestInformation when successful func (m *VirtualEndpointUserSettingsCloudPcUserSettingItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointUserSettingsCloudPcUserSettingItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -154,7 +145,7 @@ func (m *VirtualEndpointUserSettingsCloudPcUserSettingItemRequestBuilder) ToGetR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a cloudPcUserSetting object. +// ToPatchRequestInformation update the navigation property userSettings in deviceManagement // returns a *RequestInformation when successful func (m *VirtualEndpointUserSettingsCloudPcUserSettingItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcUserSettingable, requestConfiguration *VirtualEndpointUserSettingsCloudPcUserSettingItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/virtual_endpoint_user_settings_item_assign_request_builder.go b/devicemanagement/virtual_endpoint_user_settings_item_assign_request_builder.go index ff80007b827..9053d70112b 100644 --- a/devicemanagement/virtual_endpoint_user_settings_item_assign_request_builder.go +++ b/devicemanagement/virtual_endpoint_user_settings_item_assign_request_builder.go @@ -34,7 +34,7 @@ func NewVirtualEndpointUserSettingsItemAssignRequestBuilder(rawUrl string, reque // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpcusersetting-assign?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpcusersetting-assign?view=graph-rest-beta func (m *VirtualEndpointUserSettingsItemAssignRequestBuilder) Post(ctx context.Context, body VirtualEndpointUserSettingsItemAssignPostRequestBodyable, requestConfiguration *VirtualEndpointUserSettingsItemAssignRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/devicemanagement/virtual_endpoint_user_settings_request_builder.go b/devicemanagement/virtual_endpoint_user_settings_request_builder.go index dd8b88e872b..8df9f32634b 100644 --- a/devicemanagement/virtual_endpoint_user_settings_request_builder.go +++ b/devicemanagement/virtual_endpoint_user_settings_request_builder.go @@ -11,7 +11,7 @@ import ( type VirtualEndpointUserSettingsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// VirtualEndpointUserSettingsRequestBuilderGetQueryParameters retrieve a list of cloudPcUserSetting objects. +// VirtualEndpointUserSettingsRequestBuilderGetQueryParameters cloud PC user settings. type VirtualEndpointUserSettingsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewVirtualEndpointUserSettingsRequestBuilder(rawUrl string, requestAdapter func (m *VirtualEndpointUserSettingsRequestBuilder) Count()(*VirtualEndpointUserSettingsCountRequestBuilder) { return NewVirtualEndpointUserSettingsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of cloudPcUserSetting objects. +// Get cloud PC user settings. // returns a CloudPcUserSettingCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/virtualendpoint-list-usersettings?view=graph-rest-1.0 func (m *VirtualEndpointUserSettingsRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointUserSettingsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcUserSettingCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *VirtualEndpointUserSettingsRequestBuilder) Get(ctx context.Context, req } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcUserSettingCollectionResponseable), nil } -// Post create a new cloudPcUserSetting object. +// Post create new navigation property to userSettings for deviceManagement // returns a CloudPcUserSettingable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/virtualendpoint-post-usersettings?view=graph-rest-1.0 func (m *VirtualEndpointUserSettingsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcUserSettingable, requestConfiguration *VirtualEndpointUserSettingsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcUserSettingable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *VirtualEndpointUserSettingsRequestBuilder) Post(ctx context.Context, bo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcUserSettingable), nil } -// ToGetRequestInformation retrieve a list of cloudPcUserSetting objects. +// ToGetRequestInformation cloud PC user settings. // returns a *RequestInformation when successful func (m *VirtualEndpointUserSettingsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointUserSettingsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *VirtualEndpointUserSettingsRequestBuilder) ToGetRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new cloudPcUserSetting object. +// ToPostRequestInformation create new navigation property to userSettings for deviceManagement // returns a *RequestInformation when successful func (m *VirtualEndpointUserSettingsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcUserSettingable, requestConfiguration *VirtualEndpointUserSettingsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devices/delta_request_builder.go b/devices/delta_request_builder.go index b72d2285f02..ca6d8ccadfa 100644 --- a/devices/delta_request_builder.go +++ b/devices/delta_request_builder.go @@ -10,7 +10,7 @@ import ( type DeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeltaRequestBuilderGetQueryParameters invoke function delta +// DeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted devices without performing a full read of the entire resource collection. For more information, see Using delta query. type DeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb urlParams["request-raw-url"] = rawUrl return NewDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get get newly created, updated, or deleted devices without performing a full read of the entire resource collection. For more information, see Using delta query. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a DeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/device-delta?view=graph-rest-beta func (m *DeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(DeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *DeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *Del } return res.(DeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse get newly created, updated, or deleted devices without performing a full read of the entire resource collection. For more information, see Using delta query. // returns a DeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/device-delta?view=graph-rest-beta func (m *DeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(DeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *DeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, request } return res.(DeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation get newly created, updated, or deleted devices without performing a full read of the entire resource collection. For more information, see Using delta query. // returns a *RequestInformation when successful func (m *DeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devices/device_item_request_builder.go b/devices/device_item_request_builder.go index 789a17a14d4..c500bd7a746 100644 --- a/devices/device_item_request_builder.go +++ b/devices/device_item_request_builder.go @@ -73,7 +73,7 @@ func NewDeviceItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/device-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/device-delete?view=graph-rest-beta func (m *DeviceItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *DeviceItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,7 +98,7 @@ func (m *DeviceItemRequestBuilder) Extensions()(*ItemExtensionsRequestBuilder) { // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/device-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/device-get?view=graph-rest-beta func (m *DeviceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Deviceable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -136,7 +136,7 @@ func (m *DeviceItemRequestBuilder) MemberOf()(*ItemMemberOfRequestBuilder) { // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/device-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/device-update?view=graph-rest-beta func (m *DeviceItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Deviceable, requestConfiguration *DeviceItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Deviceable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/devices/devices_request_builder.go b/devices/devices_request_builder.go index 57d02a80ade..7a602f7c2be 100644 --- a/devices/devices_request_builder.go +++ b/devices/devices_request_builder.go @@ -86,7 +86,7 @@ func (m *DevicesRequestBuilder) Delta()(*DeltaRequestBuilder) { // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/device-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/device-list?view=graph-rest-beta func (m *DevicesRequestBuilder) Get(ctx context.Context, requestConfiguration *DevicesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +119,7 @@ func (m *DevicesRequestBuilder) GetUserOwnedObjects()(*GetUserOwnedObjectsReques // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/device-post-devices?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/device-post-devices?view=graph-rest-beta func (m *DevicesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Deviceable, requestConfiguration *DevicesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Deviceable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/devices/get_by_ids_request_builder.go b/devices/get_by_ids_request_builder.go index d390596b972..648a1761947 100644 --- a/devices/get_by_ids_request_builder.go +++ b/devices/get_by_ids_request_builder.go @@ -36,7 +36,7 @@ func NewGetByIdsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26337 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-beta func (m *GetByIdsRequestBuilder) Post(ctx context.Context, body GetByIdsPostRequestBodyable, requestConfiguration *GetByIdsRequestBuilderPostRequestConfiguration)(GetByIdsResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *GetByIdsRequestBuilder) Post(ctx context.Context, body GetByIdsPostRequ // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-beta func (m *GetByIdsRequestBuilder) PostAsGetByIdsPostResponse(ctx context.Context, body GetByIdsPostRequestBodyable, requestConfiguration *GetByIdsRequestBuilderPostRequestConfiguration)(GetByIdsPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/devices/get_user_owned_objects_request_builder.go b/devices/get_user_owned_objects_request_builder.go index 5cae58f2eb1..991b08a7f23 100644 --- a/devices/get_user_owned_objects_request_builder.go +++ b/devices/get_user_owned_objects_request_builder.go @@ -36,7 +36,7 @@ func NewGetUserOwnedObjectsRequestBuilder(rawUrl string, requestAdapter i2ae4187 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directory-deleteditems-getuserownedobjects?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directory-deleteditems-getuserownedobjects?view=graph-rest-beta func (m *GetUserOwnedObjectsRequestBuilder) Post(ctx context.Context, body GetUserOwnedObjectsPostRequestBodyable, requestConfiguration *GetUserOwnedObjectsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/devices/item_check_member_groups_request_builder.go b/devices/item_check_member_groups_request_builder.go index 281b9c36ab8..6338cf69649 100644 --- a/devices/item_check_member_groups_request_builder.go +++ b/devices/item_check_member_groups_request_builder.go @@ -36,7 +36,7 @@ func NewItemCheckMemberGroupsRequestBuilder(rawUrl string, requestAdapter i2ae41 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-beta func (m *ItemCheckMemberGroupsRequestBuilder) Post(ctx context.Context, body ItemCheckMemberGroupsPostRequestBodyable, requestConfiguration *ItemCheckMemberGroupsRequestBuilderPostRequestConfiguration)(ItemCheckMemberGroupsResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ItemCheckMemberGroupsRequestBuilder) Post(ctx context.Context, body Ite // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-beta func (m *ItemCheckMemberGroupsRequestBuilder) PostAsCheckMemberGroupsPostResponse(ctx context.Context, body ItemCheckMemberGroupsPostRequestBodyable, requestConfiguration *ItemCheckMemberGroupsRequestBuilderPostRequestConfiguration)(ItemCheckMemberGroupsPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/devices/item_get_member_groups_request_builder.go b/devices/item_get_member_groups_request_builder.go index 8a05ff6e4ef..7f9900dfae1 100644 --- a/devices/item_get_member_groups_request_builder.go +++ b/devices/item_get_member_groups_request_builder.go @@ -36,7 +36,7 @@ func NewItemGetMemberGroupsRequestBuilder(rawUrl string, requestAdapter i2ae4187 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-beta func (m *ItemGetMemberGroupsRequestBuilder) Post(ctx context.Context, body ItemGetMemberGroupsPostRequestBodyable, requestConfiguration *ItemGetMemberGroupsRequestBuilderPostRequestConfiguration)(ItemGetMemberGroupsResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ItemGetMemberGroupsRequestBuilder) Post(ctx context.Context, body ItemG // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-beta func (m *ItemGetMemberGroupsRequestBuilder) PostAsGetMemberGroupsPostResponse(ctx context.Context, body ItemGetMemberGroupsPostRequestBodyable, requestConfiguration *ItemGetMemberGroupsRequestBuilderPostRequestConfiguration)(ItemGetMemberGroupsPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/devices/item_member_of_request_builder.go b/devices/item_member_of_request_builder.go index 38090d0fed4..6d11634de2f 100644 --- a/devices/item_member_of_request_builder.go +++ b/devices/item_member_of_request_builder.go @@ -72,9 +72,6 @@ func (m *ItemMemberOfRequestBuilder) Count()(*ItemMemberOfCountRequestBuilder) { // Get groups and administrative units that this device is a member of. Read-only. Nullable. Supports $expand. // returns a DirectoryObjectCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/device-list-memberof?view=graph-rest-1.0 func (m *ItemMemberOfRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMemberOfRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/devices/item_registered_owners_item_ref_request_builder.go b/devices/item_registered_owners_item_ref_request_builder.go index 13fa786bf8e..cb27580ea22 100644 --- a/devices/item_registered_owners_item_ref_request_builder.go +++ b/devices/item_registered_owners_item_ref_request_builder.go @@ -30,11 +30,8 @@ func NewItemRegisteredOwnersItemRefRequestBuilder(rawUrl string, requestAdapter urlParams["request-raw-url"] = rawUrl return NewItemRegisteredOwnersItemRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove a user as a registered owner of the device. +// Delete delete ref of navigation property registeredOwners for devices // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/device-delete-registeredowners?view=graph-rest-1.0 func (m *ItemRegisteredOwnersItemRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemRegisteredOwnersItemRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -49,7 +46,7 @@ func (m *ItemRegisteredOwnersItemRefRequestBuilder) Delete(ctx context.Context, } return nil } -// ToDeleteRequestInformation remove a user as a registered owner of the device. +// ToDeleteRequestInformation delete ref of navigation property registeredOwners for devices // returns a *RequestInformation when successful func (m *ItemRegisteredOwnersItemRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemRegisteredOwnersItemRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devices/item_registered_owners_ref_request_builder.go b/devices/item_registered_owners_ref_request_builder.go index 77961127061..9d0ad60cd02 100644 --- a/devices/item_registered_owners_ref_request_builder.go +++ b/devices/item_registered_owners_ref_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemRegisteredOwnersRefRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemRegisteredOwnersRefRequestBuilderDeleteQueryParameters remove a user as a registered owner of the device. +// ItemRegisteredOwnersRefRequestBuilderDeleteQueryParameters delete ref of navigation property registeredOwners for devices type ItemRegisteredOwnersRefRequestBuilderDeleteQueryParameters struct { // The delete Uri Id *string `uriparametername:"%40id"` @@ -69,11 +69,8 @@ func NewItemRegisteredOwnersRefRequestBuilder(rawUrl string, requestAdapter i2ae urlParams["request-raw-url"] = rawUrl return NewItemRegisteredOwnersRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove a user as a registered owner of the device. +// Delete delete ref of navigation property registeredOwners for devices // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/device-delete-registeredowners?view=graph-rest-1.0 func (m *ItemRegisteredOwnersRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemRegisteredOwnersRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -91,9 +88,6 @@ func (m *ItemRegisteredOwnersRefRequestBuilder) Delete(ctx context.Context, requ // Get the user that cloud joined the device or registered their personal device. The registered owner is set at the time of registration. Read-only. Nullable. Supports $expand. // returns a StringCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/device-list-registeredowners?view=graph-rest-1.0 func (m *ItemRegisteredOwnersRefRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemRegisteredOwnersRefRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -111,11 +105,8 @@ func (m *ItemRegisteredOwnersRefRequestBuilder) Get(ctx context.Context, request } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable), nil } -// Post add a user as a registered owner of the device. +// Post create new navigation property ref to registeredOwners for devices // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/device-post-registeredowners?view=graph-rest-1.0 func (m *ItemRegisteredOwnersRefRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *ItemRegisteredOwnersRefRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -130,7 +121,7 @@ func (m *ItemRegisteredOwnersRefRequestBuilder) Post(ctx context.Context, body i } return nil } -// ToDeleteRequestInformation remove a user as a registered owner of the device. +// ToDeleteRequestInformation delete ref of navigation property registeredOwners for devices // returns a *RequestInformation when successful func (m *ItemRegisteredOwnersRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemRegisteredOwnersRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, "{+baseurl}/devices/{device%2Did}/registeredOwners/$ref?@id={%40id}", m.BaseRequestBuilder.PathParameters) @@ -158,7 +149,7 @@ func (m *ItemRegisteredOwnersRefRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add a user as a registered owner of the device. +// ToPostRequestInformation create new navigation property ref to registeredOwners for devices // returns a *RequestInformation when successful func (m *ItemRegisteredOwnersRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *ItemRegisteredOwnersRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/devices/{device%2Did}/registeredOwners/$ref", m.BaseRequestBuilder.PathParameters) diff --git a/devices/item_registered_owners_request_builder.go b/devices/item_registered_owners_request_builder.go index db0eccc8df8..5fa9f45f8e3 100644 --- a/devices/item_registered_owners_request_builder.go +++ b/devices/item_registered_owners_request_builder.go @@ -72,9 +72,6 @@ func (m *ItemRegisteredOwnersRequestBuilder) Count()(*ItemRegisteredOwnersCountR // Get the user that cloud joined the device or registered their personal device. The registered owner is set at the time of registration. Read-only. Nullable. Supports $expand. // returns a DirectoryObjectCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/device-list-registeredowners?view=graph-rest-1.0 func (m *ItemRegisteredOwnersRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemRegisteredOwnersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/devices/item_registered_users_item_ref_request_builder.go b/devices/item_registered_users_item_ref_request_builder.go index 417f89a47c4..c2186a3d401 100644 --- a/devices/item_registered_users_item_ref_request_builder.go +++ b/devices/item_registered_users_item_ref_request_builder.go @@ -30,11 +30,8 @@ func NewItemRegisteredUsersItemRefRequestBuilder(rawUrl string, requestAdapter i urlParams["request-raw-url"] = rawUrl return NewItemRegisteredUsersItemRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove a user as a registered user of the device. +// Delete delete ref of navigation property registeredUsers for devices // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/device-delete-registeredusers?view=graph-rest-1.0 func (m *ItemRegisteredUsersItemRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemRegisteredUsersItemRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -49,7 +46,7 @@ func (m *ItemRegisteredUsersItemRefRequestBuilder) Delete(ctx context.Context, r } return nil } -// ToDeleteRequestInformation remove a user as a registered user of the device. +// ToDeleteRequestInformation delete ref of navigation property registeredUsers for devices // returns a *RequestInformation when successful func (m *ItemRegisteredUsersItemRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemRegisteredUsersItemRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devices/item_registered_users_ref_request_builder.go b/devices/item_registered_users_ref_request_builder.go index 2c4eda1b159..5525e712d9b 100644 --- a/devices/item_registered_users_ref_request_builder.go +++ b/devices/item_registered_users_ref_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemRegisteredUsersRefRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemRegisteredUsersRefRequestBuilderDeleteQueryParameters remove a user as a registered user of the device. +// ItemRegisteredUsersRefRequestBuilderDeleteQueryParameters delete ref of navigation property registeredUsers for devices type ItemRegisteredUsersRefRequestBuilderDeleteQueryParameters struct { // The delete Uri Id *string `uriparametername:"%40id"` @@ -69,11 +69,8 @@ func NewItemRegisteredUsersRefRequestBuilder(rawUrl string, requestAdapter i2ae4 urlParams["request-raw-url"] = rawUrl return NewItemRegisteredUsersRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove a user as a registered user of the device. +// Delete delete ref of navigation property registeredUsers for devices // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/device-delete-registeredusers?view=graph-rest-1.0 func (m *ItemRegisteredUsersRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemRegisteredUsersRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -91,9 +88,6 @@ func (m *ItemRegisteredUsersRefRequestBuilder) Delete(ctx context.Context, reque // Get collection of registered users of the device. For cloud joined devices and registered personal devices, registered users are set to the same value as registered owners at the time of registration. Read-only. Nullable. Supports $expand. // returns a StringCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/device-list-registeredusers?view=graph-rest-1.0 func (m *ItemRegisteredUsersRefRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemRegisteredUsersRefRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -111,11 +105,8 @@ func (m *ItemRegisteredUsersRefRequestBuilder) Get(ctx context.Context, requestC } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable), nil } -// Post add a registered user for the device. +// Post create new navigation property ref to registeredUsers for devices // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/device-post-registeredusers?view=graph-rest-1.0 func (m *ItemRegisteredUsersRefRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *ItemRegisteredUsersRefRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -130,7 +121,7 @@ func (m *ItemRegisteredUsersRefRequestBuilder) Post(ctx context.Context, body ie } return nil } -// ToDeleteRequestInformation remove a user as a registered user of the device. +// ToDeleteRequestInformation delete ref of navigation property registeredUsers for devices // returns a *RequestInformation when successful func (m *ItemRegisteredUsersRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemRegisteredUsersRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, "{+baseurl}/devices/{device%2Did}/registeredUsers/$ref?@id={%40id}", m.BaseRequestBuilder.PathParameters) @@ -158,7 +149,7 @@ func (m *ItemRegisteredUsersRefRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add a registered user for the device. +// ToPostRequestInformation create new navigation property ref to registeredUsers for devices // returns a *RequestInformation when successful func (m *ItemRegisteredUsersRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *ItemRegisteredUsersRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/devices/{device%2Did}/registeredUsers/$ref", m.BaseRequestBuilder.PathParameters) diff --git a/devices/item_registered_users_request_builder.go b/devices/item_registered_users_request_builder.go index dd356fd754e..69adcd45eff 100644 --- a/devices/item_registered_users_request_builder.go +++ b/devices/item_registered_users_request_builder.go @@ -72,9 +72,6 @@ func (m *ItemRegisteredUsersRequestBuilder) Count()(*ItemRegisteredUsersCountReq // Get collection of registered users of the device. For cloud joined devices and registered personal devices, registered users are set to the same value as registered owners at the time of registration. Read-only. Nullable. Supports $expand. // returns a DirectoryObjectCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/device-list-registeredusers?view=graph-rest-1.0 func (m *ItemRegisteredUsersRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemRegisteredUsersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/devices/item_restore_request_builder.go b/devices/item_restore_request_builder.go index 19014c8898b..4650d4c453c 100644 --- a/devices/item_restore_request_builder.go +++ b/devices/item_restore_request_builder.go @@ -36,7 +36,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-beta func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemRestoreRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/devices/item_transitive_member_of_request_builder.go b/devices/item_transitive_member_of_request_builder.go index 04f837f883d..90e4c055a8b 100644 --- a/devices/item_transitive_member_of_request_builder.go +++ b/devices/item_transitive_member_of_request_builder.go @@ -72,9 +72,6 @@ func (m *ItemTransitiveMemberOfRequestBuilder) Count()(*ItemTransitiveMemberOfCo // Get groups and administrative units that this device is a member of. This operation is transitive. Supports $expand. // returns a DirectoryObjectCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/device-list-transitivememberof?view=graph-rest-1.0 func (m *ItemTransitiveMemberOfRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTransitiveMemberOfRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/devices/item_usage_rights_request_builder.go b/devices/item_usage_rights_request_builder.go index bf794ca7898..8e1163a6e8b 100644 --- a/devices/item_usage_rights_request_builder.go +++ b/devices/item_usage_rights_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemUsageRightsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemUsageRightsRequestBuilderGetQueryParameters retrieve a list of usageRight objects for a given device. +// ItemUsageRightsRequestBuilderGetQueryParameters represents the usage rights a device has been granted. type ItemUsageRightsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemUsageRightsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7da func (m *ItemUsageRightsRequestBuilder) Count()(*ItemUsageRightsCountRequestBuilder) { return NewItemUsageRightsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of usageRight objects for a given device. +// Get represents the usage rights a device has been granted. // returns a UsageRightCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/device-list-usagerights?view=graph-rest-1.0 func (m *ItemUsageRightsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemUsageRightsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UsageRightCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemUsageRightsRequestBuilder) Post(ctx context.Context, body ie233ee76 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UsageRightable), nil } -// ToGetRequestInformation retrieve a list of usageRight objects for a given device. +// ToGetRequestInformation represents the usage rights a device has been granted. // returns a *RequestInformation when successful func (m *ItemUsageRightsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemUsageRightsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devices/validate_properties_request_builder.go b/devices/validate_properties_request_builder.go index 9934d20381b..a50a96e5a7c 100644 --- a/devices/validate_properties_request_builder.go +++ b/devices/validate_properties_request_builder.go @@ -34,7 +34,7 @@ func NewValidatePropertiesRequestBuilder(rawUrl string, requestAdapter i2ae4187f // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-validateproperties?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-validateproperties?view=graph-rest-beta func (m *ValidatePropertiesRequestBuilder) Post(ctx context.Context, body ValidatePropertiesPostRequestBodyable, requestConfiguration *ValidatePropertiesRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/deviceswithdeviceid/devices_with_device_id_request_builder.go b/deviceswithdeviceid/devices_with_device_id_request_builder.go index 32da80b34c5..46eef88ae3c 100644 --- a/deviceswithdeviceid/devices_with_device_id_request_builder.go +++ b/deviceswithdeviceid/devices_with_device_id_request_builder.go @@ -61,7 +61,7 @@ func NewDevicesWithDeviceIdRequestBuilder(rawUrl string, requestAdapter i2ae4187 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/device-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/device-delete?view=graph-rest-beta func (m *DevicesWithDeviceIdRequestBuilder) Delete(ctx context.Context, requestConfiguration *DevicesWithDeviceIdRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -81,7 +81,7 @@ func (m *DevicesWithDeviceIdRequestBuilder) Delete(ctx context.Context, requestC // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/device-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/device-get?view=graph-rest-beta func (m *DevicesWithDeviceIdRequestBuilder) Get(ctx context.Context, requestConfiguration *DevicesWithDeviceIdRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Deviceable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,7 +104,7 @@ func (m *DevicesWithDeviceIdRequestBuilder) Get(ctx context.Context, requestConf // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/device-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/device-update?view=graph-rest-beta func (m *DevicesWithDeviceIdRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Deviceable, requestConfiguration *DevicesWithDeviceIdRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Deviceable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/directory/administrative_units_delta_request_builder.go b/directory/administrative_units_delta_request_builder.go index e621e45fbba..1f9c8ee34b9 100644 --- a/directory/administrative_units_delta_request_builder.go +++ b/directory/administrative_units_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type AdministrativeUnitsDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AdministrativeUnitsDeltaRequestBuilderGetQueryParameters invoke function delta +// AdministrativeUnitsDeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted administrativeUnits without having to perform a full read of the entire resource collection. For details, see Using delta query. type AdministrativeUnitsDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewAdministrativeUnitsDeltaRequestBuilder(rawUrl string, requestAdapter i2a urlParams["request-raw-url"] = rawUrl return NewAdministrativeUnitsDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get get newly created, updated, or deleted administrativeUnits without having to perform a full read of the entire resource collection. For details, see Using delta query. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a AdministrativeUnitsDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/administrativeunit-delta?view=graph-rest-beta func (m *AdministrativeUnitsDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *AdministrativeUnitsDeltaRequestBuilderGetRequestConfiguration)(AdministrativeUnitsDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *AdministrativeUnitsDeltaRequestBuilder) Get(ctx context.Context, reques } return res.(AdministrativeUnitsDeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse get newly created, updated, or deleted administrativeUnits without having to perform a full read of the entire resource collection. For details, see Using delta query. // returns a AdministrativeUnitsDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/administrativeunit-delta?view=graph-rest-beta func (m *AdministrativeUnitsDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *AdministrativeUnitsDeltaRequestBuilderGetRequestConfiguration)(AdministrativeUnitsDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *AdministrativeUnitsDeltaRequestBuilder) GetAsDeltaGetResponse(ctx conte } return res.(AdministrativeUnitsDeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation get newly created, updated, or deleted administrativeUnits without having to perform a full read of the entire resource collection. For details, see Using delta query. // returns a *RequestInformation when successful func (m *AdministrativeUnitsDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AdministrativeUnitsDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directory/administrative_units_item_members_ref_request_builder.go b/directory/administrative_units_item_members_ref_request_builder.go index 9f882c22f30..de6e42aca31 100644 --- a/directory/administrative_units_item_members_ref_request_builder.go +++ b/directory/administrative_units_item_members_ref_request_builder.go @@ -107,9 +107,6 @@ func (m *AdministrativeUnitsItemMembersRefRequestBuilder) Get(ctx context.Contex } // Post create new navigation property ref to members for directory // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/administrativeunit-post-members?view=graph-rest-1.0 func (m *AdministrativeUnitsItemMembersRefRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *AdministrativeUnitsItemMembersRefRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/directory/administrative_units_item_members_request_builder.go b/directory/administrative_units_item_members_request_builder.go index ecc5d21bd4e..63b876ae83b 100644 --- a/directory/administrative_units_item_members_request_builder.go +++ b/directory/administrative_units_item_members_request_builder.go @@ -129,9 +129,6 @@ func (m *AdministrativeUnitsItemMembersRequestBuilder) GraphUser()(*Administrati // Post create new navigation property to members for directory // returns a DirectoryObjectable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/administrativeunit-post-members?view=graph-rest-1.0 func (m *AdministrativeUnitsItemMembersRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable, requestConfiguration *AdministrativeUnitsItemMembersRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/directory/administrative_units_item_scoped_role_members_request_builder.go b/directory/administrative_units_item_scoped_role_members_request_builder.go index cadeec7d66d..9061abe64d9 100644 --- a/directory/administrative_units_item_scoped_role_members_request_builder.go +++ b/directory/administrative_units_item_scoped_role_members_request_builder.go @@ -11,7 +11,7 @@ import ( type AdministrativeUnitsItemScopedRoleMembersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AdministrativeUnitsItemScopedRoleMembersRequestBuilderGetQueryParameters list Microsoft Entra role assignments with administrative unit scope. +// AdministrativeUnitsItemScopedRoleMembersRequestBuilderGetQueryParameters scoped-role members of this administrative unit. type AdministrativeUnitsItemScopedRoleMembersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewAdministrativeUnitsItemScopedRoleMembersRequestBuilder(rawUrl string, re func (m *AdministrativeUnitsItemScopedRoleMembersRequestBuilder) Count()(*AdministrativeUnitsItemScopedRoleMembersCountRequestBuilder) { return NewAdministrativeUnitsItemScopedRoleMembersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list Microsoft Entra role assignments with administrative unit scope. +// Get scoped-role members of this administrative unit. // returns a ScopedRoleMembershipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/administrativeunit-list-scopedrolemembers?view=graph-rest-1.0 func (m *AdministrativeUnitsItemScopedRoleMembersRequestBuilder) Get(ctx context.Context, requestConfiguration *AdministrativeUnitsItemScopedRoleMembersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ScopedRoleMembershipCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *AdministrativeUnitsItemScopedRoleMembersRequestBuilder) Get(ctx context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ScopedRoleMembershipCollectionResponseable), nil } -// Post assign a Microsoft Entra role with administrative unit scope. For a list of roles that can be assigned with administrative unit scope, see Assign Microsoft Entra roles with administrative unit scope. +// Post create new navigation property to scopedRoleMembers for directory // returns a ScopedRoleMembershipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/administrativeunit-post-scopedrolemembers?view=graph-rest-1.0 func (m *AdministrativeUnitsItemScopedRoleMembersRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ScopedRoleMembershipable, requestConfiguration *AdministrativeUnitsItemScopedRoleMembersRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ScopedRoleMembershipable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *AdministrativeUnitsItemScopedRoleMembersRequestBuilder) Post(ctx contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ScopedRoleMembershipable), nil } -// ToGetRequestInformation list Microsoft Entra role assignments with administrative unit scope. +// ToGetRequestInformation scoped-role members of this administrative unit. // returns a *RequestInformation when successful func (m *AdministrativeUnitsItemScopedRoleMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AdministrativeUnitsItemScopedRoleMembersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *AdministrativeUnitsItemScopedRoleMembersRequestBuilder) ToGetRequestInf requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation assign a Microsoft Entra role with administrative unit scope. For a list of roles that can be assigned with administrative unit scope, see Assign Microsoft Entra roles with administrative unit scope. +// ToPostRequestInformation create new navigation property to scopedRoleMembers for directory // returns a *RequestInformation when successful func (m *AdministrativeUnitsItemScopedRoleMembersRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ScopedRoleMembershipable, requestConfiguration *AdministrativeUnitsItemScopedRoleMembersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directory/administrative_units_item_scoped_role_members_scoped_role_membership_item_request_builder.go b/directory/administrative_units_item_scoped_role_members_scoped_role_membership_item_request_builder.go index 0b77b673fdf..0213bcc4084 100644 --- a/directory/administrative_units_item_scoped_role_members_scoped_role_membership_item_request_builder.go +++ b/directory/administrative_units_item_scoped_role_members_scoped_role_membership_item_request_builder.go @@ -18,7 +18,7 @@ type AdministrativeUnitsItemScopedRoleMembersScopedRoleMembershipItemRequestBuil // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// AdministrativeUnitsItemScopedRoleMembersScopedRoleMembershipItemRequestBuilderGetQueryParameters get a Microsoft Entra role assignment with administrative unit scope. +// AdministrativeUnitsItemScopedRoleMembersScopedRoleMembershipItemRequestBuilderGetQueryParameters scoped-role members of this administrative unit. type AdministrativeUnitsItemScopedRoleMembersScopedRoleMembershipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewAdministrativeUnitsItemScopedRoleMembersScopedRoleMembershipItemRequestB urlParams["request-raw-url"] = rawUrl return NewAdministrativeUnitsItemScopedRoleMembersScopedRoleMembershipItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove a Microsoft Entra role assignment with administrative unit scope. +// Delete delete navigation property scopedRoleMembers for directory // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/administrativeunit-delete-scopedrolemembers?view=graph-rest-1.0 func (m *AdministrativeUnitsItemScopedRoleMembersScopedRoleMembershipItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *AdministrativeUnitsItemScopedRoleMembersScopedRoleMembershipItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *AdministrativeUnitsItemScopedRoleMembersScopedRoleMembershipItemRequest } return nil } -// Get get a Microsoft Entra role assignment with administrative unit scope. +// Get scoped-role members of this administrative unit. // returns a ScopedRoleMembershipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/administrativeunit-get-scopedrolemembers?view=graph-rest-1.0 func (m *AdministrativeUnitsItemScopedRoleMembersScopedRoleMembershipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *AdministrativeUnitsItemScopedRoleMembersScopedRoleMembershipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ScopedRoleMembershipable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -116,7 +110,7 @@ func (m *AdministrativeUnitsItemScopedRoleMembersScopedRoleMembershipItemRequest } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ScopedRoleMembershipable), nil } -// ToDeleteRequestInformation remove a Microsoft Entra role assignment with administrative unit scope. +// ToDeleteRequestInformation delete navigation property scopedRoleMembers for directory // returns a *RequestInformation when successful func (m *AdministrativeUnitsItemScopedRoleMembersScopedRoleMembershipItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *AdministrativeUnitsItemScopedRoleMembersScopedRoleMembershipItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -127,7 +121,7 @@ func (m *AdministrativeUnitsItemScopedRoleMembersScopedRoleMembershipItemRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a Microsoft Entra role assignment with administrative unit scope. +// ToGetRequestInformation scoped-role members of this administrative unit. // returns a *RequestInformation when successful func (m *AdministrativeUnitsItemScopedRoleMembersScopedRoleMembershipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AdministrativeUnitsItemScopedRoleMembersScopedRoleMembershipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directory/attribute_sets_attribute_set_item_request_builder.go b/directory/attribute_sets_attribute_set_item_request_builder.go index ac5b257780a..d0ec847edbd 100644 --- a/directory/attribute_sets_attribute_set_item_request_builder.go +++ b/directory/attribute_sets_attribute_set_item_request_builder.go @@ -18,7 +18,7 @@ type AttributeSetsAttributeSetItemRequestBuilderDeleteRequestConfiguration struc // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// AttributeSetsAttributeSetItemRequestBuilderGetQueryParameters read the properties and relationships of an attributeSet object. +// AttributeSetsAttributeSetItemRequestBuilderGetQueryParameters group of related custom security attribute definitions. type AttributeSetsAttributeSetItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *AttributeSetsAttributeSetItemRequestBuilder) Delete(ctx context.Context } return nil } -// Get read the properties and relationships of an attributeSet object. +// Get group of related custom security attribute definitions. // returns a AttributeSetable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attributeset-get?view=graph-rest-1.0 func (m *AttributeSetsAttributeSetItemRequestBuilder) Get(ctx context.Context, requestConfiguration *AttributeSetsAttributeSetItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttributeSetable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *AttributeSetsAttributeSetItemRequestBuilder) Get(ctx context.Context, r } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttributeSetable), nil } -// Patch update the properties of an attributeSet object. +// Patch update the navigation property attributeSets in directory // returns a AttributeSetable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attributeset-update?view=graph-rest-1.0 func (m *AttributeSetsAttributeSetItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttributeSetable, requestConfiguration *AttributeSetsAttributeSetItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttributeSetable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *AttributeSetsAttributeSetItemRequestBuilder) ToDeleteRequestInformation requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an attributeSet object. +// ToGetRequestInformation group of related custom security attribute definitions. // returns a *RequestInformation when successful func (m *AttributeSetsAttributeSetItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AttributeSetsAttributeSetItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *AttributeSetsAttributeSetItemRequestBuilder) ToGetRequestInformation(ct requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an attributeSet object. +// ToPatchRequestInformation update the navigation property attributeSets in directory // returns a *RequestInformation when successful func (m *AttributeSetsAttributeSetItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttributeSetable, requestConfiguration *AttributeSetsAttributeSetItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directory/attribute_sets_request_builder.go b/directory/attribute_sets_request_builder.go index 7bde8dea17a..cdd499fbde8 100644 --- a/directory/attribute_sets_request_builder.go +++ b/directory/attribute_sets_request_builder.go @@ -11,7 +11,7 @@ import ( type AttributeSetsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AttributeSetsRequestBuilderGetQueryParameters get a list of the attributeSet objects and their properties. +// AttributeSetsRequestBuilderGetQueryParameters group of related custom security attribute definitions. type AttributeSetsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewAttributeSetsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee func (m *AttributeSetsRequestBuilder) Count()(*AttributeSetsCountRequestBuilder) { return NewAttributeSetsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the attributeSet objects and their properties. +// Get group of related custom security attribute definitions. // returns a AttributeSetCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/directory-list-attributesets?view=graph-rest-1.0 func (m *AttributeSetsRequestBuilder) Get(ctx context.Context, requestConfiguration *AttributeSetsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttributeSetCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *AttributeSetsRequestBuilder) Get(ctx context.Context, requestConfigurat } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttributeSetCollectionResponseable), nil } -// Post create a new attributeSet object. +// Post create new navigation property to attributeSets for directory // returns a AttributeSetable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/directory-post-attributesets?view=graph-rest-1.0 func (m *AttributeSetsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttributeSetable, requestConfiguration *AttributeSetsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttributeSetable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *AttributeSetsRequestBuilder) Post(ctx context.Context, body ie233ee762e } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttributeSetable), nil } -// ToGetRequestInformation get a list of the attributeSet objects and their properties. +// ToGetRequestInformation group of related custom security attribute definitions. // returns a *RequestInformation when successful func (m *AttributeSetsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AttributeSetsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *AttributeSetsRequestBuilder) ToGetRequestInformation(ctx context.Contex requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new attributeSet object. +// ToPostRequestInformation create new navigation property to attributeSets for directory // returns a *RequestInformation when successful func (m *AttributeSetsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttributeSetable, requestConfiguration *AttributeSetsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directory/certificate_authorities_certificate_based_application_configurations_certificate_based_application_configuration_item_request_builder.go b/directory/certificate_authorities_certificate_based_application_configurations_certificate_based_application_configuration_item_request_builder.go index 67926d5afcf..1a23f6c7f85 100644 --- a/directory/certificate_authorities_certificate_based_application_configurations_certificate_based_application_configuration_item_request_builder.go +++ b/directory/certificate_authorities_certificate_based_application_configurations_certificate_based_application_configuration_item_request_builder.go @@ -18,7 +18,7 @@ type CertificateAuthoritiesCertificateBasedApplicationConfigurationsCertificateB // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// CertificateAuthoritiesCertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilderGetQueryParameters read the properties and relationships of a certificateBasedApplicationConfiguration object. +// CertificateAuthoritiesCertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilderGetQueryParameters defines the trusted certificate authorities for certificates that can be added to apps and service principals in the tenant. type CertificateAuthoritiesCertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewCertificateAuthoritiesCertificateBasedApplicationConfigurationsCertifica urlParams["request-raw-url"] = rawUrl return NewCertificateAuthoritiesCertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete the properties and relationships of a certificateBasedApplicationConfiguration object. +// Delete delete navigation property certificateBasedApplicationConfigurations for directory // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/certificatebasedapplicationconfiguration-delete?view=graph-rest-1.0 func (m *CertificateAuthoritiesCertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *CertificateAuthoritiesCertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *CertificateAuthoritiesCertificateBasedApplicationConfigurationsCertific } return nil } -// Get read the properties and relationships of a certificateBasedApplicationConfiguration object. +// Get defines the trusted certificate authorities for certificates that can be added to apps and service principals in the tenant. // returns a CertificateBasedApplicationConfigurationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/certificatebasedapplicationconfiguration-get?view=graph-rest-1.0 func (m *CertificateAuthoritiesCertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *CertificateAuthoritiesCertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateBasedApplicationConfigurationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *CertificateAuthoritiesCertificateBasedApplicationConfigurationsCertific } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateBasedApplicationConfigurationable), nil } -// Patch update the properties of a certificateBasedApplicationConfiguration object. To update the trustedCertificateAuthorities within a certificateBasedApplicationConfiguration object, use the Update certificateAuthorityAsEntity operation. +// Patch update the navigation property certificateBasedApplicationConfigurations in directory // returns a CertificateBasedApplicationConfigurationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/certificatebasedapplicationconfiguration-update?view=graph-rest-1.0 func (m *CertificateAuthoritiesCertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateBasedApplicationConfigurationable, requestConfiguration *CertificateAuthoritiesCertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateBasedApplicationConfigurationable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *CertificateAuthoritiesCertificateBasedApplicationConfigurationsCertific } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateBasedApplicationConfigurationable), nil } -// ToDeleteRequestInformation delete the properties and relationships of a certificateBasedApplicationConfiguration object. +// ToDeleteRequestInformation delete navigation property certificateBasedApplicationConfigurations for directory // returns a *RequestInformation when successful func (m *CertificateAuthoritiesCertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *CertificateAuthoritiesCertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *CertificateAuthoritiesCertificateBasedApplicationConfigurationsCertific requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a certificateBasedApplicationConfiguration object. +// ToGetRequestInformation defines the trusted certificate authorities for certificates that can be added to apps and service principals in the tenant. // returns a *RequestInformation when successful func (m *CertificateAuthoritiesCertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CertificateAuthoritiesCertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *CertificateAuthoritiesCertificateBasedApplicationConfigurationsCertific requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a certificateBasedApplicationConfiguration object. To update the trustedCertificateAuthorities within a certificateBasedApplicationConfiguration object, use the Update certificateAuthorityAsEntity operation. +// ToPatchRequestInformation update the navigation property certificateBasedApplicationConfigurations in directory // returns a *RequestInformation when successful func (m *CertificateAuthoritiesCertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateBasedApplicationConfigurationable, requestConfiguration *CertificateAuthoritiesCertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directory/certificate_authorities_certificate_based_application_configurations_request_builder.go b/directory/certificate_authorities_certificate_based_application_configurations_request_builder.go index 9d631f66fb9..f5cdcb9c5e1 100644 --- a/directory/certificate_authorities_certificate_based_application_configurations_request_builder.go +++ b/directory/certificate_authorities_certificate_based_application_configurations_request_builder.go @@ -11,7 +11,7 @@ import ( type CertificateAuthoritiesCertificateBasedApplicationConfigurationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// CertificateAuthoritiesCertificateBasedApplicationConfigurationsRequestBuilderGetQueryParameters get a list of certificateBasedApplicationConfiguration objects. +// CertificateAuthoritiesCertificateBasedApplicationConfigurationsRequestBuilderGetQueryParameters defines the trusted certificate authorities for certificates that can be added to apps and service principals in the tenant. type CertificateAuthoritiesCertificateBasedApplicationConfigurationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewCertificateAuthoritiesCertificateBasedApplicationConfigurationsRequestBu func (m *CertificateAuthoritiesCertificateBasedApplicationConfigurationsRequestBuilder) Count()(*CertificateAuthoritiesCertificateBasedApplicationConfigurationsCountRequestBuilder) { return NewCertificateAuthoritiesCertificateBasedApplicationConfigurationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of certificateBasedApplicationConfiguration objects. +// Get defines the trusted certificate authorities for certificates that can be added to apps and service principals in the tenant. // returns a CertificateBasedApplicationConfigurationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/certificateauthoritypath-list-certificatebasedapplicationconfigurations?view=graph-rest-1.0 func (m *CertificateAuthoritiesCertificateBasedApplicationConfigurationsRequestBuilder) Get(ctx context.Context, requestConfiguration *CertificateAuthoritiesCertificateBasedApplicationConfigurationsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateBasedApplicationConfigurationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *CertificateAuthoritiesCertificateBasedApplicationConfigurationsRequestB } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateBasedApplicationConfigurationable), nil } -// ToGetRequestInformation get a list of certificateBasedApplicationConfiguration objects. +// ToGetRequestInformation defines the trusted certificate authorities for certificates that can be added to apps and service principals in the tenant. // returns a *RequestInformation when successful func (m *CertificateAuthoritiesCertificateBasedApplicationConfigurationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CertificateAuthoritiesCertificateBasedApplicationConfigurationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directory/custom_security_attribute_definitions_custom_security_attribute_definition_item_request_builder.go b/directory/custom_security_attribute_definitions_custom_security_attribute_definition_item_request_builder.go index 22d825d5487..d757de584dd 100644 --- a/directory/custom_security_attribute_definitions_custom_security_attribute_definition_item_request_builder.go +++ b/directory/custom_security_attribute_definitions_custom_security_attribute_definition_item_request_builder.go @@ -18,7 +18,7 @@ type CustomSecurityAttributeDefinitionsCustomSecurityAttributeDefinitionItemRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// CustomSecurityAttributeDefinitionsCustomSecurityAttributeDefinitionItemRequestBuilderGetQueryParameters read the properties and relationships of a customSecurityAttributeDefinition object. +// CustomSecurityAttributeDefinitionsCustomSecurityAttributeDefinitionItemRequestBuilderGetQueryParameters schema of a custom security attributes (key-value pairs). type CustomSecurityAttributeDefinitionsCustomSecurityAttributeDefinitionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *CustomSecurityAttributeDefinitionsCustomSecurityAttributeDefinitionItem } return nil } -// Get read the properties and relationships of a customSecurityAttributeDefinition object. +// Get schema of a custom security attributes (key-value pairs). // returns a CustomSecurityAttributeDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/customsecurityattributedefinition-get?view=graph-rest-1.0 func (m *CustomSecurityAttributeDefinitionsCustomSecurityAttributeDefinitionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *CustomSecurityAttributeDefinitionsCustomSecurityAttributeDefinitionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomSecurityAttributeDefinitionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,12 +95,9 @@ func (m *CustomSecurityAttributeDefinitionsCustomSecurityAttributeDefinitionItem } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomSecurityAttributeDefinitionable), nil } -// Patch update the properties of a customSecurityAttributeDefinition object. +// Patch update the navigation property customSecurityAttributeDefinitions in directory // returns a CustomSecurityAttributeDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/customsecurityattributedefinition-update?view=graph-rest-1.0 func (m *CustomSecurityAttributeDefinitionsCustomSecurityAttributeDefinitionItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomSecurityAttributeDefinitionable, requestConfiguration *CustomSecurityAttributeDefinitionsCustomSecurityAttributeDefinitionItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomSecurityAttributeDefinitionable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -132,7 +126,7 @@ func (m *CustomSecurityAttributeDefinitionsCustomSecurityAttributeDefinitionItem requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a customSecurityAttributeDefinition object. +// ToGetRequestInformation schema of a custom security attributes (key-value pairs). // returns a *RequestInformation when successful func (m *CustomSecurityAttributeDefinitionsCustomSecurityAttributeDefinitionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CustomSecurityAttributeDefinitionsCustomSecurityAttributeDefinitionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -146,7 +140,7 @@ func (m *CustomSecurityAttributeDefinitionsCustomSecurityAttributeDefinitionItem requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a customSecurityAttributeDefinition object. +// ToPatchRequestInformation update the navigation property customSecurityAttributeDefinitions in directory // returns a *RequestInformation when successful func (m *CustomSecurityAttributeDefinitionsCustomSecurityAttributeDefinitionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomSecurityAttributeDefinitionable, requestConfiguration *CustomSecurityAttributeDefinitionsCustomSecurityAttributeDefinitionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directory/custom_security_attribute_definitions_item_allowed_values_allowed_value_item_request_builder.go b/directory/custom_security_attribute_definitions_item_allowed_values_allowed_value_item_request_builder.go index 91496fe1d26..b6f4c09d235 100644 --- a/directory/custom_security_attribute_definitions_item_allowed_values_allowed_value_item_request_builder.go +++ b/directory/custom_security_attribute_definitions_item_allowed_values_allowed_value_item_request_builder.go @@ -18,7 +18,7 @@ type CustomSecurityAttributeDefinitionsItemAllowedValuesAllowedValueItemRequestB // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// CustomSecurityAttributeDefinitionsItemAllowedValuesAllowedValueItemRequestBuilderGetQueryParameters read the properties and relationships of an allowedValue object. +// CustomSecurityAttributeDefinitionsItemAllowedValuesAllowedValueItemRequestBuilderGetQueryParameters values that are predefined for this custom security attribute. This navigation property is not returned by default and must be specified in an $expand query. For example, /directory/customSecurityAttributeDefinitions?$expand=allowedValues. type CustomSecurityAttributeDefinitionsItemAllowedValuesAllowedValueItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *CustomSecurityAttributeDefinitionsItemAllowedValuesAllowedValueItemRequ } return nil } -// Get read the properties and relationships of an allowedValue object. +// Get values that are predefined for this custom security attribute. This navigation property is not returned by default and must be specified in an $expand query. For example, /directory/customSecurityAttributeDefinitions?$expand=allowedValues. // returns a AllowedValueable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/allowedvalue-get?view=graph-rest-1.0 func (m *CustomSecurityAttributeDefinitionsItemAllowedValuesAllowedValueItemRequestBuilder) Get(ctx context.Context, requestConfiguration *CustomSecurityAttributeDefinitionsItemAllowedValuesAllowedValueItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AllowedValueable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *CustomSecurityAttributeDefinitionsItemAllowedValuesAllowedValueItemRequ } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AllowedValueable), nil } -// Patch update the properties of an allowedValue object. +// Patch update the navigation property allowedValues in directory // returns a AllowedValueable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/allowedvalue-update?view=graph-rest-1.0 func (m *CustomSecurityAttributeDefinitionsItemAllowedValuesAllowedValueItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AllowedValueable, requestConfiguration *CustomSecurityAttributeDefinitionsItemAllowedValuesAllowedValueItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AllowedValueable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *CustomSecurityAttributeDefinitionsItemAllowedValuesAllowedValueItemRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an allowedValue object. +// ToGetRequestInformation values that are predefined for this custom security attribute. This navigation property is not returned by default and must be specified in an $expand query. For example, /directory/customSecurityAttributeDefinitions?$expand=allowedValues. // returns a *RequestInformation when successful func (m *CustomSecurityAttributeDefinitionsItemAllowedValuesAllowedValueItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CustomSecurityAttributeDefinitionsItemAllowedValuesAllowedValueItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *CustomSecurityAttributeDefinitionsItemAllowedValuesAllowedValueItemRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an allowedValue object. +// ToPatchRequestInformation update the navigation property allowedValues in directory // returns a *RequestInformation when successful func (m *CustomSecurityAttributeDefinitionsItemAllowedValuesAllowedValueItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AllowedValueable, requestConfiguration *CustomSecurityAttributeDefinitionsItemAllowedValuesAllowedValueItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directory/custom_security_attribute_definitions_item_allowed_values_request_builder.go b/directory/custom_security_attribute_definitions_item_allowed_values_request_builder.go index 32afc6d8ac9..ec87b48eb8f 100644 --- a/directory/custom_security_attribute_definitions_item_allowed_values_request_builder.go +++ b/directory/custom_security_attribute_definitions_item_allowed_values_request_builder.go @@ -11,7 +11,7 @@ import ( type CustomSecurityAttributeDefinitionsItemAllowedValuesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// CustomSecurityAttributeDefinitionsItemAllowedValuesRequestBuilderGetQueryParameters get a list of the allowedValue objects and their properties. +// CustomSecurityAttributeDefinitionsItemAllowedValuesRequestBuilderGetQueryParameters values that are predefined for this custom security attribute. This navigation property is not returned by default and must be specified in an $expand query. For example, /directory/customSecurityAttributeDefinitions?$expand=allowedValues. type CustomSecurityAttributeDefinitionsItemAllowedValuesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewCustomSecurityAttributeDefinitionsItemAllowedValuesRequestBuilder(rawUrl func (m *CustomSecurityAttributeDefinitionsItemAllowedValuesRequestBuilder) Count()(*CustomSecurityAttributeDefinitionsItemAllowedValuesCountRequestBuilder) { return NewCustomSecurityAttributeDefinitionsItemAllowedValuesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the allowedValue objects and their properties. +// Get values that are predefined for this custom security attribute. This navigation property is not returned by default and must be specified in an $expand query. For example, /directory/customSecurityAttributeDefinitions?$expand=allowedValues. // returns a AllowedValueCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/customsecurityattributedefinition-list-allowedvalues?view=graph-rest-1.0 func (m *CustomSecurityAttributeDefinitionsItemAllowedValuesRequestBuilder) Get(ctx context.Context, requestConfiguration *CustomSecurityAttributeDefinitionsItemAllowedValuesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AllowedValueCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *CustomSecurityAttributeDefinitionsItemAllowedValuesRequestBuilder) Get( } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AllowedValueCollectionResponseable), nil } -// Post create a new allowedValue object. +// Post create new navigation property to allowedValues for directory // returns a AllowedValueable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/customsecurityattributedefinition-post-allowedvalues?view=graph-rest-1.0 func (m *CustomSecurityAttributeDefinitionsItemAllowedValuesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AllowedValueable, requestConfiguration *CustomSecurityAttributeDefinitionsItemAllowedValuesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AllowedValueable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *CustomSecurityAttributeDefinitionsItemAllowedValuesRequestBuilder) Post } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AllowedValueable), nil } -// ToGetRequestInformation get a list of the allowedValue objects and their properties. +// ToGetRequestInformation values that are predefined for this custom security attribute. This navigation property is not returned by default and must be specified in an $expand query. For example, /directory/customSecurityAttributeDefinitions?$expand=allowedValues. // returns a *RequestInformation when successful func (m *CustomSecurityAttributeDefinitionsItemAllowedValuesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CustomSecurityAttributeDefinitionsItemAllowedValuesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *CustomSecurityAttributeDefinitionsItemAllowedValuesRequestBuilder) ToGe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new allowedValue object. +// ToPostRequestInformation create new navigation property to allowedValues for directory // returns a *RequestInformation when successful func (m *CustomSecurityAttributeDefinitionsItemAllowedValuesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AllowedValueable, requestConfiguration *CustomSecurityAttributeDefinitionsItemAllowedValuesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directory/custom_security_attribute_definitions_request_builder.go b/directory/custom_security_attribute_definitions_request_builder.go index 6f03b9f056a..384d95b7ee0 100644 --- a/directory/custom_security_attribute_definitions_request_builder.go +++ b/directory/custom_security_attribute_definitions_request_builder.go @@ -11,7 +11,7 @@ import ( type CustomSecurityAttributeDefinitionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// CustomSecurityAttributeDefinitionsRequestBuilderGetQueryParameters get a list of the customSecurityAttributeDefinition objects and their properties. +// CustomSecurityAttributeDefinitionsRequestBuilderGetQueryParameters schema of a custom security attributes (key-value pairs). type CustomSecurityAttributeDefinitionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewCustomSecurityAttributeDefinitionsRequestBuilder(rawUrl string, requestA func (m *CustomSecurityAttributeDefinitionsRequestBuilder) Count()(*CustomSecurityAttributeDefinitionsCountRequestBuilder) { return NewCustomSecurityAttributeDefinitionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the customSecurityAttributeDefinition objects and their properties. +// Get schema of a custom security attributes (key-value pairs). // returns a CustomSecurityAttributeDefinitionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/directory-list-customsecurityattributedefinitions?view=graph-rest-1.0 func (m *CustomSecurityAttributeDefinitionsRequestBuilder) Get(ctx context.Context, requestConfiguration *CustomSecurityAttributeDefinitionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomSecurityAttributeDefinitionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *CustomSecurityAttributeDefinitionsRequestBuilder) Get(ctx context.Conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomSecurityAttributeDefinitionCollectionResponseable), nil } -// Post create a new customSecurityAttributeDefinition object. +// Post create new navigation property to customSecurityAttributeDefinitions for directory // returns a CustomSecurityAttributeDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/directory-post-customsecurityattributedefinitions?view=graph-rest-1.0 func (m *CustomSecurityAttributeDefinitionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomSecurityAttributeDefinitionable, requestConfiguration *CustomSecurityAttributeDefinitionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomSecurityAttributeDefinitionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *CustomSecurityAttributeDefinitionsRequestBuilder) Post(ctx context.Cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomSecurityAttributeDefinitionable), nil } -// ToGetRequestInformation get a list of the customSecurityAttributeDefinition objects and their properties. +// ToGetRequestInformation schema of a custom security attributes (key-value pairs). // returns a *RequestInformation when successful func (m *CustomSecurityAttributeDefinitionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CustomSecurityAttributeDefinitionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *CustomSecurityAttributeDefinitionsRequestBuilder) ToGetRequestInformati requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new customSecurityAttributeDefinition object. +// ToPostRequestInformation create new navigation property to customSecurityAttributeDefinitions for directory // returns a *RequestInformation when successful func (m *CustomSecurityAttributeDefinitionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomSecurityAttributeDefinitionable, requestConfiguration *CustomSecurityAttributeDefinitionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directory/deleted_items_get_by_ids_request_builder.go b/directory/deleted_items_get_by_ids_request_builder.go index 40b55372031..e3ce63eff14 100644 --- a/directory/deleted_items_get_by_ids_request_builder.go +++ b/directory/deleted_items_get_by_ids_request_builder.go @@ -36,7 +36,7 @@ func NewDeletedItemsGetByIdsRequestBuilder(rawUrl string, requestAdapter i2ae418 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-beta func (m *DeletedItemsGetByIdsRequestBuilder) Post(ctx context.Context, body DeletedItemsGetByIdsPostRequestBodyable, requestConfiguration *DeletedItemsGetByIdsRequestBuilderPostRequestConfiguration)(DeletedItemsGetByIdsResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *DeletedItemsGetByIdsRequestBuilder) Post(ctx context.Context, body Dele // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-beta func (m *DeletedItemsGetByIdsRequestBuilder) PostAsGetByIdsPostResponse(ctx context.Context, body DeletedItemsGetByIdsPostRequestBodyable, requestConfiguration *DeletedItemsGetByIdsRequestBuilderPostRequestConfiguration)(DeletedItemsGetByIdsPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/directory/deleted_items_item_check_member_groups_request_builder.go b/directory/deleted_items_item_check_member_groups_request_builder.go index d34673f793c..3ddd88cbf08 100644 --- a/directory/deleted_items_item_check_member_groups_request_builder.go +++ b/directory/deleted_items_item_check_member_groups_request_builder.go @@ -36,7 +36,7 @@ func NewDeletedItemsItemCheckMemberGroupsRequestBuilder(rawUrl string, requestAd // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-beta func (m *DeletedItemsItemCheckMemberGroupsRequestBuilder) Post(ctx context.Context, body DeletedItemsItemCheckMemberGroupsPostRequestBodyable, requestConfiguration *DeletedItemsItemCheckMemberGroupsRequestBuilderPostRequestConfiguration)(DeletedItemsItemCheckMemberGroupsResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *DeletedItemsItemCheckMemberGroupsRequestBuilder) Post(ctx context.Conte // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-beta func (m *DeletedItemsItemCheckMemberGroupsRequestBuilder) PostAsCheckMemberGroupsPostResponse(ctx context.Context, body DeletedItemsItemCheckMemberGroupsPostRequestBodyable, requestConfiguration *DeletedItemsItemCheckMemberGroupsRequestBuilderPostRequestConfiguration)(DeletedItemsItemCheckMemberGroupsPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/directory/deleted_items_item_get_member_groups_request_builder.go b/directory/deleted_items_item_get_member_groups_request_builder.go index 98136427e66..a21249e48e9 100644 --- a/directory/deleted_items_item_get_member_groups_request_builder.go +++ b/directory/deleted_items_item_get_member_groups_request_builder.go @@ -36,7 +36,7 @@ func NewDeletedItemsItemGetMemberGroupsRequestBuilder(rawUrl string, requestAdap // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-beta func (m *DeletedItemsItemGetMemberGroupsRequestBuilder) Post(ctx context.Context, body DeletedItemsItemGetMemberGroupsPostRequestBodyable, requestConfiguration *DeletedItemsItemGetMemberGroupsRequestBuilderPostRequestConfiguration)(DeletedItemsItemGetMemberGroupsResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *DeletedItemsItemGetMemberGroupsRequestBuilder) Post(ctx context.Context // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-beta func (m *DeletedItemsItemGetMemberGroupsRequestBuilder) PostAsGetMemberGroupsPostResponse(ctx context.Context, body DeletedItemsItemGetMemberGroupsPostRequestBodyable, requestConfiguration *DeletedItemsItemGetMemberGroupsRequestBuilderPostRequestConfiguration)(DeletedItemsItemGetMemberGroupsPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/directory/deleted_items_item_restore_request_builder.go b/directory/deleted_items_item_restore_request_builder.go index 2b5c3fced89..ef77582ca01 100644 --- a/directory/deleted_items_item_restore_request_builder.go +++ b/directory/deleted_items_item_restore_request_builder.go @@ -36,7 +36,7 @@ func NewDeletedItemsItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-beta func (m *DeletedItemsItemRestoreRequestBuilder) Post(ctx context.Context, requestConfiguration *DeletedItemsItemRestoreRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/directory/deleted_items_validate_properties_request_builder.go b/directory/deleted_items_validate_properties_request_builder.go index ba992d47549..c9a90416f9c 100644 --- a/directory/deleted_items_validate_properties_request_builder.go +++ b/directory/deleted_items_validate_properties_request_builder.go @@ -34,7 +34,7 @@ func NewDeletedItemsValidatePropertiesRequestBuilder(rawUrl string, requestAdapt // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-validateproperties?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-validateproperties?view=graph-rest-beta func (m *DeletedItemsValidatePropertiesRequestBuilder) Post(ctx context.Context, body DeletedItemsValidatePropertiesPostRequestBodyable, requestConfiguration *DeletedItemsValidatePropertiesRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/directory/device_local_credentials_device_local_credential_info_item_request_builder.go b/directory/device_local_credentials_device_local_credential_info_item_request_builder.go index afa0716ebfe..51a937dfae3 100644 --- a/directory/device_local_credentials_device_local_credential_info_item_request_builder.go +++ b/directory/device_local_credentials_device_local_credential_info_item_request_builder.go @@ -18,7 +18,7 @@ type DeviceLocalCredentialsDeviceLocalCredentialInfoItemRequestBuilderDeleteRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DeviceLocalCredentialsDeviceLocalCredentialInfoItemRequestBuilderGetQueryParameters retrieve the properties of a deviceLocalCredentialInfo for a specified device object. +// DeviceLocalCredentialsDeviceLocalCredentialInfoItemRequestBuilderGetQueryParameters the credentials of the device's local administrator account backed up to Microsoft Entra ID. type DeviceLocalCredentialsDeviceLocalCredentialInfoItemRequestBuilderGetQueryParameters struct { // Select properties to be returned Select []string `uriparametername:"%24select"` @@ -68,12 +68,9 @@ func (m *DeviceLocalCredentialsDeviceLocalCredentialInfoItemRequestBuilder) Dele } return nil } -// Get retrieve the properties of a deviceLocalCredentialInfo for a specified device object. +// Get the credentials of the device's local administrator account backed up to Microsoft Entra ID. // returns a DeviceLocalCredentialInfoable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/devicelocalcredentialinfo-get?view=graph-rest-1.0 func (m *DeviceLocalCredentialsDeviceLocalCredentialInfoItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceLocalCredentialsDeviceLocalCredentialInfoItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceLocalCredentialInfoable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -122,7 +119,7 @@ func (m *DeviceLocalCredentialsDeviceLocalCredentialInfoItemRequestBuilder) ToDe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties of a deviceLocalCredentialInfo for a specified device object. +// ToGetRequestInformation the credentials of the device's local administrator account backed up to Microsoft Entra ID. // returns a *RequestInformation when successful func (m *DeviceLocalCredentialsDeviceLocalCredentialInfoItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceLocalCredentialsDeviceLocalCredentialInfoItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directory/device_local_credentials_request_builder.go b/directory/device_local_credentials_request_builder.go index 44f99c0a9ac..8964e214e5d 100644 --- a/directory/device_local_credentials_request_builder.go +++ b/directory/device_local_credentials_request_builder.go @@ -11,7 +11,7 @@ import ( type DeviceLocalCredentialsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeviceLocalCredentialsRequestBuilderGetQueryParameters get a list of the deviceLocalCredentialInfo objects and their properties excluding the credentials. +// DeviceLocalCredentialsRequestBuilderGetQueryParameters the credentials of the device's local administrator account backed up to Microsoft Entra ID. type DeviceLocalCredentialsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -72,12 +72,9 @@ func NewDeviceLocalCredentialsRequestBuilder(rawUrl string, requestAdapter i2ae4 func (m *DeviceLocalCredentialsRequestBuilder) Count()(*DeviceLocalCredentialsCountRequestBuilder) { return NewDeviceLocalCredentialsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the deviceLocalCredentialInfo objects and their properties excluding the credentials. +// Get the credentials of the device's local administrator account backed up to Microsoft Entra ID. // returns a DeviceLocalCredentialInfoCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/directory-list-devicelocalcredentials?view=graph-rest-1.0 func (m *DeviceLocalCredentialsRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceLocalCredentialsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceLocalCredentialInfoCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -115,7 +112,7 @@ func (m *DeviceLocalCredentialsRequestBuilder) Post(ctx context.Context, body ie } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceLocalCredentialInfoable), nil } -// ToGetRequestInformation get a list of the deviceLocalCredentialInfo objects and their properties excluding the credentials. +// ToGetRequestInformation the credentials of the device's local administrator account backed up to Microsoft Entra ID. // returns a *RequestInformation when successful func (m *DeviceLocalCredentialsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceLocalCredentialsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directory/external_user_profiles_external_user_profile_item_request_builder.go b/directory/external_user_profiles_external_user_profile_item_request_builder.go index f92b3d5ba01..aa5a94adfca 100644 --- a/directory/external_user_profiles_external_user_profile_item_request_builder.go +++ b/directory/external_user_profiles_external_user_profile_item_request_builder.go @@ -18,7 +18,7 @@ type ExternalUserProfilesExternalUserProfileItemRequestBuilderDeleteRequestConfi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ExternalUserProfilesExternalUserProfileItemRequestBuilderGetQueryParameters retrieve the properties of a specific externalUserProfile. +// ExternalUserProfilesExternalUserProfileItemRequestBuilderGetQueryParameters collection of external user profiles that represent collaborators in the directory. type ExternalUserProfilesExternalUserProfileItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewExternalUserProfilesExternalUserProfileItemRequestBuilder(rawUrl string, urlParams["request-raw-url"] = rawUrl return NewExternalUserProfilesExternalUserProfileItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an externalUserProfile object. Note: To permanently delete the externalUserProfile, follow permanently delete an item. To restore an externalUserProfile, follow restore a deleted item. +// Delete delete navigation property externalUserProfiles for directory // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/directory-delete-externaluserprofiles?view=graph-rest-1.0 func (m *ExternalUserProfilesExternalUserProfileItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ExternalUserProfilesExternalUserProfileItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ExternalUserProfilesExternalUserProfileItemRequestBuilder) Delete(ctx c } return nil } -// Get retrieve the properties of a specific externalUserProfile. +// Get collection of external user profiles that represent collaborators in the directory. // returns a ExternalUserProfileable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/externaluserprofile-get?view=graph-rest-1.0 func (m *ExternalUserProfilesExternalUserProfileItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ExternalUserProfilesExternalUserProfileItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExternalUserProfileable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ExternalUserProfilesExternalUserProfileItemRequestBuilder) Get(ctx cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExternalUserProfileable), nil } -// Patch update the properties of a externalUserProfile object. +// Patch update the navigation property externalUserProfiles in directory // returns a ExternalUserProfileable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/externaluserprofile-update?view=graph-rest-1.0 func (m *ExternalUserProfilesExternalUserProfileItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExternalUserProfileable, requestConfiguration *ExternalUserProfilesExternalUserProfileItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExternalUserProfileable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *ExternalUserProfilesExternalUserProfileItemRequestBuilder) Patch(ctx co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExternalUserProfileable), nil } -// ToDeleteRequestInformation delete an externalUserProfile object. Note: To permanently delete the externalUserProfile, follow permanently delete an item. To restore an externalUserProfile, follow restore a deleted item. +// ToDeleteRequestInformation delete navigation property externalUserProfiles for directory // returns a *RequestInformation when successful func (m *ExternalUserProfilesExternalUserProfileItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ExternalUserProfilesExternalUserProfileItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *ExternalUserProfilesExternalUserProfileItemRequestBuilder) ToDeleteRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties of a specific externalUserProfile. +// ToGetRequestInformation collection of external user profiles that represent collaborators in the directory. // returns a *RequestInformation when successful func (m *ExternalUserProfilesExternalUserProfileItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ExternalUserProfilesExternalUserProfileItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *ExternalUserProfilesExternalUserProfileItemRequestBuilder) ToGetRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a externalUserProfile object. +// ToPatchRequestInformation update the navigation property externalUserProfiles in directory // returns a *RequestInformation when successful func (m *ExternalUserProfilesExternalUserProfileItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExternalUserProfileable, requestConfiguration *ExternalUserProfilesExternalUserProfileItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directory/external_user_profiles_request_builder.go b/directory/external_user_profiles_request_builder.go index c8e6f756766..73b6336fe9e 100644 --- a/directory/external_user_profiles_request_builder.go +++ b/directory/external_user_profiles_request_builder.go @@ -11,7 +11,7 @@ import ( type ExternalUserProfilesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ExternalUserProfilesRequestBuilderGetQueryParameters retrieve the properties of all externalUserProfiles +// ExternalUserProfilesRequestBuilderGetQueryParameters collection of external user profiles that represent collaborators in the directory. type ExternalUserProfilesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewExternalUserProfilesRequestBuilder(rawUrl string, requestAdapter i2ae418 func (m *ExternalUserProfilesRequestBuilder) Count()(*ExternalUserProfilesCountRequestBuilder) { return NewExternalUserProfilesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties of all externalUserProfiles +// Get collection of external user profiles that represent collaborators in the directory. // returns a ExternalUserProfileCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/directory-list-externaluserprofiles?view=graph-rest-1.0 func (m *ExternalUserProfilesRequestBuilder) Get(ctx context.Context, requestConfiguration *ExternalUserProfilesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExternalUserProfileCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ExternalUserProfilesRequestBuilder) Post(ctx context.Context, body ie23 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExternalUserProfileable), nil } -// ToGetRequestInformation retrieve the properties of all externalUserProfiles +// ToGetRequestInformation collection of external user profiles that represent collaborators in the directory. // returns a *RequestInformation when successful func (m *ExternalUserProfilesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ExternalUserProfilesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directory/feature_rollout_policies_item_applies_to_item_ref_request_builder.go b/directory/feature_rollout_policies_item_applies_to_item_ref_request_builder.go index 0bff7bde2a3..2b250b1d330 100644 --- a/directory/feature_rollout_policies_item_applies_to_item_ref_request_builder.go +++ b/directory/feature_rollout_policies_item_applies_to_item_ref_request_builder.go @@ -30,12 +30,9 @@ func NewFeatureRolloutPoliciesItemAppliesToItemRefRequestBuilder(rawUrl string, urlParams["request-raw-url"] = rawUrl return NewFeatureRolloutPoliciesItemAppliesToItemRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove an appliesTo on a featureRolloutPolicy object to remove the directoryObject from feature rollout. +// Delete delete ref of navigation property appliesTo for directory // Deprecated: Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/featurerolloutpolicy-delete-appliesto?view=graph-rest-1.0 func (m *FeatureRolloutPoliciesItemAppliesToItemRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *FeatureRolloutPoliciesItemAppliesToItemRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -50,7 +47,7 @@ func (m *FeatureRolloutPoliciesItemAppliesToItemRefRequestBuilder) Delete(ctx co } return nil } -// ToDeleteRequestInformation remove an appliesTo on a featureRolloutPolicy object to remove the directoryObject from feature rollout. +// ToDeleteRequestInformation delete ref of navigation property appliesTo for directory // Deprecated: Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies // returns a *RequestInformation when successful func (m *FeatureRolloutPoliciesItemAppliesToItemRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *FeatureRolloutPoliciesItemAppliesToItemRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/directory/feature_rollout_policies_item_applies_to_ref_request_builder.go b/directory/feature_rollout_policies_item_applies_to_ref_request_builder.go index dac337d97f0..8e791ff982f 100644 --- a/directory/feature_rollout_policies_item_applies_to_ref_request_builder.go +++ b/directory/feature_rollout_policies_item_applies_to_ref_request_builder.go @@ -11,7 +11,7 @@ import ( type FeatureRolloutPoliciesItemAppliesToRefRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// FeatureRolloutPoliciesItemAppliesToRefRequestBuilderDeleteQueryParameters remove an appliesTo on a featureRolloutPolicy object to remove the directoryObject from feature rollout. +// FeatureRolloutPoliciesItemAppliesToRefRequestBuilderDeleteQueryParameters delete ref of navigation property appliesTo for directory type FeatureRolloutPoliciesItemAppliesToRefRequestBuilderDeleteQueryParameters struct { // The delete Uri Id *string `uriparametername:"%40id"` @@ -69,12 +69,9 @@ func NewFeatureRolloutPoliciesItemAppliesToRefRequestBuilder(rawUrl string, requ urlParams["request-raw-url"] = rawUrl return NewFeatureRolloutPoliciesItemAppliesToRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove an appliesTo on a featureRolloutPolicy object to remove the directoryObject from feature rollout. +// Delete delete ref of navigation property appliesTo for directory // Deprecated: Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/featurerolloutpolicy-delete-appliesto?view=graph-rest-1.0 func (m *FeatureRolloutPoliciesItemAppliesToRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *FeatureRolloutPoliciesItemAppliesToRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -110,12 +107,9 @@ func (m *FeatureRolloutPoliciesItemAppliesToRefRequestBuilder) Get(ctx context.C } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable), nil } -// Post add an appliesTo on a featureRolloutPolicy object to specify the directoryObject to which the featureRolloutPolicy should be applied. +// Post create new navigation property ref to appliesTo for directory // Deprecated: Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/featurerolloutpolicy-post-appliesto?view=graph-rest-1.0 func (m *FeatureRolloutPoliciesItemAppliesToRefRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *FeatureRolloutPoliciesItemAppliesToRefRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -130,7 +124,7 @@ func (m *FeatureRolloutPoliciesItemAppliesToRefRequestBuilder) Post(ctx context. } return nil } -// ToDeleteRequestInformation remove an appliesTo on a featureRolloutPolicy object to remove the directoryObject from feature rollout. +// ToDeleteRequestInformation delete ref of navigation property appliesTo for directory // Deprecated: Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies // returns a *RequestInformation when successful func (m *FeatureRolloutPoliciesItemAppliesToRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *FeatureRolloutPoliciesItemAppliesToRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -160,7 +154,7 @@ func (m *FeatureRolloutPoliciesItemAppliesToRefRequestBuilder) ToGetRequestInfor requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add an appliesTo on a featureRolloutPolicy object to specify the directoryObject to which the featureRolloutPolicy should be applied. +// ToPostRequestInformation create new navigation property ref to appliesTo for directory // Deprecated: Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies // returns a *RequestInformation when successful func (m *FeatureRolloutPoliciesItemAppliesToRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *FeatureRolloutPoliciesItemAppliesToRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/directory/feature_rollout_policies_item_applies_to_request_builder.go b/directory/feature_rollout_policies_item_applies_to_request_builder.go index 9e4a661461b..7c284d1aa86 100644 --- a/directory/feature_rollout_policies_item_applies_to_request_builder.go +++ b/directory/feature_rollout_policies_item_applies_to_request_builder.go @@ -97,13 +97,10 @@ func (m *FeatureRolloutPoliciesItemAppliesToRequestBuilder) Get(ctx context.Cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectCollectionResponseable), nil } -// Post add an appliesTo on a featureRolloutPolicy object to specify the directoryObject to which the featureRolloutPolicy should be applied. +// Post create new navigation property to appliesTo for directory // Deprecated: Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies // returns a DirectoryObjectable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/featurerolloutpolicy-post-appliesto?view=graph-rest-1.0 func (m *FeatureRolloutPoliciesItemAppliesToRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable, requestConfiguration *FeatureRolloutPoliciesItemAppliesToRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -141,7 +138,7 @@ func (m *FeatureRolloutPoliciesItemAppliesToRequestBuilder) ToGetRequestInformat requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add an appliesTo on a featureRolloutPolicy object to specify the directoryObject to which the featureRolloutPolicy should be applied. +// ToPostRequestInformation create new navigation property to appliesTo for directory // Deprecated: Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies // returns a *RequestInformation when successful func (m *FeatureRolloutPoliciesItemAppliesToRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable, requestConfiguration *FeatureRolloutPoliciesItemAppliesToRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/directory/federation_configurations_available_provider_types_request_builder.go b/directory/federation_configurations_available_provider_types_request_builder.go index 13f131f1016..77667c55d96 100644 --- a/directory/federation_configurations_available_provider_types_request_builder.go +++ b/directory/federation_configurations_available_provider_types_request_builder.go @@ -10,7 +10,7 @@ import ( type FederationConfigurationsAvailableProviderTypesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// FederationConfigurationsAvailableProviderTypesRequestBuilderGetQueryParameters invoke function availableProviderTypes +// FederationConfigurationsAvailableProviderTypesRequestBuilderGetQueryParameters get all identity providers supported in a directory. type FederationConfigurationsAvailableProviderTypesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -45,10 +45,13 @@ func NewFederationConfigurationsAvailableProviderTypesRequestBuilder(rawUrl stri urlParams["request-raw-url"] = rawUrl return NewFederationConfigurationsAvailableProviderTypesRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function availableProviderTypes +// Get get all identity providers supported in a directory. // Deprecated: This method is obsolete. Use GetAsAvailableProviderTypesGetResponse instead. // returns a FederationConfigurationsAvailableProviderTypesResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/identityproviderbase-availableprovidertypes?view=graph-rest-beta func (m *FederationConfigurationsAvailableProviderTypesRequestBuilder) Get(ctx context.Context, requestConfiguration *FederationConfigurationsAvailableProviderTypesRequestBuilderGetRequestConfiguration)(FederationConfigurationsAvailableProviderTypesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,9 +69,12 @@ func (m *FederationConfigurationsAvailableProviderTypesRequestBuilder) Get(ctx c } return res.(FederationConfigurationsAvailableProviderTypesResponseable), nil } -// GetAsAvailableProviderTypesGetResponse invoke function availableProviderTypes +// GetAsAvailableProviderTypesGetResponse get all identity providers supported in a directory. // returns a FederationConfigurationsAvailableProviderTypesGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/identityproviderbase-availableprovidertypes?view=graph-rest-beta func (m *FederationConfigurationsAvailableProviderTypesRequestBuilder) GetAsAvailableProviderTypesGetResponse(ctx context.Context, requestConfiguration *FederationConfigurationsAvailableProviderTypesRequestBuilderGetRequestConfiguration)(FederationConfigurationsAvailableProviderTypesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -86,7 +92,7 @@ func (m *FederationConfigurationsAvailableProviderTypesRequestBuilder) GetAsAvai } return res.(FederationConfigurationsAvailableProviderTypesGetResponseable), nil } -// ToGetRequestInformation invoke function availableProviderTypes +// ToGetRequestInformation get all identity providers supported in a directory. // returns a *RequestInformation when successful func (m *FederationConfigurationsAvailableProviderTypesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FederationConfigurationsAvailableProviderTypesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directory/federation_configurations_identity_provider_base_item_request_builder.go b/directory/federation_configurations_identity_provider_base_item_request_builder.go index f014e388be3..d0f24724413 100644 --- a/directory/federation_configurations_identity_provider_base_item_request_builder.go +++ b/directory/federation_configurations_identity_provider_base_item_request_builder.go @@ -54,11 +54,8 @@ func NewFederationConfigurationsIdentityProviderBaseItemRequestBuilder(rawUrl st urlParams["request-raw-url"] = rawUrl return NewFederationConfigurationsIdentityProviderBaseItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a samlOrWsFedExternalDomainFederation object. +// Delete delete navigation property federationConfigurations for directory // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/samlorwsfedexternaldomainfederation-delete?view=graph-rest-1.0 func (m *FederationConfigurationsIdentityProviderBaseItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *FederationConfigurationsIdentityProviderBaseItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -113,7 +110,7 @@ func (m *FederationConfigurationsIdentityProviderBaseItemRequestBuilder) Patch(c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityProviderBaseable), nil } -// ToDeleteRequestInformation delete a samlOrWsFedExternalDomainFederation object. +// ToDeleteRequestInformation delete navigation property federationConfigurations for directory // returns a *RequestInformation when successful func (m *FederationConfigurationsIdentityProviderBaseItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *FederationConfigurationsIdentityProviderBaseItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directory/impacted_resources_item_complete_request_builder.go b/directory/impacted_resources_item_complete_request_builder.go index aaf6c69c587..5a67000075f 100644 --- a/directory/impacted_resources_item_complete_request_builder.go +++ b/directory/impacted_resources_item_complete_request_builder.go @@ -36,7 +36,7 @@ func NewImpactedResourcesItemCompleteRequestBuilder(rawUrl string, requestAdapte // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/impactedresource-complete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/impactedresource-complete?view=graph-rest-beta func (m *ImpactedResourcesItemCompleteRequestBuilder) Post(ctx context.Context, requestConfiguration *ImpactedResourcesItemCompleteRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ImpactedResourceable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/directory/impacted_resources_item_dismiss_request_builder.go b/directory/impacted_resources_item_dismiss_request_builder.go index 0beeb9d9ae7..d77feb26093 100644 --- a/directory/impacted_resources_item_dismiss_request_builder.go +++ b/directory/impacted_resources_item_dismiss_request_builder.go @@ -36,7 +36,7 @@ func NewImpactedResourcesItemDismissRequestBuilder(rawUrl string, requestAdapter // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/impactedresource-dismiss?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/impactedresource-dismiss?view=graph-rest-beta func (m *ImpactedResourcesItemDismissRequestBuilder) Post(ctx context.Context, body ImpactedResourcesItemDismissPostRequestBodyable, requestConfiguration *ImpactedResourcesItemDismissRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ImpactedResourceable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/directory/impacted_resources_item_postpone_request_builder.go b/directory/impacted_resources_item_postpone_request_builder.go index a9da1d7ac8f..131e1b0d62f 100644 --- a/directory/impacted_resources_item_postpone_request_builder.go +++ b/directory/impacted_resources_item_postpone_request_builder.go @@ -36,7 +36,7 @@ func NewImpactedResourcesItemPostponeRequestBuilder(rawUrl string, requestAdapte // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/impactedresource-postpone?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/impactedresource-postpone?view=graph-rest-beta func (m *ImpactedResourcesItemPostponeRequestBuilder) Post(ctx context.Context, body ImpactedResourcesItemPostponePostRequestBodyable, requestConfiguration *ImpactedResourcesItemPostponeRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ImpactedResourceable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/directory/impacted_resources_item_reactivate_request_builder.go b/directory/impacted_resources_item_reactivate_request_builder.go index c6ee38d91b9..f55494f7751 100644 --- a/directory/impacted_resources_item_reactivate_request_builder.go +++ b/directory/impacted_resources_item_reactivate_request_builder.go @@ -36,7 +36,7 @@ func NewImpactedResourcesItemReactivateRequestBuilder(rawUrl string, requestAdap // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/impactedresource-reactivate?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/impactedresource-reactivate?view=graph-rest-beta func (m *ImpactedResourcesItemReactivateRequestBuilder) Post(ctx context.Context, requestConfiguration *ImpactedResourcesItemReactivateRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ImpactedResourceable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/directory/inbound_shared_user_profiles_inbound_shared_user_profile_user_item_request_builder.go b/directory/inbound_shared_user_profiles_inbound_shared_user_profile_user_item_request_builder.go index 5ba5130644e..a2df7d23efe 100644 --- a/directory/inbound_shared_user_profiles_inbound_shared_user_profile_user_item_request_builder.go +++ b/directory/inbound_shared_user_profiles_inbound_shared_user_profile_user_item_request_builder.go @@ -18,7 +18,7 @@ type InboundSharedUserProfilesInboundSharedUserProfileUserItemRequestBuilderDele // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// InboundSharedUserProfilesInboundSharedUserProfileUserItemRequestBuilderGetQueryParameters read the properties of an inboundSharedUserProfile. +// InboundSharedUserProfilesInboundSharedUserProfileUserItemRequestBuilderGetQueryParameters a collection of external users whose profile data is shared with the Microsoft Entra tenant. Nullable. type InboundSharedUserProfilesInboundSharedUserProfileUserItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *InboundSharedUserProfilesInboundSharedUserProfileUserItemRequestBuilder func (m *InboundSharedUserProfilesInboundSharedUserProfileUserItemRequestBuilder) ExportPersonalData()(*InboundSharedUserProfilesItemExportPersonalDataRequestBuilder) { return NewInboundSharedUserProfilesItemExportPersonalDataRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties of an inboundSharedUserProfile. +// Get a collection of external users whose profile data is shared with the Microsoft Entra tenant. Nullable. // returns a InboundSharedUserProfileable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/inboundshareduserprofile-get?view=graph-rest-1.0 func (m *InboundSharedUserProfilesInboundSharedUserProfileUserItemRequestBuilder) Get(ctx context.Context, requestConfiguration *InboundSharedUserProfilesInboundSharedUserProfileUserItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InboundSharedUserProfileable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -134,7 +131,7 @@ func (m *InboundSharedUserProfilesInboundSharedUserProfileUserItemRequestBuilder requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties of an inboundSharedUserProfile. +// ToGetRequestInformation a collection of external users whose profile data is shared with the Microsoft Entra tenant. Nullable. // returns a *RequestInformation when successful func (m *InboundSharedUserProfilesInboundSharedUserProfileUserItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *InboundSharedUserProfilesInboundSharedUserProfileUserItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directory/inbound_shared_user_profiles_item_export_personal_data_request_builder.go b/directory/inbound_shared_user_profiles_item_export_personal_data_request_builder.go index b100d1fde71..683e7bd0fe4 100644 --- a/directory/inbound_shared_user_profiles_item_export_personal_data_request_builder.go +++ b/directory/inbound_shared_user_profiles_item_export_personal_data_request_builder.go @@ -34,7 +34,7 @@ func NewInboundSharedUserProfilesItemExportPersonalDataRequestBuilder(rawUrl str // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/inboundshareduserprofile-exportpersonaldata?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/inboundshareduserprofile-exportpersonaldata?view=graph-rest-beta func (m *InboundSharedUserProfilesItemExportPersonalDataRequestBuilder) Post(ctx context.Context, body InboundSharedUserProfilesItemExportPersonalDataPostRequestBodyable, requestConfiguration *InboundSharedUserProfilesItemExportPersonalDataRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/directory/inbound_shared_user_profiles_item_remove_personal_data_request_builder.go b/directory/inbound_shared_user_profiles_item_remove_personal_data_request_builder.go index 90f0ff21205..4afb017c82d 100644 --- a/directory/inbound_shared_user_profiles_item_remove_personal_data_request_builder.go +++ b/directory/inbound_shared_user_profiles_item_remove_personal_data_request_builder.go @@ -34,7 +34,7 @@ func NewInboundSharedUserProfilesItemRemovePersonalDataRequestBuilder(rawUrl str // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/inboundshareduserprofile-removepersonaldata?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/inboundshareduserprofile-removepersonaldata?view=graph-rest-beta func (m *InboundSharedUserProfilesItemRemovePersonalDataRequestBuilder) Post(ctx context.Context, requestConfiguration *InboundSharedUserProfilesItemRemovePersonalDataRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/directory/inbound_shared_user_profiles_request_builder.go b/directory/inbound_shared_user_profiles_request_builder.go index db25a8e0b54..8d579201a51 100644 --- a/directory/inbound_shared_user_profiles_request_builder.go +++ b/directory/inbound_shared_user_profiles_request_builder.go @@ -11,7 +11,7 @@ import ( type InboundSharedUserProfilesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// InboundSharedUserProfilesRequestBuilderGetQueryParameters retrieve the properties of all inboundSharedUserProfiles. +// InboundSharedUserProfilesRequestBuilderGetQueryParameters a collection of external users whose profile data is shared with the Microsoft Entra tenant. Nullable. type InboundSharedUserProfilesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewInboundSharedUserProfilesRequestBuilder(rawUrl string, requestAdapter i2 func (m *InboundSharedUserProfilesRequestBuilder) Count()(*InboundSharedUserProfilesCountRequestBuilder) { return NewInboundSharedUserProfilesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties of all inboundSharedUserProfiles. +// Get a collection of external users whose profile data is shared with the Microsoft Entra tenant. Nullable. // returns a InboundSharedUserProfileCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/directory-list-inboundshareduserprofiles?view=graph-rest-1.0 func (m *InboundSharedUserProfilesRequestBuilder) Get(ctx context.Context, requestConfiguration *InboundSharedUserProfilesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InboundSharedUserProfileCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *InboundSharedUserProfilesRequestBuilder) Post(ctx context.Context, body } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InboundSharedUserProfileable), nil } -// ToGetRequestInformation retrieve the properties of all inboundSharedUserProfiles. +// ToGetRequestInformation a collection of external users whose profile data is shared with the Microsoft Entra tenant. Nullable. // returns a *RequestInformation when successful func (m *InboundSharedUserProfilesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *InboundSharedUserProfilesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directory/on_premises_synchronization_on_premises_directory_synchronization_item_request_builder.go b/directory/on_premises_synchronization_on_premises_directory_synchronization_item_request_builder.go index 4b27a37ed91..6755a8b2bcf 100644 --- a/directory/on_premises_synchronization_on_premises_directory_synchronization_item_request_builder.go +++ b/directory/on_premises_synchronization_on_premises_directory_synchronization_item_request_builder.go @@ -18,7 +18,7 @@ type OnPremisesSynchronizationOnPremisesDirectorySynchronizationItemRequestBuild // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// OnPremisesSynchronizationOnPremisesDirectorySynchronizationItemRequestBuilderGetQueryParameters read the properties and relationships of an onPremisesDirectorySynchronization object. +// OnPremisesSynchronizationOnPremisesDirectorySynchronizationItemRequestBuilderGetQueryParameters a container for on-premises directory synchronization functionalities that are available for the organization. type OnPremisesSynchronizationOnPremisesDirectorySynchronizationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *OnPremisesSynchronizationOnPremisesDirectorySynchronizationItemRequestB } return nil } -// Get read the properties and relationships of an onPremisesDirectorySynchronization object. +// Get a container for on-premises directory synchronization functionalities that are available for the organization. // returns a OnPremisesDirectorySynchronizationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/onpremisesdirectorysynchronization-get?view=graph-rest-1.0 func (m *OnPremisesSynchronizationOnPremisesDirectorySynchronizationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *OnPremisesSynchronizationOnPremisesDirectorySynchronizationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnPremisesDirectorySynchronizationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *OnPremisesSynchronizationOnPremisesDirectorySynchronizationItemRequestB } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnPremisesDirectorySynchronizationable), nil } -// Patch update the properties of an onPremisesDirectorySynchronization object. +// Patch update the navigation property onPremisesSynchronization in directory // returns a OnPremisesDirectorySynchronizationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/onpremisesdirectorysynchronization-update?view=graph-rest-1.0 func (m *OnPremisesSynchronizationOnPremisesDirectorySynchronizationItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnPremisesDirectorySynchronizationable, requestConfiguration *OnPremisesSynchronizationOnPremisesDirectorySynchronizationItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnPremisesDirectorySynchronizationable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *OnPremisesSynchronizationOnPremisesDirectorySynchronizationItemRequestB requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an onPremisesDirectorySynchronization object. +// ToGetRequestInformation a container for on-premises directory synchronization functionalities that are available for the organization. // returns a *RequestInformation when successful func (m *OnPremisesSynchronizationOnPremisesDirectorySynchronizationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnPremisesSynchronizationOnPremisesDirectorySynchronizationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *OnPremisesSynchronizationOnPremisesDirectorySynchronizationItemRequestB requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an onPremisesDirectorySynchronization object. +// ToPatchRequestInformation update the navigation property onPremisesSynchronization in directory // returns a *RequestInformation when successful func (m *OnPremisesSynchronizationOnPremisesDirectorySynchronizationItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnPremisesDirectorySynchronizationable, requestConfiguration *OnPremisesSynchronizationOnPremisesDirectorySynchronizationItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directory/on_premises_synchronization_request_builder.go b/directory/on_premises_synchronization_request_builder.go index b74d00f3e26..0307b1f1fa0 100644 --- a/directory/on_premises_synchronization_request_builder.go +++ b/directory/on_premises_synchronization_request_builder.go @@ -11,7 +11,7 @@ import ( type OnPremisesSynchronizationRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// OnPremisesSynchronizationRequestBuilderGetQueryParameters read the properties and relationships of an onPremisesDirectorySynchronization object. +// OnPremisesSynchronizationRequestBuilderGetQueryParameters a container for on-premises directory synchronization functionalities that are available for the organization. type OnPremisesSynchronizationRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewOnPremisesSynchronizationRequestBuilder(rawUrl string, requestAdapter i2 func (m *OnPremisesSynchronizationRequestBuilder) Count()(*OnPremisesSynchronizationCountRequestBuilder) { return NewOnPremisesSynchronizationCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of an onPremisesDirectorySynchronization object. +// Get a container for on-premises directory synchronization functionalities that are available for the organization. // returns a OnPremisesDirectorySynchronizationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *OnPremisesSynchronizationRequestBuilder) Get(ctx context.Context, requestConfiguration *OnPremisesSynchronizationRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnPremisesDirectorySynchronizationCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *OnPremisesSynchronizationRequestBuilder) Post(ctx context.Context, body } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnPremisesDirectorySynchronizationable), nil } -// ToGetRequestInformation read the properties and relationships of an onPremisesDirectorySynchronization object. +// ToGetRequestInformation a container for on-premises directory synchronization functionalities that are available for the organization. // returns a *RequestInformation when successful func (m *OnPremisesSynchronizationRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnPremisesSynchronizationRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directory/outbound_shared_user_profiles_item_tenants_item_remove_personal_data_request_builder.go b/directory/outbound_shared_user_profiles_item_tenants_item_remove_personal_data_request_builder.go index d4e129a65a4..50db520c1c0 100644 --- a/directory/outbound_shared_user_profiles_item_tenants_item_remove_personal_data_request_builder.go +++ b/directory/outbound_shared_user_profiles_item_tenants_item_remove_personal_data_request_builder.go @@ -34,7 +34,7 @@ func NewOutboundSharedUserProfilesItemTenantsItemRemovePersonalDataRequestBuilde // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/tenantreference-removepersonaldata?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/tenantreference-removepersonaldata?view=graph-rest-beta func (m *OutboundSharedUserProfilesItemTenantsItemRemovePersonalDataRequestBuilder) Post(ctx context.Context, requestConfiguration *OutboundSharedUserProfilesItemTenantsItemRemovePersonalDataRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/directory/outbound_shared_user_profiles_item_tenants_request_builder.go b/directory/outbound_shared_user_profiles_item_tenants_request_builder.go index 9c21ed7f316..8bf2b045711 100644 --- a/directory/outbound_shared_user_profiles_item_tenants_request_builder.go +++ b/directory/outbound_shared_user_profiles_item_tenants_request_builder.go @@ -11,7 +11,7 @@ import ( type OutboundSharedUserProfilesItemTenantsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// OutboundSharedUserProfilesItemTenantsRequestBuilderGetQueryParameters list the tenant references of an outboundSharedUserProfile. +// OutboundSharedUserProfilesItemTenantsRequestBuilderGetQueryParameters the collection of external Microsoft Entra tenants that the user has shared profile data with. Read-only. type OutboundSharedUserProfilesItemTenantsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewOutboundSharedUserProfilesItemTenantsRequestBuilder(rawUrl string, reque func (m *OutboundSharedUserProfilesItemTenantsRequestBuilder) Count()(*OutboundSharedUserProfilesItemTenantsCountRequestBuilder) { return NewOutboundSharedUserProfilesItemTenantsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list the tenant references of an outboundSharedUserProfile. +// Get the collection of external Microsoft Entra tenants that the user has shared profile data with. Read-only. // returns a TenantReferenceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/outboundshareduserprofile-list-tenants?view=graph-rest-1.0 func (m *OutboundSharedUserProfilesItemTenantsRequestBuilder) Get(ctx context.Context, requestConfiguration *OutboundSharedUserProfilesItemTenantsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TenantReferenceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *OutboundSharedUserProfilesItemTenantsRequestBuilder) Post(ctx context.C } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TenantReferenceable), nil } -// ToGetRequestInformation list the tenant references of an outboundSharedUserProfile. +// ToGetRequestInformation the collection of external Microsoft Entra tenants that the user has shared profile data with. Read-only. // returns a *RequestInformation when successful func (m *OutboundSharedUserProfilesItemTenantsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OutboundSharedUserProfilesItemTenantsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directory/outbound_shared_user_profiles_outbound_shared_user_profile_user_item_request_builder.go b/directory/outbound_shared_user_profiles_outbound_shared_user_profile_user_item_request_builder.go index 45c4c40ae14..dd319d03c8a 100644 --- a/directory/outbound_shared_user_profiles_outbound_shared_user_profile_user_item_request_builder.go +++ b/directory/outbound_shared_user_profiles_outbound_shared_user_profile_user_item_request_builder.go @@ -18,7 +18,7 @@ type OutboundSharedUserProfilesOutboundSharedUserProfileUserItemRequestBuilderDe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// OutboundSharedUserProfilesOutboundSharedUserProfileUserItemRequestBuilderGetQueryParameters get the details of an outboundSharedUserProfile. +// OutboundSharedUserProfilesOutboundSharedUserProfileUserItemRequestBuilderGetQueryParameters get outboundSharedUserProfiles from directory type OutboundSharedUserProfilesOutboundSharedUserProfileUserItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *OutboundSharedUserProfilesOutboundSharedUserProfileUserItemRequestBuild } return nil } -// Get get the details of an outboundSharedUserProfile. +// Get get outboundSharedUserProfiles from directory // returns a OutboundSharedUserProfileable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/outboundshareduserprofile-get?view=graph-rest-1.0 func (m *OutboundSharedUserProfilesOutboundSharedUserProfileUserItemRequestBuilder) Get(ctx context.Context, requestConfiguration *OutboundSharedUserProfilesOutboundSharedUserProfileUserItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutboundSharedUserProfileable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *OutboundSharedUserProfilesOutboundSharedUserProfileUserItemRequestBuild requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the details of an outboundSharedUserProfile. +// ToGetRequestInformation get outboundSharedUserProfiles from directory // returns a *RequestInformation when successful func (m *OutboundSharedUserProfilesOutboundSharedUserProfileUserItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OutboundSharedUserProfilesOutboundSharedUserProfileUserItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directory/outbound_shared_user_profiles_request_builder.go b/directory/outbound_shared_user_profiles_request_builder.go index dfdd7f7e175..65918058dc5 100644 --- a/directory/outbound_shared_user_profiles_request_builder.go +++ b/directory/outbound_shared_user_profiles_request_builder.go @@ -11,7 +11,7 @@ import ( type OutboundSharedUserProfilesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// OutboundSharedUserProfilesRequestBuilderGetQueryParameters retrieve the properties of all outboundSharedUserProfiles. +// OutboundSharedUserProfilesRequestBuilderGetQueryParameters get outboundSharedUserProfiles from directory type OutboundSharedUserProfilesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewOutboundSharedUserProfilesRequestBuilder(rawUrl string, requestAdapter i func (m *OutboundSharedUserProfilesRequestBuilder) Count()(*OutboundSharedUserProfilesCountRequestBuilder) { return NewOutboundSharedUserProfilesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties of all outboundSharedUserProfiles. +// Get get outboundSharedUserProfiles from directory // returns a OutboundSharedUserProfileCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/directory-list-outboundshareduserprofiles?view=graph-rest-1.0 func (m *OutboundSharedUserProfilesRequestBuilder) Get(ctx context.Context, requestConfiguration *OutboundSharedUserProfilesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutboundSharedUserProfileCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *OutboundSharedUserProfilesRequestBuilder) Post(ctx context.Context, bod } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutboundSharedUserProfileable), nil } -// ToGetRequestInformation retrieve the properties of all outboundSharedUserProfiles. +// ToGetRequestInformation get outboundSharedUserProfiles from directory // returns a *RequestInformation when successful func (m *OutboundSharedUserProfilesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OutboundSharedUserProfilesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directory/pending_external_user_profiles_pending_external_user_profile_item_request_builder.go b/directory/pending_external_user_profiles_pending_external_user_profile_item_request_builder.go index cde85331d8f..cdceb70689a 100644 --- a/directory/pending_external_user_profiles_pending_external_user_profile_item_request_builder.go +++ b/directory/pending_external_user_profiles_pending_external_user_profile_item_request_builder.go @@ -18,7 +18,7 @@ type PendingExternalUserProfilesPendingExternalUserProfileItemRequestBuilderDele // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// PendingExternalUserProfilesPendingExternalUserProfileItemRequestBuilderGetQueryParameters retrieve the properties of a specific pendingExternalUserProfile. +// PendingExternalUserProfilesPendingExternalUserProfileItemRequestBuilderGetQueryParameters collection of pending external user profiles representing collaborators in the directory that are unredeemed. type PendingExternalUserProfilesPendingExternalUserProfileItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewPendingExternalUserProfilesPendingExternalUserProfileItemRequestBuilder( urlParams["request-raw-url"] = rawUrl return NewPendingExternalUserProfilesPendingExternalUserProfileItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a pendingExternalUserProfile object. Note: To permanently delete the pendingExternalUserProfile, follow permanently delete an item. To restore a pendingExternalUserProfile, follow restore a deleted item. +// Delete delete navigation property pendingExternalUserProfiles for directory // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/directory-delete-pendingexternaluserprofiles?view=graph-rest-1.0 func (m *PendingExternalUserProfilesPendingExternalUserProfileItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *PendingExternalUserProfilesPendingExternalUserProfileItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *PendingExternalUserProfilesPendingExternalUserProfileItemRequestBuilder } return nil } -// Get retrieve the properties of a specific pendingExternalUserProfile. +// Get collection of pending external user profiles representing collaborators in the directory that are unredeemed. // returns a PendingExternalUserProfileable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/pendingexternaluserprofile-get?view=graph-rest-1.0 func (m *PendingExternalUserProfilesPendingExternalUserProfileItemRequestBuilder) Get(ctx context.Context, requestConfiguration *PendingExternalUserProfilesPendingExternalUserProfileItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PendingExternalUserProfileable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *PendingExternalUserProfilesPendingExternalUserProfileItemRequestBuilder } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PendingExternalUserProfileable), nil } -// Patch update the properties of a pendingExternalUserProfile object. +// Patch update the navigation property pendingExternalUserProfiles in directory // returns a PendingExternalUserProfileable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/pendingexternaluserprofile-update?view=graph-rest-1.0 func (m *PendingExternalUserProfilesPendingExternalUserProfileItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PendingExternalUserProfileable, requestConfiguration *PendingExternalUserProfilesPendingExternalUserProfileItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PendingExternalUserProfileable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *PendingExternalUserProfilesPendingExternalUserProfileItemRequestBuilder } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PendingExternalUserProfileable), nil } -// ToDeleteRequestInformation delete a pendingExternalUserProfile object. Note: To permanently delete the pendingExternalUserProfile, follow permanently delete an item. To restore a pendingExternalUserProfile, follow restore a deleted item. +// ToDeleteRequestInformation delete navigation property pendingExternalUserProfiles for directory // returns a *RequestInformation when successful func (m *PendingExternalUserProfilesPendingExternalUserProfileItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *PendingExternalUserProfilesPendingExternalUserProfileItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *PendingExternalUserProfilesPendingExternalUserProfileItemRequestBuilder requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties of a specific pendingExternalUserProfile. +// ToGetRequestInformation collection of pending external user profiles representing collaborators in the directory that are unredeemed. // returns a *RequestInformation when successful func (m *PendingExternalUserProfilesPendingExternalUserProfileItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PendingExternalUserProfilesPendingExternalUserProfileItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *PendingExternalUserProfilesPendingExternalUserProfileItemRequestBuilder requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a pendingExternalUserProfile object. +// ToPatchRequestInformation update the navigation property pendingExternalUserProfiles in directory // returns a *RequestInformation when successful func (m *PendingExternalUserProfilesPendingExternalUserProfileItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PendingExternalUserProfileable, requestConfiguration *PendingExternalUserProfilesPendingExternalUserProfileItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directory/pending_external_user_profiles_request_builder.go b/directory/pending_external_user_profiles_request_builder.go index 9ea5511074f..8ff1da3643a 100644 --- a/directory/pending_external_user_profiles_request_builder.go +++ b/directory/pending_external_user_profiles_request_builder.go @@ -11,7 +11,7 @@ import ( type PendingExternalUserProfilesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// PendingExternalUserProfilesRequestBuilderGetQueryParameters retrieve the properties of all pendingExternalUserProfiles. +// PendingExternalUserProfilesRequestBuilderGetQueryParameters collection of pending external user profiles representing collaborators in the directory that are unredeemed. type PendingExternalUserProfilesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewPendingExternalUserProfilesRequestBuilder(rawUrl string, requestAdapter func (m *PendingExternalUserProfilesRequestBuilder) Count()(*PendingExternalUserProfilesCountRequestBuilder) { return NewPendingExternalUserProfilesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties of all pendingExternalUserProfiles. +// Get collection of pending external user profiles representing collaborators in the directory that are unredeemed. // returns a PendingExternalUserProfileCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/directory-list-pendingexternaluserprofile?view=graph-rest-1.0 func (m *PendingExternalUserProfilesRequestBuilder) Get(ctx context.Context, requestConfiguration *PendingExternalUserProfilesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PendingExternalUserProfileCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *PendingExternalUserProfilesRequestBuilder) Get(ctx context.Context, req } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PendingExternalUserProfileCollectionResponseable), nil } -// Post create a new pendingExternalUserProfile object. +// Post create new navigation property to pendingExternalUserProfiles for directory // returns a PendingExternalUserProfileable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/directory-post-pendingexternaluserprofile?view=graph-rest-1.0 func (m *PendingExternalUserProfilesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PendingExternalUserProfileable, requestConfiguration *PendingExternalUserProfilesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PendingExternalUserProfileable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *PendingExternalUserProfilesRequestBuilder) Post(ctx context.Context, bo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PendingExternalUserProfileable), nil } -// ToGetRequestInformation retrieve the properties of all pendingExternalUserProfiles. +// ToGetRequestInformation collection of pending external user profiles representing collaborators in the directory that are unredeemed. // returns a *RequestInformation when successful func (m *PendingExternalUserProfilesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PendingExternalUserProfilesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *PendingExternalUserProfilesRequestBuilder) ToGetRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new pendingExternalUserProfile object. +// ToPostRequestInformation create new navigation property to pendingExternalUserProfiles for directory // returns a *RequestInformation when successful func (m *PendingExternalUserProfilesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PendingExternalUserProfileable, requestConfiguration *PendingExternalUserProfilesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directory/recommendations_item_complete_request_builder.go b/directory/recommendations_item_complete_request_builder.go index 88e875114dc..d05008f2008 100644 --- a/directory/recommendations_item_complete_request_builder.go +++ b/directory/recommendations_item_complete_request_builder.go @@ -36,7 +36,7 @@ func NewRecommendationsItemCompleteRequestBuilder(rawUrl string, requestAdapter // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/recommendation-complete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/recommendation-complete?view=graph-rest-beta func (m *RecommendationsItemCompleteRequestBuilder) Post(ctx context.Context, requestConfiguration *RecommendationsItemCompleteRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Recommendationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/directory/recommendations_item_dismiss_request_builder.go b/directory/recommendations_item_dismiss_request_builder.go index 2606c1b01a0..e1f1faf8950 100644 --- a/directory/recommendations_item_dismiss_request_builder.go +++ b/directory/recommendations_item_dismiss_request_builder.go @@ -36,7 +36,7 @@ func NewRecommendationsItemDismissRequestBuilder(rawUrl string, requestAdapter i // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/recommendation-dismiss?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/recommendation-dismiss?view=graph-rest-beta func (m *RecommendationsItemDismissRequestBuilder) Post(ctx context.Context, body RecommendationsItemDismissPostRequestBodyable, requestConfiguration *RecommendationsItemDismissRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Recommendationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/directory/recommendations_item_impacted_resources_item_complete_request_builder.go b/directory/recommendations_item_impacted_resources_item_complete_request_builder.go index c5d1d39b656..dfade691207 100644 --- a/directory/recommendations_item_impacted_resources_item_complete_request_builder.go +++ b/directory/recommendations_item_impacted_resources_item_complete_request_builder.go @@ -36,7 +36,7 @@ func NewRecommendationsItemImpactedResourcesItemCompleteRequestBuilder(rawUrl st // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/impactedresource-complete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/impactedresource-complete?view=graph-rest-beta func (m *RecommendationsItemImpactedResourcesItemCompleteRequestBuilder) Post(ctx context.Context, requestConfiguration *RecommendationsItemImpactedResourcesItemCompleteRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ImpactedResourceable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/directory/recommendations_item_impacted_resources_item_dismiss_request_builder.go b/directory/recommendations_item_impacted_resources_item_dismiss_request_builder.go index 88561ddaf12..2e15e16a4bd 100644 --- a/directory/recommendations_item_impacted_resources_item_dismiss_request_builder.go +++ b/directory/recommendations_item_impacted_resources_item_dismiss_request_builder.go @@ -36,7 +36,7 @@ func NewRecommendationsItemImpactedResourcesItemDismissRequestBuilder(rawUrl str // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/impactedresource-dismiss?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/impactedresource-dismiss?view=graph-rest-beta func (m *RecommendationsItemImpactedResourcesItemDismissRequestBuilder) Post(ctx context.Context, body RecommendationsItemImpactedResourcesItemDismissPostRequestBodyable, requestConfiguration *RecommendationsItemImpactedResourcesItemDismissRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ImpactedResourceable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/directory/recommendations_item_impacted_resources_item_postpone_request_builder.go b/directory/recommendations_item_impacted_resources_item_postpone_request_builder.go index eb3b1c2e8ac..f09204f9acc 100644 --- a/directory/recommendations_item_impacted_resources_item_postpone_request_builder.go +++ b/directory/recommendations_item_impacted_resources_item_postpone_request_builder.go @@ -36,7 +36,7 @@ func NewRecommendationsItemImpactedResourcesItemPostponeRequestBuilder(rawUrl st // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/impactedresource-postpone?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/impactedresource-postpone?view=graph-rest-beta func (m *RecommendationsItemImpactedResourcesItemPostponeRequestBuilder) Post(ctx context.Context, body RecommendationsItemImpactedResourcesItemPostponePostRequestBodyable, requestConfiguration *RecommendationsItemImpactedResourcesItemPostponeRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ImpactedResourceable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/directory/recommendations_item_impacted_resources_item_reactivate_request_builder.go b/directory/recommendations_item_impacted_resources_item_reactivate_request_builder.go index d6279704310..3f53eee9695 100644 --- a/directory/recommendations_item_impacted_resources_item_reactivate_request_builder.go +++ b/directory/recommendations_item_impacted_resources_item_reactivate_request_builder.go @@ -36,7 +36,7 @@ func NewRecommendationsItemImpactedResourcesItemReactivateRequestBuilder(rawUrl // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/impactedresource-reactivate?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/impactedresource-reactivate?view=graph-rest-beta func (m *RecommendationsItemImpactedResourcesItemReactivateRequestBuilder) Post(ctx context.Context, requestConfiguration *RecommendationsItemImpactedResourcesItemReactivateRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ImpactedResourceable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/directory/recommendations_item_postpone_request_builder.go b/directory/recommendations_item_postpone_request_builder.go index 54cbd845962..31ab5d952f7 100644 --- a/directory/recommendations_item_postpone_request_builder.go +++ b/directory/recommendations_item_postpone_request_builder.go @@ -36,7 +36,7 @@ func NewRecommendationsItemPostponeRequestBuilder(rawUrl string, requestAdapter // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/recommendation-postpone?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/recommendation-postpone?view=graph-rest-beta func (m *RecommendationsItemPostponeRequestBuilder) Post(ctx context.Context, body RecommendationsItemPostponePostRequestBodyable, requestConfiguration *RecommendationsItemPostponeRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Recommendationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/directory/recommendations_item_reactivate_request_builder.go b/directory/recommendations_item_reactivate_request_builder.go index 0a20f48370a..a7d8f0bb784 100644 --- a/directory/recommendations_item_reactivate_request_builder.go +++ b/directory/recommendations_item_reactivate_request_builder.go @@ -36,7 +36,7 @@ func NewRecommendationsItemReactivateRequestBuilder(rawUrl string, requestAdapte // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/recommendation-reactivate?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/recommendation-reactivate?view=graph-rest-beta func (m *RecommendationsItemReactivateRequestBuilder) Post(ctx context.Context, requestConfiguration *RecommendationsItemReactivateRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Recommendationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/directory/recommendations_recommendation_item_request_builder.go b/directory/recommendations_recommendation_item_request_builder.go index 29787f149b6..0237761d767 100644 --- a/directory/recommendations_recommendation_item_request_builder.go +++ b/directory/recommendations_recommendation_item_request_builder.go @@ -18,7 +18,7 @@ type RecommendationsRecommendationItemRequestBuilderDeleteRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// RecommendationsRecommendationItemRequestBuilderGetQueryParameters read the properties and relationships of a recommendation object. +// RecommendationsRecommendationItemRequestBuilderGetQueryParameters list of recommended improvements to improve tenant posture. type RecommendationsRecommendationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -80,12 +80,9 @@ func (m *RecommendationsRecommendationItemRequestBuilder) Delete(ctx context.Con func (m *RecommendationsRecommendationItemRequestBuilder) Dismiss()(*RecommendationsItemDismissRequestBuilder) { return NewRecommendationsItemDismissRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of a recommendation object. +// Get list of recommended improvements to improve tenant posture. // returns a Recommendationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/recommendation-get?view=graph-rest-1.0 func (m *RecommendationsRecommendationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *RecommendationsRecommendationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Recommendationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -149,7 +146,7 @@ func (m *RecommendationsRecommendationItemRequestBuilder) ToDeleteRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a recommendation object. +// ToGetRequestInformation list of recommended improvements to improve tenant posture. // returns a *RequestInformation when successful func (m *RecommendationsRecommendationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RecommendationsRecommendationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directory/recommendations_request_builder.go b/directory/recommendations_request_builder.go index e00149e021c..2a2973cd616 100644 --- a/directory/recommendations_request_builder.go +++ b/directory/recommendations_request_builder.go @@ -11,7 +11,7 @@ import ( type RecommendationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// RecommendationsRequestBuilderGetQueryParameters get a list of the recommendation objects and their properties. +// RecommendationsRequestBuilderGetQueryParameters list of recommended improvements to improve tenant posture. type RecommendationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewRecommendationsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7da func (m *RecommendationsRequestBuilder) Count()(*RecommendationsCountRequestBuilder) { return NewRecommendationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the recommendation objects and their properties. +// Get list of recommended improvements to improve tenant posture. // returns a RecommendationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/directory-list-recommendation?view=graph-rest-1.0 func (m *RecommendationsRequestBuilder) Get(ctx context.Context, requestConfiguration *RecommendationsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RecommendationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *RecommendationsRequestBuilder) Post(ctx context.Context, body ie233ee76 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Recommendationable), nil } -// ToGetRequestInformation get a list of the recommendation objects and their properties. +// ToGetRequestInformation list of recommended improvements to improve tenant posture. // returns a *RequestInformation when successful func (m *RecommendationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RecommendationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directory/subscriptions_company_subscription_item_request_builder.go b/directory/subscriptions_company_subscription_item_request_builder.go index cf833c474ea..cfc20160a8b 100644 --- a/directory/subscriptions_company_subscription_item_request_builder.go +++ b/directory/subscriptions_company_subscription_item_request_builder.go @@ -18,7 +18,7 @@ type SubscriptionsCompanySubscriptionItemRequestBuilderDeleteRequestConfiguratio // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// SubscriptionsCompanySubscriptionItemRequestBuilderGetQueryParameters get a specific commercial subscription that an organization has acquired. +// SubscriptionsCompanySubscriptionItemRequestBuilderGetQueryParameters list of commercial subscriptions that an organization has. type SubscriptionsCompanySubscriptionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *SubscriptionsCompanySubscriptionItemRequestBuilder) Delete(ctx context. } return nil } -// Get get a specific commercial subscription that an organization has acquired. +// Get list of commercial subscriptions that an organization has. // returns a CompanySubscriptionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/companysubscription-get?view=graph-rest-1.0 func (m *SubscriptionsCompanySubscriptionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *SubscriptionsCompanySubscriptionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CompanySubscriptionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *SubscriptionsCompanySubscriptionItemRequestBuilder) ToDeleteRequestInfo requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a specific commercial subscription that an organization has acquired. +// ToGetRequestInformation list of commercial subscriptions that an organization has. // returns a *RequestInformation when successful func (m *SubscriptionsCompanySubscriptionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SubscriptionsCompanySubscriptionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directory/subscriptions_request_builder.go b/directory/subscriptions_request_builder.go index 26752cf7222..9bd8de63cfc 100644 --- a/directory/subscriptions_request_builder.go +++ b/directory/subscriptions_request_builder.go @@ -11,7 +11,7 @@ import ( type SubscriptionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// SubscriptionsRequestBuilderGetQueryParameters get the list of commercial subscriptions that an organization has acquired. +// SubscriptionsRequestBuilderGetQueryParameters list of commercial subscriptions that an organization has. type SubscriptionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewSubscriptionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee func (m *SubscriptionsRequestBuilder) Count()(*SubscriptionsCountRequestBuilder) { return NewSubscriptionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of commercial subscriptions that an organization has acquired. +// Get list of commercial subscriptions that an organization has. // returns a CompanySubscriptionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/directory-list-subscriptions?view=graph-rest-1.0 func (m *SubscriptionsRequestBuilder) Get(ctx context.Context, requestConfiguration *SubscriptionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CompanySubscriptionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *SubscriptionsRequestBuilder) Post(ctx context.Context, body ie233ee762e } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CompanySubscriptionable), nil } -// ToGetRequestInformation get the list of commercial subscriptions that an organization has acquired. +// ToGetRequestInformation list of commercial subscriptions that an organization has. // returns a *RequestInformation when successful func (m *SubscriptionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SubscriptionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directory/subscriptions_with_commerce_subscription_id_request_builder.go b/directory/subscriptions_with_commerce_subscription_id_request_builder.go index 7aef258a531..087f60fdd43 100644 --- a/directory/subscriptions_with_commerce_subscription_id_request_builder.go +++ b/directory/subscriptions_with_commerce_subscription_id_request_builder.go @@ -18,7 +18,7 @@ type SubscriptionsWithCommerceSubscriptionIdRequestBuilderDeleteRequestConfigura // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// SubscriptionsWithCommerceSubscriptionIdRequestBuilderGetQueryParameters get a specific commercial subscription that an organization has acquired. +// SubscriptionsWithCommerceSubscriptionIdRequestBuilderGetQueryParameters list of commercial subscriptions that an organization has. type SubscriptionsWithCommerceSubscriptionIdRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,12 +73,9 @@ func (m *SubscriptionsWithCommerceSubscriptionIdRequestBuilder) Delete(ctx conte } return nil } -// Get get a specific commercial subscription that an organization has acquired. +// Get list of commercial subscriptions that an organization has. // returns a CompanySubscriptionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/companysubscription-get?view=graph-rest-1.0 func (m *SubscriptionsWithCommerceSubscriptionIdRequestBuilder) Get(ctx context.Context, requestConfiguration *SubscriptionsWithCommerceSubscriptionIdRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CompanySubscriptionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -127,7 +124,7 @@ func (m *SubscriptionsWithCommerceSubscriptionIdRequestBuilder) ToDeleteRequestI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a specific commercial subscription that an organization has acquired. +// ToGetRequestInformation list of commercial subscriptions that an organization has. // returns a *RequestInformation when successful func (m *SubscriptionsWithCommerceSubscriptionIdRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SubscriptionsWithCommerceSubscriptionIdRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directory/subscriptions_with_ocp_subscription_id_request_builder.go b/directory/subscriptions_with_ocp_subscription_id_request_builder.go index a452ed39645..b2c942caffd 100644 --- a/directory/subscriptions_with_ocp_subscription_id_request_builder.go +++ b/directory/subscriptions_with_ocp_subscription_id_request_builder.go @@ -18,7 +18,7 @@ type SubscriptionsWithOcpSubscriptionIdRequestBuilderDeleteRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// SubscriptionsWithOcpSubscriptionIdRequestBuilderGetQueryParameters get a specific commercial subscription that an organization has acquired. +// SubscriptionsWithOcpSubscriptionIdRequestBuilderGetQueryParameters list of commercial subscriptions that an organization has. type SubscriptionsWithOcpSubscriptionIdRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,12 +73,9 @@ func (m *SubscriptionsWithOcpSubscriptionIdRequestBuilder) Delete(ctx context.Co } return nil } -// Get get a specific commercial subscription that an organization has acquired. +// Get list of commercial subscriptions that an organization has. // returns a CompanySubscriptionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/companysubscription-get?view=graph-rest-1.0 func (m *SubscriptionsWithOcpSubscriptionIdRequestBuilder) Get(ctx context.Context, requestConfiguration *SubscriptionsWithOcpSubscriptionIdRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CompanySubscriptionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -127,7 +124,7 @@ func (m *SubscriptionsWithOcpSubscriptionIdRequestBuilder) ToDeleteRequestInform requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a specific commercial subscription that an organization has acquired. +// ToGetRequestInformation list of commercial subscriptions that an organization has. // returns a *RequestInformation when successful func (m *SubscriptionsWithOcpSubscriptionIdRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SubscriptionsWithOcpSubscriptionIdRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directoryobjects/delta_request_builder.go b/directoryobjects/delta_request_builder.go index abfaf855980..98e115de676 100644 --- a/directoryobjects/delta_request_builder.go +++ b/directoryobjects/delta_request_builder.go @@ -10,7 +10,7 @@ import ( type DeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeltaRequestBuilderGetQueryParameters invoke function delta +// DeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. type DeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb urlParams["request-raw-url"] = rawUrl return NewDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a DeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-delta?view=graph-rest-beta func (m *DeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(DeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *DeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *Del } return res.(DeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. // returns a DeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-delta?view=graph-rest-beta func (m *DeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(DeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *DeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, request } return res.(DeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. // returns a *RequestInformation when successful func (m *DeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directoryobjects/directory_object_item_request_builder.go b/directoryobjects/directory_object_item_request_builder.go index 6f61ea4a589..683b92467ef 100644 --- a/directoryobjects/directory_object_item_request_builder.go +++ b/directoryobjects/directory_object_item_request_builder.go @@ -68,7 +68,7 @@ func NewDirectoryObjectItemRequestBuilder(rawUrl string, requestAdapter i2ae4187 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-delete?view=graph-rest-beta func (m *DirectoryObjectItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *DirectoryObjectItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -88,7 +88,7 @@ func (m *DirectoryObjectItemRequestBuilder) Delete(ctx context.Context, requestC // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-get?view=graph-rest-beta func (m *DirectoryObjectItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DirectoryObjectItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/directoryobjects/get_by_ids_request_builder.go b/directoryobjects/get_by_ids_request_builder.go index a3d76122aa0..ed9a620029a 100644 --- a/directoryobjects/get_by_ids_request_builder.go +++ b/directoryobjects/get_by_ids_request_builder.go @@ -36,7 +36,7 @@ func NewGetByIdsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26337 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-beta func (m *GetByIdsRequestBuilder) Post(ctx context.Context, body GetByIdsPostRequestBodyable, requestConfiguration *GetByIdsRequestBuilderPostRequestConfiguration)(GetByIdsResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *GetByIdsRequestBuilder) Post(ctx context.Context, body GetByIdsPostRequ // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-beta func (m *GetByIdsRequestBuilder) PostAsGetByIdsPostResponse(ctx context.Context, body GetByIdsPostRequestBodyable, requestConfiguration *GetByIdsRequestBuilderPostRequestConfiguration)(GetByIdsPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/directoryobjects/get_user_owned_objects_request_builder.go b/directoryobjects/get_user_owned_objects_request_builder.go index 2ebeddb7623..dd7ac980b2b 100644 --- a/directoryobjects/get_user_owned_objects_request_builder.go +++ b/directoryobjects/get_user_owned_objects_request_builder.go @@ -36,7 +36,7 @@ func NewGetUserOwnedObjectsRequestBuilder(rawUrl string, requestAdapter i2ae4187 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directory-deleteditems-getuserownedobjects?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directory-deleteditems-getuserownedobjects?view=graph-rest-beta func (m *GetUserOwnedObjectsRequestBuilder) Post(ctx context.Context, body GetUserOwnedObjectsPostRequestBodyable, requestConfiguration *GetUserOwnedObjectsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/directoryobjects/item_check_member_groups_request_builder.go b/directoryobjects/item_check_member_groups_request_builder.go index 680cd423822..cfdd592c99d 100644 --- a/directoryobjects/item_check_member_groups_request_builder.go +++ b/directoryobjects/item_check_member_groups_request_builder.go @@ -36,7 +36,7 @@ func NewItemCheckMemberGroupsRequestBuilder(rawUrl string, requestAdapter i2ae41 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-beta func (m *ItemCheckMemberGroupsRequestBuilder) Post(ctx context.Context, body ItemCheckMemberGroupsPostRequestBodyable, requestConfiguration *ItemCheckMemberGroupsRequestBuilderPostRequestConfiguration)(ItemCheckMemberGroupsResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ItemCheckMemberGroupsRequestBuilder) Post(ctx context.Context, body Ite // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-beta func (m *ItemCheckMemberGroupsRequestBuilder) PostAsCheckMemberGroupsPostResponse(ctx context.Context, body ItemCheckMemberGroupsPostRequestBodyable, requestConfiguration *ItemCheckMemberGroupsRequestBuilderPostRequestConfiguration)(ItemCheckMemberGroupsPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/directoryobjects/item_get_member_groups_request_builder.go b/directoryobjects/item_get_member_groups_request_builder.go index 45dec014a89..057f1993ae3 100644 --- a/directoryobjects/item_get_member_groups_request_builder.go +++ b/directoryobjects/item_get_member_groups_request_builder.go @@ -36,7 +36,7 @@ func NewItemGetMemberGroupsRequestBuilder(rawUrl string, requestAdapter i2ae4187 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-beta func (m *ItemGetMemberGroupsRequestBuilder) Post(ctx context.Context, body ItemGetMemberGroupsPostRequestBodyable, requestConfiguration *ItemGetMemberGroupsRequestBuilderPostRequestConfiguration)(ItemGetMemberGroupsResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ItemGetMemberGroupsRequestBuilder) Post(ctx context.Context, body ItemG // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-beta func (m *ItemGetMemberGroupsRequestBuilder) PostAsGetMemberGroupsPostResponse(ctx context.Context, body ItemGetMemberGroupsPostRequestBodyable, requestConfiguration *ItemGetMemberGroupsRequestBuilderPostRequestConfiguration)(ItemGetMemberGroupsPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/directoryobjects/item_restore_request_builder.go b/directoryobjects/item_restore_request_builder.go index 4760bde872d..4550aa7ee1e 100644 --- a/directoryobjects/item_restore_request_builder.go +++ b/directoryobjects/item_restore_request_builder.go @@ -36,7 +36,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-beta func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemRestoreRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/directoryobjects/validate_properties_request_builder.go b/directoryobjects/validate_properties_request_builder.go index 9dc05897b5f..4dae4d909af 100644 --- a/directoryobjects/validate_properties_request_builder.go +++ b/directoryobjects/validate_properties_request_builder.go @@ -34,7 +34,7 @@ func NewValidatePropertiesRequestBuilder(rawUrl string, requestAdapter i2ae4187f // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-validateproperties?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-validateproperties?view=graph-rest-beta func (m *ValidatePropertiesRequestBuilder) Post(ctx context.Context, body ValidatePropertiesPostRequestBodyable, requestConfiguration *ValidatePropertiesRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/directoryroles/delta_request_builder.go b/directoryroles/delta_request_builder.go index b7c4b8c4eaf..8dfbc3d41cd 100644 --- a/directoryroles/delta_request_builder.go +++ b/directoryroles/delta_request_builder.go @@ -10,7 +10,7 @@ import ( type DeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeltaRequestBuilderGetQueryParameters invoke function delta +// DeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted directory roles without having to perform a full read of the entire resource collection. See Using Delta Query for details. type DeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb urlParams["request-raw-url"] = rawUrl return NewDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get get newly created, updated, or deleted directory roles without having to perform a full read of the entire resource collection. See Using Delta Query for details. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a DeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryrole-delta?view=graph-rest-beta func (m *DeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(DeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *DeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *Del } return res.(DeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse get newly created, updated, or deleted directory roles without having to perform a full read of the entire resource collection. See Using Delta Query for details. // returns a DeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryrole-delta?view=graph-rest-beta func (m *DeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(DeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *DeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, request } return res.(DeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation get newly created, updated, or deleted directory roles without having to perform a full read of the entire resource collection. See Using Delta Query for details. // returns a *RequestInformation when successful func (m *DeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directoryroles/directory_role_item_request_builder.go b/directoryroles/directory_role_item_request_builder.go index cf528f9e1ed..1f00ac6cd52 100644 --- a/directoryroles/directory_role_item_request_builder.go +++ b/directoryroles/directory_role_item_request_builder.go @@ -85,7 +85,7 @@ func (m *DirectoryRoleItemRequestBuilder) Delete(ctx context.Context, requestCon // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryrole-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryrole-get?view=graph-rest-beta func (m *DirectoryRoleItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DirectoryRoleItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryRoleable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/directoryroles/directory_roles_request_builder.go b/directoryroles/directory_roles_request_builder.go index e6a3a53a102..acb81f46115 100644 --- a/directoryroles/directory_roles_request_builder.go +++ b/directoryroles/directory_roles_request_builder.go @@ -84,7 +84,7 @@ func (m *DirectoryRolesRequestBuilder) Delta()(*DeltaRequestBuilder) { // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryrole-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryrole-list?view=graph-rest-beta func (m *DirectoryRolesRequestBuilder) Get(ctx context.Context, requestConfiguration *DirectoryRolesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryRoleCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -117,7 +117,7 @@ func (m *DirectoryRolesRequestBuilder) GetUserOwnedObjects()(*GetUserOwnedObject // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryrole-post-directoryroles?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryrole-post-directoryroles?view=graph-rest-beta func (m *DirectoryRolesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryRoleable, requestConfiguration *DirectoryRolesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryRoleable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/directoryroles/get_by_ids_request_builder.go b/directoryroles/get_by_ids_request_builder.go index 5341ee570dc..60329a1ff52 100644 --- a/directoryroles/get_by_ids_request_builder.go +++ b/directoryroles/get_by_ids_request_builder.go @@ -36,7 +36,7 @@ func NewGetByIdsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26337 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-beta func (m *GetByIdsRequestBuilder) Post(ctx context.Context, body GetByIdsPostRequestBodyable, requestConfiguration *GetByIdsRequestBuilderPostRequestConfiguration)(GetByIdsResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *GetByIdsRequestBuilder) Post(ctx context.Context, body GetByIdsPostRequ // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-beta func (m *GetByIdsRequestBuilder) PostAsGetByIdsPostResponse(ctx context.Context, body GetByIdsPostRequestBodyable, requestConfiguration *GetByIdsRequestBuilderPostRequestConfiguration)(GetByIdsPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/directoryroles/get_user_owned_objects_request_builder.go b/directoryroles/get_user_owned_objects_request_builder.go index 04ce01dc4ce..b7d17f1a316 100644 --- a/directoryroles/get_user_owned_objects_request_builder.go +++ b/directoryroles/get_user_owned_objects_request_builder.go @@ -36,7 +36,7 @@ func NewGetUserOwnedObjectsRequestBuilder(rawUrl string, requestAdapter i2ae4187 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directory-deleteditems-getuserownedobjects?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directory-deleteditems-getuserownedobjects?view=graph-rest-beta func (m *GetUserOwnedObjectsRequestBuilder) Post(ctx context.Context, body GetUserOwnedObjectsPostRequestBodyable, requestConfiguration *GetUserOwnedObjectsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/directoryroles/item_check_member_groups_request_builder.go b/directoryroles/item_check_member_groups_request_builder.go index 1f7159a4b39..16d36f5f828 100644 --- a/directoryroles/item_check_member_groups_request_builder.go +++ b/directoryroles/item_check_member_groups_request_builder.go @@ -36,7 +36,7 @@ func NewItemCheckMemberGroupsRequestBuilder(rawUrl string, requestAdapter i2ae41 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-beta func (m *ItemCheckMemberGroupsRequestBuilder) Post(ctx context.Context, body ItemCheckMemberGroupsPostRequestBodyable, requestConfiguration *ItemCheckMemberGroupsRequestBuilderPostRequestConfiguration)(ItemCheckMemberGroupsResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ItemCheckMemberGroupsRequestBuilder) Post(ctx context.Context, body Ite // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-beta func (m *ItemCheckMemberGroupsRequestBuilder) PostAsCheckMemberGroupsPostResponse(ctx context.Context, body ItemCheckMemberGroupsPostRequestBodyable, requestConfiguration *ItemCheckMemberGroupsRequestBuilderPostRequestConfiguration)(ItemCheckMemberGroupsPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/directoryroles/item_get_member_groups_request_builder.go b/directoryroles/item_get_member_groups_request_builder.go index 8407e0db81d..57d7f137494 100644 --- a/directoryroles/item_get_member_groups_request_builder.go +++ b/directoryroles/item_get_member_groups_request_builder.go @@ -36,7 +36,7 @@ func NewItemGetMemberGroupsRequestBuilder(rawUrl string, requestAdapter i2ae4187 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-beta func (m *ItemGetMemberGroupsRequestBuilder) Post(ctx context.Context, body ItemGetMemberGroupsPostRequestBodyable, requestConfiguration *ItemGetMemberGroupsRequestBuilderPostRequestConfiguration)(ItemGetMemberGroupsResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ItemGetMemberGroupsRequestBuilder) Post(ctx context.Context, body ItemG // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-beta func (m *ItemGetMemberGroupsRequestBuilder) PostAsGetMemberGroupsPostResponse(ctx context.Context, body ItemGetMemberGroupsPostRequestBodyable, requestConfiguration *ItemGetMemberGroupsRequestBuilderPostRequestConfiguration)(ItemGetMemberGroupsPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/directoryroles/item_members_item_ref_request_builder.go b/directoryroles/item_members_item_ref_request_builder.go index 09bb6080c4f..cff7b994311 100644 --- a/directoryroles/item_members_item_ref_request_builder.go +++ b/directoryroles/item_members_item_ref_request_builder.go @@ -30,11 +30,8 @@ func NewItemMembersItemRefRequestBuilder(rawUrl string, requestAdapter i2ae4187f urlParams["request-raw-url"] = rawUrl return NewItemMembersItemRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove a member from a directoryRole. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs. +// Delete delete ref of navigation property members for directoryRoles // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryrole-delete-member?view=graph-rest-1.0 func (m *ItemMembersItemRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemMembersItemRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -49,7 +46,7 @@ func (m *ItemMembersItemRefRequestBuilder) Delete(ctx context.Context, requestCo } return nil } -// ToDeleteRequestInformation remove a member from a directoryRole. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs. +// ToDeleteRequestInformation delete ref of navigation property members for directoryRoles // returns a *RequestInformation when successful func (m *ItemMembersItemRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemMembersItemRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directoryroles/item_members_ref_request_builder.go b/directoryroles/item_members_ref_request_builder.go index 1aceae07e36..8b4d7040f8d 100644 --- a/directoryroles/item_members_ref_request_builder.go +++ b/directoryroles/item_members_ref_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemMembersRefRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemMembersRefRequestBuilderDeleteQueryParameters remove a member from a directoryRole. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs. +// ItemMembersRefRequestBuilderDeleteQueryParameters delete ref of navigation property members for directoryRoles type ItemMembersRefRequestBuilderDeleteQueryParameters struct { // The delete Uri Id *string `uriparametername:"%40id"` @@ -69,11 +69,8 @@ func NewItemMembersRefRequestBuilder(rawUrl string, requestAdapter i2ae4187f7dae urlParams["request-raw-url"] = rawUrl return NewItemMembersRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove a member from a directoryRole. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs. +// Delete delete ref of navigation property members for directoryRoles // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryrole-delete-member?view=graph-rest-1.0 func (m *ItemMembersRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemMembersRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -91,9 +88,6 @@ func (m *ItemMembersRefRequestBuilder) Delete(ctx context.Context, requestConfig // Get users that are members of this directory role. HTTP Methods: GET, POST, DELETE. Read-only. Nullable. Supports $expand. // returns a StringCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryrole-list-members?view=graph-rest-1.0 func (m *ItemMembersRefRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMembersRefRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -111,11 +105,8 @@ func (m *ItemMembersRefRequestBuilder) Get(ctx context.Context, requestConfigura } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable), nil } -// Post create a new directory role member. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs. +// Post create new navigation property ref to members for directoryRoles // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryrole-post-members?view=graph-rest-1.0 func (m *ItemMembersRefRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *ItemMembersRefRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -130,7 +121,7 @@ func (m *ItemMembersRefRequestBuilder) Post(ctx context.Context, body ie233ee762 } return nil } -// ToDeleteRequestInformation remove a member from a directoryRole. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs. +// ToDeleteRequestInformation delete ref of navigation property members for directoryRoles // returns a *RequestInformation when successful func (m *ItemMembersRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemMembersRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, "{+baseurl}/directoryRoles/{directoryRole%2Did}/members/$ref?@id={%40id}", m.BaseRequestBuilder.PathParameters) @@ -158,7 +149,7 @@ func (m *ItemMembersRefRequestBuilder) ToGetRequestInformation(ctx context.Conte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new directory role member. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs. +// ToPostRequestInformation create new navigation property ref to members for directoryRoles // returns a *RequestInformation when successful func (m *ItemMembersRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *ItemMembersRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/directoryRoles/{directoryRole%2Did}/members/$ref", m.BaseRequestBuilder.PathParameters) diff --git a/directoryroles/item_members_request_builder.go b/directoryroles/item_members_request_builder.go index 7112bb50ced..21101b39367 100644 --- a/directoryroles/item_members_request_builder.go +++ b/directoryroles/item_members_request_builder.go @@ -72,9 +72,6 @@ func (m *ItemMembersRequestBuilder) Count()(*ItemMembersCountRequestBuilder) { // Get users that are members of this directory role. HTTP Methods: GET, POST, DELETE. Read-only. Nullable. Supports $expand. // returns a DirectoryObjectCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryrole-list-members?view=graph-rest-1.0 func (m *ItemMembersRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMembersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/directoryroles/item_restore_request_builder.go b/directoryroles/item_restore_request_builder.go index d6430af77b3..56a0984f3b0 100644 --- a/directoryroles/item_restore_request_builder.go +++ b/directoryroles/item_restore_request_builder.go @@ -36,7 +36,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-beta func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemRestoreRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/directoryroles/item_scoped_members_request_builder.go b/directoryroles/item_scoped_members_request_builder.go index 362412643e4..3e5d06401a2 100644 --- a/directoryroles/item_scoped_members_request_builder.go +++ b/directoryroles/item_scoped_members_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemScopedMembersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemScopedMembersRequestBuilderGetQueryParameters retrieve a list of scopedRoleMembership objects for a directory role. +// ItemScopedMembersRequestBuilderGetQueryParameters members of this directory role that are scoped to administrative units. Read-only. Nullable. type ItemScopedMembersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemScopedMembersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7 func (m *ItemScopedMembersRequestBuilder) Count()(*ItemScopedMembersCountRequestBuilder) { return NewItemScopedMembersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of scopedRoleMembership objects for a directory role. +// Get members of this directory role that are scoped to administrative units. Read-only. Nullable. // returns a ScopedRoleMembershipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryrole-list-scopedmembers?view=graph-rest-1.0 func (m *ItemScopedMembersRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemScopedMembersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ScopedRoleMembershipCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemScopedMembersRequestBuilder) Post(ctx context.Context, body ie233ee } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ScopedRoleMembershipable), nil } -// ToGetRequestInformation retrieve a list of scopedRoleMembership objects for a directory role. +// ToGetRequestInformation members of this directory role that are scoped to administrative units. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemScopedMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemScopedMembersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directoryroles/validate_properties_request_builder.go b/directoryroles/validate_properties_request_builder.go index 1bcc3d7e209..845f3ef3067 100644 --- a/directoryroles/validate_properties_request_builder.go +++ b/directoryroles/validate_properties_request_builder.go @@ -34,7 +34,7 @@ func NewValidatePropertiesRequestBuilder(rawUrl string, requestAdapter i2ae4187f // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-validateproperties?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-validateproperties?view=graph-rest-beta func (m *ValidatePropertiesRequestBuilder) Post(ctx context.Context, body ValidatePropertiesPostRequestBodyable, requestConfiguration *ValidatePropertiesRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/directoryroleswithroletemplateid/directory_roles_with_role_template_id_request_builder.go b/directoryroleswithroletemplateid/directory_roles_with_role_template_id_request_builder.go index e068e195917..f2449d62e80 100644 --- a/directoryroleswithroletemplateid/directory_roles_with_role_template_id_request_builder.go +++ b/directoryroleswithroletemplateid/directory_roles_with_role_template_id_request_builder.go @@ -78,7 +78,7 @@ func (m *DirectoryRolesWithRoleTemplateIdRequestBuilder) Delete(ctx context.Cont // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryrole-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryrole-get?view=graph-rest-beta func (m *DirectoryRolesWithRoleTemplateIdRequestBuilder) Get(ctx context.Context, requestConfiguration *DirectoryRolesWithRoleTemplateIdRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryRoleable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/directoryroletemplates/delta_request_builder.go b/directoryroletemplates/delta_request_builder.go index 080117d2b77..4060bfd2a08 100644 --- a/directoryroletemplates/delta_request_builder.go +++ b/directoryroletemplates/delta_request_builder.go @@ -10,7 +10,7 @@ import ( type DeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeltaRequestBuilderGetQueryParameters invoke function delta +// DeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. type DeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb urlParams["request-raw-url"] = rawUrl return NewDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a DeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-delta?view=graph-rest-beta func (m *DeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(DeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *DeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *Del } return res.(DeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. // returns a DeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-delta?view=graph-rest-beta func (m *DeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(DeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *DeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, request } return res.(DeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. // returns a *RequestInformation when successful func (m *DeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directoryroletemplates/directory_role_template_item_request_builder.go b/directoryroletemplates/directory_role_template_item_request_builder.go index 4b3fabadf02..5023d04432b 100644 --- a/directoryroletemplates/directory_role_template_item_request_builder.go +++ b/directoryroletemplates/directory_role_template_item_request_builder.go @@ -85,7 +85,7 @@ func (m *DirectoryRoleTemplateItemRequestBuilder) Delete(ctx context.Context, re // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryroletemplate-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryroletemplate-get?view=graph-rest-beta func (m *DirectoryRoleTemplateItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DirectoryRoleTemplateItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryRoleTemplateable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/directoryroletemplates/directory_role_templates_request_builder.go b/directoryroletemplates/directory_role_templates_request_builder.go index 076aef8065b..b4006d31c27 100644 --- a/directoryroletemplates/directory_role_templates_request_builder.go +++ b/directoryroletemplates/directory_role_templates_request_builder.go @@ -84,7 +84,7 @@ func (m *DirectoryRoleTemplatesRequestBuilder) Delta()(*DeltaRequestBuilder) { // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryroletemplate-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryroletemplate-list?view=graph-rest-beta func (m *DirectoryRoleTemplatesRequestBuilder) Get(ctx context.Context, requestConfiguration *DirectoryRoleTemplatesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryRoleTemplateCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/directoryroletemplates/get_by_ids_request_builder.go b/directoryroletemplates/get_by_ids_request_builder.go index 0497d0546a0..67b24f7d27d 100644 --- a/directoryroletemplates/get_by_ids_request_builder.go +++ b/directoryroletemplates/get_by_ids_request_builder.go @@ -36,7 +36,7 @@ func NewGetByIdsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26337 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-beta func (m *GetByIdsRequestBuilder) Post(ctx context.Context, body GetByIdsPostRequestBodyable, requestConfiguration *GetByIdsRequestBuilderPostRequestConfiguration)(GetByIdsResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *GetByIdsRequestBuilder) Post(ctx context.Context, body GetByIdsPostRequ // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-beta func (m *GetByIdsRequestBuilder) PostAsGetByIdsPostResponse(ctx context.Context, body GetByIdsPostRequestBodyable, requestConfiguration *GetByIdsRequestBuilderPostRequestConfiguration)(GetByIdsPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/directoryroletemplates/get_user_owned_objects_request_builder.go b/directoryroletemplates/get_user_owned_objects_request_builder.go index 117ff1682f6..64070a8972c 100644 --- a/directoryroletemplates/get_user_owned_objects_request_builder.go +++ b/directoryroletemplates/get_user_owned_objects_request_builder.go @@ -36,7 +36,7 @@ func NewGetUserOwnedObjectsRequestBuilder(rawUrl string, requestAdapter i2ae4187 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directory-deleteditems-getuserownedobjects?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directory-deleteditems-getuserownedobjects?view=graph-rest-beta func (m *GetUserOwnedObjectsRequestBuilder) Post(ctx context.Context, body GetUserOwnedObjectsPostRequestBodyable, requestConfiguration *GetUserOwnedObjectsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/directoryroletemplates/item_check_member_groups_request_builder.go b/directoryroletemplates/item_check_member_groups_request_builder.go index 88e14caf38e..6e117ddca97 100644 --- a/directoryroletemplates/item_check_member_groups_request_builder.go +++ b/directoryroletemplates/item_check_member_groups_request_builder.go @@ -36,7 +36,7 @@ func NewItemCheckMemberGroupsRequestBuilder(rawUrl string, requestAdapter i2ae41 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-beta func (m *ItemCheckMemberGroupsRequestBuilder) Post(ctx context.Context, body ItemCheckMemberGroupsPostRequestBodyable, requestConfiguration *ItemCheckMemberGroupsRequestBuilderPostRequestConfiguration)(ItemCheckMemberGroupsResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ItemCheckMemberGroupsRequestBuilder) Post(ctx context.Context, body Ite // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-beta func (m *ItemCheckMemberGroupsRequestBuilder) PostAsCheckMemberGroupsPostResponse(ctx context.Context, body ItemCheckMemberGroupsPostRequestBodyable, requestConfiguration *ItemCheckMemberGroupsRequestBuilderPostRequestConfiguration)(ItemCheckMemberGroupsPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/directoryroletemplates/item_get_member_groups_request_builder.go b/directoryroletemplates/item_get_member_groups_request_builder.go index 740c20abbc9..3bb3a86f2d1 100644 --- a/directoryroletemplates/item_get_member_groups_request_builder.go +++ b/directoryroletemplates/item_get_member_groups_request_builder.go @@ -36,7 +36,7 @@ func NewItemGetMemberGroupsRequestBuilder(rawUrl string, requestAdapter i2ae4187 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-beta func (m *ItemGetMemberGroupsRequestBuilder) Post(ctx context.Context, body ItemGetMemberGroupsPostRequestBodyable, requestConfiguration *ItemGetMemberGroupsRequestBuilderPostRequestConfiguration)(ItemGetMemberGroupsResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ItemGetMemberGroupsRequestBuilder) Post(ctx context.Context, body ItemG // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-beta func (m *ItemGetMemberGroupsRequestBuilder) PostAsGetMemberGroupsPostResponse(ctx context.Context, body ItemGetMemberGroupsPostRequestBodyable, requestConfiguration *ItemGetMemberGroupsRequestBuilderPostRequestConfiguration)(ItemGetMemberGroupsPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/directoryroletemplates/item_restore_request_builder.go b/directoryroletemplates/item_restore_request_builder.go index a2bdf63b7a8..c908c20319f 100644 --- a/directoryroletemplates/item_restore_request_builder.go +++ b/directoryroletemplates/item_restore_request_builder.go @@ -36,7 +36,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-beta func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemRestoreRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/directoryroletemplates/validate_properties_request_builder.go b/directoryroletemplates/validate_properties_request_builder.go index a82e451af48..e86f97cb97d 100644 --- a/directoryroletemplates/validate_properties_request_builder.go +++ b/directoryroletemplates/validate_properties_request_builder.go @@ -34,7 +34,7 @@ func NewValidatePropertiesRequestBuilder(rawUrl string, requestAdapter i2ae4187f // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-validateproperties?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-validateproperties?view=graph-rest-beta func (m *ValidatePropertiesRequestBuilder) Post(ctx context.Context, body ValidatePropertiesPostRequestBodyable, requestConfiguration *ValidatePropertiesRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/directorysettingtemplates/delta_request_builder.go b/directorysettingtemplates/delta_request_builder.go index c2620847451..2d194eaa9e5 100644 --- a/directorysettingtemplates/delta_request_builder.go +++ b/directorysettingtemplates/delta_request_builder.go @@ -10,7 +10,7 @@ import ( type DeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeltaRequestBuilderGetQueryParameters invoke function delta +// DeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. type DeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb urlParams["request-raw-url"] = rawUrl return NewDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a DeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-delta?view=graph-rest-beta func (m *DeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(DeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *DeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *Del } return res.(DeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. // returns a DeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-delta?view=graph-rest-beta func (m *DeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(DeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *DeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, request } return res.(DeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. // returns a *RequestInformation when successful func (m *DeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directorysettingtemplates/directory_setting_template_item_request_builder.go b/directorysettingtemplates/directory_setting_template_item_request_builder.go index 6489a3a2749..94c5108bce9 100644 --- a/directorysettingtemplates/directory_setting_template_item_request_builder.go +++ b/directorysettingtemplates/directory_setting_template_item_request_builder.go @@ -85,7 +85,7 @@ func (m *DirectorySettingTemplateItemRequestBuilder) Delete(ctx context.Context, // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directorysettingtemplate-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directorysettingtemplate-get?view=graph-rest-beta func (m *DirectorySettingTemplateItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DirectorySettingTemplateItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectorySettingTemplateable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/directorysettingtemplates/directory_setting_templates_request_builder.go b/directorysettingtemplates/directory_setting_templates_request_builder.go index 705106efa34..9ecc01629bf 100644 --- a/directorysettingtemplates/directory_setting_templates_request_builder.go +++ b/directorysettingtemplates/directory_setting_templates_request_builder.go @@ -86,7 +86,7 @@ func (m *DirectorySettingTemplatesRequestBuilder) Delta()(*DeltaRequestBuilder) // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directorysettingtemplate-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directorysettingtemplate-list?view=graph-rest-beta func (m *DirectorySettingTemplatesRequestBuilder) Get(ctx context.Context, requestConfiguration *DirectorySettingTemplatesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectorySettingTemplateCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/directorysettingtemplates/get_by_ids_request_builder.go b/directorysettingtemplates/get_by_ids_request_builder.go index fbf749f6870..6a601046d44 100644 --- a/directorysettingtemplates/get_by_ids_request_builder.go +++ b/directorysettingtemplates/get_by_ids_request_builder.go @@ -36,7 +36,7 @@ func NewGetByIdsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26337 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-beta func (m *GetByIdsRequestBuilder) Post(ctx context.Context, body GetByIdsPostRequestBodyable, requestConfiguration *GetByIdsRequestBuilderPostRequestConfiguration)(GetByIdsResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *GetByIdsRequestBuilder) Post(ctx context.Context, body GetByIdsPostRequ // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-beta func (m *GetByIdsRequestBuilder) PostAsGetByIdsPostResponse(ctx context.Context, body GetByIdsPostRequestBodyable, requestConfiguration *GetByIdsRequestBuilderPostRequestConfiguration)(GetByIdsPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/directorysettingtemplates/get_user_owned_objects_request_builder.go b/directorysettingtemplates/get_user_owned_objects_request_builder.go index 38e3b8f0f98..d55d3ecdcd7 100644 --- a/directorysettingtemplates/get_user_owned_objects_request_builder.go +++ b/directorysettingtemplates/get_user_owned_objects_request_builder.go @@ -36,7 +36,7 @@ func NewGetUserOwnedObjectsRequestBuilder(rawUrl string, requestAdapter i2ae4187 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directory-deleteditems-getuserownedobjects?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directory-deleteditems-getuserownedobjects?view=graph-rest-beta func (m *GetUserOwnedObjectsRequestBuilder) Post(ctx context.Context, body GetUserOwnedObjectsPostRequestBodyable, requestConfiguration *GetUserOwnedObjectsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/directorysettingtemplates/item_check_member_groups_request_builder.go b/directorysettingtemplates/item_check_member_groups_request_builder.go index f838cd3603e..bc3b19c91ae 100644 --- a/directorysettingtemplates/item_check_member_groups_request_builder.go +++ b/directorysettingtemplates/item_check_member_groups_request_builder.go @@ -36,7 +36,7 @@ func NewItemCheckMemberGroupsRequestBuilder(rawUrl string, requestAdapter i2ae41 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-beta func (m *ItemCheckMemberGroupsRequestBuilder) Post(ctx context.Context, body ItemCheckMemberGroupsPostRequestBodyable, requestConfiguration *ItemCheckMemberGroupsRequestBuilderPostRequestConfiguration)(ItemCheckMemberGroupsResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ItemCheckMemberGroupsRequestBuilder) Post(ctx context.Context, body Ite // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-beta func (m *ItemCheckMemberGroupsRequestBuilder) PostAsCheckMemberGroupsPostResponse(ctx context.Context, body ItemCheckMemberGroupsPostRequestBodyable, requestConfiguration *ItemCheckMemberGroupsRequestBuilderPostRequestConfiguration)(ItemCheckMemberGroupsPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/directorysettingtemplates/item_get_member_groups_request_builder.go b/directorysettingtemplates/item_get_member_groups_request_builder.go index 06a3f776043..272c305c4de 100644 --- a/directorysettingtemplates/item_get_member_groups_request_builder.go +++ b/directorysettingtemplates/item_get_member_groups_request_builder.go @@ -36,7 +36,7 @@ func NewItemGetMemberGroupsRequestBuilder(rawUrl string, requestAdapter i2ae4187 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-beta func (m *ItemGetMemberGroupsRequestBuilder) Post(ctx context.Context, body ItemGetMemberGroupsPostRequestBodyable, requestConfiguration *ItemGetMemberGroupsRequestBuilderPostRequestConfiguration)(ItemGetMemberGroupsResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ItemGetMemberGroupsRequestBuilder) Post(ctx context.Context, body ItemG // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-beta func (m *ItemGetMemberGroupsRequestBuilder) PostAsGetMemberGroupsPostResponse(ctx context.Context, body ItemGetMemberGroupsPostRequestBodyable, requestConfiguration *ItemGetMemberGroupsRequestBuilderPostRequestConfiguration)(ItemGetMemberGroupsPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/directorysettingtemplates/item_restore_request_builder.go b/directorysettingtemplates/item_restore_request_builder.go index 76b62af6666..5cb29727368 100644 --- a/directorysettingtemplates/item_restore_request_builder.go +++ b/directorysettingtemplates/item_restore_request_builder.go @@ -36,7 +36,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-beta func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemRestoreRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/directorysettingtemplates/validate_properties_request_builder.go b/directorysettingtemplates/validate_properties_request_builder.go index e5cc728efb9..f2cd97320df 100644 --- a/directorysettingtemplates/validate_properties_request_builder.go +++ b/directorysettingtemplates/validate_properties_request_builder.go @@ -34,7 +34,7 @@ func NewValidatePropertiesRequestBuilder(rawUrl string, requestAdapter i2ae4187f // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-validateproperties?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-validateproperties?view=graph-rest-beta func (m *ValidatePropertiesRequestBuilder) Post(ctx context.Context, body ValidatePropertiesPostRequestBodyable, requestConfiguration *ValidatePropertiesRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/domains/domain_item_request_builder.go b/domains/domain_item_request_builder.go index 8f62c47e965..53396e733ff 100644 --- a/domains/domain_item_request_builder.go +++ b/domains/domain_item_request_builder.go @@ -58,7 +58,7 @@ func NewDomainItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/domain-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/domain-delete?view=graph-rest-beta func (m *DomainItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *DomainItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,7 +93,7 @@ func (m *DomainItemRequestBuilder) ForceDelete()(*ItemForceDeleteRequestBuilder) // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/domain-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/domain-get?view=graph-rest-beta func (m *DomainItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DomainItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Domainable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -116,7 +116,7 @@ func (m *DomainItemRequestBuilder) Get(ctx context.Context, requestConfiguration // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/domain-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/domain-update?view=graph-rest-beta func (m *DomainItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Domainable, requestConfiguration *DomainItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Domainable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/domains/domains_request_builder.go b/domains/domains_request_builder.go index fa9be99e26f..31bc1dae572 100644 --- a/domains/domains_request_builder.go +++ b/domains/domains_request_builder.go @@ -81,7 +81,7 @@ func (m *DomainsRequestBuilder) Count()(*CountRequestBuilder) { // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/domain-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/domain-list?view=graph-rest-beta func (m *DomainsRequestBuilder) Get(ctx context.Context, requestConfiguration *DomainsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DomainCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,7 +104,7 @@ func (m *DomainsRequestBuilder) Get(ctx context.Context, requestConfiguration *D // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/domain-post-domains?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/domain-post-domains?view=graph-rest-beta func (m *DomainsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Domainable, requestConfiguration *DomainsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Domainable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/domains/item_domain_name_references_request_builder.go b/domains/item_domain_name_references_request_builder.go index 636232ef57f..d2220f297e9 100644 --- a/domains/item_domain_name_references_request_builder.go +++ b/domains/item_domain_name_references_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemDomainNameReferencesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemDomainNameReferencesRequestBuilderGetQueryParameters retrieve a list of directoryObject with a reference to the domain. The returned list will contain all directory objects that have a dependency on the domain. +// ItemDomainNameReferencesRequestBuilderGetQueryParameters the objects such as users and groups that reference the domain ID. Read-only, Nullable. Supports $expand and $filter by the OData type of objects returned. For example /domains/{domainId}/domainNameReferences/microsoft.graph.user and /domains/{domainId}/domainNameReferences/microsoft.graph.group. type ItemDomainNameReferencesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewItemDomainNameReferencesRequestBuilder(rawUrl string, requestAdapter i2a func (m *ItemDomainNameReferencesRequestBuilder) Count()(*ItemDomainNameReferencesCountRequestBuilder) { return NewItemDomainNameReferencesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of directoryObject with a reference to the domain. The returned list will contain all directory objects that have a dependency on the domain. +// Get the objects such as users and groups that reference the domain ID. Read-only, Nullable. Supports $expand and $filter by the OData type of objects returned. For example /domains/{domainId}/domainNameReferences/microsoft.graph.user and /domains/{domainId}/domainNameReferences/microsoft.graph.group. // returns a DirectoryObjectCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/domain-list-domainnamereferences?view=graph-rest-1.0 func (m *ItemDomainNameReferencesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemDomainNameReferencesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *ItemDomainNameReferencesRequestBuilder) Get(ctx context.Context, reques } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectCollectionResponseable), nil } -// ToGetRequestInformation retrieve a list of directoryObject with a reference to the domain. The returned list will contain all directory objects that have a dependency on the domain. +// ToGetRequestInformation the objects such as users and groups that reference the domain ID. Read-only, Nullable. Supports $expand and $filter by the OData type of objects returned. For example /domains/{domainId}/domainNameReferences/microsoft.graph.user and /domains/{domainId}/domainNameReferences/microsoft.graph.group. // returns a *RequestInformation when successful func (m *ItemDomainNameReferencesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemDomainNameReferencesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/domains/item_federation_configuration_internal_domain_federation_item_request_builder.go b/domains/item_federation_configuration_internal_domain_federation_item_request_builder.go index d639883ef0b..89ba52e1b4f 100644 --- a/domains/item_federation_configuration_internal_domain_federation_item_request_builder.go +++ b/domains/item_federation_configuration_internal_domain_federation_item_request_builder.go @@ -18,7 +18,7 @@ type ItemFederationConfigurationInternalDomainFederationItemRequestBuilderDelete // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemFederationConfigurationInternalDomainFederationItemRequestBuilderGetQueryParameters read the properties and relationships of an internalDomainFederation object. +// ItemFederationConfigurationInternalDomainFederationItemRequestBuilderGetQueryParameters domain settings configured by customer when federated with Microsoft Entra ID. Supports $expand. type ItemFederationConfigurationInternalDomainFederationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemFederationConfigurationInternalDomainFederationItemRequestBuilder(ra urlParams["request-raw-url"] = rawUrl return NewItemFederationConfigurationInternalDomainFederationItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes an internalDomainFederation object. +// Delete delete navigation property federationConfiguration for domains // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/internaldomainfederation-delete?view=graph-rest-1.0 func (m *ItemFederationConfigurationInternalDomainFederationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemFederationConfigurationInternalDomainFederationItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemFederationConfigurationInternalDomainFederationItemRequestBuilder) } return nil } -// Get read the properties and relationships of an internalDomainFederation object. +// Get domain settings configured by customer when federated with Microsoft Entra ID. Supports $expand. // returns a InternalDomainFederationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/internaldomainfederation-get?view=graph-rest-1.0 func (m *ItemFederationConfigurationInternalDomainFederationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemFederationConfigurationInternalDomainFederationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InternalDomainFederationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ItemFederationConfigurationInternalDomainFederationItemRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InternalDomainFederationable), nil } -// Patch update the properties of an internalDomainFederation object. +// Patch update the navigation property federationConfiguration in domains // returns a InternalDomainFederationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/internaldomainfederation-update?view=graph-rest-1.0 func (m *ItemFederationConfigurationInternalDomainFederationItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InternalDomainFederationable, requestConfiguration *ItemFederationConfigurationInternalDomainFederationItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InternalDomainFederationable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *ItemFederationConfigurationInternalDomainFederationItemRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InternalDomainFederationable), nil } -// ToDeleteRequestInformation deletes an internalDomainFederation object. +// ToDeleteRequestInformation delete navigation property federationConfiguration for domains // returns a *RequestInformation when successful func (m *ItemFederationConfigurationInternalDomainFederationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemFederationConfigurationInternalDomainFederationItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *ItemFederationConfigurationInternalDomainFederationItemRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an internalDomainFederation object. +// ToGetRequestInformation domain settings configured by customer when federated with Microsoft Entra ID. Supports $expand. // returns a *RequestInformation when successful func (m *ItemFederationConfigurationInternalDomainFederationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemFederationConfigurationInternalDomainFederationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *ItemFederationConfigurationInternalDomainFederationItemRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an internalDomainFederation object. +// ToPatchRequestInformation update the navigation property federationConfiguration in domains // returns a *RequestInformation when successful func (m *ItemFederationConfigurationInternalDomainFederationItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InternalDomainFederationable, requestConfiguration *ItemFederationConfigurationInternalDomainFederationItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/domains/item_federation_configuration_request_builder.go b/domains/item_federation_configuration_request_builder.go index 610345eb020..0d2db4fe8c7 100644 --- a/domains/item_federation_configuration_request_builder.go +++ b/domains/item_federation_configuration_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemFederationConfigurationRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemFederationConfigurationRequestBuilderGetQueryParameters read the properties of the internalDomainFederation objects for the domain. This API returns only one object in the collection. +// ItemFederationConfigurationRequestBuilderGetQueryParameters domain settings configured by customer when federated with Microsoft Entra ID. Supports $expand. type ItemFederationConfigurationRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemFederationConfigurationRequestBuilder(rawUrl string, requestAdapter func (m *ItemFederationConfigurationRequestBuilder) Count()(*ItemFederationConfigurationCountRequestBuilder) { return NewItemFederationConfigurationCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties of the internalDomainFederation objects for the domain. This API returns only one object in the collection. +// Get domain settings configured by customer when federated with Microsoft Entra ID. Supports $expand. // returns a InternalDomainFederationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/domain-list-federationconfiguration?view=graph-rest-1.0 func (m *ItemFederationConfigurationRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemFederationConfigurationRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InternalDomainFederationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemFederationConfigurationRequestBuilder) Get(ctx context.Context, req } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InternalDomainFederationCollectionResponseable), nil } -// Post create a new internalDomainFederation object. +// Post create new navigation property to federationConfiguration for domains // returns a InternalDomainFederationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/domain-post-federationconfiguration?view=graph-rest-1.0 func (m *ItemFederationConfigurationRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InternalDomainFederationable, requestConfiguration *ItemFederationConfigurationRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InternalDomainFederationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemFederationConfigurationRequestBuilder) Post(ctx context.Context, bo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InternalDomainFederationable), nil } -// ToGetRequestInformation read the properties of the internalDomainFederation objects for the domain. This API returns only one object in the collection. +// ToGetRequestInformation domain settings configured by customer when federated with Microsoft Entra ID. Supports $expand. // returns a *RequestInformation when successful func (m *ItemFederationConfigurationRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemFederationConfigurationRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemFederationConfigurationRequestBuilder) ToGetRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new internalDomainFederation object. +// ToPostRequestInformation create new navigation property to federationConfiguration for domains // returns a *RequestInformation when successful func (m *ItemFederationConfigurationRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InternalDomainFederationable, requestConfiguration *ItemFederationConfigurationRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/domains/item_force_delete_request_builder.go b/domains/item_force_delete_request_builder.go index 70d72874cc9..c1c5c98e569 100644 --- a/domains/item_force_delete_request_builder.go +++ b/domains/item_force_delete_request_builder.go @@ -34,7 +34,7 @@ func NewItemForceDeleteRequestBuilder(rawUrl string, requestAdapter i2ae4187f7da // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/domain-forcedelete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/domain-forcedelete?view=graph-rest-beta func (m *ItemForceDeleteRequestBuilder) Post(ctx context.Context, body ItemForceDeletePostRequestBodyable, requestConfiguration *ItemForceDeleteRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/domains/item_promote_request_builder.go b/domains/item_promote_request_builder.go index fbc71840138..c7a3c7e6fef 100644 --- a/domains/item_promote_request_builder.go +++ b/domains/item_promote_request_builder.go @@ -36,7 +36,7 @@ func NewItemPromoteRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/domain-promote?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/domain-promote?view=graph-rest-beta func (m *ItemPromoteRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemPromoteRequestBuilderPostRequestConfiguration)(ItemPromoteResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ItemPromoteRequestBuilder) Post(ctx context.Context, requestConfigurati // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/domain-promote?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/domain-promote?view=graph-rest-beta func (m *ItemPromoteRequestBuilder) PostAsPromotePostResponse(ctx context.Context, requestConfiguration *ItemPromoteRequestBuilderPostRequestConfiguration)(ItemPromotePostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/domains/item_service_configuration_records_request_builder.go b/domains/item_service_configuration_records_request_builder.go index d463fabd6a5..48887d75fad 100644 --- a/domains/item_service_configuration_records_request_builder.go +++ b/domains/item_service_configuration_records_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemServiceConfigurationRecordsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemServiceConfigurationRecordsRequestBuilderGetQueryParameters retrieves a list of domainDnsRecord objects needed to enable services for the domain. Use the returned list to add records to the zone file of the domain. This can be done through the domain registrar or DNS server configuration. +// ItemServiceConfigurationRecordsRequestBuilderGetQueryParameters dNS records the customer adds to the DNS zone file of the domain before the domain can be used by Microsoft Online services. Read-only, Nullable. Supports $expand. type ItemServiceConfigurationRecordsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemServiceConfigurationRecordsRequestBuilder(rawUrl string, requestAdap func (m *ItemServiceConfigurationRecordsRequestBuilder) Count()(*ItemServiceConfigurationRecordsCountRequestBuilder) { return NewItemServiceConfigurationRecordsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieves a list of domainDnsRecord objects needed to enable services for the domain. Use the returned list to add records to the zone file of the domain. This can be done through the domain registrar or DNS server configuration. +// Get dNS records the customer adds to the DNS zone file of the domain before the domain can be used by Microsoft Online services. Read-only, Nullable. Supports $expand. // returns a DomainDnsRecordCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/domain-list-serviceconfigurationrecords?view=graph-rest-1.0 func (m *ItemServiceConfigurationRecordsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemServiceConfigurationRecordsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DomainDnsRecordCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemServiceConfigurationRecordsRequestBuilder) Post(ctx context.Context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DomainDnsRecordable), nil } -// ToGetRequestInformation retrieves a list of domainDnsRecord objects needed to enable services for the domain. Use the returned list to add records to the zone file of the domain. This can be done through the domain registrar or DNS server configuration. +// ToGetRequestInformation dNS records the customer adds to the DNS zone file of the domain before the domain can be used by Microsoft Online services. Read-only, Nullable. Supports $expand. // returns a *RequestInformation when successful func (m *ItemServiceConfigurationRecordsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemServiceConfigurationRecordsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/domains/item_verification_dns_records_request_builder.go b/domains/item_verification_dns_records_request_builder.go index c59d30d7677..6e718e0f2b2 100644 --- a/domains/item_verification_dns_records_request_builder.go +++ b/domains/item_verification_dns_records_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemVerificationDnsRecordsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemVerificationDnsRecordsRequestBuilderGetQueryParameters retrieve a list of domainDnsRecord objects. You cannot use an associated domain with your Microsoft Entra tenant until ownership is verified. To verify the ownership of the domain, retrieve the domain verification records and add the details to the zone file of the domain. This can be done through the domain registrar or DNS server configuration. Root domains require verification. For example, contoso.com requires verification. If a root domain is verified, subdomains of the root domain are automatically verified. For example, subdomain.contoso.com is automatically be verified if contoso.com has been verified. +// ItemVerificationDnsRecordsRequestBuilderGetQueryParameters dNS records that the customer adds to the DNS zone file of the domain before the customer can complete domain ownership verification with Microsoft Entra ID. Read-only, Nullable. Supports $expand. type ItemVerificationDnsRecordsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemVerificationDnsRecordsRequestBuilder(rawUrl string, requestAdapter i func (m *ItemVerificationDnsRecordsRequestBuilder) Count()(*ItemVerificationDnsRecordsCountRequestBuilder) { return NewItemVerificationDnsRecordsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of domainDnsRecord objects. You cannot use an associated domain with your Microsoft Entra tenant until ownership is verified. To verify the ownership of the domain, retrieve the domain verification records and add the details to the zone file of the domain. This can be done through the domain registrar or DNS server configuration. Root domains require verification. For example, contoso.com requires verification. If a root domain is verified, subdomains of the root domain are automatically verified. For example, subdomain.contoso.com is automatically be verified if contoso.com has been verified. +// Get dNS records that the customer adds to the DNS zone file of the domain before the customer can complete domain ownership verification with Microsoft Entra ID. Read-only, Nullable. Supports $expand. // returns a DomainDnsRecordCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/domain-list-verificationdnsrecords?view=graph-rest-1.0 func (m *ItemVerificationDnsRecordsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemVerificationDnsRecordsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DomainDnsRecordCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemVerificationDnsRecordsRequestBuilder) Post(ctx context.Context, bod } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DomainDnsRecordable), nil } -// ToGetRequestInformation retrieve a list of domainDnsRecord objects. You cannot use an associated domain with your Microsoft Entra tenant until ownership is verified. To verify the ownership of the domain, retrieve the domain verification records and add the details to the zone file of the domain. This can be done through the domain registrar or DNS server configuration. Root domains require verification. For example, contoso.com requires verification. If a root domain is verified, subdomains of the root domain are automatically verified. For example, subdomain.contoso.com is automatically be verified if contoso.com has been verified. +// ToGetRequestInformation dNS records that the customer adds to the DNS zone file of the domain before the customer can complete domain ownership verification with Microsoft Entra ID. Read-only, Nullable. Supports $expand. // returns a *RequestInformation when successful func (m *ItemVerificationDnsRecordsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemVerificationDnsRecordsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/domains/item_verify_request_builder.go b/domains/item_verify_request_builder.go index 7827a49c26e..8da1a8c798e 100644 --- a/domains/item_verify_request_builder.go +++ b/domains/item_verify_request_builder.go @@ -36,7 +36,7 @@ func NewItemVerifyRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/domain-verify?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/domain-verify?view=graph-rest-beta func (m *ItemVerifyRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemVerifyRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Domainable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_activities_request_builder.go b/drives/item_activities_request_builder.go index fa460ab0595..8c8c9f7c413 100644 --- a/drives/item_activities_request_builder.go +++ b/drives/item_activities_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemActivitiesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemActivitiesRequestBuilderGetQueryParameters list the recent activities that took place on an item or under a hierarchy. +// ItemActivitiesRequestBuilderGetQueryParameters the list of recent activities that took place under this drive. type ItemActivitiesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemActivitiesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7dae func (m *ItemActivitiesRequestBuilder) Count()(*ItemActivitiesCountRequestBuilder) { return NewItemActivitiesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list the recent activities that took place on an item or under a hierarchy. +// Get the list of recent activities that took place under this drive. // returns a ItemActivityOLDCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/activities-list?view=graph-rest-1.0 func (m *ItemActivitiesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemActivitiesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemActivityOLDCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemActivitiesRequestBuilder) Post(ctx context.Context, body ie233ee762 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemActivityOLDable), nil } -// ToGetRequestInformation list the recent activities that took place on an item or under a hierarchy. +// ToGetRequestInformation the list of recent activities that took place under this drive. // returns a *RequestInformation when successful func (m *ItemActivitiesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemActivitiesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_bundles_drive_item_item_request_builder.go b/drives/item_bundles_drive_item_item_request_builder.go index 36d91687658..2485bf8bb4d 100644 --- a/drives/item_bundles_drive_item_item_request_builder.go +++ b/drives/item_bundles_drive_item_item_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemBundlesDriveItemItemRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemBundlesDriveItemItemRequestBuilderGetQueryParameters collection of [bundles][bundle] (albums and multi-select-shared sets of items). Only in personal OneDrive. +// ItemBundlesDriveItemItemRequestBuilderGetQueryParameters collection of bundles (albums and multi-select-shared sets of items). Only in personal OneDrive. type ItemBundlesDriveItemItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -50,7 +50,7 @@ func (m *ItemBundlesDriveItemItemRequestBuilder) Content()(*ItemBundlesItemConte func (m *ItemBundlesDriveItemItemRequestBuilder) ContentStream()(*ItemBundlesItemContentStreamRequestBuilder) { return NewItemBundlesItemContentStreamRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get collection of [bundles][bundle] (albums and multi-select-shared sets of items). Only in personal OneDrive. +// Get collection of bundles (albums and multi-select-shared sets of items). Only in personal OneDrive. // returns a DriveItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemBundlesDriveItemItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemBundlesDriveItemItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable, error) { @@ -70,7 +70,7 @@ func (m *ItemBundlesDriveItemItemRequestBuilder) Get(ctx context.Context, reques } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable), nil } -// ToGetRequestInformation collection of [bundles][bundle] (albums and multi-select-shared sets of items). Only in personal OneDrive. +// ToGetRequestInformation collection of bundles (albums and multi-select-shared sets of items). Only in personal OneDrive. // returns a *RequestInformation when successful func (m *ItemBundlesDriveItemItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemBundlesDriveItemItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_bundles_request_builder.go b/drives/item_bundles_request_builder.go index 687f07e59b7..49da69e35fe 100644 --- a/drives/item_bundles_request_builder.go +++ b/drives/item_bundles_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemBundlesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemBundlesRequestBuilderGetQueryParameters collection of [bundles][bundle] (albums and multi-select-shared sets of items). Only in personal OneDrive. +// ItemBundlesRequestBuilderGetQueryParameters collection of bundles (albums and multi-select-shared sets of items). Only in personal OneDrive. type ItemBundlesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewItemBundlesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 func (m *ItemBundlesRequestBuilder) Count()(*ItemBundlesCountRequestBuilder) { return NewItemBundlesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get collection of [bundles][bundle] (albums and multi-select-shared sets of items). Only in personal OneDrive. +// Get collection of bundles (albums and multi-select-shared sets of items). Only in personal OneDrive. // returns a DriveItemCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemBundlesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemBundlesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *ItemBundlesRequestBuilder) Post(ctx context.Context, body ie233ee762e29 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable), nil } -// ToGetRequestInformation collection of [bundles][bundle] (albums and multi-select-shared sets of items). Only in personal OneDrive. +// ToGetRequestInformation collection of bundles (albums and multi-select-shared sets of items). Only in personal OneDrive. // returns a *RequestInformation when successful func (m *ItemBundlesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemBundlesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_following_item_content_request_builder.go b/drives/item_following_item_content_request_builder.go index 8ae0d6af175..24ff91dc03d 100644 --- a/drives/item_following_item_content_request_builder.go +++ b/drives/item_following_item_content_request_builder.go @@ -48,9 +48,6 @@ func NewItemFollowingItemContentRequestBuilder(rawUrl string, requestAdapter i2a // Get get content for the navigation property following from drives // 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/drive-list-following?view=graph-rest-1.0 func (m *ItemFollowingItemContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemFollowingItemContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_following_item_content_stream_request_builder.go b/drives/item_following_item_content_stream_request_builder.go index 2f92d022fef..bb99f7f356e 100644 --- a/drives/item_following_item_content_stream_request_builder.go +++ b/drives/item_following_item_content_stream_request_builder.go @@ -40,9 +40,6 @@ func NewItemFollowingItemContentStreamRequestBuilder(rawUrl string, requestAdapt // Get the content stream, if the item represents a file. // 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/drive-list-following?view=graph-rest-1.0 func (m *ItemFollowingItemContentStreamRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemFollowingItemContentStreamRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_following_request_builder.go b/drives/item_following_request_builder.go index 31c07fda5ec..9b97b80b5d4 100644 --- a/drives/item_following_request_builder.go +++ b/drives/item_following_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemFollowingRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemFollowingRequestBuilderGetQueryParameters list the items that the signed-in user followed.This collection includes items that are in the user's drive and items they have access to from other drives. +// ItemFollowingRequestBuilderGetQueryParameters the list of items the user is following. Only in OneDrive for Business. type ItemFollowingRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewItemFollowingRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee func (m *ItemFollowingRequestBuilder) Count()(*ItemFollowingCountRequestBuilder) { return NewItemFollowingCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list the items that the signed-in user followed.This collection includes items that are in the user's drive and items they have access to from other drives. +// Get the list of items the user is following. Only in OneDrive for Business. // returns a DriveItemCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/drive-list-following?view=graph-rest-1.0 func (m *ItemFollowingRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemFollowingRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *ItemFollowingRequestBuilder) Get(ctx context.Context, requestConfigurat } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemCollectionResponseable), nil } -// ToGetRequestInformation list the items that the signed-in user followed.This collection includes items that are in the user's drive and items they have access to from other drives. +// ToGetRequestInformation the list of items the user is following. Only in OneDrive for Business. // returns a *RequestInformation when successful func (m *ItemFollowingRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemFollowingRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_drive_item_item_request_builder.go b/drives/item_items_drive_item_item_request_builder.go index 423cbd5e923..4637a4c908c 100644 --- a/drives/item_items_drive_item_item_request_builder.go +++ b/drives/item_items_drive_item_item_request_builder.go @@ -114,11 +114,8 @@ func (m *ItemItemsDriveItemItemRequestBuilder) CreateLink()(*ItemItemsItemCreate func (m *ItemItemsDriveItemItemRequestBuilder) CreateUploadSession()(*ItemItemsItemCreateUploadSessionRequestBuilder) { return NewItemItemsItemCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Delete delete a DriveItem by using its ID or path.Deleting items using this method moves the items to the recycle bin instead of permanently deleting the item. +// Delete delete navigation property items for drives // returns a ODataError error 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-delete?view=graph-rest-1.0 func (m *ItemItemsDriveItemItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemItemsDriveItemItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -193,12 +190,9 @@ func (m *ItemItemsDriveItemItemRequestBuilder) LastModifiedByUser()(*ItemItemsIt func (m *ItemItemsDriveItemItemRequestBuilder) ListItem()(*ItemItemsItemListItemRequestBuilder) { return NewItemItemsItemListItemRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch to move a DriveItem to a new parent item, your app requests to update the parentReference of the DriveItem to move. This is a special case of the Update method.Your app can combine moving an item to a new container and updating other properties of the item into a single request. Items cannot be moved between Drives using this request. +// Patch update the navigation property items in drives // returns a DriveItemable when successful // returns a ODataError error 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-move?view=graph-rest-1.0 func (m *ItemItemsDriveItemItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable, requestConfiguration *ItemItemsDriveItemItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -256,7 +250,7 @@ func (m *ItemItemsDriveItemItemRequestBuilder) Subscriptions()(*ItemItemsItemSub func (m *ItemItemsDriveItemItemRequestBuilder) Thumbnails()(*ItemItemsItemThumbnailsRequestBuilder) { return NewItemItemsItemThumbnailsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a DriveItem by using its ID or path.Deleting items using this method moves the items to the recycle bin instead of permanently deleting the item. +// ToDeleteRequestInformation delete navigation property items for drives // returns a *RequestInformation when successful func (m *ItemItemsDriveItemItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemItemsDriveItemItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -281,7 +275,7 @@ func (m *ItemItemsDriveItemItemRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation to move a DriveItem to a new parent item, your app requests to update the parentReference of the DriveItem to move. This is a special case of the Update method.Your app can combine moving an item to a new container and updating other properties of the item into a single request. Items cannot be moved between Drives using this request. +// ToPatchRequestInformation update the navigation property items in drives // returns a *RequestInformation when successful func (m *ItemItemsDriveItemItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable, requestConfiguration *ItemItemsDriveItemItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_analytics_request_builder.go b/drives/item_items_item_analytics_request_builder.go index 8e935c0eae9..f2ad1ea1f91 100644 --- a/drives/item_items_item_analytics_request_builder.go +++ b/drives/item_items_item_analytics_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemAnalyticsRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemAnalyticsRequestBuilderGetQueryParameters get [itemAnalytics][] about the views that took place under this resource.The itemAnalytics resource is a convenient way to get activity stats for allTime and the lastSevenDays.For a custom time range or interval, use the [getActivitiesByInterval][] API. +// ItemItemsItemAnalyticsRequestBuilderGetQueryParameters analytics about the view activities that took place on this item. type ItemItemsItemAnalyticsRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *ItemItemsItemAnalyticsRequestBuilder) Delete(ctx context.Context, reque } return nil } -// Get get [itemAnalytics][] about the views that took place under this resource.The itemAnalytics resource is a convenient way to get activity stats for allTime and the lastSevenDays.For a custom time range or interval, use the [getActivitiesByInterval][] API. +// Get analytics about the view activities that took place on this item. // returns a ItemAnalyticsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/itemanalytics-get?view=graph-rest-1.0 func (m *ItemItemsItemAnalyticsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemAnalyticsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemAnalyticsable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -139,7 +136,7 @@ func (m *ItemItemsItemAnalyticsRequestBuilder) ToDeleteRequestInformation(ctx co requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get [itemAnalytics][] about the views that took place under this resource.The itemAnalytics resource is a convenient way to get activity stats for allTime and the lastSevenDays.For a custom time range or interval, use the [getActivitiesByInterval][] API. +// ToGetRequestInformation analytics about the view activities that took place on this item. // returns a *RequestInformation when successful func (m *ItemItemsItemAnalyticsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemAnalyticsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_checkin_request_builder.go b/drives/item_items_item_checkin_request_builder.go index d37923668ac..c1ccac5ae43 100644 --- a/drives/item_items_item_checkin_request_builder.go +++ b/drives/item_items_item_checkin_request_builder.go @@ -34,7 +34,7 @@ func NewItemItemsItemCheckinRequestBuilder(rawUrl string, requestAdapter i2ae418 // returns a ODataError error 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-checkin?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/driveitem-checkin?view=graph-rest-beta func (m *ItemItemsItemCheckinRequestBuilder) Post(ctx context.Context, body ItemItemsItemCheckinPostRequestBodyable, requestConfiguration *ItemItemsItemCheckinRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_checkout_request_builder.go b/drives/item_items_item_checkout_request_builder.go index b081499a2f7..6f81da63d83 100644 --- a/drives/item_items_item_checkout_request_builder.go +++ b/drives/item_items_item_checkout_request_builder.go @@ -34,7 +34,7 @@ func NewItemItemsItemCheckoutRequestBuilder(rawUrl string, requestAdapter i2ae41 // returns a ODataError error 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-checkout?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/driveitem-checkout?view=graph-rest-beta func (m *ItemItemsItemCheckoutRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemItemsItemCheckoutRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_children_item_content_request_builder.go b/drives/item_items_item_children_item_content_request_builder.go index 585df3181dd..711eda61946 100644 --- a/drives/item_items_item_children_item_content_request_builder.go +++ b/drives/item_items_item_children_item_content_request_builder.go @@ -48,9 +48,6 @@ func NewItemItemsItemChildrenItemContentRequestBuilder(rawUrl string, requestAda // Get get content for the navigation property children from drives // 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/driveitem-list-children?view=graph-rest-1.0 func (m *ItemItemsItemChildrenItemContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemChildrenItemContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_children_item_content_stream_request_builder.go b/drives/item_items_item_children_item_content_stream_request_builder.go index c0da254b18b..bf760ea5795 100644 --- a/drives/item_items_item_children_item_content_stream_request_builder.go +++ b/drives/item_items_item_children_item_content_stream_request_builder.go @@ -40,9 +40,6 @@ func NewItemItemsItemChildrenItemContentStreamRequestBuilder(rawUrl string, requ // Get the content stream, if the item represents a file. // 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/driveitem-list-children?view=graph-rest-1.0 func (m *ItemItemsItemChildrenItemContentStreamRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemChildrenItemContentStreamRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_children_request_builder.go b/drives/item_items_item_children_request_builder.go index f6b0806dd72..8076fcc233b 100644 --- a/drives/item_items_item_children_request_builder.go +++ b/drives/item_items_item_children_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemItemsItemChildrenRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemItemsItemChildrenRequestBuilderGetQueryParameters return a collection of driveItems in the children relationship of a driveItem. DriveItems with a non-null folder or package facet can have one or more child driveItems. +// ItemItemsItemChildrenRequestBuilderGetQueryParameters collection containing Item objects for the immediate children of Item. Only items representing folders have children. Read-only. Nullable. type ItemItemsItemChildrenRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemItemsItemChildrenRequestBuilder(rawUrl string, requestAdapter i2ae41 func (m *ItemItemsItemChildrenRequestBuilder) Count()(*ItemItemsItemChildrenCountRequestBuilder) { return NewItemItemsItemChildrenCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get return a collection of driveItems in the children relationship of a driveItem. DriveItems with a non-null folder or package facet can have one or more child driveItems. +// Get collection containing Item objects for the immediate children of Item. Only items representing folders have children. Read-only. Nullable. // returns a DriveItemCollectionResponseable when successful // returns a ODataError error 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-list-children?view=graph-rest-1.0 func (m *ItemItemsItemChildrenRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemChildrenRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,9 +99,6 @@ func (m *ItemItemsItemChildrenRequestBuilder) Get(ctx context.Context, requestCo // Post create new navigation property to children for drives // returns a DriveItemable when successful // returns a ODataError error 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-post-children?view=graph-rest-1.0 func (m *ItemItemsItemChildrenRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable, requestConfiguration *ItemItemsItemChildrenRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemItemsItemChildrenRequestBuilder) Post(ctx context.Context, body ie2 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable), nil } -// ToGetRequestInformation return a collection of driveItems in the children relationship of a driveItem. DriveItems with a non-null folder or package facet can have one or more child driveItems. +// ToGetRequestInformation collection containing Item objects for the immediate children of Item. Only items representing folders have children. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemItemsItemChildrenRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemChildrenRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_copy_request_builder.go b/drives/item_items_item_copy_request_builder.go index c81188806b7..a6a72425eb6 100644 --- a/drives/item_items_item_copy_request_builder.go +++ b/drives/item_items_item_copy_request_builder.go @@ -31,12 +31,12 @@ func NewItemItemsItemCopyRequestBuilder(rawUrl string, requestAdapter i2ae4187f7 urlParams["request-raw-url"] = rawUrl return NewItemItemsItemCopyRequestBuilderInternal(urlParams, requestAdapter) } -// Post asynchronously creates a copy of an [driveItem][item-resource] (including any children), under a new parent item or with a new name. +// Post asynchronously creates a copy of an driveItem (including any children), under a new parent item or with a new name. // returns a DriveItemable when successful // returns a ODataError error 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-copy?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/driveitem-copy?view=graph-rest-beta func (m *ItemItemsItemCopyRequestBuilder) Post(ctx context.Context, body ItemItemsItemCopyPostRequestBodyable, requestConfiguration *ItemItemsItemCopyRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -54,7 +54,7 @@ func (m *ItemItemsItemCopyRequestBuilder) Post(ctx context.Context, body ItemIte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable), nil } -// ToPostRequestInformation asynchronously creates a copy of an [driveItem][item-resource] (including any children), under a new parent item or with a new name. +// ToPostRequestInformation asynchronously creates a copy of an driveItem (including any children), under a new parent item or with a new name. // returns a *RequestInformation when successful func (m *ItemItemsItemCopyRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemsItemCopyPostRequestBodyable, requestConfiguration *ItemItemsItemCopyRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_create_link_request_builder.go b/drives/item_items_item_create_link_request_builder.go index f4466132429..27dd48f38df 100644 --- a/drives/item_items_item_create_link_request_builder.go +++ b/drives/item_items_item_create_link_request_builder.go @@ -36,7 +36,7 @@ func NewItemItemsItemCreateLinkRequestBuilder(rawUrl string, requestAdapter i2ae // returns a ODataError error 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-createlink?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/driveitem-createlink?view=graph-rest-beta func (m *ItemItemsItemCreateLinkRequestBuilder) Post(ctx context.Context, body ItemItemsItemCreateLinkPostRequestBodyable, requestConfiguration *ItemItemsItemCreateLinkRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_delta_request_builder.go b/drives/item_items_item_delta_request_builder.go index af96bb2b487..adf9d96856e 100644 --- a/drives/item_items_item_delta_request_builder.go +++ b/drives/item_items_item_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemItemsItemDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemItemsItemDeltaRequestBuilderGetQueryParameters invoke function delta +// ItemItemsItemDeltaRequestBuilderGetQueryParameters track changes in a driveItem and its children over time. Your app begins by calling delta without any parameters.The service starts enumerating the drive's hierarchy, returning pages of items and either an @odata.nextLink or an @odata.deltaLink.Your app should continue calling with the @odata.nextLink until you no longer see an @odata.nextLink returned, or you see a response with an empty set of changes. After you finish receiving all the changes, you may apply them to your local state.To check for changes in the future, call delta again with the @odata.deltaLink from the previous response. Deleted items are returned with the deleted facet.Items with this property set should be removed from your local state. Note: you should only delete a folder locally if it's empty after syncing all the changes. type ItemItemsItemDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewItemItemsItemDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f urlParams["request-raw-url"] = rawUrl return NewItemItemsItemDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get track changes in a driveItem and its children over time. Your app begins by calling delta without any parameters.The service starts enumerating the drive's hierarchy, returning pages of items and either an @odata.nextLink or an @odata.deltaLink.Your app should continue calling with the @odata.nextLink until you no longer see an @odata.nextLink returned, or you see a response with an empty set of changes. After you finish receiving all the changes, you may apply them to your local state.To check for changes in the future, call delta again with the @odata.deltaLink from the previous response. Deleted items are returned with the deleted facet.Items with this property set should be removed from your local state. Note: you should only delete a folder locally if it's empty after syncing all the changes. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemItemsItemDeltaResponseable when successful // returns a ODataError error 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-delta?view=graph-rest-beta func (m *ItemItemsItemDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemDeltaRequestBuilderGetRequestConfiguration)(ItemItemsItemDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ItemItemsItemDeltaRequestBuilder) Get(ctx context.Context, requestConfi } return res.(ItemItemsItemDeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse track changes in a driveItem and its children over time. Your app begins by calling delta without any parameters.The service starts enumerating the drive's hierarchy, returning pages of items and either an @odata.nextLink or an @odata.deltaLink.Your app should continue calling with the @odata.nextLink until you no longer see an @odata.nextLink returned, or you see a response with an empty set of changes. After you finish receiving all the changes, you may apply them to your local state.To check for changes in the future, call delta again with the @odata.deltaLink from the previous response. Deleted items are returned with the deleted facet.Items with this property set should be removed from your local state. Note: you should only delete a folder locally if it's empty after syncing all the changes. // returns a ItemItemsItemDeltaGetResponseable when successful // returns a ODataError error 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-delta?view=graph-rest-beta func (m *ItemItemsItemDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemItemsItemDeltaRequestBuilderGetRequestConfiguration)(ItemItemsItemDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ItemItemsItemDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Con } return res.(ItemItemsItemDeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation track changes in a driveItem and its children over time. Your app begins by calling delta without any parameters.The service starts enumerating the drive's hierarchy, returning pages of items and either an @odata.nextLink or an @odata.deltaLink.Your app should continue calling with the @odata.nextLink until you no longer see an @odata.nextLink returned, or you see a response with an empty set of changes. After you finish receiving all the changes, you may apply them to your local state.To check for changes in the future, call delta again with the @odata.deltaLink from the previous response. Deleted items are returned with the deleted facet.Items with this property set should be removed from your local state. Note: you should only delete a folder locally if it's empty after syncing all the changes. // returns a *RequestInformation when successful func (m *ItemItemsItemDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_follow_request_builder.go b/drives/item_items_item_follow_request_builder.go index 085bfbcf052..ecca5dac497 100644 --- a/drives/item_items_item_follow_request_builder.go +++ b/drives/item_items_item_follow_request_builder.go @@ -36,7 +36,7 @@ func NewItemItemsItemFollowRequestBuilder(rawUrl string, requestAdapter i2ae4187 // returns a ODataError error 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-follow?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/driveitem-follow?view=graph-rest-beta func (m *ItemItemsItemFollowRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemItemsItemFollowRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.go b/drives/item_items_item_get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.go index 6a847b662e1..fe97cda65bd 100644 --- a/drives/item_items_item_get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.go +++ b/drives/item_items_item_get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemItemsItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemItemsItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilderGetQueryParameters invoke function getActivitiesByInterval +// ItemItemsItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilderGetQueryParameters get itemActivityStats for the activities that took place under this resource within the specified time interval. Analytics aggregates might not be available for all action types. type ItemItemsItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -60,10 +60,13 @@ func NewItemItemsItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWith urlParams["request-raw-url"] = rawUrl return NewItemItemsItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilderInternal(urlParams, requestAdapter, nil, nil, nil) } -// Get invoke function getActivitiesByInterval +// Get get itemActivityStats for the activities that took place under this resource within the specified time interval. Analytics aggregates might not be available for all action types. // Deprecated: This method is obsolete. Use GetAsGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse instead. // returns a ItemItemsItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/itemactivity-getbyinterval?view=graph-rest-beta func (m *ItemItemsItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilderGetRequestConfiguration)(ItemItemsItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -81,9 +84,12 @@ func (m *ItemItemsItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWit } return res.(ItemItemsItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalResponseable), nil } -// GetAsGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse invoke function getActivitiesByInterval +// GetAsGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse get itemActivityStats for the activities that took place under this resource within the specified time interval. Analytics aggregates might not be available for all action types. // returns a ItemItemsItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/itemactivity-getbyinterval?view=graph-rest-beta func (m *ItemItemsItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder) GetAsGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponse(ctx context.Context, requestConfiguration *ItemItemsItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilderGetRequestConfiguration)(ItemItemsItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,7 +107,7 @@ func (m *ItemItemsItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWit } return res.(ItemItemsItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalGetResponseable), nil } -// ToGetRequestInformation invoke function getActivitiesByInterval +// ToGetRequestInformation get itemActivityStats for the activities that took place under this resource within the specified time interval. Analytics aggregates might not be available for all action types. // returns a *RequestInformation when successful func (m *ItemItemsItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_invite_request_builder.go b/drives/item_items_item_invite_request_builder.go index 2adc16057bd..c01dd0c5b5e 100644 --- a/drives/item_items_item_invite_request_builder.go +++ b/drives/item_items_item_invite_request_builder.go @@ -36,7 +36,7 @@ func NewItemItemsItemInviteRequestBuilder(rawUrl string, requestAdapter i2ae4187 // returns a ODataError error 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-invite?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/driveitem-invite?view=graph-rest-beta func (m *ItemItemsItemInviteRequestBuilder) Post(ctx context.Context, body ItemItemsItemInvitePostRequestBodyable, requestConfiguration *ItemItemsItemInviteRequestBuilderPostRequestConfiguration)(ItemItemsItemInviteResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ItemItemsItemInviteRequestBuilder) Post(ctx context.Context, body ItemI // returns a ODataError error 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-invite?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/driveitem-invite?view=graph-rest-beta func (m *ItemItemsItemInviteRequestBuilder) PostAsInvitePostResponse(ctx context.Context, body ItemItemsItemInvitePostRequestBodyable, requestConfiguration *ItemItemsItemInviteRequestBuilderPostRequestConfiguration)(ItemItemsItemInvitePostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_permissions_item_grant_request_builder.go b/drives/item_items_item_permissions_item_grant_request_builder.go index af40636a140..e536c075b08 100644 --- a/drives/item_items_item_permissions_item_grant_request_builder.go +++ b/drives/item_items_item_permissions_item_grant_request_builder.go @@ -30,13 +30,13 @@ func NewItemItemsItemPermissionsItemGrantRequestBuilder(rawUrl string, requestAd urlParams["request-raw-url"] = rawUrl return NewItemItemsItemPermissionsItemGrantRequestBuilderInternal(urlParams, requestAdapter) } -// Post grant users access to a link represented by a [permission][]. +// Post grant users access to a link represented by a permission. // Deprecated: This method is obsolete. Use PostAsGrantPostResponse instead. // returns a ItemItemsItemPermissionsItemGrantResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-beta func (m *ItemItemsItemPermissionsItemGrantRequestBuilder) Post(ctx context.Context, body ItemItemsItemPermissionsItemGrantPostRequestBodyable, requestConfiguration *ItemItemsItemPermissionsItemGrantRequestBuilderPostRequestConfiguration)(ItemItemsItemPermissionsItemGrantResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -54,12 +54,12 @@ func (m *ItemItemsItemPermissionsItemGrantRequestBuilder) Post(ctx context.Conte } return res.(ItemItemsItemPermissionsItemGrantResponseable), nil } -// PostAsGrantPostResponse grant users access to a link represented by a [permission][]. +// PostAsGrantPostResponse grant users access to a link represented by a permission. // returns a ItemItemsItemPermissionsItemGrantPostResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-beta func (m *ItemItemsItemPermissionsItemGrantRequestBuilder) PostAsGrantPostResponse(ctx context.Context, body ItemItemsItemPermissionsItemGrantPostRequestBodyable, requestConfiguration *ItemItemsItemPermissionsItemGrantRequestBuilderPostRequestConfiguration)(ItemItemsItemPermissionsItemGrantPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -77,7 +77,7 @@ func (m *ItemItemsItemPermissionsItemGrantRequestBuilder) PostAsGrantPostRespons } return res.(ItemItemsItemPermissionsItemGrantPostResponseable), nil } -// ToPostRequestInformation grant users access to a link represented by a [permission][]. +// ToPostRequestInformation grant users access to a link represented by a permission. // returns a *RequestInformation when successful func (m *ItemItemsItemPermissionsItemGrantRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemsItemPermissionsItemGrantPostRequestBodyable, requestConfiguration *ItemItemsItemPermissionsItemGrantRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_permissions_item_revoke_grants_request_builder.go b/drives/item_items_item_permissions_item_revoke_grants_request_builder.go index 9118f41983c..e6b17511e42 100644 --- a/drives/item_items_item_permissions_item_revoke_grants_request_builder.go +++ b/drives/item_items_item_permissions_item_revoke_grants_request_builder.go @@ -31,12 +31,12 @@ func NewItemItemsItemPermissionsItemRevokeGrantsRequestBuilder(rawUrl string, re urlParams["request-raw-url"] = rawUrl return NewItemItemsItemPermissionsItemRevokeGrantsRequestBuilderInternal(urlParams, requestAdapter) } -// Post revoke access to a [listItem][] or [driveItem][] granted via a sharing link by removing the specified [recipient][] from the link. +// Post revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. // returns a Permissionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-beta func (m *ItemItemsItemPermissionsItemRevokeGrantsRequestBuilder) Post(ctx context.Context, body ItemItemsItemPermissionsItemRevokeGrantsPostRequestBodyable, requestConfiguration *ItemItemsItemPermissionsItemRevokeGrantsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -54,7 +54,7 @@ func (m *ItemItemsItemPermissionsItemRevokeGrantsRequestBuilder) Post(ctx contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable), nil } -// ToPostRequestInformation revoke access to a [listItem][] or [driveItem][] granted via a sharing link by removing the specified [recipient][] from the link. +// ToPostRequestInformation revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. // returns a *RequestInformation when successful func (m *ItemItemsItemPermissionsItemRevokeGrantsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemsItemPermissionsItemRevokeGrantsPostRequestBodyable, requestConfiguration *ItemItemsItemPermissionsItemRevokeGrantsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_permissions_permission_item_request_builder.go b/drives/item_items_item_permissions_permission_item_request_builder.go index 6543a420f01..2da90fa221b 100644 --- a/drives/item_items_item_permissions_permission_item_request_builder.go +++ b/drives/item_items_item_permissions_permission_item_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemPermissionsPermissionItemRequestBuilderDeleteRequestConfigurat // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemPermissionsPermissionItemRequestBuilderGetQueryParameters return the effective sharing permission for a particular permission resource. Effective permissions of an item can come from two sources: permissions set directly on the item itself or permissions that are inherited from the item's ancestors. Callers can differentiate if the permission is inherited or not by checking the inheritedFrom property.This property is an ItemReference resource referencing the ancestor that the permission is inherited from. +// ItemItemsItemPermissionsPermissionItemRequestBuilderGetQueryParameters the set of permissions for the item. Read-only. Nullable. type ItemItemsItemPermissionsPermissionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemItemsItemPermissionsPermissionItemRequestBuilder(rawUrl string, requ urlParams["request-raw-url"] = rawUrl return NewItemItemsItemPermissionsPermissionItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove access to a DriveItem. Only sharing permissions that are not inherited can be deleted.The inheritedFrom property must be null. +// Delete delete navigation property permissions for drives // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/permission-delete?view=graph-rest-1.0 func (m *ItemItemsItemPermissionsPermissionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemItemsItemPermissionsPermissionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemItemsItemPermissionsPermissionItemRequestBuilder) Delete(ctx contex } return nil } -// Get return the effective sharing permission for a particular permission resource. Effective permissions of an item can come from two sources: permissions set directly on the item itself or permissions that are inherited from the item's ancestors. Callers can differentiate if the permission is inherited or not by checking the inheritedFrom property.This property is an ItemReference resource referencing the ancestor that the permission is inherited from. +// Get the set of permissions for the item. Read-only. Nullable. // returns a Permissionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/permission-get?view=graph-rest-1.0 func (m *ItemItemsItemPermissionsPermissionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemPermissionsPermissionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,12 +95,9 @@ func (m *ItemItemsItemPermissionsPermissionItemRequestBuilder) Get(ctx context.C func (m *ItemItemsItemPermissionsPermissionItemRequestBuilder) Grant()(*ItemItemsItemPermissionsItemGrantRequestBuilder) { return NewItemItemsItemPermissionsItemGrantRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of a sharing permission by patching the permission resource. Only the roles property can be modified this way. +// Patch update the navigation property permissions in drives // returns a Permissionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/permission-update?view=graph-rest-1.0 func (m *ItemItemsItemPermissionsPermissionItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *ItemItemsItemPermissionsPermissionItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -129,7 +120,7 @@ func (m *ItemItemsItemPermissionsPermissionItemRequestBuilder) Patch(ctx context func (m *ItemItemsItemPermissionsPermissionItemRequestBuilder) RevokeGrants()(*ItemItemsItemPermissionsItemRevokeGrantsRequestBuilder) { return NewItemItemsItemPermissionsItemRevokeGrantsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation remove access to a DriveItem. Only sharing permissions that are not inherited can be deleted.The inheritedFrom property must be null. +// ToDeleteRequestInformation delete navigation property permissions for drives // returns a *RequestInformation when successful func (m *ItemItemsItemPermissionsPermissionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemPermissionsPermissionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -140,7 +131,7 @@ func (m *ItemItemsItemPermissionsPermissionItemRequestBuilder) ToDeleteRequestIn requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation return the effective sharing permission for a particular permission resource. Effective permissions of an item can come from two sources: permissions set directly on the item itself or permissions that are inherited from the item's ancestors. Callers can differentiate if the permission is inherited or not by checking the inheritedFrom property.This property is an ItemReference resource referencing the ancestor that the permission is inherited from. +// ToGetRequestInformation the set of permissions for the item. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemItemsItemPermissionsPermissionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemPermissionsPermissionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -154,7 +145,7 @@ func (m *ItemItemsItemPermissionsPermissionItemRequestBuilder) ToGetRequestInfor requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a sharing permission by patching the permission resource. Only the roles property can be modified this way. +// ToPatchRequestInformation update the navigation property permissions in drives // returns a *RequestInformation when successful func (m *ItemItemsItemPermissionsPermissionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *ItemItemsItemPermissionsPermissionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_permissions_request_builder.go b/drives/item_items_item_permissions_request_builder.go index 8cc31b3d8e4..8ba8979d366 100644 --- a/drives/item_items_item_permissions_request_builder.go +++ b/drives/item_items_item_permissions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemItemsItemPermissionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemItemsItemPermissionsRequestBuilderGetQueryParameters list the effective sharing permissions on a driveItem. +// ItemItemsItemPermissionsRequestBuilderGetQueryParameters the set of permissions for the item. Read-only. Nullable. type ItemItemsItemPermissionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemItemsItemPermissionsRequestBuilder(rawUrl string, requestAdapter i2a func (m *ItemItemsItemPermissionsRequestBuilder) Count()(*ItemItemsItemPermissionsCountRequestBuilder) { return NewItemItemsItemPermissionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list the effective sharing permissions on a driveItem. +// Get the set of permissions for the item. Read-only. Nullable. // returns a PermissionCollectionResponseable when successful // returns a ODataError error 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-list-permissions?view=graph-rest-1.0 func (m *ItemItemsItemPermissionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemPermissionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemItemsItemPermissionsRequestBuilder) Post(ctx context.Context, body } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable), nil } -// ToGetRequestInformation list the effective sharing permissions on a driveItem. +// ToGetRequestInformation the set of permissions for the item. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemItemsItemPermissionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemPermissionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_restore_request_builder.go b/drives/item_items_item_restore_request_builder.go index 91ee9b9c4c9..748b5d54b8f 100644 --- a/drives/item_items_item_restore_request_builder.go +++ b/drives/item_items_item_restore_request_builder.go @@ -36,7 +36,7 @@ func NewItemItemsItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae418 // returns a ODataError error 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-restore?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/driveitem-restore?view=graph-rest-beta func (m *ItemItemsItemRestoreRequestBuilder) Post(ctx context.Context, body ItemItemsItemRestorePostRequestBodyable, requestConfiguration *ItemItemsItemRestoreRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_retention_label_request_builder.go b/drives/item_items_item_retention_label_request_builder.go index c431a54ee4c..e47e287ea3d 100644 --- a/drives/item_items_item_retention_label_request_builder.go +++ b/drives/item_items_item_retention_label_request_builder.go @@ -54,11 +54,8 @@ func NewItemItemsItemRetentionLabelRequestBuilder(rawUrl string, requestAdapter urlParams["request-raw-url"] = rawUrl return NewItemItemsItemRetentionLabelRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove a retention label from a driveItem. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. +// Delete delete navigation property retentionLabel for drives // returns a ODataError error 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-removeretentionlabel?view=graph-rest-1.0 func (m *ItemItemsItemRetentionLabelRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemItemsItemRetentionLabelRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *ItemItemsItemRetentionLabelRequestBuilder) Get(ctx context.Context, req } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemRetentionLabelable), nil } -// Patch lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. +// Patch update the navigation property retentionLabel in drives // returns a ItemRetentionLabelable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/driveitem-lockorunlockrecord?view=graph-rest-1.0 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 { @@ -116,7 +110,7 @@ func (m *ItemItemsItemRetentionLabelRequestBuilder) Patch(ctx context.Context, b } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemRetentionLabelable), nil } -// ToDeleteRequestInformation remove a retention label from a driveItem. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. +// ToDeleteRequestInformation delete navigation property retentionLabel for drives // returns a *RequestInformation when successful func (m *ItemItemsItemRetentionLabelRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemRetentionLabelRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ItemItemsItemRetentionLabelRequestBuilder) ToGetRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. +// ToPatchRequestInformation update the navigation property retentionLabel in drives // 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_search_with_q_request_builder.go b/drives/item_items_item_search_with_q_request_builder.go index d8509267892..6f1e4dac43b 100644 --- a/drives/item_items_item_search_with_q_request_builder.go +++ b/drives/item_items_item_search_with_q_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemItemsItemSearchWithQRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemItemsItemSearchWithQRequestBuilderGetQueryParameters invoke function search +// ItemItemsItemSearchWithQRequestBuilderGetQueryParameters search the hierarchy of items for items matching a query.You can search within a folder hierarchy, a whole drive, or files shared with the current user. type ItemItemsItemSearchWithQRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewItemItemsItemSearchWithQRequestBuilder(rawUrl string, requestAdapter i2a urlParams["request-raw-url"] = rawUrl return NewItemItemsItemSearchWithQRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function search +// Get search the hierarchy of items for items matching a query.You can search within a folder hierarchy, a whole drive, or files shared with the current user. // Deprecated: This method is obsolete. Use GetAsSearchWithQGetResponse instead. // returns a ItemItemsItemSearchWithQResponseable when successful // returns a ODataError error 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-search?view=graph-rest-beta func (m *ItemItemsItemSearchWithQRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemSearchWithQRequestBuilderGetRequestConfiguration)(ItemItemsItemSearchWithQResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *ItemItemsItemSearchWithQRequestBuilder) Get(ctx context.Context, reques } return res.(ItemItemsItemSearchWithQResponseable), nil } -// GetAsSearchWithQGetResponse invoke function search +// GetAsSearchWithQGetResponse search the hierarchy of items for items matching a query.You can search within a folder hierarchy, a whole drive, or files shared with the current user. // returns a ItemItemsItemSearchWithQGetResponseable when successful // returns a ODataError error 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-search?view=graph-rest-beta func (m *ItemItemsItemSearchWithQRequestBuilder) GetAsSearchWithQGetResponse(ctx context.Context, requestConfiguration *ItemItemsItemSearchWithQRequestBuilderGetRequestConfiguration)(ItemItemsItemSearchWithQGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *ItemItemsItemSearchWithQRequestBuilder) GetAsSearchWithQGetResponse(ctx } return res.(ItemItemsItemSearchWithQGetResponseable), nil } -// ToGetRequestInformation invoke function search +// ToGetRequestInformation search the hierarchy of items for items matching a query.You can search within a folder hierarchy, a whole drive, or files shared with the current user. // returns a *RequestInformation when successful func (m *ItemItemsItemSearchWithQRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemSearchWithQRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_subscriptions_item_reauthorize_request_builder.go b/drives/item_items_item_subscriptions_item_reauthorize_request_builder.go index 54db8430785..cd5909926ba 100644 --- a/drives/item_items_item_subscriptions_item_reauthorize_request_builder.go +++ b/drives/item_items_item_subscriptions_item_reauthorize_request_builder.go @@ -34,7 +34,7 @@ func NewItemItemsItemSubscriptionsItemReauthorizeRequestBuilder(rawUrl string, r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/subscription-reauthorize?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/subscription-reauthorize?view=graph-rest-beta func (m *ItemItemsItemSubscriptionsItemReauthorizeRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemItemsItemSubscriptionsItemReauthorizeRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_thumbnails_request_builder.go b/drives/item_items_item_thumbnails_request_builder.go index 9e79e6bbbbb..9cae6166306 100644 --- a/drives/item_items_item_thumbnails_request_builder.go +++ b/drives/item_items_item_thumbnails_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemItemsItemThumbnailsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemItemsItemThumbnailsRequestBuilderGetQueryParameters retrieve a collection of thumbnailSet resources for a driveItem resource. Zero or more thumbnailSet resources can represent a driveItem.Each thumbnailSet can have one or more thumbnail objects, which are images that represent the item.For example, a thumbnailSet may include thumbnail objects, such as common ones including small, medium, or large. There're many ways to work with thumbnails on OneDrive.Here are the most common ones: +// ItemItemsItemThumbnailsRequestBuilderGetQueryParameters collection of thumbnailSet objects associated with the item. For more information, see getting thumbnails. Read-only. Nullable. type ItemItemsItemThumbnailsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemItemsItemThumbnailsRequestBuilder(rawUrl string, requestAdapter i2ae func (m *ItemItemsItemThumbnailsRequestBuilder) Count()(*ItemItemsItemThumbnailsCountRequestBuilder) { return NewItemItemsItemThumbnailsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a collection of thumbnailSet resources for a driveItem resource. Zero or more thumbnailSet resources can represent a driveItem.Each thumbnailSet can have one or more thumbnail objects, which are images that represent the item.For example, a thumbnailSet may include thumbnail objects, such as common ones including small, medium, or large. There're many ways to work with thumbnails on OneDrive.Here are the most common ones: +// Get collection of thumbnailSet objects associated with the item. For more information, see getting thumbnails. Read-only. Nullable. // returns a ThumbnailSetCollectionResponseable when successful // returns a ODataError error 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-list-thumbnails?view=graph-rest-1.0 func (m *ItemItemsItemThumbnailsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemThumbnailsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ThumbnailSetCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemItemsItemThumbnailsRequestBuilder) Post(ctx context.Context, body i } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ThumbnailSetable), nil } -// ToGetRequestInformation retrieve a collection of thumbnailSet resources for a driveItem resource. Zero or more thumbnailSet resources can represent a driveItem.Each thumbnailSet can have one or more thumbnail objects, which are images that represent the item.For example, a thumbnailSet may include thumbnail objects, such as common ones including small, medium, or large. There're many ways to work with thumbnails on OneDrive.Here are the most common ones: +// ToGetRequestInformation collection of thumbnailSet objects associated with the item. For more information, see getting thumbnails. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemItemsItemThumbnailsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemThumbnailsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_thumbnails_thumbnail_set_item_request_builder.go b/drives/item_items_item_thumbnails_thumbnail_set_item_request_builder.go index 5b1b2861ac4..ecee438b247 100644 --- a/drives/item_items_item_thumbnails_thumbnail_set_item_request_builder.go +++ b/drives/item_items_item_thumbnails_thumbnail_set_item_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemThumbnailsThumbnailSetItemRequestBuilderDeleteRequestConfigura // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemThumbnailsThumbnailSetItemRequestBuilderGetQueryParameters collection of [thumbnailSet][] objects associated with the item. For more information, see [getting thumbnails][]. Read-only. Nullable. +// ItemItemsItemThumbnailsThumbnailSetItemRequestBuilderGetQueryParameters collection of thumbnailSet objects associated with the item. For more information, see getting thumbnails. Read-only. Nullable. type ItemItemsItemThumbnailsThumbnailSetItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *ItemItemsItemThumbnailsThumbnailSetItemRequestBuilder) Delete(ctx conte } return nil } -// Get collection of [thumbnailSet][] objects associated with the item. For more information, see [getting thumbnails][]. Read-only. Nullable. +// Get collection of thumbnailSet objects associated with the item. For more information, see getting thumbnails. Read-only. Nullable. // returns a ThumbnailSetable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemItemsItemThumbnailsThumbnailSetItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemThumbnailsThumbnailSetItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ThumbnailSetable, error) { @@ -121,7 +121,7 @@ func (m *ItemItemsItemThumbnailsThumbnailSetItemRequestBuilder) ToDeleteRequestI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation collection of [thumbnailSet][] objects associated with the item. For more information, see [getting thumbnails][]. Read-only. Nullable. +// ToGetRequestInformation collection of thumbnailSet objects associated with the item. For more information, see getting thumbnails. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemItemsItemThumbnailsThumbnailSetItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemThumbnailsThumbnailSetItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_unfollow_request_builder.go b/drives/item_items_item_unfollow_request_builder.go index 115c48f6c93..f41e693cb0a 100644 --- a/drives/item_items_item_unfollow_request_builder.go +++ b/drives/item_items_item_unfollow_request_builder.go @@ -34,7 +34,7 @@ func NewItemItemsItemUnfollowRequestBuilder(rawUrl string, requestAdapter i2ae41 // returns a ODataError error 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-unfollow?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/driveitem-unfollow?view=graph-rest-beta func (m *ItemItemsItemUnfollowRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemItemsItemUnfollowRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_versions_drive_item_version_item_request_builder.go b/drives/item_items_item_versions_drive_item_version_item_request_builder.go index 4d31220378e..35fce094ea8 100644 --- a/drives/item_items_item_versions_drive_item_version_item_request_builder.go +++ b/drives/item_items_item_versions_drive_item_version_item_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemVersionsDriveItemVersionItemRequestBuilderDeleteRequestConfigu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemVersionsDriveItemVersionItemRequestBuilderGetQueryParameters retrieve the metadata for a specific version of a DriveItem. +// ItemItemsItemVersionsDriveItemVersionItemRequestBuilderGetQueryParameters the list of previous versions of the item. For more info, see getting previous versions. Read-only. Nullable. type ItemItemsItemVersionsDriveItemVersionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *ItemItemsItemVersionsDriveItemVersionItemRequestBuilder) Delete(ctx con } return nil } -// Get retrieve the metadata for a specific version of a DriveItem. +// Get the list of previous versions of the item. For more info, see getting previous versions. Read-only. Nullable. // returns a DriveItemVersionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/driveitemversion-get?view=graph-rest-1.0 func (m *ItemItemsItemVersionsDriveItemVersionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemVersionsDriveItemVersionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemVersionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -134,7 +131,7 @@ func (m *ItemItemsItemVersionsDriveItemVersionItemRequestBuilder) ToDeleteReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the metadata for a specific version of a DriveItem. +// ToGetRequestInformation the list of previous versions of the item. For more info, see getting previous versions. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemItemsItemVersionsDriveItemVersionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemVersionsDriveItemVersionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_versions_item_content_request_builder.go b/drives/item_items_item_versions_item_content_request_builder.go index 49ce161970c..4d3cac6ba43 100644 --- a/drives/item_items_item_versions_item_content_request_builder.go +++ b/drives/item_items_item_versions_item_content_request_builder.go @@ -41,9 +41,6 @@ func NewItemItemsItemVersionsItemContentRequestBuilder(rawUrl string, requestAda // Get get content for the navigation property versions from drives // 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/driveitem-list-versions?view=graph-rest-1.0 func (m *ItemItemsItemVersionsItemContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemVersionsItemContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_versions_item_restore_version_request_builder.go b/drives/item_items_item_versions_item_restore_version_request_builder.go index 4ea6f8b98e4..4aaf5711cb5 100644 --- a/drives/item_items_item_versions_item_restore_version_request_builder.go +++ b/drives/item_items_item_versions_item_restore_version_request_builder.go @@ -34,7 +34,7 @@ func NewItemItemsItemVersionsItemRestoreVersionRequestBuilder(rawUrl string, req // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/driveitemversion-restore?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/driveitemversion-restore?view=graph-rest-beta func (m *ItemItemsItemVersionsItemRestoreVersionRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemItemsItemVersionsItemRestoreVersionRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_versions_request_builder.go b/drives/item_items_item_versions_request_builder.go index 908ee40a0ac..e796c78cb89 100644 --- a/drives/item_items_item_versions_request_builder.go +++ b/drives/item_items_item_versions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemItemsItemVersionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemItemsItemVersionsRequestBuilderGetQueryParameters oneDrive and SharePoint can be configured to retain the history for files.Depending on the service and configuration, a new version can be created for each edit, each time the file is saved, manually, or never. Previous versions of a document may be retained for a finite period of time depending on admin settings that may be unique per user or location. +// ItemItemsItemVersionsRequestBuilderGetQueryParameters the list of previous versions of the item. For more info, see getting previous versions. Read-only. Nullable. type ItemItemsItemVersionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemItemsItemVersionsRequestBuilder(rawUrl string, requestAdapter i2ae41 func (m *ItemItemsItemVersionsRequestBuilder) Count()(*ItemItemsItemVersionsCountRequestBuilder) { return NewItemItemsItemVersionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get oneDrive and SharePoint can be configured to retain the history for files.Depending on the service and configuration, a new version can be created for each edit, each time the file is saved, manually, or never. Previous versions of a document may be retained for a finite period of time depending on admin settings that may be unique per user or location. +// Get the list of previous versions of the item. For more info, see getting previous versions. Read-only. Nullable. // returns a DriveItemVersionCollectionResponseable when successful // returns a ODataError error 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-list-versions?view=graph-rest-1.0 func (m *ItemItemsItemVersionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemVersionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemVersionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemItemsItemVersionsRequestBuilder) Post(ctx context.Context, body ie2 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemVersionable), nil } -// ToGetRequestInformation oneDrive and SharePoint can be configured to retain the history for files.Depending on the service and configuration, a new version can be created for each edit, each time the file is saved, manually, or never. Previous versions of a document may be retained for a finite period of time depending on admin settings that may be unique per user or location. +// ToGetRequestInformation the list of previous versions of the item. For more info, see getting previous versions. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemItemsItemVersionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemVersionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_application_calculate_request_builder.go b/drives/item_items_item_workbook_application_calculate_request_builder.go index 4641b7f9109..8a5ed2516db 100644 --- a/drives/item_items_item_workbook_application_calculate_request_builder.go +++ b/drives/item_items_item_workbook_application_calculate_request_builder.go @@ -34,7 +34,7 @@ func NewItemItemsItemWorkbookApplicationCalculateRequestBuilder(rawUrl string, r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/workbookapplication-calculate?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/workbookapplication-calculate?view=graph-rest-beta func (m *ItemItemsItemWorkbookApplicationCalculateRequestBuilder) Post(ctx context.Context, body ItemItemsItemWorkbookApplicationCalculatePostRequestBodyable, requestConfiguration *ItemItemsItemWorkbookApplicationCalculateRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_application_request_builder.go b/drives/item_items_item_workbook_application_request_builder.go index 49f52dd6f23..6909457b7e4 100644 --- a/drives/item_items_item_workbook_application_request_builder.go +++ b/drives/item_items_item_workbook_application_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemWorkbookApplicationRequestBuilderDeleteRequestConfiguration st // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemWorkbookApplicationRequestBuilderGetQueryParameters retrieve the properties and relationships of a workbookApplication object. +// ItemItemsItemWorkbookApplicationRequestBuilderGetQueryParameters get application from drives type ItemItemsItemWorkbookApplicationRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *ItemItemsItemWorkbookApplicationRequestBuilder) Delete(ctx context.Cont } return nil } -// Get retrieve the properties and relationships of a workbookApplication object. +// Get get application from drives // returns a WorkbookApplicationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/workbookapplication-get?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookApplicationRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookApplicationRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookApplicationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *ItemItemsItemWorkbookApplicationRequestBuilder) ToDeleteRequestInformat requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a workbookApplication object. +// ToGetRequestInformation get application from drives // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookApplicationRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookApplicationRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_close_session_request_builder.go b/drives/item_items_item_workbook_close_session_request_builder.go index a63c4d69078..51a84f7a7c1 100644 --- a/drives/item_items_item_workbook_close_session_request_builder.go +++ b/drives/item_items_item_workbook_close_session_request_builder.go @@ -34,7 +34,7 @@ func NewItemItemsItemWorkbookCloseSessionRequestBuilder(rawUrl string, requestAd // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/workbook-closesession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/workbook-closesession?view=graph-rest-beta func (m *ItemItemsItemWorkbookCloseSessionRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookCloseSessionRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_create_session_request_builder.go b/drives/item_items_item_workbook_create_session_request_builder.go index b44b9d9945f..8725cbdc921 100644 --- a/drives/item_items_item_workbook_create_session_request_builder.go +++ b/drives/item_items_item_workbook_create_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemItemsItemWorkbookCreateSessionRequestBuilder(rawUrl string, requestA // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/workbook-createsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/workbook-createsession?view=graph-rest-beta func (m *ItemItemsItemWorkbookCreateSessionRequestBuilder) Post(ctx context.Context, body ItemItemsItemWorkbookCreateSessionPostRequestBodyable, requestConfiguration *ItemItemsItemWorkbookCreateSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookSessionInfoable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_names_add_formula_local_request_builder.go b/drives/item_items_item_workbook_names_add_formula_local_request_builder.go index 0ef47a08bfc..6fcb7df99a6 100644 --- a/drives/item_items_item_workbook_names_add_formula_local_request_builder.go +++ b/drives/item_items_item_workbook_names_add_formula_local_request_builder.go @@ -36,7 +36,7 @@ func NewItemItemsItemWorkbookNamesAddFormulaLocalRequestBuilder(rawUrl string, r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/nameditem-addformulalocal?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/nameditem-addformulalocal?view=graph-rest-beta func (m *ItemItemsItemWorkbookNamesAddFormulaLocalRequestBuilder) Post(ctx context.Context, body ItemItemsItemWorkbookNamesAddFormulaLocalPostRequestBodyable, requestConfiguration *ItemItemsItemWorkbookNamesAddFormulaLocalRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookNamedItemable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_names_add_request_builder.go b/drives/item_items_item_workbook_names_add_request_builder.go index ec989b9d4cc..7bc52dbd603 100644 --- a/drives/item_items_item_workbook_names_add_request_builder.go +++ b/drives/item_items_item_workbook_names_add_request_builder.go @@ -36,7 +36,7 @@ func NewItemItemsItemWorkbookNamesAddRequestBuilder(rawUrl string, requestAdapte // returns a ODataError error 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-add?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/nameditem-add?view=graph-rest-beta func (m *ItemItemsItemWorkbookNamesAddRequestBuilder) Post(ctx context.Context, body ItemItemsItemWorkbookNamesAddPostRequestBodyable, requestConfiguration *ItemItemsItemWorkbookNamesAddRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookNamedItemable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { 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 47d17ad1076..9050f6571c2 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 @@ -36,7 +36,7 @@ func NewItemItemsItemWorkbookNamesItemRangeRequestBuilder(rawUrl string, request // returns a ODataError error 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-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/nameditem-range?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 { diff --git a/drives/item_items_item_workbook_names_request_builder.go b/drives/item_items_item_workbook_names_request_builder.go index 088c1693020..6bedeff7f5b 100644 --- a/drives/item_items_item_workbook_names_request_builder.go +++ b/drives/item_items_item_workbook_names_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemItemsItemWorkbookNamesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemItemsItemWorkbookNamesRequestBuilderGetQueryParameters retrieve a list of nameditem objects. +// ItemItemsItemWorkbookNamesRequestBuilderGetQueryParameters represents a collection of workbooks scoped named items (named ranges and constants). Read-only. type ItemItemsItemWorkbookNamesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -86,12 +86,9 @@ func NewItemItemsItemWorkbookNamesRequestBuilder(rawUrl string, requestAdapter i func (m *ItemItemsItemWorkbookNamesRequestBuilder) Count()(*ItemItemsItemWorkbookNamesCountRequestBuilder) { return NewItemItemsItemWorkbookNamesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of nameditem objects. +// Get represents a collection of workbooks scoped named items (named ranges and constants). Read-only. // returns a WorkbookNamedItemCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/workbook-list-names?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookNamesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookNamesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookNamedItemCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *ItemItemsItemWorkbookNamesRequestBuilder) Post(ctx context.Context, bod } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookNamedItemable), nil } -// ToGetRequestInformation retrieve a list of nameditem objects. +// ToGetRequestInformation represents a collection of workbooks scoped named items (named ranges and constants). Read-only. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookNamesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookNamesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_names_workbook_named_item_item_request_builder.go b/drives/item_items_item_workbook_names_workbook_named_item_item_request_builder.go index a750a21e3fd..43144781865 100644 --- a/drives/item_items_item_workbook_names_workbook_named_item_item_request_builder.go +++ b/drives/item_items_item_workbook_names_workbook_named_item_item_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemWorkbookNamesWorkbookNamedItemItemRequestBuilderDeleteRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemWorkbookNamesWorkbookNamedItemItemRequestBuilderGetQueryParameters retrieve the properties and relationships of nameditem object. +// ItemItemsItemWorkbookNamesWorkbookNamedItemItemRequestBuilderGetQueryParameters represents a collection of workbooks scoped named items (named ranges and constants). Read-only. type ItemItemsItemWorkbookNamesWorkbookNamedItemItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemItemsItemWorkbookNamesWorkbookNamedItemItemRequestBuilder(rawUrl str urlParams["request-raw-url"] = rawUrl return NewItemItemsItemWorkbookNamesWorkbookNamedItemItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a workbookNamedItem object. +// Delete delete navigation property names for drives // returns a ODataError error 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-delete?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookNamesWorkbookNamedItemItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookNamesWorkbookNamedItemItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemItemsItemWorkbookNamesWorkbookNamedItemItemRequestBuilder) Delete(c } return nil } -// Get retrieve the properties and relationships of nameditem object. +// Get represents a collection of workbooks scoped named items (named ranges and constants). Read-only. // returns a WorkbookNamedItemable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookNamesWorkbookNamedItemItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookNamesWorkbookNamedItemItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookNamedItemable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ItemItemsItemWorkbookNamesWorkbookNamedItemItemRequestBuilder) Get(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookNamedItemable), nil } -// Patch update the properties of nameditem object. +// Patch update the navigation property names in drives // returns a WorkbookNamedItemable when successful // returns a ODataError error 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-update?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookNamesWorkbookNamedItemItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookNamedItemable, requestConfiguration *ItemItemsItemWorkbookNamesWorkbookNamedItemItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookNamedItemable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -124,7 +115,7 @@ func (m *ItemItemsItemWorkbookNamesWorkbookNamedItemItemRequestBuilder) Patch(ct func (m *ItemItemsItemWorkbookNamesWorkbookNamedItemItemRequestBuilder) RangeEscaped()(*ItemItemsItemWorkbookNamesItemRangeRequestBuilder) { return NewItemItemsItemWorkbookNamesItemRangeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a workbookNamedItem object. +// ToDeleteRequestInformation delete navigation property names for drives // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookNamesWorkbookNamedItemItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookNamesWorkbookNamedItemItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -135,7 +126,7 @@ func (m *ItemItemsItemWorkbookNamesWorkbookNamedItemItemRequestBuilder) ToDelete requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of nameditem object. +// ToGetRequestInformation represents a collection of workbooks scoped named items (named ranges and constants). Read-only. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookNamesWorkbookNamedItemItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookNamesWorkbookNamedItemItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -149,7 +140,7 @@ func (m *ItemItemsItemWorkbookNamesWorkbookNamedItemItemRequestBuilder) ToGetReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of nameditem object. +// ToPatchRequestInformation update the navigation property names in drives // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookNamesWorkbookNamedItemItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookNamedItemable, requestConfiguration *ItemItemsItemWorkbookNamesWorkbookNamedItemItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_operations_request_builder.go b/drives/item_items_item_workbook_operations_request_builder.go index 262994dd33c..553093d4e35 100644 --- a/drives/item_items_item_workbook_operations_request_builder.go +++ b/drives/item_items_item_workbook_operations_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemItemsItemWorkbookOperationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemItemsItemWorkbookOperationsRequestBuilderGetQueryParameters meaningless if this url is called independently. This request is part of all async requests for excel. This is used to retrieve the status of a workbookOperation object. Currently not all requests support async. Take Create session request as an example. Issue an async Create session request, follow the documentation and you may get status code 202 Accepted, async operation starts from here and you can find the url this document required from the response header, from the location part. +// ItemItemsItemWorkbookOperationsRequestBuilderGetQueryParameters the status of Workbook operations. Getting an operation collection is not supported, but you can get the status of a long-running operation if the Location header is returned in the response. Read-only. Nullable. type ItemItemsItemWorkbookOperationsRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -68,7 +68,7 @@ func NewItemItemsItemWorkbookOperationsRequestBuilder(rawUrl string, requestAdap func (m *ItemItemsItemWorkbookOperationsRequestBuilder) Count()(*ItemItemsItemWorkbookOperationsCountRequestBuilder) { return NewItemItemsItemWorkbookOperationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get meaningless if this url is called independently. This request is part of all async requests for excel. This is used to retrieve the status of a workbookOperation object. Currently not all requests support async. Take Create session request as an example. Issue an async Create session request, follow the documentation and you may get status code 202 Accepted, async operation starts from here and you can find the url this document required from the response header, from the location part. +// Get the status of Workbook operations. Getting an operation collection is not supported, but you can get the status of a long-running operation if the Location header is returned in the response. Read-only. Nullable. // returns a WorkbookOperationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemItemsItemWorkbookOperationsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookOperationsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookOperationCollectionResponseable, error) { @@ -108,7 +108,7 @@ func (m *ItemItemsItemWorkbookOperationsRequestBuilder) Post(ctx context.Context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookOperationable), nil } -// ToGetRequestInformation meaningless if this url is called independently. This request is part of all async requests for excel. This is used to retrieve the status of a workbookOperation object. Currently not all requests support async. Take Create session request as an example. Issue an async Create session request, follow the documentation and you may get status code 202 Accepted, async operation starts from here and you can find the url this document required from the response header, from the location part. +// ToGetRequestInformation the status of Workbook operations. Getting an operation collection is not supported, but you can get the status of a long-running operation if the Location header is returned in the response. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookOperationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookOperationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_operations_workbook_operation_item_request_builder.go b/drives/item_items_item_workbook_operations_workbook_operation_item_request_builder.go index 94c122eddf7..89630fc35a4 100644 --- a/drives/item_items_item_workbook_operations_workbook_operation_item_request_builder.go +++ b/drives/item_items_item_workbook_operations_workbook_operation_item_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemWorkbookOperationsWorkbookOperationItemRequestBuilderDeleteReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemWorkbookOperationsWorkbookOperationItemRequestBuilderGetQueryParameters meaningless if this url is called independently. This request is part of all async requests for excel. This is used to retrieve the status of a workbookOperation object. Currently not all requests support async. Take Create session request as an example. Issue an async Create session request, follow the documentation and you may get status code 202 Accepted, async operation starts from here and you can find the url this document required from the response header, from the location part. +// ItemItemsItemWorkbookOperationsWorkbookOperationItemRequestBuilderGetQueryParameters the status of Workbook operations. Getting an operation collection is not supported, but you can get the status of a long-running operation if the Location header is returned in the response. Read-only. Nullable. type ItemItemsItemWorkbookOperationsWorkbookOperationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemItemsItemWorkbookOperationsWorkbookOperationItemRequestBuilder) Del } return nil } -// Get meaningless if this url is called independently. This request is part of all async requests for excel. This is used to retrieve the status of a workbookOperation object. Currently not all requests support async. Take Create session request as an example. Issue an async Create session request, follow the documentation and you may get status code 202 Accepted, async operation starts from here and you can find the url this document required from the response header, from the location part. +// Get the status of Workbook operations. Getting an operation collection is not supported, but you can get the status of a long-running operation if the Location header is returned in the response. Read-only. Nullable. // returns a WorkbookOperationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/workbookoperation-get?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookOperationsWorkbookOperationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookOperationsWorkbookOperationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookOperationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemItemsItemWorkbookOperationsWorkbookOperationItemRequestBuilder) ToD requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation meaningless if this url is called independently. This request is part of all async requests for excel. This is used to retrieve the status of a workbookOperation object. Currently not all requests support async. Take Create session request as an example. Issue an async Create session request, follow the documentation and you may get status code 202 Accepted, async operation starts from here and you can find the url this document required from the response header, from the location part. +// ToGetRequestInformation the status of Workbook operations. Getting an operation collection is not supported, but you can get the status of a long-running operation if the Location header is returned in the response. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookOperationsWorkbookOperationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookOperationsWorkbookOperationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_refresh_session_request_builder.go b/drives/item_items_item_workbook_refresh_session_request_builder.go index beac5eec943..0482923c1bd 100644 --- a/drives/item_items_item_workbook_refresh_session_request_builder.go +++ b/drives/item_items_item_workbook_refresh_session_request_builder.go @@ -34,7 +34,7 @@ func NewItemItemsItemWorkbookRefreshSessionRequestBuilder(rawUrl string, request // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/workbook-refreshsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/workbook-refreshsession?view=graph-rest-beta func (m *ItemItemsItemWorkbookRefreshSessionRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookRefreshSessionRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_tables_add_request_builder.go b/drives/item_items_item_workbook_tables_add_request_builder.go index c4b006a0c71..ee3f7ca3d60 100644 --- a/drives/item_items_item_workbook_tables_add_request_builder.go +++ b/drives/item_items_item_workbook_tables_add_request_builder.go @@ -31,12 +31,12 @@ func NewItemItemsItemWorkbookTablesAddRequestBuilder(rawUrl string, requestAdapt urlParams["request-raw-url"] = rawUrl return NewItemItemsItemWorkbookTablesAddRequestBuilderInternal(urlParams, requestAdapter) } -// Post create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown. +// Post use this API to create a new Table. // returns a WorkbookTableable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/tablecollection-add?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/workbook-post-tables?view=graph-rest-beta func (m *ItemItemsItemWorkbookTablesAddRequestBuilder) Post(ctx context.Context, body ItemItemsItemWorkbookTablesAddPostRequestBodyable, requestConfiguration *ItemItemsItemWorkbookTablesAddRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -54,7 +54,7 @@ func (m *ItemItemsItemWorkbookTablesAddRequestBuilder) Post(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableable), nil } -// ToPostRequestInformation create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown. +// ToPostRequestInformation use this API to create a new Table. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookTablesAddRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemsItemWorkbookTablesAddPostRequestBodyable, requestConfiguration *ItemItemsItemWorkbookTablesAddRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_tables_item_at_with_index_clear_filters_request_builder.go b/drives/item_items_item_workbook_tables_item_at_with_index_clear_filters_request_builder.go index 646d7db96f1..ecd205af098 100644 --- a/drives/item_items_item_workbook_tables_item_at_with_index_clear_filters_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_at_with_index_clear_filters_request_builder.go @@ -34,7 +34,7 @@ func NewItemItemsItemWorkbookTablesItemAtWithIndexClearFiltersRequestBuilder(raw // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/table-clearfilters?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/table-clearfilters?view=graph-rest-beta func (m *ItemItemsItemWorkbookTablesItemAtWithIndexClearFiltersRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookTablesItemAtWithIndexClearFiltersRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_tables_item_at_with_index_columns_request_builder.go b/drives/item_items_item_workbook_tables_item_at_with_index_columns_request_builder.go index edbcf61a93f..9ece92accb9 100644 --- a/drives/item_items_item_workbook_tables_item_at_with_index_columns_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_at_with_index_columns_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemItemsItemWorkbookTablesItemAtWithIndexColumnsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemItemsItemWorkbookTablesItemAtWithIndexColumnsRequestBuilderGetQueryParameters retrieve a list of tablecolumn objects. +// ItemItemsItemWorkbookTablesItemAtWithIndexColumnsRequestBuilderGetQueryParameters represents a collection of all the columns in the table. Read-only. type ItemItemsItemWorkbookTablesItemAtWithIndexColumnsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -59,12 +59,9 @@ func NewItemItemsItemWorkbookTablesItemAtWithIndexColumnsRequestBuilder(rawUrl s urlParams["request-raw-url"] = rawUrl return NewItemItemsItemWorkbookTablesItemAtWithIndexColumnsRequestBuilderInternal(urlParams, requestAdapter) } -// Get retrieve a list of tablecolumn objects. +// Get represents a collection of all the columns in the table. Read-only. // returns a WorkbookTableColumnCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/tablecolumn-list?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookTablesItemAtWithIndexColumnsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookTablesItemAtWithIndexColumnsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableColumnCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -82,12 +79,9 @@ func (m *ItemItemsItemWorkbookTablesItemAtWithIndexColumnsRequestBuilder) Get(ct } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableColumnCollectionResponseable), nil } -// Post use this API to create a new TableColumn. +// Post create new navigation property to columns for drives // returns a WorkbookTableColumnable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/table-post-columns?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookTablesItemAtWithIndexColumnsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableColumnable, requestConfiguration *ItemItemsItemWorkbookTablesItemAtWithIndexColumnsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableColumnable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -105,7 +99,7 @@ func (m *ItemItemsItemWorkbookTablesItemAtWithIndexColumnsRequestBuilder) Post(c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableColumnable), nil } -// ToGetRequestInformation retrieve a list of tablecolumn objects. +// ToGetRequestInformation represents a collection of all the columns in the table. Read-only. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookTablesItemAtWithIndexColumnsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookTablesItemAtWithIndexColumnsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -119,7 +113,7 @@ func (m *ItemItemsItemWorkbookTablesItemAtWithIndexColumnsRequestBuilder) ToGetR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new TableColumn. +// ToPostRequestInformation create new navigation property to columns for drives // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookTablesItemAtWithIndexColumnsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableColumnable, requestConfiguration *ItemItemsItemWorkbookTablesItemAtWithIndexColumnsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_tables_item_at_with_index_convert_to_range_request_builder.go b/drives/item_items_item_workbook_tables_item_at_with_index_convert_to_range_request_builder.go index 291d450d953..7b8c5ef0f2c 100644 --- a/drives/item_items_item_workbook_tables_item_at_with_index_convert_to_range_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_at_with_index_convert_to_range_request_builder.go @@ -36,7 +36,7 @@ func NewItemItemsItemWorkbookTablesItemAtWithIndexConvertToRangeRequestBuilder(r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/table-converttorange?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/table-converttorange?view=graph-rest-beta func (m *ItemItemsItemWorkbookTablesItemAtWithIndexConvertToRangeRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookTablesItemAtWithIndexConvertToRangeRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookRangeable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_tables_item_at_with_index_data_body_range_request_builder.go b/drives/item_items_item_workbook_tables_item_at_with_index_data_body_range_request_builder.go index de2899b1055..bbc0e9c8579 100644 --- a/drives/item_items_item_workbook_tables_item_at_with_index_data_body_range_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_at_with_index_data_body_range_request_builder.go @@ -36,7 +36,7 @@ func NewItemItemsItemWorkbookTablesItemAtWithIndexDataBodyRangeRequestBuilder(ra // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/table-databodyrange?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/table-databodyrange?view=graph-rest-beta func (m *ItemItemsItemWorkbookTablesItemAtWithIndexDataBodyRangeRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookTablesItemAtWithIndexDataBodyRangeRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookRangeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_tables_item_at_with_index_header_row_range_request_builder.go b/drives/item_items_item_workbook_tables_item_at_with_index_header_row_range_request_builder.go index 0ccf1ed69f3..a8901218743 100644 --- a/drives/item_items_item_workbook_tables_item_at_with_index_header_row_range_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_at_with_index_header_row_range_request_builder.go @@ -36,7 +36,7 @@ func NewItemItemsItemWorkbookTablesItemAtWithIndexHeaderRowRangeRequestBuilder(r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/table-headerrowrange?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/table-headerrowrange?view=graph-rest-beta func (m *ItemItemsItemWorkbookTablesItemAtWithIndexHeaderRowRangeRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookTablesItemAtWithIndexHeaderRowRangeRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookRangeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_tables_item_at_with_index_range_request_builder.go b/drives/item_items_item_workbook_tables_item_at_with_index_range_request_builder.go index 131591b95a8..dc21bce44f3 100644 --- a/drives/item_items_item_workbook_tables_item_at_with_index_range_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_at_with_index_range_request_builder.go @@ -36,7 +36,7 @@ func NewItemItemsItemWorkbookTablesItemAtWithIndexRangeRequestBuilder(rawUrl str // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/table-range?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/table-range?view=graph-rest-beta func (m *ItemItemsItemWorkbookTablesItemAtWithIndexRangeRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookTablesItemAtWithIndexRangeRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookRangeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_tables_item_at_with_index_reapply_filters_request_builder.go b/drives/item_items_item_workbook_tables_item_at_with_index_reapply_filters_request_builder.go index d6bad864f4c..d4479a5336b 100644 --- a/drives/item_items_item_workbook_tables_item_at_with_index_reapply_filters_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_at_with_index_reapply_filters_request_builder.go @@ -34,7 +34,7 @@ func NewItemItemsItemWorkbookTablesItemAtWithIndexReapplyFiltersRequestBuilder(r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/table-reapplyfilters?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/table-reapplyfilters?view=graph-rest-beta func (m *ItemItemsItemWorkbookTablesItemAtWithIndexReapplyFiltersRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookTablesItemAtWithIndexReapplyFiltersRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_tables_item_at_with_index_rows_request_builder.go b/drives/item_items_item_workbook_tables_item_at_with_index_rows_request_builder.go index 7fd45dc5333..aba9d756fad 100644 --- a/drives/item_items_item_workbook_tables_item_at_with_index_rows_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_at_with_index_rows_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemItemsItemWorkbookTablesItemAtWithIndexRowsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemItemsItemWorkbookTablesItemAtWithIndexRowsRequestBuilderGetQueryParameters retrieve a list of tablerow objects. +// ItemItemsItemWorkbookTablesItemAtWithIndexRowsRequestBuilderGetQueryParameters represents a collection of all the rows in the table. Read-only. type ItemItemsItemWorkbookTablesItemAtWithIndexRowsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -59,12 +59,9 @@ func NewItemItemsItemWorkbookTablesItemAtWithIndexRowsRequestBuilder(rawUrl stri urlParams["request-raw-url"] = rawUrl return NewItemItemsItemWorkbookTablesItemAtWithIndexRowsRequestBuilderInternal(urlParams, requestAdapter) } -// Get retrieve a list of tablerow objects. +// Get represents a collection of all the rows in the table. Read-only. // returns a WorkbookTableRowCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/table-list-rows?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookTablesItemAtWithIndexRowsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookTablesItemAtWithIndexRowsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableRowCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -82,12 +79,9 @@ func (m *ItemItemsItemWorkbookTablesItemAtWithIndexRowsRequestBuilder) Get(ctx c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableRowCollectionResponseable), nil } -// Post add rows to the end of a table. The API can accept multiple rows data using this API. Adding one row at a time can lead to performance degradation. The recommended approach is to batch the rows together in a single call rather than doing single row insertion. For best results, collect the rows to be inserted on the application side and perform a single row add operation. Experiment with the number of rows to determine the ideal number of rows to use in a single API call. This request might occasionally result in a 504 HTTP error. The appropriate response to this error is to repeat the request. +// Post create new navigation property to rows for drives // returns a WorkbookTableRowable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/table-post-rows?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookTablesItemAtWithIndexRowsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableRowable, requestConfiguration *ItemItemsItemWorkbookTablesItemAtWithIndexRowsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableRowable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -105,7 +99,7 @@ func (m *ItemItemsItemWorkbookTablesItemAtWithIndexRowsRequestBuilder) Post(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableRowable), nil } -// ToGetRequestInformation retrieve a list of tablerow objects. +// ToGetRequestInformation represents a collection of all the rows in the table. Read-only. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookTablesItemAtWithIndexRowsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookTablesItemAtWithIndexRowsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -119,7 +113,7 @@ func (m *ItemItemsItemWorkbookTablesItemAtWithIndexRowsRequestBuilder) ToGetRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add rows to the end of a table. The API can accept multiple rows data using this API. Adding one row at a time can lead to performance degradation. The recommended approach is to batch the rows together in a single call rather than doing single row insertion. For best results, collect the rows to be inserted on the application side and perform a single row add operation. Experiment with the number of rows to determine the ideal number of rows to use in a single API call. This request might occasionally result in a 504 HTTP error. The appropriate response to this error is to repeat the request. +// ToPostRequestInformation create new navigation property to rows for drives // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookTablesItemAtWithIndexRowsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableRowable, requestConfiguration *ItemItemsItemWorkbookTablesItemAtWithIndexRowsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_tables_item_at_with_index_sort_request_builder.go b/drives/item_items_item_workbook_tables_item_at_with_index_sort_request_builder.go index 54bc5bf12c1..210862d5acd 100644 --- a/drives/item_items_item_workbook_tables_item_at_with_index_sort_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_at_with_index_sort_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemWorkbookTablesItemAtWithIndexSortRequestBuilderDeleteRequestCo // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemWorkbookTablesItemAtWithIndexSortRequestBuilderGetQueryParameters retrieve the properties and relationships of tablesort object. +// ItemItemsItemWorkbookTablesItemAtWithIndexSortRequestBuilderGetQueryParameters represents the sorting for the table. Read-only. type ItemItemsItemWorkbookTablesItemAtWithIndexSortRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemItemsItemWorkbookTablesItemAtWithIndexSortRequestBuilder) Delete(ct } return nil } -// Get retrieve the properties and relationships of tablesort object. +// Get represents the sorting for the table. Read-only. // returns a WorkbookTableSortable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/tablesort-get?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookTablesItemAtWithIndexSortRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookTablesItemAtWithIndexSortRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableSortable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemItemsItemWorkbookTablesItemAtWithIndexSortRequestBuilder) ToDeleteR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of tablesort object. +// ToGetRequestInformation represents the sorting for the table. Read-only. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookTablesItemAtWithIndexSortRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookTablesItemAtWithIndexSortRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_tables_item_at_with_index_total_row_range_request_builder.go b/drives/item_items_item_workbook_tables_item_at_with_index_total_row_range_request_builder.go index e12c40e7db4..8297b002fe2 100644 --- a/drives/item_items_item_workbook_tables_item_at_with_index_total_row_range_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_at_with_index_total_row_range_request_builder.go @@ -36,7 +36,7 @@ func NewItemItemsItemWorkbookTablesItemAtWithIndexTotalRowRangeRequestBuilder(ra // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/table-totalrowrange?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/table-totalrowrange?view=graph-rest-beta func (m *ItemItemsItemWorkbookTablesItemAtWithIndexTotalRowRangeRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookTablesItemAtWithIndexTotalRowRangeRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookRangeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_tables_item_clear_filters_request_builder.go b/drives/item_items_item_workbook_tables_item_clear_filters_request_builder.go index 2068aca867b..93e3464e2c9 100644 --- a/drives/item_items_item_workbook_tables_item_clear_filters_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_clear_filters_request_builder.go @@ -34,7 +34,7 @@ func NewItemItemsItemWorkbookTablesItemClearFiltersRequestBuilder(rawUrl string, // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/table-clearfilters?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/table-clearfilters?view=graph-rest-beta func (m *ItemItemsItemWorkbookTablesItemClearFiltersRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookTablesItemClearFiltersRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_tables_item_columns_add_request_builder.go b/drives/item_items_item_workbook_tables_item_columns_add_request_builder.go index 5842e63e720..498e19afb7a 100644 --- a/drives/item_items_item_workbook_tables_item_columns_add_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_columns_add_request_builder.go @@ -36,7 +36,7 @@ func NewItemItemsItemWorkbookTablesItemColumnsAddRequestBuilder(rawUrl string, r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/tablecolumncollection-add?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/tablecolumncollection-add?view=graph-rest-beta func (m *ItemItemsItemWorkbookTablesItemColumnsAddRequestBuilder) Post(ctx context.Context, body ItemItemsItemWorkbookTablesItemColumnsAddPostRequestBodyable, requestConfiguration *ItemItemsItemWorkbookTablesItemColumnsAddRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableColumnable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_tables_item_columns_item_at_with_index_data_body_range_request_builder.go b/drives/item_items_item_workbook_tables_item_columns_item_at_with_index_data_body_range_request_builder.go index 55aed240f02..8d2dbd1b0a4 100644 --- a/drives/item_items_item_workbook_tables_item_columns_item_at_with_index_data_body_range_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_columns_item_at_with_index_data_body_range_request_builder.go @@ -36,7 +36,7 @@ func NewItemItemsItemWorkbookTablesItemColumnsItemAtWithIndexDataBodyRangeReques // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/tablecolumn-databodyrange?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/tablecolumn-databodyrange?view=graph-rest-beta func (m *ItemItemsItemWorkbookTablesItemColumnsItemAtWithIndexDataBodyRangeRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookTablesItemColumnsItemAtWithIndexDataBodyRangeRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookRangeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_tables_item_columns_item_at_with_index_header_row_range_request_builder.go b/drives/item_items_item_workbook_tables_item_columns_item_at_with_index_header_row_range_request_builder.go index 74921c4cf67..483a27a316b 100644 --- a/drives/item_items_item_workbook_tables_item_columns_item_at_with_index_header_row_range_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_columns_item_at_with_index_header_row_range_request_builder.go @@ -36,7 +36,7 @@ func NewItemItemsItemWorkbookTablesItemColumnsItemAtWithIndexHeaderRowRangeReque // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/tablecolumn-headerrowrange?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/tablecolumn-headerrowrange?view=graph-rest-beta func (m *ItemItemsItemWorkbookTablesItemColumnsItemAtWithIndexHeaderRowRangeRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookTablesItemColumnsItemAtWithIndexHeaderRowRangeRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookRangeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_tables_item_columns_item_at_with_index_range_request_builder.go b/drives/item_items_item_workbook_tables_item_columns_item_at_with_index_range_request_builder.go index 236a0bbec2f..7712d019439 100644 --- a/drives/item_items_item_workbook_tables_item_columns_item_at_with_index_range_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_columns_item_at_with_index_range_request_builder.go @@ -36,7 +36,7 @@ func NewItemItemsItemWorkbookTablesItemColumnsItemAtWithIndexRangeRequestBuilder // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/tablecolumn-range?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/tablecolumn-range?view=graph-rest-beta func (m *ItemItemsItemWorkbookTablesItemColumnsItemAtWithIndexRangeRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookTablesItemColumnsItemAtWithIndexRangeRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookRangeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_tables_item_columns_item_at_with_index_request_builder.go b/drives/item_items_item_workbook_tables_item_columns_item_at_with_index_request_builder.go index 048f5b6455d..06f5134850e 100644 --- a/drives/item_items_item_workbook_tables_item_columns_item_at_with_index_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_columns_item_at_with_index_request_builder.go @@ -45,9 +45,12 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsItemAtWithIndexRequestBuilder) Da func (m *ItemItemsItemWorkbookTablesItemColumnsItemAtWithIndexRequestBuilder) Filter()(*ItemItemsItemWorkbookTablesItemColumnsItemAtWithIndexFilterRequestBuilder) { return NewItemItemsItemWorkbookTablesItemColumnsItemAtWithIndexFilterRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get invoke function itemAt +// Get gets a column based on its position in the collection. // returns a WorkbookTableColumnable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/tablecolumncollection-itemat?view=graph-rest-beta func (m *ItemItemsItemWorkbookTablesItemColumnsItemAtWithIndexRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookTablesItemColumnsItemAtWithIndexRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableColumnable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +78,7 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsItemAtWithIndexRequestBuilder) He func (m *ItemItemsItemWorkbookTablesItemColumnsItemAtWithIndexRequestBuilder) RangeEscaped()(*ItemItemsItemWorkbookTablesItemColumnsItemAtWithIndexRangeRequestBuilder) { return NewItemItemsItemWorkbookTablesItemColumnsItemAtWithIndexRangeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation invoke function itemAt +// ToGetRequestInformation gets a column based on its position in the collection. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookTablesItemColumnsItemAtWithIndexRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookTablesItemColumnsItemAtWithIndexRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_tables_item_columns_item_at_with_index_total_row_range_request_builder.go b/drives/item_items_item_workbook_tables_item_columns_item_at_with_index_total_row_range_request_builder.go index ec334e17936..f8fcb406d1e 100644 --- a/drives/item_items_item_workbook_tables_item_columns_item_at_with_index_total_row_range_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_columns_item_at_with_index_total_row_range_request_builder.go @@ -36,7 +36,7 @@ func NewItemItemsItemWorkbookTablesItemColumnsItemAtWithIndexTotalRowRangeReques // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/tablecolumn-totalrowrange?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/tablecolumn-totalrowrange?view=graph-rest-beta func (m *ItemItemsItemWorkbookTablesItemColumnsItemAtWithIndexTotalRowRangeRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookTablesItemColumnsItemAtWithIndexTotalRowRangeRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookRangeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_tables_item_columns_item_data_body_range_request_builder.go b/drives/item_items_item_workbook_tables_item_columns_item_data_body_range_request_builder.go index e14d4b3a455..aed0b67e8b2 100644 --- a/drives/item_items_item_workbook_tables_item_columns_item_data_body_range_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_columns_item_data_body_range_request_builder.go @@ -36,7 +36,7 @@ func NewItemItemsItemWorkbookTablesItemColumnsItemDataBodyRangeRequestBuilder(ra // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/tablecolumn-databodyrange?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/tablecolumn-databodyrange?view=graph-rest-beta func (m *ItemItemsItemWorkbookTablesItemColumnsItemDataBodyRangeRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookTablesItemColumnsItemDataBodyRangeRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookRangeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_request_builder.go b/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_request_builder.go index 2e86106d1d1..b62f8a5ea2b 100644 --- a/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_request_builder.go @@ -34,7 +34,7 @@ func NewItemItemsItemWorkbookTablesItemColumnsItemFilterApplyRequestBuilder(rawU // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/filter-apply?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/filter-apply?view=graph-rest-beta func (m *ItemItemsItemWorkbookTablesItemColumnsItemFilterApplyRequestBuilder) Post(ctx context.Context, body ItemItemsItemWorkbookTablesItemColumnsItemFilterApplyPostRequestBodyable, requestConfiguration *ItemItemsItemWorkbookTablesItemColumnsItemFilterApplyRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_tables_item_columns_item_filter_clear_request_builder.go b/drives/item_items_item_workbook_tables_item_columns_item_filter_clear_request_builder.go index d5d42df30ef..9437a404862 100644 --- a/drives/item_items_item_workbook_tables_item_columns_item_filter_clear_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_columns_item_filter_clear_request_builder.go @@ -34,7 +34,7 @@ func NewItemItemsItemWorkbookTablesItemColumnsItemFilterClearRequestBuilder(rawU // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/filter-clear?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/filter-clear?view=graph-rest-beta func (m *ItemItemsItemWorkbookTablesItemColumnsItemFilterClearRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookTablesItemColumnsItemFilterClearRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_tables_item_columns_item_header_row_range_request_builder.go b/drives/item_items_item_workbook_tables_item_columns_item_header_row_range_request_builder.go index 7ba9a6843f1..76442f26f95 100644 --- a/drives/item_items_item_workbook_tables_item_columns_item_header_row_range_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_columns_item_header_row_range_request_builder.go @@ -36,7 +36,7 @@ func NewItemItemsItemWorkbookTablesItemColumnsItemHeaderRowRangeRequestBuilder(r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/tablecolumn-headerrowrange?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/tablecolumn-headerrowrange?view=graph-rest-beta func (m *ItemItemsItemWorkbookTablesItemColumnsItemHeaderRowRangeRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookTablesItemColumnsItemHeaderRowRangeRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookRangeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_tables_item_columns_item_range_request_builder.go b/drives/item_items_item_workbook_tables_item_columns_item_range_request_builder.go index d796080b5ed..999ed7f8a2f 100644 --- a/drives/item_items_item_workbook_tables_item_columns_item_range_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_columns_item_range_request_builder.go @@ -36,7 +36,7 @@ func NewItemItemsItemWorkbookTablesItemColumnsItemRangeRequestBuilder(rawUrl str // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/tablecolumn-range?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/tablecolumn-range?view=graph-rest-beta func (m *ItemItemsItemWorkbookTablesItemColumnsItemRangeRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookTablesItemColumnsItemRangeRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookRangeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_tables_item_columns_item_total_row_range_request_builder.go b/drives/item_items_item_workbook_tables_item_columns_item_total_row_range_request_builder.go index 4a1c3b4f518..e551152fddb 100644 --- a/drives/item_items_item_workbook_tables_item_columns_item_total_row_range_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_columns_item_total_row_range_request_builder.go @@ -36,7 +36,7 @@ func NewItemItemsItemWorkbookTablesItemColumnsItemTotalRowRangeRequestBuilder(ra // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/tablecolumn-totalrowrange?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/tablecolumn-totalrowrange?view=graph-rest-beta func (m *ItemItemsItemWorkbookTablesItemColumnsItemTotalRowRangeRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookTablesItemColumnsItemTotalRowRangeRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookRangeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_tables_item_columns_request_builder.go b/drives/item_items_item_workbook_tables_item_columns_request_builder.go index 99a8c8d55a5..ba687f1eea0 100644 --- a/drives/item_items_item_workbook_tables_item_columns_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_columns_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemItemsItemWorkbookTablesItemColumnsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemItemsItemWorkbookTablesItemColumnsRequestBuilderGetQueryParameters retrieve a list of tablecolumn objects. +// ItemItemsItemWorkbookTablesItemColumnsRequestBuilderGetQueryParameters represents a collection of all the columns in the table. Read-only. type ItemItemsItemWorkbookTablesItemColumnsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func NewItemItemsItemWorkbookTablesItemColumnsRequestBuilder(rawUrl string, requ func (m *ItemItemsItemWorkbookTablesItemColumnsRequestBuilder) Count()(*ItemItemsItemWorkbookTablesItemColumnsCountRequestBuilder) { return NewItemItemsItemWorkbookTablesItemColumnsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of tablecolumn objects. +// Get represents a collection of all the columns in the table. Read-only. // returns a WorkbookTableColumnCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/tablecolumn-list?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookTablesItemColumnsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookTablesItemColumnsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableColumnCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -109,12 +106,9 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsRequestBuilder) Get(ctx context.C func (m *ItemItemsItemWorkbookTablesItemColumnsRequestBuilder) ItemAtWithIndex(index *int32)(*ItemItemsItemWorkbookTablesItemColumnsItemAtWithIndexRequestBuilder) { return NewItemItemsItemWorkbookTablesItemColumnsItemAtWithIndexRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, index) } -// Post use this API to create a new TableColumn. +// Post create new navigation property to columns for drives // returns a WorkbookTableColumnable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/table-post-columns?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookTablesItemColumnsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableColumnable, requestConfiguration *ItemItemsItemWorkbookTablesItemColumnsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableColumnable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -132,7 +126,7 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsRequestBuilder) Post(ctx context. } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableColumnable), nil } -// ToGetRequestInformation retrieve a list of tablecolumn objects. +// ToGetRequestInformation represents a collection of all the columns in the table. Read-only. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookTablesItemColumnsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookTablesItemColumnsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -146,7 +140,7 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsRequestBuilder) ToGetRequestInfor requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new TableColumn. +// ToPostRequestInformation create new navigation property to columns for drives // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookTablesItemColumnsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableColumnable, requestConfiguration *ItemItemsItemWorkbookTablesItemColumnsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_tables_item_columns_workbook_table_column_item_request_builder.go b/drives/item_items_item_workbook_tables_item_columns_workbook_table_column_item_request_builder.go index 07d48708af7..7146a71e8ab 100644 --- a/drives/item_items_item_workbook_tables_item_columns_workbook_table_column_item_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_columns_workbook_table_column_item_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemWorkbookTablesItemColumnsWorkbookTableColumnItemRequestBuilder // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemWorkbookTablesItemColumnsWorkbookTableColumnItemRequestBuilderGetQueryParameters retrieve the properties and relationships of tablecolumn object. +// ItemItemsItemWorkbookTablesItemColumnsWorkbookTableColumnItemRequestBuilderGetQueryParameters represents a collection of all the columns in the table. Read-only. type ItemItemsItemWorkbookTablesItemColumnsWorkbookTableColumnItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewItemItemsItemWorkbookTablesItemColumnsWorkbookTableColumnItemRequestBuil func (m *ItemItemsItemWorkbookTablesItemColumnsWorkbookTableColumnItemRequestBuilder) DataBodyRange()(*ItemItemsItemWorkbookTablesItemColumnsItemDataBodyRangeRequestBuilder) { return NewItemItemsItemWorkbookTablesItemColumnsItemDataBodyRangeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Delete deletes the column from the table. +// Delete delete navigation property columns for drives // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/tablecolumn-delete?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookTablesItemColumnsWorkbookTableColumnItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookTablesItemColumnsWorkbookTableColumnItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -83,12 +80,9 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsWorkbookTableColumnItemRequestBui func (m *ItemItemsItemWorkbookTablesItemColumnsWorkbookTableColumnItemRequestBuilder) Filter()(*ItemItemsItemWorkbookTablesItemColumnsItemFilterRequestBuilder) { return NewItemItemsItemWorkbookTablesItemColumnsItemFilterRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties and relationships of tablecolumn object. +// Get represents a collection of all the columns in the table. Read-only. // returns a WorkbookTableColumnable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/tablecolumn-get?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookTablesItemColumnsWorkbookTableColumnItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookTablesItemColumnsWorkbookTableColumnItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableColumnable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -111,12 +105,9 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsWorkbookTableColumnItemRequestBui func (m *ItemItemsItemWorkbookTablesItemColumnsWorkbookTableColumnItemRequestBuilder) HeaderRowRange()(*ItemItemsItemWorkbookTablesItemColumnsItemHeaderRowRangeRequestBuilder) { return NewItemItemsItemWorkbookTablesItemColumnsItemHeaderRowRangeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of tablecolumn object. +// Patch update the navigation property columns in drives // returns a WorkbookTableColumnable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/tablecolumn-update?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookTablesItemColumnsWorkbookTableColumnItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableColumnable, requestConfiguration *ItemItemsItemWorkbookTablesItemColumnsWorkbookTableColumnItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableColumnable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -139,7 +130,7 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsWorkbookTableColumnItemRequestBui func (m *ItemItemsItemWorkbookTablesItemColumnsWorkbookTableColumnItemRequestBuilder) RangeEscaped()(*ItemItemsItemWorkbookTablesItemColumnsItemRangeRequestBuilder) { return NewItemItemsItemWorkbookTablesItemColumnsItemRangeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation deletes the column from the table. +// ToDeleteRequestInformation delete navigation property columns for drives // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookTablesItemColumnsWorkbookTableColumnItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookTablesItemColumnsWorkbookTableColumnItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -150,7 +141,7 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsWorkbookTableColumnItemRequestBui requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of tablecolumn object. +// ToGetRequestInformation represents a collection of all the columns in the table. Read-only. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookTablesItemColumnsWorkbookTableColumnItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookTablesItemColumnsWorkbookTableColumnItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -164,7 +155,7 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsWorkbookTableColumnItemRequestBui requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of tablecolumn object. +// ToPatchRequestInformation update the navigation property columns in drives // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookTablesItemColumnsWorkbookTableColumnItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableColumnable, requestConfiguration *ItemItemsItemWorkbookTablesItemColumnsWorkbookTableColumnItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_tables_item_convert_to_range_request_builder.go b/drives/item_items_item_workbook_tables_item_convert_to_range_request_builder.go index 906b1bacc0b..2964433058d 100644 --- a/drives/item_items_item_workbook_tables_item_convert_to_range_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_convert_to_range_request_builder.go @@ -36,7 +36,7 @@ func NewItemItemsItemWorkbookTablesItemConvertToRangeRequestBuilder(rawUrl strin // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/table-converttorange?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/table-converttorange?view=graph-rest-beta func (m *ItemItemsItemWorkbookTablesItemConvertToRangeRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookTablesItemConvertToRangeRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookRangeable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_tables_item_data_body_range_request_builder.go b/drives/item_items_item_workbook_tables_item_data_body_range_request_builder.go index 8df619bbb2c..94d4bf6beae 100644 --- a/drives/item_items_item_workbook_tables_item_data_body_range_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_data_body_range_request_builder.go @@ -36,7 +36,7 @@ func NewItemItemsItemWorkbookTablesItemDataBodyRangeRequestBuilder(rawUrl string // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/table-databodyrange?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/table-databodyrange?view=graph-rest-beta func (m *ItemItemsItemWorkbookTablesItemDataBodyRangeRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookTablesItemDataBodyRangeRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookRangeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_tables_item_header_row_range_request_builder.go b/drives/item_items_item_workbook_tables_item_header_row_range_request_builder.go index 606f3d08bb6..5f47df4030b 100644 --- a/drives/item_items_item_workbook_tables_item_header_row_range_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_header_row_range_request_builder.go @@ -36,7 +36,7 @@ func NewItemItemsItemWorkbookTablesItemHeaderRowRangeRequestBuilder(rawUrl strin // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/table-headerrowrange?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/table-headerrowrange?view=graph-rest-beta func (m *ItemItemsItemWorkbookTablesItemHeaderRowRangeRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookTablesItemHeaderRowRangeRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookRangeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_tables_item_range_request_builder.go b/drives/item_items_item_workbook_tables_item_range_request_builder.go index f303d87288e..1bf10f82f28 100644 --- a/drives/item_items_item_workbook_tables_item_range_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_range_request_builder.go @@ -36,7 +36,7 @@ func NewItemItemsItemWorkbookTablesItemRangeRequestBuilder(rawUrl string, reques // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/table-range?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/table-range?view=graph-rest-beta func (m *ItemItemsItemWorkbookTablesItemRangeRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookTablesItemRangeRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookRangeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_tables_item_reapply_filters_request_builder.go b/drives/item_items_item_workbook_tables_item_reapply_filters_request_builder.go index 0cfabed0ced..89e2d77bef6 100644 --- a/drives/item_items_item_workbook_tables_item_reapply_filters_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_reapply_filters_request_builder.go @@ -34,7 +34,7 @@ func NewItemItemsItemWorkbookTablesItemReapplyFiltersRequestBuilder(rawUrl strin // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/table-reapplyfilters?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/table-reapplyfilters?view=graph-rest-beta func (m *ItemItemsItemWorkbookTablesItemReapplyFiltersRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookTablesItemReapplyFiltersRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_tables_item_rows_add_request_builder.go b/drives/item_items_item_workbook_tables_item_rows_add_request_builder.go index 60e9244277a..f2fa16d1a02 100644 --- a/drives/item_items_item_workbook_tables_item_rows_add_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_rows_add_request_builder.go @@ -36,7 +36,7 @@ func NewItemItemsItemWorkbookTablesItemRowsAddRequestBuilder(rawUrl string, requ // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/tablerowcollection-add?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/tablerowcollection-add?view=graph-rest-beta func (m *ItemItemsItemWorkbookTablesItemRowsAddRequestBuilder) Post(ctx context.Context, body ItemItemsItemWorkbookTablesItemRowsAddPostRequestBodyable, requestConfiguration *ItemItemsItemWorkbookTablesItemRowsAddRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableRowable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_tables_item_rows_item_at_with_index_range_request_builder.go b/drives/item_items_item_workbook_tables_item_rows_item_at_with_index_range_request_builder.go index de06be4aa5a..74eea1a9a46 100644 --- a/drives/item_items_item_workbook_tables_item_rows_item_at_with_index_range_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_rows_item_at_with_index_range_request_builder.go @@ -36,7 +36,7 @@ func NewItemItemsItemWorkbookTablesItemRowsItemAtWithIndexRangeRequestBuilder(ra // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/tablerow-range?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/tablerow-range?view=graph-rest-beta func (m *ItemItemsItemWorkbookTablesItemRowsItemAtWithIndexRangeRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookTablesItemRowsItemAtWithIndexRangeRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookRangeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_tables_item_rows_item_at_with_index_request_builder.go b/drives/item_items_item_workbook_tables_item_rows_item_at_with_index_request_builder.go index 79ff088d263..157d64216eb 100644 --- a/drives/item_items_item_workbook_tables_item_rows_item_at_with_index_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_rows_item_at_with_index_request_builder.go @@ -35,9 +35,12 @@ func NewItemItemsItemWorkbookTablesItemRowsItemAtWithIndexRequestBuilder(rawUrl urlParams["request-raw-url"] = rawUrl return NewItemItemsItemWorkbookTablesItemRowsItemAtWithIndexRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function itemAt +// Get gets a row based on its position in the collection. // returns a WorkbookTableRowable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/tablerowcollection-itemat?view=graph-rest-beta func (m *ItemItemsItemWorkbookTablesItemRowsItemAtWithIndexRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookTablesItemRowsItemAtWithIndexRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableRowable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -60,7 +63,7 @@ func (m *ItemItemsItemWorkbookTablesItemRowsItemAtWithIndexRequestBuilder) Get(c func (m *ItemItemsItemWorkbookTablesItemRowsItemAtWithIndexRequestBuilder) RangeEscaped()(*ItemItemsItemWorkbookTablesItemRowsItemAtWithIndexRangeRequestBuilder) { return NewItemItemsItemWorkbookTablesItemRowsItemAtWithIndexRangeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation invoke function itemAt +// ToGetRequestInformation gets a row based on its position in the collection. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookTablesItemRowsItemAtWithIndexRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookTablesItemRowsItemAtWithIndexRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_tables_item_rows_item_range_request_builder.go b/drives/item_items_item_workbook_tables_item_rows_item_range_request_builder.go index ffabc9f5eed..bf4c7134ef9 100644 --- a/drives/item_items_item_workbook_tables_item_rows_item_range_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_rows_item_range_request_builder.go @@ -36,7 +36,7 @@ func NewItemItemsItemWorkbookTablesItemRowsItemRangeRequestBuilder(rawUrl string // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/tablerow-range?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/tablerow-range?view=graph-rest-beta func (m *ItemItemsItemWorkbookTablesItemRowsItemRangeRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookTablesItemRowsItemRangeRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookRangeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_tables_item_rows_request_builder.go b/drives/item_items_item_workbook_tables_item_rows_request_builder.go index 330a5c7f9e4..0f9f59293a9 100644 --- a/drives/item_items_item_workbook_tables_item_rows_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_rows_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemItemsItemWorkbookTablesItemRowsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemItemsItemWorkbookTablesItemRowsRequestBuilderGetQueryParameters retrieve a list of tablerow objects. +// ItemItemsItemWorkbookTablesItemRowsRequestBuilderGetQueryParameters represents a collection of all the rows in the table. Read-only. type ItemItemsItemWorkbookTablesItemRowsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func NewItemItemsItemWorkbookTablesItemRowsRequestBuilder(rawUrl string, request func (m *ItemItemsItemWorkbookTablesItemRowsRequestBuilder) Count()(*ItemItemsItemWorkbookTablesItemRowsCountRequestBuilder) { return NewItemItemsItemWorkbookTablesItemRowsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of tablerow objects. +// Get represents a collection of all the rows in the table. Read-only. // returns a WorkbookTableRowCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/table-list-rows?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookTablesItemRowsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookTablesItemRowsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableRowCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -109,12 +106,9 @@ func (m *ItemItemsItemWorkbookTablesItemRowsRequestBuilder) Get(ctx context.Cont func (m *ItemItemsItemWorkbookTablesItemRowsRequestBuilder) ItemAtWithIndex(index *int32)(*ItemItemsItemWorkbookTablesItemRowsItemAtWithIndexRequestBuilder) { return NewItemItemsItemWorkbookTablesItemRowsItemAtWithIndexRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, index) } -// Post add rows to the end of a table. The API can accept multiple rows data using this API. Adding one row at a time can lead to performance degradation. The recommended approach is to batch the rows together in a single call rather than doing single row insertion. For best results, collect the rows to be inserted on the application side and perform a single row add operation. Experiment with the number of rows to determine the ideal number of rows to use in a single API call. This request might occasionally result in a 504 HTTP error. The appropriate response to this error is to repeat the request. +// Post create new navigation property to rows for drives // returns a WorkbookTableRowable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/table-post-rows?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookTablesItemRowsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableRowable, requestConfiguration *ItemItemsItemWorkbookTablesItemRowsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableRowable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -132,7 +126,7 @@ func (m *ItemItemsItemWorkbookTablesItemRowsRequestBuilder) Post(ctx context.Con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableRowable), nil } -// ToGetRequestInformation retrieve a list of tablerow objects. +// ToGetRequestInformation represents a collection of all the rows in the table. Read-only. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookTablesItemRowsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookTablesItemRowsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -146,7 +140,7 @@ func (m *ItemItemsItemWorkbookTablesItemRowsRequestBuilder) ToGetRequestInformat requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add rows to the end of a table. The API can accept multiple rows data using this API. Adding one row at a time can lead to performance degradation. The recommended approach is to batch the rows together in a single call rather than doing single row insertion. For best results, collect the rows to be inserted on the application side and perform a single row add operation. Experiment with the number of rows to determine the ideal number of rows to use in a single API call. This request might occasionally result in a 504 HTTP error. The appropriate response to this error is to repeat the request. +// ToPostRequestInformation create new navigation property to rows for drives // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookTablesItemRowsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableRowable, requestConfiguration *ItemItemsItemWorkbookTablesItemRowsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_tables_item_rows_workbook_table_row_item_request_builder.go b/drives/item_items_item_workbook_tables_item_rows_workbook_table_row_item_request_builder.go index a055ab64cf8..b0f80ed2772 100644 --- a/drives/item_items_item_workbook_tables_item_rows_workbook_table_row_item_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_rows_workbook_table_row_item_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemWorkbookTablesItemRowsWorkbookTableRowItemRequestBuilderDelete // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemWorkbookTablesItemRowsWorkbookTableRowItemRequestBuilderGetQueryParameters retrieve the properties and relationships of tablerow object. +// ItemItemsItemWorkbookTablesItemRowsWorkbookTableRowItemRequestBuilderGetQueryParameters represents a collection of all the rows in the table. Read-only. type ItemItemsItemWorkbookTablesItemRowsWorkbookTableRowItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemItemsItemWorkbookTablesItemRowsWorkbookTableRowItemRequestBuilder(ra urlParams["request-raw-url"] = rawUrl return NewItemItemsItemWorkbookTablesItemRowsWorkbookTableRowItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes the row from the table. +// Delete delete navigation property rows for drives // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/tablerow-delete?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookTablesItemRowsWorkbookTableRowItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookTablesItemRowsWorkbookTableRowItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemItemsItemWorkbookTablesItemRowsWorkbookTableRowItemRequestBuilder) } return nil } -// Get retrieve the properties and relationships of tablerow object. +// Get represents a collection of all the rows in the table. Read-only. // returns a WorkbookTableRowable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/tablerow-get?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookTablesItemRowsWorkbookTableRowItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookTablesItemRowsWorkbookTableRowItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableRowable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ItemItemsItemWorkbookTablesItemRowsWorkbookTableRowItemRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableRowable), nil } -// Patch update the properties of tablerow object. +// Patch update the navigation property rows in drives // returns a WorkbookTableRowable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/tablerow-update?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookTablesItemRowsWorkbookTableRowItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableRowable, requestConfiguration *ItemItemsItemWorkbookTablesItemRowsWorkbookTableRowItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableRowable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -124,7 +115,7 @@ func (m *ItemItemsItemWorkbookTablesItemRowsWorkbookTableRowItemRequestBuilder) func (m *ItemItemsItemWorkbookTablesItemRowsWorkbookTableRowItemRequestBuilder) RangeEscaped()(*ItemItemsItemWorkbookTablesItemRowsItemRangeRequestBuilder) { return NewItemItemsItemWorkbookTablesItemRowsItemRangeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation deletes the row from the table. +// ToDeleteRequestInformation delete navigation property rows for drives // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookTablesItemRowsWorkbookTableRowItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookTablesItemRowsWorkbookTableRowItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -135,7 +126,7 @@ func (m *ItemItemsItemWorkbookTablesItemRowsWorkbookTableRowItemRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of tablerow object. +// ToGetRequestInformation represents a collection of all the rows in the table. Read-only. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookTablesItemRowsWorkbookTableRowItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookTablesItemRowsWorkbookTableRowItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -149,7 +140,7 @@ func (m *ItemItemsItemWorkbookTablesItemRowsWorkbookTableRowItemRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of tablerow object. +// ToPatchRequestInformation update the navigation property rows in drives // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookTablesItemRowsWorkbookTableRowItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableRowable, requestConfiguration *ItemItemsItemWorkbookTablesItemRowsWorkbookTableRowItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_tables_item_sort_apply_request_builder.go b/drives/item_items_item_workbook_tables_item_sort_apply_request_builder.go index 684c0fa3374..a812a880746 100644 --- a/drives/item_items_item_workbook_tables_item_sort_apply_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_sort_apply_request_builder.go @@ -34,7 +34,7 @@ func NewItemItemsItemWorkbookTablesItemSortApplyRequestBuilder(rawUrl string, re // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/tablesort-apply?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/tablesort-apply?view=graph-rest-beta func (m *ItemItemsItemWorkbookTablesItemSortApplyRequestBuilder) Post(ctx context.Context, body ItemItemsItemWorkbookTablesItemSortApplyPostRequestBodyable, requestConfiguration *ItemItemsItemWorkbookTablesItemSortApplyRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_tables_item_sort_clear_request_builder.go b/drives/item_items_item_workbook_tables_item_sort_clear_request_builder.go index d37fc045df5..2a913476b25 100644 --- a/drives/item_items_item_workbook_tables_item_sort_clear_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_sort_clear_request_builder.go @@ -34,7 +34,7 @@ func NewItemItemsItemWorkbookTablesItemSortClearRequestBuilder(rawUrl string, re // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/tablesort-clear?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/tablesort-clear?view=graph-rest-beta func (m *ItemItemsItemWorkbookTablesItemSortClearRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookTablesItemSortClearRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_tables_item_sort_reapply_request_builder.go b/drives/item_items_item_workbook_tables_item_sort_reapply_request_builder.go index 546b5e8c775..74f8859c637 100644 --- a/drives/item_items_item_workbook_tables_item_sort_reapply_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_sort_reapply_request_builder.go @@ -34,7 +34,7 @@ func NewItemItemsItemWorkbookTablesItemSortReapplyRequestBuilder(rawUrl string, // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/tablesort-reapply?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/tablesort-reapply?view=graph-rest-beta func (m *ItemItemsItemWorkbookTablesItemSortReapplyRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookTablesItemSortReapplyRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_tables_item_sort_request_builder.go b/drives/item_items_item_workbook_tables_item_sort_request_builder.go index 07574f07f45..ccf6fea9f36 100644 --- a/drives/item_items_item_workbook_tables_item_sort_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_sort_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemWorkbookTablesItemSortRequestBuilderDeleteRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemWorkbookTablesItemSortRequestBuilderGetQueryParameters retrieve the properties and relationships of tablesort object. +// ItemItemsItemWorkbookTablesItemSortRequestBuilderGetQueryParameters represents the sorting for the table. Read-only. type ItemItemsItemWorkbookTablesItemSortRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -80,12 +80,9 @@ func (m *ItemItemsItemWorkbookTablesItemSortRequestBuilder) Delete(ctx context.C } return nil } -// Get retrieve the properties and relationships of tablesort object. +// Get represents the sorting for the table. Read-only. // returns a WorkbookTableSortable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/tablesort-get?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookTablesItemSortRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookTablesItemSortRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableSortable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -139,7 +136,7 @@ func (m *ItemItemsItemWorkbookTablesItemSortRequestBuilder) ToDeleteRequestInfor requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of tablesort object. +// ToGetRequestInformation represents the sorting for the table. Read-only. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookTablesItemSortRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookTablesItemSortRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_tables_item_total_row_range_request_builder.go b/drives/item_items_item_workbook_tables_item_total_row_range_request_builder.go index 1f59f5ff22d..3e9a8f22fcb 100644 --- a/drives/item_items_item_workbook_tables_item_total_row_range_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_total_row_range_request_builder.go @@ -36,7 +36,7 @@ func NewItemItemsItemWorkbookTablesItemTotalRowRangeRequestBuilder(rawUrl string // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/table-totalrowrange?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/table-totalrowrange?view=graph-rest-beta func (m *ItemItemsItemWorkbookTablesItemTotalRowRangeRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookTablesItemTotalRowRangeRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookRangeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_tables_request_builder.go b/drives/item_items_item_workbook_tables_request_builder.go index cb1c184f4f1..541cc7629b5 100644 --- a/drives/item_items_item_workbook_tables_request_builder.go +++ b/drives/item_items_item_workbook_tables_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemItemsItemWorkbookTablesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemItemsItemWorkbookTablesRequestBuilderGetQueryParameters retrieve a list of table objects. +// ItemItemsItemWorkbookTablesRequestBuilderGetQueryParameters represents a collection of tables associated with the workbook. Read-only. type ItemItemsItemWorkbookTablesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func NewItemItemsItemWorkbookTablesRequestBuilder(rawUrl string, requestAdapter func (m *ItemItemsItemWorkbookTablesRequestBuilder) Count()(*ItemItemsItemWorkbookTablesCountRequestBuilder) { return NewItemItemsItemWorkbookTablesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of table objects. +// Get represents a collection of tables associated with the workbook. Read-only. // returns a WorkbookTableCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/table-list?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookTablesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookTablesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *ItemItemsItemWorkbookTablesRequestBuilder) Post(ctx context.Context, bo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableable), nil } -// ToGetRequestInformation retrieve a list of table objects. +// ToGetRequestInformation represents a collection of tables associated with the workbook. Read-only. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookTablesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookTablesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_tables_workbook_table_item_request_builder.go b/drives/item_items_item_workbook_tables_workbook_table_item_request_builder.go index d9539afa14c..a0b2c6ae232 100644 --- a/drives/item_items_item_workbook_tables_workbook_table_item_request_builder.go +++ b/drives/item_items_item_workbook_tables_workbook_table_item_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemWorkbookTablesWorkbookTableItemRequestBuilderDeleteRequestConf // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemWorkbookTablesWorkbookTableItemRequestBuilderGetQueryParameters retrieve the properties and relationships of table object. +// ItemItemsItemWorkbookTablesWorkbookTableItemRequestBuilderGetQueryParameters represents a collection of tables associated with the workbook. Read-only. type ItemItemsItemWorkbookTablesWorkbookTableItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -74,11 +74,8 @@ func (m *ItemItemsItemWorkbookTablesWorkbookTableItemRequestBuilder) ConvertToRa func (m *ItemItemsItemWorkbookTablesWorkbookTableItemRequestBuilder) DataBodyRange()(*ItemItemsItemWorkbookTablesItemDataBodyRangeRequestBuilder) { return NewItemItemsItemWorkbookTablesItemDataBodyRangeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Delete deletes the table. +// Delete delete navigation property tables for drives // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/table-delete?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookTablesWorkbookTableItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookTablesWorkbookTableItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *ItemItemsItemWorkbookTablesWorkbookTableItemRequestBuilder) Delete(ctx } return nil } -// Get retrieve the properties and relationships of table object. +// Get represents a collection of tables associated with the workbook. Read-only. // returns a WorkbookTableable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/table-get?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookTablesWorkbookTableItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookTablesWorkbookTableItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -121,12 +115,9 @@ func (m *ItemItemsItemWorkbookTablesWorkbookTableItemRequestBuilder) Get(ctx con func (m *ItemItemsItemWorkbookTablesWorkbookTableItemRequestBuilder) HeaderRowRange()(*ItemItemsItemWorkbookTablesItemHeaderRowRangeRequestBuilder) { return NewItemItemsItemWorkbookTablesItemHeaderRowRangeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of table object. +// Patch update the navigation property tables in drives // returns a WorkbookTableable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/table-update?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookTablesWorkbookTableItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableable, requestConfiguration *ItemItemsItemWorkbookTablesWorkbookTableItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -164,7 +155,7 @@ func (m *ItemItemsItemWorkbookTablesWorkbookTableItemRequestBuilder) Rows()(*Ite func (m *ItemItemsItemWorkbookTablesWorkbookTableItemRequestBuilder) Sort()(*ItemItemsItemWorkbookTablesItemSortRequestBuilder) { return NewItemItemsItemWorkbookTablesItemSortRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation deletes the table. +// ToDeleteRequestInformation delete navigation property tables for drives // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookTablesWorkbookTableItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookTablesWorkbookTableItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -175,7 +166,7 @@ func (m *ItemItemsItemWorkbookTablesWorkbookTableItemRequestBuilder) ToDeleteReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of table object. +// ToGetRequestInformation represents a collection of tables associated with the workbook. Read-only. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookTablesWorkbookTableItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookTablesWorkbookTableItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -189,7 +180,7 @@ func (m *ItemItemsItemWorkbookTablesWorkbookTableItemRequestBuilder) ToGetReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of table object. +// ToPatchRequestInformation update the navigation property tables in drives // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookTablesWorkbookTableItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableable, requestConfiguration *ItemItemsItemWorkbookTablesWorkbookTableItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_worksheets_add_request_builder.go b/drives/item_items_item_workbook_worksheets_add_request_builder.go index b420252e7a5..c2ba456cc45 100644 --- a/drives/item_items_item_workbook_worksheets_add_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_add_request_builder.go @@ -36,7 +36,7 @@ func NewItemItemsItemWorkbookWorksheetsAddRequestBuilder(rawUrl string, requestA // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/worksheetcollection-add?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/worksheetcollection-add?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsAddRequestBuilder) Post(ctx context.Context, body ItemItemsItemWorkbookWorksheetsAddPostRequestBodyable, requestConfiguration *ItemItemsItemWorkbookWorksheetsAddRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookWorksheetable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_cell_with_row_with_column_request_builder.go b/drives/item_items_item_workbook_worksheets_item_cell_with_row_with_column_request_builder.go index bb582fcc2dd..df243ac720f 100644 --- a/drives/item_items_item_workbook_worksheets_item_cell_with_row_with_column_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_cell_with_row_with_column_request_builder.go @@ -38,9 +38,12 @@ func NewItemItemsItemWorkbookWorksheetsItemCellWithRowWithColumnRequestBuilder(r urlParams["request-raw-url"] = rawUrl return NewItemItemsItemWorkbookWorksheetsItemCellWithRowWithColumnRequestBuilderInternal(urlParams, requestAdapter, nil, nil) } -// Get invoke function cell +// Get gets the range object containing the single cell based on row and column numbers. The cell can be outside the bounds of its parent range, so long as it's stays within the worksheet grid. // 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/worksheet-cell?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemCellWithRowWithColumnRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemCellWithRowWithColumnRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookRangeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -58,7 +61,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemCellWithRowWithColumnRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookRangeable), nil } -// ToGetRequestInformation invoke function cell +// ToGetRequestInformation gets the range object containing the single cell based on row and column numbers. The cell can be outside the bounds of its parent range, so long as it's stays within the worksheet grid. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemCellWithRowWithColumnRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemCellWithRowWithColumnRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_worksheets_item_charts_add_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_add_request_builder.go index 2903d3777be..d6daf441694 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_add_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_add_request_builder.go @@ -36,7 +36,7 @@ func NewItemItemsItemWorkbookWorksheetsItemChartsAddRequestBuilder(rawUrl string // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chartcollection-add?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chartcollection-add?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemChartsAddRequestBuilder) Post(ctx context.Context, body ItemItemsItemWorkbookWorksheetsItemChartsAddPostRequestBodyable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsAddRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_at_with_index_data_labels_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_at_with_index_data_labels_request_builder.go index 2bb72cbecf4..325cca05e2b 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_at_with_index_data_labels_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_at_with_index_data_labels_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexDataLabelsRequestBu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexDataLabelsRequestBuilderGetQueryParameters retrieve the properties and relationships of chartdatalabels object. +// ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexDataLabelsRequestBuilderGetQueryParameters represents the datalabels on the chart. Read-only. type ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexDataLabelsRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexDataLabelsReque } return nil } -// Get retrieve the properties and relationships of chartdatalabels object. +// Get represents the datalabels on the chart. Read-only. // returns a WorkbookChartDataLabelsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chartdatalabels-get?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexDataLabelsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexDataLabelsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartDataLabelsable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexDataLabelsReque } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartDataLabelsable), nil } -// Patch update the properties of chartdatalabels object. +// Patch update the navigation property dataLabels in drives // returns a WorkbookChartDataLabelsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chartdatalabels-update?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexDataLabelsRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartDataLabelsable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexDataLabelsRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartDataLabelsable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexDataLabelsReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of chartdatalabels object. +// ToGetRequestInformation represents the datalabels on the chart. Read-only. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexDataLabelsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexDataLabelsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexDataLabelsReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of chartdatalabels object. +// ToPatchRequestInformation update the navigation property dataLabels in drives // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexDataLabelsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartDataLabelsable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexDataLabelsRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_at_with_index_legend_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_at_with_index_legend_request_builder.go index 629d7778481..31127442076 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_at_with_index_legend_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_at_with_index_legend_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexLegendRequestBuilde // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexLegendRequestBuilderGetQueryParameters retrieve the properties and relationships of chartlegend object. +// ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexLegendRequestBuilderGetQueryParameters represents the legend for the chart. Read-only. type ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexLegendRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexLegendRequestBu } return nil } -// Get retrieve the properties and relationships of chartlegend object. +// Get represents the legend for the chart. Read-only. // returns a WorkbookChartLegendable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chartlegend-get?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexLegendRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexLegendRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartLegendable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexLegendRequestBu } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartLegendable), nil } -// Patch update the properties of chartlegend object. +// Patch update the navigation property legend in drives // returns a WorkbookChartLegendable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chartlegend-update?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexLegendRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartLegendable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexLegendRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartLegendable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexLegendRequestBu requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of chartlegend object. +// ToGetRequestInformation represents the legend for the chart. Read-only. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexLegendRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexLegendRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexLegendRequestBu requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of chartlegend object. +// ToPatchRequestInformation update the navigation property legend in drives // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexLegendRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartLegendable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexLegendRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_at_with_index_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_at_with_index_request_builder.go index 8d327d8c5c8..3343dd335aa 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_at_with_index_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_at_with_index_request_builder.go @@ -50,9 +50,12 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexRequestBuilder) func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexRequestBuilder) Format()(*ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexFormatRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexFormatRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get invoke function itemAt +// Get gets a chart based on its position in the collection. // returns a WorkbookChartable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chartcollection-itemat?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -115,7 +118,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexRequestBuilder) func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexRequestBuilder) Title()(*ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexTitleRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexTitleRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation invoke function itemAt +// ToGetRequestInformation gets a chart based on its position in the collection. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_at_with_index_series_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_at_with_index_series_request_builder.go index 58fa20dbcac..5e171cb6b58 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_at_with_index_series_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_at_with_index_series_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexSeriesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexSeriesRequestBuilderGetQueryParameters retrieve a list of chartseries objects. +// ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexSeriesRequestBuilderGetQueryParameters represents either a single series or collection of series in the chart. Read-only. type ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexSeriesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -59,12 +59,9 @@ func NewItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexSeriesRequestBui urlParams["request-raw-url"] = rawUrl return NewItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexSeriesRequestBuilderInternal(urlParams, requestAdapter) } -// Get retrieve a list of chartseries objects. +// Get represents either a single series or collection of series in the chart. Read-only. // returns a WorkbookChartSeriesCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chartseries-list?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexSeriesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexSeriesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartSeriesCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -82,12 +79,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexSeriesRequestBu } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartSeriesCollectionResponseable), nil } -// Post use this API to create a new ChartSeries. +// Post create new navigation property to series for drives // returns a WorkbookChartSeriesable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chart-post-series?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexSeriesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartSeriesable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexSeriesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartSeriesable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -105,7 +99,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexSeriesRequestBu } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartSeriesable), nil } -// ToGetRequestInformation retrieve a list of chartseries objects. +// ToGetRequestInformation represents either a single series or collection of series in the chart. Read-only. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexSeriesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexSeriesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -119,7 +113,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexSeriesRequestBu requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new ChartSeries. +// ToPostRequestInformation create new navigation property to series for drives // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexSeriesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartSeriesable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexSeriesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_at_with_index_set_data_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_at_with_index_set_data_request_builder.go index dbb967cf97a..a85a9dfdfe2 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_at_with_index_set_data_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_at_with_index_set_data_request_builder.go @@ -34,7 +34,7 @@ func NewItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexSetDataRequestBu // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chart-setdata?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chart-setdata?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexSetDataRequestBuilder) Post(ctx context.Context, body ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexSetDataPostRequestBodyable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexSetDataRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_at_with_index_set_position_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_at_with_index_set_position_request_builder.go index e1acc84349c..6d89febf7b2 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_at_with_index_set_position_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_at_with_index_set_position_request_builder.go @@ -34,7 +34,7 @@ func NewItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexSetPositionReque // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chart-setposition?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chart-setposition?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexSetPositionRequestBuilder) Post(ctx context.Context, body ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexSetPositionPostRequestBodyable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexSetPositionRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_at_with_index_title_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_at_with_index_title_request_builder.go index d0c9cd61fda..cd89abc8144 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_at_with_index_title_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_at_with_index_title_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexTitleRequestBuilder // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexTitleRequestBuilderGetQueryParameters retrieve the properties and relationships of charttitle object. +// ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexTitleRequestBuilderGetQueryParameters represents the title of the specified chart, including the text, visibility, position and formating of the title. Read-only. type ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexTitleRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexTitleRequestBui } return nil } -// Get retrieve the properties and relationships of charttitle object. +// Get represents the title of the specified chart, including the text, visibility, position and formating of the title. Read-only. // returns a WorkbookChartTitleable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/charttitle-get?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexTitleRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexTitleRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartTitleable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexTitleRequestBui } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartTitleable), nil } -// Patch update the properties of charttitle object. +// Patch update the navigation property title in drives // returns a WorkbookChartTitleable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/charttitle-update?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexTitleRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartTitleable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexTitleRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartTitleable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexTitleRequestBui requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of charttitle object. +// ToGetRequestInformation represents the title of the specified chart, including the text, visibility, position and formating of the title. Read-only. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexTitleRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexTitleRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexTitleRequestBui requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of charttitle object. +// ToPatchRequestInformation update the navigation property title in drives // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexTitleRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartTitleable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexTitleRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_format_font_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_format_font_request_builder.go index 9be5b1ee498..78f0db7f861 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_format_font_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_format_font_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisFormatFontRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisFormatFontRequestBuilderGetQueryParameters retrieve the properties and relationships of chartfont object. +// ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisFormatFontRequestBuilderGetQueryParameters represents the font attributes (font name, font size, color, etc.) for a chart axis element. Read-only. type ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisFormatFontRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisFormatFont } return nil } -// Get retrieve the properties and relationships of chartfont object. +// Get represents the font attributes (font name, font size, color, etc.) for a chart axis element. Read-only. // returns a WorkbookChartFontable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chartfont-get?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisFormatFontRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisFormatFontRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartFontable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisFormatFont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartFontable), nil } -// Patch update the properties of chartfont object. +// Patch update the navigation property font in drives // returns a WorkbookChartFontable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chartfont-update?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisFormatFontRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartFontable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisFormatFontRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartFontable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisFormatFont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of chartfont object. +// ToGetRequestInformation represents the font attributes (font name, font size, color, etc.) for a chart axis element. Read-only. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisFormatFontRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisFormatFontRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisFormatFont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of chartfont object. +// ToPatchRequestInformation update the navigation property font in drives // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisFormatFontRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartFontable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisFormatFontRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_format_line_clear_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_format_line_clear_request_builder.go index 5925281de5f..ed55aaecc7f 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_format_line_clear_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_format_line_clear_request_builder.go @@ -34,7 +34,7 @@ func NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisFormatLineC // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chartlineformat-clear?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chartlineformat-clear?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisFormatLineClearRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisFormatLineClearRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_format_line_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_format_line_request_builder.go index cbb46eb841e..dea72e0c755 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_format_line_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_format_line_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisFormatLineRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisFormatLineRequestBuilderGetQueryParameters retrieve the properties and relationships of chartlineformat object. +// ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisFormatLineRequestBuilderGetQueryParameters represents chart line formatting. Read-only. type ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisFormatLineRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisFormatLine } return nil } -// Get retrieve the properties and relationships of chartlineformat object. +// Get represents chart line formatting. Read-only. // returns a WorkbookChartLineFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chartlineformat-get?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisFormatLineRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisFormatLineRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartLineFormatable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,12 +95,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisFormatLine } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartLineFormatable), nil } -// Patch update the properties of chartlineformat object. +// Patch update the navigation property line in drives // returns a WorkbookChartLineFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chartlineformat-update?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisFormatLineRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartLineFormatable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisFormatLineRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartLineFormatable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -132,7 +126,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisFormatLine requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of chartlineformat object. +// ToGetRequestInformation represents chart line formatting. Read-only. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisFormatLineRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisFormatLineRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -146,7 +140,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisFormatLine requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of chartlineformat object. +// ToPatchRequestInformation update the navigation property line in drives // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisFormatLineRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartLineFormatable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisFormatLineRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_major_gridlines_format_line_clear_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_major_gridlines_format_line_clear_request_builder.go index 65ef9cdafe2..2ebd30cc2c8 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_major_gridlines_format_line_clear_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_major_gridlines_format_line_clear_request_builder.go @@ -34,7 +34,7 @@ func NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMajorGridli // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chartlineformat-clear?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chartlineformat-clear?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMajorGridlinesFormatLineClearRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMajorGridlinesFormatLineClearRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_minor_gridlines_format_line_clear_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_minor_gridlines_format_line_clear_request_builder.go index bc0023b4b1a..a48feeb7c21 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_minor_gridlines_format_line_clear_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_minor_gridlines_format_line_clear_request_builder.go @@ -34,7 +34,7 @@ func NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMinorGridli // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chartlineformat-clear?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chartlineformat-clear?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMinorGridlinesFormatLineClearRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMinorGridlinesFormatLineClearRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_minor_gridlines_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_minor_gridlines_request_builder.go index 30dad50f94d..fc8eb2a452d 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_minor_gridlines_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_minor_gridlines_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMinorGridlines // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMinorGridlinesRequestBuilderGetQueryParameters retrieve the properties and relationships of chartgridlines object. +// ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMinorGridlinesRequestBuilderGetQueryParameters returns a Gridlines object that represents the minor gridlines for the specified axis. Read-only. type ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMinorGridlinesRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMinorGridl func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMinorGridlinesRequestBuilder) Format()(*ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMinorGridlinesFormatRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMinorGridlinesFormatRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties and relationships of chartgridlines object. +// Get returns a Gridlines object that represents the minor gridlines for the specified axis. Read-only. // returns a WorkbookChartGridlinesable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chartgridlines-get?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMinorGridlinesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMinorGridlinesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartGridlinesable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,12 +95,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMinorGridl } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartGridlinesable), nil } -// Patch update the properties of chartgridlines object. +// Patch update the navigation property minorGridlines in drives // returns a WorkbookChartGridlinesable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chartgridlines-update?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMinorGridlinesRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartGridlinesable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMinorGridlinesRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartGridlinesable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -132,7 +126,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMinorGridl requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of chartgridlines object. +// ToGetRequestInformation returns a Gridlines object that represents the minor gridlines for the specified axis. Read-only. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMinorGridlinesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMinorGridlinesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -146,7 +140,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMinorGridl requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of chartgridlines object. +// ToPatchRequestInformation update the navigation property minorGridlines in drives // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMinorGridlinesRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartGridlinesable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMinorGridlinesRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_title_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_title_request_builder.go index 18d4c7af031..a4cbaf1645e 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_title_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_title_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisTitleRequestBu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisTitleRequestBuilderGetQueryParameters retrieve the properties and relationships of chartaxistitle object. +// ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisTitleRequestBuilderGetQueryParameters represents the axis title. Read-only. type ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisTitleRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisTitleReque func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisTitleRequestBuilder) Format()(*ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisTitleFormatRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisTitleFormatRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties and relationships of chartaxistitle object. +// Get represents the axis title. Read-only. // returns a WorkbookChartAxisTitleable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chartaxistitle-get?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisTitleRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisTitleRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartAxisTitleable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,12 +95,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisTitleReque } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartAxisTitleable), nil } -// Patch update the properties of workbookChartAxisTitle object. +// Patch update the navigation property title in drives // returns a WorkbookChartAxisTitleable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chartaxistitle-update?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisTitleRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartAxisTitleable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisTitleRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartAxisTitleable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -132,7 +126,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisTitleReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of chartaxistitle object. +// ToGetRequestInformation represents the axis title. Read-only. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisTitleRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisTitleRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -146,7 +140,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisTitleReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of workbookChartAxisTitle object. +// ToPatchRequestInformation update the navigation property title in drives // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisTitleRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartAxisTitleable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisTitleRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_format_font_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_format_font_request_builder.go index c8595817e4d..2da0414b989 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_format_font_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_format_font_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisFormatFontReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisFormatFontRequestBuilderGetQueryParameters retrieve the properties and relationships of chartfont object. +// ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisFormatFontRequestBuilderGetQueryParameters represents the font attributes (font name, font size, color, etc.) for a chart axis element. Read-only. type ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisFormatFontRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisFormatFontRe } return nil } -// Get retrieve the properties and relationships of chartfont object. +// Get represents the font attributes (font name, font size, color, etc.) for a chart axis element. Read-only. // returns a WorkbookChartFontable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chartfont-get?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisFormatFontRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisFormatFontRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartFontable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisFormatFontRe } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartFontable), nil } -// Patch update the properties of chartfont object. +// Patch update the navigation property font in drives // returns a WorkbookChartFontable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chartfont-update?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisFormatFontRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartFontable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisFormatFontRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartFontable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisFormatFontRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of chartfont object. +// ToGetRequestInformation represents the font attributes (font name, font size, color, etc.) for a chart axis element. Read-only. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisFormatFontRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisFormatFontRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisFormatFontRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of chartfont object. +// ToPatchRequestInformation update the navigation property font in drives // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisFormatFontRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartFontable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisFormatFontRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_format_line_clear_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_format_line_clear_request_builder.go index 273966ee7f1..43bd1a0c133 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_format_line_clear_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_format_line_clear_request_builder.go @@ -34,7 +34,7 @@ func NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisFormatLineCle // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chartlineformat-clear?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chartlineformat-clear?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisFormatLineClearRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisFormatLineClearRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_format_line_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_format_line_request_builder.go index 8ef2fa6ebe7..6f05930c3b5 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_format_line_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_format_line_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisFormatLineReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisFormatLineRequestBuilderGetQueryParameters retrieve the properties and relationships of chartlineformat object. +// ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisFormatLineRequestBuilderGetQueryParameters represents chart line formatting. Read-only. type ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisFormatLineRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisFormatLineRe } return nil } -// Get retrieve the properties and relationships of chartlineformat object. +// Get represents chart line formatting. Read-only. // returns a WorkbookChartLineFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chartlineformat-get?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisFormatLineRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisFormatLineRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartLineFormatable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,12 +95,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisFormatLineRe } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartLineFormatable), nil } -// Patch update the properties of chartlineformat object. +// Patch update the navigation property line in drives // returns a WorkbookChartLineFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chartlineformat-update?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisFormatLineRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartLineFormatable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisFormatLineRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartLineFormatable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -132,7 +126,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisFormatLineRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of chartlineformat object. +// ToGetRequestInformation represents chart line formatting. Read-only. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisFormatLineRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisFormatLineRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -146,7 +140,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisFormatLineRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of chartlineformat object. +// ToPatchRequestInformation update the navigation property line in drives // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisFormatLineRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartLineFormatable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisFormatLineRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_major_gridlines_format_line_clear_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_major_gridlines_format_line_clear_request_builder.go index cfc29566d6d..942209eb29a 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_major_gridlines_format_line_clear_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_major_gridlines_format_line_clear_request_builder.go @@ -34,7 +34,7 @@ func NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMajorGridline // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chartlineformat-clear?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chartlineformat-clear?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMajorGridlinesFormatLineClearRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMajorGridlinesFormatLineClearRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_minor_gridlines_format_line_clear_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_minor_gridlines_format_line_clear_request_builder.go index 27f28d2210e..d580b32eecb 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_minor_gridlines_format_line_clear_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_minor_gridlines_format_line_clear_request_builder.go @@ -34,7 +34,7 @@ func NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMinorGridline // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chartlineformat-clear?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chartlineformat-clear?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMinorGridlinesFormatLineClearRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMinorGridlinesFormatLineClearRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_minor_gridlines_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_minor_gridlines_request_builder.go index ae435d642d8..4b8befbf578 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_minor_gridlines_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_minor_gridlines_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMinorGridlinesRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMinorGridlinesRequestBuilderGetQueryParameters retrieve the properties and relationships of chartgridlines object. +// ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMinorGridlinesRequestBuilderGetQueryParameters returns a Gridlines object that represents the minor gridlines for the specified axis. Read-only. type ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMinorGridlinesRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMinorGridlin func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMinorGridlinesRequestBuilder) Format()(*ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMinorGridlinesFormatRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMinorGridlinesFormatRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties and relationships of chartgridlines object. +// Get returns a Gridlines object that represents the minor gridlines for the specified axis. Read-only. // returns a WorkbookChartGridlinesable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chartgridlines-get?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMinorGridlinesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMinorGridlinesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartGridlinesable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,12 +95,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMinorGridlin } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartGridlinesable), nil } -// Patch update the properties of chartgridlines object. +// Patch update the navigation property minorGridlines in drives // returns a WorkbookChartGridlinesable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chartgridlines-update?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMinorGridlinesRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartGridlinesable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMinorGridlinesRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartGridlinesable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -132,7 +126,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMinorGridlin requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of chartgridlines object. +// ToGetRequestInformation returns a Gridlines object that represents the minor gridlines for the specified axis. Read-only. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMinorGridlinesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMinorGridlinesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -146,7 +140,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMinorGridlin requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of chartgridlines object. +// ToPatchRequestInformation update the navigation property minorGridlines in drives // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMinorGridlinesRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartGridlinesable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMinorGridlinesRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_title_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_title_request_builder.go index 21accc1ccf8..94c4197dfdf 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_title_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_title_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisTitleRequestBuil // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisTitleRequestBuilderGetQueryParameters retrieve the properties and relationships of chartaxistitle object. +// ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisTitleRequestBuilderGetQueryParameters represents the axis title. Read-only. type ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisTitleRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisTitleRequest func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisTitleRequestBuilder) Format()(*ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisTitleFormatRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisTitleFormatRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties and relationships of chartaxistitle object. +// Get represents the axis title. Read-only. // returns a WorkbookChartAxisTitleable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chartaxistitle-get?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisTitleRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisTitleRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartAxisTitleable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,12 +95,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisTitleRequest } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartAxisTitleable), nil } -// Patch update the properties of workbookChartAxisTitle object. +// Patch update the navigation property title in drives // returns a WorkbookChartAxisTitleable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chartaxistitle-update?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisTitleRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartAxisTitleable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisTitleRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartAxisTitleable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -132,7 +126,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisTitleRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of chartaxistitle object. +// ToGetRequestInformation represents the axis title. Read-only. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisTitleRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisTitleRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -146,7 +140,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisTitleRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of workbookChartAxisTitle object. +// ToPatchRequestInformation update the navigation property title in drives // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisTitleRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartAxisTitleable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisTitleRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_format_font_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_format_font_request_builder.go index 2486dba3e96..aa1686987bb 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_format_font_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_format_font_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisFormatFontRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisFormatFontRequestBuilderGetQueryParameters retrieve the properties and relationships of chartfont object. +// ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisFormatFontRequestBuilderGetQueryParameters represents the font attributes (font name, font size, color, etc.) for a chart axis element. Read-only. type ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisFormatFontRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisFormatFontReq } return nil } -// Get retrieve the properties and relationships of chartfont object. +// Get represents the font attributes (font name, font size, color, etc.) for a chart axis element. Read-only. // returns a WorkbookChartFontable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chartfont-get?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisFormatFontRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisFormatFontRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartFontable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisFormatFontReq } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartFontable), nil } -// Patch update the properties of chartfont object. +// Patch update the navigation property font in drives // returns a WorkbookChartFontable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chartfont-update?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisFormatFontRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartFontable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisFormatFontRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartFontable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisFormatFontReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of chartfont object. +// ToGetRequestInformation represents the font attributes (font name, font size, color, etc.) for a chart axis element. Read-only. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisFormatFontRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisFormatFontRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisFormatFontReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of chartfont object. +// ToPatchRequestInformation update the navigation property font in drives // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisFormatFontRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartFontable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisFormatFontRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_format_line_clear_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_format_line_clear_request_builder.go index 76a51185b66..52cb97a04ea 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_format_line_clear_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_format_line_clear_request_builder.go @@ -34,7 +34,7 @@ func NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisFormatLineClea // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chartlineformat-clear?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chartlineformat-clear?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisFormatLineClearRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisFormatLineClearRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_format_line_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_format_line_request_builder.go index f82c332c02f..6a441439c8e 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_format_line_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_format_line_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisFormatLineRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisFormatLineRequestBuilderGetQueryParameters retrieve the properties and relationships of chartlineformat object. +// ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisFormatLineRequestBuilderGetQueryParameters represents chart line formatting. Read-only. type ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisFormatLineRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisFormatLineReq } return nil } -// Get retrieve the properties and relationships of chartlineformat object. +// Get represents chart line formatting. Read-only. // returns a WorkbookChartLineFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chartlineformat-get?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisFormatLineRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisFormatLineRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartLineFormatable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,12 +95,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisFormatLineReq } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartLineFormatable), nil } -// Patch update the properties of chartlineformat object. +// Patch update the navigation property line in drives // returns a WorkbookChartLineFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chartlineformat-update?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisFormatLineRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartLineFormatable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisFormatLineRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartLineFormatable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -132,7 +126,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisFormatLineReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of chartlineformat object. +// ToGetRequestInformation represents chart line formatting. Read-only. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisFormatLineRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisFormatLineRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -146,7 +140,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisFormatLineReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of chartlineformat object. +// ToPatchRequestInformation update the navigation property line in drives // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisFormatLineRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartLineFormatable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisFormatLineRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_major_gridlines_format_line_clear_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_major_gridlines_format_line_clear_request_builder.go index 1db6f7324e1..4b9418e7faa 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_major_gridlines_format_line_clear_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_major_gridlines_format_line_clear_request_builder.go @@ -34,7 +34,7 @@ func NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMajorGridlines // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chartlineformat-clear?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chartlineformat-clear?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMajorGridlinesFormatLineClearRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMajorGridlinesFormatLineClearRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_minor_gridlines_format_line_clear_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_minor_gridlines_format_line_clear_request_builder.go index 2a848267c7e..63d22fe68a6 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_minor_gridlines_format_line_clear_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_minor_gridlines_format_line_clear_request_builder.go @@ -34,7 +34,7 @@ func NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMinorGridlines // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chartlineformat-clear?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chartlineformat-clear?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMinorGridlinesFormatLineClearRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMinorGridlinesFormatLineClearRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_minor_gridlines_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_minor_gridlines_request_builder.go index de4ac53eda1..2f5536146e2 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_minor_gridlines_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_minor_gridlines_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMinorGridlinesReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMinorGridlinesRequestBuilderGetQueryParameters retrieve the properties and relationships of chartgridlines object. +// ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMinorGridlinesRequestBuilderGetQueryParameters returns a Gridlines object that represents the minor gridlines for the specified axis. Read-only. type ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMinorGridlinesRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMinorGridline func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMinorGridlinesRequestBuilder) Format()(*ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMinorGridlinesFormatRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMinorGridlinesFormatRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties and relationships of chartgridlines object. +// Get returns a Gridlines object that represents the minor gridlines for the specified axis. Read-only. // returns a WorkbookChartGridlinesable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chartgridlines-get?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMinorGridlinesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMinorGridlinesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartGridlinesable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,12 +95,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMinorGridline } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartGridlinesable), nil } -// Patch update the properties of chartgridlines object. +// Patch update the navigation property minorGridlines in drives // returns a WorkbookChartGridlinesable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chartgridlines-update?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMinorGridlinesRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartGridlinesable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMinorGridlinesRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartGridlinesable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -132,7 +126,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMinorGridline requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of chartgridlines object. +// ToGetRequestInformation returns a Gridlines object that represents the minor gridlines for the specified axis. Read-only. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMinorGridlinesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMinorGridlinesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -146,7 +140,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMinorGridline requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of chartgridlines object. +// ToPatchRequestInformation update the navigation property minorGridlines in drives // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMinorGridlinesRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartGridlinesable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMinorGridlinesRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_request_builder.go index 1bb590479a1..dc3f042370b 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisRequestBuilderDel // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisRequestBuilderGetQueryParameters retrieve the properties and relationships of chartaxis object. +// ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisRequestBuilderGetQueryParameters represents the value axis in an axis. Read-only. type ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisRequestBuilde func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisRequestBuilder) Format()(*ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisFormatRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisFormatRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties and relationships of chartaxis object. +// Get represents the value axis in an axis. Read-only. // returns a WorkbookChartAxisable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chartaxis-get?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartAxisable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -108,12 +105,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisRequestBuilde func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisRequestBuilder) MinorGridlines()(*ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMinorGridlinesRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMinorGridlinesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of workbookChartAxis object. +// Patch update the navigation property valueAxis in drives // returns a WorkbookChartAxisable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chartaxis-update?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartAxisable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartAxisable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -147,7 +141,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisRequestBuilde requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of chartaxis object. +// ToGetRequestInformation represents the value axis in an axis. Read-only. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -161,7 +155,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisRequestBuilde requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of workbookChartAxis object. +// ToPatchRequestInformation update the navigation property valueAxis in drives // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartAxisable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_title_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_title_request_builder.go index e97b374fd13..9fb1a7edc69 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_title_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_title_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisTitleRequestBuild // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisTitleRequestBuilderGetQueryParameters retrieve the properties and relationships of chartaxistitle object. +// ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisTitleRequestBuilderGetQueryParameters represents the axis title. Read-only. type ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisTitleRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisTitleRequestB func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisTitleRequestBuilder) Format()(*ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisTitleFormatRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisTitleFormatRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties and relationships of chartaxistitle object. +// Get represents the axis title. Read-only. // returns a WorkbookChartAxisTitleable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chartaxistitle-get?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisTitleRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisTitleRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartAxisTitleable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,12 +95,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisTitleRequestB } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartAxisTitleable), nil } -// Patch update the properties of workbookChartAxisTitle object. +// Patch update the navigation property title in drives // returns a WorkbookChartAxisTitleable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chartaxistitle-update?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisTitleRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartAxisTitleable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisTitleRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartAxisTitleable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -132,7 +126,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisTitleRequestB requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of chartaxistitle object. +// ToGetRequestInformation represents the axis title. Read-only. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisTitleRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisTitleRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -146,7 +140,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisTitleRequestB requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of workbookChartAxisTitle object. +// ToPatchRequestInformation update the navigation property title in drives // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisTitleRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartAxisTitleable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisTitleRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_data_labels_format_fill_clear_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_data_labels_format_fill_clear_request_builder.go index c51a1fbdf6b..06f0fe155dc 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_data_labels_format_fill_clear_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_data_labels_format_fill_clear_request_builder.go @@ -34,7 +34,7 @@ func NewItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsFormatFillClearRe // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chartfill-clear?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chartfill-clear?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsFormatFillClearRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsFormatFillClearRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_data_labels_format_fill_set_solid_color_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_data_labels_format_fill_set_solid_color_request_builder.go index 38405d18f4c..6608a5a7f2e 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_data_labels_format_fill_set_solid_color_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_data_labels_format_fill_set_solid_color_request_builder.go @@ -34,7 +34,7 @@ func NewItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsFormatFillSetSoli // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chartfill-setsolidcolor?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chartfill-setsolidcolor?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsFormatFillSetSolidColorRequestBuilder) Post(ctx context.Context, body ItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsFormatFillSetSolidColorPostRequestBodyable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsFormatFillSetSolidColorRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_data_labels_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_data_labels_request_builder.go index 6217cd450a1..e717d1d935d 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_data_labels_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_data_labels_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsRequestBuilderDelete // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsRequestBuilderGetQueryParameters retrieve the properties and relationships of chartdatalabels object. +// ItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsRequestBuilderGetQueryParameters represents the datalabels on the chart. Read-only. type ItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsRequestBuilder) func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsRequestBuilder) Format()(*ItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsFormatRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsFormatRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties and relationships of chartdatalabels object. +// Get represents the datalabels on the chart. Read-only. // returns a WorkbookChartDataLabelsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chartdatalabels-get?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartDataLabelsable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,12 +95,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartDataLabelsable), nil } -// Patch update the properties of chartdatalabels object. +// Patch update the navigation property dataLabels in drives // returns a WorkbookChartDataLabelsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chartdatalabels-update?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartDataLabelsable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartDataLabelsable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -132,7 +126,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of chartdatalabels object. +// ToGetRequestInformation represents the datalabels on the chart. Read-only. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -146,7 +140,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of chartdatalabels object. +// ToPatchRequestInformation update the navigation property dataLabels in drives // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartDataLabelsable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_format_fill_clear_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_format_fill_clear_request_builder.go index eb2c9531885..c388207015f 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_format_fill_clear_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_format_fill_clear_request_builder.go @@ -34,7 +34,7 @@ func NewItemItemsItemWorkbookWorksheetsItemChartsItemFormatFillClearRequestBuild // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chartfill-clear?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chartfill-clear?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemFormatFillClearRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemFormatFillClearRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_format_fill_set_solid_color_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_format_fill_set_solid_color_request_builder.go index 1c744d7be08..1cdddb6d39a 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_format_fill_set_solid_color_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_format_fill_set_solid_color_request_builder.go @@ -34,7 +34,7 @@ func NewItemItemsItemWorkbookWorksheetsItemChartsItemFormatFillSetSolidColorRequ // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chartfill-setsolidcolor?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chartfill-setsolidcolor?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemFormatFillSetSolidColorRequestBuilder) Post(ctx context.Context, body ItemItemsItemWorkbookWorksheetsItemChartsItemFormatFillSetSolidColorPostRequestBodyable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemFormatFillSetSolidColorRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_legend_format_fill_clear_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_legend_format_fill_clear_request_builder.go index 6dedaea7b71..f2b79dfbb70 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_legend_format_fill_clear_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_legend_format_fill_clear_request_builder.go @@ -34,7 +34,7 @@ func NewItemItemsItemWorkbookWorksheetsItemChartsItemLegendFormatFillClearReques // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chartfill-clear?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chartfill-clear?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemLegendFormatFillClearRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemLegendFormatFillClearRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_legend_format_fill_set_solid_color_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_legend_format_fill_set_solid_color_request_builder.go index 0ba6dfe4492..b1eb7b0b805 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_legend_format_fill_set_solid_color_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_legend_format_fill_set_solid_color_request_builder.go @@ -34,7 +34,7 @@ func NewItemItemsItemWorkbookWorksheetsItemChartsItemLegendFormatFillSetSolidCol // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chartfill-setsolidcolor?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chartfill-setsolidcolor?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemLegendFormatFillSetSolidColorRequestBuilder) Post(ctx context.Context, body ItemItemsItemWorkbookWorksheetsItemChartsItemLegendFormatFillSetSolidColorPostRequestBodyable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemLegendFormatFillSetSolidColorRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_legend_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_legend_request_builder.go index 9abc26c48f4..a9bbf0688ef 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_legend_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_legend_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemWorkbookWorksheetsItemChartsItemLegendRequestBuilderDeleteRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemWorkbookWorksheetsItemChartsItemLegendRequestBuilderGetQueryParameters retrieve the properties and relationships of chartlegend object. +// ItemItemsItemWorkbookWorksheetsItemChartsItemLegendRequestBuilderGetQueryParameters represents the legend for the chart. Read-only. type ItemItemsItemWorkbookWorksheetsItemChartsItemLegendRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemLegendRequestBuilder) Dele func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemLegendRequestBuilder) Format()(*ItemItemsItemWorkbookWorksheetsItemChartsItemLegendFormatRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemChartsItemLegendFormatRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties and relationships of chartlegend object. +// Get represents the legend for the chart. Read-only. // returns a WorkbookChartLegendable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chartlegend-get?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemLegendRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemLegendRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartLegendable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,12 +95,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemLegendRequestBuilder) Get( } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartLegendable), nil } -// Patch update the properties of chartlegend object. +// Patch update the navigation property legend in drives // returns a WorkbookChartLegendable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chartlegend-update?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemLegendRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartLegendable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemLegendRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartLegendable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -132,7 +126,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemLegendRequestBuilder) ToDe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of chartlegend object. +// ToGetRequestInformation represents the legend for the chart. Read-only. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemLegendRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemLegendRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -146,7 +140,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemLegendRequestBuilder) ToGe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of chartlegend object. +// ToPatchRequestInformation update the navigation property legend in drives // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemLegendRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartLegendable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemLegendRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_at_with_index_points_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_at_with_index_points_request_builder.go index baef0bdedb8..8f4b42d3ca6 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_at_with_index_points_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_at_with_index_points_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemAtWithIndexPointsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemAtWithIndexPointsRequestBuilderGetQueryParameters retrieve a list of chartpoints objects. +// ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemAtWithIndexPointsRequestBuilderGetQueryParameters represents a collection of all points in the series. Read-only. type ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemAtWithIndexPointsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -59,12 +59,9 @@ func NewItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemAtWithIndexPoints urlParams["request-raw-url"] = rawUrl return NewItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemAtWithIndexPointsRequestBuilderInternal(urlParams, requestAdapter) } -// Get retrieve a list of chartpoints objects. +// Get represents a collection of all points in the series. Read-only. // returns a WorkbookChartPointCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chartseries-list-points?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemAtWithIndexPointsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemAtWithIndexPointsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartPointCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -82,12 +79,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemAtWithIndexPoint } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartPointCollectionResponseable), nil } -// Post use this API to create a new ChartPoint. +// Post create new navigation property to points for drives // returns a WorkbookChartPointable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chartseries-post-points?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemAtWithIndexPointsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartPointable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemAtWithIndexPointsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartPointable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -105,7 +99,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemAtWithIndexPoint } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartPointable), nil } -// ToGetRequestInformation retrieve a list of chartpoints objects. +// ToGetRequestInformation represents a collection of all points in the series. Read-only. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemAtWithIndexPointsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemAtWithIndexPointsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -119,7 +113,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemAtWithIndexPoint requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new ChartPoint. +// ToPostRequestInformation create new navigation property to points for drives // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemAtWithIndexPointsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartPointable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemAtWithIndexPointsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_at_with_index_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_at_with_index_request_builder.go index 3b105b65104..dd11bd75b11 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_at_with_index_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_at_with_index_request_builder.go @@ -40,9 +40,12 @@ func NewItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemAtWithIndexReques func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemAtWithIndexRequestBuilder) Format()(*ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemAtWithIndexFormatRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemAtWithIndexFormatRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get invoke function itemAt +// Get retrieves a series based on its position in the collection // returns a WorkbookChartSeriesable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chartseriescollection-itemat?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemAtWithIndexRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemAtWithIndexRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartSeriesable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -65,7 +68,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemAtWithIndexReque func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemAtWithIndexRequestBuilder) Points()(*ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemAtWithIndexPointsRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemAtWithIndexPointsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation invoke function itemAt +// ToGetRequestInformation retrieves a series based on its position in the collection // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemAtWithIndexRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemAtWithIndexRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_format_fill_clear_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_format_fill_clear_request_builder.go index 32a00abdcec..33786d10543 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_format_fill_clear_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_format_fill_clear_request_builder.go @@ -34,7 +34,7 @@ func NewItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemFormatFillClearRe // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chartfill-clear?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chartfill-clear?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemFormatFillClearRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemFormatFillClearRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_format_fill_set_solid_color_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_format_fill_set_solid_color_request_builder.go index f59a12d573b..2e083532760 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_format_fill_set_solid_color_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_format_fill_set_solid_color_request_builder.go @@ -34,7 +34,7 @@ func NewItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemFormatFillSetSoli // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chartfill-setsolidcolor?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chartfill-setsolidcolor?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemFormatFillSetSolidColorRequestBuilder) Post(ctx context.Context, body ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemFormatFillSetSolidColorPostRequestBodyable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemFormatFillSetSolidColorRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_format_line_clear_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_format_line_clear_request_builder.go index aad8b04fa60..240d6efcd34 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_format_line_clear_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_format_line_clear_request_builder.go @@ -34,7 +34,7 @@ func NewItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemFormatLineClearRe // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chartlineformat-clear?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chartlineformat-clear?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemFormatLineClearRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemFormatLineClearRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_item_at_with_index_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_item_at_with_index_request_builder.go index e244b963dfe..7f2de6fb37a 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_item_at_with_index_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_item_at_with_index_request_builder.go @@ -40,9 +40,12 @@ func NewItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsItemAtWithI func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsItemAtWithIndexRequestBuilder) Format()(*ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsItemAtWithIndexFormatRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsItemAtWithIndexFormatRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get invoke function itemAt +// Get retrieve a point based on its position within the series. // returns a WorkbookChartPointable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chartpointscollection-itemat?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsItemAtWithIndexRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsItemAtWithIndexRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartPointable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -60,7 +63,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsItemAtWith } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartPointable), nil } -// ToGetRequestInformation invoke function itemAt +// ToGetRequestInformation retrieve a point based on its position within the series. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsItemAtWithIndexRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsItemAtWithIndexRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_item_format_fill_clear_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_item_format_fill_clear_request_builder.go index 844e46430dd..7f58e54a869 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_item_format_fill_clear_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_item_format_fill_clear_request_builder.go @@ -34,7 +34,7 @@ func NewItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsItemFormatF // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chartfill-clear?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chartfill-clear?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsItemFormatFillClearRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsItemFormatFillClearRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_item_format_fill_set_solid_color_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_item_format_fill_set_solid_color_request_builder.go index 0af783a93a0..26c31f24742 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_item_format_fill_set_solid_color_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_item_format_fill_set_solid_color_request_builder.go @@ -34,7 +34,7 @@ func NewItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsItemFormatF // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chartfill-setsolidcolor?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chartfill-setsolidcolor?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsItemFormatFillSetSolidColorRequestBuilder) Post(ctx context.Context, body ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsItemFormatFillSetSolidColorPostRequestBodyable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsItemFormatFillSetSolidColorRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_request_builder.go index f6675ca4548..9fb30f2db1d 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsRequestBuilderGetQueryParameters retrieve a list of chartpoints objects. +// ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsRequestBuilderGetQueryParameters represents a collection of all points in the series. Read-only. type ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsRequestBuil func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsRequestBuilder) Count()(*ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsCountRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of chartpoints objects. +// Get represents a collection of all points in the series. Read-only. // returns a WorkbookChartPointCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chartseries-list-points?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartPointCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsRequestBui func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsRequestBuilder) ItemAtWithIndex(index *int32)(*ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsItemAtWithIndexRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsItemAtWithIndexRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, index) } -// Post use this API to create a new ChartPoint. +// Post create new navigation property to points for drives // returns a WorkbookChartPointable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chartseries-post-points?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartPointable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartPointable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsRequestBui } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartPointable), nil } -// ToGetRequestInformation retrieve a list of chartpoints objects. +// ToGetRequestInformation represents a collection of all points in the series. Read-only. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsRequestBui requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new ChartPoint. +// ToPostRequestInformation create new navigation property to points for drives // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartPointable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_workbook_chart_point_item_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_workbook_chart_point_item_request_builder.go index d0d14f2177a..130be7f09b7 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_workbook_chart_point_item_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_workbook_chart_point_item_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsWorkbookChartP // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsWorkbookChartPointItemRequestBuilderGetQueryParameters retrieve the properties and relationships of chartpoint object. +// ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsWorkbookChartPointItemRequestBuilderGetQueryParameters represents a collection of all points in the series. Read-only. type ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsWorkbookChartPointItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsWorkbookCh func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsWorkbookChartPointItemRequestBuilder) Format()(*ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsItemFormatRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsItemFormatRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties and relationships of chartpoint object. +// Get represents a collection of all points in the series. Read-only. // returns a WorkbookChartPointable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chartpoint-get?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsWorkbookChartPointItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsWorkbookChartPointItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartPointable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsWorkbookCh requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of chartpoint object. +// ToGetRequestInformation represents a collection of all points in the series. Read-only. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsWorkbookChartPointItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsWorkbookChartPointItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_series_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_series_request_builder.go index 694d3b0cfe4..1f69564329d 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_series_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_series_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesRequestBuilderGetQueryParameters retrieve a list of chartseries objects. +// ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesRequestBuilderGetQueryParameters represents either a single series or collection of series in the chart. Read-only. type ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemItemsItemWorkbookWorksheetsItemChartsItemSeriesRequestBuilder(rawUrl func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesRequestBuilder) Count()(*ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesCountRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemChartsItemSeriesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of chartseries objects. +// Get represents either a single series or collection of series in the chart. Read-only. // returns a WorkbookChartSeriesCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chartseries-list?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartSeriesCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesRequestBuilder) Get( func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesRequestBuilder) ItemAtWithIndex(index *int32)(*ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemAtWithIndexRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemAtWithIndexRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, index) } -// Post use this API to create a new ChartSeries. +// Post create new navigation property to series for drives // returns a WorkbookChartSeriesable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chart-post-series?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartSeriesable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartSeriesable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesRequestBuilder) Post } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartSeriesable), nil } -// ToGetRequestInformation retrieve a list of chartseries objects. +// ToGetRequestInformation represents either a single series or collection of series in the chart. Read-only. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesRequestBuilder) ToGe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new ChartSeries. +// ToPostRequestInformation create new navigation property to series for drives // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartSeriesable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_series_workbook_chart_series_item_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_series_workbook_chart_series_item_request_builder.go index c07ec637a2c..7915d55920a 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_series_workbook_chart_series_item_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_series_workbook_chart_series_item_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesWorkbookChartSeriesItemR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesWorkbookChartSeriesItemRequestBuilderGetQueryParameters retrieve the properties and relationships of chartseries object. +// ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesWorkbookChartSeriesItemRequestBuilderGetQueryParameters represents either a single series or collection of series in the chart. Read-only. type ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesWorkbookChartSeriesItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesWorkbookChartSeriesI func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesWorkbookChartSeriesItemRequestBuilder) Format()(*ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemFormatRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemFormatRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties and relationships of chartseries object. +// Get represents either a single series or collection of series in the chart. Read-only. // returns a WorkbookChartSeriesable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chartseries-get?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesWorkbookChartSeriesItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesWorkbookChartSeriesItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartSeriesable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,12 +95,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesWorkbookChartSeriesI } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartSeriesable), nil } -// Patch update the properties of chartseries object. +// Patch update the navigation property series in drives // returns a WorkbookChartSeriesable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chartseries-update?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesWorkbookChartSeriesItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartSeriesable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesWorkbookChartSeriesItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartSeriesable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -137,7 +131,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesWorkbookChartSeriesI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of chartseries object. +// ToGetRequestInformation represents either a single series or collection of series in the chart. Read-only. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesWorkbookChartSeriesItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesWorkbookChartSeriesItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -151,7 +145,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesWorkbookChartSeriesI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of chartseries object. +// ToPatchRequestInformation update the navigation property series in drives // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesWorkbookChartSeriesItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartSeriesable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesWorkbookChartSeriesItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_set_data_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_set_data_request_builder.go index 4abd16053ae..b473245a996 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_set_data_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_set_data_request_builder.go @@ -34,7 +34,7 @@ func NewItemItemsItemWorkbookWorksheetsItemChartsItemSetDataRequestBuilder(rawUr // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chart-setdata?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chart-setdata?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSetDataRequestBuilder) Post(ctx context.Context, body ItemItemsItemWorkbookWorksheetsItemChartsItemSetDataPostRequestBodyable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemSetDataRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_set_position_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_set_position_request_builder.go index 4a6293ba867..f201f76e2be 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_set_position_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_set_position_request_builder.go @@ -34,7 +34,7 @@ func NewItemItemsItemWorkbookWorksheetsItemChartsItemSetPositionRequestBuilder(r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chart-setposition?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chart-setposition?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSetPositionRequestBuilder) Post(ctx context.Context, body ItemItemsItemWorkbookWorksheetsItemChartsItemSetPositionPostRequestBodyable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemSetPositionRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_title_format_fill_clear_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_title_format_fill_clear_request_builder.go index 3b15d977a4d..22b43a28364 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_title_format_fill_clear_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_title_format_fill_clear_request_builder.go @@ -34,7 +34,7 @@ func NewItemItemsItemWorkbookWorksheetsItemChartsItemTitleFormatFillClearRequest // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chartfill-clear?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chartfill-clear?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemTitleFormatFillClearRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemTitleFormatFillClearRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_title_format_fill_set_solid_color_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_title_format_fill_set_solid_color_request_builder.go index da9e48771c2..740637fe964 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_title_format_fill_set_solid_color_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_title_format_fill_set_solid_color_request_builder.go @@ -34,7 +34,7 @@ func NewItemItemsItemWorkbookWorksheetsItemChartsItemTitleFormatFillSetSolidColo // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chartfill-setsolidcolor?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chartfill-setsolidcolor?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemTitleFormatFillSetSolidColorRequestBuilder) Post(ctx context.Context, body ItemItemsItemWorkbookWorksheetsItemChartsItemTitleFormatFillSetSolidColorPostRequestBodyable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemTitleFormatFillSetSolidColorRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_title_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_title_request_builder.go index 808a45c0c43..538fb309a56 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_title_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_title_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemWorkbookWorksheetsItemChartsItemTitleRequestBuilderDeleteReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemWorkbookWorksheetsItemChartsItemTitleRequestBuilderGetQueryParameters retrieve the properties and relationships of charttitle object. +// ItemItemsItemWorkbookWorksheetsItemChartsItemTitleRequestBuilderGetQueryParameters represents the title of the specified chart, including the text, visibility, position and formating of the title. Read-only. type ItemItemsItemWorkbookWorksheetsItemChartsItemTitleRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemTitleRequestBuilder) Delet func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemTitleRequestBuilder) Format()(*ItemItemsItemWorkbookWorksheetsItemChartsItemTitleFormatRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemChartsItemTitleFormatRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties and relationships of charttitle object. +// Get represents the title of the specified chart, including the text, visibility, position and formating of the title. Read-only. // returns a WorkbookChartTitleable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/charttitle-get?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemTitleRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemTitleRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartTitleable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,12 +95,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemTitleRequestBuilder) Get(c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartTitleable), nil } -// Patch update the properties of charttitle object. +// Patch update the navigation property title in drives // returns a WorkbookChartTitleable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/charttitle-update?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemTitleRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartTitleable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemTitleRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartTitleable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -132,7 +126,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemTitleRequestBuilder) ToDel requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of charttitle object. +// ToGetRequestInformation represents the title of the specified chart, including the text, visibility, position and formating of the title. Read-only. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemTitleRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemTitleRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -146,7 +140,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemTitleRequestBuilder) ToGet requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of charttitle object. +// ToPatchRequestInformation update the navigation property title in drives // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemTitleRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartTitleable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemTitleRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_with_name_data_labels_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_with_name_data_labels_request_builder.go index ca1065d561e..13bbc4ce055 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_with_name_data_labels_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_with_name_data_labels_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameDataLabelsRequestBuild // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameDataLabelsRequestBuilderGetQueryParameters retrieve the properties and relationships of chartdatalabels object. +// ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameDataLabelsRequestBuilderGetQueryParameters represents the datalabels on the chart. Read-only. type ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameDataLabelsRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameDataLabelsRequestB } return nil } -// Get retrieve the properties and relationships of chartdatalabels object. +// Get represents the datalabels on the chart. Read-only. // returns a WorkbookChartDataLabelsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chartdatalabels-get?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameDataLabelsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameDataLabelsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartDataLabelsable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameDataLabelsRequestB } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartDataLabelsable), nil } -// Patch update the properties of chartdatalabels object. +// Patch update the navigation property dataLabels in drives // returns a WorkbookChartDataLabelsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chartdatalabels-update?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameDataLabelsRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartDataLabelsable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameDataLabelsRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartDataLabelsable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameDataLabelsRequestB requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of chartdatalabels object. +// ToGetRequestInformation represents the datalabels on the chart. Read-only. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameDataLabelsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameDataLabelsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameDataLabelsRequestB requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of chartdatalabels object. +// ToPatchRequestInformation update the navigation property dataLabels in drives // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameDataLabelsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartDataLabelsable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameDataLabelsRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_with_name_legend_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_with_name_legend_request_builder.go index bb2c918583d..b12af126435 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_with_name_legend_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_with_name_legend_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameLegendRequestBuilderDe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameLegendRequestBuilderGetQueryParameters retrieve the properties and relationships of chartlegend object. +// ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameLegendRequestBuilderGetQueryParameters represents the legend for the chart. Read-only. type ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameLegendRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameLegendRequestBuild } return nil } -// Get retrieve the properties and relationships of chartlegend object. +// Get represents the legend for the chart. Read-only. // returns a WorkbookChartLegendable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chartlegend-get?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameLegendRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameLegendRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartLegendable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameLegendRequestBuild } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartLegendable), nil } -// Patch update the properties of chartlegend object. +// Patch update the navigation property legend in drives // returns a WorkbookChartLegendable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chartlegend-update?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameLegendRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartLegendable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameLegendRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartLegendable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameLegendRequestBuild requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of chartlegend object. +// ToGetRequestInformation represents the legend for the chart. Read-only. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameLegendRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameLegendRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameLegendRequestBuild requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of chartlegend object. +// ToPatchRequestInformation update the navigation property legend in drives // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameLegendRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartLegendable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameLegendRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_with_name_series_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_with_name_series_request_builder.go index f69fb06cfd7..bfdbdee0f69 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_with_name_series_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_with_name_series_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameSeriesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameSeriesRequestBuilderGetQueryParameters retrieve a list of chartseries objects. +// ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameSeriesRequestBuilderGetQueryParameters represents either a single series or collection of series in the chart. Read-only. type ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameSeriesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -59,12 +59,9 @@ func NewItemItemsItemWorkbookWorksheetsItemChartsItemWithNameSeriesRequestBuilde urlParams["request-raw-url"] = rawUrl return NewItemItemsItemWorkbookWorksheetsItemChartsItemWithNameSeriesRequestBuilderInternal(urlParams, requestAdapter) } -// Get retrieve a list of chartseries objects. +// Get represents either a single series or collection of series in the chart. Read-only. // returns a WorkbookChartSeriesCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chartseries-list?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameSeriesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameSeriesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartSeriesCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -82,12 +79,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameSeriesRequestBuild } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartSeriesCollectionResponseable), nil } -// Post use this API to create a new ChartSeries. +// Post create new navigation property to series for drives // returns a WorkbookChartSeriesable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chart-post-series?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameSeriesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartSeriesable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameSeriesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartSeriesable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -105,7 +99,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameSeriesRequestBuild } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartSeriesable), nil } -// ToGetRequestInformation retrieve a list of chartseries objects. +// ToGetRequestInformation represents either a single series or collection of series in the chart. Read-only. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameSeriesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameSeriesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -119,7 +113,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameSeriesRequestBuild requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new ChartSeries. +// ToPostRequestInformation create new navigation property to series for drives // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameSeriesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartSeriesable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameSeriesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_with_name_set_data_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_with_name_set_data_request_builder.go index 7ef9c33f61e..6d71833b94d 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_with_name_set_data_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_with_name_set_data_request_builder.go @@ -34,7 +34,7 @@ func NewItemItemsItemWorkbookWorksheetsItemChartsItemWithNameSetDataRequestBuild // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chart-setdata?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chart-setdata?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameSetDataRequestBuilder) Post(ctx context.Context, body ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameSetDataPostRequestBodyable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameSetDataRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_with_name_set_position_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_with_name_set_position_request_builder.go index ca859517ddd..1d268742bb9 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_with_name_set_position_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_with_name_set_position_request_builder.go @@ -34,7 +34,7 @@ func NewItemItemsItemWorkbookWorksheetsItemChartsItemWithNameSetPositionRequestB // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chart-setposition?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chart-setposition?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameSetPositionRequestBuilder) Post(ctx context.Context, body ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameSetPositionPostRequestBodyable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameSetPositionRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_with_name_title_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_with_name_title_request_builder.go index dc2b12dce4b..df6b04d10e1 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_with_name_title_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_with_name_title_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameTitleRequestBuilderDel // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameTitleRequestBuilderGetQueryParameters retrieve the properties and relationships of charttitle object. +// ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameTitleRequestBuilderGetQueryParameters represents the title of the specified chart, including the text, visibility, position and formating of the title. Read-only. type ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameTitleRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameTitleRequestBuilde } return nil } -// Get retrieve the properties and relationships of charttitle object. +// Get represents the title of the specified chart, including the text, visibility, position and formating of the title. Read-only. // returns a WorkbookChartTitleable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/charttitle-get?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameTitleRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameTitleRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartTitleable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameTitleRequestBuilde } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartTitleable), nil } -// Patch update the properties of charttitle object. +// Patch update the navigation property title in drives // returns a WorkbookChartTitleable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/charttitle-update?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameTitleRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartTitleable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameTitleRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartTitleable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameTitleRequestBuilde requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of charttitle object. +// ToGetRequestInformation represents the title of the specified chart, including the text, visibility, position and formating of the title. Read-only. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameTitleRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameTitleRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameTitleRequestBuilde requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of charttitle object. +// ToPatchRequestInformation update the navigation property title in drives // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameTitleRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartTitleable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameTitleRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_worksheets_item_charts_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_request_builder.go index 96617b54c5e..9db49b0ebe0 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemItemsItemWorkbookWorksheetsItemChartsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemItemsItemWorkbookWorksheetsItemChartsRequestBuilderGetQueryParameters retrieve a list of chart objects. +// ItemItemsItemWorkbookWorksheetsItemChartsRequestBuilderGetQueryParameters returns collection of charts that are part of the worksheet. Read-only. type ItemItemsItemWorkbookWorksheetsItemChartsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func NewItemItemsItemWorkbookWorksheetsItemChartsRequestBuilder(rawUrl string, r func (m *ItemItemsItemWorkbookWorksheetsItemChartsRequestBuilder) Count()(*ItemItemsItemWorkbookWorksheetsItemChartsCountRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemChartsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of chart objects. +// Get returns collection of charts that are part of the worksheet. Read-only. // returns a WorkbookChartCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/worksheet-list-charts?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemChartsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -114,12 +111,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsRequestBuilder) ItemAtWithInde func (m *ItemItemsItemWorkbookWorksheetsItemChartsRequestBuilder) ItemWithName(name *string)(*ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemChartsItemWithNameRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, name) } -// Post use this API to create a new Chart. +// Post create new navigation property to charts for drives // returns a WorkbookChartable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/worksheet-post-charts?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemChartsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -137,7 +131,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsRequestBuilder) Post(ctx conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartable), nil } -// ToGetRequestInformation retrieve a list of chart objects. +// ToGetRequestInformation returns collection of charts that are part of the worksheet. Read-only. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -151,7 +145,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsRequestBuilder) ToGetRequestIn requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Chart. +// ToPostRequestInformation create new navigation property to charts for drives // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_worksheets_item_charts_workbook_chart_item_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_workbook_chart_item_request_builder.go index 225205ea290..ecbebcfddf4 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_workbook_chart_item_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_workbook_chart_item_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemWorkbookWorksheetsItemChartsWorkbookChartItemRequestBuilderDel // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemWorkbookWorksheetsItemChartsWorkbookChartItemRequestBuilderGetQueryParameters retrieve the properties and relationships of chart object. +// ItemItemsItemWorkbookWorksheetsItemChartsWorkbookChartItemRequestBuilderGetQueryParameters returns collection of charts that are part of the worksheet. Read-only. type ItemItemsItemWorkbookWorksheetsItemChartsWorkbookChartItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -64,11 +64,8 @@ func NewItemItemsItemWorkbookWorksheetsItemChartsWorkbookChartItemRequestBuilder func (m *ItemItemsItemWorkbookWorksheetsItemChartsWorkbookChartItemRequestBuilder) DataLabels()(*ItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Delete deletes the chart object. +// Delete delete navigation property charts for drives // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chart-delete?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemChartsWorkbookChartItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsWorkbookChartItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -88,12 +85,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsWorkbookChartItemRequestBuilde func (m *ItemItemsItemWorkbookWorksheetsItemChartsWorkbookChartItemRequestBuilder) Format()(*ItemItemsItemWorkbookWorksheetsItemChartsItemFormatRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemChartsItemFormatRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties and relationships of chart object. +// Get returns collection of charts that are part of the worksheet. Read-only. // returns a WorkbookChartable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chart-get?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemChartsWorkbookChartItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsWorkbookChartItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -136,12 +130,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsWorkbookChartItemRequestBuilde func (m *ItemItemsItemWorkbookWorksheetsItemChartsWorkbookChartItemRequestBuilder) Legend()(*ItemItemsItemWorkbookWorksheetsItemChartsItemLegendRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemChartsItemLegendRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of chart object. +// Patch update the navigation property charts in drives // returns a WorkbookChartable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chart-update?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemChartsWorkbookChartItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsWorkbookChartItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -179,7 +170,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsWorkbookChartItemRequestBuilde func (m *ItemItemsItemWorkbookWorksheetsItemChartsWorkbookChartItemRequestBuilder) Title()(*ItemItemsItemWorkbookWorksheetsItemChartsItemTitleRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemChartsItemTitleRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation deletes the chart object. +// ToDeleteRequestInformation delete navigation property charts for drives // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsWorkbookChartItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsWorkbookChartItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -190,7 +181,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsWorkbookChartItemRequestBuilde requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of chart object. +// ToGetRequestInformation returns collection of charts that are part of the worksheet. Read-only. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsWorkbookChartItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsWorkbookChartItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -204,7 +195,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsWorkbookChartItemRequestBuilde requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of chart object. +// ToPatchRequestInformation update the navigation property charts in drives // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemChartsWorkbookChartItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsWorkbookChartItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_worksheets_item_names_add_formula_local_request_builder.go b/drives/item_items_item_workbook_worksheets_item_names_add_formula_local_request_builder.go index eeb890d6e4b..bbdddb63b98 100644 --- a/drives/item_items_item_workbook_worksheets_item_names_add_formula_local_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_names_add_formula_local_request_builder.go @@ -36,7 +36,7 @@ func NewItemItemsItemWorkbookWorksheetsItemNamesAddFormulaLocalRequestBuilder(ra // returns a ODataError error 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-addformulalocal?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/nameditem-addformulalocal?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemNamesAddFormulaLocalRequestBuilder) Post(ctx context.Context, body ItemItemsItemWorkbookWorksheetsItemNamesAddFormulaLocalPostRequestBodyable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemNamesAddFormulaLocalRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookNamedItemable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_names_add_request_builder.go b/drives/item_items_item_workbook_worksheets_item_names_add_request_builder.go index d4ed510acbe..3eee956372d 100644 --- a/drives/item_items_item_workbook_worksheets_item_names_add_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_names_add_request_builder.go @@ -36,7 +36,7 @@ func NewItemItemsItemWorkbookWorksheetsItemNamesAddRequestBuilder(rawUrl string, // returns a ODataError error 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-add?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/nameditem-add?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemNamesAddRequestBuilder) Post(ctx context.Context, body ItemItemsItemWorkbookWorksheetsItemNamesAddPostRequestBodyable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemNamesAddRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookNamedItemable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { 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 a187320bea0..c1d45c41883 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 @@ -36,7 +36,7 @@ func NewItemItemsItemWorkbookWorksheetsItemNamesItemRangeRequestBuilder(rawUrl s // returns a ODataError error 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-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/nameditem-range?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 { diff --git a/drives/item_items_item_workbook_worksheets_item_names_request_builder.go b/drives/item_items_item_workbook_worksheets_item_names_request_builder.go index 19fbcf2d071..81df3471a92 100644 --- a/drives/item_items_item_workbook_worksheets_item_names_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_names_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemItemsItemWorkbookWorksheetsItemNamesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemItemsItemWorkbookWorksheetsItemNamesRequestBuilderGetQueryParameters retrieve a list of named item associated with the worksheet. +// ItemItemsItemWorkbookWorksheetsItemNamesRequestBuilderGetQueryParameters returns collection of names that are associated with the worksheet. Read-only. type ItemItemsItemWorkbookWorksheetsItemNamesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -86,12 +86,9 @@ func NewItemItemsItemWorkbookWorksheetsItemNamesRequestBuilder(rawUrl string, re func (m *ItemItemsItemWorkbookWorksheetsItemNamesRequestBuilder) Count()(*ItemItemsItemWorkbookWorksheetsItemNamesCountRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemNamesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of named item associated with the worksheet. +// Get returns collection of names that are associated with the worksheet. Read-only. // returns a WorkbookNamedItemCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/worksheet-list-names?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemNamesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemNamesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookNamedItemCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemNamesRequestBuilder) Post(ctx contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookNamedItemable), nil } -// ToGetRequestInformation retrieve a list of named item associated with the worksheet. +// ToGetRequestInformation returns collection of names that are associated with the worksheet. Read-only. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemNamesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemNamesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_worksheets_item_protection_protect_request_builder.go b/drives/item_items_item_workbook_worksheets_item_protection_protect_request_builder.go index b45b67ea6d6..7b7d07aea8c 100644 --- a/drives/item_items_item_workbook_worksheets_item_protection_protect_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_protection_protect_request_builder.go @@ -34,7 +34,7 @@ func NewItemItemsItemWorkbookWorksheetsItemProtectionProtectRequestBuilder(rawUr // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/worksheetprotection-protect?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/worksheetprotection-protect?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemProtectionProtectRequestBuilder) Post(ctx context.Context, body ItemItemsItemWorkbookWorksheetsItemProtectionProtectPostRequestBodyable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemProtectionProtectRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_protection_request_builder.go b/drives/item_items_item_workbook_worksheets_item_protection_request_builder.go index 4a77574fffc..f9dcfc116e9 100644 --- a/drives/item_items_item_workbook_worksheets_item_protection_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_protection_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemWorkbookWorksheetsItemProtectionRequestBuilderDeleteRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemWorkbookWorksheetsItemProtectionRequestBuilderGetQueryParameters retrieve the properties and relationships of workbookWorksheetProtection object. +// ItemItemsItemWorkbookWorksheetsItemProtectionRequestBuilderGetQueryParameters returns sheet protection object for a worksheet. Read-only. type ItemItemsItemWorkbookWorksheetsItemProtectionRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemProtectionRequestBuilder) Delete(ctx } return nil } -// Get retrieve the properties and relationships of workbookWorksheetProtection object. +// Get returns sheet protection object for a worksheet. Read-only. // returns a WorkbookWorksheetProtectionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/worksheetprotection-get?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemProtectionRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemProtectionRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookWorksheetProtectionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemProtectionRequestBuilder) ToDeleteRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of workbookWorksheetProtection object. +// ToGetRequestInformation returns sheet protection object for a worksheet. Read-only. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemProtectionRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemProtectionRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_worksheets_item_protection_unprotect_request_builder.go b/drives/item_items_item_workbook_worksheets_item_protection_unprotect_request_builder.go index 853d14eef23..25c1b4fd5b8 100644 --- a/drives/item_items_item_workbook_worksheets_item_protection_unprotect_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_protection_unprotect_request_builder.go @@ -34,7 +34,7 @@ func NewItemItemsItemWorkbookWorksheetsItemProtectionUnprotectRequestBuilder(raw // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/worksheetprotection-unprotect?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/worksheetprotection-unprotect?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemProtectionUnprotectRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemProtectionUnprotectRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_tables_add_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_add_request_builder.go index 0baf518b849..b4928b95cc4 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_add_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_add_request_builder.go @@ -31,12 +31,12 @@ func NewItemItemsItemWorkbookWorksheetsItemTablesAddRequestBuilder(rawUrl string urlParams["request-raw-url"] = rawUrl return NewItemItemsItemWorkbookWorksheetsItemTablesAddRequestBuilderInternal(urlParams, requestAdapter) } -// Post create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown. +// Post use this API to create a new Table. // returns a WorkbookTableable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/tablecollection-add?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/workbook-post-tables?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemTablesAddRequestBuilder) Post(ctx context.Context, body ItemItemsItemWorkbookWorksheetsItemTablesAddPostRequestBodyable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesAddRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -54,7 +54,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesAddRequestBuilder) Post(ctx co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableable), nil } -// ToPostRequestInformation create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown. +// ToPostRequestInformation use this API to create a new Table. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemTablesAddRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemsItemWorkbookWorksheetsItemTablesAddPostRequestBodyable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesAddRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_at_with_index_clear_filters_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_at_with_index_clear_filters_request_builder.go index 6023e629b0b..c43c599477d 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_at_with_index_clear_filters_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_at_with_index_clear_filters_request_builder.go @@ -34,7 +34,7 @@ func NewItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexClearFiltersRequ // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/table-clearfilters?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/table-clearfilters?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexClearFiltersRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexClearFiltersRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_at_with_index_columns_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_at_with_index_columns_request_builder.go index 6e4b508c34e..44d3e48f5bd 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_at_with_index_columns_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_at_with_index_columns_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexColumnsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexColumnsRequestBuilderGetQueryParameters retrieve a list of tablecolumn objects. +// ItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexColumnsRequestBuilderGetQueryParameters represents a collection of all the columns in the table. Read-only. type ItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexColumnsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -59,12 +59,9 @@ func NewItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexColumnsRequestBu urlParams["request-raw-url"] = rawUrl return NewItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexColumnsRequestBuilderInternal(urlParams, requestAdapter) } -// Get retrieve a list of tablecolumn objects. +// Get represents a collection of all the columns in the table. Read-only. // returns a WorkbookTableColumnCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/tablecolumn-list?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexColumnsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexColumnsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableColumnCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -82,12 +79,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexColumnsRequestB } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableColumnCollectionResponseable), nil } -// Post use this API to create a new TableColumn. +// Post create new navigation property to columns for drives // returns a WorkbookTableColumnable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/table-post-columns?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexColumnsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableColumnable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexColumnsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableColumnable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -105,7 +99,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexColumnsRequestB } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableColumnable), nil } -// ToGetRequestInformation retrieve a list of tablecolumn objects. +// ToGetRequestInformation represents a collection of all the columns in the table. Read-only. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexColumnsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexColumnsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -119,7 +113,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexColumnsRequestB requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new TableColumn. +// ToPostRequestInformation create new navigation property to columns for drives // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexColumnsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableColumnable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexColumnsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_at_with_index_convert_to_range_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_at_with_index_convert_to_range_request_builder.go index c2475ace1b9..ad3c92f4e4d 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_at_with_index_convert_to_range_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_at_with_index_convert_to_range_request_builder.go @@ -36,7 +36,7 @@ func NewItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexConvertToRangeRe // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/table-converttorange?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/table-converttorange?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexConvertToRangeRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexConvertToRangeRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookRangeable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_at_with_index_data_body_range_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_at_with_index_data_body_range_request_builder.go index 481759fa3e6..8a03f3b2f06 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_at_with_index_data_body_range_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_at_with_index_data_body_range_request_builder.go @@ -36,7 +36,7 @@ func NewItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexDataBodyRangeReq // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/table-databodyrange?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/table-databodyrange?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexDataBodyRangeRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexDataBodyRangeRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookRangeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_at_with_index_header_row_range_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_at_with_index_header_row_range_request_builder.go index 9bb69209eb2..1a37c805c83 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_at_with_index_header_row_range_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_at_with_index_header_row_range_request_builder.go @@ -36,7 +36,7 @@ func NewItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexHeaderRowRangeRe // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/table-headerrowrange?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/table-headerrowrange?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexHeaderRowRangeRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexHeaderRowRangeRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookRangeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_at_with_index_range_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_at_with_index_range_request_builder.go index dda08fae7a9..4061f0f16ea 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_at_with_index_range_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_at_with_index_range_request_builder.go @@ -36,7 +36,7 @@ func NewItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexRangeRequestBuil // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/table-range?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/table-range?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexRangeRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexRangeRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookRangeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_at_with_index_reapply_filters_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_at_with_index_reapply_filters_request_builder.go index 24256d4c47c..55dd142a6ba 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_at_with_index_reapply_filters_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_at_with_index_reapply_filters_request_builder.go @@ -34,7 +34,7 @@ func NewItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexReapplyFiltersRe // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/table-reapplyfilters?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/table-reapplyfilters?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexReapplyFiltersRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexReapplyFiltersRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_at_with_index_rows_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_at_with_index_rows_request_builder.go index 445e5b5d1c7..31c408b34f4 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_at_with_index_rows_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_at_with_index_rows_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexRowsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexRowsRequestBuilderGetQueryParameters retrieve a list of tablerow objects. +// ItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexRowsRequestBuilderGetQueryParameters represents a collection of all the rows in the table. Read-only. type ItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexRowsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -59,12 +59,9 @@ func NewItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexRowsRequestBuild urlParams["request-raw-url"] = rawUrl return NewItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexRowsRequestBuilderInternal(urlParams, requestAdapter) } -// Get retrieve a list of tablerow objects. +// Get represents a collection of all the rows in the table. Read-only. // returns a WorkbookTableRowCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/table-list-rows?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexRowsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexRowsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableRowCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -82,12 +79,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexRowsRequestBuil } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableRowCollectionResponseable), nil } -// Post add rows to the end of a table. The API can accept multiple rows data using this API. Adding one row at a time can lead to performance degradation. The recommended approach is to batch the rows together in a single call rather than doing single row insertion. For best results, collect the rows to be inserted on the application side and perform a single row add operation. Experiment with the number of rows to determine the ideal number of rows to use in a single API call. This request might occasionally result in a 504 HTTP error. The appropriate response to this error is to repeat the request. +// Post create new navigation property to rows for drives // returns a WorkbookTableRowable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/table-post-rows?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexRowsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableRowable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexRowsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableRowable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -105,7 +99,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexRowsRequestBuil } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableRowable), nil } -// ToGetRequestInformation retrieve a list of tablerow objects. +// ToGetRequestInformation represents a collection of all the rows in the table. Read-only. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexRowsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexRowsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -119,7 +113,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexRowsRequestBuil requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add rows to the end of a table. The API can accept multiple rows data using this API. Adding one row at a time can lead to performance degradation. The recommended approach is to batch the rows together in a single call rather than doing single row insertion. For best results, collect the rows to be inserted on the application side and perform a single row add operation. Experiment with the number of rows to determine the ideal number of rows to use in a single API call. This request might occasionally result in a 504 HTTP error. The appropriate response to this error is to repeat the request. +// ToPostRequestInformation create new navigation property to rows for drives // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexRowsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableRowable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexRowsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_at_with_index_sort_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_at_with_index_sort_request_builder.go index dd61dd48055..bc44a0dbcdc 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_at_with_index_sort_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_at_with_index_sort_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexSortRequestBuilderD // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexSortRequestBuilderGetQueryParameters retrieve the properties and relationships of tablesort object. +// ItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexSortRequestBuilderGetQueryParameters represents the sorting for the table. Read-only. type ItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexSortRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexSortRequestBuil } return nil } -// Get retrieve the properties and relationships of tablesort object. +// Get represents the sorting for the table. Read-only. // returns a WorkbookTableSortable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/tablesort-get?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexSortRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexSortRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableSortable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexSortRequestBuil requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of tablesort object. +// ToGetRequestInformation represents the sorting for the table. Read-only. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexSortRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexSortRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_at_with_index_total_row_range_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_at_with_index_total_row_range_request_builder.go index a83d31d37ce..f607247956d 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_at_with_index_total_row_range_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_at_with_index_total_row_range_request_builder.go @@ -36,7 +36,7 @@ func NewItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexTotalRowRangeReq // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/table-totalrowrange?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/table-totalrowrange?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexTotalRowRangeRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexTotalRowRangeRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookRangeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_clear_filters_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_clear_filters_request_builder.go index aa75870faed..99acac0b916 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_clear_filters_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_clear_filters_request_builder.go @@ -34,7 +34,7 @@ func NewItemItemsItemWorkbookWorksheetsItemTablesItemClearFiltersRequestBuilder( // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/table-clearfilters?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/table-clearfilters?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemClearFiltersRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemClearFiltersRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_add_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_add_request_builder.go index 4549165014a..5cda17955b5 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_add_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_add_request_builder.go @@ -36,7 +36,7 @@ func NewItemItemsItemWorkbookWorksheetsItemTablesItemColumnsAddRequestBuilder(ra // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/tablecolumncollection-add?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/tablecolumncollection-add?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsAddRequestBuilder) Post(ctx context.Context, body ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsAddPostRequestBodyable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsAddRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableColumnable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_at_with_index_data_body_range_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_at_with_index_data_body_range_request_builder.go index 5fa4c92a205..95b2daff192 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_at_with_index_data_body_range_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_at_with_index_data_body_range_request_builder.go @@ -36,7 +36,7 @@ func NewItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemAtWithIndexDataB // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/tablecolumn-databodyrange?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/tablecolumn-databodyrange?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemAtWithIndexDataBodyRangeRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemAtWithIndexDataBodyRangeRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookRangeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_at_with_index_header_row_range_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_at_with_index_header_row_range_request_builder.go index 56a16958fdf..d706f047660 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_at_with_index_header_row_range_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_at_with_index_header_row_range_request_builder.go @@ -36,7 +36,7 @@ func NewItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemAtWithIndexHeade // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/tablecolumn-headerrowrange?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/tablecolumn-headerrowrange?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemAtWithIndexHeaderRowRangeRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemAtWithIndexHeaderRowRangeRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookRangeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_at_with_index_range_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_at_with_index_range_request_builder.go index ed4dd673933..c273cdd0f8c 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_at_with_index_range_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_at_with_index_range_request_builder.go @@ -36,7 +36,7 @@ func NewItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemAtWithIndexRange // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/tablecolumn-range?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/tablecolumn-range?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemAtWithIndexRangeRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemAtWithIndexRangeRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookRangeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_at_with_index_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_at_with_index_request_builder.go index f2a671d6302..9097c30360d 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_at_with_index_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_at_with_index_request_builder.go @@ -45,9 +45,12 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemAtWithIndexRequ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemAtWithIndexRequestBuilder) Filter()(*ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemAtWithIndexFilterRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemAtWithIndexFilterRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get invoke function itemAt +// Get gets a column based on its position in the collection. // returns a WorkbookTableColumnable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/tablecolumncollection-itemat?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemAtWithIndexRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemAtWithIndexRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableColumnable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +78,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemAtWithIndexRequ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemAtWithIndexRequestBuilder) RangeEscaped()(*ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemAtWithIndexRangeRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemAtWithIndexRangeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation invoke function itemAt +// ToGetRequestInformation gets a column based on its position in the collection. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemAtWithIndexRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemAtWithIndexRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_at_with_index_total_row_range_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_at_with_index_total_row_range_request_builder.go index 675b74a8ba2..e9e192c2f15 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_at_with_index_total_row_range_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_at_with_index_total_row_range_request_builder.go @@ -36,7 +36,7 @@ func NewItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemAtWithIndexTotal // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/tablecolumn-totalrowrange?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/tablecolumn-totalrowrange?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemAtWithIndexTotalRowRangeRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemAtWithIndexTotalRowRangeRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookRangeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_data_body_range_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_data_body_range_request_builder.go index f8e9fe2a1e3..0c0005585d9 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_data_body_range_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_data_body_range_request_builder.go @@ -36,7 +36,7 @@ func NewItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemDataBodyRangeReq // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/tablecolumn-databodyrange?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/tablecolumn-databodyrange?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemDataBodyRangeRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemDataBodyRangeRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookRangeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_request_builder.go index 09f8d5642a9..72173d724f9 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_request_builder.go @@ -34,7 +34,7 @@ func NewItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyReque // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/filter-apply?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/filter-apply?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyRequestBuilder) Post(ctx context.Context, body ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyPostRequestBodyable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_clear_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_clear_request_builder.go index b1b1f88685a..0b04816ffd6 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_clear_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_clear_request_builder.go @@ -34,7 +34,7 @@ func NewItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterClearReque // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/filter-clear?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/filter-clear?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterClearRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterClearRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_header_row_range_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_header_row_range_request_builder.go index 7152c9f451d..c7a68cc83cb 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_header_row_range_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_header_row_range_request_builder.go @@ -36,7 +36,7 @@ func NewItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemHeaderRowRangeRe // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/tablecolumn-headerrowrange?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/tablecolumn-headerrowrange?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemHeaderRowRangeRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemHeaderRowRangeRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookRangeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_range_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_range_request_builder.go index 243f41012f7..cbc2d25c266 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_range_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_range_request_builder.go @@ -36,7 +36,7 @@ func NewItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemRangeRequestBuil // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/tablecolumn-range?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/tablecolumn-range?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemRangeRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemRangeRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookRangeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_total_row_range_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_total_row_range_request_builder.go index b169306d821..92ee93b93ec 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_total_row_range_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_total_row_range_request_builder.go @@ -36,7 +36,7 @@ func NewItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemTotalRowRangeReq // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/tablecolumn-totalrowrange?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/tablecolumn-totalrowrange?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemTotalRowRangeRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemTotalRowRangeRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookRangeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_request_builder.go index 66fb2f0bd39..b62ea2a5397 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsRequestBuilderGetQueryParameters retrieve a list of tablecolumn objects. +// ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsRequestBuilderGetQueryParameters represents a collection of all the columns in the table. Read-only. type ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func NewItemItemsItemWorkbookWorksheetsItemTablesItemColumnsRequestBuilder(rawUr func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsRequestBuilder) Count()(*ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsCountRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemTablesItemColumnsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of tablecolumn objects. +// Get represents a collection of all the columns in the table. Read-only. // returns a WorkbookTableColumnCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/tablecolumn-list?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableColumnCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -109,12 +106,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsRequestBuilder) Get func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsRequestBuilder) ItemAtWithIndex(index *int32)(*ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemAtWithIndexRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemAtWithIndexRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, index) } -// Post use this API to create a new TableColumn. +// Post create new navigation property to columns for drives // returns a WorkbookTableColumnable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/table-post-columns?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableColumnable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableColumnable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -132,7 +126,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsRequestBuilder) Pos } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableColumnable), nil } -// ToGetRequestInformation retrieve a list of tablecolumn objects. +// ToGetRequestInformation represents a collection of all the columns in the table. Read-only. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -146,7 +140,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsRequestBuilder) ToG requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new TableColumn. +// ToPostRequestInformation create new navigation property to columns for drives // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableColumnable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_workbook_table_column_item_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_workbook_table_column_item_request_builder.go index 8a5bcbbb4e7..d4f6039c305 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_workbook_table_column_item_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_workbook_table_column_item_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsWorkbookTableColumnItem // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsWorkbookTableColumnItemRequestBuilderGetQueryParameters retrieve the properties and relationships of tablecolumn object. +// ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsWorkbookTableColumnItemRequestBuilderGetQueryParameters represents a collection of all the columns in the table. Read-only. type ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsWorkbookTableColumnItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewItemItemsItemWorkbookWorksheetsItemTablesItemColumnsWorkbookTableColumnI func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsWorkbookTableColumnItemRequestBuilder) DataBodyRange()(*ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemDataBodyRangeRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemDataBodyRangeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Delete deletes the column from the table. +// Delete delete navigation property columns for drives // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/tablecolumn-delete?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsWorkbookTableColumnItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsWorkbookTableColumnItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -83,12 +80,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsWorkbookTableColumn func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsWorkbookTableColumnItemRequestBuilder) Filter()(*ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties and relationships of tablecolumn object. +// Get represents a collection of all the columns in the table. Read-only. // returns a WorkbookTableColumnable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/tablecolumn-get?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsWorkbookTableColumnItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsWorkbookTableColumnItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableColumnable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -111,12 +105,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsWorkbookTableColumn func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsWorkbookTableColumnItemRequestBuilder) HeaderRowRange()(*ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemHeaderRowRangeRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemHeaderRowRangeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of tablecolumn object. +// Patch update the navigation property columns in drives // returns a WorkbookTableColumnable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/tablecolumn-update?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsWorkbookTableColumnItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableColumnable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsWorkbookTableColumnItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableColumnable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -139,7 +130,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsWorkbookTableColumn func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsWorkbookTableColumnItemRequestBuilder) RangeEscaped()(*ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemRangeRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemRangeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation deletes the column from the table. +// ToDeleteRequestInformation delete navigation property columns for drives // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsWorkbookTableColumnItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsWorkbookTableColumnItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -150,7 +141,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsWorkbookTableColumn requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of tablecolumn object. +// ToGetRequestInformation represents a collection of all the columns in the table. Read-only. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsWorkbookTableColumnItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsWorkbookTableColumnItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -164,7 +155,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsWorkbookTableColumn requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of tablecolumn object. +// ToPatchRequestInformation update the navigation property columns in drives // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsWorkbookTableColumnItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableColumnable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsWorkbookTableColumnItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_convert_to_range_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_convert_to_range_request_builder.go index 1d07ab9e6e9..36013f059e0 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_convert_to_range_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_convert_to_range_request_builder.go @@ -36,7 +36,7 @@ func NewItemItemsItemWorkbookWorksheetsItemTablesItemConvertToRangeRequestBuilde // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/table-converttorange?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/table-converttorange?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemConvertToRangeRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemConvertToRangeRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookRangeable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_data_body_range_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_data_body_range_request_builder.go index 451f1b3a27f..b9bf43eb5e7 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_data_body_range_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_data_body_range_request_builder.go @@ -36,7 +36,7 @@ func NewItemItemsItemWorkbookWorksheetsItemTablesItemDataBodyRangeRequestBuilder // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/table-databodyrange?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/table-databodyrange?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemDataBodyRangeRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemDataBodyRangeRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookRangeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_header_row_range_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_header_row_range_request_builder.go index a89ad7b5274..9de24648bad 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_header_row_range_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_header_row_range_request_builder.go @@ -36,7 +36,7 @@ func NewItemItemsItemWorkbookWorksheetsItemTablesItemHeaderRowRangeRequestBuilde // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/table-headerrowrange?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/table-headerrowrange?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemHeaderRowRangeRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemHeaderRowRangeRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookRangeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_range_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_range_request_builder.go index 325a38cc78f..2fe6af63c2b 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_range_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_range_request_builder.go @@ -36,7 +36,7 @@ func NewItemItemsItemWorkbookWorksheetsItemTablesItemRangeRequestBuilder(rawUrl // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/table-range?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/table-range?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemRangeRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemRangeRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookRangeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_reapply_filters_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_reapply_filters_request_builder.go index 2f492805a64..6bdb1c60917 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_reapply_filters_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_reapply_filters_request_builder.go @@ -34,7 +34,7 @@ func NewItemItemsItemWorkbookWorksheetsItemTablesItemReapplyFiltersRequestBuilde // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/table-reapplyfilters?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/table-reapplyfilters?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemReapplyFiltersRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemReapplyFiltersRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_rows_add_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_rows_add_request_builder.go index 1dd01db311d..73c51e22642 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_rows_add_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_rows_add_request_builder.go @@ -36,7 +36,7 @@ func NewItemItemsItemWorkbookWorksheetsItemTablesItemRowsAddRequestBuilder(rawUr // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/tablerowcollection-add?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/tablerowcollection-add?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsAddRequestBuilder) Post(ctx context.Context, body ItemItemsItemWorkbookWorksheetsItemTablesItemRowsAddPostRequestBodyable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsAddRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableRowable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_rows_item_at_with_index_range_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_rows_item_at_with_index_range_request_builder.go index f9f7774ad18..5b74f9cff3f 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_rows_item_at_with_index_range_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_rows_item_at_with_index_range_request_builder.go @@ -36,7 +36,7 @@ func NewItemItemsItemWorkbookWorksheetsItemTablesItemRowsItemAtWithIndexRangeReq // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/tablerow-range?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/tablerow-range?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsItemAtWithIndexRangeRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsItemAtWithIndexRangeRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookRangeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_rows_item_at_with_index_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_rows_item_at_with_index_request_builder.go index 0a612ef6087..2f281fbcd1b 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_rows_item_at_with_index_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_rows_item_at_with_index_request_builder.go @@ -35,9 +35,12 @@ func NewItemItemsItemWorkbookWorksheetsItemTablesItemRowsItemAtWithIndexRequestB urlParams["request-raw-url"] = rawUrl return NewItemItemsItemWorkbookWorksheetsItemTablesItemRowsItemAtWithIndexRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function itemAt +// Get gets a row based on its position in the collection. // returns a WorkbookTableRowable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/tablerowcollection-itemat?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsItemAtWithIndexRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsItemAtWithIndexRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableRowable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -60,7 +63,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsItemAtWithIndexRequest func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsItemAtWithIndexRequestBuilder) RangeEscaped()(*ItemItemsItemWorkbookWorksheetsItemTablesItemRowsItemAtWithIndexRangeRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemTablesItemRowsItemAtWithIndexRangeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation invoke function itemAt +// ToGetRequestInformation gets a row based on its position in the collection. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsItemAtWithIndexRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsItemAtWithIndexRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_rows_item_range_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_rows_item_range_request_builder.go index 6d4325ac10d..8380b020117 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_rows_item_range_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_rows_item_range_request_builder.go @@ -36,7 +36,7 @@ func NewItemItemsItemWorkbookWorksheetsItemTablesItemRowsItemRangeRequestBuilder // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/tablerow-range?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/tablerow-range?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsItemRangeRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsItemRangeRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookRangeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_rows_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_rows_request_builder.go index 695fe2096a1..661748b09d4 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_rows_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_rows_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemItemsItemWorkbookWorksheetsItemTablesItemRowsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemItemsItemWorkbookWorksheetsItemTablesItemRowsRequestBuilderGetQueryParameters retrieve a list of tablerow objects. +// ItemItemsItemWorkbookWorksheetsItemTablesItemRowsRequestBuilderGetQueryParameters represents a collection of all the rows in the table. Read-only. type ItemItemsItemWorkbookWorksheetsItemTablesItemRowsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func NewItemItemsItemWorkbookWorksheetsItemTablesItemRowsRequestBuilder(rawUrl s func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsRequestBuilder) Count()(*ItemItemsItemWorkbookWorksheetsItemTablesItemRowsCountRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemTablesItemRowsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of tablerow objects. +// Get represents a collection of all the rows in the table. Read-only. // returns a WorkbookTableRowCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/table-list-rows?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableRowCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -109,12 +106,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsRequestBuilder) Get(ct func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsRequestBuilder) ItemAtWithIndex(index *int32)(*ItemItemsItemWorkbookWorksheetsItemTablesItemRowsItemAtWithIndexRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemTablesItemRowsItemAtWithIndexRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, index) } -// Post add rows to the end of a table. The API can accept multiple rows data using this API. Adding one row at a time can lead to performance degradation. The recommended approach is to batch the rows together in a single call rather than doing single row insertion. For best results, collect the rows to be inserted on the application side and perform a single row add operation. Experiment with the number of rows to determine the ideal number of rows to use in a single API call. This request might occasionally result in a 504 HTTP error. The appropriate response to this error is to repeat the request. +// Post create new navigation property to rows for drives // returns a WorkbookTableRowable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/table-post-rows?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableRowable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableRowable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -132,7 +126,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsRequestBuilder) Post(c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableRowable), nil } -// ToGetRequestInformation retrieve a list of tablerow objects. +// ToGetRequestInformation represents a collection of all the rows in the table. Read-only. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -146,7 +140,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsRequestBuilder) ToGetR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add rows to the end of a table. The API can accept multiple rows data using this API. Adding one row at a time can lead to performance degradation. The recommended approach is to batch the rows together in a single call rather than doing single row insertion. For best results, collect the rows to be inserted on the application side and perform a single row add operation. Experiment with the number of rows to determine the ideal number of rows to use in a single API call. This request might occasionally result in a 504 HTTP error. The appropriate response to this error is to repeat the request. +// ToPostRequestInformation create new navigation property to rows for drives // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableRowable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_rows_workbook_table_row_item_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_rows_workbook_table_row_item_request_builder.go index a86bfd1d66b..1aa29e7696a 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_rows_workbook_table_row_item_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_rows_workbook_table_row_item_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemWorkbookWorksheetsItemTablesItemRowsWorkbookTableRowItemReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemWorkbookWorksheetsItemTablesItemRowsWorkbookTableRowItemRequestBuilderGetQueryParameters retrieve the properties and relationships of tablerow object. +// ItemItemsItemWorkbookWorksheetsItemTablesItemRowsWorkbookTableRowItemRequestBuilderGetQueryParameters represents a collection of all the rows in the table. Read-only. type ItemItemsItemWorkbookWorksheetsItemTablesItemRowsWorkbookTableRowItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemItemsItemWorkbookWorksheetsItemTablesItemRowsWorkbookTableRowItemReq urlParams["request-raw-url"] = rawUrl return NewItemItemsItemWorkbookWorksheetsItemTablesItemRowsWorkbookTableRowItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes the row from the table. +// Delete delete navigation property rows for drives // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/tablerow-delete?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsWorkbookTableRowItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsWorkbookTableRowItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsWorkbookTableRowItemRe } return nil } -// Get retrieve the properties and relationships of tablerow object. +// Get represents a collection of all the rows in the table. Read-only. // returns a WorkbookTableRowable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/tablerow-get?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsWorkbookTableRowItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsWorkbookTableRowItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableRowable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsWorkbookTableRowItemRe } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableRowable), nil } -// Patch update the properties of tablerow object. +// Patch update the navigation property rows in drives // returns a WorkbookTableRowable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/tablerow-update?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsWorkbookTableRowItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableRowable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsWorkbookTableRowItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableRowable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -124,7 +115,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsWorkbookTableRowItemRe func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsWorkbookTableRowItemRequestBuilder) RangeEscaped()(*ItemItemsItemWorkbookWorksheetsItemTablesItemRowsItemRangeRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemTablesItemRowsItemRangeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation deletes the row from the table. +// ToDeleteRequestInformation delete navigation property rows for drives // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsWorkbookTableRowItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsWorkbookTableRowItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -135,7 +126,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsWorkbookTableRowItemRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of tablerow object. +// ToGetRequestInformation represents a collection of all the rows in the table. Read-only. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsWorkbookTableRowItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsWorkbookTableRowItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -149,7 +140,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsWorkbookTableRowItemRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of tablerow object. +// ToPatchRequestInformation update the navigation property rows in drives // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsWorkbookTableRowItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableRowable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsWorkbookTableRowItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_sort_apply_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_sort_apply_request_builder.go index c2eaa77dac1..7b4b3201d1b 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_sort_apply_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_sort_apply_request_builder.go @@ -34,7 +34,7 @@ func NewItemItemsItemWorkbookWorksheetsItemTablesItemSortApplyRequestBuilder(raw // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/tablesort-apply?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/tablesort-apply?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemSortApplyRequestBuilder) Post(ctx context.Context, body ItemItemsItemWorkbookWorksheetsItemTablesItemSortApplyPostRequestBodyable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemSortApplyRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_sort_clear_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_sort_clear_request_builder.go index e332fdf7a83..0f41ce666be 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_sort_clear_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_sort_clear_request_builder.go @@ -34,7 +34,7 @@ func NewItemItemsItemWorkbookWorksheetsItemTablesItemSortClearRequestBuilder(raw // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/tablesort-clear?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/tablesort-clear?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemSortClearRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemSortClearRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_sort_reapply_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_sort_reapply_request_builder.go index a920171c7c4..7834fa8463f 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_sort_reapply_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_sort_reapply_request_builder.go @@ -34,7 +34,7 @@ func NewItemItemsItemWorkbookWorksheetsItemTablesItemSortReapplyRequestBuilder(r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/tablesort-reapply?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/tablesort-reapply?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemSortReapplyRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemSortReapplyRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_sort_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_sort_request_builder.go index 3b5a6ea6222..5acd53bce59 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_sort_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_sort_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemWorkbookWorksheetsItemTablesItemSortRequestBuilderDeleteReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemWorkbookWorksheetsItemTablesItemSortRequestBuilderGetQueryParameters retrieve the properties and relationships of tablesort object. +// ItemItemsItemWorkbookWorksheetsItemTablesItemSortRequestBuilderGetQueryParameters represents the sorting for the table. Read-only. type ItemItemsItemWorkbookWorksheetsItemTablesItemSortRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -80,12 +80,9 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemSortRequestBuilder) Delete } return nil } -// Get retrieve the properties and relationships of tablesort object. +// Get represents the sorting for the table. Read-only. // returns a WorkbookTableSortable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/tablesort-get?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemSortRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemSortRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableSortable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -139,7 +136,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemSortRequestBuilder) ToDele requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of tablesort object. +// ToGetRequestInformation represents the sorting for the table. Read-only. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemSortRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemSortRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_total_row_range_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_total_row_range_request_builder.go index dbc618058da..fb964dbc141 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_total_row_range_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_total_row_range_request_builder.go @@ -36,7 +36,7 @@ func NewItemItemsItemWorkbookWorksheetsItemTablesItemTotalRowRangeRequestBuilder // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/table-totalrowrange?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/table-totalrowrange?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemTotalRowRangeRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemTotalRowRangeRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookRangeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_items_item_workbook_worksheets_item_tables_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_request_builder.go index 67f5d5a3270..e2d18da47a5 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemItemsItemWorkbookWorksheetsItemTablesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemItemsItemWorkbookWorksheetsItemTablesRequestBuilderGetQueryParameters retrieve a list of table objects. +// ItemItemsItemWorkbookWorksheetsItemTablesRequestBuilderGetQueryParameters collection of tables that are part of the worksheet. Read-only. type ItemItemsItemWorkbookWorksheetsItemTablesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func NewItemItemsItemWorkbookWorksheetsItemTablesRequestBuilder(rawUrl string, r func (m *ItemItemsItemWorkbookWorksheetsItemTablesRequestBuilder) Count()(*ItemItemsItemWorkbookWorksheetsItemTablesCountRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemTablesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of table objects. +// Get collection of tables that are part of the worksheet. Read-only. // returns a WorkbookTableCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/worksheet-list-tables?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemTablesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesRequestBuilder) Post(ctx conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableable), nil } -// ToGetRequestInformation retrieve a list of table objects. +// ToGetRequestInformation collection of tables that are part of the worksheet. Read-only. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemTablesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_worksheets_request_builder.go b/drives/item_items_item_workbook_worksheets_request_builder.go index 61d63e79f84..bd7dc1df5d8 100644 --- a/drives/item_items_item_workbook_worksheets_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemItemsItemWorkbookWorksheetsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemItemsItemWorkbookWorksheetsRequestBuilderGetQueryParameters retrieve a list of worksheet objects. +// ItemItemsItemWorkbookWorksheetsRequestBuilderGetQueryParameters represents a collection of worksheets associated with the workbook. Read-only. type ItemItemsItemWorkbookWorksheetsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func NewItemItemsItemWorkbookWorksheetsRequestBuilder(rawUrl string, requestAdap func (m *ItemItemsItemWorkbookWorksheetsRequestBuilder) Count()(*ItemItemsItemWorkbookWorksheetsCountRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of worksheet objects. +// Get represents a collection of worksheets associated with the workbook. Read-only. // returns a WorkbookWorksheetCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/workbook-list-worksheets?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookWorksheetCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemItemsItemWorkbookWorksheetsRequestBuilder) Post(ctx context.Context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookWorksheetable), nil } -// ToGetRequestInformation retrieve a list of worksheet objects. +// ToGetRequestInformation represents a collection of worksheets associated with the workbook. Read-only. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_worksheets_workbook_worksheet_item_request_builder.go b/drives/item_items_item_workbook_worksheets_workbook_worksheet_item_request_builder.go index 8c09ada9cfb..f97648f2bd7 100644 --- a/drives/item_items_item_workbook_worksheets_workbook_worksheet_item_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_workbook_worksheet_item_request_builder.go @@ -18,7 +18,7 @@ type ItemItemsItemWorkbookWorksheetsWorkbookWorksheetItemRequestBuilderDeleteReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemWorkbookWorksheetsWorkbookWorksheetItemRequestBuilderGetQueryParameters retrieve the properties and relationships of worksheet object. +// ItemItemsItemWorkbookWorksheetsWorkbookWorksheetItemRequestBuilderGetQueryParameters represents a collection of worksheets associated with the workbook. Read-only. type ItemItemsItemWorkbookWorksheetsWorkbookWorksheetItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -64,11 +64,8 @@ func NewItemItemsItemWorkbookWorksheetsWorkbookWorksheetItemRequestBuilder(rawUr urlParams["request-raw-url"] = rawUrl return NewItemItemsItemWorkbookWorksheetsWorkbookWorksheetItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes the worksheet from the workbook. +// Delete delete navigation property worksheets for drives // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/worksheet-delete?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsWorkbookWorksheetItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsWorkbookWorksheetItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -83,12 +80,9 @@ func (m *ItemItemsItemWorkbookWorksheetsWorkbookWorksheetItemRequestBuilder) Del } return nil } -// Get retrieve the properties and relationships of worksheet object. +// Get represents a collection of worksheets associated with the workbook. Read-only. // returns a WorkbookWorksheetable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/worksheet-get?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsWorkbookWorksheetItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsWorkbookWorksheetItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookWorksheetable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -111,12 +105,9 @@ func (m *ItemItemsItemWorkbookWorksheetsWorkbookWorksheetItemRequestBuilder) Get func (m *ItemItemsItemWorkbookWorksheetsWorkbookWorksheetItemRequestBuilder) Names()(*ItemItemsItemWorkbookWorksheetsItemNamesRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemNamesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of worksheet object. +// Patch update the navigation property worksheets in drives // returns a WorkbookWorksheetable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/worksheet-update?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsWorkbookWorksheetItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookWorksheetable, requestConfiguration *ItemItemsItemWorkbookWorksheetsWorkbookWorksheetItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookWorksheetable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -164,7 +155,7 @@ func (m *ItemItemsItemWorkbookWorksheetsWorkbookWorksheetItemRequestBuilder) Tab func (m *ItemItemsItemWorkbookWorksheetsWorkbookWorksheetItemRequestBuilder) Tasks()(*ItemItemsItemWorkbookWorksheetsItemTasksRequestBuilder) { return NewItemItemsItemWorkbookWorksheetsItemTasksRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation deletes the worksheet from the workbook. +// ToDeleteRequestInformation delete navigation property worksheets for drives // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsWorkbookWorksheetItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsWorkbookWorksheetItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -175,7 +166,7 @@ func (m *ItemItemsItemWorkbookWorksheetsWorkbookWorksheetItemRequestBuilder) ToD requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of worksheet object. +// ToGetRequestInformation represents a collection of worksheets associated with the workbook. Read-only. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsWorkbookWorksheetItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsWorkbookWorksheetItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -189,7 +180,7 @@ func (m *ItemItemsItemWorkbookWorksheetsWorkbookWorksheetItemRequestBuilder) ToG requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of worksheet object. +// ToPatchRequestInformation update the navigation property worksheets in drives // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsWorkbookWorksheetItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookWorksheetable, requestConfiguration *ItemItemsItemWorkbookWorksheetsWorkbookWorksheetItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_list_columns_request_builder.go b/drives/item_list_columns_request_builder.go index ab46d7b89ec..336a0563ab0 100644 --- a/drives/item_list_columns_request_builder.go +++ b/drives/item_list_columns_request_builder.go @@ -79,9 +79,6 @@ func (m *ItemListColumnsRequestBuilder) Count()(*ItemListColumnsCountRequestBuil // Get the collection of field definitions for this list. // returns a ColumnDefinitionCollectionResponseable when successful // returns a ODataError error 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-columns?view=graph-rest-1.0 func (m *ItemListColumnsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListColumnsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemListColumnsRequestBuilder) Get(ctx context.Context, requestConfigur } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionCollectionResponseable), nil } -// Post create columnDefinition +// Post create new navigation property to columns for drives // returns a ColumnDefinitionable when successful // returns a ODataError error 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-post-columns?view=graph-rest-1.0 func (m *ItemListColumnsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, requestConfiguration *ItemListColumnsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -136,7 +130,7 @@ func (m *ItemListColumnsRequestBuilder) ToGetRequestInformation(ctx context.Cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create columnDefinition +// ToPostRequestInformation create new navigation property to columns for drives // returns a *RequestInformation when successful func (m *ItemListColumnsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, requestConfiguration *ItemListColumnsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_list_content_types_add_copy_from_content_type_hub_request_builder.go b/drives/item_list_content_types_add_copy_from_content_type_hub_request_builder.go index 4dc96177a0f..21956fb4f18 100644 --- a/drives/item_list_content_types_add_copy_from_content_type_hub_request_builder.go +++ b/drives/item_list_content_types_add_copy_from_content_type_hub_request_builder.go @@ -36,7 +36,7 @@ func NewItemListContentTypesAddCopyFromContentTypeHubRequestBuilder(rawUrl strin // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-addcopyfromcontenttypehub?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-addcopyfromcontenttypehub?view=graph-rest-beta func (m *ItemListContentTypesAddCopyFromContentTypeHubRequestBuilder) Post(ctx context.Context, body ItemListContentTypesAddCopyFromContentTypeHubPostRequestBodyable, requestConfiguration *ItemListContentTypesAddCopyFromContentTypeHubRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContentTypeable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/drives/item_list_content_types_add_copy_request_builder.go b/drives/item_list_content_types_add_copy_request_builder.go index 06e7d4bb0c5..36797386305 100644 --- a/drives/item_list_content_types_add_copy_request_builder.go +++ b/drives/item_list_content_types_add_copy_request_builder.go @@ -36,7 +36,7 @@ func NewItemListContentTypesAddCopyRequestBuilder(rawUrl string, requestAdapter // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-addcopy?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-addcopy?view=graph-rest-beta func (m *ItemListContentTypesAddCopyRequestBuilder) Post(ctx context.Context, body ItemListContentTypesAddCopyPostRequestBodyable, requestConfiguration *ItemListContentTypesAddCopyRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContentTypeable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/drives/item_list_content_types_get_compatible_hub_content_types_request_builder.go b/drives/item_list_content_types_get_compatible_hub_content_types_request_builder.go index 0e89dbcf968..6625b4ef365 100644 --- a/drives/item_list_content_types_get_compatible_hub_content_types_request_builder.go +++ b/drives/item_list_content_types_get_compatible_hub_content_types_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemListContentTypesGetCompatibleHubContentTypesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemListContentTypesGetCompatibleHubContentTypesRequestBuilderGetQueryParameters invoke function getCompatibleHubContentTypes +// ItemListContentTypesGetCompatibleHubContentTypesRequestBuilderGetQueryParameters get compatible content types in the content type hub that can be added to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see addCopyFromContentTypeHub and the blog post Syntex Product Updates – August 2021. type ItemListContentTypesGetCompatibleHubContentTypesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewItemListContentTypesGetCompatibleHubContentTypesRequestBuilder(rawUrl st urlParams["request-raw-url"] = rawUrl return NewItemListContentTypesGetCompatibleHubContentTypesRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getCompatibleHubContentTypes +// Get get compatible content types in the content type hub that can be added to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see addCopyFromContentTypeHub and the blog post Syntex Product Updates – August 2021. // Deprecated: This method is obsolete. Use GetAsGetCompatibleHubContentTypesGetResponse instead. // returns a ItemListContentTypesGetCompatibleHubContentTypesResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-getcompatiblehubcontenttypes?view=graph-rest-beta func (m *ItemListContentTypesGetCompatibleHubContentTypesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListContentTypesGetCompatibleHubContentTypesRequestBuilderGetRequestConfiguration)(ItemListContentTypesGetCompatibleHubContentTypesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ItemListContentTypesGetCompatibleHubContentTypesRequestBuilder) Get(ctx } return res.(ItemListContentTypesGetCompatibleHubContentTypesResponseable), nil } -// GetAsGetCompatibleHubContentTypesGetResponse invoke function getCompatibleHubContentTypes +// GetAsGetCompatibleHubContentTypesGetResponse get compatible content types in the content type hub that can be added to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see addCopyFromContentTypeHub and the blog post Syntex Product Updates – August 2021. // returns a ItemListContentTypesGetCompatibleHubContentTypesGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-getcompatiblehubcontenttypes?view=graph-rest-beta func (m *ItemListContentTypesGetCompatibleHubContentTypesRequestBuilder) GetAsGetCompatibleHubContentTypesGetResponse(ctx context.Context, requestConfiguration *ItemListContentTypesGetCompatibleHubContentTypesRequestBuilderGetRequestConfiguration)(ItemListContentTypesGetCompatibleHubContentTypesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ItemListContentTypesGetCompatibleHubContentTypesRequestBuilder) GetAsGe } return res.(ItemListContentTypesGetCompatibleHubContentTypesGetResponseable), nil } -// ToGetRequestInformation invoke function getCompatibleHubContentTypes +// ToGetRequestInformation get compatible content types in the content type hub that can be added to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see addCopyFromContentTypeHub and the blog post Syntex Product Updates – August 2021. // returns a *RequestInformation when successful func (m *ItemListContentTypesGetCompatibleHubContentTypesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListContentTypesGetCompatibleHubContentTypesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_list_content_types_item_associate_with_hub_sites_request_builder.go b/drives/item_list_content_types_item_associate_with_hub_sites_request_builder.go index d3de16ed863..3178d578d55 100644 --- a/drives/item_list_content_types_item_associate_with_hub_sites_request_builder.go +++ b/drives/item_list_content_types_item_associate_with_hub_sites_request_builder.go @@ -34,7 +34,7 @@ func NewItemListContentTypesItemAssociateWithHubSitesRequestBuilder(rawUrl strin // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-associatewithhubsites?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-associatewithhubsites?view=graph-rest-beta func (m *ItemListContentTypesItemAssociateWithHubSitesRequestBuilder) Post(ctx context.Context, body ItemListContentTypesItemAssociateWithHubSitesPostRequestBodyable, requestConfiguration *ItemListContentTypesItemAssociateWithHubSitesRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/drives/item_list_content_types_item_columns_column_definition_item_request_builder.go b/drives/item_list_content_types_item_columns_column_definition_item_request_builder.go index 02160bf770c..6da6f6883e1 100644 --- a/drives/item_list_content_types_item_columns_column_definition_item_request_builder.go +++ b/drives/item_list_content_types_item_columns_column_definition_item_request_builder.go @@ -18,7 +18,7 @@ type ItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilderDeleteRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilderGetQueryParameters retrieve the metadata for a [site][], [list][], or [contentType][] [column][columnDefinition]. +// ItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilderGetQueryParameters the collection of column definitions for this content type. type ItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilder(rawUrl urlParams["request-raw-url"] = rawUrl return NewItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete columnDefinition +// Delete delete navigation property columns for drives // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/columndefinition-delete?view=graph-rest-1.0 func (m *ItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilder) Dele } return nil } -// Get retrieve the metadata for a [site][], [list][], or [contentType][] [column][columnDefinition]. +// Get the collection of column definitions for this content type. // returns a ColumnDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/columndefinition-get?view=graph-rest-1.0 func (m *ItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilder) Get( } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable), nil } -// Patch update columnDefinition +// Patch update the navigation property columns in drives // returns a ColumnDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/columndefinition-update?view=graph-rest-1.0 func (m *ItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, requestConfiguration *ItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -124,7 +115,7 @@ func (m *ItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilder) Patc func (m *ItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilder) SourceColumn()(*ItemListContentTypesItemColumnsItemSourceColumnRequestBuilder) { return NewItemListContentTypesItemColumnsItemSourceColumnRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete columnDefinition +// ToDeleteRequestInformation delete navigation property columns for drives // returns a *RequestInformation when successful func (m *ItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -135,7 +126,7 @@ func (m *ItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilder) ToDe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the metadata for a [site][], [list][], or [contentType][] [column][columnDefinition]. +// ToGetRequestInformation the collection of column definitions for this content type. // returns a *RequestInformation when successful func (m *ItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -149,7 +140,7 @@ func (m *ItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilder) ToGe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update columnDefinition +// ToPatchRequestInformation update the navigation property columns in drives // returns a *RequestInformation when successful func (m *ItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, requestConfiguration *ItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_list_content_types_item_columns_request_builder.go b/drives/item_list_content_types_item_columns_request_builder.go index 5ce2da06023..a23526f92b2 100644 --- a/drives/item_list_content_types_item_columns_request_builder.go +++ b/drives/item_list_content_types_item_columns_request_builder.go @@ -79,9 +79,6 @@ func (m *ItemListContentTypesItemColumnsRequestBuilder) Count()(*ItemListContent // Get the collection of column definitions for this content type. // returns a ColumnDefinitionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-list-columns?view=graph-rest-1.0 func (m *ItemListContentTypesItemColumnsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListContentTypesItemColumnsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemListContentTypesItemColumnsRequestBuilder) Get(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionCollectionResponseable), nil } -// Post create columnDefinition for a content type +// Post create new navigation property to columns for drives // returns a ColumnDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-post-columns?view=graph-rest-1.0 func (m *ItemListContentTypesItemColumnsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, requestConfiguration *ItemListContentTypesItemColumnsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -136,7 +130,7 @@ func (m *ItemListContentTypesItemColumnsRequestBuilder) ToGetRequestInformation( requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create columnDefinition for a content type +// ToPostRequestInformation create new navigation property to columns for drives // returns a *RequestInformation when successful func (m *ItemListContentTypesItemColumnsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, requestConfiguration *ItemListContentTypesItemColumnsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_list_content_types_item_copy_to_default_content_location_request_builder.go b/drives/item_list_content_types_item_copy_to_default_content_location_request_builder.go index 0d94a74e6ea..e0771086308 100644 --- a/drives/item_list_content_types_item_copy_to_default_content_location_request_builder.go +++ b/drives/item_list_content_types_item_copy_to_default_content_location_request_builder.go @@ -34,7 +34,7 @@ func NewItemListContentTypesItemCopyToDefaultContentLocationRequestBuilder(rawUr // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-copytodefaultcontentlocation?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-copytodefaultcontentlocation?view=graph-rest-beta func (m *ItemListContentTypesItemCopyToDefaultContentLocationRequestBuilder) Post(ctx context.Context, body ItemListContentTypesItemCopyToDefaultContentLocationPostRequestBodyable, requestConfiguration *ItemListContentTypesItemCopyToDefaultContentLocationRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/drives/item_list_content_types_item_is_published_request_builder.go b/drives/item_list_content_types_item_is_published_request_builder.go index 0f6305dbefd..f6684a4aabd 100644 --- a/drives/item_list_content_types_item_is_published_request_builder.go +++ b/drives/item_list_content_types_item_is_published_request_builder.go @@ -34,6 +34,9 @@ func NewItemListContentTypesItemIsPublishedRequestBuilder(rawUrl string, request // Deprecated: This method is obsolete. Use GetAsIsPublishedGetResponse instead. // returns a ItemListContentTypesItemIsPublishedResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-ispublished?view=graph-rest-beta func (m *ItemListContentTypesItemIsPublishedRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListContentTypesItemIsPublishedRequestBuilderGetRequestConfiguration)(ItemListContentTypesItemIsPublishedResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -54,6 +57,9 @@ func (m *ItemListContentTypesItemIsPublishedRequestBuilder) Get(ctx context.Cont // GetAsIsPublishedGetResponse invoke function isPublished // returns a ItemListContentTypesItemIsPublishedGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-ispublished?view=graph-rest-beta func (m *ItemListContentTypesItemIsPublishedRequestBuilder) GetAsIsPublishedGetResponse(ctx context.Context, requestConfiguration *ItemListContentTypesItemIsPublishedRequestBuilderGetRequestConfiguration)(ItemListContentTypesItemIsPublishedGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_list_content_types_item_publish_request_builder.go b/drives/item_list_content_types_item_publish_request_builder.go index ed8c91fe601..0c73aa14618 100644 --- a/drives/item_list_content_types_item_publish_request_builder.go +++ b/drives/item_list_content_types_item_publish_request_builder.go @@ -34,7 +34,7 @@ func NewItemListContentTypesItemPublishRequestBuilder(rawUrl string, requestAdap // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-publish?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-publish?view=graph-rest-beta func (m *ItemListContentTypesItemPublishRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemListContentTypesItemPublishRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_list_content_types_item_unpublish_request_builder.go b/drives/item_list_content_types_item_unpublish_request_builder.go index 89f4c142e07..8f3bf6d7ebf 100644 --- a/drives/item_list_content_types_item_unpublish_request_builder.go +++ b/drives/item_list_content_types_item_unpublish_request_builder.go @@ -34,7 +34,7 @@ func NewItemListContentTypesItemUnpublishRequestBuilder(rawUrl string, requestAd // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-unpublish?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-unpublish?view=graph-rest-beta func (m *ItemListContentTypesItemUnpublishRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemListContentTypesItemUnpublishRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_list_content_types_request_builder.go b/drives/item_list_content_types_request_builder.go index a5a3595dea2..016649d1d7e 100644 --- a/drives/item_list_content_types_request_builder.go +++ b/drives/item_list_content_types_request_builder.go @@ -89,9 +89,6 @@ func (m *ItemListContentTypesRequestBuilder) Count()(*ItemListContentTypesCountR // Get the collection of content types present in this list. // returns a ContentTypeCollectionResponseable when successful // returns a ODataError error 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-contenttypes?view=graph-rest-1.0 func (m *ItemListContentTypesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListContentTypesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContentTypeCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_list_items_delta_request_builder.go b/drives/item_list_items_delta_request_builder.go index 3a9bb48a7fc..c7b81b079ce 100644 --- a/drives/item_list_items_delta_request_builder.go +++ b/drives/item_list_items_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemListItemsDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemListItemsDeltaRequestBuilderGetQueryParameters invoke function delta +// ItemListItemsDeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted list items without having to perform a full read of the entire items collection. Your app begins by calling delta without any parameters.The service starts enumerating the hierarchy of the list, returning pages of items, and either an @odata.nextLink or an @odata.deltaLink.Your app should continue calling with the @odata.nextLink until you see an @odata.deltaLink returned. After you received all the changes, you can apply them to your local state.To check for changes in the future, call delta again with the @odata.deltaLink from the previous response. The delta feed shows the latest state for each item, not each change. If an item was renamed twice, it only shows up once, with its latest name.The same item might appear more than once in a delta feed, for various reasons. You should use the last occurrence you see. Deleted items are returned with the deleted facet. Deleted indicates that the item is deleted and can't be restored.Items with this property should be removed from your local state. type ItemListItemsDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewItemListItemsDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f urlParams["request-raw-url"] = rawUrl return NewItemListItemsDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get get newly created, updated, or deleted list items without having to perform a full read of the entire items collection. Your app begins by calling delta without any parameters.The service starts enumerating the hierarchy of the list, returning pages of items, and either an @odata.nextLink or an @odata.deltaLink.Your app should continue calling with the @odata.nextLink until you see an @odata.deltaLink returned. After you received all the changes, you can apply them to your local state.To check for changes in the future, call delta again with the @odata.deltaLink from the previous response. The delta feed shows the latest state for each item, not each change. If an item was renamed twice, it only shows up once, with its latest name.The same item might appear more than once in a delta feed, for various reasons. You should use the last occurrence you see. Deleted items are returned with the deleted facet. Deleted indicates that the item is deleted and can't be restored.Items with this property should be removed from your local state. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemListItemsDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/listitem-delta?view=graph-rest-beta func (m *ItemListItemsDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListItemsDeltaRequestBuilderGetRequestConfiguration)(ItemListItemsDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ItemListItemsDeltaRequestBuilder) Get(ctx context.Context, requestConfi } return res.(ItemListItemsDeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse get newly created, updated, or deleted list items without having to perform a full read of the entire items collection. Your app begins by calling delta without any parameters.The service starts enumerating the hierarchy of the list, returning pages of items, and either an @odata.nextLink or an @odata.deltaLink.Your app should continue calling with the @odata.nextLink until you see an @odata.deltaLink returned. After you received all the changes, you can apply them to your local state.To check for changes in the future, call delta again with the @odata.deltaLink from the previous response. The delta feed shows the latest state for each item, not each change. If an item was renamed twice, it only shows up once, with its latest name.The same item might appear more than once in a delta feed, for various reasons. You should use the last occurrence you see. Deleted items are returned with the deleted facet. Deleted indicates that the item is deleted and can't be restored.Items with this property should be removed from your local state. // returns a ItemListItemsDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/listitem-delta?view=graph-rest-beta func (m *ItemListItemsDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemListItemsDeltaRequestBuilderGetRequestConfiguration)(ItemListItemsDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ItemListItemsDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Con } return res.(ItemListItemsDeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation get newly created, updated, or deleted list items without having to perform a full read of the entire items collection. Your app begins by calling delta without any parameters.The service starts enumerating the hierarchy of the list, returning pages of items, and either an @odata.nextLink or an @odata.deltaLink.Your app should continue calling with the @odata.nextLink until you see an @odata.deltaLink returned. After you received all the changes, you can apply them to your local state.To check for changes in the future, call delta again with the @odata.deltaLink from the previous response. The delta feed shows the latest state for each item, not each change. If an item was renamed twice, it only shows up once, with its latest name.The same item might appear more than once in a delta feed, for various reasons. You should use the last occurrence you see. Deleted items are returned with the deleted facet. Deleted indicates that the item is deleted and can't be restored.Items with this property should be removed from your local state. // returns a *RequestInformation when successful func (m *ItemListItemsDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListItemsDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_list_items_item_create_link_request_builder.go b/drives/item_list_items_item_create_link_request_builder.go index c10c1e8cd21..8083192ed2c 100644 --- a/drives/item_list_items_item_create_link_request_builder.go +++ b/drives/item_list_items_item_create_link_request_builder.go @@ -36,7 +36,7 @@ func NewItemListItemsItemCreateLinkRequestBuilder(rawUrl string, requestAdapter // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/listitem-createlink?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/listitem-createlink?view=graph-rest-beta func (m *ItemListItemsItemCreateLinkRequestBuilder) Post(ctx context.Context, body ItemListItemsItemCreateLinkPostRequestBodyable, requestConfiguration *ItemListItemsItemCreateLinkRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/drives/item_list_items_item_document_set_versions_document_set_version_item_request_builder.go b/drives/item_list_items_item_document_set_versions_document_set_version_item_request_builder.go index fae2d4d4ba5..54c07d60a9e 100644 --- a/drives/item_list_items_item_document_set_versions_document_set_version_item_request_builder.go +++ b/drives/item_list_items_item_document_set_versions_document_set_version_item_request_builder.go @@ -18,7 +18,7 @@ type ItemListItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilderDel // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemListItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilderGetQueryParameters read the properties and relationships of a documentSetVersion object. +// ItemListItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilderGetQueryParameters version information for a document set version created by a user. type ItemListItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemListItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilder urlParams["request-raw-url"] = rawUrl return NewItemListItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a version of a document set in a list. +// Delete delete navigation property documentSetVersions for drives // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/documentsetversion-delete?view=graph-rest-1.0 func (m *ItemListItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemListItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *ItemListItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilde func (m *ItemListItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilder) Fields()(*ItemListItemsItemDocumentSetVersionsItemFieldsRequestBuilder) { return NewItemListItemsItemDocumentSetVersionsItemFieldsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of a documentSetVersion object. +// Get version information for a document set version created by a user. // returns a DocumentSetVersionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/documentsetversion-get?view=graph-rest-1.0 func (m *ItemListItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DocumentSetVersionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -126,7 +120,7 @@ func (m *ItemListItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilde func (m *ItemListItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilder) Restore()(*ItemListItemsItemDocumentSetVersionsItemRestoreRequestBuilder) { return NewItemListItemsItemDocumentSetVersionsItemRestoreRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a version of a document set in a list. +// ToDeleteRequestInformation delete navigation property documentSetVersions for drives // returns a *RequestInformation when successful func (m *ItemListItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemListItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -137,7 +131,7 @@ func (m *ItemListItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilde requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a documentSetVersion object. +// ToGetRequestInformation version information for a document set version created by a user. // returns a *RequestInformation when successful func (m *ItemListItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_list_items_item_document_set_versions_item_restore_request_builder.go b/drives/item_list_items_item_document_set_versions_item_restore_request_builder.go index 0e6346285e2..4eecdf9aa12 100644 --- a/drives/item_list_items_item_document_set_versions_item_restore_request_builder.go +++ b/drives/item_list_items_item_document_set_versions_item_restore_request_builder.go @@ -34,7 +34,7 @@ func NewItemListItemsItemDocumentSetVersionsItemRestoreRequestBuilder(rawUrl str // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/documentsetversion-restore?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/documentsetversion-restore?view=graph-rest-beta func (m *ItemListItemsItemDocumentSetVersionsItemRestoreRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemListItemsItemDocumentSetVersionsItemRestoreRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_list_items_item_document_set_versions_request_builder.go b/drives/item_list_items_item_document_set_versions_request_builder.go index c4b4df9d6fc..90c67577fcf 100644 --- a/drives/item_list_items_item_document_set_versions_request_builder.go +++ b/drives/item_list_items_item_document_set_versions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemListItemsItemDocumentSetVersionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemListItemsItemDocumentSetVersionsRequestBuilderGetQueryParameters get a list of the versions of a document set item in a list. +// ItemListItemsItemDocumentSetVersionsRequestBuilderGetQueryParameters version information for a document set version created by a user. type ItemListItemsItemDocumentSetVersionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemListItemsItemDocumentSetVersionsRequestBuilder(rawUrl string, reques func (m *ItemListItemsItemDocumentSetVersionsRequestBuilder) Count()(*ItemListItemsItemDocumentSetVersionsCountRequestBuilder) { return NewItemListItemsItemDocumentSetVersionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the versions of a document set item in a list. +// Get version information for a document set version created by a user. // returns a DocumentSetVersionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/listitem-list-documentsetversions?view=graph-rest-1.0 func (m *ItemListItemsItemDocumentSetVersionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListItemsItemDocumentSetVersionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DocumentSetVersionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemListItemsItemDocumentSetVersionsRequestBuilder) Get(ctx context.Con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DocumentSetVersionCollectionResponseable), nil } -// Post create a new version of a document set item in a list. +// Post create new navigation property to documentSetVersions for drives // returns a DocumentSetVersionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/listitem-post-documentsetversions?view=graph-rest-1.0 func (m *ItemListItemsItemDocumentSetVersionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DocumentSetVersionable, requestConfiguration *ItemListItemsItemDocumentSetVersionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DocumentSetVersionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemListItemsItemDocumentSetVersionsRequestBuilder) Post(ctx context.Co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DocumentSetVersionable), nil } -// ToGetRequestInformation get a list of the versions of a document set item in a list. +// ToGetRequestInformation version information for a document set version created by a user. // returns a *RequestInformation when successful func (m *ItemListItemsItemDocumentSetVersionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListItemsItemDocumentSetVersionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemListItemsItemDocumentSetVersionsRequestBuilder) ToGetRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new version of a document set item in a list. +// ToPostRequestInformation create new navigation property to documentSetVersions for drives // returns a *RequestInformation when successful func (m *ItemListItemsItemDocumentSetVersionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DocumentSetVersionable, requestConfiguration *ItemListItemsItemDocumentSetVersionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_list_items_item_drive_item_request_builder.go b/drives/item_list_items_item_drive_item_request_builder.go index 61bd5c97991..db17d4d1d99 100644 --- a/drives/item_list_items_item_drive_item_request_builder.go +++ b/drives/item_list_items_item_drive_item_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemListItemsItemDriveItemRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemListItemsItemDriveItemRequestBuilderGetQueryParameters for document libraries, the driveItem relationship exposes the listItem as a [driveItem][] +// ItemListItemsItemDriveItemRequestBuilderGetQueryParameters for document libraries, the driveItem relationship exposes the listItem as a driveItem type ItemListItemsItemDriveItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -50,7 +50,7 @@ func (m *ItemListItemsItemDriveItemRequestBuilder) Content()(*ItemListItemsItemD func (m *ItemListItemsItemDriveItemRequestBuilder) ContentStream()(*ItemListItemsItemDriveItemContentStreamRequestBuilder) { return NewItemListItemsItemDriveItemContentStreamRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get for document libraries, the driveItem relationship exposes the listItem as a [driveItem][] +// Get for document libraries, the driveItem relationship exposes the listItem as a driveItem // returns a DriveItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemListItemsItemDriveItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListItemsItemDriveItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable, error) { @@ -70,7 +70,7 @@ func (m *ItemListItemsItemDriveItemRequestBuilder) Get(ctx context.Context, requ } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable), nil } -// ToGetRequestInformation for document libraries, the driveItem relationship exposes the listItem as a [driveItem][] +// ToGetRequestInformation for document libraries, the driveItem relationship exposes the listItem as a driveItem // returns a *RequestInformation when successful func (m *ItemListItemsItemDriveItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListItemsItemDriveItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_list_items_item_fields_request_builder.go b/drives/item_list_items_item_fields_request_builder.go index 2ab824ac12d..a86430c4f6a 100644 --- a/drives/item_list_items_item_fields_request_builder.go +++ b/drives/item_list_items_item_fields_request_builder.go @@ -90,12 +90,9 @@ func (m *ItemListItemsItemFieldsRequestBuilder) Get(ctx context.Context, request } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FieldValueSetable), nil } -// Patch update the properties on a [listItem][]. +// Patch update the navigation property fields in drives // returns a FieldValueSetable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/listitem-update?view=graph-rest-1.0 func (m *ItemListItemsItemFieldsRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FieldValueSetable, requestConfiguration *ItemListItemsItemFieldsRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FieldValueSetable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -138,7 +135,7 @@ func (m *ItemListItemsItemFieldsRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties on a [listItem][]. +// ToPatchRequestInformation update the navigation property fields in drives // returns a *RequestInformation when successful func (m *ItemListItemsItemFieldsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FieldValueSetable, requestConfiguration *ItemListItemsItemFieldsRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_list_items_list_item_item_request_builder.go b/drives/item_list_items_list_item_item_request_builder.go index 5854de31e97..d614daaa3cf 100644 --- a/drives/item_list_items_list_item_item_request_builder.go +++ b/drives/item_list_items_list_item_item_request_builder.go @@ -18,7 +18,7 @@ type ItemListItemsListItemItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemListItemsListItemItemRequestBuilderGetQueryParameters returns the metadata for an [item][] in a [list][]. +// ItemListItemsListItemItemRequestBuilderGetQueryParameters all items contained in the list. type ItemListItemsListItemItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -74,11 +74,8 @@ func (m *ItemListItemsListItemItemRequestBuilder) CreatedByUser()(*ItemListItems func (m *ItemListItemsListItemItemRequestBuilder) CreateLink()(*ItemListItemsItemCreateLinkRequestBuilder) { return NewItemListItemsItemCreateLinkRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Delete removes an item from a [list][]. +// Delete delete navigation property items for drives // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/listitem-delete?view=graph-rest-1.0 func (m *ItemListItemsListItemItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemListItemsListItemItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -108,12 +105,9 @@ func (m *ItemListItemsListItemItemRequestBuilder) DriveItem()(*ItemListItemsItem func (m *ItemListItemsListItemItemRequestBuilder) Fields()(*ItemListItemsItemFieldsRequestBuilder) { return NewItemListItemsItemFieldsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get returns the metadata for an [item][] in a [list][]. +// Get all items contained in the list. // returns a ListItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/listitem-get?view=graph-rest-1.0 func (m *ItemListItemsListItemItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListItemsListItemItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ListItemable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -161,7 +155,7 @@ func (m *ItemListItemsListItemItemRequestBuilder) Patch(ctx context.Context, bod } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ListItemable), nil } -// ToDeleteRequestInformation removes an item from a [list][]. +// ToDeleteRequestInformation delete navigation property items for drives // returns a *RequestInformation when successful func (m *ItemListItemsListItemItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemListItemsListItemItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -172,7 +166,7 @@ func (m *ItemListItemsListItemItemRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation returns the metadata for an [item][] in a [list][]. +// ToGetRequestInformation all items contained in the list. // returns a *RequestInformation when successful func (m *ItemListItemsListItemItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListItemsListItemItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_list_items_request_builder.go b/drives/item_list_items_request_builder.go index 41fde9fb9e2..8155f77702b 100644 --- a/drives/item_list_items_request_builder.go +++ b/drives/item_list_items_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemListItemsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemListItemsRequestBuilderGetQueryParameters get the collection of [items][item] in a [list][]. +// ItemListItemsRequestBuilderGetQueryParameters all items contained in the list. type ItemListItemsRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -84,12 +84,9 @@ func (m *ItemListItemsRequestBuilder) Delta()(*ItemListItemsDeltaRequestBuilder) func (m *ItemListItemsRequestBuilder) DeltaWithToken(token *string)(*ItemListItemsDeltaWithTokenRequestBuilder) { return NewItemListItemsDeltaWithTokenRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, token) } -// Get get the collection of [items][item] in a [list][]. +// Get all items contained in the list. // returns a ListItemCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/listitem-list?view=graph-rest-1.0 func (m *ItemListItemsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListItemsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ListItemCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -107,12 +104,9 @@ func (m *ItemListItemsRequestBuilder) Get(ctx context.Context, requestConfigurat } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ListItemCollectionResponseable), nil } -// Post create a new [listItem][] in a [list][]. +// Post create new navigation property to items for drives // returns a ListItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/listitem-create?view=graph-rest-1.0 func (m *ItemListItemsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ListItemable, requestConfiguration *ItemListItemsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ListItemable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -130,7 +124,7 @@ func (m *ItemListItemsRequestBuilder) Post(ctx context.Context, body ie233ee762e } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ListItemable), nil } -// ToGetRequestInformation get the collection of [items][item] in a [list][]. +// ToGetRequestInformation all items contained in the list. // returns a *RequestInformation when successful func (m *ItemListItemsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListItemsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +138,7 @@ func (m *ItemListItemsRequestBuilder) ToGetRequestInformation(ctx context.Contex requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new [listItem][] in a [list][]. +// ToPostRequestInformation create new navigation property to items for drives // returns a *RequestInformation when successful func (m *ItemListItemsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ListItemable, requestConfiguration *ItemListItemsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_list_subscriptions_item_reauthorize_request_builder.go b/drives/item_list_subscriptions_item_reauthorize_request_builder.go index b4b744a29df..a4868ef738f 100644 --- a/drives/item_list_subscriptions_item_reauthorize_request_builder.go +++ b/drives/item_list_subscriptions_item_reauthorize_request_builder.go @@ -34,7 +34,7 @@ func NewItemListSubscriptionsItemReauthorizeRequestBuilder(rawUrl string, reques // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/subscription-reauthorize?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/subscription-reauthorize?view=graph-rest-beta func (m *ItemListSubscriptionsItemReauthorizeRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemListSubscriptionsItemReauthorizeRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_recent_request_builder.go b/drives/item_recent_request_builder.go index 4641f5f6d7b..b970dff08b6 100644 --- a/drives/item_recent_request_builder.go +++ b/drives/item_recent_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemRecentRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemRecentRequestBuilderGetQueryParameters invoke function recent +// ItemRecentRequestBuilderGetQueryParameters list a set of items recently used by the signed-in user.This collection includes items that are in the user's drive and items they have access to from other drives. type ItemRecentRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewItemRecentRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263 urlParams["request-raw-url"] = rawUrl return NewItemRecentRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function recent +// Get list a set of items recently used by the signed-in user.This collection includes items that are in the user's drive and items they have access to from other drives. // Deprecated: This method is obsolete. Use GetAsRecentGetResponse instead. // returns a ItemRecentResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/drive-recent?view=graph-rest-beta func (m *ItemRecentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemRecentRequestBuilderGetRequestConfiguration)(ItemRecentResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ItemRecentRequestBuilder) Get(ctx context.Context, requestConfiguration } return res.(ItemRecentResponseable), nil } -// GetAsRecentGetResponse invoke function recent +// GetAsRecentGetResponse list a set of items recently used by the signed-in user.This collection includes items that are in the user's drive and items they have access to from other drives. // returns a ItemRecentGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/drive-recent?view=graph-rest-beta func (m *ItemRecentRequestBuilder) GetAsRecentGetResponse(ctx context.Context, requestConfiguration *ItemRecentRequestBuilderGetRequestConfiguration)(ItemRecentGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ItemRecentRequestBuilder) GetAsRecentGetResponse(ctx context.Context, r } return res.(ItemRecentGetResponseable), nil } -// ToGetRequestInformation invoke function recent +// ToGetRequestInformation list a set of items recently used by the signed-in user.This collection includes items that are in the user's drive and items they have access to from other drives. // returns a *RequestInformation when successful func (m *ItemRecentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemRecentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_root_content_request_builder.go b/drives/item_root_content_request_builder.go index ed41d876027..5154b3fc701 100644 --- a/drives/item_root_content_request_builder.go +++ b/drives/item_root_content_request_builder.go @@ -48,9 +48,6 @@ func NewItemRootContentRequestBuilder(rawUrl string, requestAdapter i2ae4187f7da // Get get content for the navigation property root from drives // 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/driveitem-get?view=graph-rest-1.0 func (m *ItemRootContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemRootContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_root_content_stream_request_builder.go b/drives/item_root_content_stream_request_builder.go index f7dae9bb903..444131db0a9 100644 --- a/drives/item_root_content_stream_request_builder.go +++ b/drives/item_root_content_stream_request_builder.go @@ -40,9 +40,6 @@ func NewItemRootContentStreamRequestBuilder(rawUrl string, requestAdapter i2ae41 // Get the content stream, if the item represents a file. // 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/driveitem-get?view=graph-rest-1.0 func (m *ItemRootContentStreamRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemRootContentStreamRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/drives/item_root_request_builder.go b/drives/item_root_request_builder.go index 3e66d404c6f..13ffc6a2ff0 100644 --- a/drives/item_root_request_builder.go +++ b/drives/item_root_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemRootRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemRootRequestBuilderGetQueryParameters retrieve the metadata for a driveItem in a drive by file system path or ID. +// ItemRootRequestBuilderGetQueryParameters the root folder of the drive. Read-only. type ItemRootRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -50,12 +50,9 @@ func (m *ItemRootRequestBuilder) Content()(*ItemRootContentRequestBuilder) { func (m *ItemRootRequestBuilder) ContentStream()(*ItemRootContentStreamRequestBuilder) { return NewItemRootContentStreamRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the metadata for a driveItem in a drive by file system path or ID. +// Get the root folder of the drive. Read-only. // returns a DriveItemable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemRootRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemRootRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,7 +70,7 @@ func (m *ItemRootRequestBuilder) Get(ctx context.Context, requestConfiguration * } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable), nil } -// ToGetRequestInformation retrieve the metadata for a driveItem in a drive by file system path or ID. +// ToGetRequestInformation the root folder of the drive. Read-only. // returns a *RequestInformation when successful func (m *ItemRootRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemRootRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_search_with_q_request_builder.go b/drives/item_search_with_q_request_builder.go index e2bb6fb0d7c..ebc3e1c35ad 100644 --- a/drives/item_search_with_q_request_builder.go +++ b/drives/item_search_with_q_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemSearchWithQRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSearchWithQRequestBuilderGetQueryParameters invoke function search +// ItemSearchWithQRequestBuilderGetQueryParameters search the hierarchy of items for items matching a query.You can search within a folder hierarchy, a whole drive, or files shared with the current user. type ItemSearchWithQRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewItemSearchWithQRequestBuilder(rawUrl string, requestAdapter i2ae4187f7da urlParams["request-raw-url"] = rawUrl return NewItemSearchWithQRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function search +// Get search the hierarchy of items for items matching a query.You can search within a folder hierarchy, a whole drive, or files shared with the current user. // Deprecated: This method is obsolete. Use GetAsSearchWithQGetResponse instead. // returns a ItemSearchWithQResponseable when successful // returns a ODataError error 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-search?view=graph-rest-beta func (m *ItemSearchWithQRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSearchWithQRequestBuilderGetRequestConfiguration)(ItemSearchWithQResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *ItemSearchWithQRequestBuilder) Get(ctx context.Context, requestConfigur } return res.(ItemSearchWithQResponseable), nil } -// GetAsSearchWithQGetResponse invoke function search +// GetAsSearchWithQGetResponse search the hierarchy of items for items matching a query.You can search within a folder hierarchy, a whole drive, or files shared with the current user. // returns a ItemSearchWithQGetResponseable when successful // returns a ODataError error 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-search?view=graph-rest-beta func (m *ItemSearchWithQRequestBuilder) GetAsSearchWithQGetResponse(ctx context.Context, requestConfiguration *ItemSearchWithQRequestBuilderGetRequestConfiguration)(ItemSearchWithQGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *ItemSearchWithQRequestBuilder) GetAsSearchWithQGetResponse(ctx context. } return res.(ItemSearchWithQGetResponseable), nil } -// ToGetRequestInformation invoke function search +// ToGetRequestInformation search the hierarchy of items for items matching a query.You can search within a folder hierarchy, a whole drive, or files shared with the current user. // returns a *RequestInformation when successful func (m *ItemSearchWithQRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSearchWithQRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_shared_with_me_request_builder.go b/drives/item_shared_with_me_request_builder.go index ed799cec32c..05ec53d4902 100644 --- a/drives/item_shared_with_me_request_builder.go +++ b/drives/item_shared_with_me_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemSharedWithMeRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSharedWithMeRequestBuilderGetQueryParameters invoke function sharedWithMe +// ItemSharedWithMeRequestBuilderGetQueryParameters get a list of driveItem objects shared with the owner of a drive. The driveItems returned from the sharedWithMe method always include the remoteItem facet that indicates they're items from a different drive. type ItemSharedWithMeRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewItemSharedWithMeRequestBuilder(rawUrl string, requestAdapter i2ae4187f7d urlParams["request-raw-url"] = rawUrl return NewItemSharedWithMeRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function sharedWithMe +// Get get a list of driveItem objects shared with the owner of a drive. The driveItems returned from the sharedWithMe method always include the remoteItem facet that indicates they're items from a different drive. // Deprecated: This method is obsolete. Use GetAsSharedWithMeGetResponse instead. // returns a ItemSharedWithMeResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/drive-sharedwithme?view=graph-rest-beta func (m *ItemSharedWithMeRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSharedWithMeRequestBuilderGetRequestConfiguration)(ItemSharedWithMeResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ItemSharedWithMeRequestBuilder) Get(ctx context.Context, requestConfigu } return res.(ItemSharedWithMeResponseable), nil } -// GetAsSharedWithMeGetResponse invoke function sharedWithMe +// GetAsSharedWithMeGetResponse get a list of driveItem objects shared with the owner of a drive. The driveItems returned from the sharedWithMe method always include the remoteItem facet that indicates they're items from a different drive. // returns a ItemSharedWithMeGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/drive-sharedwithme?view=graph-rest-beta func (m *ItemSharedWithMeRequestBuilder) GetAsSharedWithMeGetResponse(ctx context.Context, requestConfiguration *ItemSharedWithMeRequestBuilderGetRequestConfiguration)(ItemSharedWithMeGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ItemSharedWithMeRequestBuilder) GetAsSharedWithMeGetResponse(ctx contex } return res.(ItemSharedWithMeGetResponseable), nil } -// ToGetRequestInformation invoke function sharedWithMe +// ToGetRequestInformation get a list of driveItem objects shared with the owner of a drive. The driveItems returned from the sharedWithMe method always include the remoteItem facet that indicates they're items from a different drive. // returns a *RequestInformation when successful func (m *ItemSharedWithMeRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSharedWithMeRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_special_drive_item_item_request_builder.go b/drives/item_special_drive_item_item_request_builder.go index 121066d10e0..d0dad000410 100644 --- a/drives/item_special_drive_item_item_request_builder.go +++ b/drives/item_special_drive_item_item_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSpecialDriveItemItemRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSpecialDriveItemItemRequestBuilderGetQueryParameters use the special collection to access a special folder by name. Special folders provide simple aliases to access well-known folders in OneDrive without the need to look up the folder by path (which would require localization), or reference the folder with an ID. If a special folder is renamed or moved to another location within the drive, this syntax will continue to find that folder. Special folders are automatically created the first time an application attempts to write to one, if it doesn't already exist. If a user deletes one, it is recreated when written to again. +// ItemSpecialDriveItemItemRequestBuilderGetQueryParameters collection of common folders available in OneDrive. Read-only. Nullable. type ItemSpecialDriveItemItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -50,12 +50,9 @@ func (m *ItemSpecialDriveItemItemRequestBuilder) Content()(*ItemSpecialItemConte func (m *ItemSpecialDriveItemItemRequestBuilder) ContentStream()(*ItemSpecialItemContentStreamRequestBuilder) { return NewItemSpecialItemContentStreamRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get use the special collection to access a special folder by name. Special folders provide simple aliases to access well-known folders in OneDrive without the need to look up the folder by path (which would require localization), or reference the folder with an ID. If a special folder is renamed or moved to another location within the drive, this syntax will continue to find that folder. Special folders are automatically created the first time an application attempts to write to one, if it doesn't already exist. If a user deletes one, it is recreated when written to again. +// Get collection of common folders available in OneDrive. Read-only. Nullable. // returns a DriveItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/drive-get-specialfolder?view=graph-rest-1.0 func (m *ItemSpecialDriveItemItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSpecialDriveItemItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,7 +70,7 @@ func (m *ItemSpecialDriveItemItemRequestBuilder) Get(ctx context.Context, reques } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable), nil } -// ToGetRequestInformation use the special collection to access a special folder by name. Special folders provide simple aliases to access well-known folders in OneDrive without the need to look up the folder by path (which would require localization), or reference the folder with an ID. If a special folder is renamed or moved to another location within the drive, this syntax will continue to find that folder. Special folders are automatically created the first time an application attempts to write to one, if it doesn't already exist. If a user deletes one, it is recreated when written to again. +// ToGetRequestInformation collection of common folders available in OneDrive. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemSpecialDriveItemItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSpecialDriveItemItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_special_request_builder.go b/drives/item_special_request_builder.go index 4860efb6a4d..76cd7a9b83f 100644 --- a/drives/item_special_request_builder.go +++ b/drives/item_special_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSpecialRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSpecialRequestBuilderGetQueryParameters use the special collection to access a special folder by name. Special folders provide simple aliases to access well-known folders in OneDrive without the need to look up the folder by path (which would require localization), or reference the folder with an ID. If a special folder is renamed or moved to another location within the drive, this syntax will continue to find that folder. Special folders are automatically created the first time an application attempts to write to one, if it doesn't already exist. If a user deletes one, it is recreated when written to again. +// ItemSpecialRequestBuilderGetQueryParameters collection of common folders available in OneDrive. Read-only. Nullable. type ItemSpecialRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,7 +69,7 @@ func NewItemSpecialRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 func (m *ItemSpecialRequestBuilder) Count()(*ItemSpecialCountRequestBuilder) { return NewItemSpecialCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get use the special collection to access a special folder by name. Special folders provide simple aliases to access well-known folders in OneDrive without the need to look up the folder by path (which would require localization), or reference the folder with an ID. If a special folder is renamed or moved to another location within the drive, this syntax will continue to find that folder. Special folders are automatically created the first time an application attempts to write to one, if it doesn't already exist. If a user deletes one, it is recreated when written to again. +// Get collection of common folders available in OneDrive. Read-only. Nullable. // returns a DriveItemCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemSpecialRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSpecialRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemCollectionResponseable, error) { @@ -89,7 +89,7 @@ func (m *ItemSpecialRequestBuilder) Get(ctx context.Context, requestConfiguratio } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemCollectionResponseable), nil } -// ToGetRequestInformation use the special collection to access a special folder by name. Special folders provide simple aliases to access well-known folders in OneDrive without the need to look up the folder by path (which would require localization), or reference the folder with an ID. If a special folder is renamed or moved to another location within the drive, this syntax will continue to find that folder. Special folders are automatically created the first time an application attempts to write to one, if it doesn't already exist. If a user deletes one, it is recreated when written to again. +// ToGetRequestInformation collection of common folders available in OneDrive. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemSpecialRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSpecialRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/classes_delta_request_builder.go b/education/classes_delta_request_builder.go index 9254fdf2e36..bd5d5d7e9e0 100644 --- a/education/classes_delta_request_builder.go +++ b/education/classes_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ClassesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ClassesDeltaRequestBuilderGetQueryParameters invoke function delta +// ClassesDeltaRequestBuilderGetQueryParameters get newly created or updated classes, including membership changes, without having to perform a full read of the entire class collection. See Use delta query for details. type ClassesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewClassesDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee2 urlParams["request-raw-url"] = rawUrl return NewClassesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get get newly created or updated classes, including membership changes, without having to perform a full read of the entire class collection. See Use delta query for details. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ClassesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/educationclass-delta?view=graph-rest-beta func (m *ClassesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesDeltaRequestBuilderGetRequestConfiguration)(ClassesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ClassesDeltaRequestBuilder) Get(ctx context.Context, requestConfigurati } return res.(ClassesDeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse get newly created or updated classes, including membership changes, without having to perform a full read of the entire class collection. See Use delta query for details. // returns a ClassesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/educationclass-delta?view=graph-rest-beta func (m *ClassesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ClassesDeltaRequestBuilderGetRequestConfiguration)(ClassesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ClassesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, } return res.(ClassesDeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation get newly created or updated classes, including membership changes, without having to perform a full read of the entire class collection. See Use delta query for details. // returns a *RequestInformation when successful func (m *ClassesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/classes_education_class_item_request_builder.go b/education/classes_education_class_item_request_builder.go index 3ae34c101ea..ea2fdd34f7a 100644 --- a/education/classes_education_class_item_request_builder.go +++ b/education/classes_education_class_item_request_builder.go @@ -18,7 +18,7 @@ type ClassesEducationClassItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ClassesEducationClassItemRequestBuilderGetQueryParameters retrieve a class from the system. A class is a universal group with a special property that indicates to the system that the group is a class. Group members represent the students; group admins represent the teachers in the class. If you're using the delegated token, the user will only see classes in which they are members. +// ClassesEducationClassItemRequestBuilderGetQueryParameters get classes from education type ClassesEducationClassItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -74,11 +74,8 @@ func NewClassesEducationClassItemRequestBuilder(rawUrl string, requestAdapter i2 urlParams["request-raw-url"] = rawUrl return NewClassesEducationClassItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an educationClass. Because a class is also a universal group, deleting a class deletes the group. +// Delete delete navigation property classes for education // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationclass-delete?view=graph-rest-1.0 func (m *ClassesEducationClassItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ClassesEducationClassItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *ClassesEducationClassItemRequestBuilder) Delete(ctx context.Context, re } return nil } -// Get retrieve a class from the system. A class is a universal group with a special property that indicates to the system that the group is a class. Group members represent the students; group admins represent the teachers in the class. If you're using the delegated token, the user will only see classes in which they are members. +// Get get classes from education // returns a EducationClassable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationclass-get?view=graph-rest-1.0 func (m *ClassesEducationClassItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesEducationClassItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationClassable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -131,12 +125,9 @@ func (m *ClassesEducationClassItemRequestBuilder) Members()(*ClassesItemMembersR func (m *ClassesEducationClassItemRequestBuilder) Modules()(*ClassesItemModulesRequestBuilder) { return NewClassesItemModulesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of a class. +// Patch update the navigation property classes in education // returns a EducationClassable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationclass-update?view=graph-rest-1.0 func (m *ClassesEducationClassItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationClassable, requestConfiguration *ClassesEducationClassItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationClassable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -164,7 +155,7 @@ func (m *ClassesEducationClassItemRequestBuilder) Schools()(*ClassesItemSchoolsR func (m *ClassesEducationClassItemRequestBuilder) Teachers()(*ClassesItemTeachersRequestBuilder) { return NewClassesItemTeachersRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete an educationClass. Because a class is also a universal group, deleting a class deletes the group. +// ToDeleteRequestInformation delete navigation property classes for education // returns a *RequestInformation when successful func (m *ClassesEducationClassItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ClassesEducationClassItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -175,7 +166,7 @@ func (m *ClassesEducationClassItemRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a class from the system. A class is a universal group with a special property that indicates to the system that the group is a class. Group members represent the students; group admins represent the teachers in the class. If you're using the delegated token, the user will only see classes in which they are members. +// ToGetRequestInformation get classes from education // returns a *RequestInformation when successful func (m *ClassesEducationClassItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesEducationClassItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -189,7 +180,7 @@ func (m *ClassesEducationClassItemRequestBuilder) ToGetRequestInformation(ctx co requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a class. +// ToPatchRequestInformation update the navigation property classes in education // returns a *RequestInformation when successful func (m *ClassesEducationClassItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationClassable, requestConfiguration *ClassesEducationClassItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/classes_item_assignment_categories_delta_request_builder.go b/education/classes_item_assignment_categories_delta_request_builder.go index 4d1cd30708f..5df04c1f6cf 100644 --- a/education/classes_item_assignment_categories_delta_request_builder.go +++ b/education/classes_item_assignment_categories_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ClassesItemAssignmentCategoriesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ClassesItemAssignmentCategoriesDeltaRequestBuilderGetQueryParameters invoke function delta +// ClassesItemAssignmentCategoriesDeltaRequestBuilderGetQueryParameters get a list of newly created or updated educationCategory objects without performing a full read of the collection. type ClassesItemAssignmentCategoriesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewClassesItemAssignmentCategoriesDeltaRequestBuilder(rawUrl string, reques urlParams["request-raw-url"] = rawUrl return NewClassesItemAssignmentCategoriesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get get a list of newly created or updated educationCategory objects without performing a full read of the collection. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ClassesItemAssignmentCategoriesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/educationcategory-delta?view=graph-rest-beta func (m *ClassesItemAssignmentCategoriesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemAssignmentCategoriesDeltaRequestBuilderGetRequestConfiguration)(ClassesItemAssignmentCategoriesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ClassesItemAssignmentCategoriesDeltaRequestBuilder) Get(ctx context.Con } return res.(ClassesItemAssignmentCategoriesDeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse get a list of newly created or updated educationCategory objects without performing a full read of the collection. // returns a ClassesItemAssignmentCategoriesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/educationcategory-delta?view=graph-rest-beta func (m *ClassesItemAssignmentCategoriesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ClassesItemAssignmentCategoriesDeltaRequestBuilderGetRequestConfiguration)(ClassesItemAssignmentCategoriesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ClassesItemAssignmentCategoriesDeltaRequestBuilder) GetAsDeltaGetRespon } return res.(ClassesItemAssignmentCategoriesDeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation get a list of newly created or updated educationCategory objects without performing a full read of the collection. // returns a *RequestInformation when successful func (m *ClassesItemAssignmentCategoriesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentCategoriesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/classes_item_assignment_categories_education_category_item_request_builder.go b/education/classes_item_assignment_categories_education_category_item_request_builder.go index ae7cb63b8be..65c255286ae 100644 --- a/education/classes_item_assignment_categories_education_category_item_request_builder.go +++ b/education/classes_item_assignment_categories_education_category_item_request_builder.go @@ -18,7 +18,7 @@ type ClassesItemAssignmentCategoriesEducationCategoryItemRequestBuilderDeleteReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ClassesItemAssignmentCategoriesEducationCategoryItemRequestBuilderGetQueryParameters retrieve an educationCategory object. Only teachers, students, and applications with application permissions can perform this operation. +// ClassesItemAssignmentCategoriesEducationCategoryItemRequestBuilderGetQueryParameters all categories associated with this class. Nullable. type ClassesItemAssignmentCategoriesEducationCategoryItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewClassesItemAssignmentCategoriesEducationCategoryItemRequestBuilder(rawUr urlParams["request-raw-url"] = rawUrl return NewClassesItemAssignmentCategoriesEducationCategoryItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an existing category. Only teachers can perform this operation. +// Delete delete navigation property assignmentCategories for education // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationcategory-delete?view=graph-rest-1.0 func (m *ClassesItemAssignmentCategoriesEducationCategoryItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ClassesItemAssignmentCategoriesEducationCategoryItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ClassesItemAssignmentCategoriesEducationCategoryItemRequestBuilder) Del } return nil } -// Get retrieve an educationCategory object. Only teachers, students, and applications with application permissions can perform this operation. +// Get all categories associated with this class. Nullable. // returns a EducationCategoryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationcategory-get?view=graph-rest-1.0 func (m *ClassesItemAssignmentCategoriesEducationCategoryItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemAssignmentCategoriesEducationCategoryItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationCategoryable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -116,7 +110,7 @@ func (m *ClassesItemAssignmentCategoriesEducationCategoryItemRequestBuilder) Pat } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationCategoryable), nil } -// ToDeleteRequestInformation delete an existing category. Only teachers can perform this operation. +// ToDeleteRequestInformation delete navigation property assignmentCategories for education // returns a *RequestInformation when successful func (m *ClassesItemAssignmentCategoriesEducationCategoryItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentCategoriesEducationCategoryItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -127,7 +121,7 @@ func (m *ClassesItemAssignmentCategoriesEducationCategoryItemRequestBuilder) ToD requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve an educationCategory object. Only teachers, students, and applications with application permissions can perform this operation. +// ToGetRequestInformation all categories associated with this class. Nullable. // returns a *RequestInformation when successful func (m *ClassesItemAssignmentCategoriesEducationCategoryItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentCategoriesEducationCategoryItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/classes_item_assignment_categories_request_builder.go b/education/classes_item_assignment_categories_request_builder.go index b6531eabfb5..3c16a27d5a1 100644 --- a/education/classes_item_assignment_categories_request_builder.go +++ b/education/classes_item_assignment_categories_request_builder.go @@ -11,7 +11,7 @@ import ( type ClassesItemAssignmentCategoriesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ClassesItemAssignmentCategoriesRequestBuilderGetQueryParameters retrieve a list of educationCategory objects. Only teachers can perform this operation. +// ClassesItemAssignmentCategoriesRequestBuilderGetQueryParameters all categories associated with this class. Nullable. type ClassesItemAssignmentCategoriesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *ClassesItemAssignmentCategoriesRequestBuilder) Count()(*ClassesItemAssi func (m *ClassesItemAssignmentCategoriesRequestBuilder) Delta()(*ClassesItemAssignmentCategoriesDeltaRequestBuilder) { return NewClassesItemAssignmentCategoriesDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of educationCategory objects. Only teachers can perform this operation. +// Get all categories associated with this class. Nullable. // returns a EducationCategoryCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationclass-list-categories?view=graph-rest-1.0 func (m *ClassesItemAssignmentCategoriesRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemAssignmentCategoriesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationCategoryCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *ClassesItemAssignmentCategoriesRequestBuilder) Get(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationCategoryCollectionResponseable), nil } -// Post create a new educationCategory on an educationClass. Only teachers can perform this operation. +// Post create new navigation property to assignmentCategories for education // returns a EducationCategoryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationclass-post-category?view=graph-rest-1.0 func (m *ClassesItemAssignmentCategoriesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationCategoryable, requestConfiguration *ClassesItemAssignmentCategoriesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationCategoryable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ClassesItemAssignmentCategoriesRequestBuilder) Post(ctx context.Context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationCategoryable), nil } -// ToGetRequestInformation retrieve a list of educationCategory objects. Only teachers can perform this operation. +// ToGetRequestInformation all categories associated with this class. Nullable. // returns a *RequestInformation when successful func (m *ClassesItemAssignmentCategoriesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentCategoriesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ClassesItemAssignmentCategoriesRequestBuilder) ToGetRequestInformation( requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new educationCategory on an educationClass. Only teachers can perform this operation. +// ToPostRequestInformation create new navigation property to assignmentCategories for education // returns a *RequestInformation when successful func (m *ClassesItemAssignmentCategoriesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationCategoryable, requestConfiguration *ClassesItemAssignmentCategoriesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/classes_item_assignment_defaults_request_builder.go b/education/classes_item_assignment_defaults_request_builder.go index a1c87918862..fc1dfb417f4 100644 --- a/education/classes_item_assignment_defaults_request_builder.go +++ b/education/classes_item_assignment_defaults_request_builder.go @@ -18,7 +18,7 @@ type ClassesItemAssignmentDefaultsRequestBuilderDeleteRequestConfiguration struc // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ClassesItemAssignmentDefaultsRequestBuilderGetQueryParameters read the properties and relationships of an educationAssignmentDefaults object. These are the class-level assignment defaults respected by new assignments created in the class. Callers can continue to specify custom values on each assignment creation if they don't want the default behaviors. Only teachers can perform this operation. +// ClassesItemAssignmentDefaultsRequestBuilderGetQueryParameters specifies class-level defaults respected by new assignments created in the class. type ClassesItemAssignmentDefaultsRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ClassesItemAssignmentDefaultsRequestBuilder) Delete(ctx context.Context } return nil } -// Get read the properties and relationships of an educationAssignmentDefaults object. These are the class-level assignment defaults respected by new assignments created in the class. Callers can continue to specify custom values on each assignment creation if they don't want the default behaviors. Only teachers can perform this operation. +// Get specifies class-level defaults respected by new assignments created in the class. // returns a EducationAssignmentDefaultsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignmentdefaults-get?view=graph-rest-1.0 func (m *ClassesItemAssignmentDefaultsRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemAssignmentDefaultsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentDefaultsable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *ClassesItemAssignmentDefaultsRequestBuilder) Get(ctx context.Context, r } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentDefaultsable), nil } -// Patch update the properties of an educationAssignmentDefaults object. Only teachers can update these settings. +// Patch update the navigation property assignmentDefaults in education // returns a EducationAssignmentDefaultsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignmentdefaults-update?view=graph-rest-1.0 func (m *ClassesItemAssignmentDefaultsRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentDefaultsable, requestConfiguration *ClassesItemAssignmentDefaultsRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentDefaultsable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ClassesItemAssignmentDefaultsRequestBuilder) ToDeleteRequestInformation requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an educationAssignmentDefaults object. These are the class-level assignment defaults respected by new assignments created in the class. Callers can continue to specify custom values on each assignment creation if they don't want the default behaviors. Only teachers can perform this operation. +// ToGetRequestInformation specifies class-level defaults respected by new assignments created in the class. // returns a *RequestInformation when successful func (m *ClassesItemAssignmentDefaultsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentDefaultsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ClassesItemAssignmentDefaultsRequestBuilder) ToGetRequestInformation(ct requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an educationAssignmentDefaults object. Only teachers can update these settings. +// ToPatchRequestInformation update the navigation property assignmentDefaults in education // returns a *RequestInformation when successful func (m *ClassesItemAssignmentDefaultsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentDefaultsable, requestConfiguration *ClassesItemAssignmentDefaultsRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/classes_item_assignment_settings_grading_categories_education_grading_category_item_request_builder.go b/education/classes_item_assignment_settings_grading_categories_education_grading_category_item_request_builder.go index 645f63106f4..470d6d15d16 100644 --- a/education/classes_item_assignment_settings_grading_categories_education_grading_category_item_request_builder.go +++ b/education/classes_item_assignment_settings_grading_categories_education_grading_category_item_request_builder.go @@ -90,12 +90,9 @@ func (m *ClassesItemAssignmentSettingsGradingCategoriesEducationGradingCategoryI } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationGradingCategoryable), nil } -// Patch update a single gradingCategory on the educationAssignmentSettings. Only teachers can perform this operation. +// Patch update the navigation property gradingCategories in education // returns a EducationGradingCategoryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationgradingcategory-update?view=graph-rest-1.0 func (m *ClassesItemAssignmentSettingsGradingCategoriesEducationGradingCategoryItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationGradingCategoryable, requestConfiguration *ClassesItemAssignmentSettingsGradingCategoriesEducationGradingCategoryItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationGradingCategoryable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -138,7 +135,7 @@ func (m *ClassesItemAssignmentSettingsGradingCategoriesEducationGradingCategoryI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update a single gradingCategory on the educationAssignmentSettings. Only teachers can perform this operation. +// ToPatchRequestInformation update the navigation property gradingCategories in education // returns a *RequestInformation when successful func (m *ClassesItemAssignmentSettingsGradingCategoriesEducationGradingCategoryItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationGradingCategoryable, requestConfiguration *ClassesItemAssignmentSettingsGradingCategoriesEducationGradingCategoryItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/classes_item_assignment_settings_grading_schemes_education_grading_scheme_item_request_builder.go b/education/classes_item_assignment_settings_grading_schemes_education_grading_scheme_item_request_builder.go index 5e38d51c716..30953454d97 100644 --- a/education/classes_item_assignment_settings_grading_schemes_education_grading_scheme_item_request_builder.go +++ b/education/classes_item_assignment_settings_grading_schemes_education_grading_scheme_item_request_builder.go @@ -18,7 +18,7 @@ type ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilderGetQueryParameters read the properties and relationships of an educationGradingScheme object. +// ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilderGetQueryParameters get gradingSchemes from education type ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemReq urlParams["request-raw-url"] = rawUrl return NewClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an educationGradingScheme object. +// Delete delete navigation property gradingSchemes for education // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationgradingscheme-delete?view=graph-rest-1.0 func (m *ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRe } return nil } -// Get read the properties and relationships of an educationGradingScheme object. +// Get get gradingSchemes from education // returns a EducationGradingSchemeable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationgradingscheme-get?view=graph-rest-1.0 func (m *ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationGradingSchemeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -116,7 +110,7 @@ func (m *ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRe } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationGradingSchemeable), nil } -// ToDeleteRequestInformation delete an educationGradingScheme object. +// ToDeleteRequestInformation delete navigation property gradingSchemes for education // returns a *RequestInformation when successful func (m *ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -127,7 +121,7 @@ func (m *ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an educationGradingScheme object. +// ToGetRequestInformation get gradingSchemes from education // returns a *RequestInformation when successful func (m *ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentSettingsGradingSchemesEducationGradingSchemeItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/classes_item_assignment_settings_grading_schemes_request_builder.go b/education/classes_item_assignment_settings_grading_schemes_request_builder.go index 07267b411ec..1b4718d2109 100644 --- a/education/classes_item_assignment_settings_grading_schemes_request_builder.go +++ b/education/classes_item_assignment_settings_grading_schemes_request_builder.go @@ -11,7 +11,7 @@ import ( type ClassesItemAssignmentSettingsGradingSchemesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ClassesItemAssignmentSettingsGradingSchemesRequestBuilderGetQueryParameters read the properties and relationships of an educationGradingScheme object. +// ClassesItemAssignmentSettingsGradingSchemesRequestBuilderGetQueryParameters get gradingSchemes from education type ClassesItemAssignmentSettingsGradingSchemesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewClassesItemAssignmentSettingsGradingSchemesRequestBuilder(rawUrl string, func (m *ClassesItemAssignmentSettingsGradingSchemesRequestBuilder) Count()(*ClassesItemAssignmentSettingsGradingSchemesCountRequestBuilder) { return NewClassesItemAssignmentSettingsGradingSchemesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of an educationGradingScheme object. +// Get get gradingSchemes from education // returns a EducationGradingSchemeCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ClassesItemAssignmentSettingsGradingSchemesRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemAssignmentSettingsGradingSchemesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationGradingSchemeCollectionResponseable, error) { @@ -96,12 +96,9 @@ func (m *ClassesItemAssignmentSettingsGradingSchemesRequestBuilder) Get(ctx cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationGradingSchemeCollectionResponseable), nil } -// Post create a new educationGradingScheme object. +// Post create new navigation property to gradingSchemes for education // returns a EducationGradingSchemeable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationgradingscheme-post?view=graph-rest-1.0 func (m *ClassesItemAssignmentSettingsGradingSchemesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationGradingSchemeable, requestConfiguration *ClassesItemAssignmentSettingsGradingSchemesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationGradingSchemeable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ClassesItemAssignmentSettingsGradingSchemesRequestBuilder) Post(ctx con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationGradingSchemeable), nil } -// ToGetRequestInformation read the properties and relationships of an educationGradingScheme object. +// ToGetRequestInformation get gradingSchemes from education // returns a *RequestInformation when successful func (m *ClassesItemAssignmentSettingsGradingSchemesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentSettingsGradingSchemesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +130,7 @@ func (m *ClassesItemAssignmentSettingsGradingSchemesRequestBuilder) ToGetRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new educationGradingScheme object. +// ToPostRequestInformation create new navigation property to gradingSchemes for education // returns a *RequestInformation when successful func (m *ClassesItemAssignmentSettingsGradingSchemesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationGradingSchemeable, requestConfiguration *ClassesItemAssignmentSettingsGradingSchemesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/classes_item_assignment_settings_request_builder.go b/education/classes_item_assignment_settings_request_builder.go index c5114604183..1d2e9f0d663 100644 --- a/education/classes_item_assignment_settings_request_builder.go +++ b/education/classes_item_assignment_settings_request_builder.go @@ -18,7 +18,7 @@ type ClassesItemAssignmentSettingsRequestBuilderDeleteRequestConfiguration struc // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ClassesItemAssignmentSettingsRequestBuilderGetQueryParameters read the properties and relationships of an educationAssignmentSettings object. Only teachers can perform this operation. +// ClassesItemAssignmentSettingsRequestBuilderGetQueryParameters specifies class-level assignments settings. type ClassesItemAssignmentSettingsRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *ClassesItemAssignmentSettingsRequestBuilder) Delete(ctx context.Context } return nil } -// Get read the properties and relationships of an educationAssignmentSettings object. Only teachers can perform this operation. +// Get specifies class-level assignments settings. // returns a EducationAssignmentSettingsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignmentsettings-get?view=graph-rest-1.0 func (m *ClassesItemAssignmentSettingsRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemAssignmentSettingsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentSettingsable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -108,12 +105,9 @@ func (m *ClassesItemAssignmentSettingsRequestBuilder) GradingCategories()(*Class func (m *ClassesItemAssignmentSettingsRequestBuilder) GradingSchemes()(*ClassesItemAssignmentSettingsGradingSchemesRequestBuilder) { return NewClassesItemAssignmentSettingsGradingSchemesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of an educationAssignmentSettings object. Only teachers can update these settings. +// Patch update the navigation property assignmentSettings in education // returns a EducationAssignmentSettingsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignmentsettings-update?view=graph-rest-1.0 func (m *ClassesItemAssignmentSettingsRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentSettingsable, requestConfiguration *ClassesItemAssignmentSettingsRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentSettingsable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -142,7 +136,7 @@ func (m *ClassesItemAssignmentSettingsRequestBuilder) ToDeleteRequestInformation requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an educationAssignmentSettings object. Only teachers can perform this operation. +// ToGetRequestInformation specifies class-level assignments settings. // returns a *RequestInformation when successful func (m *ClassesItemAssignmentSettingsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentSettingsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -156,7 +150,7 @@ func (m *ClassesItemAssignmentSettingsRequestBuilder) ToGetRequestInformation(ct requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an educationAssignmentSettings object. Only teachers can update these settings. +// ToPatchRequestInformation update the navigation property assignmentSettings in education // returns a *RequestInformation when successful func (m *ClassesItemAssignmentSettingsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentSettingsable, requestConfiguration *ClassesItemAssignmentSettingsRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/classes_item_assignments_delta_request_builder.go b/education/classes_item_assignments_delta_request_builder.go index 8b062a1edb9..db26e733024 100644 --- a/education/classes_item_assignments_delta_request_builder.go +++ b/education/classes_item_assignments_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ClassesItemAssignmentsDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ClassesItemAssignmentsDeltaRequestBuilderGetQueryParameters invoke function delta +// ClassesItemAssignmentsDeltaRequestBuilderGetQueryParameters get a list of newly-created or updated assignments without reading the entire collection. A teacher or an application running with application permissions can see all assignment objects for the class. Students can only see assignments that are assigned to them. type ClassesItemAssignmentsDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewClassesItemAssignmentsDeltaRequestBuilder(rawUrl string, requestAdapter urlParams["request-raw-url"] = rawUrl return NewClassesItemAssignmentsDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get get a list of newly-created or updated assignments without reading the entire collection. A teacher or an application running with application permissions can see all assignment objects for the class. Students can only see assignments that are assigned to them. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ClassesItemAssignmentsDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-delta?view=graph-rest-beta func (m *ClassesItemAssignmentsDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemAssignmentsDeltaRequestBuilderGetRequestConfiguration)(ClassesItemAssignmentsDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ClassesItemAssignmentsDeltaRequestBuilder) Get(ctx context.Context, req } return res.(ClassesItemAssignmentsDeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse get a list of newly-created or updated assignments without reading the entire collection. A teacher or an application running with application permissions can see all assignment objects for the class. Students can only see assignments that are assigned to them. // returns a ClassesItemAssignmentsDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-delta?view=graph-rest-beta func (m *ClassesItemAssignmentsDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ClassesItemAssignmentsDeltaRequestBuilderGetRequestConfiguration)(ClassesItemAssignmentsDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ClassesItemAssignmentsDeltaRequestBuilder) GetAsDeltaGetResponse(ctx co } return res.(ClassesItemAssignmentsDeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation get a list of newly-created or updated assignments without reading the entire collection. A teacher or an application running with application permissions can see all assignment objects for the class. Students can only see assignments that are assigned to them. // returns a *RequestInformation when successful func (m *ClassesItemAssignmentsDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/classes_item_assignments_education_assignment_item_request_builder.go b/education/classes_item_assignments_education_assignment_item_request_builder.go index d980c8d1e80..ccfb873672c 100644 --- a/education/classes_item_assignments_education_assignment_item_request_builder.go +++ b/education/classes_item_assignments_education_assignment_item_request_builder.go @@ -18,7 +18,7 @@ type ClassesItemAssignmentsEducationAssignmentItemRequestBuilderDeleteRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ClassesItemAssignmentsEducationAssignmentItemRequestBuilderGetQueryParameters get the properties and relationships of an assignment. Only teachers, students, and applications with application permissions can perform this operation. Students can only see assignments assigned to them; teachers and applications with application permissions can see all assignments in a class. You can use the Prefer header in your request to get the inactive status in case the assignment is deactivated; otherwise, the response value for the status property is unknownFutureValue. +// ClassesItemAssignmentsEducationAssignmentItemRequestBuilderGetQueryParameters all assignments associated with this class. Nullable. type ClassesItemAssignmentsEducationAssignmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -69,11 +69,8 @@ func NewClassesItemAssignmentsEducationAssignmentItemRequestBuilder(rawUrl strin func (m *ClassesItemAssignmentsEducationAssignmentItemRequestBuilder) Deactivate()(*ClassesItemAssignmentsItemDeactivateRequestBuilder) { return NewClassesItemAssignmentsItemDeactivateRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Delete delete an existing assignment. Only teachers within a class can delete assignments. +// Delete delete navigation property assignments for education // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-delete?view=graph-rest-1.0 func (m *ClassesItemAssignmentsEducationAssignmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ClassesItemAssignmentsEducationAssignmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -88,12 +85,9 @@ func (m *ClassesItemAssignmentsEducationAssignmentItemRequestBuilder) Delete(ctx } return nil } -// Get get the properties and relationships of an assignment. Only teachers, students, and applications with application permissions can perform this operation. Students can only see assignments assigned to them; teachers and applications with application permissions can see all assignments in a class. You can use the Prefer header in your request to get the inactive status in case the assignment is deactivated; otherwise, the response value for the status property is unknownFutureValue. +// Get all assignments associated with this class. Nullable. // returns a EducationAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-get?view=graph-rest-1.0 func (m *ClassesItemAssignmentsEducationAssignmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemAssignmentsEducationAssignmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -121,12 +115,9 @@ func (m *ClassesItemAssignmentsEducationAssignmentItemRequestBuilder) GradingCat func (m *ClassesItemAssignmentsEducationAssignmentItemRequestBuilder) GradingScheme()(*ClassesItemAssignmentsItemGradingSchemeRequestBuilder) { return NewClassesItemAssignmentsItemGradingSchemeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update an educationAssignment object. Only teachers in the class can do this. You can't use a PATCH request to change the status of an assignment. Use the publish action to change the assignment status. +// Patch update the navigation property assignments in education // returns a EducationAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-update?view=graph-rest-1.0 func (m *ClassesItemAssignmentsEducationAssignmentItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentable, requestConfiguration *ClassesItemAssignmentsEducationAssignmentItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -174,7 +165,7 @@ func (m *ClassesItemAssignmentsEducationAssignmentItemRequestBuilder) SetUpResou func (m *ClassesItemAssignmentsEducationAssignmentItemRequestBuilder) Submissions()(*ClassesItemAssignmentsItemSubmissionsRequestBuilder) { return NewClassesItemAssignmentsItemSubmissionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete an existing assignment. Only teachers within a class can delete assignments. +// ToDeleteRequestInformation delete navigation property assignments for education // returns a *RequestInformation when successful func (m *ClassesItemAssignmentsEducationAssignmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsEducationAssignmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -185,7 +176,7 @@ func (m *ClassesItemAssignmentsEducationAssignmentItemRequestBuilder) ToDeleteRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties and relationships of an assignment. Only teachers, students, and applications with application permissions can perform this operation. Students can only see assignments assigned to them; teachers and applications with application permissions can see all assignments in a class. You can use the Prefer header in your request to get the inactive status in case the assignment is deactivated; otherwise, the response value for the status property is unknownFutureValue. +// ToGetRequestInformation all assignments associated with this class. Nullable. // returns a *RequestInformation when successful func (m *ClassesItemAssignmentsEducationAssignmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsEducationAssignmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -199,7 +190,7 @@ func (m *ClassesItemAssignmentsEducationAssignmentItemRequestBuilder) ToGetReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update an educationAssignment object. Only teachers in the class can do this. You can't use a PATCH request to change the status of an assignment. Use the publish action to change the assignment status. +// ToPatchRequestInformation update the navigation property assignments in education // returns a *RequestInformation when successful func (m *ClassesItemAssignmentsEducationAssignmentItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentable, requestConfiguration *ClassesItemAssignmentsEducationAssignmentItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/classes_item_assignments_item_activate_request_builder.go b/education/classes_item_assignments_item_activate_request_builder.go index 69777ad9b58..f172f2681c9 100644 --- a/education/classes_item_assignments_item_activate_request_builder.go +++ b/education/classes_item_assignments_item_activate_request_builder.go @@ -36,7 +36,7 @@ func NewClassesItemAssignmentsItemActivateRequestBuilder(rawUrl string, requestA // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-activate?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-activate?view=graph-rest-beta func (m *ClassesItemAssignmentsItemActivateRequestBuilder) Post(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemActivateRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/education/classes_item_assignments_item_categories_delta_request_builder.go b/education/classes_item_assignments_item_categories_delta_request_builder.go index 0c210bedc44..6fa30468b23 100644 --- a/education/classes_item_assignments_item_categories_delta_request_builder.go +++ b/education/classes_item_assignments_item_categories_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ClassesItemAssignmentsItemCategoriesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ClassesItemAssignmentsItemCategoriesDeltaRequestBuilderGetQueryParameters invoke function delta +// ClassesItemAssignmentsItemCategoriesDeltaRequestBuilderGetQueryParameters get a list of newly created or updated educationCategory objects without performing a full read of the collection. type ClassesItemAssignmentsItemCategoriesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewClassesItemAssignmentsItemCategoriesDeltaRequestBuilder(rawUrl string, r urlParams["request-raw-url"] = rawUrl return NewClassesItemAssignmentsItemCategoriesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get get a list of newly created or updated educationCategory objects without performing a full read of the collection. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ClassesItemAssignmentsItemCategoriesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/educationcategory-delta?view=graph-rest-beta func (m *ClassesItemAssignmentsItemCategoriesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemCategoriesDeltaRequestBuilderGetRequestConfiguration)(ClassesItemAssignmentsItemCategoriesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ClassesItemAssignmentsItemCategoriesDeltaRequestBuilder) Get(ctx contex } return res.(ClassesItemAssignmentsItemCategoriesDeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse get a list of newly created or updated educationCategory objects without performing a full read of the collection. // returns a ClassesItemAssignmentsItemCategoriesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/educationcategory-delta?view=graph-rest-beta func (m *ClassesItemAssignmentsItemCategoriesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemCategoriesDeltaRequestBuilderGetRequestConfiguration)(ClassesItemAssignmentsItemCategoriesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ClassesItemAssignmentsItemCategoriesDeltaRequestBuilder) GetAsDeltaGetR } return res.(ClassesItemAssignmentsItemCategoriesDeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation get a list of newly created or updated educationCategory objects without performing a full read of the collection. // returns a *RequestInformation when successful func (m *ClassesItemAssignmentsItemCategoriesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemCategoriesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/classes_item_assignments_item_categories_ref_request_builder.go b/education/classes_item_assignments_item_categories_ref_request_builder.go index 7fc9fcd6322..83a0e2d5dca 100644 --- a/education/classes_item_assignments_item_categories_ref_request_builder.go +++ b/education/classes_item_assignments_item_categories_ref_request_builder.go @@ -25,7 +25,7 @@ type ClassesItemAssignmentsItemCategoriesRefRequestBuilderDeleteRequestConfigura // Request query parameters QueryParameters *ClassesItemAssignmentsItemCategoriesRefRequestBuilderDeleteQueryParameters } -// ClassesItemAssignmentsItemCategoriesRefRequestBuilderGetQueryParameters list all categories for an assignment. Only teachers, students, and applications with application permissions can perform this operation. +// ClassesItemAssignmentsItemCategoriesRefRequestBuilderGetQueryParameters when set, enables users to easily find assignments of a given type. Read-only. Nullable. type ClassesItemAssignmentsItemCategoriesRefRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -85,12 +85,9 @@ func (m *ClassesItemAssignmentsItemCategoriesRefRequestBuilder) Delete(ctx conte } return nil } -// Get list all categories for an assignment. Only teachers, students, and applications with application permissions can perform this operation. +// Get when set, enables users to easily find assignments of a given type. Read-only. Nullable. // returns a StringCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-list-categories?view=graph-rest-1.0 func (m *ClassesItemAssignmentsItemCategoriesRefRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemCategoriesRefRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -138,7 +135,7 @@ func (m *ClassesItemAssignmentsItemCategoriesRefRequestBuilder) ToDeleteRequestI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation list all categories for an assignment. Only teachers, students, and applications with application permissions can perform this operation. +// ToGetRequestInformation when set, enables users to easily find assignments of a given type. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ClassesItemAssignmentsItemCategoriesRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemCategoriesRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/categories/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) diff --git a/education/classes_item_assignments_item_categories_request_builder.go b/education/classes_item_assignments_item_categories_request_builder.go index 3738b59615c..514e2b222c1 100644 --- a/education/classes_item_assignments_item_categories_request_builder.go +++ b/education/classes_item_assignments_item_categories_request_builder.go @@ -11,7 +11,7 @@ import ( type ClassesItemAssignmentsItemCategoriesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ClassesItemAssignmentsItemCategoriesRequestBuilderGetQueryParameters list all categories for an assignment. Only teachers, students, and applications with application permissions can perform this operation. +// ClassesItemAssignmentsItemCategoriesRequestBuilderGetQueryParameters when set, enables users to easily find assignments of a given type. Read-only. Nullable. type ClassesItemAssignmentsItemCategoriesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *ClassesItemAssignmentsItemCategoriesRequestBuilder) Count()(*ClassesIte func (m *ClassesItemAssignmentsItemCategoriesRequestBuilder) Delta()(*ClassesItemAssignmentsItemCategoriesDeltaRequestBuilder) { return NewClassesItemAssignmentsItemCategoriesDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list all categories for an assignment. Only teachers, students, and applications with application permissions can perform this operation. +// Get when set, enables users to easily find assignments of a given type. Read-only. Nullable. // returns a EducationCategoryCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-list-categories?view=graph-rest-1.0 func (m *ClassesItemAssignmentsItemCategoriesRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemCategoriesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationCategoryCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *ClassesItemAssignmentsItemCategoriesRequestBuilder) Post(ctx context.Co func (m *ClassesItemAssignmentsItemCategoriesRequestBuilder) Ref()(*ClassesItemAssignmentsItemCategoriesRefRequestBuilder) { return NewClassesItemAssignmentsItemCategoriesRefRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation list all categories for an assignment. Only teachers, students, and applications with application permissions can perform this operation. +// ToGetRequestInformation when set, enables users to easily find assignments of a given type. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ClassesItemAssignmentsItemCategoriesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemCategoriesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/classes_item_assignments_item_deactivate_request_builder.go b/education/classes_item_assignments_item_deactivate_request_builder.go index b33c0735bb5..0741f42c64e 100644 --- a/education/classes_item_assignments_item_deactivate_request_builder.go +++ b/education/classes_item_assignments_item_deactivate_request_builder.go @@ -36,7 +36,7 @@ func NewClassesItemAssignmentsItemDeactivateRequestBuilder(rawUrl string, reques // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-deactivate?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-deactivate?view=graph-rest-beta func (m *ClassesItemAssignmentsItemDeactivateRequestBuilder) Post(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemDeactivateRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/education/classes_item_assignments_item_publish_request_builder.go b/education/classes_item_assignments_item_publish_request_builder.go index f26d44f3db8..149cd452ede 100644 --- a/education/classes_item_assignments_item_publish_request_builder.go +++ b/education/classes_item_assignments_item_publish_request_builder.go @@ -36,7 +36,7 @@ func NewClassesItemAssignmentsItemPublishRequestBuilder(rawUrl string, requestAd // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-publish?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-publish?view=graph-rest-beta func (m *ClassesItemAssignmentsItemPublishRequestBuilder) Post(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemPublishRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/education/classes_item_assignments_item_resources_education_assignment_resource_item_request_builder.go b/education/classes_item_assignments_item_resources_education_assignment_resource_item_request_builder.go index 9355cc5c32f..55a3539d88c 100644 --- a/education/classes_item_assignments_item_resources_education_assignment_resource_item_request_builder.go +++ b/education/classes_item_assignments_item_resources_education_assignment_resource_item_request_builder.go @@ -18,7 +18,7 @@ type ClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilderGetQueryParameters get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. +// ClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilderGetQueryParameters learning objects that are associated with this assignment. Only teachers can modify this list. Nullable. type ClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemReques urlParams["request-raw-url"] = rawUrl return NewClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a specific educationAssignmentResource attached to an assignment. Only teachers in the class can remove a resource. After an assignment has been published to students, teachers can't remove resources that are marked as 'distributeToStudents'. +// Delete delete navigation property resources for education // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignmentresource-delete?view=graph-rest-1.0 func (m *ClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *ClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemReque func (m *ClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder) DependentResources()(*ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder) { return NewClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. +// Get learning objects that are associated with this assignment. Only teachers can modify this list. Nullable. // returns a EducationAssignmentResourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignmentresource-get?view=graph-rest-1.0 func (m *ClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -121,7 +115,7 @@ func (m *ClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemReque } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceable), nil } -// ToDeleteRequestInformation delete a specific educationAssignmentResource attached to an assignment. Only teachers in the class can remove a resource. After an assignment has been published to students, teachers can't remove resources that are marked as 'distributeToStudents'. +// ToDeleteRequestInformation delete navigation property resources for education // returns a *RequestInformation when successful func (m *ClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -132,7 +126,7 @@ func (m *ClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. +// ToGetRequestInformation learning objects that are associated with this assignment. Only teachers can modify this list. Nullable. // returns a *RequestInformation when successful func (m *ClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/classes_item_assignments_item_resources_request_builder.go b/education/classes_item_assignments_item_resources_request_builder.go index 9e55d6d87e3..4aa7b3a8c6a 100644 --- a/education/classes_item_assignments_item_resources_request_builder.go +++ b/education/classes_item_assignments_item_resources_request_builder.go @@ -11,7 +11,7 @@ import ( type ClassesItemAssignmentsItemResourcesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ClassesItemAssignmentsItemResourcesRequestBuilderGetQueryParameters get all the educationAssignmentResource objects for an assignment. Only teachers, students, and applications with application permissions can perform this operation. +// ClassesItemAssignmentsItemResourcesRequestBuilderGetQueryParameters learning objects that are associated with this assignment. Only teachers can modify this list. Nullable. type ClassesItemAssignmentsItemResourcesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewClassesItemAssignmentsItemResourcesRequestBuilder(rawUrl string, request func (m *ClassesItemAssignmentsItemResourcesRequestBuilder) Count()(*ClassesItemAssignmentsItemResourcesCountRequestBuilder) { return NewClassesItemAssignmentsItemResourcesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get all the educationAssignmentResource objects for an assignment. Only teachers, students, and applications with application permissions can perform this operation. +// Get learning objects that are associated with this assignment. Only teachers can modify this list. Nullable. // returns a EducationAssignmentResourceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-list-resources?view=graph-rest-1.0 func (m *ClassesItemAssignmentsItemResourcesRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemResourcesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ClassesItemAssignmentsItemResourcesRequestBuilder) Get(ctx context.Cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceCollectionResponseable), nil } -// Post create an assignment resource. Only teachers can perform this operation. You can create the following types of assignment resources: Every resource has an @odata.type property to indicate which type of resource is being created. +// Post create new navigation property to resources for education // returns a EducationAssignmentResourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-post-resources?view=graph-rest-1.0 func (m *ClassesItemAssignmentsItemResourcesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceable, requestConfiguration *ClassesItemAssignmentsItemResourcesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ClassesItemAssignmentsItemResourcesRequestBuilder) Post(ctx context.Con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceable), nil } -// ToGetRequestInformation get all the educationAssignmentResource objects for an assignment. Only teachers, students, and applications with application permissions can perform this operation. +// ToGetRequestInformation learning objects that are associated with this assignment. Only teachers can modify this list. Nullable. // returns a *RequestInformation when successful func (m *ClassesItemAssignmentsItemResourcesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemResourcesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ClassesItemAssignmentsItemResourcesRequestBuilder) ToGetRequestInformat requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an assignment resource. Only teachers can perform this operation. You can create the following types of assignment resources: Every resource has an @odata.type property to indicate which type of resource is being created. +// ToPostRequestInformation create new navigation property to resources for education // returns a *RequestInformation when successful func (m *ClassesItemAssignmentsItemResourcesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceable, requestConfiguration *ClassesItemAssignmentsItemResourcesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/classes_item_assignments_item_rubric_ref_request_builder.go b/education/classes_item_assignments_item_rubric_ref_request_builder.go index 870a7801a9d..40050e9ddf9 100644 --- a/education/classes_item_assignments_item_rubric_ref_request_builder.go +++ b/education/classes_item_assignments_item_rubric_ref_request_builder.go @@ -45,11 +45,8 @@ func NewClassesItemAssignmentsItemRubricRefRequestBuilder(rawUrl string, request urlParams["request-raw-url"] = rawUrl return NewClassesItemAssignmentsItemRubricRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. +// Delete delete ref of navigation property rubric for education // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-delete-rubric?view=graph-rest-1.0 func (m *ClassesItemAssignmentsItemRubricRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemRubricRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -64,12 +61,9 @@ func (m *ClassesItemAssignmentsItemRubricRefRequestBuilder) Delete(ctx context.C } return nil } -// Get get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. +// Get when set, the grading rubric attached to this assignment. // returns a *string when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-get-rubric?view=graph-rest-1.0 func (m *ClassesItemAssignmentsItemRubricRefRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemRubricRefRequestBuilderGetRequestConfiguration)(*string, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -87,11 +81,8 @@ func (m *ClassesItemAssignmentsItemRubricRefRequestBuilder) Get(ctx context.Cont } return res.(*string), nil } -// Put attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. +// Put update the ref of navigation property rubric in education // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-put-rubric?view=graph-rest-1.0 func (m *ClassesItemAssignmentsItemRubricRefRequestBuilder) Put(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceUpdateable, requestConfiguration *ClassesItemAssignmentsItemRubricRefRequestBuilderPutRequestConfiguration)(error) { requestInfo, err := m.ToPutRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -106,7 +97,7 @@ func (m *ClassesItemAssignmentsItemRubricRefRequestBuilder) Put(ctx context.Cont } return nil } -// ToDeleteRequestInformation delete an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. +// ToDeleteRequestInformation delete ref of navigation property rubric for education // returns a *RequestInformation when successful func (m *ClassesItemAssignmentsItemRubricRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemRubricRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -117,7 +108,7 @@ func (m *ClassesItemAssignmentsItemRubricRefRequestBuilder) ToDeleteRequestInfor requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. +// ToGetRequestInformation when set, the grading rubric attached to this assignment. // returns a *RequestInformation when successful func (m *ClassesItemAssignmentsItemRubricRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemRubricRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -128,7 +119,7 @@ func (m *ClassesItemAssignmentsItemRubricRefRequestBuilder) ToGetRequestInformat requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPutRequestInformation attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. +// ToPutRequestInformation update the ref of navigation property rubric in education // returns a *RequestInformation when successful func (m *ClassesItemAssignmentsItemRubricRefRequestBuilder) ToPutRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceUpdateable, requestConfiguration *ClassesItemAssignmentsItemRubricRefRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/classes_item_assignments_item_rubric_request_builder.go b/education/classes_item_assignments_item_rubric_request_builder.go index f775ce239e5..41ff98137c7 100644 --- a/education/classes_item_assignments_item_rubric_request_builder.go +++ b/education/classes_item_assignments_item_rubric_request_builder.go @@ -18,7 +18,7 @@ type ClassesItemAssignmentsItemRubricRequestBuilderDeleteRequestConfiguration st // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ClassesItemAssignmentsItemRubricRequestBuilderGetQueryParameters get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. +// ClassesItemAssignmentsItemRubricRequestBuilderGetQueryParameters when set, the grading rubric attached to this assignment. type ClassesItemAssignmentsItemRubricRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewClassesItemAssignmentsItemRubricRequestBuilder(rawUrl string, requestAda urlParams["request-raw-url"] = rawUrl return NewClassesItemAssignmentsItemRubricRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. +// Delete delete navigation property rubric for education // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-delete-rubric?view=graph-rest-1.0 func (m *ClassesItemAssignmentsItemRubricRequestBuilder) Delete(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemRubricRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ClassesItemAssignmentsItemRubricRequestBuilder) Delete(ctx context.Cont } return nil } -// Get get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. +// Get when set, the grading rubric attached to this assignment. // returns a EducationRubricable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-get-rubric?view=graph-rest-1.0 func (m *ClassesItemAssignmentsItemRubricRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemRubricRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationRubricable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ClassesItemAssignmentsItemRubricRequestBuilder) Get(ctx context.Context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationRubricable), nil } -// Patch attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. +// Patch update the navigation property rubric in education // returns a EducationRubricable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-put-rubric?view=graph-rest-1.0 func (m *ClassesItemAssignmentsItemRubricRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationRubricable, requestConfiguration *ClassesItemAssignmentsItemRubricRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationRubricable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -124,7 +115,7 @@ func (m *ClassesItemAssignmentsItemRubricRequestBuilder) Patch(ctx context.Conte func (m *ClassesItemAssignmentsItemRubricRequestBuilder) Ref()(*ClassesItemAssignmentsItemRubricRefRequestBuilder) { return NewClassesItemAssignmentsItemRubricRefRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. +// ToDeleteRequestInformation delete navigation property rubric for education // returns a *RequestInformation when successful func (m *ClassesItemAssignmentsItemRubricRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemRubricRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -135,7 +126,7 @@ func (m *ClassesItemAssignmentsItemRubricRequestBuilder) ToDeleteRequestInformat requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. +// ToGetRequestInformation when set, the grading rubric attached to this assignment. // returns a *RequestInformation when successful func (m *ClassesItemAssignmentsItemRubricRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemRubricRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -149,7 +140,7 @@ func (m *ClassesItemAssignmentsItemRubricRequestBuilder) ToGetRequestInformation requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. +// ToPatchRequestInformation update the navigation property rubric in education // returns a *RequestInformation when successful func (m *ClassesItemAssignmentsItemRubricRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationRubricable, requestConfiguration *ClassesItemAssignmentsItemRubricRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/classes_item_assignments_item_set_up_feedback_resources_folder_request_builder.go b/education/classes_item_assignments_item_set_up_feedback_resources_folder_request_builder.go index 4d8c4c1237c..a3656267502 100644 --- a/education/classes_item_assignments_item_set_up_feedback_resources_folder_request_builder.go +++ b/education/classes_item_assignments_item_set_up_feedback_resources_folder_request_builder.go @@ -36,7 +36,7 @@ func NewClassesItemAssignmentsItemSetUpFeedbackResourcesFolderRequestBuilder(raw // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-setupfeedbackresourcesfolder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-setupfeedbackresourcesfolder?view=graph-rest-beta func (m *ClassesItemAssignmentsItemSetUpFeedbackResourcesFolderRequestBuilder) Post(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSetUpFeedbackResourcesFolderRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/education/classes_item_assignments_item_set_up_resources_folder_request_builder.go b/education/classes_item_assignments_item_set_up_resources_folder_request_builder.go index 424bfc28caa..1e721d2e6c5 100644 --- a/education/classes_item_assignments_item_set_up_resources_folder_request_builder.go +++ b/education/classes_item_assignments_item_set_up_resources_folder_request_builder.go @@ -36,7 +36,7 @@ func NewClassesItemAssignmentsItemSetUpResourcesFolderRequestBuilder(rawUrl stri // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-setupresourcesfolder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-setupresourcesfolder?view=graph-rest-beta func (m *ClassesItemAssignmentsItemSetUpResourcesFolderRequestBuilder) Post(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSetUpResourcesFolderRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/education/classes_item_assignments_item_submissions_education_submission_item_request_builder.go b/education/classes_item_assignments_item_submissions_education_submission_item_request_builder.go index 0e828ee66ce..bdecee441e0 100644 --- a/education/classes_item_assignments_item_submissions_education_submission_item_request_builder.go +++ b/education/classes_item_assignments_item_submissions_education_submission_item_request_builder.go @@ -18,7 +18,7 @@ type ClassesItemAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilderD // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ClassesItemAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilderGetQueryParameters retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released. Provide the header Prefer: include-unknown-enum-members to properly list submissions with the reassigned status. For details, see the examples section. +// ClassesItemAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilderGetQueryParameters once published, there is a submission object for each student representing their work and grade. Read-only. Nullable. type ClassesItemAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *ClassesItemAssignmentsItemSubmissionsEducationSubmissionItemRequestBuil func (m *ClassesItemAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilder) Excuse()(*ClassesItemAssignmentsItemSubmissionsItemExcuseRequestBuilder) { return NewClassesItemAssignmentsItemSubmissionsItemExcuseRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released. Provide the header Prefer: include-unknown-enum-members to properly list submissions with the reassigned status. For details, see the examples section. +// Get once published, there is a submission object for each student representing their work and grade. Read-only. Nullable. // returns a EducationSubmissionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationsubmission-get?view=graph-rest-1.0 func (m *ClassesItemAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -164,7 +161,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsEducationSubmissionItemRequestBuil requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released. Provide the header Prefer: include-unknown-enum-members to properly list submissions with the reassigned status. For details, see the examples section. +// ToGetRequestInformation once published, there is a submission object for each student representing their work and grade. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ClassesItemAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/classes_item_assignments_item_submissions_item_excuse_request_builder.go b/education/classes_item_assignments_item_submissions_item_excuse_request_builder.go index 8fcdb5a27c6..f2b947b26f1 100644 --- a/education/classes_item_assignments_item_submissions_item_excuse_request_builder.go +++ b/education/classes_item_assignments_item_submissions_item_excuse_request_builder.go @@ -36,7 +36,7 @@ func NewClassesItemAssignmentsItemSubmissionsItemExcuseRequestBuilder(rawUrl str // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/educationsubmission-excuse?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/educationsubmission-excuse?view=graph-rest-beta func (m *ClassesItemAssignmentsItemSubmissionsItemExcuseRequestBuilder) Post(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemExcuseRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/education/classes_item_assignments_item_submissions_item_outcomes_education_outcome_item_request_builder.go b/education/classes_item_assignments_item_submissions_item_outcomes_education_outcome_item_request_builder.go index bf643094ae5..a5551a82064 100644 --- a/education/classes_item_assignments_item_submissions_item_outcomes_education_outcome_item_request_builder.go +++ b/education/classes_item_assignments_item_submissions_item_outcomes_education_outcome_item_request_builder.go @@ -54,11 +54,8 @@ func NewClassesItemAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemReq urlParams["request-raw-url"] = rawUrl return NewClassesItemAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a feedback resource from a submission. This can only be done by a teacher. +// Delete delete navigation property outcomes for education // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationfeedbackresourceoutcome-delete?view=graph-rest-1.0 func (m *ClassesItemAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRe } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationOutcomeable), nil } -// Patch update the properties of an educationOutcome object. Only teachers can perform this operation. +// Patch update the navigation property outcomes in education // returns a EducationOutcomeable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationoutcome-update?view=graph-rest-1.0 func (m *ClassesItemAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationOutcomeable, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationOutcomeable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -116,7 +110,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRe } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationOutcomeable), nil } -// ToDeleteRequestInformation delete a feedback resource from a submission. This can only be done by a teacher. +// ToDeleteRequestInformation delete navigation property outcomes for education // returns a *RequestInformation when successful func (m *ClassesItemAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an educationOutcome object. Only teachers can perform this operation. +// ToPatchRequestInformation update the navigation property outcomes in education // returns a *RequestInformation when successful func (m *ClassesItemAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationOutcomeable, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/classes_item_assignments_item_submissions_item_outcomes_request_builder.go b/education/classes_item_assignments_item_submissions_item_outcomes_request_builder.go index efc57cf170a..ab1f0ac32aa 100644 --- a/education/classes_item_assignments_item_submissions_item_outcomes_request_builder.go +++ b/education/classes_item_assignments_item_submissions_item_outcomes_request_builder.go @@ -11,7 +11,7 @@ import ( type ClassesItemAssignmentsItemSubmissionsItemOutcomesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ClassesItemAssignmentsItemSubmissionsItemOutcomesRequestBuilderGetQueryParameters retrieve a list of educationOutcome objects. There are four types of outcomes: educationPointsOutcome, educationFeedbackOutcome, educationRubricOutcome, and educationFeedbackResourceOutcome. Only teachers, students, and applications with application permissions can perform this operation. A submission for a credit assignment (one that has no point value and no rubric) has an educationFeedbackOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for a points assignment (one that has a point value assigned) has both an educationFeedbackOutcome and an educationPointsOutcome. A submission for an assignment with an attached rubric, if the rubric is a credit rubric (no points), has an educationFeedbackOutcome and an educationRubricOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for an assignment with an attached rubric, if the rubric is a points rubric, has an educationFeedbackOutcome, an educationPointsOutcome, and an educationRubricOutcome. A submission for a feedback resource has an educationFeedbackResourceOutcome. All outcome types have a regular and a published property appropriate to that type of outcome; for example, points and publishedPoints, feedback and publishedFeedback. The regular property is the most recent value updated by the teacher; the published property is the most recent value returned to the student. +// ClassesItemAssignmentsItemSubmissionsItemOutcomesRequestBuilderGetQueryParameters get outcomes from education type ClassesItemAssignmentsItemSubmissionsItemOutcomesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewClassesItemAssignmentsItemSubmissionsItemOutcomesRequestBuilder(rawUrl s func (m *ClassesItemAssignmentsItemSubmissionsItemOutcomesRequestBuilder) Count()(*ClassesItemAssignmentsItemSubmissionsItemOutcomesCountRequestBuilder) { return NewClassesItemAssignmentsItemSubmissionsItemOutcomesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of educationOutcome objects. There are four types of outcomes: educationPointsOutcome, educationFeedbackOutcome, educationRubricOutcome, and educationFeedbackResourceOutcome. Only teachers, students, and applications with application permissions can perform this operation. A submission for a credit assignment (one that has no point value and no rubric) has an educationFeedbackOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for a points assignment (one that has a point value assigned) has both an educationFeedbackOutcome and an educationPointsOutcome. A submission for an assignment with an attached rubric, if the rubric is a credit rubric (no points), has an educationFeedbackOutcome and an educationRubricOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for an assignment with an attached rubric, if the rubric is a points rubric, has an educationFeedbackOutcome, an educationPointsOutcome, and an educationRubricOutcome. A submission for a feedback resource has an educationFeedbackResourceOutcome. All outcome types have a regular and a published property appropriate to that type of outcome; for example, points and publishedPoints, feedback and publishedFeedback. The regular property is the most recent value updated by the teacher; the published property is the most recent value returned to the student. +// Get get outcomes from education // returns a EducationOutcomeCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationsubmission-list-outcomes?view=graph-rest-1.0 func (m *ClassesItemAssignmentsItemSubmissionsItemOutcomesRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemOutcomesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationOutcomeCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemOutcomesRequestBuilder) Get(ct } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationOutcomeCollectionResponseable), nil } -// Post create a new feedback resource for a submission. Only a teacher can perform this operation. To create a new file-based resource, upload the file to the feedback resources folder associated with the assignment. If the file doesn't exist or is not in that folder, the POST request will fail. +// Post create new navigation property to outcomes for education // returns a EducationOutcomeable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationfeedbackresourceoutcome-post-outcomes?view=graph-rest-1.0 func (m *ClassesItemAssignmentsItemSubmissionsItemOutcomesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationOutcomeable, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemOutcomesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationOutcomeable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemOutcomesRequestBuilder) Post(c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationOutcomeable), nil } -// ToGetRequestInformation retrieve a list of educationOutcome objects. There are four types of outcomes: educationPointsOutcome, educationFeedbackOutcome, educationRubricOutcome, and educationFeedbackResourceOutcome. Only teachers, students, and applications with application permissions can perform this operation. A submission for a credit assignment (one that has no point value and no rubric) has an educationFeedbackOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for a points assignment (one that has a point value assigned) has both an educationFeedbackOutcome and an educationPointsOutcome. A submission for an assignment with an attached rubric, if the rubric is a credit rubric (no points), has an educationFeedbackOutcome and an educationRubricOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for an assignment with an attached rubric, if the rubric is a points rubric, has an educationFeedbackOutcome, an educationPointsOutcome, and an educationRubricOutcome. A submission for a feedback resource has an educationFeedbackResourceOutcome. All outcome types have a regular and a published property appropriate to that type of outcome; for example, points and publishedPoints, feedback and publishedFeedback. The regular property is the most recent value updated by the teacher; the published property is the most recent value returned to the student. +// ToGetRequestInformation get outcomes from education // returns a *RequestInformation when successful func (m *ClassesItemAssignmentsItemSubmissionsItemOutcomesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemOutcomesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemOutcomesRequestBuilder) ToGetR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new feedback resource for a submission. Only a teacher can perform this operation. To create a new file-based resource, upload the file to the feedback resources folder associated with the assignment. If the file doesn't exist or is not in that folder, the POST request will fail. +// ToPostRequestInformation create new navigation property to outcomes for education // returns a *RequestInformation when successful func (m *ClassesItemAssignmentsItemSubmissionsItemOutcomesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationOutcomeable, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemOutcomesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/classes_item_assignments_item_submissions_item_reassign_request_builder.go b/education/classes_item_assignments_item_submissions_item_reassign_request_builder.go index ef34766a805..3cd32d3c4e1 100644 --- a/education/classes_item_assignments_item_submissions_item_reassign_request_builder.go +++ b/education/classes_item_assignments_item_submissions_item_reassign_request_builder.go @@ -36,7 +36,7 @@ func NewClassesItemAssignmentsItemSubmissionsItemReassignRequestBuilder(rawUrl s // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/educationsubmission-reassign?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/educationsubmission-reassign?view=graph-rest-beta func (m *ClassesItemAssignmentsItemSubmissionsItemReassignRequestBuilder) Post(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemReassignRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/education/classes_item_assignments_item_submissions_item_resources_education_submission_resource_item_request_builder.go b/education/classes_item_assignments_item_submissions_item_resources_education_submission_resource_item_request_builder.go index 9e0c1324241..33c0c4ea56d 100644 --- a/education/classes_item_assignments_item_submissions_item_resources_education_submission_resource_item_request_builder.go +++ b/education/classes_item_assignments_item_submissions_item_resources_education_submission_resource_item_request_builder.go @@ -18,7 +18,7 @@ type ClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResour // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. +// ClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters get resources from education type ClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionRes urlParams["request-raw-url"] = rawUrl return NewClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an educationSubmissionResource from the submission. Only teachers and students can perform this operation. If the resource was copied from the assignment, a new copy of the resource will be created after the current copy is deleted. This allows you to 'reset' the resource to its original state. If the resource wasn't copied from the assignment but was added from the student, the resource is deleted. +// Delete delete navigation property resources for education // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationsubmissionresource-delete?view=graph-rest-1.0 func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionRe func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder) DependentResources()(*ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) { return NewClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. +// Get get resources from education // returns a EducationSubmissionResourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationsubmissionresource-get?view=graph-rest-1.0 func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -121,7 +115,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionRe } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable), nil } -// ToDeleteRequestInformation delete an educationSubmissionResource from the submission. Only teachers and students can perform this operation. If the resource was copied from the assignment, a new copy of the resource will be created after the current copy is deleted. This allows you to 'reset' the resource to its original state. If the resource wasn't copied from the assignment but was added from the student, the resource is deleted. +// ToDeleteRequestInformation delete navigation property resources for education // returns a *RequestInformation when successful func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -132,7 +126,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. +// ToGetRequestInformation get resources from education // returns a *RequestInformation when successful func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/classes_item_assignments_item_submissions_item_resources_request_builder.go b/education/classes_item_assignments_item_submissions_item_resources_request_builder.go index 12fe623a7ac..2de3e812e1b 100644 --- a/education/classes_item_assignments_item_submissions_item_resources_request_builder.go +++ b/education/classes_item_assignments_item_submissions_item_resources_request_builder.go @@ -11,7 +11,7 @@ import ( type ClassesItemAssignmentsItemSubmissionsItemResourcesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ClassesItemAssignmentsItemSubmissionsItemResourcesRequestBuilderGetQueryParameters list the resources associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. The educationSubmissionResource object is a wrapper around the actual resource object the student is working on. The wrapper also includes a pointer to the resources on the assignment if the resource was copied from the assignment during the assign process. These resources are the working copy of the assignment. The submittedResources are the resources that were officially submitted for grading. +// ClassesItemAssignmentsItemSubmissionsItemResourcesRequestBuilderGetQueryParameters get resources from education type ClassesItemAssignmentsItemSubmissionsItemResourcesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewClassesItemAssignmentsItemSubmissionsItemResourcesRequestBuilder(rawUrl func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesRequestBuilder) Count()(*ClassesItemAssignmentsItemSubmissionsItemResourcesCountRequestBuilder) { return NewClassesItemAssignmentsItemSubmissionsItemResourcesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list the resources associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. The educationSubmissionResource object is a wrapper around the actual resource object the student is working on. The wrapper also includes a pointer to the resources on the assignment if the resource was copied from the assignment during the assign process. These resources are the working copy of the assignment. The submittedResources are the resources that were officially submitted for grading. +// Get get resources from education // returns a EducationSubmissionResourceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationsubmission-list-resources?view=graph-rest-1.0 func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemResourcesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesRequestBuilder) Get(c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceCollectionResponseable), nil } -// Post add a educationSubmissionResource to a submission resource list. Only teachers and students can perform this operation. The operation will not succeed if the allowStudentsToAddResources flag is not set to true. To create a new file-based resource, upload the file to the resources folder associated with the submission. If the file doesn't exist or is not in that folder, the POST request will fail. +// Post create new navigation property to resources for education // returns a EducationSubmissionResourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationsubmission-post-resources?view=graph-rest-1.0 func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemResourcesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesRequestBuilder) Post( } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable), nil } -// ToGetRequestInformation list the resources associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. The educationSubmissionResource object is a wrapper around the actual resource object the student is working on. The wrapper also includes a pointer to the resources on the assignment if the resource was copied from the assignment during the assign process. These resources are the working copy of the assignment. The submittedResources are the resources that were officially submitted for grading. +// ToGetRequestInformation get resources from education // returns a *RequestInformation when successful func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemResourcesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesRequestBuilder) ToGet requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add a educationSubmissionResource to a submission resource list. Only teachers and students can perform this operation. The operation will not succeed if the allowStudentsToAddResources flag is not set to true. To create a new file-based resource, upload the file to the resources folder associated with the submission. If the file doesn't exist or is not in that folder, the POST request will fail. +// ToPostRequestInformation create new navigation property to resources for education // returns a *RequestInformation when successful func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemResourcesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/classes_item_assignments_item_submissions_item_return_request_builder.go b/education/classes_item_assignments_item_submissions_item_return_request_builder.go index 925e09014e1..3c6035adc26 100644 --- a/education/classes_item_assignments_item_submissions_item_return_request_builder.go +++ b/education/classes_item_assignments_item_submissions_item_return_request_builder.go @@ -36,7 +36,7 @@ func NewClassesItemAssignmentsItemSubmissionsItemReturnRequestBuilder(rawUrl str // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/educationsubmission-return?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/educationsubmission-return?view=graph-rest-beta func (m *ClassesItemAssignmentsItemSubmissionsItemReturnRequestBuilder) Post(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemReturnRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/education/classes_item_assignments_item_submissions_item_set_up_resources_folder_request_builder.go b/education/classes_item_assignments_item_submissions_item_set_up_resources_folder_request_builder.go index c181acbd515..13705d09e79 100644 --- a/education/classes_item_assignments_item_submissions_item_set_up_resources_folder_request_builder.go +++ b/education/classes_item_assignments_item_submissions_item_set_up_resources_folder_request_builder.go @@ -36,7 +36,7 @@ func NewClassesItemAssignmentsItemSubmissionsItemSetUpResourcesFolderRequestBuil // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/educationsubmission-setupresourcesfolder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/educationsubmission-setupresourcesfolder?view=graph-rest-beta func (m *ClassesItemAssignmentsItemSubmissionsItemSetUpResourcesFolderRequestBuilder) Post(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemSetUpResourcesFolderRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/education/classes_item_assignments_item_submissions_item_submit_request_builder.go b/education/classes_item_assignments_item_submissions_item_submit_request_builder.go index 367b56be4a1..83dc3b7b3f5 100644 --- a/education/classes_item_assignments_item_submissions_item_submit_request_builder.go +++ b/education/classes_item_assignments_item_submissions_item_submit_request_builder.go @@ -36,7 +36,7 @@ func NewClassesItemAssignmentsItemSubmissionsItemSubmitRequestBuilder(rawUrl str // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/educationsubmission-submit?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/educationsubmission-submit?view=graph-rest-beta func (m *ClassesItemAssignmentsItemSubmissionsItemSubmitRequestBuilder) Post(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemSubmitRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/education/classes_item_assignments_item_submissions_item_unsubmit_request_builder.go b/education/classes_item_assignments_item_submissions_item_unsubmit_request_builder.go index bf9ef5df3f6..638871592b9 100644 --- a/education/classes_item_assignments_item_submissions_item_unsubmit_request_builder.go +++ b/education/classes_item_assignments_item_submissions_item_unsubmit_request_builder.go @@ -36,7 +36,7 @@ func NewClassesItemAssignmentsItemSubmissionsItemUnsubmitRequestBuilder(rawUrl s // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/educationsubmission-unsubmit?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/educationsubmission-unsubmit?view=graph-rest-beta func (m *ClassesItemAssignmentsItemSubmissionsItemUnsubmitRequestBuilder) Post(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsItemUnsubmitRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/education/classes_item_assignments_item_submissions_request_builder.go b/education/classes_item_assignments_item_submissions_request_builder.go index fbd6050d2e2..97a4a49301e 100644 --- a/education/classes_item_assignments_item_submissions_request_builder.go +++ b/education/classes_item_assignments_item_submissions_request_builder.go @@ -11,7 +11,7 @@ import ( type ClassesItemAssignmentsItemSubmissionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ClassesItemAssignmentsItemSubmissionsRequestBuilderGetQueryParameters list all the submission objects associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can get all the submissions, a student can only get submissions that they're associated with. Provide the header Prefer: include-unknown-enum-members to properly list submissions with the reassigned status. For details, see the examples section. +// ClassesItemAssignmentsItemSubmissionsRequestBuilderGetQueryParameters once published, there is a submission object for each student representing their work and grade. Read-only. Nullable. type ClassesItemAssignmentsItemSubmissionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewClassesItemAssignmentsItemSubmissionsRequestBuilder(rawUrl string, reque func (m *ClassesItemAssignmentsItemSubmissionsRequestBuilder) Count()(*ClassesItemAssignmentsItemSubmissionsCountRequestBuilder) { return NewClassesItemAssignmentsItemSubmissionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list all the submission objects associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can get all the submissions, a student can only get submissions that they're associated with. Provide the header Prefer: include-unknown-enum-members to properly list submissions with the reassigned status. For details, see the examples section. +// Get once published, there is a submission object for each student representing their work and grade. Read-only. Nullable. // returns a EducationSubmissionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-list-submissions?view=graph-rest-1.0 func (m *ClassesItemAssignmentsItemSubmissionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsRequestBuilder) Post(ctx context.C } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionable), nil } -// ToGetRequestInformation list all the submission objects associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can get all the submissions, a student can only get submissions that they're associated with. Provide the header Prefer: include-unknown-enum-members to properly list submissions with the reassigned status. For details, see the examples section. +// ToGetRequestInformation once published, there is a submission object for each student representing their work and grade. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ClassesItemAssignmentsItemSubmissionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/classes_item_assignments_request_builder.go b/education/classes_item_assignments_request_builder.go index 71c42712c96..c3a72f6ce81 100644 --- a/education/classes_item_assignments_request_builder.go +++ b/education/classes_item_assignments_request_builder.go @@ -11,7 +11,7 @@ import ( type ClassesItemAssignmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ClassesItemAssignmentsRequestBuilderGetQueryParameters retrieve a list of educationAssignment objects. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application executing with application permissions can see all assignment objects for the class. Students can only see assignments that are assigned to them. +// ClassesItemAssignmentsRequestBuilderGetQueryParameters all assignments associated with this class. Nullable. type ClassesItemAssignmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *ClassesItemAssignmentsRequestBuilder) Count()(*ClassesItemAssignmentsCo func (m *ClassesItemAssignmentsRequestBuilder) Delta()(*ClassesItemAssignmentsDeltaRequestBuilder) { return NewClassesItemAssignmentsDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of educationAssignment objects. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application executing with application permissions can see all assignment objects for the class. Students can only see assignments that are assigned to them. +// Get all assignments associated with this class. Nullable. // returns a EducationAssignmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationclass-list-assignments?view=graph-rest-1.0 func (m *ClassesItemAssignmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemAssignmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *ClassesItemAssignmentsRequestBuilder) Get(ctx context.Context, requestC } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentCollectionResponseable), nil } -// Post create a new assignment. Only teachers in a class can create an assignment. Assignments start in the Draft state, which means that students will not see the assignment until publication. +// Post create new navigation property to assignments for education // returns a EducationAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationclass-post-assignments?view=graph-rest-1.0 func (m *ClassesItemAssignmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentable, requestConfiguration *ClassesItemAssignmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ClassesItemAssignmentsRequestBuilder) Post(ctx context.Context, body ie } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentable), nil } -// ToGetRequestInformation retrieve a list of educationAssignment objects. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application executing with application permissions can see all assignment objects for the class. Students can only see assignments that are assigned to them. +// ToGetRequestInformation all assignments associated with this class. Nullable. // returns a *RequestInformation when successful func (m *ClassesItemAssignmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ClassesItemAssignmentsRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new assignment. Only teachers in a class can create an assignment. Assignments start in the Draft state, which means that students will not see the assignment until publication. +// ToPostRequestInformation create new navigation property to assignments for education // returns a *RequestInformation when successful func (m *ClassesItemAssignmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentable, requestConfiguration *ClassesItemAssignmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/classes_item_group_request_builder.go b/education/classes_item_group_request_builder.go index dc7530bb588..8ce03e2e22d 100644 --- a/education/classes_item_group_request_builder.go +++ b/education/classes_item_group_request_builder.go @@ -11,7 +11,7 @@ import ( type ClassesItemGroupRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ClassesItemGroupRequestBuilderGetQueryParameters retrieve the Microsoft 365 group that corresponds to this educationClass. +// ClassesItemGroupRequestBuilderGetQueryParameters get group from education type ClassesItemGroupRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -40,12 +40,9 @@ func NewClassesItemGroupRequestBuilder(rawUrl string, requestAdapter i2ae4187f7d urlParams["request-raw-url"] = rawUrl return NewClassesItemGroupRequestBuilderInternal(urlParams, requestAdapter) } -// Get retrieve the Microsoft 365 group that corresponds to this educationClass. +// Get get group from education // 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/educationclass-get-group?view=graph-rest-1.0 func (m *ClassesItemGroupRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemGroupRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Groupable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -68,7 +65,7 @@ func (m *ClassesItemGroupRequestBuilder) Get(ctx context.Context, requestConfigu func (m *ClassesItemGroupRequestBuilder) ServiceProvisioningErrors()(*ClassesItemGroupServiceProvisioningErrorsRequestBuilder) { return NewClassesItemGroupServiceProvisioningErrorsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation retrieve the Microsoft 365 group that corresponds to this educationClass. +// ToGetRequestInformation get group from education // returns a *RequestInformation when successful func (m *ClassesItemGroupRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemGroupRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/classes_item_members_item_ref_request_builder.go b/education/classes_item_members_item_ref_request_builder.go index e3c5719d5f7..93b9459ea9f 100644 --- a/education/classes_item_members_item_ref_request_builder.go +++ b/education/classes_item_members_item_ref_request_builder.go @@ -30,11 +30,8 @@ func NewClassesItemMembersItemRefRequestBuilder(rawUrl string, requestAdapter i2 urlParams["request-raw-url"] = rawUrl return NewClassesItemMembersItemRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove an educationUser from an educationClass. +// Delete delete ref of navigation property members for education // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationclass-delete-members?view=graph-rest-1.0 func (m *ClassesItemMembersItemRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *ClassesItemMembersItemRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -49,7 +46,7 @@ func (m *ClassesItemMembersItemRefRequestBuilder) Delete(ctx context.Context, re } return nil } -// ToDeleteRequestInformation remove an educationUser from an educationClass. +// ToDeleteRequestInformation delete ref of navigation property members for education // returns a *RequestInformation when successful func (m *ClassesItemMembersItemRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ClassesItemMembersItemRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/classes_item_members_ref_request_builder.go b/education/classes_item_members_ref_request_builder.go index 8603a8010ab..4c7951fcfe4 100644 --- a/education/classes_item_members_ref_request_builder.go +++ b/education/classes_item_members_ref_request_builder.go @@ -11,7 +11,7 @@ import ( type ClassesItemMembersRefRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ClassesItemMembersRefRequestBuilderDeleteQueryParameters remove an educationUser from an educationClass. +// ClassesItemMembersRefRequestBuilderDeleteQueryParameters delete ref of navigation property members for education type ClassesItemMembersRefRequestBuilderDeleteQueryParameters struct { // The delete Uri Id *string `uriparametername:"%40id"` @@ -25,7 +25,7 @@ type ClassesItemMembersRefRequestBuilderDeleteRequestConfiguration struct { // Request query parameters QueryParameters *ClassesItemMembersRefRequestBuilderDeleteQueryParameters } -// ClassesItemMembersRefRequestBuilderGetQueryParameters retrieve the teachers and students for a class. Note that if the delegated token is used, members can only be seen by other members of the class. +// ClassesItemMembersRefRequestBuilderGetQueryParameters all users in the class. Nullable. type ClassesItemMembersRefRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,11 +69,8 @@ func NewClassesItemMembersRefRequestBuilder(rawUrl string, requestAdapter i2ae41 urlParams["request-raw-url"] = rawUrl return NewClassesItemMembersRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove an educationUser from an educationClass. +// Delete delete ref of navigation property members for education // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationclass-delete-members?view=graph-rest-1.0 func (m *ClassesItemMembersRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *ClassesItemMembersRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -88,12 +85,9 @@ func (m *ClassesItemMembersRefRequestBuilder) Delete(ctx context.Context, reques } return nil } -// Get retrieve the teachers and students for a class. Note that if the delegated token is used, members can only be seen by other members of the class. +// Get all users in the class. Nullable. // returns a StringCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationclass-list-members?view=graph-rest-1.0 func (m *ClassesItemMembersRefRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemMembersRefRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -111,11 +105,8 @@ func (m *ClassesItemMembersRefRequestBuilder) Get(ctx context.Context, requestCo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable), nil } -// Post add an educationUser member to an educationClass. +// Post create new navigation property ref to members for education // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationclass-post-members?view=graph-rest-1.0 func (m *ClassesItemMembersRefRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *ClassesItemMembersRefRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -130,7 +121,7 @@ func (m *ClassesItemMembersRefRequestBuilder) Post(ctx context.Context, body ie2 } return nil } -// ToDeleteRequestInformation remove an educationUser from an educationClass. +// ToDeleteRequestInformation delete ref of navigation property members for education // returns a *RequestInformation when successful func (m *ClassesItemMembersRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ClassesItemMembersRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, "{+baseurl}/education/classes/{educationClass%2Did}/members/$ref?@id={%40id}", m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *ClassesItemMembersRefRequestBuilder) ToDeleteRequestInformation(ctx con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the teachers and students for a class. Note that if the delegated token is used, members can only be seen by other members of the class. +// ToGetRequestInformation all users in the class. Nullable. // returns a *RequestInformation when successful func (m *ClassesItemMembersRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemMembersRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/education/classes/{educationClass%2Did}/members/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) @@ -158,7 +149,7 @@ func (m *ClassesItemMembersRefRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add an educationUser member to an educationClass. +// ToPostRequestInformation create new navigation property ref to members for education // returns a *RequestInformation when successful func (m *ClassesItemMembersRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *ClassesItemMembersRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/education/classes/{educationClass%2Did}/members/$ref", m.BaseRequestBuilder.PathParameters) diff --git a/education/classes_item_members_request_builder.go b/education/classes_item_members_request_builder.go index d674b51fc5d..a70ccbebddc 100644 --- a/education/classes_item_members_request_builder.go +++ b/education/classes_item_members_request_builder.go @@ -11,7 +11,7 @@ import ( type ClassesItemMembersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ClassesItemMembersRequestBuilderGetQueryParameters retrieve the teachers and students for a class. Note that if the delegated token is used, members can only be seen by other members of the class. +// ClassesItemMembersRequestBuilderGetQueryParameters all users in the class. Nullable. type ClassesItemMembersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewClassesItemMembersRequestBuilder(rawUrl string, requestAdapter i2ae4187f func (m *ClassesItemMembersRequestBuilder) Count()(*ClassesItemMembersCountRequestBuilder) { return NewClassesItemMembersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the teachers and students for a class. Note that if the delegated token is used, members can only be seen by other members of the class. +// Get all users in the class. Nullable. // returns a EducationUserCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationclass-list-members?view=graph-rest-1.0 func (m *ClassesItemMembersRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemMembersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationUserCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -97,7 +94,7 @@ func (m *ClassesItemMembersRequestBuilder) Get(ctx context.Context, requestConfi func (m *ClassesItemMembersRequestBuilder) Ref()(*ClassesItemMembersRefRequestBuilder) { return NewClassesItemMembersRefRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation retrieve the teachers and students for a class. Note that if the delegated token is used, members can only be seen by other members of the class. +// ToGetRequestInformation all users in the class. Nullable. // returns a *RequestInformation when successful func (m *ClassesItemMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemMembersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/classes_item_modules_education_module_item_request_builder.go b/education/classes_item_modules_education_module_item_request_builder.go index 6c85e741d68..98b8153262a 100644 --- a/education/classes_item_modules_education_module_item_request_builder.go +++ b/education/classes_item_modules_education_module_item_request_builder.go @@ -18,7 +18,7 @@ type ClassesItemModulesEducationModuleItemRequestBuilderDeleteRequestConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ClassesItemModulesEducationModuleItemRequestBuilderGetQueryParameters get the properties and relationships of a module. Only teachers, students, and applications with application permissions can perform this operation. Students can only see published modules; teachers and applications with application permissions can see all modules in a class. +// ClassesItemModulesEducationModuleItemRequestBuilderGetQueryParameters all modules in the class. Nullable. type ClassesItemModulesEducationModuleItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewClassesItemModulesEducationModuleItemRequestBuilder(rawUrl string, reque urlParams["request-raw-url"] = rawUrl return NewClassesItemModulesEducationModuleItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an existing module in a class. Only teachers within a class can delete modules. +// Delete delete navigation property modules for education // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationmodule-delete?view=graph-rest-1.0 func (m *ClassesItemModulesEducationModuleItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ClassesItemModulesEducationModuleItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ClassesItemModulesEducationModuleItemRequestBuilder) Delete(ctx context } return nil } -// Get get the properties and relationships of a module. Only teachers, students, and applications with application permissions can perform this operation. Students can only see published modules; teachers and applications with application permissions can see all modules in a class. +// Get all modules in the class. Nullable. // returns a EducationModuleable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationmodule-get?view=graph-rest-1.0 func (m *ClassesItemModulesEducationModuleItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemModulesEducationModuleItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationModuleable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ClassesItemModulesEducationModuleItemRequestBuilder) Get(ctx context.Co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationModuleable), nil } -// Patch update an educationModule object in a class. Only teachers in the class can perform this operation. Note that you can't use a PATCH request to change the status of a module. Use the publish action to change the module status. +// Patch update the navigation property modules in education // returns a EducationModuleable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationmodule-update?view=graph-rest-1.0 func (m *ClassesItemModulesEducationModuleItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationModuleable, requestConfiguration *ClassesItemModulesEducationModuleItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationModuleable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -139,7 +130,7 @@ func (m *ClassesItemModulesEducationModuleItemRequestBuilder) Resources()(*Class func (m *ClassesItemModulesEducationModuleItemRequestBuilder) SetUpResourcesFolder()(*ClassesItemModulesItemSetUpResourcesFolderRequestBuilder) { return NewClassesItemModulesItemSetUpResourcesFolderRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete an existing module in a class. Only teachers within a class can delete modules. +// ToDeleteRequestInformation delete navigation property modules for education // returns a *RequestInformation when successful func (m *ClassesItemModulesEducationModuleItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ClassesItemModulesEducationModuleItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -150,7 +141,7 @@ func (m *ClassesItemModulesEducationModuleItemRequestBuilder) ToDeleteRequestInf requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties and relationships of a module. Only teachers, students, and applications with application permissions can perform this operation. Students can only see published modules; teachers and applications with application permissions can see all modules in a class. +// ToGetRequestInformation all modules in the class. Nullable. // returns a *RequestInformation when successful func (m *ClassesItemModulesEducationModuleItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemModulesEducationModuleItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -164,7 +155,7 @@ func (m *ClassesItemModulesEducationModuleItemRequestBuilder) ToGetRequestInform requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update an educationModule object in a class. Only teachers in the class can perform this operation. Note that you can't use a PATCH request to change the status of a module. Use the publish action to change the module status. +// ToPatchRequestInformation update the navigation property modules in education // returns a *RequestInformation when successful func (m *ClassesItemModulesEducationModuleItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationModuleable, requestConfiguration *ClassesItemModulesEducationModuleItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/classes_item_modules_item_pin_request_builder.go b/education/classes_item_modules_item_pin_request_builder.go index 0cfb8c303c1..173b527931f 100644 --- a/education/classes_item_modules_item_pin_request_builder.go +++ b/education/classes_item_modules_item_pin_request_builder.go @@ -36,7 +36,7 @@ func NewClassesItemModulesItemPinRequestBuilder(rawUrl string, requestAdapter i2 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/educationmodule-pin?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/educationmodule-pin?view=graph-rest-beta func (m *ClassesItemModulesItemPinRequestBuilder) Post(ctx context.Context, requestConfiguration *ClassesItemModulesItemPinRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationModuleable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/education/classes_item_modules_item_publish_request_builder.go b/education/classes_item_modules_item_publish_request_builder.go index 6a2ea877b15..dbc4f8f1e36 100644 --- a/education/classes_item_modules_item_publish_request_builder.go +++ b/education/classes_item_modules_item_publish_request_builder.go @@ -36,7 +36,7 @@ func NewClassesItemModulesItemPublishRequestBuilder(rawUrl string, requestAdapte // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/educationmodule-publish?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/educationmodule-publish?view=graph-rest-beta func (m *ClassesItemModulesItemPublishRequestBuilder) Post(ctx context.Context, requestConfiguration *ClassesItemModulesItemPublishRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationModuleable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/education/classes_item_modules_item_resources_education_module_resource_item_request_builder.go b/education/classes_item_modules_item_resources_education_module_resource_item_request_builder.go index 78f0cf63313..4f3bfe6f82c 100644 --- a/education/classes_item_modules_item_resources_education_module_resource_item_request_builder.go +++ b/education/classes_item_modules_item_resources_education_module_resource_item_request_builder.go @@ -18,7 +18,7 @@ type ClassesItemModulesItemResourcesEducationModuleResourceItemRequestBuilderDel // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ClassesItemModulesItemResourcesEducationModuleResourceItemRequestBuilderGetQueryParameters get the properties of a resource associated with a module. Only teachers, students, and applications with application permissions can perform this operation. +// ClassesItemModulesItemResourcesEducationModuleResourceItemRequestBuilderGetQueryParameters learning objects that are associated with this module. Only teachers can modify this list. Nullable. type ClassesItemModulesItemResourcesEducationModuleResourceItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewClassesItemModulesItemResourcesEducationModuleResourceItemRequestBuilder urlParams["request-raw-url"] = rawUrl return NewClassesItemModulesItemResourcesEducationModuleResourceItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a specific educationModuleResource attached to a module. Only teachers in the class can remove a resource. +// Delete delete navigation property resources for education // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationmoduleresource-delete?view=graph-rest-1.0 func (m *ClassesItemModulesItemResourcesEducationModuleResourceItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ClassesItemModulesItemResourcesEducationModuleResourceItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ClassesItemModulesItemResourcesEducationModuleResourceItemRequestBuilde } return nil } -// Get get the properties of a resource associated with a module. Only teachers, students, and applications with application permissions can perform this operation. +// Get learning objects that are associated with this module. Only teachers can modify this list. Nullable. // returns a EducationModuleResourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationmoduleresource-get?view=graph-rest-1.0 func (m *ClassesItemModulesItemResourcesEducationModuleResourceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemModulesItemResourcesEducationModuleResourceItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationModuleResourceable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ClassesItemModulesItemResourcesEducationModuleResourceItemRequestBuilde } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationModuleResourceable), nil } -// Patch update a resource in a module. Only teachers can perform this operation. The only one property that can be updated is displayName, for all resource types. +// Patch update the navigation property resources in education // returns a EducationModuleResourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationmoduleresource-update?view=graph-rest-1.0 func (m *ClassesItemModulesItemResourcesEducationModuleResourceItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationModuleResourceable, requestConfiguration *ClassesItemModulesItemResourcesEducationModuleResourceItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationModuleResourceable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *ClassesItemModulesItemResourcesEducationModuleResourceItemRequestBuilde } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationModuleResourceable), nil } -// ToDeleteRequestInformation delete a specific educationModuleResource attached to a module. Only teachers in the class can remove a resource. +// ToDeleteRequestInformation delete navigation property resources for education // returns a *RequestInformation when successful func (m *ClassesItemModulesItemResourcesEducationModuleResourceItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ClassesItemModulesItemResourcesEducationModuleResourceItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *ClassesItemModulesItemResourcesEducationModuleResourceItemRequestBuilde requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties of a resource associated with a module. Only teachers, students, and applications with application permissions can perform this operation. +// ToGetRequestInformation learning objects that are associated with this module. Only teachers can modify this list. Nullable. // returns a *RequestInformation when successful func (m *ClassesItemModulesItemResourcesEducationModuleResourceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemModulesItemResourcesEducationModuleResourceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *ClassesItemModulesItemResourcesEducationModuleResourceItemRequestBuilde requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update a resource in a module. Only teachers can perform this operation. The only one property that can be updated is displayName, for all resource types. +// ToPatchRequestInformation update the navigation property resources in education // returns a *RequestInformation when successful func (m *ClassesItemModulesItemResourcesEducationModuleResourceItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationModuleResourceable, requestConfiguration *ClassesItemModulesItemResourcesEducationModuleResourceItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/classes_item_modules_item_resources_request_builder.go b/education/classes_item_modules_item_resources_request_builder.go index 191d3a92e23..e0482bd955d 100644 --- a/education/classes_item_modules_item_resources_request_builder.go +++ b/education/classes_item_modules_item_resources_request_builder.go @@ -11,7 +11,7 @@ import ( type ClassesItemModulesItemResourcesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ClassesItemModulesItemResourcesRequestBuilderGetQueryParameters get all the educationModuleResource objects associated with a module. Only teachers, students, and applications with application permissions can perform this operation. +// ClassesItemModulesItemResourcesRequestBuilderGetQueryParameters learning objects that are associated with this module. Only teachers can modify this list. Nullable. type ClassesItemModulesItemResourcesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewClassesItemModulesItemResourcesRequestBuilder(rawUrl string, requestAdap func (m *ClassesItemModulesItemResourcesRequestBuilder) Count()(*ClassesItemModulesItemResourcesCountRequestBuilder) { return NewClassesItemModulesItemResourcesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get all the educationModuleResource objects associated with a module. Only teachers, students, and applications with application permissions can perform this operation. +// Get learning objects that are associated with this module. Only teachers can modify this list. Nullable. // returns a EducationModuleResourceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationmodule-list-resources?view=graph-rest-1.0 func (m *ClassesItemModulesItemResourcesRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemModulesItemResourcesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationModuleResourceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ClassesItemModulesItemResourcesRequestBuilder) Get(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationModuleResourceCollectionResponseable), nil } -// Post create a resource in a module. Only teachers can perform this operation. You can create the following types of module resources: Every resource has an @odata.type property to indicate which type of resource is being created. +// Post create new navigation property to resources for education // returns a EducationModuleResourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationmodule-post-resources?view=graph-rest-1.0 func (m *ClassesItemModulesItemResourcesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationModuleResourceable, requestConfiguration *ClassesItemModulesItemResourcesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationModuleResourceable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ClassesItemModulesItemResourcesRequestBuilder) Post(ctx context.Context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationModuleResourceable), nil } -// ToGetRequestInformation get all the educationModuleResource objects associated with a module. Only teachers, students, and applications with application permissions can perform this operation. +// ToGetRequestInformation learning objects that are associated with this module. Only teachers can modify this list. Nullable. // returns a *RequestInformation when successful func (m *ClassesItemModulesItemResourcesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemModulesItemResourcesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ClassesItemModulesItemResourcesRequestBuilder) ToGetRequestInformation( requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a resource in a module. Only teachers can perform this operation. You can create the following types of module resources: Every resource has an @odata.type property to indicate which type of resource is being created. +// ToPostRequestInformation create new navigation property to resources for education // returns a *RequestInformation when successful func (m *ClassesItemModulesItemResourcesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationModuleResourceable, requestConfiguration *ClassesItemModulesItemResourcesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/classes_item_modules_item_set_up_resources_folder_request_builder.go b/education/classes_item_modules_item_set_up_resources_folder_request_builder.go index fef590cc515..a5d3e82f973 100644 --- a/education/classes_item_modules_item_set_up_resources_folder_request_builder.go +++ b/education/classes_item_modules_item_set_up_resources_folder_request_builder.go @@ -36,7 +36,7 @@ func NewClassesItemModulesItemSetUpResourcesFolderRequestBuilder(rawUrl string, // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/educationmodule-setupresourcesfolder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/educationmodule-setupresourcesfolder?view=graph-rest-beta func (m *ClassesItemModulesItemSetUpResourcesFolderRequestBuilder) Post(ctx context.Context, requestConfiguration *ClassesItemModulesItemSetUpResourcesFolderRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationModuleable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/education/classes_item_modules_item_unpin_request_builder.go b/education/classes_item_modules_item_unpin_request_builder.go index 0961a9a2f09..fe4bddee802 100644 --- a/education/classes_item_modules_item_unpin_request_builder.go +++ b/education/classes_item_modules_item_unpin_request_builder.go @@ -36,7 +36,7 @@ func NewClassesItemModulesItemUnpinRequestBuilder(rawUrl string, requestAdapter // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/educationmodule-unpin?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/educationmodule-unpin?view=graph-rest-beta func (m *ClassesItemModulesItemUnpinRequestBuilder) Post(ctx context.Context, requestConfiguration *ClassesItemModulesItemUnpinRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationModuleable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/education/classes_item_modules_request_builder.go b/education/classes_item_modules_request_builder.go index 2b7bfc4c672..6776085c98d 100644 --- a/education/classes_item_modules_request_builder.go +++ b/education/classes_item_modules_request_builder.go @@ -11,7 +11,7 @@ import ( type ClassesItemModulesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ClassesItemModulesRequestBuilderGetQueryParameters retrieve a list of module objects. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can see all module objects for the class. Students can only see published modules. +// ClassesItemModulesRequestBuilderGetQueryParameters all modules in the class. Nullable. type ClassesItemModulesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewClassesItemModulesRequestBuilder(rawUrl string, requestAdapter i2ae4187f func (m *ClassesItemModulesRequestBuilder) Count()(*ClassesItemModulesCountRequestBuilder) { return NewClassesItemModulesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of module objects. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can see all module objects for the class. Students can only see published modules. +// Get all modules in the class. Nullable. // returns a EducationModuleCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationclass-list-modules?view=graph-rest-1.0 func (m *ClassesItemModulesRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemModulesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationModuleCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ClassesItemModulesRequestBuilder) Get(ctx context.Context, requestConfi } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationModuleCollectionResponseable), nil } -// Post create a new module in a class. Only teachers in a class can create a module. Modules start in the draft state, which means that students won't see the modules until publication. +// Post create new navigation property to modules for education // returns a EducationModuleable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationclass-post-module?view=graph-rest-1.0 func (m *ClassesItemModulesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationModuleable, requestConfiguration *ClassesItemModulesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationModuleable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ClassesItemModulesRequestBuilder) Post(ctx context.Context, body ie233e } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationModuleable), nil } -// ToGetRequestInformation retrieve a list of module objects. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can see all module objects for the class. Students can only see published modules. +// ToGetRequestInformation all modules in the class. Nullable. // returns a *RequestInformation when successful func (m *ClassesItemModulesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemModulesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ClassesItemModulesRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new module in a class. Only teachers in a class can create a module. Modules start in the draft state, which means that students won't see the modules until publication. +// ToPostRequestInformation create new navigation property to modules for education // returns a *RequestInformation when successful func (m *ClassesItemModulesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationModuleable, requestConfiguration *ClassesItemModulesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/classes_item_schools_request_builder.go b/education/classes_item_schools_request_builder.go index e983d7fc057..f0f7fc03c53 100644 --- a/education/classes_item_schools_request_builder.go +++ b/education/classes_item_schools_request_builder.go @@ -11,7 +11,7 @@ import ( type ClassesItemSchoolsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ClassesItemSchoolsRequestBuilderGetQueryParameters retrieve a list of schools in which the class is taught. +// ClassesItemSchoolsRequestBuilderGetQueryParameters all schools that this class is associated with. Nullable. type ClassesItemSchoolsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewClassesItemSchoolsRequestBuilder(rawUrl string, requestAdapter i2ae4187f func (m *ClassesItemSchoolsRequestBuilder) Count()(*ClassesItemSchoolsCountRequestBuilder) { return NewClassesItemSchoolsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of schools in which the class is taught. +// Get all schools that this class is associated with. Nullable. // returns a EducationSchoolCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationclass-list-schools?view=graph-rest-1.0 func (m *ClassesItemSchoolsRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemSchoolsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSchoolCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *ClassesItemSchoolsRequestBuilder) Get(ctx context.Context, requestConfi } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSchoolCollectionResponseable), nil } -// ToGetRequestInformation retrieve a list of schools in which the class is taught. +// ToGetRequestInformation all schools that this class is associated with. Nullable. // returns a *RequestInformation when successful func (m *ClassesItemSchoolsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemSchoolsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/classes_item_teachers_item_ref_request_builder.go b/education/classes_item_teachers_item_ref_request_builder.go index ca5cbd6a69e..4f89443eb45 100644 --- a/education/classes_item_teachers_item_ref_request_builder.go +++ b/education/classes_item_teachers_item_ref_request_builder.go @@ -30,11 +30,8 @@ func NewClassesItemTeachersItemRefRequestBuilder(rawUrl string, requestAdapter i urlParams["request-raw-url"] = rawUrl return NewClassesItemTeachersItemRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove a teacher from an educationClass. +// Delete delete ref of navigation property teachers for education // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationclass-delete-teachers?view=graph-rest-1.0 func (m *ClassesItemTeachersItemRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *ClassesItemTeachersItemRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -49,7 +46,7 @@ func (m *ClassesItemTeachersItemRefRequestBuilder) Delete(ctx context.Context, r } return nil } -// ToDeleteRequestInformation remove a teacher from an educationClass. +// ToDeleteRequestInformation delete ref of navigation property teachers for education // returns a *RequestInformation when successful func (m *ClassesItemTeachersItemRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ClassesItemTeachersItemRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/classes_item_teachers_ref_request_builder.go b/education/classes_item_teachers_ref_request_builder.go index f6533180422..febcf3c4240 100644 --- a/education/classes_item_teachers_ref_request_builder.go +++ b/education/classes_item_teachers_ref_request_builder.go @@ -11,7 +11,7 @@ import ( type ClassesItemTeachersRefRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ClassesItemTeachersRefRequestBuilderDeleteQueryParameters remove a teacher from an educationClass. +// ClassesItemTeachersRefRequestBuilderDeleteQueryParameters delete ref of navigation property teachers for education type ClassesItemTeachersRefRequestBuilderDeleteQueryParameters struct { // The delete Uri Id *string `uriparametername:"%40id"` @@ -25,7 +25,7 @@ type ClassesItemTeachersRefRequestBuilderDeleteRequestConfiguration struct { // Request query parameters QueryParameters *ClassesItemTeachersRefRequestBuilderDeleteQueryParameters } -// ClassesItemTeachersRefRequestBuilderGetQueryParameters retrieve a list of teachers for a class. Delegated tokens must be members of the class to get the teacher list. +// ClassesItemTeachersRefRequestBuilderGetQueryParameters all teachers in the class. Nullable. type ClassesItemTeachersRefRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,11 +69,8 @@ func NewClassesItemTeachersRefRequestBuilder(rawUrl string, requestAdapter i2ae4 urlParams["request-raw-url"] = rawUrl return NewClassesItemTeachersRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove a teacher from an educationClass. +// Delete delete ref of navigation property teachers for education // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationclass-delete-teachers?view=graph-rest-1.0 func (m *ClassesItemTeachersRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *ClassesItemTeachersRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -88,12 +85,9 @@ func (m *ClassesItemTeachersRefRequestBuilder) Delete(ctx context.Context, reque } return nil } -// Get retrieve a list of teachers for a class. Delegated tokens must be members of the class to get the teacher list. +// Get all teachers in the class. Nullable. // returns a StringCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationclass-list-teachers?view=graph-rest-1.0 func (m *ClassesItemTeachersRefRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemTeachersRefRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -111,11 +105,8 @@ func (m *ClassesItemTeachersRefRequestBuilder) Get(ctx context.Context, requestC } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable), nil } -// Post add a teacher to a class. +// Post create new navigation property ref to teachers for education // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationclass-post-teachers?view=graph-rest-1.0 func (m *ClassesItemTeachersRefRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *ClassesItemTeachersRefRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -130,7 +121,7 @@ func (m *ClassesItemTeachersRefRequestBuilder) Post(ctx context.Context, body ie } return nil } -// ToDeleteRequestInformation remove a teacher from an educationClass. +// ToDeleteRequestInformation delete ref of navigation property teachers for education // returns a *RequestInformation when successful func (m *ClassesItemTeachersRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ClassesItemTeachersRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, "{+baseurl}/education/classes/{educationClass%2Did}/teachers/$ref?@id={%40id}", m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *ClassesItemTeachersRefRequestBuilder) ToDeleteRequestInformation(ctx co requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a list of teachers for a class. Delegated tokens must be members of the class to get the teacher list. +// ToGetRequestInformation all teachers in the class. Nullable. // returns a *RequestInformation when successful func (m *ClassesItemTeachersRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemTeachersRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/education/classes/{educationClass%2Did}/teachers/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) @@ -158,7 +149,7 @@ func (m *ClassesItemTeachersRefRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add a teacher to a class. +// ToPostRequestInformation create new navigation property ref to teachers for education // returns a *RequestInformation when successful func (m *ClassesItemTeachersRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *ClassesItemTeachersRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/education/classes/{educationClass%2Did}/teachers/$ref", m.BaseRequestBuilder.PathParameters) diff --git a/education/classes_item_teachers_request_builder.go b/education/classes_item_teachers_request_builder.go index 2ddc446b97d..27fed1b381e 100644 --- a/education/classes_item_teachers_request_builder.go +++ b/education/classes_item_teachers_request_builder.go @@ -11,7 +11,7 @@ import ( type ClassesItemTeachersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ClassesItemTeachersRequestBuilderGetQueryParameters retrieve a list of teachers for a class. Delegated tokens must be members of the class to get the teacher list. +// ClassesItemTeachersRequestBuilderGetQueryParameters all teachers in the class. Nullable. type ClassesItemTeachersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewClassesItemTeachersRequestBuilder(rawUrl string, requestAdapter i2ae4187 func (m *ClassesItemTeachersRequestBuilder) Count()(*ClassesItemTeachersCountRequestBuilder) { return NewClassesItemTeachersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of teachers for a class. Delegated tokens must be members of the class to get the teacher list. +// Get all teachers in the class. Nullable. // returns a EducationUserCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationclass-list-teachers?view=graph-rest-1.0 func (m *ClassesItemTeachersRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesItemTeachersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationUserCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -97,7 +94,7 @@ func (m *ClassesItemTeachersRequestBuilder) Get(ctx context.Context, requestConf func (m *ClassesItemTeachersRequestBuilder) Ref()(*ClassesItemTeachersRefRequestBuilder) { return NewClassesItemTeachersRefRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation retrieve a list of teachers for a class. Delegated tokens must be members of the class to get the teacher list. +// ToGetRequestInformation all teachers in the class. Nullable. // returns a *RequestInformation when successful func (m *ClassesItemTeachersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemTeachersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/classes_request_builder.go b/education/classes_request_builder.go index 1eaed43cdc5..987c94bddc4 100644 --- a/education/classes_request_builder.go +++ b/education/classes_request_builder.go @@ -11,7 +11,7 @@ import ( type ClassesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ClassesRequestBuilderGetQueryParameters retrieve a list of all class objects. +// ClassesRequestBuilderGetQueryParameters get classes from education type ClassesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *ClassesRequestBuilder) Count()(*ClassesCountRequestBuilder) { func (m *ClassesRequestBuilder) Delta()(*ClassesDeltaRequestBuilder) { return NewClassesDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of all class objects. +// Get get classes from education // returns a EducationClassCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationroot-list-classes?view=graph-rest-1.0 func (m *ClassesRequestBuilder) Get(ctx context.Context, requestConfiguration *ClassesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationClassCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *ClassesRequestBuilder) Get(ctx context.Context, requestConfiguration *C } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationClassCollectionResponseable), nil } -// Post create a new class. This will also create a universal group. When you use this API to create a class, it will add special properties to the group, which willadd features such as assignments and special handling within Microsoft Teams when teams are created using the group. Please note that this API only creates the universal group and does not create a team. Microsoft Teams provides a user interface for teachers to create teams for their own classes using the groups created by this API. +// Post create new navigation property to classes for education // returns a EducationClassable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationroot-post-classes?view=graph-rest-1.0 func (m *ClassesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationClassable, requestConfiguration *ClassesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationClassable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ClassesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationClassable), nil } -// ToGetRequestInformation retrieve a list of all class objects. +// ToGetRequestInformation get classes from education // returns a *RequestInformation when successful func (m *ClassesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ClassesRequestBuilder) ToGetRequestInformation(ctx context.Context, req requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new class. This will also create a universal group. When you use this API to create a class, it will add special properties to the group, which willadd features such as assignments and special handling within Microsoft Teams when teams are created using the group. Please note that this API only creates the universal group and does not create a team. Microsoft Teams provides a user interface for teachers to create teams for their own classes using the groups created by this API. +// ToPostRequestInformation create new navigation property to classes for education // returns a *RequestInformation when successful func (m *ClassesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationClassable, requestConfiguration *ClassesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/me_assignments_delta_request_builder.go b/education/me_assignments_delta_request_builder.go index 01dde340bb4..a4f1dcbb9a2 100644 --- a/education/me_assignments_delta_request_builder.go +++ b/education/me_assignments_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type MeAssignmentsDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MeAssignmentsDeltaRequestBuilderGetQueryParameters invoke function delta +// MeAssignmentsDeltaRequestBuilderGetQueryParameters get a list of newly-created or updated assignments without reading the entire collection. A teacher or an application running with application permissions can see all assignment objects for the class. Students can only see assignments that are assigned to them. type MeAssignmentsDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewMeAssignmentsDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f urlParams["request-raw-url"] = rawUrl return NewMeAssignmentsDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get get a list of newly-created or updated assignments without reading the entire collection. A teacher or an application running with application permissions can see all assignment objects for the class. Students can only see assignments that are assigned to them. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a MeAssignmentsDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-delta?view=graph-rest-beta func (m *MeAssignmentsDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *MeAssignmentsDeltaRequestBuilderGetRequestConfiguration)(MeAssignmentsDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *MeAssignmentsDeltaRequestBuilder) Get(ctx context.Context, requestConfi } return res.(MeAssignmentsDeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse get a list of newly-created or updated assignments without reading the entire collection. A teacher or an application running with application permissions can see all assignment objects for the class. Students can only see assignments that are assigned to them. // returns a MeAssignmentsDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-delta?view=graph-rest-beta func (m *MeAssignmentsDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *MeAssignmentsDeltaRequestBuilderGetRequestConfiguration)(MeAssignmentsDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *MeAssignmentsDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Con } return res.(MeAssignmentsDeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation get a list of newly-created or updated assignments without reading the entire collection. A teacher or an application running with application permissions can see all assignment objects for the class. Students can only see assignments that are assigned to them. // returns a *RequestInformation when successful func (m *MeAssignmentsDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MeAssignmentsDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/me_assignments_item_activate_request_builder.go b/education/me_assignments_item_activate_request_builder.go index 1443feeda17..478b2b36cbe 100644 --- a/education/me_assignments_item_activate_request_builder.go +++ b/education/me_assignments_item_activate_request_builder.go @@ -36,7 +36,7 @@ func NewMeAssignmentsItemActivateRequestBuilder(rawUrl string, requestAdapter i2 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-activate?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-activate?view=graph-rest-beta func (m *MeAssignmentsItemActivateRequestBuilder) Post(ctx context.Context, requestConfiguration *MeAssignmentsItemActivateRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/education/me_assignments_item_categories_delta_request_builder.go b/education/me_assignments_item_categories_delta_request_builder.go index 7bc80d6a47c..85138abe68a 100644 --- a/education/me_assignments_item_categories_delta_request_builder.go +++ b/education/me_assignments_item_categories_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type MeAssignmentsItemCategoriesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MeAssignmentsItemCategoriesDeltaRequestBuilderGetQueryParameters invoke function delta +// MeAssignmentsItemCategoriesDeltaRequestBuilderGetQueryParameters get a list of newly created or updated educationCategory objects without performing a full read of the collection. type MeAssignmentsItemCategoriesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewMeAssignmentsItemCategoriesDeltaRequestBuilder(rawUrl string, requestAda urlParams["request-raw-url"] = rawUrl return NewMeAssignmentsItemCategoriesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get get a list of newly created or updated educationCategory objects without performing a full read of the collection. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a MeAssignmentsItemCategoriesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/educationcategory-delta?view=graph-rest-beta func (m *MeAssignmentsItemCategoriesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *MeAssignmentsItemCategoriesDeltaRequestBuilderGetRequestConfiguration)(MeAssignmentsItemCategoriesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *MeAssignmentsItemCategoriesDeltaRequestBuilder) Get(ctx context.Context } return res.(MeAssignmentsItemCategoriesDeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse get a list of newly created or updated educationCategory objects without performing a full read of the collection. // returns a MeAssignmentsItemCategoriesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/educationcategory-delta?view=graph-rest-beta func (m *MeAssignmentsItemCategoriesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *MeAssignmentsItemCategoriesDeltaRequestBuilderGetRequestConfiguration)(MeAssignmentsItemCategoriesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *MeAssignmentsItemCategoriesDeltaRequestBuilder) GetAsDeltaGetResponse(c } return res.(MeAssignmentsItemCategoriesDeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation get a list of newly created or updated educationCategory objects without performing a full read of the collection. // returns a *RequestInformation when successful func (m *MeAssignmentsItemCategoriesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MeAssignmentsItemCategoriesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/me_assignments_item_categories_ref_request_builder.go b/education/me_assignments_item_categories_ref_request_builder.go index aa3799cb20c..dec86358136 100644 --- a/education/me_assignments_item_categories_ref_request_builder.go +++ b/education/me_assignments_item_categories_ref_request_builder.go @@ -25,7 +25,7 @@ type MeAssignmentsItemCategoriesRefRequestBuilderDeleteRequestConfiguration stru // Request query parameters QueryParameters *MeAssignmentsItemCategoriesRefRequestBuilderDeleteQueryParameters } -// MeAssignmentsItemCategoriesRefRequestBuilderGetQueryParameters list all categories for an assignment. Only teachers, students, and applications with application permissions can perform this operation. +// MeAssignmentsItemCategoriesRefRequestBuilderGetQueryParameters when set, enables users to easily find assignments of a given type. Read-only. Nullable. type MeAssignmentsItemCategoriesRefRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -85,12 +85,9 @@ func (m *MeAssignmentsItemCategoriesRefRequestBuilder) Delete(ctx context.Contex } return nil } -// Get list all categories for an assignment. Only teachers, students, and applications with application permissions can perform this operation. +// Get when set, enables users to easily find assignments of a given type. Read-only. Nullable. // returns a StringCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-list-categories?view=graph-rest-1.0 func (m *MeAssignmentsItemCategoriesRefRequestBuilder) Get(ctx context.Context, requestConfiguration *MeAssignmentsItemCategoriesRefRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -138,7 +135,7 @@ func (m *MeAssignmentsItemCategoriesRefRequestBuilder) ToDeleteRequestInformatio requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation list all categories for an assignment. Only teachers, students, and applications with application permissions can perform this operation. +// ToGetRequestInformation when set, enables users to easily find assignments of a given type. Read-only. Nullable. // returns a *RequestInformation when successful func (m *MeAssignmentsItemCategoriesRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MeAssignmentsItemCategoriesRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/categories/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) diff --git a/education/me_assignments_item_categories_request_builder.go b/education/me_assignments_item_categories_request_builder.go index 84d7cca4baa..8e4ee3830e9 100644 --- a/education/me_assignments_item_categories_request_builder.go +++ b/education/me_assignments_item_categories_request_builder.go @@ -11,7 +11,7 @@ import ( type MeAssignmentsItemCategoriesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MeAssignmentsItemCategoriesRequestBuilderGetQueryParameters list all categories for an assignment. Only teachers, students, and applications with application permissions can perform this operation. +// MeAssignmentsItemCategoriesRequestBuilderGetQueryParameters when set, enables users to easily find assignments of a given type. Read-only. Nullable. type MeAssignmentsItemCategoriesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *MeAssignmentsItemCategoriesRequestBuilder) Count()(*MeAssignmentsItemCa func (m *MeAssignmentsItemCategoriesRequestBuilder) Delta()(*MeAssignmentsItemCategoriesDeltaRequestBuilder) { return NewMeAssignmentsItemCategoriesDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list all categories for an assignment. Only teachers, students, and applications with application permissions can perform this operation. +// Get when set, enables users to easily find assignments of a given type. Read-only. Nullable. // returns a EducationCategoryCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-list-categories?view=graph-rest-1.0 func (m *MeAssignmentsItemCategoriesRequestBuilder) Get(ctx context.Context, requestConfiguration *MeAssignmentsItemCategoriesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationCategoryCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *MeAssignmentsItemCategoriesRequestBuilder) Post(ctx context.Context, bo func (m *MeAssignmentsItemCategoriesRequestBuilder) Ref()(*MeAssignmentsItemCategoriesRefRequestBuilder) { return NewMeAssignmentsItemCategoriesRefRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation list all categories for an assignment. Only teachers, students, and applications with application permissions can perform this operation. +// ToGetRequestInformation when set, enables users to easily find assignments of a given type. Read-only. Nullable. // returns a *RequestInformation when successful func (m *MeAssignmentsItemCategoriesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MeAssignmentsItemCategoriesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/me_assignments_item_deactivate_request_builder.go b/education/me_assignments_item_deactivate_request_builder.go index 5be9f2481a3..ce09c273f70 100644 --- a/education/me_assignments_item_deactivate_request_builder.go +++ b/education/me_assignments_item_deactivate_request_builder.go @@ -36,7 +36,7 @@ func NewMeAssignmentsItemDeactivateRequestBuilder(rawUrl string, requestAdapter // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-deactivate?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-deactivate?view=graph-rest-beta func (m *MeAssignmentsItemDeactivateRequestBuilder) Post(ctx context.Context, requestConfiguration *MeAssignmentsItemDeactivateRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/education/me_assignments_item_publish_request_builder.go b/education/me_assignments_item_publish_request_builder.go index f7e72a0277f..5ad8caf5ac6 100644 --- a/education/me_assignments_item_publish_request_builder.go +++ b/education/me_assignments_item_publish_request_builder.go @@ -36,7 +36,7 @@ func NewMeAssignmentsItemPublishRequestBuilder(rawUrl string, requestAdapter i2a // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-publish?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-publish?view=graph-rest-beta func (m *MeAssignmentsItemPublishRequestBuilder) Post(ctx context.Context, requestConfiguration *MeAssignmentsItemPublishRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/education/me_assignments_item_resources_education_assignment_resource_item_request_builder.go b/education/me_assignments_item_resources_education_assignment_resource_item_request_builder.go index 0bcd19d5205..a425f3a33e7 100644 --- a/education/me_assignments_item_resources_education_assignment_resource_item_request_builder.go +++ b/education/me_assignments_item_resources_education_assignment_resource_item_request_builder.go @@ -18,7 +18,7 @@ type MeAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilderDele // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MeAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilderGetQueryParameters get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. +// MeAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilderGetQueryParameters learning objects that are associated with this assignment. Only teachers can modify this list. Nullable. type MeAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewMeAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder( urlParams["request-raw-url"] = rawUrl return NewMeAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a specific educationAssignmentResource attached to an assignment. Only teachers in the class can remove a resource. After an assignment has been published to students, teachers can't remove resources that are marked as 'distributeToStudents'. +// Delete delete navigation property resources for education // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignmentresource-delete?view=graph-rest-1.0 func (m *MeAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *MeAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *MeAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder func (m *MeAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder) DependentResources()(*MeAssignmentsItemResourcesItemDependentResourcesRequestBuilder) { return NewMeAssignmentsItemResourcesItemDependentResourcesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. +// Get learning objects that are associated with this assignment. Only teachers can modify this list. Nullable. // returns a EducationAssignmentResourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignmentresource-get?view=graph-rest-1.0 func (m *MeAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MeAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -121,7 +115,7 @@ func (m *MeAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceable), nil } -// ToDeleteRequestInformation delete a specific educationAssignmentResource attached to an assignment. Only teachers in the class can remove a resource. After an assignment has been published to students, teachers can't remove resources that are marked as 'distributeToStudents'. +// ToDeleteRequestInformation delete navigation property resources for education // returns a *RequestInformation when successful func (m *MeAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *MeAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -132,7 +126,7 @@ func (m *MeAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. +// ToGetRequestInformation learning objects that are associated with this assignment. Only teachers can modify this list. Nullable. // returns a *RequestInformation when successful func (m *MeAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MeAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/me_assignments_item_resources_request_builder.go b/education/me_assignments_item_resources_request_builder.go index 7282c25f26d..b61ac5c81d4 100644 --- a/education/me_assignments_item_resources_request_builder.go +++ b/education/me_assignments_item_resources_request_builder.go @@ -11,7 +11,7 @@ import ( type MeAssignmentsItemResourcesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MeAssignmentsItemResourcesRequestBuilderGetQueryParameters get all the educationAssignmentResource objects for an assignment. Only teachers, students, and applications with application permissions can perform this operation. +// MeAssignmentsItemResourcesRequestBuilderGetQueryParameters learning objects that are associated with this assignment. Only teachers can modify this list. Nullable. type MeAssignmentsItemResourcesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewMeAssignmentsItemResourcesRequestBuilder(rawUrl string, requestAdapter i func (m *MeAssignmentsItemResourcesRequestBuilder) Count()(*MeAssignmentsItemResourcesCountRequestBuilder) { return NewMeAssignmentsItemResourcesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get all the educationAssignmentResource objects for an assignment. Only teachers, students, and applications with application permissions can perform this operation. +// Get learning objects that are associated with this assignment. Only teachers can modify this list. Nullable. // returns a EducationAssignmentResourceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-list-resources?view=graph-rest-1.0 func (m *MeAssignmentsItemResourcesRequestBuilder) Get(ctx context.Context, requestConfiguration *MeAssignmentsItemResourcesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *MeAssignmentsItemResourcesRequestBuilder) Get(ctx context.Context, requ } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceCollectionResponseable), nil } -// Post create an assignment resource. Only teachers can perform this operation. You can create the following types of assignment resources: Every resource has an @odata.type property to indicate which type of resource is being created. +// Post create new navigation property to resources for education // returns a EducationAssignmentResourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-post-resources?view=graph-rest-1.0 func (m *MeAssignmentsItemResourcesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceable, requestConfiguration *MeAssignmentsItemResourcesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *MeAssignmentsItemResourcesRequestBuilder) Post(ctx context.Context, bod } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceable), nil } -// ToGetRequestInformation get all the educationAssignmentResource objects for an assignment. Only teachers, students, and applications with application permissions can perform this operation. +// ToGetRequestInformation learning objects that are associated with this assignment. Only teachers can modify this list. Nullable. // returns a *RequestInformation when successful func (m *MeAssignmentsItemResourcesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MeAssignmentsItemResourcesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *MeAssignmentsItemResourcesRequestBuilder) ToGetRequestInformation(ctx c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an assignment resource. Only teachers can perform this operation. You can create the following types of assignment resources: Every resource has an @odata.type property to indicate which type of resource is being created. +// ToPostRequestInformation create new navigation property to resources for education // returns a *RequestInformation when successful func (m *MeAssignmentsItemResourcesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceable, requestConfiguration *MeAssignmentsItemResourcesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/me_assignments_item_rubric_ref_request_builder.go b/education/me_assignments_item_rubric_ref_request_builder.go index 95bff6dab9a..6b5b8247ae6 100644 --- a/education/me_assignments_item_rubric_ref_request_builder.go +++ b/education/me_assignments_item_rubric_ref_request_builder.go @@ -45,11 +45,8 @@ func NewMeAssignmentsItemRubricRefRequestBuilder(rawUrl string, requestAdapter i urlParams["request-raw-url"] = rawUrl return NewMeAssignmentsItemRubricRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. +// Delete delete ref of navigation property rubric for education // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-delete-rubric?view=graph-rest-1.0 func (m *MeAssignmentsItemRubricRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *MeAssignmentsItemRubricRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -64,12 +61,9 @@ func (m *MeAssignmentsItemRubricRefRequestBuilder) Delete(ctx context.Context, r } return nil } -// Get get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. +// Get when set, the grading rubric attached to this assignment. // returns a *string when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-get-rubric?view=graph-rest-1.0 func (m *MeAssignmentsItemRubricRefRequestBuilder) Get(ctx context.Context, requestConfiguration *MeAssignmentsItemRubricRefRequestBuilderGetRequestConfiguration)(*string, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -87,11 +81,8 @@ func (m *MeAssignmentsItemRubricRefRequestBuilder) Get(ctx context.Context, requ } return res.(*string), nil } -// Put attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. +// Put update the ref of navigation property rubric in education // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-put-rubric?view=graph-rest-1.0 func (m *MeAssignmentsItemRubricRefRequestBuilder) Put(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceUpdateable, requestConfiguration *MeAssignmentsItemRubricRefRequestBuilderPutRequestConfiguration)(error) { requestInfo, err := m.ToPutRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -106,7 +97,7 @@ func (m *MeAssignmentsItemRubricRefRequestBuilder) Put(ctx context.Context, body } return nil } -// ToDeleteRequestInformation delete an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. +// ToDeleteRequestInformation delete ref of navigation property rubric for education // returns a *RequestInformation when successful func (m *MeAssignmentsItemRubricRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *MeAssignmentsItemRubricRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -117,7 +108,7 @@ func (m *MeAssignmentsItemRubricRefRequestBuilder) ToDeleteRequestInformation(ct requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. +// ToGetRequestInformation when set, the grading rubric attached to this assignment. // returns a *RequestInformation when successful func (m *MeAssignmentsItemRubricRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MeAssignmentsItemRubricRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -128,7 +119,7 @@ func (m *MeAssignmentsItemRubricRefRequestBuilder) ToGetRequestInformation(ctx c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPutRequestInformation attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. +// ToPutRequestInformation update the ref of navigation property rubric in education // returns a *RequestInformation when successful func (m *MeAssignmentsItemRubricRefRequestBuilder) ToPutRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceUpdateable, requestConfiguration *MeAssignmentsItemRubricRefRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/me_assignments_item_rubric_request_builder.go b/education/me_assignments_item_rubric_request_builder.go index ca0fb8c873f..53fdb17ffe6 100644 --- a/education/me_assignments_item_rubric_request_builder.go +++ b/education/me_assignments_item_rubric_request_builder.go @@ -18,7 +18,7 @@ type MeAssignmentsItemRubricRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MeAssignmentsItemRubricRequestBuilderGetQueryParameters get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. +// MeAssignmentsItemRubricRequestBuilderGetQueryParameters when set, the grading rubric attached to this assignment. type MeAssignmentsItemRubricRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewMeAssignmentsItemRubricRequestBuilder(rawUrl string, requestAdapter i2ae urlParams["request-raw-url"] = rawUrl return NewMeAssignmentsItemRubricRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. +// Delete delete navigation property rubric for education // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-delete-rubric?view=graph-rest-1.0 func (m *MeAssignmentsItemRubricRequestBuilder) Delete(ctx context.Context, requestConfiguration *MeAssignmentsItemRubricRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *MeAssignmentsItemRubricRequestBuilder) Delete(ctx context.Context, requ } return nil } -// Get get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. +// Get when set, the grading rubric attached to this assignment. // returns a EducationRubricable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-get-rubric?view=graph-rest-1.0 func (m *MeAssignmentsItemRubricRequestBuilder) Get(ctx context.Context, requestConfiguration *MeAssignmentsItemRubricRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationRubricable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *MeAssignmentsItemRubricRequestBuilder) Get(ctx context.Context, request } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationRubricable), nil } -// Patch attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. +// Patch update the navigation property rubric in education // returns a EducationRubricable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-put-rubric?view=graph-rest-1.0 func (m *MeAssignmentsItemRubricRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationRubricable, requestConfiguration *MeAssignmentsItemRubricRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationRubricable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -124,7 +115,7 @@ func (m *MeAssignmentsItemRubricRequestBuilder) Patch(ctx context.Context, body func (m *MeAssignmentsItemRubricRequestBuilder) Ref()(*MeAssignmentsItemRubricRefRequestBuilder) { return NewMeAssignmentsItemRubricRefRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. +// ToDeleteRequestInformation delete navigation property rubric for education // returns a *RequestInformation when successful func (m *MeAssignmentsItemRubricRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *MeAssignmentsItemRubricRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -135,7 +126,7 @@ func (m *MeAssignmentsItemRubricRequestBuilder) ToDeleteRequestInformation(ctx c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. +// ToGetRequestInformation when set, the grading rubric attached to this assignment. // returns a *RequestInformation when successful func (m *MeAssignmentsItemRubricRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MeAssignmentsItemRubricRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -149,7 +140,7 @@ func (m *MeAssignmentsItemRubricRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. +// ToPatchRequestInformation update the navigation property rubric in education // returns a *RequestInformation when successful func (m *MeAssignmentsItemRubricRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationRubricable, requestConfiguration *MeAssignmentsItemRubricRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/me_assignments_item_set_up_feedback_resources_folder_request_builder.go b/education/me_assignments_item_set_up_feedback_resources_folder_request_builder.go index 70e5ccc842f..9c37d869605 100644 --- a/education/me_assignments_item_set_up_feedback_resources_folder_request_builder.go +++ b/education/me_assignments_item_set_up_feedback_resources_folder_request_builder.go @@ -36,7 +36,7 @@ func NewMeAssignmentsItemSetUpFeedbackResourcesFolderRequestBuilder(rawUrl strin // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-setupfeedbackresourcesfolder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-setupfeedbackresourcesfolder?view=graph-rest-beta func (m *MeAssignmentsItemSetUpFeedbackResourcesFolderRequestBuilder) Post(ctx context.Context, requestConfiguration *MeAssignmentsItemSetUpFeedbackResourcesFolderRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/education/me_assignments_item_set_up_resources_folder_request_builder.go b/education/me_assignments_item_set_up_resources_folder_request_builder.go index 890b66a0076..8fab83180bb 100644 --- a/education/me_assignments_item_set_up_resources_folder_request_builder.go +++ b/education/me_assignments_item_set_up_resources_folder_request_builder.go @@ -36,7 +36,7 @@ func NewMeAssignmentsItemSetUpResourcesFolderRequestBuilder(rawUrl string, reque // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-setupresourcesfolder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-setupresourcesfolder?view=graph-rest-beta func (m *MeAssignmentsItemSetUpResourcesFolderRequestBuilder) Post(ctx context.Context, requestConfiguration *MeAssignmentsItemSetUpResourcesFolderRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/education/me_assignments_item_submissions_education_submission_item_request_builder.go b/education/me_assignments_item_submissions_education_submission_item_request_builder.go index 0f2a5d0f46e..62bded90fe7 100644 --- a/education/me_assignments_item_submissions_education_submission_item_request_builder.go +++ b/education/me_assignments_item_submissions_education_submission_item_request_builder.go @@ -18,7 +18,7 @@ type MeAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilderDeleteRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MeAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilderGetQueryParameters retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released. Provide the header Prefer: include-unknown-enum-members to properly list submissions with the reassigned status. For details, see the examples section. +// MeAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilderGetQueryParameters once published, there is a submission object for each student representing their work and grade. Read-only. Nullable. type MeAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *MeAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilder) Dele func (m *MeAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilder) Excuse()(*MeAssignmentsItemSubmissionsItemExcuseRequestBuilder) { return NewMeAssignmentsItemSubmissionsItemExcuseRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released. Provide the header Prefer: include-unknown-enum-members to properly list submissions with the reassigned status. For details, see the examples section. +// Get once published, there is a submission object for each student representing their work and grade. Read-only. Nullable. // returns a EducationSubmissionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationsubmission-get?view=graph-rest-1.0 func (m *MeAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MeAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -164,7 +161,7 @@ func (m *MeAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilder) ToDe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released. Provide the header Prefer: include-unknown-enum-members to properly list submissions with the reassigned status. For details, see the examples section. +// ToGetRequestInformation once published, there is a submission object for each student representing their work and grade. Read-only. Nullable. // returns a *RequestInformation when successful func (m *MeAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MeAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/me_assignments_item_submissions_item_excuse_request_builder.go b/education/me_assignments_item_submissions_item_excuse_request_builder.go index cf5594604f5..247515cf943 100644 --- a/education/me_assignments_item_submissions_item_excuse_request_builder.go +++ b/education/me_assignments_item_submissions_item_excuse_request_builder.go @@ -36,7 +36,7 @@ func NewMeAssignmentsItemSubmissionsItemExcuseRequestBuilder(rawUrl string, requ // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/educationsubmission-excuse?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/educationsubmission-excuse?view=graph-rest-beta func (m *MeAssignmentsItemSubmissionsItemExcuseRequestBuilder) Post(ctx context.Context, requestConfiguration *MeAssignmentsItemSubmissionsItemExcuseRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/education/me_assignments_item_submissions_item_outcomes_education_outcome_item_request_builder.go b/education/me_assignments_item_submissions_item_outcomes_education_outcome_item_request_builder.go index 3c985ef0292..de1c6aae814 100644 --- a/education/me_assignments_item_submissions_item_outcomes_education_outcome_item_request_builder.go +++ b/education/me_assignments_item_submissions_item_outcomes_education_outcome_item_request_builder.go @@ -54,11 +54,8 @@ func NewMeAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequestBuild urlParams["request-raw-url"] = rawUrl return NewMeAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a feedback resource from a submission. This can only be done by a teacher. +// Delete delete navigation property outcomes for education // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationfeedbackresourceoutcome-delete?view=graph-rest-1.0 func (m *MeAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *MeAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *MeAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequestBuil } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationOutcomeable), nil } -// Patch update the properties of an educationOutcome object. Only teachers can perform this operation. +// Patch update the navigation property outcomes in education // returns a EducationOutcomeable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationoutcome-update?view=graph-rest-1.0 func (m *MeAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationOutcomeable, requestConfiguration *MeAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationOutcomeable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -116,7 +110,7 @@ func (m *MeAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequestBuil } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationOutcomeable), nil } -// ToDeleteRequestInformation delete a feedback resource from a submission. This can only be done by a teacher. +// ToDeleteRequestInformation delete navigation property outcomes for education // returns a *RequestInformation when successful func (m *MeAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *MeAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *MeAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequestBuil requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an educationOutcome object. Only teachers can perform this operation. +// ToPatchRequestInformation update the navigation property outcomes in education // returns a *RequestInformation when successful func (m *MeAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationOutcomeable, requestConfiguration *MeAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/me_assignments_item_submissions_item_outcomes_request_builder.go b/education/me_assignments_item_submissions_item_outcomes_request_builder.go index 20ae8c21d51..a0f71343317 100644 --- a/education/me_assignments_item_submissions_item_outcomes_request_builder.go +++ b/education/me_assignments_item_submissions_item_outcomes_request_builder.go @@ -11,7 +11,7 @@ import ( type MeAssignmentsItemSubmissionsItemOutcomesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MeAssignmentsItemSubmissionsItemOutcomesRequestBuilderGetQueryParameters retrieve a list of educationOutcome objects. There are four types of outcomes: educationPointsOutcome, educationFeedbackOutcome, educationRubricOutcome, and educationFeedbackResourceOutcome. Only teachers, students, and applications with application permissions can perform this operation. A submission for a credit assignment (one that has no point value and no rubric) has an educationFeedbackOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for a points assignment (one that has a point value assigned) has both an educationFeedbackOutcome and an educationPointsOutcome. A submission for an assignment with an attached rubric, if the rubric is a credit rubric (no points), has an educationFeedbackOutcome and an educationRubricOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for an assignment with an attached rubric, if the rubric is a points rubric, has an educationFeedbackOutcome, an educationPointsOutcome, and an educationRubricOutcome. A submission for a feedback resource has an educationFeedbackResourceOutcome. All outcome types have a regular and a published property appropriate to that type of outcome; for example, points and publishedPoints, feedback and publishedFeedback. The regular property is the most recent value updated by the teacher; the published property is the most recent value returned to the student. +// MeAssignmentsItemSubmissionsItemOutcomesRequestBuilderGetQueryParameters get outcomes from education type MeAssignmentsItemSubmissionsItemOutcomesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewMeAssignmentsItemSubmissionsItemOutcomesRequestBuilder(rawUrl string, re func (m *MeAssignmentsItemSubmissionsItemOutcomesRequestBuilder) Count()(*MeAssignmentsItemSubmissionsItemOutcomesCountRequestBuilder) { return NewMeAssignmentsItemSubmissionsItemOutcomesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of educationOutcome objects. There are four types of outcomes: educationPointsOutcome, educationFeedbackOutcome, educationRubricOutcome, and educationFeedbackResourceOutcome. Only teachers, students, and applications with application permissions can perform this operation. A submission for a credit assignment (one that has no point value and no rubric) has an educationFeedbackOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for a points assignment (one that has a point value assigned) has both an educationFeedbackOutcome and an educationPointsOutcome. A submission for an assignment with an attached rubric, if the rubric is a credit rubric (no points), has an educationFeedbackOutcome and an educationRubricOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for an assignment with an attached rubric, if the rubric is a points rubric, has an educationFeedbackOutcome, an educationPointsOutcome, and an educationRubricOutcome. A submission for a feedback resource has an educationFeedbackResourceOutcome. All outcome types have a regular and a published property appropriate to that type of outcome; for example, points and publishedPoints, feedback and publishedFeedback. The regular property is the most recent value updated by the teacher; the published property is the most recent value returned to the student. +// Get get outcomes from education // returns a EducationOutcomeCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationsubmission-list-outcomes?view=graph-rest-1.0 func (m *MeAssignmentsItemSubmissionsItemOutcomesRequestBuilder) Get(ctx context.Context, requestConfiguration *MeAssignmentsItemSubmissionsItemOutcomesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationOutcomeCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *MeAssignmentsItemSubmissionsItemOutcomesRequestBuilder) Get(ctx context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationOutcomeCollectionResponseable), nil } -// Post create a new feedback resource for a submission. Only a teacher can perform this operation. To create a new file-based resource, upload the file to the feedback resources folder associated with the assignment. If the file doesn't exist or is not in that folder, the POST request will fail. +// Post create new navigation property to outcomes for education // returns a EducationOutcomeable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationfeedbackresourceoutcome-post-outcomes?view=graph-rest-1.0 func (m *MeAssignmentsItemSubmissionsItemOutcomesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationOutcomeable, requestConfiguration *MeAssignmentsItemSubmissionsItemOutcomesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationOutcomeable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *MeAssignmentsItemSubmissionsItemOutcomesRequestBuilder) Post(ctx contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationOutcomeable), nil } -// ToGetRequestInformation retrieve a list of educationOutcome objects. There are four types of outcomes: educationPointsOutcome, educationFeedbackOutcome, educationRubricOutcome, and educationFeedbackResourceOutcome. Only teachers, students, and applications with application permissions can perform this operation. A submission for a credit assignment (one that has no point value and no rubric) has an educationFeedbackOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for a points assignment (one that has a point value assigned) has both an educationFeedbackOutcome and an educationPointsOutcome. A submission for an assignment with an attached rubric, if the rubric is a credit rubric (no points), has an educationFeedbackOutcome and an educationRubricOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for an assignment with an attached rubric, if the rubric is a points rubric, has an educationFeedbackOutcome, an educationPointsOutcome, and an educationRubricOutcome. A submission for a feedback resource has an educationFeedbackResourceOutcome. All outcome types have a regular and a published property appropriate to that type of outcome; for example, points and publishedPoints, feedback and publishedFeedback. The regular property is the most recent value updated by the teacher; the published property is the most recent value returned to the student. +// ToGetRequestInformation get outcomes from education // returns a *RequestInformation when successful func (m *MeAssignmentsItemSubmissionsItemOutcomesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MeAssignmentsItemSubmissionsItemOutcomesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *MeAssignmentsItemSubmissionsItemOutcomesRequestBuilder) ToGetRequestInf requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new feedback resource for a submission. Only a teacher can perform this operation. To create a new file-based resource, upload the file to the feedback resources folder associated with the assignment. If the file doesn't exist or is not in that folder, the POST request will fail. +// ToPostRequestInformation create new navigation property to outcomes for education // returns a *RequestInformation when successful func (m *MeAssignmentsItemSubmissionsItemOutcomesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationOutcomeable, requestConfiguration *MeAssignmentsItemSubmissionsItemOutcomesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/me_assignments_item_submissions_item_reassign_request_builder.go b/education/me_assignments_item_submissions_item_reassign_request_builder.go index e87e82bc7e9..329587dae53 100644 --- a/education/me_assignments_item_submissions_item_reassign_request_builder.go +++ b/education/me_assignments_item_submissions_item_reassign_request_builder.go @@ -36,7 +36,7 @@ func NewMeAssignmentsItemSubmissionsItemReassignRequestBuilder(rawUrl string, re // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/educationsubmission-reassign?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/educationsubmission-reassign?view=graph-rest-beta func (m *MeAssignmentsItemSubmissionsItemReassignRequestBuilder) Post(ctx context.Context, requestConfiguration *MeAssignmentsItemSubmissionsItemReassignRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/education/me_assignments_item_submissions_item_resources_education_submission_resource_item_request_builder.go b/education/me_assignments_item_submissions_item_resources_education_submission_resource_item_request_builder.go index 519d8914f37..59ffc21d177 100644 --- a/education/me_assignments_item_submissions_item_resources_education_submission_resource_item_request_builder.go +++ b/education/me_assignments_item_submissions_item_resources_education_submission_resource_item_request_builder.go @@ -18,7 +18,7 @@ type MeAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MeAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. +// MeAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters get resources from education type MeAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewMeAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItem urlParams["request-raw-url"] = rawUrl return NewMeAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an educationSubmissionResource from the submission. Only teachers and students can perform this operation. If the resource was copied from the assignment, a new copy of the resource will be created after the current copy is deleted. This allows you to 'reset' the resource to its original state. If the resource wasn't copied from the assignment but was added from the student, the resource is deleted. +// Delete delete navigation property resources for education // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationsubmissionresource-delete?view=graph-rest-1.0 func (m *MeAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *MeAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *MeAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceIte func (m *MeAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder) DependentResources()(*MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) { return NewMeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. +// Get get resources from education // returns a EducationSubmissionResourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationsubmissionresource-get?view=graph-rest-1.0 func (m *MeAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MeAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -121,7 +115,7 @@ func (m *MeAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceIte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable), nil } -// ToDeleteRequestInformation delete an educationSubmissionResource from the submission. Only teachers and students can perform this operation. If the resource was copied from the assignment, a new copy of the resource will be created after the current copy is deleted. This allows you to 'reset' the resource to its original state. If the resource wasn't copied from the assignment but was added from the student, the resource is deleted. +// ToDeleteRequestInformation delete navigation property resources for education // returns a *RequestInformation when successful func (m *MeAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *MeAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -132,7 +126,7 @@ func (m *MeAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceIte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. +// ToGetRequestInformation get resources from education // returns a *RequestInformation when successful func (m *MeAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MeAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/me_assignments_item_submissions_item_resources_request_builder.go b/education/me_assignments_item_submissions_item_resources_request_builder.go index cd9ea458033..7f366f110fd 100644 --- a/education/me_assignments_item_submissions_item_resources_request_builder.go +++ b/education/me_assignments_item_submissions_item_resources_request_builder.go @@ -11,7 +11,7 @@ import ( type MeAssignmentsItemSubmissionsItemResourcesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MeAssignmentsItemSubmissionsItemResourcesRequestBuilderGetQueryParameters list the resources associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. The educationSubmissionResource object is a wrapper around the actual resource object the student is working on. The wrapper also includes a pointer to the resources on the assignment if the resource was copied from the assignment during the assign process. These resources are the working copy of the assignment. The submittedResources are the resources that were officially submitted for grading. +// MeAssignmentsItemSubmissionsItemResourcesRequestBuilderGetQueryParameters get resources from education type MeAssignmentsItemSubmissionsItemResourcesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewMeAssignmentsItemSubmissionsItemResourcesRequestBuilder(rawUrl string, r func (m *MeAssignmentsItemSubmissionsItemResourcesRequestBuilder) Count()(*MeAssignmentsItemSubmissionsItemResourcesCountRequestBuilder) { return NewMeAssignmentsItemSubmissionsItemResourcesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list the resources associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. The educationSubmissionResource object is a wrapper around the actual resource object the student is working on. The wrapper also includes a pointer to the resources on the assignment if the resource was copied from the assignment during the assign process. These resources are the working copy of the assignment. The submittedResources are the resources that were officially submitted for grading. +// Get get resources from education // returns a EducationSubmissionResourceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationsubmission-list-resources?view=graph-rest-1.0 func (m *MeAssignmentsItemSubmissionsItemResourcesRequestBuilder) Get(ctx context.Context, requestConfiguration *MeAssignmentsItemSubmissionsItemResourcesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *MeAssignmentsItemSubmissionsItemResourcesRequestBuilder) Get(ctx contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceCollectionResponseable), nil } -// Post add a educationSubmissionResource to a submission resource list. Only teachers and students can perform this operation. The operation will not succeed if the allowStudentsToAddResources flag is not set to true. To create a new file-based resource, upload the file to the resources folder associated with the submission. If the file doesn't exist or is not in that folder, the POST request will fail. +// Post create new navigation property to resources for education // returns a EducationSubmissionResourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationsubmission-post-resources?view=graph-rest-1.0 func (m *MeAssignmentsItemSubmissionsItemResourcesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable, requestConfiguration *MeAssignmentsItemSubmissionsItemResourcesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *MeAssignmentsItemSubmissionsItemResourcesRequestBuilder) Post(ctx conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable), nil } -// ToGetRequestInformation list the resources associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. The educationSubmissionResource object is a wrapper around the actual resource object the student is working on. The wrapper also includes a pointer to the resources on the assignment if the resource was copied from the assignment during the assign process. These resources are the working copy of the assignment. The submittedResources are the resources that were officially submitted for grading. +// ToGetRequestInformation get resources from education // returns a *RequestInformation when successful func (m *MeAssignmentsItemSubmissionsItemResourcesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MeAssignmentsItemSubmissionsItemResourcesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *MeAssignmentsItemSubmissionsItemResourcesRequestBuilder) ToGetRequestIn requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add a educationSubmissionResource to a submission resource list. Only teachers and students can perform this operation. The operation will not succeed if the allowStudentsToAddResources flag is not set to true. To create a new file-based resource, upload the file to the resources folder associated with the submission. If the file doesn't exist or is not in that folder, the POST request will fail. +// ToPostRequestInformation create new navigation property to resources for education // returns a *RequestInformation when successful func (m *MeAssignmentsItemSubmissionsItemResourcesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable, requestConfiguration *MeAssignmentsItemSubmissionsItemResourcesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/me_assignments_item_submissions_item_return_request_builder.go b/education/me_assignments_item_submissions_item_return_request_builder.go index c379934e7c2..4b99923e014 100644 --- a/education/me_assignments_item_submissions_item_return_request_builder.go +++ b/education/me_assignments_item_submissions_item_return_request_builder.go @@ -36,7 +36,7 @@ func NewMeAssignmentsItemSubmissionsItemReturnRequestBuilder(rawUrl string, requ // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/educationsubmission-return?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/educationsubmission-return?view=graph-rest-beta func (m *MeAssignmentsItemSubmissionsItemReturnRequestBuilder) Post(ctx context.Context, requestConfiguration *MeAssignmentsItemSubmissionsItemReturnRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/education/me_assignments_item_submissions_item_set_up_resources_folder_request_builder.go b/education/me_assignments_item_submissions_item_set_up_resources_folder_request_builder.go index 81c95722458..552c49c1eb3 100644 --- a/education/me_assignments_item_submissions_item_set_up_resources_folder_request_builder.go +++ b/education/me_assignments_item_submissions_item_set_up_resources_folder_request_builder.go @@ -36,7 +36,7 @@ func NewMeAssignmentsItemSubmissionsItemSetUpResourcesFolderRequestBuilder(rawUr // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/educationsubmission-setupresourcesfolder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/educationsubmission-setupresourcesfolder?view=graph-rest-beta func (m *MeAssignmentsItemSubmissionsItemSetUpResourcesFolderRequestBuilder) Post(ctx context.Context, requestConfiguration *MeAssignmentsItemSubmissionsItemSetUpResourcesFolderRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/education/me_assignments_item_submissions_item_submit_request_builder.go b/education/me_assignments_item_submissions_item_submit_request_builder.go index 59dd6aea49b..20f6da8ef8d 100644 --- a/education/me_assignments_item_submissions_item_submit_request_builder.go +++ b/education/me_assignments_item_submissions_item_submit_request_builder.go @@ -36,7 +36,7 @@ func NewMeAssignmentsItemSubmissionsItemSubmitRequestBuilder(rawUrl string, requ // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/educationsubmission-submit?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/educationsubmission-submit?view=graph-rest-beta func (m *MeAssignmentsItemSubmissionsItemSubmitRequestBuilder) Post(ctx context.Context, requestConfiguration *MeAssignmentsItemSubmissionsItemSubmitRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/education/me_assignments_item_submissions_item_unsubmit_request_builder.go b/education/me_assignments_item_submissions_item_unsubmit_request_builder.go index 837b94a176e..db266d0017d 100644 --- a/education/me_assignments_item_submissions_item_unsubmit_request_builder.go +++ b/education/me_assignments_item_submissions_item_unsubmit_request_builder.go @@ -36,7 +36,7 @@ func NewMeAssignmentsItemSubmissionsItemUnsubmitRequestBuilder(rawUrl string, re // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/educationsubmission-unsubmit?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/educationsubmission-unsubmit?view=graph-rest-beta func (m *MeAssignmentsItemSubmissionsItemUnsubmitRequestBuilder) Post(ctx context.Context, requestConfiguration *MeAssignmentsItemSubmissionsItemUnsubmitRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/education/me_assignments_item_submissions_request_builder.go b/education/me_assignments_item_submissions_request_builder.go index 5f3632f7c82..3deb6041b04 100644 --- a/education/me_assignments_item_submissions_request_builder.go +++ b/education/me_assignments_item_submissions_request_builder.go @@ -11,7 +11,7 @@ import ( type MeAssignmentsItemSubmissionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MeAssignmentsItemSubmissionsRequestBuilderGetQueryParameters list all the submission objects associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can get all the submissions, a student can only get submissions that they're associated with. Provide the header Prefer: include-unknown-enum-members to properly list submissions with the reassigned status. For details, see the examples section. +// MeAssignmentsItemSubmissionsRequestBuilderGetQueryParameters once published, there is a submission object for each student representing their work and grade. Read-only. Nullable. type MeAssignmentsItemSubmissionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewMeAssignmentsItemSubmissionsRequestBuilder(rawUrl string, requestAdapter func (m *MeAssignmentsItemSubmissionsRequestBuilder) Count()(*MeAssignmentsItemSubmissionsCountRequestBuilder) { return NewMeAssignmentsItemSubmissionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list all the submission objects associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can get all the submissions, a student can only get submissions that they're associated with. Provide the header Prefer: include-unknown-enum-members to properly list submissions with the reassigned status. For details, see the examples section. +// Get once published, there is a submission object for each student representing their work and grade. Read-only. Nullable. // returns a EducationSubmissionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-list-submissions?view=graph-rest-1.0 func (m *MeAssignmentsItemSubmissionsRequestBuilder) Get(ctx context.Context, requestConfiguration *MeAssignmentsItemSubmissionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *MeAssignmentsItemSubmissionsRequestBuilder) Post(ctx context.Context, b } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionable), nil } -// ToGetRequestInformation list all the submission objects associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can get all the submissions, a student can only get submissions that they're associated with. Provide the header Prefer: include-unknown-enum-members to properly list submissions with the reassigned status. For details, see the examples section. +// ToGetRequestInformation once published, there is a submission object for each student representing their work and grade. Read-only. Nullable. // returns a *RequestInformation when successful func (m *MeAssignmentsItemSubmissionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MeAssignmentsItemSubmissionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/me_assignments_request_builder.go b/education/me_assignments_request_builder.go index c8db2f0a050..3c7e040dd62 100644 --- a/education/me_assignments_request_builder.go +++ b/education/me_assignments_request_builder.go @@ -11,7 +11,7 @@ import ( type MeAssignmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MeAssignmentsRequestBuilderGetQueryParameters returns a list of assignments assigned to a user for all classes. Only teachers, students, and applications with application permissions can perform this operation. This utility namespace allows a caller to find all of a student's or teacher's assignments in a single call, rather than having to request assignments from each class. The assignment list contains what is needed to get the detailed information for the assignment from within the class namespace. All other operations on the assignment should use the class namespace. +// MeAssignmentsRequestBuilderGetQueryParameters list of assignments for the user. Nullable. type MeAssignmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *MeAssignmentsRequestBuilder) Count()(*MeAssignmentsCountRequestBuilder) func (m *MeAssignmentsRequestBuilder) Delta()(*MeAssignmentsDeltaRequestBuilder) { return NewMeAssignmentsDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get returns a list of assignments assigned to a user for all classes. Only teachers, students, and applications with application permissions can perform this operation. This utility namespace allows a caller to find all of a student's or teacher's assignments in a single call, rather than having to request assignments from each class. The assignment list contains what is needed to get the detailed information for the assignment from within the class namespace. All other operations on the assignment should use the class namespace. +// Get list of assignments for the user. Nullable. // returns a EducationAssignmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationuser-list-assignments?view=graph-rest-1.0 func (m *MeAssignmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *MeAssignmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *MeAssignmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentable), nil } -// ToGetRequestInformation returns a list of assignments assigned to a user for all classes. Only teachers, students, and applications with application permissions can perform this operation. This utility namespace allows a caller to find all of a student's or teacher's assignments in a single call, rather than having to request assignments from each class. The assignment list contains what is needed to get the detailed information for the assignment from within the class namespace. All other operations on the assignment should use the class namespace. +// ToGetRequestInformation list of assignments for the user. Nullable. // returns a *RequestInformation when successful func (m *MeAssignmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MeAssignmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/me_classes_request_builder.go b/education/me_classes_request_builder.go index 4184557e648..fe9b0aa7dc9 100644 --- a/education/me_classes_request_builder.go +++ b/education/me_classes_request_builder.go @@ -11,7 +11,7 @@ import ( type MeClassesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MeClassesRequestBuilderGetQueryParameters get the educationClass resources an educationUser is a member of. +// MeClassesRequestBuilderGetQueryParameters classes to which the user belongs. Nullable. type MeClassesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewMeClassesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee2633 func (m *MeClassesRequestBuilder) Count()(*MeClassesCountRequestBuilder) { return NewMeClassesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the educationClass resources an educationUser is a member of. +// Get classes to which the user belongs. Nullable. // returns a EducationClassCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationuser-list-classes?view=graph-rest-1.0 func (m *MeClassesRequestBuilder) Get(ctx context.Context, requestConfiguration *MeClassesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationClassCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *MeClassesRequestBuilder) Get(ctx context.Context, requestConfiguration } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationClassCollectionResponseable), nil } -// ToGetRequestInformation get the educationClass resources an educationUser is a member of. +// ToGetRequestInformation classes to which the user belongs. Nullable. // returns a *RequestInformation when successful func (m *MeClassesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MeClassesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/me_rubrics_education_rubric_item_request_builder.go b/education/me_rubrics_education_rubric_item_request_builder.go index 417eafcc6c6..0fa7f601b81 100644 --- a/education/me_rubrics_education_rubric_item_request_builder.go +++ b/education/me_rubrics_education_rubric_item_request_builder.go @@ -18,7 +18,7 @@ type MeRubricsEducationRubricItemRequestBuilderDeleteRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MeRubricsEducationRubricItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an educationRubric object. Only teachers and students can perform this operation. +// MeRubricsEducationRubricItemRequestBuilderGetQueryParameters when set, the grading rubric attached to the assignment. type MeRubricsEducationRubricItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewMeRubricsEducationRubricItemRequestBuilder(rawUrl string, requestAdapter urlParams["request-raw-url"] = rawUrl return NewMeRubricsEducationRubricItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an educationRubric object. Only teachers can perform this operation. +// Delete delete navigation property rubrics for education // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationrubric-delete?view=graph-rest-1.0 func (m *MeRubricsEducationRubricItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *MeRubricsEducationRubricItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *MeRubricsEducationRubricItemRequestBuilder) Delete(ctx context.Context, } return nil } -// Get retrieve the properties and relationships of an educationRubric object. Only teachers and students can perform this operation. +// Get when set, the grading rubric attached to the assignment. // returns a EducationRubricable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationrubric-get?view=graph-rest-1.0 func (m *MeRubricsEducationRubricItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MeRubricsEducationRubricItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationRubricable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *MeRubricsEducationRubricItemRequestBuilder) Get(ctx context.Context, re } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationRubricable), nil } -// Patch update the properties of an educationRubric object. Only teachers can perform this operation. Updating a rubric attached to an assignment (PATCH /education/classes/{id}/assignments/{id}/rubric) is only possible before the assignment is published, and what is updated is actually the original rubric that exists under /education/users/{id}/rubrics. After the assignment is published, an immutable copy of the rubric is made that is attached to that specific assignment. That rubric can be retrieved using GET /education/classes/{id}/assignments/{id}/rubric, but it cannot be updated. +// Patch update the navigation property rubrics in education // returns a EducationRubricable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationrubric-update?view=graph-rest-1.0 func (m *MeRubricsEducationRubricItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationRubricable, requestConfiguration *MeRubricsEducationRubricItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationRubricable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *MeRubricsEducationRubricItemRequestBuilder) Patch(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationRubricable), nil } -// ToDeleteRequestInformation delete an educationRubric object. Only teachers can perform this operation. +// ToDeleteRequestInformation delete navigation property rubrics for education // returns a *RequestInformation when successful func (m *MeRubricsEducationRubricItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *MeRubricsEducationRubricItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *MeRubricsEducationRubricItemRequestBuilder) ToDeleteRequestInformation( requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of an educationRubric object. Only teachers and students can perform this operation. +// ToGetRequestInformation when set, the grading rubric attached to the assignment. // returns a *RequestInformation when successful func (m *MeRubricsEducationRubricItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MeRubricsEducationRubricItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *MeRubricsEducationRubricItemRequestBuilder) ToGetRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an educationRubric object. Only teachers can perform this operation. Updating a rubric attached to an assignment (PATCH /education/classes/{id}/assignments/{id}/rubric) is only possible before the assignment is published, and what is updated is actually the original rubric that exists under /education/users/{id}/rubrics. After the assignment is published, an immutable copy of the rubric is made that is attached to that specific assignment. That rubric can be retrieved using GET /education/classes/{id}/assignments/{id}/rubric, but it cannot be updated. +// ToPatchRequestInformation update the navigation property rubrics in education // returns a *RequestInformation when successful func (m *MeRubricsEducationRubricItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationRubricable, requestConfiguration *MeRubricsEducationRubricItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/me_rubrics_request_builder.go b/education/me_rubrics_request_builder.go index 2bd13efad61..624fdefc6f3 100644 --- a/education/me_rubrics_request_builder.go +++ b/education/me_rubrics_request_builder.go @@ -11,7 +11,7 @@ import ( type MeRubricsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MeRubricsRequestBuilderGetQueryParameters retrieve a list of educationRubric objects. +// MeRubricsRequestBuilderGetQueryParameters when set, the grading rubric attached to the assignment. type MeRubricsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewMeRubricsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee2633 func (m *MeRubricsRequestBuilder) Count()(*MeRubricsCountRequestBuilder) { return NewMeRubricsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of educationRubric objects. +// Get when set, the grading rubric attached to the assignment. // returns a EducationRubricCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationuser-list-rubrics?view=graph-rest-1.0 func (m *MeRubricsRequestBuilder) Get(ctx context.Context, requestConfiguration *MeRubricsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationRubricCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *MeRubricsRequestBuilder) Get(ctx context.Context, requestConfiguration } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationRubricCollectionResponseable), nil } -// Post create a new educationRubric object. +// Post create new navigation property to rubrics for education // returns a EducationRubricable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationuser-post-rubrics?view=graph-rest-1.0 func (m *MeRubricsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationRubricable, requestConfiguration *MeRubricsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationRubricable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *MeRubricsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationRubricable), nil } -// ToGetRequestInformation retrieve a list of educationRubric objects. +// ToGetRequestInformation when set, the grading rubric attached to the assignment. // returns a *RequestInformation when successful func (m *MeRubricsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MeRubricsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *MeRubricsRequestBuilder) ToGetRequestInformation(ctx context.Context, r requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new educationRubric object. +// ToPostRequestInformation create new navigation property to rubrics for education // returns a *RequestInformation when successful func (m *MeRubricsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationRubricable, requestConfiguration *MeRubricsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/me_schools_request_builder.go b/education/me_schools_request_builder.go index 7864e5ca8fb..5a293064f6f 100644 --- a/education/me_schools_request_builder.go +++ b/education/me_schools_request_builder.go @@ -11,7 +11,7 @@ import ( type MeSchoolsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MeSchoolsRequestBuilderGetQueryParameters retrieve a list of schools for a user. +// MeSchoolsRequestBuilderGetQueryParameters schools to which the user belongs. Nullable. type MeSchoolsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewMeSchoolsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee2633 func (m *MeSchoolsRequestBuilder) Count()(*MeSchoolsCountRequestBuilder) { return NewMeSchoolsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of schools for a user. +// Get schools to which the user belongs. Nullable. // returns a EducationSchoolCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationuser-list-schools?view=graph-rest-1.0 func (m *MeSchoolsRequestBuilder) Get(ctx context.Context, requestConfiguration *MeSchoolsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSchoolCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *MeSchoolsRequestBuilder) Get(ctx context.Context, requestConfiguration } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSchoolCollectionResponseable), nil } -// ToGetRequestInformation retrieve a list of schools for a user. +// ToGetRequestInformation schools to which the user belongs. Nullable. // returns a *RequestInformation when successful func (m *MeSchoolsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MeSchoolsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/me_user_request_builder.go b/education/me_user_request_builder.go index 15960c3c027..62d90a818f8 100644 --- a/education/me_user_request_builder.go +++ b/education/me_user_request_builder.go @@ -11,7 +11,7 @@ import ( type MeUserRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MeUserRequestBuilderGetQueryParameters retrieve the simple directory user that corresponds to this educationUser. +// MeUserRequestBuilderGetQueryParameters get user from education type MeUserRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -40,12 +40,9 @@ func NewMeUserRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371c urlParams["request-raw-url"] = rawUrl return NewMeUserRequestBuilderInternal(urlParams, requestAdapter) } -// Get retrieve the simple directory user that corresponds to this educationUser. +// Get get user from education // returns a Userable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationuser-get-user?view=graph-rest-1.0 func (m *MeUserRequestBuilder) Get(ctx context.Context, requestConfiguration *MeUserRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Userable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,7 +70,7 @@ func (m *MeUserRequestBuilder) MailboxSettings()(*MeUserMailboxSettingsRequestBu func (m *MeUserRequestBuilder) ServiceProvisioningErrors()(*MeUserServiceProvisioningErrorsRequestBuilder) { return NewMeUserServiceProvisioningErrorsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation retrieve the simple directory user that corresponds to this educationUser. +// ToGetRequestInformation get user from education // returns a *RequestInformation when successful func (m *MeUserRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MeUserRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/schools_delta_request_builder.go b/education/schools_delta_request_builder.go index 239acc87ce4..e36e95d22b0 100644 --- a/education/schools_delta_request_builder.go +++ b/education/schools_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type SchoolsDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// SchoolsDeltaRequestBuilderGetQueryParameters invoke function delta +// SchoolsDeltaRequestBuilderGetQueryParameters get newly created or updated schools without having to perform a full read of the entire school collection. See Use delta query for details. type SchoolsDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewSchoolsDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee2 urlParams["request-raw-url"] = rawUrl return NewSchoolsDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get get newly created or updated schools without having to perform a full read of the entire school collection. See Use delta query for details. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a SchoolsDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/educationschool-delta?view=graph-rest-beta func (m *SchoolsDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *SchoolsDeltaRequestBuilderGetRequestConfiguration)(SchoolsDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *SchoolsDeltaRequestBuilder) Get(ctx context.Context, requestConfigurati } return res.(SchoolsDeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse get newly created or updated schools without having to perform a full read of the entire school collection. See Use delta query for details. // returns a SchoolsDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/educationschool-delta?view=graph-rest-beta func (m *SchoolsDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *SchoolsDeltaRequestBuilderGetRequestConfiguration)(SchoolsDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *SchoolsDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, } return res.(SchoolsDeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation get newly created or updated schools without having to perform a full read of the entire school collection. See Use delta query for details. // returns a *RequestInformation when successful func (m *SchoolsDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SchoolsDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/schools_education_school_item_request_builder.go b/education/schools_education_school_item_request_builder.go index 0b1b1bd2f33..5337cab542a 100644 --- a/education/schools_education_school_item_request_builder.go +++ b/education/schools_education_school_item_request_builder.go @@ -18,7 +18,7 @@ type SchoolsEducationSchoolItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// SchoolsEducationSchoolItemRequestBuilderGetQueryParameters retrieve the properties and relationships of the school object. +// SchoolsEducationSchoolItemRequestBuilderGetQueryParameters get schools from education type SchoolsEducationSchoolItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -64,11 +64,8 @@ func NewSchoolsEducationSchoolItemRequestBuilder(rawUrl string, requestAdapter i urlParams["request-raw-url"] = rawUrl return NewSchoolsEducationSchoolItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a school. +// Delete delete navigation property schools for education // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationschool-delete?view=graph-rest-1.0 func (m *SchoolsEducationSchoolItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *SchoolsEducationSchoolItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -83,12 +80,9 @@ func (m *SchoolsEducationSchoolItemRequestBuilder) Delete(ctx context.Context, r } return nil } -// Get retrieve the properties and relationships of the school object. +// Get get schools from education // returns a EducationSchoolable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationschool-get?view=graph-rest-1.0 func (m *SchoolsEducationSchoolItemRequestBuilder) Get(ctx context.Context, requestConfiguration *SchoolsEducationSchoolItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSchoolable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -106,12 +100,9 @@ func (m *SchoolsEducationSchoolItemRequestBuilder) Get(ctx context.Context, requ } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSchoolable), nil } -// Patch update the properties of a school object. +// Patch update the navigation property schools in education // returns a EducationSchoolable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationschool-update?view=graph-rest-1.0 func (m *SchoolsEducationSchoolItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSchoolable, requestConfiguration *SchoolsEducationSchoolItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSchoolable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -129,7 +120,7 @@ func (m *SchoolsEducationSchoolItemRequestBuilder) Patch(ctx context.Context, bo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSchoolable), nil } -// ToDeleteRequestInformation delete a school. +// ToDeleteRequestInformation delete navigation property schools for education // returns a *RequestInformation when successful func (m *SchoolsEducationSchoolItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *SchoolsEducationSchoolItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -140,7 +131,7 @@ func (m *SchoolsEducationSchoolItemRequestBuilder) ToDeleteRequestInformation(ct requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of the school object. +// ToGetRequestInformation get schools from education // returns a *RequestInformation when successful func (m *SchoolsEducationSchoolItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SchoolsEducationSchoolItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -154,7 +145,7 @@ func (m *SchoolsEducationSchoolItemRequestBuilder) ToGetRequestInformation(ctx c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a school object. +// ToPatchRequestInformation update the navigation property schools in education // returns a *RequestInformation when successful func (m *SchoolsEducationSchoolItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSchoolable, requestConfiguration *SchoolsEducationSchoolItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/schools_item_administrative_unit_request_builder.go b/education/schools_item_administrative_unit_request_builder.go index 08dde3a3106..16c41a4589f 100644 --- a/education/schools_item_administrative_unit_request_builder.go +++ b/education/schools_item_administrative_unit_request_builder.go @@ -11,7 +11,7 @@ import ( type SchoolsItemAdministrativeUnitRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// SchoolsItemAdministrativeUnitRequestBuilderGetQueryParameters retrieve the directory administrativeUnit that corresponds to this educationSchool. +// SchoolsItemAdministrativeUnitRequestBuilderGetQueryParameters get administrativeUnit from education type SchoolsItemAdministrativeUnitRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,12 +47,9 @@ func NewSchoolsItemAdministrativeUnitRequestBuilder(rawUrl string, requestAdapte urlParams["request-raw-url"] = rawUrl return NewSchoolsItemAdministrativeUnitRequestBuilderInternal(urlParams, requestAdapter) } -// Get retrieve the directory administrativeUnit that corresponds to this educationSchool. +// Get get administrativeUnit from education // returns a AdministrativeUnitable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationschool-get-administrativeUnit?view=graph-rest-1.0 func (m *SchoolsItemAdministrativeUnitRequestBuilder) Get(ctx context.Context, requestConfiguration *SchoolsItemAdministrativeUnitRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdministrativeUnitable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -90,7 +87,7 @@ func (m *SchoolsItemAdministrativeUnitRequestBuilder) Patch(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdministrativeUnitable), nil } -// ToGetRequestInformation retrieve the directory administrativeUnit that corresponds to this educationSchool. +// ToGetRequestInformation get administrativeUnit from education // returns a *RequestInformation when successful func (m *SchoolsItemAdministrativeUnitRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SchoolsItemAdministrativeUnitRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/schools_item_classes_item_ref_request_builder.go b/education/schools_item_classes_item_ref_request_builder.go index 3cbdbb6df3b..341369cef4f 100644 --- a/education/schools_item_classes_item_ref_request_builder.go +++ b/education/schools_item_classes_item_ref_request_builder.go @@ -30,11 +30,8 @@ func NewSchoolsItemClassesItemRefRequestBuilder(rawUrl string, requestAdapter i2 urlParams["request-raw-url"] = rawUrl return NewSchoolsItemClassesItemRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a class from a school. +// Delete delete ref of navigation property classes for education // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationschool-delete-classes?view=graph-rest-1.0 func (m *SchoolsItemClassesItemRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *SchoolsItemClassesItemRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -49,7 +46,7 @@ func (m *SchoolsItemClassesItemRefRequestBuilder) Delete(ctx context.Context, re } return nil } -// ToDeleteRequestInformation delete a class from a school. +// ToDeleteRequestInformation delete ref of navigation property classes for education // returns a *RequestInformation when successful func (m *SchoolsItemClassesItemRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *SchoolsItemClassesItemRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/schools_item_classes_ref_request_builder.go b/education/schools_item_classes_ref_request_builder.go index 1373e87fd28..046f1809cae 100644 --- a/education/schools_item_classes_ref_request_builder.go +++ b/education/schools_item_classes_ref_request_builder.go @@ -11,7 +11,7 @@ import ( type SchoolsItemClassesRefRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// SchoolsItemClassesRefRequestBuilderDeleteQueryParameters delete a class from a school. +// SchoolsItemClassesRefRequestBuilderDeleteQueryParameters delete ref of navigation property classes for education type SchoolsItemClassesRefRequestBuilderDeleteQueryParameters struct { // The delete Uri Id *string `uriparametername:"%40id"` @@ -25,7 +25,7 @@ type SchoolsItemClassesRefRequestBuilderDeleteRequestConfiguration struct { // Request query parameters QueryParameters *SchoolsItemClassesRefRequestBuilderDeleteQueryParameters } -// SchoolsItemClassesRefRequestBuilderGetQueryParameters retrieve a list of classes owned by a school. +// SchoolsItemClassesRefRequestBuilderGetQueryParameters classes taught at the school. Nullable. type SchoolsItemClassesRefRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,11 +69,8 @@ func NewSchoolsItemClassesRefRequestBuilder(rawUrl string, requestAdapter i2ae41 urlParams["request-raw-url"] = rawUrl return NewSchoolsItemClassesRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a class from a school. +// Delete delete ref of navigation property classes for education // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationschool-delete-classes?view=graph-rest-1.0 func (m *SchoolsItemClassesRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *SchoolsItemClassesRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -88,12 +85,9 @@ func (m *SchoolsItemClassesRefRequestBuilder) Delete(ctx context.Context, reques } return nil } -// Get retrieve a list of classes owned by a school. +// Get classes taught at the school. Nullable. // returns a StringCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationschool-list-classes?view=graph-rest-1.0 func (m *SchoolsItemClassesRefRequestBuilder) Get(ctx context.Context, requestConfiguration *SchoolsItemClassesRefRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -111,11 +105,8 @@ func (m *SchoolsItemClassesRefRequestBuilder) Get(ctx context.Context, requestCo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable), nil } -// Post add a class to a school. +// Post create new navigation property ref to classes for education // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationschool-post-classes?view=graph-rest-1.0 func (m *SchoolsItemClassesRefRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *SchoolsItemClassesRefRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -130,7 +121,7 @@ func (m *SchoolsItemClassesRefRequestBuilder) Post(ctx context.Context, body ie2 } return nil } -// ToDeleteRequestInformation delete a class from a school. +// ToDeleteRequestInformation delete ref of navigation property classes for education // returns a *RequestInformation when successful func (m *SchoolsItemClassesRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *SchoolsItemClassesRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, "{+baseurl}/education/schools/{educationSchool%2Did}/classes/$ref?@id={%40id}", m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *SchoolsItemClassesRefRequestBuilder) ToDeleteRequestInformation(ctx con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a list of classes owned by a school. +// ToGetRequestInformation classes taught at the school. Nullable. // returns a *RequestInformation when successful func (m *SchoolsItemClassesRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SchoolsItemClassesRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/education/schools/{educationSchool%2Did}/classes/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) @@ -158,7 +149,7 @@ func (m *SchoolsItemClassesRefRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add a class to a school. +// ToPostRequestInformation create new navigation property ref to classes for education // returns a *RequestInformation when successful func (m *SchoolsItemClassesRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *SchoolsItemClassesRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/education/schools/{educationSchool%2Did}/classes/$ref", m.BaseRequestBuilder.PathParameters) diff --git a/education/schools_item_classes_request_builder.go b/education/schools_item_classes_request_builder.go index efa7df6cccd..86cb38e7f91 100644 --- a/education/schools_item_classes_request_builder.go +++ b/education/schools_item_classes_request_builder.go @@ -11,7 +11,7 @@ import ( type SchoolsItemClassesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// SchoolsItemClassesRequestBuilderGetQueryParameters retrieve a list of classes owned by a school. +// SchoolsItemClassesRequestBuilderGetQueryParameters classes taught at the school. Nullable. type SchoolsItemClassesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewSchoolsItemClassesRequestBuilder(rawUrl string, requestAdapter i2ae4187f func (m *SchoolsItemClassesRequestBuilder) Count()(*SchoolsItemClassesCountRequestBuilder) { return NewSchoolsItemClassesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of classes owned by a school. +// Get classes taught at the school. Nullable. // returns a EducationClassCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationschool-list-classes?view=graph-rest-1.0 func (m *SchoolsItemClassesRequestBuilder) Get(ctx context.Context, requestConfiguration *SchoolsItemClassesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationClassCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -97,7 +94,7 @@ func (m *SchoolsItemClassesRequestBuilder) Get(ctx context.Context, requestConfi func (m *SchoolsItemClassesRequestBuilder) Ref()(*SchoolsItemClassesRefRequestBuilder) { return NewSchoolsItemClassesRefRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation retrieve a list of classes owned by a school. +// ToGetRequestInformation classes taught at the school. Nullable. // returns a *RequestInformation when successful func (m *SchoolsItemClassesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SchoolsItemClassesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/schools_item_users_item_ref_request_builder.go b/education/schools_item_users_item_ref_request_builder.go index 3a0e6230df7..1adb362d331 100644 --- a/education/schools_item_users_item_ref_request_builder.go +++ b/education/schools_item_users_item_ref_request_builder.go @@ -30,11 +30,8 @@ func NewSchoolsItemUsersItemRefRequestBuilder(rawUrl string, requestAdapter i2ae urlParams["request-raw-url"] = rawUrl return NewSchoolsItemUsersItemRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a user from a school. +// Delete delete ref of navigation property users for education // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationschool-delete-users?view=graph-rest-1.0 func (m *SchoolsItemUsersItemRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *SchoolsItemUsersItemRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -49,7 +46,7 @@ func (m *SchoolsItemUsersItemRefRequestBuilder) Delete(ctx context.Context, requ } return nil } -// ToDeleteRequestInformation delete a user from a school. +// ToDeleteRequestInformation delete ref of navigation property users for education // returns a *RequestInformation when successful func (m *SchoolsItemUsersItemRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *SchoolsItemUsersItemRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/schools_item_users_ref_request_builder.go b/education/schools_item_users_ref_request_builder.go index e67964a3e78..e6570f2852c 100644 --- a/education/schools_item_users_ref_request_builder.go +++ b/education/schools_item_users_ref_request_builder.go @@ -11,7 +11,7 @@ import ( type SchoolsItemUsersRefRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// SchoolsItemUsersRefRequestBuilderDeleteQueryParameters delete a user from a school. +// SchoolsItemUsersRefRequestBuilderDeleteQueryParameters delete ref of navigation property users for education type SchoolsItemUsersRefRequestBuilderDeleteQueryParameters struct { // The delete Uri Id *string `uriparametername:"%40id"` @@ -25,7 +25,7 @@ type SchoolsItemUsersRefRequestBuilderDeleteRequestConfiguration struct { // Request query parameters QueryParameters *SchoolsItemUsersRefRequestBuilderDeleteQueryParameters } -// SchoolsItemUsersRefRequestBuilderGetQueryParameters retrieve a list of users at a school. +// SchoolsItemUsersRefRequestBuilderGetQueryParameters users in the school. Nullable. type SchoolsItemUsersRefRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,11 +69,8 @@ func NewSchoolsItemUsersRefRequestBuilder(rawUrl string, requestAdapter i2ae4187 urlParams["request-raw-url"] = rawUrl return NewSchoolsItemUsersRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a user from a school. +// Delete delete ref of navigation property users for education // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationschool-delete-users?view=graph-rest-1.0 func (m *SchoolsItemUsersRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *SchoolsItemUsersRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -88,12 +85,9 @@ func (m *SchoolsItemUsersRefRequestBuilder) Delete(ctx context.Context, requestC } return nil } -// Get retrieve a list of users at a school. +// Get users in the school. Nullable. // returns a StringCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationschool-list-users?view=graph-rest-1.0 func (m *SchoolsItemUsersRefRequestBuilder) Get(ctx context.Context, requestConfiguration *SchoolsItemUsersRefRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -111,11 +105,8 @@ func (m *SchoolsItemUsersRefRequestBuilder) Get(ctx context.Context, requestConf } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable), nil } -// Post add a user to a school. +// Post create new navigation property ref to users for education // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationschool-post-users?view=graph-rest-1.0 func (m *SchoolsItemUsersRefRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *SchoolsItemUsersRefRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -130,7 +121,7 @@ func (m *SchoolsItemUsersRefRequestBuilder) Post(ctx context.Context, body ie233 } return nil } -// ToDeleteRequestInformation delete a user from a school. +// ToDeleteRequestInformation delete ref of navigation property users for education // returns a *RequestInformation when successful func (m *SchoolsItemUsersRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *SchoolsItemUsersRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, "{+baseurl}/education/schools/{educationSchool%2Did}/users/$ref?@id={%40id}", m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *SchoolsItemUsersRefRequestBuilder) ToDeleteRequestInformation(ctx conte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a list of users at a school. +// ToGetRequestInformation users in the school. Nullable. // returns a *RequestInformation when successful func (m *SchoolsItemUsersRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SchoolsItemUsersRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/education/schools/{educationSchool%2Did}/users/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) @@ -158,7 +149,7 @@ func (m *SchoolsItemUsersRefRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add a user to a school. +// ToPostRequestInformation create new navigation property ref to users for education // returns a *RequestInformation when successful func (m *SchoolsItemUsersRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *SchoolsItemUsersRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/education/schools/{educationSchool%2Did}/users/$ref", m.BaseRequestBuilder.PathParameters) diff --git a/education/schools_item_users_request_builder.go b/education/schools_item_users_request_builder.go index fa6e41f3e35..1446f52b9d0 100644 --- a/education/schools_item_users_request_builder.go +++ b/education/schools_item_users_request_builder.go @@ -11,7 +11,7 @@ import ( type SchoolsItemUsersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// SchoolsItemUsersRequestBuilderGetQueryParameters retrieve a list of users at a school. +// SchoolsItemUsersRequestBuilderGetQueryParameters users in the school. Nullable. type SchoolsItemUsersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewSchoolsItemUsersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7d func (m *SchoolsItemUsersRequestBuilder) Count()(*SchoolsItemUsersCountRequestBuilder) { return NewSchoolsItemUsersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of users at a school. +// Get users in the school. Nullable. // returns a EducationUserCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationschool-list-users?view=graph-rest-1.0 func (m *SchoolsItemUsersRequestBuilder) Get(ctx context.Context, requestConfiguration *SchoolsItemUsersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationUserCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -97,7 +94,7 @@ func (m *SchoolsItemUsersRequestBuilder) Get(ctx context.Context, requestConfigu func (m *SchoolsItemUsersRequestBuilder) Ref()(*SchoolsItemUsersRefRequestBuilder) { return NewSchoolsItemUsersRefRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation retrieve a list of users at a school. +// ToGetRequestInformation users in the school. Nullable. // returns a *RequestInformation when successful func (m *SchoolsItemUsersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SchoolsItemUsersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/schools_request_builder.go b/education/schools_request_builder.go index bfdc9fc2973..4b4f9ce8093 100644 --- a/education/schools_request_builder.go +++ b/education/schools_request_builder.go @@ -11,7 +11,7 @@ import ( type SchoolsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// SchoolsRequestBuilderGetQueryParameters retrieve a list of all school objects. +// SchoolsRequestBuilderGetQueryParameters get schools from education type SchoolsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *SchoolsRequestBuilder) Count()(*SchoolsCountRequestBuilder) { func (m *SchoolsRequestBuilder) Delta()(*SchoolsDeltaRequestBuilder) { return NewSchoolsDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of all school objects. +// Get get schools from education // returns a EducationSchoolCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationroot-list-schools?view=graph-rest-1.0 func (m *SchoolsRequestBuilder) Get(ctx context.Context, requestConfiguration *SchoolsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSchoolCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *SchoolsRequestBuilder) Get(ctx context.Context, requestConfiguration *S } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSchoolCollectionResponseable), nil } -// Post create a school. +// Post create new navigation property to schools for education // returns a EducationSchoolable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationroot-post-schools?view=graph-rest-1.0 func (m *SchoolsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSchoolable, requestConfiguration *SchoolsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSchoolable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *SchoolsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSchoolable), nil } -// ToGetRequestInformation retrieve a list of all school objects. +// ToGetRequestInformation get schools from education // returns a *RequestInformation when successful func (m *SchoolsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SchoolsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *SchoolsRequestBuilder) ToGetRequestInformation(ctx context.Context, req requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a school. +// ToPostRequestInformation create new navigation property to schools for education // returns a *RequestInformation when successful func (m *SchoolsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSchoolable, requestConfiguration *SchoolsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/synchronization_profiles_education_synchronization_profile_item_request_builder.go b/education/synchronization_profiles_education_synchronization_profile_item_request_builder.go index 391ecfeebc0..5587404fcfb 100644 --- a/education/synchronization_profiles_education_synchronization_profile_item_request_builder.go +++ b/education/synchronization_profiles_education_synchronization_profile_item_request_builder.go @@ -18,7 +18,7 @@ type SynchronizationProfilesEducationSynchronizationProfileItemRequestBuilderDel // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// SynchronizationProfilesEducationSynchronizationProfileItemRequestBuilderGetQueryParameters retrieve a school data synchronization profile in the tenant based on the identifier. +// SynchronizationProfilesEducationSynchronizationProfileItemRequestBuilderGetQueryParameters get synchronizationProfiles from education type SynchronizationProfilesEducationSynchronizationProfileItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewSynchronizationProfilesEducationSynchronizationProfileItemRequestBuilder urlParams["request-raw-url"] = rawUrl return NewSynchronizationProfilesEducationSynchronizationProfileItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a school data synchronization profile in the tenant based on the identifier. +// Delete delete navigation property synchronizationProfiles for education // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationsynchronizationprofile-delete?view=graph-rest-1.0 func (m *SynchronizationProfilesEducationSynchronizationProfileItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *SynchronizationProfilesEducationSynchronizationProfileItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *SynchronizationProfilesEducationSynchronizationProfileItemRequestBuilde func (m *SynchronizationProfilesEducationSynchronizationProfileItemRequestBuilder) Errors()(*SynchronizationProfilesItemErrorsRequestBuilder) { return NewSynchronizationProfilesItemErrorsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a school data synchronization profile in the tenant based on the identifier. +// Get get synchronizationProfiles from education // returns a EducationSynchronizationProfileable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationsynchronizationprofile-get?view=graph-rest-1.0 func (m *SynchronizationProfilesEducationSynchronizationProfileItemRequestBuilder) Get(ctx context.Context, requestConfiguration *SynchronizationProfilesEducationSynchronizationProfileItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSynchronizationProfileable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -146,7 +140,7 @@ func (m *SynchronizationProfilesEducationSynchronizationProfileItemRequestBuilde func (m *SynchronizationProfilesEducationSynchronizationProfileItemRequestBuilder) Start()(*SynchronizationProfilesItemStartRequestBuilder) { return NewSynchronizationProfilesItemStartRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a school data synchronization profile in the tenant based on the identifier. +// ToDeleteRequestInformation delete navigation property synchronizationProfiles for education // returns a *RequestInformation when successful func (m *SynchronizationProfilesEducationSynchronizationProfileItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *SynchronizationProfilesEducationSynchronizationProfileItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -157,7 +151,7 @@ func (m *SynchronizationProfilesEducationSynchronizationProfileItemRequestBuilde requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a school data synchronization profile in the tenant based on the identifier. +// ToGetRequestInformation get synchronizationProfiles from education // returns a *RequestInformation when successful func (m *SynchronizationProfilesEducationSynchronizationProfileItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SynchronizationProfilesEducationSynchronizationProfileItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/synchronization_profiles_item_errors_request_builder.go b/education/synchronization_profiles_item_errors_request_builder.go index e1b9d77252d..c935c20d63d 100644 --- a/education/synchronization_profiles_item_errors_request_builder.go +++ b/education/synchronization_profiles_item_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type SynchronizationProfilesItemErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// SynchronizationProfilesItemErrorsRequestBuilderGetQueryParameters get the errors generated during validation and/or during a sync of a specific school data synchronization profile in the tenant. +// SynchronizationProfilesItemErrorsRequestBuilderGetQueryParameters all errors associated with this synchronization profile. type SynchronizationProfilesItemErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewSynchronizationProfilesItemErrorsRequestBuilder(rawUrl string, requestAd func (m *SynchronizationProfilesItemErrorsRequestBuilder) Count()(*SynchronizationProfilesItemErrorsCountRequestBuilder) { return NewSynchronizationProfilesItemErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the errors generated during validation and/or during a sync of a specific school data synchronization profile in the tenant. +// Get all errors associated with this synchronization profile. // returns a EducationSynchronizationErrorCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationsynchronizationerrors-get?view=graph-rest-1.0 func (m *SynchronizationProfilesItemErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *SynchronizationProfilesItemErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSynchronizationErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *SynchronizationProfilesItemErrorsRequestBuilder) Post(ctx context.Conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSynchronizationErrorable), nil } -// ToGetRequestInformation get the errors generated during validation and/or during a sync of a specific school data synchronization profile in the tenant. +// ToGetRequestInformation all errors associated with this synchronization profile. // returns a *RequestInformation when successful func (m *SynchronizationProfilesItemErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SynchronizationProfilesItemErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/synchronization_profiles_item_pause_request_builder.go b/education/synchronization_profiles_item_pause_request_builder.go index 3dce1f0d69e..c324aa35c6e 100644 --- a/education/synchronization_profiles_item_pause_request_builder.go +++ b/education/synchronization_profiles_item_pause_request_builder.go @@ -34,7 +34,7 @@ func NewSynchronizationProfilesItemPauseRequestBuilder(rawUrl string, requestAda // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/educationsynchronizationprofile-pause?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/educationsynchronizationprofile-pause?view=graph-rest-beta func (m *SynchronizationProfilesItemPauseRequestBuilder) Post(ctx context.Context, requestConfiguration *SynchronizationProfilesItemPauseRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/education/synchronization_profiles_item_profile_status_request_builder.go b/education/synchronization_profiles_item_profile_status_request_builder.go index 9ff356fc081..9b1b161a834 100644 --- a/education/synchronization_profiles_item_profile_status_request_builder.go +++ b/education/synchronization_profiles_item_profile_status_request_builder.go @@ -18,7 +18,7 @@ type SynchronizationProfilesItemProfileStatusRequestBuilderDeleteRequestConfigur // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// SynchronizationProfilesItemProfileStatusRequestBuilderGetQueryParameters get the status of a specific school data synchronization profile in the tenant. The response will indicate the status of the sync. +// SynchronizationProfilesItemProfileStatusRequestBuilderGetQueryParameters the synchronization status. type SynchronizationProfilesItemProfileStatusRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *SynchronizationProfilesItemProfileStatusRequestBuilder) Delete(ctx cont } return nil } -// Get get the status of a specific school data synchronization profile in the tenant. The response will indicate the status of the sync. +// Get the synchronization status. // returns a EducationSynchronizationProfileStatusable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationsynchronizationprofilestatus-get?view=graph-rest-1.0 func (m *SynchronizationProfilesItemProfileStatusRequestBuilder) Get(ctx context.Context, requestConfiguration *SynchronizationProfilesItemProfileStatusRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSynchronizationProfileStatusable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *SynchronizationProfilesItemProfileStatusRequestBuilder) ToDeleteRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the status of a specific school data synchronization profile in the tenant. The response will indicate the status of the sync. +// ToGetRequestInformation the synchronization status. // returns a *RequestInformation when successful func (m *SynchronizationProfilesItemProfileStatusRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SynchronizationProfilesItemProfileStatusRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/synchronization_profiles_item_reset_request_builder.go b/education/synchronization_profiles_item_reset_request_builder.go index 792d9312b91..9ce497fcb75 100644 --- a/education/synchronization_profiles_item_reset_request_builder.go +++ b/education/synchronization_profiles_item_reset_request_builder.go @@ -34,7 +34,7 @@ func NewSynchronizationProfilesItemResetRequestBuilder(rawUrl string, requestAda // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/educationsynchronizationprofile-reset?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/educationsynchronizationprofile-reset?view=graph-rest-beta func (m *SynchronizationProfilesItemResetRequestBuilder) Post(ctx context.Context, requestConfiguration *SynchronizationProfilesItemResetRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/education/synchronization_profiles_item_resume_request_builder.go b/education/synchronization_profiles_item_resume_request_builder.go index e42753c3fff..1680ad0c9c2 100644 --- a/education/synchronization_profiles_item_resume_request_builder.go +++ b/education/synchronization_profiles_item_resume_request_builder.go @@ -34,7 +34,7 @@ func NewSynchronizationProfilesItemResumeRequestBuilder(rawUrl string, requestAd // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/educationsynchronizationprofile-resume?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/educationsynchronizationprofile-resume?view=graph-rest-beta func (m *SynchronizationProfilesItemResumeRequestBuilder) Post(ctx context.Context, requestConfiguration *SynchronizationProfilesItemResumeRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/education/synchronization_profiles_item_start_request_builder.go b/education/synchronization_profiles_item_start_request_builder.go index 88ac474f1ef..1957f00850d 100644 --- a/education/synchronization_profiles_item_start_request_builder.go +++ b/education/synchronization_profiles_item_start_request_builder.go @@ -36,7 +36,7 @@ func NewSynchronizationProfilesItemStartRequestBuilder(rawUrl string, requestAda // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/educationsynchronizationprofile-start?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/educationsynchronizationprofile-start?view=graph-rest-beta func (m *SynchronizationProfilesItemStartRequestBuilder) Post(ctx context.Context, requestConfiguration *SynchronizationProfilesItemStartRequestBuilderPostRequestConfiguration)(SynchronizationProfilesItemStartResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *SynchronizationProfilesItemStartRequestBuilder) Post(ctx context.Contex // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/educationsynchronizationprofile-start?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/educationsynchronizationprofile-start?view=graph-rest-beta func (m *SynchronizationProfilesItemStartRequestBuilder) PostAsStartPostResponse(ctx context.Context, requestConfiguration *SynchronizationProfilesItemStartRequestBuilderPostRequestConfiguration)(SynchronizationProfilesItemStartPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/education/synchronization_profiles_item_upload_url_request_builder.go b/education/synchronization_profiles_item_upload_url_request_builder.go index 615078e8fae..8e0dacead23 100644 --- a/education/synchronization_profiles_item_upload_url_request_builder.go +++ b/education/synchronization_profiles_item_upload_url_request_builder.go @@ -30,10 +30,13 @@ func NewSynchronizationProfilesItemUploadUrlRequestBuilder(rawUrl string, reques urlParams["request-raw-url"] = rawUrl return NewSynchronizationProfilesItemUploadUrlRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function uploadUrl +// Get retrieve a shared access signature (SAS) for uploading source files to Azure blob storage for a specific school data synchronization profile in the tenant. The SAS token has a validity of one hour. The upload URL is provided only for the CSV data provider. // Deprecated: This method is obsolete. Use GetAsUploadUrlGetResponse instead. // returns a SynchronizationProfilesItemUploadUrlResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/educationsynchronizationprofile-uploadurl?view=graph-rest-beta func (m *SynchronizationProfilesItemUploadUrlRequestBuilder) Get(ctx context.Context, requestConfiguration *SynchronizationProfilesItemUploadUrlRequestBuilderGetRequestConfiguration)(SynchronizationProfilesItemUploadUrlResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -51,9 +54,12 @@ func (m *SynchronizationProfilesItemUploadUrlRequestBuilder) Get(ctx context.Con } return res.(SynchronizationProfilesItemUploadUrlResponseable), nil } -// GetAsUploadUrlGetResponse invoke function uploadUrl +// GetAsUploadUrlGetResponse retrieve a shared access signature (SAS) for uploading source files to Azure blob storage for a specific school data synchronization profile in the tenant. The SAS token has a validity of one hour. The upload URL is provided only for the CSV data provider. // returns a SynchronizationProfilesItemUploadUrlGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/educationsynchronizationprofile-uploadurl?view=graph-rest-beta func (m *SynchronizationProfilesItemUploadUrlRequestBuilder) GetAsUploadUrlGetResponse(ctx context.Context, requestConfiguration *SynchronizationProfilesItemUploadUrlRequestBuilderGetRequestConfiguration)(SynchronizationProfilesItemUploadUrlGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -71,7 +77,7 @@ func (m *SynchronizationProfilesItemUploadUrlRequestBuilder) GetAsUploadUrlGetRe } return res.(SynchronizationProfilesItemUploadUrlGetResponseable), nil } -// ToGetRequestInformation invoke function uploadUrl +// ToGetRequestInformation retrieve a shared access signature (SAS) for uploading source files to Azure blob storage for a specific school data synchronization profile in the tenant. The SAS token has a validity of one hour. The upload URL is provided only for the CSV data provider. // returns a *RequestInformation when successful func (m *SynchronizationProfilesItemUploadUrlRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SynchronizationProfilesItemUploadUrlRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/synchronization_profiles_request_builder.go b/education/synchronization_profiles_request_builder.go index 210619b3ff0..3a3e6aeddd1 100644 --- a/education/synchronization_profiles_request_builder.go +++ b/education/synchronization_profiles_request_builder.go @@ -11,7 +11,7 @@ import ( type SynchronizationProfilesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// SynchronizationProfilesRequestBuilderGetQueryParameters retrieve the collection of school data synchronization profiles in the tenant. +// SynchronizationProfilesRequestBuilderGetQueryParameters get synchronizationProfiles from education type SynchronizationProfilesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewSynchronizationProfilesRequestBuilder(rawUrl string, requestAdapter i2ae func (m *SynchronizationProfilesRequestBuilder) Count()(*SynchronizationProfilesCountRequestBuilder) { return NewSynchronizationProfilesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the collection of school data synchronization profiles in the tenant. +// Get get synchronizationProfiles from education // returns a EducationSynchronizationProfileCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationsynchronizationprofile-list?view=graph-rest-1.0 func (m *SynchronizationProfilesRequestBuilder) Get(ctx context.Context, requestConfiguration *SynchronizationProfilesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSynchronizationProfileCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *SynchronizationProfilesRequestBuilder) Post(ctx context.Context, body i } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSynchronizationProfileable), nil } -// ToGetRequestInformation retrieve the collection of school data synchronization profiles in the tenant. +// ToGetRequestInformation get synchronizationProfiles from education // returns a *RequestInformation when successful func (m *SynchronizationProfilesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SynchronizationProfilesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/users_delta_request_builder.go b/education/users_delta_request_builder.go index 5bfa47d5f76..ca1fb89967b 100644 --- a/education/users_delta_request_builder.go +++ b/education/users_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type UsersDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// UsersDeltaRequestBuilderGetQueryParameters invoke function delta +// UsersDeltaRequestBuilderGetQueryParameters get newly created or updated educationUser without having to perform a full read of the entire collection. See Use delta query for details. type UsersDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewUsersDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263 urlParams["request-raw-url"] = rawUrl return NewUsersDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get get newly created or updated educationUser without having to perform a full read of the entire collection. See Use delta query for details. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a UsersDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/educationuser-delta?view=graph-rest-beta func (m *UsersDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *UsersDeltaRequestBuilderGetRequestConfiguration)(UsersDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *UsersDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration } return res.(UsersDeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse get newly created or updated educationUser without having to perform a full read of the entire collection. See Use delta query for details. // returns a UsersDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/educationuser-delta?view=graph-rest-beta func (m *UsersDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *UsersDeltaRequestBuilderGetRequestConfiguration)(UsersDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *UsersDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, re } return res.(UsersDeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation get newly created or updated educationUser without having to perform a full read of the entire collection. See Use delta query for details. // returns a *RequestInformation when successful func (m *UsersDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UsersDeltaRequestBuilderGetRequestConfiguration)(*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 77331874573..cef9b8dbdf5 100644 --- a/education/users_education_user_item_request_builder.go +++ b/education/users_education_user_item_request_builder.go @@ -18,7 +18,7 @@ type UsersEducationUserItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// UsersEducationUserItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a user. +// UsersEducationUserItemRequestBuilderGetQueryParameters get users from education type UsersEducationUserItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -64,11 +64,8 @@ func NewUsersEducationUserItemRequestBuilder(rawUrl string, requestAdapter i2ae4 urlParams["request-raw-url"] = rawUrl return NewUsersEducationUserItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a user. +// Delete delete navigation property users for education // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationuser-delete?view=graph-rest-1.0 func (m *UsersEducationUserItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *UsersEducationUserItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -83,12 +80,9 @@ func (m *UsersEducationUserItemRequestBuilder) Delete(ctx context.Context, reque } return nil } -// Get retrieve the properties and relationships of a user. +// Get get users from education // 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/educationuser-get?view=graph-rest-1.0 func (m *UsersEducationUserItemRequestBuilder) Get(ctx context.Context, requestConfiguration *UsersEducationUserItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationUserable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -106,12 +100,9 @@ func (m *UsersEducationUserItemRequestBuilder) Get(ctx context.Context, requestC } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationUserable), nil } -// Patch update the properties of an educationuser object. +// Patch update the navigation property users in education // 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/educationuser-update?view=graph-rest-1.0 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 { @@ -144,7 +135,7 @@ func (m *UsersEducationUserItemRequestBuilder) Schools()(*UsersItemSchoolsReques func (m *UsersEducationUserItemRequestBuilder) TaughtClasses()(*UsersItemTaughtClassesRequestBuilder) { return NewUsersItemTaughtClassesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a user. +// ToDeleteRequestInformation delete navigation property users for education // returns a *RequestInformation when successful func (m *UsersEducationUserItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *UsersEducationUserItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -155,7 +146,7 @@ func (m *UsersEducationUserItemRequestBuilder) ToDeleteRequestInformation(ctx co requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a user. +// ToGetRequestInformation get users from education // returns a *RequestInformation when successful func (m *UsersEducationUserItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UsersEducationUserItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -169,7 +160,7 @@ func (m *UsersEducationUserItemRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an educationuser object. +// ToPatchRequestInformation update the navigation property users in education // 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/education/users_item_assignments_delta_request_builder.go b/education/users_item_assignments_delta_request_builder.go index 20c994bc8df..bee2e507ea4 100644 --- a/education/users_item_assignments_delta_request_builder.go +++ b/education/users_item_assignments_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type UsersItemAssignmentsDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// UsersItemAssignmentsDeltaRequestBuilderGetQueryParameters invoke function delta +// UsersItemAssignmentsDeltaRequestBuilderGetQueryParameters get a list of newly-created or updated assignments without reading the entire collection. A teacher or an application running with application permissions can see all assignment objects for the class. Students can only see assignments that are assigned to them. type UsersItemAssignmentsDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewUsersItemAssignmentsDeltaRequestBuilder(rawUrl string, requestAdapter i2 urlParams["request-raw-url"] = rawUrl return NewUsersItemAssignmentsDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get get a list of newly-created or updated assignments without reading the entire collection. A teacher or an application running with application permissions can see all assignment objects for the class. Students can only see assignments that are assigned to them. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a UsersItemAssignmentsDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-delta?view=graph-rest-beta func (m *UsersItemAssignmentsDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *UsersItemAssignmentsDeltaRequestBuilderGetRequestConfiguration)(UsersItemAssignmentsDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *UsersItemAssignmentsDeltaRequestBuilder) Get(ctx context.Context, reque } return res.(UsersItemAssignmentsDeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse get a list of newly-created or updated assignments without reading the entire collection. A teacher or an application running with application permissions can see all assignment objects for the class. Students can only see assignments that are assigned to them. // returns a UsersItemAssignmentsDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-delta?view=graph-rest-beta func (m *UsersItemAssignmentsDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *UsersItemAssignmentsDeltaRequestBuilderGetRequestConfiguration)(UsersItemAssignmentsDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *UsersItemAssignmentsDeltaRequestBuilder) GetAsDeltaGetResponse(ctx cont } return res.(UsersItemAssignmentsDeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation get a list of newly-created or updated assignments without reading the entire collection. A teacher or an application running with application permissions can see all assignment objects for the class. Students can only see assignments that are assigned to them. // returns a *RequestInformation when successful func (m *UsersItemAssignmentsDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UsersItemAssignmentsDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/users_item_assignments_item_activate_request_builder.go b/education/users_item_assignments_item_activate_request_builder.go index d911136c12b..8dc2dd78a4b 100644 --- a/education/users_item_assignments_item_activate_request_builder.go +++ b/education/users_item_assignments_item_activate_request_builder.go @@ -36,7 +36,7 @@ func NewUsersItemAssignmentsItemActivateRequestBuilder(rawUrl string, requestAda // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-activate?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-activate?view=graph-rest-beta func (m *UsersItemAssignmentsItemActivateRequestBuilder) Post(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemActivateRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/education/users_item_assignments_item_categories_delta_request_builder.go b/education/users_item_assignments_item_categories_delta_request_builder.go index e76a119477b..c405d11eb68 100644 --- a/education/users_item_assignments_item_categories_delta_request_builder.go +++ b/education/users_item_assignments_item_categories_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type UsersItemAssignmentsItemCategoriesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// UsersItemAssignmentsItemCategoriesDeltaRequestBuilderGetQueryParameters invoke function delta +// UsersItemAssignmentsItemCategoriesDeltaRequestBuilderGetQueryParameters get a list of newly created or updated educationCategory objects without performing a full read of the collection. type UsersItemAssignmentsItemCategoriesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewUsersItemAssignmentsItemCategoriesDeltaRequestBuilder(rawUrl string, req urlParams["request-raw-url"] = rawUrl return NewUsersItemAssignmentsItemCategoriesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get get a list of newly created or updated educationCategory objects without performing a full read of the collection. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a UsersItemAssignmentsItemCategoriesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/educationcategory-delta?view=graph-rest-beta func (m *UsersItemAssignmentsItemCategoriesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemCategoriesDeltaRequestBuilderGetRequestConfiguration)(UsersItemAssignmentsItemCategoriesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *UsersItemAssignmentsItemCategoriesDeltaRequestBuilder) Get(ctx context. } return res.(UsersItemAssignmentsItemCategoriesDeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse get a list of newly created or updated educationCategory objects without performing a full read of the collection. // returns a UsersItemAssignmentsItemCategoriesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/educationcategory-delta?view=graph-rest-beta func (m *UsersItemAssignmentsItemCategoriesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemCategoriesDeltaRequestBuilderGetRequestConfiguration)(UsersItemAssignmentsItemCategoriesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *UsersItemAssignmentsItemCategoriesDeltaRequestBuilder) GetAsDeltaGetRes } return res.(UsersItemAssignmentsItemCategoriesDeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation get a list of newly created or updated educationCategory objects without performing a full read of the collection. // returns a *RequestInformation when successful func (m *UsersItemAssignmentsItemCategoriesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemCategoriesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/users_item_assignments_item_categories_ref_request_builder.go b/education/users_item_assignments_item_categories_ref_request_builder.go index bd439c669bf..b7cacfea459 100644 --- a/education/users_item_assignments_item_categories_ref_request_builder.go +++ b/education/users_item_assignments_item_categories_ref_request_builder.go @@ -25,7 +25,7 @@ type UsersItemAssignmentsItemCategoriesRefRequestBuilderDeleteRequestConfigurati // Request query parameters QueryParameters *UsersItemAssignmentsItemCategoriesRefRequestBuilderDeleteQueryParameters } -// UsersItemAssignmentsItemCategoriesRefRequestBuilderGetQueryParameters list all categories for an assignment. Only teachers, students, and applications with application permissions can perform this operation. +// UsersItemAssignmentsItemCategoriesRefRequestBuilderGetQueryParameters when set, enables users to easily find assignments of a given type. Read-only. Nullable. type UsersItemAssignmentsItemCategoriesRefRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -85,12 +85,9 @@ func (m *UsersItemAssignmentsItemCategoriesRefRequestBuilder) Delete(ctx context } return nil } -// Get list all categories for an assignment. Only teachers, students, and applications with application permissions can perform this operation. +// Get when set, enables users to easily find assignments of a given type. Read-only. Nullable. // returns a StringCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-list-categories?view=graph-rest-1.0 func (m *UsersItemAssignmentsItemCategoriesRefRequestBuilder) Get(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemCategoriesRefRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -138,7 +135,7 @@ func (m *UsersItemAssignmentsItemCategoriesRefRequestBuilder) ToDeleteRequestInf requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation list all categories for an assignment. Only teachers, students, and applications with application permissions can perform this operation. +// ToGetRequestInformation when set, enables users to easily find assignments of a given type. Read-only. Nullable. // returns a *RequestInformation when successful func (m *UsersItemAssignmentsItemCategoriesRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemCategoriesRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/categories/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) diff --git a/education/users_item_assignments_item_categories_request_builder.go b/education/users_item_assignments_item_categories_request_builder.go index 81511fcd073..d52dc60c0ae 100644 --- a/education/users_item_assignments_item_categories_request_builder.go +++ b/education/users_item_assignments_item_categories_request_builder.go @@ -11,7 +11,7 @@ import ( type UsersItemAssignmentsItemCategoriesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// UsersItemAssignmentsItemCategoriesRequestBuilderGetQueryParameters list all categories for an assignment. Only teachers, students, and applications with application permissions can perform this operation. +// UsersItemAssignmentsItemCategoriesRequestBuilderGetQueryParameters when set, enables users to easily find assignments of a given type. Read-only. Nullable. type UsersItemAssignmentsItemCategoriesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *UsersItemAssignmentsItemCategoriesRequestBuilder) Count()(*UsersItemAss func (m *UsersItemAssignmentsItemCategoriesRequestBuilder) Delta()(*UsersItemAssignmentsItemCategoriesDeltaRequestBuilder) { return NewUsersItemAssignmentsItemCategoriesDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list all categories for an assignment. Only teachers, students, and applications with application permissions can perform this operation. +// Get when set, enables users to easily find assignments of a given type. Read-only. Nullable. // returns a EducationCategoryCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-list-categories?view=graph-rest-1.0 func (m *UsersItemAssignmentsItemCategoriesRequestBuilder) Get(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemCategoriesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationCategoryCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *UsersItemAssignmentsItemCategoriesRequestBuilder) Post(ctx context.Cont func (m *UsersItemAssignmentsItemCategoriesRequestBuilder) Ref()(*UsersItemAssignmentsItemCategoriesRefRequestBuilder) { return NewUsersItemAssignmentsItemCategoriesRefRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation list all categories for an assignment. Only teachers, students, and applications with application permissions can perform this operation. +// ToGetRequestInformation when set, enables users to easily find assignments of a given type. Read-only. Nullable. // returns a *RequestInformation when successful func (m *UsersItemAssignmentsItemCategoriesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemCategoriesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/users_item_assignments_item_deactivate_request_builder.go b/education/users_item_assignments_item_deactivate_request_builder.go index 41e33694bf7..c407d126343 100644 --- a/education/users_item_assignments_item_deactivate_request_builder.go +++ b/education/users_item_assignments_item_deactivate_request_builder.go @@ -36,7 +36,7 @@ func NewUsersItemAssignmentsItemDeactivateRequestBuilder(rawUrl string, requestA // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-deactivate?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-deactivate?view=graph-rest-beta func (m *UsersItemAssignmentsItemDeactivateRequestBuilder) Post(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemDeactivateRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/education/users_item_assignments_item_publish_request_builder.go b/education/users_item_assignments_item_publish_request_builder.go index 74a19be6468..33ef747221d 100644 --- a/education/users_item_assignments_item_publish_request_builder.go +++ b/education/users_item_assignments_item_publish_request_builder.go @@ -36,7 +36,7 @@ func NewUsersItemAssignmentsItemPublishRequestBuilder(rawUrl string, requestAdap // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-publish?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-publish?view=graph-rest-beta func (m *UsersItemAssignmentsItemPublishRequestBuilder) Post(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemPublishRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/education/users_item_assignments_item_resources_education_assignment_resource_item_request_builder.go b/education/users_item_assignments_item_resources_education_assignment_resource_item_request_builder.go index 52bed274cc3..e5844723e80 100644 --- a/education/users_item_assignments_item_resources_education_assignment_resource_item_request_builder.go +++ b/education/users_item_assignments_item_resources_education_assignment_resource_item_request_builder.go @@ -18,7 +18,7 @@ type UsersItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuil // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// UsersItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilderGetQueryParameters get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. +// UsersItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilderGetQueryParameters learning objects that are associated with this assignment. Only teachers can modify this list. Nullable. type UsersItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewUsersItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestB urlParams["request-raw-url"] = rawUrl return NewUsersItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a specific educationAssignmentResource attached to an assignment. Only teachers in the class can remove a resource. After an assignment has been published to students, teachers can't remove resources that are marked as 'distributeToStudents'. +// Delete delete navigation property resources for education // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignmentresource-delete?view=graph-rest-1.0 func (m *UsersItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *UsersItemAssignmentsItemResourcesEducationAssignmentResourceItemRequest func (m *UsersItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder) DependentResources()(*UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder) { return NewUsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. +// Get learning objects that are associated with this assignment. Only teachers can modify this list. Nullable. // returns a EducationAssignmentResourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignmentresource-get?view=graph-rest-1.0 func (m *UsersItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -121,7 +115,7 @@ func (m *UsersItemAssignmentsItemResourcesEducationAssignmentResourceItemRequest } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceable), nil } -// ToDeleteRequestInformation delete a specific educationAssignmentResource attached to an assignment. Only teachers in the class can remove a resource. After an assignment has been published to students, teachers can't remove resources that are marked as 'distributeToStudents'. +// ToDeleteRequestInformation delete navigation property resources for education // returns a *RequestInformation when successful func (m *UsersItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -132,7 +126,7 @@ func (m *UsersItemAssignmentsItemResourcesEducationAssignmentResourceItemRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. +// ToGetRequestInformation learning objects that are associated with this assignment. Only teachers can modify this list. Nullable. // returns a *RequestInformation when successful func (m *UsersItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/users_item_assignments_item_resources_request_builder.go b/education/users_item_assignments_item_resources_request_builder.go index e07a0da7af5..0078090e1ef 100644 --- a/education/users_item_assignments_item_resources_request_builder.go +++ b/education/users_item_assignments_item_resources_request_builder.go @@ -11,7 +11,7 @@ import ( type UsersItemAssignmentsItemResourcesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// UsersItemAssignmentsItemResourcesRequestBuilderGetQueryParameters get all the educationAssignmentResource objects for an assignment. Only teachers, students, and applications with application permissions can perform this operation. +// UsersItemAssignmentsItemResourcesRequestBuilderGetQueryParameters learning objects that are associated with this assignment. Only teachers can modify this list. Nullable. type UsersItemAssignmentsItemResourcesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewUsersItemAssignmentsItemResourcesRequestBuilder(rawUrl string, requestAd func (m *UsersItemAssignmentsItemResourcesRequestBuilder) Count()(*UsersItemAssignmentsItemResourcesCountRequestBuilder) { return NewUsersItemAssignmentsItemResourcesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get all the educationAssignmentResource objects for an assignment. Only teachers, students, and applications with application permissions can perform this operation. +// Get learning objects that are associated with this assignment. Only teachers can modify this list. Nullable. // returns a EducationAssignmentResourceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-list-resources?view=graph-rest-1.0 func (m *UsersItemAssignmentsItemResourcesRequestBuilder) Get(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemResourcesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *UsersItemAssignmentsItemResourcesRequestBuilder) Get(ctx context.Contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceCollectionResponseable), nil } -// Post create an assignment resource. Only teachers can perform this operation. You can create the following types of assignment resources: Every resource has an @odata.type property to indicate which type of resource is being created. +// Post create new navigation property to resources for education // returns a EducationAssignmentResourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-post-resources?view=graph-rest-1.0 func (m *UsersItemAssignmentsItemResourcesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceable, requestConfiguration *UsersItemAssignmentsItemResourcesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *UsersItemAssignmentsItemResourcesRequestBuilder) Post(ctx context.Conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceable), nil } -// ToGetRequestInformation get all the educationAssignmentResource objects for an assignment. Only teachers, students, and applications with application permissions can perform this operation. +// ToGetRequestInformation learning objects that are associated with this assignment. Only teachers can modify this list. Nullable. // returns a *RequestInformation when successful func (m *UsersItemAssignmentsItemResourcesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemResourcesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *UsersItemAssignmentsItemResourcesRequestBuilder) ToGetRequestInformatio requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an assignment resource. Only teachers can perform this operation. You can create the following types of assignment resources: Every resource has an @odata.type property to indicate which type of resource is being created. +// ToPostRequestInformation create new navigation property to resources for education // returns a *RequestInformation when successful func (m *UsersItemAssignmentsItemResourcesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentResourceable, requestConfiguration *UsersItemAssignmentsItemResourcesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/users_item_assignments_item_rubric_ref_request_builder.go b/education/users_item_assignments_item_rubric_ref_request_builder.go index fc5df7e0ff0..361dcf5a805 100644 --- a/education/users_item_assignments_item_rubric_ref_request_builder.go +++ b/education/users_item_assignments_item_rubric_ref_request_builder.go @@ -45,11 +45,8 @@ func NewUsersItemAssignmentsItemRubricRefRequestBuilder(rawUrl string, requestAd urlParams["request-raw-url"] = rawUrl return NewUsersItemAssignmentsItemRubricRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. +// Delete delete ref of navigation property rubric for education // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-delete-rubric?view=graph-rest-1.0 func (m *UsersItemAssignmentsItemRubricRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemRubricRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -64,12 +61,9 @@ func (m *UsersItemAssignmentsItemRubricRefRequestBuilder) Delete(ctx context.Con } return nil } -// Get get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. +// Get when set, the grading rubric attached to this assignment. // returns a *string when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-get-rubric?view=graph-rest-1.0 func (m *UsersItemAssignmentsItemRubricRefRequestBuilder) Get(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemRubricRefRequestBuilderGetRequestConfiguration)(*string, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -87,11 +81,8 @@ func (m *UsersItemAssignmentsItemRubricRefRequestBuilder) Get(ctx context.Contex } return res.(*string), nil } -// Put attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. +// Put update the ref of navigation property rubric in education // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-put-rubric?view=graph-rest-1.0 func (m *UsersItemAssignmentsItemRubricRefRequestBuilder) Put(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceUpdateable, requestConfiguration *UsersItemAssignmentsItemRubricRefRequestBuilderPutRequestConfiguration)(error) { requestInfo, err := m.ToPutRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -106,7 +97,7 @@ func (m *UsersItemAssignmentsItemRubricRefRequestBuilder) Put(ctx context.Contex } return nil } -// ToDeleteRequestInformation delete an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. +// ToDeleteRequestInformation delete ref of navigation property rubric for education // returns a *RequestInformation when successful func (m *UsersItemAssignmentsItemRubricRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemRubricRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -117,7 +108,7 @@ func (m *UsersItemAssignmentsItemRubricRefRequestBuilder) ToDeleteRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. +// ToGetRequestInformation when set, the grading rubric attached to this assignment. // returns a *RequestInformation when successful func (m *UsersItemAssignmentsItemRubricRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemRubricRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -128,7 +119,7 @@ func (m *UsersItemAssignmentsItemRubricRefRequestBuilder) ToGetRequestInformatio requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPutRequestInformation attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. +// ToPutRequestInformation update the ref of navigation property rubric in education // returns a *RequestInformation when successful func (m *UsersItemAssignmentsItemRubricRefRequestBuilder) ToPutRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceUpdateable, requestConfiguration *UsersItemAssignmentsItemRubricRefRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/users_item_assignments_item_rubric_request_builder.go b/education/users_item_assignments_item_rubric_request_builder.go index 5afb93b5514..a26eaf1abe1 100644 --- a/education/users_item_assignments_item_rubric_request_builder.go +++ b/education/users_item_assignments_item_rubric_request_builder.go @@ -18,7 +18,7 @@ type UsersItemAssignmentsItemRubricRequestBuilderDeleteRequestConfiguration stru // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// UsersItemAssignmentsItemRubricRequestBuilderGetQueryParameters get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. +// UsersItemAssignmentsItemRubricRequestBuilderGetQueryParameters when set, the grading rubric attached to this assignment. type UsersItemAssignmentsItemRubricRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewUsersItemAssignmentsItemRubricRequestBuilder(rawUrl string, requestAdapt urlParams["request-raw-url"] = rawUrl return NewUsersItemAssignmentsItemRubricRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. +// Delete delete navigation property rubric for education // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-delete-rubric?view=graph-rest-1.0 func (m *UsersItemAssignmentsItemRubricRequestBuilder) Delete(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemRubricRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *UsersItemAssignmentsItemRubricRequestBuilder) Delete(ctx context.Contex } return nil } -// Get get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. +// Get when set, the grading rubric attached to this assignment. // returns a EducationRubricable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-get-rubric?view=graph-rest-1.0 func (m *UsersItemAssignmentsItemRubricRequestBuilder) Get(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemRubricRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationRubricable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *UsersItemAssignmentsItemRubricRequestBuilder) Get(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationRubricable), nil } -// Patch attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. +// Patch update the navigation property rubric in education // returns a EducationRubricable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-put-rubric?view=graph-rest-1.0 func (m *UsersItemAssignmentsItemRubricRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationRubricable, requestConfiguration *UsersItemAssignmentsItemRubricRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationRubricable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -124,7 +115,7 @@ func (m *UsersItemAssignmentsItemRubricRequestBuilder) Patch(ctx context.Context func (m *UsersItemAssignmentsItemRubricRequestBuilder) Ref()(*UsersItemAssignmentsItemRubricRefRequestBuilder) { return NewUsersItemAssignmentsItemRubricRefRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. +// ToDeleteRequestInformation delete navigation property rubric for education // returns a *RequestInformation when successful func (m *UsersItemAssignmentsItemRubricRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemRubricRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -135,7 +126,7 @@ func (m *UsersItemAssignmentsItemRubricRequestBuilder) ToDeleteRequestInformatio requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. +// ToGetRequestInformation when set, the grading rubric attached to this assignment. // returns a *RequestInformation when successful func (m *UsersItemAssignmentsItemRubricRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemRubricRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -149,7 +140,7 @@ func (m *UsersItemAssignmentsItemRubricRequestBuilder) ToGetRequestInformation(c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. +// ToPatchRequestInformation update the navigation property rubric in education // returns a *RequestInformation when successful func (m *UsersItemAssignmentsItemRubricRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationRubricable, requestConfiguration *UsersItemAssignmentsItemRubricRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/users_item_assignments_item_set_up_feedback_resources_folder_request_builder.go b/education/users_item_assignments_item_set_up_feedback_resources_folder_request_builder.go index e71aa934f90..03c19710259 100644 --- a/education/users_item_assignments_item_set_up_feedback_resources_folder_request_builder.go +++ b/education/users_item_assignments_item_set_up_feedback_resources_folder_request_builder.go @@ -36,7 +36,7 @@ func NewUsersItemAssignmentsItemSetUpFeedbackResourcesFolderRequestBuilder(rawUr // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-setupfeedbackresourcesfolder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-setupfeedbackresourcesfolder?view=graph-rest-beta func (m *UsersItemAssignmentsItemSetUpFeedbackResourcesFolderRequestBuilder) Post(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemSetUpFeedbackResourcesFolderRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/education/users_item_assignments_item_set_up_resources_folder_request_builder.go b/education/users_item_assignments_item_set_up_resources_folder_request_builder.go index 56df70dbeb1..a0422e25bc6 100644 --- a/education/users_item_assignments_item_set_up_resources_folder_request_builder.go +++ b/education/users_item_assignments_item_set_up_resources_folder_request_builder.go @@ -36,7 +36,7 @@ func NewUsersItemAssignmentsItemSetUpResourcesFolderRequestBuilder(rawUrl string // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-setupresourcesfolder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-setupresourcesfolder?view=graph-rest-beta func (m *UsersItemAssignmentsItemSetUpResourcesFolderRequestBuilder) Post(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemSetUpResourcesFolderRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/education/users_item_assignments_item_submissions_education_submission_item_request_builder.go b/education/users_item_assignments_item_submissions_education_submission_item_request_builder.go index 68e2b965b00..5a5a3d290d4 100644 --- a/education/users_item_assignments_item_submissions_education_submission_item_request_builder.go +++ b/education/users_item_assignments_item_submissions_education_submission_item_request_builder.go @@ -18,7 +18,7 @@ type UsersItemAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilderDel // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// UsersItemAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilderGetQueryParameters retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released. Provide the header Prefer: include-unknown-enum-members to properly list submissions with the reassigned status. For details, see the examples section. +// UsersItemAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilderGetQueryParameters once published, there is a submission object for each student representing their work and grade. Read-only. Nullable. type UsersItemAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *UsersItemAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilde func (m *UsersItemAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilder) Excuse()(*UsersItemAssignmentsItemSubmissionsItemExcuseRequestBuilder) { return NewUsersItemAssignmentsItemSubmissionsItemExcuseRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released. Provide the header Prefer: include-unknown-enum-members to properly list submissions with the reassigned status. For details, see the examples section. +// Get once published, there is a submission object for each student representing their work and grade. Read-only. Nullable. // returns a EducationSubmissionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationsubmission-get?view=graph-rest-1.0 func (m *UsersItemAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -164,7 +161,7 @@ func (m *UsersItemAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilde requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released. Provide the header Prefer: include-unknown-enum-members to properly list submissions with the reassigned status. For details, see the examples section. +// ToGetRequestInformation once published, there is a submission object for each student representing their work and grade. Read-only. Nullable. // returns a *RequestInformation when successful func (m *UsersItemAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/users_item_assignments_item_submissions_item_excuse_request_builder.go b/education/users_item_assignments_item_submissions_item_excuse_request_builder.go index b6af8c56061..ef243311b25 100644 --- a/education/users_item_assignments_item_submissions_item_excuse_request_builder.go +++ b/education/users_item_assignments_item_submissions_item_excuse_request_builder.go @@ -36,7 +36,7 @@ func NewUsersItemAssignmentsItemSubmissionsItemExcuseRequestBuilder(rawUrl strin // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/educationsubmission-excuse?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/educationsubmission-excuse?view=graph-rest-beta func (m *UsersItemAssignmentsItemSubmissionsItemExcuseRequestBuilder) Post(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemExcuseRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/education/users_item_assignments_item_submissions_item_outcomes_education_outcome_item_request_builder.go b/education/users_item_assignments_item_submissions_item_outcomes_education_outcome_item_request_builder.go index a7a3cfcf336..d97a7eeb543 100644 --- a/education/users_item_assignments_item_submissions_item_outcomes_education_outcome_item_request_builder.go +++ b/education/users_item_assignments_item_submissions_item_outcomes_education_outcome_item_request_builder.go @@ -54,11 +54,8 @@ func NewUsersItemAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemReque urlParams["request-raw-url"] = rawUrl return NewUsersItemAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a feedback resource from a submission. This can only be done by a teacher. +// Delete delete navigation property outcomes for education // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationfeedbackresourceoutcome-delete?view=graph-rest-1.0 func (m *UsersItemAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *UsersItemAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequ } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationOutcomeable), nil } -// Patch update the properties of an educationOutcome object. Only teachers can perform this operation. +// Patch update the navigation property outcomes in education // returns a EducationOutcomeable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationoutcome-update?view=graph-rest-1.0 func (m *UsersItemAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationOutcomeable, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationOutcomeable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -116,7 +110,7 @@ func (m *UsersItemAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequ } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationOutcomeable), nil } -// ToDeleteRequestInformation delete a feedback resource from a submission. This can only be done by a teacher. +// ToDeleteRequestInformation delete navigation property outcomes for education // returns a *RequestInformation when successful func (m *UsersItemAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *UsersItemAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an educationOutcome object. Only teachers can perform this operation. +// ToPatchRequestInformation update the navigation property outcomes in education // returns a *RequestInformation when successful func (m *UsersItemAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationOutcomeable, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/users_item_assignments_item_submissions_item_outcomes_request_builder.go b/education/users_item_assignments_item_submissions_item_outcomes_request_builder.go index 816ca72dd8f..04e040d4f72 100644 --- a/education/users_item_assignments_item_submissions_item_outcomes_request_builder.go +++ b/education/users_item_assignments_item_submissions_item_outcomes_request_builder.go @@ -11,7 +11,7 @@ import ( type UsersItemAssignmentsItemSubmissionsItemOutcomesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// UsersItemAssignmentsItemSubmissionsItemOutcomesRequestBuilderGetQueryParameters retrieve a list of educationOutcome objects. There are four types of outcomes: educationPointsOutcome, educationFeedbackOutcome, educationRubricOutcome, and educationFeedbackResourceOutcome. Only teachers, students, and applications with application permissions can perform this operation. A submission for a credit assignment (one that has no point value and no rubric) has an educationFeedbackOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for a points assignment (one that has a point value assigned) has both an educationFeedbackOutcome and an educationPointsOutcome. A submission for an assignment with an attached rubric, if the rubric is a credit rubric (no points), has an educationFeedbackOutcome and an educationRubricOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for an assignment with an attached rubric, if the rubric is a points rubric, has an educationFeedbackOutcome, an educationPointsOutcome, and an educationRubricOutcome. A submission for a feedback resource has an educationFeedbackResourceOutcome. All outcome types have a regular and a published property appropriate to that type of outcome; for example, points and publishedPoints, feedback and publishedFeedback. The regular property is the most recent value updated by the teacher; the published property is the most recent value returned to the student. +// UsersItemAssignmentsItemSubmissionsItemOutcomesRequestBuilderGetQueryParameters get outcomes from education type UsersItemAssignmentsItemSubmissionsItemOutcomesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewUsersItemAssignmentsItemSubmissionsItemOutcomesRequestBuilder(rawUrl str func (m *UsersItemAssignmentsItemSubmissionsItemOutcomesRequestBuilder) Count()(*UsersItemAssignmentsItemSubmissionsItemOutcomesCountRequestBuilder) { return NewUsersItemAssignmentsItemSubmissionsItemOutcomesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of educationOutcome objects. There are four types of outcomes: educationPointsOutcome, educationFeedbackOutcome, educationRubricOutcome, and educationFeedbackResourceOutcome. Only teachers, students, and applications with application permissions can perform this operation. A submission for a credit assignment (one that has no point value and no rubric) has an educationFeedbackOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for a points assignment (one that has a point value assigned) has both an educationFeedbackOutcome and an educationPointsOutcome. A submission for an assignment with an attached rubric, if the rubric is a credit rubric (no points), has an educationFeedbackOutcome and an educationRubricOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for an assignment with an attached rubric, if the rubric is a points rubric, has an educationFeedbackOutcome, an educationPointsOutcome, and an educationRubricOutcome. A submission for a feedback resource has an educationFeedbackResourceOutcome. All outcome types have a regular and a published property appropriate to that type of outcome; for example, points and publishedPoints, feedback and publishedFeedback. The regular property is the most recent value updated by the teacher; the published property is the most recent value returned to the student. +// Get get outcomes from education // returns a EducationOutcomeCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationsubmission-list-outcomes?view=graph-rest-1.0 func (m *UsersItemAssignmentsItemSubmissionsItemOutcomesRequestBuilder) Get(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemOutcomesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationOutcomeCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *UsersItemAssignmentsItemSubmissionsItemOutcomesRequestBuilder) Get(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationOutcomeCollectionResponseable), nil } -// Post create a new feedback resource for a submission. Only a teacher can perform this operation. To create a new file-based resource, upload the file to the feedback resources folder associated with the assignment. If the file doesn't exist or is not in that folder, the POST request will fail. +// Post create new navigation property to outcomes for education // returns a EducationOutcomeable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationfeedbackresourceoutcome-post-outcomes?view=graph-rest-1.0 func (m *UsersItemAssignmentsItemSubmissionsItemOutcomesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationOutcomeable, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemOutcomesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationOutcomeable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *UsersItemAssignmentsItemSubmissionsItemOutcomesRequestBuilder) Post(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationOutcomeable), nil } -// ToGetRequestInformation retrieve a list of educationOutcome objects. There are four types of outcomes: educationPointsOutcome, educationFeedbackOutcome, educationRubricOutcome, and educationFeedbackResourceOutcome. Only teachers, students, and applications with application permissions can perform this operation. A submission for a credit assignment (one that has no point value and no rubric) has an educationFeedbackOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for a points assignment (one that has a point value assigned) has both an educationFeedbackOutcome and an educationPointsOutcome. A submission for an assignment with an attached rubric, if the rubric is a credit rubric (no points), has an educationFeedbackOutcome and an educationRubricOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for an assignment with an attached rubric, if the rubric is a points rubric, has an educationFeedbackOutcome, an educationPointsOutcome, and an educationRubricOutcome. A submission for a feedback resource has an educationFeedbackResourceOutcome. All outcome types have a regular and a published property appropriate to that type of outcome; for example, points and publishedPoints, feedback and publishedFeedback. The regular property is the most recent value updated by the teacher; the published property is the most recent value returned to the student. +// ToGetRequestInformation get outcomes from education // returns a *RequestInformation when successful func (m *UsersItemAssignmentsItemSubmissionsItemOutcomesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemOutcomesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *UsersItemAssignmentsItemSubmissionsItemOutcomesRequestBuilder) ToGetReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new feedback resource for a submission. Only a teacher can perform this operation. To create a new file-based resource, upload the file to the feedback resources folder associated with the assignment. If the file doesn't exist or is not in that folder, the POST request will fail. +// ToPostRequestInformation create new navigation property to outcomes for education // returns a *RequestInformation when successful func (m *UsersItemAssignmentsItemSubmissionsItemOutcomesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationOutcomeable, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemOutcomesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/users_item_assignments_item_submissions_item_reassign_request_builder.go b/education/users_item_assignments_item_submissions_item_reassign_request_builder.go index 42cd663c929..9519e6bfb7c 100644 --- a/education/users_item_assignments_item_submissions_item_reassign_request_builder.go +++ b/education/users_item_assignments_item_submissions_item_reassign_request_builder.go @@ -36,7 +36,7 @@ func NewUsersItemAssignmentsItemSubmissionsItemReassignRequestBuilder(rawUrl str // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/educationsubmission-reassign?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/educationsubmission-reassign?view=graph-rest-beta func (m *UsersItemAssignmentsItemSubmissionsItemReassignRequestBuilder) Post(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemReassignRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/education/users_item_assignments_item_submissions_item_resources_education_submission_resource_item_request_builder.go b/education/users_item_assignments_item_submissions_item_resources_education_submission_resource_item_request_builder.go index 2fe01e68324..5db40bc2725 100644 --- a/education/users_item_assignments_item_submissions_item_resources_education_submission_resource_item_request_builder.go +++ b/education/users_item_assignments_item_submissions_item_resources_education_submission_resource_item_request_builder.go @@ -18,7 +18,7 @@ type UsersItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResource // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// UsersItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. +// UsersItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters get resources from education type UsersItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewUsersItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResou urlParams["request-raw-url"] = rawUrl return NewUsersItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an educationSubmissionResource from the submission. Only teachers and students can perform this operation. If the resource was copied from the assignment, a new copy of the resource will be created after the current copy is deleted. This allows you to 'reset' the resource to its original state. If the resource wasn't copied from the assignment but was added from the student, the resource is deleted. +// Delete delete navigation property resources for education // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationsubmissionresource-delete?view=graph-rest-1.0 func (m *UsersItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *UsersItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionReso func (m *UsersItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder) DependentResources()(*UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilder) { return NewUsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. +// Get get resources from education // returns a EducationSubmissionResourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationsubmissionresource-get?view=graph-rest-1.0 func (m *UsersItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -121,7 +115,7 @@ func (m *UsersItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionReso } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable), nil } -// ToDeleteRequestInformation delete an educationSubmissionResource from the submission. Only teachers and students can perform this operation. If the resource was copied from the assignment, a new copy of the resource will be created after the current copy is deleted. This allows you to 'reset' the resource to its original state. If the resource wasn't copied from the assignment but was added from the student, the resource is deleted. +// ToDeleteRequestInformation delete navigation property resources for education // returns a *RequestInformation when successful func (m *UsersItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -132,7 +126,7 @@ func (m *UsersItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionReso requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. +// ToGetRequestInformation get resources from education // returns a *RequestInformation when successful func (m *UsersItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/users_item_assignments_item_submissions_item_resources_request_builder.go b/education/users_item_assignments_item_submissions_item_resources_request_builder.go index 1a77d1c5e54..e1d9d0b0441 100644 --- a/education/users_item_assignments_item_submissions_item_resources_request_builder.go +++ b/education/users_item_assignments_item_submissions_item_resources_request_builder.go @@ -11,7 +11,7 @@ import ( type UsersItemAssignmentsItemSubmissionsItemResourcesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// UsersItemAssignmentsItemSubmissionsItemResourcesRequestBuilderGetQueryParameters list the resources associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. The educationSubmissionResource object is a wrapper around the actual resource object the student is working on. The wrapper also includes a pointer to the resources on the assignment if the resource was copied from the assignment during the assign process. These resources are the working copy of the assignment. The submittedResources are the resources that were officially submitted for grading. +// UsersItemAssignmentsItemSubmissionsItemResourcesRequestBuilderGetQueryParameters get resources from education type UsersItemAssignmentsItemSubmissionsItemResourcesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewUsersItemAssignmentsItemSubmissionsItemResourcesRequestBuilder(rawUrl st func (m *UsersItemAssignmentsItemSubmissionsItemResourcesRequestBuilder) Count()(*UsersItemAssignmentsItemSubmissionsItemResourcesCountRequestBuilder) { return NewUsersItemAssignmentsItemSubmissionsItemResourcesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list the resources associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. The educationSubmissionResource object is a wrapper around the actual resource object the student is working on. The wrapper also includes a pointer to the resources on the assignment if the resource was copied from the assignment during the assign process. These resources are the working copy of the assignment. The submittedResources are the resources that were officially submitted for grading. +// Get get resources from education // returns a EducationSubmissionResourceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationsubmission-list-resources?view=graph-rest-1.0 func (m *UsersItemAssignmentsItemSubmissionsItemResourcesRequestBuilder) Get(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemResourcesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *UsersItemAssignmentsItemSubmissionsItemResourcesRequestBuilder) Get(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceCollectionResponseable), nil } -// Post add a educationSubmissionResource to a submission resource list. Only teachers and students can perform this operation. The operation will not succeed if the allowStudentsToAddResources flag is not set to true. To create a new file-based resource, upload the file to the resources folder associated with the submission. If the file doesn't exist or is not in that folder, the POST request will fail. +// Post create new navigation property to resources for education // returns a EducationSubmissionResourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationsubmission-post-resources?view=graph-rest-1.0 func (m *UsersItemAssignmentsItemSubmissionsItemResourcesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemResourcesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *UsersItemAssignmentsItemSubmissionsItemResourcesRequestBuilder) Post(ct } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable), nil } -// ToGetRequestInformation list the resources associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. The educationSubmissionResource object is a wrapper around the actual resource object the student is working on. The wrapper also includes a pointer to the resources on the assignment if the resource was copied from the assignment during the assign process. These resources are the working copy of the assignment. The submittedResources are the resources that were officially submitted for grading. +// ToGetRequestInformation get resources from education // returns a *RequestInformation when successful func (m *UsersItemAssignmentsItemSubmissionsItemResourcesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemResourcesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *UsersItemAssignmentsItemSubmissionsItemResourcesRequestBuilder) ToGetRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add a educationSubmissionResource to a submission resource list. Only teachers and students can perform this operation. The operation will not succeed if the allowStudentsToAddResources flag is not set to true. To create a new file-based resource, upload the file to the resources folder associated with the submission. If the file doesn't exist or is not in that folder, the POST request will fail. +// ToPostRequestInformation create new navigation property to resources for education // returns a *RequestInformation when successful func (m *UsersItemAssignmentsItemSubmissionsItemResourcesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionResourceable, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemResourcesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/users_item_assignments_item_submissions_item_return_request_builder.go b/education/users_item_assignments_item_submissions_item_return_request_builder.go index 513c540c886..66fbb41d61e 100644 --- a/education/users_item_assignments_item_submissions_item_return_request_builder.go +++ b/education/users_item_assignments_item_submissions_item_return_request_builder.go @@ -36,7 +36,7 @@ func NewUsersItemAssignmentsItemSubmissionsItemReturnRequestBuilder(rawUrl strin // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/educationsubmission-return?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/educationsubmission-return?view=graph-rest-beta func (m *UsersItemAssignmentsItemSubmissionsItemReturnRequestBuilder) Post(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemReturnRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/education/users_item_assignments_item_submissions_item_set_up_resources_folder_request_builder.go b/education/users_item_assignments_item_submissions_item_set_up_resources_folder_request_builder.go index aec1022a6c5..2a941c4e16f 100644 --- a/education/users_item_assignments_item_submissions_item_set_up_resources_folder_request_builder.go +++ b/education/users_item_assignments_item_submissions_item_set_up_resources_folder_request_builder.go @@ -36,7 +36,7 @@ func NewUsersItemAssignmentsItemSubmissionsItemSetUpResourcesFolderRequestBuilde // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/educationsubmission-setupresourcesfolder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/educationsubmission-setupresourcesfolder?view=graph-rest-beta func (m *UsersItemAssignmentsItemSubmissionsItemSetUpResourcesFolderRequestBuilder) Post(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemSetUpResourcesFolderRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/education/users_item_assignments_item_submissions_item_submit_request_builder.go b/education/users_item_assignments_item_submissions_item_submit_request_builder.go index 830542dcdb8..4aa729177c0 100644 --- a/education/users_item_assignments_item_submissions_item_submit_request_builder.go +++ b/education/users_item_assignments_item_submissions_item_submit_request_builder.go @@ -36,7 +36,7 @@ func NewUsersItemAssignmentsItemSubmissionsItemSubmitRequestBuilder(rawUrl strin // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/educationsubmission-submit?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/educationsubmission-submit?view=graph-rest-beta func (m *UsersItemAssignmentsItemSubmissionsItemSubmitRequestBuilder) Post(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemSubmitRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/education/users_item_assignments_item_submissions_item_unsubmit_request_builder.go b/education/users_item_assignments_item_submissions_item_unsubmit_request_builder.go index d127bf41241..f3ce18da915 100644 --- a/education/users_item_assignments_item_submissions_item_unsubmit_request_builder.go +++ b/education/users_item_assignments_item_submissions_item_unsubmit_request_builder.go @@ -36,7 +36,7 @@ func NewUsersItemAssignmentsItemSubmissionsItemUnsubmitRequestBuilder(rawUrl str // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/educationsubmission-unsubmit?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/educationsubmission-unsubmit?view=graph-rest-beta func (m *UsersItemAssignmentsItemSubmissionsItemUnsubmitRequestBuilder) Post(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemSubmissionsItemUnsubmitRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/education/users_item_assignments_item_submissions_request_builder.go b/education/users_item_assignments_item_submissions_request_builder.go index fd9ce64bda5..3734a7db986 100644 --- a/education/users_item_assignments_item_submissions_request_builder.go +++ b/education/users_item_assignments_item_submissions_request_builder.go @@ -11,7 +11,7 @@ import ( type UsersItemAssignmentsItemSubmissionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// UsersItemAssignmentsItemSubmissionsRequestBuilderGetQueryParameters list all the submission objects associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can get all the submissions, a student can only get submissions that they're associated with. Provide the header Prefer: include-unknown-enum-members to properly list submissions with the reassigned status. For details, see the examples section. +// UsersItemAssignmentsItemSubmissionsRequestBuilderGetQueryParameters once published, there is a submission object for each student representing their work and grade. Read-only. Nullable. type UsersItemAssignmentsItemSubmissionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewUsersItemAssignmentsItemSubmissionsRequestBuilder(rawUrl string, request func (m *UsersItemAssignmentsItemSubmissionsRequestBuilder) Count()(*UsersItemAssignmentsItemSubmissionsCountRequestBuilder) { return NewUsersItemAssignmentsItemSubmissionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list all the submission objects associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can get all the submissions, a student can only get submissions that they're associated with. Provide the header Prefer: include-unknown-enum-members to properly list submissions with the reassigned status. For details, see the examples section. +// Get once published, there is a submission object for each student representing their work and grade. Read-only. Nullable. // returns a EducationSubmissionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-list-submissions?view=graph-rest-1.0 func (m *UsersItemAssignmentsItemSubmissionsRequestBuilder) Get(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemSubmissionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *UsersItemAssignmentsItemSubmissionsRequestBuilder) Post(ctx context.Con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionable), nil } -// ToGetRequestInformation list all the submission objects associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can get all the submissions, a student can only get submissions that they're associated with. Provide the header Prefer: include-unknown-enum-members to properly list submissions with the reassigned status. For details, see the examples section. +// ToGetRequestInformation once published, there is a submission object for each student representing their work and grade. Read-only. Nullable. // returns a *RequestInformation when successful func (m *UsersItemAssignmentsItemSubmissionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemSubmissionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/users_item_assignments_request_builder.go b/education/users_item_assignments_request_builder.go index bd8d230b5df..656e994b6b2 100644 --- a/education/users_item_assignments_request_builder.go +++ b/education/users_item_assignments_request_builder.go @@ -11,7 +11,7 @@ import ( type UsersItemAssignmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// UsersItemAssignmentsRequestBuilderGetQueryParameters returns a list of assignments assigned to a user for all classes. Only teachers, students, and applications with application permissions can perform this operation. This utility namespace allows a caller to find all of a student's or teacher's assignments in a single call, rather than having to request assignments from each class. The assignment list contains what is needed to get the detailed information for the assignment from within the class namespace. All other operations on the assignment should use the class namespace. +// UsersItemAssignmentsRequestBuilderGetQueryParameters list of assignments for the user. Nullable. type UsersItemAssignmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *UsersItemAssignmentsRequestBuilder) Count()(*UsersItemAssignmentsCountR func (m *UsersItemAssignmentsRequestBuilder) Delta()(*UsersItemAssignmentsDeltaRequestBuilder) { return NewUsersItemAssignmentsDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get returns a list of assignments assigned to a user for all classes. Only teachers, students, and applications with application permissions can perform this operation. This utility namespace allows a caller to find all of a student's or teacher's assignments in a single call, rather than having to request assignments from each class. The assignment list contains what is needed to get the detailed information for the assignment from within the class namespace. All other operations on the assignment should use the class namespace. +// Get list of assignments for the user. Nullable. // returns a EducationAssignmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationuser-list-assignments?view=graph-rest-1.0 func (m *UsersItemAssignmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *UsersItemAssignmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *UsersItemAssignmentsRequestBuilder) Post(ctx context.Context, body ie23 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationAssignmentable), nil } -// ToGetRequestInformation returns a list of assignments assigned to a user for all classes. Only teachers, students, and applications with application permissions can perform this operation. This utility namespace allows a caller to find all of a student's or teacher's assignments in a single call, rather than having to request assignments from each class. The assignment list contains what is needed to get the detailed information for the assignment from within the class namespace. All other operations on the assignment should use the class namespace. +// ToGetRequestInformation list of assignments for the user. Nullable. // returns a *RequestInformation when successful func (m *UsersItemAssignmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UsersItemAssignmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/users_item_classes_request_builder.go b/education/users_item_classes_request_builder.go index caa873b91f3..2a995476cd3 100644 --- a/education/users_item_classes_request_builder.go +++ b/education/users_item_classes_request_builder.go @@ -11,7 +11,7 @@ import ( type UsersItemClassesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// UsersItemClassesRequestBuilderGetQueryParameters get the educationClass resources an educationUser is a member of. +// UsersItemClassesRequestBuilderGetQueryParameters classes to which the user belongs. Nullable. type UsersItemClassesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewUsersItemClassesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7d func (m *UsersItemClassesRequestBuilder) Count()(*UsersItemClassesCountRequestBuilder) { return NewUsersItemClassesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the educationClass resources an educationUser is a member of. +// Get classes to which the user belongs. Nullable. // returns a EducationClassCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationuser-list-classes?view=graph-rest-1.0 func (m *UsersItemClassesRequestBuilder) Get(ctx context.Context, requestConfiguration *UsersItemClassesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationClassCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *UsersItemClassesRequestBuilder) Get(ctx context.Context, requestConfigu } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationClassCollectionResponseable), nil } -// ToGetRequestInformation get the educationClass resources an educationUser is a member of. +// ToGetRequestInformation classes to which the user belongs. Nullable. // returns a *RequestInformation when successful func (m *UsersItemClassesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UsersItemClassesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/users_item_rubrics_education_rubric_item_request_builder.go b/education/users_item_rubrics_education_rubric_item_request_builder.go index 7c8a9660437..43a11ff6550 100644 --- a/education/users_item_rubrics_education_rubric_item_request_builder.go +++ b/education/users_item_rubrics_education_rubric_item_request_builder.go @@ -18,7 +18,7 @@ type UsersItemRubricsEducationRubricItemRequestBuilderDeleteRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// UsersItemRubricsEducationRubricItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an educationRubric object. Only teachers and students can perform this operation. +// UsersItemRubricsEducationRubricItemRequestBuilderGetQueryParameters when set, the grading rubric attached to the assignment. type UsersItemRubricsEducationRubricItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewUsersItemRubricsEducationRubricItemRequestBuilder(rawUrl string, request urlParams["request-raw-url"] = rawUrl return NewUsersItemRubricsEducationRubricItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an educationRubric object. Only teachers can perform this operation. +// Delete delete navigation property rubrics for education // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationrubric-delete?view=graph-rest-1.0 func (m *UsersItemRubricsEducationRubricItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *UsersItemRubricsEducationRubricItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *UsersItemRubricsEducationRubricItemRequestBuilder) Delete(ctx context.C } return nil } -// Get retrieve the properties and relationships of an educationRubric object. Only teachers and students can perform this operation. +// Get when set, the grading rubric attached to the assignment. // returns a EducationRubricable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationrubric-get?view=graph-rest-1.0 func (m *UsersItemRubricsEducationRubricItemRequestBuilder) Get(ctx context.Context, requestConfiguration *UsersItemRubricsEducationRubricItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationRubricable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *UsersItemRubricsEducationRubricItemRequestBuilder) Get(ctx context.Cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationRubricable), nil } -// Patch update the properties of an educationRubric object. Only teachers can perform this operation. Updating a rubric attached to an assignment (PATCH /education/classes/{id}/assignments/{id}/rubric) is only possible before the assignment is published, and what is updated is actually the original rubric that exists under /education/users/{id}/rubrics. After the assignment is published, an immutable copy of the rubric is made that is attached to that specific assignment. That rubric can be retrieved using GET /education/classes/{id}/assignments/{id}/rubric, but it cannot be updated. +// Patch update the navigation property rubrics in education // returns a EducationRubricable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationrubric-update?view=graph-rest-1.0 func (m *UsersItemRubricsEducationRubricItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationRubricable, requestConfiguration *UsersItemRubricsEducationRubricItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationRubricable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *UsersItemRubricsEducationRubricItemRequestBuilder) Patch(ctx context.Co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationRubricable), nil } -// ToDeleteRequestInformation delete an educationRubric object. Only teachers can perform this operation. +// ToDeleteRequestInformation delete navigation property rubrics for education // returns a *RequestInformation when successful func (m *UsersItemRubricsEducationRubricItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *UsersItemRubricsEducationRubricItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *UsersItemRubricsEducationRubricItemRequestBuilder) ToDeleteRequestInfor requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of an educationRubric object. Only teachers and students can perform this operation. +// ToGetRequestInformation when set, the grading rubric attached to the assignment. // returns a *RequestInformation when successful func (m *UsersItemRubricsEducationRubricItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UsersItemRubricsEducationRubricItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *UsersItemRubricsEducationRubricItemRequestBuilder) ToGetRequestInformat requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an educationRubric object. Only teachers can perform this operation. Updating a rubric attached to an assignment (PATCH /education/classes/{id}/assignments/{id}/rubric) is only possible before the assignment is published, and what is updated is actually the original rubric that exists under /education/users/{id}/rubrics. After the assignment is published, an immutable copy of the rubric is made that is attached to that specific assignment. That rubric can be retrieved using GET /education/classes/{id}/assignments/{id}/rubric, but it cannot be updated. +// ToPatchRequestInformation update the navigation property rubrics in education // returns a *RequestInformation when successful func (m *UsersItemRubricsEducationRubricItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationRubricable, requestConfiguration *UsersItemRubricsEducationRubricItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/users_item_rubrics_request_builder.go b/education/users_item_rubrics_request_builder.go index 7e3b703316a..ee0ace5081a 100644 --- a/education/users_item_rubrics_request_builder.go +++ b/education/users_item_rubrics_request_builder.go @@ -11,7 +11,7 @@ import ( type UsersItemRubricsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// UsersItemRubricsRequestBuilderGetQueryParameters retrieve a list of educationRubric objects. +// UsersItemRubricsRequestBuilderGetQueryParameters when set, the grading rubric attached to the assignment. type UsersItemRubricsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewUsersItemRubricsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7d func (m *UsersItemRubricsRequestBuilder) Count()(*UsersItemRubricsCountRequestBuilder) { return NewUsersItemRubricsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of educationRubric objects. +// Get when set, the grading rubric attached to the assignment. // returns a EducationRubricCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationuser-list-rubrics?view=graph-rest-1.0 func (m *UsersItemRubricsRequestBuilder) Get(ctx context.Context, requestConfiguration *UsersItemRubricsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationRubricCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *UsersItemRubricsRequestBuilder) Get(ctx context.Context, requestConfigu } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationRubricCollectionResponseable), nil } -// Post create a new educationRubric object. +// Post create new navigation property to rubrics for education // returns a EducationRubricable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationuser-post-rubrics?view=graph-rest-1.0 func (m *UsersItemRubricsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationRubricable, requestConfiguration *UsersItemRubricsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationRubricable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *UsersItemRubricsRequestBuilder) Post(ctx context.Context, body ie233ee7 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationRubricable), nil } -// ToGetRequestInformation retrieve a list of educationRubric objects. +// ToGetRequestInformation when set, the grading rubric attached to the assignment. // returns a *RequestInformation when successful func (m *UsersItemRubricsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UsersItemRubricsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *UsersItemRubricsRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new educationRubric object. +// ToPostRequestInformation create new navigation property to rubrics for education // returns a *RequestInformation when successful func (m *UsersItemRubricsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationRubricable, requestConfiguration *UsersItemRubricsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/users_item_schools_request_builder.go b/education/users_item_schools_request_builder.go index 71f1e1dc412..d7482aae10d 100644 --- a/education/users_item_schools_request_builder.go +++ b/education/users_item_schools_request_builder.go @@ -11,7 +11,7 @@ import ( type UsersItemSchoolsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// UsersItemSchoolsRequestBuilderGetQueryParameters retrieve a list of schools for a user. +// UsersItemSchoolsRequestBuilderGetQueryParameters schools to which the user belongs. Nullable. type UsersItemSchoolsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewUsersItemSchoolsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7d func (m *UsersItemSchoolsRequestBuilder) Count()(*UsersItemSchoolsCountRequestBuilder) { return NewUsersItemSchoolsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of schools for a user. +// Get schools to which the user belongs. Nullable. // returns a EducationSchoolCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationuser-list-schools?view=graph-rest-1.0 func (m *UsersItemSchoolsRequestBuilder) Get(ctx context.Context, requestConfiguration *UsersItemSchoolsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSchoolCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *UsersItemSchoolsRequestBuilder) Get(ctx context.Context, requestConfigu } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSchoolCollectionResponseable), nil } -// ToGetRequestInformation retrieve a list of schools for a user. +// ToGetRequestInformation schools to which the user belongs. Nullable. // returns a *RequestInformation when successful func (m *UsersItemSchoolsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UsersItemSchoolsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/users_item_user_request_builder.go b/education/users_item_user_request_builder.go index 46f22dc5245..3de28472eb2 100644 --- a/education/users_item_user_request_builder.go +++ b/education/users_item_user_request_builder.go @@ -11,7 +11,7 @@ import ( type UsersItemUserRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// UsersItemUserRequestBuilderGetQueryParameters retrieve the simple directory user that corresponds to this educationUser. +// UsersItemUserRequestBuilderGetQueryParameters get user from education type UsersItemUserRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -40,12 +40,9 @@ func NewUsersItemUserRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee urlParams["request-raw-url"] = rawUrl return NewUsersItemUserRequestBuilderInternal(urlParams, requestAdapter) } -// Get retrieve the simple directory user that corresponds to this educationUser. +// Get get user from education // returns a Userable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationuser-get-user?view=graph-rest-1.0 func (m *UsersItemUserRequestBuilder) Get(ctx context.Context, requestConfiguration *UsersItemUserRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Userable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,7 +70,7 @@ func (m *UsersItemUserRequestBuilder) MailboxSettings()(*UsersItemUserMailboxSet func (m *UsersItemUserRequestBuilder) ServiceProvisioningErrors()(*UsersItemUserServiceProvisioningErrorsRequestBuilder) { return NewUsersItemUserServiceProvisioningErrorsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation retrieve the simple directory user that corresponds to this educationUser. +// ToGetRequestInformation get user from education // returns a *RequestInformation when successful func (m *UsersItemUserRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UsersItemUserRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/users_request_builder.go b/education/users_request_builder.go index 97d8fdbe308..dc018d5ff88 100644 --- a/education/users_request_builder.go +++ b/education/users_request_builder.go @@ -11,7 +11,7 @@ import ( type UsersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// UsersRequestBuilderGetQueryParameters retrieve a list of user objects. These user objects will include education-specific properties. +// UsersRequestBuilderGetQueryParameters get users from education type UsersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *UsersRequestBuilder) Count()(*UsersCountRequestBuilder) { func (m *UsersRequestBuilder) Delta()(*UsersDeltaRequestBuilder) { return NewUsersDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of user objects. These user objects will include education-specific properties. +// Get get users from education // returns a EducationUserCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationroot-list-users?view=graph-rest-1.0 func (m *UsersRequestBuilder) Get(ctx context.Context, requestConfiguration *UsersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationUserCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *UsersRequestBuilder) Get(ctx context.Context, requestConfiguration *Use } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationUserCollectionResponseable), nil } -// Post create a new user. +// Post create new navigation property to users for education // 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/educationroot-post-users?view=graph-rest-1.0 func (m *UsersRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationUserable, requestConfiguration *UsersRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationUserable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *UsersRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba69 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationUserable), nil } -// ToGetRequestInformation retrieve a list of user objects. These user objects will include education-specific properties. +// ToGetRequestInformation get users from education // returns a *RequestInformation when successful func (m *UsersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UsersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *UsersRequestBuilder) ToGetRequestInformation(ctx context.Context, reque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new user. +// ToPostRequestInformation create new navigation property to users for education // returns a *RequestInformation when successful func (m *UsersRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationUserable, requestConfiguration *UsersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/employeeexperience/communities_community_item_request_builder.go b/employeeexperience/communities_community_item_request_builder.go index 842383ceb2b..bf90a0201b9 100644 --- a/employeeexperience/communities_community_item_request_builder.go +++ b/employeeexperience/communities_community_item_request_builder.go @@ -18,7 +18,7 @@ type CommunitiesCommunityItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// CommunitiesCommunityItemRequestBuilderGetQueryParameters read the properties and relationships of a community object. +// CommunitiesCommunityItemRequestBuilderGetQueryParameters a collection of communities in Viva Engage. type CommunitiesCommunityItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *CommunitiesCommunityItemRequestBuilder) Delete(ctx context.Context, req } return nil } -// Get read the properties and relationships of a community object. +// Get a collection of communities in Viva Engage. // returns a Communityable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/community-get?view=graph-rest-1.0 func (m *CommunitiesCommunityItemRequestBuilder) Get(ctx context.Context, requestConfiguration *CommunitiesCommunityItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Communityable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -134,7 +131,7 @@ func (m *CommunitiesCommunityItemRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a community object. +// ToGetRequestInformation a collection of communities in Viva Engage. // returns a *RequestInformation when successful func (m *CommunitiesCommunityItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CommunitiesCommunityItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/employeeexperience/communities_request_builder.go b/employeeexperience/communities_request_builder.go index 67dfcd5aba9..2a9b385af4a 100644 --- a/employeeexperience/communities_request_builder.go +++ b/employeeexperience/communities_request_builder.go @@ -11,7 +11,7 @@ import ( type CommunitiesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// CommunitiesRequestBuilderGetQueryParameters read the properties and relationships of a community object. +// CommunitiesRequestBuilderGetQueryParameters a collection of communities in Viva Engage. type CommunitiesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewCommunitiesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 func (m *CommunitiesRequestBuilder) Count()(*CommunitiesCountRequestBuilder) { return NewCommunitiesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of a community object. +// Get a collection of communities in Viva Engage. // returns a CommunityCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *CommunitiesRequestBuilder) Get(ctx context.Context, requestConfiguration *CommunitiesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CommunityCollectionResponseable, error) { @@ -96,12 +96,9 @@ func (m *CommunitiesRequestBuilder) Get(ctx context.Context, requestConfiguratio } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CommunityCollectionResponseable), nil } -// Post create a new community in Viva Engage. +// Post create new navigation property to communities for employeeExperience // returns a Communityable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/employeeexperience-post-communities?view=graph-rest-1.0 func (m *CommunitiesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Communityable, requestConfiguration *CommunitiesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Communityable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *CommunitiesRequestBuilder) Post(ctx context.Context, body ie233ee762e29 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Communityable), nil } -// ToGetRequestInformation read the properties and relationships of a community object. +// ToGetRequestInformation a collection of communities in Viva Engage. // returns a *RequestInformation when successful func (m *CommunitiesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CommunitiesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +130,7 @@ func (m *CommunitiesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new community in Viva Engage. +// ToPostRequestInformation create new navigation property to communities for employeeExperience // returns a *RequestInformation when successful func (m *CommunitiesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Communityable, requestConfiguration *CommunitiesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/employeeexperience/engagement_async_operations_engagement_async_operation_item_request_builder.go b/employeeexperience/engagement_async_operations_engagement_async_operation_item_request_builder.go index 3633a247a6f..f0243141f07 100644 --- a/employeeexperience/engagement_async_operations_engagement_async_operation_item_request_builder.go +++ b/employeeexperience/engagement_async_operations_engagement_async_operation_item_request_builder.go @@ -18,7 +18,7 @@ type EngagementAsyncOperationsEngagementAsyncOperationItemRequestBuilderDeleteRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EngagementAsyncOperationsEngagementAsyncOperationItemRequestBuilderGetQueryParameters get an engagementAsyncOperation to track a long-running operation request. +// EngagementAsyncOperationsEngagementAsyncOperationItemRequestBuilderGetQueryParameters a collection of long-running, asynchronous operations related to Viva Engage. type EngagementAsyncOperationsEngagementAsyncOperationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *EngagementAsyncOperationsEngagementAsyncOperationItemRequestBuilder) De } return nil } -// Get get an engagementAsyncOperation to track a long-running operation request. +// Get a collection of long-running, asynchronous operations related to Viva Engage. // returns a EngagementAsyncOperationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/engagementasyncoperation-get?view=graph-rest-1.0 func (m *EngagementAsyncOperationsEngagementAsyncOperationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EngagementAsyncOperationsEngagementAsyncOperationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EngagementAsyncOperationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *EngagementAsyncOperationsEngagementAsyncOperationItemRequestBuilder) To requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an engagementAsyncOperation to track a long-running operation request. +// ToGetRequestInformation a collection of long-running, asynchronous operations related to Viva Engage. // returns a *RequestInformation when successful func (m *EngagementAsyncOperationsEngagementAsyncOperationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EngagementAsyncOperationsEngagementAsyncOperationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/employeeexperience/engagement_async_operations_request_builder.go b/employeeexperience/engagement_async_operations_request_builder.go index 44f1a909912..f7e40864f93 100644 --- a/employeeexperience/engagement_async_operations_request_builder.go +++ b/employeeexperience/engagement_async_operations_request_builder.go @@ -11,7 +11,7 @@ import ( type EngagementAsyncOperationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EngagementAsyncOperationsRequestBuilderGetQueryParameters get an engagementAsyncOperation to track a long-running operation request. +// EngagementAsyncOperationsRequestBuilderGetQueryParameters a collection of long-running, asynchronous operations related to Viva Engage. type EngagementAsyncOperationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewEngagementAsyncOperationsRequestBuilder(rawUrl string, requestAdapter i2 func (m *EngagementAsyncOperationsRequestBuilder) Count()(*EngagementAsyncOperationsCountRequestBuilder) { return NewEngagementAsyncOperationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an engagementAsyncOperation to track a long-running operation request. +// Get a collection of long-running, asynchronous operations related to Viva Engage. // returns a EngagementAsyncOperationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *EngagementAsyncOperationsRequestBuilder) Get(ctx context.Context, requestConfiguration *EngagementAsyncOperationsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EngagementAsyncOperationCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *EngagementAsyncOperationsRequestBuilder) Post(ctx context.Context, body } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EngagementAsyncOperationable), nil } -// ToGetRequestInformation get an engagementAsyncOperation to track a long-running operation request. +// ToGetRequestInformation a collection of long-running, asynchronous operations related to Viva Engage. // returns a *RequestInformation when successful func (m *EngagementAsyncOperationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EngagementAsyncOperationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/employeeexperience/goals_export_jobs_item_content_request_builder.go b/employeeexperience/goals_export_jobs_item_content_request_builder.go index eca28d06a56..be354f3a2f3 100644 --- a/employeeexperience/goals_export_jobs_item_content_request_builder.go +++ b/employeeexperience/goals_export_jobs_item_content_request_builder.go @@ -41,9 +41,6 @@ func NewGoalsExportJobsItemContentRequestBuilder(rawUrl string, requestAdapter i // Get the content of the goalsExportJob. // 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/goals-list-exportjobs?view=graph-rest-1.0 func (m *GoalsExportJobsItemContentRequestBuilder) Get(ctx context.Context, requestConfiguration *GoalsExportJobsItemContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/employeeexperience/goals_export_jobs_request_builder.go b/employeeexperience/goals_export_jobs_request_builder.go index de2b2047edc..8c967dbde03 100644 --- a/employeeexperience/goals_export_jobs_request_builder.go +++ b/employeeexperience/goals_export_jobs_request_builder.go @@ -11,7 +11,7 @@ import ( type GoalsExportJobsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// GoalsExportJobsRequestBuilderGetQueryParameters get a list of goalsExportJob objects and their properties in a Viva Goals organization. +// GoalsExportJobsRequestBuilderGetQueryParameters represents a collection of goals export jobs for Viva Goals. type GoalsExportJobsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewGoalsExportJobsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7da func (m *GoalsExportJobsRequestBuilder) Count()(*GoalsExportJobsCountRequestBuilder) { return NewGoalsExportJobsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of goalsExportJob objects and their properties in a Viva Goals organization. +// Get represents a collection of goals export jobs for Viva Goals. // returns a GoalsExportJobCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/goals-list-exportjobs?view=graph-rest-1.0 func (m *GoalsExportJobsRequestBuilder) Get(ctx context.Context, requestConfiguration *GoalsExportJobsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.GoalsExportJobCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *GoalsExportJobsRequestBuilder) Get(ctx context.Context, requestConfigur } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.GoalsExportJobCollectionResponseable), nil } -// Post create a new goalsExportJob object in a Viva Goals organization. +// Post create new navigation property to exportJobs for employeeExperience // returns a GoalsExportJobable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/goals-post-exportjobs?view=graph-rest-1.0 func (m *GoalsExportJobsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.GoalsExportJobable, requestConfiguration *GoalsExportJobsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.GoalsExportJobable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *GoalsExportJobsRequestBuilder) Post(ctx context.Context, body ie233ee76 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.GoalsExportJobable), nil } -// ToGetRequestInformation get a list of goalsExportJob objects and their properties in a Viva Goals organization. +// ToGetRequestInformation represents a collection of goals export jobs for Viva Goals. // returns a *RequestInformation when successful func (m *GoalsExportJobsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *GoalsExportJobsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *GoalsExportJobsRequestBuilder) ToGetRequestInformation(ctx context.Cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new goalsExportJob object in a Viva Goals organization. +// ToPostRequestInformation create new navigation property to exportJobs for employeeExperience // returns a *RequestInformation when successful func (m *GoalsExportJobsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.GoalsExportJobable, requestConfiguration *GoalsExportJobsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/employeeexperience/learning_course_activities_learning_course_activity_item_request_builder.go b/employeeexperience/learning_course_activities_learning_course_activity_item_request_builder.go index bda7b8276bf..4791ce6927b 100644 --- a/employeeexperience/learning_course_activities_learning_course_activity_item_request_builder.go +++ b/employeeexperience/learning_course_activities_learning_course_activity_item_request_builder.go @@ -18,7 +18,7 @@ type LearningCourseActivitiesLearningCourseActivityItemRequestBuilderDeleteReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// LearningCourseActivitiesLearningCourseActivityItemRequestBuilderGetQueryParameters get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user. +// LearningCourseActivitiesLearningCourseActivityItemRequestBuilderGetQueryParameters get learningCourseActivities from employeeExperience type LearningCourseActivitiesLearningCourseActivityItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *LearningCourseActivitiesLearningCourseActivityItemRequestBuilder) Delet } return nil } -// Get get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user. +// Get get learningCourseActivities from employeeExperience // returns a LearningCourseActivityable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/learningcourseactivity-get?view=graph-rest-1.0 func (m *LearningCourseActivitiesLearningCourseActivityItemRequestBuilder) Get(ctx context.Context, requestConfiguration *LearningCourseActivitiesLearningCourseActivityItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LearningCourseActivityable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *LearningCourseActivitiesLearningCourseActivityItemRequestBuilder) ToDel requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user. +// ToGetRequestInformation get learningCourseActivities from employeeExperience // returns a *RequestInformation when successful func (m *LearningCourseActivitiesLearningCourseActivityItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LearningCourseActivitiesLearningCourseActivityItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/employeeexperience/learning_course_activities_request_builder.go b/employeeexperience/learning_course_activities_request_builder.go index 5738108c69b..1fe423d2270 100644 --- a/employeeexperience/learning_course_activities_request_builder.go +++ b/employeeexperience/learning_course_activities_request_builder.go @@ -11,7 +11,7 @@ import ( type LearningCourseActivitiesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LearningCourseActivitiesRequestBuilderGetQueryParameters get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user. +// LearningCourseActivitiesRequestBuilderGetQueryParameters get learningCourseActivities from employeeExperience type LearningCourseActivitiesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewLearningCourseActivitiesRequestBuilder(rawUrl string, requestAdapter i2a func (m *LearningCourseActivitiesRequestBuilder) Count()(*LearningCourseActivitiesCountRequestBuilder) { return NewLearningCourseActivitiesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user. +// Get get learningCourseActivities from employeeExperience // returns a LearningCourseActivityCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *LearningCourseActivitiesRequestBuilder) Get(ctx context.Context, requestConfiguration *LearningCourseActivitiesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LearningCourseActivityCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *LearningCourseActivitiesRequestBuilder) Post(ctx context.Context, body } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LearningCourseActivityable), nil } -// ToGetRequestInformation get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user. +// ToGetRequestInformation get learningCourseActivities from employeeExperience // returns a *RequestInformation when successful func (m *LearningCourseActivitiesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LearningCourseActivitiesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/employeeexperience/learning_course_activities_with_externalcourse_activity_id_request_builder.go b/employeeexperience/learning_course_activities_with_externalcourse_activity_id_request_builder.go index 61768cbef05..7b6b33302dd 100644 --- a/employeeexperience/learning_course_activities_with_externalcourse_activity_id_request_builder.go +++ b/employeeexperience/learning_course_activities_with_externalcourse_activity_id_request_builder.go @@ -18,7 +18,7 @@ type LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilderDeleteReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilderGetQueryParameters get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user. +// LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilderGetQueryParameters get learningCourseActivities from employeeExperience type LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,12 +73,9 @@ func (m *LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilder) Del } return nil } -// Get get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user. +// Get get learningCourseActivities from employeeExperience // returns a LearningCourseActivityable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/learningcourseactivity-get?view=graph-rest-1.0 func (m *LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilder) Get(ctx context.Context, requestConfiguration *LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LearningCourseActivityable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -127,7 +124,7 @@ func (m *LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilder) ToD requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user. +// ToGetRequestInformation get learningCourseActivities from employeeExperience // returns a *RequestInformation when successful func (m *LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/employeeexperience/learning_providers_item_learning_contents_learning_content_item_request_builder.go b/employeeexperience/learning_providers_item_learning_contents_learning_content_item_request_builder.go index f7d2be6e524..4705efd8a22 100644 --- a/employeeexperience/learning_providers_item_learning_contents_learning_content_item_request_builder.go +++ b/employeeexperience/learning_providers_item_learning_contents_learning_content_item_request_builder.go @@ -18,7 +18,7 @@ type LearningProvidersItemLearningContentsLearningContentItemRequestBuilderDelet // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// LearningProvidersItemLearningContentsLearningContentItemRequestBuilderGetQueryParameters get the specified learningContent resource which represents the metadata of the specified provider's ingested content. +// LearningProvidersItemLearningContentsLearningContentItemRequestBuilderGetQueryParameters learning catalog items for the provider. type LearningProvidersItemLearningContentsLearningContentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewLearningProvidersItemLearningContentsLearningContentItemRequestBuilder(r urlParams["request-raw-url"] = rawUrl return NewLearningProvidersItemLearningContentsLearningContentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete the specified learningContent resource that represents the metadata of the specified provider's ingested content. +// Delete delete navigation property learningContents for employeeExperience // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/learningprovider-delete-learningcontents?view=graph-rest-1.0 func (m *LearningProvidersItemLearningContentsLearningContentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *LearningProvidersItemLearningContentsLearningContentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *LearningProvidersItemLearningContentsLearningContentItemRequestBuilder) } return nil } -// Get get the specified learningContent resource which represents the metadata of the specified provider's ingested content. +// Get learning catalog items for the provider. // returns a LearningContentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/learningcontent-get?view=graph-rest-1.0 func (m *LearningProvidersItemLearningContentsLearningContentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *LearningProvidersItemLearningContentsLearningContentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LearningContentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *LearningProvidersItemLearningContentsLearningContentItemRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LearningContentable), nil } -// Patch update the specified learningContent resource. Used by a learning provider to ingest or update the metadata for their content in Viva Learning. If the specified learning content doesn't yet exist for the specified provider, this operation creates the metadata for the new content. Otherwise, this operation replaces the metadata of the existing content. +// Patch update the navigation property learningContents in employeeExperience // returns a LearningContentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/learningcontent-update?view=graph-rest-1.0 func (m *LearningProvidersItemLearningContentsLearningContentItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LearningContentable, requestConfiguration *LearningProvidersItemLearningContentsLearningContentItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LearningContentable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *LearningProvidersItemLearningContentsLearningContentItemRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LearningContentable), nil } -// ToDeleteRequestInformation delete the specified learningContent resource that represents the metadata of the specified provider's ingested content. +// ToDeleteRequestInformation delete navigation property learningContents for employeeExperience // returns a *RequestInformation when successful func (m *LearningProvidersItemLearningContentsLearningContentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *LearningProvidersItemLearningContentsLearningContentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *LearningProvidersItemLearningContentsLearningContentItemRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the specified learningContent resource which represents the metadata of the specified provider's ingested content. +// ToGetRequestInformation learning catalog items for the provider. // returns a *RequestInformation when successful func (m *LearningProvidersItemLearningContentsLearningContentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LearningProvidersItemLearningContentsLearningContentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *LearningProvidersItemLearningContentsLearningContentItemRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the specified learningContent resource. Used by a learning provider to ingest or update the metadata for their content in Viva Learning. If the specified learning content doesn't yet exist for the specified provider, this operation creates the metadata for the new content. Otherwise, this operation replaces the metadata of the existing content. +// ToPatchRequestInformation update the navigation property learningContents in employeeExperience // returns a *RequestInformation when successful func (m *LearningProvidersItemLearningContentsLearningContentItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LearningContentable, requestConfiguration *LearningProvidersItemLearningContentsLearningContentItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/employeeexperience/learning_providers_item_learning_contents_request_builder.go b/employeeexperience/learning_providers_item_learning_contents_request_builder.go index ff905b4e053..dd699bc12f9 100644 --- a/employeeexperience/learning_providers_item_learning_contents_request_builder.go +++ b/employeeexperience/learning_providers_item_learning_contents_request_builder.go @@ -11,7 +11,7 @@ import ( type LearningProvidersItemLearningContentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LearningProvidersItemLearningContentsRequestBuilderGetQueryParameters get a list of the learningContent resources and their properties. This list represents the metadata of the specified provider's content in Viva Learning. +// LearningProvidersItemLearningContentsRequestBuilderGetQueryParameters learning catalog items for the provider. type LearningProvidersItemLearningContentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewLearningProvidersItemLearningContentsRequestBuilder(rawUrl string, reque func (m *LearningProvidersItemLearningContentsRequestBuilder) Count()(*LearningProvidersItemLearningContentsCountRequestBuilder) { return NewLearningProvidersItemLearningContentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the learningContent resources and their properties. This list represents the metadata of the specified provider's content in Viva Learning. +// Get learning catalog items for the provider. // returns a LearningContentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/learningprovider-list-learningcontents?view=graph-rest-1.0 func (m *LearningProvidersItemLearningContentsRequestBuilder) Get(ctx context.Context, requestConfiguration *LearningProvidersItemLearningContentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LearningContentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *LearningProvidersItemLearningContentsRequestBuilder) Post(ctx context.C } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LearningContentable), nil } -// ToGetRequestInformation get a list of the learningContent resources and their properties. This list represents the metadata of the specified provider's content in Viva Learning. +// ToGetRequestInformation learning catalog items for the provider. // returns a *RequestInformation when successful func (m *LearningProvidersItemLearningContentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LearningProvidersItemLearningContentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/employeeexperience/learning_providers_item_learning_contents_with_external_id_request_builder.go b/employeeexperience/learning_providers_item_learning_contents_with_external_id_request_builder.go index 46710d5581b..f77eee79c96 100644 --- a/employeeexperience/learning_providers_item_learning_contents_with_external_id_request_builder.go +++ b/employeeexperience/learning_providers_item_learning_contents_with_external_id_request_builder.go @@ -18,7 +18,7 @@ type LearningProvidersItemLearningContentsWithExternalIdRequestBuilderDeleteRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// LearningProvidersItemLearningContentsWithExternalIdRequestBuilderGetQueryParameters get the specified learningContent resource which represents the metadata of the specified provider's ingested content. +// LearningProvidersItemLearningContentsWithExternalIdRequestBuilderGetQueryParameters learning catalog items for the provider. type LearningProvidersItemLearningContentsWithExternalIdRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,11 +57,8 @@ func NewLearningProvidersItemLearningContentsWithExternalIdRequestBuilder(rawUrl urlParams["request-raw-url"] = rawUrl return NewLearningProvidersItemLearningContentsWithExternalIdRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Delete delete the specified learningContent resource that represents the metadata of the specified provider's ingested content. +// Delete delete navigation property learningContents for employeeExperience // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/learningprovider-delete-learningcontents?view=graph-rest-1.0 func (m *LearningProvidersItemLearningContentsWithExternalIdRequestBuilder) Delete(ctx context.Context, requestConfiguration *LearningProvidersItemLearningContentsWithExternalIdRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -76,12 +73,9 @@ func (m *LearningProvidersItemLearningContentsWithExternalIdRequestBuilder) Dele } return nil } -// Get get the specified learningContent resource which represents the metadata of the specified provider's ingested content. +// Get learning catalog items for the provider. // returns a LearningContentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/learningcontent-get?view=graph-rest-1.0 func (m *LearningProvidersItemLearningContentsWithExternalIdRequestBuilder) Get(ctx context.Context, requestConfiguration *LearningProvidersItemLearningContentsWithExternalIdRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LearningContentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +93,9 @@ func (m *LearningProvidersItemLearningContentsWithExternalIdRequestBuilder) Get( } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LearningContentable), nil } -// Patch update the specified learningContent resource. Used by a learning provider to ingest or update the metadata for their content in Viva Learning. If the specified learning content doesn't yet exist for the specified provider, this operation creates the metadata for the new content. Otherwise, this operation replaces the metadata of the existing content. +// Patch update the navigation property learningContents in employeeExperience // returns a LearningContentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/learningcontent-update?view=graph-rest-1.0 func (m *LearningProvidersItemLearningContentsWithExternalIdRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LearningContentable, requestConfiguration *LearningProvidersItemLearningContentsWithExternalIdRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LearningContentable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +113,7 @@ func (m *LearningProvidersItemLearningContentsWithExternalIdRequestBuilder) Patc } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LearningContentable), nil } -// ToDeleteRequestInformation delete the specified learningContent resource that represents the metadata of the specified provider's ingested content. +// ToDeleteRequestInformation delete navigation property learningContents for employeeExperience // returns a *RequestInformation when successful func (m *LearningProvidersItemLearningContentsWithExternalIdRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *LearningProvidersItemLearningContentsWithExternalIdRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +124,7 @@ func (m *LearningProvidersItemLearningContentsWithExternalIdRequestBuilder) ToDe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the specified learningContent resource which represents the metadata of the specified provider's ingested content. +// ToGetRequestInformation learning catalog items for the provider. // returns a *RequestInformation when successful func (m *LearningProvidersItemLearningContentsWithExternalIdRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LearningProvidersItemLearningContentsWithExternalIdRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -147,7 +138,7 @@ func (m *LearningProvidersItemLearningContentsWithExternalIdRequestBuilder) ToGe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the specified learningContent resource. Used by a learning provider to ingest or update the metadata for their content in Viva Learning. If the specified learning content doesn't yet exist for the specified provider, this operation creates the metadata for the new content. Otherwise, this operation replaces the metadata of the existing content. +// ToPatchRequestInformation update the navigation property learningContents in employeeExperience // returns a *RequestInformation when successful func (m *LearningProvidersItemLearningContentsWithExternalIdRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LearningContentable, requestConfiguration *LearningProvidersItemLearningContentsWithExternalIdRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/employeeexperience/learning_providers_item_learning_course_activities_learning_course_activity_item_request_builder.go b/employeeexperience/learning_providers_item_learning_course_activities_learning_course_activity_item_request_builder.go index f67e955caf9..7489b0a0556 100644 --- a/employeeexperience/learning_providers_item_learning_course_activities_learning_course_activity_item_request_builder.go +++ b/employeeexperience/learning_providers_item_learning_course_activities_learning_course_activity_item_request_builder.go @@ -54,11 +54,8 @@ func NewLearningProvidersItemLearningCourseActivitiesLearningCourseActivityItemR urlParams["request-raw-url"] = rawUrl return NewLearningProvidersItemLearningCourseActivitiesLearningCourseActivityItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a learningCourseActivity object by using the course activity ID of either an assignment or a self-initiated activity. +// Delete delete navigation property learningCourseActivities for employeeExperience // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/learningcourseactivity-delete?view=graph-rest-1.0 func (m *LearningProvidersItemLearningCourseActivitiesLearningCourseActivityItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *LearningProvidersItemLearningCourseActivitiesLearningCourseActivityItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *LearningProvidersItemLearningCourseActivitiesLearningCourseActivityItem } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LearningCourseActivityable), nil } -// Patch update the properties of a learningCourseActivity object. +// Patch update the navigation property learningCourseActivities in employeeExperience // returns a LearningCourseActivityable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/learningcourseactivity-update?view=graph-rest-1.0 func (m *LearningProvidersItemLearningCourseActivitiesLearningCourseActivityItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LearningCourseActivityable, requestConfiguration *LearningProvidersItemLearningCourseActivitiesLearningCourseActivityItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LearningCourseActivityable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -116,7 +110,7 @@ func (m *LearningProvidersItemLearningCourseActivitiesLearningCourseActivityItem } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LearningCourseActivityable), nil } -// ToDeleteRequestInformation delete a learningCourseActivity object by using the course activity ID of either an assignment or a self-initiated activity. +// ToDeleteRequestInformation delete navigation property learningCourseActivities for employeeExperience // returns a *RequestInformation when successful func (m *LearningProvidersItemLearningCourseActivitiesLearningCourseActivityItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *LearningProvidersItemLearningCourseActivitiesLearningCourseActivityItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *LearningProvidersItemLearningCourseActivitiesLearningCourseActivityItem requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a learningCourseActivity object. +// ToPatchRequestInformation update the navigation property learningCourseActivities in employeeExperience // returns a *RequestInformation when successful func (m *LearningProvidersItemLearningCourseActivitiesLearningCourseActivityItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LearningCourseActivityable, requestConfiguration *LearningProvidersItemLearningCourseActivitiesLearningCourseActivityItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/employeeexperience/learning_providers_item_learning_course_activities_request_builder.go b/employeeexperience/learning_providers_item_learning_course_activities_request_builder.go index e3faac353ed..bac666d2cea 100644 --- a/employeeexperience/learning_providers_item_learning_course_activities_request_builder.go +++ b/employeeexperience/learning_providers_item_learning_course_activities_request_builder.go @@ -96,12 +96,9 @@ func (m *LearningProvidersItemLearningCourseActivitiesRequestBuilder) Get(ctx co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LearningCourseActivityCollectionResponseable), nil } -// Post create a new learningCourseActivity object. A learning course activity can be one of two types: - Assignment- Self-initiated Use this method to create either type of activity. +// Post create new navigation property to learningCourseActivities for employeeExperience // returns a LearningCourseActivityable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/employeeexperienceuser-post-learningcourseactivities?view=graph-rest-1.0 func (m *LearningProvidersItemLearningCourseActivitiesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LearningCourseActivityable, requestConfiguration *LearningProvidersItemLearningCourseActivitiesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LearningCourseActivityable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -133,7 +130,7 @@ func (m *LearningProvidersItemLearningCourseActivitiesRequestBuilder) ToGetReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new learningCourseActivity object. A learning course activity can be one of two types: - Assignment- Self-initiated Use this method to create either type of activity. +// ToPostRequestInformation create new navigation property to learningCourseActivities for employeeExperience // returns a *RequestInformation when successful func (m *LearningProvidersItemLearningCourseActivitiesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LearningCourseActivityable, requestConfiguration *LearningProvidersItemLearningCourseActivitiesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/employeeexperience/learning_providers_item_learning_course_activities_with_externalcourse_activity_id_request_builder.go b/employeeexperience/learning_providers_item_learning_course_activities_with_externalcourse_activity_id_request_builder.go index fe81e18b7f5..aec66f66e19 100644 --- a/employeeexperience/learning_providers_item_learning_course_activities_with_externalcourse_activity_id_request_builder.go +++ b/employeeexperience/learning_providers_item_learning_course_activities_with_externalcourse_activity_id_request_builder.go @@ -57,11 +57,8 @@ func NewLearningProvidersItemLearningCourseActivitiesWithExternalcourseActivityI urlParams["request-raw-url"] = rawUrl return NewLearningProvidersItemLearningCourseActivitiesWithExternalcourseActivityIdRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Delete delete a learningCourseActivity object by using the course activity ID of either an assignment or a self-initiated activity. +// Delete delete navigation property learningCourseActivities for employeeExperience // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/learningcourseactivity-delete?view=graph-rest-1.0 func (m *LearningProvidersItemLearningCourseActivitiesWithExternalcourseActivityIdRequestBuilder) Delete(ctx context.Context, requestConfiguration *LearningProvidersItemLearningCourseActivitiesWithExternalcourseActivityIdRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +93,9 @@ func (m *LearningProvidersItemLearningCourseActivitiesWithExternalcourseActivity } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LearningCourseActivityable), nil } -// Patch update the properties of a learningCourseActivity object. +// Patch update the navigation property learningCourseActivities in employeeExperience // returns a LearningCourseActivityable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/learningcourseactivity-update?view=graph-rest-1.0 func (m *LearningProvidersItemLearningCourseActivitiesWithExternalcourseActivityIdRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LearningCourseActivityable, requestConfiguration *LearningProvidersItemLearningCourseActivitiesWithExternalcourseActivityIdRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LearningCourseActivityable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +113,7 @@ func (m *LearningProvidersItemLearningCourseActivitiesWithExternalcourseActivity } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LearningCourseActivityable), nil } -// ToDeleteRequestInformation delete a learningCourseActivity object by using the course activity ID of either an assignment or a self-initiated activity. +// ToDeleteRequestInformation delete navigation property learningCourseActivities for employeeExperience // returns a *RequestInformation when successful func (m *LearningProvidersItemLearningCourseActivitiesWithExternalcourseActivityIdRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *LearningProvidersItemLearningCourseActivitiesWithExternalcourseActivityIdRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +138,7 @@ func (m *LearningProvidersItemLearningCourseActivitiesWithExternalcourseActivity requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a learningCourseActivity object. +// ToPatchRequestInformation update the navigation property learningCourseActivities in employeeExperience // returns a *RequestInformation when successful func (m *LearningProvidersItemLearningCourseActivitiesWithExternalcourseActivityIdRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LearningCourseActivityable, requestConfiguration *LearningProvidersItemLearningCourseActivitiesWithExternalcourseActivityIdRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/employeeexperience/learning_providers_learning_provider_item_request_builder.go b/employeeexperience/learning_providers_learning_provider_item_request_builder.go index b46e5950690..86b32c3b066 100644 --- a/employeeexperience/learning_providers_learning_provider_item_request_builder.go +++ b/employeeexperience/learning_providers_learning_provider_item_request_builder.go @@ -18,7 +18,7 @@ type LearningProvidersLearningProviderItemRequestBuilderDeleteRequestConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// LearningProvidersLearningProviderItemRequestBuilderGetQueryParameters read the properties and relationships of a learningProvider object. +// LearningProvidersLearningProviderItemRequestBuilderGetQueryParameters a collection of learning providers. type LearningProvidersLearningProviderItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewLearningProvidersLearningProviderItemRequestBuilder(rawUrl string, reque urlParams["request-raw-url"] = rawUrl return NewLearningProvidersLearningProviderItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a learningProvider resource and remove its registration in Viva Learning for the tenant. +// Delete delete navigation property learningProviders for employeeExperience // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/employeeexperience-delete-learningproviders?view=graph-rest-1.0 func (m *LearningProvidersLearningProviderItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *LearningProvidersLearningProviderItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *LearningProvidersLearningProviderItemRequestBuilder) Delete(ctx context } return nil } -// Get read the properties and relationships of a learningProvider object. +// Get a collection of learning providers. // returns a LearningProviderable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/learningprovider-get?view=graph-rest-1.0 func (m *LearningProvidersLearningProviderItemRequestBuilder) Get(ctx context.Context, requestConfiguration *LearningProvidersLearningProviderItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LearningProviderable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -116,12 +110,9 @@ func (m *LearningProvidersLearningProviderItemRequestBuilder) LearningCourseActi func (m *LearningProvidersLearningProviderItemRequestBuilder) LearningCourseActivitiesWithExternalcourseActivityId(externalcourseActivityId *string)(*LearningProvidersItemLearningCourseActivitiesWithExternalcourseActivityIdRequestBuilder) { return NewLearningProvidersItemLearningCourseActivitiesWithExternalcourseActivityIdRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, externalcourseActivityId) } -// Patch update the properties of a learningProvider object. +// Patch update the navigation property learningProviders in employeeExperience // returns a LearningProviderable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/learningprovider-update?view=graph-rest-1.0 func (m *LearningProvidersLearningProviderItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LearningProviderable, requestConfiguration *LearningProvidersLearningProviderItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LearningProviderable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -139,7 +130,7 @@ func (m *LearningProvidersLearningProviderItemRequestBuilder) Patch(ctx context. } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LearningProviderable), nil } -// ToDeleteRequestInformation delete a learningProvider resource and remove its registration in Viva Learning for the tenant. +// ToDeleteRequestInformation delete navigation property learningProviders for employeeExperience // returns a *RequestInformation when successful func (m *LearningProvidersLearningProviderItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *LearningProvidersLearningProviderItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -150,7 +141,7 @@ func (m *LearningProvidersLearningProviderItemRequestBuilder) ToDeleteRequestInf requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a learningProvider object. +// ToGetRequestInformation a collection of learning providers. // returns a *RequestInformation when successful func (m *LearningProvidersLearningProviderItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LearningProvidersLearningProviderItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -164,7 +155,7 @@ func (m *LearningProvidersLearningProviderItemRequestBuilder) ToGetRequestInform requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a learningProvider object. +// ToPatchRequestInformation update the navigation property learningProviders in employeeExperience // returns a *RequestInformation when successful func (m *LearningProvidersLearningProviderItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LearningProviderable, requestConfiguration *LearningProvidersLearningProviderItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/employeeexperience/learning_providers_request_builder.go b/employeeexperience/learning_providers_request_builder.go index d888bc0b8d5..fa4bee02bb0 100644 --- a/employeeexperience/learning_providers_request_builder.go +++ b/employeeexperience/learning_providers_request_builder.go @@ -11,7 +11,7 @@ import ( type LearningProvidersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LearningProvidersRequestBuilderGetQueryParameters get a list of the learningProvider resources registered in Viva Learning for a tenant. +// LearningProvidersRequestBuilderGetQueryParameters a collection of learning providers. type LearningProvidersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewLearningProvidersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7 func (m *LearningProvidersRequestBuilder) Count()(*LearningProvidersCountRequestBuilder) { return NewLearningProvidersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the learningProvider resources registered in Viva Learning for a tenant. +// Get a collection of learning providers. // returns a LearningProviderCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/employeeexperience-list-learningproviders?view=graph-rest-1.0 func (m *LearningProvidersRequestBuilder) Get(ctx context.Context, requestConfiguration *LearningProvidersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LearningProviderCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *LearningProvidersRequestBuilder) Get(ctx context.Context, requestConfig } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LearningProviderCollectionResponseable), nil } -// Post create a new learningProvider object and register it with Viva Learning using the specified display name and logos for different themes. +// Post create new navigation property to learningProviders for employeeExperience // returns a LearningProviderable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/employeeexperience-post-learningproviders?view=graph-rest-1.0 func (m *LearningProvidersRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LearningProviderable, requestConfiguration *LearningProvidersRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LearningProviderable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *LearningProvidersRequestBuilder) Post(ctx context.Context, body ie233ee } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LearningProviderable), nil } -// ToGetRequestInformation get a list of the learningProvider resources registered in Viva Learning for a tenant. +// ToGetRequestInformation a collection of learning providers. // returns a *RequestInformation when successful func (m *LearningProvidersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LearningProvidersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *LearningProvidersRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new learningProvider object and register it with Viva Learning using the specified display name and logos for different themes. +// ToPostRequestInformation create new navigation property to learningProviders for employeeExperience // returns a *RequestInformation when successful func (m *LearningProvidersRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LearningProviderable, requestConfiguration *LearningProvidersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/external/authorization_systems_request_builder.go b/external/authorization_systems_request_builder.go index 0c56f14c8c2..63ede7d86fb 100644 --- a/external/authorization_systems_request_builder.go +++ b/external/authorization_systems_request_builder.go @@ -11,7 +11,7 @@ import ( type AuthorizationSystemsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AuthorizationSystemsRequestBuilderGetQueryParameters list the authorizationSystem objects onboarded to Permissions Management and their properties. +// AuthorizationSystemsRequestBuilderGetQueryParameters represents an onboarded AWS account, Azure subscription, or GCP project that Microsoft Entra Permissions Management will collect and analyze permissions and actions on. type AuthorizationSystemsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewAuthorizationSystemsRequestBuilder(rawUrl string, requestAdapter i2ae418 func (m *AuthorizationSystemsRequestBuilder) Count()(*AuthorizationSystemsCountRequestBuilder) { return NewAuthorizationSystemsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list the authorizationSystem objects onboarded to Permissions Management and their properties. +// Get represents an onboarded AWS account, Azure subscription, or GCP project that Microsoft Entra Permissions Management will collect and analyze permissions and actions on. // returns a AuthorizationSystemCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/externalconnectors-external-list-authorizationsystems?view=graph-rest-1.0 func (m *AuthorizationSystemsRequestBuilder) Get(ctx context.Context, requestConfiguration *AuthorizationSystemsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthorizationSystemCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *AuthorizationSystemsRequestBuilder) Post(ctx context.Context, body ie23 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthorizationSystemable), nil } -// ToGetRequestInformation list the authorizationSystem objects onboarded to Permissions Management and their properties. +// ToGetRequestInformation represents an onboarded AWS account, Azure subscription, or GCP project that Microsoft Entra Permissions Management will collect and analyze permissions and actions on. // returns a *RequestInformation when successful func (m *AuthorizationSystemsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AuthorizationSystemsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/external/connections_external_connection_item_request_builder.go b/external/connections_external_connection_item_request_builder.go index 921586d8ec6..12f9dee23bf 100644 --- a/external/connections_external_connection_item_request_builder.go +++ b/external/connections_external_connection_item_request_builder.go @@ -18,7 +18,7 @@ type ConnectionsExternalConnectionItemRequestBuilderDeleteRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ConnectionsExternalConnectionItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an externalConnection. +// ConnectionsExternalConnectionItemRequestBuilderGetQueryParameters get connections from external type ConnectionsExternalConnectionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewConnectionsExternalConnectionItemRequestBuilder(rawUrl string, requestAd urlParams["request-raw-url"] = rawUrl return NewConnectionsExternalConnectionItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an externalConnection. +// Delete delete navigation property connections for external // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/externalconnectors-externalconnection-delete?view=graph-rest-1.0 func (m *ConnectionsExternalConnectionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ConnectionsExternalConnectionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ConnectionsExternalConnectionItemRequestBuilder) Delete(ctx context.Con } return nil } -// Get retrieve the properties and relationships of an externalConnection. +// Get get connections from external // returns a ExternalConnectionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/externalconnectors-externalconnection-get?view=graph-rest-1.0 func (m *ConnectionsExternalConnectionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ConnectionsExternalConnectionItemRequestBuilderGetRequestConfiguration)(ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.ExternalConnectionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -111,12 +105,9 @@ func (m *ConnectionsExternalConnectionItemRequestBuilder) Items()(*ConnectionsIt func (m *ConnectionsExternalConnectionItemRequestBuilder) Operations()(*ConnectionsItemOperationsRequestBuilder) { return NewConnectionsItemOperationsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of an externalConnection. +// Patch update the navigation property connections in external // returns a ExternalConnectionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/externalconnectors-externalconnection-update?view=graph-rest-1.0 func (m *ConnectionsExternalConnectionItemRequestBuilder) Patch(ctx context.Context, body ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.ExternalConnectionable, requestConfiguration *ConnectionsExternalConnectionItemRequestBuilderPatchRequestConfiguration)(ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.ExternalConnectionable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -144,7 +135,7 @@ func (m *ConnectionsExternalConnectionItemRequestBuilder) Quota()(*ConnectionsIt func (m *ConnectionsExternalConnectionItemRequestBuilder) Schema()(*ConnectionsItemSchemaRequestBuilder) { return NewConnectionsItemSchemaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete an externalConnection. +// ToDeleteRequestInformation delete navigation property connections for external // returns a *RequestInformation when successful func (m *ConnectionsExternalConnectionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ConnectionsExternalConnectionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -155,7 +146,7 @@ func (m *ConnectionsExternalConnectionItemRequestBuilder) ToDeleteRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of an externalConnection. +// ToGetRequestInformation get connections from external // returns a *RequestInformation when successful func (m *ConnectionsExternalConnectionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConnectionsExternalConnectionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -169,7 +160,7 @@ func (m *ConnectionsExternalConnectionItemRequestBuilder) ToGetRequestInformatio requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an externalConnection. +// ToPatchRequestInformation update the navigation property connections in external // returns a *RequestInformation when successful func (m *ConnectionsExternalConnectionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.ExternalConnectionable, requestConfiguration *ConnectionsExternalConnectionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/external/connections_item_groups_external_group_item_request_builder.go b/external/connections_item_groups_external_group_item_request_builder.go index c0112389c44..9f68ea5d668 100644 --- a/external/connections_item_groups_external_group_item_request_builder.go +++ b/external/connections_item_groups_external_group_item_request_builder.go @@ -54,11 +54,8 @@ func NewConnectionsItemGroupsExternalGroupItemRequestBuilder(rawUrl string, requ urlParams["request-raw-url"] = rawUrl return NewConnectionsItemGroupsExternalGroupItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an externalGroup object. +// Delete delete navigation property groups for external // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/externalconnectors-externalgroup-delete?view=graph-rest-1.0 func (m *ConnectionsItemGroupsExternalGroupItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ConnectionsItemGroupsExternalGroupItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -118,7 +115,7 @@ func (m *ConnectionsItemGroupsExternalGroupItemRequestBuilder) Patch(ctx context } return res.(ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.ExternalGroupable), nil } -// ToDeleteRequestInformation delete an externalGroup object. +// ToDeleteRequestInformation delete navigation property groups for external // returns a *RequestInformation when successful func (m *ConnectionsItemGroupsExternalGroupItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ConnectionsItemGroupsExternalGroupItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/external/connections_item_groups_item_members_identity_item_request_builder.go b/external/connections_item_groups_item_members_identity_item_request_builder.go index 2db110e1543..9be216aec11 100644 --- a/external/connections_item_groups_item_members_identity_item_request_builder.go +++ b/external/connections_item_groups_item_members_identity_item_request_builder.go @@ -54,11 +54,8 @@ func NewConnectionsItemGroupsItemMembersIdentityItemRequestBuilder(rawUrl string urlParams["request-raw-url"] = rawUrl return NewConnectionsItemGroupsItemMembersIdentityItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an externalGroupMember object. +// Delete delete navigation property members for external // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/externalconnectors-externalgroupmember-delete?view=graph-rest-1.0 func (m *ConnectionsItemGroupsItemMembersIdentityItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ConnectionsItemGroupsItemMembersIdentityItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -113,7 +110,7 @@ func (m *ConnectionsItemGroupsItemMembersIdentityItemRequestBuilder) Patch(ctx c } return res.(ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.Identityable), nil } -// ToDeleteRequestInformation delete an externalGroupMember object. +// ToDeleteRequestInformation delete navigation property members for external // returns a *RequestInformation when successful func (m *ConnectionsItemGroupsItemMembersIdentityItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ConnectionsItemGroupsItemMembersIdentityItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/external/connections_item_groups_item_members_request_builder.go b/external/connections_item_groups_item_members_request_builder.go index ab65a3c355f..b5307d79f8b 100644 --- a/external/connections_item_groups_item_members_request_builder.go +++ b/external/connections_item_groups_item_members_request_builder.go @@ -96,12 +96,9 @@ func (m *ConnectionsItemGroupsItemMembersRequestBuilder) Get(ctx context.Context } return res.(ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.IdentityCollectionResponseable), nil } -// Post create a new externalGroupMember object. +// Post create new navigation property to members for external // returns a Identityable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/externalconnectors-externalgroup-post-members?view=graph-rest-1.0 func (m *ConnectionsItemGroupsItemMembersRequestBuilder) Post(ctx context.Context, body ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.Identityable, requestConfiguration *ConnectionsItemGroupsItemMembersRequestBuilderPostRequestConfiguration)(ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.Identityable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -133,7 +130,7 @@ func (m *ConnectionsItemGroupsItemMembersRequestBuilder) ToGetRequestInformation requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new externalGroupMember object. +// ToPostRequestInformation create new navigation property to members for external // returns a *RequestInformation when successful func (m *ConnectionsItemGroupsItemMembersRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.Identityable, requestConfiguration *ConnectionsItemGroupsItemMembersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/external/connections_item_groups_request_builder.go b/external/connections_item_groups_request_builder.go index 11818c2c45b..b997e79ac15 100644 --- a/external/connections_item_groups_request_builder.go +++ b/external/connections_item_groups_request_builder.go @@ -96,12 +96,9 @@ func (m *ConnectionsItemGroupsRequestBuilder) Get(ctx context.Context, requestCo } return res.(ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.ExternalGroupCollectionResponseable), nil } -// Post create a new externalGroup object. +// Post create new navigation property to groups for external // returns a ExternalGroupable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/externalconnectors-externalconnection-post-groups?view=graph-rest-1.0 func (m *ConnectionsItemGroupsRequestBuilder) Post(ctx context.Context, body ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.ExternalGroupable, requestConfiguration *ConnectionsItemGroupsRequestBuilderPostRequestConfiguration)(ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.ExternalGroupable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -133,7 +130,7 @@ func (m *ConnectionsItemGroupsRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new externalGroup object. +// ToPostRequestInformation create new navigation property to groups for external // returns a *RequestInformation when successful func (m *ConnectionsItemGroupsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.ExternalGroupable, requestConfiguration *ConnectionsItemGroupsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/external/connections_item_items_external_item_item_request_builder.go b/external/connections_item_items_external_item_item_request_builder.go index fa7852d65d4..273a32707d0 100644 --- a/external/connections_item_items_external_item_item_request_builder.go +++ b/external/connections_item_items_external_item_item_request_builder.go @@ -18,7 +18,7 @@ type ConnectionsItemItemsExternalItemItemRequestBuilderDeleteRequestConfiguratio // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ConnectionsItemItemsExternalItemItemRequestBuilderGetQueryParameters get the properties and relationships of an externalitem object. This API is provided for diagnostic purposes only. It isn't intended to be used for any other purpose. Repeated requests to this API might result in 429 HTTP errors. +// ConnectionsItemItemsExternalItemItemRequestBuilderGetQueryParameters get items from external type ConnectionsItemItemsExternalItemItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewConnectionsItemItemsExternalItemItemRequestBuilder(rawUrl string, reques urlParams["request-raw-url"] = rawUrl return NewConnectionsItemItemsExternalItemItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an externalitem. +// Delete delete navigation property items for external // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/externalconnectors-externalitem-delete?view=graph-rest-1.0 func (m *ConnectionsItemItemsExternalItemItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ConnectionsItemItemsExternalItemItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *ConnectionsItemItemsExternalItemItemRequestBuilder) Delete(ctx context. } return nil } -// Get get the properties and relationships of an externalitem object. This API is provided for diagnostic purposes only. It isn't intended to be used for any other purpose. Repeated requests to this API might result in 429 HTTP errors. +// Get get items from external // returns a ExternalItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/externalconnectors-externalitem-get?view=graph-rest-1.0 func (m *ConnectionsItemItemsExternalItemItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ConnectionsItemItemsExternalItemItemRequestBuilderGetRequestConfiguration)(ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.ExternalItemable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -126,7 +120,7 @@ func (m *ConnectionsItemItemsExternalItemItemRequestBuilder) Put(ctx context.Con } return res.(ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.ExternalItemable), nil } -// ToDeleteRequestInformation delete an externalitem. +// ToDeleteRequestInformation delete navigation property items for external // returns a *RequestInformation when successful func (m *ConnectionsItemItemsExternalItemItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ConnectionsItemItemsExternalItemItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -137,7 +131,7 @@ func (m *ConnectionsItemItemsExternalItemItemRequestBuilder) ToDeleteRequestInfo requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties and relationships of an externalitem object. This API is provided for diagnostic purposes only. It isn't intended to be used for any other purpose. Repeated requests to this API might result in 429 HTTP errors. +// ToGetRequestInformation get items from external // returns a *RequestInformation when successful func (m *ConnectionsItemItemsExternalItemItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConnectionsItemItemsExternalItemItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/external/connections_item_items_request_builder.go b/external/connections_item_items_request_builder.go index 1753795a61a..c18f78dfd0f 100644 --- a/external/connections_item_items_request_builder.go +++ b/external/connections_item_items_request_builder.go @@ -11,7 +11,7 @@ import ( type ConnectionsItemItemsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ConnectionsItemItemsRequestBuilderGetQueryParameters get the properties and relationships of an externalitem object. This API is provided for diagnostic purposes only. It isn't intended to be used for any other purpose. Repeated requests to this API might result in 429 HTTP errors. +// ConnectionsItemItemsRequestBuilderGetQueryParameters get items from external type ConnectionsItemItemsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewConnectionsItemItemsRequestBuilder(rawUrl string, requestAdapter i2ae418 func (m *ConnectionsItemItemsRequestBuilder) Count()(*ConnectionsItemItemsCountRequestBuilder) { return NewConnectionsItemItemsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the properties and relationships of an externalitem object. This API is provided for diagnostic purposes only. It isn't intended to be used for any other purpose. Repeated requests to this API might result in 429 HTTP errors. +// Get get items from external // returns a ExternalItemCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ConnectionsItemItemsRequestBuilder) Get(ctx context.Context, requestConfiguration *ConnectionsItemItemsRequestBuilderGetRequestConfiguration)(ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.ExternalItemCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *ConnectionsItemItemsRequestBuilder) Post(ctx context.Context, body ie98 } return res.(ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.ExternalItemable), nil } -// ToGetRequestInformation get the properties and relationships of an externalitem object. This API is provided for diagnostic purposes only. It isn't intended to be used for any other purpose. Repeated requests to this API might result in 429 HTTP errors. +// ToGetRequestInformation get items from external // returns a *RequestInformation when successful func (m *ConnectionsItemItemsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConnectionsItemItemsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/external/connections_item_quota_request_builder.go b/external/connections_item_quota_request_builder.go index f424bbe8f81..2b0c0d50c69 100644 --- a/external/connections_item_quota_request_builder.go +++ b/external/connections_item_quota_request_builder.go @@ -18,7 +18,7 @@ type ConnectionsItemQuotaRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ConnectionsItemQuotaRequestBuilderGetQueryParameters retrieve the properties and relationships of a connectionQuota object. +// ConnectionsItemQuotaRequestBuilderGetQueryParameters get quota from external type ConnectionsItemQuotaRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ConnectionsItemQuotaRequestBuilder) Delete(ctx context.Context, request } return nil } -// Get retrieve the properties and relationships of a connectionQuota object. +// Get get quota from external // returns a ConnectionQuotaable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/externalconnectors-connectionquota-get?view=graph-rest-1.0 func (m *ConnectionsItemQuotaRequestBuilder) Get(ctx context.Context, requestConfiguration *ConnectionsItemQuotaRequestBuilderGetRequestConfiguration)(ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.ConnectionQuotaable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ConnectionsItemQuotaRequestBuilder) ToDeleteRequestInformation(ctx cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a connectionQuota object. +// ToGetRequestInformation get quota from external // returns a *RequestInformation when successful func (m *ConnectionsItemQuotaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConnectionsItemQuotaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/external/connections_item_schema_request_builder.go b/external/connections_item_schema_request_builder.go index 7335073f950..54e0dd62445 100644 --- a/external/connections_item_schema_request_builder.go +++ b/external/connections_item_schema_request_builder.go @@ -11,7 +11,7 @@ import ( type ConnectionsItemSchemaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ConnectionsItemSchemaRequestBuilderGetQueryParameters retrieve the properties of a schema for an externalConnection. +// ConnectionsItemSchemaRequestBuilderGetQueryParameters get schema from external type ConnectionsItemSchemaRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,12 +47,9 @@ func NewConnectionsItemSchemaRequestBuilder(rawUrl string, requestAdapter i2ae41 urlParams["request-raw-url"] = rawUrl return NewConnectionsItemSchemaRequestBuilderInternal(urlParams, requestAdapter) } -// Get retrieve the properties of a schema for an externalConnection. +// Get get schema from external // returns a Schemaable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/externalconnectors-schema-get?view=graph-rest-1.0 func (m *ConnectionsItemSchemaRequestBuilder) Get(ctx context.Context, requestConfiguration *ConnectionsItemSchemaRequestBuilderGetRequestConfiguration)(ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.Schemaable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -70,12 +67,9 @@ func (m *ConnectionsItemSchemaRequestBuilder) Get(ctx context.Context, requestCo } return res.(ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.Schemaable), nil } -// Patch create the schema for a Microsoft Search connection. +// Patch update the navigation property schema in external // returns a Schemaable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/externalconnectors-externalconnection-patch-schema?view=graph-rest-1.0 func (m *ConnectionsItemSchemaRequestBuilder) Patch(ctx context.Context, body ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.Schemaable, requestConfiguration *ConnectionsItemSchemaRequestBuilderPatchRequestConfiguration)(ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.Schemaable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -93,7 +87,7 @@ func (m *ConnectionsItemSchemaRequestBuilder) Patch(ctx context.Context, body ie } return res.(ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.Schemaable), nil } -// ToGetRequestInformation retrieve the properties of a schema for an externalConnection. +// ToGetRequestInformation get schema from external // returns a *RequestInformation when successful func (m *ConnectionsItemSchemaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConnectionsItemSchemaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -107,7 +101,7 @@ func (m *ConnectionsItemSchemaRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation create the schema for a Microsoft Search connection. +// ToPatchRequestInformation update the navigation property schema in external // returns a *RequestInformation when successful func (m *ConnectionsItemSchemaRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.Schemaable, requestConfiguration *ConnectionsItemSchemaRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/external/connections_request_builder.go b/external/connections_request_builder.go index 70882cd461f..06250893009 100644 --- a/external/connections_request_builder.go +++ b/external/connections_request_builder.go @@ -11,7 +11,7 @@ import ( type ConnectionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ConnectionsRequestBuilderGetQueryParameters retrieve a list of externalConnections. +// ConnectionsRequestBuilderGetQueryParameters get connections from external type ConnectionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewConnectionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 func (m *ConnectionsRequestBuilder) Count()(*ConnectionsCountRequestBuilder) { return NewConnectionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of externalConnections. +// Get get connections from external // returns a ExternalConnectionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/externalconnectors-externalconnection-list?view=graph-rest-1.0 func (m *ConnectionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ConnectionsRequestBuilderGetRequestConfiguration)(ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.ExternalConnectionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ConnectionsRequestBuilder) Get(ctx context.Context, requestConfiguratio } return res.(ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.ExternalConnectionCollectionResponseable), nil } -// Post create a new externalConnection. +// Post create new navigation property to connections for external // returns a ExternalConnectionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/externalconnectors-external-post-connections?view=graph-rest-1.0 func (m *ConnectionsRequestBuilder) Post(ctx context.Context, body ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.ExternalConnectionable, requestConfiguration *ConnectionsRequestBuilderPostRequestConfiguration)(ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.ExternalConnectionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ConnectionsRequestBuilder) Post(ctx context.Context, body ie98116770ca9 } return res.(ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.ExternalConnectionable), nil } -// ToGetRequestInformation retrieve a list of externalConnections. +// ToGetRequestInformation get connections from external // returns a *RequestInformation when successful func (m *ConnectionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConnectionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ConnectionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new externalConnection. +// ToPostRequestInformation create new navigation property to connections for external // returns a *RequestInformation when successful func (m *ConnectionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.ExternalConnectionable, requestConfiguration *ConnectionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/external/industry_data_data_connectors_industry_data_connector_item_request_builder.go b/external/industry_data_data_connectors_industry_data_connector_item_request_builder.go index 7671f534424..d8797ab5dfa 100644 --- a/external/industry_data_data_connectors_industry_data_connector_item_request_builder.go +++ b/external/industry_data_data_connectors_industry_data_connector_item_request_builder.go @@ -18,7 +18,7 @@ type IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilderDeleteRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilderGetQueryParameters read the properties and relationships of an industryDataConnector object. +// IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilderGetQueryParameters set of connectors for importing data from source systems. type IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewIndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilder(rawUrl urlParams["request-raw-url"] = rawUrl return NewIndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an azureDataLakeConnector object. +// Delete delete navigation property dataConnectors for external // returns a ODataError error 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-azuredatalakeconnector-delete?view=graph-rest-1.0 func (m *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilder) Dele } return nil } -// Get read the properties and relationships of an industryDataConnector object. +// Get set of connectors for importing data from source systems. // returns a IndustryDataConnectorable when successful // returns a ODataError error 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-industrydataconnector-get?view=graph-rest-1.0 func (m *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilder) Get(ctx context.Context, requestConfiguration *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilderGetRequestConfiguration)(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.IndustryDataConnectorable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,12 +95,9 @@ func (m *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilder) Get( func (m *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilder) MicrosoftGraphIndustryDataValidate()(*IndustryDataDataConnectorsItemMicrosoftGraphIndustryDataValidateRequestBuilder) { return NewIndustryDataDataConnectorsItemMicrosoftGraphIndustryDataValidateRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of an industryDataConnector object. +// Patch update the navigation property dataConnectors in external // returns a IndustryDataConnectorable when successful // returns a ODataError error 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-industrydataconnector-update?view=graph-rest-1.0 func (m *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilder) Patch(ctx context.Context, body id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.IndustryDataConnectorable, requestConfiguration *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilderPatchRequestConfiguration)(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.IndustryDataConnectorable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -129,7 +120,7 @@ func (m *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilder) Patc func (m *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilder) SourceSystem()(*IndustryDataDataConnectorsItemSourceSystemRequestBuilder) { return NewIndustryDataDataConnectorsItemSourceSystemRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete an azureDataLakeConnector object. +// ToDeleteRequestInformation delete navigation property dataConnectors for external // returns a *RequestInformation when successful func (m *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -140,7 +131,7 @@ func (m *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilder) ToDe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an industryDataConnector object. +// ToGetRequestInformation set of connectors for importing data from source systems. // returns a *RequestInformation when successful func (m *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -154,7 +145,7 @@ func (m *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilder) ToGe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an industryDataConnector object. +// ToPatchRequestInformation update the navigation property dataConnectors in external // returns a *RequestInformation when successful func (m *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.IndustryDataConnectorable, requestConfiguration *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/external/industry_data_data_connectors_item_microsoft_graph_industry_data_validate_request_builder.go b/external/industry_data_data_connectors_item_microsoft_graph_industry_data_validate_request_builder.go index c82b76375a4..6baa0e85ca9 100644 --- a/external/industry_data_data_connectors_item_microsoft_graph_industry_data_validate_request_builder.go +++ b/external/industry_data_data_connectors_item_microsoft_graph_industry_data_validate_request_builder.go @@ -34,7 +34,7 @@ func NewIndustryDataDataConnectorsItemMicrosoftGraphIndustryDataValidateRequestB // returns a ODataError error 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-industrydataconnector-validate?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/industrydata-industrydataconnector-validate?view=graph-rest-beta func (m *IndustryDataDataConnectorsItemMicrosoftGraphIndustryDataValidateRequestBuilder) Post(ctx context.Context, requestConfiguration *IndustryDataDataConnectorsItemMicrosoftGraphIndustryDataValidateRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/external/industry_data_data_connectors_request_builder.go b/external/industry_data_data_connectors_request_builder.go index 9bc53a02bca..ca66556972d 100644 --- a/external/industry_data_data_connectors_request_builder.go +++ b/external/industry_data_data_connectors_request_builder.go @@ -11,7 +11,7 @@ import ( type IndustryDataDataConnectorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// IndustryDataDataConnectorsRequestBuilderGetQueryParameters get the industryDataConnector resources from the dataConnector navigation property. +// IndustryDataDataConnectorsRequestBuilderGetQueryParameters set of connectors for importing data from source systems. type IndustryDataDataConnectorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewIndustryDataDataConnectorsRequestBuilder(rawUrl string, requestAdapter i func (m *IndustryDataDataConnectorsRequestBuilder) Count()(*IndustryDataDataConnectorsCountRequestBuilder) { return NewIndustryDataDataConnectorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the industryDataConnector resources from the dataConnector navigation property. +// Get set of connectors for importing data from source systems. // returns a IndustryDataConnectorCollectionResponseable when successful // returns a ODataError error 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-industrydataconnector-list?view=graph-rest-1.0 func (m *IndustryDataDataConnectorsRequestBuilder) Get(ctx context.Context, requestConfiguration *IndustryDataDataConnectorsRequestBuilderGetRequestConfiguration)(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.IndustryDataConnectorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *IndustryDataDataConnectorsRequestBuilder) Get(ctx context.Context, requ } return res.(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.IndustryDataConnectorCollectionResponseable), nil } -// Post create a new azureDataLakeConnector object. +// Post create new navigation property to dataConnectors for external // returns a IndustryDataConnectorable when successful // returns a ODataError error 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-azuredatalakeconnector-post?view=graph-rest-1.0 func (m *IndustryDataDataConnectorsRequestBuilder) Post(ctx context.Context, body id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.IndustryDataConnectorable, requestConfiguration *IndustryDataDataConnectorsRequestBuilderPostRequestConfiguration)(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.IndustryDataConnectorable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *IndustryDataDataConnectorsRequestBuilder) Post(ctx context.Context, bod } return res.(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.IndustryDataConnectorable), nil } -// ToGetRequestInformation get the industryDataConnector resources from the dataConnector navigation property. +// ToGetRequestInformation set of connectors for importing data from source systems. // returns a *RequestInformation when successful func (m *IndustryDataDataConnectorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IndustryDataDataConnectorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *IndustryDataDataConnectorsRequestBuilder) ToGetRequestInformation(ctx c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new azureDataLakeConnector object. +// ToPostRequestInformation create new navigation property to dataConnectors for external // returns a *RequestInformation when successful func (m *IndustryDataDataConnectorsRequestBuilder) ToPostRequestInformation(ctx context.Context, body id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.IndustryDataConnectorable, requestConfiguration *IndustryDataDataConnectorsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, 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 1d0a99b61de..8d0ecc7a27d 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 @@ -18,7 +18,7 @@ type IndustryDataInboundFlowsInboundFlowItemRequestBuilderDeleteRequestConfigura // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// IndustryDataInboundFlowsInboundFlowItemRequestBuilderGetQueryParameters read the properties and relationships of an inboundFlow object. +// IndustryDataInboundFlowsInboundFlowItemRequestBuilderGetQueryParameters set of data import flow activities to bring data into the canonical store via a connector. type IndustryDataInboundFlowsInboundFlowItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewIndustryDataInboundFlowsInboundFlowItemRequestBuilder(rawUrl string, req func (m *IndustryDataInboundFlowsInboundFlowItemRequestBuilder) DataConnector()(*IndustryDataInboundFlowsItemDataConnectorRequestBuilder) { return NewIndustryDataInboundFlowsItemDataConnectorRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Delete delete an inboundFileFlow object. +// Delete delete navigation property inboundFlows for external // returns a ODataError error 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-delete?view=graph-rest-1.0 func (m *IndustryDataInboundFlowsInboundFlowItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *IndustryDataInboundFlowsInboundFlowItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *IndustryDataInboundFlowsInboundFlowItemRequestBuilder) Delete(ctx conte } return nil } -// Get read the properties and relationships of an inboundFlow object. +// Get set of data import flow activities to bring data into the canonical store via a connector. // 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-inboundflow-get?view=graph-rest-1.0 func (m *IndustryDataInboundFlowsInboundFlowItemRequestBuilder) Get(ctx context.Context, requestConfiguration *IndustryDataInboundFlowsInboundFlowItemRequestBuilderGetRequestConfiguration)(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.InboundFlowable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,12 +95,9 @@ func (m *IndustryDataInboundFlowsInboundFlowItemRequestBuilder) Get(ctx context. } return res.(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.InboundFlowable), nil } -// Patch update the properties of an inboundFileFlow object. +// Patch update the navigation property inboundFlows in external // 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-1.0 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 { @@ -124,7 +115,7 @@ func (m *IndustryDataInboundFlowsInboundFlowItemRequestBuilder) Patch(ctx contex } return res.(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.InboundFlowable), nil } -// ToDeleteRequestInformation delete an inboundFileFlow object. +// ToDeleteRequestInformation delete navigation property inboundFlows for external // returns a *RequestInformation when successful func (m *IndustryDataInboundFlowsInboundFlowItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *IndustryDataInboundFlowsInboundFlowItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -135,7 +126,7 @@ func (m *IndustryDataInboundFlowsInboundFlowItemRequestBuilder) ToDeleteRequestI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an inboundFlow object. +// ToGetRequestInformation set of data import flow activities to bring data into the canonical store via a connector. // returns a *RequestInformation when successful func (m *IndustryDataInboundFlowsInboundFlowItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IndustryDataInboundFlowsInboundFlowItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -149,7 +140,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 navigation property inboundFlows in external // 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 592a2978ecd..595b8f756dc 100644 --- a/external/industry_data_inbound_flows_request_builder.go +++ b/external/industry_data_inbound_flows_request_builder.go @@ -11,7 +11,7 @@ import ( type IndustryDataInboundFlowsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// IndustryDataInboundFlowsRequestBuilderGetQueryParameters get a list of the inboundFlow objects and their properties. +// IndustryDataInboundFlowsRequestBuilderGetQueryParameters set of data import flow activities to bring data into the canonical store via a connector. type IndustryDataInboundFlowsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewIndustryDataInboundFlowsRequestBuilder(rawUrl string, requestAdapter i2a func (m *IndustryDataInboundFlowsRequestBuilder) Count()(*IndustryDataInboundFlowsCountRequestBuilder) { return NewIndustryDataInboundFlowsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the inboundFlow objects and their properties. +// Get set of data import flow activities to bring data into the canonical store via a connector. // returns a InboundFlowCollectionResponseable when successful // returns a ODataError error 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-inboundflow-list?view=graph-rest-1.0 func (m *IndustryDataInboundFlowsRequestBuilder) Get(ctx context.Context, requestConfiguration *IndustryDataInboundFlowsRequestBuilderGetRequestConfiguration)(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.InboundFlowCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *IndustryDataInboundFlowsRequestBuilder) Get(ctx context.Context, reques } return res.(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.InboundFlowCollectionResponseable), nil } -// Post create a new inboundFlow object. The following prerequisite resources are required when you create an inboundFlow: +// Post create new navigation property to inboundFlows for external // 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-inboundflow-post?view=graph-rest-1.0 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 { @@ -122,7 +116,7 @@ func (m *IndustryDataInboundFlowsRequestBuilder) Post(ctx context.Context, body } return res.(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.InboundFlowable), nil } -// ToGetRequestInformation get a list of the inboundFlow objects and their properties. +// ToGetRequestInformation set of data import flow activities to bring data into the canonical store via a connector. // returns a *RequestInformation when successful func (m *IndustryDataInboundFlowsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IndustryDataInboundFlowsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *IndustryDataInboundFlowsRequestBuilder) ToGetRequestInformation(ctx con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new inboundFlow object. The following prerequisite resources are required when you create an inboundFlow: +// ToPostRequestInformation create new navigation property to inboundFlows for external // 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/external/industry_data_operations_long_running_operation_item_request_builder.go b/external/industry_data_operations_long_running_operation_item_request_builder.go index 088ea36581a..42671d10062 100644 --- a/external/industry_data_operations_long_running_operation_item_request_builder.go +++ b/external/industry_data_operations_long_running_operation_item_request_builder.go @@ -18,7 +18,7 @@ type IndustryDataOperationsLongRunningOperationItemRequestBuilderDeleteRequestCo // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// IndustryDataOperationsLongRunningOperationItemRequestBuilderGetQueryParameters read the properties and relationships of a fileValidateOperation object. +// IndustryDataOperationsLongRunningOperationItemRequestBuilderGetQueryParameters set of ephemeral operations that the system runs currently. Read-only. type IndustryDataOperationsLongRunningOperationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *IndustryDataOperationsLongRunningOperationItemRequestBuilder) Delete(ct } return nil } -// Get read the properties and relationships of a fileValidateOperation object. +// Get set of ephemeral operations that the system runs currently. Read-only. // returns a LongRunningOperationable when successful // returns a ODataError error 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-filevalidateoperation-get?view=graph-rest-1.0 func (m *IndustryDataOperationsLongRunningOperationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *IndustryDataOperationsLongRunningOperationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LongRunningOperationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *IndustryDataOperationsLongRunningOperationItemRequestBuilder) ToDeleteR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a fileValidateOperation object. +// ToGetRequestInformation set of ephemeral operations that the system runs currently. Read-only. // returns a *RequestInformation when successful func (m *IndustryDataOperationsLongRunningOperationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IndustryDataOperationsLongRunningOperationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/external/industry_data_operations_request_builder.go b/external/industry_data_operations_request_builder.go index 853d6650a0f..a124d19b196 100644 --- a/external/industry_data_operations_request_builder.go +++ b/external/industry_data_operations_request_builder.go @@ -11,7 +11,7 @@ import ( type IndustryDataOperationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// IndustryDataOperationsRequestBuilderGetQueryParameters get a list of long-running file validation operations and their statuses. +// IndustryDataOperationsRequestBuilderGetQueryParameters set of ephemeral operations that the system runs currently. Read-only. type IndustryDataOperationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewIndustryDataOperationsRequestBuilder(rawUrl string, requestAdapter i2ae4 func (m *IndustryDataOperationsRequestBuilder) Count()(*IndustryDataOperationsCountRequestBuilder) { return NewIndustryDataOperationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of long-running file validation operations and their statuses. +// Get set of ephemeral operations that the system runs currently. Read-only. // returns a LongRunningOperationCollectionResponseable when successful // returns a ODataError error 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-filevalidateoperation-list?view=graph-rest-1.0 func (m *IndustryDataOperationsRequestBuilder) Get(ctx context.Context, requestConfiguration *IndustryDataOperationsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LongRunningOperationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *IndustryDataOperationsRequestBuilder) Post(ctx context.Context, body ie } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LongRunningOperationable), nil } -// ToGetRequestInformation get a list of long-running file validation operations and their statuses. +// ToGetRequestInformation set of ephemeral operations that the system runs currently. Read-only. // returns a *RequestInformation when successful func (m *IndustryDataOperationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IndustryDataOperationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/external/industry_data_outbound_provisioning_flow_sets_item_provisioning_flows_provisioning_flow_item_request_builder.go b/external/industry_data_outbound_provisioning_flow_sets_item_provisioning_flows_provisioning_flow_item_request_builder.go index cae2b9a2440..9492a439d53 100644 --- a/external/industry_data_outbound_provisioning_flow_sets_item_provisioning_flows_provisioning_flow_item_request_builder.go +++ b/external/industry_data_outbound_provisioning_flow_sets_item_provisioning_flows_provisioning_flow_item_request_builder.go @@ -18,7 +18,7 @@ type IndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsProvisioningFl // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// IndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsProvisioningFlowItemRequestBuilderGetQueryParameters read the properties and relationships of an administrativeUnitProvisioningFlow object. +// IndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsProvisioningFlowItemRequestBuilderGetQueryParameters a flow that provisions relevant records of a given entity type in the Microsoft 365 tenant. type IndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsProvisioningFlowItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewIndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsProvisionin urlParams["request-raw-url"] = rawUrl return NewIndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsProvisioningFlowItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a classGroupProvisioningFlow object. +// Delete delete navigation property provisioningFlows for external // returns a ODataError error 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-classgroupprovisioningflow-delete?view=graph-rest-1.0 func (m *IndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsProvisioningFlowItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *IndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsProvisioningFlowItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *IndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsProvisioni } return nil } -// Get read the properties and relationships of an administrativeUnitProvisioningFlow object. +// Get a flow that provisions relevant records of a given entity type in the Microsoft 365 tenant. // returns a ProvisioningFlowable when successful // returns a ODataError error 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-administrativeunitprovisioningflow-get?view=graph-rest-1.0 func (m *IndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsProvisioningFlowItemRequestBuilder) Get(ctx context.Context, requestConfiguration *IndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsProvisioningFlowItemRequestBuilderGetRequestConfiguration)(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.ProvisioningFlowable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *IndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsProvisioni } return res.(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.ProvisioningFlowable), nil } -// Patch update the properties of an administrativeUnitProvisioningFlow object. +// Patch update the navigation property provisioningFlows in external // returns a ProvisioningFlowable when successful // returns a ODataError error 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-administrativeunitprovisioningflow-update?view=graph-rest-1.0 func (m *IndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsProvisioningFlowItemRequestBuilder) Patch(ctx context.Context, body id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.ProvisioningFlowable, requestConfiguration *IndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsProvisioningFlowItemRequestBuilderPatchRequestConfiguration)(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.ProvisioningFlowable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *IndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsProvisioni } return res.(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.ProvisioningFlowable), nil } -// ToDeleteRequestInformation delete a classGroupProvisioningFlow object. +// ToDeleteRequestInformation delete navigation property provisioningFlows for external // returns a *RequestInformation when successful func (m *IndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsProvisioningFlowItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *IndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsProvisioningFlowItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *IndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsProvisioni requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an administrativeUnitProvisioningFlow object. +// ToGetRequestInformation a flow that provisions relevant records of a given entity type in the Microsoft 365 tenant. // returns a *RequestInformation when successful func (m *IndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsProvisioningFlowItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsProvisioningFlowItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *IndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsProvisioni requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an administrativeUnitProvisioningFlow object. +// ToPatchRequestInformation update the navigation property provisioningFlows in external // returns a *RequestInformation when successful func (m *IndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsProvisioningFlowItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.ProvisioningFlowable, requestConfiguration *IndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsProvisioningFlowItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/external/industry_data_outbound_provisioning_flow_sets_item_provisioning_flows_request_builder.go b/external/industry_data_outbound_provisioning_flow_sets_item_provisioning_flows_request_builder.go index ecc418a1bca..46f69ef460d 100644 --- a/external/industry_data_outbound_provisioning_flow_sets_item_provisioning_flows_request_builder.go +++ b/external/industry_data_outbound_provisioning_flow_sets_item_provisioning_flows_request_builder.go @@ -11,7 +11,7 @@ import ( type IndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// IndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsRequestBuilderGetQueryParameters get a list of the provisioningFlow objects and their properties. +// IndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsRequestBuilderGetQueryParameters a flow that provisions relevant records of a given entity type in the Microsoft 365 tenant. type IndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewIndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsRequestBuil func (m *IndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsRequestBuilder) Count()(*IndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsCountRequestBuilder) { return NewIndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the provisioningFlow objects and their properties. +// Get a flow that provisions relevant records of a given entity type in the Microsoft 365 tenant. // returns a ProvisioningFlowCollectionResponseable when successful // returns a ODataError error 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-outboundprovisioningflowset-list-provisioningflows?view=graph-rest-1.0 func (m *IndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsRequestBuilder) Get(ctx context.Context, requestConfiguration *IndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsRequestBuilderGetRequestConfiguration)(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.ProvisioningFlowCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *IndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsRequestBui } return res.(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.ProvisioningFlowCollectionResponseable), nil } -// Post create a new provisioningFlow object. +// Post create new navigation property to provisioningFlows for external // returns a ProvisioningFlowable when successful // returns a ODataError error 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-outboundprovisioningflowset-post-provisioningflows?view=graph-rest-1.0 func (m *IndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsRequestBuilder) Post(ctx context.Context, body id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.ProvisioningFlowable, requestConfiguration *IndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsRequestBuilderPostRequestConfiguration)(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.ProvisioningFlowable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *IndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsRequestBui } return res.(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.ProvisioningFlowable), nil } -// ToGetRequestInformation get a list of the provisioningFlow objects and their properties. +// ToGetRequestInformation a flow that provisions relevant records of a given entity type in the Microsoft 365 tenant. // returns a *RequestInformation when successful func (m *IndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *IndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsRequestBui requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new provisioningFlow object. +// ToPostRequestInformation create new navigation property to provisioningFlows for external // returns a *RequestInformation when successful func (m *IndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsRequestBuilder) ToPostRequestInformation(ctx context.Context, body id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.ProvisioningFlowable, requestConfiguration *IndustryDataOutboundProvisioningFlowSetsItemProvisioningFlowsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/external/industry_data_outbound_provisioning_flow_sets_request_builder.go b/external/industry_data_outbound_provisioning_flow_sets_request_builder.go index 994e794c1a3..8dca8c9f05d 100644 --- a/external/industry_data_outbound_provisioning_flow_sets_request_builder.go +++ b/external/industry_data_outbound_provisioning_flow_sets_request_builder.go @@ -11,7 +11,7 @@ import ( type IndustryDataOutboundProvisioningFlowSetsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// IndustryDataOutboundProvisioningFlowSetsRequestBuilderGetQueryParameters get a list of the outboundProvisioningFlowSet objects and their properties. +// IndustryDataOutboundProvisioningFlowSetsRequestBuilderGetQueryParameters get outboundProvisioningFlowSets from external type IndustryDataOutboundProvisioningFlowSetsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewIndustryDataOutboundProvisioningFlowSetsRequestBuilder(rawUrl string, re func (m *IndustryDataOutboundProvisioningFlowSetsRequestBuilder) Count()(*IndustryDataOutboundProvisioningFlowSetsCountRequestBuilder) { return NewIndustryDataOutboundProvisioningFlowSetsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the outboundProvisioningFlowSet objects and their properties. +// Get get outboundProvisioningFlowSets from external // returns a OutboundProvisioningFlowSetCollectionResponseable when successful // returns a ODataError error 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-industrydataroot-list-outboundprovisioningflowsets?view=graph-rest-1.0 func (m *IndustryDataOutboundProvisioningFlowSetsRequestBuilder) Get(ctx context.Context, requestConfiguration *IndustryDataOutboundProvisioningFlowSetsRequestBuilderGetRequestConfiguration)(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.OutboundProvisioningFlowSetCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *IndustryDataOutboundProvisioningFlowSetsRequestBuilder) Post(ctx contex } return res.(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.OutboundProvisioningFlowSetable), nil } -// ToGetRequestInformation get a list of the outboundProvisioningFlowSet objects and their properties. +// ToGetRequestInformation get outboundProvisioningFlowSets from external // returns a *RequestInformation when successful func (m *IndustryDataOutboundProvisioningFlowSetsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IndustryDataOutboundProvisioningFlowSetsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/external/industry_data_reference_definitions_reference_definition_item_request_builder.go b/external/industry_data_reference_definitions_reference_definition_item_request_builder.go index 112f67e6b9b..6bf985f3e23 100644 --- a/external/industry_data_reference_definitions_reference_definition_item_request_builder.go +++ b/external/industry_data_reference_definitions_reference_definition_item_request_builder.go @@ -18,7 +18,7 @@ type IndustryDataReferenceDefinitionsReferenceDefinitionItemRequestBuilderDelete // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// IndustryDataReferenceDefinitionsReferenceDefinitionItemRequestBuilderGetQueryParameters read the properties and relationships of a referenceDefinition object. +// IndustryDataReferenceDefinitionsReferenceDefinitionItemRequestBuilderGetQueryParameters set of user modifiable system picker types. type IndustryDataReferenceDefinitionsReferenceDefinitionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *IndustryDataReferenceDefinitionsReferenceDefinitionItemRequestBuilder) } return nil } -// Get read the properties and relationships of a referenceDefinition object. +// Get set of user modifiable system picker types. // returns a ReferenceDefinitionable when successful // returns a ODataError error 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-referencedefinition-get?view=graph-rest-1.0 func (m *IndustryDataReferenceDefinitionsReferenceDefinitionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *IndustryDataReferenceDefinitionsReferenceDefinitionItemRequestBuilderGetRequestConfiguration)(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.ReferenceDefinitionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *IndustryDataReferenceDefinitionsReferenceDefinitionItemRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a referenceDefinition object. +// ToGetRequestInformation set of user modifiable system picker types. // returns a *RequestInformation when successful func (m *IndustryDataReferenceDefinitionsReferenceDefinitionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IndustryDataReferenceDefinitionsReferenceDefinitionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/external/industry_data_reference_definitions_request_builder.go b/external/industry_data_reference_definitions_request_builder.go index ca1e7b17b86..1fd6b24e33d 100644 --- a/external/industry_data_reference_definitions_request_builder.go +++ b/external/industry_data_reference_definitions_request_builder.go @@ -11,7 +11,7 @@ import ( type IndustryDataReferenceDefinitionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// IndustryDataReferenceDefinitionsRequestBuilderGetQueryParameters get a list of the referenceDefinition objects and their properties. +// IndustryDataReferenceDefinitionsRequestBuilderGetQueryParameters set of user modifiable system picker types. type IndustryDataReferenceDefinitionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewIndustryDataReferenceDefinitionsRequestBuilder(rawUrl string, requestAda func (m *IndustryDataReferenceDefinitionsRequestBuilder) Count()(*IndustryDataReferenceDefinitionsCountRequestBuilder) { return NewIndustryDataReferenceDefinitionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the referenceDefinition objects and their properties. +// Get set of user modifiable system picker types. // returns a ReferenceDefinitionCollectionResponseable when successful // returns a ODataError error 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-referencedefinition-list?view=graph-rest-1.0 func (m *IndustryDataReferenceDefinitionsRequestBuilder) Get(ctx context.Context, requestConfiguration *IndustryDataReferenceDefinitionsRequestBuilderGetRequestConfiguration)(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.ReferenceDefinitionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *IndustryDataReferenceDefinitionsRequestBuilder) Post(ctx context.Contex } return res.(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.ReferenceDefinitionable), nil } -// ToGetRequestInformation get a list of the referenceDefinition objects and their properties. +// ToGetRequestInformation set of user modifiable system picker types. // returns a *RequestInformation when successful func (m *IndustryDataReferenceDefinitionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IndustryDataReferenceDefinitionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/external/industry_data_role_groups_request_builder.go b/external/industry_data_role_groups_request_builder.go index 79a8e2c0a62..8c9584a3a96 100644 --- a/external/industry_data_role_groups_request_builder.go +++ b/external/industry_data_role_groups_request_builder.go @@ -11,7 +11,7 @@ import ( type IndustryDataRoleGroupsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// IndustryDataRoleGroupsRequestBuilderGetQueryParameters get a list of the roleGroup objects and their properties. +// IndustryDataRoleGroupsRequestBuilderGetQueryParameters set of groups of individual roles that makes role-based admin simpler. type IndustryDataRoleGroupsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewIndustryDataRoleGroupsRequestBuilder(rawUrl string, requestAdapter i2ae4 func (m *IndustryDataRoleGroupsRequestBuilder) Count()(*IndustryDataRoleGroupsCountRequestBuilder) { return NewIndustryDataRoleGroupsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the roleGroup objects and their properties. +// Get set of groups of individual roles that makes role-based admin simpler. // returns a RoleGroupCollectionResponseable when successful // returns a ODataError error 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-rolegroup-list?view=graph-rest-1.0 func (m *IndustryDataRoleGroupsRequestBuilder) Get(ctx context.Context, requestConfiguration *IndustryDataRoleGroupsRequestBuilderGetRequestConfiguration)(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.RoleGroupCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *IndustryDataRoleGroupsRequestBuilder) Post(ctx context.Context, body id } return res.(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.RoleGroupable), nil } -// ToGetRequestInformation get a list of the roleGroup objects and their properties. +// ToGetRequestInformation set of groups of individual roles that makes role-based admin simpler. // returns a *RequestInformation when successful func (m *IndustryDataRoleGroupsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IndustryDataRoleGroupsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/external/industry_data_role_groups_role_group_item_request_builder.go b/external/industry_data_role_groups_role_group_item_request_builder.go index db779860e85..d215de04736 100644 --- a/external/industry_data_role_groups_role_group_item_request_builder.go +++ b/external/industry_data_role_groups_role_group_item_request_builder.go @@ -18,7 +18,7 @@ type IndustryDataRoleGroupsRoleGroupItemRequestBuilderDeleteRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// IndustryDataRoleGroupsRoleGroupItemRequestBuilderGetQueryParameters read the properties and relationships of a roleGroup object. +// IndustryDataRoleGroupsRoleGroupItemRequestBuilderGetQueryParameters set of groups of individual roles that makes role-based admin simpler. type IndustryDataRoleGroupsRoleGroupItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *IndustryDataRoleGroupsRoleGroupItemRequestBuilder) Delete(ctx context.C } return nil } -// Get read the properties and relationships of a roleGroup object. +// Get set of groups of individual roles that makes role-based admin simpler. // returns a RoleGroupable when successful // returns a ODataError error 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-rolegroup-get?view=graph-rest-1.0 func (m *IndustryDataRoleGroupsRoleGroupItemRequestBuilder) Get(ctx context.Context, requestConfiguration *IndustryDataRoleGroupsRoleGroupItemRequestBuilderGetRequestConfiguration)(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.RoleGroupable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *IndustryDataRoleGroupsRoleGroupItemRequestBuilder) ToDeleteRequestInfor requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a roleGroup object. +// ToGetRequestInformation set of groups of individual roles that makes role-based admin simpler. // returns a *RequestInformation when successful func (m *IndustryDataRoleGroupsRoleGroupItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IndustryDataRoleGroupsRoleGroupItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/external/industry_data_runs_industry_data_run_item_request_builder.go b/external/industry_data_runs_industry_data_run_item_request_builder.go index f846c96e28d..a3bd3758ffe 100644 --- a/external/industry_data_runs_industry_data_run_item_request_builder.go +++ b/external/industry_data_runs_industry_data_run_item_request_builder.go @@ -11,7 +11,7 @@ import ( type IndustryDataRunsIndustryDataRunItemRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// IndustryDataRunsIndustryDataRunItemRequestBuilderGetQueryParameters read the properties and relationships of an industryDataRun object. +// IndustryDataRunsIndustryDataRunItemRequestBuilderGetQueryParameters set of ephemeral runs which present the point-in-time that diagnostic state of activities performed by the system. Read-only. type IndustryDataRunsIndustryDataRunItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -45,12 +45,9 @@ func NewIndustryDataRunsIndustryDataRunItemRequestBuilder(rawUrl string, request urlParams["request-raw-url"] = rawUrl return NewIndustryDataRunsIndustryDataRunItemRequestBuilderInternal(urlParams, requestAdapter) } -// Get read the properties and relationships of an industryDataRun object. +// Get set of ephemeral runs which present the point-in-time that diagnostic state of activities performed by the system. Read-only. // returns a IndustryDataRunable when successful // returns a ODataError error 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-industrydatarun-get?view=graph-rest-1.0 func (m *IndustryDataRunsIndustryDataRunItemRequestBuilder) Get(ctx context.Context, requestConfiguration *IndustryDataRunsIndustryDataRunItemRequestBuilderGetRequestConfiguration)(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.IndustryDataRunable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,7 +70,7 @@ func (m *IndustryDataRunsIndustryDataRunItemRequestBuilder) Get(ctx context.Cont func (m *IndustryDataRunsIndustryDataRunItemRequestBuilder) MicrosoftGraphIndustryDataGetStatistics()(*IndustryDataRunsItemMicrosoftGraphIndustryDataGetStatisticsRequestBuilder) { return NewIndustryDataRunsItemMicrosoftGraphIndustryDataGetStatisticsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation read the properties and relationships of an industryDataRun object. +// ToGetRequestInformation set of ephemeral runs which present the point-in-time that diagnostic state of activities performed by the system. Read-only. // returns a *RequestInformation when successful func (m *IndustryDataRunsIndustryDataRunItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IndustryDataRunsIndustryDataRunItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/external/industry_data_runs_item_microsoft_graph_industry_data_get_statistics_request_builder.go b/external/industry_data_runs_item_microsoft_graph_industry_data_get_statistics_request_builder.go index 096393e5fc7..e515ce7cfdb 100644 --- a/external/industry_data_runs_item_microsoft_graph_industry_data_get_statistics_request_builder.go +++ b/external/industry_data_runs_item_microsoft_graph_industry_data_get_statistics_request_builder.go @@ -31,9 +31,12 @@ func NewIndustryDataRunsItemMicrosoftGraphIndustryDataGetStatisticsRequestBuilde urlParams["request-raw-url"] = rawUrl return NewIndustryDataRunsItemMicrosoftGraphIndustryDataGetStatisticsRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getStatistics +// Get get statistics for an industryDataRun. // returns a IndustryDataRunStatisticsable when successful // returns a ODataError error 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-industrydatarun-getstatistics?view=graph-rest-beta func (m *IndustryDataRunsItemMicrosoftGraphIndustryDataGetStatisticsRequestBuilder) Get(ctx context.Context, requestConfiguration *IndustryDataRunsItemMicrosoftGraphIndustryDataGetStatisticsRequestBuilderGetRequestConfiguration)(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.IndustryDataRunStatisticsable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -51,7 +54,7 @@ func (m *IndustryDataRunsItemMicrosoftGraphIndustryDataGetStatisticsRequestBuild } return res.(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.IndustryDataRunStatisticsable), nil } -// ToGetRequestInformation invoke function getStatistics +// ToGetRequestInformation get statistics for an industryDataRun. // returns a *RequestInformation when successful func (m *IndustryDataRunsItemMicrosoftGraphIndustryDataGetStatisticsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IndustryDataRunsItemMicrosoftGraphIndustryDataGetStatisticsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/external/industry_data_runs_request_builder.go b/external/industry_data_runs_request_builder.go index 58b87c84665..94b2466270e 100644 --- a/external/industry_data_runs_request_builder.go +++ b/external/industry_data_runs_request_builder.go @@ -11,7 +11,7 @@ import ( type IndustryDataRunsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// IndustryDataRunsRequestBuilderGetQueryParameters get a list of the industryDataRun objects and their properties. +// IndustryDataRunsRequestBuilderGetQueryParameters set of ephemeral runs which present the point-in-time that diagnostic state of activities performed by the system. Read-only. type IndustryDataRunsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewIndustryDataRunsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7d func (m *IndustryDataRunsRequestBuilder) Count()(*IndustryDataRunsCountRequestBuilder) { return NewIndustryDataRunsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the industryDataRun objects and their properties. +// Get set of ephemeral runs which present the point-in-time that diagnostic state of activities performed by the system. Read-only. // returns a IndustryDataRunCollectionResponseable when successful // returns a ODataError error 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-industrydatarun-list?view=graph-rest-1.0 func (m *IndustryDataRunsRequestBuilder) Get(ctx context.Context, requestConfiguration *IndustryDataRunsRequestBuilderGetRequestConfiguration)(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.IndustryDataRunCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -97,7 +94,7 @@ func (m *IndustryDataRunsRequestBuilder) Get(ctx context.Context, requestConfigu func (m *IndustryDataRunsRequestBuilder) MicrosoftGraphIndustryDataGetStatistics()(*IndustryDataRunsMicrosoftGraphIndustryDataGetStatisticsRequestBuilder) { return NewIndustryDataRunsMicrosoftGraphIndustryDataGetStatisticsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation get a list of the industryDataRun objects and their properties. +// ToGetRequestInformation set of ephemeral runs which present the point-in-time that diagnostic state of activities performed by the system. Read-only. // returns a *RequestInformation when successful func (m *IndustryDataRunsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IndustryDataRunsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/external/industry_data_source_systems_request_builder.go b/external/industry_data_source_systems_request_builder.go index d63574e0403..e5e81849b6b 100644 --- a/external/industry_data_source_systems_request_builder.go +++ b/external/industry_data_source_systems_request_builder.go @@ -11,7 +11,7 @@ import ( type IndustryDataSourceSystemsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// IndustryDataSourceSystemsRequestBuilderGetQueryParameters get a list of the sourceSystemDefinition objects and their properties. +// IndustryDataSourceSystemsRequestBuilderGetQueryParameters set of source definitions that represents real-world external systems. type IndustryDataSourceSystemsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewIndustryDataSourceSystemsRequestBuilder(rawUrl string, requestAdapter i2 func (m *IndustryDataSourceSystemsRequestBuilder) Count()(*IndustryDataSourceSystemsCountRequestBuilder) { return NewIndustryDataSourceSystemsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the sourceSystemDefinition objects and their properties. +// Get set of source definitions that represents real-world external systems. // returns a SourceSystemDefinitionCollectionResponseable when successful // returns a ODataError error 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-sourcesystemdefinition-list?view=graph-rest-1.0 func (m *IndustryDataSourceSystemsRequestBuilder) Get(ctx context.Context, requestConfiguration *IndustryDataSourceSystemsRequestBuilderGetRequestConfiguration)(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.SourceSystemDefinitionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *IndustryDataSourceSystemsRequestBuilder) Get(ctx context.Context, reque } return res.(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.SourceSystemDefinitionCollectionResponseable), nil } -// Post create a new sourceSystemDefinition object. +// Post create new navigation property to sourceSystems for external // returns a SourceSystemDefinitionable when successful // returns a ODataError error 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-sourcesystemdefinition-post?view=graph-rest-1.0 func (m *IndustryDataSourceSystemsRequestBuilder) Post(ctx context.Context, body id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.SourceSystemDefinitionable, requestConfiguration *IndustryDataSourceSystemsRequestBuilderPostRequestConfiguration)(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.SourceSystemDefinitionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *IndustryDataSourceSystemsRequestBuilder) Post(ctx context.Context, body } return res.(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.SourceSystemDefinitionable), nil } -// ToGetRequestInformation get a list of the sourceSystemDefinition objects and their properties. +// ToGetRequestInformation set of source definitions that represents real-world external systems. // returns a *RequestInformation when successful func (m *IndustryDataSourceSystemsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IndustryDataSourceSystemsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *IndustryDataSourceSystemsRequestBuilder) ToGetRequestInformation(ctx co requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new sourceSystemDefinition object. +// ToPostRequestInformation create new navigation property to sourceSystems for external // returns a *RequestInformation when successful func (m *IndustryDataSourceSystemsRequestBuilder) ToPostRequestInformation(ctx context.Context, body id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.SourceSystemDefinitionable, requestConfiguration *IndustryDataSourceSystemsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/external/industry_data_source_systems_source_system_definition_item_request_builder.go b/external/industry_data_source_systems_source_system_definition_item_request_builder.go index de8f17720ec..f047f325d97 100644 --- a/external/industry_data_source_systems_source_system_definition_item_request_builder.go +++ b/external/industry_data_source_systems_source_system_definition_item_request_builder.go @@ -18,7 +18,7 @@ type IndustryDataSourceSystemsSourceSystemDefinitionItemRequestBuilderDeleteRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// IndustryDataSourceSystemsSourceSystemDefinitionItemRequestBuilderGetQueryParameters read the properties and relationships of a sourceSystemDefinition object. +// IndustryDataSourceSystemsSourceSystemDefinitionItemRequestBuilderGetQueryParameters set of source definitions that represents real-world external systems. type IndustryDataSourceSystemsSourceSystemDefinitionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewIndustryDataSourceSystemsSourceSystemDefinitionItemRequestBuilder(rawUrl urlParams["request-raw-url"] = rawUrl return NewIndustryDataSourceSystemsSourceSystemDefinitionItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a sourceSystemDefinition object. +// Delete delete navigation property sourceSystems for external // returns a ODataError error 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-sourcesystemdefinition-delete?view=graph-rest-1.0 func (m *IndustryDataSourceSystemsSourceSystemDefinitionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *IndustryDataSourceSystemsSourceSystemDefinitionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *IndustryDataSourceSystemsSourceSystemDefinitionItemRequestBuilder) Dele } return nil } -// Get read the properties and relationships of a sourceSystemDefinition object. +// Get set of source definitions that represents real-world external systems. // returns a SourceSystemDefinitionable when successful // returns a ODataError error 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-sourcesystemdefinition-get?view=graph-rest-1.0 func (m *IndustryDataSourceSystemsSourceSystemDefinitionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *IndustryDataSourceSystemsSourceSystemDefinitionItemRequestBuilderGetRequestConfiguration)(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.SourceSystemDefinitionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *IndustryDataSourceSystemsSourceSystemDefinitionItemRequestBuilder) Get( } return res.(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.SourceSystemDefinitionable), nil } -// Patch update the properties of a sourceSystemDefinition object. +// Patch update the navigation property sourceSystems in external // returns a SourceSystemDefinitionable when successful // returns a ODataError error 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-sourcesystemdefinition-update?view=graph-rest-1.0 func (m *IndustryDataSourceSystemsSourceSystemDefinitionItemRequestBuilder) Patch(ctx context.Context, body id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.SourceSystemDefinitionable, requestConfiguration *IndustryDataSourceSystemsSourceSystemDefinitionItemRequestBuilderPatchRequestConfiguration)(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.SourceSystemDefinitionable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *IndustryDataSourceSystemsSourceSystemDefinitionItemRequestBuilder) Patc } return res.(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.SourceSystemDefinitionable), nil } -// ToDeleteRequestInformation delete a sourceSystemDefinition object. +// ToDeleteRequestInformation delete navigation property sourceSystems for external // returns a *RequestInformation when successful func (m *IndustryDataSourceSystemsSourceSystemDefinitionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *IndustryDataSourceSystemsSourceSystemDefinitionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *IndustryDataSourceSystemsSourceSystemDefinitionItemRequestBuilder) ToDe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a sourceSystemDefinition object. +// ToGetRequestInformation set of source definitions that represents real-world external systems. // returns a *RequestInformation when successful func (m *IndustryDataSourceSystemsSourceSystemDefinitionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IndustryDataSourceSystemsSourceSystemDefinitionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *IndustryDataSourceSystemsSourceSystemDefinitionItemRequestBuilder) ToGe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a sourceSystemDefinition object. +// ToPatchRequestInformation update the navigation property sourceSystems in external // returns a *RequestInformation when successful func (m *IndustryDataSourceSystemsSourceSystemDefinitionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.SourceSystemDefinitionable, requestConfiguration *IndustryDataSourceSystemsSourceSystemDefinitionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/external/industry_data_years_request_builder.go b/external/industry_data_years_request_builder.go index 1ee02248e67..806264ca43d 100644 --- a/external/industry_data_years_request_builder.go +++ b/external/industry_data_years_request_builder.go @@ -11,7 +11,7 @@ import ( type IndustryDataYearsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// IndustryDataYearsRequestBuilderGetQueryParameters get a list of the yearTimePeriodDefinition objects and their properties. +// IndustryDataYearsRequestBuilderGetQueryParameters set of years represented in the system. type IndustryDataYearsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewIndustryDataYearsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7 func (m *IndustryDataYearsRequestBuilder) Count()(*IndustryDataYearsCountRequestBuilder) { return NewIndustryDataYearsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the yearTimePeriodDefinition objects and their properties. +// Get set of years represented in the system. // returns a YearTimePeriodDefinitionCollectionResponseable when successful // returns a ODataError error 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-yeartimeperioddefinition-list?view=graph-rest-1.0 func (m *IndustryDataYearsRequestBuilder) Get(ctx context.Context, requestConfiguration *IndustryDataYearsRequestBuilderGetRequestConfiguration)(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.YearTimePeriodDefinitionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *IndustryDataYearsRequestBuilder) Get(ctx context.Context, requestConfig } return res.(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.YearTimePeriodDefinitionCollectionResponseable), nil } -// Post create a new yearTimePeriodDefinition object. +// Post create new navigation property to years for external // returns a YearTimePeriodDefinitionable when successful // returns a ODataError error 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-yeartimeperioddefinition-post?view=graph-rest-1.0 func (m *IndustryDataYearsRequestBuilder) Post(ctx context.Context, body id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.YearTimePeriodDefinitionable, requestConfiguration *IndustryDataYearsRequestBuilderPostRequestConfiguration)(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.YearTimePeriodDefinitionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *IndustryDataYearsRequestBuilder) Post(ctx context.Context, body id2b46a } return res.(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.YearTimePeriodDefinitionable), nil } -// ToGetRequestInformation get a list of the yearTimePeriodDefinition objects and their properties. +// ToGetRequestInformation set of years represented in the system. // returns a *RequestInformation when successful func (m *IndustryDataYearsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IndustryDataYearsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *IndustryDataYearsRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new yearTimePeriodDefinition object. +// ToPostRequestInformation create new navigation property to years for external // returns a *RequestInformation when successful func (m *IndustryDataYearsRequestBuilder) ToPostRequestInformation(ctx context.Context, body id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.YearTimePeriodDefinitionable, requestConfiguration *IndustryDataYearsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/external/industry_data_years_year_time_period_definition_item_request_builder.go b/external/industry_data_years_year_time_period_definition_item_request_builder.go index 4faa4203804..c411a603ea4 100644 --- a/external/industry_data_years_year_time_period_definition_item_request_builder.go +++ b/external/industry_data_years_year_time_period_definition_item_request_builder.go @@ -18,7 +18,7 @@ type IndustryDataYearsYearTimePeriodDefinitionItemRequestBuilderDeleteRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// IndustryDataYearsYearTimePeriodDefinitionItemRequestBuilderGetQueryParameters read the properties and relationships of a yearTimePeriodDefinition object. +// IndustryDataYearsYearTimePeriodDefinitionItemRequestBuilderGetQueryParameters set of years represented in the system. type IndustryDataYearsYearTimePeriodDefinitionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewIndustryDataYearsYearTimePeriodDefinitionItemRequestBuilder(rawUrl strin urlParams["request-raw-url"] = rawUrl return NewIndustryDataYearsYearTimePeriodDefinitionItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a yearTimePeriodDefinition object. +// Delete delete navigation property years for external // returns a ODataError error 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-yeartimeperioddefinition-delete?view=graph-rest-1.0 func (m *IndustryDataYearsYearTimePeriodDefinitionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *IndustryDataYearsYearTimePeriodDefinitionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *IndustryDataYearsYearTimePeriodDefinitionItemRequestBuilder) Delete(ctx } return nil } -// Get read the properties and relationships of a yearTimePeriodDefinition object. +// Get set of years represented in the system. // returns a YearTimePeriodDefinitionable when successful // returns a ODataError error 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-yeartimeperioddefinition-get?view=graph-rest-1.0 func (m *IndustryDataYearsYearTimePeriodDefinitionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *IndustryDataYearsYearTimePeriodDefinitionItemRequestBuilderGetRequestConfiguration)(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.YearTimePeriodDefinitionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *IndustryDataYearsYearTimePeriodDefinitionItemRequestBuilder) Get(ctx co } return res.(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.YearTimePeriodDefinitionable), nil } -// Patch update the properties of a yearTimePeriodDefinition object. +// Patch update the navigation property years in external // returns a YearTimePeriodDefinitionable when successful // returns a ODataError error 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-yeartimeperioddefinition-update?view=graph-rest-1.0 func (m *IndustryDataYearsYearTimePeriodDefinitionItemRequestBuilder) Patch(ctx context.Context, body id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.YearTimePeriodDefinitionable, requestConfiguration *IndustryDataYearsYearTimePeriodDefinitionItemRequestBuilderPatchRequestConfiguration)(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.YearTimePeriodDefinitionable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *IndustryDataYearsYearTimePeriodDefinitionItemRequestBuilder) Patch(ctx } return res.(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.YearTimePeriodDefinitionable), nil } -// ToDeleteRequestInformation delete a yearTimePeriodDefinition object. +// ToDeleteRequestInformation delete navigation property years for external // returns a *RequestInformation when successful func (m *IndustryDataYearsYearTimePeriodDefinitionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *IndustryDataYearsYearTimePeriodDefinitionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *IndustryDataYearsYearTimePeriodDefinitionItemRequestBuilder) ToDeleteRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a yearTimePeriodDefinition object. +// ToGetRequestInformation set of years represented in the system. // returns a *RequestInformation when successful func (m *IndustryDataYearsYearTimePeriodDefinitionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IndustryDataYearsYearTimePeriodDefinitionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *IndustryDataYearsYearTimePeriodDefinitionItemRequestBuilder) ToGetReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a yearTimePeriodDefinition object. +// ToPatchRequestInformation update the navigation property years in external // returns a *RequestInformation when successful func (m *IndustryDataYearsYearTimePeriodDefinitionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.YearTimePeriodDefinitionable, requestConfiguration *IndustryDataYearsYearTimePeriodDefinitionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/graph_request_adapter.go b/graph_request_adapter.go index ad8a85aa561..7d5b5e4c0c3 100644 --- a/graph_request_adapter.go +++ b/graph_request_adapter.go @@ -10,7 +10,7 @@ import ( var clientOptions = core.GraphClientOptions{ GraphServiceVersion: "beta", - GraphServiceLibraryVersion: "0.99.0", + GraphServiceLibraryVersion: "0.100.0", } // GetDefaultClientOptions returns the default client options used by the GraphRequestAdapterBase and the middleware. @@ -87,3 +87,4 @@ func NewGraphRequestAdapterWithParseNodeFactoryAndSerializationWriterFactoryAndH + diff --git a/grouplifecyclepolicies/group_lifecycle_policies_request_builder.go b/grouplifecyclepolicies/group_lifecycle_policies_request_builder.go index 83cbcedc067..5d44f601bb7 100644 --- a/grouplifecyclepolicies/group_lifecycle_policies_request_builder.go +++ b/grouplifecyclepolicies/group_lifecycle_policies_request_builder.go @@ -81,7 +81,7 @@ func (m *GroupLifecyclePoliciesRequestBuilder) Count()(*CountRequestBuilder) { // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/grouplifecyclepolicy-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/grouplifecyclepolicy-list?view=graph-rest-beta func (m *GroupLifecyclePoliciesRequestBuilder) Get(ctx context.Context, requestConfiguration *GroupLifecyclePoliciesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.GroupLifecyclePolicyCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,7 +104,7 @@ func (m *GroupLifecyclePoliciesRequestBuilder) Get(ctx context.Context, requestC // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/grouplifecyclepolicy-post-grouplifecyclepolicies?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/grouplifecyclepolicy-post-grouplifecyclepolicies?view=graph-rest-beta func (m *GroupLifecyclePoliciesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.GroupLifecyclePolicyable, requestConfiguration *GroupLifecyclePoliciesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.GroupLifecyclePolicyable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/grouplifecyclepolicies/group_lifecycle_policy_item_request_builder.go b/grouplifecyclepolicies/group_lifecycle_policy_item_request_builder.go index b2adbff9fde..e1187e0f8dd 100644 --- a/grouplifecyclepolicies/group_lifecycle_policy_item_request_builder.go +++ b/grouplifecyclepolicies/group_lifecycle_policy_item_request_builder.go @@ -63,7 +63,7 @@ func NewGroupLifecyclePolicyItemRequestBuilder(rawUrl string, requestAdapter i2a // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/grouplifecyclepolicy-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/grouplifecyclepolicy-delete?view=graph-rest-beta func (m *GroupLifecyclePolicyItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *GroupLifecyclePolicyItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -83,7 +83,7 @@ func (m *GroupLifecyclePolicyItemRequestBuilder) Delete(ctx context.Context, req // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/grouplifecyclepolicy-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/grouplifecyclepolicy-get?view=graph-rest-beta func (m *GroupLifecyclePolicyItemRequestBuilder) Get(ctx context.Context, requestConfiguration *GroupLifecyclePolicyItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.GroupLifecyclePolicyable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -106,7 +106,7 @@ func (m *GroupLifecyclePolicyItemRequestBuilder) Get(ctx context.Context, reques // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/grouplifecyclepolicy-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/grouplifecyclepolicy-update?view=graph-rest-beta func (m *GroupLifecyclePolicyItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.GroupLifecyclePolicyable, requestConfiguration *GroupLifecyclePolicyItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.GroupLifecyclePolicyable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/grouplifecyclepolicies/renew_group_request_builder.go b/grouplifecyclepolicies/renew_group_request_builder.go index e22757da6e5..d0ee7f2715b 100644 --- a/grouplifecyclepolicies/renew_group_request_builder.go +++ b/grouplifecyclepolicies/renew_group_request_builder.go @@ -36,7 +36,7 @@ func NewRenewGroupRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/grouplifecyclepolicy-renewgroup?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/grouplifecyclepolicy-renewgroup?view=graph-rest-beta func (m *RenewGroupRequestBuilder) Post(ctx context.Context, body RenewGroupPostRequestBodyable, requestConfiguration *RenewGroupRequestBuilderPostRequestConfiguration)(RenewGroupResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *RenewGroupRequestBuilder) Post(ctx context.Context, body RenewGroupPost // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/grouplifecyclepolicy-renewgroup?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/grouplifecyclepolicy-renewgroup?view=graph-rest-beta func (m *RenewGroupRequestBuilder) PostAsRenewGroupPostResponse(ctx context.Context, body RenewGroupPostRequestBodyable, requestConfiguration *RenewGroupRequestBuilderPostRequestConfiguration)(RenewGroupPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/delta_request_builder.go b/groups/delta_request_builder.go index cec513596aa..450973ae7d1 100644 --- a/groups/delta_request_builder.go +++ b/groups/delta_request_builder.go @@ -10,7 +10,7 @@ import ( type DeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeltaRequestBuilderGetQueryParameters invoke function delta +// DeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted groups, including group membership changes, without having to perform a full read of the entire group collection. See Using Delta Query for details. type DeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb urlParams["request-raw-url"] = rawUrl return NewDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get get newly created, updated, or deleted groups, including group membership changes, without having to perform a full read of the entire group collection. See Using Delta Query for details. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a DeltaResponseable when successful // returns a ODataError error 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-delta?view=graph-rest-beta func (m *DeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(DeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *DeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *Del } return res.(DeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse get newly created, updated, or deleted groups, including group membership changes, without having to perform a full read of the entire group collection. See Using Delta Query for details. // returns a DeltaGetResponseable when successful // returns a ODataError error 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-delta?view=graph-rest-beta func (m *DeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(DeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *DeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, request } return res.(DeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation get newly created, updated, or deleted groups, including group membership changes, without having to perform a full read of the entire group collection. See Using Delta Query for details. // returns a *RequestInformation when successful func (m *DeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/evaluate_dynamic_membership_request_builder.go b/groups/evaluate_dynamic_membership_request_builder.go index 6a9d3e47733..d21936a4e8d 100644 --- a/groups/evaluate_dynamic_membership_request_builder.go +++ b/groups/evaluate_dynamic_membership_request_builder.go @@ -36,7 +36,7 @@ func NewEvaluateDynamicMembershipRequestBuilder(rawUrl string, requestAdapter i2 // returns a ODataError error 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-evaluatedynamicmembership?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/group-evaluatedynamicmembership?view=graph-rest-beta func (m *EvaluateDynamicMembershipRequestBuilder) Post(ctx context.Context, body EvaluateDynamicMembershipPostRequestBodyable, requestConfiguration *EvaluateDynamicMembershipRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EvaluateDynamicMembershipResultable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/get_by_ids_request_builder.go b/groups/get_by_ids_request_builder.go index 7f8d77d9013..761ab670e48 100644 --- a/groups/get_by_ids_request_builder.go +++ b/groups/get_by_ids_request_builder.go @@ -36,7 +36,7 @@ func NewGetByIdsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26337 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-beta func (m *GetByIdsRequestBuilder) Post(ctx context.Context, body GetByIdsPostRequestBodyable, requestConfiguration *GetByIdsRequestBuilderPostRequestConfiguration)(GetByIdsResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *GetByIdsRequestBuilder) Post(ctx context.Context, body GetByIdsPostRequ // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-beta func (m *GetByIdsRequestBuilder) PostAsGetByIdsPostResponse(ctx context.Context, body GetByIdsPostRequestBodyable, requestConfiguration *GetByIdsRequestBuilderPostRequestConfiguration)(GetByIdsPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/get_user_owned_objects_request_builder.go b/groups/get_user_owned_objects_request_builder.go index 7a43004517a..a619eab263e 100644 --- a/groups/get_user_owned_objects_request_builder.go +++ b/groups/get_user_owned_objects_request_builder.go @@ -36,7 +36,7 @@ func NewGetUserOwnedObjectsRequestBuilder(rawUrl string, requestAdapter i2ae4187 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directory-deleteditems-getuserownedobjects?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directory-deleteditems-getuserownedobjects?view=graph-rest-beta func (m *GetUserOwnedObjectsRequestBuilder) Post(ctx context.Context, body GetUserOwnedObjectsPostRequestBodyable, requestConfiguration *GetUserOwnedObjectsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/group_item_request_builder.go b/groups/group_item_request_builder.go index fc4714578ab..43702d1ee8c 100644 --- a/groups/group_item_request_builder.go +++ b/groups/group_item_request_builder.go @@ -113,7 +113,7 @@ func (m *GroupItemRequestBuilder) CreatedOnBehalfOf()(*ItemCreatedOnBehalfOfRequ // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/group-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/group-delete?view=graph-rest-beta func (m *GroupItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *GroupItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -168,7 +168,7 @@ func (m *GroupItemRequestBuilder) Extensions()(*ItemExtensionsRequestBuilder) { // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/group-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/group-get?view=graph-rest-beta func (m *GroupItemRequestBuilder) Get(ctx context.Context, requestConfiguration *GroupItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Groupable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -236,7 +236,7 @@ func (m *GroupItemRequestBuilder) Owners()(*ItemOwnersRequestBuilder) { // returns a ODataError error 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-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/group-upsert?view=graph-rest-beta func (m *GroupItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Groupable, requestConfiguration *GroupItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Groupable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/groups_request_builder.go b/groups/groups_request_builder.go index 1af04147934..857edf5fd9d 100644 --- a/groups/groups_request_builder.go +++ b/groups/groups_request_builder.go @@ -91,7 +91,7 @@ func (m *GroupsRequestBuilder) EvaluateDynamicMembership()(*EvaluateDynamicMembe // returns a ODataError error 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-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/group-list?view=graph-rest-beta func (m *GroupsRequestBuilder) Get(ctx context.Context, requestConfiguration *GroupsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.GroupCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +124,7 @@ func (m *GroupsRequestBuilder) GetUserOwnedObjects()(*GetUserOwnedObjectsRequest // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/group-post-groups?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/group-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 { diff --git a/groups/item_accepted_senders_item_ref_request_builder.go b/groups/item_accepted_senders_item_ref_request_builder.go index b24a5d46765..7dd7bd54e30 100644 --- a/groups/item_accepted_senders_item_ref_request_builder.go +++ b/groups/item_accepted_senders_item_ref_request_builder.go @@ -30,11 +30,8 @@ func NewItemAcceptedSendersItemRefRequestBuilder(rawUrl string, requestAdapter i urlParams["request-raw-url"] = rawUrl return NewItemAcceptedSendersItemRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove a user or group from the accepted-senders list of the specified group. +// Delete delete ref of navigation property acceptedSenders for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/group-delete-acceptedsenders?view=graph-rest-1.0 func (m *ItemAcceptedSendersItemRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemAcceptedSendersItemRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -49,7 +46,7 @@ func (m *ItemAcceptedSendersItemRefRequestBuilder) Delete(ctx context.Context, r } return nil } -// ToDeleteRequestInformation remove a user or group from the accepted-senders list of the specified group. +// ToDeleteRequestInformation delete ref of navigation property acceptedSenders for groups // returns a *RequestInformation when successful func (m *ItemAcceptedSendersItemRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemAcceptedSendersItemRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_accepted_senders_ref_request_builder.go b/groups/item_accepted_senders_ref_request_builder.go index 2500dd68594..d6050ff0307 100644 --- a/groups/item_accepted_senders_ref_request_builder.go +++ b/groups/item_accepted_senders_ref_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemAcceptedSendersRefRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemAcceptedSendersRefRequestBuilderDeleteQueryParameters remove a user or group from the accepted-senders list of the specified group. +// ItemAcceptedSendersRefRequestBuilderDeleteQueryParameters delete ref of navigation property acceptedSenders for groups type ItemAcceptedSendersRefRequestBuilderDeleteQueryParameters struct { // The delete Uri Id *string `uriparametername:"%40id"` @@ -25,7 +25,7 @@ type ItemAcceptedSendersRefRequestBuilderDeleteRequestConfiguration struct { // Request query parameters QueryParameters *ItemAcceptedSendersRefRequestBuilderDeleteQueryParameters } -// ItemAcceptedSendersRefRequestBuilderGetQueryParameters get a list of users or groups that are in the accepted-senders list for this group. Users in the accepted senders list can post to conversations of the group (identified in the GET request URL). Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. +// ItemAcceptedSendersRefRequestBuilderGetQueryParameters the list of users or groups allowed to create posts or calendar events in this group. If this list is non-empty, then only users or groups listed here can post. type ItemAcceptedSendersRefRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -67,11 +67,8 @@ func NewItemAcceptedSendersRefRequestBuilder(rawUrl string, requestAdapter i2ae4 urlParams["request-raw-url"] = rawUrl return NewItemAcceptedSendersRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove a user or group from the accepted-senders list of the specified group. +// Delete delete ref of navigation property acceptedSenders for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/group-delete-acceptedsenders?view=graph-rest-1.0 func (m *ItemAcceptedSendersRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemAcceptedSendersRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -86,12 +83,9 @@ func (m *ItemAcceptedSendersRefRequestBuilder) Delete(ctx context.Context, reque } return nil } -// Get get a list of users or groups that are in the accepted-senders list for this group. Users in the accepted senders list can post to conversations of the group (identified in the GET request URL). Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. +// Get the list of users or groups allowed to create posts or calendar events in this group. If this list is non-empty, then only users or groups listed here can post. // returns a StringCollectionResponseable when successful // returns a ODataError error 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-list-acceptedsenders?view=graph-rest-1.0 func (m *ItemAcceptedSendersRefRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAcceptedSendersRefRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -109,11 +103,8 @@ func (m *ItemAcceptedSendersRefRequestBuilder) Get(ctx context.Context, requestC } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable), nil } -// Post add a new user or group to the acceptedSender list. Specify the user or group in @odata.id in the request body. Users in the accepted senders list can post to conversations of the group. Make sure you don't specify the same user or group in the accepted senders and rejected senders lists, otherwise you'll get an error. +// Post create new navigation property ref to acceptedSenders for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/group-post-acceptedsenders?view=graph-rest-1.0 func (m *ItemAcceptedSendersRefRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *ItemAcceptedSendersRefRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -128,7 +119,7 @@ func (m *ItemAcceptedSendersRefRequestBuilder) Post(ctx context.Context, body ie } return nil } -// ToDeleteRequestInformation remove a user or group from the accepted-senders list of the specified group. +// ToDeleteRequestInformation delete ref of navigation property acceptedSenders for groups // returns a *RequestInformation when successful func (m *ItemAcceptedSendersRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemAcceptedSendersRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, "{+baseurl}/groups/{group%2Did}/acceptedSenders/$ref?@id={%40id}", m.BaseRequestBuilder.PathParameters) @@ -142,7 +133,7 @@ func (m *ItemAcceptedSendersRefRequestBuilder) ToDeleteRequestInformation(ctx co requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a list of users or groups that are in the accepted-senders list for this group. Users in the accepted senders list can post to conversations of the group (identified in the GET request URL). Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. +// ToGetRequestInformation the list of users or groups allowed to create posts or calendar events in this group. If this list is non-empty, then only users or groups listed here can post. // returns a *RequestInformation when successful func (m *ItemAcceptedSendersRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAcceptedSendersRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/groups/{group%2Did}/acceptedSenders/$ref{?%24count,%24filter,%24orderby,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) @@ -156,7 +147,7 @@ func (m *ItemAcceptedSendersRefRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add a new user or group to the acceptedSender list. Specify the user or group in @odata.id in the request body. Users in the accepted senders list can post to conversations of the group. Make sure you don't specify the same user or group in the accepted senders and rejected senders lists, otherwise you'll get an error. +// ToPostRequestInformation create new navigation property ref to acceptedSenders for groups // returns a *RequestInformation when successful func (m *ItemAcceptedSendersRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *ItemAcceptedSendersRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/groups/{group%2Did}/acceptedSenders/$ref", m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_accepted_senders_request_builder.go b/groups/item_accepted_senders_request_builder.go index 6344d89cc12..0bb066075cd 100644 --- a/groups/item_accepted_senders_request_builder.go +++ b/groups/item_accepted_senders_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemAcceptedSendersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemAcceptedSendersRequestBuilderGetQueryParameters get a list of users or groups that are in the accepted-senders list for this group. Users in the accepted senders list can post to conversations of the group (identified in the GET request URL). Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. +// ItemAcceptedSendersRequestBuilderGetQueryParameters the list of users or groups allowed to create posts or calendar events in this group. If this list is non-empty, then only users or groups listed here can post. type ItemAcceptedSendersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -65,12 +65,9 @@ func NewItemAcceptedSendersRequestBuilder(rawUrl string, requestAdapter i2ae4187 func (m *ItemAcceptedSendersRequestBuilder) Count()(*ItemAcceptedSendersCountRequestBuilder) { return NewItemAcceptedSendersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of users or groups that are in the accepted-senders list for this group. Users in the accepted senders list can post to conversations of the group (identified in the GET request URL). Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. +// Get the list of users or groups allowed to create posts or calendar events in this group. If this list is non-empty, then only users or groups listed here can post. // returns a DirectoryObjectCollectionResponseable when successful // returns a ODataError error 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-list-acceptedsenders?view=graph-rest-1.0 func (m *ItemAcceptedSendersRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAcceptedSendersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,7 +90,7 @@ func (m *ItemAcceptedSendersRequestBuilder) Get(ctx context.Context, requestConf func (m *ItemAcceptedSendersRequestBuilder) Ref()(*ItemAcceptedSendersRefRequestBuilder) { return NewItemAcceptedSendersRefRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation get a list of users or groups that are in the accepted-senders list for this group. Users in the accepted senders list can post to conversations of the group (identified in the GET request URL). Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. +// ToGetRequestInformation the list of users or groups allowed to create posts or calendar events in this group. If this list is non-empty, then only users or groups listed here can post. // returns a *RequestInformation when successful func (m *ItemAcceptedSendersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAcceptedSendersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_add_favorite_request_builder.go b/groups/item_add_favorite_request_builder.go index afb3c2dfa97..e7937483e1a 100644 --- a/groups/item_add_favorite_request_builder.go +++ b/groups/item_add_favorite_request_builder.go @@ -34,7 +34,7 @@ func NewItemAddFavoriteRequestBuilder(rawUrl string, requestAdapter i2ae4187f7da // returns a ODataError error 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-addfavorite?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/group-addfavorite?view=graph-rest-beta func (m *ItemAddFavoriteRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemAddFavoriteRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { 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 ff00d94ef11..b377fbcd03b 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,11 +54,8 @@ 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 navigation property appRoleAssignments for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/group-delete-approleassignments?view=graph-rest-1.0 func (m *ItemAppRoleAssignmentsAppRoleAssignmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemAppRoleAssignmentsAppRoleAssignmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -113,7 +110,7 @@ func (m *ItemAppRoleAssignmentsAppRoleAssignmentItemRequestBuilder) Patch(ctx co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AppRoleAssignmentable), nil } -// ToDeleteRequestInformation deletes an appRoleAssignment that a group has been granted. +// ToDeleteRequestInformation delete navigation property appRoleAssignments for groups // 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_app_role_assignments_request_builder.go b/groups/item_app_role_assignments_request_builder.go index 3f5f2b558e2..6322d875812 100644 --- a/groups/item_app_role_assignments_request_builder.go +++ b/groups/item_app_role_assignments_request_builder.go @@ -79,9 +79,6 @@ func (m *ItemAppRoleAssignmentsRequestBuilder) Count()(*ItemAppRoleAssignmentsCo // Get represents the app roles a group has been granted for an application. Supports $expand. // returns a AppRoleAssignmentCollectionResponseable when successful // returns a ODataError error 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-list-approleassignments?view=graph-rest-1.0 func (m *ItemAppRoleAssignmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAppRoleAssignmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AppRoleAssignmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemAppRoleAssignmentsRequestBuilder) Get(ctx context.Context, requestC } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AppRoleAssignmentCollectionResponseable), nil } -// Post use this API to assign an app role to a security group. All direct members of the group will be considered assigned. Security groups with dynamic memberships are supported. To grant an app role assignment to a group, you need three identifiers: Additional licenses might be required to use a group to manage access to applications. +// Post create new navigation property to appRoleAssignments for groups // returns a AppRoleAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/group-post-approleassignments?view=graph-rest-1.0 func (m *ItemAppRoleAssignmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AppRoleAssignmentable, requestConfiguration *ItemAppRoleAssignmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AppRoleAssignmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -136,7 +130,7 @@ func (m *ItemAppRoleAssignmentsRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to assign an app role to a security group. All direct members of the group will be considered assigned. Security groups with dynamic memberships are supported. To grant an app role assignment to a group, you need three identifiers: Additional licenses might be required to use a group to manage access to applications. +// ToPostRequestInformation create new navigation property to appRoleAssignments for groups // returns a *RequestInformation when successful func (m *ItemAppRoleAssignmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AppRoleAssignmentable, requestConfiguration *ItemAppRoleAssignmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, 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 915b7d7a081..bde20f87269 100644 --- a/groups/item_assign_license_request_builder.go +++ b/groups/item_assign_license_request_builder.go @@ -36,7 +36,7 @@ func NewItemAssignLicenseRequestBuilder(rawUrl string, requestAdapter i2ae4187f7 // returns a ODataError error 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-assignlicense?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/group-assignlicense?view=graph-rest-beta func (m *ItemAssignLicenseRequestBuilder) Post(ctx context.Context, body ItemAssignLicensePostRequestBodyable, requestConfiguration *ItemAssignLicenseRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Groupable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_calendar_permissions_calendar_permission_item_request_builder.go b/groups/item_calendar_calendar_permissions_calendar_permission_item_request_builder.go index fcdef957273..e16b7ce9416 100644 --- a/groups/item_calendar_calendar_permissions_calendar_permission_item_request_builder.go +++ b/groups/item_calendar_calendar_permissions_calendar_permission_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilderDeleteRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilderGetQueryParameters get the specified permissions object of a user or group calendar that has been shared. +// ItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilderGetQueryParameters the permissions of the users with whom the calendar is shared. type ItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilderGetQueryParameters struct { // Select properties to be returned Select []string `uriparametername:"%24select"` @@ -52,11 +52,8 @@ func NewItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilder(rawU urlParams["request-raw-url"] = rawUrl return NewItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete calendarPermission. +// Delete delete navigation property calendarPermissions for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/calendarpermission-delete?view=graph-rest-1.0 func (m *ItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -71,12 +68,9 @@ func (m *ItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilder) De } return nil } -// Get get the specified permissions object of a user or group calendar that has been shared. +// Get the permissions of the users with whom the calendar is shared. // returns a CalendarPermissionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/calendarpermission-get?view=graph-rest-1.0 func (m *ItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarPermissionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -94,12 +88,9 @@ func (m *ItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilder) Ge } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarPermissionable), nil } -// Patch update the permissions assigned to an existing share recipient or delegate, through the corresponding calendarPermission object for a calendar. +// Patch update the navigation property calendarPermissions in groups // returns a CalendarPermissionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/calendarpermission-update?view=graph-rest-1.0 func (m *ItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarPermissionable, requestConfiguration *ItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarPermissionable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +108,7 @@ func (m *ItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilder) Pa } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarPermissionable), nil } -// ToDeleteRequestInformation delete calendarPermission. +// ToDeleteRequestInformation delete navigation property calendarPermissions for groups // returns a *RequestInformation when successful func (m *ItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -128,7 +119,7 @@ func (m *ItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilder) To requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the specified permissions object of a user or group calendar that has been shared. +// ToGetRequestInformation the permissions of the users with whom the calendar is shared. // returns a *RequestInformation when successful func (m *ItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -142,7 +133,7 @@ func (m *ItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilder) To requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the permissions assigned to an existing share recipient or delegate, through the corresponding calendarPermission object for a calendar. +// ToPatchRequestInformation update the navigation property calendarPermissions in groups // returns a *RequestInformation when successful func (m *ItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarPermissionable, requestConfiguration *ItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_calendar_calendar_permissions_request_builder.go b/groups/item_calendar_calendar_permissions_request_builder.go index a4d9761af68..ae7a1348285 100644 --- a/groups/item_calendar_calendar_permissions_request_builder.go +++ b/groups/item_calendar_calendar_permissions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarCalendarPermissionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarCalendarPermissionsRequestBuilderGetQueryParameters get the specified permissions object of a user or group calendar that has been shared. +// ItemCalendarCalendarPermissionsRequestBuilderGetQueryParameters the permissions of the users with whom the calendar is shared. type ItemCalendarCalendarPermissionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -72,7 +72,7 @@ func NewItemCalendarCalendarPermissionsRequestBuilder(rawUrl string, requestAdap func (m *ItemCalendarCalendarPermissionsRequestBuilder) Count()(*ItemCalendarCalendarPermissionsCountRequestBuilder) { return NewItemCalendarCalendarPermissionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the specified permissions object of a user or group calendar that has been shared. +// Get the permissions of the users with whom the calendar is shared. // returns a CalendarPermissionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemCalendarCalendarPermissionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarCalendarPermissionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarPermissionCollectionResponseable, error) { @@ -92,12 +92,9 @@ func (m *ItemCalendarCalendarPermissionsRequestBuilder) Get(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarPermissionCollectionResponseable), nil } -// Post create a calendarPermission resource to specify the identity and role of the user with whom the specified calendar is being shared or delegated. +// Post create new navigation property to calendarPermissions for groups // returns a CalendarPermissionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/calendar-post-calendarpermissions?view=graph-rest-1.0 func (m *ItemCalendarCalendarPermissionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarPermissionable, requestConfiguration *ItemCalendarCalendarPermissionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarPermissionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -115,7 +112,7 @@ func (m *ItemCalendarCalendarPermissionsRequestBuilder) Post(ctx context.Context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarPermissionable), nil } -// ToGetRequestInformation get the specified permissions object of a user or group calendar that has been shared. +// ToGetRequestInformation the permissions of the users with whom the calendar is shared. // returns a *RequestInformation when successful func (m *ItemCalendarCalendarPermissionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarPermissionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -129,7 +126,7 @@ func (m *ItemCalendarCalendarPermissionsRequestBuilder) ToGetRequestInformation( requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a calendarPermission resource to specify the identity and role of the user with whom the specified calendar is being shared or delegated. +// ToPostRequestInformation create new navigation property to calendarPermissions for groups // returns a *RequestInformation when successful func (m *ItemCalendarCalendarPermissionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarPermissionable, requestConfiguration *ItemCalendarCalendarPermissionsRequestBuilderPostRequestConfiguration)(*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 54155903a78..5e625b2d72c 100644 --- a/groups/item_calendar_calendar_view_delta_request_builder.go +++ b/groups/item_calendar_calendar_view_delta_request_builder.go @@ -61,7 +61,7 @@ func NewItemCalendarCalendarViewDeltaRequestBuilder(rawUrl string, requestAdapte // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarCalendarViewDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarCalendarViewDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -84,7 +84,7 @@ func (m *ItemCalendarCalendarViewDeltaRequestBuilder) Get(ctx context.Context, r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarCalendarViewDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarCalendarViewDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_calendar_view_item_accept_request_builder.go b/groups/item_calendar_calendar_view_item_accept_request_builder.go index 34e068afa50..27adab69793 100644 --- a/groups/item_calendar_calendar_view_item_accept_request_builder.go +++ b/groups/item_calendar_calendar_view_item_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemAcceptRequestBuilder(rawUrl string, requestA // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemAcceptPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_calendar_view_item_attachments_attachment_item_request_builder.go b/groups/item_calendar_calendar_view_item_attachments_attachment_item_request_builder.go index 4d33aefeaff..4dbf899a1f0 100644 --- a/groups/item_calendar_calendar_view_item_attachments_attachment_item_request_builder.go +++ b/groups/item_calendar_calendar_view_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilderDeleteRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilder(rawU urlParams["request-raw-url"] = rawUrl return NewItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an attachment from a user calendar event, message, Outlook task, or post. +// Delete delete navigation property attachments for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilder) De } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilder) Ge } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToDeleteRequestInformation delete an attachment from a user calendar event, message, Outlook task, or post. +// ToDeleteRequestInformation delete navigation property attachments for groups // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilder) To requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_calendar_calendar_view_item_attachments_create_upload_session_request_builder.go b/groups/item_calendar_calendar_view_item_attachments_create_upload_session_request_builder.go index 0b2bd795d4b..ef27a64fd23 100644 --- a/groups/item_calendar_calendar_view_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_calendar_calendar_view_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemCalendarCalendarViewItemAttachmentsCreateUploadSessionRequestBuilder // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_calendar_view_item_attachments_request_builder.go b/groups/item_calendar_calendar_view_item_attachments_request_builder.go index b41722be7ff..94f0fe9e7da 100644 --- a/groups/item_calendar_calendar_view_item_attachments_request_builder.go +++ b/groups/item_calendar_calendar_view_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarCalendarViewItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarCalendarViewItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to an event. +// ItemCalendarCalendarViewItemAttachmentsRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarCalendarViewItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemCalendarCalendarViewItemAttachmentsRequestBuilder) Count()(*ItemCal func (m *ItemCalendarCalendarViewItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemCalendarCalendarViewItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemCalendarCalendarViewItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to an event. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemCalendarCalendarViewItemAttachmentsRequestBuilder) Get(ctx context. } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post create new navigation property to attachments for groups // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarCalendarViewItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemCalendarCalendarViewItemAttachmentsRequestBuilder) Post(ctx context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to an event. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemCalendarCalendarViewItemAttachmentsRequestBuilder) ToGetRequestInfo requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation create new navigation property to attachments for groups // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarCalendarViewItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_calendar_calendar_view_item_cancel_request_builder.go b/groups/item_calendar_calendar_view_item_cancel_request_builder.go index 4041bc58f69..69647ddf77f 100644 --- a/groups/item_calendar_calendar_view_item_cancel_request_builder.go +++ b/groups/item_calendar_calendar_view_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemCancelRequestBuilder(rawUrl string, requestA // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemCancelRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemCancelPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_calendar_view_item_decline_request_builder.go b/groups/item_calendar_calendar_view_item_decline_request_builder.go index 8e1fbbbfdc7..9779c13dfce 100644 --- a/groups/item_calendar_calendar_view_item_decline_request_builder.go +++ b/groups/item_calendar_calendar_view_item_decline_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemDeclineRequestBuilder(rawUrl string, request // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemDeclineRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemDeclinePostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemDeclineRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_calendar_view_item_dismiss_reminder_request_builder.go b/groups/item_calendar_calendar_view_item_dismiss_reminder_request_builder.go index 1c4e11d08d6..d9d1ec7e0af 100644 --- a/groups/item_calendar_calendar_view_item_dismiss_reminder_request_builder.go +++ b/groups/item_calendar_calendar_view_item_dismiss_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemDismissReminderRequestBuilder(rawUrl string, // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemDismissReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemDismissReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { 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 0cf8c7fec62..f540ee39a01 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 @@ -61,7 +61,7 @@ func NewItemCalendarCalendarViewItemExceptionOccurrencesDeltaRequestBuilder(rawU // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemExceptionOccurrencesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarCalendarViewItemExceptionOccurrencesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -84,7 +84,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesDeltaRequestBuilder) Ge // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemExceptionOccurrencesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarCalendarViewItemExceptionOccurrencesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_accept_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_accept_request_builder.go index c136fb6356c..a45f9857c03 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_accept_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemExceptionOccurrencesItemAcceptRequestBuilder // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemExceptionOccurrencesItemAcceptPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index 7a8e3b72289..23d1f2f0f6c 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentIt // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmen urlParams["request-raw-url"] = rawUrl return NewItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an attachment from a user calendar event, message, Outlook task, or post. +// Delete delete navigation property attachments for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachme } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachme } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToDeleteRequestInformation delete an attachment from a user calendar event, message, Outlook task, or post. +// ToDeleteRequestInformation delete navigation property attachments for groups // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachme requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*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_attachments_create_upload_session_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index b7368fe55f6..005749076b4 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUpl // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_attachments_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_attachments_request_builder.go index ed215b9b550..a0aa81d8974 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_attachments_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to an event. +// ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsRequestB func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to an event. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsRequestB } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post create new navigation property to attachments for groups // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsRequestB } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to an event. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsRequestB requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation create new navigation property to attachments for groups // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_cancel_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_cancel_request_builder.go index 0335e4757d6..8d7d5d6a123 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_cancel_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemExceptionOccurrencesItemCancelRequestBuilder // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemCancelRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemExceptionOccurrencesItemCancelPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_decline_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_decline_request_builder.go index aa0317d7b5e..97bf59e39be 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_decline_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_decline_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemExceptionOccurrencesItemDeclineRequestBuilde // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemDeclineRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemExceptionOccurrencesItemDeclinePostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemDeclineRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go index ab8d6bf5152..cf3cd951240 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemExceptionOccurrencesItemDismissReminderReque // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemDismissReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemDismissReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go index f881488e4c0..a4c5a61144b 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItem // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsExtension } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsExtension requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*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_extensions_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_extensions_request_builder.go index 1fc2f5be330..cf01d564be9 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_extensions_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsRequestBui func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) Count()(*ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsCountRequestBuilder) { return NewItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -94,12 +94,9 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsRequestBu } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to extensions for groups // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsRequestBu } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +128,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsRequestBu requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to extensions for groups // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_forward_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_forward_request_builder.go index 04d1c6c705d..f182a771db3 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_forward_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemExceptionOccurrencesItemForwardRequestBuilde // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemForwardRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemExceptionOccurrencesItemForwardPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { 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 36d34d7dd29..f12cd1afc12 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 @@ -61,7 +61,7 @@ func NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesDeltaReques // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -84,7 +84,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesDeltaReque // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go index 78973348a1f..f204893681a 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAcceptR // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAcceptPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go index d5f46fab9a9..5cd1b6f787f 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachment // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachm urlParams["request-raw-url"] = rawUrl return NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an attachment from a user calendar event, message, Outlook task, or post. +// Delete delete navigation property attachments for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttach } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttach } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToDeleteRequestInformation delete an attachment from a user calendar event, message, Outlook task, or post. +// ToDeleteRequestInformation delete navigation property attachments for groups // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttach requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*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_item_attachments_create_upload_session_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go index 9a6e4671f70..2082e3f3fc4 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachm // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go index 4dc1d57e451..a757cb50c9d 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to an event. +// ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttach func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to an event. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttach } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post create new navigation property to attachments for groups // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttach } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to an event. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttach requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation create new navigation property to attachments for groups // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go index c2f74c6d468..6dd454227f3 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemCancelR // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemCancelRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemCancelPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go index ced9b232d15..3438705e021 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemDecline // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemDeclinePostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go index 70f75542524..0d11c33a6ca 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemDismiss // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemDismissReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemDismissReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go index 43bc99bf6a5..d49f45347bf 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensions // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtens } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtens requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*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_item_extensions_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go index 7c69c50f5e0..1dd0b640156 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensi func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) Count()(*ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsCountRequestBuilder) { return NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -94,12 +94,9 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtens } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to extensions for groups // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtens } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +128,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtens requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to extensions for groups // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go index 263c90ed0c4..7ff63b265a7 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemForward // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemForwardRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemForwardPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go index c79ccdb05a7..931420566b9 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemSnoozeR // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemSnoozeReminderRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemSnoozeReminderPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemSnoozeReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go index 371516e3236..7e7f598fbd9 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemTentati // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemTentativelyAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemTentativelyAcceptPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemTentativelyAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_request_builder.go index 38be6bb88c8..908e70904ff 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_request_builder.go @@ -77,9 +77,6 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesRequestBui // Get the occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but doesn't include occurrences that have been canceled from the series. Navigation property. Read-only. Nullable. // returns a EventCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-instances?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EventCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go index 5ca26906304..edd451124b8 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemExceptionOccurrencesItemSnoozeReminderReques // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemExceptionOccurrencesItemSnoozeReminderPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemSnoozeReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go index 5959a338be8..e855c479cb4 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemExceptionOccurrencesItemTentativelyAcceptReq // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemExceptionOccurrencesItemTentativelyAcceptPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemTentativelyAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_calendar_view_item_extensions_extension_item_request_builder.go b/groups/item_calendar_calendar_view_item_extensions_extension_item_request_builder.go index a3843805147..5dfdbff7b5f 100644 --- a/groups/item_calendar_calendar_view_item_extensions_extension_item_request_builder.go +++ b/groups/item_calendar_calendar_view_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarCalendarViewItemExtensionsExtensionItemRequestBuilderDeleteRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarCalendarViewItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarCalendarViewItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarCalendarViewItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemCalendarCalendarViewItemExtensionsExtensionItemRequestBuilder) Dele } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemCalendarCalendarViewItemExtensionsExtensionItemRequestBuilder) ToDe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_calendar_calendar_view_item_extensions_request_builder.go b/groups/item_calendar_calendar_view_item_extensions_request_builder.go index ec78c92d53a..ff27140b1db 100644 --- a/groups/item_calendar_calendar_view_item_extensions_request_builder.go +++ b/groups/item_calendar_calendar_view_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarCalendarViewItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarCalendarViewItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarCalendarViewItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarCalendarViewItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemCalendarCalendarViewItemExtensionsRequestBuilder(rawUrl string, requ func (m *ItemCalendarCalendarViewItemExtensionsRequestBuilder) Count()(*ItemCalendarCalendarViewItemExtensionsCountRequestBuilder) { return NewItemCalendarCalendarViewItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemCalendarCalendarViewItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -94,12 +94,9 @@ func (m *ItemCalendarCalendarViewItemExtensionsRequestBuilder) Get(ctx context.C } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to extensions for groups // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarCalendarViewItemExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemCalendarCalendarViewItemExtensionsRequestBuilder) Post(ctx context. } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +128,7 @@ func (m *ItemCalendarCalendarViewItemExtensionsRequestBuilder) ToGetRequestInfor requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to extensions for groups // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarCalendarViewItemExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_calendar_calendar_view_item_forward_request_builder.go b/groups/item_calendar_calendar_view_item_forward_request_builder.go index efc1ff1585e..8ffa7934014 100644 --- a/groups/item_calendar_calendar_view_item_forward_request_builder.go +++ b/groups/item_calendar_calendar_view_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemForwardRequestBuilder(rawUrl string, request // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemForwardRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemForwardPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { 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 261927d2ac0..0adabc2a9c4 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 @@ -61,7 +61,7 @@ func NewItemCalendarCalendarViewItemInstancesDeltaRequestBuilder(rawUrl string, // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemInstancesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemInstancesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarCalendarViewItemInstancesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -84,7 +84,7 @@ func (m *ItemCalendarCalendarViewItemInstancesDeltaRequestBuilder) Get(ctx conte // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemInstancesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemInstancesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarCalendarViewItemInstancesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_calendar_view_item_instances_item_accept_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_accept_request_builder.go index 7d1aaa226d5..1066ac34fa6 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_accept_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemInstancesItemAcceptRequestBuilder(rawUrl str // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemInstancesItemAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemInstancesItemAcceptPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go index 52ed10b7c96..f6a799ac94e 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemReques urlParams["request-raw-url"] = rawUrl return NewItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an attachment from a user calendar event, message, Outlook task, or post. +// Delete delete navigation property attachments for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemReque } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemReque } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToDeleteRequestInformation delete an attachment from a user calendar event, message, Outlook task, or post. +// ToDeleteRequestInformation delete navigation property attachments for groups // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*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_attachments_create_upload_session_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go index 0668965e2e6..e3681a610e7 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemCalendarCalendarViewItemInstancesItemAttachmentsCreateUploadSessionR // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemInstancesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_calendar_view_item_instances_item_attachments_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_attachments_request_builder.go index 9c52101aa02..5938118503f 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_attachments_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarCalendarViewItemInstancesItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarCalendarViewItemInstancesItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to an event. +// ItemCalendarCalendarViewItemInstancesItemAttachmentsRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarCalendarViewItemInstancesItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsRequestBuilder) Cou func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemCalendarCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemCalendarCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to an event. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsRequestBuilder) Get } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post create new navigation property to attachments for groups // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsRequestBuilder) Pos } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to an event. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsRequestBuilder) ToG requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation create new navigation property to attachments for groups // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_calendar_calendar_view_item_instances_item_cancel_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_cancel_request_builder.go index 9d5cf4d653d..bd15d46bfa3 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_cancel_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemInstancesItemCancelRequestBuilder(rawUrl str // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemInstancesItemCancelRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemInstancesItemCancelPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_calendar_view_item_instances_item_decline_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_decline_request_builder.go index 8a59fe4997e..ee475ed08da 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_decline_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_decline_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemInstancesItemDeclineRequestBuilder(rawUrl st // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemInstancesItemDeclineRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemInstancesItemDeclinePostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemDeclineRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_calendar_view_item_instances_item_dismiss_reminder_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_dismiss_reminder_request_builder.go index dfd84dffa3d..ebdc5f96316 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_dismiss_reminder_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_dismiss_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemInstancesItemDismissReminderRequestBuilder(r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemInstancesItemDismissReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemDismissReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { 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 a624acbae2f..8ec911dc708 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 @@ -61,7 +61,7 @@ func NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesDeltaReques // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -84,7 +84,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesDeltaReque // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go index c729cff2611..4e3bb6ee933 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAcceptR // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAcceptPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index 714c3215390..15f3a89a4e6 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachment // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachm urlParams["request-raw-url"] = rawUrl return NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an attachment from a user calendar event, message, Outlook task, or post. +// Delete delete navigation property attachments for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttach } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttach } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToDeleteRequestInformation delete an attachment from a user calendar event, message, Outlook task, or post. +// ToDeleteRequestInformation delete navigation property attachments for groups // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttach requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*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_item_attachments_create_upload_session_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index 7e04721eab4..25a71f328ae 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachm // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go index 4d403bdd9e5..6f9851cac0c 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to an event. +// ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttach func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to an event. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttach } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post create new navigation property to attachments for groups // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttach } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to an event. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttach requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation create new navigation property to attachments for groups // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go index f580d6205a8..77183e8a8a9 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemCancelR // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemCancelRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemCancelPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go index 79f62467177..30dbaa45b38 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemDecline // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemDeclinePostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go index 16909f27c72..9961aadcd71 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemDismiss // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemDismissReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemDismissReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go index 50a3819653f..640c94f51d2 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensions // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtens } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtens requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*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_item_extensions_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go index 0d73147b681..361c953d555 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensi func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) Count()(*ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsCountRequestBuilder) { return NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -94,12 +94,9 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtens } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to extensions for groups // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtens } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +128,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtens requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to extensions for groups // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go index 75fefda50cb..a9e45ff384c 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemForward // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemForwardRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemForwardPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go index e4033cb5ae2..692712359d7 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemSnoozeR // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemSnoozeReminderPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemSnoozeReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go index 2d76434258d..3f4176961c8 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemTentati // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemTentativelyAcceptPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemTentativelyAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_calendar_view_item_instances_item_extensions_extension_item_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_extensions_extension_item_request_builder.go index 1a54be41007..80c695f50d0 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_extensions_extension_item_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuil // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExtensionsExtensionItemRequest } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExtensionsExtensionItemRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*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_extensions_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_extensions_request_builder.go index d060fa214b8..ac5c39d3d24 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_extensions_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarCalendarViewItemInstancesItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarCalendarViewItemInstancesItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarCalendarViewItemInstancesItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarCalendarViewItemInstancesItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemCalendarCalendarViewItemInstancesItemExtensionsRequestBuilder(rawUrl func (m *ItemCalendarCalendarViewItemInstancesItemExtensionsRequestBuilder) Count()(*ItemCalendarCalendarViewItemInstancesItemExtensionsCountRequestBuilder) { return NewItemCalendarCalendarViewItemInstancesItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemCalendarCalendarViewItemInstancesItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -94,12 +94,9 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExtensionsRequestBuilder) Get( } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to extensions for groups // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemInstancesItemExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExtensionsRequestBuilder) Post } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemInstancesItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +128,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExtensionsRequestBuilder) ToGe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to extensions for groups // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemInstancesItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_calendar_calendar_view_item_instances_item_forward_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_forward_request_builder.go index 4249cd3cbcd..4c6b3083b3e 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_forward_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemInstancesItemForwardRequestBuilder(rawUrl st // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemInstancesItemForwardRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemInstancesItemForwardPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_calendar_view_item_instances_item_snooze_reminder_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_snooze_reminder_request_builder.go index ac4ed312368..2b0b79fd4f4 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_snooze_reminder_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_snooze_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemInstancesItemSnoozeReminderRequestBuilder(ra // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemInstancesItemSnoozeReminderRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemInstancesItemSnoozeReminderPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemSnoozeReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_calendar_view_item_instances_item_tentatively_accept_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_tentatively_accept_request_builder.go index 24451ccfdee..aa1f04e3567 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_tentatively_accept_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_tentatively_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemInstancesItemTentativelyAcceptRequestBuilder // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemInstancesItemTentativelyAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemInstancesItemTentativelyAcceptPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemTentativelyAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_calendar_view_item_instances_request_builder.go b/groups/item_calendar_calendar_view_item_instances_request_builder.go index 0d96e8bffa0..5d6745ea9c7 100644 --- a/groups/item_calendar_calendar_view_item_instances_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_request_builder.go @@ -77,9 +77,6 @@ func (m *ItemCalendarCalendarViewItemInstancesRequestBuilder) Delta()(*ItemCalen // Get the occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but doesn't include occurrences that have been canceled from the series. Navigation property. Read-only. Nullable. // returns a EventCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-instances?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemInstancesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemInstancesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EventCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_calendar_view_item_snooze_reminder_request_builder.go b/groups/item_calendar_calendar_view_item_snooze_reminder_request_builder.go index 68642683016..f408b381c8f 100644 --- a/groups/item_calendar_calendar_view_item_snooze_reminder_request_builder.go +++ b/groups/item_calendar_calendar_view_item_snooze_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemSnoozeReminderRequestBuilder(rawUrl string, // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemSnoozeReminderRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemSnoozeReminderPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemSnoozeReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_calendar_view_item_tentatively_accept_request_builder.go b/groups/item_calendar_calendar_view_item_tentatively_accept_request_builder.go index 5c882271274..0949515be03 100644 --- a/groups/item_calendar_calendar_view_item_tentatively_accept_request_builder.go +++ b/groups/item_calendar_calendar_view_item_tentatively_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemTentativelyAcceptRequestBuilder(rawUrl strin // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemTentativelyAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemTentativelyAcceptPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemTentativelyAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_calendar_view_request_builder.go b/groups/item_calendar_calendar_view_request_builder.go index ea0ca1ad5f8..bc66e8d166a 100644 --- a/groups/item_calendar_calendar_view_request_builder.go +++ b/groups/item_calendar_calendar_view_request_builder.go @@ -77,9 +77,6 @@ func (m *ItemCalendarCalendarViewRequestBuilder) Delta()(*ItemCalendarCalendarVi // Get the calendar view for the calendar. Navigation property. Read-only. // returns a EventCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/calendar-list-calendarview?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EventCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_events_delta_request_builder.go b/groups/item_calendar_events_delta_request_builder.go index 547bf65fa7e..c292c217c19 100644 --- a/groups/item_calendar_events_delta_request_builder.go +++ b/groups/item_calendar_events_delta_request_builder.go @@ -61,7 +61,7 @@ func NewItemCalendarEventsDeltaRequestBuilder(rawUrl string, requestAdapter i2ae // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarEventsDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarEventsDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarEventsDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -84,7 +84,7 @@ func (m *ItemCalendarEventsDeltaRequestBuilder) Get(ctx context.Context, request // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarEventsDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemCalendarEventsDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarEventsDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_events_item_accept_request_builder.go b/groups/item_calendar_events_item_accept_request_builder.go index 93f91161430..b315cd48a11 100644 --- a/groups/item_calendar_events_item_accept_request_builder.go +++ b/groups/item_calendar_events_item_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemAcceptRequestBuilder(rawUrl string, requestAdapter // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-beta func (m *ItemCalendarEventsItemAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemAcceptPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_events_item_attachments_attachment_item_request_builder.go b/groups/item_calendar_events_item_attachments_attachment_item_request_builder.go index 172bea70414..d4c2a8ee155 100644 --- a/groups/item_calendar_events_item_attachments_attachment_item_request_builder.go +++ b/groups/item_calendar_events_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilderDeleteRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilder(rawUrl str urlParams["request-raw-url"] = rawUrl return NewItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an attachment from a user calendar event, message, Outlook task, or post. +// Delete delete navigation property attachments for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0 func (m *ItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilder) Delete(c } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 func (m *ItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilder) Get(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToDeleteRequestInformation delete an attachment from a user calendar event, message, Outlook task, or post. +// ToDeleteRequestInformation delete navigation property attachments for groups // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilder) ToDelete requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_calendar_events_item_attachments_create_upload_session_request_builder.go b/groups/item_calendar_events_item_attachments_create_upload_session_request_builder.go index aba69d4b3d1..0dde1b309df 100644 --- a/groups/item_calendar_events_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_calendar_events_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemCalendarEventsItemAttachmentsCreateUploadSessionRequestBuilder(rawUr // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemCalendarEventsItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_events_item_attachments_request_builder.go b/groups/item_calendar_events_item_attachments_request_builder.go index a78a64c2803..1cc1b0dee66 100644 --- a/groups/item_calendar_events_item_attachments_request_builder.go +++ b/groups/item_calendar_events_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarEventsItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarEventsItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to an event. +// ItemCalendarEventsItemAttachmentsRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarEventsItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemCalendarEventsItemAttachmentsRequestBuilder) Count()(*ItemCalendarE func (m *ItemCalendarEventsItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemCalendarEventsItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemCalendarEventsItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to an event. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 func (m *ItemCalendarEventsItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarEventsItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemCalendarEventsItemAttachmentsRequestBuilder) Get(ctx context.Contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post create new navigation property to attachments for groups // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemCalendarEventsItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarEventsItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemCalendarEventsItemAttachmentsRequestBuilder) Post(ctx context.Conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to an event. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemCalendarEventsItemAttachmentsRequestBuilder) ToGetRequestInformatio requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation create new navigation property to attachments for groups // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarEventsItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_calendar_events_item_cancel_request_builder.go b/groups/item_calendar_events_item_cancel_request_builder.go index aaafd825dbf..073fa1e063e 100644 --- a/groups/item_calendar_events_item_cancel_request_builder.go +++ b/groups/item_calendar_events_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemCancelRequestBuilder(rawUrl string, requestAdapter // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-beta func (m *ItemCalendarEventsItemCancelRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemCancelPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_events_item_decline_request_builder.go b/groups/item_calendar_events_item_decline_request_builder.go index 59c780a1b2a..ffb6e664c4a 100644 --- a/groups/item_calendar_events_item_decline_request_builder.go +++ b/groups/item_calendar_events_item_decline_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemDeclineRequestBuilder(rawUrl string, requestAdapte // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-beta func (m *ItemCalendarEventsItemDeclineRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemDeclinePostRequestBodyable, requestConfiguration *ItemCalendarEventsItemDeclineRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_events_item_dismiss_reminder_request_builder.go b/groups/item_calendar_events_item_dismiss_reminder_request_builder.go index 497d77e094c..baa7e5b7f6a 100644 --- a/groups/item_calendar_events_item_dismiss_reminder_request_builder.go +++ b/groups/item_calendar_events_item_dismiss_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemDismissReminderRequestBuilder(rawUrl string, reque // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-beta func (m *ItemCalendarEventsItemDismissReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCalendarEventsItemDismissReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { 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 c5fd0255203..bda200ce1aa 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 @@ -61,7 +61,7 @@ func NewItemCalendarEventsItemExceptionOccurrencesDeltaRequestBuilder(rawUrl str // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarEventsItemExceptionOccurrencesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarEventsItemExceptionOccurrencesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -84,7 +84,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesDeltaRequestBuilder) Get(ctx // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarEventsItemExceptionOccurrencesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarEventsItemExceptionOccurrencesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_events_item_exception_occurrences_item_accept_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_accept_request_builder.go index 0c6aad61699..cf647366929 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_accept_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemExceptionOccurrencesItemAcceptRequestBuilder(rawUr // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-beta func (m *ItemCalendarEventsItemExceptionOccurrencesItemAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemExceptionOccurrencesItemAcceptPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index 413ab73de6c..222bc0d9a07 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemR urlParams["request-raw-url"] = rawUrl return NewItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an attachment from a user calendar event, message, Outlook task, or post. +// Delete delete navigation property attachments for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0 func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItem } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItem } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToDeleteRequestInformation delete an attachment from a user calendar event, message, Outlook task, or post. +// ToDeleteRequestInformation delete navigation property attachments for groups // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItem requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*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_attachments_create_upload_session_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index d3feab8458c..ab8e74093d1 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemCalendarEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSes // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_events_item_exception_occurrences_item_attachments_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_attachments_request_builder.go index 08156312074..270d85cb134 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_attachments_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to an event. +// ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemCalendarEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to an event. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post create new navigation property to attachments for groups // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to an event. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation create new navigation property to attachments for groups // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_calendar_events_item_exception_occurrences_item_cancel_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_cancel_request_builder.go index 586b5194fc8..831f30ab190 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_cancel_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemExceptionOccurrencesItemCancelRequestBuilder(rawUr // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-beta func (m *ItemCalendarEventsItemExceptionOccurrencesItemCancelRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemExceptionOccurrencesItemCancelPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_events_item_exception_occurrences_item_decline_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_decline_request_builder.go index 37e25ccf891..aeb52ee48c0 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_decline_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_decline_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemExceptionOccurrencesItemDeclineRequestBuilder(rawU // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-beta func (m *ItemCalendarEventsItemExceptionOccurrencesItemDeclineRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemExceptionOccurrencesItemDeclinePostRequestBodyable, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemDeclineRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go index 592848101ff..af6be65b49b 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemExceptionOccurrencesItemDismissReminderRequestBuil // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-beta func (m *ItemCalendarEventsItemExceptionOccurrencesItemDismissReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemDismissReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go index 7b88ea62cb8..20e49ed3e63 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarEventsItemExceptionOccurrencesItemExtensionsExtensionItemReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemExtensionsExtensionItemRe } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemCalendarEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemExtensionsExtensionItemRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*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_extensions_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_extensions_request_builder.go index d134a33000b..ac0ce4f69db 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_extensions_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarEventsItemExceptionOccurrencesItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarEventsItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarEventsItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarEventsItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemCalendarEventsItemExceptionOccurrencesItemExtensionsRequestBuilder(r func (m *ItemCalendarEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) Count()(*ItemCalendarEventsItemExceptionOccurrencesItemExtensionsCountRequestBuilder) { return NewItemCalendarEventsItemExceptionOccurrencesItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemCalendarEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -94,12 +94,9 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to extensions for groups // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemCalendarEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +128,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to extensions for groups // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_calendar_events_item_exception_occurrences_item_forward_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_forward_request_builder.go index 7bc06c5fb7a..fba89c27400 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_forward_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemExceptionOccurrencesItemForwardRequestBuilder(rawU // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-beta func (m *ItemCalendarEventsItemExceptionOccurrencesItemForwardRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemExceptionOccurrencesItemForwardPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { 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 afdaa04668f..af54f11908a 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 @@ -61,7 +61,7 @@ func NewItemCalendarEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuild // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarEventsItemExceptionOccurrencesItemInstancesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -84,7 +84,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuil // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarEventsItemExceptionOccurrencesItemInstancesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_accept_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_accept_request_builder.go index 0e67aae8941..a3a1149fe9f 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_accept_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAcceptRequest // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-beta func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAcceptPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go index 790f9ebd029..63d3709f327 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttac // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAt urlParams["request-raw-url"] = rawUrl return NewItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an attachment from a user calendar event, message, Outlook task, or post. +// Delete delete navigation property attachments for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0 func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsA } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsA } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToDeleteRequestInformation delete an attachment from a user calendar event, message, Outlook task, or post. +// ToDeleteRequestInformation delete navigation property attachments for groups // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsA requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*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_item_attachments_create_upload_session_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go index 94a135ec0a0..1e281d7980e 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCr // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go index 7de0a30ce15..1e1a104dea7 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to an event. +// ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsR func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to an event. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsR } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post create new navigation property to attachments for groups // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsR } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to an event. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation create new navigation property to attachments for groups // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go index ba80307b86e..87b183c0899 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemExceptionOccurrencesItemInstancesItemCancelRequest // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-beta func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemCancelRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemCancelPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_decline_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_decline_request_builder.go index 07b33514312..461a5d89bd7 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_decline_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_decline_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemExceptionOccurrencesItemInstancesItemDeclineReques // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-beta func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemDeclinePostRequestBodyable, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go index c288f78f462..73625834cb5 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemExceptionOccurrencesItemInstancesItemDismissRemind // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-beta func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemDismissReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemDismissReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go index feb7f52ea71..7c1251abeb0 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtens // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsEx } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsEx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*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_item_extensions_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go index a94b1913a9d..954b71663b1 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsReq func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) Count()(*ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsCountRequestBuilder) { return NewItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -94,12 +94,9 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsRe } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to extensions for groups // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsRe } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +128,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to extensions for groups // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_forward_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_forward_request_builder.go index 0ce5ddb1ec4..e34a0202c69 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_forward_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemExceptionOccurrencesItemInstancesItemForwardReques // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-beta func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemForwardRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemForwardPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go index a0cfc70417b..47e3d432db7 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemExceptionOccurrencesItemInstancesItemSnoozeReminde // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-beta func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemSnoozeReminderRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemSnoozeReminderPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemSnoozeReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go index 7a3e71cb3d7..a462de78f66 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemExceptionOccurrencesItemInstancesItemTentativelyAc // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-beta func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemTentativelyAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemTentativelyAcceptPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemTentativelyAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_events_item_exception_occurrences_item_instances_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_instances_request_builder.go index 0677aed967b..46240faffb0 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_instances_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_instances_request_builder.go @@ -77,9 +77,6 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesRequestBuilder) // Get the occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but doesn't include occurrences that have been canceled from the series. Navigation property. Read-only. Nullable. // returns a EventCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-instances?view=graph-rest-1.0 func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemInstancesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EventCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_events_item_exception_occurrences_item_snooze_reminder_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_snooze_reminder_request_builder.go index 321aae30800..84bfe990524 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemExceptionOccurrencesItemSnoozeReminderRequestBuild // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-beta func (m *ItemCalendarEventsItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemExceptionOccurrencesItemSnoozeReminderPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemSnoozeReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_events_item_exception_occurrences_item_tentatively_accept_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_tentatively_accept_request_builder.go index 56cc66550be..4495f70b7e0 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemExceptionOccurrencesItemTentativelyAcceptRequestBu // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-beta func (m *ItemCalendarEventsItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemExceptionOccurrencesItemTentativelyAcceptPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemTentativelyAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_events_item_extensions_extension_item_request_builder.go b/groups/item_calendar_events_item_extensions_extension_item_request_builder.go index bb96fd4ce9f..5e30f631961 100644 --- a/groups/item_calendar_events_item_extensions_extension_item_request_builder.go +++ b/groups/item_calendar_events_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarEventsItemExtensionsExtensionItemRequestBuilderDeleteRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarEventsItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarEventsItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarEventsItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemCalendarEventsItemExtensionsExtensionItemRequestBuilder) Delete(ctx } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemCalendarEventsItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemCalendarEventsItemExtensionsExtensionItemRequestBuilder) ToDeleteRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_calendar_events_item_extensions_request_builder.go b/groups/item_calendar_events_item_extensions_request_builder.go index 4d8cc150733..37ebd127dd1 100644 --- a/groups/item_calendar_events_item_extensions_request_builder.go +++ b/groups/item_calendar_events_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarEventsItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarEventsItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarEventsItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarEventsItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemCalendarEventsItemExtensionsRequestBuilder(rawUrl string, requestAda func (m *ItemCalendarEventsItemExtensionsRequestBuilder) Count()(*ItemCalendarEventsItemExtensionsCountRequestBuilder) { return NewItemCalendarEventsItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemCalendarEventsItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -94,12 +94,9 @@ func (m *ItemCalendarEventsItemExtensionsRequestBuilder) Get(ctx context.Context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to extensions for groups // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemCalendarEventsItemExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarEventsItemExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemCalendarEventsItemExtensionsRequestBuilder) Post(ctx context.Contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +128,7 @@ func (m *ItemCalendarEventsItemExtensionsRequestBuilder) ToGetRequestInformation requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to extensions for groups // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarEventsItemExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_calendar_events_item_forward_request_builder.go b/groups/item_calendar_events_item_forward_request_builder.go index 4c1eb4e6038..abc66a41cc1 100644 --- a/groups/item_calendar_events_item_forward_request_builder.go +++ b/groups/item_calendar_events_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemForwardRequestBuilder(rawUrl string, requestAdapte // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-beta func (m *ItemCalendarEventsItemForwardRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemForwardPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { 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 ec4af6bea95..19c12d6b5dc 100644 --- a/groups/item_calendar_events_item_instances_delta_request_builder.go +++ b/groups/item_calendar_events_item_instances_delta_request_builder.go @@ -61,7 +61,7 @@ func NewItemCalendarEventsItemInstancesDeltaRequestBuilder(rawUrl string, reques // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarEventsItemInstancesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarEventsItemInstancesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarEventsItemInstancesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -84,7 +84,7 @@ func (m *ItemCalendarEventsItemInstancesDeltaRequestBuilder) Get(ctx context.Con // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarEventsItemInstancesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemCalendarEventsItemInstancesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarEventsItemInstancesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_events_item_instances_item_accept_request_builder.go b/groups/item_calendar_events_item_instances_item_accept_request_builder.go index d4f0f861d48..67a23d82f08 100644 --- a/groups/item_calendar_events_item_instances_item_accept_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemInstancesItemAcceptRequestBuilder(rawUrl string, r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-beta func (m *ItemCalendarEventsItemInstancesItemAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemInstancesItemAcceptPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemInstancesItemAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_events_item_instances_item_attachments_attachment_item_request_builder.go b/groups/item_calendar_events_item_instances_item_attachments_attachment_item_request_builder.go index 4c7545091db..8491d1389be 100644 --- a/groups/item_calendar_events_item_instances_item_attachments_attachment_item_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderD // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuild urlParams["request-raw-url"] = rawUrl return NewItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an attachment from a user calendar event, message, Outlook task, or post. +// Delete delete navigation property attachments for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0 func (m *ItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuil } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 func (m *ItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuil } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToDeleteRequestInformation delete an attachment from a user calendar event, message, Outlook task, or post. +// ToDeleteRequestInformation delete navigation property attachments for groups // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuil requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_calendar_events_item_instances_item_attachments_create_upload_session_request_builder.go b/groups/item_calendar_events_item_instances_item_attachments_create_upload_session_request_builder.go index 0fbac12485b..24ddc0b80ce 100644 --- a/groups/item_calendar_events_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemCalendarEventsItemInstancesItemAttachmentsCreateUploadSessionRequest // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemCalendarEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemInstancesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_events_item_instances_item_attachments_request_builder.go b/groups/item_calendar_events_item_instances_item_attachments_request_builder.go index fb2a973737d..aee9cb4a5e0 100644 --- a/groups/item_calendar_events_item_instances_item_attachments_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to an event. +// ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilder) Count()(* func (m *ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemCalendarEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemCalendarEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to an event. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 func (m *ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilder) Get(ctx c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post create new navigation property to attachments for groups // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilder) Post(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to an event. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilder) ToGetRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation create new navigation property to attachments for groups // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_calendar_events_item_instances_item_cancel_request_builder.go b/groups/item_calendar_events_item_instances_item_cancel_request_builder.go index b8269a31c05..c1a00e45754 100644 --- a/groups/item_calendar_events_item_instances_item_cancel_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemInstancesItemCancelRequestBuilder(rawUrl string, r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-beta func (m *ItemCalendarEventsItemInstancesItemCancelRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemInstancesItemCancelPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemInstancesItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_events_item_instances_item_decline_request_builder.go b/groups/item_calendar_events_item_instances_item_decline_request_builder.go index eabc56a1131..918f92e774d 100644 --- a/groups/item_calendar_events_item_instances_item_decline_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_decline_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemInstancesItemDeclineRequestBuilder(rawUrl string, // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-beta func (m *ItemCalendarEventsItemInstancesItemDeclineRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemInstancesItemDeclinePostRequestBodyable, requestConfiguration *ItemCalendarEventsItemInstancesItemDeclineRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_events_item_instances_item_dismiss_reminder_request_builder.go b/groups/item_calendar_events_item_instances_item_dismiss_reminder_request_builder.go index b0e486a7e29..a8e6d542bfb 100644 --- a/groups/item_calendar_events_item_instances_item_dismiss_reminder_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_dismiss_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemInstancesItemDismissReminderRequestBuilder(rawUrl // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-beta func (m *ItemCalendarEventsItemInstancesItemDismissReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCalendarEventsItemInstancesItemDismissReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { 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 534e878a8fe..53899d901f0 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 @@ -61,7 +61,7 @@ func NewItemCalendarEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuild // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarEventsItemInstancesItemExceptionOccurrencesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -84,7 +84,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuil // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemCalendarEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarEventsItemInstancesItemExceptionOccurrencesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_accept_request_builder.go b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_accept_request_builder.go index 8f4b297cf0f..49cafee2e60 100644 --- a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_accept_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAcceptRequest // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-beta func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAcceptPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index 6c7e6faf40d..c8f32bba2bb 100644 --- a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttac // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAt urlParams["request-raw-url"] = rawUrl return NewItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an attachment from a user calendar event, message, Outlook task, or post. +// Delete delete navigation property attachments for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0 func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsA } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsA } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToDeleteRequestInformation delete an attachment from a user calendar event, message, Outlook task, or post. +// ToDeleteRequestInformation delete navigation property attachments for groups // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsA requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*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_item_attachments_create_upload_session_request_builder.go b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index 20453683d16..0644777dfd5 100644 --- a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCr // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go index 155b47b6c7b..bab4d1ed609 100644 --- a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to an event. +// ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsR func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to an event. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsR } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post create new navigation property to attachments for groups // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsR } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to an event. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation create new navigation property to attachments for groups // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go index 774bddc3c0b..c2041ce287c 100644 --- a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemInstancesItemExceptionOccurrencesItemCancelRequest // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-beta func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemCancelRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemCancelPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_decline_request_builder.go b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_decline_request_builder.go index 3d9f805fa68..813138e41cd 100644 --- a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_decline_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_decline_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemInstancesItemExceptionOccurrencesItemDeclineReques // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-beta func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemDeclinePostRequestBodyable, requestConfiguration *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go index 0c7948e271a..337ca3006d4 100644 --- a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemInstancesItemExceptionOccurrencesItemDismissRemind // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-beta func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemDismissReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemDismissReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go index 93b14bae707..129e73a14ac 100644 --- a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtens // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsEx } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsEx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*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_item_extensions_request_builder.go b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go index 07ac1a045d8..779d7371465 100644 --- a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsReq func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) Count()(*ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsCountRequestBuilder) { return NewItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -94,12 +94,9 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsRe } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to extensions for groups // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsRe } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +128,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to extensions for groups // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_forward_request_builder.go b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_forward_request_builder.go index 6a48a64a35e..1a660f2a32d 100644 --- a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_forward_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemInstancesItemExceptionOccurrencesItemForwardReques // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-beta func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemForwardRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemForwardPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go index 05d9704dc13..cc73f6b453f 100644 --- a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemInstancesItemExceptionOccurrencesItemSnoozeReminde // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-beta func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemSnoozeReminderPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemSnoozeReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go index 9b2a18749b4..20d26f30568 100644 --- a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemInstancesItemExceptionOccurrencesItemTentativelyAc // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-beta func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemTentativelyAcceptPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemTentativelyAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_events_item_instances_item_extensions_extension_item_request_builder.go b/groups/item_calendar_events_item_instances_item_extensions_extension_item_request_builder.go index 7fbbca05cc5..4dc6e6fae6c 100644 --- a/groups/item_calendar_events_item_instances_item_extensions_extension_item_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarEventsItemInstancesItemExtensionsExtensionItemRequestBuilderDel // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarEventsItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarEventsItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarEventsItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemCalendarEventsItemInstancesItemExtensionsExtensionItemRequestBuilde } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemCalendarEventsItemInstancesItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarEventsItemInstancesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemCalendarEventsItemInstancesItemExtensionsExtensionItemRequestBuilde requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemInstancesItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemInstancesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_calendar_events_item_instances_item_extensions_request_builder.go b/groups/item_calendar_events_item_instances_item_extensions_request_builder.go index 1257fc55223..0a30463cd1a 100644 --- a/groups/item_calendar_events_item_instances_item_extensions_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarEventsItemInstancesItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarEventsItemInstancesItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarEventsItemInstancesItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarEventsItemInstancesItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemCalendarEventsItemInstancesItemExtensionsRequestBuilder(rawUrl strin func (m *ItemCalendarEventsItemInstancesItemExtensionsRequestBuilder) Count()(*ItemCalendarEventsItemInstancesItemExtensionsCountRequestBuilder) { return NewItemCalendarEventsItemInstancesItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemCalendarEventsItemInstancesItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarEventsItemInstancesItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -94,12 +94,9 @@ func (m *ItemCalendarEventsItemInstancesItemExtensionsRequestBuilder) Get(ctx co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to extensions for groups // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemCalendarEventsItemInstancesItemExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarEventsItemInstancesItemExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemCalendarEventsItemInstancesItemExtensionsRequestBuilder) Post(ctx c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemInstancesItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemInstancesItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +128,7 @@ func (m *ItemCalendarEventsItemInstancesItemExtensionsRequestBuilder) ToGetReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to extensions for groups // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemInstancesItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarEventsItemInstancesItemExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_calendar_events_item_instances_item_forward_request_builder.go b/groups/item_calendar_events_item_instances_item_forward_request_builder.go index 3eca287a9fe..9a36e252345 100644 --- a/groups/item_calendar_events_item_instances_item_forward_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemInstancesItemForwardRequestBuilder(rawUrl string, // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-beta func (m *ItemCalendarEventsItemInstancesItemForwardRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemInstancesItemForwardPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemInstancesItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_events_item_instances_item_snooze_reminder_request_builder.go b/groups/item_calendar_events_item_instances_item_snooze_reminder_request_builder.go index 6676d521448..a5c07cf4075 100644 --- a/groups/item_calendar_events_item_instances_item_snooze_reminder_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_snooze_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemInstancesItemSnoozeReminderRequestBuilder(rawUrl s // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-beta func (m *ItemCalendarEventsItemInstancesItemSnoozeReminderRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemInstancesItemSnoozeReminderPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemInstancesItemSnoozeReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_events_item_instances_item_tentatively_accept_request_builder.go b/groups/item_calendar_events_item_instances_item_tentatively_accept_request_builder.go index 6295295b304..d582ea500ce 100644 --- a/groups/item_calendar_events_item_instances_item_tentatively_accept_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_tentatively_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemInstancesItemTentativelyAcceptRequestBuilder(rawUr // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-beta func (m *ItemCalendarEventsItemInstancesItemTentativelyAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemInstancesItemTentativelyAcceptPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemInstancesItemTentativelyAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_events_item_instances_request_builder.go b/groups/item_calendar_events_item_instances_request_builder.go index 8edf9bbd010..f89ccc096da 100644 --- a/groups/item_calendar_events_item_instances_request_builder.go +++ b/groups/item_calendar_events_item_instances_request_builder.go @@ -77,9 +77,6 @@ func (m *ItemCalendarEventsItemInstancesRequestBuilder) Delta()(*ItemCalendarEve // Get the occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but doesn't include occurrences that have been canceled from the series. Navigation property. Read-only. Nullable. // returns a EventCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-instances?view=graph-rest-1.0 func (m *ItemCalendarEventsItemInstancesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarEventsItemInstancesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EventCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_events_item_snooze_reminder_request_builder.go b/groups/item_calendar_events_item_snooze_reminder_request_builder.go index b67cc929387..e7e1d165f54 100644 --- a/groups/item_calendar_events_item_snooze_reminder_request_builder.go +++ b/groups/item_calendar_events_item_snooze_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemSnoozeReminderRequestBuilder(rawUrl string, reques // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-beta func (m *ItemCalendarEventsItemSnoozeReminderRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemSnoozeReminderPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemSnoozeReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_events_item_tentatively_accept_request_builder.go b/groups/item_calendar_events_item_tentatively_accept_request_builder.go index dc4b31c0b51..dceafcf0ce1 100644 --- a/groups/item_calendar_events_item_tentatively_accept_request_builder.go +++ b/groups/item_calendar_events_item_tentatively_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemTentativelyAcceptRequestBuilder(rawUrl string, req // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-beta func (m *ItemCalendarEventsItemTentativelyAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemTentativelyAcceptPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemTentativelyAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_events_request_builder.go b/groups/item_calendar_events_request_builder.go index 7695233fa95..796e956eefb 100644 --- a/groups/item_calendar_events_request_builder.go +++ b/groups/item_calendar_events_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarEventsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarEventsRequestBuilderGetQueryParameters retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, orget the instances of an event. +// ItemCalendarEventsRequestBuilderGetQueryParameters the events in the calendar. Navigation property. Read-only. type ItemCalendarEventsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemCalendarEventsRequestBuilder) Count()(*ItemCalendarEventsCountReque func (m *ItemCalendarEventsRequestBuilder) Delta()(*ItemCalendarEventsDeltaRequestBuilder) { return NewItemCalendarEventsDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, orget the instances of an event. +// Get the events in the calendar. Navigation property. Read-only. // returns a EventCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/calendar-list-events?view=graph-rest-1.0 func (m *ItemCalendarEventsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarEventsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EventCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemCalendarEventsRequestBuilder) Get(ctx context.Context, requestConfi } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EventCollectionResponseable), nil } -// Post use this API to create a new event in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. +// Post create new navigation property to events for groups // returns a Eventable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/calendar-post-events?view=graph-rest-1.0 func (m *ItemCalendarEventsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Eventable, requestConfiguration *ItemCalendarEventsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Eventable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemCalendarEventsRequestBuilder) Post(ctx context.Context, body ie233e } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Eventable), nil } -// ToGetRequestInformation retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, orget the instances of an event. +// ToGetRequestInformation the events in the calendar. Navigation property. Read-only. // returns a *RequestInformation when successful func (m *ItemCalendarEventsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemCalendarEventsRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new event in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. +// ToPostRequestInformation create new navigation property to events for groups // returns a *RequestInformation when successful func (m *ItemCalendarEventsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Eventable, requestConfiguration *ItemCalendarEventsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_calendar_get_schedule_request_builder.go b/groups/item_calendar_get_schedule_request_builder.go index eb863897c36..27fbd7ed130 100644 --- a/groups/item_calendar_get_schedule_request_builder.go +++ b/groups/item_calendar_get_schedule_request_builder.go @@ -36,7 +36,7 @@ func NewItemCalendarGetScheduleRequestBuilder(rawUrl string, requestAdapter i2ae // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/calendar-getschedule?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/calendar-getschedule?view=graph-rest-beta func (m *ItemCalendarGetScheduleRequestBuilder) Post(ctx context.Context, body ItemCalendarGetSchedulePostRequestBodyable, requestConfiguration *ItemCalendarGetScheduleRequestBuilderPostRequestConfiguration)(ItemCalendarGetScheduleResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ItemCalendarGetScheduleRequestBuilder) Post(ctx context.Context, body I // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/calendar-getschedule?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/calendar-getschedule?view=graph-rest-beta func (m *ItemCalendarGetScheduleRequestBuilder) PostAsGetSchedulePostResponse(ctx context.Context, body ItemCalendarGetSchedulePostRequestBodyable, requestConfiguration *ItemCalendarGetScheduleRequestBuilderPostRequestConfiguration)(ItemCalendarGetSchedulePostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_view_delta_request_builder.go b/groups/item_calendar_view_delta_request_builder.go index e7c6e8bc264..c103b7aa8a7 100644 --- a/groups/item_calendar_view_delta_request_builder.go +++ b/groups/item_calendar_view_delta_request_builder.go @@ -61,7 +61,7 @@ func NewItemCalendarViewDeltaRequestBuilder(rawUrl string, requestAdapter i2ae41 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarViewDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarViewDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarViewDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -84,7 +84,7 @@ func (m *ItemCalendarViewDeltaRequestBuilder) Get(ctx context.Context, requestCo // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarViewDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemCalendarViewDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarViewDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_view_item_accept_request_builder.go b/groups/item_calendar_view_item_accept_request_builder.go index 92cee5e8c24..66fcfedbfb1 100644 --- a/groups/item_calendar_view_item_accept_request_builder.go +++ b/groups/item_calendar_view_item_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemAcceptRequestBuilder(rawUrl string, requestAdapter i // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-beta func (m *ItemCalendarViewItemAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemAcceptPostRequestBodyable, requestConfiguration *ItemCalendarViewItemAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_view_item_attachments_attachment_item_request_builder.go b/groups/item_calendar_view_item_attachments_attachment_item_request_builder.go index b25cd958591..7e92b675725 100644 --- a/groups/item_calendar_view_item_attachments_attachment_item_request_builder.go +++ b/groups/item_calendar_view_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarViewItemAttachmentsAttachmentItemRequestBuilderDeleteRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarViewItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarViewItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarViewItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemCalendarViewItemAttachmentsAttachmentItemRequestBuilder(rawUrl strin urlParams["request-raw-url"] = rawUrl return NewItemCalendarViewItemAttachmentsAttachmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an attachment from a user calendar event, message, Outlook task, or post. +// Delete delete navigation property attachments for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0 func (m *ItemCalendarViewItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCalendarViewItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemCalendarViewItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 func (m *ItemCalendarViewItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarViewItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemCalendarViewItemAttachmentsAttachmentItemRequestBuilder) Get(ctx co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToDeleteRequestInformation delete an attachment from a user calendar event, message, Outlook task, or post. +// ToDeleteRequestInformation delete navigation property attachments for groups // returns a *RequestInformation when successful func (m *ItemCalendarViewItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemCalendarViewItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarViewItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_calendar_view_item_attachments_create_upload_session_request_builder.go b/groups/item_calendar_view_item_attachments_create_upload_session_request_builder.go index 86f91e48ac8..3fffcdbca2d 100644 --- a/groups/item_calendar_view_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_calendar_view_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemCalendarViewItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemCalendarViewItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarViewItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_view_item_attachments_request_builder.go b/groups/item_calendar_view_item_attachments_request_builder.go index 795fdc56424..15ef4b7df72 100644 --- a/groups/item_calendar_view_item_attachments_request_builder.go +++ b/groups/item_calendar_view_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarViewItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarViewItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to an event. +// ItemCalendarViewItemAttachmentsRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarViewItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemCalendarViewItemAttachmentsRequestBuilder) Count()(*ItemCalendarVie func (m *ItemCalendarViewItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemCalendarViewItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemCalendarViewItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to an event. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 func (m *ItemCalendarViewItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarViewItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemCalendarViewItemAttachmentsRequestBuilder) Get(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post create new navigation property to attachments for groups // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemCalendarViewItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarViewItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemCalendarViewItemAttachmentsRequestBuilder) Post(ctx context.Context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to an event. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarViewItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemCalendarViewItemAttachmentsRequestBuilder) ToGetRequestInformation( requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation create new navigation property to attachments for groups // returns a *RequestInformation when successful func (m *ItemCalendarViewItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarViewItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_calendar_view_item_cancel_request_builder.go b/groups/item_calendar_view_item_cancel_request_builder.go index ff04a43eab7..ac885538dfe 100644 --- a/groups/item_calendar_view_item_cancel_request_builder.go +++ b/groups/item_calendar_view_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemCancelRequestBuilder(rawUrl string, requestAdapter i // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-beta func (m *ItemCalendarViewItemCancelRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemCancelPostRequestBodyable, requestConfiguration *ItemCalendarViewItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_view_item_decline_request_builder.go b/groups/item_calendar_view_item_decline_request_builder.go index f0ba279f7f7..091c7fb2640 100644 --- a/groups/item_calendar_view_item_decline_request_builder.go +++ b/groups/item_calendar_view_item_decline_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemDeclineRequestBuilder(rawUrl string, requestAdapter // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-beta func (m *ItemCalendarViewItemDeclineRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemDeclinePostRequestBodyable, requestConfiguration *ItemCalendarViewItemDeclineRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_view_item_dismiss_reminder_request_builder.go b/groups/item_calendar_view_item_dismiss_reminder_request_builder.go index cf0865f5cb9..3fdcf4a624b 100644 --- a/groups/item_calendar_view_item_dismiss_reminder_request_builder.go +++ b/groups/item_calendar_view_item_dismiss_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemDismissReminderRequestBuilder(rawUrl string, request // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-beta func (m *ItemCalendarViewItemDismissReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCalendarViewItemDismissReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { 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 9d69e5f07a6..1dbc9615a02 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 @@ -61,7 +61,7 @@ func NewItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilder(rawUrl strin // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarViewItemExceptionOccurrencesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -84,7 +84,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilder) Get(ctx co // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarViewItemExceptionOccurrencesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_view_item_exception_occurrences_item_accept_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_accept_request_builder.go index 87818f2dfb7..21234ed46c5 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_accept_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemExceptionOccurrencesItemAcceptRequestBuilder(rawUrl // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-beta func (m *ItemCalendarViewItemExceptionOccurrencesItemAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemExceptionOccurrencesItemAcceptPostRequestBodyable, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index 0772d33ea1c..b80f00c622a 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemReq urlParams["request-raw-url"] = rawUrl return NewItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an attachment from a user calendar event, message, Outlook task, or post. +// Delete delete navigation property attachments for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0 func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRe } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRe } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToDeleteRequestInformation delete an attachment from a user calendar event, message, Outlook task, or post. +// ToDeleteRequestInformation delete navigation property attachments for groups // returns a *RequestInformation when successful func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*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_attachments_create_upload_session_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index 433cbefcbda..6cbb0e0fb70 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessi // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_view_item_exception_occurrences_item_attachments_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_attachments_request_builder.go index 7ab3a3851b8..5e3ec03d300 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_attachments_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to an event. +// ItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to an event. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post create new navigation property to attachments for groups // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to an event. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation create new navigation property to attachments for groups // returns a *RequestInformation when successful func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_calendar_view_item_exception_occurrences_item_cancel_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_cancel_request_builder.go index 2b0ace7b6e5..70a1c599ddc 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_cancel_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemExceptionOccurrencesItemCancelRequestBuilder(rawUrl // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-beta func (m *ItemCalendarViewItemExceptionOccurrencesItemCancelRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemExceptionOccurrencesItemCancelPostRequestBodyable, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_view_item_exception_occurrences_item_decline_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_decline_request_builder.go index f77af05004a..27d55088d28 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_decline_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_decline_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemExceptionOccurrencesItemDeclineRequestBuilder(rawUrl // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-beta func (m *ItemCalendarViewItemExceptionOccurrencesItemDeclineRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemExceptionOccurrencesItemDeclinePostRequestBodyable, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemDeclineRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go index e30ae399395..56b3b335fee 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemExceptionOccurrencesItemDismissReminderRequestBuilde // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-beta func (m *ItemCalendarViewItemExceptionOccurrencesItemDismissReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemDismissReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go index 498fd77a56d..d6e062befa2 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestB // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequ } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*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_extensions_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_extensions_request_builder.go index 3946fbc8240..ea939865206 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_extensions_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder(raw func (m *ItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) Count()(*ItemCalendarViewItemExceptionOccurrencesItemExtensionsCountRequestBuilder) { return NewItemCalendarViewItemExceptionOccurrencesItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -94,12 +94,9 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) G } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to extensions for groups // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) P } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +128,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) T requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to extensions for groups // returns a *RequestInformation when successful func (m *ItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_calendar_view_item_exception_occurrences_item_forward_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_forward_request_builder.go index ca0d39217f6..e38b8fe210d 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_forward_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemExceptionOccurrencesItemForwardRequestBuilder(rawUrl // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-beta func (m *ItemCalendarViewItemExceptionOccurrencesItemForwardRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemExceptionOccurrencesItemForwardPostRequestBodyable, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { 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 c92276a41d6..753218b177c 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 @@ -61,7 +61,7 @@ func NewItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilder // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -84,7 +84,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilde // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go index 3000109dd08..e261824ed47 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemExceptionOccurrencesItemInstancesItemAcceptRequestBu // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-beta func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAcceptPostRequestBodyable, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go index 0326da4ce0e..c5cedc83f99 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachm // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAtta urlParams["request-raw-url"] = rawUrl return NewItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an attachment from a user calendar event, message, Outlook task, or post. +// Delete delete navigation property attachments for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0 func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAtt } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAtt } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToDeleteRequestInformation delete an attachment from a user calendar event, message, Outlook task, or post. +// ToDeleteRequestInformation delete navigation property attachments for groups // returns a *RequestInformation when successful func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAtt requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*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_item_attachments_create_upload_session_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go index bf2098dc823..6bc31a86021 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCrea // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go index 0e38dec9f91..1be2644dc5f 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to an event. +// ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsReq func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to an event. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsReq } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post create new navigation property to attachments for groups // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsReq } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to an event. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation create new navigation property to attachments for groups // returns a *RequestInformation when successful func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go index 6e6ad33f224..75c600dda30 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemExceptionOccurrencesItemInstancesItemCancelRequestBu // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-beta func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemCancelRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemExceptionOccurrencesItemInstancesItemCancelPostRequestBodyable, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go index 94123c1c3eb..8383f92f2f8 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemExceptionOccurrencesItemInstancesItemDeclineRequestB // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-beta func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemExceptionOccurrencesItemInstancesItemDeclinePostRequestBodyable, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go index 0bdb1f70ee7..3c3a779983f 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemExceptionOccurrencesItemInstancesItemDismissReminder // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-beta func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemDismissReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemDismissReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go index 7e73e1bdc2c..a7ecb4cbfc7 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensio // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExte } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*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_item_extensions_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go index da66ba1f07f..85c0b51e670 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsReque func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) Count()(*ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsCountRequestBuilder) { return NewItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -94,12 +94,9 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequ } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to extensions for groups // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequ } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +128,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to extensions for groups // returns a *RequestInformation when successful func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go index e37af9c3abb..cc7ba7caf0c 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemExceptionOccurrencesItemInstancesItemForwardRequestB // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-beta func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemForwardRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemExceptionOccurrencesItemInstancesItemForwardPostRequestBodyable, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go index 2787446be00..40281921eb2 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemExceptionOccurrencesItemInstancesItemSnoozeReminderR // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-beta func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemSnoozeReminderRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemExceptionOccurrencesItemInstancesItemSnoozeReminderPostRequestBodyable, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemSnoozeReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go index a5a406f9d37..7dd03b90aba 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemExceptionOccurrencesItemInstancesItemTentativelyAcce // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-beta func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemTentativelyAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemExceptionOccurrencesItemInstancesItemTentativelyAcceptPostRequestBodyable, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemTentativelyAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_view_item_exception_occurrences_item_instances_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_instances_request_builder.go index 478af98e995..ce369fb7372 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_instances_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_instances_request_builder.go @@ -77,9 +77,6 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilder) De // Get the occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but doesn't include occurrences that have been canceled from the series. Navigation property. Read-only. Nullable. // returns a EventCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-instances?view=graph-rest-1.0 func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EventCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go index a73eb7c631b..9cb09e06ab9 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemExceptionOccurrencesItemSnoozeReminderRequestBuilder // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-beta func (m *ItemCalendarViewItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemExceptionOccurrencesItemSnoozeReminderPostRequestBodyable, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemSnoozeReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go index e27d9516cb7..6bc2d998d81 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemExceptionOccurrencesItemTentativelyAcceptRequestBuil // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-beta func (m *ItemCalendarViewItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemExceptionOccurrencesItemTentativelyAcceptPostRequestBodyable, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemTentativelyAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_view_item_extensions_extension_item_request_builder.go b/groups/item_calendar_view_item_extensions_extension_item_request_builder.go index f99a51a5ef0..2627b7d0738 100644 --- a/groups/item_calendar_view_item_extensions_extension_item_request_builder.go +++ b/groups/item_calendar_view_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarViewItemExtensionsExtensionItemRequestBuilderDeleteRequestConfi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarViewItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarViewItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarViewItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemCalendarViewItemExtensionsExtensionItemRequestBuilder) Delete(ctx c } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemCalendarViewItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarViewItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemCalendarViewItemExtensionsExtensionItemRequestBuilder) ToDeleteRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarViewItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_calendar_view_item_extensions_request_builder.go b/groups/item_calendar_view_item_extensions_request_builder.go index a6ca6bcdbe6..edb9f32d0db 100644 --- a/groups/item_calendar_view_item_extensions_request_builder.go +++ b/groups/item_calendar_view_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarViewItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarViewItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarViewItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarViewItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemCalendarViewItemExtensionsRequestBuilder(rawUrl string, requestAdapt func (m *ItemCalendarViewItemExtensionsRequestBuilder) Count()(*ItemCalendarViewItemExtensionsCountRequestBuilder) { return NewItemCalendarViewItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemCalendarViewItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarViewItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -94,12 +94,9 @@ func (m *ItemCalendarViewItemExtensionsRequestBuilder) Get(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to extensions for groups // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemCalendarViewItemExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarViewItemExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemCalendarViewItemExtensionsRequestBuilder) Post(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarViewItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +128,7 @@ func (m *ItemCalendarViewItemExtensionsRequestBuilder) ToGetRequestInformation(c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to extensions for groups // returns a *RequestInformation when successful func (m *ItemCalendarViewItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarViewItemExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_calendar_view_item_forward_request_builder.go b/groups/item_calendar_view_item_forward_request_builder.go index 1c32caf112d..8e9b49a4887 100644 --- a/groups/item_calendar_view_item_forward_request_builder.go +++ b/groups/item_calendar_view_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemForwardRequestBuilder(rawUrl string, requestAdapter // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-beta func (m *ItemCalendarViewItemForwardRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemForwardPostRequestBodyable, requestConfiguration *ItemCalendarViewItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { 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 7a44dcb6d7d..0e3d76c3ba8 100644 --- a/groups/item_calendar_view_item_instances_delta_request_builder.go +++ b/groups/item_calendar_view_item_instances_delta_request_builder.go @@ -61,7 +61,7 @@ func NewItemCalendarViewItemInstancesDeltaRequestBuilder(rawUrl string, requestA // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarViewItemInstancesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarViewItemInstancesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarViewItemInstancesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -84,7 +84,7 @@ func (m *ItemCalendarViewItemInstancesDeltaRequestBuilder) Get(ctx context.Conte // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarViewItemInstancesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemCalendarViewItemInstancesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarViewItemInstancesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_view_item_instances_item_accept_request_builder.go b/groups/item_calendar_view_item_instances_item_accept_request_builder.go index 08d2d3e0bb5..4bfa4f634ef 100644 --- a/groups/item_calendar_view_item_instances_item_accept_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemInstancesItemAcceptRequestBuilder(rawUrl string, req // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-beta func (m *ItemCalendarViewItemInstancesItemAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemInstancesItemAcceptPostRequestBodyable, requestConfiguration *ItemCalendarViewItemInstancesItemAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go b/groups/item_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go index 438b7d515aa..1b3c2795a9f 100644 --- a/groups/item_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderDel // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilder urlParams["request-raw-url"] = rawUrl return NewItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an attachment from a user calendar event, message, Outlook task, or post. +// Delete delete navigation property attachments for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0 func (m *ItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilde } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 func (m *ItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilde } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToDeleteRequestInformation delete an attachment from a user calendar event, message, Outlook task, or post. +// ToDeleteRequestInformation delete navigation property attachments for groups // returns a *RequestInformation when successful func (m *ItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilde requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go b/groups/item_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go index 091973be995..683f613d97b 100644 --- a/groups/item_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBu // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemInstancesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_view_item_instances_item_attachments_request_builder.go b/groups/item_calendar_view_item_instances_item_attachments_request_builder.go index 96d4a343047..66839334cf2 100644 --- a/groups/item_calendar_view_item_instances_item_attachments_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarViewItemInstancesItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarViewItemInstancesItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to an event. +// ItemCalendarViewItemInstancesItemAttachmentsRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarViewItemInstancesItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemCalendarViewItemInstancesItemAttachmentsRequestBuilder) Count()(*It func (m *ItemCalendarViewItemInstancesItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to an event. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 func (m *ItemCalendarViewItemInstancesItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarViewItemInstancesItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemCalendarViewItemInstancesItemAttachmentsRequestBuilder) Get(ctx con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post create new navigation property to attachments for groups // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemCalendarViewItemInstancesItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarViewItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemCalendarViewItemInstancesItemAttachmentsRequestBuilder) Post(ctx co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to an event. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarViewItemInstancesItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemInstancesItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemCalendarViewItemInstancesItemAttachmentsRequestBuilder) ToGetReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation create new navigation property to attachments for groups // returns a *RequestInformation when successful func (m *ItemCalendarViewItemInstancesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarViewItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_calendar_view_item_instances_item_cancel_request_builder.go b/groups/item_calendar_view_item_instances_item_cancel_request_builder.go index 27d16446e50..d231c0dab01 100644 --- a/groups/item_calendar_view_item_instances_item_cancel_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemInstancesItemCancelRequestBuilder(rawUrl string, req // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-beta func (m *ItemCalendarViewItemInstancesItemCancelRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemInstancesItemCancelPostRequestBodyable, requestConfiguration *ItemCalendarViewItemInstancesItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_view_item_instances_item_decline_request_builder.go b/groups/item_calendar_view_item_instances_item_decline_request_builder.go index d17d505e850..e853880d350 100644 --- a/groups/item_calendar_view_item_instances_item_decline_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_decline_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemInstancesItemDeclineRequestBuilder(rawUrl string, re // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-beta func (m *ItemCalendarViewItemInstancesItemDeclineRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemInstancesItemDeclinePostRequestBodyable, requestConfiguration *ItemCalendarViewItemInstancesItemDeclineRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_view_item_instances_item_dismiss_reminder_request_builder.go b/groups/item_calendar_view_item_instances_item_dismiss_reminder_request_builder.go index b2d467ee218..2f7284e9b5a 100644 --- a/groups/item_calendar_view_item_instances_item_dismiss_reminder_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_dismiss_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemInstancesItemDismissReminderRequestBuilder(rawUrl st // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-beta func (m *ItemCalendarViewItemInstancesItemDismissReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCalendarViewItemInstancesItemDismissReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { 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 71d5ed22579..edc3e4fd902 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 @@ -61,7 +61,7 @@ func NewItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilder // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -84,7 +84,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilde // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go index 37b5307e33c..ce2554ea7a0 100644 --- a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemInstancesItemExceptionOccurrencesItemAcceptRequestBu // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-beta func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAcceptPostRequestBodyable, requestConfiguration *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index 7b96047b174..3faaa95787a 100644 --- a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachm // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAtta urlParams["request-raw-url"] = rawUrl return NewItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an attachment from a user calendar event, message, Outlook task, or post. +// Delete delete navigation property attachments for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0 func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAtt } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAtt } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToDeleteRequestInformation delete an attachment from a user calendar event, message, Outlook task, or post. +// ToDeleteRequestInformation delete navigation property attachments for groups // returns a *RequestInformation when successful func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAtt requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*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_item_attachments_create_upload_session_request_builder.go b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index 8eed5720c53..41975a3e403 100644 --- a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCrea // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go index 9efe085e430..820b14b05b4 100644 --- a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to an event. +// ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsReq func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to an event. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsReq } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post create new navigation property to attachments for groups // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsReq } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to an event. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation create new navigation property to attachments for groups // returns a *RequestInformation when successful func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go index c9a26a267c0..fb5cc6285fb 100644 --- a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemInstancesItemExceptionOccurrencesItemCancelRequestBu // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-beta func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemCancelRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemInstancesItemExceptionOccurrencesItemCancelPostRequestBodyable, requestConfiguration *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go index aecd7811c83..9058d450179 100644 --- a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemInstancesItemExceptionOccurrencesItemDeclineRequestB // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-beta func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemInstancesItemExceptionOccurrencesItemDeclinePostRequestBodyable, requestConfiguration *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go index a9f63bbd160..31f1cc41096 100644 --- a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemInstancesItemExceptionOccurrencesItemDismissReminder // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-beta func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemDismissReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemDismissReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go index fefd2ae0b80..c3a6dfbfc09 100644 --- a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensio // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExte } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*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_item_extensions_request_builder.go b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go index 8b591733f9d..66be87bb0f3 100644 --- a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsReque func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) Count()(*ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsCountRequestBuilder) { return NewItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -94,12 +94,9 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequ } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to extensions for groups // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequ } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +128,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to extensions for groups // returns a *RequestInformation when successful func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go index 2a95b2f2da0..f8b9e75db1b 100644 --- a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemInstancesItemExceptionOccurrencesItemForwardRequestB // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-beta func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemForwardRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemInstancesItemExceptionOccurrencesItemForwardPostRequestBodyable, requestConfiguration *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go index 88162cd1a65..e15bdd544e6 100644 --- a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemInstancesItemExceptionOccurrencesItemSnoozeReminderR // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-beta func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemInstancesItemExceptionOccurrencesItemSnoozeReminderPostRequestBodyable, requestConfiguration *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemSnoozeReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go index a79f7bb5f19..91914181c3c 100644 --- a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemInstancesItemExceptionOccurrencesItemTentativelyAcce // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-beta func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemInstancesItemExceptionOccurrencesItemTentativelyAcceptPostRequestBodyable, requestConfiguration *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemTentativelyAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_view_item_instances_item_extensions_extension_item_request_builder.go b/groups/item_calendar_view_item_instances_item_extensions_extension_item_request_builder.go index a1ed352e522..9b0316b8ec9 100644 --- a/groups/item_calendar_view_item_instances_item_extensions_extension_item_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilderDelet // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilder) } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_calendar_view_item_instances_item_extensions_request_builder.go b/groups/item_calendar_view_item_instances_item_extensions_request_builder.go index a097d33599b..5251e581ae8 100644 --- a/groups/item_calendar_view_item_instances_item_extensions_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarViewItemInstancesItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarViewItemInstancesItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarViewItemInstancesItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarViewItemInstancesItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemCalendarViewItemInstancesItemExtensionsRequestBuilder(rawUrl string, func (m *ItemCalendarViewItemInstancesItemExtensionsRequestBuilder) Count()(*ItemCalendarViewItemInstancesItemExtensionsCountRequestBuilder) { return NewItemCalendarViewItemInstancesItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemCalendarViewItemInstancesItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarViewItemInstancesItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -94,12 +94,9 @@ func (m *ItemCalendarViewItemInstancesItemExtensionsRequestBuilder) Get(ctx cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to extensions for groups // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemCalendarViewItemInstancesItemExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarViewItemInstancesItemExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemCalendarViewItemInstancesItemExtensionsRequestBuilder) Post(ctx con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarViewItemInstancesItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemInstancesItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +128,7 @@ func (m *ItemCalendarViewItemInstancesItemExtensionsRequestBuilder) ToGetRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to extensions for groups // returns a *RequestInformation when successful func (m *ItemCalendarViewItemInstancesItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarViewItemInstancesItemExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_calendar_view_item_instances_item_forward_request_builder.go b/groups/item_calendar_view_item_instances_item_forward_request_builder.go index c83e4f0533c..4d4f711389f 100644 --- a/groups/item_calendar_view_item_instances_item_forward_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemInstancesItemForwardRequestBuilder(rawUrl string, re // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-beta func (m *ItemCalendarViewItemInstancesItemForwardRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemInstancesItemForwardPostRequestBodyable, requestConfiguration *ItemCalendarViewItemInstancesItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_view_item_instances_item_snooze_reminder_request_builder.go b/groups/item_calendar_view_item_instances_item_snooze_reminder_request_builder.go index 08f4d8a7464..cf51e792d45 100644 --- a/groups/item_calendar_view_item_instances_item_snooze_reminder_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_snooze_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemInstancesItemSnoozeReminderRequestBuilder(rawUrl str // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-beta func (m *ItemCalendarViewItemInstancesItemSnoozeReminderRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemInstancesItemSnoozeReminderPostRequestBodyable, requestConfiguration *ItemCalendarViewItemInstancesItemSnoozeReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_view_item_instances_item_tentatively_accept_request_builder.go b/groups/item_calendar_view_item_instances_item_tentatively_accept_request_builder.go index 53d1d300480..dc42f599f1a 100644 --- a/groups/item_calendar_view_item_instances_item_tentatively_accept_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_tentatively_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemInstancesItemTentativelyAcceptRequestBuilder(rawUrl // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-beta func (m *ItemCalendarViewItemInstancesItemTentativelyAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemInstancesItemTentativelyAcceptPostRequestBodyable, requestConfiguration *ItemCalendarViewItemInstancesItemTentativelyAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_view_item_instances_request_builder.go b/groups/item_calendar_view_item_instances_request_builder.go index 29eef6546df..6fd20969f87 100644 --- a/groups/item_calendar_view_item_instances_request_builder.go +++ b/groups/item_calendar_view_item_instances_request_builder.go @@ -77,9 +77,6 @@ func (m *ItemCalendarViewItemInstancesRequestBuilder) Delta()(*ItemCalendarViewI // Get the occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but doesn't include occurrences that have been canceled from the series. Navigation property. Read-only. Nullable. // returns a EventCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-instances?view=graph-rest-1.0 func (m *ItemCalendarViewItemInstancesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarViewItemInstancesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EventCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_view_item_snooze_reminder_request_builder.go b/groups/item_calendar_view_item_snooze_reminder_request_builder.go index 3dfe9b14804..c63bf374d4b 100644 --- a/groups/item_calendar_view_item_snooze_reminder_request_builder.go +++ b/groups/item_calendar_view_item_snooze_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemSnoozeReminderRequestBuilder(rawUrl string, requestA // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-beta func (m *ItemCalendarViewItemSnoozeReminderRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemSnoozeReminderPostRequestBodyable, requestConfiguration *ItemCalendarViewItemSnoozeReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_view_item_tentatively_accept_request_builder.go b/groups/item_calendar_view_item_tentatively_accept_request_builder.go index 4102a77053c..b2edff6231d 100644 --- a/groups/item_calendar_view_item_tentatively_accept_request_builder.go +++ b/groups/item_calendar_view_item_tentatively_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemTentativelyAcceptRequestBuilder(rawUrl string, reque // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-beta func (m *ItemCalendarViewItemTentativelyAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemTentativelyAcceptPostRequestBodyable, requestConfiguration *ItemCalendarViewItemTentativelyAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_calendar_view_request_builder.go b/groups/item_calendar_view_request_builder.go index 1618b9f4dbe..c295c3bdd96 100644 --- a/groups/item_calendar_view_request_builder.go +++ b/groups/item_calendar_view_request_builder.go @@ -77,9 +77,6 @@ func (m *ItemCalendarViewRequestBuilder) Delta()(*ItemCalendarViewDeltaRequestBu // Get the calendar view for the calendar. Read-only. // returns a EventCollectionResponseable when successful // returns a ODataError error 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-list-calendarview?view=graph-rest-1.0 func (m *ItemCalendarViewRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarViewRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EventCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_check_member_groups_request_builder.go b/groups/item_check_member_groups_request_builder.go index 34b275e3ab0..259dba0ccd5 100644 --- a/groups/item_check_member_groups_request_builder.go +++ b/groups/item_check_member_groups_request_builder.go @@ -36,7 +36,7 @@ func NewItemCheckMemberGroupsRequestBuilder(rawUrl string, requestAdapter i2ae41 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-beta func (m *ItemCheckMemberGroupsRequestBuilder) Post(ctx context.Context, body ItemCheckMemberGroupsPostRequestBodyable, requestConfiguration *ItemCheckMemberGroupsRequestBuilderPostRequestConfiguration)(ItemCheckMemberGroupsResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ItemCheckMemberGroupsRequestBuilder) Post(ctx context.Context, body Ite // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-beta func (m *ItemCheckMemberGroupsRequestBuilder) PostAsCheckMemberGroupsPostResponse(ctx context.Context, body ItemCheckMemberGroupsPostRequestBodyable, requestConfiguration *ItemCheckMemberGroupsRequestBuilderPostRequestConfiguration)(ItemCheckMemberGroupsPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_conversations_conversation_item_request_builder.go b/groups/item_conversations_conversation_item_request_builder.go index d1a5d6a2db9..3ae5bf49670 100644 --- a/groups/item_conversations_conversation_item_request_builder.go +++ b/groups/item_conversations_conversation_item_request_builder.go @@ -18,7 +18,7 @@ type ItemConversationsConversationItemRequestBuilderDeleteRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemConversationsConversationItemRequestBuilderGetQueryParameters retrieve the properties and relationships of conversation object. +// ItemConversationsConversationItemRequestBuilderGetQueryParameters the group's conversations. type ItemConversationsConversationItemRequestBuilderGetQueryParameters struct { // Select properties to be returned Select []string `uriparametername:"%24select"` @@ -45,11 +45,8 @@ func NewItemConversationsConversationItemRequestBuilder(rawUrl string, requestAd urlParams["request-raw-url"] = rawUrl return NewItemConversationsConversationItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete conversation. +// Delete delete navigation property conversations for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/conversation-delete?view=graph-rest-1.0 func (m *ItemConversationsConversationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemConversationsConversationItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -64,12 +61,9 @@ func (m *ItemConversationsConversationItemRequestBuilder) Delete(ctx context.Con } return nil } -// Get retrieve the properties and relationships of conversation object. +// Get the group's conversations. // returns a Conversationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/conversation-get?view=graph-rest-1.0 func (m *ItemConversationsConversationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemConversationsConversationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Conversationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +86,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 navigation property conversations for groups // 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) @@ -103,7 +97,7 @@ func (m *ItemConversationsConversationItemRequestBuilder) ToDeleteRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of conversation object. +// ToGetRequestInformation the group's conversations. // returns a *RequestInformation when successful func (m *ItemConversationsConversationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemConversationsConversationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_conversations_item_threads_item_posts_item_attachments_create_upload_session_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_attachments_create_upload_session_request_builder.go index fc4ecfbe28a..5d391d5609b 100644 --- a/groups/item_conversations_item_threads_item_posts_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemConversationsItemThreadsItemPostsItemAttachmentsCreateUploadSessionR // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemConversationsItemThreadsItemPostsItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemConversationsItemThreadsItemPostsItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemConversationsItemThreadsItemPostsItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_conversations_item_threads_item_posts_item_attachments_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_attachments_request_builder.go index 096be13c42c..d5bfcf2fb24 100644 --- a/groups/item_conversations_item_threads_item_posts_item_attachments_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemConversationsItemThreadsItemPostsItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemConversationsItemThreadsItemPostsItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to a post. +// ItemConversationsItemThreadsItemPostsItemAttachmentsRequestBuilderGetQueryParameters the collection of fileAttachment, itemAttachment, and referenceAttachment attachments for the post. Read-only. Nullable. Supports $expand. type ItemConversationsItemThreadsItemPostsItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemConversationsItemThreadsItemPostsItemAttachmentsRequestBuilder) Cou func (m *ItemConversationsItemThreadsItemPostsItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemConversationsItemThreadsItemPostsItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemConversationsItemThreadsItemPostsItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to a post. +// Get the collection of fileAttachment, itemAttachment, and referenceAttachment attachments for the post. Read-only. Nullable. Supports $expand. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/post-list-attachments?view=graph-rest-1.0 func (m *ItemConversationsItemThreadsItemPostsItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemConversationsItemThreadsItemPostsItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -122,7 +119,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemAttachmentsRequestBuilder) Pos } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to a post. +// ToGetRequestInformation the collection of fileAttachment, itemAttachment, and referenceAttachment attachments for the post. Read-only. Nullable. Supports $expand. // returns a *RequestInformation when successful func (m *ItemConversationsItemThreadsItemPostsItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemConversationsItemThreadsItemPostsItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_conversations_item_threads_item_posts_item_extensions_extension_item_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_extensions_extension_item_request_builder.go index 3ba4d3fdd1a..246ef52c1fc 100644 --- a/groups/item_conversations_item_threads_item_posts_item_extensions_extension_item_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemConversationsItemThreadsItemPostsItemExtensionsExtensionItemRequestBuil // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemConversationsItemThreadsItemPostsItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemConversationsItemThreadsItemPostsItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. type ItemConversationsItemThreadsItemPostsItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemConversationsItemThreadsItemPostsItemExtensionsExtensionItemRequest } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemConversationsItemThreadsItemPostsItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemConversationsItemThreadsItemPostsItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *ItemConversationsItemThreadsItemPostsItemExtensionsExtensionItemRequest } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// Patch update an open extension (openTypeExtension object) with the properties in the request body: The data in an extension can be primitive types, or arrays of primitive types. See the table in the Permissions section for the list of resources that support open extensions. +// Patch update the navigation property extensions in groups // returns a Extensionable when successful // returns a ODataError error 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-update?view=graph-rest-1.0 func (m *ItemConversationsItemThreadsItemPostsItemExtensionsExtensionItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemConversationsItemThreadsItemPostsItemExtensionsExtensionItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemExtensionsExtensionItemRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. // returns a *RequestInformation when successful func (m *ItemConversationsItemThreadsItemPostsItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemConversationsItemThreadsItemPostsItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemExtensionsExtensionItemRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update an open extension (openTypeExtension object) with the properties in the request body: The data in an extension can be primitive types, or arrays of primitive types. See the table in the Permissions section for the list of resources that support open extensions. +// ToPatchRequestInformation update the navigation property extensions in groups // returns a *RequestInformation when successful func (m *ItemConversationsItemThreadsItemPostsItemExtensionsExtensionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemConversationsItemThreadsItemPostsItemExtensionsExtensionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_conversations_item_threads_item_posts_item_extensions_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_extensions_request_builder.go index 40cfb27d382..a00933a032a 100644 --- a/groups/item_conversations_item_threads_item_posts_item_extensions_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemConversationsItemThreadsItemPostsItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemConversationsItemThreadsItemPostsItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemConversationsItemThreadsItemPostsItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. type ItemConversationsItemThreadsItemPostsItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemConversationsItemThreadsItemPostsItemExtensionsRequestBuilder(rawUrl func (m *ItemConversationsItemThreadsItemPostsItemExtensionsRequestBuilder) Count()(*ItemConversationsItemThreadsItemPostsItemExtensionsCountRequestBuilder) { return NewItemConversationsItemThreadsItemPostsItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemConversationsItemThreadsItemPostsItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemConversationsItemThreadsItemPostsItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -114,7 +114,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemExtensionsRequestBuilder) Post } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. // returns a *RequestInformation when successful func (m *ItemConversationsItemThreadsItemPostsItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemConversationsItemThreadsItemPostsItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_conversations_item_threads_item_posts_item_forward_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_forward_request_builder.go index f8c589b7750..b728a2c0ab6 100644 --- a/groups/item_conversations_item_threads_item_posts_item_forward_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemConversationsItemThreadsItemPostsItemForwardRequestBuilder(rawUrl st // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/post-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/post-forward?view=graph-rest-beta func (m *ItemConversationsItemThreadsItemPostsItemForwardRequestBuilder) Post(ctx context.Context, body ItemConversationsItemThreadsItemPostsItemForwardPostRequestBodyable, requestConfiguration *ItemConversationsItemThreadsItemPostsItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_conversations_item_threads_item_posts_item_in_reply_to_attachments_create_upload_session_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_in_reply_to_attachments_create_upload_session_request_builder.go index ed20190c169..7fbf61ebaf3 100644 --- a/groups/item_conversations_item_threads_item_posts_item_in_reply_to_attachments_create_upload_session_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_in_reply_to_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemConversationsItemThreadsItemPostsItemInReplyToAttachmentsCreateUploa // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemConversationsItemThreadsItemPostsItemInReplyToAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemConversationsItemThreadsItemPostsItemInReplyToAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemConversationsItemThreadsItemPostsItemInReplyToAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_conversations_item_threads_item_posts_item_in_reply_to_attachments_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_in_reply_to_attachments_request_builder.go index c51a5c10d3a..605651c136e 100644 --- a/groups/item_conversations_item_threads_item_posts_item_in_reply_to_attachments_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_in_reply_to_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemConversationsItemThreadsItemPostsItemInReplyToAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemConversationsItemThreadsItemPostsItemInReplyToAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to a post. +// ItemConversationsItemThreadsItemPostsItemInReplyToAttachmentsRequestBuilderGetQueryParameters the collection of fileAttachment, itemAttachment, and referenceAttachment attachments for the post. Read-only. Nullable. Supports $expand. type ItemConversationsItemThreadsItemPostsItemInReplyToAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemConversationsItemThreadsItemPostsItemInReplyToAttachmentsRequestBui func (m *ItemConversationsItemThreadsItemPostsItemInReplyToAttachmentsRequestBuilder) CreateUploadSession()(*ItemConversationsItemThreadsItemPostsItemInReplyToAttachmentsCreateUploadSessionRequestBuilder) { return NewItemConversationsItemThreadsItemPostsItemInReplyToAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to a post. +// Get the collection of fileAttachment, itemAttachment, and referenceAttachment attachments for the post. Read-only. Nullable. Supports $expand. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/post-list-attachments?view=graph-rest-1.0 func (m *ItemConversationsItemThreadsItemPostsItemInReplyToAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemConversationsItemThreadsItemPostsItemInReplyToAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -122,7 +119,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemInReplyToAttachmentsRequestBui } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to a post. +// ToGetRequestInformation the collection of fileAttachment, itemAttachment, and referenceAttachment attachments for the post. Read-only. Nullable. Supports $expand. // returns a *RequestInformation when successful func (m *ItemConversationsItemThreadsItemPostsItemInReplyToAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemConversationsItemThreadsItemPostsItemInReplyToAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_conversations_item_threads_item_posts_item_in_reply_to_extensions_extension_item_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_in_reply_to_extensions_extension_item_request_builder.go index 400330f3fc3..01886047c19 100644 --- a/groups/item_conversations_item_threads_item_posts_item_in_reply_to_extensions_extension_item_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_in_reply_to_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemConversationsItemThreadsItemPostsItemInReplyToExtensionsExtensionItemRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemConversationsItemThreadsItemPostsItemInReplyToExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemConversationsItemThreadsItemPostsItemInReplyToExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. type ItemConversationsItemThreadsItemPostsItemInReplyToExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemConversationsItemThreadsItemPostsItemInReplyToExtensionsExtensionIt } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemConversationsItemThreadsItemPostsItemInReplyToExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemConversationsItemThreadsItemPostsItemInReplyToExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *ItemConversationsItemThreadsItemPostsItemInReplyToExtensionsExtensionIt } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// Patch update an open extension (openTypeExtension object) with the properties in the request body: The data in an extension can be primitive types, or arrays of primitive types. See the table in the Permissions section for the list of resources that support open extensions. +// Patch update the navigation property extensions in groups // returns a Extensionable when successful // returns a ODataError error 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-update?view=graph-rest-1.0 func (m *ItemConversationsItemThreadsItemPostsItemInReplyToExtensionsExtensionItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemConversationsItemThreadsItemPostsItemInReplyToExtensionsExtensionItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemInReplyToExtensionsExtensionIt requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. // returns a *RequestInformation when successful func (m *ItemConversationsItemThreadsItemPostsItemInReplyToExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemConversationsItemThreadsItemPostsItemInReplyToExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemInReplyToExtensionsExtensionIt requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update an open extension (openTypeExtension object) with the properties in the request body: The data in an extension can be primitive types, or arrays of primitive types. See the table in the Permissions section for the list of resources that support open extensions. +// ToPatchRequestInformation update the navigation property extensions in groups // returns a *RequestInformation when successful func (m *ItemConversationsItemThreadsItemPostsItemInReplyToExtensionsExtensionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemConversationsItemThreadsItemPostsItemInReplyToExtensionsExtensionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_conversations_item_threads_item_posts_item_in_reply_to_extensions_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_in_reply_to_extensions_request_builder.go index bf70be12708..6d6262c85ff 100644 --- a/groups/item_conversations_item_threads_item_posts_item_in_reply_to_extensions_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_in_reply_to_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemConversationsItemThreadsItemPostsItemInReplyToExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemConversationsItemThreadsItemPostsItemInReplyToExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemConversationsItemThreadsItemPostsItemInReplyToExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. type ItemConversationsItemThreadsItemPostsItemInReplyToExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemConversationsItemThreadsItemPostsItemInReplyToExtensionsRequestBuild func (m *ItemConversationsItemThreadsItemPostsItemInReplyToExtensionsRequestBuilder) Count()(*ItemConversationsItemThreadsItemPostsItemInReplyToExtensionsCountRequestBuilder) { return NewItemConversationsItemThreadsItemPostsItemInReplyToExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemConversationsItemThreadsItemPostsItemInReplyToExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemConversationsItemThreadsItemPostsItemInReplyToExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -114,7 +114,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemInReplyToExtensionsRequestBuil } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. // returns a *RequestInformation when successful func (m *ItemConversationsItemThreadsItemPostsItemInReplyToExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemConversationsItemThreadsItemPostsItemInReplyToExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_conversations_item_threads_item_posts_item_in_reply_to_forward_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_in_reply_to_forward_request_builder.go index 3e8b3b7cc33..29f555f541b 100644 --- a/groups/item_conversations_item_threads_item_posts_item_in_reply_to_forward_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_in_reply_to_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemConversationsItemThreadsItemPostsItemInReplyToForwardRequestBuilder( // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/post-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/post-forward?view=graph-rest-beta func (m *ItemConversationsItemThreadsItemPostsItemInReplyToForwardRequestBuilder) Post(ctx context.Context, body ItemConversationsItemThreadsItemPostsItemInReplyToForwardPostRequestBodyable, requestConfiguration *ItemConversationsItemThreadsItemPostsItemInReplyToForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_conversations_item_threads_item_posts_post_item_request_builder.go b/groups/item_conversations_item_threads_item_posts_post_item_request_builder.go index 0aac7bd024f..43aec9c8fab 100644 --- a/groups/item_conversations_item_threads_item_posts_post_item_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_post_item_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemConversationsItemThreadsItemPostsPostItemRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemConversationsItemThreadsItemPostsPostItemRequestBuilderGetQueryParameters get the properties and relationships of a post in a specified thread. You can specify both the parentconversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. +// ItemConversationsItemThreadsItemPostsPostItemRequestBuilderGetQueryParameters get posts from groups type ItemConversationsItemThreadsItemPostsPostItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -62,12 +62,9 @@ func (m *ItemConversationsItemThreadsItemPostsPostItemRequestBuilder) Extensions func (m *ItemConversationsItemThreadsItemPostsPostItemRequestBuilder) Forward()(*ItemConversationsItemThreadsItemPostsItemForwardRequestBuilder) { return NewItemConversationsItemThreadsItemPostsItemForwardRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the properties and relationships of a post in a specified thread. You can specify both the parentconversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. +// Get get posts from groups // returns a Postable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/post-get?view=graph-rest-1.0 func (m *ItemConversationsItemThreadsItemPostsPostItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemConversationsItemThreadsItemPostsPostItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Postable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -120,7 +117,7 @@ func (m *ItemConversationsItemThreadsItemPostsPostItemRequestBuilder) Patch(ctx func (m *ItemConversationsItemThreadsItemPostsPostItemRequestBuilder) Reply()(*ItemConversationsItemThreadsItemPostsItemReplyRequestBuilder) { return NewItemConversationsItemThreadsItemPostsItemReplyRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation get the properties and relationships of a post in a specified thread. You can specify both the parentconversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. +// ToGetRequestInformation get posts from groups // returns a *RequestInformation when successful func (m *ItemConversationsItemThreadsItemPostsPostItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemConversationsItemThreadsItemPostsPostItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_conversations_item_threads_item_posts_request_builder.go b/groups/item_conversations_item_threads_item_posts_request_builder.go index ea62855a303..8a07d36a4cf 100644 --- a/groups/item_conversations_item_threads_item_posts_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemConversationsItemThreadsItemPostsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemConversationsItemThreadsItemPostsRequestBuilderGetQueryParameters get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation. +// ItemConversationsItemThreadsItemPostsRequestBuilderGetQueryParameters get posts from groups type ItemConversationsItemThreadsItemPostsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -67,12 +67,9 @@ func NewItemConversationsItemThreadsItemPostsRequestBuilder(rawUrl string, reque func (m *ItemConversationsItemThreadsItemPostsRequestBuilder) Count()(*ItemConversationsItemThreadsItemPostsCountRequestBuilder) { return NewItemConversationsItemThreadsItemPostsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation. +// Get get posts from groups // returns a PostCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/conversationthread-list-posts?view=graph-rest-1.0 func (m *ItemConversationsItemThreadsItemPostsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemConversationsItemThreadsItemPostsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PostCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -90,7 +87,7 @@ func (m *ItemConversationsItemThreadsItemPostsRequestBuilder) Get(ctx context.Co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PostCollectionResponseable), nil } -// ToGetRequestInformation get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation. +// ToGetRequestInformation get posts from groups // returns a *RequestInformation when successful func (m *ItemConversationsItemThreadsItemPostsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemConversationsItemThreadsItemPostsRequestBuilderGetRequestConfiguration)(*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 23b30a5dcaa..96976918e32 100644 --- a/groups/item_conversations_item_threads_item_reply_request_builder.go +++ b/groups/item_conversations_item_threads_item_reply_request_builder.go @@ -34,7 +34,7 @@ func NewItemConversationsItemThreadsItemReplyRequestBuilder(rawUrl string, reque // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?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 { diff --git a/groups/item_conversations_item_threads_request_builder.go b/groups/item_conversations_item_threads_request_builder.go index 17be4adbbf1..0da868d7419 100644 --- a/groups/item_conversations_item_threads_request_builder.go +++ b/groups/item_conversations_item_threads_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemConversationsItemThreadsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemConversationsItemThreadsRequestBuilderGetQueryParameters get all the threads in a group conversation.Note: You can also get all the threads of a group. +// ItemConversationsItemThreadsRequestBuilderGetQueryParameters a collection of all the conversation threads in the conversation. A navigation property. Read-only. Nullable. type ItemConversationsItemThreadsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,12 +74,9 @@ func NewItemConversationsItemThreadsRequestBuilder(rawUrl string, requestAdapter func (m *ItemConversationsItemThreadsRequestBuilder) Count()(*ItemConversationsItemThreadsCountRequestBuilder) { return NewItemConversationsItemThreadsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get all the threads in a group conversation.Note: You can also get all the threads of a group. +// Get a collection of all the conversation threads in the conversation. A navigation property. Read-only. Nullable. // returns a ConversationThreadCollectionResponseable when successful // returns a ODataError error 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-list-threads?view=graph-rest-1.0 func (m *ItemConversationsItemThreadsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemConversationsItemThreadsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationThreadCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -97,12 +94,9 @@ func (m *ItemConversationsItemThreadsRequestBuilder) Get(ctx context.Context, re } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationThreadCollectionResponseable), nil } -// Post create a new thread in the specified conversation. A thread and post are created as specified. Use reply thread to further postto that thread. Or, if you get the post ID, you can also reply to that post in that thread. Note: You can also start a new conversation by first creating a thread. +// Post create new navigation property to threads for groups // 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/conversation-post-threads?view=graph-rest-1.0 func (m *ItemConversationsItemThreadsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationThreadable, requestConfiguration *ItemConversationsItemThreadsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationThreadable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -120,7 +114,7 @@ func (m *ItemConversationsItemThreadsRequestBuilder) Post(ctx context.Context, b } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationThreadable), nil } -// ToGetRequestInformation get all the threads in a group conversation.Note: You can also get all the threads of a group. +// ToGetRequestInformation a collection of all the conversation threads in the conversation. A navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemConversationsItemThreadsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemConversationsItemThreadsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -134,7 +128,7 @@ func (m *ItemConversationsItemThreadsRequestBuilder) ToGetRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new thread in the specified conversation. A thread and post are created as specified. Use reply thread to further postto that thread. Or, if you get the post ID, you can also reply to that post in that thread. Note: You can also start a new conversation by first creating a thread. +// ToPostRequestInformation create new navigation property to threads for groups // returns a *RequestInformation when successful func (m *ItemConversationsItemThreadsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationThreadable, requestConfiguration *ItemConversationsItemThreadsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_conversations_request_builder.go b/groups/item_conversations_request_builder.go index bc689ac8137..8d2eb0c7d4d 100644 --- a/groups/item_conversations_request_builder.go +++ b/groups/item_conversations_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemConversationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemConversationsRequestBuilderGetQueryParameters retrieve the list of conversations in this group. +// ItemConversationsRequestBuilderGetQueryParameters the group's conversations. type ItemConversationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,12 +74,9 @@ func NewItemConversationsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7 func (m *ItemConversationsRequestBuilder) Count()(*ItemConversationsCountRequestBuilder) { return NewItemConversationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of conversations in this group. +// Get the group's conversations. // returns a ConversationCollectionResponseable when successful // returns a ODataError error 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-list-conversations?view=graph-rest-1.0 func (m *ItemConversationsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemConversationsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -97,12 +94,9 @@ func (m *ItemConversationsRequestBuilder) Get(ctx context.Context, requestConfig } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to conversations for groups // returns a Conversationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemConversationsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Conversationable, requestConfiguration *ItemConversationsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Conversationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -120,7 +114,7 @@ func (m *ItemConversationsRequestBuilder) Post(ctx context.Context, body ie233ee } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Conversationable), nil } -// ToGetRequestInformation retrieve the list of conversations in this group. +// ToGetRequestInformation the group's conversations. // returns a *RequestInformation when successful func (m *ItemConversationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemConversationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -134,7 +128,7 @@ func (m *ItemConversationsRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to conversations for groups // returns a *RequestInformation when successful func (m *ItemConversationsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Conversationable, requestConfiguration *ItemConversationsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_endpoints_endpoint_item_request_builder.go b/groups/item_endpoints_endpoint_item_request_builder.go index a0069064636..a3ddea24e48 100644 --- a/groups/item_endpoints_endpoint_item_request_builder.go +++ b/groups/item_endpoints_endpoint_item_request_builder.go @@ -18,7 +18,7 @@ type ItemEndpointsEndpointItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemEndpointsEndpointItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a specific endpoint object. +// ItemEndpointsEndpointItemRequestBuilderGetQueryParameters endpoints for the group. Read-only. Nullable. type ItemEndpointsEndpointItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemEndpointsEndpointItemRequestBuilder) Delete(ctx context.Context, re } return nil } -// Get retrieve the properties and relationships of a specific endpoint object. +// Get endpoints for the group. Read-only. Nullable. // returns a Endpointable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/endpoint-get?view=graph-rest-1.0 func (m *ItemEndpointsEndpointItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEndpointsEndpointItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Endpointable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemEndpointsEndpointItemRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a specific endpoint object. +// ToGetRequestInformation endpoints for the group. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemEndpointsEndpointItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEndpointsEndpointItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_endpoints_request_builder.go b/groups/item_endpoints_request_builder.go index b7887c3a7c0..8fc113c52e8 100644 --- a/groups/item_endpoints_request_builder.go +++ b/groups/item_endpoints_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemEndpointsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemEndpointsRequestBuilderGetQueryParameters retrieve a list of endpoint objects. +// ItemEndpointsRequestBuilderGetQueryParameters endpoints for the group. Read-only. Nullable. type ItemEndpointsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemEndpointsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee func (m *ItemEndpointsRequestBuilder) Count()(*ItemEndpointsCountRequestBuilder) { return NewItemEndpointsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of endpoint objects. +// Get endpoints for the group. Read-only. Nullable. // returns a EndpointCollectionResponseable when successful // returns a ODataError error 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-list-endpoints?view=graph-rest-1.0 func (m *ItemEndpointsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEndpointsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EndpointCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemEndpointsRequestBuilder) Post(ctx context.Context, body ie233ee762e } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Endpointable), nil } -// ToGetRequestInformation retrieve a list of endpoint objects. +// ToGetRequestInformation endpoints for the group. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemEndpointsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEndpointsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_evaluate_dynamic_membership_request_builder.go b/groups/item_evaluate_dynamic_membership_request_builder.go index dbc3a6775c5..ca4453ba72d 100644 --- a/groups/item_evaluate_dynamic_membership_request_builder.go +++ b/groups/item_evaluate_dynamic_membership_request_builder.go @@ -36,7 +36,7 @@ func NewItemEvaluateDynamicMembershipRequestBuilder(rawUrl string, requestAdapte // returns a ODataError error 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-evaluatedynamicmembership?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/group-evaluatedynamicmembership?view=graph-rest-beta func (m *ItemEvaluateDynamicMembershipRequestBuilder) Post(ctx context.Context, body ItemEvaluateDynamicMembershipPostRequestBodyable, requestConfiguration *ItemEvaluateDynamicMembershipRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EvaluateDynamicMembershipResultable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_events_delta_request_builder.go b/groups/item_events_delta_request_builder.go index a64383c5fca..18c91978249 100644 --- a/groups/item_events_delta_request_builder.go +++ b/groups/item_events_delta_request_builder.go @@ -61,7 +61,7 @@ func NewItemEventsDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7da // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemEventsDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEventsDeltaRequestBuilderGetRequestConfiguration)(ItemEventsDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -84,7 +84,7 @@ func (m *ItemEventsDeltaRequestBuilder) Get(ctx context.Context, requestConfigur // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemEventsDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemEventsDeltaRequestBuilderGetRequestConfiguration)(ItemEventsDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_events_event_item_request_builder.go b/groups/item_events_event_item_request_builder.go index 90b0828d089..7c74887de13 100644 --- a/groups/item_events_event_item_request_builder.go +++ b/groups/item_events_event_item_request_builder.go @@ -18,7 +18,7 @@ type ItemEventsEventItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemEventsEventItemRequestBuilderGetQueryParameters get an event object. +// ItemEventsEventItemRequestBuilderGetQueryParameters the group's events. type ItemEventsEventItemRequestBuilderGetQueryParameters struct { // Select properties to be returned Select []string `uriparametername:"%24select"` @@ -77,11 +77,8 @@ func NewItemEventsEventItemRequestBuilder(rawUrl string, requestAdapter i2ae4187 func (m *ItemEventsEventItemRequestBuilder) Decline()(*ItemEventsItemDeclineRequestBuilder) { return NewItemEventsItemDeclineRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Delete delete an event object. +// Delete delete navigation property events for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/group-delete-event?view=graph-rest-1.0 func (m *ItemEventsEventItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemEventsEventItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -116,12 +113,9 @@ func (m *ItemEventsEventItemRequestBuilder) Extensions()(*ItemEventsItemExtensio func (m *ItemEventsEventItemRequestBuilder) Forward()(*ItemEventsItemForwardRequestBuilder) { return NewItemEventsItemForwardRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an event object. +// Get the group's events. // returns a Eventable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/group-get-event?view=graph-rest-1.0 func (m *ItemEventsEventItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEventsEventItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Eventable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -144,12 +138,9 @@ func (m *ItemEventsEventItemRequestBuilder) Get(ctx context.Context, requestConf func (m *ItemEventsEventItemRequestBuilder) Instances()(*ItemEventsItemInstancesRequestBuilder) { return NewItemEventsItemInstancesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update an event object. +// Patch update the navigation property events in groups // returns a Eventable when successful // returns a ODataError error 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-update-event?view=graph-rest-1.0 func (m *ItemEventsEventItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Eventable, requestConfiguration *ItemEventsEventItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Eventable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -177,7 +168,7 @@ func (m *ItemEventsEventItemRequestBuilder) SnoozeReminder()(*ItemEventsItemSnoo func (m *ItemEventsEventItemRequestBuilder) TentativelyAccept()(*ItemEventsItemTentativelyAcceptRequestBuilder) { return NewItemEventsItemTentativelyAcceptRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete an event object. +// ToDeleteRequestInformation delete navigation property events for groups // returns a *RequestInformation when successful func (m *ItemEventsEventItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemEventsEventItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -188,7 +179,7 @@ func (m *ItemEventsEventItemRequestBuilder) ToDeleteRequestInformation(ctx conte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an event object. +// ToGetRequestInformation the group's events. // returns a *RequestInformation when successful func (m *ItemEventsEventItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsEventItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -202,7 +193,7 @@ func (m *ItemEventsEventItemRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update an event object. +// ToPatchRequestInformation update the navigation property events in groups // returns a *RequestInformation when successful func (m *ItemEventsEventItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Eventable, requestConfiguration *ItemEventsEventItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_events_item_accept_request_builder.go b/groups/item_events_item_accept_request_builder.go index a4aadb939bf..3795d26603d 100644 --- a/groups/item_events_item_accept_request_builder.go +++ b/groups/item_events_item_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemAcceptRequestBuilder(rawUrl string, requestAdapter i2ae418 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-beta func (m *ItemEventsItemAcceptRequestBuilder) Post(ctx context.Context, body ItemEventsItemAcceptPostRequestBodyable, requestConfiguration *ItemEventsItemAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_events_item_attachments_attachment_item_request_builder.go b/groups/item_events_item_attachments_attachment_item_request_builder.go index cb7fd256c38..bf0e9923e7b 100644 --- a/groups/item_events_item_attachments_attachment_item_request_builder.go +++ b/groups/item_events_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemEventsItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfigura // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemEventsItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemEventsItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemEventsItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemEventsItemAttachmentsAttachmentItemRequestBuilder(rawUrl string, req urlParams["request-raw-url"] = rawUrl return NewItemEventsItemAttachmentsAttachmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an attachment from a user calendar event, message, Outlook task, or post. +// Delete delete navigation property attachments for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0 func (m *ItemEventsItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemEventsItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemEventsItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx conte } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 func (m *ItemEventsItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEventsItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemEventsItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context. } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToDeleteRequestInformation delete an attachment from a user calendar event, message, Outlook task, or post. +// ToDeleteRequestInformation delete navigation property attachments for groups // returns a *RequestInformation when successful func (m *ItemEventsItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemEventsItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemEventsItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_events_item_attachments_create_upload_session_request_builder.go b/groups/item_events_item_attachments_create_upload_session_request_builder.go index 8254949e70a..9c9f4a9189a 100644 --- a/groups/item_events_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_events_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemEventsItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl string // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemEventsItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemEventsItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemEventsItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_events_item_attachments_request_builder.go b/groups/item_events_item_attachments_request_builder.go index fb5dcca30a1..bdf1ed4370e 100644 --- a/groups/item_events_item_attachments_request_builder.go +++ b/groups/item_events_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemEventsItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemEventsItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to an event. +// ItemEventsItemAttachmentsRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemEventsItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemEventsItemAttachmentsRequestBuilder) Count()(*ItemEventsItemAttachm func (m *ItemEventsItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemEventsItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemEventsItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to an event. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 func (m *ItemEventsItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEventsItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemEventsItemAttachmentsRequestBuilder) Get(ctx context.Context, reque } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post create new navigation property to attachments for groups // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemEventsItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemEventsItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemEventsItemAttachmentsRequestBuilder) Post(ctx context.Context, body } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to an event. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemEventsItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemEventsItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx co requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation create new navigation property to attachments for groups // returns a *RequestInformation when successful func (m *ItemEventsItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemEventsItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_events_item_cancel_request_builder.go b/groups/item_events_item_cancel_request_builder.go index 50eabdcfdf1..70e9e7018bd 100644 --- a/groups/item_events_item_cancel_request_builder.go +++ b/groups/item_events_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemCancelRequestBuilder(rawUrl string, requestAdapter i2ae418 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-beta func (m *ItemEventsItemCancelRequestBuilder) Post(ctx context.Context, body ItemEventsItemCancelPostRequestBodyable, requestConfiguration *ItemEventsItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_events_item_decline_request_builder.go b/groups/item_events_item_decline_request_builder.go index 5dda9cfa5c3..2eca5b714a5 100644 --- a/groups/item_events_item_decline_request_builder.go +++ b/groups/item_events_item_decline_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemDeclineRequestBuilder(rawUrl string, requestAdapter i2ae41 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-beta func (m *ItemEventsItemDeclineRequestBuilder) Post(ctx context.Context, body ItemEventsItemDeclinePostRequestBodyable, requestConfiguration *ItemEventsItemDeclineRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_events_item_dismiss_reminder_request_builder.go b/groups/item_events_item_dismiss_reminder_request_builder.go index b9a12184fd9..e868fb5e693 100644 --- a/groups/item_events_item_dismiss_reminder_request_builder.go +++ b/groups/item_events_item_dismiss_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemDismissReminderRequestBuilder(rawUrl string, requestAdapte // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-beta func (m *ItemEventsItemDismissReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemEventsItemDismissReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { 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 a66d75dba83..6698cd826d4 100644 --- a/groups/item_events_item_exception_occurrences_delta_request_builder.go +++ b/groups/item_events_item_exception_occurrences_delta_request_builder.go @@ -61,7 +61,7 @@ func NewItemEventsItemExceptionOccurrencesDeltaRequestBuilder(rawUrl string, req // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemEventsItemExceptionOccurrencesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEventsItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(ItemEventsItemExceptionOccurrencesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -84,7 +84,7 @@ func (m *ItemEventsItemExceptionOccurrencesDeltaRequestBuilder) Get(ctx context. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemEventsItemExceptionOccurrencesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemEventsItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(ItemEventsItemExceptionOccurrencesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_events_item_exception_occurrences_item_accept_request_builder.go b/groups/item_events_item_exception_occurrences_item_accept_request_builder.go index 666b4d816eb..65c56b40e44 100644 --- a/groups/item_events_item_exception_occurrences_item_accept_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemExceptionOccurrencesItemAcceptRequestBuilder(rawUrl string // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-beta func (m *ItemEventsItemExceptionOccurrencesItemAcceptRequestBuilder) Post(ctx context.Context, body ItemEventsItemExceptionOccurrencesItemAcceptPostRequestBodyable, requestConfiguration *ItemEventsItemExceptionOccurrencesItemAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/groups/item_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index 9bc9fe0665f..4f385737449 100644 --- a/groups/item_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuild // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBu urlParams["request-raw-url"] = rawUrl return NewItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an attachment from a user calendar event, message, Outlook task, or post. +// Delete delete navigation property attachments for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0 func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestB } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestB } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToDeleteRequestInformation delete an attachment from a user calendar event, message, Outlook task, or post. +// ToDeleteRequestInformation delete navigation property attachments for groups // returns a *RequestInformation when successful func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestB requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go b/groups/item_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index 69dfb82f577..1ea67b39d6d 100644 --- a/groups/item_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequ // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_events_item_exception_occurrences_item_attachments_request_builder.go b/groups/item_events_item_exception_occurrences_item_attachments_request_builder.go index 0981c99ddf1..9fd645d5342 100644 --- a/groups/item_events_item_exception_occurrences_item_attachments_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to an event. +// ItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) Count( func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to an event. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) Get(ct } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post create new navigation property to attachments for groups // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) Post(c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to an event. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToGetR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation create new navigation property to attachments for groups // returns a *RequestInformation when successful func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_events_item_exception_occurrences_item_cancel_request_builder.go b/groups/item_events_item_exception_occurrences_item_cancel_request_builder.go index f4c518bbd3e..0cd88484277 100644 --- a/groups/item_events_item_exception_occurrences_item_cancel_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemExceptionOccurrencesItemCancelRequestBuilder(rawUrl string // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-beta func (m *ItemEventsItemExceptionOccurrencesItemCancelRequestBuilder) Post(ctx context.Context, body ItemEventsItemExceptionOccurrencesItemCancelPostRequestBodyable, requestConfiguration *ItemEventsItemExceptionOccurrencesItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_events_item_exception_occurrences_item_decline_request_builder.go b/groups/item_events_item_exception_occurrences_item_decline_request_builder.go index d10ef67883c..b172822240c 100644 --- a/groups/item_events_item_exception_occurrences_item_decline_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_decline_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemExceptionOccurrencesItemDeclineRequestBuilder(rawUrl strin // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-beta func (m *ItemEventsItemExceptionOccurrencesItemDeclineRequestBuilder) Post(ctx context.Context, body ItemEventsItemExceptionOccurrencesItemDeclinePostRequestBodyable, requestConfiguration *ItemEventsItemExceptionOccurrencesItemDeclineRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/groups/item_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go index 6a1de84dfce..0af106be396 100644 --- a/groups/item_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemExceptionOccurrencesItemDismissReminderRequestBuilder(rawU // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-beta func (m *ItemEventsItemExceptionOccurrencesItemDismissReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemEventsItemExceptionOccurrencesItemDismissReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/groups/item_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go index 33bb498a505..0b96639f3e8 100644 --- a/groups/item_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBui } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBui requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_events_item_exception_occurrences_item_extensions_request_builder.go b/groups/item_events_item_exception_occurrences_item_extensions_request_builder.go index 85e974a06c5..77aacd0b869 100644 --- a/groups/item_events_item_exception_occurrences_item_extensions_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilder(rawUrl st func (m *ItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) Count()(*ItemEventsItemExceptionOccurrencesItemExtensionsCountRequestBuilder) { return NewItemEventsItemExceptionOccurrencesItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -94,12 +94,9 @@ func (m *ItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) Get(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to extensions for groups // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) Post(ct } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +128,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) ToGetRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to extensions for groups // returns a *RequestInformation when successful func (m *ItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_events_item_exception_occurrences_item_forward_request_builder.go b/groups/item_events_item_exception_occurrences_item_forward_request_builder.go index 64f65f64e96..385c1e90ed3 100644 --- a/groups/item_events_item_exception_occurrences_item_forward_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemExceptionOccurrencesItemForwardRequestBuilder(rawUrl strin // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-beta func (m *ItemEventsItemExceptionOccurrencesItemForwardRequestBuilder) Post(ctx context.Context, body ItemEventsItemExceptionOccurrencesItemForwardPostRequestBodyable, requestConfiguration *ItemEventsItemExceptionOccurrencesItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { 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 331f4dd5dc7..c12de99b0fb 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 @@ -61,7 +61,7 @@ func NewItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilder(rawUr // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetRequestConfiguration)(ItemEventsItemExceptionOccurrencesItemInstancesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -84,7 +84,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) Get // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetRequestConfiguration)(ItemEventsItemExceptionOccurrencesItemInstancesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_events_item_exception_occurrences_item_instances_item_accept_request_builder.go b/groups/item_events_item_exception_occurrences_item_instances_item_accept_request_builder.go index f741b40f684..9d96e9dd29e 100644 --- a/groups/item_events_item_exception_occurrences_item_instances_item_accept_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_instances_item_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilder( // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-beta func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilder) Post(ctx context.Context, body ItemEventsItemExceptionOccurrencesItemInstancesItemAcceptPostRequestBodyable, requestConfiguration *ItemEventsItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go b/groups/item_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go index 7cb559932c6..3d6bccd5af1 100644 --- a/groups/item_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentIte // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachment urlParams["request-raw-url"] = rawUrl return NewItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an attachment from a user calendar event, message, Outlook task, or post. +// Delete delete navigation property attachments for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0 func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmen } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmen } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToDeleteRequestInformation delete an attachment from a user calendar event, message, Outlook task, or post. +// ToDeleteRequestInformation delete navigation property attachments for groups // returns a *RequestInformation when successful func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmen requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*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_item_attachments_create_upload_session_request_builder.go b/groups/item_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go index eea797fe27b..0c5243eb420 100644 --- a/groups/item_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUplo // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go b/groups/item_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go index effa7688581..53053e1c82e 100644 --- a/groups/item_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to an event. +// ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBu func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to an event. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBu } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post create new navigation property to attachments for groups // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBu } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to an event. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBu requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation create new navigation property to attachments for groups // returns a *RequestInformation when successful func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go b/groups/item_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go index e97f38cad5c..e78daed8986 100644 --- a/groups/item_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemExceptionOccurrencesItemInstancesItemCancelRequestBuilder( // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-beta func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemCancelRequestBuilder) Post(ctx context.Context, body ItemEventsItemExceptionOccurrencesItemInstancesItemCancelPostRequestBodyable, requestConfiguration *ItemEventsItemExceptionOccurrencesItemInstancesItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_events_item_exception_occurrences_item_instances_item_decline_request_builder.go b/groups/item_events_item_exception_occurrences_item_instances_item_decline_request_builder.go index aaf61ff65c3..2ab0a4524cf 100644 --- a/groups/item_events_item_exception_occurrences_item_instances_item_decline_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_instances_item_decline_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilder // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-beta func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilder) Post(ctx context.Context, body ItemEventsItemExceptionOccurrencesItemInstancesItemDeclinePostRequestBodyable, requestConfiguration *ItemEventsItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go b/groups/item_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go index 079b00f5038..c4405612e3f 100644 --- a/groups/item_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemExceptionOccurrencesItemInstancesItemDismissReminderReques // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-beta func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemDismissReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemEventsItemExceptionOccurrencesItemInstancesItemDismissReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go b/groups/item_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go index 263fe1ad7a2..10200cdb630 100644 --- a/groups/item_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionI } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*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_item_extensions_request_builder.go b/groups/item_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go index 4e00fe2b4c1..555abe540a3 100644 --- a/groups/item_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuil func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) Count()(*ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsCountRequestBuilder) { return NewItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -94,12 +94,9 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBui } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to extensions for groups // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBui } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +128,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBui requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to extensions for groups // returns a *RequestInformation when successful func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_events_item_exception_occurrences_item_instances_item_forward_request_builder.go b/groups/item_events_item_exception_occurrences_item_instances_item_forward_request_builder.go index 5e76d36ba24..5ee587af933 100644 --- a/groups/item_events_item_exception_occurrences_item_instances_item_forward_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_instances_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemExceptionOccurrencesItemInstancesItemForwardRequestBuilder // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-beta func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemForwardRequestBuilder) Post(ctx context.Context, body ItemEventsItemExceptionOccurrencesItemInstancesItemForwardPostRequestBodyable, requestConfiguration *ItemEventsItemExceptionOccurrencesItemInstancesItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go b/groups/item_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go index e3091f83a94..f92ebd231d4 100644 --- a/groups/item_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemExceptionOccurrencesItemInstancesItemSnoozeReminderRequest // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-beta func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemSnoozeReminderRequestBuilder) Post(ctx context.Context, body ItemEventsItemExceptionOccurrencesItemInstancesItemSnoozeReminderPostRequestBodyable, requestConfiguration *ItemEventsItemExceptionOccurrencesItemInstancesItemSnoozeReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go b/groups/item_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go index b08859994f5..aef08456bd6 100644 --- a/groups/item_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemExceptionOccurrencesItemInstancesItemTentativelyAcceptRequ // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-beta func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemTentativelyAcceptRequestBuilder) Post(ctx context.Context, body ItemEventsItemExceptionOccurrencesItemInstancesItemTentativelyAcceptPostRequestBodyable, requestConfiguration *ItemEventsItemExceptionOccurrencesItemInstancesItemTentativelyAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_events_item_exception_occurrences_item_instances_request_builder.go b/groups/item_events_item_exception_occurrences_item_instances_request_builder.go index 46d44edb5a6..c70f2f0390b 100644 --- a/groups/item_events_item_exception_occurrences_item_instances_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_instances_request_builder.go @@ -77,9 +77,6 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesRequestBuilder) Delta()( // Get the occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but doesn't include occurrences that have been canceled from the series. Navigation property. Read-only. Nullable. // returns a EventCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-instances?view=graph-rest-1.0 func (m *ItemEventsItemExceptionOccurrencesItemInstancesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEventsItemExceptionOccurrencesItemInstancesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EventCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_events_item_exception_occurrences_item_snooze_reminder_request_builder.go b/groups/item_events_item_exception_occurrences_item_snooze_reminder_request_builder.go index 89d667cfdf6..b42888c2a4b 100644 --- a/groups/item_events_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemExceptionOccurrencesItemSnoozeReminderRequestBuilder(rawUr // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-beta func (m *ItemEventsItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) Post(ctx context.Context, body ItemEventsItemExceptionOccurrencesItemSnoozeReminderPostRequestBodyable, requestConfiguration *ItemEventsItemExceptionOccurrencesItemSnoozeReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_events_item_exception_occurrences_item_tentatively_accept_request_builder.go b/groups/item_events_item_exception_occurrences_item_tentatively_accept_request_builder.go index 000ab0fa29c..855937ea951 100644 --- a/groups/item_events_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder(ra // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-beta func (m *ItemEventsItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) Post(ctx context.Context, body ItemEventsItemExceptionOccurrencesItemTentativelyAcceptPostRequestBodyable, requestConfiguration *ItemEventsItemExceptionOccurrencesItemTentativelyAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_events_item_extensions_extension_item_request_builder.go b/groups/item_events_item_extensions_extension_item_request_builder.go index 92e585600e1..44eebf3956d 100644 --- a/groups/item_events_item_extensions_extension_item_request_builder.go +++ b/groups/item_events_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemEventsItemExtensionsExtensionItemRequestBuilderDeleteRequestConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemEventsItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemEventsItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemEventsItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemEventsItemExtensionsExtensionItemRequestBuilder) Delete(ctx context } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemEventsItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEventsItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemEventsItemExtensionsExtensionItemRequestBuilder) ToDeleteRequestInf requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemEventsItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_events_item_extensions_request_builder.go b/groups/item_events_item_extensions_request_builder.go index 962355d1a80..de3f5129d8d 100644 --- a/groups/item_events_item_extensions_request_builder.go +++ b/groups/item_events_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemEventsItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemEventsItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemEventsItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemEventsItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemEventsItemExtensionsRequestBuilder(rawUrl string, requestAdapter i2a func (m *ItemEventsItemExtensionsRequestBuilder) Count()(*ItemEventsItemExtensionsCountRequestBuilder) { return NewItemEventsItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemEventsItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEventsItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -94,12 +94,9 @@ func (m *ItemEventsItemExtensionsRequestBuilder) Get(ctx context.Context, reques } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to extensions for groups // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemEventsItemExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemEventsItemExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemEventsItemExtensionsRequestBuilder) Post(ctx context.Context, body } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemEventsItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +128,7 @@ func (m *ItemEventsItemExtensionsRequestBuilder) ToGetRequestInformation(ctx con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to extensions for groups // returns a *RequestInformation when successful func (m *ItemEventsItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemEventsItemExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_events_item_forward_request_builder.go b/groups/item_events_item_forward_request_builder.go index 34ec1e79c83..ec3eccf6ffa 100644 --- a/groups/item_events_item_forward_request_builder.go +++ b/groups/item_events_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemForwardRequestBuilder(rawUrl string, requestAdapter i2ae41 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-beta func (m *ItemEventsItemForwardRequestBuilder) Post(ctx context.Context, body ItemEventsItemForwardPostRequestBodyable, requestConfiguration *ItemEventsItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_events_item_instances_delta_request_builder.go b/groups/item_events_item_instances_delta_request_builder.go index 18094a1c398..62fe0565253 100644 --- a/groups/item_events_item_instances_delta_request_builder.go +++ b/groups/item_events_item_instances_delta_request_builder.go @@ -61,7 +61,7 @@ func NewItemEventsItemInstancesDeltaRequestBuilder(rawUrl string, requestAdapter // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemEventsItemInstancesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEventsItemInstancesDeltaRequestBuilderGetRequestConfiguration)(ItemEventsItemInstancesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -84,7 +84,7 @@ func (m *ItemEventsItemInstancesDeltaRequestBuilder) Get(ctx context.Context, re // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemEventsItemInstancesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemEventsItemInstancesDeltaRequestBuilderGetRequestConfiguration)(ItemEventsItemInstancesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_events_item_instances_item_accept_request_builder.go b/groups/item_events_item_instances_item_accept_request_builder.go index 07afc0bcb9d..e742cf43692 100644 --- a/groups/item_events_item_instances_item_accept_request_builder.go +++ b/groups/item_events_item_instances_item_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemInstancesItemAcceptRequestBuilder(rawUrl string, requestAd // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-beta func (m *ItemEventsItemInstancesItemAcceptRequestBuilder) Post(ctx context.Context, body ItemEventsItemInstancesItemAcceptPostRequestBodyable, requestConfiguration *ItemEventsItemInstancesItemAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_events_item_instances_item_attachments_attachment_item_request_builder.go b/groups/item_events_item_instances_item_attachments_attachment_item_request_builder.go index 8be399f89a3..50600a929be 100644 --- a/groups/item_events_item_instances_item_attachments_attachment_item_request_builder.go +++ b/groups/item_events_item_instances_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderDeleteReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder(rawUr urlParams["request-raw-url"] = rawUrl return NewItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an attachment from a user calendar event, message, Outlook task, or post. +// Delete delete navigation property attachments for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0 func (m *ItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) Del } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 func (m *ItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) Get } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToDeleteRequestInformation delete an attachment from a user calendar event, message, Outlook task, or post. +// ToDeleteRequestInformation delete navigation property attachments for groups // returns a *RequestInformation when successful func (m *ItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToD requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_events_item_instances_item_attachments_create_upload_session_request_builder.go b/groups/item_events_item_instances_item_attachments_create_upload_session_request_builder.go index fc3e174e90b..f553a2ef109 100644 --- a/groups/item_events_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_events_item_instances_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder( // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemEventsItemInstancesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_events_item_instances_item_attachments_request_builder.go b/groups/item_events_item_instances_item_attachments_request_builder.go index cf6c8f95fb6..4974bec9fd7 100644 --- a/groups/item_events_item_instances_item_attachments_request_builder.go +++ b/groups/item_events_item_instances_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemEventsItemInstancesItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemEventsItemInstancesItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to an event. +// ItemEventsItemInstancesItemAttachmentsRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemEventsItemInstancesItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemEventsItemInstancesItemAttachmentsRequestBuilder) Count()(*ItemEven func (m *ItemEventsItemInstancesItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to an event. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 func (m *ItemEventsItemInstancesItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEventsItemInstancesItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemEventsItemInstancesItemAttachmentsRequestBuilder) Get(ctx context.C } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post create new navigation property to attachments for groups // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemEventsItemInstancesItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemEventsItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemEventsItemInstancesItemAttachmentsRequestBuilder) Post(ctx context. } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to an event. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemEventsItemInstancesItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemInstancesItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemEventsItemInstancesItemAttachmentsRequestBuilder) ToGetRequestInfor requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation create new navigation property to attachments for groups // returns a *RequestInformation when successful func (m *ItemEventsItemInstancesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemEventsItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_events_item_instances_item_cancel_request_builder.go b/groups/item_events_item_instances_item_cancel_request_builder.go index 20352356ddb..7e76c4732d1 100644 --- a/groups/item_events_item_instances_item_cancel_request_builder.go +++ b/groups/item_events_item_instances_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemInstancesItemCancelRequestBuilder(rawUrl string, requestAd // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-beta func (m *ItemEventsItemInstancesItemCancelRequestBuilder) Post(ctx context.Context, body ItemEventsItemInstancesItemCancelPostRequestBodyable, requestConfiguration *ItemEventsItemInstancesItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_events_item_instances_item_decline_request_builder.go b/groups/item_events_item_instances_item_decline_request_builder.go index 59453becf8a..ef7227b4556 100644 --- a/groups/item_events_item_instances_item_decline_request_builder.go +++ b/groups/item_events_item_instances_item_decline_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemInstancesItemDeclineRequestBuilder(rawUrl string, requestA // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-beta func (m *ItemEventsItemInstancesItemDeclineRequestBuilder) Post(ctx context.Context, body ItemEventsItemInstancesItemDeclinePostRequestBodyable, requestConfiguration *ItemEventsItemInstancesItemDeclineRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_events_item_instances_item_dismiss_reminder_request_builder.go b/groups/item_events_item_instances_item_dismiss_reminder_request_builder.go index 1c6e15bea09..51021aa7bd2 100644 --- a/groups/item_events_item_instances_item_dismiss_reminder_request_builder.go +++ b/groups/item_events_item_instances_item_dismiss_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemInstancesItemDismissReminderRequestBuilder(rawUrl string, // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-beta func (m *ItemEventsItemInstancesItemDismissReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemEventsItemInstancesItemDismissReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { 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 1c59c34eec6..a6ddf253d7f 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 @@ -61,7 +61,7 @@ func NewItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilder(rawUr // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(ItemEventsItemInstancesItemExceptionOccurrencesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -84,7 +84,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) Get // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(ItemEventsItemInstancesItemExceptionOccurrencesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_events_item_instances_item_exception_occurrences_item_accept_request_builder.go b/groups/item_events_item_instances_item_exception_occurrences_item_accept_request_builder.go index ac810c3bec7..3c70d1dcedb 100644 --- a/groups/item_events_item_instances_item_exception_occurrences_item_accept_request_builder.go +++ b/groups/item_events_item_instances_item_exception_occurrences_item_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilder( // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-beta func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilder) Post(ctx context.Context, body ItemEventsItemInstancesItemExceptionOccurrencesItemAcceptPostRequestBodyable, requestConfiguration *ItemEventsItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/groups/item_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index 3400a0b9516..c5d843bafb5 100644 --- a/groups/item_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/groups/item_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentIte // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachment urlParams["request-raw-url"] = rawUrl return NewItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an attachment from a user calendar event, message, Outlook task, or post. +// Delete delete navigation property attachments for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0 func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmen } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmen } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToDeleteRequestInformation delete an attachment from a user calendar event, message, Outlook task, or post. +// ToDeleteRequestInformation delete navigation property attachments for groups // returns a *RequestInformation when successful func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmen requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*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_item_attachments_create_upload_session_request_builder.go b/groups/item_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index 73ac8062c3e..0c2d521e428 100644 --- a/groups/item_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUplo // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go b/groups/item_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go index 3b880e60779..a411a90ef93 100644 --- a/groups/item_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go +++ b/groups/item_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to an event. +// ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBu func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to an event. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBu } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post create new navigation property to attachments for groups // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBu } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to an event. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBu requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation create new navigation property to attachments for groups // returns a *RequestInformation when successful func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go b/groups/item_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go index d7721096844..8b78eb0e2f7 100644 --- a/groups/item_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go +++ b/groups/item_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemInstancesItemExceptionOccurrencesItemCancelRequestBuilder( // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-beta func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemCancelRequestBuilder) Post(ctx context.Context, body ItemEventsItemInstancesItemExceptionOccurrencesItemCancelPostRequestBodyable, requestConfiguration *ItemEventsItemInstancesItemExceptionOccurrencesItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_events_item_instances_item_exception_occurrences_item_decline_request_builder.go b/groups/item_events_item_instances_item_exception_occurrences_item_decline_request_builder.go index f171df3fca7..72cdb9358af 100644 --- a/groups/item_events_item_instances_item_exception_occurrences_item_decline_request_builder.go +++ b/groups/item_events_item_instances_item_exception_occurrences_item_decline_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilder // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-beta func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilder) Post(ctx context.Context, body ItemEventsItemInstancesItemExceptionOccurrencesItemDeclinePostRequestBodyable, requestConfiguration *ItemEventsItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/groups/item_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go index 25d7c9a6eef..164aa3e159f 100644 --- a/groups/item_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/groups/item_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemInstancesItemExceptionOccurrencesItemDismissReminderReques // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-beta func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemDismissReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemEventsItemInstancesItemExceptionOccurrencesItemDismissReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/groups/item_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go index 4e914884540..7fdeab38846 100644 --- a/groups/item_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/groups/item_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionI } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*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_item_extensions_request_builder.go b/groups/item_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go index b2075b8c327..98aff7eaca9 100644 --- a/groups/item_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go +++ b/groups/item_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuil func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) Count()(*ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsCountRequestBuilder) { return NewItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -94,12 +94,9 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBui } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to extensions for groups // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBui } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +128,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBui requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to extensions for groups // returns a *RequestInformation when successful func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_events_item_instances_item_exception_occurrences_item_forward_request_builder.go b/groups/item_events_item_instances_item_exception_occurrences_item_forward_request_builder.go index bd52ab8f517..d8492841c51 100644 --- a/groups/item_events_item_instances_item_exception_occurrences_item_forward_request_builder.go +++ b/groups/item_events_item_instances_item_exception_occurrences_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemInstancesItemExceptionOccurrencesItemForwardRequestBuilder // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-beta func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemForwardRequestBuilder) Post(ctx context.Context, body ItemEventsItemInstancesItemExceptionOccurrencesItemForwardPostRequestBodyable, requestConfiguration *ItemEventsItemInstancesItemExceptionOccurrencesItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go b/groups/item_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go index 22f0fea37db..e4907629e74 100644 --- a/groups/item_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/groups/item_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemInstancesItemExceptionOccurrencesItemSnoozeReminderRequest // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-beta func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) Post(ctx context.Context, body ItemEventsItemInstancesItemExceptionOccurrencesItemSnoozeReminderPostRequestBodyable, requestConfiguration *ItemEventsItemInstancesItemExceptionOccurrencesItemSnoozeReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go b/groups/item_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go index a5ac4f16155..86232202459 100644 --- a/groups/item_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/groups/item_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemInstancesItemExceptionOccurrencesItemTentativelyAcceptRequ // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-beta func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) Post(ctx context.Context, body ItemEventsItemInstancesItemExceptionOccurrencesItemTentativelyAcceptPostRequestBodyable, requestConfiguration *ItemEventsItemInstancesItemExceptionOccurrencesItemTentativelyAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_events_item_instances_item_extensions_extension_item_request_builder.go b/groups/item_events_item_instances_item_extensions_extension_item_request_builder.go index e4caed9f796..cfac9c646a2 100644 --- a/groups/item_events_item_instances_item_extensions_extension_item_request_builder.go +++ b/groups/item_events_item_instances_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemEventsItemInstancesItemExtensionsExtensionItemRequestBuilderDeleteReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemEventsItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemEventsItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemEventsItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemEventsItemInstancesItemExtensionsExtensionItemRequestBuilder) Delet } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemEventsItemInstancesItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEventsItemInstancesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemEventsItemInstancesItemExtensionsExtensionItemRequestBuilder) ToDel requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemEventsItemInstancesItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemInstancesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_events_item_instances_item_extensions_request_builder.go b/groups/item_events_item_instances_item_extensions_request_builder.go index bb2bfa02e1a..db96c45e66d 100644 --- a/groups/item_events_item_instances_item_extensions_request_builder.go +++ b/groups/item_events_item_instances_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemEventsItemInstancesItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemEventsItemInstancesItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemEventsItemInstancesItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemEventsItemInstancesItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemEventsItemInstancesItemExtensionsRequestBuilder(rawUrl string, reque func (m *ItemEventsItemInstancesItemExtensionsRequestBuilder) Count()(*ItemEventsItemInstancesItemExtensionsCountRequestBuilder) { return NewItemEventsItemInstancesItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemEventsItemInstancesItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEventsItemInstancesItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -94,12 +94,9 @@ func (m *ItemEventsItemInstancesItemExtensionsRequestBuilder) Get(ctx context.Co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to extensions for groups // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemEventsItemInstancesItemExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemEventsItemInstancesItemExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemEventsItemInstancesItemExtensionsRequestBuilder) Post(ctx context.C } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemEventsItemInstancesItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemInstancesItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +128,7 @@ func (m *ItemEventsItemInstancesItemExtensionsRequestBuilder) ToGetRequestInform requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to extensions for groups // returns a *RequestInformation when successful func (m *ItemEventsItemInstancesItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemEventsItemInstancesItemExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_events_item_instances_item_forward_request_builder.go b/groups/item_events_item_instances_item_forward_request_builder.go index a735545f42e..6ebfa83ac1c 100644 --- a/groups/item_events_item_instances_item_forward_request_builder.go +++ b/groups/item_events_item_instances_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemInstancesItemForwardRequestBuilder(rawUrl string, requestA // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-beta func (m *ItemEventsItemInstancesItemForwardRequestBuilder) Post(ctx context.Context, body ItemEventsItemInstancesItemForwardPostRequestBodyable, requestConfiguration *ItemEventsItemInstancesItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_events_item_instances_item_snooze_reminder_request_builder.go b/groups/item_events_item_instances_item_snooze_reminder_request_builder.go index ce5d9fa4fe5..3c05490e1d1 100644 --- a/groups/item_events_item_instances_item_snooze_reminder_request_builder.go +++ b/groups/item_events_item_instances_item_snooze_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemInstancesItemSnoozeReminderRequestBuilder(rawUrl string, r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-beta func (m *ItemEventsItemInstancesItemSnoozeReminderRequestBuilder) Post(ctx context.Context, body ItemEventsItemInstancesItemSnoozeReminderPostRequestBodyable, requestConfiguration *ItemEventsItemInstancesItemSnoozeReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_events_item_instances_item_tentatively_accept_request_builder.go b/groups/item_events_item_instances_item_tentatively_accept_request_builder.go index 9236f694c05..cb1901fec9a 100644 --- a/groups/item_events_item_instances_item_tentatively_accept_request_builder.go +++ b/groups/item_events_item_instances_item_tentatively_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemInstancesItemTentativelyAcceptRequestBuilder(rawUrl string // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-beta func (m *ItemEventsItemInstancesItemTentativelyAcceptRequestBuilder) Post(ctx context.Context, body ItemEventsItemInstancesItemTentativelyAcceptPostRequestBodyable, requestConfiguration *ItemEventsItemInstancesItemTentativelyAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_events_item_instances_request_builder.go b/groups/item_events_item_instances_request_builder.go index fdefff91106..b1d26a24339 100644 --- a/groups/item_events_item_instances_request_builder.go +++ b/groups/item_events_item_instances_request_builder.go @@ -77,9 +77,6 @@ func (m *ItemEventsItemInstancesRequestBuilder) Delta()(*ItemEventsItemInstances // Get the occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but doesn't include occurrences that have been canceled from the series. Navigation property. Read-only. Nullable. // returns a EventCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-instances?view=graph-rest-1.0 func (m *ItemEventsItemInstancesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEventsItemInstancesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EventCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_events_item_snooze_reminder_request_builder.go b/groups/item_events_item_snooze_reminder_request_builder.go index b2837c19165..dfc34e3a31f 100644 --- a/groups/item_events_item_snooze_reminder_request_builder.go +++ b/groups/item_events_item_snooze_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemSnoozeReminderRequestBuilder(rawUrl string, requestAdapter // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-beta func (m *ItemEventsItemSnoozeReminderRequestBuilder) Post(ctx context.Context, body ItemEventsItemSnoozeReminderPostRequestBodyable, requestConfiguration *ItemEventsItemSnoozeReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_events_item_tentatively_accept_request_builder.go b/groups/item_events_item_tentatively_accept_request_builder.go index dea6c8144f9..90d5d887313 100644 --- a/groups/item_events_item_tentatively_accept_request_builder.go +++ b/groups/item_events_item_tentatively_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemTentativelyAcceptRequestBuilder(rawUrl string, requestAdap // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-beta func (m *ItemEventsItemTentativelyAcceptRequestBuilder) Post(ctx context.Context, body ItemEventsItemTentativelyAcceptPostRequestBodyable, requestConfiguration *ItemEventsItemTentativelyAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_events_request_builder.go b/groups/item_events_request_builder.go index 6214558939f..3aec89fc5f0 100644 --- a/groups/item_events_request_builder.go +++ b/groups/item_events_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemEventsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemEventsRequestBuilderGetQueryParameters retrieve a list of event objects. +// ItemEventsRequestBuilderGetQueryParameters the group's events. type ItemEventsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -77,12 +77,9 @@ func (m *ItemEventsRequestBuilder) Count()(*ItemEventsCountRequestBuilder) { func (m *ItemEventsRequestBuilder) Delta()(*ItemEventsDeltaRequestBuilder) { return NewItemEventsDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of event objects. +// Get the group's events. // returns a EventCollectionResponseable when successful // returns a ODataError error 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-list-events?view=graph-rest-1.0 func (m *ItemEventsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEventsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EventCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -100,12 +97,9 @@ func (m *ItemEventsRequestBuilder) Get(ctx context.Context, requestConfiguration } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EventCollectionResponseable), nil } -// Post use this API to create a new event. +// Post create new navigation property to events for groups // returns a Eventable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/group-post-events?view=graph-rest-1.0 func (m *ItemEventsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Eventable, requestConfiguration *ItemEventsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Eventable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -123,7 +117,7 @@ func (m *ItemEventsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Eventable), nil } -// ToGetRequestInformation retrieve a list of event objects. +// ToGetRequestInformation the group's events. // returns a *RequestInformation when successful func (m *ItemEventsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -137,7 +131,7 @@ func (m *ItemEventsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new event. +// ToPostRequestInformation create new navigation property to events for groups // returns a *RequestInformation when successful func (m *ItemEventsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Eventable, requestConfiguration *ItemEventsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_get_member_groups_request_builder.go b/groups/item_get_member_groups_request_builder.go index d2b630f3493..8cb1199786b 100644 --- a/groups/item_get_member_groups_request_builder.go +++ b/groups/item_get_member_groups_request_builder.go @@ -36,7 +36,7 @@ func NewItemGetMemberGroupsRequestBuilder(rawUrl string, requestAdapter i2ae4187 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-beta func (m *ItemGetMemberGroupsRequestBuilder) Post(ctx context.Context, body ItemGetMemberGroupsPostRequestBodyable, requestConfiguration *ItemGetMemberGroupsRequestBuilderPostRequestConfiguration)(ItemGetMemberGroupsResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ItemGetMemberGroupsRequestBuilder) Post(ctx context.Context, body ItemG // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-beta func (m *ItemGetMemberGroupsRequestBuilder) PostAsGetMemberGroupsPostResponse(ctx context.Context, body ItemGetMemberGroupsPostRequestBodyable, requestConfiguration *ItemGetMemberGroupsRequestBuilderPostRequestConfiguration)(ItemGetMemberGroupsPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_group_lifecycle_policies_renew_group_request_builder.go b/groups/item_group_lifecycle_policies_renew_group_request_builder.go index c495e402c61..0e9a75b62ff 100644 --- a/groups/item_group_lifecycle_policies_renew_group_request_builder.go +++ b/groups/item_group_lifecycle_policies_renew_group_request_builder.go @@ -36,7 +36,7 @@ func NewItemGroupLifecyclePoliciesRenewGroupRequestBuilder(rawUrl string, reques // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/grouplifecyclepolicy-renewgroup?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/grouplifecyclepolicy-renewgroup?view=graph-rest-beta func (m *ItemGroupLifecyclePoliciesRenewGroupRequestBuilder) Post(ctx context.Context, body ItemGroupLifecyclePoliciesRenewGroupPostRequestBodyable, requestConfiguration *ItemGroupLifecyclePoliciesRenewGroupRequestBuilderPostRequestConfiguration)(ItemGroupLifecyclePoliciesRenewGroupResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ItemGroupLifecyclePoliciesRenewGroupRequestBuilder) Post(ctx context.Co // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/grouplifecyclepolicy-renewgroup?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/grouplifecyclepolicy-renewgroup?view=graph-rest-beta func (m *ItemGroupLifecyclePoliciesRenewGroupRequestBuilder) PostAsRenewGroupPostResponse(ctx context.Context, body ItemGroupLifecyclePoliciesRenewGroupPostRequestBodyable, requestConfiguration *ItemGroupLifecyclePoliciesRenewGroupRequestBuilderPostRequestConfiguration)(ItemGroupLifecyclePoliciesRenewGroupPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_group_lifecycle_policies_request_builder.go b/groups/item_group_lifecycle_policies_request_builder.go index 58b656c1a84..01acf9acf90 100644 --- a/groups/item_group_lifecycle_policies_request_builder.go +++ b/groups/item_group_lifecycle_policies_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemGroupLifecyclePoliciesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemGroupLifecyclePoliciesRequestBuilderGetQueryParameters retrieves a list of groupLifecyclePolicy objects to which a group belongs. +// ItemGroupLifecyclePoliciesRequestBuilderGetQueryParameters the collection of lifecycle policies for this group. Read-only. Nullable. type ItemGroupLifecyclePoliciesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemGroupLifecyclePoliciesRequestBuilder(rawUrl string, requestAdapter i func (m *ItemGroupLifecyclePoliciesRequestBuilder) Count()(*ItemGroupLifecyclePoliciesCountRequestBuilder) { return NewItemGroupLifecyclePoliciesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieves a list of groupLifecyclePolicy objects to which a group belongs. +// Get the collection of lifecycle policies for this group. Read-only. Nullable. // returns a GroupLifecyclePolicyCollectionResponseable when successful // returns a ODataError error 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-list-grouplifecyclepolicies?view=graph-rest-1.0 func (m *ItemGroupLifecyclePoliciesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGroupLifecyclePoliciesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.GroupLifecyclePolicyCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemGroupLifecyclePoliciesRequestBuilder) Post(ctx context.Context, bod func (m *ItemGroupLifecyclePoliciesRequestBuilder) RenewGroup()(*ItemGroupLifecyclePoliciesRenewGroupRequestBuilder) { return NewItemGroupLifecyclePoliciesRenewGroupRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation retrieves a list of groupLifecyclePolicy objects to which a group belongs. +// ToGetRequestInformation the collection of lifecycle policies for this group. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemGroupLifecyclePoliciesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGroupLifecyclePoliciesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_member_of_request_builder.go b/groups/item_member_of_request_builder.go index a845142a3a5..fc948c146a7 100644 --- a/groups/item_member_of_request_builder.go +++ b/groups/item_member_of_request_builder.go @@ -72,9 +72,6 @@ func (m *ItemMemberOfRequestBuilder) Count()(*ItemMemberOfCountRequestBuilder) { // Get groups and administrative units that this group is a member of. HTTP Methods: GET (supported for all groups). Read-only. Nullable. Supports $expand. // returns a DirectoryObjectCollectionResponseable when successful // returns a ODataError error 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-list-memberof?view=graph-rest-1.0 func (m *ItemMemberOfRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMemberOfRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_members_item_ref_request_builder.go b/groups/item_members_item_ref_request_builder.go index c96ac4ebd75..41fbc05c109 100644 --- a/groups/item_members_item_ref_request_builder.go +++ b/groups/item_members_item_ref_request_builder.go @@ -30,11 +30,8 @@ func NewItemMembersItemRefRequestBuilder(rawUrl string, requestAdapter i2ae4187f urlParams["request-raw-url"] = rawUrl return NewItemMembersItemRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove a member from a group via the members navigation property. You can't remove a member from groups with dynamic memberships. +// Delete delete ref of navigation property members for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/group-delete-members?view=graph-rest-1.0 func (m *ItemMembersItemRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemMembersItemRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -49,7 +46,7 @@ func (m *ItemMembersItemRefRequestBuilder) Delete(ctx context.Context, requestCo } return nil } -// ToDeleteRequestInformation remove a member from a group via the members navigation property. You can't remove a member from groups with dynamic memberships. +// ToDeleteRequestInformation delete ref of navigation property members for groups // returns a *RequestInformation when successful func (m *ItemMembersItemRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemMembersItemRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_members_ref_request_builder.go b/groups/item_members_ref_request_builder.go index 5252d6f1301..7a0e6361463 100644 --- a/groups/item_members_ref_request_builder.go +++ b/groups/item_members_ref_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemMembersRefRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemMembersRefRequestBuilderDeleteQueryParameters remove a member from a group via the members navigation property. You can't remove a member from groups with dynamic memberships. +// ItemMembersRefRequestBuilderDeleteQueryParameters delete ref of navigation property members for groups type ItemMembersRefRequestBuilderDeleteQueryParameters struct { // The delete Uri Id *string `uriparametername:"%40id"` @@ -69,11 +69,8 @@ func NewItemMembersRefRequestBuilder(rawUrl string, requestAdapter i2ae4187f7dae urlParams["request-raw-url"] = rawUrl return NewItemMembersRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove a member from a group via the members navigation property. You can't remove a member from groups with dynamic memberships. +// Delete delete ref of navigation property members for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/group-delete-members?view=graph-rest-1.0 func (m *ItemMembersRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemMembersRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -91,9 +88,6 @@ func (m *ItemMembersRefRequestBuilder) Delete(ctx context.Context, requestConfig // Get direct group members, who can be users, devices, other groups, or service principals. Supports the List members, Add member, and Remove member operations. Nullable. Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=members($select=id,userPrincipalName,displayName). // returns a StringCollectionResponseable when successful // returns a ODataError error 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-list-members?view=graph-rest-1.0 func (m *ItemMembersRefRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMembersRefRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -111,11 +105,8 @@ func (m *ItemMembersRefRequestBuilder) Get(ctx context.Context, requestConfigura } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable), nil } -// Post add a member to a security or Microsoft 365 group through the members navigation property. The following table shows the types of members that can be added to either security groups or Microsoft 365 groups. +// Post create new navigation property ref to members for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/group-post-members?view=graph-rest-1.0 func (m *ItemMembersRefRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *ItemMembersRefRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -130,7 +121,7 @@ func (m *ItemMembersRefRequestBuilder) Post(ctx context.Context, body ie233ee762 } return nil } -// ToDeleteRequestInformation remove a member from a group via the members navigation property. You can't remove a member from groups with dynamic memberships. +// ToDeleteRequestInformation delete ref of navigation property members for groups // returns a *RequestInformation when successful func (m *ItemMembersRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemMembersRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, "{+baseurl}/groups/{group%2Did}/members/$ref?@id={%40id}", m.BaseRequestBuilder.PathParameters) @@ -158,7 +149,7 @@ func (m *ItemMembersRefRequestBuilder) ToGetRequestInformation(ctx context.Conte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add a member to a security or Microsoft 365 group through the members navigation property. The following table shows the types of members that can be added to either security groups or Microsoft 365 groups. +// ToPostRequestInformation create new navigation property ref to members for groups // returns a *RequestInformation when successful func (m *ItemMembersRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *ItemMembersRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/groups/{group%2Did}/members/$ref", m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_members_request_builder.go b/groups/item_members_request_builder.go index c62c5183e25..f1cb407f1d2 100644 --- a/groups/item_members_request_builder.go +++ b/groups/item_members_request_builder.go @@ -72,9 +72,6 @@ func (m *ItemMembersRequestBuilder) Count()(*ItemMembersCountRequestBuilder) { // Get direct group members, who can be users, devices, other groups, or service principals. Supports the List members, Add member, and Remove member operations. Nullable. Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=members($select=id,userPrincipalName,displayName). // returns a DirectoryObjectCollectionResponseable when successful // returns a ODataError error 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-list-members?view=graph-rest-1.0 func (m *ItemMembersRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMembersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_onenote_notebooks_get_notebook_from_web_url_request_builder.go b/groups/item_onenote_notebooks_get_notebook_from_web_url_request_builder.go index 6ce9bd05e28..3301dc9f74e 100644 --- a/groups/item_onenote_notebooks_get_notebook_from_web_url_request_builder.go +++ b/groups/item_onenote_notebooks_get_notebook_from_web_url_request_builder.go @@ -36,7 +36,7 @@ func NewItemOnenoteNotebooksGetNotebookFromWebUrlRequestBuilder(rawUrl string, r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/notebook-getnotebookfromweburl?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/notebook-getnotebookfromweburl?view=graph-rest-beta func (m *ItemOnenoteNotebooksGetNotebookFromWebUrlRequestBuilder) Post(ctx context.Context, body ItemOnenoteNotebooksGetNotebookFromWebUrlPostRequestBodyable, requestConfiguration *ItemOnenoteNotebooksGetNotebookFromWebUrlRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CopyNotebookModelable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_onenote_notebooks_get_recent_notebooks_with_include_personal_notebooks_request_builder.go b/groups/item_onenote_notebooks_get_recent_notebooks_with_include_personal_notebooks_request_builder.go index 722a8b2265c..c20a04602b2 100644 --- a/groups/item_onenote_notebooks_get_recent_notebooks_with_include_personal_notebooks_request_builder.go +++ b/groups/item_onenote_notebooks_get_recent_notebooks_with_include_personal_notebooks_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilderGetQueryParameters invoke function getRecentNotebooks +// ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilderGetQueryParameters get a list of recentNotebook instances that have been accessed by the signed-in user. type ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -49,10 +49,13 @@ func NewItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksReques urlParams["request-raw-url"] = rawUrl return NewItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function getRecentNotebooks +// Get get a list of recentNotebook instances that have been accessed by the signed-in user. // Deprecated: This method is obsolete. Use GetAsGetRecentNotebooksWithIncludePersonalNotebooksGetResponse instead. // returns a ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/notebook-getrecentnotebooks?view=graph-rest-beta func (m *ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilderGetRequestConfiguration)(ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -70,9 +73,12 @@ func (m *ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksReque } return res.(ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksResponseable), nil } -// GetAsGetRecentNotebooksWithIncludePersonalNotebooksGetResponse invoke function getRecentNotebooks +// GetAsGetRecentNotebooksWithIncludePersonalNotebooksGetResponse get a list of recentNotebook instances that have been accessed by the signed-in user. // returns a ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/notebook-getrecentnotebooks?view=graph-rest-beta func (m *ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder) GetAsGetRecentNotebooksWithIncludePersonalNotebooksGetResponse(ctx context.Context, requestConfiguration *ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilderGetRequestConfiguration)(ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -90,7 +96,7 @@ func (m *ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksReque } return res.(ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksGetResponseable), nil } -// ToGetRequestInformation invoke function getRecentNotebooks +// ToGetRequestInformation get a list of recentNotebook instances that have been accessed by the signed-in user. // returns a *RequestInformation when successful func (m *ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_onenote_notebooks_item_copy_notebook_request_builder.go b/groups/item_onenote_notebooks_item_copy_notebook_request_builder.go index d0f7a1b41c3..fa3e62619b7 100644 --- a/groups/item_onenote_notebooks_item_copy_notebook_request_builder.go +++ b/groups/item_onenote_notebooks_item_copy_notebook_request_builder.go @@ -36,7 +36,7 @@ func NewItemOnenoteNotebooksItemCopyNotebookRequestBuilder(rawUrl string, reques // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/notebook-copynotebook?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/notebook-copynotebook?view=graph-rest-beta func (m *ItemOnenoteNotebooksItemCopyNotebookRequestBuilder) Post(ctx context.Context, body ItemOnenoteNotebooksItemCopyNotebookPostRequestBodyable, requestConfiguration *ItemOnenoteNotebooksItemCopyNotebookRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_onenote_notebooks_item_section_groups_item_section_groups_request_builder.go b/groups/item_onenote_notebooks_item_section_groups_item_section_groups_request_builder.go index 315cb6fcd16..0dbbffaf9c3 100644 --- a/groups/item_onenote_notebooks_item_section_groups_item_section_groups_request_builder.go +++ b/groups/item_onenote_notebooks_item_section_groups_item_section_groups_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilderGetQueryParameters retrieve a list of section groups from the specified section group. +// ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilderGetQueryParameters the section groups in the section. Read-only. Nullable. type ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilder(raw func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilder) Count()(*ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsCountRequestBuilder) { return NewItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of section groups from the specified section group. +// Get the section groups in the section. Read-only. Nullable. // returns a SectionGroupCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sectiongroup-list-sectiongroups?view=graph-rest-1.0 func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilder) G } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupCollectionResponseable), nil } -// ToGetRequestInformation retrieve a list of section groups from the specified section group. +// ToGetRequestInformation the section groups in the section. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_notebook_request_builder.go b/groups/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_notebook_request_builder.go index 97fbff671b8..3a38a12d4b2 100644 --- a/groups/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_notebook_request_builder.go +++ b/groups/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_notebook_request_builder.go @@ -36,7 +36,7 @@ func NewItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookReque // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytonotebook?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytonotebook?view=graph-rest-beta func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookRequestBuilder) Post(ctx context.Context, body ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookPostRequestBodyable, requestConfiguration *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_section_group_request_builder.go b/groups/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_section_group_request_builder.go index c4241d766e7..8bfddddff4c 100644 --- a/groups/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_section_group_request_builder.go +++ b/groups/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_section_group_request_builder.go @@ -36,7 +36,7 @@ func NewItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupR // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytosectiongroup?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytosectiongroup?view=graph-rest-beta func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupRequestBuilder) Post(ctx context.Context, body ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBodyable, requestConfiguration *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go b/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go index 460dcd698a3..1f8f7b22c0b 100644 --- a/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go +++ b/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go @@ -36,7 +36,7 @@ func NewItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSect // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/page-copytosection?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/page-copytosection?view=graph-rest-beta func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionRequestBuilder) Post(ctx context.Context, body ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBodyable, requestConfiguration *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_onenote_notebooks_item_section_groups_item_sections_request_builder.go b/groups/item_onenote_notebooks_item_section_groups_item_sections_request_builder.go index c437d272a25..ecc44b63be4 100644 --- a/groups/item_onenote_notebooks_item_section_groups_item_sections_request_builder.go +++ b/groups/item_onenote_notebooks_item_section_groups_item_sections_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilderGetQueryParameters retrieve a list of onenoteSection objects from the specified section group. +// ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilderGetQueryParameters the sections in the section group. Read-only. Nullable. type ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder(rawUrl s func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder) Count()(*ItemOnenoteNotebooksItemSectionGroupsItemSectionsCountRequestBuilder) { return NewItemOnenoteNotebooksItemSectionGroupsItemSectionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of onenoteSection objects from the specified section group. +// Get the sections in the section group. Read-only. Nullable. // returns a OnenoteSectionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sectiongroup-list-sections?view=graph-rest-1.0 func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder) Get(ct } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionCollectionResponseable), nil } -// Post create a new section in the specified section group. +// Post create new navigation property to sections for groups // returns a OnenoteSectionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sectiongroup-post-sections?view=graph-rest-1.0 func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable, requestConfiguration *ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder) Post(c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable), nil } -// ToGetRequestInformation retrieve a list of onenoteSection objects from the specified section group. +// ToGetRequestInformation the sections in the section group. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder) ToGetR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new section in the specified section group. +// ToPostRequestInformation create new navigation property to sections for groups // returns a *RequestInformation when successful func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable, requestConfiguration *ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_onenote_notebooks_item_section_groups_request_builder.go b/groups/item_onenote_notebooks_item_section_groups_request_builder.go index 7139b8303f3..8c5065fb99a 100644 --- a/groups/item_onenote_notebooks_item_section_groups_request_builder.go +++ b/groups/item_onenote_notebooks_item_section_groups_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOnenoteNotebooksItemSectionGroupsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOnenoteNotebooksItemSectionGroupsRequestBuilderGetQueryParameters retrieve a list of section groups from the specified notebook. +// ItemOnenoteNotebooksItemSectionGroupsRequestBuilderGetQueryParameters the section groups in the notebook. Read-only. Nullable. type ItemOnenoteNotebooksItemSectionGroupsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemOnenoteNotebooksItemSectionGroupsRequestBuilder(rawUrl string, reque func (m *ItemOnenoteNotebooksItemSectionGroupsRequestBuilder) Count()(*ItemOnenoteNotebooksItemSectionGroupsCountRequestBuilder) { return NewItemOnenoteNotebooksItemSectionGroupsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of section groups from the specified notebook. +// Get the section groups in the notebook. Read-only. Nullable. // returns a SectionGroupCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/notebook-list-sectiongroups?view=graph-rest-1.0 func (m *ItemOnenoteNotebooksItemSectionGroupsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteNotebooksItemSectionGroupsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsRequestBuilder) Get(ctx context.Co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupCollectionResponseable), nil } -// Post create a new section group in the specified notebook. +// Post create new navigation property to sectionGroups for groups // returns a SectionGroupable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/notebook-post-sectiongroups?view=graph-rest-1.0 func (m *ItemOnenoteNotebooksItemSectionGroupsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupable, requestConfiguration *ItemOnenoteNotebooksItemSectionGroupsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsRequestBuilder) Post(ctx context.C } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupable), nil } -// ToGetRequestInformation retrieve a list of section groups from the specified notebook. +// ToGetRequestInformation the section groups in the notebook. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemOnenoteNotebooksItemSectionGroupsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnenoteNotebooksItemSectionGroupsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsRequestBuilder) ToGetRequestInform requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new section group in the specified notebook. +// ToPostRequestInformation create new navigation property to sectionGroups for groups // returns a *RequestInformation when successful func (m *ItemOnenoteNotebooksItemSectionGroupsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupable, requestConfiguration *ItemOnenoteNotebooksItemSectionGroupsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_onenote_notebooks_item_sections_item_copy_to_notebook_request_builder.go b/groups/item_onenote_notebooks_item_sections_item_copy_to_notebook_request_builder.go index e0db103a917..996a23e0acb 100644 --- a/groups/item_onenote_notebooks_item_sections_item_copy_to_notebook_request_builder.go +++ b/groups/item_onenote_notebooks_item_sections_item_copy_to_notebook_request_builder.go @@ -36,7 +36,7 @@ func NewItemOnenoteNotebooksItemSectionsItemCopyToNotebookRequestBuilder(rawUrl // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytonotebook?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytonotebook?view=graph-rest-beta func (m *ItemOnenoteNotebooksItemSectionsItemCopyToNotebookRequestBuilder) Post(ctx context.Context, body ItemOnenoteNotebooksItemSectionsItemCopyToNotebookPostRequestBodyable, requestConfiguration *ItemOnenoteNotebooksItemSectionsItemCopyToNotebookRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_onenote_notebooks_item_sections_item_copy_to_section_group_request_builder.go b/groups/item_onenote_notebooks_item_sections_item_copy_to_section_group_request_builder.go index 9af0c587137..c670b939452 100644 --- a/groups/item_onenote_notebooks_item_sections_item_copy_to_section_group_request_builder.go +++ b/groups/item_onenote_notebooks_item_sections_item_copy_to_section_group_request_builder.go @@ -36,7 +36,7 @@ func NewItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupRequestBuilder(raw // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytosectiongroup?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytosectiongroup?view=graph-rest-beta func (m *ItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupRequestBuilder) Post(ctx context.Context, body ItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupPostRequestBodyable, requestConfiguration *ItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_onenote_notebooks_item_sections_item_pages_item_copy_to_section_request_builder.go b/groups/item_onenote_notebooks_item_sections_item_pages_item_copy_to_section_request_builder.go index a4d6a51925f..fa64c08c426 100644 --- a/groups/item_onenote_notebooks_item_sections_item_pages_item_copy_to_section_request_builder.go +++ b/groups/item_onenote_notebooks_item_sections_item_pages_item_copy_to_section_request_builder.go @@ -36,7 +36,7 @@ func NewItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionRequestBuilder // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/page-copytosection?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/page-copytosection?view=graph-rest-beta func (m *ItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionRequestBuilder) Post(ctx context.Context, body ItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionPostRequestBodyable, requestConfiguration *ItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_onenote_notebooks_item_sections_request_builder.go b/groups/item_onenote_notebooks_item_sections_request_builder.go index 513a7441bb3..a72f80bd8d9 100644 --- a/groups/item_onenote_notebooks_item_sections_request_builder.go +++ b/groups/item_onenote_notebooks_item_sections_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOnenoteNotebooksItemSectionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOnenoteNotebooksItemSectionsRequestBuilderGetQueryParameters retrieve a list of section objects from the specified notebook. +// ItemOnenoteNotebooksItemSectionsRequestBuilderGetQueryParameters the sections in the notebook. Read-only. Nullable. type ItemOnenoteNotebooksItemSectionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemOnenoteNotebooksItemSectionsRequestBuilder(rawUrl string, requestAda func (m *ItemOnenoteNotebooksItemSectionsRequestBuilder) Count()(*ItemOnenoteNotebooksItemSectionsCountRequestBuilder) { return NewItemOnenoteNotebooksItemSectionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of section objects from the specified notebook. +// Get the sections in the notebook. Read-only. Nullable. // returns a OnenoteSectionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/notebook-list-sections?view=graph-rest-1.0 func (m *ItemOnenoteNotebooksItemSectionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteNotebooksItemSectionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemOnenoteNotebooksItemSectionsRequestBuilder) Get(ctx context.Context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionCollectionResponseable), nil } -// Post create a new section in the specified notebook. +// Post create new navigation property to sections for groups // returns a OnenoteSectionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/notebook-post-sections?view=graph-rest-1.0 func (m *ItemOnenoteNotebooksItemSectionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable, requestConfiguration *ItemOnenoteNotebooksItemSectionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemOnenoteNotebooksItemSectionsRequestBuilder) Post(ctx context.Contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable), nil } -// ToGetRequestInformation retrieve a list of section objects from the specified notebook. +// ToGetRequestInformation the sections in the notebook. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemOnenoteNotebooksItemSectionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnenoteNotebooksItemSectionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemOnenoteNotebooksItemSectionsRequestBuilder) ToGetRequestInformation requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new section in the specified notebook. +// ToPostRequestInformation create new navigation property to sections for groups // returns a *RequestInformation when successful func (m *ItemOnenoteNotebooksItemSectionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable, requestConfiguration *ItemOnenoteNotebooksItemSectionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, 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 1519701d684..61c470ce9aa 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 retrieve the properties and relationships of a notebook object. +// ItemOnenoteNotebooksNotebookItemRequestBuilderGetQueryParameters the collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable. type ItemOnenoteNotebooksNotebookItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *ItemOnenoteNotebooksNotebookItemRequestBuilder) Delete(ctx context.Cont } return nil } -// Get retrieve the properties and relationships of a notebook object. +// Get the collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable. // returns a Notebookable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/notebook-get?view=graph-rest-1.0 func (m *ItemOnenoteNotebooksNotebookItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteNotebooksNotebookItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Notebookable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -139,7 +136,7 @@ func (m *ItemOnenoteNotebooksNotebookItemRequestBuilder) ToDeleteRequestInformat requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a notebook object. +// ToGetRequestInformation the collection of OneNote notebooks that are owned by the user or group. 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 5d26c6c4c7e..cb0331a4045 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 retrieve a list of notebook objects. +// ItemOnenoteNotebooksRequestBuilderGetQueryParameters the collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable. type ItemOnenoteNotebooksRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemOnenoteNotebooksRequestBuilder(rawUrl string, requestAdapter i2ae418 func (m *ItemOnenoteNotebooksRequestBuilder) Count()(*ItemOnenoteNotebooksCountRequestBuilder) { return NewItemOnenoteNotebooksCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of notebook objects. +// Get the collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable. // returns a NotebookCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/onenote-list-notebooks?view=graph-rest-1.0 func (m *ItemOnenoteNotebooksRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteNotebooksRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NotebookCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -109,12 +106,9 @@ func (m *ItemOnenoteNotebooksRequestBuilder) GetNotebookFromWebUrl()(*ItemOnenot func (m *ItemOnenoteNotebooksRequestBuilder) GetRecentNotebooksWithIncludePersonalNotebooks(includePersonalNotebooks *bool)(*ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder) { return NewItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, includePersonalNotebooks) } -// Post create a new OneNote notebook. +// Post create new navigation property to notebooks for groups // returns a Notebookable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/onenote-post-notebooks?view=graph-rest-1.0 func (m *ItemOnenoteNotebooksRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Notebookable, requestConfiguration *ItemOnenoteNotebooksRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Notebookable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -132,7 +126,7 @@ func (m *ItemOnenoteNotebooksRequestBuilder) Post(ctx context.Context, body ie23 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Notebookable), nil } -// ToGetRequestInformation retrieve a list of notebook objects. +// ToGetRequestInformation the collection of OneNote notebooks that are owned by the user or group. 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) @@ -146,7 +140,7 @@ func (m *ItemOnenoteNotebooksRequestBuilder) ToGetRequestInformation(ctx context requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new OneNote notebook. +// ToPostRequestInformation create new navigation property to notebooks for groups // returns a *RequestInformation when successful func (m *ItemOnenoteNotebooksRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Notebookable, requestConfiguration *ItemOnenoteNotebooksRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_onenote_operations_onenote_operation_item_request_builder.go b/groups/item_onenote_operations_onenote_operation_item_request_builder.go index a90d250cc04..7083bb314e8 100644 --- a/groups/item_onenote_operations_onenote_operation_item_request_builder.go +++ b/groups/item_onenote_operations_onenote_operation_item_request_builder.go @@ -18,7 +18,7 @@ type ItemOnenoteOperationsOnenoteOperationItemRequestBuilderDeleteRequestConfigu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemOnenoteOperationsOnenoteOperationItemRequestBuilderGetQueryParameters get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. +// ItemOnenoteOperationsOnenoteOperationItemRequestBuilderGetQueryParameters the status of OneNote operations. Getting an operations collection isn't supported, but you can get the status of long-running operations if the Operation-Location header is returned in the response. Read-only. Nullable. type ItemOnenoteOperationsOnenoteOperationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemOnenoteOperationsOnenoteOperationItemRequestBuilder) Delete(ctx con } return nil } -// Get get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. +// Get the status of OneNote operations. Getting an operations collection isn't supported, but you can get the status of long-running operations if the Operation-Location header is returned in the response. Read-only. Nullable. // returns a OnenoteOperationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/onenoteoperation-get?view=graph-rest-1.0 func (m *ItemOnenoteOperationsOnenoteOperationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteOperationsOnenoteOperationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemOnenoteOperationsOnenoteOperationItemRequestBuilder) ToDeleteReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. +// ToGetRequestInformation the status of OneNote operations. Getting an operations collection isn't supported, but you can get the status of long-running operations if the Operation-Location header is returned in the response. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemOnenoteOperationsOnenoteOperationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnenoteOperationsOnenoteOperationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_onenote_operations_request_builder.go b/groups/item_onenote_operations_request_builder.go index 947d5585eb2..49bc8f8cb6f 100644 --- a/groups/item_onenote_operations_request_builder.go +++ b/groups/item_onenote_operations_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOnenoteOperationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOnenoteOperationsRequestBuilderGetQueryParameters get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. +// ItemOnenoteOperationsRequestBuilderGetQueryParameters the status of OneNote operations. Getting an operations collection isn't supported, but you can get the status of long-running operations if the Operation-Location header is returned in the response. Read-only. Nullable. type ItemOnenoteOperationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewItemOnenoteOperationsRequestBuilder(rawUrl string, requestAdapter i2ae41 func (m *ItemOnenoteOperationsRequestBuilder) Count()(*ItemOnenoteOperationsCountRequestBuilder) { return NewItemOnenoteOperationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. +// Get the status of OneNote operations. Getting an operations collection isn't supported, but you can get the status of long-running operations if the Operation-Location header is returned in the response. Read-only. Nullable. // returns a OnenoteOperationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemOnenoteOperationsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteOperationsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *ItemOnenoteOperationsRequestBuilder) Post(ctx context.Context, body ie2 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable), nil } -// ToGetRequestInformation get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. +// ToGetRequestInformation the status of OneNote operations. Getting an operations collection isn't supported, but you can get the status of long-running operations if the Operation-Location header is returned in the response. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemOnenoteOperationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnenoteOperationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_onenote_pages_item_copy_to_section_request_builder.go b/groups/item_onenote_pages_item_copy_to_section_request_builder.go index cff3b0ffe91..e66cc24eedb 100644 --- a/groups/item_onenote_pages_item_copy_to_section_request_builder.go +++ b/groups/item_onenote_pages_item_copy_to_section_request_builder.go @@ -36,7 +36,7 @@ func NewItemOnenotePagesItemCopyToSectionRequestBuilder(rawUrl string, requestAd // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/page-copytosection?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/page-copytosection?view=graph-rest-beta func (m *ItemOnenotePagesItemCopyToSectionRequestBuilder) Post(ctx context.Context, body ItemOnenotePagesItemCopyToSectionPostRequestBodyable, requestConfiguration *ItemOnenotePagesItemCopyToSectionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { 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 1b35b78c1c0..c160ddecd1e 100644 --- a/groups/item_onenote_pages_onenote_page_item_request_builder.go +++ b/groups/item_onenote_pages_onenote_page_item_request_builder.go @@ -64,11 +64,8 @@ func (m *ItemOnenotePagesOnenotePageItemRequestBuilder) Content()(*ItemOnenotePa func (m *ItemOnenotePagesOnenotePageItemRequestBuilder) CopyToSection()(*ItemOnenotePagesItemCopyToSectionRequestBuilder) { return NewItemOnenotePagesItemCopyToSectionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Delete delete a OneNote page. +// Delete delete navigation property pages for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/page-delete?view=graph-rest-1.0 func (m *ItemOnenotePagesOnenotePageItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemOnenotePagesOnenotePageItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -143,7 +140,7 @@ func (m *ItemOnenotePagesOnenotePageItemRequestBuilder) Patch(ctx context.Contex func (m *ItemOnenotePagesOnenotePageItemRequestBuilder) Preview()(*ItemOnenotePagesItemPreviewRequestBuilder) { return NewItemOnenotePagesItemPreviewRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a OneNote page. +// ToDeleteRequestInformation delete navigation property pages for groups // returns a *RequestInformation when successful func (m *ItemOnenotePagesOnenotePageItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemOnenotePagesOnenotePageItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_onenote_section_groups_item_section_groups_request_builder.go b/groups/item_onenote_section_groups_item_section_groups_request_builder.go index 285c460a132..bcb12920a30 100644 --- a/groups/item_onenote_section_groups_item_section_groups_request_builder.go +++ b/groups/item_onenote_section_groups_item_section_groups_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOnenoteSectionGroupsItemSectionGroupsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOnenoteSectionGroupsItemSectionGroupsRequestBuilderGetQueryParameters retrieve a list of section groups from the specified section group. +// ItemOnenoteSectionGroupsItemSectionGroupsRequestBuilderGetQueryParameters the section groups in the section. Read-only. Nullable. type ItemOnenoteSectionGroupsItemSectionGroupsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewItemOnenoteSectionGroupsItemSectionGroupsRequestBuilder(rawUrl string, r func (m *ItemOnenoteSectionGroupsItemSectionGroupsRequestBuilder) Count()(*ItemOnenoteSectionGroupsItemSectionGroupsCountRequestBuilder) { return NewItemOnenoteSectionGroupsItemSectionGroupsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of section groups from the specified section group. +// Get the section groups in the section. Read-only. Nullable. // returns a SectionGroupCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sectiongroup-list-sectiongroups?view=graph-rest-1.0 func (m *ItemOnenoteSectionGroupsItemSectionGroupsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteSectionGroupsItemSectionGroupsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionGroupsRequestBuilder) Get(ctx contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupCollectionResponseable), nil } -// ToGetRequestInformation retrieve a list of section groups from the specified section group. +// ToGetRequestInformation the section groups in the section. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemOnenoteSectionGroupsItemSectionGroupsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnenoteSectionGroupsItemSectionGroupsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_onenote_section_groups_item_sections_item_copy_to_notebook_request_builder.go b/groups/item_onenote_section_groups_item_sections_item_copy_to_notebook_request_builder.go index f62ebfe4c01..f06ad2ab58f 100644 --- a/groups/item_onenote_section_groups_item_sections_item_copy_to_notebook_request_builder.go +++ b/groups/item_onenote_section_groups_item_sections_item_copy_to_notebook_request_builder.go @@ -36,7 +36,7 @@ func NewItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookRequestBuilder(raw // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytonotebook?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytonotebook?view=graph-rest-beta func (m *ItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookRequestBuilder) Post(ctx context.Context, body ItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookPostRequestBodyable, requestConfiguration *ItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_onenote_section_groups_item_sections_item_copy_to_section_group_request_builder.go b/groups/item_onenote_section_groups_item_sections_item_copy_to_section_group_request_builder.go index 379150ba763..7afaf3b72cb 100644 --- a/groups/item_onenote_section_groups_item_sections_item_copy_to_section_group_request_builder.go +++ b/groups/item_onenote_section_groups_item_sections_item_copy_to_section_group_request_builder.go @@ -36,7 +36,7 @@ func NewItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupRequestBuilder // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytosectiongroup?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytosectiongroup?view=graph-rest-beta func (m *ItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupRequestBuilder) Post(ctx context.Context, body ItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBodyable, requestConfiguration *ItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_onenote_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go b/groups/item_onenote_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go index b5bdc2ccaa4..4c257156cbd 100644 --- a/groups/item_onenote_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go +++ b/groups/item_onenote_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go @@ -36,7 +36,7 @@ func NewItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionRequestBui // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/page-copytosection?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/page-copytosection?view=graph-rest-beta func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionRequestBuilder) Post(ctx context.Context, body ItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBodyable, requestConfiguration *ItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_onenote_section_groups_item_sections_request_builder.go b/groups/item_onenote_section_groups_item_sections_request_builder.go index 898b78ed849..17811d8ce5d 100644 --- a/groups/item_onenote_section_groups_item_sections_request_builder.go +++ b/groups/item_onenote_section_groups_item_sections_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOnenoteSectionGroupsItemSectionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOnenoteSectionGroupsItemSectionsRequestBuilderGetQueryParameters retrieve a list of onenoteSection objects from the specified section group. +// ItemOnenoteSectionGroupsItemSectionsRequestBuilderGetQueryParameters the sections in the section group. Read-only. Nullable. type ItemOnenoteSectionGroupsItemSectionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemOnenoteSectionGroupsItemSectionsRequestBuilder(rawUrl string, reques func (m *ItemOnenoteSectionGroupsItemSectionsRequestBuilder) Count()(*ItemOnenoteSectionGroupsItemSectionsCountRequestBuilder) { return NewItemOnenoteSectionGroupsItemSectionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of onenoteSection objects from the specified section group. +// Get the sections in the section group. Read-only. Nullable. // returns a OnenoteSectionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sectiongroup-list-sections?view=graph-rest-1.0 func (m *ItemOnenoteSectionGroupsItemSectionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteSectionGroupsItemSectionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemOnenoteSectionGroupsItemSectionsRequestBuilder) Get(ctx context.Con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionCollectionResponseable), nil } -// Post create a new section in the specified section group. +// Post create new navigation property to sections for groups // returns a OnenoteSectionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sectiongroup-post-sections?view=graph-rest-1.0 func (m *ItemOnenoteSectionGroupsItemSectionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable, requestConfiguration *ItemOnenoteSectionGroupsItemSectionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsRequestBuilder) Post(ctx context.Co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable), nil } -// ToGetRequestInformation retrieve a list of onenoteSection objects from the specified section group. +// ToGetRequestInformation the sections in the section group. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemOnenoteSectionGroupsItemSectionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnenoteSectionGroupsItemSectionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsRequestBuilder) ToGetRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new section in the specified section group. +// ToPostRequestInformation create new navigation property to sections for groups // returns a *RequestInformation when successful func (m *ItemOnenoteSectionGroupsItemSectionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable, requestConfiguration *ItemOnenoteSectionGroupsItemSectionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, 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 8c5818190f6..2ce7870edcd 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 retrieve a list of sectionGroup objects. +// ItemOnenoteSectionGroupsRequestBuilderGetQueryParameters the section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. type ItemOnenoteSectionGroupsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemOnenoteSectionGroupsRequestBuilder(rawUrl string, requestAdapter i2a func (m *ItemOnenoteSectionGroupsRequestBuilder) Count()(*ItemOnenoteSectionGroupsCountRequestBuilder) { return NewItemOnenoteSectionGroupsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of sectionGroup objects. +// Get the section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. // returns a SectionGroupCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/onenote-list-sectiongroups?view=graph-rest-1.0 func (m *ItemOnenoteSectionGroupsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteSectionGroupsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemOnenoteSectionGroupsRequestBuilder) Post(ctx context.Context, body } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupable), nil } -// ToGetRequestInformation retrieve a list of sectionGroup objects. +// ToGetRequestInformation the section groups in all OneNote notebooks that are owned by the user or group. 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 34aba643bea..752f776e383 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 retrieve the properties and relationships of a sectionGroup object. +// ItemOnenoteSectionGroupsSectionGroupItemRequestBuilderGetQueryParameters the section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. type ItemOnenoteSectionGroupsSectionGroupItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemOnenoteSectionGroupsSectionGroupItemRequestBuilder) Delete(ctx cont } return nil } -// Get retrieve the properties and relationships of a sectionGroup object. +// Get the section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. // returns a SectionGroupable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sectiongroup-get?view=graph-rest-1.0 func (m *ItemOnenoteSectionGroupsSectionGroupItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteSectionGroupsSectionGroupItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -144,7 +141,7 @@ func (m *ItemOnenoteSectionGroupsSectionGroupItemRequestBuilder) ToDeleteRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a sectionGroup object. +// ToGetRequestInformation the section groups in all OneNote notebooks that are owned by the user or group. 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_item_copy_to_notebook_request_builder.go b/groups/item_onenote_sections_item_copy_to_notebook_request_builder.go index 46ea561e8a5..a91303cfa7c 100644 --- a/groups/item_onenote_sections_item_copy_to_notebook_request_builder.go +++ b/groups/item_onenote_sections_item_copy_to_notebook_request_builder.go @@ -36,7 +36,7 @@ func NewItemOnenoteSectionsItemCopyToNotebookRequestBuilder(rawUrl string, reque // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytonotebook?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytonotebook?view=graph-rest-beta func (m *ItemOnenoteSectionsItemCopyToNotebookRequestBuilder) Post(ctx context.Context, body ItemOnenoteSectionsItemCopyToNotebookPostRequestBodyable, requestConfiguration *ItemOnenoteSectionsItemCopyToNotebookRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_onenote_sections_item_copy_to_section_group_request_builder.go b/groups/item_onenote_sections_item_copy_to_section_group_request_builder.go index 9af6e0a89bf..822ec19c0ac 100644 --- a/groups/item_onenote_sections_item_copy_to_section_group_request_builder.go +++ b/groups/item_onenote_sections_item_copy_to_section_group_request_builder.go @@ -36,7 +36,7 @@ func NewItemOnenoteSectionsItemCopyToSectionGroupRequestBuilder(rawUrl string, r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytosectiongroup?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytosectiongroup?view=graph-rest-beta func (m *ItemOnenoteSectionsItemCopyToSectionGroupRequestBuilder) Post(ctx context.Context, body ItemOnenoteSectionsItemCopyToSectionGroupPostRequestBodyable, requestConfiguration *ItemOnenoteSectionsItemCopyToSectionGroupRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_onenote_sections_item_pages_item_copy_to_section_request_builder.go b/groups/item_onenote_sections_item_pages_item_copy_to_section_request_builder.go index f2c9bc99e1d..6e1b7ff0c44 100644 --- a/groups/item_onenote_sections_item_pages_item_copy_to_section_request_builder.go +++ b/groups/item_onenote_sections_item_pages_item_copy_to_section_request_builder.go @@ -36,7 +36,7 @@ func NewItemOnenoteSectionsItemPagesItemCopyToSectionRequestBuilder(rawUrl strin // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/page-copytosection?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/page-copytosection?view=graph-rest-beta func (m *ItemOnenoteSectionsItemPagesItemCopyToSectionRequestBuilder) Post(ctx context.Context, body ItemOnenoteSectionsItemPagesItemCopyToSectionPostRequestBodyable, requestConfiguration *ItemOnenoteSectionsItemPagesItemCopyToSectionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { 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 27e503409f5..c945d1f8e9e 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 retrieve the properties and relationships of a section object. +// ItemOnenoteSectionsOnenoteSectionItemRequestBuilderGetQueryParameters the sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. type ItemOnenoteSectionsOnenoteSectionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -80,12 +80,9 @@ func (m *ItemOnenoteSectionsOnenoteSectionItemRequestBuilder) Delete(ctx context } return nil } -// Get retrieve the properties and relationships of a section object. +// Get the sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. // returns a OnenoteSectionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/section-get?view=graph-rest-1.0 func (m *ItemOnenoteSectionsOnenoteSectionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteSectionsOnenoteSectionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -149,7 +146,7 @@ func (m *ItemOnenoteSectionsOnenoteSectionItemRequestBuilder) ToDeleteRequestInf requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a section object. +// ToGetRequestInformation the sections in all OneNote notebooks that are owned by the user or group. 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 595f9857df9..1fe24120176 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 retrieve a list of section objects. +// ItemOnenoteSectionsRequestBuilderGetQueryParameters the sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. type ItemOnenoteSectionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemOnenoteSectionsRequestBuilder(rawUrl string, requestAdapter i2ae4187 func (m *ItemOnenoteSectionsRequestBuilder) Count()(*ItemOnenoteSectionsCountRequestBuilder) { return NewItemOnenoteSectionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of section objects. +// Get the sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. // returns a OnenoteSectionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/onenote-list-sections?view=graph-rest-1.0 func (m *ItemOnenoteSectionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteSectionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemOnenoteSectionsRequestBuilder) Post(ctx context.Context, body ie233 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable), nil } -// ToGetRequestInformation retrieve a list of section objects. +// ToGetRequestInformation the sections in all OneNote notebooks that are owned by the user or group. 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 edae2dc9562..fe70d0dbca6 100644 --- a/groups/item_owners_item_ref_request_builder.go +++ b/groups/item_owners_item_ref_request_builder.go @@ -30,11 +30,8 @@ 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 delete ref of navigation property owners for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/group-delete-owners?view=graph-rest-1.0 func (m *ItemOwnersItemRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemOwnersItemRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -49,7 +46,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 delete ref of navigation property owners for groups // 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 8faf4bb6315..503e26ecfd2 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 delete ref of navigation property owners for groups type ItemOwnersRefRequestBuilderDeleteQueryParameters struct { // The delete Uri Id *string `uriparametername:"%40id"` @@ -69,11 +69,8 @@ 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 delete ref of navigation property owners for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/group-delete-owners?view=graph-rest-1.0 func (m *ItemOwnersRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemOwnersRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -91,9 +88,6 @@ func (m *ItemOwnersRefRequestBuilder) Delete(ctx context.Context, requestConfigu // Get the owners of the group who can be users or service principals. Nullable. If this property isn't specified when creating a Microsoft 365 group, the calling user is automatically assigned as the group owner. Supports $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1); Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=owners($select=id,userPrincipalName,displayName). // returns a StringCollectionResponseable when successful // returns a ODataError error 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-list-owners?view=graph-rest-1.0 func (m *ItemOwnersRefRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOwnersRefRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -111,11 +105,8 @@ func (m *ItemOwnersRefRequestBuilder) Get(ctx context.Context, requestConfigurat } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable), nil } -// Post add a user or service principal to a Microsoft 365 or security group's owners. The owners are a set of users or service principals who are allowed to modify the group object. +// Post create new navigation property ref to owners for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/group-post-owners?view=graph-rest-1.0 func (m *ItemOwnersRefRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *ItemOwnersRefRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -130,7 +121,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 delete ref of navigation property owners for groups // 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) @@ -158,7 +149,7 @@ func (m *ItemOwnersRefRequestBuilder) ToGetRequestInformation(ctx context.Contex requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add a user or service principal to a Microsoft 365 or security group's owners. The owners are a set of users or service principals who are allowed to modify the group object. +// ToPostRequestInformation create new navigation property ref to owners for groups // returns a *RequestInformation when successful func (m *ItemOwnersRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *ItemOwnersRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/groups/{group%2Did}/owners/$ref", m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_owners_request_builder.go b/groups/item_owners_request_builder.go index b28d5480a44..6c23116f2aa 100644 --- a/groups/item_owners_request_builder.go +++ b/groups/item_owners_request_builder.go @@ -72,9 +72,6 @@ func (m *ItemOwnersRequestBuilder) Count()(*ItemOwnersCountRequestBuilder) { // Get the owners of the group who can be users or service principals. Nullable. If this property isn't specified when creating a Microsoft 365 group, the calling user is automatically assigned as the group owner. Supports $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1); Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=owners($select=id,userPrincipalName,displayName). // returns a DirectoryObjectCollectionResponseable when successful // returns a ODataError error 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-list-owners?view=graph-rest-1.0 func (m *ItemOwnersRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOwnersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_permission_grants_request_builder.go b/groups/item_permission_grants_request_builder.go index 3627e2f8fee..843115b4d93 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 the permissions granted for a group to a specific application. Supports $expand. type ItemPermissionGrantsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ 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 the permissions granted for a group to a specific application. Supports $expand. // returns a ResourceSpecificPermissionGrantCollectionResponseable when successful // returns a ODataError error 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-list-permissiongrants?view=graph-rest-1.0 func (m *ItemPermissionGrantsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPermissionGrantsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ResourceSpecificPermissionGrantCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,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 the permissions granted for a group to a specific application. Supports $expand. // 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_photos_item_value_content_request_builder.go b/groups/item_photos_item_value_content_request_builder.go index 48e8736a907..3e0ff74533d 100644 --- a/groups/item_photos_item_value_content_request_builder.go +++ b/groups/item_photos_item_value_content_request_builder.go @@ -40,9 +40,6 @@ func NewItemPhotosItemValueContentRequestBuilder(rawUrl string, requestAdapter i // Get get media content for the navigation property photos from groups // 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/group-list-photos?view=graph-rest-1.0 func (m *ItemPhotosItemValueContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPhotosItemValueContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_photos_request_builder.go b/groups/item_photos_request_builder.go index bd36dbb287f..da6f68b1975 100644 --- a/groups/item_photos_request_builder.go +++ b/groups/item_photos_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemPhotosRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemPhotosRequestBuilderGetQueryParameters retrieve a list of profilePhoto objects. +// ItemPhotosRequestBuilderGetQueryParameters the profile photos owned by the group. Read-only. Nullable. type ItemPhotosRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` @@ -58,12 +58,9 @@ func NewItemPhotosRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263 urlParams["request-raw-url"] = rawUrl return NewItemPhotosRequestBuilderInternal(urlParams, requestAdapter) } -// Get retrieve a list of profilePhoto objects. +// Get the profile photos owned by the group. Read-only. Nullable. // returns a ProfilePhotoCollectionResponseable when successful // returns a ODataError error 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-list-photos?view=graph-rest-1.0 func (m *ItemPhotosRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPhotosRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProfilePhotoCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -81,7 +78,7 @@ func (m *ItemPhotosRequestBuilder) Get(ctx context.Context, requestConfiguration } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProfilePhotoCollectionResponseable), nil } -// ToGetRequestInformation retrieve a list of profilePhoto objects. +// ToGetRequestInformation the profile photos owned by the group. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemPhotosRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPhotosRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_planner_plans_delta_request_builder.go b/groups/item_planner_plans_delta_request_builder.go index 5f55772b007..b42bd516281 100644 --- a/groups/item_planner_plans_delta_request_builder.go +++ b/groups/item_planner_plans_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemPlannerPlansDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemPlannerPlansDeltaRequestBuilderGetQueryParameters invoke function delta +// ItemPlannerPlansDeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted Planner plans in either a group or a Planner roster without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. type ItemPlannerPlansDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewItemPlannerPlansDeltaRequestBuilder(rawUrl string, requestAdapter i2ae41 urlParams["request-raw-url"] = rawUrl return NewItemPlannerPlansDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get get newly created, updated, or deleted Planner plans in either a group or a Planner roster without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemPlannerPlansDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/plannerplan-delta?view=graph-rest-beta func (m *ItemPlannerPlansDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPlannerPlansDeltaRequestBuilderGetRequestConfiguration)(ItemPlannerPlansDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ItemPlannerPlansDeltaRequestBuilder) Get(ctx context.Context, requestCo } return res.(ItemPlannerPlansDeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse get newly created, updated, or deleted Planner plans in either a group or a Planner roster without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. // returns a ItemPlannerPlansDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/plannerplan-delta?view=graph-rest-beta func (m *ItemPlannerPlansDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemPlannerPlansDeltaRequestBuilderGetRequestConfiguration)(ItemPlannerPlansDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ItemPlannerPlansDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context. } return res.(ItemPlannerPlansDeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation get newly created, updated, or deleted Planner plans in either a group or a Planner roster without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. // returns a *RequestInformation when successful func (m *ItemPlannerPlansDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPlannerPlansDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_planner_plans_item_buckets_delta_request_builder.go b/groups/item_planner_plans_item_buckets_delta_request_builder.go index 3f5e7728311..6d803d12b36 100644 --- a/groups/item_planner_plans_item_buckets_delta_request_builder.go +++ b/groups/item_planner_plans_item_buckets_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemPlannerPlansItemBucketsDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemPlannerPlansItemBucketsDeltaRequestBuilderGetQueryParameters invoke function delta +// ItemPlannerPlansItemBucketsDeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted buckets in a Planner plan without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. type ItemPlannerPlansItemBucketsDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewItemPlannerPlansItemBucketsDeltaRequestBuilder(rawUrl string, requestAda urlParams["request-raw-url"] = rawUrl return NewItemPlannerPlansItemBucketsDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get get newly created, updated, or deleted buckets in a Planner plan without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemPlannerPlansItemBucketsDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/plannerbucket-delta?view=graph-rest-beta func (m *ItemPlannerPlansItemBucketsDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPlannerPlansItemBucketsDeltaRequestBuilderGetRequestConfiguration)(ItemPlannerPlansItemBucketsDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ItemPlannerPlansItemBucketsDeltaRequestBuilder) Get(ctx context.Context } return res.(ItemPlannerPlansItemBucketsDeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse get newly created, updated, or deleted buckets in a Planner plan without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. // returns a ItemPlannerPlansItemBucketsDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/plannerbucket-delta?view=graph-rest-beta func (m *ItemPlannerPlansItemBucketsDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemPlannerPlansItemBucketsDeltaRequestBuilderGetRequestConfiguration)(ItemPlannerPlansItemBucketsDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ItemPlannerPlansItemBucketsDeltaRequestBuilder) GetAsDeltaGetResponse(c } return res.(ItemPlannerPlansItemBucketsDeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation get newly created, updated, or deleted buckets in a Planner plan without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. // returns a *RequestInformation when successful func (m *ItemPlannerPlansItemBucketsDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPlannerPlansItemBucketsDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_planner_plans_item_buckets_item_tasks_delta_request_builder.go b/groups/item_planner_plans_item_buckets_item_tasks_delta_request_builder.go index 5053354a785..b496d545879 100644 --- a/groups/item_planner_plans_item_buckets_item_tasks_delta_request_builder.go +++ b/groups/item_planner_plans_item_buckets_item_tasks_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemPlannerPlansItemBucketsItemTasksDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemPlannerPlansItemBucketsItemTasksDeltaRequestBuilderGetQueryParameters invoke function delta +// ItemPlannerPlansItemBucketsItemTasksDeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted tasks in either a Planner plan or assigned to the signed-in user without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. type ItemPlannerPlansItemBucketsItemTasksDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewItemPlannerPlansItemBucketsItemTasksDeltaRequestBuilder(rawUrl string, r urlParams["request-raw-url"] = rawUrl return NewItemPlannerPlansItemBucketsItemTasksDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get get newly created, updated, or deleted tasks in either a Planner plan or assigned to the signed-in user without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemPlannerPlansItemBucketsItemTasksDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/plannertask-delta?view=graph-rest-beta func (m *ItemPlannerPlansItemBucketsItemTasksDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPlannerPlansItemBucketsItemTasksDeltaRequestBuilderGetRequestConfiguration)(ItemPlannerPlansItemBucketsItemTasksDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ItemPlannerPlansItemBucketsItemTasksDeltaRequestBuilder) Get(ctx contex } return res.(ItemPlannerPlansItemBucketsItemTasksDeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse get newly created, updated, or deleted tasks in either a Planner plan or assigned to the signed-in user without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. // returns a ItemPlannerPlansItemBucketsItemTasksDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/plannertask-delta?view=graph-rest-beta func (m *ItemPlannerPlansItemBucketsItemTasksDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemPlannerPlansItemBucketsItemTasksDeltaRequestBuilderGetRequestConfiguration)(ItemPlannerPlansItemBucketsItemTasksDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksDeltaRequestBuilder) GetAsDeltaGetR } return res.(ItemPlannerPlansItemBucketsItemTasksDeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation get newly created, updated, or deleted tasks in either a Planner plan or assigned to the signed-in user without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. // returns a *RequestInformation when successful func (m *ItemPlannerPlansItemBucketsItemTasksDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPlannerPlansItemBucketsItemTasksDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_planner_plans_item_buckets_item_tasks_item_assigned_to_task_board_format_request_builder.go b/groups/item_planner_plans_item_buckets_item_tasks_item_assigned_to_task_board_format_request_builder.go index 8b2bcbac408..b5b46912960 100644 --- a/groups/item_planner_plans_item_buckets_item_tasks_item_assigned_to_task_board_format_request_builder.go +++ b/groups/item_planner_plans_item_buckets_item_tasks_item_assigned_to_task_board_format_request_builder.go @@ -18,7 +18,7 @@ type ItemPlannerPlansItemBucketsItemTasksItemAssignedToTaskBoardFormatRequestBui // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemPlannerPlansItemBucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilderGetQueryParameters retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. +// ItemPlannerPlansItemBucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilderGetQueryParameters read-only. Nullable. Used to render the task correctly in the task board view when grouped by assignedTo. type ItemPlannerPlansItemBucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemPlannerPlansItemBucketsItemTasksItemAssignedToTaskBoardFormatReques } return nil } -// Get retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. +// Get read-only. Nullable. Used to render the task correctly in the task board view when grouped by assignedTo. // returns a PlannerAssignedToTaskBoardTaskFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerassignedtotaskboardtaskformat-get?view=graph-rest-1.0 func (m *ItemPlannerPlansItemBucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPlannerPlansItemBucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerAssignedToTaskBoardTaskFormatable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,9 +93,6 @@ func (m *ItemPlannerPlansItemBucketsItemTasksItemAssignedToTaskBoardFormatReques // Patch update the navigation property assignedToTaskBoardFormat in groups // returns a PlannerAssignedToTaskBoardTaskFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerassignedtotaskboardtaskformat-update?view=graph-rest-1.0 func (m *ItemPlannerPlansItemBucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerAssignedToTaskBoardTaskFormatable, requestConfiguration *ItemPlannerPlansItemBucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerAssignedToTaskBoardTaskFormatable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksItemAssignedToTaskBoardFormatReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. +// ToGetRequestInformation read-only. Nullable. Used to render the task correctly in the task board view when grouped by assignedTo. // returns a *RequestInformation when successful func (m *ItemPlannerPlansItemBucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPlannerPlansItemBucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_planner_plans_item_buckets_item_tasks_item_bucket_task_board_format_request_builder.go b/groups/item_planner_plans_item_buckets_item_tasks_item_bucket_task_board_format_request_builder.go index 6de0ec5e18e..5ccf560a607 100644 --- a/groups/item_planner_plans_item_buckets_item_tasks_item_bucket_task_board_format_request_builder.go +++ b/groups/item_planner_plans_item_buckets_item_tasks_item_bucket_task_board_format_request_builder.go @@ -18,7 +18,7 @@ type ItemPlannerPlansItemBucketsItemTasksItemBucketTaskBoardFormatRequestBuilder // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemPlannerPlansItemBucketsItemTasksItemBucketTaskBoardFormatRequestBuilderGetQueryParameters retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. +// ItemPlannerPlansItemBucketsItemTasksItemBucketTaskBoardFormatRequestBuilderGetQueryParameters read-only. Nullable. Used to render the task correctly in the task board view when grouped by bucket. type ItemPlannerPlansItemBucketsItemTasksItemBucketTaskBoardFormatRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemPlannerPlansItemBucketsItemTasksItemBucketTaskBoardFormatRequestBui } return nil } -// Get retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. +// Get read-only. Nullable. Used to render the task correctly in the task board view when grouped by bucket. // returns a PlannerBucketTaskBoardTaskFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerbuckettaskboardtaskformat-get?view=graph-rest-1.0 func (m *ItemPlannerPlansItemBucketsItemTasksItemBucketTaskBoardFormatRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPlannerPlansItemBucketsItemTasksItemBucketTaskBoardFormatRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerBucketTaskBoardTaskFormatable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,9 +93,6 @@ func (m *ItemPlannerPlansItemBucketsItemTasksItemBucketTaskBoardFormatRequestBui // Patch update the navigation property bucketTaskBoardFormat in groups // returns a PlannerBucketTaskBoardTaskFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerbuckettaskboardtaskformat-update?view=graph-rest-1.0 func (m *ItemPlannerPlansItemBucketsItemTasksItemBucketTaskBoardFormatRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerBucketTaskBoardTaskFormatable, requestConfiguration *ItemPlannerPlansItemBucketsItemTasksItemBucketTaskBoardFormatRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerBucketTaskBoardTaskFormatable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksItemBucketTaskBoardFormatRequestBui requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. +// ToGetRequestInformation read-only. Nullable. Used to render the task correctly in the task board view when grouped by bucket. // returns a *RequestInformation when successful func (m *ItemPlannerPlansItemBucketsItemTasksItemBucketTaskBoardFormatRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPlannerPlansItemBucketsItemTasksItemBucketTaskBoardFormatRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_planner_plans_item_buckets_item_tasks_item_details_request_builder.go b/groups/item_planner_plans_item_buckets_item_tasks_item_details_request_builder.go index 6328c546b2f..d6d661095ab 100644 --- a/groups/item_planner_plans_item_buckets_item_tasks_item_details_request_builder.go +++ b/groups/item_planner_plans_item_buckets_item_tasks_item_details_request_builder.go @@ -18,7 +18,7 @@ type ItemPlannerPlansItemBucketsItemTasksItemDetailsRequestBuilderDeleteRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemPlannerPlansItemBucketsItemTasksItemDetailsRequestBuilderGetQueryParameters retrieve the properties and relationships of a plannerTaskDetails object. +// ItemPlannerPlansItemBucketsItemTasksItemDetailsRequestBuilderGetQueryParameters read-only. Nullable. More details about the task. type ItemPlannerPlansItemBucketsItemTasksItemDetailsRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemPlannerPlansItemBucketsItemTasksItemDetailsRequestBuilder) Delete(c } return nil } -// Get retrieve the properties and relationships of a plannerTaskDetails object. +// Get read-only. Nullable. More details about the task. // returns a PlannerTaskDetailsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannertaskdetails-get?view=graph-rest-1.0 func (m *ItemPlannerPlansItemBucketsItemTasksItemDetailsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPlannerPlansItemBucketsItemTasksItemDetailsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskDetailsable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,9 +93,6 @@ func (m *ItemPlannerPlansItemBucketsItemTasksItemDetailsRequestBuilder) Get(ctx // Patch update the navigation property details in groups // returns a PlannerTaskDetailsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannertaskdetails-update?view=graph-rest-1.0 func (m *ItemPlannerPlansItemBucketsItemTasksItemDetailsRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskDetailsable, requestConfiguration *ItemPlannerPlansItemBucketsItemTasksItemDetailsRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskDetailsable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksItemDetailsRequestBuilder) ToDelete requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a plannerTaskDetails object. +// ToGetRequestInformation read-only. Nullable. More details about the task. // returns a *RequestInformation when successful func (m *ItemPlannerPlansItemBucketsItemTasksItemDetailsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPlannerPlansItemBucketsItemTasksItemDetailsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_planner_plans_item_buckets_item_tasks_item_progress_task_board_format_request_builder.go b/groups/item_planner_plans_item_buckets_item_tasks_item_progress_task_board_format_request_builder.go index 8a50d502c21..b626d2ffc9f 100644 --- a/groups/item_planner_plans_item_buckets_item_tasks_item_progress_task_board_format_request_builder.go +++ b/groups/item_planner_plans_item_buckets_item_tasks_item_progress_task_board_format_request_builder.go @@ -18,7 +18,7 @@ type ItemPlannerPlansItemBucketsItemTasksItemProgressTaskBoardFormatRequestBuild // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemPlannerPlansItemBucketsItemTasksItemProgressTaskBoardFormatRequestBuilderGetQueryParameters retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. +// ItemPlannerPlansItemBucketsItemTasksItemProgressTaskBoardFormatRequestBuilderGetQueryParameters read-only. Nullable. Used to render the task correctly in the task board view when grouped by progress. type ItemPlannerPlansItemBucketsItemTasksItemProgressTaskBoardFormatRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemPlannerPlansItemBucketsItemTasksItemProgressTaskBoardFormatRequestB } return nil } -// Get retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. +// Get read-only. Nullable. Used to render the task correctly in the task board view when grouped by progress. // returns a PlannerProgressTaskBoardTaskFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerprogresstaskboardtaskformat-get?view=graph-rest-1.0 func (m *ItemPlannerPlansItemBucketsItemTasksItemProgressTaskBoardFormatRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPlannerPlansItemBucketsItemTasksItemProgressTaskBoardFormatRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerProgressTaskBoardTaskFormatable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,9 +93,6 @@ func (m *ItemPlannerPlansItemBucketsItemTasksItemProgressTaskBoardFormatRequestB // Patch update the navigation property progressTaskBoardFormat in groups // returns a PlannerProgressTaskBoardTaskFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerprogresstaskboardtaskformat-update?view=graph-rest-1.0 func (m *ItemPlannerPlansItemBucketsItemTasksItemProgressTaskBoardFormatRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerProgressTaskBoardTaskFormatable, requestConfiguration *ItemPlannerPlansItemBucketsItemTasksItemProgressTaskBoardFormatRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerProgressTaskBoardTaskFormatable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksItemProgressTaskBoardFormatRequestB requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. +// ToGetRequestInformation read-only. Nullable. Used to render the task correctly in the task board view when grouped by progress. // returns a *RequestInformation when successful func (m *ItemPlannerPlansItemBucketsItemTasksItemProgressTaskBoardFormatRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPlannerPlansItemBucketsItemTasksItemProgressTaskBoardFormatRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_planner_plans_item_buckets_item_tasks_request_builder.go b/groups/item_planner_plans_item_buckets_item_tasks_request_builder.go index a2f008e658e..9b654d9f597 100644 --- a/groups/item_planner_plans_item_buckets_item_tasks_request_builder.go +++ b/groups/item_planner_plans_item_buckets_item_tasks_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemPlannerPlansItemBucketsItemTasksRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemPlannerPlansItemBucketsItemTasksRequestBuilderGetQueryParameters retrieve a list of plannerTask objects associated to a plannerBucket object. +// ItemPlannerPlansItemBucketsItemTasksRequestBuilderGetQueryParameters read-only. Nullable. The collection of tasks in the bucket. type ItemPlannerPlansItemBucketsItemTasksRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *ItemPlannerPlansItemBucketsItemTasksRequestBuilder) Count()(*ItemPlanne func (m *ItemPlannerPlansItemBucketsItemTasksRequestBuilder) Delta()(*ItemPlannerPlansItemBucketsItemTasksDeltaRequestBuilder) { return NewItemPlannerPlansItemBucketsItemTasksDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of plannerTask objects associated to a plannerBucket object. +// Get read-only. Nullable. The collection of tasks in the bucket. // returns a PlannerTaskCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerbucket-list-tasks?view=graph-rest-1.0 func (m *ItemPlannerPlansItemBucketsItemTasksRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPlannerPlansItemBucketsItemTasksRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksRequestBuilder) Post(ctx context.Co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskable), nil } -// ToGetRequestInformation retrieve a list of plannerTask objects associated to a plannerBucket object. +// ToGetRequestInformation read-only. Nullable. The collection of tasks in the bucket. // returns a *RequestInformation when successful func (m *ItemPlannerPlansItemBucketsItemTasksRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPlannerPlansItemBucketsItemTasksRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_planner_plans_item_buckets_request_builder.go b/groups/item_planner_plans_item_buckets_request_builder.go index 6d5cfc147dc..6477acf9297 100644 --- a/groups/item_planner_plans_item_buckets_request_builder.go +++ b/groups/item_planner_plans_item_buckets_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemPlannerPlansItemBucketsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemPlannerPlansItemBucketsRequestBuilderGetQueryParameters retrieve a list of plannerBucket objects contained by a plannerPlan object. +// ItemPlannerPlansItemBucketsRequestBuilderGetQueryParameters collection of buckets in the plan. Read-only. Nullable. type ItemPlannerPlansItemBucketsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *ItemPlannerPlansItemBucketsRequestBuilder) Count()(*ItemPlannerPlansIte func (m *ItemPlannerPlansItemBucketsRequestBuilder) Delta()(*ItemPlannerPlansItemBucketsDeltaRequestBuilder) { return NewItemPlannerPlansItemBucketsDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of plannerBucket objects contained by a plannerPlan object. +// Get collection of buckets in the plan. Read-only. Nullable. // returns a PlannerBucketCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerplan-list-buckets?view=graph-rest-1.0 func (m *ItemPlannerPlansItemBucketsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPlannerPlansItemBucketsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerBucketCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemPlannerPlansItemBucketsRequestBuilder) Post(ctx context.Context, bo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerBucketable), nil } -// ToGetRequestInformation retrieve a list of plannerBucket objects contained by a plannerPlan object. +// ToGetRequestInformation collection of buckets in the plan. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemPlannerPlansItemBucketsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPlannerPlansItemBucketsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_planner_plans_item_details_request_builder.go b/groups/item_planner_plans_item_details_request_builder.go index 2cac20e92f0..f86334e1dca 100644 --- a/groups/item_planner_plans_item_details_request_builder.go +++ b/groups/item_planner_plans_item_details_request_builder.go @@ -18,7 +18,7 @@ type ItemPlannerPlansItemDetailsRequestBuilderDeleteRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemPlannerPlansItemDetailsRequestBuilderGetQueryParameters retrieve the properties and relationships of a plannerPlanDetails object. +// ItemPlannerPlansItemDetailsRequestBuilderGetQueryParameters extra details about the plan. Read-only. Nullable. type ItemPlannerPlansItemDetailsRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemPlannerPlansItemDetailsRequestBuilder) Delete(ctx context.Context, } return nil } -// Get retrieve the properties and relationships of a plannerPlanDetails object. +// Get extra details about the plan. Read-only. Nullable. // returns a PlannerPlanDetailsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerplandetails-get?view=graph-rest-1.0 func (m *ItemPlannerPlansItemDetailsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPlannerPlansItemDetailsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanDetailsable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,9 +93,6 @@ func (m *ItemPlannerPlansItemDetailsRequestBuilder) Get(ctx context.Context, req // Patch update the navigation property details in groups // returns a PlannerPlanDetailsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerplandetails-update?view=graph-rest-1.0 func (m *ItemPlannerPlansItemDetailsRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanDetailsable, requestConfiguration *ItemPlannerPlansItemDetailsRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanDetailsable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemPlannerPlansItemDetailsRequestBuilder) ToDeleteRequestInformation(c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a plannerPlanDetails object. +// ToGetRequestInformation extra details about the plan. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemPlannerPlansItemDetailsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPlannerPlansItemDetailsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_planner_plans_item_move_to_container_request_builder.go b/groups/item_planner_plans_item_move_to_container_request_builder.go index b3e3e559d7d..7d0b621f926 100644 --- a/groups/item_planner_plans_item_move_to_container_request_builder.go +++ b/groups/item_planner_plans_item_move_to_container_request_builder.go @@ -36,7 +36,7 @@ func NewItemPlannerPlansItemMoveToContainerRequestBuilder(rawUrl string, request // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerplan-movetocontainer?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/plannerplan-movetocontainer?view=graph-rest-beta func (m *ItemPlannerPlansItemMoveToContainerRequestBuilder) Post(ctx context.Context, body ItemPlannerPlansItemMoveToContainerPostRequestBodyable, requestConfiguration *ItemPlannerPlansItemMoveToContainerRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_planner_plans_item_tasks_delta_request_builder.go b/groups/item_planner_plans_item_tasks_delta_request_builder.go index 52dbdf63a93..51fcfa64c52 100644 --- a/groups/item_planner_plans_item_tasks_delta_request_builder.go +++ b/groups/item_planner_plans_item_tasks_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemPlannerPlansItemTasksDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemPlannerPlansItemTasksDeltaRequestBuilderGetQueryParameters invoke function delta +// ItemPlannerPlansItemTasksDeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted tasks in either a Planner plan or assigned to the signed-in user without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. type ItemPlannerPlansItemTasksDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewItemPlannerPlansItemTasksDeltaRequestBuilder(rawUrl string, requestAdapt urlParams["request-raw-url"] = rawUrl return NewItemPlannerPlansItemTasksDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get get newly created, updated, or deleted tasks in either a Planner plan or assigned to the signed-in user without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemPlannerPlansItemTasksDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/plannertask-delta?view=graph-rest-beta func (m *ItemPlannerPlansItemTasksDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPlannerPlansItemTasksDeltaRequestBuilderGetRequestConfiguration)(ItemPlannerPlansItemTasksDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ItemPlannerPlansItemTasksDeltaRequestBuilder) Get(ctx context.Context, } return res.(ItemPlannerPlansItemTasksDeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse get newly created, updated, or deleted tasks in either a Planner plan or assigned to the signed-in user without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. // returns a ItemPlannerPlansItemTasksDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/plannertask-delta?view=graph-rest-beta func (m *ItemPlannerPlansItemTasksDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemPlannerPlansItemTasksDeltaRequestBuilderGetRequestConfiguration)(ItemPlannerPlansItemTasksDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ItemPlannerPlansItemTasksDeltaRequestBuilder) GetAsDeltaGetResponse(ctx } return res.(ItemPlannerPlansItemTasksDeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation get newly created, updated, or deleted tasks in either a Planner plan or assigned to the signed-in user without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. // returns a *RequestInformation when successful func (m *ItemPlannerPlansItemTasksDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPlannerPlansItemTasksDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_planner_plans_item_tasks_item_assigned_to_task_board_format_request_builder.go b/groups/item_planner_plans_item_tasks_item_assigned_to_task_board_format_request_builder.go index 56bce3d589b..c14fcd90d32 100644 --- a/groups/item_planner_plans_item_tasks_item_assigned_to_task_board_format_request_builder.go +++ b/groups/item_planner_plans_item_tasks_item_assigned_to_task_board_format_request_builder.go @@ -18,7 +18,7 @@ type ItemPlannerPlansItemTasksItemAssignedToTaskBoardFormatRequestBuilderDeleteR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemPlannerPlansItemTasksItemAssignedToTaskBoardFormatRequestBuilderGetQueryParameters retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. +// ItemPlannerPlansItemTasksItemAssignedToTaskBoardFormatRequestBuilderGetQueryParameters read-only. Nullable. Used to render the task correctly in the task board view when grouped by assignedTo. type ItemPlannerPlansItemTasksItemAssignedToTaskBoardFormatRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemPlannerPlansItemTasksItemAssignedToTaskBoardFormatRequestBuilder) D } return nil } -// Get retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. +// Get read-only. Nullable. Used to render the task correctly in the task board view when grouped by assignedTo. // returns a PlannerAssignedToTaskBoardTaskFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerassignedtotaskboardtaskformat-get?view=graph-rest-1.0 func (m *ItemPlannerPlansItemTasksItemAssignedToTaskBoardFormatRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPlannerPlansItemTasksItemAssignedToTaskBoardFormatRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerAssignedToTaskBoardTaskFormatable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,9 +93,6 @@ func (m *ItemPlannerPlansItemTasksItemAssignedToTaskBoardFormatRequestBuilder) G // Patch update the navigation property assignedToTaskBoardFormat in groups // returns a PlannerAssignedToTaskBoardTaskFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerassignedtotaskboardtaskformat-update?view=graph-rest-1.0 func (m *ItemPlannerPlansItemTasksItemAssignedToTaskBoardFormatRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerAssignedToTaskBoardTaskFormatable, requestConfiguration *ItemPlannerPlansItemTasksItemAssignedToTaskBoardFormatRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerAssignedToTaskBoardTaskFormatable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemPlannerPlansItemTasksItemAssignedToTaskBoardFormatRequestBuilder) T requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. +// ToGetRequestInformation read-only. Nullable. Used to render the task correctly in the task board view when grouped by assignedTo. // returns a *RequestInformation when successful func (m *ItemPlannerPlansItemTasksItemAssignedToTaskBoardFormatRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPlannerPlansItemTasksItemAssignedToTaskBoardFormatRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_planner_plans_item_tasks_item_bucket_task_board_format_request_builder.go b/groups/item_planner_plans_item_tasks_item_bucket_task_board_format_request_builder.go index 11666816808..8f4f23485b5 100644 --- a/groups/item_planner_plans_item_tasks_item_bucket_task_board_format_request_builder.go +++ b/groups/item_planner_plans_item_tasks_item_bucket_task_board_format_request_builder.go @@ -18,7 +18,7 @@ type ItemPlannerPlansItemTasksItemBucketTaskBoardFormatRequestBuilderDeleteReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemPlannerPlansItemTasksItemBucketTaskBoardFormatRequestBuilderGetQueryParameters retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. +// ItemPlannerPlansItemTasksItemBucketTaskBoardFormatRequestBuilderGetQueryParameters read-only. Nullable. Used to render the task correctly in the task board view when grouped by bucket. type ItemPlannerPlansItemTasksItemBucketTaskBoardFormatRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemPlannerPlansItemTasksItemBucketTaskBoardFormatRequestBuilder) Delet } return nil } -// Get retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. +// Get read-only. Nullable. Used to render the task correctly in the task board view when grouped by bucket. // returns a PlannerBucketTaskBoardTaskFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerbuckettaskboardtaskformat-get?view=graph-rest-1.0 func (m *ItemPlannerPlansItemTasksItemBucketTaskBoardFormatRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPlannerPlansItemTasksItemBucketTaskBoardFormatRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerBucketTaskBoardTaskFormatable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,9 +93,6 @@ func (m *ItemPlannerPlansItemTasksItemBucketTaskBoardFormatRequestBuilder) Get(c // Patch update the navigation property bucketTaskBoardFormat in groups // returns a PlannerBucketTaskBoardTaskFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerbuckettaskboardtaskformat-update?view=graph-rest-1.0 func (m *ItemPlannerPlansItemTasksItemBucketTaskBoardFormatRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerBucketTaskBoardTaskFormatable, requestConfiguration *ItemPlannerPlansItemTasksItemBucketTaskBoardFormatRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerBucketTaskBoardTaskFormatable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemPlannerPlansItemTasksItemBucketTaskBoardFormatRequestBuilder) ToDel requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. +// ToGetRequestInformation read-only. Nullable. Used to render the task correctly in the task board view when grouped by bucket. // returns a *RequestInformation when successful func (m *ItemPlannerPlansItemTasksItemBucketTaskBoardFormatRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPlannerPlansItemTasksItemBucketTaskBoardFormatRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_planner_plans_item_tasks_item_details_request_builder.go b/groups/item_planner_plans_item_tasks_item_details_request_builder.go index 757144eb90f..227f394e7a4 100644 --- a/groups/item_planner_plans_item_tasks_item_details_request_builder.go +++ b/groups/item_planner_plans_item_tasks_item_details_request_builder.go @@ -18,7 +18,7 @@ type ItemPlannerPlansItemTasksItemDetailsRequestBuilderDeleteRequestConfiguratio // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemPlannerPlansItemTasksItemDetailsRequestBuilderGetQueryParameters retrieve the properties and relationships of a plannerTaskDetails object. +// ItemPlannerPlansItemTasksItemDetailsRequestBuilderGetQueryParameters read-only. Nullable. More details about the task. type ItemPlannerPlansItemTasksItemDetailsRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemPlannerPlansItemTasksItemDetailsRequestBuilder) Delete(ctx context. } return nil } -// Get retrieve the properties and relationships of a plannerTaskDetails object. +// Get read-only. Nullable. More details about the task. // returns a PlannerTaskDetailsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannertaskdetails-get?view=graph-rest-1.0 func (m *ItemPlannerPlansItemTasksItemDetailsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPlannerPlansItemTasksItemDetailsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskDetailsable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,9 +93,6 @@ func (m *ItemPlannerPlansItemTasksItemDetailsRequestBuilder) Get(ctx context.Con // Patch update the navigation property details in groups // returns a PlannerTaskDetailsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannertaskdetails-update?view=graph-rest-1.0 func (m *ItemPlannerPlansItemTasksItemDetailsRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskDetailsable, requestConfiguration *ItemPlannerPlansItemTasksItemDetailsRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskDetailsable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemPlannerPlansItemTasksItemDetailsRequestBuilder) ToDeleteRequestInfo requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a plannerTaskDetails object. +// ToGetRequestInformation read-only. Nullable. More details about the task. // returns a *RequestInformation when successful func (m *ItemPlannerPlansItemTasksItemDetailsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPlannerPlansItemTasksItemDetailsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_planner_plans_item_tasks_item_progress_task_board_format_request_builder.go b/groups/item_planner_plans_item_tasks_item_progress_task_board_format_request_builder.go index 4a25864c146..ad7b0857dac 100644 --- a/groups/item_planner_plans_item_tasks_item_progress_task_board_format_request_builder.go +++ b/groups/item_planner_plans_item_tasks_item_progress_task_board_format_request_builder.go @@ -18,7 +18,7 @@ type ItemPlannerPlansItemTasksItemProgressTaskBoardFormatRequestBuilderDeleteReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemPlannerPlansItemTasksItemProgressTaskBoardFormatRequestBuilderGetQueryParameters retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. +// ItemPlannerPlansItemTasksItemProgressTaskBoardFormatRequestBuilderGetQueryParameters read-only. Nullable. Used to render the task correctly in the task board view when grouped by progress. type ItemPlannerPlansItemTasksItemProgressTaskBoardFormatRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemPlannerPlansItemTasksItemProgressTaskBoardFormatRequestBuilder) Del } return nil } -// Get retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. +// Get read-only. Nullable. Used to render the task correctly in the task board view when grouped by progress. // returns a PlannerProgressTaskBoardTaskFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerprogresstaskboardtaskformat-get?view=graph-rest-1.0 func (m *ItemPlannerPlansItemTasksItemProgressTaskBoardFormatRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPlannerPlansItemTasksItemProgressTaskBoardFormatRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerProgressTaskBoardTaskFormatable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,9 +93,6 @@ func (m *ItemPlannerPlansItemTasksItemProgressTaskBoardFormatRequestBuilder) Get // Patch update the navigation property progressTaskBoardFormat in groups // returns a PlannerProgressTaskBoardTaskFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerprogresstaskboardtaskformat-update?view=graph-rest-1.0 func (m *ItemPlannerPlansItemTasksItemProgressTaskBoardFormatRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerProgressTaskBoardTaskFormatable, requestConfiguration *ItemPlannerPlansItemTasksItemProgressTaskBoardFormatRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerProgressTaskBoardTaskFormatable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemPlannerPlansItemTasksItemProgressTaskBoardFormatRequestBuilder) ToD requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. +// ToGetRequestInformation read-only. Nullable. Used to render the task correctly in the task board view when grouped by progress. // returns a *RequestInformation when successful func (m *ItemPlannerPlansItemTasksItemProgressTaskBoardFormatRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPlannerPlansItemTasksItemProgressTaskBoardFormatRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_planner_plans_item_tasks_request_builder.go b/groups/item_planner_plans_item_tasks_request_builder.go index 753db45c538..169ddbdf26a 100644 --- a/groups/item_planner_plans_item_tasks_request_builder.go +++ b/groups/item_planner_plans_item_tasks_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemPlannerPlansItemTasksRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemPlannerPlansItemTasksRequestBuilderGetQueryParameters retrieve a list of plannerTask objects associated with a plannerPlan object. +// ItemPlannerPlansItemTasksRequestBuilderGetQueryParameters collection of tasks in the plan. Read-only. Nullable. type ItemPlannerPlansItemTasksRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *ItemPlannerPlansItemTasksRequestBuilder) Count()(*ItemPlannerPlansItemT func (m *ItemPlannerPlansItemTasksRequestBuilder) Delta()(*ItemPlannerPlansItemTasksDeltaRequestBuilder) { return NewItemPlannerPlansItemTasksDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of plannerTask objects associated with a plannerPlan object. +// Get collection of tasks in the plan. Read-only. Nullable. // returns a PlannerTaskCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerplan-list-tasks?view=graph-rest-1.0 func (m *ItemPlannerPlansItemTasksRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPlannerPlansItemTasksRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemPlannerPlansItemTasksRequestBuilder) Post(ctx context.Context, body } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskable), nil } -// ToGetRequestInformation retrieve a list of plannerTask objects associated with a plannerPlan object. +// ToGetRequestInformation collection of tasks in the plan. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemPlannerPlansItemTasksRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPlannerPlansItemTasksRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_planner_plans_request_builder.go b/groups/item_planner_plans_request_builder.go index 6ff0c5ec6ee..8de289abaf4 100644 --- a/groups/item_planner_plans_request_builder.go +++ b/groups/item_planner_plans_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemPlannerPlansRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemPlannerPlansRequestBuilderGetQueryParameters retrieve a list of plannerPlan objects owned by a group object. +// ItemPlannerPlansRequestBuilderGetQueryParameters read-only. Nullable. Returns the plannerPlans owned by the group. type ItemPlannerPlansRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *ItemPlannerPlansRequestBuilder) Count()(*ItemPlannerPlansCountRequestBu func (m *ItemPlannerPlansRequestBuilder) Delta()(*ItemPlannerPlansDeltaRequestBuilder) { return NewItemPlannerPlansDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of plannerPlan objects owned by a group object. +// Get read-only. Nullable. Returns the plannerPlans owned by the group. // returns a PlannerPlanCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannergroup-list-plans?view=graph-rest-1.0 func (m *ItemPlannerPlansRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPlannerPlansRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemPlannerPlansRequestBuilder) Post(ctx context.Context, body ie233ee7 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanable), nil } -// ToGetRequestInformation retrieve a list of plannerPlan objects owned by a group object. +// ToGetRequestInformation read-only. Nullable. Returns the plannerPlans owned by the group. // returns a *RequestInformation when successful func (m *ItemPlannerPlansRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPlannerPlansRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_rejected_senders_item_ref_request_builder.go b/groups/item_rejected_senders_item_ref_request_builder.go index 2c5c6dc95b5..ceb8de99b6f 100644 --- a/groups/item_rejected_senders_item_ref_request_builder.go +++ b/groups/item_rejected_senders_item_ref_request_builder.go @@ -30,11 +30,8 @@ func NewItemRejectedSendersItemRefRequestBuilder(rawUrl string, requestAdapter i urlParams["request-raw-url"] = rawUrl return NewItemRejectedSendersItemRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove a user or group from the rejected-senders list of the specified group. +// Delete delete ref of navigation property rejectedSenders for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/group-delete-rejectedsenders?view=graph-rest-1.0 func (m *ItemRejectedSendersItemRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemRejectedSendersItemRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -49,7 +46,7 @@ func (m *ItemRejectedSendersItemRefRequestBuilder) Delete(ctx context.Context, r } return nil } -// ToDeleteRequestInformation remove a user or group from the rejected-senders list of the specified group. +// ToDeleteRequestInformation delete ref of navigation property rejectedSenders for groups // returns a *RequestInformation when successful func (m *ItemRejectedSendersItemRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemRejectedSendersItemRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_rejected_senders_ref_request_builder.go b/groups/item_rejected_senders_ref_request_builder.go index f5456fcc662..557e1e4e3db 100644 --- a/groups/item_rejected_senders_ref_request_builder.go +++ b/groups/item_rejected_senders_ref_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemRejectedSendersRefRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemRejectedSendersRefRequestBuilderDeleteQueryParameters remove a user or group from the rejected-senders list of the specified group. +// ItemRejectedSendersRefRequestBuilderDeleteQueryParameters delete ref of navigation property rejectedSenders for groups type ItemRejectedSendersRefRequestBuilderDeleteQueryParameters struct { // The delete Uri Id *string `uriparametername:"%40id"` @@ -25,7 +25,7 @@ type ItemRejectedSendersRefRequestBuilderDeleteRequestConfiguration struct { // Request query parameters QueryParameters *ItemRejectedSendersRefRequestBuilderDeleteQueryParameters } -// ItemRejectedSendersRefRequestBuilderGetQueryParameters get a list of users or groups that are in the rejected-senders list for this group. Users in the rejected senders list can't post to conversations of the group (identified in the GET request URL). Make sure you don't specify the same user or group in the rejected senders and accepted senders lists, otherwise you get an error. +// ItemRejectedSendersRefRequestBuilderGetQueryParameters the list of users or groups not allowed to create posts or calendar events in this group. Nullable type ItemRejectedSendersRefRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -67,11 +67,8 @@ func NewItemRejectedSendersRefRequestBuilder(rawUrl string, requestAdapter i2ae4 urlParams["request-raw-url"] = rawUrl return NewItemRejectedSendersRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove a user or group from the rejected-senders list of the specified group. +// Delete delete ref of navigation property rejectedSenders for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/group-delete-rejectedsenders?view=graph-rest-1.0 func (m *ItemRejectedSendersRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemRejectedSendersRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -86,12 +83,9 @@ func (m *ItemRejectedSendersRefRequestBuilder) Delete(ctx context.Context, reque } return nil } -// Get get a list of users or groups that are in the rejected-senders list for this group. Users in the rejected senders list can't post to conversations of the group (identified in the GET request URL). Make sure you don't specify the same user or group in the rejected senders and accepted senders lists, otherwise you get an error. +// Get the list of users or groups not allowed to create posts or calendar events in this group. Nullable // returns a StringCollectionResponseable when successful // returns a ODataError error 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-list-rejectedsenders?view=graph-rest-1.0 func (m *ItemRejectedSendersRefRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemRejectedSendersRefRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -109,11 +103,8 @@ func (m *ItemRejectedSendersRefRequestBuilder) Get(ctx context.Context, requestC } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable), nil } -// Post add a new user or group to the rejectedSender list. Specify the user or group in @odata.id in the request body. Users in the rejected senders list can't post to conversations of the group (identified in the POST request URL). Make sure you don't specify the same user or group in the rejected senders and accepted senders lists, otherwise you'll get an error. +// Post create new navigation property ref to rejectedSenders for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/group-post-rejectedsenders?view=graph-rest-1.0 func (m *ItemRejectedSendersRefRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *ItemRejectedSendersRefRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -128,7 +119,7 @@ func (m *ItemRejectedSendersRefRequestBuilder) Post(ctx context.Context, body ie } return nil } -// ToDeleteRequestInformation remove a user or group from the rejected-senders list of the specified group. +// ToDeleteRequestInformation delete ref of navigation property rejectedSenders for groups // returns a *RequestInformation when successful func (m *ItemRejectedSendersRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemRejectedSendersRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, "{+baseurl}/groups/{group%2Did}/rejectedSenders/$ref?@id={%40id}", m.BaseRequestBuilder.PathParameters) @@ -142,7 +133,7 @@ func (m *ItemRejectedSendersRefRequestBuilder) ToDeleteRequestInformation(ctx co requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a list of users or groups that are in the rejected-senders list for this group. Users in the rejected senders list can't post to conversations of the group (identified in the GET request URL). Make sure you don't specify the same user or group in the rejected senders and accepted senders lists, otherwise you get an error. +// ToGetRequestInformation the list of users or groups not allowed to create posts or calendar events in this group. Nullable // returns a *RequestInformation when successful func (m *ItemRejectedSendersRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemRejectedSendersRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/groups/{group%2Did}/rejectedSenders/$ref{?%24count,%24filter,%24orderby,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) @@ -156,7 +147,7 @@ func (m *ItemRejectedSendersRefRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add a new user or group to the rejectedSender list. Specify the user or group in @odata.id in the request body. Users in the rejected senders list can't post to conversations of the group (identified in the POST request URL). Make sure you don't specify the same user or group in the rejected senders and accepted senders lists, otherwise you'll get an error. +// ToPostRequestInformation create new navigation property ref to rejectedSenders for groups // returns a *RequestInformation when successful func (m *ItemRejectedSendersRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *ItemRejectedSendersRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/groups/{group%2Did}/rejectedSenders/$ref", m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_rejected_senders_request_builder.go b/groups/item_rejected_senders_request_builder.go index 5295d116ff3..76518183d46 100644 --- a/groups/item_rejected_senders_request_builder.go +++ b/groups/item_rejected_senders_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemRejectedSendersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemRejectedSendersRequestBuilderGetQueryParameters get a list of users or groups that are in the rejected-senders list for this group. Users in the rejected senders list can't post to conversations of the group (identified in the GET request URL). Make sure you don't specify the same user or group in the rejected senders and accepted senders lists, otherwise you get an error. +// ItemRejectedSendersRequestBuilderGetQueryParameters the list of users or groups not allowed to create posts or calendar events in this group. Nullable type ItemRejectedSendersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -65,12 +65,9 @@ func NewItemRejectedSendersRequestBuilder(rawUrl string, requestAdapter i2ae4187 func (m *ItemRejectedSendersRequestBuilder) Count()(*ItemRejectedSendersCountRequestBuilder) { return NewItemRejectedSendersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of users or groups that are in the rejected-senders list for this group. Users in the rejected senders list can't post to conversations of the group (identified in the GET request URL). Make sure you don't specify the same user or group in the rejected senders and accepted senders lists, otherwise you get an error. +// Get the list of users or groups not allowed to create posts or calendar events in this group. Nullable // returns a DirectoryObjectCollectionResponseable when successful // returns a ODataError error 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-list-rejectedsenders?view=graph-rest-1.0 func (m *ItemRejectedSendersRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemRejectedSendersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,7 +90,7 @@ func (m *ItemRejectedSendersRequestBuilder) Get(ctx context.Context, requestConf func (m *ItemRejectedSendersRequestBuilder) Ref()(*ItemRejectedSendersRefRequestBuilder) { return NewItemRejectedSendersRefRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation get a list of users or groups that are in the rejected-senders list for this group. Users in the rejected senders list can't post to conversations of the group (identified in the GET request URL). Make sure you don't specify the same user or group in the rejected senders and accepted senders lists, otherwise you get an error. +// ToGetRequestInformation the list of users or groups not allowed to create posts or calendar events in this group. Nullable // returns a *RequestInformation when successful func (m *ItemRejectedSendersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemRejectedSendersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_remove_favorite_request_builder.go b/groups/item_remove_favorite_request_builder.go index 6d0de250fce..394a34c051a 100644 --- a/groups/item_remove_favorite_request_builder.go +++ b/groups/item_remove_favorite_request_builder.go @@ -34,7 +34,7 @@ func NewItemRemoveFavoriteRequestBuilder(rawUrl string, requestAdapter i2ae4187f // returns a ODataError error 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-removefavorite?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/group-removefavorite?view=graph-rest-beta func (m *ItemRemoveFavoriteRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemRemoveFavoriteRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_renew_request_builder.go b/groups/item_renew_request_builder.go index 8ca4378ad30..c78c722911c 100644 --- a/groups/item_renew_request_builder.go +++ b/groups/item_renew_request_builder.go @@ -34,7 +34,7 @@ func NewItemRenewRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee2633 // returns a ODataError error 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-renew?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/group-renew?view=graph-rest-beta func (m *ItemRenewRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemRenewRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_reset_unseen_count_request_builder.go b/groups/item_reset_unseen_count_request_builder.go index 953d5397ff2..fc2b2d81906 100644 --- a/groups/item_reset_unseen_count_request_builder.go +++ b/groups/item_reset_unseen_count_request_builder.go @@ -34,7 +34,7 @@ func NewItemResetUnseenCountRequestBuilder(rawUrl string, requestAdapter i2ae418 // returns a ODataError error 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-resetunseencount?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/group-resetunseencount?view=graph-rest-beta func (m *ItemResetUnseenCountRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemResetUnseenCountRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_restore_request_builder.go b/groups/item_restore_request_builder.go index c0e1967d467..b5eaf86f95b 100644 --- a/groups/item_restore_request_builder.go +++ b/groups/item_restore_request_builder.go @@ -36,7 +36,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-beta func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemRestoreRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_retry_service_provisioning_request_builder.go b/groups/item_retry_service_provisioning_request_builder.go index 3acbad561d5..3b5035c7479 100644 --- a/groups/item_retry_service_provisioning_request_builder.go +++ b/groups/item_retry_service_provisioning_request_builder.go @@ -34,7 +34,7 @@ func NewItemRetryServiceProvisioningRequestBuilder(rawUrl string, requestAdapter // returns a ODataError error 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-retryserviceprovisioning?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/group-retryserviceprovisioning?view=graph-rest-beta func (m *ItemRetryServiceProvisioningRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemRetryServiceProvisioningRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_settings_request_builder.go b/groups/item_settings_request_builder.go index 55e3f651c7e..38d364e5b4e 100644 --- a/groups/item_settings_request_builder.go +++ b/groups/item_settings_request_builder.go @@ -96,12 +96,9 @@ func (m *ItemSettingsRequestBuilder) Get(ctx context.Context, requestConfigurati } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectorySettingCollectionResponseable), nil } -// Post create a new setting based on the templates available in directorySettingTemplates. These settings can be at the tenant-level or at the group level. Group settings apply to only Microsoft 365 groups. The template named Group.Unified can be used to configure tenant-wide Microsoft 365 group settings, while the template named Group.Unified.Guest can be used to configure group-specific settings. +// Post create new navigation property to settings for groups // returns a DirectorySettingable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/group-post-settings?view=graph-rest-1.0 func (m *ItemSettingsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectorySettingable, requestConfiguration *ItemSettingsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectorySettingable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -133,7 +130,7 @@ func (m *ItemSettingsRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new setting based on the templates available in directorySettingTemplates. These settings can be at the tenant-level or at the group level. Group settings apply to only Microsoft 365 groups. The template named Group.Unified can be used to configure tenant-wide Microsoft 365 group settings, while the template named Group.Unified.Guest can be used to configure group-specific settings. +// ToPostRequestInformation create new navigation property to settings for groups // returns a *RequestInformation when successful func (m *ItemSettingsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectorySettingable, requestConfiguration *ItemSettingsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_add_request_builder.go b/groups/item_sites_add_request_builder.go index 0e4acd9ca54..aa447aa6672 100644 --- a/groups/item_sites_add_request_builder.go +++ b/groups/item_sites_add_request_builder.go @@ -36,7 +36,7 @@ func NewItemSitesAddRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee2 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/site-follow?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/site-follow?view=graph-rest-beta func (m *ItemSitesAddRequestBuilder) Post(ctx context.Context, body ItemSitesAddPostRequestBodyable, requestConfiguration *ItemSitesAddRequestBuilderPostRequestConfiguration)(ItemSitesAddResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ItemSitesAddRequestBuilder) Post(ctx context.Context, body ItemSitesAdd // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/site-follow?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/site-follow?view=graph-rest-beta func (m *ItemSitesAddRequestBuilder) PostAsAddPostResponse(ctx context.Context, body ItemSitesAddPostRequestBodyable, requestConfiguration *ItemSitesAddRequestBuilderPostRequestConfiguration)(ItemSitesAddPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_sites_delta_request_builder.go b/groups/item_sites_delta_request_builder.go index e2471cfe1cd..cbe7c868ec9 100644 --- a/groups/item_sites_delta_request_builder.go +++ b/groups/item_sites_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemSitesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesDeltaRequestBuilderGetQueryParameters invoke function delta +// ItemSitesDeltaRequestBuilderGetQueryParameters get a set of newly created, updated, or deleted sites without having to perform a full read of the entire sites collection. A delta function call for sites is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the sites. It allows you to maintain and synchronize a local store of a user's sites without having to fetch all the sites from the server every time.The application calls the API without specifying any parameters.The service begins enumerating sites and returns pages of changes to these sites, accompanied by either an @odata.nextLink or an @odata.deltaLink.Your application should continue making calls using the @odata.nextLink until there's an @odata.deltaLink in the response. After you receive all the changes, you can apply them to your local state.To monitor future changes, call the delta API by using the @odata.deltaLink in the previous response. Any resources marked as deleted should be removed from your local state. type ItemSitesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewItemSitesDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7dae urlParams["request-raw-url"] = rawUrl return NewItemSitesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get get a set of newly created, updated, or deleted sites without having to perform a full read of the entire sites collection. A delta function call for sites is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the sites. It allows you to maintain and synchronize a local store of a user's sites without having to fetch all the sites from the server every time.The application calls the API without specifying any parameters.The service begins enumerating sites and returns pages of changes to these sites, accompanied by either an @odata.nextLink or an @odata.deltaLink.Your application should continue making calls using the @odata.nextLink until there's an @odata.deltaLink in the response. After you receive all the changes, you can apply them to your local state.To monitor future changes, call the delta API by using the @odata.deltaLink in the previous response. Any resources marked as deleted should be removed from your local state. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemSitesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/site-delta?view=graph-rest-beta func (m *ItemSitesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesDeltaRequestBuilderGetRequestConfiguration)(ItemSitesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ItemSitesDeltaRequestBuilder) Get(ctx context.Context, requestConfigura } return res.(ItemSitesDeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse get a set of newly created, updated, or deleted sites without having to perform a full read of the entire sites collection. A delta function call for sites is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the sites. It allows you to maintain and synchronize a local store of a user's sites without having to fetch all the sites from the server every time.The application calls the API without specifying any parameters.The service begins enumerating sites and returns pages of changes to these sites, accompanied by either an @odata.nextLink or an @odata.deltaLink.Your application should continue making calls using the @odata.nextLink until there's an @odata.deltaLink in the response. After you receive all the changes, you can apply them to your local state.To monitor future changes, call the delta API by using the @odata.deltaLink in the previous response. Any resources marked as deleted should be removed from your local state. // returns a ItemSitesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/site-delta?view=graph-rest-beta func (m *ItemSitesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemSitesDeltaRequestBuilderGetRequestConfiguration)(ItemSitesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ItemSitesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context } return res.(ItemSitesDeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation get a set of newly created, updated, or deleted sites without having to perform a full read of the entire sites collection. A delta function call for sites is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the sites. It allows you to maintain and synchronize a local store of a user's sites without having to fetch all the sites from the server every time.The application calls the API without specifying any parameters.The service begins enumerating sites and returns pages of changes to these sites, accompanied by either an @odata.nextLink or an @odata.deltaLink.Your application should continue making calls using the @odata.nextLink until there's an @odata.deltaLink in the response. After you receive all the changes, you can apply them to your local state.To monitor future changes, call the delta API by using the @odata.deltaLink in the previous response. Any resources marked as deleted should be removed from your local state. // returns a *RequestInformation when successful func (m *ItemSitesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_get_all_sites_request_builder.go b/groups/item_sites_get_all_sites_request_builder.go index cea50855602..c845fe765e9 100644 --- a/groups/item_sites_get_all_sites_request_builder.go +++ b/groups/item_sites_get_all_sites_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemSitesGetAllSitesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesGetAllSitesRequestBuilderGetQueryParameters invoke function getAllSites +// ItemSitesGetAllSitesRequestBuilderGetQueryParameters list sites across geographies in an organization. For more details, see Best practices for discovering files and detecting changes at scale. type ItemSitesGetAllSitesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewItemSitesGetAllSitesRequestBuilder(rawUrl string, requestAdapter i2ae418 urlParams["request-raw-url"] = rawUrl return NewItemSitesGetAllSitesRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getAllSites +// Get list sites across geographies in an organization. For more details, see Best practices for discovering files and detecting changes at scale. // Deprecated: This method is obsolete. Use GetAsGetAllSitesGetResponse instead. // returns a ItemSitesGetAllSitesResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/site-getallsites?view=graph-rest-beta func (m *ItemSitesGetAllSitesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesGetAllSitesRequestBuilderGetRequestConfiguration)(ItemSitesGetAllSitesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ItemSitesGetAllSitesRequestBuilder) Get(ctx context.Context, requestCon } return res.(ItemSitesGetAllSitesResponseable), nil } -// GetAsGetAllSitesGetResponse invoke function getAllSites +// GetAsGetAllSitesGetResponse list sites across geographies in an organization. For more details, see Best practices for discovering files and detecting changes at scale. // returns a ItemSitesGetAllSitesGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/site-getallsites?view=graph-rest-beta func (m *ItemSitesGetAllSitesRequestBuilder) GetAsGetAllSitesGetResponse(ctx context.Context, requestConfiguration *ItemSitesGetAllSitesRequestBuilderGetRequestConfiguration)(ItemSitesGetAllSitesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ItemSitesGetAllSitesRequestBuilder) GetAsGetAllSitesGetResponse(ctx con } return res.(ItemSitesGetAllSitesGetResponseable), nil } -// ToGetRequestInformation invoke function getAllSites +// ToGetRequestInformation list sites across geographies in an organization. For more details, see Best practices for discovering files and detecting changes at scale. // returns a *RequestInformation when successful func (m *ItemSitesGetAllSitesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesGetAllSitesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_columns_request_builder.go b/groups/item_sites_item_columns_request_builder.go index 99117444e79..fccbaf52f49 100644 --- a/groups/item_sites_item_columns_request_builder.go +++ b/groups/item_sites_item_columns_request_builder.go @@ -79,9 +79,6 @@ func (m *ItemSitesItemColumnsRequestBuilder) Count()(*ItemSitesItemColumnsCountR // Get the collection of column definitions reusable across lists under this site. // returns a ColumnDefinitionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/site-list-columns?view=graph-rest-1.0 func (m *ItemSitesItemColumnsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemColumnsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemSitesItemColumnsRequestBuilder) Get(ctx context.Context, requestCon } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionCollectionResponseable), nil } -// Post create columnDefinition for a site +// Post create new navigation property to columns for groups // returns a ColumnDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/site-post-columns?view=graph-rest-1.0 func (m *ItemSitesItemColumnsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, requestConfiguration *ItemSitesItemColumnsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -136,7 +130,7 @@ func (m *ItemSitesItemColumnsRequestBuilder) ToGetRequestInformation(ctx context requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create columnDefinition for a site +// ToPostRequestInformation create new navigation property to columns for groups // returns a *RequestInformation when successful func (m *ItemSitesItemColumnsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, requestConfiguration *ItemSitesItemColumnsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_content_types_add_copy_from_content_type_hub_request_builder.go b/groups/item_sites_item_content_types_add_copy_from_content_type_hub_request_builder.go index cd5967ade5f..6e17e7bfc33 100644 --- a/groups/item_sites_item_content_types_add_copy_from_content_type_hub_request_builder.go +++ b/groups/item_sites_item_content_types_add_copy_from_content_type_hub_request_builder.go @@ -36,7 +36,7 @@ func NewItemSitesItemContentTypesAddCopyFromContentTypeHubRequestBuilder(rawUrl // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-addcopyfromcontenttypehub?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-addcopyfromcontenttypehub?view=graph-rest-beta func (m *ItemSitesItemContentTypesAddCopyFromContentTypeHubRequestBuilder) Post(ctx context.Context, body ItemSitesItemContentTypesAddCopyFromContentTypeHubPostRequestBodyable, requestConfiguration *ItemSitesItemContentTypesAddCopyFromContentTypeHubRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContentTypeable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_sites_item_content_types_add_copy_request_builder.go b/groups/item_sites_item_content_types_add_copy_request_builder.go index 8daa6cc77cb..9d88586b4f5 100644 --- a/groups/item_sites_item_content_types_add_copy_request_builder.go +++ b/groups/item_sites_item_content_types_add_copy_request_builder.go @@ -36,7 +36,7 @@ func NewItemSitesItemContentTypesAddCopyRequestBuilder(rawUrl string, requestAda // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-addcopy?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-addcopy?view=graph-rest-beta func (m *ItemSitesItemContentTypesAddCopyRequestBuilder) Post(ctx context.Context, body ItemSitesItemContentTypesAddCopyPostRequestBodyable, requestConfiguration *ItemSitesItemContentTypesAddCopyRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContentTypeable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_sites_item_content_types_content_type_item_request_builder.go b/groups/item_sites_item_content_types_content_type_item_request_builder.go index 4c4fe1b49ee..b1366066611 100644 --- a/groups/item_sites_item_content_types_content_type_item_request_builder.go +++ b/groups/item_sites_item_content_types_content_type_item_request_builder.go @@ -18,7 +18,7 @@ type ItemSitesItemContentTypesContentTypeItemRequestBuilderDeleteRequestConfigur // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemSitesItemContentTypesContentTypeItemRequestBuilderGetQueryParameters retrieve the metadata for a [content type][contentType] in a [site][] or a [list][]. +// ItemSitesItemContentTypesContentTypeItemRequestBuilderGetQueryParameters the collection of content types defined for this site. type ItemSitesItemContentTypesContentTypeItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -89,11 +89,8 @@ func NewItemSitesItemContentTypesContentTypeItemRequestBuilder(rawUrl string, re func (m *ItemSitesItemContentTypesContentTypeItemRequestBuilder) CopyToDefaultContentLocation()(*ItemSitesItemContentTypesItemCopyToDefaultContentLocationRequestBuilder) { return NewItemSitesItemContentTypesItemCopyToDefaultContentLocationRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Delete remove a [content type][contentType] from a [list][] or a [site][]. +// Delete delete navigation property contentTypes for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-delete?view=graph-rest-1.0 func (m *ItemSitesItemContentTypesContentTypeItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemSitesItemContentTypesContentTypeItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -108,12 +105,9 @@ func (m *ItemSitesItemContentTypesContentTypeItemRequestBuilder) Delete(ctx cont } return nil } -// Get retrieve the metadata for a [content type][contentType] in a [site][] or a [list][]. +// Get the collection of content types defined for this site. // returns a ContentTypeable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-get?view=graph-rest-1.0 func (m *ItemSitesItemContentTypesContentTypeItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemContentTypesContentTypeItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContentTypeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -136,12 +130,9 @@ func (m *ItemSitesItemContentTypesContentTypeItemRequestBuilder) Get(ctx context func (m *ItemSitesItemContentTypesContentTypeItemRequestBuilder) IsPublished()(*ItemSitesItemContentTypesItemIsPublishedRequestBuilder) { return NewItemSitesItemContentTypesItemIsPublishedRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update contentType +// Patch update the navigation property contentTypes in groups // returns a ContentTypeable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-update?view=graph-rest-1.0 func (m *ItemSitesItemContentTypesContentTypeItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContentTypeable, requestConfiguration *ItemSitesItemContentTypesContentTypeItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContentTypeable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -164,7 +155,7 @@ func (m *ItemSitesItemContentTypesContentTypeItemRequestBuilder) Patch(ctx conte func (m *ItemSitesItemContentTypesContentTypeItemRequestBuilder) Publish()(*ItemSitesItemContentTypesItemPublishRequestBuilder) { return NewItemSitesItemContentTypesItemPublishRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation remove a [content type][contentType] from a [list][] or a [site][]. +// ToDeleteRequestInformation delete navigation property contentTypes for groups // returns a *RequestInformation when successful func (m *ItemSitesItemContentTypesContentTypeItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemContentTypesContentTypeItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -175,7 +166,7 @@ func (m *ItemSitesItemContentTypesContentTypeItemRequestBuilder) ToDeleteRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the metadata for a [content type][contentType] in a [site][] or a [list][]. +// ToGetRequestInformation the collection of content types defined for this site. // returns a *RequestInformation when successful func (m *ItemSitesItemContentTypesContentTypeItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemContentTypesContentTypeItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -189,7 +180,7 @@ func (m *ItemSitesItemContentTypesContentTypeItemRequestBuilder) ToGetRequestInf requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update contentType +// ToPatchRequestInformation update the navigation property contentTypes in groups // returns a *RequestInformation when successful func (m *ItemSitesItemContentTypesContentTypeItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContentTypeable, requestConfiguration *ItemSitesItemContentTypesContentTypeItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_content_types_get_compatible_hub_content_types_request_builder.go b/groups/item_sites_item_content_types_get_compatible_hub_content_types_request_builder.go index 73e986befdc..a392568f37f 100644 --- a/groups/item_sites_item_content_types_get_compatible_hub_content_types_request_builder.go +++ b/groups/item_sites_item_content_types_get_compatible_hub_content_types_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemSitesItemContentTypesGetCompatibleHubContentTypesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemContentTypesGetCompatibleHubContentTypesRequestBuilderGetQueryParameters invoke function getCompatibleHubContentTypes +// ItemSitesItemContentTypesGetCompatibleHubContentTypesRequestBuilderGetQueryParameters get compatible content types in the content type hub that can be added to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see addCopyFromContentTypeHub and the blog post Syntex Product Updates – August 2021. type ItemSitesItemContentTypesGetCompatibleHubContentTypesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewItemSitesItemContentTypesGetCompatibleHubContentTypesRequestBuilder(rawU urlParams["request-raw-url"] = rawUrl return NewItemSitesItemContentTypesGetCompatibleHubContentTypesRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getCompatibleHubContentTypes +// Get get compatible content types in the content type hub that can be added to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see addCopyFromContentTypeHub and the blog post Syntex Product Updates – August 2021. // Deprecated: This method is obsolete. Use GetAsGetCompatibleHubContentTypesGetResponse instead. // returns a ItemSitesItemContentTypesGetCompatibleHubContentTypesResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-getcompatiblehubcontenttypes?view=graph-rest-beta func (m *ItemSitesItemContentTypesGetCompatibleHubContentTypesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemContentTypesGetCompatibleHubContentTypesRequestBuilderGetRequestConfiguration)(ItemSitesItemContentTypesGetCompatibleHubContentTypesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ItemSitesItemContentTypesGetCompatibleHubContentTypesRequestBuilder) Ge } return res.(ItemSitesItemContentTypesGetCompatibleHubContentTypesResponseable), nil } -// GetAsGetCompatibleHubContentTypesGetResponse invoke function getCompatibleHubContentTypes +// GetAsGetCompatibleHubContentTypesGetResponse get compatible content types in the content type hub that can be added to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see addCopyFromContentTypeHub and the blog post Syntex Product Updates – August 2021. // returns a ItemSitesItemContentTypesGetCompatibleHubContentTypesGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-getcompatiblehubcontenttypes?view=graph-rest-beta func (m *ItemSitesItemContentTypesGetCompatibleHubContentTypesRequestBuilder) GetAsGetCompatibleHubContentTypesGetResponse(ctx context.Context, requestConfiguration *ItemSitesItemContentTypesGetCompatibleHubContentTypesRequestBuilderGetRequestConfiguration)(ItemSitesItemContentTypesGetCompatibleHubContentTypesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ItemSitesItemContentTypesGetCompatibleHubContentTypesRequestBuilder) Ge } return res.(ItemSitesItemContentTypesGetCompatibleHubContentTypesGetResponseable), nil } -// ToGetRequestInformation invoke function getCompatibleHubContentTypes +// ToGetRequestInformation get compatible content types in the content type hub that can be added to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see addCopyFromContentTypeHub and the blog post Syntex Product Updates – August 2021. // returns a *RequestInformation when successful func (m *ItemSitesItemContentTypesGetCompatibleHubContentTypesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemContentTypesGetCompatibleHubContentTypesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_content_types_item_associate_with_hub_sites_request_builder.go b/groups/item_sites_item_content_types_item_associate_with_hub_sites_request_builder.go index 6dd5c1a6f73..ff974038ef4 100644 --- a/groups/item_sites_item_content_types_item_associate_with_hub_sites_request_builder.go +++ b/groups/item_sites_item_content_types_item_associate_with_hub_sites_request_builder.go @@ -34,7 +34,7 @@ func NewItemSitesItemContentTypesItemAssociateWithHubSitesRequestBuilder(rawUrl // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-associatewithhubsites?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-associatewithhubsites?view=graph-rest-beta func (m *ItemSitesItemContentTypesItemAssociateWithHubSitesRequestBuilder) Post(ctx context.Context, body ItemSitesItemContentTypesItemAssociateWithHubSitesPostRequestBodyable, requestConfiguration *ItemSitesItemContentTypesItemAssociateWithHubSitesRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_sites_item_content_types_item_columns_column_definition_item_request_builder.go b/groups/item_sites_item_content_types_item_columns_column_definition_item_request_builder.go index cbc2ee33501..810ccd46367 100644 --- a/groups/item_sites_item_content_types_item_columns_column_definition_item_request_builder.go +++ b/groups/item_sites_item_content_types_item_columns_column_definition_item_request_builder.go @@ -18,7 +18,7 @@ type ItemSitesItemContentTypesItemColumnsColumnDefinitionItemRequestBuilderDelet // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemSitesItemContentTypesItemColumnsColumnDefinitionItemRequestBuilderGetQueryParameters retrieve the metadata for a [site][], [list][], or [contentType][] [column][columnDefinition]. +// ItemSitesItemContentTypesItemColumnsColumnDefinitionItemRequestBuilderGetQueryParameters the collection of column definitions for this content type. type ItemSitesItemContentTypesItemColumnsColumnDefinitionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemSitesItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder(r urlParams["request-raw-url"] = rawUrl return NewItemSitesItemContentTypesItemColumnsColumnDefinitionItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete columnDefinition +// Delete delete navigation property columns for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/columndefinition-delete?view=graph-rest-1.0 func (m *ItemSitesItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemSitesItemContentTypesItemColumnsColumnDefinitionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemSitesItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) } return nil } -// Get retrieve the metadata for a [site][], [list][], or [contentType][] [column][columnDefinition]. +// Get the collection of column definitions for this content type. // returns a ColumnDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/columndefinition-get?view=graph-rest-1.0 func (m *ItemSitesItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemContentTypesItemColumnsColumnDefinitionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ItemSitesItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable), nil } -// Patch update columnDefinition +// Patch update the navigation property columns in groups // returns a ColumnDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/columndefinition-update?view=graph-rest-1.0 func (m *ItemSitesItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, requestConfiguration *ItemSitesItemContentTypesItemColumnsColumnDefinitionItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -124,7 +115,7 @@ func (m *ItemSitesItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) func (m *ItemSitesItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) SourceColumn()(*ItemSitesItemContentTypesItemColumnsItemSourceColumnRequestBuilder) { return NewItemSitesItemContentTypesItemColumnsItemSourceColumnRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete columnDefinition +// ToDeleteRequestInformation delete navigation property columns for groups // returns a *RequestInformation when successful func (m *ItemSitesItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemContentTypesItemColumnsColumnDefinitionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -135,7 +126,7 @@ func (m *ItemSitesItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the metadata for a [site][], [list][], or [contentType][] [column][columnDefinition]. +// ToGetRequestInformation the collection of column definitions for this content type. // returns a *RequestInformation when successful func (m *ItemSitesItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemContentTypesItemColumnsColumnDefinitionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -149,7 +140,7 @@ func (m *ItemSitesItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update columnDefinition +// ToPatchRequestInformation update the navigation property columns in groups // returns a *RequestInformation when successful func (m *ItemSitesItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, requestConfiguration *ItemSitesItemContentTypesItemColumnsColumnDefinitionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_content_types_item_columns_request_builder.go b/groups/item_sites_item_content_types_item_columns_request_builder.go index 7b272b89c51..93544fd2b3e 100644 --- a/groups/item_sites_item_content_types_item_columns_request_builder.go +++ b/groups/item_sites_item_content_types_item_columns_request_builder.go @@ -79,9 +79,6 @@ func (m *ItemSitesItemContentTypesItemColumnsRequestBuilder) Count()(*ItemSitesI // Get the collection of column definitions for this content type. // returns a ColumnDefinitionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-list-columns?view=graph-rest-1.0 func (m *ItemSitesItemContentTypesItemColumnsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemContentTypesItemColumnsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemSitesItemContentTypesItemColumnsRequestBuilder) Get(ctx context.Con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionCollectionResponseable), nil } -// Post create columnDefinition for a content type +// Post create new navigation property to columns for groups // returns a ColumnDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-post-columns?view=graph-rest-1.0 func (m *ItemSitesItemContentTypesItemColumnsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, requestConfiguration *ItemSitesItemContentTypesItemColumnsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -136,7 +130,7 @@ func (m *ItemSitesItemContentTypesItemColumnsRequestBuilder) ToGetRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create columnDefinition for a content type +// ToPostRequestInformation create new navigation property to columns for groups // returns a *RequestInformation when successful func (m *ItemSitesItemContentTypesItemColumnsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, requestConfiguration *ItemSitesItemContentTypesItemColumnsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_content_types_item_copy_to_default_content_location_request_builder.go b/groups/item_sites_item_content_types_item_copy_to_default_content_location_request_builder.go index b32ca89d635..080511870e4 100644 --- a/groups/item_sites_item_content_types_item_copy_to_default_content_location_request_builder.go +++ b/groups/item_sites_item_content_types_item_copy_to_default_content_location_request_builder.go @@ -34,7 +34,7 @@ func NewItemSitesItemContentTypesItemCopyToDefaultContentLocationRequestBuilder( // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-copytodefaultcontentlocation?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-copytodefaultcontentlocation?view=graph-rest-beta func (m *ItemSitesItemContentTypesItemCopyToDefaultContentLocationRequestBuilder) Post(ctx context.Context, body ItemSitesItemContentTypesItemCopyToDefaultContentLocationPostRequestBodyable, requestConfiguration *ItemSitesItemContentTypesItemCopyToDefaultContentLocationRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_sites_item_content_types_item_is_published_request_builder.go b/groups/item_sites_item_content_types_item_is_published_request_builder.go index 68eae17017e..63c73b2fb42 100644 --- a/groups/item_sites_item_content_types_item_is_published_request_builder.go +++ b/groups/item_sites_item_content_types_item_is_published_request_builder.go @@ -34,6 +34,9 @@ func NewItemSitesItemContentTypesItemIsPublishedRequestBuilder(rawUrl string, re // Deprecated: This method is obsolete. Use GetAsIsPublishedGetResponse instead. // returns a ItemSitesItemContentTypesItemIsPublishedResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-ispublished?view=graph-rest-beta func (m *ItemSitesItemContentTypesItemIsPublishedRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemContentTypesItemIsPublishedRequestBuilderGetRequestConfiguration)(ItemSitesItemContentTypesItemIsPublishedResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -54,6 +57,9 @@ func (m *ItemSitesItemContentTypesItemIsPublishedRequestBuilder) Get(ctx context // GetAsIsPublishedGetResponse invoke function isPublished // returns a ItemSitesItemContentTypesItemIsPublishedGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-ispublished?view=graph-rest-beta func (m *ItemSitesItemContentTypesItemIsPublishedRequestBuilder) GetAsIsPublishedGetResponse(ctx context.Context, requestConfiguration *ItemSitesItemContentTypesItemIsPublishedRequestBuilderGetRequestConfiguration)(ItemSitesItemContentTypesItemIsPublishedGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_sites_item_content_types_item_publish_request_builder.go b/groups/item_sites_item_content_types_item_publish_request_builder.go index 080b94e6362..a5547aefba9 100644 --- a/groups/item_sites_item_content_types_item_publish_request_builder.go +++ b/groups/item_sites_item_content_types_item_publish_request_builder.go @@ -34,7 +34,7 @@ func NewItemSitesItemContentTypesItemPublishRequestBuilder(rawUrl string, reques // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-publish?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-publish?view=graph-rest-beta func (m *ItemSitesItemContentTypesItemPublishRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemSitesItemContentTypesItemPublishRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_sites_item_content_types_item_unpublish_request_builder.go b/groups/item_sites_item_content_types_item_unpublish_request_builder.go index 92f4d5007d3..f4f85b35910 100644 --- a/groups/item_sites_item_content_types_item_unpublish_request_builder.go +++ b/groups/item_sites_item_content_types_item_unpublish_request_builder.go @@ -34,7 +34,7 @@ func NewItemSitesItemContentTypesItemUnpublishRequestBuilder(rawUrl string, requ // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-unpublish?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-unpublish?view=graph-rest-beta func (m *ItemSitesItemContentTypesItemUnpublishRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemSitesItemContentTypesItemUnpublishRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_sites_item_content_types_request_builder.go b/groups/item_sites_item_content_types_request_builder.go index b43f1adae17..143f3879bd5 100644 --- a/groups/item_sites_item_content_types_request_builder.go +++ b/groups/item_sites_item_content_types_request_builder.go @@ -89,9 +89,6 @@ func (m *ItemSitesItemContentTypesRequestBuilder) Count()(*ItemSitesItemContentT // Get the collection of content types defined for this site. // returns a ContentTypeCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/site-list-contenttypes?view=graph-rest-1.0 func (m *ItemSitesItemContentTypesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemContentTypesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContentTypeCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -114,12 +111,9 @@ func (m *ItemSitesItemContentTypesRequestBuilder) Get(ctx context.Context, reque func (m *ItemSitesItemContentTypesRequestBuilder) GetCompatibleHubContentTypes()(*ItemSitesItemContentTypesGetCompatibleHubContentTypesRequestBuilder) { return NewItemSitesItemContentTypesGetCompatibleHubContentTypesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Post create a new [contentType][] for a [site][]. +// Post create new navigation property to contentTypes for groups // returns a ContentTypeable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/site-post-contenttypes?view=graph-rest-1.0 func (m *ItemSitesItemContentTypesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContentTypeable, requestConfiguration *ItemSitesItemContentTypesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContentTypeable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -151,7 +145,7 @@ func (m *ItemSitesItemContentTypesRequestBuilder) ToGetRequestInformation(ctx co requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new [contentType][] for a [site][]. +// ToPostRequestInformation create new navigation property to contentTypes for groups // returns a *RequestInformation when successful func (m *ItemSitesItemContentTypesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContentTypeable, requestConfiguration *ItemSitesItemContentTypesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_get_applicable_content_types_for_list_with_list_id_request_builder.go b/groups/item_sites_item_get_applicable_content_types_for_list_with_list_id_request_builder.go index b3337178c7a..387d9a06ea3 100644 --- a/groups/item_sites_item_get_applicable_content_types_for_list_with_list_id_request_builder.go +++ b/groups/item_sites_item_get_applicable_content_types_for_list_with_list_id_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemSitesItemGetApplicableContentTypesForListWithListIdRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemGetApplicableContentTypesForListWithListIdRequestBuilderGetQueryParameters invoke function getApplicableContentTypesForList +// ItemSitesItemGetApplicableContentTypesForListWithListIdRequestBuilderGetQueryParameters get site contentTypes that can be added to a list. type ItemSitesItemGetApplicableContentTypesForListWithListIdRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewItemSitesItemGetApplicableContentTypesForListWithListIdRequestBuilder(ra urlParams["request-raw-url"] = rawUrl return NewItemSitesItemGetApplicableContentTypesForListWithListIdRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function getApplicableContentTypesForList +// Get get site contentTypes that can be added to a list. // Deprecated: This method is obsolete. Use GetAsGetApplicableContentTypesForListWithListIdGetResponse instead. // returns a ItemSitesItemGetApplicableContentTypesForListWithListIdResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/site-getapplicablecontenttypesforlist?view=graph-rest-beta func (m *ItemSitesItemGetApplicableContentTypesForListWithListIdRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemGetApplicableContentTypesForListWithListIdRequestBuilderGetRequestConfiguration)(ItemSitesItemGetApplicableContentTypesForListWithListIdResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *ItemSitesItemGetApplicableContentTypesForListWithListIdRequestBuilder) } return res.(ItemSitesItemGetApplicableContentTypesForListWithListIdResponseable), nil } -// GetAsGetApplicableContentTypesForListWithListIdGetResponse invoke function getApplicableContentTypesForList +// GetAsGetApplicableContentTypesForListWithListIdGetResponse get site contentTypes that can be added to a list. // returns a ItemSitesItemGetApplicableContentTypesForListWithListIdGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/site-getapplicablecontenttypesforlist?view=graph-rest-beta func (m *ItemSitesItemGetApplicableContentTypesForListWithListIdRequestBuilder) GetAsGetApplicableContentTypesForListWithListIdGetResponse(ctx context.Context, requestConfiguration *ItemSitesItemGetApplicableContentTypesForListWithListIdRequestBuilderGetRequestConfiguration)(ItemSitesItemGetApplicableContentTypesForListWithListIdGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *ItemSitesItemGetApplicableContentTypesForListWithListIdRequestBuilder) } return res.(ItemSitesItemGetApplicableContentTypesForListWithListIdGetResponseable), nil } -// ToGetRequestInformation invoke function getApplicableContentTypesForList +// ToGetRequestInformation get site contentTypes that can be added to a list. // returns a *RequestInformation when successful func (m *ItemSitesItemGetApplicableContentTypesForListWithListIdRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemGetApplicableContentTypesForListWithListIdRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_get_by_path_with_path_columns_request_builder.go b/groups/item_sites_item_get_by_path_with_path_columns_request_builder.go index f1a9867823e..5417f78cbf6 100644 --- a/groups/item_sites_item_get_by_path_with_path_columns_request_builder.go +++ b/groups/item_sites_item_get_by_path_with_path_columns_request_builder.go @@ -62,9 +62,6 @@ func NewItemSitesItemGetByPathWithPathColumnsRequestBuilder(rawUrl string, reque // Get the collection of column definitions reusable across lists under this site. // returns a ColumnDefinitionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/site-list-columns?view=graph-rest-1.0 func (m *ItemSitesItemGetByPathWithPathColumnsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemGetByPathWithPathColumnsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -82,12 +79,9 @@ func (m *ItemSitesItemGetByPathWithPathColumnsRequestBuilder) Get(ctx context.Co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionCollectionResponseable), nil } -// Post create columnDefinition for a site +// Post create new navigation property to columns for groups // returns a ColumnDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/site-post-columns?view=graph-rest-1.0 func (m *ItemSitesItemGetByPathWithPathColumnsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, requestConfiguration *ItemSitesItemGetByPathWithPathColumnsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +113,7 @@ func (m *ItemSitesItemGetByPathWithPathColumnsRequestBuilder) ToGetRequestInform requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create columnDefinition for a site +// ToPostRequestInformation create new navigation property to columns for groups // returns a *RequestInformation when successful func (m *ItemSitesItemGetByPathWithPathColumnsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, requestConfiguration *ItemSitesItemGetByPathWithPathColumnsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_get_by_path_with_path_content_types_request_builder.go b/groups/item_sites_item_get_by_path_with_path_content_types_request_builder.go index 653519009de..683277e3863 100644 --- a/groups/item_sites_item_get_by_path_with_path_content_types_request_builder.go +++ b/groups/item_sites_item_get_by_path_with_path_content_types_request_builder.go @@ -62,9 +62,6 @@ func NewItemSitesItemGetByPathWithPathContentTypesRequestBuilder(rawUrl string, // Get the collection of content types defined for this site. // returns a ContentTypeCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/site-list-contenttypes?view=graph-rest-1.0 func (m *ItemSitesItemGetByPathWithPathContentTypesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemGetByPathWithPathContentTypesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContentTypeCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -82,12 +79,9 @@ func (m *ItemSitesItemGetByPathWithPathContentTypesRequestBuilder) Get(ctx conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContentTypeCollectionResponseable), nil } -// Post create a new [contentType][] for a [site][]. +// Post create new navigation property to contentTypes for groups // returns a ContentTypeable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/site-post-contenttypes?view=graph-rest-1.0 func (m *ItemSitesItemGetByPathWithPathContentTypesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContentTypeable, requestConfiguration *ItemSitesItemGetByPathWithPathContentTypesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContentTypeable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +113,7 @@ func (m *ItemSitesItemGetByPathWithPathContentTypesRequestBuilder) ToGetRequestI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new [contentType][] for a [site][]. +// ToPostRequestInformation create new navigation property to contentTypes for groups // returns a *RequestInformation when successful func (m *ItemSitesItemGetByPathWithPathContentTypesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContentTypeable, requestConfiguration *ItemSitesItemGetByPathWithPathContentTypesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_get_by_path_with_path_get_applicable_content_types_for_list_with_list_id_request_builder.go b/groups/item_sites_item_get_by_path_with_path_get_applicable_content_types_for_list_with_list_id_request_builder.go index a24bca5519b..25a20fb8464 100644 --- a/groups/item_sites_item_get_by_path_with_path_get_applicable_content_types_for_list_with_list_id_request_builder.go +++ b/groups/item_sites_item_get_by_path_with_path_get_applicable_content_types_for_list_with_list_id_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemSitesItemGetByPathWithPathGetApplicableContentTypesForListWithListIdRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemGetByPathWithPathGetApplicableContentTypesForListWithListIdRequestBuilderGetQueryParameters invoke function getApplicableContentTypesForList +// ItemSitesItemGetByPathWithPathGetApplicableContentTypesForListWithListIdRequestBuilderGetQueryParameters get site contentTypes that can be added to a list. type ItemSitesItemGetByPathWithPathGetApplicableContentTypesForListWithListIdRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewItemSitesItemGetByPathWithPathGetApplicableContentTypesForListWithListId urlParams["request-raw-url"] = rawUrl return NewItemSitesItemGetByPathWithPathGetApplicableContentTypesForListWithListIdRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function getApplicableContentTypesForList +// Get get site contentTypes that can be added to a list. // Deprecated: This method is obsolete. Use GetAsGetApplicableContentTypesForListWithListIdGetResponse instead. // returns a ItemSitesItemGetByPathWithPathGetApplicableContentTypesForListWithListIdResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/site-getapplicablecontenttypesforlist?view=graph-rest-beta func (m *ItemSitesItemGetByPathWithPathGetApplicableContentTypesForListWithListIdRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemGetByPathWithPathGetApplicableContentTypesForListWithListIdRequestBuilderGetRequestConfiguration)(ItemSitesItemGetByPathWithPathGetApplicableContentTypesForListWithListIdResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *ItemSitesItemGetByPathWithPathGetApplicableContentTypesForListWithListI } return res.(ItemSitesItemGetByPathWithPathGetApplicableContentTypesForListWithListIdResponseable), nil } -// GetAsGetApplicableContentTypesForListWithListIdGetResponse invoke function getApplicableContentTypesForList +// GetAsGetApplicableContentTypesForListWithListIdGetResponse get site contentTypes that can be added to a list. // returns a ItemSitesItemGetByPathWithPathGetApplicableContentTypesForListWithListIdGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/site-getapplicablecontenttypesforlist?view=graph-rest-beta func (m *ItemSitesItemGetByPathWithPathGetApplicableContentTypesForListWithListIdRequestBuilder) GetAsGetApplicableContentTypesForListWithListIdGetResponse(ctx context.Context, requestConfiguration *ItemSitesItemGetByPathWithPathGetApplicableContentTypesForListWithListIdRequestBuilderGetRequestConfiguration)(ItemSitesItemGetByPathWithPathGetApplicableContentTypesForListWithListIdGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *ItemSitesItemGetByPathWithPathGetApplicableContentTypesForListWithListI } return res.(ItemSitesItemGetByPathWithPathGetApplicableContentTypesForListWithListIdGetResponseable), nil } -// ToGetRequestInformation invoke function getApplicableContentTypesForList +// ToGetRequestInformation get site contentTypes that can be added to a list. // returns a *RequestInformation when successful func (m *ItemSitesItemGetByPathWithPathGetApplicableContentTypesForListWithListIdRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemGetByPathWithPathGetApplicableContentTypesForListWithListIdRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_get_by_path_with_path_get_by_path_with_path1_columns_request_builder.go b/groups/item_sites_item_get_by_path_with_path_get_by_path_with_path1_columns_request_builder.go index 02846969fb5..3ccc796832c 100644 --- a/groups/item_sites_item_get_by_path_with_path_get_by_path_with_path1_columns_request_builder.go +++ b/groups/item_sites_item_get_by_path_with_path_get_by_path_with_path1_columns_request_builder.go @@ -62,9 +62,6 @@ func NewItemSitesItemGetByPathWithPathGetByPathWithPath1ColumnsRequestBuilder(ra // Get the collection of column definitions reusable across lists under this site. // returns a ColumnDefinitionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/site-list-columns?view=graph-rest-1.0 func (m *ItemSitesItemGetByPathWithPathGetByPathWithPath1ColumnsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemGetByPathWithPathGetByPathWithPath1ColumnsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -82,12 +79,9 @@ func (m *ItemSitesItemGetByPathWithPathGetByPathWithPath1ColumnsRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionCollectionResponseable), nil } -// Post create columnDefinition for a site +// Post create new navigation property to columns for groups // returns a ColumnDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/site-post-columns?view=graph-rest-1.0 func (m *ItemSitesItemGetByPathWithPathGetByPathWithPath1ColumnsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, requestConfiguration *ItemSitesItemGetByPathWithPathGetByPathWithPath1ColumnsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +113,7 @@ func (m *ItemSitesItemGetByPathWithPathGetByPathWithPath1ColumnsRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create columnDefinition for a site +// ToPostRequestInformation create new navigation property to columns for groups // returns a *RequestInformation when successful func (m *ItemSitesItemGetByPathWithPathGetByPathWithPath1ColumnsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, requestConfiguration *ItemSitesItemGetByPathWithPathGetByPathWithPath1ColumnsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_get_by_path_with_path_get_by_path_with_path1_content_types_request_builder.go b/groups/item_sites_item_get_by_path_with_path_get_by_path_with_path1_content_types_request_builder.go index 806f5521a30..77480b988ae 100644 --- a/groups/item_sites_item_get_by_path_with_path_get_by_path_with_path1_content_types_request_builder.go +++ b/groups/item_sites_item_get_by_path_with_path_get_by_path_with_path1_content_types_request_builder.go @@ -62,9 +62,6 @@ func NewItemSitesItemGetByPathWithPathGetByPathWithPath1ContentTypesRequestBuild // Get the collection of content types defined for this site. // returns a ContentTypeCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/site-list-contenttypes?view=graph-rest-1.0 func (m *ItemSitesItemGetByPathWithPathGetByPathWithPath1ContentTypesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemGetByPathWithPathGetByPathWithPath1ContentTypesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContentTypeCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -82,12 +79,9 @@ func (m *ItemSitesItemGetByPathWithPathGetByPathWithPath1ContentTypesRequestBuil } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContentTypeCollectionResponseable), nil } -// Post create a new [contentType][] for a [site][]. +// Post create new navigation property to contentTypes for groups // returns a ContentTypeable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/site-post-contenttypes?view=graph-rest-1.0 func (m *ItemSitesItemGetByPathWithPathGetByPathWithPath1ContentTypesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContentTypeable, requestConfiguration *ItemSitesItemGetByPathWithPathGetByPathWithPath1ContentTypesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContentTypeable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +113,7 @@ func (m *ItemSitesItemGetByPathWithPathGetByPathWithPath1ContentTypesRequestBuil requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new [contentType][] for a [site][]. +// ToPostRequestInformation create new navigation property to contentTypes for groups // returns a *RequestInformation when successful func (m *ItemSitesItemGetByPathWithPathGetByPathWithPath1ContentTypesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContentTypeable, requestConfiguration *ItemSitesItemGetByPathWithPathGetByPathWithPath1ContentTypesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_get_by_path_with_path_get_by_path_with_path1_lists_request_builder.go b/groups/item_sites_item_get_by_path_with_path_get_by_path_with_path1_lists_request_builder.go index 5946df1ff84..3e05a4404a3 100644 --- a/groups/item_sites_item_get_by_path_with_path_get_by_path_with_path1_lists_request_builder.go +++ b/groups/item_sites_item_get_by_path_with_path_get_by_path_with_path1_lists_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSitesItemGetByPathWithPathGetByPathWithPath1ListsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemGetByPathWithPathGetByPathWithPath1ListsRequestBuilderGetQueryParameters get the collection of [lists][] for a [site][]. Lists with the [system][] facet are hidden by default.To list them, include system in your $select statement. +// ItemSitesItemGetByPathWithPathGetByPathWithPath1ListsRequestBuilderGetQueryParameters the collection of lists under this site. type ItemSitesItemGetByPathWithPathGetByPathWithPath1ListsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -59,12 +59,9 @@ func NewItemSitesItemGetByPathWithPathGetByPathWithPath1ListsRequestBuilder(rawU urlParams["request-raw-url"] = rawUrl return NewItemSitesItemGetByPathWithPathGetByPathWithPath1ListsRequestBuilderInternal(urlParams, requestAdapter) } -// Get get the collection of [lists][] for a [site][]. Lists with the [system][] facet are hidden by default.To list them, include system in your $select statement. +// Get the collection of lists under this site. // returns a ListCollectionResponseable when successful // returns a ODataError error 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?view=graph-rest-1.0 func (m *ItemSitesItemGetByPathWithPathGetByPathWithPath1ListsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemGetByPathWithPathGetByPathWithPath1ListsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ListCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -82,12 +79,9 @@ func (m *ItemSitesItemGetByPathWithPathGetByPathWithPath1ListsRequestBuilder) Ge } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ListCollectionResponseable), nil } -// Post create a new [list][] in a [site][]. +// Post create new navigation property to lists for groups // 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-create?view=graph-rest-1.0 func (m *ItemSitesItemGetByPathWithPathGetByPathWithPath1ListsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Listable, requestConfiguration *ItemSitesItemGetByPathWithPathGetByPathWithPath1ListsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Listable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -105,7 +99,7 @@ func (m *ItemSitesItemGetByPathWithPathGetByPathWithPath1ListsRequestBuilder) Po } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Listable), nil } -// ToGetRequestInformation get the collection of [lists][] for a [site][]. Lists with the [system][] facet are hidden by default.To list them, include system in your $select statement. +// ToGetRequestInformation the collection of lists under this site. // returns a *RequestInformation when successful func (m *ItemSitesItemGetByPathWithPathGetByPathWithPath1ListsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemGetByPathWithPathGetByPathWithPath1ListsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -119,7 +113,7 @@ func (m *ItemSitesItemGetByPathWithPathGetByPathWithPath1ListsRequestBuilder) To requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new [list][] in a [site][]. +// ToPostRequestInformation create new navigation property to lists for groups // returns a *RequestInformation when successful func (m *ItemSitesItemGetByPathWithPathGetByPathWithPath1ListsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Listable, requestConfiguration *ItemSitesItemGetByPathWithPathGetByPathWithPath1ListsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_get_by_path_with_path_get_by_path_with_path1_operations_request_builder.go b/groups/item_sites_item_get_by_path_with_path_get_by_path_with_path1_operations_request_builder.go index fbf0ab47884..59c26b0c918 100644 --- a/groups/item_sites_item_get_by_path_with_path_get_by_path_with_path1_operations_request_builder.go +++ b/groups/item_sites_item_get_by_path_with_path_get_by_path_with_path1_operations_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSitesItemGetByPathWithPathGetByPathWithPath1OperationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemGetByPathWithPathGetByPathWithPath1OperationsRequestBuilderGetQueryParameters get the list of richLongRunningOperations associated with a site. +// ItemSitesItemGetByPathWithPathGetByPathWithPath1OperationsRequestBuilderGetQueryParameters the collection of long running operations for the site. type ItemSitesItemGetByPathWithPathGetByPathWithPath1OperationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -59,12 +59,9 @@ func NewItemSitesItemGetByPathWithPathGetByPathWithPath1OperationsRequestBuilder urlParams["request-raw-url"] = rawUrl return NewItemSitesItemGetByPathWithPathGetByPathWithPath1OperationsRequestBuilderInternal(urlParams, requestAdapter) } -// Get get the list of richLongRunningOperations associated with a site. +// Get the collection of long running operations for the site. // returns a RichLongRunningOperationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/site-list-operations?view=graph-rest-1.0 func (m *ItemSitesItemGetByPathWithPathGetByPathWithPath1OperationsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemGetByPathWithPathGetByPathWithPath1OperationsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RichLongRunningOperationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,7 +99,7 @@ func (m *ItemSitesItemGetByPathWithPathGetByPathWithPath1OperationsRequestBuilde } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RichLongRunningOperationable), nil } -// ToGetRequestInformation get the list of richLongRunningOperations associated with a site. +// ToGetRequestInformation the collection of long running operations for the site. // returns a *RequestInformation when successful func (m *ItemSitesItemGetByPathWithPathGetByPathWithPath1OperationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemGetByPathWithPathGetByPathWithPath1OperationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_get_by_path_with_path_get_by_path_with_path1_pages_request_builder.go b/groups/item_sites_item_get_by_path_with_path_get_by_path_with_path1_pages_request_builder.go index f944b73682e..a9c2c562090 100644 --- a/groups/item_sites_item_get_by_path_with_path_get_by_path_with_path1_pages_request_builder.go +++ b/groups/item_sites_item_get_by_path_with_path_get_by_path_with_path1_pages_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSitesItemGetByPathWithPathGetByPathWithPath1PagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemGetByPathWithPathGetByPathWithPath1PagesRequestBuilderGetQueryParameters get the collection of [baseSitePage][] objects from the site pages [list][] in a [site][]. All pages in the site are returned (with pagination). Sort alphabetically by name in ascending order. The following table lists the available subtypes. +// ItemSitesItemGetByPathWithPathGetByPathWithPath1PagesRequestBuilderGetQueryParameters the collection of pages in the baseSitePages list on this site. type ItemSitesItemGetByPathWithPathGetByPathWithPath1PagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -59,12 +59,9 @@ func NewItemSitesItemGetByPathWithPathGetByPathWithPath1PagesRequestBuilder(rawU urlParams["request-raw-url"] = rawUrl return NewItemSitesItemGetByPathWithPathGetByPathWithPath1PagesRequestBuilderInternal(urlParams, requestAdapter) } -// Get get the collection of [baseSitePage][] objects from the site pages [list][] in a [site][]. All pages in the site are returned (with pagination). Sort alphabetically by name in ascending order. The following table lists the available subtypes. +// Get the collection of pages in the baseSitePages list on this site. // returns a BaseSitePageCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/basesitepage-list?view=graph-rest-1.0 func (m *ItemSitesItemGetByPathWithPathGetByPathWithPath1PagesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemGetByPathWithPathGetByPathWithPath1PagesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseSitePageCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -82,12 +79,9 @@ func (m *ItemSitesItemGetByPathWithPathGetByPathWithPath1PagesRequestBuilder) Ge } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseSitePageCollectionResponseable), nil } -// Post create a new [sitePage][] in the site pages [list][] in a [site][]. +// Post create new navigation property to pages for groups // 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-1.0 func (m *ItemSitesItemGetByPathWithPathGetByPathWithPath1PagesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseSitePageable, requestConfiguration *ItemSitesItemGetByPathWithPathGetByPathWithPath1PagesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseSitePageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -105,7 +99,7 @@ func (m *ItemSitesItemGetByPathWithPathGetByPathWithPath1PagesRequestBuilder) Po } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseSitePageable), nil } -// ToGetRequestInformation get the collection of [baseSitePage][] objects from the site pages [list][] in a [site][]. All pages in the site are returned (with pagination). Sort alphabetically by name in ascending order. The following table lists the available subtypes. +// ToGetRequestInformation the collection of pages in the baseSitePages list on this site. // returns a *RequestInformation when successful func (m *ItemSitesItemGetByPathWithPathGetByPathWithPath1PagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemGetByPathWithPathGetByPathWithPath1PagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -119,7 +113,7 @@ func (m *ItemSitesItemGetByPathWithPathGetByPathWithPath1PagesRequestBuilder) To requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new [sitePage][] in the site pages [list][] in a [site][]. +// ToPostRequestInformation create new navigation property to pages for groups // returns a *RequestInformation when successful func (m *ItemSitesItemGetByPathWithPathGetByPathWithPath1PagesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseSitePageable, requestConfiguration *ItemSitesItemGetByPathWithPathGetByPathWithPath1PagesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_get_by_path_with_path_get_by_path_with_path1_permissions_request_builder.go b/groups/item_sites_item_get_by_path_with_path_get_by_path_with_path1_permissions_request_builder.go index c80fa8f0bcb..70faa6a79a6 100644 --- a/groups/item_sites_item_get_by_path_with_path_get_by_path_with_path1_permissions_request_builder.go +++ b/groups/item_sites_item_get_by_path_with_path_get_by_path_with_path1_permissions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSitesItemGetByPathWithPathGetByPathWithPath1PermissionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemGetByPathWithPathGetByPathWithPath1PermissionsRequestBuilderGetQueryParameters get the permission resources from the permissions navigation property on a site. +// ItemSitesItemGetByPathWithPathGetByPathWithPath1PermissionsRequestBuilderGetQueryParameters the permissions associated with the site. Nullable. type ItemSitesItemGetByPathWithPathGetByPathWithPath1PermissionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -59,12 +59,9 @@ func NewItemSitesItemGetByPathWithPathGetByPathWithPath1PermissionsRequestBuilde urlParams["request-raw-url"] = rawUrl return NewItemSitesItemGetByPathWithPathGetByPathWithPath1PermissionsRequestBuilderInternal(urlParams, requestAdapter) } -// Get get the permission resources from the permissions navigation property on a site. +// Get the permissions associated with the site. Nullable. // returns a PermissionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/site-list-permissions?view=graph-rest-1.0 func (m *ItemSitesItemGetByPathWithPathGetByPathWithPath1PermissionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemGetByPathWithPathGetByPathWithPath1PermissionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -82,12 +79,9 @@ func (m *ItemSitesItemGetByPathWithPathGetByPathWithPath1PermissionsRequestBuild } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionCollectionResponseable), nil } -// Post create a new permission object on a site. +// Post create new navigation property to permissions for groups // returns a Permissionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/site-post-permissions?view=graph-rest-1.0 func (m *ItemSitesItemGetByPathWithPathGetByPathWithPath1PermissionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *ItemSitesItemGetByPathWithPathGetByPathWithPath1PermissionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -105,7 +99,7 @@ func (m *ItemSitesItemGetByPathWithPathGetByPathWithPath1PermissionsRequestBuild } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable), nil } -// ToGetRequestInformation get the permission resources from the permissions navigation property on a site. +// ToGetRequestInformation the permissions associated with the site. Nullable. // returns a *RequestInformation when successful func (m *ItemSitesItemGetByPathWithPathGetByPathWithPath1PermissionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemGetByPathWithPathGetByPathWithPath1PermissionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -119,7 +113,7 @@ func (m *ItemSitesItemGetByPathWithPathGetByPathWithPath1PermissionsRequestBuild requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new permission object on a site. +// ToPostRequestInformation create new navigation property to permissions for groups // returns a *RequestInformation when successful func (m *ItemSitesItemGetByPathWithPathGetByPathWithPath1PermissionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *ItemSitesItemGetByPathWithPathGetByPathWithPath1PermissionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_get_by_path_with_path_get_by_path_with_path1_sites_request_builder.go b/groups/item_sites_item_get_by_path_with_path_get_by_path_with_path1_sites_request_builder.go index a199df12687..5081adbb16d 100644 --- a/groups/item_sites_item_get_by_path_with_path_get_by_path_with_path1_sites_request_builder.go +++ b/groups/item_sites_item_get_by_path_with_path_get_by_path_with_path1_sites_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSitesItemGetByPathWithPathGetByPathWithPath1SitesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemGetByPathWithPathGetByPathWithPath1SitesRequestBuilderGetQueryParameters get a collection of subsites defined for a [site][]. +// ItemSitesItemGetByPathWithPathGetByPathWithPath1SitesRequestBuilderGetQueryParameters the collection of the sub-sites under this site. type ItemSitesItemGetByPathWithPathGetByPathWithPath1SitesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -52,12 +52,9 @@ func NewItemSitesItemGetByPathWithPathGetByPathWithPath1SitesRequestBuilder(rawU urlParams["request-raw-url"] = rawUrl return NewItemSitesItemGetByPathWithPathGetByPathWithPath1SitesRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a collection of subsites defined for a [site][]. +// Get the collection of the sub-sites under this site. // returns a SiteCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/site-list-subsites?view=graph-rest-1.0 func (m *ItemSitesItemGetByPathWithPathGetByPathWithPath1SitesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemGetByPathWithPathGetByPathWithPath1SitesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +72,7 @@ func (m *ItemSitesItemGetByPathWithPathGetByPathWithPath1SitesRequestBuilder) Ge } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteCollectionResponseable), nil } -// ToGetRequestInformation get a collection of subsites defined for a [site][]. +// ToGetRequestInformation the collection of the sub-sites under this site. // returns a *RequestInformation when successful func (m *ItemSitesItemGetByPathWithPathGetByPathWithPath1SitesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemGetByPathWithPathGetByPathWithPath1SitesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_get_by_path_with_path_get_by_path_with_path1_term_store_request_builder.go b/groups/item_sites_item_get_by_path_with_path_get_by_path_with_path1_term_store_request_builder.go index 3f52419ee47..00c244f10aa 100644 --- a/groups/item_sites_item_get_by_path_with_path_get_by_path_with_path1_term_store_request_builder.go +++ b/groups/item_sites_item_get_by_path_with_path_get_by_path_with_path1_term_store_request_builder.go @@ -18,7 +18,7 @@ type ItemSitesItemGetByPathWithPathGetByPathWithPath1TermStoreRequestBuilderDele // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemSitesItemGetByPathWithPathGetByPathWithPath1TermStoreRequestBuilderGetQueryParameters read the properties and relationships of a store object. +// ItemSitesItemGetByPathWithPathGetByPathWithPath1TermStoreRequestBuilderGetQueryParameters the termStore under this site. type ItemSitesItemGetByPathWithPathGetByPathWithPath1TermStoreRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemSitesItemGetByPathWithPathGetByPathWithPath1TermStoreRequestBuilder } return nil } -// Get read the properties and relationships of a store object. +// Get the termStore under this site. // returns a Storeable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-store-get?view=graph-rest-1.0 func (m *ItemSitesItemGetByPathWithPathGetByPathWithPath1TermStoreRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemGetByPathWithPathGetByPathWithPath1TermStoreRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Storeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemSitesItemGetByPathWithPathGetByPathWithPath1TermStoreRequestBuilder requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a store object. +// ToGetRequestInformation the termStore under this site. // returns a *RequestInformation when successful func (m *ItemSitesItemGetByPathWithPathGetByPathWithPath1TermStoreRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemGetByPathWithPathGetByPathWithPath1TermStoreRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_get_by_path_with_path_lists_request_builder.go b/groups/item_sites_item_get_by_path_with_path_lists_request_builder.go index 050cd9b8fcf..e0d7dcc10b7 100644 --- a/groups/item_sites_item_get_by_path_with_path_lists_request_builder.go +++ b/groups/item_sites_item_get_by_path_with_path_lists_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSitesItemGetByPathWithPathListsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemGetByPathWithPathListsRequestBuilderGetQueryParameters get the collection of [lists][] for a [site][]. Lists with the [system][] facet are hidden by default.To list them, include system in your $select statement. +// ItemSitesItemGetByPathWithPathListsRequestBuilderGetQueryParameters the collection of lists under this site. type ItemSitesItemGetByPathWithPathListsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -59,12 +59,9 @@ func NewItemSitesItemGetByPathWithPathListsRequestBuilder(rawUrl string, request urlParams["request-raw-url"] = rawUrl return NewItemSitesItemGetByPathWithPathListsRequestBuilderInternal(urlParams, requestAdapter) } -// Get get the collection of [lists][] for a [site][]. Lists with the [system][] facet are hidden by default.To list them, include system in your $select statement. +// Get the collection of lists under this site. // returns a ListCollectionResponseable when successful // returns a ODataError error 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?view=graph-rest-1.0 func (m *ItemSitesItemGetByPathWithPathListsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemGetByPathWithPathListsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ListCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -82,12 +79,9 @@ func (m *ItemSitesItemGetByPathWithPathListsRequestBuilder) Get(ctx context.Cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ListCollectionResponseable), nil } -// Post create a new [list][] in a [site][]. +// Post create new navigation property to lists for groups // 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-create?view=graph-rest-1.0 func (m *ItemSitesItemGetByPathWithPathListsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Listable, requestConfiguration *ItemSitesItemGetByPathWithPathListsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Listable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -105,7 +99,7 @@ func (m *ItemSitesItemGetByPathWithPathListsRequestBuilder) Post(ctx context.Con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Listable), nil } -// ToGetRequestInformation get the collection of [lists][] for a [site][]. Lists with the [system][] facet are hidden by default.To list them, include system in your $select statement. +// ToGetRequestInformation the collection of lists under this site. // returns a *RequestInformation when successful func (m *ItemSitesItemGetByPathWithPathListsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemGetByPathWithPathListsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -119,7 +113,7 @@ func (m *ItemSitesItemGetByPathWithPathListsRequestBuilder) ToGetRequestInformat requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new [list][] in a [site][]. +// ToPostRequestInformation create new navigation property to lists for groups // returns a *RequestInformation when successful func (m *ItemSitesItemGetByPathWithPathListsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Listable, requestConfiguration *ItemSitesItemGetByPathWithPathListsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_get_by_path_with_path_operations_request_builder.go b/groups/item_sites_item_get_by_path_with_path_operations_request_builder.go index d4bf521e02c..f7bae1ecc11 100644 --- a/groups/item_sites_item_get_by_path_with_path_operations_request_builder.go +++ b/groups/item_sites_item_get_by_path_with_path_operations_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSitesItemGetByPathWithPathOperationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemGetByPathWithPathOperationsRequestBuilderGetQueryParameters get the list of richLongRunningOperations associated with a site. +// ItemSitesItemGetByPathWithPathOperationsRequestBuilderGetQueryParameters the collection of long running operations for the site. type ItemSitesItemGetByPathWithPathOperationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -59,12 +59,9 @@ func NewItemSitesItemGetByPathWithPathOperationsRequestBuilder(rawUrl string, re urlParams["request-raw-url"] = rawUrl return NewItemSitesItemGetByPathWithPathOperationsRequestBuilderInternal(urlParams, requestAdapter) } -// Get get the list of richLongRunningOperations associated with a site. +// Get the collection of long running operations for the site. // returns a RichLongRunningOperationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/site-list-operations?view=graph-rest-1.0 func (m *ItemSitesItemGetByPathWithPathOperationsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemGetByPathWithPathOperationsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RichLongRunningOperationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,7 +99,7 @@ func (m *ItemSitesItemGetByPathWithPathOperationsRequestBuilder) Post(ctx contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RichLongRunningOperationable), nil } -// ToGetRequestInformation get the list of richLongRunningOperations associated with a site. +// ToGetRequestInformation the collection of long running operations for the site. // returns a *RequestInformation when successful func (m *ItemSitesItemGetByPathWithPathOperationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemGetByPathWithPathOperationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_get_by_path_with_path_pages_request_builder.go b/groups/item_sites_item_get_by_path_with_path_pages_request_builder.go index 1c83b06f832..530a59a5868 100644 --- a/groups/item_sites_item_get_by_path_with_path_pages_request_builder.go +++ b/groups/item_sites_item_get_by_path_with_path_pages_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSitesItemGetByPathWithPathPagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemGetByPathWithPathPagesRequestBuilderGetQueryParameters get the collection of [baseSitePage][] objects from the site pages [list][] in a [site][]. All pages in the site are returned (with pagination). Sort alphabetically by name in ascending order. The following table lists the available subtypes. +// ItemSitesItemGetByPathWithPathPagesRequestBuilderGetQueryParameters the collection of pages in the baseSitePages list on this site. type ItemSitesItemGetByPathWithPathPagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -59,12 +59,9 @@ func NewItemSitesItemGetByPathWithPathPagesRequestBuilder(rawUrl string, request urlParams["request-raw-url"] = rawUrl return NewItemSitesItemGetByPathWithPathPagesRequestBuilderInternal(urlParams, requestAdapter) } -// Get get the collection of [baseSitePage][] objects from the site pages [list][] in a [site][]. All pages in the site are returned (with pagination). Sort alphabetically by name in ascending order. The following table lists the available subtypes. +// Get the collection of pages in the baseSitePages list on this site. // returns a BaseSitePageCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/basesitepage-list?view=graph-rest-1.0 func (m *ItemSitesItemGetByPathWithPathPagesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemGetByPathWithPathPagesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseSitePageCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -82,12 +79,9 @@ func (m *ItemSitesItemGetByPathWithPathPagesRequestBuilder) Get(ctx context.Cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseSitePageCollectionResponseable), nil } -// Post create a new [sitePage][] in the site pages [list][] in a [site][]. +// Post create new navigation property to pages for groups // 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-1.0 func (m *ItemSitesItemGetByPathWithPathPagesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseSitePageable, requestConfiguration *ItemSitesItemGetByPathWithPathPagesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseSitePageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -105,7 +99,7 @@ func (m *ItemSitesItemGetByPathWithPathPagesRequestBuilder) Post(ctx context.Con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseSitePageable), nil } -// ToGetRequestInformation get the collection of [baseSitePage][] objects from the site pages [list][] in a [site][]. All pages in the site are returned (with pagination). Sort alphabetically by name in ascending order. The following table lists the available subtypes. +// ToGetRequestInformation the collection of pages in the baseSitePages list on this site. // returns a *RequestInformation when successful func (m *ItemSitesItemGetByPathWithPathPagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemGetByPathWithPathPagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -119,7 +113,7 @@ func (m *ItemSitesItemGetByPathWithPathPagesRequestBuilder) ToGetRequestInformat requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new [sitePage][] in the site pages [list][] in a [site][]. +// ToPostRequestInformation create new navigation property to pages for groups // returns a *RequestInformation when successful func (m *ItemSitesItemGetByPathWithPathPagesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseSitePageable, requestConfiguration *ItemSitesItemGetByPathWithPathPagesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_get_by_path_with_path_permissions_request_builder.go b/groups/item_sites_item_get_by_path_with_path_permissions_request_builder.go index a4b3a30f5a3..189f04067cb 100644 --- a/groups/item_sites_item_get_by_path_with_path_permissions_request_builder.go +++ b/groups/item_sites_item_get_by_path_with_path_permissions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSitesItemGetByPathWithPathPermissionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemGetByPathWithPathPermissionsRequestBuilderGetQueryParameters get the permission resources from the permissions navigation property on a site. +// ItemSitesItemGetByPathWithPathPermissionsRequestBuilderGetQueryParameters the permissions associated with the site. Nullable. type ItemSitesItemGetByPathWithPathPermissionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -59,12 +59,9 @@ func NewItemSitesItemGetByPathWithPathPermissionsRequestBuilder(rawUrl string, r urlParams["request-raw-url"] = rawUrl return NewItemSitesItemGetByPathWithPathPermissionsRequestBuilderInternal(urlParams, requestAdapter) } -// Get get the permission resources from the permissions navigation property on a site. +// Get the permissions associated with the site. Nullable. // returns a PermissionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/site-list-permissions?view=graph-rest-1.0 func (m *ItemSitesItemGetByPathWithPathPermissionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemGetByPathWithPathPermissionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -82,12 +79,9 @@ func (m *ItemSitesItemGetByPathWithPathPermissionsRequestBuilder) Get(ctx contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionCollectionResponseable), nil } -// Post create a new permission object on a site. +// Post create new navigation property to permissions for groups // returns a Permissionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/site-post-permissions?view=graph-rest-1.0 func (m *ItemSitesItemGetByPathWithPathPermissionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *ItemSitesItemGetByPathWithPathPermissionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -105,7 +99,7 @@ func (m *ItemSitesItemGetByPathWithPathPermissionsRequestBuilder) Post(ctx conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable), nil } -// ToGetRequestInformation get the permission resources from the permissions navigation property on a site. +// ToGetRequestInformation the permissions associated with the site. Nullable. // returns a *RequestInformation when successful func (m *ItemSitesItemGetByPathWithPathPermissionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemGetByPathWithPathPermissionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -119,7 +113,7 @@ func (m *ItemSitesItemGetByPathWithPathPermissionsRequestBuilder) ToGetRequestIn requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new permission object on a site. +// ToPostRequestInformation create new navigation property to permissions for groups // returns a *RequestInformation when successful func (m *ItemSitesItemGetByPathWithPathPermissionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *ItemSitesItemGetByPathWithPathPermissionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_get_by_path_with_path_sites_request_builder.go b/groups/item_sites_item_get_by_path_with_path_sites_request_builder.go index 1f7bb9bb3cc..3fa50782564 100644 --- a/groups/item_sites_item_get_by_path_with_path_sites_request_builder.go +++ b/groups/item_sites_item_get_by_path_with_path_sites_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSitesItemGetByPathWithPathSitesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemGetByPathWithPathSitesRequestBuilderGetQueryParameters get a collection of subsites defined for a [site][]. +// ItemSitesItemGetByPathWithPathSitesRequestBuilderGetQueryParameters the collection of the sub-sites under this site. type ItemSitesItemGetByPathWithPathSitesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -52,12 +52,9 @@ func NewItemSitesItemGetByPathWithPathSitesRequestBuilder(rawUrl string, request urlParams["request-raw-url"] = rawUrl return NewItemSitesItemGetByPathWithPathSitesRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a collection of subsites defined for a [site][]. +// Get the collection of the sub-sites under this site. // returns a SiteCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/site-list-subsites?view=graph-rest-1.0 func (m *ItemSitesItemGetByPathWithPathSitesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemGetByPathWithPathSitesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +72,7 @@ func (m *ItemSitesItemGetByPathWithPathSitesRequestBuilder) Get(ctx context.Cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteCollectionResponseable), nil } -// ToGetRequestInformation get a collection of subsites defined for a [site][]. +// ToGetRequestInformation the collection of the sub-sites under this site. // returns a *RequestInformation when successful func (m *ItemSitesItemGetByPathWithPathSitesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemGetByPathWithPathSitesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_get_by_path_with_path_term_store_request_builder.go b/groups/item_sites_item_get_by_path_with_path_term_store_request_builder.go index e195789fefe..b6af6596388 100644 --- a/groups/item_sites_item_get_by_path_with_path_term_store_request_builder.go +++ b/groups/item_sites_item_get_by_path_with_path_term_store_request_builder.go @@ -18,7 +18,7 @@ type ItemSitesItemGetByPathWithPathTermStoreRequestBuilderDeleteRequestConfigura // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemSitesItemGetByPathWithPathTermStoreRequestBuilderGetQueryParameters read the properties and relationships of a store object. +// ItemSitesItemGetByPathWithPathTermStoreRequestBuilderGetQueryParameters the termStore under this site. type ItemSitesItemGetByPathWithPathTermStoreRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemSitesItemGetByPathWithPathTermStoreRequestBuilder) Delete(ctx conte } return nil } -// Get read the properties and relationships of a store object. +// Get the termStore under this site. // returns a Storeable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-store-get?view=graph-rest-1.0 func (m *ItemSitesItemGetByPathWithPathTermStoreRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemGetByPathWithPathTermStoreRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Storeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemSitesItemGetByPathWithPathTermStoreRequestBuilder) ToDeleteRequestI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a store object. +// ToGetRequestInformation the termStore under this site. // returns a *RequestInformation when successful func (m *ItemSitesItemGetByPathWithPathTermStoreRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemGetByPathWithPathTermStoreRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_information_protection_bitlocker_recovery_keys_bitlocker_recovery_key_item_request_builder.go b/groups/item_sites_item_information_protection_bitlocker_recovery_keys_bitlocker_recovery_key_item_request_builder.go index 92f0145e182..f93e4d5ffd9 100644 --- a/groups/item_sites_item_information_protection_bitlocker_recovery_keys_bitlocker_recovery_key_item_request_builder.go +++ b/groups/item_sites_item_information_protection_bitlocker_recovery_keys_bitlocker_recovery_key_item_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSitesItemInformationProtectionBitlockerRecoveryKeysBitlockerRecoveryKeyItemRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemInformationProtectionBitlockerRecoveryKeysBitlockerRecoveryKeyItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a bitlockerRecoveryKey object. By default, this operation does not return the key property that represents the actual recovery key. To include the key property in the response, use the $select OData query parameter. Including the $select query parameter triggers a Microsoft Entra audit of the operation and generates an audit log. You can find the log in Microsoft Entra audit logs under the KeyManagement category. +// ItemSitesItemInformationProtectionBitlockerRecoveryKeysBitlockerRecoveryKeyItemRequestBuilderGetQueryParameters the recovery keys associated with the bitlocker entity. type ItemSitesItemInformationProtectionBitlockerRecoveryKeysBitlockerRecoveryKeyItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -40,12 +40,9 @@ func NewItemSitesItemInformationProtectionBitlockerRecoveryKeysBitlockerRecovery urlParams["request-raw-url"] = rawUrl return NewItemSitesItemInformationProtectionBitlockerRecoveryKeysBitlockerRecoveryKeyItemRequestBuilderInternal(urlParams, requestAdapter) } -// Get retrieve the properties and relationships of a bitlockerRecoveryKey object. By default, this operation does not return the key property that represents the actual recovery key. To include the key property in the response, use the $select OData query parameter. Including the $select query parameter triggers a Microsoft Entra audit of the operation and generates an audit log. You can find the log in Microsoft Entra audit logs under the KeyManagement category. +// Get the recovery keys associated with the bitlocker entity. // returns a BitlockerRecoveryKeyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/bitlockerrecoverykey-get?view=graph-rest-1.0 func (m *ItemSitesItemInformationProtectionBitlockerRecoveryKeysBitlockerRecoveryKeyItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemInformationProtectionBitlockerRecoveryKeysBitlockerRecoveryKeyItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BitlockerRecoveryKeyable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -63,7 +60,7 @@ func (m *ItemSitesItemInformationProtectionBitlockerRecoveryKeysBitlockerRecover } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BitlockerRecoveryKeyable), nil } -// ToGetRequestInformation retrieve the properties and relationships of a bitlockerRecoveryKey object. By default, this operation does not return the key property that represents the actual recovery key. To include the key property in the response, use the $select OData query parameter. Including the $select query parameter triggers a Microsoft Entra audit of the operation and generates an audit log. You can find the log in Microsoft Entra audit logs under the KeyManagement category. +// ToGetRequestInformation the recovery keys associated with the bitlocker entity. // returns a *RequestInformation when successful func (m *ItemSitesItemInformationProtectionBitlockerRecoveryKeysBitlockerRecoveryKeyItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemInformationProtectionBitlockerRecoveryKeysBitlockerRecoveryKeyItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_information_protection_bitlocker_recovery_keys_request_builder.go b/groups/item_sites_item_information_protection_bitlocker_recovery_keys_request_builder.go index 83f295f5b3f..03603a1bd9c 100644 --- a/groups/item_sites_item_information_protection_bitlocker_recovery_keys_request_builder.go +++ b/groups/item_sites_item_information_protection_bitlocker_recovery_keys_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSitesItemInformationProtectionBitlockerRecoveryKeysRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemInformationProtectionBitlockerRecoveryKeysRequestBuilderGetQueryParameters 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. +// ItemSitesItemInformationProtectionBitlockerRecoveryKeysRequestBuilderGetQueryParameters the recovery keys associated with the bitlocker entity. type ItemSitesItemInformationProtectionBitlockerRecoveryKeysRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewItemSitesItemInformationProtectionBitlockerRecoveryKeysRequestBuilder(ra func (m *ItemSitesItemInformationProtectionBitlockerRecoveryKeysRequestBuilder) Count()(*ItemSitesItemInformationProtectionBitlockerRecoveryKeysCountRequestBuilder) { return NewItemSitesItemInformationProtectionBitlockerRecoveryKeysCountRequestBuilderInternal(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 the recovery keys associated with the bitlocker entity. // returns a BitlockerRecoveryKeyCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/bitlocker-list-recoverykeys?view=graph-rest-1.0 func (m *ItemSitesItemInformationProtectionBitlockerRecoveryKeysRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemInformationProtectionBitlockerRecoveryKeysRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BitlockerRecoveryKeyCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *ItemSitesItemInformationProtectionBitlockerRecoveryKeysRequestBuilder) } 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 the recovery keys associated with the bitlocker entity. // returns a *RequestInformation when successful func (m *ItemSitesItemInformationProtectionBitlockerRecoveryKeysRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemInformationProtectionBitlockerRecoveryKeysRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_information_protection_policy_labels_evaluate_application_request_builder.go b/groups/item_sites_item_information_protection_policy_labels_evaluate_application_request_builder.go index 9226430917c..89f020f8362 100644 --- a/groups/item_sites_item_information_protection_policy_labels_evaluate_application_request_builder.go +++ b/groups/item_sites_item_information_protection_policy_labels_evaluate_application_request_builder.go @@ -36,7 +36,7 @@ func NewItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationRequest // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionlabel-evaluateapplication?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionlabel-evaluateapplication?view=graph-rest-beta func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationRequestBuilder) Post(ctx context.Context, body ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationPostRequestBodyable, requestConfiguration *ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationRequestBuilderPostRequestConfiguration)(ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -60,7 +60,7 @@ func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationReques // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionlabel-evaluateapplication?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionlabel-evaluateapplication?view=graph-rest-beta func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationRequestBuilder) PostAsEvaluateApplicationPostResponse(ctx context.Context, body ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationPostRequestBodyable, requestConfiguration *ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationRequestBuilderPostRequestConfiguration)(ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_sites_item_information_protection_policy_labels_evaluate_classification_results_request_builder.go b/groups/item_sites_item_information_protection_policy_labels_evaluate_classification_results_request_builder.go index 3a3220aee0a..77a0fdf13c6 100644 --- a/groups/item_sites_item_information_protection_policy_labels_evaluate_classification_results_request_builder.go +++ b/groups/item_sites_item_information_protection_policy_labels_evaluate_classification_results_request_builder.go @@ -36,7 +36,7 @@ func NewItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResu // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionlabel-evaluateclassificationresults?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionlabel-evaluateclassificationresults?view=graph-rest-beta func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResultsRequestBuilder) Post(ctx context.Context, body ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResultsPostRequestBodyable, requestConfiguration *ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResultsRequestBuilderPostRequestConfiguration)(ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResultsResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -60,7 +60,7 @@ func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationRes // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionlabel-evaluateclassificationresults?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionlabel-evaluateclassificationresults?view=graph-rest-beta func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResultsRequestBuilder) PostAsEvaluateClassificationResultsPostResponse(ctx context.Context, body ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResultsPostRequestBodyable, requestConfiguration *ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResultsRequestBuilderPostRequestConfiguration)(ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResultsPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_sites_item_information_protection_policy_labels_evaluate_removal_request_builder.go b/groups/item_sites_item_information_protection_policy_labels_evaluate_removal_request_builder.go index fbd9c58f17e..c129ff522d2 100644 --- a/groups/item_sites_item_information_protection_policy_labels_evaluate_removal_request_builder.go +++ b/groups/item_sites_item_information_protection_policy_labels_evaluate_removal_request_builder.go @@ -36,7 +36,7 @@ func NewItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalRequestBuil // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionlabel-evaluateremoval?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionlabel-evaluateremoval?view=graph-rest-beta func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalRequestBuilder) Post(ctx context.Context, body ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalPostRequestBodyable, requestConfiguration *ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalRequestBuilderPostRequestConfiguration)(ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -60,7 +60,7 @@ func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalRequestBui // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionlabel-evaluateremoval?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionlabel-evaluateremoval?view=graph-rest-beta func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalRequestBuilder) PostAsEvaluateRemovalPostResponse(ctx context.Context, body ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalPostRequestBodyable, requestConfiguration *ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalRequestBuilderPostRequestConfiguration)(ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_sites_item_information_protection_policy_labels_extract_label_request_builder.go b/groups/item_sites_item_information_protection_policy_labels_extract_label_request_builder.go index 3a978716dd1..3aab002e4ad 100644 --- a/groups/item_sites_item_information_protection_policy_labels_extract_label_request_builder.go +++ b/groups/item_sites_item_information_protection_policy_labels_extract_label_request_builder.go @@ -37,7 +37,7 @@ func NewItemSitesItemInformationProtectionPolicyLabelsExtractLabelRequestBuilder // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionlabel-extractlabel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionlabel-extractlabel?view=graph-rest-beta func (m *ItemSitesItemInformationProtectionPolicyLabelsExtractLabelRequestBuilder) Post(ctx context.Context, body ItemSitesItemInformationProtectionPolicyLabelsExtractLabelPostRequestBodyable, requestConfiguration *ItemSitesItemInformationProtectionPolicyLabelsExtractLabelRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InformationProtectionContentLabelable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_sites_item_information_protection_policy_labels_information_protection_label_item_request_builder.go b/groups/item_sites_item_information_protection_policy_labels_information_protection_label_item_request_builder.go index 99c75788a90..3834950b4b1 100644 --- a/groups/item_sites_item_information_protection_policy_labels_information_protection_label_item_request_builder.go +++ b/groups/item_sites_item_information_protection_policy_labels_information_protection_label_item_request_builder.go @@ -18,7 +18,7 @@ type ItemSitesItemInformationProtectionPolicyLabelsInformationProtectionLabelIte // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemSitesItemInformationProtectionPolicyLabelsInformationProtectionLabelItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an informationProtectionLabel object. +// ItemSitesItemInformationProtectionPolicyLabelsInformationProtectionLabelItemRequestBuilderGetQueryParameters get labels from groups type ItemSitesItemInformationProtectionPolicyLabelsInformationProtectionLabelItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -71,13 +71,10 @@ func (m *ItemSitesItemInformationProtectionPolicyLabelsInformationProtectionLabe } return nil } -// Get retrieve the properties and relationships of an informationProtectionLabel object. +// Get get labels from groups // Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels // returns a InformationProtectionLabelable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionlabel-get?view=graph-rest-1.0 func (m *ItemSitesItemInformationProtectionPolicyLabelsInformationProtectionLabelItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemInformationProtectionPolicyLabelsInformationProtectionLabelItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InformationProtectionLabelable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -128,7 +125,7 @@ func (m *ItemSitesItemInformationProtectionPolicyLabelsInformationProtectionLabe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of an informationProtectionLabel object. +// ToGetRequestInformation get labels from groups // Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels // returns a *RequestInformation when successful func (m *ItemSitesItemInformationProtectionPolicyLabelsInformationProtectionLabelItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemInformationProtectionPolicyLabelsInformationProtectionLabelItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/groups/item_sites_item_information_protection_policy_labels_request_builder.go b/groups/item_sites_item_information_protection_policy_labels_request_builder.go index 6b40e036bf4..190bba651ab 100644 --- a/groups/item_sites_item_information_protection_policy_labels_request_builder.go +++ b/groups/item_sites_item_information_protection_policy_labels_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSitesItemInformationProtectionPolicyLabelsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemInformationProtectionPolicyLabelsRequestBuilderGetQueryParameters get a collection of information protection labels available to the user or to the organization. +// ItemSitesItemInformationProtectionPolicyLabelsRequestBuilderGetQueryParameters get labels from groups type ItemSitesItemInformationProtectionPolicyLabelsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -97,13 +97,10 @@ func (m *ItemSitesItemInformationProtectionPolicyLabelsRequestBuilder) EvaluateR func (m *ItemSitesItemInformationProtectionPolicyLabelsRequestBuilder) ExtractLabel()(*ItemSitesItemInformationProtectionPolicyLabelsExtractLabelRequestBuilder) { return NewItemSitesItemInformationProtectionPolicyLabelsExtractLabelRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a collection of information protection labels available to the user or to the organization. +// Get get labels from groups // Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels // returns a InformationProtectionLabelCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionpolicy-list-labels?view=graph-rest-1.0 func (m *ItemSitesItemInformationProtectionPolicyLabelsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemInformationProtectionPolicyLabelsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InformationProtectionLabelCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -142,7 +139,7 @@ func (m *ItemSitesItemInformationProtectionPolicyLabelsRequestBuilder) Post(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InformationProtectionLabelable), nil } -// ToGetRequestInformation get a collection of information protection labels available to the user or to the organization. +// ToGetRequestInformation get labels from groups // Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels // returns a *RequestInformation when successful func (m *ItemSitesItemInformationProtectionPolicyLabelsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemInformationProtectionPolicyLabelsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/groups/item_sites_item_information_protection_threat_assessment_requests_request_builder.go b/groups/item_sites_item_information_protection_threat_assessment_requests_request_builder.go index 1b0b1c3ac9a..efc029ec59f 100644 --- a/groups/item_sites_item_information_protection_threat_assessment_requests_request_builder.go +++ b/groups/item_sites_item_information_protection_threat_assessment_requests_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSitesItemInformationProtectionThreatAssessmentRequestsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemInformationProtectionThreatAssessmentRequestsRequestBuilderGetQueryParameters retrieve a list of threatAssessmentRequest objects. A threat assessment request can be one of the following types: +// ItemSitesItemInformationProtectionThreatAssessmentRequestsRequestBuilderGetQueryParameters get threatAssessmentRequests from groups type ItemSitesItemInformationProtectionThreatAssessmentRequestsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemSitesItemInformationProtectionThreatAssessmentRequestsRequestBuilder func (m *ItemSitesItemInformationProtectionThreatAssessmentRequestsRequestBuilder) Count()(*ItemSitesItemInformationProtectionThreatAssessmentRequestsCountRequestBuilder) { return NewItemSitesItemInformationProtectionThreatAssessmentRequestsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of threatAssessmentRequest objects. A threat assessment request can be one of the following types: +// Get get threatAssessmentRequests from groups // returns a ThreatAssessmentRequestCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotection-list-threatassessmentrequests?view=graph-rest-1.0 func (m *ItemSitesItemInformationProtectionThreatAssessmentRequestsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemInformationProtectionThreatAssessmentRequestsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ThreatAssessmentRequestCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemSitesItemInformationProtectionThreatAssessmentRequestsRequestBuilde } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ThreatAssessmentRequestCollectionResponseable), nil } -// Post create a new threat assessment request. A threat assessment request can be one of the following types: +// Post create new navigation property to threatAssessmentRequests for groups // returns a ThreatAssessmentRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotection-post-threatassessmentrequests?view=graph-rest-1.0 func (m *ItemSitesItemInformationProtectionThreatAssessmentRequestsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ThreatAssessmentRequestable, requestConfiguration *ItemSitesItemInformationProtectionThreatAssessmentRequestsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ThreatAssessmentRequestable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemSitesItemInformationProtectionThreatAssessmentRequestsRequestBuilde } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ThreatAssessmentRequestable), nil } -// ToGetRequestInformation retrieve a list of threatAssessmentRequest objects. A threat assessment request can be one of the following types: +// ToGetRequestInformation get threatAssessmentRequests from groups // returns a *RequestInformation when successful func (m *ItemSitesItemInformationProtectionThreatAssessmentRequestsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemInformationProtectionThreatAssessmentRequestsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemSitesItemInformationProtectionThreatAssessmentRequestsRequestBuilde requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new threat assessment request. A threat assessment request can be one of the following types: +// ToPostRequestInformation create new navigation property to threatAssessmentRequests for groups // returns a *RequestInformation when successful func (m *ItemSitesItemInformationProtectionThreatAssessmentRequestsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ThreatAssessmentRequestable, requestConfiguration *ItemSitesItemInformationProtectionThreatAssessmentRequestsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_information_protection_threat_assessment_requests_threat_assessment_request_item_request_builder.go b/groups/item_sites_item_information_protection_threat_assessment_requests_threat_assessment_request_item_request_builder.go index f99b3bfb99c..46c6fa9a84d 100644 --- a/groups/item_sites_item_information_protection_threat_assessment_requests_threat_assessment_request_item_request_builder.go +++ b/groups/item_sites_item_information_protection_threat_assessment_requests_threat_assessment_request_item_request_builder.go @@ -18,7 +18,7 @@ type ItemSitesItemInformationProtectionThreatAssessmentRequestsThreatAssessmentR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemSitesItemInformationProtectionThreatAssessmentRequestsThreatAssessmentRequestItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a specified threatAssessmentRequest object. A threat assessment request can be one of the following types: +// ItemSitesItemInformationProtectionThreatAssessmentRequestsThreatAssessmentRequestItemRequestBuilderGetQueryParameters get threatAssessmentRequests from groups type ItemSitesItemInformationProtectionThreatAssessmentRequestsThreatAssessmentRequestItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemSitesItemInformationProtectionThreatAssessmentRequestsThreatAssessm } return nil } -// Get retrieve the properties and relationships of a specified threatAssessmentRequest object. A threat assessment request can be one of the following types: +// Get get threatAssessmentRequests from groups // returns a ThreatAssessmentRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/threatassessmentrequest-get?view=graph-rest-1.0 func (m *ItemSitesItemInformationProtectionThreatAssessmentRequestsThreatAssessmentRequestItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemInformationProtectionThreatAssessmentRequestsThreatAssessmentRequestItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ThreatAssessmentRequestable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *ItemSitesItemInformationProtectionThreatAssessmentRequestsThreatAssessm requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a specified threatAssessmentRequest object. A threat assessment request can be one of the following types: +// ToGetRequestInformation get threatAssessmentRequests from groups // returns a *RequestInformation when successful func (m *ItemSitesItemInformationProtectionThreatAssessmentRequestsThreatAssessmentRequestItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemInformationProtectionThreatAssessmentRequestsThreatAssessmentRequestItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_lists_item_columns_request_builder.go b/groups/item_sites_item_lists_item_columns_request_builder.go index 1273f9a9732..97aa2d183d2 100644 --- a/groups/item_sites_item_lists_item_columns_request_builder.go +++ b/groups/item_sites_item_lists_item_columns_request_builder.go @@ -79,9 +79,6 @@ func (m *ItemSitesItemListsItemColumnsRequestBuilder) Count()(*ItemSitesItemList // Get the collection of field definitions for this list. // returns a ColumnDefinitionCollectionResponseable when successful // returns a ODataError error 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-columns?view=graph-rest-1.0 func (m *ItemSitesItemListsItemColumnsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemListsItemColumnsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemSitesItemListsItemColumnsRequestBuilder) Get(ctx context.Context, r } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionCollectionResponseable), nil } -// Post create columnDefinition +// Post create new navigation property to columns for groups // returns a ColumnDefinitionable when successful // returns a ODataError error 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-post-columns?view=graph-rest-1.0 func (m *ItemSitesItemListsItemColumnsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, requestConfiguration *ItemSitesItemListsItemColumnsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -136,7 +130,7 @@ func (m *ItemSitesItemListsItemColumnsRequestBuilder) ToGetRequestInformation(ct requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create columnDefinition +// ToPostRequestInformation create new navigation property to columns for groups // returns a *RequestInformation when successful func (m *ItemSitesItemListsItemColumnsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, requestConfiguration *ItemSitesItemListsItemColumnsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_lists_item_content_types_add_copy_from_content_type_hub_request_builder.go b/groups/item_sites_item_lists_item_content_types_add_copy_from_content_type_hub_request_builder.go index e7f8e690177..8e4bb2503af 100644 --- a/groups/item_sites_item_lists_item_content_types_add_copy_from_content_type_hub_request_builder.go +++ b/groups/item_sites_item_lists_item_content_types_add_copy_from_content_type_hub_request_builder.go @@ -36,7 +36,7 @@ func NewItemSitesItemListsItemContentTypesAddCopyFromContentTypeHubRequestBuilde // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-addcopyfromcontenttypehub?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-addcopyfromcontenttypehub?view=graph-rest-beta func (m *ItemSitesItemListsItemContentTypesAddCopyFromContentTypeHubRequestBuilder) Post(ctx context.Context, body ItemSitesItemListsItemContentTypesAddCopyFromContentTypeHubPostRequestBodyable, requestConfiguration *ItemSitesItemListsItemContentTypesAddCopyFromContentTypeHubRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContentTypeable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_sites_item_lists_item_content_types_add_copy_request_builder.go b/groups/item_sites_item_lists_item_content_types_add_copy_request_builder.go index 70487689e3e..567a20f0356 100644 --- a/groups/item_sites_item_lists_item_content_types_add_copy_request_builder.go +++ b/groups/item_sites_item_lists_item_content_types_add_copy_request_builder.go @@ -36,7 +36,7 @@ func NewItemSitesItemListsItemContentTypesAddCopyRequestBuilder(rawUrl string, r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-addcopy?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-addcopy?view=graph-rest-beta func (m *ItemSitesItemListsItemContentTypesAddCopyRequestBuilder) Post(ctx context.Context, body ItemSitesItemListsItemContentTypesAddCopyPostRequestBodyable, requestConfiguration *ItemSitesItemListsItemContentTypesAddCopyRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContentTypeable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_sites_item_lists_item_content_types_get_compatible_hub_content_types_request_builder.go b/groups/item_sites_item_lists_item_content_types_get_compatible_hub_content_types_request_builder.go index cec2d40271c..eae51364ad1 100644 --- a/groups/item_sites_item_lists_item_content_types_get_compatible_hub_content_types_request_builder.go +++ b/groups/item_sites_item_lists_item_content_types_get_compatible_hub_content_types_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemSitesItemListsItemContentTypesGetCompatibleHubContentTypesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemListsItemContentTypesGetCompatibleHubContentTypesRequestBuilderGetQueryParameters invoke function getCompatibleHubContentTypes +// ItemSitesItemListsItemContentTypesGetCompatibleHubContentTypesRequestBuilderGetQueryParameters get compatible content types in the content type hub that can be added to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see addCopyFromContentTypeHub and the blog post Syntex Product Updates – August 2021. type ItemSitesItemListsItemContentTypesGetCompatibleHubContentTypesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewItemSitesItemListsItemContentTypesGetCompatibleHubContentTypesRequestBui urlParams["request-raw-url"] = rawUrl return NewItemSitesItemListsItemContentTypesGetCompatibleHubContentTypesRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getCompatibleHubContentTypes +// Get get compatible content types in the content type hub that can be added to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see addCopyFromContentTypeHub and the blog post Syntex Product Updates – August 2021. // Deprecated: This method is obsolete. Use GetAsGetCompatibleHubContentTypesGetResponse instead. // returns a ItemSitesItemListsItemContentTypesGetCompatibleHubContentTypesResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-getcompatiblehubcontenttypes?view=graph-rest-beta func (m *ItemSitesItemListsItemContentTypesGetCompatibleHubContentTypesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemListsItemContentTypesGetCompatibleHubContentTypesRequestBuilderGetRequestConfiguration)(ItemSitesItemListsItemContentTypesGetCompatibleHubContentTypesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ItemSitesItemListsItemContentTypesGetCompatibleHubContentTypesRequestBu } return res.(ItemSitesItemListsItemContentTypesGetCompatibleHubContentTypesResponseable), nil } -// GetAsGetCompatibleHubContentTypesGetResponse invoke function getCompatibleHubContentTypes +// GetAsGetCompatibleHubContentTypesGetResponse get compatible content types in the content type hub that can be added to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see addCopyFromContentTypeHub and the blog post Syntex Product Updates – August 2021. // returns a ItemSitesItemListsItemContentTypesGetCompatibleHubContentTypesGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-getcompatiblehubcontenttypes?view=graph-rest-beta func (m *ItemSitesItemListsItemContentTypesGetCompatibleHubContentTypesRequestBuilder) GetAsGetCompatibleHubContentTypesGetResponse(ctx context.Context, requestConfiguration *ItemSitesItemListsItemContentTypesGetCompatibleHubContentTypesRequestBuilderGetRequestConfiguration)(ItemSitesItemListsItemContentTypesGetCompatibleHubContentTypesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ItemSitesItemListsItemContentTypesGetCompatibleHubContentTypesRequestBu } return res.(ItemSitesItemListsItemContentTypesGetCompatibleHubContentTypesGetResponseable), nil } -// ToGetRequestInformation invoke function getCompatibleHubContentTypes +// ToGetRequestInformation get compatible content types in the content type hub that can be added to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see addCopyFromContentTypeHub and the blog post Syntex Product Updates – August 2021. // returns a *RequestInformation when successful func (m *ItemSitesItemListsItemContentTypesGetCompatibleHubContentTypesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemListsItemContentTypesGetCompatibleHubContentTypesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_lists_item_content_types_item_associate_with_hub_sites_request_builder.go b/groups/item_sites_item_lists_item_content_types_item_associate_with_hub_sites_request_builder.go index 87f4af71941..7f6201d808f 100644 --- a/groups/item_sites_item_lists_item_content_types_item_associate_with_hub_sites_request_builder.go +++ b/groups/item_sites_item_lists_item_content_types_item_associate_with_hub_sites_request_builder.go @@ -34,7 +34,7 @@ func NewItemSitesItemListsItemContentTypesItemAssociateWithHubSitesRequestBuilde // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-associatewithhubsites?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-associatewithhubsites?view=graph-rest-beta func (m *ItemSitesItemListsItemContentTypesItemAssociateWithHubSitesRequestBuilder) Post(ctx context.Context, body ItemSitesItemListsItemContentTypesItemAssociateWithHubSitesPostRequestBodyable, requestConfiguration *ItemSitesItemListsItemContentTypesItemAssociateWithHubSitesRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_sites_item_lists_item_content_types_item_columns_column_definition_item_request_builder.go b/groups/item_sites_item_lists_item_content_types_item_columns_column_definition_item_request_builder.go index 68e0d5c8f7d..dee150c09c1 100644 --- a/groups/item_sites_item_lists_item_content_types_item_columns_column_definition_item_request_builder.go +++ b/groups/item_sites_item_lists_item_content_types_item_columns_column_definition_item_request_builder.go @@ -18,7 +18,7 @@ type ItemSitesItemListsItemContentTypesItemColumnsColumnDefinitionItemRequestBui // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemSitesItemListsItemContentTypesItemColumnsColumnDefinitionItemRequestBuilderGetQueryParameters retrieve the metadata for a [site][], [list][], or [contentType][] [column][columnDefinition]. +// ItemSitesItemListsItemContentTypesItemColumnsColumnDefinitionItemRequestBuilderGetQueryParameters the collection of column definitions for this content type. type ItemSitesItemListsItemContentTypesItemColumnsColumnDefinitionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemSitesItemListsItemContentTypesItemColumnsColumnDefinitionItemRequest urlParams["request-raw-url"] = rawUrl return NewItemSitesItemListsItemContentTypesItemColumnsColumnDefinitionItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete columnDefinition +// Delete delete navigation property columns for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/columndefinition-delete?view=graph-rest-1.0 func (m *ItemSitesItemListsItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemSitesItemListsItemContentTypesItemColumnsColumnDefinitionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemSitesItemListsItemContentTypesItemColumnsColumnDefinitionItemReques } return nil } -// Get retrieve the metadata for a [site][], [list][], or [contentType][] [column][columnDefinition]. +// Get the collection of column definitions for this content type. // returns a ColumnDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/columndefinition-get?view=graph-rest-1.0 func (m *ItemSitesItemListsItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemListsItemContentTypesItemColumnsColumnDefinitionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ItemSitesItemListsItemContentTypesItemColumnsColumnDefinitionItemReques } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable), nil } -// Patch update columnDefinition +// Patch update the navigation property columns in groups // returns a ColumnDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/columndefinition-update?view=graph-rest-1.0 func (m *ItemSitesItemListsItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, requestConfiguration *ItemSitesItemListsItemContentTypesItemColumnsColumnDefinitionItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -124,7 +115,7 @@ func (m *ItemSitesItemListsItemContentTypesItemColumnsColumnDefinitionItemReques func (m *ItemSitesItemListsItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) SourceColumn()(*ItemSitesItemListsItemContentTypesItemColumnsItemSourceColumnRequestBuilder) { return NewItemSitesItemListsItemContentTypesItemColumnsItemSourceColumnRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete columnDefinition +// ToDeleteRequestInformation delete navigation property columns for groups // returns a *RequestInformation when successful func (m *ItemSitesItemListsItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemListsItemContentTypesItemColumnsColumnDefinitionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -135,7 +126,7 @@ func (m *ItemSitesItemListsItemContentTypesItemColumnsColumnDefinitionItemReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the metadata for a [site][], [list][], or [contentType][] [column][columnDefinition]. +// ToGetRequestInformation the collection of column definitions for this content type. // returns a *RequestInformation when successful func (m *ItemSitesItemListsItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemListsItemContentTypesItemColumnsColumnDefinitionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -149,7 +140,7 @@ func (m *ItemSitesItemListsItemContentTypesItemColumnsColumnDefinitionItemReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update columnDefinition +// ToPatchRequestInformation update the navigation property columns in groups // returns a *RequestInformation when successful func (m *ItemSitesItemListsItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, requestConfiguration *ItemSitesItemListsItemContentTypesItemColumnsColumnDefinitionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_lists_item_content_types_item_columns_request_builder.go b/groups/item_sites_item_lists_item_content_types_item_columns_request_builder.go index 4bc57eecb0e..9f0e38a7b64 100644 --- a/groups/item_sites_item_lists_item_content_types_item_columns_request_builder.go +++ b/groups/item_sites_item_lists_item_content_types_item_columns_request_builder.go @@ -79,9 +79,6 @@ func (m *ItemSitesItemListsItemContentTypesItemColumnsRequestBuilder) Count()(*I // Get the collection of column definitions for this content type. // returns a ColumnDefinitionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-list-columns?view=graph-rest-1.0 func (m *ItemSitesItemListsItemContentTypesItemColumnsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemListsItemContentTypesItemColumnsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemSitesItemListsItemContentTypesItemColumnsRequestBuilder) Get(ctx co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionCollectionResponseable), nil } -// Post create columnDefinition for a content type +// Post create new navigation property to columns for groups // returns a ColumnDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-post-columns?view=graph-rest-1.0 func (m *ItemSitesItemListsItemContentTypesItemColumnsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, requestConfiguration *ItemSitesItemListsItemContentTypesItemColumnsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -136,7 +130,7 @@ func (m *ItemSitesItemListsItemContentTypesItemColumnsRequestBuilder) ToGetReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create columnDefinition for a content type +// ToPostRequestInformation create new navigation property to columns for groups // returns a *RequestInformation when successful func (m *ItemSitesItemListsItemContentTypesItemColumnsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, requestConfiguration *ItemSitesItemListsItemContentTypesItemColumnsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_lists_item_content_types_item_copy_to_default_content_location_request_builder.go b/groups/item_sites_item_lists_item_content_types_item_copy_to_default_content_location_request_builder.go index 3d1b2afb8ff..6a3cf0f6744 100644 --- a/groups/item_sites_item_lists_item_content_types_item_copy_to_default_content_location_request_builder.go +++ b/groups/item_sites_item_lists_item_content_types_item_copy_to_default_content_location_request_builder.go @@ -34,7 +34,7 @@ func NewItemSitesItemListsItemContentTypesItemCopyToDefaultContentLocationReques // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-copytodefaultcontentlocation?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-copytodefaultcontentlocation?view=graph-rest-beta func (m *ItemSitesItemListsItemContentTypesItemCopyToDefaultContentLocationRequestBuilder) Post(ctx context.Context, body ItemSitesItemListsItemContentTypesItemCopyToDefaultContentLocationPostRequestBodyable, requestConfiguration *ItemSitesItemListsItemContentTypesItemCopyToDefaultContentLocationRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_sites_item_lists_item_content_types_item_is_published_request_builder.go b/groups/item_sites_item_lists_item_content_types_item_is_published_request_builder.go index 4775d435388..2e28d28e517 100644 --- a/groups/item_sites_item_lists_item_content_types_item_is_published_request_builder.go +++ b/groups/item_sites_item_lists_item_content_types_item_is_published_request_builder.go @@ -34,6 +34,9 @@ func NewItemSitesItemListsItemContentTypesItemIsPublishedRequestBuilder(rawUrl s // Deprecated: This method is obsolete. Use GetAsIsPublishedGetResponse instead. // returns a ItemSitesItemListsItemContentTypesItemIsPublishedResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-ispublished?view=graph-rest-beta func (m *ItemSitesItemListsItemContentTypesItemIsPublishedRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemListsItemContentTypesItemIsPublishedRequestBuilderGetRequestConfiguration)(ItemSitesItemListsItemContentTypesItemIsPublishedResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -54,6 +57,9 @@ func (m *ItemSitesItemListsItemContentTypesItemIsPublishedRequestBuilder) Get(ct // GetAsIsPublishedGetResponse invoke function isPublished // returns a ItemSitesItemListsItemContentTypesItemIsPublishedGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-ispublished?view=graph-rest-beta func (m *ItemSitesItemListsItemContentTypesItemIsPublishedRequestBuilder) GetAsIsPublishedGetResponse(ctx context.Context, requestConfiguration *ItemSitesItemListsItemContentTypesItemIsPublishedRequestBuilderGetRequestConfiguration)(ItemSitesItemListsItemContentTypesItemIsPublishedGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_sites_item_lists_item_content_types_item_publish_request_builder.go b/groups/item_sites_item_lists_item_content_types_item_publish_request_builder.go index 87a5e128ffb..972b57bceb4 100644 --- a/groups/item_sites_item_lists_item_content_types_item_publish_request_builder.go +++ b/groups/item_sites_item_lists_item_content_types_item_publish_request_builder.go @@ -34,7 +34,7 @@ func NewItemSitesItemListsItemContentTypesItemPublishRequestBuilder(rawUrl strin // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-publish?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-publish?view=graph-rest-beta func (m *ItemSitesItemListsItemContentTypesItemPublishRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemSitesItemListsItemContentTypesItemPublishRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_sites_item_lists_item_content_types_item_unpublish_request_builder.go b/groups/item_sites_item_lists_item_content_types_item_unpublish_request_builder.go index ab8840a1b81..e41aef19230 100644 --- a/groups/item_sites_item_lists_item_content_types_item_unpublish_request_builder.go +++ b/groups/item_sites_item_lists_item_content_types_item_unpublish_request_builder.go @@ -34,7 +34,7 @@ func NewItemSitesItemListsItemContentTypesItemUnpublishRequestBuilder(rawUrl str // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-unpublish?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-unpublish?view=graph-rest-beta func (m *ItemSitesItemListsItemContentTypesItemUnpublishRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemSitesItemListsItemContentTypesItemUnpublishRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_sites_item_lists_item_content_types_request_builder.go b/groups/item_sites_item_lists_item_content_types_request_builder.go index c773e9f206b..1e2a8e6deb6 100644 --- a/groups/item_sites_item_lists_item_content_types_request_builder.go +++ b/groups/item_sites_item_lists_item_content_types_request_builder.go @@ -89,9 +89,6 @@ func (m *ItemSitesItemListsItemContentTypesRequestBuilder) Count()(*ItemSitesIte // Get the collection of content types present in this list. // returns a ContentTypeCollectionResponseable when successful // returns a ODataError error 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-contenttypes?view=graph-rest-1.0 func (m *ItemSitesItemListsItemContentTypesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemListsItemContentTypesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContentTypeCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_sites_item_lists_item_items_delta_request_builder.go b/groups/item_sites_item_lists_item_items_delta_request_builder.go index 3681a0b7b74..a0813e36353 100644 --- a/groups/item_sites_item_lists_item_items_delta_request_builder.go +++ b/groups/item_sites_item_lists_item_items_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemSitesItemListsItemItemsDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemListsItemItemsDeltaRequestBuilderGetQueryParameters invoke function delta +// ItemSitesItemListsItemItemsDeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted list items without having to perform a full read of the entire items collection. Your app begins by calling delta without any parameters.The service starts enumerating the hierarchy of the list, returning pages of items, and either an @odata.nextLink or an @odata.deltaLink.Your app should continue calling with the @odata.nextLink until you see an @odata.deltaLink returned. After you received all the changes, you can apply them to your local state.To check for changes in the future, call delta again with the @odata.deltaLink from the previous response. The delta feed shows the latest state for each item, not each change. If an item was renamed twice, it only shows up once, with its latest name.The same item might appear more than once in a delta feed, for various reasons. You should use the last occurrence you see. Deleted items are returned with the deleted facet. Deleted indicates that the item is deleted and can't be restored.Items with this property should be removed from your local state. type ItemSitesItemListsItemItemsDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewItemSitesItemListsItemItemsDeltaRequestBuilder(rawUrl string, requestAda urlParams["request-raw-url"] = rawUrl return NewItemSitesItemListsItemItemsDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get get newly created, updated, or deleted list items without having to perform a full read of the entire items collection. Your app begins by calling delta without any parameters.The service starts enumerating the hierarchy of the list, returning pages of items, and either an @odata.nextLink or an @odata.deltaLink.Your app should continue calling with the @odata.nextLink until you see an @odata.deltaLink returned. After you received all the changes, you can apply them to your local state.To check for changes in the future, call delta again with the @odata.deltaLink from the previous response. The delta feed shows the latest state for each item, not each change. If an item was renamed twice, it only shows up once, with its latest name.The same item might appear more than once in a delta feed, for various reasons. You should use the last occurrence you see. Deleted items are returned with the deleted facet. Deleted indicates that the item is deleted and can't be restored.Items with this property should be removed from your local state. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemSitesItemListsItemItemsDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/listitem-delta?view=graph-rest-beta func (m *ItemSitesItemListsItemItemsDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemListsItemItemsDeltaRequestBuilderGetRequestConfiguration)(ItemSitesItemListsItemItemsDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ItemSitesItemListsItemItemsDeltaRequestBuilder) Get(ctx context.Context } return res.(ItemSitesItemListsItemItemsDeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse get newly created, updated, or deleted list items without having to perform a full read of the entire items collection. Your app begins by calling delta without any parameters.The service starts enumerating the hierarchy of the list, returning pages of items, and either an @odata.nextLink or an @odata.deltaLink.Your app should continue calling with the @odata.nextLink until you see an @odata.deltaLink returned. After you received all the changes, you can apply them to your local state.To check for changes in the future, call delta again with the @odata.deltaLink from the previous response. The delta feed shows the latest state for each item, not each change. If an item was renamed twice, it only shows up once, with its latest name.The same item might appear more than once in a delta feed, for various reasons. You should use the last occurrence you see. Deleted items are returned with the deleted facet. Deleted indicates that the item is deleted and can't be restored.Items with this property should be removed from your local state. // returns a ItemSitesItemListsItemItemsDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/listitem-delta?view=graph-rest-beta func (m *ItemSitesItemListsItemItemsDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemSitesItemListsItemItemsDeltaRequestBuilderGetRequestConfiguration)(ItemSitesItemListsItemItemsDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ItemSitesItemListsItemItemsDeltaRequestBuilder) GetAsDeltaGetResponse(c } return res.(ItemSitesItemListsItemItemsDeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation get newly created, updated, or deleted list items without having to perform a full read of the entire items collection. Your app begins by calling delta without any parameters.The service starts enumerating the hierarchy of the list, returning pages of items, and either an @odata.nextLink or an @odata.deltaLink.Your app should continue calling with the @odata.nextLink until you see an @odata.deltaLink returned. After you received all the changes, you can apply them to your local state.To check for changes in the future, call delta again with the @odata.deltaLink from the previous response. The delta feed shows the latest state for each item, not each change. If an item was renamed twice, it only shows up once, with its latest name.The same item might appear more than once in a delta feed, for various reasons. You should use the last occurrence you see. Deleted items are returned with the deleted facet. Deleted indicates that the item is deleted and can't be restored.Items with this property should be removed from your local state. // returns a *RequestInformation when successful func (m *ItemSitesItemListsItemItemsDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemListsItemItemsDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_lists_item_items_item_create_link_request_builder.go b/groups/item_sites_item_lists_item_items_item_create_link_request_builder.go index f0cb10f68d2..89901826aa0 100644 --- a/groups/item_sites_item_lists_item_items_item_create_link_request_builder.go +++ b/groups/item_sites_item_lists_item_items_item_create_link_request_builder.go @@ -36,7 +36,7 @@ func NewItemSitesItemListsItemItemsItemCreateLinkRequestBuilder(rawUrl string, r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/listitem-createlink?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/listitem-createlink?view=graph-rest-beta func (m *ItemSitesItemListsItemItemsItemCreateLinkRequestBuilder) Post(ctx context.Context, body ItemSitesItemListsItemItemsItemCreateLinkPostRequestBodyable, requestConfiguration *ItemSitesItemListsItemItemsItemCreateLinkRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_sites_item_lists_item_items_item_document_set_versions_document_set_version_item_request_builder.go b/groups/item_sites_item_lists_item_items_item_document_set_versions_document_set_version_item_request_builder.go index 8dff463b681..3b992a390d1 100644 --- a/groups/item_sites_item_lists_item_items_item_document_set_versions_document_set_version_item_request_builder.go +++ b/groups/item_sites_item_lists_item_items_item_document_set_versions_document_set_version_item_request_builder.go @@ -18,7 +18,7 @@ type ItemSitesItemListsItemItemsItemDocumentSetVersionsDocumentSetVersionItemReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemSitesItemListsItemItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilderGetQueryParameters read the properties and relationships of a documentSetVersion object. +// ItemSitesItemListsItemItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilderGetQueryParameters version information for a document set version created by a user. type ItemSitesItemListsItemItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemSitesItemListsItemItemsItemDocumentSetVersionsDocumentSetVersionItem urlParams["request-raw-url"] = rawUrl return NewItemSitesItemListsItemItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a version of a document set in a list. +// Delete delete navigation property documentSetVersions for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/documentsetversion-delete?view=graph-rest-1.0 func (m *ItemSitesItemListsItemItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemSitesItemListsItemItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *ItemSitesItemListsItemItemsItemDocumentSetVersionsDocumentSetVersionIte func (m *ItemSitesItemListsItemItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilder) Fields()(*ItemSitesItemListsItemItemsItemDocumentSetVersionsItemFieldsRequestBuilder) { return NewItemSitesItemListsItemItemsItemDocumentSetVersionsItemFieldsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of a documentSetVersion object. +// Get version information for a document set version created by a user. // returns a DocumentSetVersionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/documentsetversion-get?view=graph-rest-1.0 func (m *ItemSitesItemListsItemItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemListsItemItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DocumentSetVersionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -126,7 +120,7 @@ func (m *ItemSitesItemListsItemItemsItemDocumentSetVersionsDocumentSetVersionIte func (m *ItemSitesItemListsItemItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilder) Restore()(*ItemSitesItemListsItemItemsItemDocumentSetVersionsItemRestoreRequestBuilder) { return NewItemSitesItemListsItemItemsItemDocumentSetVersionsItemRestoreRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a version of a document set in a list. +// ToDeleteRequestInformation delete navigation property documentSetVersions for groups // returns a *RequestInformation when successful func (m *ItemSitesItemListsItemItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemListsItemItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -137,7 +131,7 @@ func (m *ItemSitesItemListsItemItemsItemDocumentSetVersionsDocumentSetVersionIte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a documentSetVersion object. +// ToGetRequestInformation version information for a document set version created by a user. // returns a *RequestInformation when successful func (m *ItemSitesItemListsItemItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemListsItemItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_lists_item_items_item_document_set_versions_item_restore_request_builder.go b/groups/item_sites_item_lists_item_items_item_document_set_versions_item_restore_request_builder.go index 39dcd80bc47..2269530b880 100644 --- a/groups/item_sites_item_lists_item_items_item_document_set_versions_item_restore_request_builder.go +++ b/groups/item_sites_item_lists_item_items_item_document_set_versions_item_restore_request_builder.go @@ -34,7 +34,7 @@ func NewItemSitesItemListsItemItemsItemDocumentSetVersionsItemRestoreRequestBuil // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/documentsetversion-restore?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/documentsetversion-restore?view=graph-rest-beta func (m *ItemSitesItemListsItemItemsItemDocumentSetVersionsItemRestoreRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemSitesItemListsItemItemsItemDocumentSetVersionsItemRestoreRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_sites_item_lists_item_items_item_document_set_versions_request_builder.go b/groups/item_sites_item_lists_item_items_item_document_set_versions_request_builder.go index aac982d0216..1f3e61cc2fe 100644 --- a/groups/item_sites_item_lists_item_items_item_document_set_versions_request_builder.go +++ b/groups/item_sites_item_lists_item_items_item_document_set_versions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSitesItemListsItemItemsItemDocumentSetVersionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemListsItemItemsItemDocumentSetVersionsRequestBuilderGetQueryParameters get a list of the versions of a document set item in a list. +// ItemSitesItemListsItemItemsItemDocumentSetVersionsRequestBuilderGetQueryParameters version information for a document set version created by a user. type ItemSitesItemListsItemItemsItemDocumentSetVersionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemSitesItemListsItemItemsItemDocumentSetVersionsRequestBuilder(rawUrl func (m *ItemSitesItemListsItemItemsItemDocumentSetVersionsRequestBuilder) Count()(*ItemSitesItemListsItemItemsItemDocumentSetVersionsCountRequestBuilder) { return NewItemSitesItemListsItemItemsItemDocumentSetVersionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the versions of a document set item in a list. +// Get version information for a document set version created by a user. // returns a DocumentSetVersionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/listitem-list-documentsetversions?view=graph-rest-1.0 func (m *ItemSitesItemListsItemItemsItemDocumentSetVersionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemListsItemItemsItemDocumentSetVersionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DocumentSetVersionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemSitesItemListsItemItemsItemDocumentSetVersionsRequestBuilder) Get(c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DocumentSetVersionCollectionResponseable), nil } -// Post create a new version of a document set item in a list. +// Post create new navigation property to documentSetVersions for groups // returns a DocumentSetVersionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/listitem-post-documentsetversions?view=graph-rest-1.0 func (m *ItemSitesItemListsItemItemsItemDocumentSetVersionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DocumentSetVersionable, requestConfiguration *ItemSitesItemListsItemItemsItemDocumentSetVersionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DocumentSetVersionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemSitesItemListsItemItemsItemDocumentSetVersionsRequestBuilder) Post( } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DocumentSetVersionable), nil } -// ToGetRequestInformation get a list of the versions of a document set item in a list. +// ToGetRequestInformation version information for a document set version created by a user. // returns a *RequestInformation when successful func (m *ItemSitesItemListsItemItemsItemDocumentSetVersionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemListsItemItemsItemDocumentSetVersionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemSitesItemListsItemItemsItemDocumentSetVersionsRequestBuilder) ToGet requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new version of a document set item in a list. +// ToPostRequestInformation create new navigation property to documentSetVersions for groups // returns a *RequestInformation when successful func (m *ItemSitesItemListsItemItemsItemDocumentSetVersionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DocumentSetVersionable, requestConfiguration *ItemSitesItemListsItemItemsItemDocumentSetVersionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_lists_item_items_item_drive_item_request_builder.go b/groups/item_sites_item_lists_item_items_item_drive_item_request_builder.go index fe0fc3f4bbe..8141b2246da 100644 --- a/groups/item_sites_item_lists_item_items_item_drive_item_request_builder.go +++ b/groups/item_sites_item_lists_item_items_item_drive_item_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSitesItemListsItemItemsItemDriveItemRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemListsItemItemsItemDriveItemRequestBuilderGetQueryParameters for document libraries, the driveItem relationship exposes the listItem as a [driveItem][] +// ItemSitesItemListsItemItemsItemDriveItemRequestBuilderGetQueryParameters for document libraries, the driveItem relationship exposes the listItem as a driveItem type ItemSitesItemListsItemItemsItemDriveItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -50,7 +50,7 @@ func (m *ItemSitesItemListsItemItemsItemDriveItemRequestBuilder) Content()(*Item func (m *ItemSitesItemListsItemItemsItemDriveItemRequestBuilder) ContentStream()(*ItemSitesItemListsItemItemsItemDriveItemContentStreamRequestBuilder) { return NewItemSitesItemListsItemItemsItemDriveItemContentStreamRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get for document libraries, the driveItem relationship exposes the listItem as a [driveItem][] +// Get for document libraries, the driveItem relationship exposes the listItem as a driveItem // returns a DriveItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemSitesItemListsItemItemsItemDriveItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemListsItemItemsItemDriveItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable, error) { @@ -70,7 +70,7 @@ func (m *ItemSitesItemListsItemItemsItemDriveItemRequestBuilder) Get(ctx context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable), nil } -// ToGetRequestInformation for document libraries, the driveItem relationship exposes the listItem as a [driveItem][] +// ToGetRequestInformation for document libraries, the driveItem relationship exposes the listItem as a driveItem // returns a *RequestInformation when successful func (m *ItemSitesItemListsItemItemsItemDriveItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemListsItemItemsItemDriveItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_lists_item_items_item_fields_request_builder.go b/groups/item_sites_item_lists_item_items_item_fields_request_builder.go index c5a4da58ccb..692bc843d5c 100644 --- a/groups/item_sites_item_lists_item_items_item_fields_request_builder.go +++ b/groups/item_sites_item_lists_item_items_item_fields_request_builder.go @@ -90,12 +90,9 @@ func (m *ItemSitesItemListsItemItemsItemFieldsRequestBuilder) Get(ctx context.Co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FieldValueSetable), nil } -// Patch update the properties on a [listItem][]. +// Patch update the navigation property fields in groups // returns a FieldValueSetable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/listitem-update?view=graph-rest-1.0 func (m *ItemSitesItemListsItemItemsItemFieldsRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FieldValueSetable, requestConfiguration *ItemSitesItemListsItemItemsItemFieldsRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FieldValueSetable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -138,7 +135,7 @@ func (m *ItemSitesItemListsItemItemsItemFieldsRequestBuilder) ToGetRequestInform requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties on a [listItem][]. +// ToPatchRequestInformation update the navigation property fields in groups // returns a *RequestInformation when successful func (m *ItemSitesItemListsItemItemsItemFieldsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FieldValueSetable, requestConfiguration *ItemSitesItemListsItemItemsItemFieldsRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_lists_item_items_list_item_item_request_builder.go b/groups/item_sites_item_lists_item_items_list_item_item_request_builder.go index 9654810fdcc..25f26fae2c8 100644 --- a/groups/item_sites_item_lists_item_items_list_item_item_request_builder.go +++ b/groups/item_sites_item_lists_item_items_list_item_item_request_builder.go @@ -18,7 +18,7 @@ type ItemSitesItemListsItemItemsListItemItemRequestBuilderDeleteRequestConfigura // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemSitesItemListsItemItemsListItemItemRequestBuilderGetQueryParameters returns the metadata for an [item][] in a [list][]. +// ItemSitesItemListsItemItemsListItemItemRequestBuilderGetQueryParameters all items contained in the list. type ItemSitesItemListsItemItemsListItemItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -74,11 +74,8 @@ func (m *ItemSitesItemListsItemItemsListItemItemRequestBuilder) CreatedByUser()( func (m *ItemSitesItemListsItemItemsListItemItemRequestBuilder) CreateLink()(*ItemSitesItemListsItemItemsItemCreateLinkRequestBuilder) { return NewItemSitesItemListsItemItemsItemCreateLinkRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Delete removes an item from a [list][]. +// Delete delete navigation property items for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/listitem-delete?view=graph-rest-1.0 func (m *ItemSitesItemListsItemItemsListItemItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemSitesItemListsItemItemsListItemItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -108,12 +105,9 @@ func (m *ItemSitesItemListsItemItemsListItemItemRequestBuilder) DriveItem()(*Ite func (m *ItemSitesItemListsItemItemsListItemItemRequestBuilder) Fields()(*ItemSitesItemListsItemItemsItemFieldsRequestBuilder) { return NewItemSitesItemListsItemItemsItemFieldsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get returns the metadata for an [item][] in a [list][]. +// Get all items contained in the list. // returns a ListItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/listitem-get?view=graph-rest-1.0 func (m *ItemSitesItemListsItemItemsListItemItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemListsItemItemsListItemItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ListItemable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -161,7 +155,7 @@ func (m *ItemSitesItemListsItemItemsListItemItemRequestBuilder) Patch(ctx contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ListItemable), nil } -// ToDeleteRequestInformation removes an item from a [list][]. +// ToDeleteRequestInformation delete navigation property items for groups // returns a *RequestInformation when successful func (m *ItemSitesItemListsItemItemsListItemItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemListsItemItemsListItemItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -172,7 +166,7 @@ func (m *ItemSitesItemListsItemItemsListItemItemRequestBuilder) ToDeleteRequestI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation returns the metadata for an [item][] in a [list][]. +// ToGetRequestInformation all items contained in the list. // returns a *RequestInformation when successful func (m *ItemSitesItemListsItemItemsListItemItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemListsItemItemsListItemItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_lists_item_items_request_builder.go b/groups/item_sites_item_lists_item_items_request_builder.go index 46c59153053..c977d6b5970 100644 --- a/groups/item_sites_item_lists_item_items_request_builder.go +++ b/groups/item_sites_item_lists_item_items_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSitesItemListsItemItemsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemListsItemItemsRequestBuilderGetQueryParameters get the collection of [items][item] in a [list][]. +// ItemSitesItemListsItemItemsRequestBuilderGetQueryParameters all items contained in the list. type ItemSitesItemListsItemItemsRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -79,12 +79,9 @@ func (m *ItemSitesItemListsItemItemsRequestBuilder) Delta()(*ItemSitesItemListsI func (m *ItemSitesItemListsItemItemsRequestBuilder) DeltaWithToken(token *string)(*ItemSitesItemListsItemItemsDeltaWithTokenRequestBuilder) { return NewItemSitesItemListsItemItemsDeltaWithTokenRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, token) } -// Get get the collection of [items][item] in a [list][]. +// Get all items contained in the list. // returns a ListItemCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/listitem-list?view=graph-rest-1.0 func (m *ItemSitesItemListsItemItemsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemListsItemItemsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ListItemCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemSitesItemListsItemItemsRequestBuilder) Get(ctx context.Context, req } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ListItemCollectionResponseable), nil } -// Post create a new [listItem][] in a [list][]. +// Post create new navigation property to items for groups // returns a ListItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/listitem-create?view=graph-rest-1.0 func (m *ItemSitesItemListsItemItemsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ListItemable, requestConfiguration *ItemSitesItemListsItemItemsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ListItemable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemSitesItemListsItemItemsRequestBuilder) Post(ctx context.Context, bo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ListItemable), nil } -// ToGetRequestInformation get the collection of [items][item] in a [list][]. +// ToGetRequestInformation all items contained in the list. // returns a *RequestInformation when successful func (m *ItemSitesItemListsItemItemsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemListsItemItemsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemSitesItemListsItemItemsRequestBuilder) ToGetRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new [listItem][] in a [list][]. +// ToPostRequestInformation create new navigation property to items for groups // returns a *RequestInformation when successful func (m *ItemSitesItemListsItemItemsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ListItemable, requestConfiguration *ItemSitesItemListsItemItemsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_lists_item_subscriptions_item_reauthorize_request_builder.go b/groups/item_sites_item_lists_item_subscriptions_item_reauthorize_request_builder.go index a97700ea603..7aeb149d02a 100644 --- a/groups/item_sites_item_lists_item_subscriptions_item_reauthorize_request_builder.go +++ b/groups/item_sites_item_lists_item_subscriptions_item_reauthorize_request_builder.go @@ -34,7 +34,7 @@ func NewItemSitesItemListsItemSubscriptionsItemReauthorizeRequestBuilder(rawUrl // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/subscription-reauthorize?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/subscription-reauthorize?view=graph-rest-beta func (m *ItemSitesItemListsItemSubscriptionsItemReauthorizeRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemSitesItemListsItemSubscriptionsItemReauthorizeRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_sites_item_lists_list_item_request_builder.go b/groups/item_sites_item_lists_list_item_request_builder.go index dc69c17de8d..9b0581b27cb 100644 --- a/groups/item_sites_item_lists_list_item_request_builder.go +++ b/groups/item_sites_item_lists_list_item_request_builder.go @@ -18,7 +18,7 @@ type ItemSitesItemListsListItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemSitesItemListsListItemRequestBuilderGetQueryParameters get the list of richLongRunningOperations associated with a list. +// ItemSitesItemListsListItemRequestBuilderGetQueryParameters the collection of lists under this site. type ItemSitesItemListsListItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -95,12 +95,9 @@ func (m *ItemSitesItemListsListItemRequestBuilder) Delete(ctx context.Context, r func (m *ItemSitesItemListsListItemRequestBuilder) Drive()(*ItemSitesItemListsItemDriveRequestBuilder) { return NewItemSitesItemListsItemDriveRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of richLongRunningOperations associated with a list. +// Get the collection of lists under this site. // returns a Listable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/list-list-operations?view=graph-rest-1.0 func (m *ItemSitesItemListsListItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemListsListItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Listable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -169,7 +166,7 @@ func (m *ItemSitesItemListsListItemRequestBuilder) ToDeleteRequestInformation(ct requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the list of richLongRunningOperations associated with a list. +// ToGetRequestInformation the collection of lists under this site. // returns a *RequestInformation when successful func (m *ItemSitesItemListsListItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemListsListItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_lists_request_builder.go b/groups/item_sites_item_lists_request_builder.go index a45422fb7df..005caa08d90 100644 --- a/groups/item_sites_item_lists_request_builder.go +++ b/groups/item_sites_item_lists_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSitesItemListsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemListsRequestBuilderGetQueryParameters get the collection of [lists][] for a [site][]. Lists with the [system][] facet are hidden by default.To list them, include system in your $select statement. +// ItemSitesItemListsRequestBuilderGetQueryParameters the collection of lists under this site. type ItemSitesItemListsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemSitesItemListsRequestBuilder(rawUrl string, requestAdapter i2ae4187f func (m *ItemSitesItemListsRequestBuilder) Count()(*ItemSitesItemListsCountRequestBuilder) { return NewItemSitesItemListsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the collection of [lists][] for a [site][]. Lists with the [system][] facet are hidden by default.To list them, include system in your $select statement. +// Get the collection of lists under this site. // returns a ListCollectionResponseable when successful // returns a ODataError error 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?view=graph-rest-1.0 func (m *ItemSitesItemListsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemListsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ListCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemSitesItemListsRequestBuilder) Get(ctx context.Context, requestConfi } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ListCollectionResponseable), nil } -// Post create a new [list][] in a [site][]. +// Post create new navigation property to lists for groups // 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-create?view=graph-rest-1.0 func (m *ItemSitesItemListsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Listable, requestConfiguration *ItemSitesItemListsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Listable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemSitesItemListsRequestBuilder) Post(ctx context.Context, body ie233e } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Listable), nil } -// ToGetRequestInformation get the collection of [lists][] for a [site][]. Lists with the [system][] facet are hidden by default.To list them, include system in your $select statement. +// ToGetRequestInformation the collection of lists under this site. // returns a *RequestInformation when successful func (m *ItemSitesItemListsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemListsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemSitesItemListsRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new [list][] in a [site][]. +// ToPostRequestInformation create new navigation property to lists for groups // returns a *RequestInformation when successful func (m *ItemSitesItemListsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Listable, requestConfiguration *ItemSitesItemListsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_onenote_notebooks_get_notebook_from_web_url_request_builder.go b/groups/item_sites_item_onenote_notebooks_get_notebook_from_web_url_request_builder.go index 386ce5fce25..4a56e9a0881 100644 --- a/groups/item_sites_item_onenote_notebooks_get_notebook_from_web_url_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_get_notebook_from_web_url_request_builder.go @@ -36,7 +36,7 @@ func NewItemSitesItemOnenoteNotebooksGetNotebookFromWebUrlRequestBuilder(rawUrl // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/notebook-getnotebookfromweburl?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/notebook-getnotebookfromweburl?view=graph-rest-beta func (m *ItemSitesItemOnenoteNotebooksGetNotebookFromWebUrlRequestBuilder) Post(ctx context.Context, body ItemSitesItemOnenoteNotebooksGetNotebookFromWebUrlPostRequestBodyable, requestConfiguration *ItemSitesItemOnenoteNotebooksGetNotebookFromWebUrlRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CopyNotebookModelable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_sites_item_onenote_notebooks_get_recent_notebooks_with_include_personal_notebooks_request_builder.go b/groups/item_sites_item_onenote_notebooks_get_recent_notebooks_with_include_personal_notebooks_request_builder.go index da89f199e8f..cdfbcffc540 100644 --- a/groups/item_sites_item_onenote_notebooks_get_recent_notebooks_with_include_personal_notebooks_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_get_recent_notebooks_with_include_personal_notebooks_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSitesItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilderGetQueryParameters invoke function getRecentNotebooks +// ItemSitesItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilderGetQueryParameters get a list of recentNotebook instances that have been accessed by the signed-in user. type ItemSitesItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -49,10 +49,13 @@ func NewItemSitesItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebo urlParams["request-raw-url"] = rawUrl return NewItemSitesItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function getRecentNotebooks +// Get get a list of recentNotebook instances that have been accessed by the signed-in user. // Deprecated: This method is obsolete. Use GetAsGetRecentNotebooksWithIncludePersonalNotebooksGetResponse instead. // returns a ItemSitesItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/notebook-getrecentnotebooks?view=graph-rest-beta func (m *ItemSitesItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilderGetRequestConfiguration)(ItemSitesItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -70,9 +73,12 @@ func (m *ItemSitesItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNoteb } return res.(ItemSitesItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksResponseable), nil } -// GetAsGetRecentNotebooksWithIncludePersonalNotebooksGetResponse invoke function getRecentNotebooks +// GetAsGetRecentNotebooksWithIncludePersonalNotebooksGetResponse get a list of recentNotebook instances that have been accessed by the signed-in user. // returns a ItemSitesItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/notebook-getrecentnotebooks?view=graph-rest-beta func (m *ItemSitesItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder) GetAsGetRecentNotebooksWithIncludePersonalNotebooksGetResponse(ctx context.Context, requestConfiguration *ItemSitesItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilderGetRequestConfiguration)(ItemSitesItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -90,7 +96,7 @@ func (m *ItemSitesItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNoteb } return res.(ItemSitesItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksGetResponseable), nil } -// ToGetRequestInformation invoke function getRecentNotebooks +// ToGetRequestInformation get a list of recentNotebook instances that have been accessed by the signed-in user. // returns a *RequestInformation when successful func (m *ItemSitesItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_onenote_notebooks_item_copy_notebook_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_copy_notebook_request_builder.go index c4f28f57c80..55d7941cd8d 100644 --- a/groups/item_sites_item_onenote_notebooks_item_copy_notebook_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_copy_notebook_request_builder.go @@ -36,7 +36,7 @@ func NewItemSitesItemOnenoteNotebooksItemCopyNotebookRequestBuilder(rawUrl strin // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/notebook-copynotebook?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/notebook-copynotebook?view=graph-rest-beta func (m *ItemSitesItemOnenoteNotebooksItemCopyNotebookRequestBuilder) Post(ctx context.Context, body ItemSitesItemOnenoteNotebooksItemCopyNotebookPostRequestBodyable, requestConfiguration *ItemSitesItemOnenoteNotebooksItemCopyNotebookRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_section_groups_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_section_groups_request_builder.go index 00d13d733dc..1a771fb4855 100644 --- a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_section_groups_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_section_groups_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilderGetQueryParameters retrieve a list of section groups from the specified section group. +// ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilderGetQueryParameters the section groups in the section. Read-only. Nullable. type ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBu func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilder) Count()(*ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsCountRequestBuilder) { return NewItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of section groups from the specified section group. +// Get the section groups in the section. Read-only. Nullable. // returns a SectionGroupCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sectiongroup-list-sectiongroups?view=graph-rest-1.0 func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestB } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupCollectionResponseable), nil } -// ToGetRequestInformation retrieve a list of section groups from the specified section group. +// ToGetRequestInformation the section groups in the section. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_notebook_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_notebook_request_builder.go index 9403fa6ba63..9962ede63d6 100644 --- a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_notebook_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_notebook_request_builder.go @@ -36,7 +36,7 @@ func NewItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNote // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytonotebook?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytonotebook?view=graph-rest-beta func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookRequestBuilder) Post(ctx context.Context, body ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookPostRequestBodyable, requestConfiguration *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_section_group_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_section_group_request_builder.go index f00da6958f1..2c818ca0d15 100644 --- a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_section_group_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_section_group_request_builder.go @@ -36,7 +36,7 @@ func NewItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSect // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytosectiongroup?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytosectiongroup?view=graph-rest-beta func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupRequestBuilder) Post(ctx context.Context, body ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBodyable, requestConfiguration *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go index 9c26030f63a..b130a2f6cd5 100644 --- a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go @@ -36,7 +36,7 @@ func NewItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemC // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/page-copytosection?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/page-copytosection?view=graph-rest-beta func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionRequestBuilder) Post(ctx context.Context, body ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBodyable, requestConfiguration *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_request_builder.go index c6e05fe36ad..9f968aacbfd 100644 --- a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilderGetQueryParameters retrieve a list of onenoteSection objects from the specified section group. +// ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilderGetQueryParameters the sections in the section group. Read-only. Nullable. type ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder) Count()(*ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsCountRequestBuilder) { return NewItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of onenoteSection objects from the specified section group. +// Get the sections in the section group. Read-only. Nullable. // returns a OnenoteSectionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sectiongroup-list-sections?view=graph-rest-1.0 func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilde } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionCollectionResponseable), nil } -// Post create a new section in the specified section group. +// Post create new navigation property to sections for groups // returns a OnenoteSectionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sectiongroup-post-sections?view=graph-rest-1.0 func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable, requestConfiguration *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilde } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable), nil } -// ToGetRequestInformation retrieve a list of onenoteSection objects from the specified section group. +// ToGetRequestInformation the sections in the section group. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilde requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new section in the specified section group. +// ToPostRequestInformation create new navigation property to sections for groups // returns a *RequestInformation when successful func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable, requestConfiguration *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_onenote_notebooks_item_section_groups_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_section_groups_request_builder.go index bb23ccd0fec..e8c5682854d 100644 --- a/groups/item_sites_item_onenote_notebooks_item_section_groups_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_section_groups_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSitesItemOnenoteNotebooksItemSectionGroupsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemOnenoteNotebooksItemSectionGroupsRequestBuilderGetQueryParameters retrieve a list of section groups from the specified notebook. +// ItemSitesItemOnenoteNotebooksItemSectionGroupsRequestBuilderGetQueryParameters the section groups in the notebook. Read-only. Nullable. type ItemSitesItemOnenoteNotebooksItemSectionGroupsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemSitesItemOnenoteNotebooksItemSectionGroupsRequestBuilder(rawUrl stri func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsRequestBuilder) Count()(*ItemSitesItemOnenoteNotebooksItemSectionGroupsCountRequestBuilder) { return NewItemSitesItemOnenoteNotebooksItemSectionGroupsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of section groups from the specified notebook. +// Get the section groups in the notebook. Read-only. Nullable. // returns a SectionGroupCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/notebook-list-sectiongroups?view=graph-rest-1.0 func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemOnenoteNotebooksItemSectionGroupsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsRequestBuilder) Get(ctx c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupCollectionResponseable), nil } -// Post create a new section group in the specified notebook. +// Post create new navigation property to sectionGroups for groups // returns a SectionGroupable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/notebook-post-sectiongroups?view=graph-rest-1.0 func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupable, requestConfiguration *ItemSitesItemOnenoteNotebooksItemSectionGroupsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsRequestBuilder) Post(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupable), nil } -// ToGetRequestInformation retrieve a list of section groups from the specified notebook. +// ToGetRequestInformation the section groups in the notebook. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemOnenoteNotebooksItemSectionGroupsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsRequestBuilder) ToGetRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new section group in the specified notebook. +// ToPostRequestInformation create new navigation property to sectionGroups for groups // returns a *RequestInformation when successful func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupable, requestConfiguration *ItemSitesItemOnenoteNotebooksItemSectionGroupsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_onenote_notebooks_item_sections_item_copy_to_notebook_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_sections_item_copy_to_notebook_request_builder.go index 55ffdb21b3f..2ccf94c2d61 100644 --- a/groups/item_sites_item_onenote_notebooks_item_sections_item_copy_to_notebook_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_sections_item_copy_to_notebook_request_builder.go @@ -36,7 +36,7 @@ func NewItemSitesItemOnenoteNotebooksItemSectionsItemCopyToNotebookRequestBuilde // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytonotebook?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytonotebook?view=graph-rest-beta func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToNotebookRequestBuilder) Post(ctx context.Context, body ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToNotebookPostRequestBodyable, requestConfiguration *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToNotebookRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_sites_item_onenote_notebooks_item_sections_item_copy_to_section_group_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_sections_item_copy_to_section_group_request_builder.go index 86e785bf9a9..66bbb445de9 100644 --- a/groups/item_sites_item_onenote_notebooks_item_sections_item_copy_to_section_group_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_sections_item_copy_to_section_group_request_builder.go @@ -36,7 +36,7 @@ func NewItemSitesItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupRequestBu // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytosectiongroup?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytosectiongroup?view=graph-rest-beta func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupRequestBuilder) Post(ctx context.Context, body ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupPostRequestBodyable, requestConfiguration *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_item_copy_to_section_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_item_copy_to_section_request_builder.go index d6c132eb462..007eafa384d 100644 --- a/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_item_copy_to_section_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_item_copy_to_section_request_builder.go @@ -36,7 +36,7 @@ func NewItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionReque // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/page-copytosection?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/page-copytosection?view=graph-rest-beta func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionRequestBuilder) Post(ctx context.Context, body ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionPostRequestBodyable, requestConfiguration *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_sites_item_onenote_notebooks_item_sections_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_sections_request_builder.go index ad651a996f9..cfed51ee6d4 100644 --- a/groups/item_sites_item_onenote_notebooks_item_sections_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_sections_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSitesItemOnenoteNotebooksItemSectionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemOnenoteNotebooksItemSectionsRequestBuilderGetQueryParameters retrieve a list of section objects from the specified notebook. +// ItemSitesItemOnenoteNotebooksItemSectionsRequestBuilderGetQueryParameters the sections in the notebook. Read-only. Nullable. type ItemSitesItemOnenoteNotebooksItemSectionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemSitesItemOnenoteNotebooksItemSectionsRequestBuilder(rawUrl string, r func (m *ItemSitesItemOnenoteNotebooksItemSectionsRequestBuilder) Count()(*ItemSitesItemOnenoteNotebooksItemSectionsCountRequestBuilder) { return NewItemSitesItemOnenoteNotebooksItemSectionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of section objects from the specified notebook. +// Get the sections in the notebook. Read-only. Nullable. // returns a OnenoteSectionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/notebook-list-sections?view=graph-rest-1.0 func (m *ItemSitesItemOnenoteNotebooksItemSectionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemOnenoteNotebooksItemSectionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionsRequestBuilder) Get(ctx contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionCollectionResponseable), nil } -// Post create a new section in the specified notebook. +// Post create new navigation property to sections for groups // returns a OnenoteSectionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/notebook-post-sections?view=graph-rest-1.0 func (m *ItemSitesItemOnenoteNotebooksItemSectionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable, requestConfiguration *ItemSitesItemOnenoteNotebooksItemSectionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionsRequestBuilder) Post(ctx conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable), nil } -// ToGetRequestInformation retrieve a list of section objects from the specified notebook. +// ToGetRequestInformation the sections in the notebook. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemSitesItemOnenoteNotebooksItemSectionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemOnenoteNotebooksItemSectionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionsRequestBuilder) ToGetRequestIn requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new section in the specified notebook. +// ToPostRequestInformation create new navigation property to sections for groups // returns a *RequestInformation when successful func (m *ItemSitesItemOnenoteNotebooksItemSectionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable, requestConfiguration *ItemSitesItemOnenoteNotebooksItemSectionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, 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 9a8bf258b4f..1aeb791437c 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 retrieve the properties and relationships of a notebook object. +// ItemSitesItemOnenoteNotebooksNotebookItemRequestBuilderGetQueryParameters the collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable. type ItemSitesItemOnenoteNotebooksNotebookItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *ItemSitesItemOnenoteNotebooksNotebookItemRequestBuilder) Delete(ctx con } return nil } -// Get retrieve the properties and relationships of a notebook object. +// Get the collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable. // returns a Notebookable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/notebook-get?view=graph-rest-1.0 func (m *ItemSitesItemOnenoteNotebooksNotebookItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemOnenoteNotebooksNotebookItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Notebookable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -139,7 +136,7 @@ func (m *ItemSitesItemOnenoteNotebooksNotebookItemRequestBuilder) ToDeleteReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a notebook object. +// ToGetRequestInformation the collection of OneNote notebooks that are owned by the user or group. 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 5f3da4606d1..ed8f31a9bb7 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 retrieve a list of notebook objects. +// ItemSitesItemOnenoteNotebooksRequestBuilderGetQueryParameters the collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable. type ItemSitesItemOnenoteNotebooksRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemSitesItemOnenoteNotebooksRequestBuilder(rawUrl string, requestAdapte func (m *ItemSitesItemOnenoteNotebooksRequestBuilder) Count()(*ItemSitesItemOnenoteNotebooksCountRequestBuilder) { return NewItemSitesItemOnenoteNotebooksCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of notebook objects. +// Get the collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable. // returns a NotebookCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/onenote-list-notebooks?view=graph-rest-1.0 func (m *ItemSitesItemOnenoteNotebooksRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemOnenoteNotebooksRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NotebookCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -109,12 +106,9 @@ func (m *ItemSitesItemOnenoteNotebooksRequestBuilder) GetNotebookFromWebUrl()(*I func (m *ItemSitesItemOnenoteNotebooksRequestBuilder) GetRecentNotebooksWithIncludePersonalNotebooks(includePersonalNotebooks *bool)(*ItemSitesItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder) { return NewItemSitesItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, includePersonalNotebooks) } -// Post create a new OneNote notebook. +// Post create new navigation property to notebooks for groups // returns a Notebookable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/onenote-post-notebooks?view=graph-rest-1.0 func (m *ItemSitesItemOnenoteNotebooksRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Notebookable, requestConfiguration *ItemSitesItemOnenoteNotebooksRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Notebookable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -132,7 +126,7 @@ func (m *ItemSitesItemOnenoteNotebooksRequestBuilder) Post(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Notebookable), nil } -// ToGetRequestInformation retrieve a list of notebook objects. +// ToGetRequestInformation the collection of OneNote notebooks that are owned by the user or group. 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) @@ -146,7 +140,7 @@ func (m *ItemSitesItemOnenoteNotebooksRequestBuilder) ToGetRequestInformation(ct requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new OneNote notebook. +// ToPostRequestInformation create new navigation property to notebooks for groups // returns a *RequestInformation when successful func (m *ItemSitesItemOnenoteNotebooksRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Notebookable, requestConfiguration *ItemSitesItemOnenoteNotebooksRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_onenote_operations_onenote_operation_item_request_builder.go b/groups/item_sites_item_onenote_operations_onenote_operation_item_request_builder.go index 7719e2695f6..d9b3f3cb486 100644 --- a/groups/item_sites_item_onenote_operations_onenote_operation_item_request_builder.go +++ b/groups/item_sites_item_onenote_operations_onenote_operation_item_request_builder.go @@ -18,7 +18,7 @@ type ItemSitesItemOnenoteOperationsOnenoteOperationItemRequestBuilderDeleteReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemSitesItemOnenoteOperationsOnenoteOperationItemRequestBuilderGetQueryParameters get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. +// ItemSitesItemOnenoteOperationsOnenoteOperationItemRequestBuilderGetQueryParameters the status of OneNote operations. Getting an operations collection isn't supported, but you can get the status of long-running operations if the Operation-Location header is returned in the response. Read-only. Nullable. type ItemSitesItemOnenoteOperationsOnenoteOperationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemSitesItemOnenoteOperationsOnenoteOperationItemRequestBuilder) Delet } return nil } -// Get get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. +// Get the status of OneNote operations. Getting an operations collection isn't supported, but you can get the status of long-running operations if the Operation-Location header is returned in the response. Read-only. Nullable. // returns a OnenoteOperationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/onenoteoperation-get?view=graph-rest-1.0 func (m *ItemSitesItemOnenoteOperationsOnenoteOperationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemOnenoteOperationsOnenoteOperationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemSitesItemOnenoteOperationsOnenoteOperationItemRequestBuilder) ToDel requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. +// ToGetRequestInformation the status of OneNote operations. Getting an operations collection isn't supported, but you can get the status of long-running operations if the Operation-Location header is returned in the response. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemSitesItemOnenoteOperationsOnenoteOperationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemOnenoteOperationsOnenoteOperationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_onenote_operations_request_builder.go b/groups/item_sites_item_onenote_operations_request_builder.go index de6dfceef87..3d0456d6e3e 100644 --- a/groups/item_sites_item_onenote_operations_request_builder.go +++ b/groups/item_sites_item_onenote_operations_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSitesItemOnenoteOperationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemOnenoteOperationsRequestBuilderGetQueryParameters get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. +// ItemSitesItemOnenoteOperationsRequestBuilderGetQueryParameters the status of OneNote operations. Getting an operations collection isn't supported, but you can get the status of long-running operations if the Operation-Location header is returned in the response. Read-only. Nullable. type ItemSitesItemOnenoteOperationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewItemSitesItemOnenoteOperationsRequestBuilder(rawUrl string, requestAdapt func (m *ItemSitesItemOnenoteOperationsRequestBuilder) Count()(*ItemSitesItemOnenoteOperationsCountRequestBuilder) { return NewItemSitesItemOnenoteOperationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. +// Get the status of OneNote operations. Getting an operations collection isn't supported, but you can get the status of long-running operations if the Operation-Location header is returned in the response. Read-only. Nullable. // returns a OnenoteOperationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemSitesItemOnenoteOperationsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemOnenoteOperationsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *ItemSitesItemOnenoteOperationsRequestBuilder) Post(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable), nil } -// ToGetRequestInformation get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. +// ToGetRequestInformation the status of OneNote operations. Getting an operations collection isn't supported, but you can get the status of long-running operations if the Operation-Location header is returned in the response. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemSitesItemOnenoteOperationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemOnenoteOperationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_onenote_pages_item_copy_to_section_request_builder.go b/groups/item_sites_item_onenote_pages_item_copy_to_section_request_builder.go index 74a8f5bc3b5..b8e0718bfc3 100644 --- a/groups/item_sites_item_onenote_pages_item_copy_to_section_request_builder.go +++ b/groups/item_sites_item_onenote_pages_item_copy_to_section_request_builder.go @@ -36,7 +36,7 @@ func NewItemSitesItemOnenotePagesItemCopyToSectionRequestBuilder(rawUrl string, // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/page-copytosection?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/page-copytosection?view=graph-rest-beta func (m *ItemSitesItemOnenotePagesItemCopyToSectionRequestBuilder) Post(ctx context.Context, body ItemSitesItemOnenotePagesItemCopyToSectionPostRequestBodyable, requestConfiguration *ItemSitesItemOnenotePagesItemCopyToSectionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { 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 e8230c66d7b..e2a19064264 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 @@ -64,11 +64,8 @@ func (m *ItemSitesItemOnenotePagesOnenotePageItemRequestBuilder) Content()(*Item func (m *ItemSitesItemOnenotePagesOnenotePageItemRequestBuilder) CopyToSection()(*ItemSitesItemOnenotePagesItemCopyToSectionRequestBuilder) { return NewItemSitesItemOnenotePagesItemCopyToSectionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Delete delete a OneNote page. +// Delete delete navigation property pages for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/page-delete?view=graph-rest-1.0 func (m *ItemSitesItemOnenotePagesOnenotePageItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemSitesItemOnenotePagesOnenotePageItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -143,7 +140,7 @@ func (m *ItemSitesItemOnenotePagesOnenotePageItemRequestBuilder) Patch(ctx conte func (m *ItemSitesItemOnenotePagesOnenotePageItemRequestBuilder) Preview()(*ItemSitesItemOnenotePagesItemPreviewRequestBuilder) { return NewItemSitesItemOnenotePagesItemPreviewRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a OneNote page. +// ToDeleteRequestInformation delete navigation property pages for groups // returns a *RequestInformation when successful func (m *ItemSitesItemOnenotePagesOnenotePageItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemOnenotePagesOnenotePageItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_onenote_section_groups_item_section_groups_request_builder.go b/groups/item_sites_item_onenote_section_groups_item_section_groups_request_builder.go index 244c0e8e3da..ce184e1b19d 100644 --- a/groups/item_sites_item_onenote_section_groups_item_section_groups_request_builder.go +++ b/groups/item_sites_item_onenote_section_groups_item_section_groups_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSitesItemOnenoteSectionGroupsItemSectionGroupsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemOnenoteSectionGroupsItemSectionGroupsRequestBuilderGetQueryParameters retrieve a list of section groups from the specified section group. +// ItemSitesItemOnenoteSectionGroupsItemSectionGroupsRequestBuilderGetQueryParameters the section groups in the section. Read-only. Nullable. type ItemSitesItemOnenoteSectionGroupsItemSectionGroupsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewItemSitesItemOnenoteSectionGroupsItemSectionGroupsRequestBuilder(rawUrl func (m *ItemSitesItemOnenoteSectionGroupsItemSectionGroupsRequestBuilder) Count()(*ItemSitesItemOnenoteSectionGroupsItemSectionGroupsCountRequestBuilder) { return NewItemSitesItemOnenoteSectionGroupsItemSectionGroupsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of section groups from the specified section group. +// Get the section groups in the section. Read-only. Nullable. // returns a SectionGroupCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sectiongroup-list-sectiongroups?view=graph-rest-1.0 func (m *ItemSitesItemOnenoteSectionGroupsItemSectionGroupsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemOnenoteSectionGroupsItemSectionGroupsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *ItemSitesItemOnenoteSectionGroupsItemSectionGroupsRequestBuilder) Get(c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupCollectionResponseable), nil } -// ToGetRequestInformation retrieve a list of section groups from the specified section group. +// ToGetRequestInformation the section groups in the section. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemSitesItemOnenoteSectionGroupsItemSectionGroupsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemOnenoteSectionGroupsItemSectionGroupsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_onenote_section_groups_item_sections_item_copy_to_notebook_request_builder.go b/groups/item_sites_item_onenote_section_groups_item_sections_item_copy_to_notebook_request_builder.go index 0f9e881091d..e37687d40b2 100644 --- a/groups/item_sites_item_onenote_section_groups_item_sections_item_copy_to_notebook_request_builder.go +++ b/groups/item_sites_item_onenote_section_groups_item_sections_item_copy_to_notebook_request_builder.go @@ -36,7 +36,7 @@ func NewItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookRequestBu // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytonotebook?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytonotebook?view=graph-rest-beta func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookRequestBuilder) Post(ctx context.Context, body ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookPostRequestBodyable, requestConfiguration *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_sites_item_onenote_section_groups_item_sections_item_copy_to_section_group_request_builder.go b/groups/item_sites_item_onenote_section_groups_item_sections_item_copy_to_section_group_request_builder.go index 980fa45d185..890f76888ca 100644 --- a/groups/item_sites_item_onenote_section_groups_item_sections_item_copy_to_section_group_request_builder.go +++ b/groups/item_sites_item_onenote_section_groups_item_sections_item_copy_to_section_group_request_builder.go @@ -36,7 +36,7 @@ func NewItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupReque // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytosectiongroup?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytosectiongroup?view=graph-rest-beta func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupRequestBuilder) Post(ctx context.Context, body ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBodyable, requestConfiguration *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go b/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go index df7418ba2bd..bb137d1499b 100644 --- a/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go +++ b/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go @@ -36,7 +36,7 @@ func NewItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionR // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/page-copytosection?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/page-copytosection?view=graph-rest-beta func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionRequestBuilder) Post(ctx context.Context, body ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBodyable, requestConfiguration *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_sites_item_onenote_section_groups_item_sections_request_builder.go b/groups/item_sites_item_onenote_section_groups_item_sections_request_builder.go index e89199ee996..4e1e4f93a29 100644 --- a/groups/item_sites_item_onenote_section_groups_item_sections_request_builder.go +++ b/groups/item_sites_item_onenote_section_groups_item_sections_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSitesItemOnenoteSectionGroupsItemSectionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemOnenoteSectionGroupsItemSectionsRequestBuilderGetQueryParameters retrieve a list of onenoteSection objects from the specified section group. +// ItemSitesItemOnenoteSectionGroupsItemSectionsRequestBuilderGetQueryParameters the sections in the section group. Read-only. Nullable. type ItemSitesItemOnenoteSectionGroupsItemSectionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemSitesItemOnenoteSectionGroupsItemSectionsRequestBuilder(rawUrl strin func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsRequestBuilder) Count()(*ItemSitesItemOnenoteSectionGroupsItemSectionsCountRequestBuilder) { return NewItemSitesItemOnenoteSectionGroupsItemSectionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of onenoteSection objects from the specified section group. +// Get the sections in the section group. Read-only. Nullable. // returns a OnenoteSectionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sectiongroup-list-sections?view=graph-rest-1.0 func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemOnenoteSectionGroupsItemSectionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsRequestBuilder) Get(ctx co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionCollectionResponseable), nil } -// Post create a new section in the specified section group. +// Post create new navigation property to sections for groups // returns a OnenoteSectionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sectiongroup-post-sections?view=graph-rest-1.0 func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable, requestConfiguration *ItemSitesItemOnenoteSectionGroupsItemSectionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsRequestBuilder) Post(ctx c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable), nil } -// ToGetRequestInformation retrieve a list of onenoteSection objects from the specified section group. +// ToGetRequestInformation the sections in the section group. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemOnenoteSectionGroupsItemSectionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsRequestBuilder) ToGetReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new section in the specified section group. +// ToPostRequestInformation create new navigation property to sections for groups // returns a *RequestInformation when successful func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable, requestConfiguration *ItemSitesItemOnenoteSectionGroupsItemSectionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, 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 0cf8c985570..bde2c9a8326 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 retrieve a list of sectionGroup objects. +// ItemSitesItemOnenoteSectionGroupsRequestBuilderGetQueryParameters the section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. type ItemSitesItemOnenoteSectionGroupsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemSitesItemOnenoteSectionGroupsRequestBuilder(rawUrl string, requestAd func (m *ItemSitesItemOnenoteSectionGroupsRequestBuilder) Count()(*ItemSitesItemOnenoteSectionGroupsCountRequestBuilder) { return NewItemSitesItemOnenoteSectionGroupsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of sectionGroup objects. +// Get the section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. // returns a SectionGroupCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/onenote-list-sectiongroups?view=graph-rest-1.0 func (m *ItemSitesItemOnenoteSectionGroupsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemOnenoteSectionGroupsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemSitesItemOnenoteSectionGroupsRequestBuilder) Post(ctx context.Conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupable), nil } -// ToGetRequestInformation retrieve a list of sectionGroup objects. +// ToGetRequestInformation the section groups in all OneNote notebooks that are owned by the user or group. 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 0660837fe01..8ba8f17ea7c 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 retrieve the properties and relationships of a sectionGroup object. +// ItemSitesItemOnenoteSectionGroupsSectionGroupItemRequestBuilderGetQueryParameters the section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. type ItemSitesItemOnenoteSectionGroupsSectionGroupItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemSitesItemOnenoteSectionGroupsSectionGroupItemRequestBuilder) Delete } return nil } -// Get retrieve the properties and relationships of a sectionGroup object. +// Get the section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. // returns a SectionGroupable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sectiongroup-get?view=graph-rest-1.0 func (m *ItemSitesItemOnenoteSectionGroupsSectionGroupItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemOnenoteSectionGroupsSectionGroupItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -144,7 +141,7 @@ func (m *ItemSitesItemOnenoteSectionGroupsSectionGroupItemRequestBuilder) ToDele requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a sectionGroup object. +// ToGetRequestInformation the section groups in all OneNote notebooks that are owned by the user or group. 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_item_copy_to_notebook_request_builder.go b/groups/item_sites_item_onenote_sections_item_copy_to_notebook_request_builder.go index 3025932c169..dd41961cae5 100644 --- a/groups/item_sites_item_onenote_sections_item_copy_to_notebook_request_builder.go +++ b/groups/item_sites_item_onenote_sections_item_copy_to_notebook_request_builder.go @@ -36,7 +36,7 @@ func NewItemSitesItemOnenoteSectionsItemCopyToNotebookRequestBuilder(rawUrl stri // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytonotebook?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytonotebook?view=graph-rest-beta func (m *ItemSitesItemOnenoteSectionsItemCopyToNotebookRequestBuilder) Post(ctx context.Context, body ItemSitesItemOnenoteSectionsItemCopyToNotebookPostRequestBodyable, requestConfiguration *ItemSitesItemOnenoteSectionsItemCopyToNotebookRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_sites_item_onenote_sections_item_copy_to_section_group_request_builder.go b/groups/item_sites_item_onenote_sections_item_copy_to_section_group_request_builder.go index 6d67a6e139b..51951c6bd2b 100644 --- a/groups/item_sites_item_onenote_sections_item_copy_to_section_group_request_builder.go +++ b/groups/item_sites_item_onenote_sections_item_copy_to_section_group_request_builder.go @@ -36,7 +36,7 @@ func NewItemSitesItemOnenoteSectionsItemCopyToSectionGroupRequestBuilder(rawUrl // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytosectiongroup?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytosectiongroup?view=graph-rest-beta func (m *ItemSitesItemOnenoteSectionsItemCopyToSectionGroupRequestBuilder) Post(ctx context.Context, body ItemSitesItemOnenoteSectionsItemCopyToSectionGroupPostRequestBodyable, requestConfiguration *ItemSitesItemOnenoteSectionsItemCopyToSectionGroupRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_sites_item_onenote_sections_item_pages_item_copy_to_section_request_builder.go b/groups/item_sites_item_onenote_sections_item_pages_item_copy_to_section_request_builder.go index 418653d1b69..7b4a60129cf 100644 --- a/groups/item_sites_item_onenote_sections_item_pages_item_copy_to_section_request_builder.go +++ b/groups/item_sites_item_onenote_sections_item_pages_item_copy_to_section_request_builder.go @@ -36,7 +36,7 @@ func NewItemSitesItemOnenoteSectionsItemPagesItemCopyToSectionRequestBuilder(raw // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/page-copytosection?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/page-copytosection?view=graph-rest-beta func (m *ItemSitesItemOnenoteSectionsItemPagesItemCopyToSectionRequestBuilder) Post(ctx context.Context, body ItemSitesItemOnenoteSectionsItemPagesItemCopyToSectionPostRequestBodyable, requestConfiguration *ItemSitesItemOnenoteSectionsItemPagesItemCopyToSectionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { 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 9bc0285e1e0..ededd0bd503 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 retrieve the properties and relationships of a section object. +// ItemSitesItemOnenoteSectionsOnenoteSectionItemRequestBuilderGetQueryParameters the sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. type ItemSitesItemOnenoteSectionsOnenoteSectionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -80,12 +80,9 @@ func (m *ItemSitesItemOnenoteSectionsOnenoteSectionItemRequestBuilder) Delete(ct } return nil } -// Get retrieve the properties and relationships of a section object. +// Get the sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. // returns a OnenoteSectionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/section-get?view=graph-rest-1.0 func (m *ItemSitesItemOnenoteSectionsOnenoteSectionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemOnenoteSectionsOnenoteSectionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -149,7 +146,7 @@ func (m *ItemSitesItemOnenoteSectionsOnenoteSectionItemRequestBuilder) ToDeleteR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a section object. +// ToGetRequestInformation the sections in all OneNote notebooks that are owned by the user or group. 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 4219ee7a6f2..4da08364ae6 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 retrieve a list of section objects. +// ItemSitesItemOnenoteSectionsRequestBuilderGetQueryParameters the sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. type ItemSitesItemOnenoteSectionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemSitesItemOnenoteSectionsRequestBuilder(rawUrl string, requestAdapter func (m *ItemSitesItemOnenoteSectionsRequestBuilder) Count()(*ItemSitesItemOnenoteSectionsCountRequestBuilder) { return NewItemSitesItemOnenoteSectionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of section objects. +// Get the sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. // returns a OnenoteSectionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/onenote-list-sections?view=graph-rest-1.0 func (m *ItemSitesItemOnenoteSectionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemOnenoteSectionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemSitesItemOnenoteSectionsRequestBuilder) Post(ctx context.Context, b } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable), nil } -// ToGetRequestInformation retrieve a list of section objects. +// ToGetRequestInformation the sections in all OneNote notebooks that are owned by the user or group. 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_sites_item_operations_request_builder.go b/groups/item_sites_item_operations_request_builder.go index 869e4c194f2..91c9a6b0847 100644 --- a/groups/item_sites_item_operations_request_builder.go +++ b/groups/item_sites_item_operations_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSitesItemOperationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemOperationsRequestBuilderGetQueryParameters get the list of richLongRunningOperations associated with a site. +// ItemSitesItemOperationsRequestBuilderGetQueryParameters the collection of long running operations for the site. type ItemSitesItemOperationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemSitesItemOperationsRequestBuilder(rawUrl string, requestAdapter i2ae func (m *ItemSitesItemOperationsRequestBuilder) Count()(*ItemSitesItemOperationsCountRequestBuilder) { return NewItemSitesItemOperationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of richLongRunningOperations associated with a site. +// Get the collection of long running operations for the site. // returns a RichLongRunningOperationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/site-list-operations?view=graph-rest-1.0 func (m *ItemSitesItemOperationsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemOperationsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RichLongRunningOperationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemSitesItemOperationsRequestBuilder) Post(ctx context.Context, body i } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RichLongRunningOperationable), nil } -// ToGetRequestInformation get the list of richLongRunningOperations associated with a site. +// ToGetRequestInformation the collection of long running operations for the site. // returns a *RequestInformation when successful func (m *ItemSitesItemOperationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemOperationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_operations_rich_long_running_operation_item_request_builder.go b/groups/item_sites_item_operations_rich_long_running_operation_item_request_builder.go index e78b19aa63e..e437ba29270 100644 --- a/groups/item_sites_item_operations_rich_long_running_operation_item_request_builder.go +++ b/groups/item_sites_item_operations_rich_long_running_operation_item_request_builder.go @@ -18,7 +18,7 @@ type ItemSitesItemOperationsRichLongRunningOperationItemRequestBuilderDeleteRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemSitesItemOperationsRichLongRunningOperationItemRequestBuilderGetQueryParameters read the properties of a richLongRunningOperation object. +// ItemSitesItemOperationsRichLongRunningOperationItemRequestBuilderGetQueryParameters the collection of long running operations for the site. type ItemSitesItemOperationsRichLongRunningOperationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemSitesItemOperationsRichLongRunningOperationItemRequestBuilder) Dele } return nil } -// Get read the properties of a richLongRunningOperation object. +// Get the collection of long running operations for the site. // returns a RichLongRunningOperationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/richlongrunningoperation-get?view=graph-rest-1.0 func (m *ItemSitesItemOperationsRichLongRunningOperationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemOperationsRichLongRunningOperationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RichLongRunningOperationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemSitesItemOperationsRichLongRunningOperationItemRequestBuilder) ToDe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties of a richLongRunningOperation object. +// ToGetRequestInformation the collection of long running operations for the site. // returns a *RequestInformation when successful func (m *ItemSitesItemOperationsRichLongRunningOperationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemOperationsRichLongRunningOperationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_pages_base_site_page_item_request_builder.go b/groups/item_sites_item_pages_base_site_page_item_request_builder.go index 023478d6337..34503066ab9 100644 --- a/groups/item_sites_item_pages_base_site_page_item_request_builder.go +++ b/groups/item_sites_item_pages_base_site_page_item_request_builder.go @@ -18,7 +18,7 @@ type ItemSitesItemPagesBaseSitePageItemRequestBuilderDeleteRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemSitesItemPagesBaseSitePageItemRequestBuilderGetQueryParameters get the metadata for a [baseSitePage][] in the site pages [list][] in a [site][]. +// ItemSitesItemPagesBaseSitePageItemRequestBuilderGetQueryParameters the collection of pages in the baseSitePages list on this site. type ItemSitesItemPagesBaseSitePageItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *ItemSitesItemPagesBaseSitePageItemRequestBuilder) Delete(ctx context.Co } return nil } -// Get get the metadata for a [baseSitePage][] in the site pages [list][] in a [site][]. +// Get the collection of pages in the baseSitePages list on this 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/basesitepage-get?view=graph-rest-1.0 func (m *ItemSitesItemPagesBaseSitePageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemPagesBaseSitePageItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseSitePageable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -139,7 +136,7 @@ func (m *ItemSitesItemPagesBaseSitePageItemRequestBuilder) ToDeleteRequestInform requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the metadata for a [baseSitePage][] in the site pages [list][] in a [site][]. +// ToGetRequestInformation the collection of pages in the baseSitePages list on this site. // returns a *RequestInformation when successful func (m *ItemSitesItemPagesBaseSitePageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemPagesBaseSitePageItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_pages_request_builder.go b/groups/item_sites_item_pages_request_builder.go index 7da244129e6..4b5e2dd0b1b 100644 --- a/groups/item_sites_item_pages_request_builder.go +++ b/groups/item_sites_item_pages_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSitesItemPagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemPagesRequestBuilderGetQueryParameters get the collection of [baseSitePage][] objects from the site pages [list][] in a [site][]. All pages in the site are returned (with pagination). Sort alphabetically by name in ascending order. The following table lists the available subtypes. +// ItemSitesItemPagesRequestBuilderGetQueryParameters the collection of pages in the baseSitePages list on this site. type ItemSitesItemPagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemSitesItemPagesRequestBuilder(rawUrl string, requestAdapter i2ae4187f func (m *ItemSitesItemPagesRequestBuilder) Count()(*ItemSitesItemPagesCountRequestBuilder) { return NewItemSitesItemPagesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the collection of [baseSitePage][] objects from the site pages [list][] in a [site][]. All pages in the site are returned (with pagination). Sort alphabetically by name in ascending order. The following table lists the available subtypes. +// Get the collection of pages in the baseSitePages list on this site. // returns a BaseSitePageCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/basesitepage-list?view=graph-rest-1.0 func (m *ItemSitesItemPagesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemPagesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseSitePageCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *ItemSitesItemPagesRequestBuilder) Get(ctx context.Context, requestConfi func (m *ItemSitesItemPagesRequestBuilder) GraphSitePage()(*ItemSitesItemPagesGraphSitePageRequestBuilder) { return NewItemSitesItemPagesGraphSitePageRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Post create a new [sitePage][] in the site pages [list][] in a [site][]. +// Post create new navigation property to pages for groups // 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-1.0 func (m *ItemSitesItemPagesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseSitePageable, requestConfiguration *ItemSitesItemPagesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseSitePageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemSitesItemPagesRequestBuilder) Post(ctx context.Context, body ie233e } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseSitePageable), nil } -// ToGetRequestInformation get the collection of [baseSitePage][] objects from the site pages [list][] in a [site][]. All pages in the site are returned (with pagination). Sort alphabetically by name in ascending order. The following table lists the available subtypes. +// ToGetRequestInformation the collection of pages in the baseSitePages list on this site. // returns a *RequestInformation when successful func (m *ItemSitesItemPagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemPagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ItemSitesItemPagesRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new [sitePage][] in the site pages [list][] in a [site][]. +// ToPostRequestInformation create new navigation property to pages for groups // returns a *RequestInformation when successful func (m *ItemSitesItemPagesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseSitePageable, requestConfiguration *ItemSitesItemPagesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_permissions_item_grant_request_builder.go b/groups/item_sites_item_permissions_item_grant_request_builder.go index 7e896e97030..1af9c1b020f 100644 --- a/groups/item_sites_item_permissions_item_grant_request_builder.go +++ b/groups/item_sites_item_permissions_item_grant_request_builder.go @@ -30,13 +30,13 @@ func NewItemSitesItemPermissionsItemGrantRequestBuilder(rawUrl string, requestAd urlParams["request-raw-url"] = rawUrl return NewItemSitesItemPermissionsItemGrantRequestBuilderInternal(urlParams, requestAdapter) } -// Post grant users access to a link represented by a [permission][]. +// Post grant users access to a link represented by a permission. // Deprecated: This method is obsolete. Use PostAsGrantPostResponse instead. // returns a ItemSitesItemPermissionsItemGrantResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-beta func (m *ItemSitesItemPermissionsItemGrantRequestBuilder) Post(ctx context.Context, body ItemSitesItemPermissionsItemGrantPostRequestBodyable, requestConfiguration *ItemSitesItemPermissionsItemGrantRequestBuilderPostRequestConfiguration)(ItemSitesItemPermissionsItemGrantResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -54,12 +54,12 @@ func (m *ItemSitesItemPermissionsItemGrantRequestBuilder) Post(ctx context.Conte } return res.(ItemSitesItemPermissionsItemGrantResponseable), nil } -// PostAsGrantPostResponse grant users access to a link represented by a [permission][]. +// PostAsGrantPostResponse grant users access to a link represented by a permission. // returns a ItemSitesItemPermissionsItemGrantPostResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-beta func (m *ItemSitesItemPermissionsItemGrantRequestBuilder) PostAsGrantPostResponse(ctx context.Context, body ItemSitesItemPermissionsItemGrantPostRequestBodyable, requestConfiguration *ItemSitesItemPermissionsItemGrantRequestBuilderPostRequestConfiguration)(ItemSitesItemPermissionsItemGrantPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -77,7 +77,7 @@ func (m *ItemSitesItemPermissionsItemGrantRequestBuilder) PostAsGrantPostRespons } return res.(ItemSitesItemPermissionsItemGrantPostResponseable), nil } -// ToPostRequestInformation grant users access to a link represented by a [permission][]. +// ToPostRequestInformation grant users access to a link represented by a permission. // returns a *RequestInformation when successful func (m *ItemSitesItemPermissionsItemGrantRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemSitesItemPermissionsItemGrantPostRequestBodyable, requestConfiguration *ItemSitesItemPermissionsItemGrantRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_permissions_item_revoke_grants_request_builder.go b/groups/item_sites_item_permissions_item_revoke_grants_request_builder.go index b04a7b005bc..e79eeccfb9e 100644 --- a/groups/item_sites_item_permissions_item_revoke_grants_request_builder.go +++ b/groups/item_sites_item_permissions_item_revoke_grants_request_builder.go @@ -31,12 +31,12 @@ func NewItemSitesItemPermissionsItemRevokeGrantsRequestBuilder(rawUrl string, re urlParams["request-raw-url"] = rawUrl return NewItemSitesItemPermissionsItemRevokeGrantsRequestBuilderInternal(urlParams, requestAdapter) } -// Post revoke access to a [listItem][] or [driveItem][] granted via a sharing link by removing the specified [recipient][] from the link. +// Post revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. // returns a Permissionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-beta func (m *ItemSitesItemPermissionsItemRevokeGrantsRequestBuilder) Post(ctx context.Context, body ItemSitesItemPermissionsItemRevokeGrantsPostRequestBodyable, requestConfiguration *ItemSitesItemPermissionsItemRevokeGrantsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -54,7 +54,7 @@ func (m *ItemSitesItemPermissionsItemRevokeGrantsRequestBuilder) Post(ctx contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable), nil } -// ToPostRequestInformation revoke access to a [listItem][] or [driveItem][] granted via a sharing link by removing the specified [recipient][] from the link. +// ToPostRequestInformation revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. // returns a *RequestInformation when successful func (m *ItemSitesItemPermissionsItemRevokeGrantsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemSitesItemPermissionsItemRevokeGrantsPostRequestBodyable, requestConfiguration *ItemSitesItemPermissionsItemRevokeGrantsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_permissions_permission_item_request_builder.go b/groups/item_sites_item_permissions_permission_item_request_builder.go index b147c0756ac..b02d4c77d39 100644 --- a/groups/item_sites_item_permissions_permission_item_request_builder.go +++ b/groups/item_sites_item_permissions_permission_item_request_builder.go @@ -18,7 +18,7 @@ type ItemSitesItemPermissionsPermissionItemRequestBuilderDeleteRequestConfigurat // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemSitesItemPermissionsPermissionItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a permission object on a site. +// ItemSitesItemPermissionsPermissionItemRequestBuilderGetQueryParameters the permissions associated with the site. Nullable. type ItemSitesItemPermissionsPermissionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemSitesItemPermissionsPermissionItemRequestBuilder) Delete(ctx contex } return nil } -// Get retrieve the properties and relationships of a permission object on a site. +// Get the permissions associated with the site. Nullable. // returns a Permissionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/site-get-permission?view=graph-rest-1.0 func (m *ItemSitesItemPermissionsPermissionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemPermissionsPermissionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,12 +95,9 @@ func (m *ItemSitesItemPermissionsPermissionItemRequestBuilder) Get(ctx context.C func (m *ItemSitesItemPermissionsPermissionItemRequestBuilder) Grant()(*ItemSitesItemPermissionsItemGrantRequestBuilder) { return NewItemSitesItemPermissionsItemGrantRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the permission object on a site. +// Patch update the navigation property permissions in groups // returns a Permissionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/site-update-permission?view=graph-rest-1.0 func (m *ItemSitesItemPermissionsPermissionItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *ItemSitesItemPermissionsPermissionItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -137,7 +131,7 @@ func (m *ItemSitesItemPermissionsPermissionItemRequestBuilder) ToDeleteRequestIn requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a permission object on a site. +// ToGetRequestInformation the permissions associated with the site. Nullable. // returns a *RequestInformation when successful func (m *ItemSitesItemPermissionsPermissionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemPermissionsPermissionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -151,7 +145,7 @@ func (m *ItemSitesItemPermissionsPermissionItemRequestBuilder) ToGetRequestInfor requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the permission object on a site. +// ToPatchRequestInformation update the navigation property permissions in groups // returns a *RequestInformation when successful func (m *ItemSitesItemPermissionsPermissionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *ItemSitesItemPermissionsPermissionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_permissions_request_builder.go b/groups/item_sites_item_permissions_request_builder.go index 1264b732366..747ffd7dd94 100644 --- a/groups/item_sites_item_permissions_request_builder.go +++ b/groups/item_sites_item_permissions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSitesItemPermissionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemPermissionsRequestBuilderGetQueryParameters get the permission resources from the permissions navigation property on a site. +// ItemSitesItemPermissionsRequestBuilderGetQueryParameters the permissions associated with the site. Nullable. type ItemSitesItemPermissionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemSitesItemPermissionsRequestBuilder(rawUrl string, requestAdapter i2a func (m *ItemSitesItemPermissionsRequestBuilder) Count()(*ItemSitesItemPermissionsCountRequestBuilder) { return NewItemSitesItemPermissionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the permission resources from the permissions navigation property on a site. +// Get the permissions associated with the site. Nullable. // returns a PermissionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/site-list-permissions?view=graph-rest-1.0 func (m *ItemSitesItemPermissionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemPermissionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemSitesItemPermissionsRequestBuilder) Get(ctx context.Context, reques } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionCollectionResponseable), nil } -// Post create a new permission object on a site. +// Post create new navigation property to permissions for groups // returns a Permissionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/site-post-permissions?view=graph-rest-1.0 func (m *ItemSitesItemPermissionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *ItemSitesItemPermissionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemSitesItemPermissionsRequestBuilder) Post(ctx context.Context, body } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable), nil } -// ToGetRequestInformation get the permission resources from the permissions navigation property on a site. +// ToGetRequestInformation the permissions associated with the site. Nullable. // returns a *RequestInformation when successful func (m *ItemSitesItemPermissionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemPermissionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemSitesItemPermissionsRequestBuilder) ToGetRequestInformation(ctx con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new permission object on a site. +// ToPostRequestInformation create new navigation property to permissions for groups // returns a *RequestInformation when successful func (m *ItemSitesItemPermissionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *ItemSitesItemPermissionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_recycle_bin_items_request_builder.go b/groups/item_sites_item_recycle_bin_items_request_builder.go index 5a82bf37689..13d84435959 100644 --- a/groups/item_sites_item_recycle_bin_items_request_builder.go +++ b/groups/item_sites_item_recycle_bin_items_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSitesItemRecycleBinItemsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemRecycleBinItemsRequestBuilderGetQueryParameters get a collection of recycleBinItem resources in the recycleBin of the specified SharePoint site. +// ItemSitesItemRecycleBinItemsRequestBuilderGetQueryParameters list of the recycleBinItems deleted by a user. type ItemSitesItemRecycleBinItemsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemSitesItemRecycleBinItemsRequestBuilder(rawUrl string, requestAdapter func (m *ItemSitesItemRecycleBinItemsRequestBuilder) Count()(*ItemSitesItemRecycleBinItemsCountRequestBuilder) { return NewItemSitesItemRecycleBinItemsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a collection of recycleBinItem resources in the recycleBin of the specified SharePoint site. +// Get list of the recycleBinItems deleted by a user. // returns a RecycleBinItemCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/recyclebin-list-items?view=graph-rest-1.0 func (m *ItemSitesItemRecycleBinItemsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemRecycleBinItemsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RecycleBinItemCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemSitesItemRecycleBinItemsRequestBuilder) Post(ctx context.Context, b } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RecycleBinItemable), nil } -// ToGetRequestInformation get a collection of recycleBinItem resources in the recycleBin of the specified SharePoint site. +// ToGetRequestInformation list of the recycleBinItems deleted by a user. // returns a *RequestInformation when successful func (m *ItemSitesItemRecycleBinItemsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemRecycleBinItemsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_sites_request_builder.go b/groups/item_sites_item_sites_request_builder.go index affc31fe3f4..bf67540c20d 100644 --- a/groups/item_sites_item_sites_request_builder.go +++ b/groups/item_sites_item_sites_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSitesItemSitesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemSitesRequestBuilderGetQueryParameters get a collection of subsites defined for a [site][]. +// ItemSitesItemSitesRequestBuilderGetQueryParameters the collection of the sub-sites under this site. type ItemSitesItemSitesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewItemSitesItemSitesRequestBuilder(rawUrl string, requestAdapter i2ae4187f func (m *ItemSitesItemSitesRequestBuilder) Count()(*ItemSitesItemSitesCountRequestBuilder) { return NewItemSitesItemSitesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a collection of subsites defined for a [site][]. +// Get the collection of the sub-sites under this site. // returns a SiteCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/site-list-subsites?view=graph-rest-1.0 func (m *ItemSitesItemSitesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemSitesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *ItemSitesItemSitesRequestBuilder) Get(ctx context.Context, requestConfi } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteCollectionResponseable), nil } -// ToGetRequestInformation get a collection of subsites defined for a [site][]. +// ToGetRequestInformation the collection of the sub-sites under this site. // returns a *RequestInformation when successful func (m *ItemSitesItemSitesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemSitesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_term_store_groups_group_item_request_builder.go b/groups/item_sites_item_term_store_groups_group_item_request_builder.go index 8f118465ad9..f29555675f1 100644 --- a/groups/item_sites_item_term_store_groups_group_item_request_builder.go +++ b/groups/item_sites_item_term_store_groups_group_item_request_builder.go @@ -18,7 +18,7 @@ type ItemSitesItemTermStoreGroupsGroupItemRequestBuilderDeleteRequestConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemSitesItemTermStoreGroupsGroupItemRequestBuilderGetQueryParameters read the properties and relationships of a term store group object. +// ItemSitesItemTermStoreGroupsGroupItemRequestBuilderGetQueryParameters collection of all groups available in the term store. type ItemSitesItemTermStoreGroupsGroupItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemSitesItemTermStoreGroupsGroupItemRequestBuilder(rawUrl string, reque urlParams["request-raw-url"] = rawUrl return NewItemSitesItemTermStoreGroupsGroupItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a group object in a term [store]. +// Delete delete navigation property groups for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-group-delete?view=graph-rest-1.0 func (m *ItemSitesItemTermStoreGroupsGroupItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemSitesItemTermStoreGroupsGroupItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemSitesItemTermStoreGroupsGroupItemRequestBuilder) Delete(ctx context } return nil } -// Get read the properties and relationships of a term store group object. +// Get collection of all groups available in the term store. // 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/termstore-group-get?view=graph-rest-1.0 func (m *ItemSitesItemTermStoreGroupsGroupItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemTermStoreGroupsGroupItemRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Groupable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -121,7 +115,7 @@ func (m *ItemSitesItemTermStoreGroupsGroupItemRequestBuilder) Patch(ctx context. func (m *ItemSitesItemTermStoreGroupsGroupItemRequestBuilder) Sets()(*ItemSitesItemTermStoreGroupsItemSetsRequestBuilder) { return NewItemSitesItemTermStoreGroupsItemSetsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a group object in a term [store]. +// ToDeleteRequestInformation delete navigation property groups for groups // returns a *RequestInformation when successful func (m *ItemSitesItemTermStoreGroupsGroupItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemTermStoreGroupsGroupItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -132,7 +126,7 @@ func (m *ItemSitesItemTermStoreGroupsGroupItemRequestBuilder) ToDeleteRequestInf requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a term store group object. +// ToGetRequestInformation collection of all groups available in the term store. // returns a *RequestInformation when successful func (m *ItemSitesItemTermStoreGroupsGroupItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemTermStoreGroupsGroupItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_children_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_children_request_builder.go index 15698015cf8..13b4e98b70f 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_children_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_children_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSitesItemTermStoreGroupsItemSetsItemChildrenRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemTermStoreGroupsItemSetsItemChildrenRequestBuilderGetQueryParameters get the first level children of a [set] or [term] resource using the children navigation property. +// ItemSitesItemTermStoreGroupsItemSetsItemChildrenRequestBuilderGetQueryParameters children terms of set in term [store]. type ItemSitesItemTermStoreGroupsItemSetsItemChildrenRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemSitesItemTermStoreGroupsItemSetsItemChildrenRequestBuilder(rawUrl st func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenRequestBuilder) Count()(*ItemSitesItemTermStoreGroupsItemSetsItemChildrenCountRequestBuilder) { return NewItemSitesItemTermStoreGroupsItemSetsItemChildrenCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the first level children of a [set] or [term] resource using the children navigation property. +// Get children terms of set in term [store]. // returns a TermCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-term-list-children?view=graph-rest-1.0 func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemTermStoreGroupsItemSetsItemChildrenRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.TermCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenRequestBuilder) Get(ctx } return res.(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.TermCollectionResponseable), nil } -// Post create a new term object. +// Post create new navigation property to children for groups // returns a Termable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-term-post?view=graph-rest-1.0 func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenRequestBuilder) Post(ctx context.Context, body i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, requestConfiguration *ItemSitesItemTermStoreGroupsItemSetsItemChildrenRequestBuilderPostRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenRequestBuilder) Post(ct } return res.(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable), nil } -// ToGetRequestInformation get the first level children of a [set] or [term] resource using the children navigation property. +// ToGetRequestInformation children terms of set in term [store]. // returns a *RequestInformation when successful func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemTermStoreGroupsItemSetsItemChildrenRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenRequestBuilder) ToGetRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new term object. +// ToPostRequestInformation create new navigation property to children for groups // returns a *RequestInformation when successful func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenRequestBuilder) ToPostRequestInformation(ctx context.Context, body i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, requestConfiguration *ItemSitesItemTermStoreGroupsItemSetsItemChildrenRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_relations_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_relations_request_builder.go index 1bfc88399b0..8d680efaf8a 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_relations_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_relations_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSitesItemTermStoreGroupsItemSetsItemRelationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemTermStoreGroupsItemSetsItemRelationsRequestBuilderGetQueryParameters get the different relation of a [term] or [set] from the relations navigation property. +// ItemSitesItemTermStoreGroupsItemSetsItemRelationsRequestBuilderGetQueryParameters indicates which terms have been pinned or reused directly under the set. type ItemSitesItemTermStoreGroupsItemSetsItemRelationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemSitesItemTermStoreGroupsItemSetsItemRelationsRequestBuilder(rawUrl s func (m *ItemSitesItemTermStoreGroupsItemSetsItemRelationsRequestBuilder) Count()(*ItemSitesItemTermStoreGroupsItemSetsItemRelationsCountRequestBuilder) { return NewItemSitesItemTermStoreGroupsItemSetsItemRelationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the different relation of a [term] or [set] from the relations navigation property. +// Get indicates which terms have been pinned or reused directly under the set. // returns a RelationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-term-list-relations?view=graph-rest-1.0 func (m *ItemSitesItemTermStoreGroupsItemSetsItemRelationsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemTermStoreGroupsItemSetsItemRelationsRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.RelationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemRelationsRequestBuilder) Post(c } return res.(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Relationable), nil } -// ToGetRequestInformation get the different relation of a [term] or [set] from the relations navigation property. +// ToGetRequestInformation indicates which terms have been pinned or reused directly under the set. // returns a *RequestInformation when successful func (m *ItemSitesItemTermStoreGroupsItemSetsItemRelationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemTermStoreGroupsItemSetsItemRelationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_terms_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_terms_request_builder.go index ba20c1a24f5..0d2cfe394a1 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_terms_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_terms_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSitesItemTermStoreGroupsItemSetsItemTermsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemTermStoreGroupsItemSetsItemTermsRequestBuilderGetQueryParameters read the properties and relationships of a term object. +// ItemSitesItemTermStoreGroupsItemSetsItemTermsRequestBuilderGetQueryParameters all the terms under the set. type ItemSitesItemTermStoreGroupsItemSetsItemTermsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewItemSitesItemTermStoreGroupsItemSetsItemTermsRequestBuilder(rawUrl strin func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsRequestBuilder) Count()(*ItemSitesItemTermStoreGroupsItemSetsItemTermsCountRequestBuilder) { return NewItemSitesItemTermStoreGroupsItemSetsItemTermsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of a term object. +// Get all the terms under the set. // returns a TermCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemTermStoreGroupsItemSetsItemTermsRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.TermCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsRequestBuilder) Post(ctx c } return res.(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable), nil } -// ToGetRequestInformation read the properties and relationships of a term object. +// ToGetRequestInformation all the terms under the set. // returns a *RequestInformation when successful func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemTermStoreGroupsItemSetsItemTermsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_terms_term_item_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_terms_term_item_request_builder.go index b73cdc553fe..b442a450f5c 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_terms_term_item_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_terms_term_item_request_builder.go @@ -18,7 +18,7 @@ type ItemSitesItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilderDeleteRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemSitesItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilderGetQueryParameters read the properties and relationships of a term object. +// ItemSitesItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilderGetQueryParameters all the terms under the set. type ItemSitesItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewItemSitesItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilder(rawU urlParams["request-raw-url"] = rawUrl return NewItemSitesItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a term object. +// Delete delete navigation property terms for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-term-delete?view=graph-rest-1.0 func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemSitesItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilder) De } return nil } -// Get read the properties and relationships of a term object. +// Get all the terms under the set. // returns a Termable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-term-get?view=graph-rest-1.0 func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,12 +95,9 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilder) Ge } return res.(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable), nil } -// Patch update the properties of a term object. +// Patch update the navigation property terms in groups // returns a Termable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-term-update?view=graph-rest-1.0 func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilder) Patch(ctx context.Context, body i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, requestConfiguration *ItemSitesItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilderPatchRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -134,7 +125,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilder) Re func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilder) Set()(*ItemSitesItemTermStoreGroupsItemSetsItemTermsItemSetRequestBuilder) { return NewItemSitesItemTermStoreGroupsItemSetsItemTermsItemSetRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a term object. +// ToDeleteRequestInformation delete navigation property terms for groups // returns a *RequestInformation when successful func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -145,7 +136,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilder) To requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a term object. +// ToGetRequestInformation all the terms under the set. // returns a *RequestInformation when successful func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -159,7 +150,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilder) To requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a term object. +// ToPatchRequestInformation update the navigation property terms in groups // returns a *RequestInformation when successful func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, requestConfiguration *ItemSitesItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_term_store_groups_item_sets_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_request_builder.go index 5f8ace40d20..fb9a51846c3 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSitesItemTermStoreGroupsItemSetsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemTermStoreGroupsItemSetsRequestBuilderGetQueryParameters get a list of the set objects and their properties. +// ItemSitesItemTermStoreGroupsItemSetsRequestBuilderGetQueryParameters all sets under the group in a term [store]. type ItemSitesItemTermStoreGroupsItemSetsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemSitesItemTermStoreGroupsItemSetsRequestBuilder(rawUrl string, reques func (m *ItemSitesItemTermStoreGroupsItemSetsRequestBuilder) Count()(*ItemSitesItemTermStoreGroupsItemSetsCountRequestBuilder) { return NewItemSitesItemTermStoreGroupsItemSetsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the set objects and their properties. +// Get all sets under the group in a term [store]. // returns a SetCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-group-list-sets?view=graph-rest-1.0 func (m *ItemSitesItemTermStoreGroupsItemSetsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemTermStoreGroupsItemSetsRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.SetCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsRequestBuilder) Post(ctx context.Co } return res.(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Setable), nil } -// ToGetRequestInformation get a list of the set objects and their properties. +// ToGetRequestInformation all sets under the group in a term [store]. // returns a *RequestInformation when successful func (m *ItemSitesItemTermStoreGroupsItemSetsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemTermStoreGroupsItemSetsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_term_store_groups_request_builder.go b/groups/item_sites_item_term_store_groups_request_builder.go index 3d8b2ac330c..3abb27519af 100644 --- a/groups/item_sites_item_term_store_groups_request_builder.go +++ b/groups/item_sites_item_term_store_groups_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSitesItemTermStoreGroupsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemTermStoreGroupsRequestBuilderGetQueryParameters read the properties and relationships of a term store group object. +// ItemSitesItemTermStoreGroupsRequestBuilderGetQueryParameters collection of all groups available in the term store. type ItemSitesItemTermStoreGroupsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemSitesItemTermStoreGroupsRequestBuilder(rawUrl string, requestAdapter func (m *ItemSitesItemTermStoreGroupsRequestBuilder) Count()(*ItemSitesItemTermStoreGroupsCountRequestBuilder) { return NewItemSitesItemTermStoreGroupsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of a term store group object. +// Get collection of all groups available in the term store. // returns a GroupCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-list-groups?view=graph-rest-1.0 func (m *ItemSitesItemTermStoreGroupsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemTermStoreGroupsRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.GroupCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemSitesItemTermStoreGroupsRequestBuilder) Get(ctx context.Context, re } return res.(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.GroupCollectionResponseable), nil } -// Post create a new group object. +// Post create new navigation property to groups for groups // 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/termstore-group-post?view=graph-rest-1.0 func (m *ItemSitesItemTermStoreGroupsRequestBuilder) Post(ctx context.Context, body i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Groupable, requestConfiguration *ItemSitesItemTermStoreGroupsRequestBuilderPostRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Groupable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemSitesItemTermStoreGroupsRequestBuilder) Post(ctx context.Context, b } return res.(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Groupable), nil } -// ToGetRequestInformation read the properties and relationships of a term store group object. +// ToGetRequestInformation collection of all groups available in the term store. // returns a *RequestInformation when successful func (m *ItemSitesItemTermStoreGroupsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemTermStoreGroupsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemSitesItemTermStoreGroupsRequestBuilder) ToGetRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new group object. +// ToPostRequestInformation create new navigation property to groups for groups // returns a *RequestInformation when successful func (m *ItemSitesItemTermStoreGroupsRequestBuilder) ToPostRequestInformation(ctx context.Context, body i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Groupable, requestConfiguration *ItemSitesItemTermStoreGroupsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_term_store_request_builder.go b/groups/item_sites_item_term_store_request_builder.go index cc5b5bbbc41..08c12ebcc7e 100644 --- a/groups/item_sites_item_term_store_request_builder.go +++ b/groups/item_sites_item_term_store_request_builder.go @@ -18,7 +18,7 @@ type ItemSitesItemTermStoreRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemSitesItemTermStoreRequestBuilderGetQueryParameters read the properties and relationships of a store object. +// ItemSitesItemTermStoreRequestBuilderGetQueryParameters the termStore under this site. type ItemSitesItemTermStoreRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemSitesItemTermStoreRequestBuilder) Delete(ctx context.Context, reque } return nil } -// Get read the properties and relationships of a store object. +// Get the termStore under this site. // returns a Storeable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-store-get?view=graph-rest-1.0 func (m *ItemSitesItemTermStoreRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemTermStoreRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Storeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -134,7 +131,7 @@ func (m *ItemSitesItemTermStoreRequestBuilder) ToDeleteRequestInformation(ctx co requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a store object. +// ToGetRequestInformation the termStore under this site. // returns a *RequestInformation when successful func (m *ItemSitesItemTermStoreRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemTermStoreRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_term_store_sets_item_children_request_builder.go b/groups/item_sites_item_term_store_sets_item_children_request_builder.go index 5b1779c81e5..e7174cd8ac3 100644 --- a/groups/item_sites_item_term_store_sets_item_children_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_children_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSitesItemTermStoreSetsItemChildrenRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemTermStoreSetsItemChildrenRequestBuilderGetQueryParameters get the first level children of a [set] or [term] resource using the children navigation property. +// ItemSitesItemTermStoreSetsItemChildrenRequestBuilderGetQueryParameters children terms of set in term [store]. type ItemSitesItemTermStoreSetsItemChildrenRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemSitesItemTermStoreSetsItemChildrenRequestBuilder(rawUrl string, requ func (m *ItemSitesItemTermStoreSetsItemChildrenRequestBuilder) Count()(*ItemSitesItemTermStoreSetsItemChildrenCountRequestBuilder) { return NewItemSitesItemTermStoreSetsItemChildrenCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the first level children of a [set] or [term] resource using the children navigation property. +// Get children terms of set in term [store]. // returns a TermCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-term-list-children?view=graph-rest-1.0 func (m *ItemSitesItemTermStoreSetsItemChildrenRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemTermStoreSetsItemChildrenRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.TermCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemSitesItemTermStoreSetsItemChildrenRequestBuilder) Get(ctx context.C } return res.(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.TermCollectionResponseable), nil } -// Post create a new term object. +// Post create new navigation property to children for groups // returns a Termable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-term-post?view=graph-rest-1.0 func (m *ItemSitesItemTermStoreSetsItemChildrenRequestBuilder) Post(ctx context.Context, body i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, requestConfiguration *ItemSitesItemTermStoreSetsItemChildrenRequestBuilderPostRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemSitesItemTermStoreSetsItemChildrenRequestBuilder) Post(ctx context. } return res.(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable), nil } -// ToGetRequestInformation get the first level children of a [set] or [term] resource using the children navigation property. +// ToGetRequestInformation children terms of set in term [store]. // returns a *RequestInformation when successful func (m *ItemSitesItemTermStoreSetsItemChildrenRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemTermStoreSetsItemChildrenRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemSitesItemTermStoreSetsItemChildrenRequestBuilder) ToGetRequestInfor requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new term object. +// ToPostRequestInformation create new navigation property to children for groups // returns a *RequestInformation when successful func (m *ItemSitesItemTermStoreSetsItemChildrenRequestBuilder) ToPostRequestInformation(ctx context.Context, body i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, requestConfiguration *ItemSitesItemTermStoreSetsItemChildrenRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_request_builder.go index 4c545aab02f..6cac062a2c4 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenRequestBuilderGetQueryParameters get the first level children of a [set] or [term] resource using the children navigation property. +// ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenRequestBuilderGetQueryParameters children terms of set in term [store]. type ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenRequestBuilder( func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenRequestBuilder) Count()(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenCountRequestBuilder) { return NewItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the first level children of a [set] or [term] resource using the children navigation property. +// Get children terms of set in term [store]. // returns a TermCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-term-list-children?view=graph-rest-1.0 func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.TermCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenRequestBuilder } return res.(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.TermCollectionResponseable), nil } -// Post create a new term object. +// Post create new navigation property to children for groups // returns a Termable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-term-post?view=graph-rest-1.0 func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenRequestBuilder) Post(ctx context.Context, body i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, requestConfiguration *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenRequestBuilderPostRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenRequestBuilder } return res.(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable), nil } -// ToGetRequestInformation get the first level children of a [set] or [term] resource using the children navigation property. +// ToGetRequestInformation children terms of set in term [store]. // returns a *RequestInformation when successful func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenRequestBuilder requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new term object. +// ToPostRequestInformation create new navigation property to children for groups // returns a *RequestInformation when successful func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenRequestBuilder) ToPostRequestInformation(ctx context.Context, body i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, requestConfiguration *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_relations_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_relations_request_builder.go index d74bb669102..c761db15d30 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_relations_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_relations_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSitesItemTermStoreSetsItemParentGroupSetsItemRelationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemTermStoreSetsItemParentGroupSetsItemRelationsRequestBuilderGetQueryParameters get the different relation of a [term] or [set] from the relations navigation property. +// ItemSitesItemTermStoreSetsItemParentGroupSetsItemRelationsRequestBuilderGetQueryParameters indicates which terms have been pinned or reused directly under the set. type ItemSitesItemTermStoreSetsItemParentGroupSetsItemRelationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemSitesItemTermStoreSetsItemParentGroupSetsItemRelationsRequestBuilder func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemRelationsRequestBuilder) Count()(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemRelationsCountRequestBuilder) { return NewItemSitesItemTermStoreSetsItemParentGroupSetsItemRelationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the different relation of a [term] or [set] from the relations navigation property. +// Get indicates which terms have been pinned or reused directly under the set. // returns a RelationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-term-list-relations?view=graph-rest-1.0 func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemRelationsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemTermStoreSetsItemParentGroupSetsItemRelationsRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.RelationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemRelationsRequestBuilde } return res.(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Relationable), nil } -// ToGetRequestInformation get the different relation of a [term] or [set] from the relations navigation property. +// ToGetRequestInformation indicates which terms have been pinned or reused directly under the set. // returns a *RequestInformation when successful func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemRelationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemTermStoreSetsItemParentGroupSetsItemRelationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_request_builder.go index 643555aa0e7..8f9cea3cf8f 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsRequestBuilderGetQueryParameters read the properties and relationships of a term object. +// ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsRequestBuilderGetQueryParameters all the terms under the set. type ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsRequestBuilder(raw func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsRequestBuilder) Count()(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsCountRequestBuilder) { return NewItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of a term object. +// Get all the terms under the set. // returns a TermCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.TermCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsRequestBuilder) P } return res.(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable), nil } -// ToGetRequestInformation read the properties and relationships of a term object. +// ToGetRequestInformation all the terms under the set. // returns a *RequestInformation when successful func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_term_item_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_term_item_request_builder.go index 7f833ed763f..f1037a2968e 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_term_item_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_term_item_request_builder.go @@ -18,7 +18,7 @@ type ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBuilde // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBuilderGetQueryParameters read the properties and relationships of a term object. +// ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBuilderGetQueryParameters all the terms under the set. type ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBui urlParams["request-raw-url"] = rawUrl return NewItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a term object. +// Delete delete navigation property terms for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-term-delete?view=graph-rest-1.0 func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBu } return nil } -// Get read the properties and relationships of a term object. +// Get all the terms under the set. // returns a Termable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-term-get?view=graph-rest-1.0 func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,12 +95,9 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBu } return res.(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable), nil } -// Patch update the properties of a term object. +// Patch update the navigation property terms in groups // returns a Termable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-term-update?view=graph-rest-1.0 func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBuilder) Patch(ctx context.Context, body i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, requestConfiguration *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBuilderPatchRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -134,7 +125,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBu func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBuilder) Set()(*ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemSetRequestBuilder) { return NewItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemSetRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a term object. +// ToDeleteRequestInformation delete navigation property terms for groups // returns a *RequestInformation when successful func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -145,7 +136,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBu requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a term object. +// ToGetRequestInformation all the terms under the set. // returns a *RequestInformation when successful func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -159,7 +150,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBu requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a term object. +// ToPatchRequestInformation update the navigation property terms in groups // returns a *RequestInformation when successful func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, requestConfiguration *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_request_builder.go index 0f7ea2e3a47..f253c59cab7 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSitesItemTermStoreSetsItemParentGroupSetsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemTermStoreSetsItemParentGroupSetsRequestBuilderGetQueryParameters get a list of the set objects and their properties. +// ItemSitesItemTermStoreSetsItemParentGroupSetsRequestBuilderGetQueryParameters all sets under the group in a term [store]. type ItemSitesItemTermStoreSetsItemParentGroupSetsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemSitesItemTermStoreSetsItemParentGroupSetsRequestBuilder(rawUrl strin func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsRequestBuilder) Count()(*ItemSitesItemTermStoreSetsItemParentGroupSetsCountRequestBuilder) { return NewItemSitesItemTermStoreSetsItemParentGroupSetsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the set objects and their properties. +// Get all sets under the group in a term [store]. // returns a SetCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-group-list-sets?view=graph-rest-1.0 func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemTermStoreSetsItemParentGroupSetsRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.SetCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsRequestBuilder) Post(ctx c } return res.(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Setable), nil } -// ToGetRequestInformation get a list of the set objects and their properties. +// ToGetRequestInformation all sets under the group in a term [store]. // returns a *RequestInformation when successful func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemTermStoreSetsItemParentGroupSetsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_term_store_sets_item_relations_request_builder.go b/groups/item_sites_item_term_store_sets_item_relations_request_builder.go index 2f2a1432128..a5c08bbb666 100644 --- a/groups/item_sites_item_term_store_sets_item_relations_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_relations_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSitesItemTermStoreSetsItemRelationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemTermStoreSetsItemRelationsRequestBuilderGetQueryParameters get the different relation of a [term] or [set] from the relations navigation property. +// ItemSitesItemTermStoreSetsItemRelationsRequestBuilderGetQueryParameters indicates which terms have been pinned or reused directly under the set. type ItemSitesItemTermStoreSetsItemRelationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemSitesItemTermStoreSetsItemRelationsRequestBuilder(rawUrl string, req func (m *ItemSitesItemTermStoreSetsItemRelationsRequestBuilder) Count()(*ItemSitesItemTermStoreSetsItemRelationsCountRequestBuilder) { return NewItemSitesItemTermStoreSetsItemRelationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the different relation of a [term] or [set] from the relations navigation property. +// Get indicates which terms have been pinned or reused directly under the set. // returns a RelationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-term-list-relations?view=graph-rest-1.0 func (m *ItemSitesItemTermStoreSetsItemRelationsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemTermStoreSetsItemRelationsRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.RelationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemSitesItemTermStoreSetsItemRelationsRequestBuilder) Post(ctx context } return res.(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Relationable), nil } -// ToGetRequestInformation get the different relation of a [term] or [set] from the relations navigation property. +// ToGetRequestInformation indicates which terms have been pinned or reused directly under the set. // returns a *RequestInformation when successful func (m *ItemSitesItemTermStoreSetsItemRelationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemTermStoreSetsItemRelationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_term_store_sets_item_terms_request_builder.go b/groups/item_sites_item_term_store_sets_item_terms_request_builder.go index b08e8747577..411c93a9b77 100644 --- a/groups/item_sites_item_term_store_sets_item_terms_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_terms_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSitesItemTermStoreSetsItemTermsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemTermStoreSetsItemTermsRequestBuilderGetQueryParameters read the properties and relationships of a term object. +// ItemSitesItemTermStoreSetsItemTermsRequestBuilderGetQueryParameters all the terms under the set. type ItemSitesItemTermStoreSetsItemTermsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewItemSitesItemTermStoreSetsItemTermsRequestBuilder(rawUrl string, request func (m *ItemSitesItemTermStoreSetsItemTermsRequestBuilder) Count()(*ItemSitesItemTermStoreSetsItemTermsCountRequestBuilder) { return NewItemSitesItemTermStoreSetsItemTermsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of a term object. +// Get all the terms under the set. // returns a TermCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemSitesItemTermStoreSetsItemTermsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemTermStoreSetsItemTermsRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.TermCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *ItemSitesItemTermStoreSetsItemTermsRequestBuilder) Post(ctx context.Con } return res.(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable), nil } -// ToGetRequestInformation read the properties and relationships of a term object. +// ToGetRequestInformation all the terms under the set. // returns a *RequestInformation when successful func (m *ItemSitesItemTermStoreSetsItemTermsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemTermStoreSetsItemTermsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_term_store_sets_item_terms_term_item_request_builder.go b/groups/item_sites_item_term_store_sets_item_terms_term_item_request_builder.go index 805524f27fd..12b9c66a936 100644 --- a/groups/item_sites_item_term_store_sets_item_terms_term_item_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_terms_term_item_request_builder.go @@ -18,7 +18,7 @@ type ItemSitesItemTermStoreSetsItemTermsTermItemRequestBuilderDeleteRequestConfi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemSitesItemTermStoreSetsItemTermsTermItemRequestBuilderGetQueryParameters read the properties and relationships of a term object. +// ItemSitesItemTermStoreSetsItemTermsTermItemRequestBuilderGetQueryParameters all the terms under the set. type ItemSitesItemTermStoreSetsItemTermsTermItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewItemSitesItemTermStoreSetsItemTermsTermItemRequestBuilder(rawUrl string, urlParams["request-raw-url"] = rawUrl return NewItemSitesItemTermStoreSetsItemTermsTermItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a term object. +// Delete delete navigation property terms for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-term-delete?view=graph-rest-1.0 func (m *ItemSitesItemTermStoreSetsItemTermsTermItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemSitesItemTermStoreSetsItemTermsTermItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *ItemSitesItemTermStoreSetsItemTermsTermItemRequestBuilder) Delete(ctx c } return nil } -// Get read the properties and relationships of a term object. +// Get all the terms under the set. // returns a Termable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-term-get?view=graph-rest-1.0 func (m *ItemSitesItemTermStoreSetsItemTermsTermItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemTermStoreSetsItemTermsTermItemRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,12 +95,9 @@ func (m *ItemSitesItemTermStoreSetsItemTermsTermItemRequestBuilder) Get(ctx cont } return res.(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable), nil } -// Patch update the properties of a term object. +// Patch update the navigation property terms in groups // returns a Termable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-term-update?view=graph-rest-1.0 func (m *ItemSitesItemTermStoreSetsItemTermsTermItemRequestBuilder) Patch(ctx context.Context, body i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, requestConfiguration *ItemSitesItemTermStoreSetsItemTermsTermItemRequestBuilderPatchRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -134,7 +125,7 @@ func (m *ItemSitesItemTermStoreSetsItemTermsTermItemRequestBuilder) Relations()( func (m *ItemSitesItemTermStoreSetsItemTermsTermItemRequestBuilder) Set()(*ItemSitesItemTermStoreSetsItemTermsItemSetRequestBuilder) { return NewItemSitesItemTermStoreSetsItemTermsItemSetRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a term object. +// ToDeleteRequestInformation delete navigation property terms for groups // returns a *RequestInformation when successful func (m *ItemSitesItemTermStoreSetsItemTermsTermItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemTermStoreSetsItemTermsTermItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -145,7 +136,7 @@ func (m *ItemSitesItemTermStoreSetsItemTermsTermItemRequestBuilder) ToDeleteRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a term object. +// ToGetRequestInformation all the terms under the set. // returns a *RequestInformation when successful func (m *ItemSitesItemTermStoreSetsItemTermsTermItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemTermStoreSetsItemTermsTermItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -159,7 +150,7 @@ func (m *ItemSitesItemTermStoreSetsItemTermsTermItemRequestBuilder) ToGetRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a term object. +// ToPatchRequestInformation update the navigation property terms in groups // returns a *RequestInformation when successful func (m *ItemSitesItemTermStoreSetsItemTermsTermItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, requestConfiguration *ItemSitesItemTermStoreSetsItemTermsTermItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_term_store_sets_request_builder.go b/groups/item_sites_item_term_store_sets_request_builder.go index e7a35c5b40c..a0a45440147 100644 --- a/groups/item_sites_item_term_store_sets_request_builder.go +++ b/groups/item_sites_item_term_store_sets_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSitesItemTermStoreSetsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemTermStoreSetsRequestBuilderGetQueryParameters read the properties and relationships of a set object. +// ItemSitesItemTermStoreSetsRequestBuilderGetQueryParameters collection of all sets available in the term store. type ItemSitesItemTermStoreSetsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewItemSitesItemTermStoreSetsRequestBuilder(rawUrl string, requestAdapter i func (m *ItemSitesItemTermStoreSetsRequestBuilder) Count()(*ItemSitesItemTermStoreSetsCountRequestBuilder) { return NewItemSitesItemTermStoreSetsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of a set object. +// Get collection of all sets available in the term store. // returns a SetCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemSitesItemTermStoreSetsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemTermStoreSetsRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.SetCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *ItemSitesItemTermStoreSetsRequestBuilder) Post(ctx context.Context, bod } return res.(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Setable), nil } -// ToGetRequestInformation read the properties and relationships of a set object. +// ToGetRequestInformation collection of all sets available in the term store. // returns a *RequestInformation when successful func (m *ItemSitesItemTermStoreSetsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemTermStoreSetsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_term_store_sets_set_item_request_builder.go b/groups/item_sites_item_term_store_sets_set_item_request_builder.go index 09a5409bfd2..3c46569ed76 100644 --- a/groups/item_sites_item_term_store_sets_set_item_request_builder.go +++ b/groups/item_sites_item_term_store_sets_set_item_request_builder.go @@ -18,7 +18,7 @@ type ItemSitesItemTermStoreSetsSetItemRequestBuilderDeleteRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemSitesItemTermStoreSetsSetItemRequestBuilderGetQueryParameters read the properties and relationships of a set object. +// ItemSitesItemTermStoreSetsSetItemRequestBuilderGetQueryParameters collection of all sets available in the term store. type ItemSitesItemTermStoreSetsSetItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewItemSitesItemTermStoreSetsSetItemRequestBuilder(rawUrl string, requestAd urlParams["request-raw-url"] = rawUrl return NewItemSitesItemTermStoreSetsSetItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a set object. +// Delete delete navigation property sets for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-set-delete?view=graph-rest-1.0 func (m *ItemSitesItemTermStoreSetsSetItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemSitesItemTermStoreSetsSetItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *ItemSitesItemTermStoreSetsSetItemRequestBuilder) Delete(ctx context.Con } return nil } -// Get read the properties and relationships of a set object. +// Get collection of all sets available in the term store. // returns a Setable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-set-get?view=graph-rest-1.0 func (m *ItemSitesItemTermStoreSetsSetItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemTermStoreSetsSetItemRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Setable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -106,12 +100,9 @@ func (m *ItemSitesItemTermStoreSetsSetItemRequestBuilder) Get(ctx context.Contex func (m *ItemSitesItemTermStoreSetsSetItemRequestBuilder) ParentGroup()(*ItemSitesItemTermStoreSetsItemParentGroupRequestBuilder) { return NewItemSitesItemTermStoreSetsItemParentGroupRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of a set object. +// Patch update the navigation property sets in groups // returns a Setable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-set-update?view=graph-rest-1.0 func (m *ItemSitesItemTermStoreSetsSetItemRequestBuilder) Patch(ctx context.Context, body i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Setable, requestConfiguration *ItemSitesItemTermStoreSetsSetItemRequestBuilderPatchRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Setable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -139,7 +130,7 @@ func (m *ItemSitesItemTermStoreSetsSetItemRequestBuilder) Relations()(*ItemSites func (m *ItemSitesItemTermStoreSetsSetItemRequestBuilder) Terms()(*ItemSitesItemTermStoreSetsItemTermsRequestBuilder) { return NewItemSitesItemTermStoreSetsItemTermsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a set object. +// ToDeleteRequestInformation delete navigation property sets for groups // returns a *RequestInformation when successful func (m *ItemSitesItemTermStoreSetsSetItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemTermStoreSetsSetItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -150,7 +141,7 @@ func (m *ItemSitesItemTermStoreSetsSetItemRequestBuilder) ToDeleteRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a set object. +// ToGetRequestInformation collection of all sets available in the term store. // returns a *RequestInformation when successful func (m *ItemSitesItemTermStoreSetsSetItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemTermStoreSetsSetItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -164,7 +155,7 @@ func (m *ItemSitesItemTermStoreSetsSetItemRequestBuilder) ToGetRequestInformatio requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a set object. +// ToPatchRequestInformation update the navigation property sets in groups // returns a *RequestInformation when successful func (m *ItemSitesItemTermStoreSetsSetItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Setable, requestConfiguration *ItemSitesItemTermStoreSetsSetItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_remove_request_builder.go b/groups/item_sites_remove_request_builder.go index 1eb74a8ac8d..3847012cbd1 100644 --- a/groups/item_sites_remove_request_builder.go +++ b/groups/item_sites_remove_request_builder.go @@ -36,7 +36,7 @@ func NewItemSitesRemoveRequestBuilder(rawUrl string, requestAdapter i2ae4187f7da // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/site-unfollow?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/site-unfollow?view=graph-rest-beta func (m *ItemSitesRemoveRequestBuilder) Post(ctx context.Context, body ItemSitesRemovePostRequestBodyable, requestConfiguration *ItemSitesRemoveRequestBuilderPostRequestConfiguration)(ItemSitesRemoveResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ItemSitesRemoveRequestBuilder) Post(ctx context.Context, body ItemSites // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/site-unfollow?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/site-unfollow?view=graph-rest-beta func (m *ItemSitesRemoveRequestBuilder) PostAsRemovePostResponse(ctx context.Context, body ItemSitesRemovePostRequestBodyable, requestConfiguration *ItemSitesRemoveRequestBuilderPostRequestConfiguration)(ItemSitesRemovePostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_subscribe_by_mail_request_builder.go b/groups/item_subscribe_by_mail_request_builder.go index 119957295c0..84507370ce3 100644 --- a/groups/item_subscribe_by_mail_request_builder.go +++ b/groups/item_subscribe_by_mail_request_builder.go @@ -34,7 +34,7 @@ func NewItemSubscribeByMailRequestBuilder(rawUrl string, requestAdapter i2ae4187 // returns a ODataError error 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-subscribebymail?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/group-subscribebymail?view=graph-rest-beta func (m *ItemSubscribeByMailRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemSubscribeByMailRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_team_all_channels_request_builder.go b/groups/item_team_all_channels_request_builder.go index 33dea108c8b..fb6848a030f 100644 --- a/groups/item_team_all_channels_request_builder.go +++ b/groups/item_team_all_channels_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamAllChannelsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamAllChannelsRequestBuilderGetQueryParameters get the list of channels either in this team or shared with this team (incoming channels). +// ItemTeamAllChannelsRequestBuilderGetQueryParameters list of channels either hosted in or shared with the team (incoming channels). type ItemTeamAllChannelsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewItemTeamAllChannelsRequestBuilder(rawUrl string, requestAdapter i2ae4187 func (m *ItemTeamAllChannelsRequestBuilder) Count()(*ItemTeamAllChannelsCountRequestBuilder) { return NewItemTeamAllChannelsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of channels either in this team or shared with this team (incoming channels). +// Get list of channels either hosted in or shared with the team (incoming channels). // returns a ChannelCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/team-list-allchannels?view=graph-rest-1.0 func (m *ItemTeamAllChannelsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamAllChannelsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChannelCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *ItemTeamAllChannelsRequestBuilder) Get(ctx context.Context, requestConf } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChannelCollectionResponseable), nil } -// ToGetRequestInformation get the list of channels either in this team or shared with this team (incoming channels). +// ToGetRequestInformation list of channels either hosted in or shared with the team (incoming channels). // returns a *RequestInformation when successful func (m *ItemTeamAllChannelsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamAllChannelsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_archive_request_builder.go b/groups/item_team_archive_request_builder.go index b5e7ecdd502..b1cc8c67afa 100644 --- a/groups/item_team_archive_request_builder.go +++ b/groups/item_team_archive_request_builder.go @@ -34,7 +34,7 @@ func NewItemTeamArchiveRequestBuilder(rawUrl string, requestAdapter i2ae4187f7da // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/team-archive?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/team-archive?view=graph-rest-beta func (m *ItemTeamArchiveRequestBuilder) Post(ctx context.Context, body ItemTeamArchivePostRequestBodyable, requestConfiguration *ItemTeamArchiveRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_team_channels_channel_item_request_builder.go b/groups/item_team_channels_channel_item_request_builder.go index bf8f35a3fda..2f7a0535560 100644 --- a/groups/item_team_channels_channel_item_request_builder.go +++ b/groups/item_team_channels_channel_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamChannelsChannelItemRequestBuilderDeleteRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamChannelsChannelItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information. +// ItemTeamChannelsChannelItemRequestBuilderGetQueryParameters the collection of channels and messages associated with the team. type ItemTeamChannelsChannelItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -64,11 +64,8 @@ func NewItemTeamChannelsChannelItemRequestBuilder(rawUrl string, requestAdapter urlParams["request-raw-url"] = rawUrl return NewItemTeamChannelsChannelItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete the channel. +// Delete delete navigation property channels for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/channel-delete?view=graph-rest-1.0 func (m *ItemTeamChannelsChannelItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTeamChannelsChannelItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *ItemTeamChannelsChannelItemRequestBuilder) DoesUserHaveAccessuserIdUser func (m *ItemTeamChannelsChannelItemRequestBuilder) FilesFolder()(*ItemTeamChannelsItemFilesFolderRequestBuilder) { return NewItemTeamChannelsItemFilesFolderRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information. +// Get the collection of channels and messages associated with the team. // returns a Channelable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemTeamChannelsChannelItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamChannelsChannelItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -126,12 +120,9 @@ func (m *ItemTeamChannelsChannelItemRequestBuilder) Members()(*ItemTeamChannelsI func (m *ItemTeamChannelsChannelItemRequestBuilder) Messages()(*ItemTeamChannelsItemMessagesRequestBuilder) { return NewItemTeamChannelsItemMessagesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of the specified channel. +// Patch update the navigation property channels in groups // returns a Channelable when successful // returns a ODataError error 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-patch?view=graph-rest-1.0 func (m *ItemTeamChannelsChannelItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable, requestConfiguration *ItemTeamChannelsChannelItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -169,7 +160,7 @@ func (m *ItemTeamChannelsChannelItemRequestBuilder) SharedWithTeams()(*ItemTeamC func (m *ItemTeamChannelsChannelItemRequestBuilder) Tabs()(*ItemTeamChannelsItemTabsRequestBuilder) { return NewItemTeamChannelsItemTabsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete the channel. +// ToDeleteRequestInformation delete navigation property channels for groups // returns a *RequestInformation when successful func (m *ItemTeamChannelsChannelItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTeamChannelsChannelItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -180,7 +171,7 @@ func (m *ItemTeamChannelsChannelItemRequestBuilder) ToDeleteRequestInformation(c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information. +// ToGetRequestInformation the collection of channels and messages associated with the team. // returns a *RequestInformation when successful func (m *ItemTeamChannelsChannelItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamChannelsChannelItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -194,7 +185,7 @@ func (m *ItemTeamChannelsChannelItemRequestBuilder) ToGetRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of the specified channel. +// ToPatchRequestInformation update the navigation property channels in groups // returns a *RequestInformation when successful func (m *ItemTeamChannelsChannelItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable, requestConfiguration *ItemTeamChannelsChannelItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_channels_get_all_messages_request_builder.go b/groups/item_team_channels_get_all_messages_request_builder.go index d21b3542385..f358b3c9e40 100644 --- a/groups/item_team_channels_get_all_messages_request_builder.go +++ b/groups/item_team_channels_get_all_messages_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemTeamChannelsGetAllMessagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamChannelsGetAllMessagesRequestBuilderGetQueryParameters invoke function getAllMessages +// ItemTeamChannelsGetAllMessagesRequestBuilderGetQueryParameters retrieve messages across all channels in a team, including text, audio, and video conversations. To learn more about using the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. type ItemTeamChannelsGetAllMessagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -53,10 +53,13 @@ func NewItemTeamChannelsGetAllMessagesRequestBuilder(rawUrl string, requestAdapt urlParams["request-raw-url"] = rawUrl return NewItemTeamChannelsGetAllMessagesRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getAllMessages +// Get retrieve messages across all channels in a team, including text, audio, and video conversations. To learn more about using the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. // Deprecated: This method is obsolete. Use GetAsGetAllMessagesGetResponse instead. // returns a ItemTeamChannelsGetAllMessagesResponseable when successful // returns a ODataError error 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-getallmessages?view=graph-rest-beta func (m *ItemTeamChannelsGetAllMessagesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamChannelsGetAllMessagesRequestBuilderGetRequestConfiguration)(ItemTeamChannelsGetAllMessagesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -74,9 +77,12 @@ func (m *ItemTeamChannelsGetAllMessagesRequestBuilder) Get(ctx context.Context, } return res.(ItemTeamChannelsGetAllMessagesResponseable), nil } -// GetAsGetAllMessagesGetResponse invoke function getAllMessages +// GetAsGetAllMessagesGetResponse retrieve messages across all channels in a team, including text, audio, and video conversations. To learn more about using the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. // returns a ItemTeamChannelsGetAllMessagesGetResponseable when successful // returns a ODataError error 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-getallmessages?view=graph-rest-beta func (m *ItemTeamChannelsGetAllMessagesRequestBuilder) GetAsGetAllMessagesGetResponse(ctx context.Context, requestConfiguration *ItemTeamChannelsGetAllMessagesRequestBuilderGetRequestConfiguration)(ItemTeamChannelsGetAllMessagesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -94,7 +100,7 @@ func (m *ItemTeamChannelsGetAllMessagesRequestBuilder) GetAsGetAllMessagesGetRes } return res.(ItemTeamChannelsGetAllMessagesGetResponseable), nil } -// ToGetRequestInformation invoke function getAllMessages +// ToGetRequestInformation retrieve messages across all channels in a team, including text, audio, and video conversations. To learn more about using the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. // returns a *RequestInformation when successful func (m *ItemTeamChannelsGetAllMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamChannelsGetAllMessagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_channels_get_all_retained_messages_request_builder.go b/groups/item_team_channels_get_all_retained_messages_request_builder.go index 3d3356bf01b..a3d19b3d1e1 100644 --- a/groups/item_team_channels_get_all_retained_messages_request_builder.go +++ b/groups/item_team_channels_get_all_retained_messages_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemTeamChannelsGetAllRetainedMessagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamChannelsGetAllRetainedMessagesRequestBuilderGetQueryParameters invoke function getAllRetainedMessages +// ItemTeamChannelsGetAllRetainedMessagesRequestBuilderGetQueryParameters get retained messages across all channels in a team. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. type ItemTeamChannelsGetAllRetainedMessagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewItemTeamChannelsGetAllRetainedMessagesRequestBuilder(rawUrl string, requ urlParams["request-raw-url"] = rawUrl return NewItemTeamChannelsGetAllRetainedMessagesRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getAllRetainedMessages +// Get get retained messages across all channels in a team. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. // Deprecated: This method is obsolete. Use GetAsGetAllRetainedMessagesGetResponse instead. // returns a ItemTeamChannelsGetAllRetainedMessagesResponseable when successful // returns a ODataError error 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-getallretainedmessages?view=graph-rest-beta func (m *ItemTeamChannelsGetAllRetainedMessagesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamChannelsGetAllRetainedMessagesRequestBuilderGetRequestConfiguration)(ItemTeamChannelsGetAllRetainedMessagesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ItemTeamChannelsGetAllRetainedMessagesRequestBuilder) Get(ctx context.C } return res.(ItemTeamChannelsGetAllRetainedMessagesResponseable), nil } -// GetAsGetAllRetainedMessagesGetResponse invoke function getAllRetainedMessages +// GetAsGetAllRetainedMessagesGetResponse get retained messages across all channels in a team. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. // returns a ItemTeamChannelsGetAllRetainedMessagesGetResponseable when successful // returns a ODataError error 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-getallretainedmessages?view=graph-rest-beta func (m *ItemTeamChannelsGetAllRetainedMessagesRequestBuilder) GetAsGetAllRetainedMessagesGetResponse(ctx context.Context, requestConfiguration *ItemTeamChannelsGetAllRetainedMessagesRequestBuilderGetRequestConfiguration)(ItemTeamChannelsGetAllRetainedMessagesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ItemTeamChannelsGetAllRetainedMessagesRequestBuilder) GetAsGetAllRetain } return res.(ItemTeamChannelsGetAllRetainedMessagesGetResponseable), nil } -// ToGetRequestInformation invoke function getAllRetainedMessages +// ToGetRequestInformation get retained messages across all channels in a team. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. // returns a *RequestInformation when successful func (m *ItemTeamChannelsGetAllRetainedMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamChannelsGetAllRetainedMessagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_channels_item_archive_request_builder.go b/groups/item_team_channels_item_archive_request_builder.go index 3e45404e592..c14836ef1b5 100644 --- a/groups/item_team_channels_item_archive_request_builder.go +++ b/groups/item_team_channels_item_archive_request_builder.go @@ -34,7 +34,7 @@ func NewItemTeamChannelsItemArchiveRequestBuilder(rawUrl string, requestAdapter // returns a ODataError error 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-archive?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-archive?view=graph-rest-beta func (m *ItemTeamChannelsItemArchiveRequestBuilder) Post(ctx context.Context, body ItemTeamChannelsItemArchivePostRequestBodyable, requestConfiguration *ItemTeamChannelsItemArchiveRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_team_channels_item_complete_migration_request_builder.go b/groups/item_team_channels_item_complete_migration_request_builder.go index 650d4afc0a7..3e4b3193c11 100644 --- a/groups/item_team_channels_item_complete_migration_request_builder.go +++ b/groups/item_team_channels_item_complete_migration_request_builder.go @@ -34,7 +34,7 @@ func NewItemTeamChannelsItemCompleteMigrationRequestBuilder(rawUrl string, reque // returns a ODataError error 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-completemigration?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-completemigration?view=graph-rest-beta func (m *ItemTeamChannelsItemCompleteMigrationRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemTeamChannelsItemCompleteMigrationRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_team_channels_item_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go b/groups/item_team_channels_item_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go index 0c45815fa2a..5d644c709a5 100644 --- a/groups/item_team_channels_item_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go +++ b/groups/item_team_channels_item_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemTeamChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters invoke function doesUserHaveAccess +// ItemTeamChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters determine whether a user has access to a shared channel. type ItemTeamChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters struct { // Usage: tenantId='@tenantId' TenantId *string `uriparametername:"tenantId"` @@ -41,10 +41,13 @@ func NewItemTeamChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPr urlParams["request-raw-url"] = rawUrl return NewItemTeamChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function doesUserHaveAccess +// Get determine whether a user has access to a shared channel. // Deprecated: This method is obsolete. Use GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse instead. // returns a ItemTeamChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponseable when successful // returns a ODataError error 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-doesuserhaveaccess?view=graph-rest-beta func (m *ItemTeamChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetRequestConfiguration)(ItemTeamChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -62,9 +65,12 @@ func (m *ItemTeamChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserP } return res.(ItemTeamChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponseable), nil } -// GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse invoke function doesUserHaveAccess +// GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse determine whether a user has access to a shared channel. // returns a ItemTeamChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponseable when successful // returns a ODataError error 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-doesuserhaveaccess?view=graph-rest-beta func (m *ItemTeamChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder) GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse(ctx context.Context, requestConfiguration *ItemTeamChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetRequestConfiguration)(ItemTeamChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -82,7 +88,7 @@ func (m *ItemTeamChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserP } return res.(ItemTeamChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponseable), nil } -// ToGetRequestInformation invoke function doesUserHaveAccess +// ToGetRequestInformation determine whether a user has access to a shared channel. // returns a *RequestInformation when successful func (m *ItemTeamChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_channels_item_files_folder_content_request_builder.go b/groups/item_team_channels_item_files_folder_content_request_builder.go index 427488e0b04..c6b3d3447b1 100644 --- a/groups/item_team_channels_item_files_folder_content_request_builder.go +++ b/groups/item_team_channels_item_files_folder_content_request_builder.go @@ -48,9 +48,6 @@ func NewItemTeamChannelsItemFilesFolderContentRequestBuilder(rawUrl string, requ // Get get content for the navigation property filesFolder from groups // 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/channel-get-filesfolder?view=graph-rest-1.0 func (m *ItemTeamChannelsItemFilesFolderContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamChannelsItemFilesFolderContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_team_channels_item_files_folder_content_stream_request_builder.go b/groups/item_team_channels_item_files_folder_content_stream_request_builder.go index 3790dd78b6e..d4dbb5805b9 100644 --- a/groups/item_team_channels_item_files_folder_content_stream_request_builder.go +++ b/groups/item_team_channels_item_files_folder_content_stream_request_builder.go @@ -40,9 +40,6 @@ func NewItemTeamChannelsItemFilesFolderContentStreamRequestBuilder(rawUrl string // Get the content stream, if the item represents a file. // 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/channel-get-filesfolder?view=graph-rest-1.0 func (m *ItemTeamChannelsItemFilesFolderContentStreamRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamChannelsItemFilesFolderContentStreamRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_team_channels_item_files_folder_request_builder.go b/groups/item_team_channels_item_files_folder_request_builder.go index 42a83a4b48e..bf536c8965d 100644 --- a/groups/item_team_channels_item_files_folder_request_builder.go +++ b/groups/item_team_channels_item_files_folder_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamChannelsItemFilesFolderRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamChannelsItemFilesFolderRequestBuilderGetQueryParameters get the metadata for the location where the files of a channel are stored. +// ItemTeamChannelsItemFilesFolderRequestBuilderGetQueryParameters metadata for the location where the channel's files are stored. type ItemTeamChannelsItemFilesFolderRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -50,12 +50,9 @@ func (m *ItemTeamChannelsItemFilesFolderRequestBuilder) Content()(*ItemTeamChann func (m *ItemTeamChannelsItemFilesFolderRequestBuilder) ContentStream()(*ItemTeamChannelsItemFilesFolderContentStreamRequestBuilder) { return NewItemTeamChannelsItemFilesFolderContentStreamRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the metadata for the location where the files of a channel are stored. +// Get metadata for the location where the channel's files are stored. // returns a DriveItemable when successful // returns a ODataError error 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-get-filesfolder?view=graph-rest-1.0 func (m *ItemTeamChannelsItemFilesFolderRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamChannelsItemFilesFolderRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,7 +70,7 @@ func (m *ItemTeamChannelsItemFilesFolderRequestBuilder) Get(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable), nil } -// ToGetRequestInformation get the metadata for the location where the files of a channel are stored. +// ToGetRequestInformation metadata for the location where the channel's files are stored. // returns a *RequestInformation when successful func (m *ItemTeamChannelsItemFilesFolderRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamChannelsItemFilesFolderRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_channels_item_members_add_request_builder.go b/groups/item_team_channels_item_members_add_request_builder.go index cfd4e2b0ebd..a00d9c5cd78 100644 --- a/groups/item_team_channels_item_members_add_request_builder.go +++ b/groups/item_team_channels_item_members_add_request_builder.go @@ -36,7 +36,7 @@ func NewItemTeamChannelsItemMembersAddRequestBuilder(rawUrl string, requestAdapt // returns a ODataError error 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-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-beta func (m *ItemTeamChannelsItemMembersAddRequestBuilder) Post(ctx context.Context, body ItemTeamChannelsItemMembersAddPostRequestBodyable, requestConfiguration *ItemTeamChannelsItemMembersAddRequestBuilderPostRequestConfiguration)(ItemTeamChannelsItemMembersAddResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ItemTeamChannelsItemMembersAddRequestBuilder) Post(ctx context.Context, // returns a ODataError error 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-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-beta func (m *ItemTeamChannelsItemMembersAddRequestBuilder) PostAsAddPostResponse(ctx context.Context, body ItemTeamChannelsItemMembersAddPostRequestBodyable, requestConfiguration *ItemTeamChannelsItemMembersAddRequestBuilderPostRequestConfiguration)(ItemTeamChannelsItemMembersAddPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_team_channels_item_members_conversation_member_item_request_builder.go b/groups/item_team_channels_item_members_conversation_member_item_request_builder.go index 9e90d1c6ca3..d1e88322146 100644 --- a/groups/item_team_channels_item_members_conversation_member_item_request_builder.go +++ b/groups/item_team_channels_item_members_conversation_member_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamChannelsItemMembersConversationMemberItemRequestBuilderDeleteReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamChannelsItemMembersConversationMemberItemRequestBuilderGetQueryParameters get a conversationMember from a channel. +// ItemTeamChannelsItemMembersConversationMemberItemRequestBuilderGetQueryParameters a collection of membership records associated with the channel. type ItemTeamChannelsItemMembersConversationMemberItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemTeamChannelsItemMembersConversationMemberItemRequestBuilder(rawUrl s urlParams["request-raw-url"] = rawUrl return NewItemTeamChannelsItemMembersConversationMemberItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. +// Delete delete navigation property members for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/channel-delete-members?view=graph-rest-1.0 func (m *ItemTeamChannelsItemMembersConversationMemberItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTeamChannelsItemMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemTeamChannelsItemMembersConversationMemberItemRequestBuilder) Delete } return nil } -// Get get a conversationMember from a channel. +// Get a collection of membership records associated with the 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-get-members?view=graph-rest-1.0 func (m *ItemTeamChannelsItemMembersConversationMemberItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamChannelsItemMembersConversationMemberItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ItemTeamChannelsItemMembersConversationMemberItemRequestBuilder) Get(ct } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil } -// Patch update the role of a conversationMember in a team.or channel. +// Patch update the navigation property members in groups // returns a ConversationMemberable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0 func (m *ItemTeamChannelsItemMembersConversationMemberItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemTeamChannelsItemMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *ItemTeamChannelsItemMembersConversationMemberItemRequestBuilder) Patch( } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil } -// ToDeleteRequestInformation delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. +// ToDeleteRequestInformation delete navigation property members for groups // returns a *RequestInformation when successful func (m *ItemTeamChannelsItemMembersConversationMemberItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTeamChannelsItemMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *ItemTeamChannelsItemMembersConversationMemberItemRequestBuilder) ToDele requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a conversationMember from a channel. +// ToGetRequestInformation a collection of membership records associated with the channel. // returns a *RequestInformation when successful func (m *ItemTeamChannelsItemMembersConversationMemberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamChannelsItemMembersConversationMemberItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *ItemTeamChannelsItemMembersConversationMemberItemRequestBuilder) ToGetR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the role of a conversationMember in a team.or channel. +// ToPatchRequestInformation update the navigation property members in groups // returns a *RequestInformation when successful func (m *ItemTeamChannelsItemMembersConversationMemberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemTeamChannelsItemMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_channels_item_members_request_builder.go b/groups/item_team_channels_item_members_request_builder.go index 7aa705379c0..532538602eb 100644 --- a/groups/item_team_channels_item_members_request_builder.go +++ b/groups/item_team_channels_item_members_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamChannelsItemMembersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamChannelsItemMembersRequestBuilderGetQueryParameters retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. +// ItemTeamChannelsItemMembersRequestBuilderGetQueryParameters a collection of membership records associated with the channel. type ItemTeamChannelsItemMembersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func NewItemTeamChannelsItemMembersRequestBuilder(rawUrl string, requestAdapter func (m *ItemTeamChannelsItemMembersRequestBuilder) Count()(*ItemTeamChannelsItemMembersCountRequestBuilder) { return NewItemTeamChannelsItemMembersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. +// Get a collection of membership records associated with the channel. // returns a ConversationMemberCollectionResponseable when successful // returns a ODataError error 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-list-members?view=graph-rest-1.0 func (m *ItemTeamChannelsItemMembersRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamChannelsItemMembersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *ItemTeamChannelsItemMembersRequestBuilder) Get(ctx context.Context, req } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable), nil } -// Post add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. +// Post create new navigation property to members for groups // returns a ConversationMemberable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/channel-post-members?view=graph-rest-1.0 func (m *ItemTeamChannelsItemMembersRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemTeamChannelsItemMembersRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemTeamChannelsItemMembersRequestBuilder) Post(ctx context.Context, bo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil } -// ToGetRequestInformation retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. +// ToGetRequestInformation a collection of membership records associated with the channel. // returns a *RequestInformation when successful func (m *ItemTeamChannelsItemMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamChannelsItemMembersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ItemTeamChannelsItemMembersRequestBuilder) ToGetRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. +// ToPostRequestInformation create new navigation property to members for groups // returns a *RequestInformation when successful func (m *ItemTeamChannelsItemMembersRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemTeamChannelsItemMembersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_channels_item_messages_chat_message_item_request_builder.go b/groups/item_team_channels_item_messages_chat_message_item_request_builder.go index 7303f95e19c..2c5ad5e57f9 100644 --- a/groups/item_team_channels_item_messages_chat_message_item_request_builder.go +++ b/groups/item_team_channels_item_messages_chat_message_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamChannelsItemMessagesChatMessageItemRequestBuilderDeleteRequestConfi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamChannelsItemMessagesChatMessageItemRequestBuilderGetQueryParameters retrieve a single message or a message reply in a channel or a chat. +// ItemTeamChannelsItemMessagesChatMessageItemRequestBuilderGetQueryParameters a collection of all the messages in the channel. A navigation property. Nullable. type ItemTeamChannelsItemMessagesChatMessageItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemTeamChannelsItemMessagesChatMessageItemRequestBuilder) Delete(ctx c } return nil } -// Get retrieve a single message or a message reply in a channel or a chat. +// Get a collection of all the messages in the channel. A navigation property. Nullable. // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-get?view=graph-rest-1.0 func (m *ItemTeamChannelsItemMessagesChatMessageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamChannelsItemMessagesChatMessageItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,12 +95,9 @@ func (m *ItemTeamChannelsItemMessagesChatMessageItemRequestBuilder) Get(ctx cont func (m *ItemTeamChannelsItemMessagesChatMessageItemRequestBuilder) HostedContents()(*ItemTeamChannelsItemMessagesItemHostedContentsRequestBuilder) { return NewItemTeamChannelsItemMessagesItemHostedContentsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method doesn't support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. +// Patch update the navigation property messages in groups // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-update?view=graph-rest-1.0 func (m *ItemTeamChannelsItemMessagesChatMessageItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemTeamChannelsItemMessagesChatMessageItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -147,7 +141,7 @@ func (m *ItemTeamChannelsItemMessagesChatMessageItemRequestBuilder) ToDeleteRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a single message or a message reply in a channel or a chat. +// ToGetRequestInformation a collection of all the messages in the channel. A navigation property. Nullable. // returns a *RequestInformation when successful func (m *ItemTeamChannelsItemMessagesChatMessageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamChannelsItemMessagesChatMessageItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -161,7 +155,7 @@ func (m *ItemTeamChannelsItemMessagesChatMessageItemRequestBuilder) ToGetRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method doesn't support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. +// ToPatchRequestInformation update the navigation property messages in groups // returns a *RequestInformation when successful func (m *ItemTeamChannelsItemMessagesChatMessageItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemTeamChannelsItemMessagesChatMessageItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_channels_item_messages_delta_request_builder.go b/groups/item_team_channels_item_messages_delta_request_builder.go index 385425eb801..9461de1ea4f 100644 --- a/groups/item_team_channels_item_messages_delta_request_builder.go +++ b/groups/item_team_channels_item_messages_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemTeamChannelsItemMessagesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamChannelsItemMessagesDeltaRequestBuilderGetQueryParameters invoke function delta +// ItemTeamChannelsItemMessagesDeltaRequestBuilderGetQueryParameters retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. type ItemTeamChannelsItemMessagesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewItemTeamChannelsItemMessagesDeltaRequestBuilder(rawUrl string, requestAd urlParams["request-raw-url"] = rawUrl return NewItemTeamChannelsItemMessagesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemTeamChannelsItemMessagesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-beta func (m *ItemTeamChannelsItemMessagesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamChannelsItemMessagesDeltaRequestBuilderGetRequestConfiguration)(ItemTeamChannelsItemMessagesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ItemTeamChannelsItemMessagesDeltaRequestBuilder) Get(ctx context.Contex } return res.(ItemTeamChannelsItemMessagesDeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // returns a ItemTeamChannelsItemMessagesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-beta func (m *ItemTeamChannelsItemMessagesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemTeamChannelsItemMessagesDeltaRequestBuilderGetRequestConfiguration)(ItemTeamChannelsItemMessagesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ItemTeamChannelsItemMessagesDeltaRequestBuilder) GetAsDeltaGetResponse( } return res.(ItemTeamChannelsItemMessagesDeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // returns a *RequestInformation when successful func (m *ItemTeamChannelsItemMessagesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamChannelsItemMessagesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_channels_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/groups/item_team_channels_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index dafa55fa68f..92b39e88dd6 100644 --- a/groups/item_team_channels_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/groups/item_team_channels_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters retrieve the properties and relationships of chatMessageHostedContent object. +// ItemTeamChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters content in a message hosted by Microsoft Teams - for example, images or code snippets. type ItemTeamChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *ItemTeamChannelsItemMessagesItemHostedContentsChatMessageHostedContentI } return nil } -// Get retrieve the properties and relationships of chatMessageHostedContent object. +// Get content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a ChatMessageHostedContentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessagehostedcontent-get?view=graph-rest-1.0 func (m *ItemTeamChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *ItemTeamChannelsItemMessagesItemHostedContentsChatMessageHostedContentI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of chatMessageHostedContent object. +// ToGetRequestInformation content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a *RequestInformation when successful func (m *ItemTeamChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_channels_item_messages_item_hosted_contents_item_value_content_request_builder.go b/groups/item_team_channels_item_messages_item_hosted_contents_item_value_content_request_builder.go index 951f98d8820..e1fd7be7d36 100644 --- a/groups/item_team_channels_item_messages_item_hosted_contents_item_value_content_request_builder.go +++ b/groups/item_team_channels_item_messages_item_hosted_contents_item_value_content_request_builder.go @@ -40,9 +40,6 @@ func NewItemTeamChannelsItemMessagesItemHostedContentsItemValueContentRequestBui // Get get media content for the navigation property hostedContents from groups // 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/chatmessage-list-hostedcontents?view=graph-rest-1.0 func (m *ItemTeamChannelsItemMessagesItemHostedContentsItemValueContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamChannelsItemMessagesItemHostedContentsItemValueContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_team_channels_item_messages_item_hosted_contents_request_builder.go b/groups/item_team_channels_item_messages_item_hosted_contents_request_builder.go index 03c17ad43f1..9ca768e21ae 100644 --- a/groups/item_team_channels_item_messages_item_hosted_contents_request_builder.go +++ b/groups/item_team_channels_item_messages_item_hosted_contents_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamChannelsItemMessagesItemHostedContentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamChannelsItemMessagesItemHostedContentsRequestBuilderGetQueryParameters retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// ItemTeamChannelsItemMessagesItemHostedContentsRequestBuilderGetQueryParameters content in a message hosted by Microsoft Teams - for example, images or code snippets. type ItemTeamChannelsItemMessagesItemHostedContentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemTeamChannelsItemMessagesItemHostedContentsRequestBuilder(rawUrl stri func (m *ItemTeamChannelsItemMessagesItemHostedContentsRequestBuilder) Count()(*ItemTeamChannelsItemMessagesItemHostedContentsCountRequestBuilder) { return NewItemTeamChannelsItemMessagesItemHostedContentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// Get content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a ChatMessageHostedContentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0 func (m *ItemTeamChannelsItemMessagesItemHostedContentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamChannelsItemMessagesItemHostedContentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemTeamChannelsItemMessagesItemHostedContentsRequestBuilder) Post(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentable), nil } -// ToGetRequestInformation retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// ToGetRequestInformation content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a *RequestInformation when successful func (m *ItemTeamChannelsItemMessagesItemHostedContentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamChannelsItemMessagesItemHostedContentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_channels_item_messages_item_replies_chat_message_item_request_builder.go b/groups/item_team_channels_item_messages_item_replies_chat_message_item_request_builder.go index 9ffc16d74b9..a127a56d1b6 100644 --- a/groups/item_team_channels_item_messages_item_replies_chat_message_item_request_builder.go +++ b/groups/item_team_channels_item_messages_item_replies_chat_message_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamChannelsItemMessagesItemRepliesChatMessageItemRequestBuilderDeleteR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamChannelsItemMessagesItemRepliesChatMessageItemRequestBuilderGetQueryParameters retrieve a single message or a message reply in a channel or a chat. +// ItemTeamChannelsItemMessagesItemRepliesChatMessageItemRequestBuilderGetQueryParameters replies for a specified message. Supports $expand for channel messages. type ItemTeamChannelsItemMessagesItemRepliesChatMessageItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemTeamChannelsItemMessagesItemRepliesChatMessageItemRequestBuilder) D } return nil } -// Get retrieve a single message or a message reply in a channel or a chat. +// Get replies for a specified message. Supports $expand for channel messages. // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-get?view=graph-rest-1.0 func (m *ItemTeamChannelsItemMessagesItemRepliesChatMessageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamChannelsItemMessagesItemRepliesChatMessageItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -139,7 +136,7 @@ func (m *ItemTeamChannelsItemMessagesItemRepliesChatMessageItemRequestBuilder) T requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a single message or a message reply in a channel or a chat. +// ToGetRequestInformation replies for a specified message. Supports $expand for channel messages. // returns a *RequestInformation when successful func (m *ItemTeamChannelsItemMessagesItemRepliesChatMessageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamChannelsItemMessagesItemRepliesChatMessageItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_channels_item_messages_item_replies_delta_request_builder.go b/groups/item_team_channels_item_messages_item_replies_delta_request_builder.go index 1e7b50d8f0f..79877712fa8 100644 --- a/groups/item_team_channels_item_messages_item_replies_delta_request_builder.go +++ b/groups/item_team_channels_item_messages_item_replies_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemTeamChannelsItemMessagesItemRepliesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamChannelsItemMessagesItemRepliesDeltaRequestBuilderGetQueryParameters invoke function delta +// ItemTeamChannelsItemMessagesItemRepliesDeltaRequestBuilderGetQueryParameters retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. type ItemTeamChannelsItemMessagesItemRepliesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewItemTeamChannelsItemMessagesItemRepliesDeltaRequestBuilder(rawUrl string urlParams["request-raw-url"] = rawUrl return NewItemTeamChannelsItemMessagesItemRepliesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemTeamChannelsItemMessagesItemRepliesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-beta func (m *ItemTeamChannelsItemMessagesItemRepliesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamChannelsItemMessagesItemRepliesDeltaRequestBuilderGetRequestConfiguration)(ItemTeamChannelsItemMessagesItemRepliesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ItemTeamChannelsItemMessagesItemRepliesDeltaRequestBuilder) Get(ctx con } return res.(ItemTeamChannelsItemMessagesItemRepliesDeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // returns a ItemTeamChannelsItemMessagesItemRepliesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-beta func (m *ItemTeamChannelsItemMessagesItemRepliesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemTeamChannelsItemMessagesItemRepliesDeltaRequestBuilderGetRequestConfiguration)(ItemTeamChannelsItemMessagesItemRepliesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ItemTeamChannelsItemMessagesItemRepliesDeltaRequestBuilder) GetAsDeltaG } return res.(ItemTeamChannelsItemMessagesItemRepliesDeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // returns a *RequestInformation when successful func (m *ItemTeamChannelsItemMessagesItemRepliesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamChannelsItemMessagesItemRepliesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_channels_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/groups/item_team_channels_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index 054a78cd6fa..2aad6980930 100644 --- a/groups/item_team_channels_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/groups/item_team_channels_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters retrieve the properties and relationships of chatMessageHostedContent object. +// ItemTeamChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters content in a message hosted by Microsoft Teams - for example, images or code snippets. type ItemTeamChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *ItemTeamChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHos } return nil } -// Get retrieve the properties and relationships of chatMessageHostedContent object. +// Get content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a ChatMessageHostedContentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessagehostedcontent-get?view=graph-rest-1.0 func (m *ItemTeamChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *ItemTeamChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHos requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of chatMessageHostedContent object. +// ToGetRequestInformation content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a *RequestInformation when successful func (m *ItemTeamChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_channels_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go b/groups/item_team_channels_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go index 63f2bd80df1..0d93c0aa402 100644 --- a/groups/item_team_channels_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go +++ b/groups/item_team_channels_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go @@ -40,9 +40,6 @@ func NewItemTeamChannelsItemMessagesItemRepliesItemHostedContentsItemValueConten // Get get media content for the navigation property hostedContents from groups // 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/chatmessage-list-hostedcontents?view=graph-rest-1.0 func (m *ItemTeamChannelsItemMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamChannelsItemMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_team_channels_item_messages_item_replies_item_hosted_contents_request_builder.go b/groups/item_team_channels_item_messages_item_replies_item_hosted_contents_request_builder.go index ebab77fe62c..febbb51c9b8 100644 --- a/groups/item_team_channels_item_messages_item_replies_item_hosted_contents_request_builder.go +++ b/groups/item_team_channels_item_messages_item_replies_item_hosted_contents_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilderGetQueryParameters retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// ItemTeamChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilderGetQueryParameters content in a message hosted by Microsoft Teams - for example, images or code snippets. type ItemTeamChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemTeamChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilder( func (m *ItemTeamChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilder) Count()(*ItemTeamChannelsItemMessagesItemRepliesItemHostedContentsCountRequestBuilder) { return NewItemTeamChannelsItemMessagesItemRepliesItemHostedContentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// Get content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a ChatMessageHostedContentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0 func (m *ItemTeamChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemTeamChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilder } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentable), nil } -// ToGetRequestInformation retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// ToGetRequestInformation content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a *RequestInformation when successful func (m *ItemTeamChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_channels_item_messages_item_replies_item_soft_delete_request_builder.go b/groups/item_team_channels_item_messages_item_replies_item_soft_delete_request_builder.go index 7a07de7706a..6a43f924274 100644 --- a/groups/item_team_channels_item_messages_item_replies_item_soft_delete_request_builder.go +++ b/groups/item_team_channels_item_messages_item_replies_item_soft_delete_request_builder.go @@ -34,7 +34,7 @@ func NewItemTeamChannelsItemMessagesItemRepliesItemSoftDeleteRequestBuilder(rawU // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-beta func (m *ItemTeamChannelsItemMessagesItemRepliesItemSoftDeleteRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemTeamChannelsItemMessagesItemRepliesItemSoftDeleteRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_team_channels_item_messages_item_replies_item_undo_soft_delete_request_builder.go b/groups/item_team_channels_item_messages_item_replies_item_undo_soft_delete_request_builder.go index 06499686966..6e3e41fd9a8 100644 --- a/groups/item_team_channels_item_messages_item_replies_item_undo_soft_delete_request_builder.go +++ b/groups/item_team_channels_item_messages_item_replies_item_undo_soft_delete_request_builder.go @@ -34,7 +34,7 @@ func NewItemTeamChannelsItemMessagesItemRepliesItemUndoSoftDeleteRequestBuilder( // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-beta func (m *ItemTeamChannelsItemMessagesItemRepliesItemUndoSoftDeleteRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemTeamChannelsItemMessagesItemRepliesItemUndoSoftDeleteRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_team_channels_item_messages_item_replies_request_builder.go b/groups/item_team_channels_item_messages_item_replies_request_builder.go index 4a9f5e91122..a4f6613b362 100644 --- a/groups/item_team_channels_item_messages_item_replies_request_builder.go +++ b/groups/item_team_channels_item_messages_item_replies_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamChannelsItemMessagesItemRepliesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamChannelsItemMessagesItemRepliesRequestBuilderGetQueryParameters list all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, call get channel message. +// ItemTeamChannelsItemMessagesItemRepliesRequestBuilderGetQueryParameters replies for a specified message. Supports $expand for channel messages. type ItemTeamChannelsItemMessagesItemRepliesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *ItemTeamChannelsItemMessagesItemRepliesRequestBuilder) Count()(*ItemTea func (m *ItemTeamChannelsItemMessagesItemRepliesRequestBuilder) Delta()(*ItemTeamChannelsItemMessagesItemRepliesDeltaRequestBuilder) { return NewItemTeamChannelsItemMessagesItemRepliesDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, call get channel message. +// Get replies for a specified message. Supports $expand for channel messages. // returns a ChatMessageCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-list-replies?view=graph-rest-1.0 func (m *ItemTeamChannelsItemMessagesItemRepliesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamChannelsItemMessagesItemRepliesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *ItemTeamChannelsItemMessagesItemRepliesRequestBuilder) Get(ctx context. } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageCollectionResponseable), nil } -// Post send a new reply to a chatMessage in a specified channel. +// Post create new navigation property to replies for groups // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0 func (m *ItemTeamChannelsItemMessagesItemRepliesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemTeamChannelsItemMessagesItemRepliesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemTeamChannelsItemMessagesItemRepliesRequestBuilder) Post(ctx context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable), nil } -// ToGetRequestInformation list all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, call get channel message. +// ToGetRequestInformation replies for a specified message. Supports $expand for channel messages. // returns a *RequestInformation when successful func (m *ItemTeamChannelsItemMessagesItemRepliesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamChannelsItemMessagesItemRepliesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ItemTeamChannelsItemMessagesItemRepliesRequestBuilder) ToGetRequestInfo requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation send a new reply to a chatMessage in a specified channel. +// ToPostRequestInformation create new navigation property to replies for groups // returns a *RequestInformation when successful func (m *ItemTeamChannelsItemMessagesItemRepliesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemTeamChannelsItemMessagesItemRepliesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_channels_item_messages_item_soft_delete_request_builder.go b/groups/item_team_channels_item_messages_item_soft_delete_request_builder.go index 9ff8815006c..b15e336e2b9 100644 --- a/groups/item_team_channels_item_messages_item_soft_delete_request_builder.go +++ b/groups/item_team_channels_item_messages_item_soft_delete_request_builder.go @@ -34,7 +34,7 @@ func NewItemTeamChannelsItemMessagesItemSoftDeleteRequestBuilder(rawUrl string, // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-beta func (m *ItemTeamChannelsItemMessagesItemSoftDeleteRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemTeamChannelsItemMessagesItemSoftDeleteRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_team_channels_item_messages_item_undo_soft_delete_request_builder.go b/groups/item_team_channels_item_messages_item_undo_soft_delete_request_builder.go index c14e7a4fdfa..46c6c9a9755 100644 --- a/groups/item_team_channels_item_messages_item_undo_soft_delete_request_builder.go +++ b/groups/item_team_channels_item_messages_item_undo_soft_delete_request_builder.go @@ -34,7 +34,7 @@ func NewItemTeamChannelsItemMessagesItemUndoSoftDeleteRequestBuilder(rawUrl stri // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-beta func (m *ItemTeamChannelsItemMessagesItemUndoSoftDeleteRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemTeamChannelsItemMessagesItemUndoSoftDeleteRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_team_channels_item_messages_request_builder.go b/groups/item_team_channels_item_messages_request_builder.go index baa335d1d91..fb90c7681df 100644 --- a/groups/item_team_channels_item_messages_request_builder.go +++ b/groups/item_team_channels_item_messages_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamChannelsItemMessagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamChannelsItemMessagesRequestBuilderGetQueryParameters retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). +// ItemTeamChannelsItemMessagesRequestBuilderGetQueryParameters a collection of all the messages in the channel. A navigation property. Nullable. type ItemTeamChannelsItemMessagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *ItemTeamChannelsItemMessagesRequestBuilder) Count()(*ItemTeamChannelsIt func (m *ItemTeamChannelsItemMessagesRequestBuilder) Delta()(*ItemTeamChannelsItemMessagesDeltaRequestBuilder) { return NewItemTeamChannelsItemMessagesDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). +// Get a collection of all the messages in the channel. A navigation property. Nullable. // returns a ChatMessageCollectionResponseable when successful // returns a ODataError error 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-list-messages?view=graph-rest-1.0 func (m *ItemTeamChannelsItemMessagesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamChannelsItemMessagesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *ItemTeamChannelsItemMessagesRequestBuilder) Get(ctx context.Context, re } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageCollectionResponseable), nil } -// Post send a new chatMessage in the specified channel. +// Post create new navigation property to messages for groups // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/channel-post-messages?view=graph-rest-1.0 func (m *ItemTeamChannelsItemMessagesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemTeamChannelsItemMessagesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemTeamChannelsItemMessagesRequestBuilder) Post(ctx context.Context, b } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable), nil } -// ToGetRequestInformation retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). +// ToGetRequestInformation a collection of all the messages in the channel. A navigation property. Nullable. // returns a *RequestInformation when successful func (m *ItemTeamChannelsItemMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamChannelsItemMessagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ItemTeamChannelsItemMessagesRequestBuilder) ToGetRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation send a new chatMessage in the specified channel. +// ToPostRequestInformation create new navigation property to messages for groups // returns a *RequestInformation when successful func (m *ItemTeamChannelsItemMessagesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemTeamChannelsItemMessagesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_channels_item_provision_email_request_builder.go b/groups/item_team_channels_item_provision_email_request_builder.go index 93648e72f3a..98c97c8a14c 100644 --- a/groups/item_team_channels_item_provision_email_request_builder.go +++ b/groups/item_team_channels_item_provision_email_request_builder.go @@ -36,7 +36,7 @@ func NewItemTeamChannelsItemProvisionEmailRequestBuilder(rawUrl string, requestA // returns a ODataError error 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-provisionemail?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-provisionemail?view=graph-rest-beta func (m *ItemTeamChannelsItemProvisionEmailRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemTeamChannelsItemProvisionEmailRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProvisionChannelEmailResultable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_team_channels_item_remove_email_request_builder.go b/groups/item_team_channels_item_remove_email_request_builder.go index de2850c3160..54ab60e466e 100644 --- a/groups/item_team_channels_item_remove_email_request_builder.go +++ b/groups/item_team_channels_item_remove_email_request_builder.go @@ -34,7 +34,7 @@ func NewItemTeamChannelsItemRemoveEmailRequestBuilder(rawUrl string, requestAdap // returns a ODataError error 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-removeemail?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-removeemail?view=graph-rest-beta func (m *ItemTeamChannelsItemRemoveEmailRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemTeamChannelsItemRemoveEmailRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_team_channels_item_shared_with_teams_item_allowed_members_request_builder.go b/groups/item_team_channels_item_shared_with_teams_item_allowed_members_request_builder.go index 64058b2385d..4f79a5e106b 100644 --- a/groups/item_team_channels_item_shared_with_teams_item_allowed_members_request_builder.go +++ b/groups/item_team_channels_item_shared_with_teams_item_allowed_members_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilderGetQueryParameters get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant +// ItemTeamChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilderGetQueryParameters a collection of team members who have access to the shared channel. type ItemTeamChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewItemTeamChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilder(rawU func (m *ItemTeamChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilder) Count()(*ItemTeamChannelsItemSharedWithTeamsItemAllowedMembersCountRequestBuilder) { return NewItemTeamChannelsItemSharedWithTeamsItemAllowedMembersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant +// Get a collection of team members who have access to the shared channel. // returns a ConversationMemberCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-list-allowedmembers?view=graph-rest-1.0 func (m *ItemTeamChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *ItemTeamChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilder) Ge } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable), nil } -// ToGetRequestInformation get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant +// ToGetRequestInformation a collection of team members who have access to the shared channel. // returns a *RequestInformation when successful func (m *ItemTeamChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_channels_item_shared_with_teams_request_builder.go b/groups/item_team_channels_item_shared_with_teams_request_builder.go index c7f680f9b91..8b3b13464a8 100644 --- a/groups/item_team_channels_item_shared_with_teams_request_builder.go +++ b/groups/item_team_channels_item_shared_with_teams_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamChannelsItemSharedWithTeamsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamChannelsItemSharedWithTeamsRequestBuilderGetQueryParameters get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. +// ItemTeamChannelsItemSharedWithTeamsRequestBuilderGetQueryParameters a collection of teams with which a channel is shared. type ItemTeamChannelsItemSharedWithTeamsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemTeamChannelsItemSharedWithTeamsRequestBuilder(rawUrl string, request func (m *ItemTeamChannelsItemSharedWithTeamsRequestBuilder) Count()(*ItemTeamChannelsItemSharedWithTeamsCountRequestBuilder) { return NewItemTeamChannelsItemSharedWithTeamsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. +// Get a collection of teams with which a channel is shared. // returns a SharedWithChannelTeamInfoCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-list?view=graph-rest-1.0 func (m *ItemTeamChannelsItemSharedWithTeamsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamChannelsItemSharedWithTeamsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharedWithChannelTeamInfoCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemTeamChannelsItemSharedWithTeamsRequestBuilder) Post(ctx context.Con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharedWithChannelTeamInfoable), nil } -// ToGetRequestInformation get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. +// ToGetRequestInformation a collection of teams with which a channel is shared. // returns a *RequestInformation when successful func (m *ItemTeamChannelsItemSharedWithTeamsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamChannelsItemSharedWithTeamsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_channels_item_shared_with_teams_shared_with_channel_team_info_item_request_builder.go b/groups/item_team_channels_item_shared_with_teams_shared_with_channel_team_info_item_request_builder.go index f4c0e81ecfd..bfd80b7b413 100644 --- a/groups/item_team_channels_item_shared_with_teams_shared_with_channel_team_info_item_request_builder.go +++ b/groups/item_team_channels_item_shared_with_teams_shared_with_channel_team_info_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuil // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. +// ItemTeamChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters a collection of teams with which a channel is shared. type ItemTeamChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewItemTeamChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestB urlParams["request-raw-url"] = rawUrl return NewItemTeamChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. +// Delete delete navigation property sharedWithTeams for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-delete?view=graph-rest-1.0 func (m *ItemTeamChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTeamChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *ItemTeamChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequest } return nil } -// Get get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. +// Get a collection of teams with which a channel is shared. // returns a SharedWithChannelTeamInfoable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-get?view=graph-rest-1.0 func (m *ItemTeamChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharedWithChannelTeamInfoable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -126,7 +120,7 @@ func (m *ItemTeamChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequest func (m *ItemTeamChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) Team()(*ItemTeamChannelsItemSharedWithTeamsItemTeamRequestBuilder) { return NewItemTeamChannelsItemSharedWithTeamsItemTeamRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. +// ToDeleteRequestInformation delete navigation property sharedWithTeams for groups // returns a *RequestInformation when successful func (m *ItemTeamChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTeamChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -137,7 +131,7 @@ func (m *ItemTeamChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. +// ToGetRequestInformation a collection of teams with which a channel is shared. // returns a *RequestInformation when successful func (m *ItemTeamChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_channels_item_tabs_request_builder.go b/groups/item_team_channels_item_tabs_request_builder.go index 6c3fa3362a5..32d187be71d 100644 --- a/groups/item_team_channels_item_tabs_request_builder.go +++ b/groups/item_team_channels_item_tabs_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamChannelsItemTabsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamChannelsItemTabsRequestBuilderGetQueryParameters retrieve the list of tabs in the specified channel within a team. +// ItemTeamChannelsItemTabsRequestBuilderGetQueryParameters a collection of all the tabs in the channel. A navigation property. type ItemTeamChannelsItemTabsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemTeamChannelsItemTabsRequestBuilder(rawUrl string, requestAdapter i2a func (m *ItemTeamChannelsItemTabsRequestBuilder) Count()(*ItemTeamChannelsItemTabsCountRequestBuilder) { return NewItemTeamChannelsItemTabsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of tabs in the specified channel within a team. +// Get a collection of all the tabs in the channel. A navigation property. // returns a TeamsTabCollectionResponseable when successful // returns a ODataError error 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-list-tabs?view=graph-rest-1.0 func (m *ItemTeamChannelsItemTabsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamChannelsItemTabsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsTabCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemTeamChannelsItemTabsRequestBuilder) Post(ctx context.Context, body } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsTabable), nil } -// ToGetRequestInformation retrieve the list of tabs in the specified channel within a team. +// ToGetRequestInformation a collection of all the tabs in the channel. A navigation property. // returns a *RequestInformation when successful func (m *ItemTeamChannelsItemTabsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamChannelsItemTabsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_channels_item_unarchive_request_builder.go b/groups/item_team_channels_item_unarchive_request_builder.go index ee4e312b828..5df9682ae86 100644 --- a/groups/item_team_channels_item_unarchive_request_builder.go +++ b/groups/item_team_channels_item_unarchive_request_builder.go @@ -34,7 +34,7 @@ func NewItemTeamChannelsItemUnarchiveRequestBuilder(rawUrl string, requestAdapte // returns a ODataError error 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-unarchive?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-unarchive?view=graph-rest-beta func (m *ItemTeamChannelsItemUnarchiveRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemTeamChannelsItemUnarchiveRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_team_channels_request_builder.go b/groups/item_team_channels_request_builder.go index 360c9297fb8..6d55132f0a3 100644 --- a/groups/item_team_channels_request_builder.go +++ b/groups/item_team_channels_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamChannelsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamChannelsRequestBuilderGetQueryParameters retrieve the list of channels in this team. +// ItemTeamChannelsRequestBuilderGetQueryParameters the collection of channels and messages associated with the team. type ItemTeamChannelsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func NewItemTeamChannelsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7d func (m *ItemTeamChannelsRequestBuilder) Count()(*ItemTeamChannelsCountRequestBuilder) { return NewItemTeamChannelsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of channels in this team. +// Get the collection of channels and messages associated with the team. // returns a ChannelCollectionResponseable when successful // returns a ODataError error 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-list?view=graph-rest-1.0 func (m *ItemTeamChannelsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamChannelsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChannelCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -114,12 +111,9 @@ func (m *ItemTeamChannelsRequestBuilder) GetAllMessages()(*ItemTeamChannelsGetAl func (m *ItemTeamChannelsRequestBuilder) GetAllRetainedMessages()(*ItemTeamChannelsGetAllRetainedMessagesRequestBuilder) { return NewItemTeamChannelsGetAllRetainedMessagesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Post create a new channel in a team, as specified in the request body. When you create a channel, the maximum length of the channel's displayName is 50 characters. This display name appears to the user in Microsoft Teams. You can add a maximum of 200 members when you create a private channel. +// Post create new navigation property to channels for groups // returns a Channelable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/channel-post?view=graph-rest-1.0 func (m *ItemTeamChannelsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable, requestConfiguration *ItemTeamChannelsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -137,7 +131,7 @@ func (m *ItemTeamChannelsRequestBuilder) Post(ctx context.Context, body ie233ee7 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable), nil } -// ToGetRequestInformation retrieve the list of channels in this team. +// ToGetRequestInformation the collection of channels and messages associated with the team. // returns a *RequestInformation when successful func (m *ItemTeamChannelsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamChannelsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -151,7 +145,7 @@ func (m *ItemTeamChannelsRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new channel in a team, as specified in the request body. When you create a channel, the maximum length of the channel's displayName is 50 characters. This display name appears to the user in Microsoft Teams. You can add a maximum of 200 members when you create a private channel. +// ToPostRequestInformation create new navigation property to channels for groups // returns a *RequestInformation when successful func (m *ItemTeamChannelsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable, requestConfiguration *ItemTeamChannelsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_clone_request_builder.go b/groups/item_team_clone_request_builder.go index 4133de1b6cb..71d8d27af67 100644 --- a/groups/item_team_clone_request_builder.go +++ b/groups/item_team_clone_request_builder.go @@ -34,7 +34,7 @@ func NewItemTeamCloneRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/team-clone?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/team-clone?view=graph-rest-beta func (m *ItemTeamCloneRequestBuilder) Post(ctx context.Context, body ItemTeamClonePostRequestBodyable, requestConfiguration *ItemTeamCloneRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_team_complete_migration_request_builder.go b/groups/item_team_complete_migration_request_builder.go index f181b8e152f..c2829a4f396 100644 --- a/groups/item_team_complete_migration_request_builder.go +++ b/groups/item_team_complete_migration_request_builder.go @@ -34,7 +34,7 @@ func NewItemTeamCompleteMigrationRequestBuilder(rawUrl string, requestAdapter i2 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/team-completemigration?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/team-completemigration?view=graph-rest-beta func (m *ItemTeamCompleteMigrationRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemTeamCompleteMigrationRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_team_incoming_channels_request_builder.go b/groups/item_team_incoming_channels_request_builder.go index 6a90b6c583c..08722a41fc3 100644 --- a/groups/item_team_incoming_channels_request_builder.go +++ b/groups/item_team_incoming_channels_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamIncomingChannelsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamIncomingChannelsRequestBuilderGetQueryParameters get the list of incoming channels (channels shared with a team). +// ItemTeamIncomingChannelsRequestBuilderGetQueryParameters list of channels shared with the team. type ItemTeamIncomingChannelsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewItemTeamIncomingChannelsRequestBuilder(rawUrl string, requestAdapter i2a func (m *ItemTeamIncomingChannelsRequestBuilder) Count()(*ItemTeamIncomingChannelsCountRequestBuilder) { return NewItemTeamIncomingChannelsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of incoming channels (channels shared with a team). +// Get list of channels shared with the team. // returns a ChannelCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/team-list-incomingchannels?view=graph-rest-1.0 func (m *ItemTeamIncomingChannelsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamIncomingChannelsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChannelCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *ItemTeamIncomingChannelsRequestBuilder) Get(ctx context.Context, reques } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChannelCollectionResponseable), nil } -// ToGetRequestInformation get the list of incoming channels (channels shared with a team). +// ToGetRequestInformation list of channels shared with the team. // returns a *RequestInformation when successful func (m *ItemTeamIncomingChannelsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamIncomingChannelsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_installed_apps_item_upgrade_request_builder.go b/groups/item_team_installed_apps_item_upgrade_request_builder.go index cadc32f8387..75ebc131074 100644 --- a/groups/item_team_installed_apps_item_upgrade_request_builder.go +++ b/groups/item_team_installed_apps_item_upgrade_request_builder.go @@ -34,7 +34,7 @@ func NewItemTeamInstalledAppsItemUpgradeRequestBuilder(rawUrl string, requestAda // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-teamsappinstallation-upgrade?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chat-teamsappinstallation-upgrade?view=graph-rest-beta func (m *ItemTeamInstalledAppsItemUpgradeRequestBuilder) Post(ctx context.Context, body ItemTeamInstalledAppsItemUpgradePostRequestBodyable, requestConfiguration *ItemTeamInstalledAppsItemUpgradeRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_team_installed_apps_request_builder.go b/groups/item_team_installed_apps_request_builder.go index 07d8549b4cd..e041e42955a 100644 --- a/groups/item_team_installed_apps_request_builder.go +++ b/groups/item_team_installed_apps_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamInstalledAppsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamInstalledAppsRequestBuilderGetQueryParameters retrieve the list of apps installed in the specified team. +// ItemTeamInstalledAppsRequestBuilderGetQueryParameters the apps installed in this team. type ItemTeamInstalledAppsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemTeamInstalledAppsRequestBuilder(rawUrl string, requestAdapter i2ae41 func (m *ItemTeamInstalledAppsRequestBuilder) Count()(*ItemTeamInstalledAppsCountRequestBuilder) { return NewItemTeamInstalledAppsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of apps installed in the specified team. +// Get the apps installed in this team. // returns a TeamsAppInstallationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/team-list-installedapps?view=graph-rest-1.0 func (m *ItemTeamInstalledAppsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamInstalledAppsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppInstallationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemTeamInstalledAppsRequestBuilder) Get(ctx context.Context, requestCo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppInstallationCollectionResponseable), nil } -// Post install an app to the specified team. +// Post create new navigation property to installedApps for groups // returns a TeamsAppInstallationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/team-post-installedapps?view=graph-rest-1.0 func (m *ItemTeamInstalledAppsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppInstallationable, requestConfiguration *ItemTeamInstalledAppsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppInstallationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemTeamInstalledAppsRequestBuilder) Post(ctx context.Context, body ie2 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppInstallationable), nil } -// ToGetRequestInformation retrieve the list of apps installed in the specified team. +// ToGetRequestInformation the apps installed in this team. // returns a *RequestInformation when successful func (m *ItemTeamInstalledAppsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamInstalledAppsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemTeamInstalledAppsRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation install an app to the specified team. +// ToPostRequestInformation create new navigation property to installedApps for groups // returns a *RequestInformation when successful func (m *ItemTeamInstalledAppsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppInstallationable, requestConfiguration *ItemTeamInstalledAppsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_installed_apps_teams_app_installation_item_request_builder.go b/groups/item_team_installed_apps_teams_app_installation_item_request_builder.go index f34359094f0..978e99bf387 100644 --- a/groups/item_team_installed_apps_teams_app_installation_item_request_builder.go +++ b/groups/item_team_installed_apps_teams_app_installation_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamInstalledAppsTeamsAppInstallationItemRequestBuilderDeleteRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamInstalledAppsTeamsAppInstallationItemRequestBuilderGetQueryParameters retrieve the app installed in the specified team. +// ItemTeamInstalledAppsTeamsAppInstallationItemRequestBuilderGetQueryParameters the apps installed in this team. type ItemTeamInstalledAppsTeamsAppInstallationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemTeamInstalledAppsTeamsAppInstallationItemRequestBuilder(rawUrl strin urlParams["request-raw-url"] = rawUrl return NewItemTeamInstalledAppsTeamsAppInstallationItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete uninstalls an app from the specified team. +// Delete delete navigation property installedApps for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/team-delete-installedapps?view=graph-rest-1.0 func (m *ItemTeamInstalledAppsTeamsAppInstallationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTeamInstalledAppsTeamsAppInstallationItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemTeamInstalledAppsTeamsAppInstallationItemRequestBuilder) Delete(ctx } return nil } -// Get retrieve the app installed in the specified team. +// Get the apps installed in this team. // returns a TeamsAppInstallationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/team-get-installedapps?view=graph-rest-1.0 func (m *ItemTeamInstalledAppsTeamsAppInstallationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamInstalledAppsTeamsAppInstallationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppInstallationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -126,7 +120,7 @@ func (m *ItemTeamInstalledAppsTeamsAppInstallationItemRequestBuilder) TeamsApp() func (m *ItemTeamInstalledAppsTeamsAppInstallationItemRequestBuilder) TeamsAppDefinition()(*ItemTeamInstalledAppsItemTeamsAppDefinitionRequestBuilder) { return NewItemTeamInstalledAppsItemTeamsAppDefinitionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation uninstalls an app from the specified team. +// ToDeleteRequestInformation delete navigation property installedApps for groups // returns a *RequestInformation when successful func (m *ItemTeamInstalledAppsTeamsAppInstallationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTeamInstalledAppsTeamsAppInstallationItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -137,7 +131,7 @@ func (m *ItemTeamInstalledAppsTeamsAppInstallationItemRequestBuilder) ToDeleteRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the app installed in the specified team. +// ToGetRequestInformation the apps installed in this team. // returns a *RequestInformation when successful func (m *ItemTeamInstalledAppsTeamsAppInstallationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamInstalledAppsTeamsAppInstallationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_members_add_request_builder.go b/groups/item_team_members_add_request_builder.go index 8feb6b5114f..d050914b256 100644 --- a/groups/item_team_members_add_request_builder.go +++ b/groups/item_team_members_add_request_builder.go @@ -36,7 +36,7 @@ func NewItemTeamMembersAddRequestBuilder(rawUrl string, requestAdapter i2ae4187f // returns a ODataError error 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-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-beta func (m *ItemTeamMembersAddRequestBuilder) Post(ctx context.Context, body ItemTeamMembersAddPostRequestBodyable, requestConfiguration *ItemTeamMembersAddRequestBuilderPostRequestConfiguration)(ItemTeamMembersAddResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ItemTeamMembersAddRequestBuilder) Post(ctx context.Context, body ItemTe // returns a ODataError error 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-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-beta func (m *ItemTeamMembersAddRequestBuilder) PostAsAddPostResponse(ctx context.Context, body ItemTeamMembersAddPostRequestBodyable, requestConfiguration *ItemTeamMembersAddRequestBuilderPostRequestConfiguration)(ItemTeamMembersAddPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_team_members_conversation_member_item_request_builder.go b/groups/item_team_members_conversation_member_item_request_builder.go index fd8d264d9e4..40a7441d5eb 100644 --- a/groups/item_team_members_conversation_member_item_request_builder.go +++ b/groups/item_team_members_conversation_member_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamMembersConversationMemberItemRequestBuilderDeleteRequestConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamMembersConversationMemberItemRequestBuilderGetQueryParameters get a conversationMember from a team. +// ItemTeamMembersConversationMemberItemRequestBuilderGetQueryParameters members and owners of the team. type ItemTeamMembersConversationMemberItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemTeamMembersConversationMemberItemRequestBuilder(rawUrl string, reque urlParams["request-raw-url"] = rawUrl return NewItemTeamMembersConversationMemberItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove a conversationMember from a team. +// Delete delete navigation property members for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/team-delete-members?view=graph-rest-1.0 func (m *ItemTeamMembersConversationMemberItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTeamMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemTeamMembersConversationMemberItemRequestBuilder) Delete(ctx context } return nil } -// Get get a conversationMember from a team. +// Get members and owners of the team. // 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/team-get-members?view=graph-rest-1.0 func (m *ItemTeamMembersConversationMemberItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamMembersConversationMemberItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ItemTeamMembersConversationMemberItemRequestBuilder) Get(ctx context.Co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil } -// Patch update the role of a conversationMember in a team. +// Patch update the navigation property members in groups // 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/team-update-members?view=graph-rest-1.0 func (m *ItemTeamMembersConversationMemberItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemTeamMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *ItemTeamMembersConversationMemberItemRequestBuilder) Patch(ctx context. } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil } -// ToDeleteRequestInformation remove a conversationMember from a team. +// ToDeleteRequestInformation delete navigation property members for groups // returns a *RequestInformation when successful func (m *ItemTeamMembersConversationMemberItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTeamMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *ItemTeamMembersConversationMemberItemRequestBuilder) ToDeleteRequestInf requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a conversationMember from a team. +// ToGetRequestInformation members and owners of the team. // returns a *RequestInformation when successful func (m *ItemTeamMembersConversationMemberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamMembersConversationMemberItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *ItemTeamMembersConversationMemberItemRequestBuilder) ToGetRequestInform requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the role of a conversationMember in a team. +// ToPatchRequestInformation update the navigation property members in groups // returns a *RequestInformation when successful func (m *ItemTeamMembersConversationMemberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemTeamMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_members_request_builder.go b/groups/item_team_members_request_builder.go index 27089d76a6d..7533b46297d 100644 --- a/groups/item_team_members_request_builder.go +++ b/groups/item_team_members_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamMembersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamMembersRequestBuilderGetQueryParameters get the conversationMember collection of a team. The membership IDs returned by the server must be treated as opaque strings. The client should not try to parse or make assumptions about these resource IDs. In the future, membership results may include users from various tenants, as indicated in the response. Clients should avoid assuming that all members exclusively belong to the current tenant. +// ItemTeamMembersRequestBuilderGetQueryParameters members and owners of the team. type ItemTeamMembersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func NewItemTeamMembersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7da func (m *ItemTeamMembersRequestBuilder) Count()(*ItemTeamMembersCountRequestBuilder) { return NewItemTeamMembersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the conversationMember collection of a team. The membership IDs returned by the server must be treated as opaque strings. The client should not try to parse or make assumptions about these resource IDs. In the future, membership results may include users from various tenants, as indicated in the response. Clients should avoid assuming that all members exclusively belong to the current tenant. +// Get members and owners of the team. // returns a ConversationMemberCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/team-list-members?view=graph-rest-1.0 func (m *ItemTeamMembersRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamMembersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *ItemTeamMembersRequestBuilder) Get(ctx context.Context, requestConfigur } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable), nil } -// Post add a new conversation member to a team. +// Post create new navigation property to members for groups // 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/team-post-members?view=graph-rest-1.0 func (m *ItemTeamMembersRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemTeamMembersRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemTeamMembersRequestBuilder) Post(ctx context.Context, body ie233ee76 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil } -// ToGetRequestInformation get the conversationMember collection of a team. The membership IDs returned by the server must be treated as opaque strings. The client should not try to parse or make assumptions about these resource IDs. In the future, membership results may include users from various tenants, as indicated in the response. Clients should avoid assuming that all members exclusively belong to the current tenant. +// ToGetRequestInformation members and owners of the team. // returns a *RequestInformation when successful func (m *ItemTeamMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamMembersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ItemTeamMembersRequestBuilder) ToGetRequestInformation(ctx context.Cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add a new conversation member to a team. +// ToPostRequestInformation create new navigation property to members for groups // returns a *RequestInformation when successful func (m *ItemTeamMembersRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemTeamMembersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_permission_grants_request_builder.go b/groups/item_team_permission_grants_request_builder.go index ef7e685f03a..8d12801d66f 100644 --- a/groups/item_team_permission_grants_request_builder.go +++ b/groups/item_team_permission_grants_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamPermissionGrantsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamPermissionGrantsRequestBuilderGetQueryParameters list all resource-specific permission grants on the team. This list specifies the Microsoft Entra apps that have access to the team, along with the corresponding kind of resource-specific access that each app has. +// ItemTeamPermissionGrantsRequestBuilderGetQueryParameters a collection of permissions granted to apps to access the team. type ItemTeamPermissionGrantsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemTeamPermissionGrantsRequestBuilder(rawUrl string, requestAdapter i2a func (m *ItemTeamPermissionGrantsRequestBuilder) Count()(*ItemTeamPermissionGrantsCountRequestBuilder) { return NewItemTeamPermissionGrantsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list all resource-specific permission grants on the team. This list specifies the Microsoft Entra apps that have access to the team, along with the corresponding kind of resource-specific access that each app has. +// Get a collection of permissions granted to apps to access the team. // returns a ResourceSpecificPermissionGrantCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/team-list-permissiongrants?view=graph-rest-1.0 func (m *ItemTeamPermissionGrantsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamPermissionGrantsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ResourceSpecificPermissionGrantCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemTeamPermissionGrantsRequestBuilder) Post(ctx context.Context, body } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ResourceSpecificPermissionGrantable), nil } -// ToGetRequestInformation list all resource-specific permission grants on the team. This list specifies the Microsoft Entra apps that have access to the team, along with the corresponding kind of resource-specific access that each app has. +// ToGetRequestInformation a collection of permissions granted to apps to access the team. // returns a *RequestInformation when successful func (m *ItemTeamPermissionGrantsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamPermissionGrantsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_primary_channel_archive_request_builder.go b/groups/item_team_primary_channel_archive_request_builder.go index f119331767f..a817fed779b 100644 --- a/groups/item_team_primary_channel_archive_request_builder.go +++ b/groups/item_team_primary_channel_archive_request_builder.go @@ -34,7 +34,7 @@ func NewItemTeamPrimaryChannelArchiveRequestBuilder(rawUrl string, requestAdapte // returns a ODataError error 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-archive?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-archive?view=graph-rest-beta func (m *ItemTeamPrimaryChannelArchiveRequestBuilder) Post(ctx context.Context, body ItemTeamPrimaryChannelArchivePostRequestBodyable, requestConfiguration *ItemTeamPrimaryChannelArchiveRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_team_primary_channel_complete_migration_request_builder.go b/groups/item_team_primary_channel_complete_migration_request_builder.go index 0885185abda..69a2a9713af 100644 --- a/groups/item_team_primary_channel_complete_migration_request_builder.go +++ b/groups/item_team_primary_channel_complete_migration_request_builder.go @@ -34,7 +34,7 @@ func NewItemTeamPrimaryChannelCompleteMigrationRequestBuilder(rawUrl string, req // returns a ODataError error 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-completemigration?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-completemigration?view=graph-rest-beta func (m *ItemTeamPrimaryChannelCompleteMigrationRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelCompleteMigrationRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_team_primary_channel_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go b/groups/item_team_primary_channel_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go index 561bfcfd8c8..1f0f25b64a2 100644 --- a/groups/item_team_primary_channel_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go +++ b/groups/item_team_primary_channel_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemTeamPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters invoke function doesUserHaveAccess +// ItemTeamPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters determine whether a user has access to a shared channel. type ItemTeamPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters struct { // Usage: tenantId='@tenantId' TenantId *string `uriparametername:"tenantId"` @@ -41,10 +41,13 @@ func NewItemTeamPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUser urlParams["request-raw-url"] = rawUrl return NewItemTeamPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function doesUserHaveAccess +// Get determine whether a user has access to a shared channel. // Deprecated: This method is obsolete. Use GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse instead. // returns a ItemTeamPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponseable when successful // returns a ODataError error 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-doesuserhaveaccess?view=graph-rest-beta func (m *ItemTeamPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetRequestConfiguration)(ItemTeamPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -62,9 +65,12 @@ func (m *ItemTeamPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUse } return res.(ItemTeamPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponseable), nil } -// GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse invoke function doesUserHaveAccess +// GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse determine whether a user has access to a shared channel. // returns a ItemTeamPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponseable when successful // returns a ODataError error 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-doesuserhaveaccess?view=graph-rest-beta func (m *ItemTeamPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder) GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetRequestConfiguration)(ItemTeamPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -82,7 +88,7 @@ func (m *ItemTeamPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUse } return res.(ItemTeamPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponseable), nil } -// ToGetRequestInformation invoke function doesUserHaveAccess +// ToGetRequestInformation determine whether a user has access to a shared channel. // returns a *RequestInformation when successful func (m *ItemTeamPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_primary_channel_files_folder_content_request_builder.go b/groups/item_team_primary_channel_files_folder_content_request_builder.go index c992df5bf6a..0a10a724af7 100644 --- a/groups/item_team_primary_channel_files_folder_content_request_builder.go +++ b/groups/item_team_primary_channel_files_folder_content_request_builder.go @@ -48,9 +48,6 @@ func NewItemTeamPrimaryChannelFilesFolderContentRequestBuilder(rawUrl string, re // Get get content for the navigation property filesFolder from groups // 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/channel-get-filesfolder?view=graph-rest-1.0 func (m *ItemTeamPrimaryChannelFilesFolderContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelFilesFolderContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_team_primary_channel_files_folder_content_stream_request_builder.go b/groups/item_team_primary_channel_files_folder_content_stream_request_builder.go index 4246fe10ceb..7809b92a43f 100644 --- a/groups/item_team_primary_channel_files_folder_content_stream_request_builder.go +++ b/groups/item_team_primary_channel_files_folder_content_stream_request_builder.go @@ -40,9 +40,6 @@ func NewItemTeamPrimaryChannelFilesFolderContentStreamRequestBuilder(rawUrl stri // Get the content stream, if the item represents a file. // 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/channel-get-filesfolder?view=graph-rest-1.0 func (m *ItemTeamPrimaryChannelFilesFolderContentStreamRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelFilesFolderContentStreamRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_team_primary_channel_files_folder_request_builder.go b/groups/item_team_primary_channel_files_folder_request_builder.go index b1b8197b76c..4c6ab347066 100644 --- a/groups/item_team_primary_channel_files_folder_request_builder.go +++ b/groups/item_team_primary_channel_files_folder_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamPrimaryChannelFilesFolderRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamPrimaryChannelFilesFolderRequestBuilderGetQueryParameters get the metadata for the location where the files of a channel are stored. +// ItemTeamPrimaryChannelFilesFolderRequestBuilderGetQueryParameters metadata for the location where the channel's files are stored. type ItemTeamPrimaryChannelFilesFolderRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -50,12 +50,9 @@ func (m *ItemTeamPrimaryChannelFilesFolderRequestBuilder) Content()(*ItemTeamPri func (m *ItemTeamPrimaryChannelFilesFolderRequestBuilder) ContentStream()(*ItemTeamPrimaryChannelFilesFolderContentStreamRequestBuilder) { return NewItemTeamPrimaryChannelFilesFolderContentStreamRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the metadata for the location where the files of a channel are stored. +// Get metadata for the location where the channel's files are stored. // returns a DriveItemable when successful // returns a ODataError error 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-get-filesfolder?view=graph-rest-1.0 func (m *ItemTeamPrimaryChannelFilesFolderRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelFilesFolderRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,7 +70,7 @@ func (m *ItemTeamPrimaryChannelFilesFolderRequestBuilder) Get(ctx context.Contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable), nil } -// ToGetRequestInformation get the metadata for the location where the files of a channel are stored. +// ToGetRequestInformation metadata for the location where the channel's files are stored. // returns a *RequestInformation when successful func (m *ItemTeamPrimaryChannelFilesFolderRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelFilesFolderRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_primary_channel_members_add_request_builder.go b/groups/item_team_primary_channel_members_add_request_builder.go index 64ddb87316e..34356fb067c 100644 --- a/groups/item_team_primary_channel_members_add_request_builder.go +++ b/groups/item_team_primary_channel_members_add_request_builder.go @@ -36,7 +36,7 @@ func NewItemTeamPrimaryChannelMembersAddRequestBuilder(rawUrl string, requestAda // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-beta func (m *ItemTeamPrimaryChannelMembersAddRequestBuilder) Post(ctx context.Context, body ItemTeamPrimaryChannelMembersAddPostRequestBodyable, requestConfiguration *ItemTeamPrimaryChannelMembersAddRequestBuilderPostRequestConfiguration)(ItemTeamPrimaryChannelMembersAddResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ItemTeamPrimaryChannelMembersAddRequestBuilder) Post(ctx context.Contex // returns a ODataError error 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-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-beta func (m *ItemTeamPrimaryChannelMembersAddRequestBuilder) PostAsAddPostResponse(ctx context.Context, body ItemTeamPrimaryChannelMembersAddPostRequestBodyable, requestConfiguration *ItemTeamPrimaryChannelMembersAddRequestBuilderPostRequestConfiguration)(ItemTeamPrimaryChannelMembersAddPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_team_primary_channel_members_conversation_member_item_request_builder.go b/groups/item_team_primary_channel_members_conversation_member_item_request_builder.go index 70a95b2cce6..f9f9a98f7fa 100644 --- a/groups/item_team_primary_channel_members_conversation_member_item_request_builder.go +++ b/groups/item_team_primary_channel_members_conversation_member_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamPrimaryChannelMembersConversationMemberItemRequestBuilderDeleteRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamPrimaryChannelMembersConversationMemberItemRequestBuilderGetQueryParameters get a conversationMember from a channel. +// ItemTeamPrimaryChannelMembersConversationMemberItemRequestBuilderGetQueryParameters a collection of membership records associated with the channel. type ItemTeamPrimaryChannelMembersConversationMemberItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemTeamPrimaryChannelMembersConversationMemberItemRequestBuilder(rawUrl urlParams["request-raw-url"] = rawUrl return NewItemTeamPrimaryChannelMembersConversationMemberItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. +// Delete delete navigation property members for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/channel-delete-members?view=graph-rest-1.0 func (m *ItemTeamPrimaryChannelMembersConversationMemberItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemTeamPrimaryChannelMembersConversationMemberItemRequestBuilder) Dele } return nil } -// Get get a conversationMember from a channel. +// Get a collection of membership records associated with the 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-get-members?view=graph-rest-1.0 func (m *ItemTeamPrimaryChannelMembersConversationMemberItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelMembersConversationMemberItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ItemTeamPrimaryChannelMembersConversationMemberItemRequestBuilder) Get( } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil } -// Patch update the role of a conversationMember in a team.or channel. +// Patch update the navigation property members in groups // returns a ConversationMemberable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0 func (m *ItemTeamPrimaryChannelMembersConversationMemberItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemTeamPrimaryChannelMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *ItemTeamPrimaryChannelMembersConversationMemberItemRequestBuilder) Patc } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil } -// ToDeleteRequestInformation delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. +// ToDeleteRequestInformation delete navigation property members for groups // returns a *RequestInformation when successful func (m *ItemTeamPrimaryChannelMembersConversationMemberItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *ItemTeamPrimaryChannelMembersConversationMemberItemRequestBuilder) ToDe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a conversationMember from a channel. +// ToGetRequestInformation a collection of membership records associated with the channel. // returns a *RequestInformation when successful func (m *ItemTeamPrimaryChannelMembersConversationMemberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelMembersConversationMemberItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *ItemTeamPrimaryChannelMembersConversationMemberItemRequestBuilder) ToGe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the role of a conversationMember in a team.or channel. +// ToPatchRequestInformation update the navigation property members in groups // returns a *RequestInformation when successful func (m *ItemTeamPrimaryChannelMembersConversationMemberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemTeamPrimaryChannelMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_primary_channel_members_request_builder.go b/groups/item_team_primary_channel_members_request_builder.go index 6684c2aed7a..64029076ceb 100644 --- a/groups/item_team_primary_channel_members_request_builder.go +++ b/groups/item_team_primary_channel_members_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamPrimaryChannelMembersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamPrimaryChannelMembersRequestBuilderGetQueryParameters retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. +// ItemTeamPrimaryChannelMembersRequestBuilderGetQueryParameters a collection of membership records associated with the channel. type ItemTeamPrimaryChannelMembersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func NewItemTeamPrimaryChannelMembersRequestBuilder(rawUrl string, requestAdapte func (m *ItemTeamPrimaryChannelMembersRequestBuilder) Count()(*ItemTeamPrimaryChannelMembersCountRequestBuilder) { return NewItemTeamPrimaryChannelMembersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. +// Get a collection of membership records associated with the channel. // returns a ConversationMemberCollectionResponseable when successful // returns a ODataError error 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-list-members?view=graph-rest-1.0 func (m *ItemTeamPrimaryChannelMembersRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelMembersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *ItemTeamPrimaryChannelMembersRequestBuilder) Get(ctx context.Context, r } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable), nil } -// Post add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. +// Post create new navigation property to members for groups // returns a ConversationMemberable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/channel-post-members?view=graph-rest-1.0 func (m *ItemTeamPrimaryChannelMembersRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemTeamPrimaryChannelMembersRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemTeamPrimaryChannelMembersRequestBuilder) Post(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil } -// ToGetRequestInformation retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. +// ToGetRequestInformation a collection of membership records associated with the channel. // returns a *RequestInformation when successful func (m *ItemTeamPrimaryChannelMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelMembersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ItemTeamPrimaryChannelMembersRequestBuilder) ToGetRequestInformation(ct requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. +// ToPostRequestInformation create new navigation property to members for groups // returns a *RequestInformation when successful func (m *ItemTeamPrimaryChannelMembersRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemTeamPrimaryChannelMembersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_primary_channel_messages_chat_message_item_request_builder.go b/groups/item_team_primary_channel_messages_chat_message_item_request_builder.go index 18546ed8deb..45bfc55bf45 100644 --- a/groups/item_team_primary_channel_messages_chat_message_item_request_builder.go +++ b/groups/item_team_primary_channel_messages_chat_message_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamPrimaryChannelMessagesChatMessageItemRequestBuilderDeleteRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamPrimaryChannelMessagesChatMessageItemRequestBuilderGetQueryParameters retrieve a single message or a message reply in a channel or a chat. +// ItemTeamPrimaryChannelMessagesChatMessageItemRequestBuilderGetQueryParameters a collection of all the messages in the channel. A navigation property. Nullable. type ItemTeamPrimaryChannelMessagesChatMessageItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemTeamPrimaryChannelMessagesChatMessageItemRequestBuilder) Delete(ctx } return nil } -// Get retrieve a single message or a message reply in a channel or a chat. +// Get a collection of all the messages in the channel. A navigation property. Nullable. // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-get?view=graph-rest-1.0 func (m *ItemTeamPrimaryChannelMessagesChatMessageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelMessagesChatMessageItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,12 +95,9 @@ func (m *ItemTeamPrimaryChannelMessagesChatMessageItemRequestBuilder) Get(ctx co func (m *ItemTeamPrimaryChannelMessagesChatMessageItemRequestBuilder) HostedContents()(*ItemTeamPrimaryChannelMessagesItemHostedContentsRequestBuilder) { return NewItemTeamPrimaryChannelMessagesItemHostedContentsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method doesn't support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. +// Patch update the navigation property messages in groups // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-update?view=graph-rest-1.0 func (m *ItemTeamPrimaryChannelMessagesChatMessageItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemTeamPrimaryChannelMessagesChatMessageItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -147,7 +141,7 @@ func (m *ItemTeamPrimaryChannelMessagesChatMessageItemRequestBuilder) ToDeleteRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a single message or a message reply in a channel or a chat. +// ToGetRequestInformation a collection of all the messages in the channel. A navigation property. Nullable. // returns a *RequestInformation when successful func (m *ItemTeamPrimaryChannelMessagesChatMessageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelMessagesChatMessageItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -161,7 +155,7 @@ func (m *ItemTeamPrimaryChannelMessagesChatMessageItemRequestBuilder) ToGetReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method doesn't support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. +// ToPatchRequestInformation update the navigation property messages in groups // returns a *RequestInformation when successful func (m *ItemTeamPrimaryChannelMessagesChatMessageItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemTeamPrimaryChannelMessagesChatMessageItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_primary_channel_messages_delta_request_builder.go b/groups/item_team_primary_channel_messages_delta_request_builder.go index 44e5243132b..7a923c92b75 100644 --- a/groups/item_team_primary_channel_messages_delta_request_builder.go +++ b/groups/item_team_primary_channel_messages_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemTeamPrimaryChannelMessagesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamPrimaryChannelMessagesDeltaRequestBuilderGetQueryParameters invoke function delta +// ItemTeamPrimaryChannelMessagesDeltaRequestBuilderGetQueryParameters retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. type ItemTeamPrimaryChannelMessagesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewItemTeamPrimaryChannelMessagesDeltaRequestBuilder(rawUrl string, request urlParams["request-raw-url"] = rawUrl return NewItemTeamPrimaryChannelMessagesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemTeamPrimaryChannelMessagesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-beta func (m *ItemTeamPrimaryChannelMessagesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelMessagesDeltaRequestBuilderGetRequestConfiguration)(ItemTeamPrimaryChannelMessagesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ItemTeamPrimaryChannelMessagesDeltaRequestBuilder) Get(ctx context.Cont } return res.(ItemTeamPrimaryChannelMessagesDeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // returns a ItemTeamPrimaryChannelMessagesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-beta func (m *ItemTeamPrimaryChannelMessagesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelMessagesDeltaRequestBuilderGetRequestConfiguration)(ItemTeamPrimaryChannelMessagesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ItemTeamPrimaryChannelMessagesDeltaRequestBuilder) GetAsDeltaGetRespons } return res.(ItemTeamPrimaryChannelMessagesDeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // returns a *RequestInformation when successful func (m *ItemTeamPrimaryChannelMessagesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelMessagesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_primary_channel_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/groups/item_team_primary_channel_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index 41a3b6e51f3..300fe7dd763 100644 --- a/groups/item_team_primary_channel_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/groups/item_team_primary_channel_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamPrimaryChannelMessagesItemHostedContentsChatMessageHostedContentIte // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamPrimaryChannelMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters retrieve the properties and relationships of chatMessageHostedContent object. +// ItemTeamPrimaryChannelMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters content in a message hosted by Microsoft Teams - for example, images or code snippets. type ItemTeamPrimaryChannelMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *ItemTeamPrimaryChannelMessagesItemHostedContentsChatMessageHostedConten } return nil } -// Get retrieve the properties and relationships of chatMessageHostedContent object. +// Get content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a ChatMessageHostedContentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessagehostedcontent-get?view=graph-rest-1.0 func (m *ItemTeamPrimaryChannelMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *ItemTeamPrimaryChannelMessagesItemHostedContentsChatMessageHostedConten requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of chatMessageHostedContent object. +// ToGetRequestInformation content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a *RequestInformation when successful func (m *ItemTeamPrimaryChannelMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_primary_channel_messages_item_hosted_contents_item_value_content_request_builder.go b/groups/item_team_primary_channel_messages_item_hosted_contents_item_value_content_request_builder.go index d3e43c7cf2a..e551b0ece2d 100644 --- a/groups/item_team_primary_channel_messages_item_hosted_contents_item_value_content_request_builder.go +++ b/groups/item_team_primary_channel_messages_item_hosted_contents_item_value_content_request_builder.go @@ -40,9 +40,6 @@ func NewItemTeamPrimaryChannelMessagesItemHostedContentsItemValueContentRequestB // Get get media content for the navigation property hostedContents from groups // 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/chatmessage-list-hostedcontents?view=graph-rest-1.0 func (m *ItemTeamPrimaryChannelMessagesItemHostedContentsItemValueContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelMessagesItemHostedContentsItemValueContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_team_primary_channel_messages_item_hosted_contents_request_builder.go b/groups/item_team_primary_channel_messages_item_hosted_contents_request_builder.go index e6e7c504e43..867a78b1916 100644 --- a/groups/item_team_primary_channel_messages_item_hosted_contents_request_builder.go +++ b/groups/item_team_primary_channel_messages_item_hosted_contents_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamPrimaryChannelMessagesItemHostedContentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamPrimaryChannelMessagesItemHostedContentsRequestBuilderGetQueryParameters retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// ItemTeamPrimaryChannelMessagesItemHostedContentsRequestBuilderGetQueryParameters content in a message hosted by Microsoft Teams - for example, images or code snippets. type ItemTeamPrimaryChannelMessagesItemHostedContentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemTeamPrimaryChannelMessagesItemHostedContentsRequestBuilder(rawUrl st func (m *ItemTeamPrimaryChannelMessagesItemHostedContentsRequestBuilder) Count()(*ItemTeamPrimaryChannelMessagesItemHostedContentsCountRequestBuilder) { return NewItemTeamPrimaryChannelMessagesItemHostedContentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// Get content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a ChatMessageHostedContentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0 func (m *ItemTeamPrimaryChannelMessagesItemHostedContentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelMessagesItemHostedContentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemTeamPrimaryChannelMessagesItemHostedContentsRequestBuilder) Post(ct } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentable), nil } -// ToGetRequestInformation retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// ToGetRequestInformation content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a *RequestInformation when successful func (m *ItemTeamPrimaryChannelMessagesItemHostedContentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelMessagesItemHostedContentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_primary_channel_messages_item_replies_chat_message_item_request_builder.go b/groups/item_team_primary_channel_messages_item_replies_chat_message_item_request_builder.go index 2b8c597dd0a..197f483103e 100644 --- a/groups/item_team_primary_channel_messages_item_replies_chat_message_item_request_builder.go +++ b/groups/item_team_primary_channel_messages_item_replies_chat_message_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilderDelet // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilderGetQueryParameters retrieve a single message or a message reply in a channel or a chat. +// ItemTeamPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilderGetQueryParameters replies for a specified message. Supports $expand for channel messages. type ItemTeamPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemTeamPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilder) } return nil } -// Get retrieve a single message or a message reply in a channel or a chat. +// Get replies for a specified message. Supports $expand for channel messages. // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-get?view=graph-rest-1.0 func (m *ItemTeamPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -139,7 +136,7 @@ func (m *ItemTeamPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a single message or a message reply in a channel or a chat. +// ToGetRequestInformation replies for a specified message. Supports $expand for channel messages. // returns a *RequestInformation when successful func (m *ItemTeamPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_primary_channel_messages_item_replies_delta_request_builder.go b/groups/item_team_primary_channel_messages_item_replies_delta_request_builder.go index e533018c642..f636505abc3 100644 --- a/groups/item_team_primary_channel_messages_item_replies_delta_request_builder.go +++ b/groups/item_team_primary_channel_messages_item_replies_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemTeamPrimaryChannelMessagesItemRepliesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamPrimaryChannelMessagesItemRepliesDeltaRequestBuilderGetQueryParameters invoke function delta +// ItemTeamPrimaryChannelMessagesItemRepliesDeltaRequestBuilderGetQueryParameters retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. type ItemTeamPrimaryChannelMessagesItemRepliesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewItemTeamPrimaryChannelMessagesItemRepliesDeltaRequestBuilder(rawUrl stri urlParams["request-raw-url"] = rawUrl return NewItemTeamPrimaryChannelMessagesItemRepliesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemTeamPrimaryChannelMessagesItemRepliesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-beta func (m *ItemTeamPrimaryChannelMessagesItemRepliesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelMessagesItemRepliesDeltaRequestBuilderGetRequestConfiguration)(ItemTeamPrimaryChannelMessagesItemRepliesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ItemTeamPrimaryChannelMessagesItemRepliesDeltaRequestBuilder) Get(ctx c } return res.(ItemTeamPrimaryChannelMessagesItemRepliesDeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // returns a ItemTeamPrimaryChannelMessagesItemRepliesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-beta func (m *ItemTeamPrimaryChannelMessagesItemRepliesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelMessagesItemRepliesDeltaRequestBuilderGetRequestConfiguration)(ItemTeamPrimaryChannelMessagesItemRepliesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ItemTeamPrimaryChannelMessagesItemRepliesDeltaRequestBuilder) GetAsDelt } return res.(ItemTeamPrimaryChannelMessagesItemRepliesDeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // returns a *RequestInformation when successful func (m *ItemTeamPrimaryChannelMessagesItemRepliesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelMessagesItemRepliesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_primary_channel_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/groups/item_team_primary_channel_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index 594baac01e5..660e68bebd8 100644 --- a/groups/item_team_primary_channel_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/groups/item_team_primary_channel_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamPrimaryChannelMessagesItemRepliesItemHostedContentsChatMessageHoste // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamPrimaryChannelMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters retrieve the properties and relationships of chatMessageHostedContent object. +// ItemTeamPrimaryChannelMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters content in a message hosted by Microsoft Teams - for example, images or code snippets. type ItemTeamPrimaryChannelMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *ItemTeamPrimaryChannelMessagesItemRepliesItemHostedContentsChatMessageH } return nil } -// Get retrieve the properties and relationships of chatMessageHostedContent object. +// Get content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a ChatMessageHostedContentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessagehostedcontent-get?view=graph-rest-1.0 func (m *ItemTeamPrimaryChannelMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *ItemTeamPrimaryChannelMessagesItemRepliesItemHostedContentsChatMessageH requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of chatMessageHostedContent object. +// ToGetRequestInformation content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a *RequestInformation when successful func (m *ItemTeamPrimaryChannelMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_primary_channel_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go b/groups/item_team_primary_channel_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go index e235c64da9b..9c51220fb4a 100644 --- a/groups/item_team_primary_channel_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go +++ b/groups/item_team_primary_channel_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go @@ -40,9 +40,6 @@ func NewItemTeamPrimaryChannelMessagesItemRepliesItemHostedContentsItemValueCont // Get get media content for the navigation property hostedContents from groups // 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/chatmessage-list-hostedcontents?view=graph-rest-1.0 func (m *ItemTeamPrimaryChannelMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_team_primary_channel_messages_item_replies_item_hosted_contents_request_builder.go b/groups/item_team_primary_channel_messages_item_replies_item_hosted_contents_request_builder.go index 80dd182099b..e49b2c8af78 100644 --- a/groups/item_team_primary_channel_messages_item_replies_item_hosted_contents_request_builder.go +++ b/groups/item_team_primary_channel_messages_item_replies_item_hosted_contents_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilderGetQueryParameters retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// ItemTeamPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilderGetQueryParameters content in a message hosted by Microsoft Teams - for example, images or code snippets. type ItemTeamPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemTeamPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilde func (m *ItemTeamPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilder) Count()(*ItemTeamPrimaryChannelMessagesItemRepliesItemHostedContentsCountRequestBuilder) { return NewItemTeamPrimaryChannelMessagesItemRepliesItemHostedContentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// Get content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a ChatMessageHostedContentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0 func (m *ItemTeamPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemTeamPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuild } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentable), nil } -// ToGetRequestInformation retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// ToGetRequestInformation content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a *RequestInformation when successful func (m *ItemTeamPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_primary_channel_messages_item_replies_item_soft_delete_request_builder.go b/groups/item_team_primary_channel_messages_item_replies_item_soft_delete_request_builder.go index ae26d307e69..b4732e73068 100644 --- a/groups/item_team_primary_channel_messages_item_replies_item_soft_delete_request_builder.go +++ b/groups/item_team_primary_channel_messages_item_replies_item_soft_delete_request_builder.go @@ -34,7 +34,7 @@ func NewItemTeamPrimaryChannelMessagesItemRepliesItemSoftDeleteRequestBuilder(ra // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-beta func (m *ItemTeamPrimaryChannelMessagesItemRepliesItemSoftDeleteRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelMessagesItemRepliesItemSoftDeleteRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_team_primary_channel_messages_item_replies_item_undo_soft_delete_request_builder.go b/groups/item_team_primary_channel_messages_item_replies_item_undo_soft_delete_request_builder.go index bc2606d985c..7ffa25279b3 100644 --- a/groups/item_team_primary_channel_messages_item_replies_item_undo_soft_delete_request_builder.go +++ b/groups/item_team_primary_channel_messages_item_replies_item_undo_soft_delete_request_builder.go @@ -34,7 +34,7 @@ func NewItemTeamPrimaryChannelMessagesItemRepliesItemUndoSoftDeleteRequestBuilde // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-beta func (m *ItemTeamPrimaryChannelMessagesItemRepliesItemUndoSoftDeleteRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelMessagesItemRepliesItemUndoSoftDeleteRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_team_primary_channel_messages_item_replies_request_builder.go b/groups/item_team_primary_channel_messages_item_replies_request_builder.go index 1ca063ea6e5..7615bd3f3f3 100644 --- a/groups/item_team_primary_channel_messages_item_replies_request_builder.go +++ b/groups/item_team_primary_channel_messages_item_replies_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamPrimaryChannelMessagesItemRepliesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamPrimaryChannelMessagesItemRepliesRequestBuilderGetQueryParameters list all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, call get channel message. +// ItemTeamPrimaryChannelMessagesItemRepliesRequestBuilderGetQueryParameters replies for a specified message. Supports $expand for channel messages. type ItemTeamPrimaryChannelMessagesItemRepliesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *ItemTeamPrimaryChannelMessagesItemRepliesRequestBuilder) Count()(*ItemT func (m *ItemTeamPrimaryChannelMessagesItemRepliesRequestBuilder) Delta()(*ItemTeamPrimaryChannelMessagesItemRepliesDeltaRequestBuilder) { return NewItemTeamPrimaryChannelMessagesItemRepliesDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, call get channel message. +// Get replies for a specified message. Supports $expand for channel messages. // returns a ChatMessageCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-list-replies?view=graph-rest-1.0 func (m *ItemTeamPrimaryChannelMessagesItemRepliesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelMessagesItemRepliesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *ItemTeamPrimaryChannelMessagesItemRepliesRequestBuilder) Get(ctx contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageCollectionResponseable), nil } -// Post send a new reply to a chatMessage in a specified channel. +// Post create new navigation property to replies for groups // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0 func (m *ItemTeamPrimaryChannelMessagesItemRepliesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemTeamPrimaryChannelMessagesItemRepliesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemTeamPrimaryChannelMessagesItemRepliesRequestBuilder) Post(ctx conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable), nil } -// ToGetRequestInformation list all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, call get channel message. +// ToGetRequestInformation replies for a specified message. Supports $expand for channel messages. // returns a *RequestInformation when successful func (m *ItemTeamPrimaryChannelMessagesItemRepliesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelMessagesItemRepliesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ItemTeamPrimaryChannelMessagesItemRepliesRequestBuilder) ToGetRequestIn requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation send a new reply to a chatMessage in a specified channel. +// ToPostRequestInformation create new navigation property to replies for groups // returns a *RequestInformation when successful func (m *ItemTeamPrimaryChannelMessagesItemRepliesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemTeamPrimaryChannelMessagesItemRepliesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_primary_channel_messages_item_soft_delete_request_builder.go b/groups/item_team_primary_channel_messages_item_soft_delete_request_builder.go index 96d17ef8626..cb0985376f5 100644 --- a/groups/item_team_primary_channel_messages_item_soft_delete_request_builder.go +++ b/groups/item_team_primary_channel_messages_item_soft_delete_request_builder.go @@ -34,7 +34,7 @@ func NewItemTeamPrimaryChannelMessagesItemSoftDeleteRequestBuilder(rawUrl string // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-beta func (m *ItemTeamPrimaryChannelMessagesItemSoftDeleteRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelMessagesItemSoftDeleteRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_team_primary_channel_messages_item_undo_soft_delete_request_builder.go b/groups/item_team_primary_channel_messages_item_undo_soft_delete_request_builder.go index 37e51a4ba8a..67755e22b1f 100644 --- a/groups/item_team_primary_channel_messages_item_undo_soft_delete_request_builder.go +++ b/groups/item_team_primary_channel_messages_item_undo_soft_delete_request_builder.go @@ -34,7 +34,7 @@ func NewItemTeamPrimaryChannelMessagesItemUndoSoftDeleteRequestBuilder(rawUrl st // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-beta func (m *ItemTeamPrimaryChannelMessagesItemUndoSoftDeleteRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelMessagesItemUndoSoftDeleteRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_team_primary_channel_messages_request_builder.go b/groups/item_team_primary_channel_messages_request_builder.go index 70ecdd5361b..70d7fa906b0 100644 --- a/groups/item_team_primary_channel_messages_request_builder.go +++ b/groups/item_team_primary_channel_messages_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamPrimaryChannelMessagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamPrimaryChannelMessagesRequestBuilderGetQueryParameters retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). +// ItemTeamPrimaryChannelMessagesRequestBuilderGetQueryParameters a collection of all the messages in the channel. A navigation property. Nullable. type ItemTeamPrimaryChannelMessagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *ItemTeamPrimaryChannelMessagesRequestBuilder) Count()(*ItemTeamPrimaryC func (m *ItemTeamPrimaryChannelMessagesRequestBuilder) Delta()(*ItemTeamPrimaryChannelMessagesDeltaRequestBuilder) { return NewItemTeamPrimaryChannelMessagesDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). +// Get a collection of all the messages in the channel. A navigation property. Nullable. // returns a ChatMessageCollectionResponseable when successful // returns a ODataError error 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-list-messages?view=graph-rest-1.0 func (m *ItemTeamPrimaryChannelMessagesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelMessagesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *ItemTeamPrimaryChannelMessagesRequestBuilder) Get(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageCollectionResponseable), nil } -// Post send a new chatMessage in the specified channel. +// Post create new navigation property to messages for groups // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/channel-post-messages?view=graph-rest-1.0 func (m *ItemTeamPrimaryChannelMessagesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemTeamPrimaryChannelMessagesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemTeamPrimaryChannelMessagesRequestBuilder) Post(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable), nil } -// ToGetRequestInformation retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). +// ToGetRequestInformation a collection of all the messages in the channel. A navigation property. Nullable. // returns a *RequestInformation when successful func (m *ItemTeamPrimaryChannelMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelMessagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ItemTeamPrimaryChannelMessagesRequestBuilder) ToGetRequestInformation(c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation send a new chatMessage in the specified channel. +// ToPostRequestInformation create new navigation property to messages for groups // returns a *RequestInformation when successful func (m *ItemTeamPrimaryChannelMessagesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemTeamPrimaryChannelMessagesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_primary_channel_provision_email_request_builder.go b/groups/item_team_primary_channel_provision_email_request_builder.go index ee64d927c91..a23116be500 100644 --- a/groups/item_team_primary_channel_provision_email_request_builder.go +++ b/groups/item_team_primary_channel_provision_email_request_builder.go @@ -36,7 +36,7 @@ func NewItemTeamPrimaryChannelProvisionEmailRequestBuilder(rawUrl string, reques // returns a ODataError error 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-provisionemail?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-provisionemail?view=graph-rest-beta func (m *ItemTeamPrimaryChannelProvisionEmailRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelProvisionEmailRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProvisionChannelEmailResultable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_team_primary_channel_remove_email_request_builder.go b/groups/item_team_primary_channel_remove_email_request_builder.go index 0d25c05fe80..f97f2fc20c0 100644 --- a/groups/item_team_primary_channel_remove_email_request_builder.go +++ b/groups/item_team_primary_channel_remove_email_request_builder.go @@ -34,7 +34,7 @@ func NewItemTeamPrimaryChannelRemoveEmailRequestBuilder(rawUrl string, requestAd // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/channel-removeemail?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-removeemail?view=graph-rest-beta func (m *ItemTeamPrimaryChannelRemoveEmailRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelRemoveEmailRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_team_primary_channel_request_builder.go b/groups/item_team_primary_channel_request_builder.go index b2605dec0bc..33f84c89f54 100644 --- a/groups/item_team_primary_channel_request_builder.go +++ b/groups/item_team_primary_channel_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamPrimaryChannelRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamPrimaryChannelRequestBuilderGetQueryParameters get the default channel, General, of a team. +// ItemTeamPrimaryChannelRequestBuilderGetQueryParameters the general channel for the team. type ItemTeamPrimaryChannelRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -90,12 +90,9 @@ func (m *ItemTeamPrimaryChannelRequestBuilder) DoesUserHaveAccessuserIdUserIdTen func (m *ItemTeamPrimaryChannelRequestBuilder) FilesFolder()(*ItemTeamPrimaryChannelFilesFolderRequestBuilder) { return NewItemTeamPrimaryChannelFilesFolderRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the default channel, General, of a team. +// Get the general channel for the team. // returns a Channelable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/team-get-primarychannel?view=graph-rest-1.0 func (m *ItemTeamPrimaryChannelRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -174,7 +171,7 @@ func (m *ItemTeamPrimaryChannelRequestBuilder) ToDeleteRequestInformation(ctx co requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the default channel, General, of a team. +// ToGetRequestInformation the general channel for the team. // returns a *RequestInformation when successful func (m *ItemTeamPrimaryChannelRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_primary_channel_shared_with_teams_item_allowed_members_request_builder.go b/groups/item_team_primary_channel_shared_with_teams_item_allowed_members_request_builder.go index 578c1ac3a1e..8e8d32e2b25 100644 --- a/groups/item_team_primary_channel_shared_with_teams_item_allowed_members_request_builder.go +++ b/groups/item_team_primary_channel_shared_with_teams_item_allowed_members_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilderGetQueryParameters get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant +// ItemTeamPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilderGetQueryParameters a collection of team members who have access to the shared channel. type ItemTeamPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewItemTeamPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilder(ra func (m *ItemTeamPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilder) Count()(*ItemTeamPrimaryChannelSharedWithTeamsItemAllowedMembersCountRequestBuilder) { return NewItemTeamPrimaryChannelSharedWithTeamsItemAllowedMembersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant +// Get a collection of team members who have access to the shared channel. // returns a ConversationMemberCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-list-allowedmembers?view=graph-rest-1.0 func (m *ItemTeamPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *ItemTeamPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable), nil } -// ToGetRequestInformation get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant +// ToGetRequestInformation a collection of team members who have access to the shared channel. // returns a *RequestInformation when successful func (m *ItemTeamPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_primary_channel_shared_with_teams_request_builder.go b/groups/item_team_primary_channel_shared_with_teams_request_builder.go index 54d1fce0fd5..1a7fccdcc35 100644 --- a/groups/item_team_primary_channel_shared_with_teams_request_builder.go +++ b/groups/item_team_primary_channel_shared_with_teams_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamPrimaryChannelSharedWithTeamsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamPrimaryChannelSharedWithTeamsRequestBuilderGetQueryParameters get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. +// ItemTeamPrimaryChannelSharedWithTeamsRequestBuilderGetQueryParameters a collection of teams with which a channel is shared. type ItemTeamPrimaryChannelSharedWithTeamsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemTeamPrimaryChannelSharedWithTeamsRequestBuilder(rawUrl string, reque func (m *ItemTeamPrimaryChannelSharedWithTeamsRequestBuilder) Count()(*ItemTeamPrimaryChannelSharedWithTeamsCountRequestBuilder) { return NewItemTeamPrimaryChannelSharedWithTeamsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. +// Get a collection of teams with which a channel is shared. // returns a SharedWithChannelTeamInfoCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-list?view=graph-rest-1.0 func (m *ItemTeamPrimaryChannelSharedWithTeamsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelSharedWithTeamsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharedWithChannelTeamInfoCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemTeamPrimaryChannelSharedWithTeamsRequestBuilder) Post(ctx context.C } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharedWithChannelTeamInfoable), nil } -// ToGetRequestInformation get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. +// ToGetRequestInformation a collection of teams with which a channel is shared. // returns a *RequestInformation when successful func (m *ItemTeamPrimaryChannelSharedWithTeamsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelSharedWithTeamsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_primary_channel_shared_with_teams_shared_with_channel_team_info_item_request_builder.go b/groups/item_team_primary_channel_shared_with_teams_shared_with_channel_team_info_item_request_builder.go index a6e123758c3..4c721386256 100644 --- a/groups/item_team_primary_channel_shared_with_teams_shared_with_channel_team_info_item_request_builder.go +++ b/groups/item_team_primary_channel_shared_with_teams_shared_with_channel_team_info_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. +// ItemTeamPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters a collection of teams with which a channel is shared. type ItemTeamPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewItemTeamPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemReques urlParams["request-raw-url"] = rawUrl return NewItemTeamPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. +// Delete delete navigation property sharedWithTeams for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-delete?view=graph-rest-1.0 func (m *ItemTeamPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *ItemTeamPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemReque } return nil } -// Get get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. +// Get a collection of teams with which a channel is shared. // returns a SharedWithChannelTeamInfoable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-get?view=graph-rest-1.0 func (m *ItemTeamPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharedWithChannelTeamInfoable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -126,7 +120,7 @@ func (m *ItemTeamPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemReque func (m *ItemTeamPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) Team()(*ItemTeamPrimaryChannelSharedWithTeamsItemTeamRequestBuilder) { return NewItemTeamPrimaryChannelSharedWithTeamsItemTeamRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. +// ToDeleteRequestInformation delete navigation property sharedWithTeams for groups // returns a *RequestInformation when successful func (m *ItemTeamPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -137,7 +131,7 @@ func (m *ItemTeamPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. +// ToGetRequestInformation a collection of teams with which a channel is shared. // returns a *RequestInformation when successful func (m *ItemTeamPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_primary_channel_tabs_request_builder.go b/groups/item_team_primary_channel_tabs_request_builder.go index aedf9cdbacd..5bee8a52adb 100644 --- a/groups/item_team_primary_channel_tabs_request_builder.go +++ b/groups/item_team_primary_channel_tabs_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamPrimaryChannelTabsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamPrimaryChannelTabsRequestBuilderGetQueryParameters retrieve the list of tabs in the specified channel within a team. +// ItemTeamPrimaryChannelTabsRequestBuilderGetQueryParameters a collection of all the tabs in the channel. A navigation property. type ItemTeamPrimaryChannelTabsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemTeamPrimaryChannelTabsRequestBuilder(rawUrl string, requestAdapter i func (m *ItemTeamPrimaryChannelTabsRequestBuilder) Count()(*ItemTeamPrimaryChannelTabsCountRequestBuilder) { return NewItemTeamPrimaryChannelTabsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of tabs in the specified channel within a team. +// Get a collection of all the tabs in the channel. A navigation property. // returns a TeamsTabCollectionResponseable when successful // returns a ODataError error 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-list-tabs?view=graph-rest-1.0 func (m *ItemTeamPrimaryChannelTabsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelTabsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsTabCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemTeamPrimaryChannelTabsRequestBuilder) Post(ctx context.Context, bod } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsTabable), nil } -// ToGetRequestInformation retrieve the list of tabs in the specified channel within a team. +// ToGetRequestInformation a collection of all the tabs in the channel. A navigation property. // returns a *RequestInformation when successful func (m *ItemTeamPrimaryChannelTabsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelTabsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_primary_channel_unarchive_request_builder.go b/groups/item_team_primary_channel_unarchive_request_builder.go index 3908d1a24dd..3aaf864af1b 100644 --- a/groups/item_team_primary_channel_unarchive_request_builder.go +++ b/groups/item_team_primary_channel_unarchive_request_builder.go @@ -34,7 +34,7 @@ func NewItemTeamPrimaryChannelUnarchiveRequestBuilder(rawUrl string, requestAdap // returns a ODataError error 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-unarchive?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-unarchive?view=graph-rest-beta func (m *ItemTeamPrimaryChannelUnarchiveRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelUnarchiveRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_team_schedule_day_notes_day_note_item_request_builder.go b/groups/item_team_schedule_day_notes_day_note_item_request_builder.go index 220d73af9e6..3199e18d2e6 100644 --- a/groups/item_team_schedule_day_notes_day_note_item_request_builder.go +++ b/groups/item_team_schedule_day_notes_day_note_item_request_builder.go @@ -90,12 +90,9 @@ func (m *ItemTeamScheduleDayNotesDayNoteItemRequestBuilder) Get(ctx context.Cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteable), nil } -// Patch update the properties of a day note. +// Patch update the navigation property dayNotes in groups // returns a DayNoteable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/daynote-update?view=graph-rest-1.0 func (m *ItemTeamScheduleDayNotesDayNoteItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteable, requestConfiguration *ItemTeamScheduleDayNotesDayNoteItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -138,7 +135,7 @@ func (m *ItemTeamScheduleDayNotesDayNoteItemRequestBuilder) ToGetRequestInformat requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a day note. +// ToPatchRequestInformation update the navigation property dayNotes in groups // returns a *RequestInformation when successful func (m *ItemTeamScheduleDayNotesDayNoteItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteable, requestConfiguration *ItemTeamScheduleDayNotesDayNoteItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_schedule_offer_shift_requests_offer_shift_request_item_request_builder.go b/groups/item_team_schedule_offer_shift_requests_offer_shift_request_item_request_builder.go index 3cf70236b21..818f9770ac6 100644 --- a/groups/item_team_schedule_offer_shift_requests_offer_shift_request_item_request_builder.go +++ b/groups/item_team_schedule_offer_shift_requests_offer_shift_request_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamScheduleOfferShiftRequestsOfferShiftRequestItemRequestBuilderDelete // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamScheduleOfferShiftRequestsOfferShiftRequestItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an offerShiftRequest object. +// ItemTeamScheduleOfferShiftRequestsOfferShiftRequestItemRequestBuilderGetQueryParameters the offer requests for shifts in the schedule. type ItemTeamScheduleOfferShiftRequestsOfferShiftRequestItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemTeamScheduleOfferShiftRequestsOfferShiftRequestItemRequestBuilder) } return nil } -// Get retrieve the properties and relationships of an offerShiftRequest object. +// Get the offer requests for shifts in the schedule. // returns a OfferShiftRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/offershiftrequest-get?view=graph-rest-1.0 func (m *ItemTeamScheduleOfferShiftRequestsOfferShiftRequestItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamScheduleOfferShiftRequestsOfferShiftRequestItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OfferShiftRequestable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemTeamScheduleOfferShiftRequestsOfferShiftRequestItemRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of an offerShiftRequest object. +// ToGetRequestInformation the offer requests for shifts in the schedule. // returns a *RequestInformation when successful func (m *ItemTeamScheduleOfferShiftRequestsOfferShiftRequestItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamScheduleOfferShiftRequestsOfferShiftRequestItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_schedule_offer_shift_requests_request_builder.go b/groups/item_team_schedule_offer_shift_requests_request_builder.go index 085341019de..a5c8794cbb4 100644 --- a/groups/item_team_schedule_offer_shift_requests_request_builder.go +++ b/groups/item_team_schedule_offer_shift_requests_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamScheduleOfferShiftRequestsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamScheduleOfferShiftRequestsRequestBuilderGetQueryParameters retrieve the properties and relationships of all offerShiftRequest objects in a team. +// ItemTeamScheduleOfferShiftRequestsRequestBuilderGetQueryParameters the offer requests for shifts in the schedule. type ItemTeamScheduleOfferShiftRequestsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemTeamScheduleOfferShiftRequestsRequestBuilder(rawUrl string, requestA func (m *ItemTeamScheduleOfferShiftRequestsRequestBuilder) Count()(*ItemTeamScheduleOfferShiftRequestsCountRequestBuilder) { return NewItemTeamScheduleOfferShiftRequestsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties and relationships of all offerShiftRequest objects in a team. +// Get the offer requests for shifts in the schedule. // returns a OfferShiftRequestCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/offershiftrequest-list?view=graph-rest-1.0 func (m *ItemTeamScheduleOfferShiftRequestsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamScheduleOfferShiftRequestsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OfferShiftRequestCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemTeamScheduleOfferShiftRequestsRequestBuilder) Get(ctx context.Conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OfferShiftRequestCollectionResponseable), nil } -// Post create an instance of an offerShiftRequest. +// Post create new navigation property to offerShiftRequests for groups // returns a OfferShiftRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/offershiftrequest-post?view=graph-rest-1.0 func (m *ItemTeamScheduleOfferShiftRequestsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OfferShiftRequestable, requestConfiguration *ItemTeamScheduleOfferShiftRequestsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OfferShiftRequestable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemTeamScheduleOfferShiftRequestsRequestBuilder) Post(ctx context.Cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OfferShiftRequestable), nil } -// ToGetRequestInformation retrieve the properties and relationships of all offerShiftRequest objects in a team. +// ToGetRequestInformation the offer requests for shifts in the schedule. // returns a *RequestInformation when successful func (m *ItemTeamScheduleOfferShiftRequestsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamScheduleOfferShiftRequestsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemTeamScheduleOfferShiftRequestsRequestBuilder) ToGetRequestInformati requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an instance of an offerShiftRequest. +// ToPostRequestInformation create new navigation property to offerShiftRequests for groups // returns a *RequestInformation when successful func (m *ItemTeamScheduleOfferShiftRequestsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OfferShiftRequestable, requestConfiguration *ItemTeamScheduleOfferShiftRequestsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_schedule_open_shift_change_requests_open_shift_change_request_item_request_builder.go b/groups/item_team_schedule_open_shift_change_requests_open_shift_change_request_item_request_builder.go index a35dfce2bdf..bdc27ab6de8 100644 --- a/groups/item_team_schedule_open_shift_change_requests_open_shift_change_request_item_request_builder.go +++ b/groups/item_team_schedule_open_shift_change_requests_open_shift_change_request_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamScheduleOpenShiftChangeRequestsOpenShiftChangeRequestItemRequestBui // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamScheduleOpenShiftChangeRequestsOpenShiftChangeRequestItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an openShiftChangeRequest object. +// ItemTeamScheduleOpenShiftChangeRequestsOpenShiftChangeRequestItemRequestBuilderGetQueryParameters the open shift requests in the schedule. type ItemTeamScheduleOpenShiftChangeRequestsOpenShiftChangeRequestItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemTeamScheduleOpenShiftChangeRequestsOpenShiftChangeRequestItemReques } return nil } -// Get retrieve the properties and relationships of an openShiftChangeRequest object. +// Get the open shift requests in the schedule. // returns a OpenShiftChangeRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/openshiftchangerequest-get?view=graph-rest-1.0 func (m *ItemTeamScheduleOpenShiftChangeRequestsOpenShiftChangeRequestItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamScheduleOpenShiftChangeRequestsOpenShiftChangeRequestItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftChangeRequestable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemTeamScheduleOpenShiftChangeRequestsOpenShiftChangeRequestItemReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of an openShiftChangeRequest object. +// ToGetRequestInformation the open shift requests in the schedule. // returns a *RequestInformation when successful func (m *ItemTeamScheduleOpenShiftChangeRequestsOpenShiftChangeRequestItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamScheduleOpenShiftChangeRequestsOpenShiftChangeRequestItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_schedule_open_shift_change_requests_request_builder.go b/groups/item_team_schedule_open_shift_change_requests_request_builder.go index 7fc96463bef..9a41ba86d2d 100644 --- a/groups/item_team_schedule_open_shift_change_requests_request_builder.go +++ b/groups/item_team_schedule_open_shift_change_requests_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamScheduleOpenShiftChangeRequestsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamScheduleOpenShiftChangeRequestsRequestBuilderGetQueryParameters retrieve a list of openShiftChangeRequest objects in a team. +// ItemTeamScheduleOpenShiftChangeRequestsRequestBuilderGetQueryParameters the open shift requests in the schedule. type ItemTeamScheduleOpenShiftChangeRequestsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemTeamScheduleOpenShiftChangeRequestsRequestBuilder(rawUrl string, req func (m *ItemTeamScheduleOpenShiftChangeRequestsRequestBuilder) Count()(*ItemTeamScheduleOpenShiftChangeRequestsCountRequestBuilder) { return NewItemTeamScheduleOpenShiftChangeRequestsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of openShiftChangeRequest objects in a team. +// Get the open shift requests in the schedule. // returns a OpenShiftChangeRequestCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/openshiftchangerequest-list?view=graph-rest-1.0 func (m *ItemTeamScheduleOpenShiftChangeRequestsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamScheduleOpenShiftChangeRequestsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftChangeRequestCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemTeamScheduleOpenShiftChangeRequestsRequestBuilder) Get(ctx context. } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftChangeRequestCollectionResponseable), nil } -// Post create instance of an openShiftChangeRequest object. +// Post create new navigation property to openShiftChangeRequests for groups // returns a OpenShiftChangeRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/openshiftchangerequest-post?view=graph-rest-1.0 func (m *ItemTeamScheduleOpenShiftChangeRequestsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftChangeRequestable, requestConfiguration *ItemTeamScheduleOpenShiftChangeRequestsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftChangeRequestable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemTeamScheduleOpenShiftChangeRequestsRequestBuilder) Post(ctx context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftChangeRequestable), nil } -// ToGetRequestInformation retrieve a list of openShiftChangeRequest objects in a team. +// ToGetRequestInformation the open shift requests in the schedule. // returns a *RequestInformation when successful func (m *ItemTeamScheduleOpenShiftChangeRequestsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamScheduleOpenShiftChangeRequestsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemTeamScheduleOpenShiftChangeRequestsRequestBuilder) ToGetRequestInfo requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create instance of an openShiftChangeRequest object. +// ToPostRequestInformation create new navigation property to openShiftChangeRequests for groups // returns a *RequestInformation when successful func (m *ItemTeamScheduleOpenShiftChangeRequestsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftChangeRequestable, requestConfiguration *ItemTeamScheduleOpenShiftChangeRequestsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_schedule_open_shifts_open_shift_item_request_builder.go b/groups/item_team_schedule_open_shifts_open_shift_item_request_builder.go index 904bd46948a..06fb6ae19c0 100644 --- a/groups/item_team_schedule_open_shifts_open_shift_item_request_builder.go +++ b/groups/item_team_schedule_open_shifts_open_shift_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamScheduleOpenShiftsOpenShiftItemRequestBuilderDeleteRequestConfigura // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamScheduleOpenShiftsOpenShiftItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an openshift object. +// ItemTeamScheduleOpenShiftsOpenShiftItemRequestBuilderGetQueryParameters the set of open shifts in a scheduling group in the schedule. type ItemTeamScheduleOpenShiftsOpenShiftItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemTeamScheduleOpenShiftsOpenShiftItemRequestBuilder(rawUrl string, req urlParams["request-raw-url"] = rawUrl return NewItemTeamScheduleOpenShiftsOpenShiftItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an openShift object. +// Delete delete navigation property openShifts for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/openshift-delete?view=graph-rest-1.0 func (m *ItemTeamScheduleOpenShiftsOpenShiftItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTeamScheduleOpenShiftsOpenShiftItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemTeamScheduleOpenShiftsOpenShiftItemRequestBuilder) Delete(ctx conte } return nil } -// Get retrieve the properties and relationships of an openshift object. +// Get the set of open shifts in a scheduling group in the schedule. // returns a OpenShiftable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/openshift-get?view=graph-rest-1.0 func (m *ItemTeamScheduleOpenShiftsOpenShiftItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamScheduleOpenShiftsOpenShiftItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ItemTeamScheduleOpenShiftsOpenShiftItemRequestBuilder) Get(ctx context. } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftable), nil } -// Patch update the properties of an openShift object. +// Patch update the navigation property openShifts in groups // returns a OpenShiftable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/openshift-update?view=graph-rest-1.0 func (m *ItemTeamScheduleOpenShiftsOpenShiftItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftable, requestConfiguration *ItemTeamScheduleOpenShiftsOpenShiftItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *ItemTeamScheduleOpenShiftsOpenShiftItemRequestBuilder) Patch(ctx contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftable), nil } -// ToDeleteRequestInformation delete an openShift object. +// ToDeleteRequestInformation delete navigation property openShifts for groups // returns a *RequestInformation when successful func (m *ItemTeamScheduleOpenShiftsOpenShiftItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTeamScheduleOpenShiftsOpenShiftItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *ItemTeamScheduleOpenShiftsOpenShiftItemRequestBuilder) ToDeleteRequestI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of an openshift object. +// ToGetRequestInformation the set of open shifts in a scheduling group in the schedule. // returns a *RequestInformation when successful func (m *ItemTeamScheduleOpenShiftsOpenShiftItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamScheduleOpenShiftsOpenShiftItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *ItemTeamScheduleOpenShiftsOpenShiftItemRequestBuilder) ToGetRequestInfo requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an openShift object. +// ToPatchRequestInformation update the navigation property openShifts in groups // returns a *RequestInformation when successful func (m *ItemTeamScheduleOpenShiftsOpenShiftItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftable, requestConfiguration *ItemTeamScheduleOpenShiftsOpenShiftItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_schedule_open_shifts_request_builder.go b/groups/item_team_schedule_open_shifts_request_builder.go index bc0e87348ad..f2beba9077b 100644 --- a/groups/item_team_schedule_open_shifts_request_builder.go +++ b/groups/item_team_schedule_open_shifts_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamScheduleOpenShiftsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamScheduleOpenShiftsRequestBuilderGetQueryParameters list openshift objects in a team. +// ItemTeamScheduleOpenShiftsRequestBuilderGetQueryParameters the set of open shifts in a scheduling group in the schedule. type ItemTeamScheduleOpenShiftsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemTeamScheduleOpenShiftsRequestBuilder(rawUrl string, requestAdapter i func (m *ItemTeamScheduleOpenShiftsRequestBuilder) Count()(*ItemTeamScheduleOpenShiftsCountRequestBuilder) { return NewItemTeamScheduleOpenShiftsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list openshift objects in a team. +// Get the set of open shifts in a scheduling group in the schedule. // returns a OpenShiftCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/openshift-list?view=graph-rest-1.0 func (m *ItemTeamScheduleOpenShiftsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamScheduleOpenShiftsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemTeamScheduleOpenShiftsRequestBuilder) Get(ctx context.Context, requ } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftCollectionResponseable), nil } -// Post create an instance of an openshift object. +// Post create new navigation property to openShifts for groups // returns a OpenShiftable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/openshift-post?view=graph-rest-1.0 func (m *ItemTeamScheduleOpenShiftsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftable, requestConfiguration *ItemTeamScheduleOpenShiftsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemTeamScheduleOpenShiftsRequestBuilder) Post(ctx context.Context, bod } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftable), nil } -// ToGetRequestInformation list openshift objects in a team. +// ToGetRequestInformation the set of open shifts in a scheduling group in the schedule. // returns a *RequestInformation when successful func (m *ItemTeamScheduleOpenShiftsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamScheduleOpenShiftsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemTeamScheduleOpenShiftsRequestBuilder) ToGetRequestInformation(ctx c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an instance of an openshift object. +// ToPostRequestInformation create new navigation property to openShifts for groups // returns a *RequestInformation when successful func (m *ItemTeamScheduleOpenShiftsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftable, requestConfiguration *ItemTeamScheduleOpenShiftsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_schedule_request_builder.go b/groups/item_team_schedule_request_builder.go index 2fed816fd45..dc7deb78370 100644 --- a/groups/item_team_schedule_request_builder.go +++ b/groups/item_team_schedule_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamScheduleRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamScheduleRequestBuilderGetQueryParameters retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).When clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule. +// ItemTeamScheduleRequestBuilderGetQueryParameters the schedule of shifts for this team. type ItemTeamScheduleRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *ItemTeamScheduleRequestBuilder) Delete(ctx context.Context, requestConf } return nil } -// Get retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).When clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule. +// Get the schedule of shifts for this team. // returns a Scheduleable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/schedule-get?view=graph-rest-1.0 func (m *ItemTeamScheduleRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamScheduleRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Scheduleable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -189,7 +186,7 @@ func (m *ItemTeamScheduleRequestBuilder) ToDeleteRequestInformation(ctx context. requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).When clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule. +// ToGetRequestInformation the schedule of shifts for this team. // returns a *RequestInformation when successful func (m *ItemTeamScheduleRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamScheduleRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_schedule_scheduling_groups_request_builder.go b/groups/item_team_schedule_scheduling_groups_request_builder.go index 6bc08016288..924b34fe72e 100644 --- a/groups/item_team_schedule_scheduling_groups_request_builder.go +++ b/groups/item_team_schedule_scheduling_groups_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamScheduleSchedulingGroupsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamScheduleSchedulingGroupsRequestBuilderGetQueryParameters get the list of schedulingGroups in this schedule. +// ItemTeamScheduleSchedulingGroupsRequestBuilderGetQueryParameters the logical grouping of users in the schedule (usually by role). type ItemTeamScheduleSchedulingGroupsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,12 +74,9 @@ func NewItemTeamScheduleSchedulingGroupsRequestBuilder(rawUrl string, requestAda func (m *ItemTeamScheduleSchedulingGroupsRequestBuilder) Count()(*ItemTeamScheduleSchedulingGroupsCountRequestBuilder) { return NewItemTeamScheduleSchedulingGroupsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of schedulingGroups in this schedule. +// Get the logical grouping of users in the schedule (usually by role). // returns a SchedulingGroupCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/schedule-list-schedulinggroups?view=graph-rest-1.0 func (m *ItemTeamScheduleSchedulingGroupsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamScheduleSchedulingGroupsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SchedulingGroupCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -97,12 +94,9 @@ func (m *ItemTeamScheduleSchedulingGroupsRequestBuilder) Get(ctx context.Context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SchedulingGroupCollectionResponseable), nil } -// Post create a new schedulingGroup. +// Post create new navigation property to schedulingGroups for groups // returns a SchedulingGroupable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/schedule-post-schedulinggroups?view=graph-rest-1.0 func (m *ItemTeamScheduleSchedulingGroupsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SchedulingGroupable, requestConfiguration *ItemTeamScheduleSchedulingGroupsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SchedulingGroupable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -120,7 +114,7 @@ func (m *ItemTeamScheduleSchedulingGroupsRequestBuilder) Post(ctx context.Contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SchedulingGroupable), nil } -// ToGetRequestInformation get the list of schedulingGroups in this schedule. +// ToGetRequestInformation the logical grouping of users in the schedule (usually by role). // returns a *RequestInformation when successful func (m *ItemTeamScheduleSchedulingGroupsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamScheduleSchedulingGroupsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -134,7 +128,7 @@ func (m *ItemTeamScheduleSchedulingGroupsRequestBuilder) ToGetRequestInformation requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new schedulingGroup. +// ToPostRequestInformation create new navigation property to schedulingGroups for groups // returns a *RequestInformation when successful func (m *ItemTeamScheduleSchedulingGroupsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SchedulingGroupable, requestConfiguration *ItemTeamScheduleSchedulingGroupsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_schedule_scheduling_groups_scheduling_group_item_request_builder.go b/groups/item_team_schedule_scheduling_groups_scheduling_group_item_request_builder.go index 2f09850bbf6..6bb0a101fd6 100644 --- a/groups/item_team_schedule_scheduling_groups_scheduling_group_item_request_builder.go +++ b/groups/item_team_schedule_scheduling_groups_scheduling_group_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamScheduleSchedulingGroupsSchedulingGroupItemRequestBuilderDeleteRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamScheduleSchedulingGroupsSchedulingGroupItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a schedulingGroup by ID. +// ItemTeamScheduleSchedulingGroupsSchedulingGroupItemRequestBuilderGetQueryParameters the logical grouping of users in the schedule (usually by role). type ItemTeamScheduleSchedulingGroupsSchedulingGroupItemRequestBuilderGetQueryParameters struct { // Select properties to be returned Select []string `uriparametername:"%24select"` @@ -52,11 +52,8 @@ func NewItemTeamScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder(rawUrl urlParams["request-raw-url"] = rawUrl return NewItemTeamScheduleSchedulingGroupsSchedulingGroupItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete mark a schedulingGroup as inactive by setting its isActive property.This method does not remove the schedulingGroup from the schedule. Existing shift instances assigned to the scheduling group remain part of the group. +// Delete delete navigation property schedulingGroups for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/schedulinggroup-delete?view=graph-rest-1.0 func (m *ItemTeamScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTeamScheduleSchedulingGroupsSchedulingGroupItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -71,12 +68,9 @@ func (m *ItemTeamScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder) Dele } return nil } -// Get retrieve the properties and relationships of a schedulingGroup by ID. +// Get the logical grouping of users in the schedule (usually by role). // returns a SchedulingGroupable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/schedulinggroup-get?view=graph-rest-1.0 func (m *ItemTeamScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamScheduleSchedulingGroupsSchedulingGroupItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SchedulingGroupable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -94,12 +88,9 @@ func (m *ItemTeamScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder) Get( } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SchedulingGroupable), nil } -// Patch replace an existing schedulingGroup. If the specified schedulingGroup doesn't exist, this method returns 404 Not found. +// Patch update the navigation property schedulingGroups in groups // returns a SchedulingGroupable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/schedulinggroup-put?view=graph-rest-1.0 func (m *ItemTeamScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SchedulingGroupable, requestConfiguration *ItemTeamScheduleSchedulingGroupsSchedulingGroupItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SchedulingGroupable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +108,7 @@ func (m *ItemTeamScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder) Patc } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SchedulingGroupable), nil } -// ToDeleteRequestInformation mark a schedulingGroup as inactive by setting its isActive property.This method does not remove the schedulingGroup from the schedule. Existing shift instances assigned to the scheduling group remain part of the group. +// ToDeleteRequestInformation delete navigation property schedulingGroups for groups // returns a *RequestInformation when successful func (m *ItemTeamScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTeamScheduleSchedulingGroupsSchedulingGroupItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -128,7 +119,7 @@ func (m *ItemTeamScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder) ToDe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a schedulingGroup by ID. +// ToGetRequestInformation the logical grouping of users in the schedule (usually by role). // returns a *RequestInformation when successful func (m *ItemTeamScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamScheduleSchedulingGroupsSchedulingGroupItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -142,7 +133,7 @@ func (m *ItemTeamScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder) ToGe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation replace an existing schedulingGroup. If the specified schedulingGroup doesn't exist, this method returns 404 Not found. +// ToPatchRequestInformation update the navigation property schedulingGroups in groups // returns a *RequestInformation when successful func (m *ItemTeamScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SchedulingGroupable, requestConfiguration *ItemTeamScheduleSchedulingGroupsSchedulingGroupItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_schedule_share_request_builder.go b/groups/item_team_schedule_share_request_builder.go index 272d0f53d26..9ff5703d686 100644 --- a/groups/item_team_schedule_share_request_builder.go +++ b/groups/item_team_schedule_share_request_builder.go @@ -34,7 +34,7 @@ func NewItemTeamScheduleShareRequestBuilder(rawUrl string, requestAdapter i2ae41 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/schedule-share?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/schedule-share?view=graph-rest-beta func (m *ItemTeamScheduleShareRequestBuilder) Post(ctx context.Context, body ItemTeamScheduleSharePostRequestBodyable, requestConfiguration *ItemTeamScheduleShareRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_team_schedule_shifts_request_builder.go b/groups/item_team_schedule_shifts_request_builder.go index 361416ec4e2..34b9dedafce 100644 --- a/groups/item_team_schedule_shifts_request_builder.go +++ b/groups/item_team_schedule_shifts_request_builder.go @@ -77,9 +77,6 @@ func (m *ItemTeamScheduleShiftsRequestBuilder) Count()(*ItemTeamScheduleShiftsCo // Get the shifts in the schedule. // returns a ShiftCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/schedule-list-shifts?view=graph-rest-1.0 func (m *ItemTeamScheduleShiftsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamScheduleShiftsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ShiftCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -97,12 +94,9 @@ func (m *ItemTeamScheduleShiftsRequestBuilder) Get(ctx context.Context, requestC } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ShiftCollectionResponseable), nil } -// Post create a new shift instance in a schedule. The duration of a shift cannot be less than 1 minute or longer than 24 hours. +// Post create new navigation property to shifts for groups // returns a Shiftable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/schedule-post-shifts?view=graph-rest-1.0 func (m *ItemTeamScheduleShiftsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Shiftable, requestConfiguration *ItemTeamScheduleShiftsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Shiftable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -134,7 +128,7 @@ func (m *ItemTeamScheduleShiftsRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new shift instance in a schedule. The duration of a shift cannot be less than 1 minute or longer than 24 hours. +// ToPostRequestInformation create new navigation property to shifts for groups // returns a *RequestInformation when successful func (m *ItemTeamScheduleShiftsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Shiftable, requestConfiguration *ItemTeamScheduleShiftsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_schedule_shifts_shift_item_request_builder.go b/groups/item_team_schedule_shifts_shift_item_request_builder.go index deb1801b6d9..9583b1f0572 100644 --- a/groups/item_team_schedule_shifts_shift_item_request_builder.go +++ b/groups/item_team_schedule_shifts_shift_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamScheduleShiftsShiftItemRequestBuilderDeleteRequestConfiguration str // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamScheduleShiftsShiftItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a shift object by ID. +// ItemTeamScheduleShiftsShiftItemRequestBuilderGetQueryParameters the shifts in the schedule. type ItemTeamScheduleShiftsShiftItemRequestBuilderGetQueryParameters struct { // Select properties to be returned Select []string `uriparametername:"%24select"` @@ -52,11 +52,8 @@ func NewItemTeamScheduleShiftsShiftItemRequestBuilder(rawUrl string, requestAdap urlParams["request-raw-url"] = rawUrl return NewItemTeamScheduleShiftsShiftItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a shift from the schedule. +// Delete delete navigation property shifts for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/shift-delete?view=graph-rest-1.0 func (m *ItemTeamScheduleShiftsShiftItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTeamScheduleShiftsShiftItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -71,12 +68,9 @@ func (m *ItemTeamScheduleShiftsShiftItemRequestBuilder) Delete(ctx context.Conte } return nil } -// Get retrieve the properties and relationships of a shift object by ID. +// Get the shifts in the schedule. // returns a Shiftable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/shift-get?view=graph-rest-1.0 func (m *ItemTeamScheduleShiftsShiftItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamScheduleShiftsShiftItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Shiftable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -94,12 +88,9 @@ func (m *ItemTeamScheduleShiftsShiftItemRequestBuilder) Get(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Shiftable), nil } -// Patch replace an existing shift. If the specified shift doesn't exist, this method returns 404 Not found. The duration of a shift can't be less than 1 minute or longer than 24 hours. +// Patch update the navigation property shifts in groups // returns a Shiftable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/shift-put?view=graph-rest-1.0 func (m *ItemTeamScheduleShiftsShiftItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Shiftable, requestConfiguration *ItemTeamScheduleShiftsShiftItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Shiftable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +108,7 @@ func (m *ItemTeamScheduleShiftsShiftItemRequestBuilder) Patch(ctx context.Contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Shiftable), nil } -// ToDeleteRequestInformation delete a shift from the schedule. +// ToDeleteRequestInformation delete navigation property shifts for groups // returns a *RequestInformation when successful func (m *ItemTeamScheduleShiftsShiftItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTeamScheduleShiftsShiftItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -128,7 +119,7 @@ func (m *ItemTeamScheduleShiftsShiftItemRequestBuilder) ToDeleteRequestInformati requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a shift object by ID. +// ToGetRequestInformation the shifts in the schedule. // returns a *RequestInformation when successful func (m *ItemTeamScheduleShiftsShiftItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamScheduleShiftsShiftItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -142,7 +133,7 @@ func (m *ItemTeamScheduleShiftsShiftItemRequestBuilder) ToGetRequestInformation( requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation replace an existing shift. If the specified shift doesn't exist, this method returns 404 Not found. The duration of a shift can't be less than 1 minute or longer than 24 hours. +// ToPatchRequestInformation update the navigation property shifts in groups // returns a *RequestInformation when successful func (m *ItemTeamScheduleShiftsShiftItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Shiftable, requestConfiguration *ItemTeamScheduleShiftsShiftItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_schedule_swap_shifts_change_requests_request_builder.go b/groups/item_team_schedule_swap_shifts_change_requests_request_builder.go index b0702c4af62..cceafd05f0d 100644 --- a/groups/item_team_schedule_swap_shifts_change_requests_request_builder.go +++ b/groups/item_team_schedule_swap_shifts_change_requests_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamScheduleSwapShiftsChangeRequestsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamScheduleSwapShiftsChangeRequestsRequestBuilderGetQueryParameters retrieve a list of swapShiftsChangeRequest objects in a team. +// ItemTeamScheduleSwapShiftsChangeRequestsRequestBuilderGetQueryParameters the swap requests for shifts in the schedule. type ItemTeamScheduleSwapShiftsChangeRequestsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemTeamScheduleSwapShiftsChangeRequestsRequestBuilder(rawUrl string, re func (m *ItemTeamScheduleSwapShiftsChangeRequestsRequestBuilder) Count()(*ItemTeamScheduleSwapShiftsChangeRequestsCountRequestBuilder) { return NewItemTeamScheduleSwapShiftsChangeRequestsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of swapShiftsChangeRequest objects in a team. +// Get the swap requests for shifts in the schedule. // returns a SwapShiftsChangeRequestCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/swapshiftschangerequest-list?view=graph-rest-1.0 func (m *ItemTeamScheduleSwapShiftsChangeRequestsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamScheduleSwapShiftsChangeRequestsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SwapShiftsChangeRequestCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemTeamScheduleSwapShiftsChangeRequestsRequestBuilder) Get(ctx context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SwapShiftsChangeRequestCollectionResponseable), nil } -// Post create an instance of a swapShiftsChangeRequest object. +// Post create new navigation property to swapShiftsChangeRequests for groups // returns a SwapShiftsChangeRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/swapshiftschangerequest-post?view=graph-rest-1.0 func (m *ItemTeamScheduleSwapShiftsChangeRequestsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SwapShiftsChangeRequestable, requestConfiguration *ItemTeamScheduleSwapShiftsChangeRequestsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SwapShiftsChangeRequestable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemTeamScheduleSwapShiftsChangeRequestsRequestBuilder) Post(ctx contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SwapShiftsChangeRequestable), nil } -// ToGetRequestInformation retrieve a list of swapShiftsChangeRequest objects in a team. +// ToGetRequestInformation the swap requests for shifts in the schedule. // returns a *RequestInformation when successful func (m *ItemTeamScheduleSwapShiftsChangeRequestsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamScheduleSwapShiftsChangeRequestsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemTeamScheduleSwapShiftsChangeRequestsRequestBuilder) ToGetRequestInf requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an instance of a swapShiftsChangeRequest object. +// ToPostRequestInformation create new navigation property to swapShiftsChangeRequests for groups // returns a *RequestInformation when successful func (m *ItemTeamScheduleSwapShiftsChangeRequestsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SwapShiftsChangeRequestable, requestConfiguration *ItemTeamScheduleSwapShiftsChangeRequestsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_schedule_swap_shifts_change_requests_swap_shifts_change_request_item_request_builder.go b/groups/item_team_schedule_swap_shifts_change_requests_swap_shifts_change_request_item_request_builder.go index c8d6f2911ef..6c24e716232 100644 --- a/groups/item_team_schedule_swap_shifts_change_requests_swap_shifts_change_request_item_request_builder.go +++ b/groups/item_team_schedule_swap_shifts_change_requests_swap_shifts_change_request_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamScheduleSwapShiftsChangeRequestsSwapShiftsChangeRequestItemRequestB // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamScheduleSwapShiftsChangeRequestsSwapShiftsChangeRequestItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a swapShiftsChangeRequest object. +// ItemTeamScheduleSwapShiftsChangeRequestsSwapShiftsChangeRequestItemRequestBuilderGetQueryParameters the swap requests for shifts in the schedule. type ItemTeamScheduleSwapShiftsChangeRequestsSwapShiftsChangeRequestItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemTeamScheduleSwapShiftsChangeRequestsSwapShiftsChangeRequestItemRequ } return nil } -// Get retrieve the properties and relationships of a swapShiftsChangeRequest object. +// Get the swap requests for shifts in the schedule. // returns a SwapShiftsChangeRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/swapshiftschangerequest-get?view=graph-rest-1.0 func (m *ItemTeamScheduleSwapShiftsChangeRequestsSwapShiftsChangeRequestItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamScheduleSwapShiftsChangeRequestsSwapShiftsChangeRequestItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SwapShiftsChangeRequestable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemTeamScheduleSwapShiftsChangeRequestsSwapShiftsChangeRequestItemRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a swapShiftsChangeRequest object. +// ToGetRequestInformation the swap requests for shifts in the schedule. // returns a *RequestInformation when successful func (m *ItemTeamScheduleSwapShiftsChangeRequestsSwapShiftsChangeRequestItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamScheduleSwapShiftsChangeRequestsSwapShiftsChangeRequestItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_schedule_time_cards_clock_in_request_builder.go b/groups/item_team_schedule_time_cards_clock_in_request_builder.go index 15f8346f47b..dc9b2b5e59c 100644 --- a/groups/item_team_schedule_time_cards_clock_in_request_builder.go +++ b/groups/item_team_schedule_time_cards_clock_in_request_builder.go @@ -36,7 +36,7 @@ func NewItemTeamScheduleTimeCardsClockInRequestBuilder(rawUrl string, requestAda // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/timecard-clockin?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/timecard-clockin?view=graph-rest-beta func (m *ItemTeamScheduleTimeCardsClockInRequestBuilder) Post(ctx context.Context, body ItemTeamScheduleTimeCardsClockInPostRequestBodyable, requestConfiguration *ItemTeamScheduleTimeCardsClockInRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_team_schedule_time_cards_item_clock_out_request_builder.go b/groups/item_team_schedule_time_cards_item_clock_out_request_builder.go index 82f667e08fb..b9d2d70921f 100644 --- a/groups/item_team_schedule_time_cards_item_clock_out_request_builder.go +++ b/groups/item_team_schedule_time_cards_item_clock_out_request_builder.go @@ -36,7 +36,7 @@ func NewItemTeamScheduleTimeCardsItemClockOutRequestBuilder(rawUrl string, reque // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/timecard-clockout?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/timecard-clockout?view=graph-rest-beta func (m *ItemTeamScheduleTimeCardsItemClockOutRequestBuilder) Post(ctx context.Context, body ItemTeamScheduleTimeCardsItemClockOutPostRequestBodyable, requestConfiguration *ItemTeamScheduleTimeCardsItemClockOutRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_team_schedule_time_cards_item_confirm_request_builder.go b/groups/item_team_schedule_time_cards_item_confirm_request_builder.go index 109b3c64130..ecea9df5799 100644 --- a/groups/item_team_schedule_time_cards_item_confirm_request_builder.go +++ b/groups/item_team_schedule_time_cards_item_confirm_request_builder.go @@ -36,7 +36,7 @@ func NewItemTeamScheduleTimeCardsItemConfirmRequestBuilder(rawUrl string, reques // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/timecard-confirm?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/timecard-confirm?view=graph-rest-beta func (m *ItemTeamScheduleTimeCardsItemConfirmRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemTeamScheduleTimeCardsItemConfirmRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_team_schedule_time_cards_item_end_break_request_builder.go b/groups/item_team_schedule_time_cards_item_end_break_request_builder.go index 16032d9b143..376114c1c2c 100644 --- a/groups/item_team_schedule_time_cards_item_end_break_request_builder.go +++ b/groups/item_team_schedule_time_cards_item_end_break_request_builder.go @@ -36,7 +36,7 @@ func NewItemTeamScheduleTimeCardsItemEndBreakRequestBuilder(rawUrl string, reque // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/timecard-endbreak?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/timecard-endbreak?view=graph-rest-beta func (m *ItemTeamScheduleTimeCardsItemEndBreakRequestBuilder) Post(ctx context.Context, body ItemTeamScheduleTimeCardsItemEndBreakPostRequestBodyable, requestConfiguration *ItemTeamScheduleTimeCardsItemEndBreakRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_team_schedule_time_cards_item_start_break_request_builder.go b/groups/item_team_schedule_time_cards_item_start_break_request_builder.go index e54b4d0c27c..17d1a5e4cdd 100644 --- a/groups/item_team_schedule_time_cards_item_start_break_request_builder.go +++ b/groups/item_team_schedule_time_cards_item_start_break_request_builder.go @@ -36,7 +36,7 @@ func NewItemTeamScheduleTimeCardsItemStartBreakRequestBuilder(rawUrl string, req // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/timecard-startbreak?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/timecard-startbreak?view=graph-rest-beta func (m *ItemTeamScheduleTimeCardsItemStartBreakRequestBuilder) Post(ctx context.Context, body ItemTeamScheduleTimeCardsItemStartBreakPostRequestBodyable, requestConfiguration *ItemTeamScheduleTimeCardsItemStartBreakRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_team_schedule_time_cards_request_builder.go b/groups/item_team_schedule_time_cards_request_builder.go index b2727b07158..197b2882136 100644 --- a/groups/item_team_schedule_time_cards_request_builder.go +++ b/groups/item_team_schedule_time_cards_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamScheduleTimeCardsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamScheduleTimeCardsRequestBuilderGetQueryParameters retrieve a list of timeCard entries in a schedule. +// ItemTeamScheduleTimeCardsRequestBuilderGetQueryParameters the time cards in the schedule. type ItemTeamScheduleTimeCardsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func NewItemTeamScheduleTimeCardsRequestBuilder(rawUrl string, requestAdapter i2 func (m *ItemTeamScheduleTimeCardsRequestBuilder) Count()(*ItemTeamScheduleTimeCardsCountRequestBuilder) { return NewItemTeamScheduleTimeCardsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of timeCard entries in a schedule. +// Get the time cards in the schedule. // returns a TimeCardCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/timecard-list?view=graph-rest-1.0 func (m *ItemTeamScheduleTimeCardsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamScheduleTimeCardsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *ItemTeamScheduleTimeCardsRequestBuilder) Get(ctx context.Context, reque } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardCollectionResponseable), nil } -// Post create a timeCard instance in a schedule. +// Post create new navigation property to timeCards for groups // returns a TimeCardable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/timecard-post?view=graph-rest-1.0 func (m *ItemTeamScheduleTimeCardsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardable, requestConfiguration *ItemTeamScheduleTimeCardsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemTeamScheduleTimeCardsRequestBuilder) Post(ctx context.Context, body } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardable), nil } -// ToGetRequestInformation retrieve a list of timeCard entries in a schedule. +// ToGetRequestInformation the time cards in the schedule. // returns a *RequestInformation when successful func (m *ItemTeamScheduleTimeCardsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamScheduleTimeCardsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ItemTeamScheduleTimeCardsRequestBuilder) ToGetRequestInformation(ctx co requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a timeCard instance in a schedule. +// ToPostRequestInformation create new navigation property to timeCards for groups // returns a *RequestInformation when successful func (m *ItemTeamScheduleTimeCardsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardable, requestConfiguration *ItemTeamScheduleTimeCardsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_schedule_time_cards_time_card_item_request_builder.go b/groups/item_team_schedule_time_cards_time_card_item_request_builder.go index b9e0f95f8bc..b6147f70978 100644 --- a/groups/item_team_schedule_time_cards_time_card_item_request_builder.go +++ b/groups/item_team_schedule_time_cards_time_card_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamScheduleTimeCardsTimeCardItemRequestBuilderDeleteRequestConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamScheduleTimeCardsTimeCardItemRequestBuilderGetQueryParameters get the properties and relationships of a timeCard object by ID. +// ItemTeamScheduleTimeCardsTimeCardItemRequestBuilderGetQueryParameters the time cards in the schedule. type ItemTeamScheduleTimeCardsTimeCardItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -64,11 +64,8 @@ func NewItemTeamScheduleTimeCardsTimeCardItemRequestBuilder(rawUrl string, reque urlParams["request-raw-url"] = rawUrl return NewItemTeamScheduleTimeCardsTimeCardItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a timeCard instance in a schedule. +// Delete delete navigation property timeCards for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/timecard-delete?view=graph-rest-1.0 func (m *ItemTeamScheduleTimeCardsTimeCardItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTeamScheduleTimeCardsTimeCardItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -88,12 +85,9 @@ func (m *ItemTeamScheduleTimeCardsTimeCardItemRequestBuilder) Delete(ctx context func (m *ItemTeamScheduleTimeCardsTimeCardItemRequestBuilder) EndBreak()(*ItemTeamScheduleTimeCardsItemEndBreakRequestBuilder) { return NewItemTeamScheduleTimeCardsItemEndBreakRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the properties and relationships of a timeCard object by ID. +// Get the time cards in the schedule. // returns a TimeCardable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/timecard-get?view=graph-rest-1.0 func (m *ItemTeamScheduleTimeCardsTimeCardItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamScheduleTimeCardsTimeCardItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -111,12 +105,9 @@ func (m *ItemTeamScheduleTimeCardsTimeCardItemRequestBuilder) Get(ctx context.Co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardable), nil } -// Patch replace an existing timeCard with updated values. +// Patch update the navigation property timeCards in groups // returns a TimeCardable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/timecard-replace?view=graph-rest-1.0 func (m *ItemTeamScheduleTimeCardsTimeCardItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardable, requestConfiguration *ItemTeamScheduleTimeCardsTimeCardItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -139,7 +130,7 @@ func (m *ItemTeamScheduleTimeCardsTimeCardItemRequestBuilder) Patch(ctx context. func (m *ItemTeamScheduleTimeCardsTimeCardItemRequestBuilder) StartBreak()(*ItemTeamScheduleTimeCardsItemStartBreakRequestBuilder) { return NewItemTeamScheduleTimeCardsItemStartBreakRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a timeCard instance in a schedule. +// ToDeleteRequestInformation delete navigation property timeCards for groups // returns a *RequestInformation when successful func (m *ItemTeamScheduleTimeCardsTimeCardItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTeamScheduleTimeCardsTimeCardItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -150,7 +141,7 @@ func (m *ItemTeamScheduleTimeCardsTimeCardItemRequestBuilder) ToDeleteRequestInf requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties and relationships of a timeCard object by ID. +// ToGetRequestInformation the time cards in the schedule. // returns a *RequestInformation when successful func (m *ItemTeamScheduleTimeCardsTimeCardItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamScheduleTimeCardsTimeCardItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -164,7 +155,7 @@ func (m *ItemTeamScheduleTimeCardsTimeCardItemRequestBuilder) ToGetRequestInform requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation replace an existing timeCard with updated values. +// ToPatchRequestInformation update the navigation property timeCards in groups // returns a *RequestInformation when successful func (m *ItemTeamScheduleTimeCardsTimeCardItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardable, requestConfiguration *ItemTeamScheduleTimeCardsTimeCardItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_schedule_time_off_reasons_request_builder.go b/groups/item_team_schedule_time_off_reasons_request_builder.go index ef5ec71a6b0..478c9a1e033 100644 --- a/groups/item_team_schedule_time_off_reasons_request_builder.go +++ b/groups/item_team_schedule_time_off_reasons_request_builder.go @@ -77,9 +77,6 @@ func (m *ItemTeamScheduleTimeOffReasonsRequestBuilder) Count()(*ItemTeamSchedule // Get the set of reasons for a time off in the schedule. // returns a TimeOffReasonCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/schedule-list-timeoffreasons?view=graph-rest-1.0 func (m *ItemTeamScheduleTimeOffReasonsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamScheduleTimeOffReasonsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffReasonCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -97,12 +94,9 @@ func (m *ItemTeamScheduleTimeOffReasonsRequestBuilder) Get(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffReasonCollectionResponseable), nil } -// Post create a new timeOffReason. +// Post create new navigation property to timeOffReasons for groups // returns a TimeOffReasonable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/schedule-post-timeoffreasons?view=graph-rest-1.0 func (m *ItemTeamScheduleTimeOffReasonsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffReasonable, requestConfiguration *ItemTeamScheduleTimeOffReasonsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffReasonable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -134,7 +128,7 @@ func (m *ItemTeamScheduleTimeOffReasonsRequestBuilder) ToGetRequestInformation(c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new timeOffReason. +// ToPostRequestInformation create new navigation property to timeOffReasons for groups // returns a *RequestInformation when successful func (m *ItemTeamScheduleTimeOffReasonsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffReasonable, requestConfiguration *ItemTeamScheduleTimeOffReasonsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_schedule_time_off_reasons_time_off_reason_item_request_builder.go b/groups/item_team_schedule_time_off_reasons_time_off_reason_item_request_builder.go index dd82925c9dc..7336475544e 100644 --- a/groups/item_team_schedule_time_off_reasons_time_off_reason_item_request_builder.go +++ b/groups/item_team_schedule_time_off_reasons_time_off_reason_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamScheduleTimeOffReasonsTimeOffReasonItemRequestBuilderDeleteRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamScheduleTimeOffReasonsTimeOffReasonItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a timeOffReason object by ID. +// ItemTeamScheduleTimeOffReasonsTimeOffReasonItemRequestBuilderGetQueryParameters the set of reasons for a time off in the schedule. type ItemTeamScheduleTimeOffReasonsTimeOffReasonItemRequestBuilderGetQueryParameters struct { // Select properties to be returned Select []string `uriparametername:"%24select"` @@ -52,11 +52,8 @@ func NewItemTeamScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder(rawUrl str urlParams["request-raw-url"] = rawUrl return NewItemTeamScheduleTimeOffReasonsTimeOffReasonItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete mark a timeOffReason as inactive by setting the isActive property. Every team must include at least one timeOffReason. This method doesn't remove the specified timeOffReason instance. timeOffItem instances that were assigned this reason remain assigned to this reason. +// Delete delete navigation property timeOffReasons for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/timeoffreason-delete?view=graph-rest-1.0 func (m *ItemTeamScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTeamScheduleTimeOffReasonsTimeOffReasonItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -71,12 +68,9 @@ func (m *ItemTeamScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder) Delete(c } return nil } -// Get retrieve the properties and relationships of a timeOffReason object by ID. +// Get the set of reasons for a time off in the schedule. // returns a TimeOffReasonable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/timeoffreason-get?view=graph-rest-1.0 func (m *ItemTeamScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamScheduleTimeOffReasonsTimeOffReasonItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffReasonable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -94,12 +88,9 @@ func (m *ItemTeamScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder) Get(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffReasonable), nil } -// Patch replace an existing timeOffReason. If the specified timeOffReason doesn't exist, this method returns 404 Not found. +// Patch update the navigation property timeOffReasons in groups // returns a TimeOffReasonable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/timeoffreason-put?view=graph-rest-1.0 func (m *ItemTeamScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffReasonable, requestConfiguration *ItemTeamScheduleTimeOffReasonsTimeOffReasonItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffReasonable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +108,7 @@ func (m *ItemTeamScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder) Patch(ct } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffReasonable), nil } -// ToDeleteRequestInformation mark a timeOffReason as inactive by setting the isActive property. Every team must include at least one timeOffReason. This method doesn't remove the specified timeOffReason instance. timeOffItem instances that were assigned this reason remain assigned to this reason. +// ToDeleteRequestInformation delete navigation property timeOffReasons for groups // returns a *RequestInformation when successful func (m *ItemTeamScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTeamScheduleTimeOffReasonsTimeOffReasonItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -128,7 +119,7 @@ func (m *ItemTeamScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder) ToDelete requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a timeOffReason object by ID. +// ToGetRequestInformation the set of reasons for a time off in the schedule. // returns a *RequestInformation when successful func (m *ItemTeamScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamScheduleTimeOffReasonsTimeOffReasonItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -142,7 +133,7 @@ func (m *ItemTeamScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder) ToGetReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation replace an existing timeOffReason. If the specified timeOffReason doesn't exist, this method returns 404 Not found. +// ToPatchRequestInformation update the navigation property timeOffReasons in groups // returns a *RequestInformation when successful func (m *ItemTeamScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffReasonable, requestConfiguration *ItemTeamScheduleTimeOffReasonsTimeOffReasonItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_schedule_time_off_requests_request_builder.go b/groups/item_team_schedule_time_off_requests_request_builder.go index fafc7c471b5..cd8c558a12b 100644 --- a/groups/item_team_schedule_time_off_requests_request_builder.go +++ b/groups/item_team_schedule_time_off_requests_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamScheduleTimeOffRequestsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamScheduleTimeOffRequestsRequestBuilderGetQueryParameters retrieve a list of timeoffrequest objects in the team. +// ItemTeamScheduleTimeOffRequestsRequestBuilderGetQueryParameters the time off requests in the schedule. type ItemTeamScheduleTimeOffRequestsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,12 +74,9 @@ func NewItemTeamScheduleTimeOffRequestsRequestBuilder(rawUrl string, requestAdap func (m *ItemTeamScheduleTimeOffRequestsRequestBuilder) Count()(*ItemTeamScheduleTimeOffRequestsCountRequestBuilder) { return NewItemTeamScheduleTimeOffRequestsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of timeoffrequest objects in the team. +// Get the time off requests in the schedule. // returns a TimeOffRequestCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/timeoffrequest-list?view=graph-rest-1.0 func (m *ItemTeamScheduleTimeOffRequestsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamScheduleTimeOffRequestsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffRequestCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemTeamScheduleTimeOffRequestsRequestBuilder) Post(ctx context.Context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffRequestable), nil } -// ToGetRequestInformation retrieve a list of timeoffrequest objects in the team. +// ToGetRequestInformation the time off requests in the schedule. // returns a *RequestInformation when successful func (m *ItemTeamScheduleTimeOffRequestsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamScheduleTimeOffRequestsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_schedule_time_off_requests_time_off_request_item_request_builder.go b/groups/item_team_schedule_time_off_requests_time_off_request_item_request_builder.go index 4f7c3fda05f..43d6f570ed8 100644 --- a/groups/item_team_schedule_time_off_requests_time_off_request_item_request_builder.go +++ b/groups/item_team_schedule_time_off_requests_time_off_request_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamScheduleTimeOffRequestsTimeOffRequestItemRequestBuilderDeleteReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamScheduleTimeOffRequestsTimeOffRequestItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a timeoffrequest object. +// ItemTeamScheduleTimeOffRequestsTimeOffRequestItemRequestBuilderGetQueryParameters the time off requests in the schedule. type ItemTeamScheduleTimeOffRequestsTimeOffRequestItemRequestBuilderGetQueryParameters struct { // Select properties to be returned Select []string `uriparametername:"%24select"` @@ -52,11 +52,8 @@ func NewItemTeamScheduleTimeOffRequestsTimeOffRequestItemRequestBuilder(rawUrl s urlParams["request-raw-url"] = rawUrl return NewItemTeamScheduleTimeOffRequestsTimeOffRequestItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a timeOffRequest object. +// Delete delete navigation property timeOffRequests for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/timeoffrequest-delete?view=graph-rest-1.0 func (m *ItemTeamScheduleTimeOffRequestsTimeOffRequestItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTeamScheduleTimeOffRequestsTimeOffRequestItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -71,12 +68,9 @@ func (m *ItemTeamScheduleTimeOffRequestsTimeOffRequestItemRequestBuilder) Delete } return nil } -// Get retrieve the properties and relationships of a timeoffrequest object. +// Get the time off requests in the schedule. // returns a TimeOffRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/timeoffrequest-get?view=graph-rest-1.0 func (m *ItemTeamScheduleTimeOffRequestsTimeOffRequestItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamScheduleTimeOffRequestsTimeOffRequestItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffRequestable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -114,7 +108,7 @@ func (m *ItemTeamScheduleTimeOffRequestsTimeOffRequestItemRequestBuilder) Patch( } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffRequestable), nil } -// ToDeleteRequestInformation delete a timeOffRequest object. +// ToDeleteRequestInformation delete navigation property timeOffRequests for groups // returns a *RequestInformation when successful func (m *ItemTeamScheduleTimeOffRequestsTimeOffRequestItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTeamScheduleTimeOffRequestsTimeOffRequestItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -125,7 +119,7 @@ func (m *ItemTeamScheduleTimeOffRequestsTimeOffRequestItemRequestBuilder) ToDele requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a timeoffrequest object. +// ToGetRequestInformation the time off requests in the schedule. // returns a *RequestInformation when successful func (m *ItemTeamScheduleTimeOffRequestsTimeOffRequestItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamScheduleTimeOffRequestsTimeOffRequestItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_schedule_times_off_request_builder.go b/groups/item_team_schedule_times_off_request_builder.go index e3a2b4a7e02..3000d19a7fb 100644 --- a/groups/item_team_schedule_times_off_request_builder.go +++ b/groups/item_team_schedule_times_off_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamScheduleTimesOffRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamScheduleTimesOffRequestBuilderGetQueryParameters get the list of timeOff instances in a schedule. +// ItemTeamScheduleTimesOffRequestBuilderGetQueryParameters the instances of times off in the schedule. type ItemTeamScheduleTimesOffRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,12 +74,9 @@ func NewItemTeamScheduleTimesOffRequestBuilder(rawUrl string, requestAdapter i2a func (m *ItemTeamScheduleTimesOffRequestBuilder) Count()(*ItemTeamScheduleTimesOffCountRequestBuilder) { return NewItemTeamScheduleTimesOffCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of timeOff instances in a schedule. +// Get the instances of times off in the schedule. // returns a TimeOffCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/schedule-list-timesoff?view=graph-rest-1.0 func (m *ItemTeamScheduleTimesOffRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamScheduleTimesOffRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -97,12 +94,9 @@ func (m *ItemTeamScheduleTimesOffRequestBuilder) Get(ctx context.Context, reques } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffCollectionResponseable), nil } -// Post create a new timeOff instance in a schedule. +// Post create new navigation property to timesOff for groups // returns a TimeOffable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/schedule-post-timesoff?view=graph-rest-1.0 func (m *ItemTeamScheduleTimesOffRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffable, requestConfiguration *ItemTeamScheduleTimesOffRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -120,7 +114,7 @@ func (m *ItemTeamScheduleTimesOffRequestBuilder) Post(ctx context.Context, body } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffable), nil } -// ToGetRequestInformation get the list of timeOff instances in a schedule. +// ToGetRequestInformation the instances of times off in the schedule. // returns a *RequestInformation when successful func (m *ItemTeamScheduleTimesOffRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamScheduleTimesOffRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -134,7 +128,7 @@ func (m *ItemTeamScheduleTimesOffRequestBuilder) ToGetRequestInformation(ctx con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new timeOff instance in a schedule. +// ToPostRequestInformation create new navigation property to timesOff for groups // returns a *RequestInformation when successful func (m *ItemTeamScheduleTimesOffRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffable, requestConfiguration *ItemTeamScheduleTimesOffRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_schedule_times_off_time_off_item_request_builder.go b/groups/item_team_schedule_times_off_time_off_item_request_builder.go index ea1e1d111c8..a988102bea4 100644 --- a/groups/item_team_schedule_times_off_time_off_item_request_builder.go +++ b/groups/item_team_schedule_times_off_time_off_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamScheduleTimesOffTimeOffItemRequestBuilderDeleteRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamScheduleTimesOffTimeOffItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a timeOff object by ID. +// ItemTeamScheduleTimesOffTimeOffItemRequestBuilderGetQueryParameters the instances of times off in the schedule. type ItemTeamScheduleTimesOffTimeOffItemRequestBuilderGetQueryParameters struct { // Select properties to be returned Select []string `uriparametername:"%24select"` @@ -52,11 +52,8 @@ func NewItemTeamScheduleTimesOffTimeOffItemRequestBuilder(rawUrl string, request urlParams["request-raw-url"] = rawUrl return NewItemTeamScheduleTimesOffTimeOffItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a timeOff instance from a schedule. +// Delete delete navigation property timesOff for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/timeoff-delete?view=graph-rest-1.0 func (m *ItemTeamScheduleTimesOffTimeOffItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTeamScheduleTimesOffTimeOffItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -71,12 +68,9 @@ func (m *ItemTeamScheduleTimesOffTimeOffItemRequestBuilder) Delete(ctx context.C } return nil } -// Get retrieve the properties and relationships of a timeOff object by ID. +// Get the instances of times off in the schedule. // returns a TimeOffable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/timeoff-get?view=graph-rest-1.0 func (m *ItemTeamScheduleTimesOffTimeOffItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamScheduleTimesOffTimeOffItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -94,12 +88,9 @@ func (m *ItemTeamScheduleTimesOffTimeOffItemRequestBuilder) Get(ctx context.Cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffable), nil } -// Patch replace an existing timeOff. If the specified timeOff doesn't exist, this method returns 404 Not found. +// Patch update the navigation property timesOff in groups // returns a TimeOffable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/timeoff-put?view=graph-rest-1.0 func (m *ItemTeamScheduleTimesOffTimeOffItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffable, requestConfiguration *ItemTeamScheduleTimesOffTimeOffItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +108,7 @@ func (m *ItemTeamScheduleTimesOffTimeOffItemRequestBuilder) Patch(ctx context.Co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffable), nil } -// ToDeleteRequestInformation delete a timeOff instance from a schedule. +// ToDeleteRequestInformation delete navigation property timesOff for groups // returns a *RequestInformation when successful func (m *ItemTeamScheduleTimesOffTimeOffItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTeamScheduleTimesOffTimeOffItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -128,7 +119,7 @@ func (m *ItemTeamScheduleTimesOffTimeOffItemRequestBuilder) ToDeleteRequestInfor requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a timeOff object by ID. +// ToGetRequestInformation the instances of times off in the schedule. // returns a *RequestInformation when successful func (m *ItemTeamScheduleTimesOffTimeOffItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamScheduleTimesOffTimeOffItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -142,7 +133,7 @@ func (m *ItemTeamScheduleTimesOffTimeOffItemRequestBuilder) ToGetRequestInformat requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation replace an existing timeOff. If the specified timeOff doesn't exist, this method returns 404 Not found. +// ToPatchRequestInformation update the navigation property timesOff in groups // returns a *RequestInformation when successful func (m *ItemTeamScheduleTimesOffTimeOffItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffable, requestConfiguration *ItemTeamScheduleTimesOffTimeOffItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_send_activity_notification_request_builder.go b/groups/item_team_send_activity_notification_request_builder.go index 44e5fc479fe..131c5acb386 100644 --- a/groups/item_team_send_activity_notification_request_builder.go +++ b/groups/item_team_send_activity_notification_request_builder.go @@ -34,7 +34,7 @@ func NewItemTeamSendActivityNotificationRequestBuilder(rawUrl string, requestAda // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/team-sendactivitynotification?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/team-sendactivitynotification?view=graph-rest-beta func (m *ItemTeamSendActivityNotificationRequestBuilder) Post(ctx context.Context, body ItemTeamSendActivityNotificationPostRequestBodyable, requestConfiguration *ItemTeamSendActivityNotificationRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_team_tags_item_members_request_builder.go b/groups/item_team_tags_item_members_request_builder.go index b16dd634163..d796481f13f 100644 --- a/groups/item_team_tags_item_members_request_builder.go +++ b/groups/item_team_tags_item_members_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamTagsItemMembersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamTagsItemMembersRequestBuilderGetQueryParameters get a list of the members of a standard tag in a team and their properties. +// ItemTeamTagsItemMembersRequestBuilderGetQueryParameters users assigned to the tag. type ItemTeamTagsItemMembersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemTeamTagsItemMembersRequestBuilder(rawUrl string, requestAdapter i2ae func (m *ItemTeamTagsItemMembersRequestBuilder) Count()(*ItemTeamTagsItemMembersCountRequestBuilder) { return NewItemTeamTagsItemMembersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the members of a standard tag in a team and their properties. +// Get users assigned to the tag. // returns a TeamworkTagMemberCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/teamworktagmember-list?view=graph-rest-1.0 func (m *ItemTeamTagsItemMembersRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamTagsItemMembersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagMemberCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemTeamTagsItemMembersRequestBuilder) Get(ctx context.Context, request } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagMemberCollectionResponseable), nil } -// Post create a new teamworkTagMember object in a team. +// Post create new navigation property to members for groups // returns a TeamworkTagMemberable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/teamworktagmember-post?view=graph-rest-1.0 func (m *ItemTeamTagsItemMembersRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagMemberable, requestConfiguration *ItemTeamTagsItemMembersRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagMemberable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemTeamTagsItemMembersRequestBuilder) Post(ctx context.Context, body i } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagMemberable), nil } -// ToGetRequestInformation get a list of the members of a standard tag in a team and their properties. +// ToGetRequestInformation users assigned to the tag. // returns a *RequestInformation when successful func (m *ItemTeamTagsItemMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamTagsItemMembersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemTeamTagsItemMembersRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new teamworkTagMember object in a team. +// ToPostRequestInformation create new navigation property to members for groups // returns a *RequestInformation when successful func (m *ItemTeamTagsItemMembersRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagMemberable, requestConfiguration *ItemTeamTagsItemMembersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_tags_item_members_teamwork_tag_member_item_request_builder.go b/groups/item_team_tags_item_members_teamwork_tag_member_item_request_builder.go index 3cfc8c432af..0dbbc45e22f 100644 --- a/groups/item_team_tags_item_members_teamwork_tag_member_item_request_builder.go +++ b/groups/item_team_tags_item_members_teamwork_tag_member_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamTagsItemMembersTeamworkTagMemberItemRequestBuilderDeleteRequestConf // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamTagsItemMembersTeamworkTagMemberItemRequestBuilderGetQueryParameters get the properties and relationships of a member of a standard tag in a team. +// ItemTeamTagsItemMembersTeamworkTagMemberItemRequestBuilderGetQueryParameters users assigned to the tag. type ItemTeamTagsItemMembersTeamworkTagMemberItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemTeamTagsItemMembersTeamworkTagMemberItemRequestBuilder(rawUrl string urlParams["request-raw-url"] = rawUrl return NewItemTeamTagsItemMembersTeamworkTagMemberItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a member from a standard tag in a team. +// Delete delete navigation property members for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/teamworktagmember-delete?view=graph-rest-1.0 func (m *ItemTeamTagsItemMembersTeamworkTagMemberItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTeamTagsItemMembersTeamworkTagMemberItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemTeamTagsItemMembersTeamworkTagMemberItemRequestBuilder) Delete(ctx } return nil } -// Get get the properties and relationships of a member of a standard tag in a team. +// Get users assigned to the tag. // returns a TeamworkTagMemberable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/teamworktagmember-get?view=graph-rest-1.0 func (m *ItemTeamTagsItemMembersTeamworkTagMemberItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamTagsItemMembersTeamworkTagMemberItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagMemberable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -116,7 +110,7 @@ func (m *ItemTeamTagsItemMembersTeamworkTagMemberItemRequestBuilder) Patch(ctx c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagMemberable), nil } -// ToDeleteRequestInformation delete a member from a standard tag in a team. +// ToDeleteRequestInformation delete navigation property members for groups // returns a *RequestInformation when successful func (m *ItemTeamTagsItemMembersTeamworkTagMemberItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTeamTagsItemMembersTeamworkTagMemberItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -127,7 +121,7 @@ func (m *ItemTeamTagsItemMembersTeamworkTagMemberItemRequestBuilder) ToDeleteReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties and relationships of a member of a standard tag in a team. +// ToGetRequestInformation users assigned to the tag. // returns a *RequestInformation when successful func (m *ItemTeamTagsItemMembersTeamworkTagMemberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamTagsItemMembersTeamworkTagMemberItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_tags_request_builder.go b/groups/item_team_tags_request_builder.go index c922ebba1bd..1fb2f2fd6c1 100644 --- a/groups/item_team_tags_request_builder.go +++ b/groups/item_team_tags_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamTagsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamTagsRequestBuilderGetQueryParameters get a list of the tag objects and their properties. +// ItemTeamTagsRequestBuilderGetQueryParameters the tags associated with the team. type ItemTeamTagsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemTeamTagsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee2 func (m *ItemTeamTagsRequestBuilder) Count()(*ItemTeamTagsCountRequestBuilder) { return NewItemTeamTagsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the tag objects and their properties. +// Get the tags associated with the team. // returns a TeamworkTagCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/teamworktag-list?view=graph-rest-1.0 func (m *ItemTeamTagsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamTagsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemTeamTagsRequestBuilder) Get(ctx context.Context, requestConfigurati } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagCollectionResponseable), nil } -// Post create a standard tag for members in the team. +// Post create new navigation property to tags for groups // returns a TeamworkTagable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/teamworktag-post?view=graph-rest-1.0 func (m *ItemTeamTagsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagable, requestConfiguration *ItemTeamTagsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemTeamTagsRequestBuilder) Post(ctx context.Context, body ie233ee762e2 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagable), nil } -// ToGetRequestInformation get a list of the tag objects and their properties. +// ToGetRequestInformation the tags associated with the team. // returns a *RequestInformation when successful func (m *ItemTeamTagsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamTagsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemTeamTagsRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a standard tag for members in the team. +// ToPostRequestInformation create new navigation property to tags for groups // returns a *RequestInformation when successful func (m *ItemTeamTagsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagable, requestConfiguration *ItemTeamTagsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_tags_teamwork_tag_item_request_builder.go b/groups/item_team_tags_teamwork_tag_item_request_builder.go index fd3f96c2f72..fdc9d8d028e 100644 --- a/groups/item_team_tags_teamwork_tag_item_request_builder.go +++ b/groups/item_team_tags_teamwork_tag_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamTagsTeamworkTagItemRequestBuilderDeleteRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamTagsTeamworkTagItemRequestBuilderGetQueryParameters read the properties and relationships of a tag object. +// ItemTeamTagsTeamworkTagItemRequestBuilderGetQueryParameters the tags associated with the team. type ItemTeamTagsTeamworkTagItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemTeamTagsTeamworkTagItemRequestBuilder(rawUrl string, requestAdapter urlParams["request-raw-url"] = rawUrl return NewItemTeamTagsTeamworkTagItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a tag object permanently. +// Delete delete navigation property tags for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/teamworktag-delete?view=graph-rest-1.0 func (m *ItemTeamTagsTeamworkTagItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTeamTagsTeamworkTagItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemTeamTagsTeamworkTagItemRequestBuilder) Delete(ctx context.Context, } return nil } -// Get read the properties and relationships of a tag object. +// Get the tags associated with the team. // returns a TeamworkTagable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/teamworktag-get?view=graph-rest-1.0 func (m *ItemTeamTagsTeamworkTagItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamTagsTeamworkTagItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,12 +95,9 @@ func (m *ItemTeamTagsTeamworkTagItemRequestBuilder) Get(ctx context.Context, req func (m *ItemTeamTagsTeamworkTagItemRequestBuilder) Members()(*ItemTeamTagsItemMembersRequestBuilder) { return NewItemTeamTagsItemMembersRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of a teamworkTag object. +// Patch update the navigation property tags in groups // returns a TeamworkTagable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/teamworktag-update?view=graph-rest-1.0 func (m *ItemTeamTagsTeamworkTagItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagable, requestConfiguration *ItemTeamTagsTeamworkTagItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -124,7 +115,7 @@ func (m *ItemTeamTagsTeamworkTagItemRequestBuilder) Patch(ctx context.Context, b } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagable), nil } -// ToDeleteRequestInformation delete a tag object permanently. +// ToDeleteRequestInformation delete navigation property tags for groups // returns a *RequestInformation when successful func (m *ItemTeamTagsTeamworkTagItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTeamTagsTeamworkTagItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -135,7 +126,7 @@ func (m *ItemTeamTagsTeamworkTagItemRequestBuilder) ToDeleteRequestInformation(c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a tag object. +// ToGetRequestInformation the tags associated with the team. // returns a *RequestInformation when successful func (m *ItemTeamTagsTeamworkTagItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamTagsTeamworkTagItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -149,7 +140,7 @@ func (m *ItemTeamTagsTeamworkTagItemRequestBuilder) ToGetRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a teamworkTag object. +// ToPatchRequestInformation update the navigation property tags in groups // returns a *RequestInformation when successful func (m *ItemTeamTagsTeamworkTagItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagable, requestConfiguration *ItemTeamTagsTeamworkTagItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_unarchive_request_builder.go b/groups/item_team_unarchive_request_builder.go index 10bab85561c..30fdc84ebe2 100644 --- a/groups/item_team_unarchive_request_builder.go +++ b/groups/item_team_unarchive_request_builder.go @@ -34,7 +34,7 @@ func NewItemTeamUnarchiveRequestBuilder(rawUrl string, requestAdapter i2ae4187f7 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/team-unarchive?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/team-unarchive?view=graph-rest-beta func (m *ItemTeamUnarchiveRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemTeamUnarchiveRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_threads_conversation_thread_item_request_builder.go b/groups/item_threads_conversation_thread_item_request_builder.go index 7eb75824dea..64f224bb750 100644 --- a/groups/item_threads_conversation_thread_item_request_builder.go +++ b/groups/item_threads_conversation_thread_item_request_builder.go @@ -18,7 +18,7 @@ type ItemThreadsConversationThreadItemRequestBuilderDeleteRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemThreadsConversationThreadItemRequestBuilderGetQueryParameters get a thread object. +// ItemThreadsConversationThreadItemRequestBuilderGetQueryParameters the group's conversation threads. Nullable. type ItemThreadsConversationThreadItemRequestBuilderGetQueryParameters struct { // Select properties to be returned Select []string `uriparametername:"%24select"` @@ -52,11 +52,8 @@ func NewItemThreadsConversationThreadItemRequestBuilder(rawUrl string, requestAd urlParams["request-raw-url"] = rawUrl return NewItemThreadsConversationThreadItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a thread object. +// Delete delete navigation property threads for groups // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/group-delete-thread?view=graph-rest-1.0 func (m *ItemThreadsConversationThreadItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemThreadsConversationThreadItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -71,12 +68,9 @@ func (m *ItemThreadsConversationThreadItemRequestBuilder) Delete(ctx context.Con } return nil } -// Get get a thread object. +// Get the group's conversation threads. Nullable. // returns a ConversationThreadable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/group-get-thread?view=graph-rest-1.0 func (m *ItemThreadsConversationThreadItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemThreadsConversationThreadItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationThreadable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -94,12 +88,9 @@ func (m *ItemThreadsConversationThreadItemRequestBuilder) Get(ctx context.Contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationThreadable), nil } -// Patch update a thread object. +// Patch update the navigation property threads in groups // returns a ConversationThreadable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/group-update-thread?view=graph-rest-1.0 func (m *ItemThreadsConversationThreadItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationThreadable, requestConfiguration *ItemThreadsConversationThreadItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationThreadable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +118,7 @@ func (m *ItemThreadsConversationThreadItemRequestBuilder) Posts()(*ItemThreadsIt func (m *ItemThreadsConversationThreadItemRequestBuilder) Reply()(*ItemThreadsItemReplyRequestBuilder) { return NewItemThreadsItemReplyRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a thread object. +// ToDeleteRequestInformation delete navigation property threads for groups // returns a *RequestInformation when successful func (m *ItemThreadsConversationThreadItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemThreadsConversationThreadItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -138,7 +129,7 @@ func (m *ItemThreadsConversationThreadItemRequestBuilder) ToDeleteRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a thread object. +// ToGetRequestInformation the group's conversation threads. Nullable. // 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) @@ -152,7 +143,7 @@ func (m *ItemThreadsConversationThreadItemRequestBuilder) ToGetRequestInformatio requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update a thread object. +// ToPatchRequestInformation update the navigation property threads in groups // returns a *RequestInformation when successful func (m *ItemThreadsConversationThreadItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationThreadable, requestConfiguration *ItemThreadsConversationThreadItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_threads_item_posts_item_attachments_create_upload_session_request_builder.go b/groups/item_threads_item_posts_item_attachments_create_upload_session_request_builder.go index e32c8f4e443..60d8d405d33 100644 --- a/groups/item_threads_item_posts_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_threads_item_posts_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemThreadsItemPostsItemAttachmentsCreateUploadSessionRequestBuilder(raw // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemThreadsItemPostsItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemThreadsItemPostsItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemThreadsItemPostsItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_threads_item_posts_item_attachments_request_builder.go b/groups/item_threads_item_posts_item_attachments_request_builder.go index c0af5fc03f2..f9addbf3804 100644 --- a/groups/item_threads_item_posts_item_attachments_request_builder.go +++ b/groups/item_threads_item_posts_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemThreadsItemPostsItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemThreadsItemPostsItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to a post. +// ItemThreadsItemPostsItemAttachmentsRequestBuilderGetQueryParameters the collection of fileAttachment, itemAttachment, and referenceAttachment attachments for the post. Read-only. Nullable. Supports $expand. type ItemThreadsItemPostsItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemThreadsItemPostsItemAttachmentsRequestBuilder) Count()(*ItemThreads func (m *ItemThreadsItemPostsItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemThreadsItemPostsItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemThreadsItemPostsItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to a post. +// Get the collection of fileAttachment, itemAttachment, and referenceAttachment attachments for the post. Read-only. Nullable. Supports $expand. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/post-list-attachments?view=graph-rest-1.0 func (m *ItemThreadsItemPostsItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemThreadsItemPostsItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -122,7 +119,7 @@ func (m *ItemThreadsItemPostsItemAttachmentsRequestBuilder) Post(ctx context.Con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to a post. +// ToGetRequestInformation the collection of fileAttachment, itemAttachment, and referenceAttachment attachments for the post. Read-only. Nullable. Supports $expand. // returns a *RequestInformation when successful func (m *ItemThreadsItemPostsItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemThreadsItemPostsItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_threads_item_posts_item_extensions_extension_item_request_builder.go b/groups/item_threads_item_posts_item_extensions_extension_item_request_builder.go index 2ea96f730d3..ae178943c9b 100644 --- a/groups/item_threads_item_posts_item_extensions_extension_item_request_builder.go +++ b/groups/item_threads_item_posts_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemThreadsItemPostsItemExtensionsExtensionItemRequestBuilderDeleteRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemThreadsItemPostsItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemThreadsItemPostsItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. type ItemThreadsItemPostsItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemThreadsItemPostsItemExtensionsExtensionItemRequestBuilder) Delete(c } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemThreadsItemPostsItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemThreadsItemPostsItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *ItemThreadsItemPostsItemExtensionsExtensionItemRequestBuilder) Get(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// Patch update an open extension (openTypeExtension object) with the properties in the request body: The data in an extension can be primitive types, or arrays of primitive types. See the table in the Permissions section for the list of resources that support open extensions. +// Patch update the navigation property extensions in groups // returns a Extensionable when successful // returns a ODataError error 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-update?view=graph-rest-1.0 func (m *ItemThreadsItemPostsItemExtensionsExtensionItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemThreadsItemPostsItemExtensionsExtensionItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemThreadsItemPostsItemExtensionsExtensionItemRequestBuilder) ToDelete requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. // returns a *RequestInformation when successful func (m *ItemThreadsItemPostsItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemThreadsItemPostsItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ItemThreadsItemPostsItemExtensionsExtensionItemRequestBuilder) ToGetReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update an open extension (openTypeExtension object) with the properties in the request body: The data in an extension can be primitive types, or arrays of primitive types. See the table in the Permissions section for the list of resources that support open extensions. +// ToPatchRequestInformation update the navigation property extensions in groups // returns a *RequestInformation when successful func (m *ItemThreadsItemPostsItemExtensionsExtensionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemThreadsItemPostsItemExtensionsExtensionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_threads_item_posts_item_extensions_request_builder.go b/groups/item_threads_item_posts_item_extensions_request_builder.go index 9e0cd2ae054..0292a6d282c 100644 --- a/groups/item_threads_item_posts_item_extensions_request_builder.go +++ b/groups/item_threads_item_posts_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemThreadsItemPostsItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemThreadsItemPostsItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemThreadsItemPostsItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. type ItemThreadsItemPostsItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemThreadsItemPostsItemExtensionsRequestBuilder(rawUrl string, requestA func (m *ItemThreadsItemPostsItemExtensionsRequestBuilder) Count()(*ItemThreadsItemPostsItemExtensionsCountRequestBuilder) { return NewItemThreadsItemPostsItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemThreadsItemPostsItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemThreadsItemPostsItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -114,7 +114,7 @@ func (m *ItemThreadsItemPostsItemExtensionsRequestBuilder) Post(ctx context.Cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. // returns a *RequestInformation when successful func (m *ItemThreadsItemPostsItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemThreadsItemPostsItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_threads_item_posts_item_forward_request_builder.go b/groups/item_threads_item_posts_item_forward_request_builder.go index 7362974f8a1..925582c4539 100644 --- a/groups/item_threads_item_posts_item_forward_request_builder.go +++ b/groups/item_threads_item_posts_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemThreadsItemPostsItemForwardRequestBuilder(rawUrl string, requestAdap // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/post-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/post-forward?view=graph-rest-beta func (m *ItemThreadsItemPostsItemForwardRequestBuilder) Post(ctx context.Context, body ItemThreadsItemPostsItemForwardPostRequestBodyable, requestConfiguration *ItemThreadsItemPostsItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_threads_item_posts_item_in_reply_to_attachments_create_upload_session_request_builder.go b/groups/item_threads_item_posts_item_in_reply_to_attachments_create_upload_session_request_builder.go index f37f95d14c4..c38d01efd7b 100644 --- a/groups/item_threads_item_posts_item_in_reply_to_attachments_create_upload_session_request_builder.go +++ b/groups/item_threads_item_posts_item_in_reply_to_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemThreadsItemPostsItemInReplyToAttachmentsCreateUploadSessionRequestBu // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemThreadsItemPostsItemInReplyToAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemThreadsItemPostsItemInReplyToAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemThreadsItemPostsItemInReplyToAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_threads_item_posts_item_in_reply_to_attachments_request_builder.go b/groups/item_threads_item_posts_item_in_reply_to_attachments_request_builder.go index 45691cb2391..0b296013606 100644 --- a/groups/item_threads_item_posts_item_in_reply_to_attachments_request_builder.go +++ b/groups/item_threads_item_posts_item_in_reply_to_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemThreadsItemPostsItemInReplyToAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemThreadsItemPostsItemInReplyToAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to a post. +// ItemThreadsItemPostsItemInReplyToAttachmentsRequestBuilderGetQueryParameters the collection of fileAttachment, itemAttachment, and referenceAttachment attachments for the post. Read-only. Nullable. Supports $expand. type ItemThreadsItemPostsItemInReplyToAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemThreadsItemPostsItemInReplyToAttachmentsRequestBuilder) Count()(*It func (m *ItemThreadsItemPostsItemInReplyToAttachmentsRequestBuilder) CreateUploadSession()(*ItemThreadsItemPostsItemInReplyToAttachmentsCreateUploadSessionRequestBuilder) { return NewItemThreadsItemPostsItemInReplyToAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to a post. +// Get the collection of fileAttachment, itemAttachment, and referenceAttachment attachments for the post. Read-only. Nullable. Supports $expand. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/post-list-attachments?view=graph-rest-1.0 func (m *ItemThreadsItemPostsItemInReplyToAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemThreadsItemPostsItemInReplyToAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -122,7 +119,7 @@ func (m *ItemThreadsItemPostsItemInReplyToAttachmentsRequestBuilder) Post(ctx co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to a post. +// ToGetRequestInformation the collection of fileAttachment, itemAttachment, and referenceAttachment attachments for the post. Read-only. Nullable. Supports $expand. // returns a *RequestInformation when successful func (m *ItemThreadsItemPostsItemInReplyToAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemThreadsItemPostsItemInReplyToAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_threads_item_posts_item_in_reply_to_extensions_extension_item_request_builder.go b/groups/item_threads_item_posts_item_in_reply_to_extensions_extension_item_request_builder.go index 5e5d3abfe10..49eb0dcc3f0 100644 --- a/groups/item_threads_item_posts_item_in_reply_to_extensions_extension_item_request_builder.go +++ b/groups/item_threads_item_posts_item_in_reply_to_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemThreadsItemPostsItemInReplyToExtensionsExtensionItemRequestBuilderDelet // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemThreadsItemPostsItemInReplyToExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemThreadsItemPostsItemInReplyToExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. type ItemThreadsItemPostsItemInReplyToExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemThreadsItemPostsItemInReplyToExtensionsExtensionItemRequestBuilder) } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemThreadsItemPostsItemInReplyToExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemThreadsItemPostsItemInReplyToExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *ItemThreadsItemPostsItemInReplyToExtensionsExtensionItemRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// Patch update an open extension (openTypeExtension object) with the properties in the request body: The data in an extension can be primitive types, or arrays of primitive types. See the table in the Permissions section for the list of resources that support open extensions. +// Patch update the navigation property extensions in groups // returns a Extensionable when successful // returns a ODataError error 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-update?view=graph-rest-1.0 func (m *ItemThreadsItemPostsItemInReplyToExtensionsExtensionItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemThreadsItemPostsItemInReplyToExtensionsExtensionItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemThreadsItemPostsItemInReplyToExtensionsExtensionItemRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. // returns a *RequestInformation when successful func (m *ItemThreadsItemPostsItemInReplyToExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemThreadsItemPostsItemInReplyToExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ItemThreadsItemPostsItemInReplyToExtensionsExtensionItemRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update an open extension (openTypeExtension object) with the properties in the request body: The data in an extension can be primitive types, or arrays of primitive types. See the table in the Permissions section for the list of resources that support open extensions. +// ToPatchRequestInformation update the navigation property extensions in groups // returns a *RequestInformation when successful func (m *ItemThreadsItemPostsItemInReplyToExtensionsExtensionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemThreadsItemPostsItemInReplyToExtensionsExtensionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_threads_item_posts_item_in_reply_to_extensions_request_builder.go b/groups/item_threads_item_posts_item_in_reply_to_extensions_request_builder.go index 9973ad02881..9cfd5b83016 100644 --- a/groups/item_threads_item_posts_item_in_reply_to_extensions_request_builder.go +++ b/groups/item_threads_item_posts_item_in_reply_to_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemThreadsItemPostsItemInReplyToExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemThreadsItemPostsItemInReplyToExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemThreadsItemPostsItemInReplyToExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. type ItemThreadsItemPostsItemInReplyToExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemThreadsItemPostsItemInReplyToExtensionsRequestBuilder(rawUrl string, func (m *ItemThreadsItemPostsItemInReplyToExtensionsRequestBuilder) Count()(*ItemThreadsItemPostsItemInReplyToExtensionsCountRequestBuilder) { return NewItemThreadsItemPostsItemInReplyToExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemThreadsItemPostsItemInReplyToExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemThreadsItemPostsItemInReplyToExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -114,7 +114,7 @@ func (m *ItemThreadsItemPostsItemInReplyToExtensionsRequestBuilder) Post(ctx con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the post. Read-only. Nullable. Supports $expand. // returns a *RequestInformation when successful func (m *ItemThreadsItemPostsItemInReplyToExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemThreadsItemPostsItemInReplyToExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_threads_item_posts_item_in_reply_to_forward_request_builder.go b/groups/item_threads_item_posts_item_in_reply_to_forward_request_builder.go index bf93c978b9e..5983f3a9945 100644 --- a/groups/item_threads_item_posts_item_in_reply_to_forward_request_builder.go +++ b/groups/item_threads_item_posts_item_in_reply_to_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemThreadsItemPostsItemInReplyToForwardRequestBuilder(rawUrl string, re // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/post-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/post-forward?view=graph-rest-beta func (m *ItemThreadsItemPostsItemInReplyToForwardRequestBuilder) Post(ctx context.Context, body ItemThreadsItemPostsItemInReplyToForwardPostRequestBodyable, requestConfiguration *ItemThreadsItemPostsItemInReplyToForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/item_threads_item_posts_post_item_request_builder.go b/groups/item_threads_item_posts_post_item_request_builder.go index 8f039cbd5a6..26244017070 100644 --- a/groups/item_threads_item_posts_post_item_request_builder.go +++ b/groups/item_threads_item_posts_post_item_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemThreadsItemPostsPostItemRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemThreadsItemPostsPostItemRequestBuilderGetQueryParameters get the properties and relationships of a post in a specified thread. You can specify both the parentconversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. +// ItemThreadsItemPostsPostItemRequestBuilderGetQueryParameters get posts from groups type ItemThreadsItemPostsPostItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -62,12 +62,9 @@ func (m *ItemThreadsItemPostsPostItemRequestBuilder) Extensions()(*ItemThreadsIt func (m *ItemThreadsItemPostsPostItemRequestBuilder) Forward()(*ItemThreadsItemPostsItemForwardRequestBuilder) { return NewItemThreadsItemPostsItemForwardRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the properties and relationships of a post in a specified thread. You can specify both the parentconversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. +// Get get posts from groups // returns a Postable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/post-get?view=graph-rest-1.0 func (m *ItemThreadsItemPostsPostItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemThreadsItemPostsPostItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Postable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -120,7 +117,7 @@ func (m *ItemThreadsItemPostsPostItemRequestBuilder) Patch(ctx context.Context, func (m *ItemThreadsItemPostsPostItemRequestBuilder) Reply()(*ItemThreadsItemPostsItemReplyRequestBuilder) { return NewItemThreadsItemPostsItemReplyRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation get the properties and relationships of a post in a specified thread. You can specify both the parentconversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. +// ToGetRequestInformation get posts from groups // returns a *RequestInformation when successful func (m *ItemThreadsItemPostsPostItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemThreadsItemPostsPostItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_threads_item_posts_request_builder.go b/groups/item_threads_item_posts_request_builder.go index e93881768d5..c144162822a 100644 --- a/groups/item_threads_item_posts_request_builder.go +++ b/groups/item_threads_item_posts_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemThreadsItemPostsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemThreadsItemPostsRequestBuilderGetQueryParameters get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation. +// ItemThreadsItemPostsRequestBuilderGetQueryParameters get posts from groups type ItemThreadsItemPostsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -67,12 +67,9 @@ func NewItemThreadsItemPostsRequestBuilder(rawUrl string, requestAdapter i2ae418 func (m *ItemThreadsItemPostsRequestBuilder) Count()(*ItemThreadsItemPostsCountRequestBuilder) { return NewItemThreadsItemPostsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation. +// Get get posts from groups // returns a PostCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/conversationthread-list-posts?view=graph-rest-1.0 func (m *ItemThreadsItemPostsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemThreadsItemPostsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PostCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -90,7 +87,7 @@ func (m *ItemThreadsItemPostsRequestBuilder) Get(ctx context.Context, requestCon } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PostCollectionResponseable), nil } -// ToGetRequestInformation get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation. +// ToGetRequestInformation get posts from groups // returns a *RequestInformation when successful func (m *ItemThreadsItemPostsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemThreadsItemPostsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_threads_item_reply_request_builder.go b/groups/item_threads_item_reply_request_builder.go index 557cfffac52..83df9bbbfae 100644 --- a/groups/item_threads_item_reply_request_builder.go +++ b/groups/item_threads_item_reply_request_builder.go @@ -34,7 +34,7 @@ func NewItemThreadsItemReplyRequestBuilder(rawUrl string, requestAdapter i2ae418 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?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 { diff --git a/groups/item_threads_request_builder.go b/groups/item_threads_request_builder.go index d3b23ed3d47..c4cd73de39c 100644 --- a/groups/item_threads_request_builder.go +++ b/groups/item_threads_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemThreadsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemThreadsRequestBuilderGetQueryParameters get all the threads of a group. Note: You can also get all the threads of a conversation. +// ItemThreadsRequestBuilderGetQueryParameters the group's conversation threads. Nullable. type ItemThreadsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -72,12 +72,9 @@ func NewItemThreadsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 func (m *ItemThreadsRequestBuilder) Count()(*ItemThreadsCountRequestBuilder) { return NewItemThreadsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get all the threads of a group. Note: You can also get all the threads of a conversation. +// Get the group's conversation threads. Nullable. // returns a ConversationThreadCollectionResponseable when successful // returns a ODataError error 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-list-threads?view=graph-rest-1.0 func (m *ItemThreadsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemThreadsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationThreadCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,12 +92,9 @@ func (m *ItemThreadsRequestBuilder) Get(ctx context.Context, requestConfiguratio } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationThreadCollectionResponseable), nil } -// Post start a new group conversation by first creating a thread. A new conversation, conversation thread, and post are created in the group. Use reply thread or reply post to further post to that thread. Note: You can also start a new thread in an existing conversation. +// Post create new navigation property to threads for groups // returns a ConversationThreadable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/group-post-threads?view=graph-rest-1.0 func (m *ItemThreadsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationThreadable, requestConfiguration *ItemThreadsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationThreadable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -118,7 +112,7 @@ func (m *ItemThreadsRequestBuilder) Post(ctx context.Context, body ie233ee762e29 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationThreadable), nil } -// ToGetRequestInformation get all the threads of a group. Note: You can also get all the threads of a conversation. +// ToGetRequestInformation the group's conversation threads. Nullable. // returns a *RequestInformation when successful func (m *ItemThreadsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemThreadsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -132,7 +126,7 @@ func (m *ItemThreadsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation start a new group conversation by first creating a thread. A new conversation, conversation thread, and post are created in the group. Use reply thread or reply post to further post to that thread. Note: You can also start a new thread in an existing conversation. +// ToPostRequestInformation create new navigation property to threads for groups // returns a *RequestInformation when successful func (m *ItemThreadsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationThreadable, requestConfiguration *ItemThreadsRequestBuilderPostRequestConfiguration)(*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 1686de87689..b2b67560fe7 100644 --- a/groups/item_transitive_member_of_request_builder.go +++ b/groups/item_transitive_member_of_request_builder.go @@ -72,9 +72,6 @@ func (m *ItemTransitiveMemberOfRequestBuilder) Count()(*ItemTransitiveMemberOfCo // Get the groups a group is a member of, either directly or through nested membership. Nullable. // returns a DirectoryObjectCollectionResponseable when successful // returns a ODataError error 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-list-transitivememberof?view=graph-rest-1.0 func (m *ItemTransitiveMemberOfRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTransitiveMemberOfRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_transitive_members_request_builder.go b/groups/item_transitive_members_request_builder.go index e4a366d2679..08b43817aab 100644 --- a/groups/item_transitive_members_request_builder.go +++ b/groups/item_transitive_members_request_builder.go @@ -72,9 +72,6 @@ func (m *ItemTransitiveMembersRequestBuilder) Count()(*ItemTransitiveMembersCoun // Get the direct and transitive members of a group. Nullable. // returns a DirectoryObjectCollectionResponseable when successful // returns a ODataError error 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-list-transitivemembers?view=graph-rest-1.0 func (m *ItemTransitiveMembersRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTransitiveMembersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_unsubscribe_by_mail_request_builder.go b/groups/item_unsubscribe_by_mail_request_builder.go index 3504424ff95..2d128e1fd37 100644 --- a/groups/item_unsubscribe_by_mail_request_builder.go +++ b/groups/item_unsubscribe_by_mail_request_builder.go @@ -34,7 +34,7 @@ func NewItemUnsubscribeByMailRequestBuilder(rawUrl string, requestAdapter i2ae41 // returns a ODataError error 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-unsubscribebymail?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/group-unsubscribebymail?view=graph-rest-beta func (m *ItemUnsubscribeByMailRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemUnsubscribeByMailRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/groups/item_validate_properties_request_builder.go b/groups/item_validate_properties_request_builder.go index e47f8a26f7c..bf4d11e67e5 100644 --- a/groups/item_validate_properties_request_builder.go +++ b/groups/item_validate_properties_request_builder.go @@ -34,7 +34,7 @@ func NewItemValidatePropertiesRequestBuilder(rawUrl string, requestAdapter i2ae4 // returns a ODataError error 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-validateproperties?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/group-validateproperties?view=graph-rest-beta func (m *ItemValidatePropertiesRequestBuilder) Post(ctx context.Context, body ItemValidatePropertiesPostRequestBodyable, requestConfiguration *ItemValidatePropertiesRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groups/validate_properties_request_builder.go b/groups/validate_properties_request_builder.go index 8ec9ab5b3aa..591fe916cbe 100644 --- a/groups/validate_properties_request_builder.go +++ b/groups/validate_properties_request_builder.go @@ -34,7 +34,7 @@ func NewValidatePropertiesRequestBuilder(rawUrl string, requestAdapter i2ae4187f // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-validateproperties?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-validateproperties?view=graph-rest-beta func (m *ValidatePropertiesRequestBuilder) Post(ctx context.Context, body ValidatePropertiesPostRequestBodyable, requestConfiguration *ValidatePropertiesRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/groupswithuniquename/groups_with_unique_name_request_builder.go b/groupswithuniquename/groups_with_unique_name_request_builder.go index 04ffc829b59..22fdcd81439 100644 --- a/groupswithuniquename/groups_with_unique_name_request_builder.go +++ b/groupswithuniquename/groups_with_unique_name_request_builder.go @@ -61,7 +61,7 @@ func NewGroupsWithUniqueNameRequestBuilder(rawUrl string, requestAdapter i2ae418 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/group-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/group-delete?view=graph-rest-beta func (m *GroupsWithUniqueNameRequestBuilder) Delete(ctx context.Context, requestConfiguration *GroupsWithUniqueNameRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -81,7 +81,7 @@ func (m *GroupsWithUniqueNameRequestBuilder) Delete(ctx context.Context, request // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/group-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/group-get?view=graph-rest-beta func (m *GroupsWithUniqueNameRequestBuilder) Get(ctx context.Context, requestConfiguration *GroupsWithUniqueNameRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Groupable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,7 +104,7 @@ func (m *GroupsWithUniqueNameRequestBuilder) Get(ctx context.Context, requestCon // returns a ODataError error 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-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/group-upsert?view=graph-rest-beta func (m *GroupsWithUniqueNameRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Groupable, requestConfiguration *GroupsWithUniqueNameRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Groupable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/identity/api_connectors_identity_api_connector_item_request_builder.go b/identity/api_connectors_identity_api_connector_item_request_builder.go index 761c2007fee..17df2ed2930 100644 --- a/identity/api_connectors_identity_api_connector_item_request_builder.go +++ b/identity/api_connectors_identity_api_connector_item_request_builder.go @@ -18,7 +18,7 @@ type ApiConnectorsIdentityApiConnectorItemRequestBuilderDeleteRequestConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ApiConnectorsIdentityApiConnectorItemRequestBuilderGetQueryParameters read the properties of an identityApiConnector object. +// ApiConnectorsIdentityApiConnectorItemRequestBuilderGetQueryParameters represents entry point for API connectors. type ApiConnectorsIdentityApiConnectorItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewApiConnectorsIdentityApiConnectorItemRequestBuilder(rawUrl string, reque urlParams["request-raw-url"] = rawUrl return NewApiConnectorsIdentityApiConnectorItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes an identityApiConnector object. +// Delete delete navigation property apiConnectors for identity // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identityapiconnector-delete?view=graph-rest-1.0 func (m *ApiConnectorsIdentityApiConnectorItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ApiConnectorsIdentityApiConnectorItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ApiConnectorsIdentityApiConnectorItemRequestBuilder) Delete(ctx context } return nil } -// Get read the properties of an identityApiConnector object. +// Get represents entry point for API connectors. // returns a IdentityApiConnectorable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identityapiconnector-get?view=graph-rest-1.0 func (m *ApiConnectorsIdentityApiConnectorItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ApiConnectorsIdentityApiConnectorItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityApiConnectorable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ApiConnectorsIdentityApiConnectorItemRequestBuilder) Get(ctx context.Co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityApiConnectorable), nil } -// Patch update the properties of an identityApiConnector object. +// Patch update the navigation property apiConnectors in identity // returns a IdentityApiConnectorable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identityapiconnector-update?view=graph-rest-1.0 func (m *ApiConnectorsIdentityApiConnectorItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityApiConnectorable, requestConfiguration *ApiConnectorsIdentityApiConnectorItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityApiConnectorable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *ApiConnectorsIdentityApiConnectorItemRequestBuilder) Patch(ctx context. } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityApiConnectorable), nil } -// ToDeleteRequestInformation deletes an identityApiConnector object. +// ToDeleteRequestInformation delete navigation property apiConnectors for identity // returns a *RequestInformation when successful func (m *ApiConnectorsIdentityApiConnectorItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ApiConnectorsIdentityApiConnectorItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *ApiConnectorsIdentityApiConnectorItemRequestBuilder) ToDeleteRequestInf requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties of an identityApiConnector object. +// ToGetRequestInformation represents entry point for API connectors. // returns a *RequestInformation when successful func (m *ApiConnectorsIdentityApiConnectorItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ApiConnectorsIdentityApiConnectorItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *ApiConnectorsIdentityApiConnectorItemRequestBuilder) ToGetRequestInform requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an identityApiConnector object. +// ToPatchRequestInformation update the navigation property apiConnectors in identity // returns a *RequestInformation when successful func (m *ApiConnectorsIdentityApiConnectorItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityApiConnectorable, requestConfiguration *ApiConnectorsIdentityApiConnectorItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/api_connectors_item_upload_client_certificate_request_builder.go b/identity/api_connectors_item_upload_client_certificate_request_builder.go index a2b736ee385..bc07ecb1b53 100644 --- a/identity/api_connectors_item_upload_client_certificate_request_builder.go +++ b/identity/api_connectors_item_upload_client_certificate_request_builder.go @@ -36,7 +36,7 @@ func NewApiConnectorsItemUploadClientCertificateRequestBuilder(rawUrl string, re // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/identityapiconnector-uploadclientcertificate?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/identityapiconnector-uploadclientcertificate?view=graph-rest-beta func (m *ApiConnectorsItemUploadClientCertificateRequestBuilder) Post(ctx context.Context, body ApiConnectorsItemUploadClientCertificatePostRequestBodyable, requestConfiguration *ApiConnectorsItemUploadClientCertificateRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityApiConnectorable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/identity/api_connectors_request_builder.go b/identity/api_connectors_request_builder.go index e8ab044c54f..39ef0b70829 100644 --- a/identity/api_connectors_request_builder.go +++ b/identity/api_connectors_request_builder.go @@ -11,7 +11,7 @@ import ( type ApiConnectorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ApiConnectorsRequestBuilderGetQueryParameters read the properties of an identityApiConnector object. +// ApiConnectorsRequestBuilderGetQueryParameters represents entry point for API connectors. type ApiConnectorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewApiConnectorsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee func (m *ApiConnectorsRequestBuilder) Count()(*ApiConnectorsCountRequestBuilder) { return NewApiConnectorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties of an identityApiConnector object. +// Get represents entry point for API connectors. // returns a IdentityApiConnectorCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identityapiconnector-list?view=graph-rest-1.0 func (m *ApiConnectorsRequestBuilder) Get(ctx context.Context, requestConfiguration *ApiConnectorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityApiConnectorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ApiConnectorsRequestBuilder) Get(ctx context.Context, requestConfigurat } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityApiConnectorCollectionResponseable), nil } -// Post create a new identityApiConnector object. +// Post create new navigation property to apiConnectors for identity // returns a IdentityApiConnectorable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identityapiconnector-create?view=graph-rest-1.0 func (m *ApiConnectorsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityApiConnectorable, requestConfiguration *ApiConnectorsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityApiConnectorable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ApiConnectorsRequestBuilder) Post(ctx context.Context, body ie233ee762e } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityApiConnectorable), nil } -// ToGetRequestInformation read the properties of an identityApiConnector object. +// ToGetRequestInformation represents entry point for API connectors. // returns a *RequestInformation when successful func (m *ApiConnectorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ApiConnectorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ApiConnectorsRequestBuilder) ToGetRequestInformation(ctx context.Contex requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new identityApiConnector object. +// ToPostRequestInformation create new navigation property to apiConnectors for identity // returns a *RequestInformation when successful func (m *ApiConnectorsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityApiConnectorable, requestConfiguration *ApiConnectorsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/authentication_event_listeners_authentication_event_listener_item_request_builder.go b/identity/authentication_event_listeners_authentication_event_listener_item_request_builder.go index f9f0711b897..4dc22121921 100644 --- a/identity/authentication_event_listeners_authentication_event_listener_item_request_builder.go +++ b/identity/authentication_event_listeners_authentication_event_listener_item_request_builder.go @@ -54,11 +54,8 @@ func NewAuthenticationEventListenersAuthenticationEventListenerItemRequestBuilde urlParams["request-raw-url"] = rawUrl return NewAuthenticationEventListenersAuthenticationEventListenerItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes an authenticationEventListener object. +// Delete delete navigation property authenticationEventListeners for identity // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationeventlistener-delete?view=graph-rest-1.0 func (m *AuthenticationEventListenersAuthenticationEventListenerItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *AuthenticationEventListenersAuthenticationEventListenerItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *AuthenticationEventListenersAuthenticationEventListenerItemRequestBuild } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationEventListenerable), nil } -// Patch update the properties of an authenticationEventListener object. You must specify the @odata.type property and the value of the authenticationEventListener object type to update. +// Patch update the navigation property authenticationEventListeners in identity // returns a AuthenticationEventListenerable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationeventlistener-update?view=graph-rest-1.0 func (m *AuthenticationEventListenersAuthenticationEventListenerItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationEventListenerable, requestConfiguration *AuthenticationEventListenersAuthenticationEventListenerItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationEventListenerable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -116,7 +110,7 @@ func (m *AuthenticationEventListenersAuthenticationEventListenerItemRequestBuild } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationEventListenerable), nil } -// ToDeleteRequestInformation deletes an authenticationEventListener object. +// ToDeleteRequestInformation delete navigation property authenticationEventListeners for identity // returns a *RequestInformation when successful func (m *AuthenticationEventListenersAuthenticationEventListenerItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *AuthenticationEventListenersAuthenticationEventListenerItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *AuthenticationEventListenersAuthenticationEventListenerItemRequestBuild requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an authenticationEventListener object. You must specify the @odata.type property and the value of the authenticationEventListener object type to update. +// ToPatchRequestInformation update the navigation property authenticationEventListeners in identity // returns a *RequestInformation when successful func (m *AuthenticationEventListenersAuthenticationEventListenerItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationEventListenerable, requestConfiguration *AuthenticationEventListenersAuthenticationEventListenerItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/authentication_event_listeners_request_builder.go b/identity/authentication_event_listeners_request_builder.go index 1fe4b5805b0..55f2a0bff6c 100644 --- a/identity/authentication_event_listeners_request_builder.go +++ b/identity/authentication_event_listeners_request_builder.go @@ -11,7 +11,7 @@ import ( type AuthenticationEventListenersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AuthenticationEventListenersRequestBuilderGetQueryParameters get a list of the authenticationEventListener objects and their properties. The following derived types are supported: +// AuthenticationEventListenersRequestBuilderGetQueryParameters get authenticationEventListeners from identity type AuthenticationEventListenersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewAuthenticationEventListenersRequestBuilder(rawUrl string, requestAdapter func (m *AuthenticationEventListenersRequestBuilder) Count()(*AuthenticationEventListenersCountRequestBuilder) { return NewAuthenticationEventListenersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the authenticationEventListener objects and their properties. The following derived types are supported: +// Get get authenticationEventListeners from identity // returns a AuthenticationEventListenerCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identitycontainer-list-authenticationeventlisteners?view=graph-rest-1.0 func (m *AuthenticationEventListenersRequestBuilder) Get(ctx context.Context, requestConfiguration *AuthenticationEventListenersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationEventListenerCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *AuthenticationEventListenersRequestBuilder) Get(ctx context.Context, re } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationEventListenerCollectionResponseable), nil } -// Post create a new authenticationEventListener object. You can create one of the following subtypes that are derived from authenticationEventListener. +// Post create new navigation property to authenticationEventListeners for identity // returns a AuthenticationEventListenerable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identitycontainer-post-authenticationeventlisteners?view=graph-rest-1.0 func (m *AuthenticationEventListenersRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationEventListenerable, requestConfiguration *AuthenticationEventListenersRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationEventListenerable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *AuthenticationEventListenersRequestBuilder) Post(ctx context.Context, b } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationEventListenerable), nil } -// ToGetRequestInformation get a list of the authenticationEventListener objects and their properties. The following derived types are supported: +// ToGetRequestInformation get authenticationEventListeners from identity // returns a *RequestInformation when successful func (m *AuthenticationEventListenersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AuthenticationEventListenersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *AuthenticationEventListenersRequestBuilder) ToGetRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new authenticationEventListener object. You can create one of the following subtypes that are derived from authenticationEventListener. +// ToPostRequestInformation create new navigation property to authenticationEventListeners for identity // returns a *RequestInformation when successful func (m *AuthenticationEventListenersRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationEventListenerable, requestConfiguration *AuthenticationEventListenersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/authentication_events_flows_authentication_events_flow_item_request_builder.go b/identity/authentication_events_flows_authentication_events_flow_item_request_builder.go index 32e9cdc4e1b..56fe72d1c18 100644 --- a/identity/authentication_events_flows_authentication_events_flow_item_request_builder.go +++ b/identity/authentication_events_flows_authentication_events_flow_item_request_builder.go @@ -18,7 +18,7 @@ type AuthenticationEventsFlowsAuthenticationEventsFlowItemRequestBuilderDeleteRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// AuthenticationEventsFlowsAuthenticationEventsFlowItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a specific authenticationEventsFlow object by ID. Only externalUsersSelfServiceSignupEventsFlow object types are available. +// AuthenticationEventsFlowsAuthenticationEventsFlowItemRequestBuilderGetQueryParameters represents the entry point for self-service sign up and sign in user flows in both Microsoft Entra workforce and customer tenants. type AuthenticationEventsFlowsAuthenticationEventsFlowItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewAuthenticationEventsFlowsAuthenticationEventsFlowItemRequestBuilder(rawU urlParams["request-raw-url"] = rawUrl return NewAuthenticationEventsFlowsAuthenticationEventsFlowItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a specific authenticationEventsFlow resource by ID. Only externalUsersSelfServiceSignupEventsFlow object types are available. +// Delete delete navigation property authenticationEventsFlows for identity // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationeventsflow-delete?view=graph-rest-1.0 func (m *AuthenticationEventsFlowsAuthenticationEventsFlowItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *AuthenticationEventsFlowsAuthenticationEventsFlowItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *AuthenticationEventsFlowsAuthenticationEventsFlowItemRequestBuilder) De } return nil } -// Get retrieve the properties and relationships of a specific authenticationEventsFlow object by ID. Only externalUsersSelfServiceSignupEventsFlow object types are available. +// Get represents the entry point for self-service sign up and sign in user flows in both Microsoft Entra workforce and customer tenants. // returns a AuthenticationEventsFlowable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationeventsflow-get?view=graph-rest-1.0 func (m *AuthenticationEventsFlowsAuthenticationEventsFlowItemRequestBuilder) Get(ctx context.Context, requestConfiguration *AuthenticationEventsFlowsAuthenticationEventsFlowItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationEventsFlowable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -106,12 +100,9 @@ func (m *AuthenticationEventsFlowsAuthenticationEventsFlowItemRequestBuilder) Ge func (m *AuthenticationEventsFlowsAuthenticationEventsFlowItemRequestBuilder) GraphExternalUsersSelfServiceSignUpEventsFlow()(*AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowRequestBuilder) { return NewAuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of an authenticationEventsFlow object. Only the externalUsersSelfServiceSignupEventsFlow object type is supported. +// Patch update the navigation property authenticationEventsFlows in identity // returns a AuthenticationEventsFlowable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationeventsflow-update?view=graph-rest-1.0 func (m *AuthenticationEventsFlowsAuthenticationEventsFlowItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationEventsFlowable, requestConfiguration *AuthenticationEventsFlowsAuthenticationEventsFlowItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationEventsFlowable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -129,7 +120,7 @@ func (m *AuthenticationEventsFlowsAuthenticationEventsFlowItemRequestBuilder) Pa } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationEventsFlowable), nil } -// ToDeleteRequestInformation delete a specific authenticationEventsFlow resource by ID. Only externalUsersSelfServiceSignupEventsFlow object types are available. +// ToDeleteRequestInformation delete navigation property authenticationEventsFlows for identity // returns a *RequestInformation when successful func (m *AuthenticationEventsFlowsAuthenticationEventsFlowItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *AuthenticationEventsFlowsAuthenticationEventsFlowItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -140,7 +131,7 @@ func (m *AuthenticationEventsFlowsAuthenticationEventsFlowItemRequestBuilder) To requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a specific authenticationEventsFlow object by ID. Only externalUsersSelfServiceSignupEventsFlow object types are available. +// ToGetRequestInformation represents the entry point for self-service sign up and sign in user flows in both Microsoft Entra workforce and customer tenants. // returns a *RequestInformation when successful func (m *AuthenticationEventsFlowsAuthenticationEventsFlowItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AuthenticationEventsFlowsAuthenticationEventsFlowItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -154,7 +145,7 @@ func (m *AuthenticationEventsFlowsAuthenticationEventsFlowItemRequestBuilder) To requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an authenticationEventsFlow object. Only the externalUsersSelfServiceSignupEventsFlow object type is supported. +// ToPatchRequestInformation update the navigation property authenticationEventsFlows in identity // returns a *RequestInformation when successful func (m *AuthenticationEventsFlowsAuthenticationEventsFlowItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationEventsFlowable, requestConfiguration *AuthenticationEventsFlowsAuthenticationEventsFlowItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/authentication_events_flows_request_builder.go b/identity/authentication_events_flows_request_builder.go index 5e946ee0960..4114c2a9a00 100644 --- a/identity/authentication_events_flows_request_builder.go +++ b/identity/authentication_events_flows_request_builder.go @@ -11,7 +11,7 @@ import ( type AuthenticationEventsFlowsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AuthenticationEventsFlowsRequestBuilderGetQueryParameters get a collection of authentication events policies that are derived from authenticationEventsFlow. Only the externalUsersSelfServiceSignupEventsFlow object type is returned. +// AuthenticationEventsFlowsRequestBuilderGetQueryParameters represents the entry point for self-service sign up and sign in user flows in both Microsoft Entra workforce and customer tenants. type AuthenticationEventsFlowsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewAuthenticationEventsFlowsRequestBuilder(rawUrl string, requestAdapter i2 func (m *AuthenticationEventsFlowsRequestBuilder) Count()(*AuthenticationEventsFlowsCountRequestBuilder) { return NewAuthenticationEventsFlowsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a collection of authentication events policies that are derived from authenticationEventsFlow. Only the externalUsersSelfServiceSignupEventsFlow object type is returned. +// Get represents the entry point for self-service sign up and sign in user flows in both Microsoft Entra workforce and customer tenants. // returns a AuthenticationEventsFlowCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identitycontainer-list-authenticationeventsflows?view=graph-rest-1.0 func (m *AuthenticationEventsFlowsRequestBuilder) Get(ctx context.Context, requestConfiguration *AuthenticationEventsFlowsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationEventsFlowCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *AuthenticationEventsFlowsRequestBuilder) Get(ctx context.Context, reque func (m *AuthenticationEventsFlowsRequestBuilder) GraphExternalUsersSelfServiceSignUpEventsFlow()(*AuthenticationEventsFlowsGraphExternalUsersSelfServiceSignUpEventsFlowRequestBuilder) { return NewAuthenticationEventsFlowsGraphExternalUsersSelfServiceSignUpEventsFlowRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Post create a new authenticationEventsFlow object that is of the type specified in the request body. You can create only an externalUsersSelfServiceSignupEventsFlow object type. +// Post create new navigation property to authenticationEventsFlows for identity // returns a AuthenticationEventsFlowable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identitycontainer-post-authenticationeventsflows?view=graph-rest-1.0 func (m *AuthenticationEventsFlowsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationEventsFlowable, requestConfiguration *AuthenticationEventsFlowsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationEventsFlowable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *AuthenticationEventsFlowsRequestBuilder) Post(ctx context.Context, body } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationEventsFlowable), nil } -// ToGetRequestInformation get a collection of authentication events policies that are derived from authenticationEventsFlow. Only the externalUsersSelfServiceSignupEventsFlow object type is returned. +// ToGetRequestInformation represents the entry point for self-service sign up and sign in user flows in both Microsoft Entra workforce and customer tenants. // returns a *RequestInformation when successful func (m *AuthenticationEventsFlowsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AuthenticationEventsFlowsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *AuthenticationEventsFlowsRequestBuilder) ToGetRequestInformation(ctx co requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new authenticationEventsFlow object that is of the type specified in the request body. You can create only an externalUsersSelfServiceSignupEventsFlow object type. +// ToPostRequestInformation create new navigation property to authenticationEventsFlows for identity // returns a *RequestInformation when successful func (m *AuthenticationEventsFlowsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationEventsFlowable, requestConfiguration *AuthenticationEventsFlowsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/b2c_user_flows_b2c_identity_user_flow_item_request_builder.go b/identity/b2c_user_flows_b2c_identity_user_flow_item_request_builder.go index 695cc62ac25..81ec42522dd 100644 --- a/identity/b2c_user_flows_b2c_identity_user_flow_item_request_builder.go +++ b/identity/b2c_user_flows_b2c_identity_user_flow_item_request_builder.go @@ -18,7 +18,7 @@ type B2cUserFlowsB2cIdentityUserFlowItemRequestBuilderDeleteRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// B2cUserFlowsB2cIdentityUserFlowItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a b2cUserFlow object. +// B2cUserFlowsB2cIdentityUserFlowItemRequestBuilderGetQueryParameters represents entry point for B2C identity userflows. type B2cUserFlowsB2cIdentityUserFlowItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewB2cUserFlowsB2cIdentityUserFlowItemRequestBuilder(rawUrl string, request urlParams["request-raw-url"] = rawUrl return NewB2cUserFlowsB2cIdentityUserFlowItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a b2cIdentityUserFlow object. +// Delete delete navigation property b2cUserFlows for identity // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/b2cidentityuserflow-delete?view=graph-rest-1.0 func (m *B2cUserFlowsB2cIdentityUserFlowItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *B2cUserFlowsB2cIdentityUserFlowItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *B2cUserFlowsB2cIdentityUserFlowItemRequestBuilder) Delete(ctx context.C } return nil } -// Get retrieve the properties and relationships of a b2cUserFlow object. +// Get represents entry point for B2C identity userflows. // returns a B2cIdentityUserFlowable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/b2cidentityuserflow-get?view=graph-rest-1.0 func (m *B2cUserFlowsB2cIdentityUserFlowItemRequestBuilder) Get(ctx context.Context, requestConfiguration *B2cUserFlowsB2cIdentityUserFlowItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.B2cIdentityUserFlowable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -106,12 +100,9 @@ func (m *B2cUserFlowsB2cIdentityUserFlowItemRequestBuilder) IdentityProviders()( func (m *B2cUserFlowsB2cIdentityUserFlowItemRequestBuilder) Languages()(*B2cUserFlowsItemLanguagesRequestBuilder) { return NewB2cUserFlowsItemLanguagesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of a b2cIdentityUserFlow object. +// Patch update the navigation property b2cUserFlows in identity // returns a B2cIdentityUserFlowable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/b2cidentityuserflow-update?view=graph-rest-1.0 func (m *B2cUserFlowsB2cIdentityUserFlowItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.B2cIdentityUserFlowable, requestConfiguration *B2cUserFlowsB2cIdentityUserFlowItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.B2cIdentityUserFlowable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -129,7 +120,7 @@ func (m *B2cUserFlowsB2cIdentityUserFlowItemRequestBuilder) Patch(ctx context.Co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.B2cIdentityUserFlowable), nil } -// ToDeleteRequestInformation delete a b2cIdentityUserFlow object. +// ToDeleteRequestInformation delete navigation property b2cUserFlows for identity // returns a *RequestInformation when successful func (m *B2cUserFlowsB2cIdentityUserFlowItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *B2cUserFlowsB2cIdentityUserFlowItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -140,7 +131,7 @@ func (m *B2cUserFlowsB2cIdentityUserFlowItemRequestBuilder) ToDeleteRequestInfor requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a b2cUserFlow object. +// ToGetRequestInformation represents entry point for B2C identity userflows. // returns a *RequestInformation when successful func (m *B2cUserFlowsB2cIdentityUserFlowItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *B2cUserFlowsB2cIdentityUserFlowItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -154,7 +145,7 @@ func (m *B2cUserFlowsB2cIdentityUserFlowItemRequestBuilder) ToGetRequestInformat requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a b2cIdentityUserFlow object. +// ToPatchRequestInformation update the navigation property b2cUserFlows in identity // returns a *RequestInformation when successful func (m *B2cUserFlowsB2cIdentityUserFlowItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.B2cIdentityUserFlowable, requestConfiguration *B2cUserFlowsB2cIdentityUserFlowItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/b2c_user_flows_item_identity_providers_item_ref_request_builder.go b/identity/b2c_user_flows_item_identity_providers_item_ref_request_builder.go index 44ed88e918e..e6ae8ce68ce 100644 --- a/identity/b2c_user_flows_item_identity_providers_item_ref_request_builder.go +++ b/identity/b2c_user_flows_item_identity_providers_item_ref_request_builder.go @@ -30,12 +30,9 @@ func NewB2cUserFlowsItemIdentityProvidersItemRefRequestBuilder(rawUrl string, re urlParams["request-raw-url"] = rawUrl return NewB2cUserFlowsItemIdentityProvidersItemRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an identity provider from a b2cIdentityUserFlow object. For more information about identity providers available for user flows, see the identityProviders API reference. +// Delete delete ref of navigation property identityProviders for identity // Deprecated: The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/b2cidentityuserflow-delete-identityproviders?view=graph-rest-1.0 func (m *B2cUserFlowsItemIdentityProvidersItemRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *B2cUserFlowsItemIdentityProvidersItemRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -50,7 +47,7 @@ func (m *B2cUserFlowsItemIdentityProvidersItemRefRequestBuilder) Delete(ctx cont } return nil } -// ToDeleteRequestInformation delete an identity provider from a b2cIdentityUserFlow object. For more information about identity providers available for user flows, see the identityProviders API reference. +// ToDeleteRequestInformation delete ref of navigation property identityProviders for identity // Deprecated: The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider // returns a *RequestInformation when successful func (m *B2cUserFlowsItemIdentityProvidersItemRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *B2cUserFlowsItemIdentityProvidersItemRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/identity/b2c_user_flows_item_identity_providers_ref_request_builder.go b/identity/b2c_user_flows_item_identity_providers_ref_request_builder.go index ddcd864aaff..bf2781ff442 100644 --- a/identity/b2c_user_flows_item_identity_providers_ref_request_builder.go +++ b/identity/b2c_user_flows_item_identity_providers_ref_request_builder.go @@ -11,7 +11,7 @@ import ( type B2cUserFlowsItemIdentityProvidersRefRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// B2cUserFlowsItemIdentityProvidersRefRequestBuilderDeleteQueryParameters delete an identity provider from a b2cIdentityUserFlow object. For more information about identity providers available for user flows, see the identityProviders API reference. +// B2cUserFlowsItemIdentityProvidersRefRequestBuilderDeleteQueryParameters delete ref of navigation property identityProviders for identity type B2cUserFlowsItemIdentityProvidersRefRequestBuilderDeleteQueryParameters struct { // The delete Uri Id *string `uriparametername:"%40id"` @@ -25,7 +25,7 @@ type B2cUserFlowsItemIdentityProvidersRefRequestBuilderDeleteRequestConfiguratio // Request query parameters QueryParameters *B2cUserFlowsItemIdentityProvidersRefRequestBuilderDeleteQueryParameters } -// B2cUserFlowsItemIdentityProvidersRefRequestBuilderGetQueryParameters get the identity providers in a b2cIdentityUserFlow object. +// B2cUserFlowsItemIdentityProvidersRefRequestBuilderGetQueryParameters get ref of identityProviders from identity type B2cUserFlowsItemIdentityProvidersRefRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewB2cUserFlowsItemIdentityProvidersRefRequestBuilder(rawUrl string, reques urlParams["request-raw-url"] = rawUrl return NewB2cUserFlowsItemIdentityProvidersRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an identity provider from a b2cIdentityUserFlow object. For more information about identity providers available for user flows, see the identityProviders API reference. +// Delete delete ref of navigation property identityProviders for identity // Deprecated: The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/b2cidentityuserflow-delete-identityproviders?view=graph-rest-1.0 func (m *B2cUserFlowsItemIdentityProvidersRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *B2cUserFlowsItemIdentityProvidersRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,13 +86,10 @@ func (m *B2cUserFlowsItemIdentityProvidersRefRequestBuilder) Delete(ctx context. } return nil } -// Get get the identity providers in a b2cIdentityUserFlow object. +// Get get ref of identityProviders from identity // Deprecated: The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider // returns a StringCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/b2cidentityuserflow-list-identityproviders?view=graph-rest-1.0 func (m *B2cUserFlowsItemIdentityProvidersRefRequestBuilder) Get(ctx context.Context, requestConfiguration *B2cUserFlowsItemIdentityProvidersRefRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -113,12 +107,9 @@ func (m *B2cUserFlowsItemIdentityProvidersRefRequestBuilder) Get(ctx context.Con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable), nil } -// Post add identity providers in a b2cIdentityUserFlow object. +// Post create new navigation property ref to identityProviders for identity // Deprecated: The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/b2cidentityuserflow-post-identityproviders?view=graph-rest-1.0 func (m *B2cUserFlowsItemIdentityProvidersRefRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *B2cUserFlowsItemIdentityProvidersRefRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -133,7 +124,7 @@ func (m *B2cUserFlowsItemIdentityProvidersRefRequestBuilder) Post(ctx context.Co } return nil } -// ToDeleteRequestInformation delete an identity provider from a b2cIdentityUserFlow object. For more information about identity providers available for user flows, see the identityProviders API reference. +// ToDeleteRequestInformation delete ref of navigation property identityProviders for identity // Deprecated: The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider // returns a *RequestInformation when successful func (m *B2cUserFlowsItemIdentityProvidersRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *B2cUserFlowsItemIdentityProvidersRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -148,7 +139,7 @@ func (m *B2cUserFlowsItemIdentityProvidersRefRequestBuilder) ToDeleteRequestInfo requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the identity providers in a b2cIdentityUserFlow object. +// ToGetRequestInformation get ref of identityProviders from identity // Deprecated: The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider // returns a *RequestInformation when successful func (m *B2cUserFlowsItemIdentityProvidersRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *B2cUserFlowsItemIdentityProvidersRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -163,7 +154,7 @@ func (m *B2cUserFlowsItemIdentityProvidersRefRequestBuilder) ToGetRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add identity providers in a b2cIdentityUserFlow object. +// ToPostRequestInformation create new navigation property ref to identityProviders for identity // Deprecated: The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider // returns a *RequestInformation when successful func (m *B2cUserFlowsItemIdentityProvidersRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *B2cUserFlowsItemIdentityProvidersRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/identity/b2c_user_flows_item_identity_providers_request_builder.go b/identity/b2c_user_flows_item_identity_providers_request_builder.go index 2ffcb2c65d5..5deecd7118f 100644 --- a/identity/b2c_user_flows_item_identity_providers_request_builder.go +++ b/identity/b2c_user_flows_item_identity_providers_request_builder.go @@ -11,7 +11,7 @@ import ( type B2cUserFlowsItemIdentityProvidersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// B2cUserFlowsItemIdentityProvidersRequestBuilderGetQueryParameters get the identity providers in a b2cIdentityUserFlow object. +// B2cUserFlowsItemIdentityProvidersRequestBuilderGetQueryParameters get identityProviders from identity type B2cUserFlowsItemIdentityProvidersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,13 +69,10 @@ func NewB2cUserFlowsItemIdentityProvidersRequestBuilder(rawUrl string, requestAd func (m *B2cUserFlowsItemIdentityProvidersRequestBuilder) Count()(*B2cUserFlowsItemIdentityProvidersCountRequestBuilder) { return NewB2cUserFlowsItemIdentityProvidersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the identity providers in a b2cIdentityUserFlow object. +// Get get identityProviders from identity // Deprecated: The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider // returns a IdentityProviderCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/b2cidentityuserflow-list-identityproviders?view=graph-rest-1.0 func (m *B2cUserFlowsItemIdentityProvidersRequestBuilder) Get(ctx context.Context, requestConfiguration *B2cUserFlowsItemIdentityProvidersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityProviderCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,7 +95,7 @@ func (m *B2cUserFlowsItemIdentityProvidersRequestBuilder) Get(ctx context.Contex func (m *B2cUserFlowsItemIdentityProvidersRequestBuilder) Ref()(*B2cUserFlowsItemIdentityProvidersRefRequestBuilder) { return NewB2cUserFlowsItemIdentityProvidersRefRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation get the identity providers in a b2cIdentityUserFlow object. +// ToGetRequestInformation get identityProviders from identity // Deprecated: The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider // returns a *RequestInformation when successful func (m *B2cUserFlowsItemIdentityProvidersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *B2cUserFlowsItemIdentityProvidersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/identity/b2c_user_flows_item_languages_item_default_pages_item_value_content_request_builder.go b/identity/b2c_user_flows_item_languages_item_default_pages_item_value_content_request_builder.go index e7a14f1531a..b29f521a827 100644 --- a/identity/b2c_user_flows_item_languages_item_default_pages_item_value_content_request_builder.go +++ b/identity/b2c_user_flows_item_languages_item_default_pages_item_value_content_request_builder.go @@ -40,9 +40,6 @@ func NewB2cUserFlowsItemLanguagesItemDefaultPagesItemValueContentRequestBuilder( // Get get media content for the navigation property defaultPages from identity // 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/userflowlanguageconfiguration-list-defaultpages?view=graph-rest-1.0 func (m *B2cUserFlowsItemLanguagesItemDefaultPagesItemValueContentRequestBuilder) Get(ctx context.Context, requestConfiguration *B2cUserFlowsItemLanguagesItemDefaultPagesItemValueContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identity/b2c_user_flows_item_languages_item_default_pages_request_builder.go b/identity/b2c_user_flows_item_languages_item_default_pages_request_builder.go index 6a7210aaf6c..988474110aa 100644 --- a/identity/b2c_user_flows_item_languages_item_default_pages_request_builder.go +++ b/identity/b2c_user_flows_item_languages_item_default_pages_request_builder.go @@ -11,7 +11,7 @@ import ( type B2cUserFlowsItemLanguagesItemDefaultPagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// B2cUserFlowsItemLanguagesItemDefaultPagesRequestBuilderGetQueryParameters get the userFlowLanguagePage resources from the defaultPages navigation property. These contain the values shown to the user in a default user journey of a user flow. +// B2cUserFlowsItemLanguagesItemDefaultPagesRequestBuilderGetQueryParameters collection of pages with the default content to display in a user flow for a specified language. This collection doesn't allow any kind of modification. type B2cUserFlowsItemLanguagesItemDefaultPagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewB2cUserFlowsItemLanguagesItemDefaultPagesRequestBuilder(rawUrl string, r func (m *B2cUserFlowsItemLanguagesItemDefaultPagesRequestBuilder) Count()(*B2cUserFlowsItemLanguagesItemDefaultPagesCountRequestBuilder) { return NewB2cUserFlowsItemLanguagesItemDefaultPagesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the userFlowLanguagePage resources from the defaultPages navigation property. These contain the values shown to the user in a default user journey of a user flow. +// Get collection of pages with the default content to display in a user flow for a specified language. This collection doesn't allow any kind of modification. // returns a UserFlowLanguagePageCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/userflowlanguageconfiguration-list-defaultpages?view=graph-rest-1.0 func (m *B2cUserFlowsItemLanguagesItemDefaultPagesRequestBuilder) Get(ctx context.Context, requestConfiguration *B2cUserFlowsItemLanguagesItemDefaultPagesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserFlowLanguagePageCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *B2cUserFlowsItemLanguagesItemDefaultPagesRequestBuilder) Post(ctx conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserFlowLanguagePageable), nil } -// ToGetRequestInformation get the userFlowLanguagePage resources from the defaultPages navigation property. These contain the values shown to the user in a default user journey of a user flow. +// ToGetRequestInformation collection of pages with the default content to display in a user flow for a specified language. This collection doesn't allow any kind of modification. // returns a *RequestInformation when successful func (m *B2cUserFlowsItemLanguagesItemDefaultPagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *B2cUserFlowsItemLanguagesItemDefaultPagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/b2c_user_flows_item_languages_item_overrides_pages_item_value_content_request_builder.go b/identity/b2c_user_flows_item_languages_item_overrides_pages_item_value_content_request_builder.go index 935fc17512b..04bd2779bfc 100644 --- a/identity/b2c_user_flows_item_languages_item_overrides_pages_item_value_content_request_builder.go +++ b/identity/b2c_user_flows_item_languages_item_overrides_pages_item_value_content_request_builder.go @@ -40,9 +40,6 @@ func NewB2cUserFlowsItemLanguagesItemOverridesPagesItemValueContentRequestBuilde // Get get media content for the navigation property overridesPages from identity // 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/userflowlanguageconfiguration-list-overridespages?view=graph-rest-1.0 func (m *B2cUserFlowsItemLanguagesItemOverridesPagesItemValueContentRequestBuilder) Get(ctx context.Context, requestConfiguration *B2cUserFlowsItemLanguagesItemOverridesPagesItemValueContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identity/b2c_user_flows_item_languages_item_overrides_pages_request_builder.go b/identity/b2c_user_flows_item_languages_item_overrides_pages_request_builder.go index 0e2c8a9d7c2..8fe782825de 100644 --- a/identity/b2c_user_flows_item_languages_item_overrides_pages_request_builder.go +++ b/identity/b2c_user_flows_item_languages_item_overrides_pages_request_builder.go @@ -11,7 +11,7 @@ import ( type B2cUserFlowsItemLanguagesItemOverridesPagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// B2cUserFlowsItemLanguagesItemOverridesPagesRequestBuilderGetQueryParameters get the userFlowLanguagePage resources from the overridesPages navigation property. These pages are used to customize the values shown to the user during a user journey in a user flow. +// B2cUserFlowsItemLanguagesItemOverridesPagesRequestBuilderGetQueryParameters collection of pages with the overrides messages to display in a user flow for a specified language. This collection only allows to modify the content of the page, any other modification isn't allowed (creation or deletion of pages). type B2cUserFlowsItemLanguagesItemOverridesPagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewB2cUserFlowsItemLanguagesItemOverridesPagesRequestBuilder(rawUrl string, func (m *B2cUserFlowsItemLanguagesItemOverridesPagesRequestBuilder) Count()(*B2cUserFlowsItemLanguagesItemOverridesPagesCountRequestBuilder) { return NewB2cUserFlowsItemLanguagesItemOverridesPagesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the userFlowLanguagePage resources from the overridesPages navigation property. These pages are used to customize the values shown to the user during a user journey in a user flow. +// Get collection of pages with the overrides messages to display in a user flow for a specified language. This collection only allows to modify the content of the page, any other modification isn't allowed (creation or deletion of pages). // returns a UserFlowLanguagePageCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/userflowlanguageconfiguration-list-overridespages?view=graph-rest-1.0 func (m *B2cUserFlowsItemLanguagesItemOverridesPagesRequestBuilder) Get(ctx context.Context, requestConfiguration *B2cUserFlowsItemLanguagesItemOverridesPagesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserFlowLanguagePageCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *B2cUserFlowsItemLanguagesItemOverridesPagesRequestBuilder) Post(ctx con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserFlowLanguagePageable), nil } -// ToGetRequestInformation get the userFlowLanguagePage resources from the overridesPages navigation property. These pages are used to customize the values shown to the user during a user journey in a user flow. +// ToGetRequestInformation collection of pages with the overrides messages to display in a user flow for a specified language. This collection only allows to modify the content of the page, any other modification isn't allowed (creation or deletion of pages). // returns a *RequestInformation when successful func (m *B2cUserFlowsItemLanguagesItemOverridesPagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *B2cUserFlowsItemLanguagesItemOverridesPagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/b2c_user_flows_item_languages_request_builder.go b/identity/b2c_user_flows_item_languages_request_builder.go index 358451912cc..e7c5370addf 100644 --- a/identity/b2c_user_flows_item_languages_request_builder.go +++ b/identity/b2c_user_flows_item_languages_request_builder.go @@ -11,7 +11,7 @@ import ( type B2cUserFlowsItemLanguagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// B2cUserFlowsItemLanguagesRequestBuilderGetQueryParameters retrieve a list of languages supported for customization in an Azure AD B2C user flow. Note: To retrieve a list of languages supported for customization, you must first enable language customization on your Azure AD B2C user flow. For more information, see Update b2cIdentityUserFlow. +// B2cUserFlowsItemLanguagesRequestBuilderGetQueryParameters the languages supported for customization within the user flow. Language customization is not enabled by default in B2C user flows. type B2cUserFlowsItemLanguagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewB2cUserFlowsItemLanguagesRequestBuilder(rawUrl string, requestAdapter i2 func (m *B2cUserFlowsItemLanguagesRequestBuilder) Count()(*B2cUserFlowsItemLanguagesCountRequestBuilder) { return NewB2cUserFlowsItemLanguagesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of languages supported for customization in an Azure AD B2C user flow. Note: To retrieve a list of languages supported for customization, you must first enable language customization on your Azure AD B2C user flow. For more information, see Update b2cIdentityUserFlow. +// Get the languages supported for customization within the user flow. Language customization is not enabled by default in B2C user flows. // returns a UserFlowLanguageConfigurationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/b2cidentityuserflow-list-languages?view=graph-rest-1.0 func (m *B2cUserFlowsItemLanguagesRequestBuilder) Get(ctx context.Context, requestConfiguration *B2cUserFlowsItemLanguagesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserFlowLanguageConfigurationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *B2cUserFlowsItemLanguagesRequestBuilder) Post(ctx context.Context, body } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserFlowLanguageConfigurationable), nil } -// ToGetRequestInformation retrieve a list of languages supported for customization in an Azure AD B2C user flow. Note: To retrieve a list of languages supported for customization, you must first enable language customization on your Azure AD B2C user flow. For more information, see Update b2cIdentityUserFlow. +// ToGetRequestInformation the languages supported for customization within the user flow. Language customization is not enabled by default in B2C user flows. // returns a *RequestInformation when successful func (m *B2cUserFlowsItemLanguagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *B2cUserFlowsItemLanguagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/b2c_user_flows_item_languages_user_flow_language_configuration_item_request_builder.go b/identity/b2c_user_flows_item_languages_user_flow_language_configuration_item_request_builder.go index f103be25bb3..1525906fae7 100644 --- a/identity/b2c_user_flows_item_languages_user_flow_language_configuration_item_request_builder.go +++ b/identity/b2c_user_flows_item_languages_user_flow_language_configuration_item_request_builder.go @@ -18,7 +18,7 @@ type B2cUserFlowsItemLanguagesUserFlowLanguageConfigurationItemRequestBuilderDel // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// B2cUserFlowsItemLanguagesUserFlowLanguageConfigurationItemRequestBuilderGetQueryParameters read the properties and relationships of a userFlowLanguageConfiguration object. These objects represent a language available in a user flow. Note: To retrieve a language supported for customization, you must first enable language customization on your Azure AD B2C user flow. For more information, see Update b2cIdentityUserFlow. Language customization is enabled by default in Microsoft Entra user flows. +// B2cUserFlowsItemLanguagesUserFlowLanguageConfigurationItemRequestBuilderGetQueryParameters the languages supported for customization within the user flow. Language customization is not enabled by default in B2C user flows. type B2cUserFlowsItemLanguagesUserFlowLanguageConfigurationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewB2cUserFlowsItemLanguagesUserFlowLanguageConfigurationItemRequestBuilder func (m *B2cUserFlowsItemLanguagesUserFlowLanguageConfigurationItemRequestBuilder) DefaultPages()(*B2cUserFlowsItemLanguagesItemDefaultPagesRequestBuilder) { return NewB2cUserFlowsItemLanguagesItemDefaultPagesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Delete deletes a userFlowLanguageConfiguration object from a Azure AD B2C user flow. Note: You cannot delete languages from an Microsoft Entra user flow. +// Delete delete navigation property languages for identity // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/userflowlanguageconfiguration-delete?view=graph-rest-1.0 func (m *B2cUserFlowsItemLanguagesUserFlowLanguageConfigurationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *B2cUserFlowsItemLanguagesUserFlowLanguageConfigurationItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *B2cUserFlowsItemLanguagesUserFlowLanguageConfigurationItemRequestBuilde } return nil } -// Get read the properties and relationships of a userFlowLanguageConfiguration object. These objects represent a language available in a user flow. Note: To retrieve a language supported for customization, you must first enable language customization on your Azure AD B2C user flow. For more information, see Update b2cIdentityUserFlow. Language customization is enabled by default in Microsoft Entra user flows. +// Get the languages supported for customization within the user flow. Language customization is not enabled by default in B2C user flows. // returns a UserFlowLanguageConfigurationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/userflowlanguageconfiguration-get?view=graph-rest-1.0 func (m *B2cUserFlowsItemLanguagesUserFlowLanguageConfigurationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *B2cUserFlowsItemLanguagesUserFlowLanguageConfigurationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserFlowLanguageConfigurationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -106,12 +100,9 @@ func (m *B2cUserFlowsItemLanguagesUserFlowLanguageConfigurationItemRequestBuilde func (m *B2cUserFlowsItemLanguagesUserFlowLanguageConfigurationItemRequestBuilder) OverridesPages()(*B2cUserFlowsItemLanguagesItemOverridesPagesRequestBuilder) { return NewB2cUserFlowsItemLanguagesItemOverridesPagesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch this method is used to create or update a custom language in an Azure AD B2C user flow. Note: You must enable language customization in the Azure AD B2C user flow before you can create a custom language. For more information, see Update b2cIdentityUserFlow. +// Patch update the navigation property languages in identity // returns a UserFlowLanguageConfigurationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/b2cidentityuserflow-put-languages?view=graph-rest-1.0 func (m *B2cUserFlowsItemLanguagesUserFlowLanguageConfigurationItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserFlowLanguageConfigurationable, requestConfiguration *B2cUserFlowsItemLanguagesUserFlowLanguageConfigurationItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserFlowLanguageConfigurationable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -129,7 +120,7 @@ func (m *B2cUserFlowsItemLanguagesUserFlowLanguageConfigurationItemRequestBuilde } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserFlowLanguageConfigurationable), nil } -// ToDeleteRequestInformation deletes a userFlowLanguageConfiguration object from a Azure AD B2C user flow. Note: You cannot delete languages from an Microsoft Entra user flow. +// ToDeleteRequestInformation delete navigation property languages for identity // returns a *RequestInformation when successful func (m *B2cUserFlowsItemLanguagesUserFlowLanguageConfigurationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *B2cUserFlowsItemLanguagesUserFlowLanguageConfigurationItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -140,7 +131,7 @@ func (m *B2cUserFlowsItemLanguagesUserFlowLanguageConfigurationItemRequestBuilde requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a userFlowLanguageConfiguration object. These objects represent a language available in a user flow. Note: To retrieve a language supported for customization, you must first enable language customization on your Azure AD B2C user flow. For more information, see Update b2cIdentityUserFlow. Language customization is enabled by default in Microsoft Entra user flows. +// ToGetRequestInformation the languages supported for customization within the user flow. Language customization is not enabled by default in B2C user flows. // returns a *RequestInformation when successful func (m *B2cUserFlowsItemLanguagesUserFlowLanguageConfigurationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *B2cUserFlowsItemLanguagesUserFlowLanguageConfigurationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -154,7 +145,7 @@ func (m *B2cUserFlowsItemLanguagesUserFlowLanguageConfigurationItemRequestBuilde requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation this method is used to create or update a custom language in an Azure AD B2C user flow. Note: You must enable language customization in the Azure AD B2C user flow before you can create a custom language. For more information, see Update b2cIdentityUserFlow. +// ToPatchRequestInformation update the navigation property languages in identity // returns a *RequestInformation when successful func (m *B2cUserFlowsItemLanguagesUserFlowLanguageConfigurationItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserFlowLanguageConfigurationable, requestConfiguration *B2cUserFlowsItemLanguagesUserFlowLanguageConfigurationItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/b2c_user_flows_item_user_attribute_assignments_get_order_request_builder.go b/identity/b2c_user_flows_item_user_attribute_assignments_get_order_request_builder.go index 1de1b40e83c..d8acbc64a4e 100644 --- a/identity/b2c_user_flows_item_user_attribute_assignments_get_order_request_builder.go +++ b/identity/b2c_user_flows_item_user_attribute_assignments_get_order_request_builder.go @@ -31,9 +31,12 @@ func NewB2cUserFlowsItemUserAttributeAssignmentsGetOrderRequestBuilder(rawUrl st urlParams["request-raw-url"] = rawUrl return NewB2cUserFlowsItemUserAttributeAssignmentsGetOrderRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getOrder +// Get get the order of identityUserFlowAttributeAssignments being collected within a user flow. // returns a AssignmentOrderable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/identityuserflowattributeassignment-getorder?view=graph-rest-beta func (m *B2cUserFlowsItemUserAttributeAssignmentsGetOrderRequestBuilder) Get(ctx context.Context, requestConfiguration *B2cUserFlowsItemUserAttributeAssignmentsGetOrderRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AssignmentOrderable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -51,7 +54,7 @@ func (m *B2cUserFlowsItemUserAttributeAssignmentsGetOrderRequestBuilder) Get(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AssignmentOrderable), nil } -// ToGetRequestInformation invoke function getOrder +// ToGetRequestInformation get the order of identityUserFlowAttributeAssignments being collected within a user flow. // returns a *RequestInformation when successful func (m *B2cUserFlowsItemUserAttributeAssignmentsGetOrderRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *B2cUserFlowsItemUserAttributeAssignmentsGetOrderRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/b2c_user_flows_item_user_attribute_assignments_identity_user_flow_attribute_assignment_item_request_builder.go b/identity/b2c_user_flows_item_user_attribute_assignments_identity_user_flow_attribute_assignment_item_request_builder.go index 7ad21336722..cf5fd8c6b13 100644 --- a/identity/b2c_user_flows_item_user_attribute_assignments_identity_user_flow_attribute_assignment_item_request_builder.go +++ b/identity/b2c_user_flows_item_user_attribute_assignments_identity_user_flow_attribute_assignment_item_request_builder.go @@ -18,7 +18,7 @@ type B2cUserFlowsItemUserAttributeAssignmentsIdentityUserFlowAttributeAssignment // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// B2cUserFlowsItemUserAttributeAssignmentsIdentityUserFlowAttributeAssignmentItemRequestBuilderGetQueryParameters read the properties and relationships of an identityUserFlowAttributeAssignment object. +// B2cUserFlowsItemUserAttributeAssignmentsIdentityUserFlowAttributeAssignmentItemRequestBuilderGetQueryParameters the user attribute assignments included in the user flow. type B2cUserFlowsItemUserAttributeAssignmentsIdentityUserFlowAttributeAssignmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewB2cUserFlowsItemUserAttributeAssignmentsIdentityUserFlowAttributeAssignm urlParams["request-raw-url"] = rawUrl return NewB2cUserFlowsItemUserAttributeAssignmentsIdentityUserFlowAttributeAssignmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an identityUserFlowAttributeAssignment object. +// Delete delete navigation property userAttributeAssignments for identity // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identityuserflowattributeassignment-delete?view=graph-rest-1.0 func (m *B2cUserFlowsItemUserAttributeAssignmentsIdentityUserFlowAttributeAssignmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *B2cUserFlowsItemUserAttributeAssignmentsIdentityUserFlowAttributeAssignmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *B2cUserFlowsItemUserAttributeAssignmentsIdentityUserFlowAttributeAssign } return nil } -// Get read the properties and relationships of an identityUserFlowAttributeAssignment object. +// Get the user attribute assignments included in the user flow. // returns a IdentityUserFlowAttributeAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identityuserflowattributeassignment-get?view=graph-rest-1.0 func (m *B2cUserFlowsItemUserAttributeAssignmentsIdentityUserFlowAttributeAssignmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *B2cUserFlowsItemUserAttributeAssignmentsIdentityUserFlowAttributeAssignmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityUserFlowAttributeAssignmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *B2cUserFlowsItemUserAttributeAssignmentsIdentityUserFlowAttributeAssign } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityUserFlowAttributeAssignmentable), nil } -// Patch update the properties of a identityUserFlowAttributeAssignment object. +// Patch update the navigation property userAttributeAssignments in identity // returns a IdentityUserFlowAttributeAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identityuserflowattributeassignment-update?view=graph-rest-1.0 func (m *B2cUserFlowsItemUserAttributeAssignmentsIdentityUserFlowAttributeAssignmentItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityUserFlowAttributeAssignmentable, requestConfiguration *B2cUserFlowsItemUserAttributeAssignmentsIdentityUserFlowAttributeAssignmentItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityUserFlowAttributeAssignmentable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *B2cUserFlowsItemUserAttributeAssignmentsIdentityUserFlowAttributeAssign } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityUserFlowAttributeAssignmentable), nil } -// ToDeleteRequestInformation delete an identityUserFlowAttributeAssignment object. +// ToDeleteRequestInformation delete navigation property userAttributeAssignments for identity // returns a *RequestInformation when successful func (m *B2cUserFlowsItemUserAttributeAssignmentsIdentityUserFlowAttributeAssignmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *B2cUserFlowsItemUserAttributeAssignmentsIdentityUserFlowAttributeAssignmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *B2cUserFlowsItemUserAttributeAssignmentsIdentityUserFlowAttributeAssign requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an identityUserFlowAttributeAssignment object. +// ToGetRequestInformation the user attribute assignments included in the user flow. // returns a *RequestInformation when successful func (m *B2cUserFlowsItemUserAttributeAssignmentsIdentityUserFlowAttributeAssignmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *B2cUserFlowsItemUserAttributeAssignmentsIdentityUserFlowAttributeAssignmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *B2cUserFlowsItemUserAttributeAssignmentsIdentityUserFlowAttributeAssign requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a identityUserFlowAttributeAssignment object. +// ToPatchRequestInformation update the navigation property userAttributeAssignments in identity // returns a *RequestInformation when successful func (m *B2cUserFlowsItemUserAttributeAssignmentsIdentityUserFlowAttributeAssignmentItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityUserFlowAttributeAssignmentable, requestConfiguration *B2cUserFlowsItemUserAttributeAssignmentsIdentityUserFlowAttributeAssignmentItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/b2c_user_flows_item_user_attribute_assignments_request_builder.go b/identity/b2c_user_flows_item_user_attribute_assignments_request_builder.go index 31b1d800cb0..a46e13118b9 100644 --- a/identity/b2c_user_flows_item_user_attribute_assignments_request_builder.go +++ b/identity/b2c_user_flows_item_user_attribute_assignments_request_builder.go @@ -11,7 +11,7 @@ import ( type B2cUserFlowsItemUserAttributeAssignmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// B2cUserFlowsItemUserAttributeAssignmentsRequestBuilderGetQueryParameters get the identityUserFlowAttributeAssignment resources from the userAttributeAssignments navigation property in a b2cIdentityUserFlow. +// B2cUserFlowsItemUserAttributeAssignmentsRequestBuilderGetQueryParameters the user attribute assignments included in the user flow. type B2cUserFlowsItemUserAttributeAssignmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewB2cUserFlowsItemUserAttributeAssignmentsRequestBuilder(rawUrl string, re func (m *B2cUserFlowsItemUserAttributeAssignmentsRequestBuilder) Count()(*B2cUserFlowsItemUserAttributeAssignmentsCountRequestBuilder) { return NewB2cUserFlowsItemUserAttributeAssignmentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the identityUserFlowAttributeAssignment resources from the userAttributeAssignments navigation property in a b2cIdentityUserFlow. +// Get the user attribute assignments included in the user flow. // returns a IdentityUserFlowAttributeAssignmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/b2cidentityuserflow-list-userattributeassignments?view=graph-rest-1.0 func (m *B2cUserFlowsItemUserAttributeAssignmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *B2cUserFlowsItemUserAttributeAssignmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityUserFlowAttributeAssignmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *B2cUserFlowsItemUserAttributeAssignmentsRequestBuilder) Get(ctx context func (m *B2cUserFlowsItemUserAttributeAssignmentsRequestBuilder) GetOrder()(*B2cUserFlowsItemUserAttributeAssignmentsGetOrderRequestBuilder) { return NewB2cUserFlowsItemUserAttributeAssignmentsGetOrderRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Post create a new identityUserFlowAttributeAssignment object in a b2cIdentityUserFlow. +// Post create new navigation property to userAttributeAssignments for identity // returns a IdentityUserFlowAttributeAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/b2cidentityuserflow-post-userattributeassignments?view=graph-rest-1.0 func (m *B2cUserFlowsItemUserAttributeAssignmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityUserFlowAttributeAssignmentable, requestConfiguration *B2cUserFlowsItemUserAttributeAssignmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityUserFlowAttributeAssignmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -132,7 +126,7 @@ func (m *B2cUserFlowsItemUserAttributeAssignmentsRequestBuilder) Post(ctx contex func (m *B2cUserFlowsItemUserAttributeAssignmentsRequestBuilder) SetOrder()(*B2cUserFlowsItemUserAttributeAssignmentsSetOrderRequestBuilder) { return NewB2cUserFlowsItemUserAttributeAssignmentsSetOrderRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation get the identityUserFlowAttributeAssignment resources from the userAttributeAssignments navigation property in a b2cIdentityUserFlow. +// ToGetRequestInformation the user attribute assignments included in the user flow. // returns a *RequestInformation when successful func (m *B2cUserFlowsItemUserAttributeAssignmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *B2cUserFlowsItemUserAttributeAssignmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -146,7 +140,7 @@ func (m *B2cUserFlowsItemUserAttributeAssignmentsRequestBuilder) ToGetRequestInf requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new identityUserFlowAttributeAssignment object in a b2cIdentityUserFlow. +// ToPostRequestInformation create new navigation property to userAttributeAssignments for identity // returns a *RequestInformation when successful func (m *B2cUserFlowsItemUserAttributeAssignmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityUserFlowAttributeAssignmentable, requestConfiguration *B2cUserFlowsItemUserAttributeAssignmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/b2c_user_flows_item_user_attribute_assignments_set_order_request_builder.go b/identity/b2c_user_flows_item_user_attribute_assignments_set_order_request_builder.go index 1995ce67ef5..5428784eee4 100644 --- a/identity/b2c_user_flows_item_user_attribute_assignments_set_order_request_builder.go +++ b/identity/b2c_user_flows_item_user_attribute_assignments_set_order_request_builder.go @@ -34,7 +34,7 @@ func NewB2cUserFlowsItemUserAttributeAssignmentsSetOrderRequestBuilder(rawUrl st // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/identityuserflowattributeassignment-setorder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/identityuserflowattributeassignment-setorder?view=graph-rest-beta func (m *B2cUserFlowsItemUserAttributeAssignmentsSetOrderRequestBuilder) Post(ctx context.Context, body B2cUserFlowsItemUserAttributeAssignmentsSetOrderPostRequestBodyable, requestConfiguration *B2cUserFlowsItemUserAttributeAssignmentsSetOrderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/identity/b2c_user_flows_request_builder.go b/identity/b2c_user_flows_request_builder.go index b9e3a2cae18..3938ce96e25 100644 --- a/identity/b2c_user_flows_request_builder.go +++ b/identity/b2c_user_flows_request_builder.go @@ -11,7 +11,7 @@ import ( type B2cUserFlowsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// B2cUserFlowsRequestBuilderGetQueryParameters retrieve a list of b2cIdentityUserFlow objects. +// B2cUserFlowsRequestBuilderGetQueryParameters represents entry point for B2C identity userflows. type B2cUserFlowsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewB2cUserFlowsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee2 func (m *B2cUserFlowsRequestBuilder) Count()(*B2cUserFlowsCountRequestBuilder) { return NewB2cUserFlowsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of b2cIdentityUserFlow objects. +// Get represents entry point for B2C identity userflows. // returns a B2cIdentityUserFlowCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identitycontainer-list-b2cuserflows?view=graph-rest-1.0 func (m *B2cUserFlowsRequestBuilder) Get(ctx context.Context, requestConfiguration *B2cUserFlowsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.B2cIdentityUserFlowCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *B2cUserFlowsRequestBuilder) Get(ctx context.Context, requestConfigurati } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.B2cIdentityUserFlowCollectionResponseable), nil } -// Post create a new b2cIdentityUserFlow object. +// Post create new navigation property to b2cUserFlows for identity // returns a B2cIdentityUserFlowable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identitycontainer-post-b2cuserflows?view=graph-rest-1.0 func (m *B2cUserFlowsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.B2cIdentityUserFlowable, requestConfiguration *B2cUserFlowsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.B2cIdentityUserFlowable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *B2cUserFlowsRequestBuilder) Post(ctx context.Context, body ie233ee762e2 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.B2cIdentityUserFlowable), nil } -// ToGetRequestInformation retrieve a list of b2cIdentityUserFlow objects. +// ToGetRequestInformation represents entry point for B2C identity userflows. // returns a *RequestInformation when successful func (m *B2cUserFlowsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *B2cUserFlowsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *B2cUserFlowsRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new b2cIdentityUserFlow object. +// ToPostRequestInformation create new navigation property to b2cUserFlows for identity // returns a *RequestInformation when successful func (m *B2cUserFlowsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.B2cIdentityUserFlowable, requestConfiguration *B2cUserFlowsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/b2x_user_flows_b2x_identity_user_flow_item_request_builder.go b/identity/b2x_user_flows_b2x_identity_user_flow_item_request_builder.go index 256d2cb2ca8..c30532a6f44 100644 --- a/identity/b2x_user_flows_b2x_identity_user_flow_item_request_builder.go +++ b/identity/b2x_user_flows_b2x_identity_user_flow_item_request_builder.go @@ -18,7 +18,7 @@ type B2xUserFlowsB2xIdentityUserFlowItemRequestBuilderDeleteRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// B2xUserFlowsB2xIdentityUserFlowItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a b2xIdentityUserFlow object. +// B2xUserFlowsB2xIdentityUserFlowItemRequestBuilderGetQueryParameters represents entry point for B2X and self-service sign-up identity userflows. type B2xUserFlowsB2xIdentityUserFlowItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewB2xUserFlowsB2xIdentityUserFlowItemRequestBuilder(rawUrl string, request urlParams["request-raw-url"] = rawUrl return NewB2xUserFlowsB2xIdentityUserFlowItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a b2xIdentityUserFlow object. +// Delete delete navigation property b2xUserFlows for identity // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/b2xidentityuserflow-delete?view=graph-rest-1.0 func (m *B2xUserFlowsB2xIdentityUserFlowItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *B2xUserFlowsB2xIdentityUserFlowItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *B2xUserFlowsB2xIdentityUserFlowItemRequestBuilder) Delete(ctx context.C } return nil } -// Get retrieve the properties and relationships of a b2xIdentityUserFlow object. +// Get represents entry point for B2X and self-service sign-up identity userflows. // returns a B2xIdentityUserFlowable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/b2xidentityuserflow-get?view=graph-rest-1.0 func (m *B2xUserFlowsB2xIdentityUserFlowItemRequestBuilder) Get(ctx context.Context, requestConfiguration *B2xUserFlowsB2xIdentityUserFlowItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.B2xIdentityUserFlowable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -131,7 +125,7 @@ func (m *B2xUserFlowsB2xIdentityUserFlowItemRequestBuilder) Patch(ctx context.Co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.B2xIdentityUserFlowable), nil } -// ToDeleteRequestInformation delete a b2xIdentityUserFlow object. +// ToDeleteRequestInformation delete navigation property b2xUserFlows for identity // returns a *RequestInformation when successful func (m *B2xUserFlowsB2xIdentityUserFlowItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *B2xUserFlowsB2xIdentityUserFlowItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -142,7 +136,7 @@ func (m *B2xUserFlowsB2xIdentityUserFlowItemRequestBuilder) ToDeleteRequestInfor requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a b2xIdentityUserFlow object. +// ToGetRequestInformation represents entry point for B2X and self-service sign-up identity userflows. // returns a *RequestInformation when successful func (m *B2xUserFlowsB2xIdentityUserFlowItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *B2xUserFlowsB2xIdentityUserFlowItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/b2x_user_flows_item_api_connector_configuration_post_attribute_collection_upload_client_certificate_request_builder.go b/identity/b2x_user_flows_item_api_connector_configuration_post_attribute_collection_upload_client_certificate_request_builder.go index 0bc2c7cdc42..4c222858de5 100644 --- a/identity/b2x_user_flows_item_api_connector_configuration_post_attribute_collection_upload_client_certificate_request_builder.go +++ b/identity/b2x_user_flows_item_api_connector_configuration_post_attribute_collection_upload_client_certificate_request_builder.go @@ -36,7 +36,7 @@ func NewB2xUserFlowsItemApiConnectorConfigurationPostAttributeCollectionUploadCl // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/identityapiconnector-uploadclientcertificate?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/identityapiconnector-uploadclientcertificate?view=graph-rest-beta func (m *B2xUserFlowsItemApiConnectorConfigurationPostAttributeCollectionUploadClientCertificateRequestBuilder) Post(ctx context.Context, body B2xUserFlowsItemApiConnectorConfigurationPostAttributeCollectionUploadClientCertificatePostRequestBodyable, requestConfiguration *B2xUserFlowsItemApiConnectorConfigurationPostAttributeCollectionUploadClientCertificateRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityApiConnectorable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/identity/b2x_user_flows_item_api_connector_configuration_post_federation_signup_upload_client_certificate_request_builder.go b/identity/b2x_user_flows_item_api_connector_configuration_post_federation_signup_upload_client_certificate_request_builder.go index e556a36fa04..ec7b8fd4c32 100644 --- a/identity/b2x_user_flows_item_api_connector_configuration_post_federation_signup_upload_client_certificate_request_builder.go +++ b/identity/b2x_user_flows_item_api_connector_configuration_post_federation_signup_upload_client_certificate_request_builder.go @@ -36,7 +36,7 @@ func NewB2xUserFlowsItemApiConnectorConfigurationPostFederationSignupUploadClien // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/identityapiconnector-uploadclientcertificate?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/identityapiconnector-uploadclientcertificate?view=graph-rest-beta func (m *B2xUserFlowsItemApiConnectorConfigurationPostFederationSignupUploadClientCertificateRequestBuilder) Post(ctx context.Context, body B2xUserFlowsItemApiConnectorConfigurationPostFederationSignupUploadClientCertificatePostRequestBodyable, requestConfiguration *B2xUserFlowsItemApiConnectorConfigurationPostFederationSignupUploadClientCertificateRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityApiConnectorable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/identity/b2x_user_flows_item_api_connector_configuration_pre_token_issuance_upload_client_certificate_request_builder.go b/identity/b2x_user_flows_item_api_connector_configuration_pre_token_issuance_upload_client_certificate_request_builder.go index 4c91e0b3932..b36aae86a07 100644 --- a/identity/b2x_user_flows_item_api_connector_configuration_pre_token_issuance_upload_client_certificate_request_builder.go +++ b/identity/b2x_user_flows_item_api_connector_configuration_pre_token_issuance_upload_client_certificate_request_builder.go @@ -36,7 +36,7 @@ func NewB2xUserFlowsItemApiConnectorConfigurationPreTokenIssuanceUploadClientCer // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/identityapiconnector-uploadclientcertificate?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/identityapiconnector-uploadclientcertificate?view=graph-rest-beta func (m *B2xUserFlowsItemApiConnectorConfigurationPreTokenIssuanceUploadClientCertificateRequestBuilder) Post(ctx context.Context, body B2xUserFlowsItemApiConnectorConfigurationPreTokenIssuanceUploadClientCertificatePostRequestBodyable, requestConfiguration *B2xUserFlowsItemApiConnectorConfigurationPreTokenIssuanceUploadClientCertificateRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityApiConnectorable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/identity/b2x_user_flows_item_identity_providers_request_builder.go b/identity/b2x_user_flows_item_identity_providers_request_builder.go index 87862330967..98555fc3c3c 100644 --- a/identity/b2x_user_flows_item_identity_providers_request_builder.go +++ b/identity/b2x_user_flows_item_identity_providers_request_builder.go @@ -11,7 +11,7 @@ import ( type B2xUserFlowsItemIdentityProvidersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// B2xUserFlowsItemIdentityProvidersRequestBuilderGetQueryParameters get the identity providers in a b2xIdentityUserFlow object. +// B2xUserFlowsItemIdentityProvidersRequestBuilderGetQueryParameters get identityProviders from identity type B2xUserFlowsItemIdentityProvidersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -70,13 +70,10 @@ func NewB2xUserFlowsItemIdentityProvidersRequestBuilder(rawUrl string, requestAd func (m *B2xUserFlowsItemIdentityProvidersRequestBuilder) Count()(*B2xUserFlowsItemIdentityProvidersCountRequestBuilder) { return NewB2xUserFlowsItemIdentityProvidersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the identity providers in a b2xIdentityUserFlow object. +// Get get identityProviders from identity // Deprecated: The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider // returns a IdentityProviderCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/b2xidentityuserflow-list-identityproviders?view=graph-rest-1.0 func (m *B2xUserFlowsItemIdentityProvidersRequestBuilder) Get(ctx context.Context, requestConfiguration *B2xUserFlowsItemIdentityProvidersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityProviderCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -94,7 +91,7 @@ func (m *B2xUserFlowsItemIdentityProvidersRequestBuilder) Get(ctx context.Contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityProviderCollectionResponseable), nil } -// ToGetRequestInformation get the identity providers in a b2xIdentityUserFlow object. +// ToGetRequestInformation get identityProviders from identity // Deprecated: The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider // returns a *RequestInformation when successful func (m *B2xUserFlowsItemIdentityProvidersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *B2xUserFlowsItemIdentityProvidersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/identity/b2x_user_flows_item_languages_item_default_pages_item_value_content_request_builder.go b/identity/b2x_user_flows_item_languages_item_default_pages_item_value_content_request_builder.go index 789434b89dc..8a23ebad611 100644 --- a/identity/b2x_user_flows_item_languages_item_default_pages_item_value_content_request_builder.go +++ b/identity/b2x_user_flows_item_languages_item_default_pages_item_value_content_request_builder.go @@ -40,9 +40,6 @@ func NewB2xUserFlowsItemLanguagesItemDefaultPagesItemValueContentRequestBuilder( // Get get media content for the navigation property defaultPages from identity // 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/userflowlanguageconfiguration-list-defaultpages?view=graph-rest-1.0 func (m *B2xUserFlowsItemLanguagesItemDefaultPagesItemValueContentRequestBuilder) Get(ctx context.Context, requestConfiguration *B2xUserFlowsItemLanguagesItemDefaultPagesItemValueContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identity/b2x_user_flows_item_languages_item_default_pages_request_builder.go b/identity/b2x_user_flows_item_languages_item_default_pages_request_builder.go index 7b74b66a721..46c99005ad2 100644 --- a/identity/b2x_user_flows_item_languages_item_default_pages_request_builder.go +++ b/identity/b2x_user_flows_item_languages_item_default_pages_request_builder.go @@ -11,7 +11,7 @@ import ( type B2xUserFlowsItemLanguagesItemDefaultPagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// B2xUserFlowsItemLanguagesItemDefaultPagesRequestBuilderGetQueryParameters get the userFlowLanguagePage resources from the defaultPages navigation property. These contain the values shown to the user in a default user journey of a user flow. +// B2xUserFlowsItemLanguagesItemDefaultPagesRequestBuilderGetQueryParameters collection of pages with the default content to display in a user flow for a specified language. This collection doesn't allow any kind of modification. type B2xUserFlowsItemLanguagesItemDefaultPagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewB2xUserFlowsItemLanguagesItemDefaultPagesRequestBuilder(rawUrl string, r func (m *B2xUserFlowsItemLanguagesItemDefaultPagesRequestBuilder) Count()(*B2xUserFlowsItemLanguagesItemDefaultPagesCountRequestBuilder) { return NewB2xUserFlowsItemLanguagesItemDefaultPagesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the userFlowLanguagePage resources from the defaultPages navigation property. These contain the values shown to the user in a default user journey of a user flow. +// Get collection of pages with the default content to display in a user flow for a specified language. This collection doesn't allow any kind of modification. // returns a UserFlowLanguagePageCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/userflowlanguageconfiguration-list-defaultpages?view=graph-rest-1.0 func (m *B2xUserFlowsItemLanguagesItemDefaultPagesRequestBuilder) Get(ctx context.Context, requestConfiguration *B2xUserFlowsItemLanguagesItemDefaultPagesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserFlowLanguagePageCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *B2xUserFlowsItemLanguagesItemDefaultPagesRequestBuilder) Post(ctx conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserFlowLanguagePageable), nil } -// ToGetRequestInformation get the userFlowLanguagePage resources from the defaultPages navigation property. These contain the values shown to the user in a default user journey of a user flow. +// ToGetRequestInformation collection of pages with the default content to display in a user flow for a specified language. This collection doesn't allow any kind of modification. // returns a *RequestInformation when successful func (m *B2xUserFlowsItemLanguagesItemDefaultPagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *B2xUserFlowsItemLanguagesItemDefaultPagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/b2x_user_flows_item_languages_item_overrides_pages_item_value_content_request_builder.go b/identity/b2x_user_flows_item_languages_item_overrides_pages_item_value_content_request_builder.go index 3d0a457a052..412763389f2 100644 --- a/identity/b2x_user_flows_item_languages_item_overrides_pages_item_value_content_request_builder.go +++ b/identity/b2x_user_flows_item_languages_item_overrides_pages_item_value_content_request_builder.go @@ -40,9 +40,6 @@ func NewB2xUserFlowsItemLanguagesItemOverridesPagesItemValueContentRequestBuilde // Get get media content for the navigation property overridesPages from identity // 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/userflowlanguageconfiguration-list-overridespages?view=graph-rest-1.0 func (m *B2xUserFlowsItemLanguagesItemOverridesPagesItemValueContentRequestBuilder) Get(ctx context.Context, requestConfiguration *B2xUserFlowsItemLanguagesItemOverridesPagesItemValueContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identity/b2x_user_flows_item_languages_item_overrides_pages_request_builder.go b/identity/b2x_user_flows_item_languages_item_overrides_pages_request_builder.go index aefe4c463ac..f2bc20d86de 100644 --- a/identity/b2x_user_flows_item_languages_item_overrides_pages_request_builder.go +++ b/identity/b2x_user_flows_item_languages_item_overrides_pages_request_builder.go @@ -11,7 +11,7 @@ import ( type B2xUserFlowsItemLanguagesItemOverridesPagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// B2xUserFlowsItemLanguagesItemOverridesPagesRequestBuilderGetQueryParameters get the userFlowLanguagePage resources from the overridesPages navigation property. These pages are used to customize the values shown to the user during a user journey in a user flow. +// B2xUserFlowsItemLanguagesItemOverridesPagesRequestBuilderGetQueryParameters collection of pages with the overrides messages to display in a user flow for a specified language. This collection only allows to modify the content of the page, any other modification isn't allowed (creation or deletion of pages). type B2xUserFlowsItemLanguagesItemOverridesPagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewB2xUserFlowsItemLanguagesItemOverridesPagesRequestBuilder(rawUrl string, func (m *B2xUserFlowsItemLanguagesItemOverridesPagesRequestBuilder) Count()(*B2xUserFlowsItemLanguagesItemOverridesPagesCountRequestBuilder) { return NewB2xUserFlowsItemLanguagesItemOverridesPagesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the userFlowLanguagePage resources from the overridesPages navigation property. These pages are used to customize the values shown to the user during a user journey in a user flow. +// Get collection of pages with the overrides messages to display in a user flow for a specified language. This collection only allows to modify the content of the page, any other modification isn't allowed (creation or deletion of pages). // returns a UserFlowLanguagePageCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/userflowlanguageconfiguration-list-overridespages?view=graph-rest-1.0 func (m *B2xUserFlowsItemLanguagesItemOverridesPagesRequestBuilder) Get(ctx context.Context, requestConfiguration *B2xUserFlowsItemLanguagesItemOverridesPagesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserFlowLanguagePageCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *B2xUserFlowsItemLanguagesItemOverridesPagesRequestBuilder) Post(ctx con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserFlowLanguagePageable), nil } -// ToGetRequestInformation get the userFlowLanguagePage resources from the overridesPages navigation property. These pages are used to customize the values shown to the user during a user journey in a user flow. +// ToGetRequestInformation collection of pages with the overrides messages to display in a user flow for a specified language. This collection only allows to modify the content of the page, any other modification isn't allowed (creation or deletion of pages). // returns a *RequestInformation when successful func (m *B2xUserFlowsItemLanguagesItemOverridesPagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *B2xUserFlowsItemLanguagesItemOverridesPagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/b2x_user_flows_item_languages_request_builder.go b/identity/b2x_user_flows_item_languages_request_builder.go index bd76136f221..c52e722faa6 100644 --- a/identity/b2x_user_flows_item_languages_request_builder.go +++ b/identity/b2x_user_flows_item_languages_request_builder.go @@ -11,7 +11,7 @@ import ( type B2xUserFlowsItemLanguagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// B2xUserFlowsItemLanguagesRequestBuilderGetQueryParameters retrieve a list of languages supported for customization in a B2X user flow. +// B2xUserFlowsItemLanguagesRequestBuilderGetQueryParameters the languages supported for customization within the user flow. Language customization is enabled by default in self-service sign-up user flow. You can't create custom languages in self-service sign-up user flows. type B2xUserFlowsItemLanguagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewB2xUserFlowsItemLanguagesRequestBuilder(rawUrl string, requestAdapter i2 func (m *B2xUserFlowsItemLanguagesRequestBuilder) Count()(*B2xUserFlowsItemLanguagesCountRequestBuilder) { return NewB2xUserFlowsItemLanguagesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of languages supported for customization in a B2X user flow. +// Get the languages supported for customization within the user flow. Language customization is enabled by default in self-service sign-up user flow. You can't create custom languages in self-service sign-up user flows. // returns a UserFlowLanguageConfigurationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/b2xidentityuserflow-list-languages?view=graph-rest-1.0 func (m *B2xUserFlowsItemLanguagesRequestBuilder) Get(ctx context.Context, requestConfiguration *B2xUserFlowsItemLanguagesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserFlowLanguageConfigurationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *B2xUserFlowsItemLanguagesRequestBuilder) Post(ctx context.Context, body } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserFlowLanguageConfigurationable), nil } -// ToGetRequestInformation retrieve a list of languages supported for customization in a B2X user flow. +// ToGetRequestInformation the languages supported for customization within the user flow. Language customization is enabled by default in self-service sign-up user flow. You can't create custom languages in self-service sign-up user flows. // returns a *RequestInformation when successful func (m *B2xUserFlowsItemLanguagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *B2xUserFlowsItemLanguagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/b2x_user_flows_item_user_attribute_assignments_get_order_request_builder.go b/identity/b2x_user_flows_item_user_attribute_assignments_get_order_request_builder.go index fa440093b7c..22371842229 100644 --- a/identity/b2x_user_flows_item_user_attribute_assignments_get_order_request_builder.go +++ b/identity/b2x_user_flows_item_user_attribute_assignments_get_order_request_builder.go @@ -31,9 +31,12 @@ func NewB2xUserFlowsItemUserAttributeAssignmentsGetOrderRequestBuilder(rawUrl st urlParams["request-raw-url"] = rawUrl return NewB2xUserFlowsItemUserAttributeAssignmentsGetOrderRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getOrder +// Get get the order of identityUserFlowAttributeAssignments being collected within a user flow. // returns a AssignmentOrderable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/identityuserflowattributeassignment-getorder?view=graph-rest-beta func (m *B2xUserFlowsItemUserAttributeAssignmentsGetOrderRequestBuilder) Get(ctx context.Context, requestConfiguration *B2xUserFlowsItemUserAttributeAssignmentsGetOrderRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AssignmentOrderable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -51,7 +54,7 @@ func (m *B2xUserFlowsItemUserAttributeAssignmentsGetOrderRequestBuilder) Get(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AssignmentOrderable), nil } -// ToGetRequestInformation invoke function getOrder +// ToGetRequestInformation get the order of identityUserFlowAttributeAssignments being collected within a user flow. // returns a *RequestInformation when successful func (m *B2xUserFlowsItemUserAttributeAssignmentsGetOrderRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *B2xUserFlowsItemUserAttributeAssignmentsGetOrderRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/b2x_user_flows_item_user_attribute_assignments_request_builder.go b/identity/b2x_user_flows_item_user_attribute_assignments_request_builder.go index 9fe5c90be51..854b223ac4c 100644 --- a/identity/b2x_user_flows_item_user_attribute_assignments_request_builder.go +++ b/identity/b2x_user_flows_item_user_attribute_assignments_request_builder.go @@ -11,7 +11,7 @@ import ( type B2xUserFlowsItemUserAttributeAssignmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// B2xUserFlowsItemUserAttributeAssignmentsRequestBuilderGetQueryParameters get the identityUserFlowAttributeAssignment resources from the userAttributeAssignments navigation property in a b2xIdentityUserFlow. +// B2xUserFlowsItemUserAttributeAssignmentsRequestBuilderGetQueryParameters the user attribute assignments included in the user flow. type B2xUserFlowsItemUserAttributeAssignmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewB2xUserFlowsItemUserAttributeAssignmentsRequestBuilder(rawUrl string, re func (m *B2xUserFlowsItemUserAttributeAssignmentsRequestBuilder) Count()(*B2xUserFlowsItemUserAttributeAssignmentsCountRequestBuilder) { return NewB2xUserFlowsItemUserAttributeAssignmentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the identityUserFlowAttributeAssignment resources from the userAttributeAssignments navigation property in a b2xIdentityUserFlow. +// Get the user attribute assignments included in the user flow. // returns a IdentityUserFlowAttributeAssignmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/b2xidentityuserflow-list-userattributeassignments?view=graph-rest-1.0 func (m *B2xUserFlowsItemUserAttributeAssignmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *B2xUserFlowsItemUserAttributeAssignmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityUserFlowAttributeAssignmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *B2xUserFlowsItemUserAttributeAssignmentsRequestBuilder) Get(ctx context func (m *B2xUserFlowsItemUserAttributeAssignmentsRequestBuilder) GetOrder()(*B2xUserFlowsItemUserAttributeAssignmentsGetOrderRequestBuilder) { return NewB2xUserFlowsItemUserAttributeAssignmentsGetOrderRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Post create a new identityUserFlowAttributeAssignment object in a b2xIdentityUserFlow. +// Post create new navigation property to userAttributeAssignments for identity // returns a IdentityUserFlowAttributeAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/b2xidentityuserflow-post-userattributeassignments?view=graph-rest-1.0 func (m *B2xUserFlowsItemUserAttributeAssignmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityUserFlowAttributeAssignmentable, requestConfiguration *B2xUserFlowsItemUserAttributeAssignmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityUserFlowAttributeAssignmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -132,7 +126,7 @@ func (m *B2xUserFlowsItemUserAttributeAssignmentsRequestBuilder) Post(ctx contex func (m *B2xUserFlowsItemUserAttributeAssignmentsRequestBuilder) SetOrder()(*B2xUserFlowsItemUserAttributeAssignmentsSetOrderRequestBuilder) { return NewB2xUserFlowsItemUserAttributeAssignmentsSetOrderRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation get the identityUserFlowAttributeAssignment resources from the userAttributeAssignments navigation property in a b2xIdentityUserFlow. +// ToGetRequestInformation the user attribute assignments included in the user flow. // returns a *RequestInformation when successful func (m *B2xUserFlowsItemUserAttributeAssignmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *B2xUserFlowsItemUserAttributeAssignmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -146,7 +140,7 @@ func (m *B2xUserFlowsItemUserAttributeAssignmentsRequestBuilder) ToGetRequestInf requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new identityUserFlowAttributeAssignment object in a b2xIdentityUserFlow. +// ToPostRequestInformation create new navigation property to userAttributeAssignments for identity // returns a *RequestInformation when successful func (m *B2xUserFlowsItemUserAttributeAssignmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityUserFlowAttributeAssignmentable, requestConfiguration *B2xUserFlowsItemUserAttributeAssignmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/b2x_user_flows_item_user_attribute_assignments_set_order_request_builder.go b/identity/b2x_user_flows_item_user_attribute_assignments_set_order_request_builder.go index 2522a0ee04b..0d310c18032 100644 --- a/identity/b2x_user_flows_item_user_attribute_assignments_set_order_request_builder.go +++ b/identity/b2x_user_flows_item_user_attribute_assignments_set_order_request_builder.go @@ -34,7 +34,7 @@ func NewB2xUserFlowsItemUserAttributeAssignmentsSetOrderRequestBuilder(rawUrl st // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/identityuserflowattributeassignment-setorder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/identityuserflowattributeassignment-setorder?view=graph-rest-beta func (m *B2xUserFlowsItemUserAttributeAssignmentsSetOrderRequestBuilder) Post(ctx context.Context, body B2xUserFlowsItemUserAttributeAssignmentsSetOrderPostRequestBodyable, requestConfiguration *B2xUserFlowsItemUserAttributeAssignmentsSetOrderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/identity/b2x_user_flows_request_builder.go b/identity/b2x_user_flows_request_builder.go index 94edbb25b76..1c91d342717 100644 --- a/identity/b2x_user_flows_request_builder.go +++ b/identity/b2x_user_flows_request_builder.go @@ -11,7 +11,7 @@ import ( type B2xUserFlowsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// B2xUserFlowsRequestBuilderGetQueryParameters retrieve a list of b2xIdentityUserFlow objects. +// B2xUserFlowsRequestBuilderGetQueryParameters represents entry point for B2X and self-service sign-up identity userflows. type B2xUserFlowsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewB2xUserFlowsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee2 func (m *B2xUserFlowsRequestBuilder) Count()(*B2xUserFlowsCountRequestBuilder) { return NewB2xUserFlowsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of b2xIdentityUserFlow objects. +// Get represents entry point for B2X and self-service sign-up identity userflows. // returns a B2xIdentityUserFlowCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identitycontainer-list-b2xuserflows?view=graph-rest-1.0 func (m *B2xUserFlowsRequestBuilder) Get(ctx context.Context, requestConfiguration *B2xUserFlowsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.B2xIdentityUserFlowCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *B2xUserFlowsRequestBuilder) Get(ctx context.Context, requestConfigurati } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.B2xIdentityUserFlowCollectionResponseable), nil } -// Post create a new b2xIdentityUserFlow object. +// Post create new navigation property to b2xUserFlows for identity // returns a B2xIdentityUserFlowable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identitycontainer-post-b2xuserflows?view=graph-rest-1.0 func (m *B2xUserFlowsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.B2xIdentityUserFlowable, requestConfiguration *B2xUserFlowsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.B2xIdentityUserFlowable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *B2xUserFlowsRequestBuilder) Post(ctx context.Context, body ie233ee762e2 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.B2xIdentityUserFlowable), nil } -// ToGetRequestInformation retrieve a list of b2xIdentityUserFlow objects. +// ToGetRequestInformation represents entry point for B2X and self-service sign-up identity userflows. // returns a *RequestInformation when successful func (m *B2xUserFlowsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *B2xUserFlowsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *B2xUserFlowsRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new b2xIdentityUserFlow object. +// ToPostRequestInformation create new navigation property to b2xUserFlows for identity // returns a *RequestInformation when successful func (m *B2xUserFlowsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.B2xIdentityUserFlowable, requestConfiguration *B2xUserFlowsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/conditional_access_authentication_context_class_references_authentication_context_class_reference_item_request_builder.go b/identity/conditional_access_authentication_context_class_references_authentication_context_class_reference_item_request_builder.go index 98d94bc8218..a65e58702d7 100644 --- a/identity/conditional_access_authentication_context_class_references_authentication_context_class_reference_item_request_builder.go +++ b/identity/conditional_access_authentication_context_class_references_authentication_context_class_reference_item_request_builder.go @@ -18,7 +18,7 @@ type ConditionalAccessAuthenticationContextClassReferencesAuthenticationContextC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ConditionalAccessAuthenticationContextClassReferencesAuthenticationContextClassReferenceItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a authenticationContextClassReference object. +// ConditionalAccessAuthenticationContextClassReferencesAuthenticationContextClassReferenceItemRequestBuilderGetQueryParameters read-only. Nullable. Returns a collection of the specified authentication context class references. type ConditionalAccessAuthenticationContextClassReferencesAuthenticationContextClassReferenceItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewConditionalAccessAuthenticationContextClassReferencesAuthenticationConte urlParams["request-raw-url"] = rawUrl return NewConditionalAccessAuthenticationContextClassReferencesAuthenticationContextClassReferenceItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an authenticationContextClassReference object that's not published or used by a conditional access policy. +// Delete delete navigation property authenticationContextClassReferences for identity // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationcontextclassreference-delete?view=graph-rest-1.0 func (m *ConditionalAccessAuthenticationContextClassReferencesAuthenticationContextClassReferenceItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ConditionalAccessAuthenticationContextClassReferencesAuthenticationContextClassReferenceItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ConditionalAccessAuthenticationContextClassReferencesAuthenticationCont } return nil } -// Get retrieve the properties and relationships of a authenticationContextClassReference object. +// Get read-only. Nullable. Returns a collection of the specified authentication context class references. // returns a AuthenticationContextClassReferenceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationcontextclassreference-get?view=graph-rest-1.0 func (m *ConditionalAccessAuthenticationContextClassReferencesAuthenticationContextClassReferenceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ConditionalAccessAuthenticationContextClassReferencesAuthenticationContextClassReferenceItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationContextClassReferenceable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ConditionalAccessAuthenticationContextClassReferencesAuthenticationCont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationContextClassReferenceable), nil } -// Patch update the properties of an authenticationContextClassReference object. +// Patch update the navigation property authenticationContextClassReferences in identity // returns a AuthenticationContextClassReferenceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationcontextclassreference-update?view=graph-rest-1.0 func (m *ConditionalAccessAuthenticationContextClassReferencesAuthenticationContextClassReferenceItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationContextClassReferenceable, requestConfiguration *ConditionalAccessAuthenticationContextClassReferencesAuthenticationContextClassReferenceItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationContextClassReferenceable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *ConditionalAccessAuthenticationContextClassReferencesAuthenticationCont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationContextClassReferenceable), nil } -// ToDeleteRequestInformation delete an authenticationContextClassReference object that's not published or used by a conditional access policy. +// ToDeleteRequestInformation delete navigation property authenticationContextClassReferences for identity // returns a *RequestInformation when successful func (m *ConditionalAccessAuthenticationContextClassReferencesAuthenticationContextClassReferenceItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ConditionalAccessAuthenticationContextClassReferencesAuthenticationContextClassReferenceItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *ConditionalAccessAuthenticationContextClassReferencesAuthenticationCont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a authenticationContextClassReference object. +// ToGetRequestInformation read-only. Nullable. Returns a collection of the specified authentication context class references. // returns a *RequestInformation when successful func (m *ConditionalAccessAuthenticationContextClassReferencesAuthenticationContextClassReferenceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConditionalAccessAuthenticationContextClassReferencesAuthenticationContextClassReferenceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *ConditionalAccessAuthenticationContextClassReferencesAuthenticationCont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an authenticationContextClassReference object. +// ToPatchRequestInformation update the navigation property authenticationContextClassReferences in identity // returns a *RequestInformation when successful func (m *ConditionalAccessAuthenticationContextClassReferencesAuthenticationContextClassReferenceItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationContextClassReferenceable, requestConfiguration *ConditionalAccessAuthenticationContextClassReferencesAuthenticationContextClassReferenceItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/conditional_access_authentication_context_class_references_request_builder.go b/identity/conditional_access_authentication_context_class_references_request_builder.go index 39a597fe309..1ccf258c0f9 100644 --- a/identity/conditional_access_authentication_context_class_references_request_builder.go +++ b/identity/conditional_access_authentication_context_class_references_request_builder.go @@ -11,7 +11,7 @@ import ( type ConditionalAccessAuthenticationContextClassReferencesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ConditionalAccessAuthenticationContextClassReferencesRequestBuilderGetQueryParameters retrieve a list of authenticationContextClassReference objects. +// ConditionalAccessAuthenticationContextClassReferencesRequestBuilderGetQueryParameters read-only. Nullable. Returns a collection of the specified authentication context class references. type ConditionalAccessAuthenticationContextClassReferencesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewConditionalAccessAuthenticationContextClassReferencesRequestBuilder(rawU func (m *ConditionalAccessAuthenticationContextClassReferencesRequestBuilder) Count()(*ConditionalAccessAuthenticationContextClassReferencesCountRequestBuilder) { return NewConditionalAccessAuthenticationContextClassReferencesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of authenticationContextClassReference objects. +// Get read-only. Nullable. Returns a collection of the specified authentication context class references. // returns a AuthenticationContextClassReferenceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/conditionalaccessroot-list-authenticationcontextclassreferences?view=graph-rest-1.0 func (m *ConditionalAccessAuthenticationContextClassReferencesRequestBuilder) Get(ctx context.Context, requestConfiguration *ConditionalAccessAuthenticationContextClassReferencesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationContextClassReferenceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ConditionalAccessAuthenticationContextClassReferencesRequestBuilder) Ge } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationContextClassReferenceCollectionResponseable), nil } -// Post create a new authenticationContextClassReference. +// Post create new navigation property to authenticationContextClassReferences for identity // returns a AuthenticationContextClassReferenceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/conditionalaccessroot-post-authenticationcontextclassreferences?view=graph-rest-1.0 func (m *ConditionalAccessAuthenticationContextClassReferencesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationContextClassReferenceable, requestConfiguration *ConditionalAccessAuthenticationContextClassReferencesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationContextClassReferenceable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ConditionalAccessAuthenticationContextClassReferencesRequestBuilder) Po } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationContextClassReferenceable), nil } -// ToGetRequestInformation retrieve a list of authenticationContextClassReference objects. +// ToGetRequestInformation read-only. Nullable. Returns a collection of the specified authentication context class references. // returns a *RequestInformation when successful func (m *ConditionalAccessAuthenticationContextClassReferencesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConditionalAccessAuthenticationContextClassReferencesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ConditionalAccessAuthenticationContextClassReferencesRequestBuilder) To requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new authenticationContextClassReference. +// ToPostRequestInformation create new navigation property to authenticationContextClassReferences for identity // returns a *RequestInformation when successful func (m *ConditionalAccessAuthenticationContextClassReferencesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationContextClassReferenceable, requestConfiguration *ConditionalAccessAuthenticationContextClassReferencesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/conditional_access_authentication_strength_authentication_method_modes_request_builder.go b/identity/conditional_access_authentication_strength_authentication_method_modes_request_builder.go index eac18489f5a..4e224652b21 100644 --- a/identity/conditional_access_authentication_strength_authentication_method_modes_request_builder.go +++ b/identity/conditional_access_authentication_strength_authentication_method_modes_request_builder.go @@ -11,7 +11,7 @@ import ( type ConditionalAccessAuthenticationStrengthAuthenticationMethodModesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ConditionalAccessAuthenticationStrengthAuthenticationMethodModesRequestBuilderGetQueryParameters get a list of all supported authentication methods, or all supported authentication method combinations as a list of authenticationMethodModes objects and their properties. +// ConditionalAccessAuthenticationStrengthAuthenticationMethodModesRequestBuilderGetQueryParameters names and descriptions of all valid authentication method modes in the system. type ConditionalAccessAuthenticationStrengthAuthenticationMethodModesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewConditionalAccessAuthenticationStrengthAuthenticationMethodModesRequestB func (m *ConditionalAccessAuthenticationStrengthAuthenticationMethodModesRequestBuilder) Count()(*ConditionalAccessAuthenticationStrengthAuthenticationMethodModesCountRequestBuilder) { return NewConditionalAccessAuthenticationStrengthAuthenticationMethodModesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of all supported authentication methods, or all supported authentication method combinations as a list of authenticationMethodModes objects and their properties. +// Get names and descriptions of all valid authentication method modes in the system. // returns a AuthenticationMethodModeDetailCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationstrengthroot-list-authenticationmethodmodes?view=graph-rest-1.0 func (m *ConditionalAccessAuthenticationStrengthAuthenticationMethodModesRequestBuilder) Get(ctx context.Context, requestConfiguration *ConditionalAccessAuthenticationStrengthAuthenticationMethodModesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationMethodModeDetailCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ConditionalAccessAuthenticationStrengthAuthenticationMethodModesRequest } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationMethodModeDetailable), nil } -// ToGetRequestInformation get a list of all supported authentication methods, or all supported authentication method combinations as a list of authenticationMethodModes objects and their properties. +// ToGetRequestInformation names and descriptions of all valid authentication method modes in the system. // returns a *RequestInformation when successful func (m *ConditionalAccessAuthenticationStrengthAuthenticationMethodModesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConditionalAccessAuthenticationStrengthAuthenticationMethodModesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/conditional_access_authentication_strength_policies_find_by_method_mode_with_authentication_method_modes_request_builder.go b/identity/conditional_access_authentication_strength_policies_find_by_method_mode_with_authentication_method_modes_request_builder.go index 2ad026ee072..08ff6e424fa 100644 --- a/identity/conditional_access_authentication_strength_policies_find_by_method_mode_with_authentication_method_modes_request_builder.go +++ b/identity/conditional_access_authentication_strength_policies_find_by_method_mode_with_authentication_method_modes_request_builder.go @@ -10,7 +10,7 @@ import ( type ConditionalAccessAuthenticationStrengthPoliciesFindByMethodModeWithAuthenticationMethodModesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ConditionalAccessAuthenticationStrengthPoliciesFindByMethodModeWithAuthenticationMethodModesRequestBuilderGetQueryParameters invoke function findByMethodMode +// ConditionalAccessAuthenticationStrengthPoliciesFindByMethodModeWithAuthenticationMethodModesRequestBuilderGetQueryParameters get a list of the authenticationStrengthPolicy objects and their properties filtered to only include policies that include the authentication method mode specified in the request. type ConditionalAccessAuthenticationStrengthPoliciesFindByMethodModeWithAuthenticationMethodModesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewConditionalAccessAuthenticationStrengthPoliciesFindByMethodModeWithAuthe urlParams["request-raw-url"] = rawUrl return NewConditionalAccessAuthenticationStrengthPoliciesFindByMethodModeWithAuthenticationMethodModesRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function findByMethodMode +// Get get a list of the authenticationStrengthPolicy objects and their properties filtered to only include policies that include the authentication method mode specified in the request. // Deprecated: This method is obsolete. Use GetAsFindByMethodModeWithAuthenticationMethodModesGetResponse instead. // returns a ConditionalAccessAuthenticationStrengthPoliciesFindByMethodModeWithAuthenticationMethodModesResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationstrengthpolicy-findbymethodmode?view=graph-rest-beta func (m *ConditionalAccessAuthenticationStrengthPoliciesFindByMethodModeWithAuthenticationMethodModesRequestBuilder) Get(ctx context.Context, requestConfiguration *ConditionalAccessAuthenticationStrengthPoliciesFindByMethodModeWithAuthenticationMethodModesRequestBuilderGetRequestConfiguration)(ConditionalAccessAuthenticationStrengthPoliciesFindByMethodModeWithAuthenticationMethodModesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,10 +78,13 @@ func (m *ConditionalAccessAuthenticationStrengthPoliciesFindByMethodModeWithAuth } return res.(ConditionalAccessAuthenticationStrengthPoliciesFindByMethodModeWithAuthenticationMethodModesResponseable), nil } -// GetAsFindByMethodModeWithAuthenticationMethodModesGetResponse invoke function findByMethodMode +// GetAsFindByMethodModeWithAuthenticationMethodModesGetResponse get a list of the authenticationStrengthPolicy objects and their properties filtered to only include policies that include the authentication method mode specified in the request. // Deprecated: The findByMethodMode function is deprecated. Please use OData filter query instead. as of 2023-02/FindByMethodModeRemove // returns a ConditionalAccessAuthenticationStrengthPoliciesFindByMethodModeWithAuthenticationMethodModesGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationstrengthpolicy-findbymethodmode?view=graph-rest-beta func (m *ConditionalAccessAuthenticationStrengthPoliciesFindByMethodModeWithAuthenticationMethodModesRequestBuilder) GetAsFindByMethodModeWithAuthenticationMethodModesGetResponse(ctx context.Context, requestConfiguration *ConditionalAccessAuthenticationStrengthPoliciesFindByMethodModeWithAuthenticationMethodModesRequestBuilderGetRequestConfiguration)(ConditionalAccessAuthenticationStrengthPoliciesFindByMethodModeWithAuthenticationMethodModesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,7 +102,7 @@ func (m *ConditionalAccessAuthenticationStrengthPoliciesFindByMethodModeWithAuth } return res.(ConditionalAccessAuthenticationStrengthPoliciesFindByMethodModeWithAuthenticationMethodModesGetResponseable), nil } -// ToGetRequestInformation invoke function findByMethodMode +// ToGetRequestInformation get a list of the authenticationStrengthPolicy objects and their properties filtered to only include policies that include the authentication method mode specified in the request. // Deprecated: The findByMethodMode function is deprecated. Please use OData filter query instead. as of 2023-02/FindByMethodModeRemove // returns a *RequestInformation when successful func (m *ConditionalAccessAuthenticationStrengthPoliciesFindByMethodModeWithAuthenticationMethodModesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConditionalAccessAuthenticationStrengthPoliciesFindByMethodModeWithAuthenticationMethodModesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/identity/conditional_access_authentication_strength_policies_item_combination_configurations_authentication_combination_configuration_item_request_builder.go b/identity/conditional_access_authentication_strength_policies_item_combination_configurations_authentication_combination_configuration_item_request_builder.go index bc0c63ee3c3..e31e985256c 100644 --- a/identity/conditional_access_authentication_strength_policies_item_combination_configurations_authentication_combination_configuration_item_request_builder.go +++ b/identity/conditional_access_authentication_strength_policies_item_combination_configurations_authentication_combination_configuration_item_request_builder.go @@ -18,7 +18,7 @@ type ConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfigurationsAuthenticationCombinationConfigurationItemRequestBuilderGetQueryParameters read the properties and relationships of an authenticationCombinationConfiguration object. +// ConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfigurationsAuthenticationCombinationConfigurationItemRequestBuilderGetQueryParameters settings that may be used to require specific types or instances of an authentication method to be used when authenticating with a specified combination of authentication methods. type ConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfigurationsAuthenticationCombinationConfigurationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfigurat urlParams["request-raw-url"] = rawUrl return NewConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfigurationsAuthenticationCombinationConfigurationItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an authenticationCombinationConfiguration for a custom authenticationStrengthPolicy object. +// Delete delete navigation property combinationConfigurations for identity // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationstrengthpolicy-delete-combinationconfigurations?view=graph-rest-1.0 func (m *ConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfigurationsAuthenticationCombinationConfigurationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfigurationsAuthenticationCombinationConfigurationItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfigura } return nil } -// Get read the properties and relationships of an authenticationCombinationConfiguration object. +// Get settings that may be used to require specific types or instances of an authentication method to be used when authenticating with a specified combination of authentication methods. // returns a AuthenticationCombinationConfigurationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationcombinationconfiguration-get?view=graph-rest-1.0 func (m *ConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfigurationsAuthenticationCombinationConfigurationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfigurationsAuthenticationCombinationConfigurationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationCombinationConfigurationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfigura } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationCombinationConfigurationable), nil } -// Patch update the properties of an authenticationCombinationConfiguration object. The properties can be for one of the following derived types:* fido2combinationConfigurations* x509certificatecombinationconfiguration +// Patch update the navigation property combinationConfigurations in identity // returns a AuthenticationCombinationConfigurationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationcombinationconfiguration-update?view=graph-rest-1.0 func (m *ConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfigurationsAuthenticationCombinationConfigurationItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationCombinationConfigurationable, requestConfiguration *ConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfigurationsAuthenticationCombinationConfigurationItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationCombinationConfigurationable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *ConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfigura } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationCombinationConfigurationable), nil } -// ToDeleteRequestInformation delete an authenticationCombinationConfiguration for a custom authenticationStrengthPolicy object. +// ToDeleteRequestInformation delete navigation property combinationConfigurations for identity // returns a *RequestInformation when successful func (m *ConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfigurationsAuthenticationCombinationConfigurationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfigurationsAuthenticationCombinationConfigurationItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *ConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfigura requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an authenticationCombinationConfiguration object. +// ToGetRequestInformation settings that may be used to require specific types or instances of an authentication method to be used when authenticating with a specified combination of authentication methods. // returns a *RequestInformation when successful func (m *ConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfigurationsAuthenticationCombinationConfigurationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfigurationsAuthenticationCombinationConfigurationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *ConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfigura requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an authenticationCombinationConfiguration object. The properties can be for one of the following derived types:* fido2combinationConfigurations* x509certificatecombinationconfiguration +// ToPatchRequestInformation update the navigation property combinationConfigurations in identity // returns a *RequestInformation when successful func (m *ConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfigurationsAuthenticationCombinationConfigurationItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationCombinationConfigurationable, requestConfiguration *ConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfigurationsAuthenticationCombinationConfigurationItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/conditional_access_authentication_strength_policies_item_combination_configurations_request_builder.go b/identity/conditional_access_authentication_strength_policies_item_combination_configurations_request_builder.go index b6f5caf0f93..2d77eb6441c 100644 --- a/identity/conditional_access_authentication_strength_policies_item_combination_configurations_request_builder.go +++ b/identity/conditional_access_authentication_strength_policies_item_combination_configurations_request_builder.go @@ -11,7 +11,7 @@ import ( type ConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfigurationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfigurationsRequestBuilderGetQueryParameters get the authenticationCombinationConfiguration objects for an authentication strength policy. The objects can be of one or more of the following derived types:* fido2combinationConfigurations* x509certificatecombinationconfiguration authenticationCombinationConfiguration objects are supported only for custom authentication strengths. +// ConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfigurationsRequestBuilderGetQueryParameters settings that may be used to require specific types or instances of an authentication method to be used when authenticating with a specified combination of authentication methods. type ConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfigurationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfigurat func (m *ConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfigurationsRequestBuilder) Count()(*ConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfigurationsCountRequestBuilder) { return NewConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfigurationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the authenticationCombinationConfiguration objects for an authentication strength policy. The objects can be of one or more of the following derived types:* fido2combinationConfigurations* x509certificatecombinationconfiguration authenticationCombinationConfiguration objects are supported only for custom authentication strengths. +// Get settings that may be used to require specific types or instances of an authentication method to be used when authenticating with a specified combination of authentication methods. // returns a AuthenticationCombinationConfigurationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationstrengthpolicy-list-combinationconfigurations?view=graph-rest-1.0 func (m *ConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfigurationsRequestBuilder) Get(ctx context.Context, requestConfiguration *ConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfigurationsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationCombinationConfigurationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfigura } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationCombinationConfigurationCollectionResponseable), nil } -// Post create a new authenticationCombinationConfiguration object which can be of one of the following derived types:* fido2combinationConfigurations* x509certificatecombinationconfiguration +// Post create new navigation property to combinationConfigurations for identity // returns a AuthenticationCombinationConfigurationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationstrengthpolicy-post-combinationconfigurations?view=graph-rest-1.0 func (m *ConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfigurationsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationCombinationConfigurationable, requestConfiguration *ConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfigurationsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationCombinationConfigurationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfigura } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationCombinationConfigurationable), nil } -// ToGetRequestInformation get the authenticationCombinationConfiguration objects for an authentication strength policy. The objects can be of one or more of the following derived types:* fido2combinationConfigurations* x509certificatecombinationconfiguration authenticationCombinationConfiguration objects are supported only for custom authentication strengths. +// ToGetRequestInformation settings that may be used to require specific types or instances of an authentication method to be used when authenticating with a specified combination of authentication methods. // returns a *RequestInformation when successful func (m *ConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfigurationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfigurationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfigura requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new authenticationCombinationConfiguration object which can be of one of the following derived types:* fido2combinationConfigurations* x509certificatecombinationconfiguration +// ToPostRequestInformation create new navigation property to combinationConfigurations for identity // returns a *RequestInformation when successful func (m *ConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfigurationsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationCombinationConfigurationable, requestConfiguration *ConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfigurationsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/conditional_access_authentication_strength_policies_item_update_allowed_combinations_request_builder.go b/identity/conditional_access_authentication_strength_policies_item_update_allowed_combinations_request_builder.go index bc7bd32766e..5ca4e55f8bb 100644 --- a/identity/conditional_access_authentication_strength_policies_item_update_allowed_combinations_request_builder.go +++ b/identity/conditional_access_authentication_strength_policies_item_update_allowed_combinations_request_builder.go @@ -36,7 +36,7 @@ func NewConditionalAccessAuthenticationStrengthPoliciesItemUpdateAllowedCombinat // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationstrengthpolicy-updateallowedcombinations?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationstrengthpolicy-updateallowedcombinations?view=graph-rest-beta func (m *ConditionalAccessAuthenticationStrengthPoliciesItemUpdateAllowedCombinationsRequestBuilder) Post(ctx context.Context, body ConditionalAccessAuthenticationStrengthPoliciesItemUpdateAllowedCombinationsPostRequestBodyable, requestConfiguration *ConditionalAccessAuthenticationStrengthPoliciesItemUpdateAllowedCombinationsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UpdateAllowedCombinationsResultable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/identity/conditional_access_authentication_strength_policies_item_usage_request_builder.go b/identity/conditional_access_authentication_strength_policies_item_usage_request_builder.go index ee733e11a0a..c468aa98214 100644 --- a/identity/conditional_access_authentication_strength_policies_item_usage_request_builder.go +++ b/identity/conditional_access_authentication_strength_policies_item_usage_request_builder.go @@ -31,9 +31,12 @@ func NewConditionalAccessAuthenticationStrengthPoliciesItemUsageRequestBuilder(r urlParams["request-raw-url"] = rawUrl return NewConditionalAccessAuthenticationStrengthPoliciesItemUsageRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function usage +// Get the usage function allows the caller to see which Conditional Access policies reference a specified authentication strength policy. The policies are returned in two collections, one containing Conditional Access policies that require an MFA claim and the other containing Conditional Access policies that do not require such a claim. Policies in the former category are restricted in what kinds of changes may be made to them to prevent undermining the MFA requirement of those policies. // returns a AuthenticationStrengthUsageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationstrengthpolicy-usage?view=graph-rest-beta func (m *ConditionalAccessAuthenticationStrengthPoliciesItemUsageRequestBuilder) Get(ctx context.Context, requestConfiguration *ConditionalAccessAuthenticationStrengthPoliciesItemUsageRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationStrengthUsageable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -51,7 +54,7 @@ func (m *ConditionalAccessAuthenticationStrengthPoliciesItemUsageRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationStrengthUsageable), nil } -// ToGetRequestInformation invoke function usage +// ToGetRequestInformation the usage function allows the caller to see which Conditional Access policies reference a specified authentication strength policy. The policies are returned in two collections, one containing Conditional Access policies that require an MFA claim and the other containing Conditional Access policies that do not require such a claim. Policies in the former category are restricted in what kinds of changes may be made to them to prevent undermining the MFA requirement of those policies. // returns a *RequestInformation when successful func (m *ConditionalAccessAuthenticationStrengthPoliciesItemUsageRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConditionalAccessAuthenticationStrengthPoliciesItemUsageRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/conditional_access_authentication_strengths_authentication_method_modes_request_builder.go b/identity/conditional_access_authentication_strengths_authentication_method_modes_request_builder.go index 56dbaec8e14..91d44b0fdf5 100644 --- a/identity/conditional_access_authentication_strengths_authentication_method_modes_request_builder.go +++ b/identity/conditional_access_authentication_strengths_authentication_method_modes_request_builder.go @@ -11,7 +11,7 @@ import ( type ConditionalAccessAuthenticationStrengthsAuthenticationMethodModesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ConditionalAccessAuthenticationStrengthsAuthenticationMethodModesRequestBuilderGetQueryParameters get a list of all supported authentication methods, or all supported authentication method combinations as a list of authenticationMethodModes objects and their properties. +// ConditionalAccessAuthenticationStrengthsAuthenticationMethodModesRequestBuilderGetQueryParameters names and descriptions of all valid authentication method modes in the system. type ConditionalAccessAuthenticationStrengthsAuthenticationMethodModesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -77,13 +77,10 @@ func NewConditionalAccessAuthenticationStrengthsAuthenticationMethodModesRequest func (m *ConditionalAccessAuthenticationStrengthsAuthenticationMethodModesRequestBuilder) Count()(*ConditionalAccessAuthenticationStrengthsAuthenticationMethodModesCountRequestBuilder) { return NewConditionalAccessAuthenticationStrengthsAuthenticationMethodModesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of all supported authentication methods, or all supported authentication method combinations as a list of authenticationMethodModes objects and their properties. +// Get names and descriptions of all valid authentication method modes in the system. // Deprecated: The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove // returns a AuthenticationMethodModeDetailCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationstrengthroot-list-authenticationmethodmodes?view=graph-rest-1.0 func (m *ConditionalAccessAuthenticationStrengthsAuthenticationMethodModesRequestBuilder) Get(ctx context.Context, requestConfiguration *ConditionalAccessAuthenticationStrengthsAuthenticationMethodModesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationMethodModeDetailCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -122,7 +119,7 @@ func (m *ConditionalAccessAuthenticationStrengthsAuthenticationMethodModesReques } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationMethodModeDetailable), nil } -// ToGetRequestInformation get a list of all supported authentication methods, or all supported authentication method combinations as a list of authenticationMethodModes objects and their properties. +// ToGetRequestInformation names and descriptions of all valid authentication method modes in the system. // Deprecated: The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove // returns a *RequestInformation when successful func (m *ConditionalAccessAuthenticationStrengthsAuthenticationMethodModesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConditionalAccessAuthenticationStrengthsAuthenticationMethodModesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/identity/conditional_access_authentication_strengths_policies_find_by_method_mode_with_authentication_method_modes_request_builder.go b/identity/conditional_access_authentication_strengths_policies_find_by_method_mode_with_authentication_method_modes_request_builder.go index f460e1d4b8f..7dd7278e1f2 100644 --- a/identity/conditional_access_authentication_strengths_policies_find_by_method_mode_with_authentication_method_modes_request_builder.go +++ b/identity/conditional_access_authentication_strengths_policies_find_by_method_mode_with_authentication_method_modes_request_builder.go @@ -10,7 +10,7 @@ import ( type ConditionalAccessAuthenticationStrengthsPoliciesFindByMethodModeWithAuthenticationMethodModesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ConditionalAccessAuthenticationStrengthsPoliciesFindByMethodModeWithAuthenticationMethodModesRequestBuilderGetQueryParameters invoke function findByMethodMode +// ConditionalAccessAuthenticationStrengthsPoliciesFindByMethodModeWithAuthenticationMethodModesRequestBuilderGetQueryParameters get a list of the authenticationStrengthPolicy objects and their properties filtered to only include policies that include the authentication method mode specified in the request. type ConditionalAccessAuthenticationStrengthsPoliciesFindByMethodModeWithAuthenticationMethodModesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewConditionalAccessAuthenticationStrengthsPoliciesFindByMethodModeWithAuth urlParams["request-raw-url"] = rawUrl return NewConditionalAccessAuthenticationStrengthsPoliciesFindByMethodModeWithAuthenticationMethodModesRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function findByMethodMode +// Get get a list of the authenticationStrengthPolicy objects and their properties filtered to only include policies that include the authentication method mode specified in the request. // Deprecated: This method is obsolete. Use GetAsFindByMethodModeWithAuthenticationMethodModesGetResponse instead. // returns a ConditionalAccessAuthenticationStrengthsPoliciesFindByMethodModeWithAuthenticationMethodModesResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationstrengthpolicy-findbymethodmode?view=graph-rest-beta func (m *ConditionalAccessAuthenticationStrengthsPoliciesFindByMethodModeWithAuthenticationMethodModesRequestBuilder) Get(ctx context.Context, requestConfiguration *ConditionalAccessAuthenticationStrengthsPoliciesFindByMethodModeWithAuthenticationMethodModesRequestBuilderGetRequestConfiguration)(ConditionalAccessAuthenticationStrengthsPoliciesFindByMethodModeWithAuthenticationMethodModesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,10 +78,13 @@ func (m *ConditionalAccessAuthenticationStrengthsPoliciesFindByMethodModeWithAut } return res.(ConditionalAccessAuthenticationStrengthsPoliciesFindByMethodModeWithAuthenticationMethodModesResponseable), nil } -// GetAsFindByMethodModeWithAuthenticationMethodModesGetResponse invoke function findByMethodMode +// GetAsFindByMethodModeWithAuthenticationMethodModesGetResponse get a list of the authenticationStrengthPolicy objects and their properties filtered to only include policies that include the authentication method mode specified in the request. // Deprecated: The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove // returns a ConditionalAccessAuthenticationStrengthsPoliciesFindByMethodModeWithAuthenticationMethodModesGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationstrengthpolicy-findbymethodmode?view=graph-rest-beta func (m *ConditionalAccessAuthenticationStrengthsPoliciesFindByMethodModeWithAuthenticationMethodModesRequestBuilder) GetAsFindByMethodModeWithAuthenticationMethodModesGetResponse(ctx context.Context, requestConfiguration *ConditionalAccessAuthenticationStrengthsPoliciesFindByMethodModeWithAuthenticationMethodModesRequestBuilderGetRequestConfiguration)(ConditionalAccessAuthenticationStrengthsPoliciesFindByMethodModeWithAuthenticationMethodModesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,7 +102,7 @@ func (m *ConditionalAccessAuthenticationStrengthsPoliciesFindByMethodModeWithAut } return res.(ConditionalAccessAuthenticationStrengthsPoliciesFindByMethodModeWithAuthenticationMethodModesGetResponseable), nil } -// ToGetRequestInformation invoke function findByMethodMode +// ToGetRequestInformation get a list of the authenticationStrengthPolicy objects and their properties filtered to only include policies that include the authentication method mode specified in the request. // Deprecated: The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove // returns a *RequestInformation when successful func (m *ConditionalAccessAuthenticationStrengthsPoliciesFindByMethodModeWithAuthenticationMethodModesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConditionalAccessAuthenticationStrengthsPoliciesFindByMethodModeWithAuthenticationMethodModesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/identity/conditional_access_authentication_strengths_policies_item_combination_configurations_authentication_combination_configuration_item_request_builder.go b/identity/conditional_access_authentication_strengths_policies_item_combination_configurations_authentication_combination_configuration_item_request_builder.go index 7023e6f064e..6eff33ab411 100644 --- a/identity/conditional_access_authentication_strengths_policies_item_combination_configurations_authentication_combination_configuration_item_request_builder.go +++ b/identity/conditional_access_authentication_strengths_policies_item_combination_configurations_authentication_combination_configuration_item_request_builder.go @@ -18,7 +18,7 @@ type ConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfiguratio // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfigurationsAuthenticationCombinationConfigurationItemRequestBuilderGetQueryParameters read the properties and relationships of an authenticationCombinationConfiguration object. +// ConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfigurationsAuthenticationCombinationConfigurationItemRequestBuilderGetQueryParameters settings that may be used to require specific types or instances of an authentication method to be used when authenticating with a specified combination of authentication methods. type ConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfigurationsAuthenticationCombinationConfigurationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,12 +54,9 @@ func NewConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfigura urlParams["request-raw-url"] = rawUrl return NewConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfigurationsAuthenticationCombinationConfigurationItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an authenticationCombinationConfiguration for a custom authenticationStrengthPolicy object. +// Delete delete navigation property combinationConfigurations for identity // Deprecated: The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationstrengthpolicy-delete-combinationconfigurations?view=graph-rest-1.0 func (m *ConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfigurationsAuthenticationCombinationConfigurationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfigurationsAuthenticationCombinationConfigurationItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -74,13 +71,10 @@ func (m *ConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfigur } return nil } -// Get read the properties and relationships of an authenticationCombinationConfiguration object. +// Get settings that may be used to require specific types or instances of an authentication method to be used when authenticating with a specified combination of authentication methods. // Deprecated: The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove // returns a AuthenticationCombinationConfigurationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationcombinationconfiguration-get?view=graph-rest-1.0 func (m *ConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfigurationsAuthenticationCombinationConfigurationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfigurationsAuthenticationCombinationConfigurationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationCombinationConfigurationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,13 +92,10 @@ func (m *ConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfigur } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationCombinationConfigurationable), nil } -// Patch update the properties of an authenticationCombinationConfiguration object. The properties can be for one of the following derived types:* fido2combinationConfigurations* x509certificatecombinationconfiguration +// Patch update the navigation property combinationConfigurations in identity // Deprecated: The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove // returns a AuthenticationCombinationConfigurationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationcombinationconfiguration-update?view=graph-rest-1.0 func (m *ConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfigurationsAuthenticationCombinationConfigurationItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationCombinationConfigurationable, requestConfiguration *ConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfigurationsAuthenticationCombinationConfigurationItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationCombinationConfigurationable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +113,7 @@ func (m *ConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfigur } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationCombinationConfigurationable), nil } -// ToDeleteRequestInformation delete an authenticationCombinationConfiguration for a custom authenticationStrengthPolicy object. +// ToDeleteRequestInformation delete navigation property combinationConfigurations for identity // Deprecated: The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove // returns a *RequestInformation when successful func (m *ConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfigurationsAuthenticationCombinationConfigurationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfigurationsAuthenticationCombinationConfigurationItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -134,7 +125,7 @@ func (m *ConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfigur requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an authenticationCombinationConfiguration object. +// ToGetRequestInformation settings that may be used to require specific types or instances of an authentication method to be used when authenticating with a specified combination of authentication methods. // Deprecated: The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove // returns a *RequestInformation when successful func (m *ConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfigurationsAuthenticationCombinationConfigurationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfigurationsAuthenticationCombinationConfigurationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -149,7 +140,7 @@ func (m *ConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfigur requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an authenticationCombinationConfiguration object. The properties can be for one of the following derived types:* fido2combinationConfigurations* x509certificatecombinationconfiguration +// ToPatchRequestInformation update the navigation property combinationConfigurations in identity // Deprecated: The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove // returns a *RequestInformation when successful func (m *ConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfigurationsAuthenticationCombinationConfigurationItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationCombinationConfigurationable, requestConfiguration *ConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfigurationsAuthenticationCombinationConfigurationItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/identity/conditional_access_authentication_strengths_policies_item_combination_configurations_request_builder.go b/identity/conditional_access_authentication_strengths_policies_item_combination_configurations_request_builder.go index 8683fc01331..87b70154aa0 100644 --- a/identity/conditional_access_authentication_strengths_policies_item_combination_configurations_request_builder.go +++ b/identity/conditional_access_authentication_strengths_policies_item_combination_configurations_request_builder.go @@ -11,7 +11,7 @@ import ( type ConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfigurationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfigurationsRequestBuilderGetQueryParameters get the authenticationCombinationConfiguration objects for an authentication strength policy. The objects can be of one or more of the following derived types:* fido2combinationConfigurations* x509certificatecombinationconfiguration authenticationCombinationConfiguration objects are supported only for custom authentication strengths. +// ConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfigurationsRequestBuilderGetQueryParameters settings that may be used to require specific types or instances of an authentication method to be used when authenticating with a specified combination of authentication methods. type ConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfigurationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -77,13 +77,10 @@ func NewConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfigura func (m *ConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfigurationsRequestBuilder) Count()(*ConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfigurationsCountRequestBuilder) { return NewConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfigurationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the authenticationCombinationConfiguration objects for an authentication strength policy. The objects can be of one or more of the following derived types:* fido2combinationConfigurations* x509certificatecombinationconfiguration authenticationCombinationConfiguration objects are supported only for custom authentication strengths. +// Get settings that may be used to require specific types or instances of an authentication method to be used when authenticating with a specified combination of authentication methods. // Deprecated: The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove // returns a AuthenticationCombinationConfigurationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationstrengthpolicy-list-combinationconfigurations?view=graph-rest-1.0 func (m *ConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfigurationsRequestBuilder) Get(ctx context.Context, requestConfiguration *ConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfigurationsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationCombinationConfigurationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,13 +98,10 @@ func (m *ConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfigur } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationCombinationConfigurationCollectionResponseable), nil } -// Post create a new authenticationCombinationConfiguration object which can be of one of the following derived types:* fido2combinationConfigurations* x509certificatecombinationconfiguration +// Post create new navigation property to combinationConfigurations for identity // Deprecated: The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove // returns a AuthenticationCombinationConfigurationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationstrengthpolicy-post-combinationconfigurations?view=graph-rest-1.0 func (m *ConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfigurationsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationCombinationConfigurationable, requestConfiguration *ConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfigurationsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationCombinationConfigurationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfigur } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationCombinationConfigurationable), nil } -// ToGetRequestInformation get the authenticationCombinationConfiguration objects for an authentication strength policy. The objects can be of one or more of the following derived types:* fido2combinationConfigurations* x509certificatecombinationconfiguration authenticationCombinationConfiguration objects are supported only for custom authentication strengths. +// ToGetRequestInformation settings that may be used to require specific types or instances of an authentication method to be used when authenticating with a specified combination of authentication methods. // Deprecated: The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove // returns a *RequestInformation when successful func (m *ConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfigurationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfigurationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -140,7 +134,7 @@ func (m *ConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfigur requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new authenticationCombinationConfiguration object which can be of one of the following derived types:* fido2combinationConfigurations* x509certificatecombinationconfiguration +// ToPostRequestInformation create new navigation property to combinationConfigurations for identity // Deprecated: The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove // returns a *RequestInformation when successful func (m *ConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfigurationsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationCombinationConfigurationable, requestConfiguration *ConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfigurationsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/identity/conditional_access_authentication_strengths_policies_item_update_allowed_combinations_request_builder.go b/identity/conditional_access_authentication_strengths_policies_item_update_allowed_combinations_request_builder.go index 5603462ef23..6443c2de55d 100644 --- a/identity/conditional_access_authentication_strengths_policies_item_update_allowed_combinations_request_builder.go +++ b/identity/conditional_access_authentication_strengths_policies_item_update_allowed_combinations_request_builder.go @@ -37,7 +37,7 @@ func NewConditionalAccessAuthenticationStrengthsPoliciesItemUpdateAllowedCombina // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationstrengthpolicy-updateallowedcombinations?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationstrengthpolicy-updateallowedcombinations?view=graph-rest-beta func (m *ConditionalAccessAuthenticationStrengthsPoliciesItemUpdateAllowedCombinationsRequestBuilder) Post(ctx context.Context, body ConditionalAccessAuthenticationStrengthsPoliciesItemUpdateAllowedCombinationsPostRequestBodyable, requestConfiguration *ConditionalAccessAuthenticationStrengthsPoliciesItemUpdateAllowedCombinationsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UpdateAllowedCombinationsResultable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/identity/conditional_access_authentication_strengths_policies_item_usage_request_builder.go b/identity/conditional_access_authentication_strengths_policies_item_usage_request_builder.go index 6eecc8c69d5..97d0f1d152c 100644 --- a/identity/conditional_access_authentication_strengths_policies_item_usage_request_builder.go +++ b/identity/conditional_access_authentication_strengths_policies_item_usage_request_builder.go @@ -31,10 +31,13 @@ func NewConditionalAccessAuthenticationStrengthsPoliciesItemUsageRequestBuilder( urlParams["request-raw-url"] = rawUrl return NewConditionalAccessAuthenticationStrengthsPoliciesItemUsageRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function usage +// Get the usage function allows the caller to see which Conditional Access policies reference a specified authentication strength policy. The policies are returned in two collections, one containing Conditional Access policies that require an MFA claim and the other containing Conditional Access policies that do not require such a claim. Policies in the former category are restricted in what kinds of changes may be made to them to prevent undermining the MFA requirement of those policies. // Deprecated: The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove // returns a AuthenticationStrengthUsageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationstrengthpolicy-usage?view=graph-rest-beta func (m *ConditionalAccessAuthenticationStrengthsPoliciesItemUsageRequestBuilder) Get(ctx context.Context, requestConfiguration *ConditionalAccessAuthenticationStrengthsPoliciesItemUsageRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationStrengthUsageable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -52,7 +55,7 @@ func (m *ConditionalAccessAuthenticationStrengthsPoliciesItemUsageRequestBuilder } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationStrengthUsageable), nil } -// ToGetRequestInformation invoke function usage +// ToGetRequestInformation the usage function allows the caller to see which Conditional Access policies reference a specified authentication strength policy. The policies are returned in two collections, one containing Conditional Access policies that require an MFA claim and the other containing Conditional Access policies that do not require such a claim. Policies in the former category are restricted in what kinds of changes may be made to them to prevent undermining the MFA requirement of those policies. // Deprecated: The 'authenticationStrengths' segment is deprecated. Please use 'authenticationStrength' instead. as of 2023-02/AuthenticationStrengthsRemove // returns a *RequestInformation when successful func (m *ConditionalAccessAuthenticationStrengthsPoliciesItemUsageRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConditionalAccessAuthenticationStrengthsPoliciesItemUsageRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { 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 3bad014d380..b546023b80f 100644 --- a/identity/conditional_access_named_locations_named_location_item_request_builder.go +++ b/identity/conditional_access_named_locations_named_location_item_request_builder.go @@ -18,7 +18,7 @@ type ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderDeleteRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a countryNamedLocation object. +// ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderGetQueryParameters read-only. Nullable. Returns a collection of the specified named locations. type ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewConditionalAccessNamedLocationsNamedLocationItemRequestBuilder(rawUrl st urlParams["request-raw-url"] = rawUrl return NewConditionalAccessNamedLocationsNamedLocationItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an ipNamedLocation object. +// Delete delete navigation property namedLocations for identity // returns a ODataError error 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-delete?view=graph-rest-1.0 func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) Delete( } return nil } -// Get retrieve the properties and relationships of a countryNamedLocation object. +// Get read-only. Nullable. Returns a collection of the specified named locations. // returns a NamedLocationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/countrynamedlocation-get?view=graph-rest-1.0 func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NamedLocationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) Get(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NamedLocationable), nil } -// Patch update the properties of an ipNamedLocation object. +// Patch update the navigation property namedLocations in identity // 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-update?view=graph-rest-1.0 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 { @@ -119,7 +110,7 @@ func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) Patch(c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NamedLocationable), nil } -// ToDeleteRequestInformation delete an ipNamedLocation object. +// ToDeleteRequestInformation delete navigation property namedLocations for identity // returns a *RequestInformation when successful func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) ToDelet requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a countryNamedLocation object. +// ToGetRequestInformation read-only. Nullable. Returns a collection of the specified named locations. // 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 +135,7 @@ func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) ToGetRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an ipNamedLocation object. +// ToPatchRequestInformation update the navigation property namedLocations in identity // 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/identity/conditional_access_named_locations_request_builder.go b/identity/conditional_access_named_locations_request_builder.go index 189ee3ff4cc..e9e6908b408 100644 --- a/identity/conditional_access_named_locations_request_builder.go +++ b/identity/conditional_access_named_locations_request_builder.go @@ -11,7 +11,7 @@ import ( type ConditionalAccessNamedLocationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ConditionalAccessNamedLocationsRequestBuilderGetQueryParameters get a list of namedLocation objects. +// ConditionalAccessNamedLocationsRequestBuilderGetQueryParameters read-only. Nullable. Returns a collection of the specified named locations. type ConditionalAccessNamedLocationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewConditionalAccessNamedLocationsRequestBuilder(rawUrl string, requestAdap func (m *ConditionalAccessNamedLocationsRequestBuilder) Count()(*ConditionalAccessNamedLocationsCountRequestBuilder) { return NewConditionalAccessNamedLocationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of namedLocation objects. +// Get read-only. Nullable. Returns a collection of the specified named locations. // returns a NamedLocationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/conditionalaccessroot-list-namedlocations?view=graph-rest-1.0 func (m *ConditionalAccessNamedLocationsRequestBuilder) Get(ctx context.Context, requestConfiguration *ConditionalAccessNamedLocationsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NamedLocationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ConditionalAccessNamedLocationsRequestBuilder) Get(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NamedLocationCollectionResponseable), nil } -// Post create a new namedLocation object. Named locations can be either ipNamedLocation or countryNamedLocation objects. +// Post create new navigation property to namedLocations for identity // 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/conditionalaccessroot-post-namedlocations?view=graph-rest-1.0 func (m *ConditionalAccessNamedLocationsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NamedLocationable, requestConfiguration *ConditionalAccessNamedLocationsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NamedLocationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ConditionalAccessNamedLocationsRequestBuilder) Post(ctx context.Context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NamedLocationable), nil } -// ToGetRequestInformation get a list of namedLocation objects. +// ToGetRequestInformation read-only. Nullable. Returns a collection of the specified named locations. // returns a *RequestInformation when successful func (m *ConditionalAccessNamedLocationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConditionalAccessNamedLocationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ConditionalAccessNamedLocationsRequestBuilder) ToGetRequestInformation( requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new namedLocation object. Named locations can be either ipNamedLocation or countryNamedLocation objects. +// ToPostRequestInformation create new navigation property to namedLocations for identity // returns a *RequestInformation when successful func (m *ConditionalAccessNamedLocationsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NamedLocationable, requestConfiguration *ConditionalAccessNamedLocationsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/conditional_access_policies_conditional_access_policy_item_request_builder.go b/identity/conditional_access_policies_conditional_access_policy_item_request_builder.go index c8068e18667..1b506865194 100644 --- a/identity/conditional_access_policies_conditional_access_policy_item_request_builder.go +++ b/identity/conditional_access_policies_conditional_access_policy_item_request_builder.go @@ -18,7 +18,7 @@ type ConditionalAccessPoliciesConditionalAccessPolicyItemRequestBuilderDeleteReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ConditionalAccessPoliciesConditionalAccessPolicyItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a conditionalAccessPolicy object. +// ConditionalAccessPoliciesConditionalAccessPolicyItemRequestBuilderGetQueryParameters read-only. Nullable. Returns a collection of the specified Conditional Access policies. type ConditionalAccessPoliciesConditionalAccessPolicyItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewConditionalAccessPoliciesConditionalAccessPolicyItemRequestBuilder(rawUr urlParams["request-raw-url"] = rawUrl return NewConditionalAccessPoliciesConditionalAccessPolicyItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a conditionalAccessPolicy object. +// Delete delete navigation property policies for identity // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/conditionalaccesspolicy-delete?view=graph-rest-1.0 func (m *ConditionalAccessPoliciesConditionalAccessPolicyItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ConditionalAccessPoliciesConditionalAccessPolicyItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ConditionalAccessPoliciesConditionalAccessPolicyItemRequestBuilder) Del } return nil } -// Get retrieve the properties and relationships of a conditionalAccessPolicy object. +// Get read-only. Nullable. Returns a collection of the specified Conditional Access policies. // returns a ConditionalAccessPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/conditionalaccesspolicy-get?view=graph-rest-1.0 func (m *ConditionalAccessPoliciesConditionalAccessPolicyItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ConditionalAccessPoliciesConditionalAccessPolicyItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConditionalAccessPolicyable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ConditionalAccessPoliciesConditionalAccessPolicyItemRequestBuilder) Get } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConditionalAccessPolicyable), nil } -// Patch update the properties of a conditionalAccessPolicy object. +// Patch update the navigation property policies in identity // returns a ConditionalAccessPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/conditionalaccesspolicy-update?view=graph-rest-1.0 func (m *ConditionalAccessPoliciesConditionalAccessPolicyItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConditionalAccessPolicyable, requestConfiguration *ConditionalAccessPoliciesConditionalAccessPolicyItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConditionalAccessPolicyable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *ConditionalAccessPoliciesConditionalAccessPolicyItemRequestBuilder) Pat } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConditionalAccessPolicyable), nil } -// ToDeleteRequestInformation delete a conditionalAccessPolicy object. +// ToDeleteRequestInformation delete navigation property policies for identity // returns a *RequestInformation when successful func (m *ConditionalAccessPoliciesConditionalAccessPolicyItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ConditionalAccessPoliciesConditionalAccessPolicyItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *ConditionalAccessPoliciesConditionalAccessPolicyItemRequestBuilder) ToD requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a conditionalAccessPolicy object. +// ToGetRequestInformation read-only. Nullable. Returns a collection of the specified Conditional Access policies. // returns a *RequestInformation when successful func (m *ConditionalAccessPoliciesConditionalAccessPolicyItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConditionalAccessPoliciesConditionalAccessPolicyItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *ConditionalAccessPoliciesConditionalAccessPolicyItemRequestBuilder) ToG requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a conditionalAccessPolicy object. +// ToPatchRequestInformation update the navigation property policies in identity // returns a *RequestInformation when successful func (m *ConditionalAccessPoliciesConditionalAccessPolicyItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConditionalAccessPolicyable, requestConfiguration *ConditionalAccessPoliciesConditionalAccessPolicyItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/conditional_access_policies_request_builder.go b/identity/conditional_access_policies_request_builder.go index b917bffda94..29dd8193792 100644 --- a/identity/conditional_access_policies_request_builder.go +++ b/identity/conditional_access_policies_request_builder.go @@ -11,7 +11,7 @@ import ( type ConditionalAccessPoliciesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ConditionalAccessPoliciesRequestBuilderGetQueryParameters retrieve a list of conditionalAccessPolicy objects. +// ConditionalAccessPoliciesRequestBuilderGetQueryParameters read-only. Nullable. Returns a collection of the specified Conditional Access policies. type ConditionalAccessPoliciesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewConditionalAccessPoliciesRequestBuilder(rawUrl string, requestAdapter i2 func (m *ConditionalAccessPoliciesRequestBuilder) Count()(*ConditionalAccessPoliciesCountRequestBuilder) { return NewConditionalAccessPoliciesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of conditionalAccessPolicy objects. +// Get read-only. Nullable. Returns a collection of the specified Conditional Access policies. // returns a ConditionalAccessPolicyCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/conditionalaccessroot-list-policies?view=graph-rest-1.0 func (m *ConditionalAccessPoliciesRequestBuilder) Get(ctx context.Context, requestConfiguration *ConditionalAccessPoliciesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConditionalAccessPolicyCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ConditionalAccessPoliciesRequestBuilder) Get(ctx context.Context, reque } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConditionalAccessPolicyCollectionResponseable), nil } -// Post create a new conditionalAccessPolicy. +// Post create new navigation property to policies for identity // returns a ConditionalAccessPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/conditionalaccessroot-post-policies?view=graph-rest-1.0 func (m *ConditionalAccessPoliciesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConditionalAccessPolicyable, requestConfiguration *ConditionalAccessPoliciesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConditionalAccessPolicyable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ConditionalAccessPoliciesRequestBuilder) Post(ctx context.Context, body } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConditionalAccessPolicyable), nil } -// ToGetRequestInformation retrieve a list of conditionalAccessPolicy objects. +// ToGetRequestInformation read-only. Nullable. Returns a collection of the specified Conditional Access policies. // returns a *RequestInformation when successful func (m *ConditionalAccessPoliciesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConditionalAccessPoliciesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ConditionalAccessPoliciesRequestBuilder) ToGetRequestInformation(ctx co requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new conditionalAccessPolicy. +// ToPostRequestInformation create new navigation property to policies for identity // returns a *RequestInformation when successful func (m *ConditionalAccessPoliciesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConditionalAccessPolicyable, requestConfiguration *ConditionalAccessPoliciesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/conditional_access_templates_conditional_access_template_item_request_builder.go b/identity/conditional_access_templates_conditional_access_template_item_request_builder.go index 741695d25a5..e6c25901a4f 100644 --- a/identity/conditional_access_templates_conditional_access_template_item_request_builder.go +++ b/identity/conditional_access_templates_conditional_access_template_item_request_builder.go @@ -11,7 +11,7 @@ import ( type ConditionalAccessTemplatesConditionalAccessTemplateItemRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ConditionalAccessTemplatesConditionalAccessTemplateItemRequestBuilderGetQueryParameters read the properties and relationships of a conditionalAccessTemplate object. +// ConditionalAccessTemplatesConditionalAccessTemplateItemRequestBuilderGetQueryParameters read-only. Nullable. Returns a collection of the specified Conditional Access templates. type ConditionalAccessTemplatesConditionalAccessTemplateItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -40,12 +40,9 @@ func NewConditionalAccessTemplatesConditionalAccessTemplateItemRequestBuilder(ra urlParams["request-raw-url"] = rawUrl return NewConditionalAccessTemplatesConditionalAccessTemplateItemRequestBuilderInternal(urlParams, requestAdapter) } -// Get read the properties and relationships of a conditionalAccessTemplate object. +// Get read-only. Nullable. Returns a collection of the specified Conditional Access templates. // returns a ConditionalAccessTemplateable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/conditionalaccesstemplate-get?view=graph-rest-1.0 func (m *ConditionalAccessTemplatesConditionalAccessTemplateItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ConditionalAccessTemplatesConditionalAccessTemplateItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConditionalAccessTemplateable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -63,7 +60,7 @@ func (m *ConditionalAccessTemplatesConditionalAccessTemplateItemRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConditionalAccessTemplateable), nil } -// ToGetRequestInformation read the properties and relationships of a conditionalAccessTemplate object. +// ToGetRequestInformation read-only. Nullable. Returns a collection of the specified Conditional Access templates. // returns a *RequestInformation when successful func (m *ConditionalAccessTemplatesConditionalAccessTemplateItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConditionalAccessTemplatesConditionalAccessTemplateItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/conditional_access_templates_request_builder.go b/identity/conditional_access_templates_request_builder.go index 42ab4009cc2..049248ef562 100644 --- a/identity/conditional_access_templates_request_builder.go +++ b/identity/conditional_access_templates_request_builder.go @@ -11,7 +11,7 @@ import ( type ConditionalAccessTemplatesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ConditionalAccessTemplatesRequestBuilderGetQueryParameters get a list of the conditionalAccessTemplate objects and their properties. +// ConditionalAccessTemplatesRequestBuilderGetQueryParameters read-only. Nullable. Returns a collection of the specified Conditional Access templates. type ConditionalAccessTemplatesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewConditionalAccessTemplatesRequestBuilder(rawUrl string, requestAdapter i func (m *ConditionalAccessTemplatesRequestBuilder) Count()(*ConditionalAccessTemplatesCountRequestBuilder) { return NewConditionalAccessTemplatesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the conditionalAccessTemplate objects and their properties. +// Get read-only. Nullable. Returns a collection of the specified Conditional Access templates. // returns a ConditionalAccessTemplateCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/conditionalaccessroot-list-templates?view=graph-rest-1.0 func (m *ConditionalAccessTemplatesRequestBuilder) Get(ctx context.Context, requestConfiguration *ConditionalAccessTemplatesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConditionalAccessTemplateCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *ConditionalAccessTemplatesRequestBuilder) Get(ctx context.Context, requ } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConditionalAccessTemplateCollectionResponseable), nil } -// ToGetRequestInformation get a list of the conditionalAccessTemplate objects and their properties. +// ToGetRequestInformation read-only. Nullable. Returns a collection of the specified Conditional Access templates. // returns a *RequestInformation when successful func (m *ConditionalAccessTemplatesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConditionalAccessTemplatesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/continuous_access_evaluation_policy_request_builder.go b/identity/continuous_access_evaluation_policy_request_builder.go index 22cc4da384f..4e33b511491 100644 --- a/identity/continuous_access_evaluation_policy_request_builder.go +++ b/identity/continuous_access_evaluation_policy_request_builder.go @@ -18,7 +18,7 @@ type ContinuousAccessEvaluationPolicyRequestBuilderDeleteRequestConfiguration st // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ContinuousAccessEvaluationPolicyRequestBuilderGetQueryParameters read the properties and relationships of a continuousAccessEvaluationPolicy object. +// ContinuousAccessEvaluationPolicyRequestBuilderGetQueryParameters represents entry point for continuous access evaluation policy. type ContinuousAccessEvaluationPolicyRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ContinuousAccessEvaluationPolicyRequestBuilder) Delete(ctx context.Cont } return nil } -// Get read the properties and relationships of a continuousAccessEvaluationPolicy object. +// Get represents entry point for continuous access evaluation policy. // returns a ContinuousAccessEvaluationPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/continuousaccessevaluationpolicy-get?view=graph-rest-1.0 func (m *ContinuousAccessEvaluationPolicyRequestBuilder) Get(ctx context.Context, requestConfiguration *ContinuousAccessEvaluationPolicyRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContinuousAccessEvaluationPolicyable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *ContinuousAccessEvaluationPolicyRequestBuilder) Get(ctx context.Context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContinuousAccessEvaluationPolicyable), nil } -// Patch update the properties of a continuousAccessEvaluationPolicy object. +// Patch update the navigation property continuousAccessEvaluationPolicy in identity // returns a ContinuousAccessEvaluationPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/continuousaccessevaluationpolicy-update?view=graph-rest-1.0 func (m *ContinuousAccessEvaluationPolicyRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContinuousAccessEvaluationPolicyable, requestConfiguration *ContinuousAccessEvaluationPolicyRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContinuousAccessEvaluationPolicyable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ContinuousAccessEvaluationPolicyRequestBuilder) ToDeleteRequestInformat requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a continuousAccessEvaluationPolicy object. +// ToGetRequestInformation represents entry point for continuous access evaluation policy. // returns a *RequestInformation when successful func (m *ContinuousAccessEvaluationPolicyRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ContinuousAccessEvaluationPolicyRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ContinuousAccessEvaluationPolicyRequestBuilder) ToGetRequestInformation requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a continuousAccessEvaluationPolicy object. +// ToPatchRequestInformation update the navigation property continuousAccessEvaluationPolicy in identity // returns a *RequestInformation when successful func (m *ContinuousAccessEvaluationPolicyRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContinuousAccessEvaluationPolicyable, requestConfiguration *ContinuousAccessEvaluationPolicyRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/custom_authentication_extensions_custom_authentication_extension_item_request_builder.go b/identity/custom_authentication_extensions_custom_authentication_extension_item_request_builder.go index 0818b167d59..41611cc2920 100644 --- a/identity/custom_authentication_extensions_custom_authentication_extension_item_request_builder.go +++ b/identity/custom_authentication_extensions_custom_authentication_extension_item_request_builder.go @@ -18,7 +18,7 @@ type CustomAuthenticationExtensionsCustomAuthenticationExtensionItemRequestBuild // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// CustomAuthenticationExtensionsCustomAuthenticationExtensionItemRequestBuilderGetQueryParameters read the properties and relationships of an authenticationEventListener object. The @odata.type property in the response object indicates the type of the authenticationEventListener object. +// CustomAuthenticationExtensionsCustomAuthenticationExtensionItemRequestBuilderGetQueryParameters get customAuthenticationExtensions from identity type CustomAuthenticationExtensionsCustomAuthenticationExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewCustomAuthenticationExtensionsCustomAuthenticationExtensionItemRequestBu urlParams["request-raw-url"] = rawUrl return NewCustomAuthenticationExtensionsCustomAuthenticationExtensionItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a customAuthenticationExtension object. +// Delete delete navigation property customAuthenticationExtensions for identity // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/customauthenticationextension-delete?view=graph-rest-1.0 func (m *CustomAuthenticationExtensionsCustomAuthenticationExtensionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *CustomAuthenticationExtensionsCustomAuthenticationExtensionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *CustomAuthenticationExtensionsCustomAuthenticationExtensionItemRequestB } return nil } -// Get read the properties and relationships of an authenticationEventListener object. The @odata.type property in the response object indicates the type of the authenticationEventListener object. +// Get get customAuthenticationExtensions from identity // returns a CustomAuthenticationExtensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationeventlistener-get?view=graph-rest-1.0 func (m *CustomAuthenticationExtensionsCustomAuthenticationExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *CustomAuthenticationExtensionsCustomAuthenticationExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomAuthenticationExtensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -116,7 +110,7 @@ func (m *CustomAuthenticationExtensionsCustomAuthenticationExtensionItemRequestB } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomAuthenticationExtensionable), nil } -// ToDeleteRequestInformation delete a customAuthenticationExtension object. +// ToDeleteRequestInformation delete navigation property customAuthenticationExtensions for identity // returns a *RequestInformation when successful func (m *CustomAuthenticationExtensionsCustomAuthenticationExtensionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *CustomAuthenticationExtensionsCustomAuthenticationExtensionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -127,7 +121,7 @@ func (m *CustomAuthenticationExtensionsCustomAuthenticationExtensionItemRequestB requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an authenticationEventListener object. The @odata.type property in the response object indicates the type of the authenticationEventListener object. +// ToGetRequestInformation get customAuthenticationExtensions from identity // returns a *RequestInformation when successful func (m *CustomAuthenticationExtensionsCustomAuthenticationExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CustomAuthenticationExtensionsCustomAuthenticationExtensionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/custom_authentication_extensions_item_validate_authentication_configuration_request_builder.go b/identity/custom_authentication_extensions_item_validate_authentication_configuration_request_builder.go index e73025754c4..e7c96a4215e 100644 --- a/identity/custom_authentication_extensions_item_validate_authentication_configuration_request_builder.go +++ b/identity/custom_authentication_extensions_item_validate_authentication_configuration_request_builder.go @@ -36,7 +36,7 @@ func NewCustomAuthenticationExtensionsItemValidateAuthenticationConfigurationReq // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/customauthenticationextension-validateauthenticationconfiguration?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/customauthenticationextension-validateauthenticationconfiguration?view=graph-rest-beta func (m *CustomAuthenticationExtensionsItemValidateAuthenticationConfigurationRequestBuilder) Post(ctx context.Context, requestConfiguration *CustomAuthenticationExtensionsItemValidateAuthenticationConfigurationRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationConfigurationValidationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identity/custom_authentication_extensions_request_builder.go b/identity/custom_authentication_extensions_request_builder.go index a8ae43284a2..e12bc4e52d9 100644 --- a/identity/custom_authentication_extensions_request_builder.go +++ b/identity/custom_authentication_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type CustomAuthenticationExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// CustomAuthenticationExtensionsRequestBuilderGetQueryParameters get a list of the customAuthenticationExtension objects and their properties. The following derived types are supported. +// CustomAuthenticationExtensionsRequestBuilderGetQueryParameters get customAuthenticationExtensions from identity type CustomAuthenticationExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewCustomAuthenticationExtensionsRequestBuilder(rawUrl string, requestAdapt func (m *CustomAuthenticationExtensionsRequestBuilder) Count()(*CustomAuthenticationExtensionsCountRequestBuilder) { return NewCustomAuthenticationExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the customAuthenticationExtension objects and their properties. The following derived types are supported. +// Get get customAuthenticationExtensions from identity // returns a CustomAuthenticationExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identitycontainer-list-customauthenticationextensions?view=graph-rest-1.0 func (m *CustomAuthenticationExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *CustomAuthenticationExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomAuthenticationExtensionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *CustomAuthenticationExtensionsRequestBuilder) Get(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomAuthenticationExtensionCollectionResponseable), nil } -// Post create a new customAuthenticationExtension object. The following derived types are currently supported. +// Post create new navigation property to customAuthenticationExtensions for identity // returns a CustomAuthenticationExtensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identitycontainer-post-customauthenticationextensions?view=graph-rest-1.0 func (m *CustomAuthenticationExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomAuthenticationExtensionable, requestConfiguration *CustomAuthenticationExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomAuthenticationExtensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *CustomAuthenticationExtensionsRequestBuilder) Post(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomAuthenticationExtensionable), nil } -// ToGetRequestInformation get a list of the customAuthenticationExtension objects and their properties. The following derived types are supported. +// ToGetRequestInformation get customAuthenticationExtensions from identity // returns a *RequestInformation when successful func (m *CustomAuthenticationExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CustomAuthenticationExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *CustomAuthenticationExtensionsRequestBuilder) ToGetRequestInformation(c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new customAuthenticationExtension object. The following derived types are currently supported. +// ToPostRequestInformation create new navigation property to customAuthenticationExtensions for identity // returns a *RequestInformation when successful func (m *CustomAuthenticationExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomAuthenticationExtensionable, requestConfiguration *CustomAuthenticationExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/identity_providers_available_provider_types_request_builder.go b/identity/identity_providers_available_provider_types_request_builder.go index 380fac33de9..3567ffcdba9 100644 --- a/identity/identity_providers_available_provider_types_request_builder.go +++ b/identity/identity_providers_available_provider_types_request_builder.go @@ -10,7 +10,7 @@ import ( type IdentityProvidersAvailableProviderTypesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// IdentityProvidersAvailableProviderTypesRequestBuilderGetQueryParameters invoke function availableProviderTypes +// IdentityProvidersAvailableProviderTypesRequestBuilderGetQueryParameters get all identity providers supported in a directory. type IdentityProvidersAvailableProviderTypesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -45,10 +45,13 @@ func NewIdentityProvidersAvailableProviderTypesRequestBuilder(rawUrl string, req urlParams["request-raw-url"] = rawUrl return NewIdentityProvidersAvailableProviderTypesRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function availableProviderTypes +// Get get all identity providers supported in a directory. // Deprecated: This method is obsolete. Use GetAsAvailableProviderTypesGetResponse instead. // returns a IdentityProvidersAvailableProviderTypesResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/identityproviderbase-availableprovidertypes?view=graph-rest-beta func (m *IdentityProvidersAvailableProviderTypesRequestBuilder) Get(ctx context.Context, requestConfiguration *IdentityProvidersAvailableProviderTypesRequestBuilderGetRequestConfiguration)(IdentityProvidersAvailableProviderTypesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,9 +69,12 @@ func (m *IdentityProvidersAvailableProviderTypesRequestBuilder) Get(ctx context. } return res.(IdentityProvidersAvailableProviderTypesResponseable), nil } -// GetAsAvailableProviderTypesGetResponse invoke function availableProviderTypes +// GetAsAvailableProviderTypesGetResponse get all identity providers supported in a directory. // returns a IdentityProvidersAvailableProviderTypesGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/identityproviderbase-availableprovidertypes?view=graph-rest-beta func (m *IdentityProvidersAvailableProviderTypesRequestBuilder) GetAsAvailableProviderTypesGetResponse(ctx context.Context, requestConfiguration *IdentityProvidersAvailableProviderTypesRequestBuilderGetRequestConfiguration)(IdentityProvidersAvailableProviderTypesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -86,7 +92,7 @@ func (m *IdentityProvidersAvailableProviderTypesRequestBuilder) GetAsAvailablePr } return res.(IdentityProvidersAvailableProviderTypesGetResponseable), nil } -// ToGetRequestInformation invoke function availableProviderTypes +// ToGetRequestInformation get all identity providers supported in a directory. // returns a *RequestInformation when successful func (m *IdentityProvidersAvailableProviderTypesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IdentityProvidersAvailableProviderTypesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/identity_providers_identity_provider_base_item_request_builder.go b/identity/identity_providers_identity_provider_base_item_request_builder.go index caf748bdb64..848d18644c5 100644 --- a/identity/identity_providers_identity_provider_base_item_request_builder.go +++ b/identity/identity_providers_identity_provider_base_item_request_builder.go @@ -18,7 +18,7 @@ type IdentityProvidersIdentityProviderBaseItemRequestBuilderDeleteRequestConfigu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// IdentityProvidersIdentityProviderBaseItemRequestBuilderGetQueryParameters get the properties and relationships of the specified identity provider configured in the tenant. Among the types of providers derived from identityProviderBase, you can currently get a socialIdentityProvider or a builtinIdentityProvider resource in Microsoft Entra ID. In Azure AD B2C, this operation can currently get a socialIdentityProvider, openIdConnectIdentityProvider, or an appleManagedIdentityProvider resource. +// IdentityProvidersIdentityProviderBaseItemRequestBuilderGetQueryParameters represents entry point for identity provider base. type IdentityProvidersIdentityProviderBaseItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewIdentityProvidersIdentityProviderBaseItemRequestBuilder(rawUrl string, r urlParams["request-raw-url"] = rawUrl return NewIdentityProvidersIdentityProviderBaseItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an identity provider resource that is of the type specified by the id in the request. Among the types of providers derived from identityProviderBase, you can currently delete a socialIdentityProvider resource in Microsoft Entra ID. In Azure AD B2C, this operation can currently delete a socialIdentityProvider, openIdConnectIdentityProvider, or an appleManagedIdentityProvider resource. +// Delete delete navigation property identityProviders for identity // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identityproviderbase-delete?view=graph-rest-1.0 func (m *IdentityProvidersIdentityProviderBaseItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *IdentityProvidersIdentityProviderBaseItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *IdentityProvidersIdentityProviderBaseItemRequestBuilder) Delete(ctx con } return nil } -// Get get the properties and relationships of the specified identity provider configured in the tenant. Among the types of providers derived from identityProviderBase, you can currently get a socialIdentityProvider or a builtinIdentityProvider resource in Microsoft Entra ID. In Azure AD B2C, this operation can currently get a socialIdentityProvider, openIdConnectIdentityProvider, or an appleManagedIdentityProvider resource. +// Get represents entry point for identity provider base. // returns a IdentityProviderBaseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identityproviderbase-get?view=graph-rest-1.0 func (m *IdentityProvidersIdentityProviderBaseItemRequestBuilder) Get(ctx context.Context, requestConfiguration *IdentityProvidersIdentityProviderBaseItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityProviderBaseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *IdentityProvidersIdentityProviderBaseItemRequestBuilder) Get(ctx contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityProviderBaseable), nil } -// Patch update the properties of the specified identity provider configured in the tenant. Among the types of providers derived from identityProviderBase, you can currently update a socialIdentityProvider resource in Microsoft Entra ID. In Azure AD B2C, this operation can currently update a socialIdentityProvider, openIdConnectIdentityProvider, or an appleManagedIdentityProvider resource. +// Patch update the navigation property identityProviders in identity // returns a IdentityProviderBaseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identityproviderbase-update?view=graph-rest-1.0 func (m *IdentityProvidersIdentityProviderBaseItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityProviderBaseable, requestConfiguration *IdentityProvidersIdentityProviderBaseItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityProviderBaseable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *IdentityProvidersIdentityProviderBaseItemRequestBuilder) Patch(ctx cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityProviderBaseable), nil } -// ToDeleteRequestInformation delete an identity provider resource that is of the type specified by the id in the request. Among the types of providers derived from identityProviderBase, you can currently delete a socialIdentityProvider resource in Microsoft Entra ID. In Azure AD B2C, this operation can currently delete a socialIdentityProvider, openIdConnectIdentityProvider, or an appleManagedIdentityProvider resource. +// ToDeleteRequestInformation delete navigation property identityProviders for identity // returns a *RequestInformation when successful func (m *IdentityProvidersIdentityProviderBaseItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *IdentityProvidersIdentityProviderBaseItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *IdentityProvidersIdentityProviderBaseItemRequestBuilder) ToDeleteReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties and relationships of the specified identity provider configured in the tenant. Among the types of providers derived from identityProviderBase, you can currently get a socialIdentityProvider or a builtinIdentityProvider resource in Microsoft Entra ID. In Azure AD B2C, this operation can currently get a socialIdentityProvider, openIdConnectIdentityProvider, or an appleManagedIdentityProvider resource. +// ToGetRequestInformation represents entry point for identity provider base. // returns a *RequestInformation when successful func (m *IdentityProvidersIdentityProviderBaseItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IdentityProvidersIdentityProviderBaseItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *IdentityProvidersIdentityProviderBaseItemRequestBuilder) ToGetRequestIn requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of the specified identity provider configured in the tenant. Among the types of providers derived from identityProviderBase, you can currently update a socialIdentityProvider resource in Microsoft Entra ID. In Azure AD B2C, this operation can currently update a socialIdentityProvider, openIdConnectIdentityProvider, or an appleManagedIdentityProvider resource. +// ToPatchRequestInformation update the navigation property identityProviders in identity // returns a *RequestInformation when successful func (m *IdentityProvidersIdentityProviderBaseItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityProviderBaseable, requestConfiguration *IdentityProvidersIdentityProviderBaseItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/identity_providers_request_builder.go b/identity/identity_providers_request_builder.go index a41f3d85be7..18e22534872 100644 --- a/identity/identity_providers_request_builder.go +++ b/identity/identity_providers_request_builder.go @@ -11,7 +11,7 @@ import ( type IdentityProvidersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// IdentityProvidersRequestBuilderGetQueryParameters get a collection of identity provider resources that are configured for a tenant, and that are derived from identityProviderBase. For a Microsoft Entra tenant, the providers can be socialIdentityProviders or builtinIdentityProviders objects. For an Azure AD B2C, the providers can be socialIdentityProvider, openIdConnectIdentityProvider, or appleManagedIdentityProvider objects. +// IdentityProvidersRequestBuilderGetQueryParameters represents entry point for identity provider base. type IdentityProvidersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func NewIdentityProvidersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7 func (m *IdentityProvidersRequestBuilder) Count()(*IdentityProvidersCountRequestBuilder) { return NewIdentityProvidersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a collection of identity provider resources that are configured for a tenant, and that are derived from identityProviderBase. For a Microsoft Entra tenant, the providers can be socialIdentityProviders or builtinIdentityProviders objects. For an Azure AD B2C, the providers can be socialIdentityProvider, openIdConnectIdentityProvider, or appleManagedIdentityProvider objects. +// Get represents entry point for identity provider base. // returns a IdentityProviderBaseCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identitycontainer-list-identityproviders?view=graph-rest-1.0 func (m *IdentityProvidersRequestBuilder) Get(ctx context.Context, requestConfiguration *IdentityProvidersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityProviderBaseCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *IdentityProvidersRequestBuilder) Get(ctx context.Context, requestConfig } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityProviderBaseCollectionResponseable), nil } -// Post create an identity provider object that is of the type specified in the request body. Among the types of providers derived from identityProviderBase, you can currently create a socialIdentityProvider resource in Microsoft Entra ID. In Azure AD B2C, this operation can currently create a socialIdentityProvider, openIdConnectIdentityProvider, or an appleManagedIdentityProvider resource. +// Post create new navigation property to identityProviders for identity // returns a IdentityProviderBaseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identitycontainer-post-identityproviders?view=graph-rest-1.0 func (m *IdentityProvidersRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityProviderBaseable, requestConfiguration *IdentityProvidersRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityProviderBaseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *IdentityProvidersRequestBuilder) Post(ctx context.Context, body ie233ee } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityProviderBaseable), nil } -// ToGetRequestInformation get a collection of identity provider resources that are configured for a tenant, and that are derived from identityProviderBase. For a Microsoft Entra tenant, the providers can be socialIdentityProviders or builtinIdentityProviders objects. For an Azure AD B2C, the providers can be socialIdentityProvider, openIdConnectIdentityProvider, or appleManagedIdentityProvider objects. +// ToGetRequestInformation represents entry point for identity provider base. // returns a *RequestInformation when successful func (m *IdentityProvidersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IdentityProvidersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *IdentityProvidersRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an identity provider object that is of the type specified in the request body. Among the types of providers derived from identityProviderBase, you can currently create a socialIdentityProvider resource in Microsoft Entra ID. In Azure AD B2C, this operation can currently create a socialIdentityProvider, openIdConnectIdentityProvider, or an appleManagedIdentityProvider resource. +// ToPostRequestInformation create new navigation property to identityProviders for identity // returns a *RequestInformation when successful func (m *IdentityProvidersRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityProviderBaseable, requestConfiguration *IdentityProvidersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/user_flow_attributes_identity_user_flow_attribute_item_request_builder.go b/identity/user_flow_attributes_identity_user_flow_attribute_item_request_builder.go index d2527a55efa..2583c26539f 100644 --- a/identity/user_flow_attributes_identity_user_flow_attribute_item_request_builder.go +++ b/identity/user_flow_attributes_identity_user_flow_attribute_item_request_builder.go @@ -18,7 +18,7 @@ type UserFlowAttributesIdentityUserFlowAttributeItemRequestBuilderDeleteRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// UserFlowAttributesIdentityUserFlowAttributeItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a identityUserFlowAttribute object. +// UserFlowAttributesIdentityUserFlowAttributeItemRequestBuilderGetQueryParameters represents entry point for identity userflow attributes. type UserFlowAttributesIdentityUserFlowAttributeItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewUserFlowAttributesIdentityUserFlowAttributeItemRequestBuilder(rawUrl str urlParams["request-raw-url"] = rawUrl return NewUserFlowAttributesIdentityUserFlowAttributeItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a custom identityUserFlowAttribute. +// Delete delete navigation property userFlowAttributes for identity // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identityuserflowattribute-delete?view=graph-rest-1.0 func (m *UserFlowAttributesIdentityUserFlowAttributeItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *UserFlowAttributesIdentityUserFlowAttributeItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *UserFlowAttributesIdentityUserFlowAttributeItemRequestBuilder) Delete(c } return nil } -// Get retrieve the properties and relationships of a identityUserFlowAttribute object. +// Get represents entry point for identity userflow attributes. // returns a IdentityUserFlowAttributeable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identityuserflowattribute-get?view=graph-rest-1.0 func (m *UserFlowAttributesIdentityUserFlowAttributeItemRequestBuilder) Get(ctx context.Context, requestConfiguration *UserFlowAttributesIdentityUserFlowAttributeItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityUserFlowAttributeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *UserFlowAttributesIdentityUserFlowAttributeItemRequestBuilder) Get(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityUserFlowAttributeable), nil } -// Patch update the properties of a custom identityUserFlowAttribute object. +// Patch update the navigation property userFlowAttributes in identity // returns a IdentityUserFlowAttributeable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identityuserflowattribute-update?view=graph-rest-1.0 func (m *UserFlowAttributesIdentityUserFlowAttributeItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityUserFlowAttributeable, requestConfiguration *UserFlowAttributesIdentityUserFlowAttributeItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityUserFlowAttributeable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *UserFlowAttributesIdentityUserFlowAttributeItemRequestBuilder) Patch(ct } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityUserFlowAttributeable), nil } -// ToDeleteRequestInformation delete a custom identityUserFlowAttribute. +// ToDeleteRequestInformation delete navigation property userFlowAttributes for identity // returns a *RequestInformation when successful func (m *UserFlowAttributesIdentityUserFlowAttributeItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *UserFlowAttributesIdentityUserFlowAttributeItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *UserFlowAttributesIdentityUserFlowAttributeItemRequestBuilder) ToDelete requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a identityUserFlowAttribute object. +// ToGetRequestInformation represents entry point for identity userflow attributes. // returns a *RequestInformation when successful func (m *UserFlowAttributesIdentityUserFlowAttributeItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UserFlowAttributesIdentityUserFlowAttributeItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *UserFlowAttributesIdentityUserFlowAttributeItemRequestBuilder) ToGetReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a custom identityUserFlowAttribute object. +// ToPatchRequestInformation update the navigation property userFlowAttributes in identity // returns a *RequestInformation when successful func (m *UserFlowAttributesIdentityUserFlowAttributeItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityUserFlowAttributeable, requestConfiguration *UserFlowAttributesIdentityUserFlowAttributeItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/user_flow_attributes_request_builder.go b/identity/user_flow_attributes_request_builder.go index dd0d8ccbf5c..174814ac925 100644 --- a/identity/user_flow_attributes_request_builder.go +++ b/identity/user_flow_attributes_request_builder.go @@ -11,7 +11,7 @@ import ( type UserFlowAttributesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// UserFlowAttributesRequestBuilderGetQueryParameters retrieve a list of identityUserFlowAttribute objects. +// UserFlowAttributesRequestBuilderGetQueryParameters represents entry point for identity userflow attributes. type UserFlowAttributesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewUserFlowAttributesRequestBuilder(rawUrl string, requestAdapter i2ae4187f func (m *UserFlowAttributesRequestBuilder) Count()(*UserFlowAttributesCountRequestBuilder) { return NewUserFlowAttributesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of identityUserFlowAttribute objects. +// Get represents entry point for identity userflow attributes. // returns a IdentityUserFlowAttributeCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identityuserflowattribute-list?view=graph-rest-1.0 func (m *UserFlowAttributesRequestBuilder) Get(ctx context.Context, requestConfiguration *UserFlowAttributesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityUserFlowAttributeCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *UserFlowAttributesRequestBuilder) Get(ctx context.Context, requestConfi } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityUserFlowAttributeCollectionResponseable), nil } -// Post create a new custom identityUserFlowAttribute object. +// Post create new navigation property to userFlowAttributes for identity // returns a IdentityUserFlowAttributeable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identityuserflowattribute-post?view=graph-rest-1.0 func (m *UserFlowAttributesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityUserFlowAttributeable, requestConfiguration *UserFlowAttributesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityUserFlowAttributeable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *UserFlowAttributesRequestBuilder) Post(ctx context.Context, body ie233e } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityUserFlowAttributeable), nil } -// ToGetRequestInformation retrieve a list of identityUserFlowAttribute objects. +// ToGetRequestInformation represents entry point for identity userflow attributes. // returns a *RequestInformation when successful func (m *UserFlowAttributesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UserFlowAttributesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *UserFlowAttributesRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new custom identityUserFlowAttribute object. +// ToPostRequestInformation create new navigation property to userFlowAttributes for identity // returns a *RequestInformation when successful func (m *UserFlowAttributesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityUserFlowAttributeable, requestConfiguration *UserFlowAttributesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/user_flows_identity_user_flow_item_request_builder.go b/identity/user_flows_identity_user_flow_item_request_builder.go index 61fd54214e5..ee7c9e9b8b5 100644 --- a/identity/user_flows_identity_user_flow_item_request_builder.go +++ b/identity/user_flows_identity_user_flow_item_request_builder.go @@ -18,7 +18,7 @@ type UserFlowsIdentityUserFlowItemRequestBuilderDeleteRequestConfiguration struc // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// UserFlowsIdentityUserFlowItemRequestBuilderGetQueryParameters retrieve the properties and associations for an userFlow object. +// UserFlowsIdentityUserFlowItemRequestBuilderGetQueryParameters get userFlows from identity type UserFlowsIdentityUserFlowItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,12 +54,9 @@ func NewUserFlowsIdentityUserFlowItemRequestBuilder(rawUrl string, requestAdapte urlParams["request-raw-url"] = rawUrl return NewUserFlowsIdentityUserFlowItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an existing userFlow object. +// Delete delete navigation property userFlows for identity // Deprecated: The identity/userflows API is deprecated and will stop returning data on January 2022. Please use the new b2cUserflows or b2xUserflows APIs. as of 2021-05/identityProvider // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identityuserflow-delete?view=graph-rest-1.0 func (m *UserFlowsIdentityUserFlowItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *UserFlowsIdentityUserFlowItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -74,13 +71,10 @@ func (m *UserFlowsIdentityUserFlowItemRequestBuilder) Delete(ctx context.Context } return nil } -// Get retrieve the properties and associations for an userFlow object. +// Get get userFlows from identity // Deprecated: The identity/userflows API is deprecated and will stop returning data on January 2022. Please use the new b2cUserflows or b2xUserflows APIs. as of 2021-05/identityProvider // returns a IdentityUserFlowable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identityuserflow-get?view=graph-rest-1.0 func (m *UserFlowsIdentityUserFlowItemRequestBuilder) Get(ctx context.Context, requestConfiguration *UserFlowsIdentityUserFlowItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityUserFlowable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +113,7 @@ func (m *UserFlowsIdentityUserFlowItemRequestBuilder) Patch(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityUserFlowable), nil } -// ToDeleteRequestInformation delete an existing userFlow object. +// ToDeleteRequestInformation delete navigation property userFlows for identity // Deprecated: The identity/userflows API is deprecated and will stop returning data on January 2022. Please use the new b2cUserflows or b2xUserflows APIs. as of 2021-05/identityProvider // returns a *RequestInformation when successful func (m *UserFlowsIdentityUserFlowItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *UserFlowsIdentityUserFlowItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -131,7 +125,7 @@ func (m *UserFlowsIdentityUserFlowItemRequestBuilder) ToDeleteRequestInformation requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and associations for an userFlow object. +// ToGetRequestInformation get userFlows from identity // Deprecated: The identity/userflows API is deprecated and will stop returning data on January 2022. Please use the new b2cUserflows or b2xUserflows APIs. as of 2021-05/identityProvider // returns a *RequestInformation when successful func (m *UserFlowsIdentityUserFlowItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UserFlowsIdentityUserFlowItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/identity/user_flows_request_builder.go b/identity/user_flows_request_builder.go index 14fa56f2bce..2b3295f43a7 100644 --- a/identity/user_flows_request_builder.go +++ b/identity/user_flows_request_builder.go @@ -11,7 +11,7 @@ import ( type UserFlowsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// UserFlowsRequestBuilderGetQueryParameters retrieve a list of userflows. +// UserFlowsRequestBuilderGetQueryParameters get userFlows from identity type UserFlowsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -77,13 +77,10 @@ func NewUserFlowsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee2633 func (m *UserFlowsRequestBuilder) Count()(*UserFlowsCountRequestBuilder) { return NewUserFlowsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of userflows. +// Get get userFlows from identity // Deprecated: The identity/userflows API is deprecated and will stop returning data on January 2022. Please use the new b2cUserflows or b2xUserflows APIs. as of 2021-05/identityProvider // returns a IdentityUserFlowCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identityuserflow-list?view=graph-rest-1.0 func (m *UserFlowsRequestBuilder) Get(ctx context.Context, requestConfiguration *UserFlowsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityUserFlowCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,13 +98,10 @@ func (m *UserFlowsRequestBuilder) Get(ctx context.Context, requestConfiguration } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityUserFlowCollectionResponseable), nil } -// Post create a new userFlow object. +// Post create new navigation property to userFlows for identity // Deprecated: The identity/userflows API is deprecated and will stop returning data on January 2022. Please use the new b2cUserflows or b2xUserflows APIs. as of 2021-05/identityProvider // returns a IdentityUserFlowable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identityuserflow-post-userflows?view=graph-rest-1.0 func (m *UserFlowsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityUserFlowable, requestConfiguration *UserFlowsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityUserFlowable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *UserFlowsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityUserFlowable), nil } -// ToGetRequestInformation retrieve a list of userflows. +// ToGetRequestInformation get userFlows from identity // Deprecated: The identity/userflows API is deprecated and will stop returning data on January 2022. Please use the new b2cUserflows or b2xUserflows APIs. as of 2021-05/identityProvider // returns a *RequestInformation when successful func (m *UserFlowsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UserFlowsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -140,7 +134,7 @@ func (m *UserFlowsRequestBuilder) ToGetRequestInformation(ctx context.Context, r requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new userFlow object. +// ToPostRequestInformation create new navigation property to userFlows for identity // Deprecated: The identity/userflows API is deprecated and will stop returning data on January 2022. Please use the new b2cUserflows or b2xUserflows APIs. as of 2021-05/identityProvider // returns a *RequestInformation when successful func (m *UserFlowsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityUserFlowable, requestConfiguration *UserFlowsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/identitygovernance/access_reviews_decisions_filter_by_current_user_with_on_request_builder.go b/identitygovernance/access_reviews_decisions_filter_by_current_user_with_on_request_builder.go index ec0ad28ed59..7cd92a94eb7 100644 --- a/identitygovernance/access_reviews_decisions_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/access_reviews_decisions_filter_by_current_user_with_on_request_builder.go @@ -10,7 +10,7 @@ import ( type AccessReviewsDecisionsFilterByCurrentUserWithOnRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AccessReviewsDecisionsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters invoke function filterByCurrentUser +// AccessReviewsDecisionsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. type AccessReviewsDecisionsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewAccessReviewsDecisionsFilterByCurrentUserWithOnRequestBuilder(rawUrl str urlParams["request-raw-url"] = rawUrl return NewAccessReviewsDecisionsFilterByCurrentUserWithOnRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function filterByCurrentUser +// Get retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. // Deprecated: This method is obsolete. Use GetAsFilterByCurrentUserWithOnGetResponse instead. // returns a AccessReviewsDecisionsFilterByCurrentUserWithOnResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-list-decisions?view=graph-rest-beta func (m *AccessReviewsDecisionsFilterByCurrentUserWithOnRequestBuilder) Get(ctx context.Context, requestConfiguration *AccessReviewsDecisionsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(AccessReviewsDecisionsFilterByCurrentUserWithOnResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *AccessReviewsDecisionsFilterByCurrentUserWithOnRequestBuilder) Get(ctx } return res.(AccessReviewsDecisionsFilterByCurrentUserWithOnResponseable), nil } -// GetAsFilterByCurrentUserWithOnGetResponse invoke function filterByCurrentUser +// GetAsFilterByCurrentUserWithOnGetResponse retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. // returns a AccessReviewsDecisionsFilterByCurrentUserWithOnGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-list-decisions?view=graph-rest-beta func (m *AccessReviewsDecisionsFilterByCurrentUserWithOnRequestBuilder) GetAsFilterByCurrentUserWithOnGetResponse(ctx context.Context, requestConfiguration *AccessReviewsDecisionsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(AccessReviewsDecisionsFilterByCurrentUserWithOnGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *AccessReviewsDecisionsFilterByCurrentUserWithOnRequestBuilder) GetAsFil } return res.(AccessReviewsDecisionsFilterByCurrentUserWithOnGetResponseable), nil } -// ToGetRequestInformation invoke function filterByCurrentUser +// ToGetRequestInformation retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. // returns a *RequestInformation when successful func (m *AccessReviewsDecisionsFilterByCurrentUserWithOnRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AccessReviewsDecisionsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/access_reviews_decisions_item_instance_accept_recommendations_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_accept_recommendations_request_builder.go index eb4e7c80031..26653998369 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_accept_recommendations_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_accept_recommendations_request_builder.go @@ -34,7 +34,7 @@ func NewAccessReviewsDecisionsItemInstanceAcceptRecommendationsRequestBuilder(ra // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-acceptrecommendations?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-acceptrecommendations?view=graph-rest-beta func (m *AccessReviewsDecisionsItemInstanceAcceptRecommendationsRequestBuilder) Post(ctx context.Context, requestConfiguration *AccessReviewsDecisionsItemInstanceAcceptRecommendationsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/access_reviews_decisions_item_instance_apply_decisions_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_apply_decisions_request_builder.go index 73bda59f008..b4de98ccc4d 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_apply_decisions_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_apply_decisions_request_builder.go @@ -34,7 +34,7 @@ func NewAccessReviewsDecisionsItemInstanceApplyDecisionsRequestBuilder(rawUrl st // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-applydecisions?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-applydecisions?view=graph-rest-beta func (m *AccessReviewsDecisionsItemInstanceApplyDecisionsRequestBuilder) Post(ctx context.Context, requestConfiguration *AccessReviewsDecisionsItemInstanceApplyDecisionsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/access_reviews_decisions_item_instance_batch_record_decisions_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_batch_record_decisions_request_builder.go index 61aae3117d0..b472d14a41c 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_batch_record_decisions_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_batch_record_decisions_request_builder.go @@ -34,7 +34,7 @@ func NewAccessReviewsDecisionsItemInstanceBatchRecordDecisionsRequestBuilder(raw // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-batchrecorddecisions?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-batchrecorddecisions?view=graph-rest-beta func (m *AccessReviewsDecisionsItemInstanceBatchRecordDecisionsRequestBuilder) Post(ctx context.Context, body AccessReviewsDecisionsItemInstanceBatchRecordDecisionsPostRequestBodyable, requestConfiguration *AccessReviewsDecisionsItemInstanceBatchRecordDecisionsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/identitygovernance/access_reviews_decisions_item_instance_contacted_reviewers_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_contacted_reviewers_request_builder.go index 02214dd4b71..54c07d90cc9 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_contacted_reviewers_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_contacted_reviewers_request_builder.go @@ -11,7 +11,7 @@ import ( type AccessReviewsDecisionsItemInstanceContactedReviewersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AccessReviewsDecisionsItemInstanceContactedReviewersRequestBuilderGetQueryParameters get the reviewers for an access review instance, irrespective of whether or not they have received a notification. The reviewers are represented by an accessReviewReviewer object. A list of zero or more objects are returned, including all of their nested properties. +// AccessReviewsDecisionsItemInstanceContactedReviewersRequestBuilderGetQueryParameters returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. type AccessReviewsDecisionsItemInstanceContactedReviewersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewAccessReviewsDecisionsItemInstanceContactedReviewersRequestBuilder(rawUr func (m *AccessReviewsDecisionsItemInstanceContactedReviewersRequestBuilder) Count()(*AccessReviewsDecisionsItemInstanceContactedReviewersCountRequestBuilder) { return NewAccessReviewsDecisionsItemInstanceContactedReviewersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the reviewers for an access review instance, irrespective of whether or not they have received a notification. The reviewers are represented by an accessReviewReviewer object. A list of zero or more objects are returned, including all of their nested properties. +// Get returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. // returns a AccessReviewReviewerCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-list-contactedreviewers?view=graph-rest-1.0 func (m *AccessReviewsDecisionsItemInstanceContactedReviewersRequestBuilder) Get(ctx context.Context, requestConfiguration *AccessReviewsDecisionsItemInstanceContactedReviewersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewReviewerCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *AccessReviewsDecisionsItemInstanceContactedReviewersRequestBuilder) Pos } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewReviewerable), nil } -// ToGetRequestInformation get the reviewers for an access review instance, irrespective of whether or not they have received a notification. The reviewers are represented by an accessReviewReviewer object. A list of zero or more objects are returned, including all of their nested properties. +// ToGetRequestInformation returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. // returns a *RequestInformation when successful func (m *AccessReviewsDecisionsItemInstanceContactedReviewersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AccessReviewsDecisionsItemInstanceContactedReviewersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/access_reviews_decisions_item_instance_decisions_access_review_instance_decision_item_item_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_decisions_access_review_instance_decision_item_item_request_builder.go index c6c25bf41c2..7a81fdd3ee2 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_decisions_access_review_instance_decision_item_item_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_decisions_access_review_instance_decision_item_item_request_builder.go @@ -18,7 +18,7 @@ type AccessReviewsDecisionsItemInstanceDecisionsAccessReviewInstanceDecisionItem // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// AccessReviewsDecisionsItemInstanceDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderGetQueryParameters read the properties and relationships of an accessReviewInstanceDecisionItem object. +// AccessReviewsDecisionsItemInstanceDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderGetQueryParameters each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. type AccessReviewsDecisionsItemInstanceDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *AccessReviewsDecisionsItemInstanceDecisionsAccessReviewInstanceDecision } return nil } -// Get read the properties and relationships of an accessReviewInstanceDecisionItem object. +// Get each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. // returns a AccessReviewInstanceDecisionItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-get?view=graph-rest-1.0 func (m *AccessReviewsDecisionsItemInstanceDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) Get(ctx context.Context, requestConfiguration *AccessReviewsDecisionsItemInstanceDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewInstanceDecisionItemable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *AccessReviewsDecisionsItemInstanceDecisionsAccessReviewInstanceDecision requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an accessReviewInstanceDecisionItem object. +// ToGetRequestInformation each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. // returns a *RequestInformation when successful func (m *AccessReviewsDecisionsItemInstanceDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AccessReviewsDecisionsItemInstanceDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/access_reviews_decisions_item_instance_decisions_filter_by_current_user_with_on_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_decisions_filter_by_current_user_with_on_request_builder.go index d66449b5b78..4fae0746d05 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_decisions_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_decisions_filter_by_current_user_with_on_request_builder.go @@ -10,7 +10,7 @@ import ( type AccessReviewsDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AccessReviewsDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters invoke function filterByCurrentUser +// AccessReviewsDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. type AccessReviewsDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewAccessReviewsDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnRequ urlParams["request-raw-url"] = rawUrl return NewAccessReviewsDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function filterByCurrentUser +// Get retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. // Deprecated: This method is obsolete. Use GetAsFilterByCurrentUserWithOnGetResponse instead. // returns a AccessReviewsDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-list-decisions?view=graph-rest-beta func (m *AccessReviewsDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnRequestBuilder) Get(ctx context.Context, requestConfiguration *AccessReviewsDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(AccessReviewsDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *AccessReviewsDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnReq } return res.(AccessReviewsDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnResponseable), nil } -// GetAsFilterByCurrentUserWithOnGetResponse invoke function filterByCurrentUser +// GetAsFilterByCurrentUserWithOnGetResponse retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. // returns a AccessReviewsDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-list-decisions?view=graph-rest-beta func (m *AccessReviewsDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnRequestBuilder) GetAsFilterByCurrentUserWithOnGetResponse(ctx context.Context, requestConfiguration *AccessReviewsDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(AccessReviewsDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *AccessReviewsDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnReq } return res.(AccessReviewsDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnGetResponseable), nil } -// ToGetRequestInformation invoke function filterByCurrentUser +// ToGetRequestInformation retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. // returns a *RequestInformation when successful func (m *AccessReviewsDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AccessReviewsDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/access_reviews_decisions_item_instance_decisions_record_all_decisions_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_decisions_record_all_decisions_request_builder.go index 8142ac8ba8d..5f81b51843c 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_decisions_record_all_decisions_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_decisions_record_all_decisions_request_builder.go @@ -34,7 +34,7 @@ func NewAccessReviewsDecisionsItemInstanceDecisionsRecordAllDecisionsRequestBuil // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-recordalldecisions?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-recordalldecisions?view=graph-rest-beta func (m *AccessReviewsDecisionsItemInstanceDecisionsRecordAllDecisionsRequestBuilder) Post(ctx context.Context, body AccessReviewsDecisionsItemInstanceDecisionsRecordAllDecisionsPostRequestBodyable, requestConfiguration *AccessReviewsDecisionsItemInstanceDecisionsRecordAllDecisionsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/identitygovernance/access_reviews_decisions_item_instance_decisions_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_decisions_request_builder.go index b89688b03fc..a720a0c1ef3 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_decisions_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_decisions_request_builder.go @@ -11,7 +11,7 @@ import ( type AccessReviewsDecisionsItemInstanceDecisionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AccessReviewsDecisionsItemInstanceDecisionsRequestBuilderGetQueryParameters retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. +// AccessReviewsDecisionsItemInstanceDecisionsRequestBuilderGetQueryParameters each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. type AccessReviewsDecisionsItemInstanceDecisionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *AccessReviewsDecisionsItemInstanceDecisionsRequestBuilder) Count()(*Acc func (m *AccessReviewsDecisionsItemInstanceDecisionsRequestBuilder) FilterByCurrentUserWithOn(on *string)(*AccessReviewsDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnRequestBuilder) { return NewAccessReviewsDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, on) } -// Get retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. +// Get each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. // returns a AccessReviewInstanceDecisionItemCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-list-decisions?view=graph-rest-1.0 func (m *AccessReviewsDecisionsItemInstanceDecisionsRequestBuilder) Get(ctx context.Context, requestConfiguration *AccessReviewsDecisionsItemInstanceDecisionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewInstanceDecisionItemCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *AccessReviewsDecisionsItemInstanceDecisionsRequestBuilder) Post(ctx con func (m *AccessReviewsDecisionsItemInstanceDecisionsRequestBuilder) RecordAllDecisions()(*AccessReviewsDecisionsItemInstanceDecisionsRecordAllDecisionsRequestBuilder) { return NewAccessReviewsDecisionsItemInstanceDecisionsRecordAllDecisionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. +// ToGetRequestInformation each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. // returns a *RequestInformation when successful func (m *AccessReviewsDecisionsItemInstanceDecisionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AccessReviewsDecisionsItemInstanceDecisionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/access_reviews_decisions_item_instance_reset_decisions_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_reset_decisions_request_builder.go index 127734c97ff..a7e7a22d821 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_reset_decisions_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_reset_decisions_request_builder.go @@ -34,7 +34,7 @@ func NewAccessReviewsDecisionsItemInstanceResetDecisionsRequestBuilder(rawUrl st // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-resetdecisions?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-resetdecisions?view=graph-rest-beta func (m *AccessReviewsDecisionsItemInstanceResetDecisionsRequestBuilder) Post(ctx context.Context, requestConfiguration *AccessReviewsDecisionsItemInstanceResetDecisionsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/access_reviews_decisions_item_instance_send_reminder_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_send_reminder_request_builder.go index ec8e1326d99..7f2b4fa00b4 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_send_reminder_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_send_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewAccessReviewsDecisionsItemInstanceSendReminderRequestBuilder(rawUrl stri // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-sendreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-sendreminder?view=graph-rest-beta func (m *AccessReviewsDecisionsItemInstanceSendReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *AccessReviewsDecisionsItemInstanceSendReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/access_reviews_decisions_item_instance_stages_access_review_stage_item_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_stages_access_review_stage_item_request_builder.go index c003cc4922a..da4c6bd41ad 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_stages_access_review_stage_item_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_stages_access_review_stage_item_request_builder.go @@ -18,7 +18,7 @@ type AccessReviewsDecisionsItemInstanceStagesAccessReviewStageItemRequestBuilder // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// AccessReviewsDecisionsItemInstanceStagesAccessReviewStageItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an accessReviewStage object. +// AccessReviewsDecisionsItemInstanceStagesAccessReviewStageItemRequestBuilderGetQueryParameters if the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. type AccessReviewsDecisionsItemInstanceStagesAccessReviewStageItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *AccessReviewsDecisionsItemInstanceStagesAccessReviewStageItemRequestBui } return nil } -// Get retrieve the properties and relationships of an accessReviewStage object. +// Get if the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. // returns a AccessReviewStageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewstage-get?view=graph-rest-1.0 func (m *AccessReviewsDecisionsItemInstanceStagesAccessReviewStageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *AccessReviewsDecisionsItemInstanceStagesAccessReviewStageItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewStageable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,12 +95,9 @@ func (m *AccessReviewsDecisionsItemInstanceStagesAccessReviewStageItemRequestBui } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewStageable), nil } -// Patch update the properties of an accessReviewStage object. Only the reviewers and fallbackReviewers properties can be updated. You can only add reviewers to the fallbackReviewers property but can't remove existing fallbackReviewers. To update an accessReviewStage, its status must be NotStarted, Initializing, or InProgress. +// Patch update the navigation property stages in identityGovernance // returns a AccessReviewStageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewstage-update?view=graph-rest-1.0 func (m *AccessReviewsDecisionsItemInstanceStagesAccessReviewStageItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewStageable, requestConfiguration *AccessReviewsDecisionsItemInstanceStagesAccessReviewStageItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewStageable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -137,7 +131,7 @@ func (m *AccessReviewsDecisionsItemInstanceStagesAccessReviewStageItemRequestBui requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of an accessReviewStage object. +// ToGetRequestInformation if the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. // returns a *RequestInformation when successful func (m *AccessReviewsDecisionsItemInstanceStagesAccessReviewStageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AccessReviewsDecisionsItemInstanceStagesAccessReviewStageItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -151,7 +145,7 @@ func (m *AccessReviewsDecisionsItemInstanceStagesAccessReviewStageItemRequestBui requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an accessReviewStage object. Only the reviewers and fallbackReviewers properties can be updated. You can only add reviewers to the fallbackReviewers property but can't remove existing fallbackReviewers. To update an accessReviewStage, its status must be NotStarted, Initializing, or InProgress. +// ToPatchRequestInformation update the navigation property stages in identityGovernance // returns a *RequestInformation when successful func (m *AccessReviewsDecisionsItemInstanceStagesAccessReviewStageItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewStageable, requestConfiguration *AccessReviewsDecisionsItemInstanceStagesAccessReviewStageItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/access_reviews_decisions_item_instance_stages_filter_by_current_user_with_on_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_stages_filter_by_current_user_with_on_request_builder.go index 171784bb636..8863df72ff6 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_stages_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_stages_filter_by_current_user_with_on_request_builder.go @@ -10,7 +10,7 @@ import ( type AccessReviewsDecisionsItemInstanceStagesFilterByCurrentUserWithOnRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AccessReviewsDecisionsItemInstanceStagesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters invoke function filterByCurrentUser +// AccessReviewsDecisionsItemInstanceStagesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters return all accessReviewStage objects on a given accessReviewInstance where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. type AccessReviewsDecisionsItemInstanceStagesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewAccessReviewsDecisionsItemInstanceStagesFilterByCurrentUserWithOnRequest urlParams["request-raw-url"] = rawUrl return NewAccessReviewsDecisionsItemInstanceStagesFilterByCurrentUserWithOnRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function filterByCurrentUser +// Get return all accessReviewStage objects on a given accessReviewInstance where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. // Deprecated: This method is obsolete. Use GetAsFilterByCurrentUserWithOnGetResponse instead. // returns a AccessReviewsDecisionsItemInstanceStagesFilterByCurrentUserWithOnResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewstage-filterbycurrentuser?view=graph-rest-beta func (m *AccessReviewsDecisionsItemInstanceStagesFilterByCurrentUserWithOnRequestBuilder) Get(ctx context.Context, requestConfiguration *AccessReviewsDecisionsItemInstanceStagesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(AccessReviewsDecisionsItemInstanceStagesFilterByCurrentUserWithOnResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *AccessReviewsDecisionsItemInstanceStagesFilterByCurrentUserWithOnReques } return res.(AccessReviewsDecisionsItemInstanceStagesFilterByCurrentUserWithOnResponseable), nil } -// GetAsFilterByCurrentUserWithOnGetResponse invoke function filterByCurrentUser +// GetAsFilterByCurrentUserWithOnGetResponse return all accessReviewStage objects on a given accessReviewInstance where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. // returns a AccessReviewsDecisionsItemInstanceStagesFilterByCurrentUserWithOnGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewstage-filterbycurrentuser?view=graph-rest-beta func (m *AccessReviewsDecisionsItemInstanceStagesFilterByCurrentUserWithOnRequestBuilder) GetAsFilterByCurrentUserWithOnGetResponse(ctx context.Context, requestConfiguration *AccessReviewsDecisionsItemInstanceStagesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(AccessReviewsDecisionsItemInstanceStagesFilterByCurrentUserWithOnGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *AccessReviewsDecisionsItemInstanceStagesFilterByCurrentUserWithOnReques } return res.(AccessReviewsDecisionsItemInstanceStagesFilterByCurrentUserWithOnGetResponseable), nil } -// ToGetRequestInformation invoke function filterByCurrentUser +// ToGetRequestInformation return all accessReviewStage objects on a given accessReviewInstance where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. // returns a *RequestInformation when successful func (m *AccessReviewsDecisionsItemInstanceStagesFilterByCurrentUserWithOnRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AccessReviewsDecisionsItemInstanceStagesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go index 10a6d3ebe62..92e9a3c57ad 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go @@ -18,7 +18,7 @@ type AccessReviewsDecisionsItemInstanceStagesItemDecisionsAccessReviewInstanceDe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// AccessReviewsDecisionsItemInstanceStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderGetQueryParameters read the properties and relationships of an accessReviewInstanceDecisionItem object. +// AccessReviewsDecisionsItemInstanceStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderGetQueryParameters each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. type AccessReviewsDecisionsItemInstanceStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *AccessReviewsDecisionsItemInstanceStagesItemDecisionsAccessReviewInstan } return nil } -// Get read the properties and relationships of an accessReviewInstanceDecisionItem object. +// Get each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. // returns a AccessReviewInstanceDecisionItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-get?view=graph-rest-1.0 func (m *AccessReviewsDecisionsItemInstanceStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) Get(ctx context.Context, requestConfiguration *AccessReviewsDecisionsItemInstanceStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewInstanceDecisionItemable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,12 +95,9 @@ func (m *AccessReviewsDecisionsItemInstanceStagesItemDecisionsAccessReviewInstan func (m *AccessReviewsDecisionsItemInstanceStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) Insights()(*AccessReviewsDecisionsItemInstanceStagesItemDecisionsItemInsightsRequestBuilder) { return NewAccessReviewsDecisionsItemInstanceStagesItemDecisionsItemInsightsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update access decisions, known as accessReviewInstanceDecisionItems, for which the user is the reviewer. +// Patch update the navigation property decisions in identityGovernance // returns a AccessReviewInstanceDecisionItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-update?view=graph-rest-1.0 func (m *AccessReviewsDecisionsItemInstanceStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewInstanceDecisionItemable, requestConfiguration *AccessReviewsDecisionsItemInstanceStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewInstanceDecisionItemable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -132,7 +126,7 @@ func (m *AccessReviewsDecisionsItemInstanceStagesItemDecisionsAccessReviewInstan requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an accessReviewInstanceDecisionItem object. +// ToGetRequestInformation each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. // returns a *RequestInformation when successful func (m *AccessReviewsDecisionsItemInstanceStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AccessReviewsDecisionsItemInstanceStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -146,7 +140,7 @@ func (m *AccessReviewsDecisionsItemInstanceStagesItemDecisionsAccessReviewInstan requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update access decisions, known as accessReviewInstanceDecisionItems, for which the user is the reviewer. +// ToPatchRequestInformation update the navigation property decisions in identityGovernance // returns a *RequestInformation when successful func (m *AccessReviewsDecisionsItemInstanceStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewInstanceDecisionItemable, requestConfiguration *AccessReviewsDecisionsItemInstanceStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_filter_by_current_user_with_on_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_filter_by_current_user_with_on_request_builder.go index a4664d93fc1..bed6b35bd43 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_filter_by_current_user_with_on_request_builder.go @@ -10,7 +10,7 @@ import ( type AccessReviewsDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AccessReviewsDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters invoke function filterByCurrentUser +// AccessReviewsDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. type AccessReviewsDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewAccessReviewsDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUser urlParams["request-raw-url"] = rawUrl return NewAccessReviewsDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function filterByCurrentUser +// Get retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. // Deprecated: This method is obsolete. Use GetAsFilterByCurrentUserWithOnGetResponse instead. // returns a AccessReviewsDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-list-decisions?view=graph-rest-beta func (m *AccessReviewsDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilder) Get(ctx context.Context, requestConfiguration *AccessReviewsDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(AccessReviewsDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *AccessReviewsDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUse } return res.(AccessReviewsDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnResponseable), nil } -// GetAsFilterByCurrentUserWithOnGetResponse invoke function filterByCurrentUser +// GetAsFilterByCurrentUserWithOnGetResponse retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. // returns a AccessReviewsDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-list-decisions?view=graph-rest-beta func (m *AccessReviewsDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilder) GetAsFilterByCurrentUserWithOnGetResponse(ctx context.Context, requestConfiguration *AccessReviewsDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(AccessReviewsDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *AccessReviewsDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUse } return res.(AccessReviewsDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnGetResponseable), nil } -// ToGetRequestInformation invoke function filterByCurrentUser +// ToGetRequestInformation retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. // returns a *RequestInformation when successful func (m *AccessReviewsDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AccessReviewsDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_record_all_decisions_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_record_all_decisions_request_builder.go index 8de979d8d9b..64ae4bdb209 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_record_all_decisions_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_record_all_decisions_request_builder.go @@ -34,7 +34,7 @@ func NewAccessReviewsDecisionsItemInstanceStagesItemDecisionsRecordAllDecisionsR // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-recordalldecisions?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-recordalldecisions?view=graph-rest-beta func (m *AccessReviewsDecisionsItemInstanceStagesItemDecisionsRecordAllDecisionsRequestBuilder) Post(ctx context.Context, body AccessReviewsDecisionsItemInstanceStagesItemDecisionsRecordAllDecisionsPostRequestBodyable, requestConfiguration *AccessReviewsDecisionsItemInstanceStagesItemDecisionsRecordAllDecisionsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_request_builder.go index d6dc30a3afb..309bc63a4d3 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_request_builder.go @@ -11,7 +11,7 @@ import ( type AccessReviewsDecisionsItemInstanceStagesItemDecisionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AccessReviewsDecisionsItemInstanceStagesItemDecisionsRequestBuilderGetQueryParameters get the decisions from a stage in a multi-stage access review. The decisions in an accessReviewStage object are represented by an accessReviewInstanceDecisionItem object. +// AccessReviewsDecisionsItemInstanceStagesItemDecisionsRequestBuilderGetQueryParameters each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. type AccessReviewsDecisionsItemInstanceStagesItemDecisionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *AccessReviewsDecisionsItemInstanceStagesItemDecisionsRequestBuilder) Co func (m *AccessReviewsDecisionsItemInstanceStagesItemDecisionsRequestBuilder) FilterByCurrentUserWithOn(on *string)(*AccessReviewsDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilder) { return NewAccessReviewsDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, on) } -// Get get the decisions from a stage in a multi-stage access review. The decisions in an accessReviewStage object are represented by an accessReviewInstanceDecisionItem object. +// Get each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. // returns a AccessReviewInstanceDecisionItemCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewstage-list-decisions?view=graph-rest-1.0 func (m *AccessReviewsDecisionsItemInstanceStagesItemDecisionsRequestBuilder) Get(ctx context.Context, requestConfiguration *AccessReviewsDecisionsItemInstanceStagesItemDecisionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewInstanceDecisionItemCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *AccessReviewsDecisionsItemInstanceStagesItemDecisionsRequestBuilder) Po func (m *AccessReviewsDecisionsItemInstanceStagesItemDecisionsRequestBuilder) RecordAllDecisions()(*AccessReviewsDecisionsItemInstanceStagesItemDecisionsRecordAllDecisionsRequestBuilder) { return NewAccessReviewsDecisionsItemInstanceStagesItemDecisionsRecordAllDecisionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation get the decisions from a stage in a multi-stage access review. The decisions in an accessReviewStage object are represented by an accessReviewInstanceDecisionItem object. +// ToGetRequestInformation each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. // returns a *RequestInformation when successful func (m *AccessReviewsDecisionsItemInstanceStagesItemDecisionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AccessReviewsDecisionsItemInstanceStagesItemDecisionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/access_reviews_decisions_item_instance_stages_item_stop_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_stages_item_stop_request_builder.go index 8828e09a2b9..7789b86d745 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_stages_item_stop_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_stages_item_stop_request_builder.go @@ -34,7 +34,7 @@ func NewAccessReviewsDecisionsItemInstanceStagesItemStopRequestBuilder(rawUrl st // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewstage-stop?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewstage-stop?view=graph-rest-beta func (m *AccessReviewsDecisionsItemInstanceStagesItemStopRequestBuilder) Post(ctx context.Context, requestConfiguration *AccessReviewsDecisionsItemInstanceStagesItemStopRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/access_reviews_decisions_item_instance_stages_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_stages_request_builder.go index 4243a86ff6c..560d54791bd 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_stages_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_stages_request_builder.go @@ -11,7 +11,7 @@ import ( type AccessReviewsDecisionsItemInstanceStagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AccessReviewsDecisionsItemInstanceStagesRequestBuilderGetQueryParameters retrieve the stages in a multi-stage access review instance. +// AccessReviewsDecisionsItemInstanceStagesRequestBuilderGetQueryParameters if the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. type AccessReviewsDecisionsItemInstanceStagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *AccessReviewsDecisionsItemInstanceStagesRequestBuilder) Count()(*Access func (m *AccessReviewsDecisionsItemInstanceStagesRequestBuilder) FilterByCurrentUserWithOn(on *string)(*AccessReviewsDecisionsItemInstanceStagesFilterByCurrentUserWithOnRequestBuilder) { return NewAccessReviewsDecisionsItemInstanceStagesFilterByCurrentUserWithOnRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, on) } -// Get retrieve the stages in a multi-stage access review instance. +// Get if the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. // returns a AccessReviewStageCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-list-stages?view=graph-rest-1.0 func (m *AccessReviewsDecisionsItemInstanceStagesRequestBuilder) Get(ctx context.Context, requestConfiguration *AccessReviewsDecisionsItemInstanceStagesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewStageCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *AccessReviewsDecisionsItemInstanceStagesRequestBuilder) Post(ctx contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewStageable), nil } -// ToGetRequestInformation retrieve the stages in a multi-stage access review instance. +// ToGetRequestInformation if the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. // returns a *RequestInformation when successful func (m *AccessReviewsDecisionsItemInstanceStagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AccessReviewsDecisionsItemInstanceStagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/access_reviews_decisions_item_instance_stop_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_stop_request_builder.go index 3b6fb4cf610..c185a30d6ba 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_stop_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_stop_request_builder.go @@ -34,7 +34,7 @@ func NewAccessReviewsDecisionsItemInstanceStopRequestBuilder(rawUrl string, requ // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-stop?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-stop?view=graph-rest-beta func (m *AccessReviewsDecisionsItemInstanceStopRequestBuilder) Post(ctx context.Context, requestConfiguration *AccessReviewsDecisionsItemInstanceStopRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/access_reviews_decisions_record_all_decisions_request_builder.go b/identitygovernance/access_reviews_decisions_record_all_decisions_request_builder.go index edc5382fdfa..e09084261f5 100644 --- a/identitygovernance/access_reviews_decisions_record_all_decisions_request_builder.go +++ b/identitygovernance/access_reviews_decisions_record_all_decisions_request_builder.go @@ -34,7 +34,7 @@ func NewAccessReviewsDecisionsRecordAllDecisionsRequestBuilder(rawUrl string, re // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-recordalldecisions?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-recordalldecisions?view=graph-rest-beta func (m *AccessReviewsDecisionsRecordAllDecisionsRequestBuilder) Post(ctx context.Context, body AccessReviewsDecisionsRecordAllDecisionsPostRequestBodyable, requestConfiguration *AccessReviewsDecisionsRecordAllDecisionsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/identitygovernance/access_reviews_definitions_access_review_schedule_definition_item_request_builder.go b/identitygovernance/access_reviews_definitions_access_review_schedule_definition_item_request_builder.go index eeb5243516b..369cc5b8fe1 100644 --- a/identitygovernance/access_reviews_definitions_access_review_schedule_definition_item_request_builder.go +++ b/identitygovernance/access_reviews_definitions_access_review_schedule_definition_item_request_builder.go @@ -18,7 +18,7 @@ type AccessReviewsDefinitionsAccessReviewScheduleDefinitionItemRequestBuilderDel // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// AccessReviewsDefinitionsAccessReviewScheduleDefinitionItemRequestBuilderGetQueryParameters retrieve an accessReviewScheduleDefinition object by ID. This returns all properties of the scheduled access review series except for the associated accessReviewInstances. Each accessReviewScheduleDefinition has at least one instance. An instance represents a review for a specific resource (such as a particular group's members), during one occurrence (for example, March 2021) of a recurring review. To retrieve the instances of the access review series, use the list accessReviewInstance API. +// AccessReviewsDefinitionsAccessReviewScheduleDefinitionItemRequestBuilderGetQueryParameters represents the template and scheduling for an access review. type AccessReviewsDefinitionsAccessReviewScheduleDefinitionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewAccessReviewsDefinitionsAccessReviewScheduleDefinitionItemRequestBuilder urlParams["request-raw-url"] = rawUrl return NewAccessReviewsDefinitionsAccessReviewScheduleDefinitionItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an accessReviewScheduleDefinition object. +// Delete delete navigation property definitions for identityGovernance // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewscheduledefinition-delete?view=graph-rest-1.0 func (m *AccessReviewsDefinitionsAccessReviewScheduleDefinitionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsAccessReviewScheduleDefinitionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *AccessReviewsDefinitionsAccessReviewScheduleDefinitionItemRequestBuilde } return nil } -// Get retrieve an accessReviewScheduleDefinition object by ID. This returns all properties of the scheduled access review series except for the associated accessReviewInstances. Each accessReviewScheduleDefinition has at least one instance. An instance represents a review for a specific resource (such as a particular group's members), during one occurrence (for example, March 2021) of a recurring review. To retrieve the instances of the access review series, use the list accessReviewInstance API. +// Get represents the template and scheduling for an access review. // returns a AccessReviewScheduleDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewscheduledefinition-get?view=graph-rest-1.0 func (m *AccessReviewsDefinitionsAccessReviewScheduleDefinitionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsAccessReviewScheduleDefinitionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewScheduleDefinitionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -126,7 +120,7 @@ func (m *AccessReviewsDefinitionsAccessReviewScheduleDefinitionItemRequestBuilde func (m *AccessReviewsDefinitionsAccessReviewScheduleDefinitionItemRequestBuilder) Stop()(*AccessReviewsDefinitionsItemStopRequestBuilder) { return NewAccessReviewsDefinitionsItemStopRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete an accessReviewScheduleDefinition object. +// ToDeleteRequestInformation delete navigation property definitions for identityGovernance // returns a *RequestInformation when successful func (m *AccessReviewsDefinitionsAccessReviewScheduleDefinitionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsAccessReviewScheduleDefinitionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -137,7 +131,7 @@ func (m *AccessReviewsDefinitionsAccessReviewScheduleDefinitionItemRequestBuilde requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve an accessReviewScheduleDefinition object by ID. This returns all properties of the scheduled access review series except for the associated accessReviewInstances. Each accessReviewScheduleDefinition has at least one instance. An instance represents a review for a specific resource (such as a particular group's members), during one occurrence (for example, March 2021) of a recurring review. To retrieve the instances of the access review series, use the list accessReviewInstance API. +// ToGetRequestInformation represents the template and scheduling for an access review. // returns a *RequestInformation when successful func (m *AccessReviewsDefinitionsAccessReviewScheduleDefinitionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsAccessReviewScheduleDefinitionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/access_reviews_definitions_filter_by_current_user_with_on_request_builder.go b/identitygovernance/access_reviews_definitions_filter_by_current_user_with_on_request_builder.go index 8c8dcc43e61..6cacfb50a94 100644 --- a/identitygovernance/access_reviews_definitions_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/access_reviews_definitions_filter_by_current_user_with_on_request_builder.go @@ -10,7 +10,7 @@ import ( type AccessReviewsDefinitionsFilterByCurrentUserWithOnRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AccessReviewsDefinitionsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters invoke function filterByCurrentUser +// AccessReviewsDefinitionsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters returns accessReviewScheduleDefinition objects where the calling user is a reviewer on one or more accessReviewInstance objects. type AccessReviewsDefinitionsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewAccessReviewsDefinitionsFilterByCurrentUserWithOnRequestBuilder(rawUrl s urlParams["request-raw-url"] = rawUrl return NewAccessReviewsDefinitionsFilterByCurrentUserWithOnRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function filterByCurrentUser +// Get returns accessReviewScheduleDefinition objects where the calling user is a reviewer on one or more accessReviewInstance objects. // Deprecated: This method is obsolete. Use GetAsFilterByCurrentUserWithOnGetResponse instead. // returns a AccessReviewsDefinitionsFilterByCurrentUserWithOnResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewscheduledefinition-filterbycurrentuser?view=graph-rest-beta func (m *AccessReviewsDefinitionsFilterByCurrentUserWithOnRequestBuilder) Get(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(AccessReviewsDefinitionsFilterByCurrentUserWithOnResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *AccessReviewsDefinitionsFilterByCurrentUserWithOnRequestBuilder) Get(ct } return res.(AccessReviewsDefinitionsFilterByCurrentUserWithOnResponseable), nil } -// GetAsFilterByCurrentUserWithOnGetResponse invoke function filterByCurrentUser +// GetAsFilterByCurrentUserWithOnGetResponse returns accessReviewScheduleDefinition objects where the calling user is a reviewer on one or more accessReviewInstance objects. // returns a AccessReviewsDefinitionsFilterByCurrentUserWithOnGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewscheduledefinition-filterbycurrentuser?view=graph-rest-beta func (m *AccessReviewsDefinitionsFilterByCurrentUserWithOnRequestBuilder) GetAsFilterByCurrentUserWithOnGetResponse(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(AccessReviewsDefinitionsFilterByCurrentUserWithOnGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *AccessReviewsDefinitionsFilterByCurrentUserWithOnRequestBuilder) GetAsF } return res.(AccessReviewsDefinitionsFilterByCurrentUserWithOnGetResponseable), nil } -// ToGetRequestInformation invoke function filterByCurrentUser +// ToGetRequestInformation returns accessReviewScheduleDefinition objects where the calling user is a reviewer on one or more accessReviewInstance objects. // returns a *RequestInformation when successful func (m *AccessReviewsDefinitionsFilterByCurrentUserWithOnRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/access_reviews_definitions_item_instances_access_review_instance_item_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_access_review_instance_item_request_builder.go index f6c4088a847..b181be92d19 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_access_review_instance_item_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_access_review_instance_item_request_builder.go @@ -18,7 +18,7 @@ type AccessReviewsDefinitionsItemInstancesAccessReviewInstanceItemRequestBuilder // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// AccessReviewsDefinitionsItemInstancesAccessReviewInstanceItemRequestBuilderGetQueryParameters retrieve an accessReviewInstance object using the identifier of an accessReviewInstance and its parent accessReviewScheduleDefinition. This returns all properties of the instance except for the associated accessReviewInstanceDecisionItems. To retrieve the decisions on the instance, use List accessReviewInstanceDecisionItem. +// AccessReviewsDefinitionsItemInstancesAccessReviewInstanceItemRequestBuilderGetQueryParameters set of access reviews instances for this access review series. Access reviews that don't recur will only have one instance; otherwise, there's an instance for each recurrence. type AccessReviewsDefinitionsItemInstancesAccessReviewInstanceItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -100,12 +100,9 @@ func (m *AccessReviewsDefinitionsItemInstancesAccessReviewInstanceItemRequestBui } return nil } -// Get retrieve an accessReviewInstance object using the identifier of an accessReviewInstance and its parent accessReviewScheduleDefinition. This returns all properties of the instance except for the associated accessReviewInstanceDecisionItems. To retrieve the decisions on the instance, use List accessReviewInstanceDecisionItem. +// Get set of access reviews instances for this access review series. Access reviews that don't recur will only have one instance; otherwise, there's an instance for each recurrence. // returns a AccessReviewInstanceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-get?view=graph-rest-1.0 func (m *AccessReviewsDefinitionsItemInstancesAccessReviewInstanceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesAccessReviewInstanceItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewInstanceable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -123,12 +120,9 @@ func (m *AccessReviewsDefinitionsItemInstancesAccessReviewInstanceItemRequestBui } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewInstanceable), nil } -// Patch update the properties of an accessReviewInstance object. Only the reviewers and fallbackReviewers properties can be updated but the scope property is also required in the request body. You can only add reviewers to the fallbackReviewers property but can't remove existing fallbackReviewers. To update an accessReviewInstance, its status must be InProgress. +// Patch update the navigation property instances in identityGovernance // returns a AccessReviewInstanceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-update?view=graph-rest-1.0 func (m *AccessReviewsDefinitionsItemInstancesAccessReviewInstanceItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewInstanceable, requestConfiguration *AccessReviewsDefinitionsItemInstancesAccessReviewInstanceItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewInstanceable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -182,7 +176,7 @@ func (m *AccessReviewsDefinitionsItemInstancesAccessReviewInstanceItemRequestBui requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve an accessReviewInstance object using the identifier of an accessReviewInstance and its parent accessReviewScheduleDefinition. This returns all properties of the instance except for the associated accessReviewInstanceDecisionItems. To retrieve the decisions on the instance, use List accessReviewInstanceDecisionItem. +// ToGetRequestInformation set of access reviews instances for this access review series. Access reviews that don't recur will only have one instance; otherwise, there's an instance for each recurrence. // returns a *RequestInformation when successful func (m *AccessReviewsDefinitionsItemInstancesAccessReviewInstanceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesAccessReviewInstanceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -196,7 +190,7 @@ func (m *AccessReviewsDefinitionsItemInstancesAccessReviewInstanceItemRequestBui requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an accessReviewInstance object. Only the reviewers and fallbackReviewers properties can be updated but the scope property is also required in the request body. You can only add reviewers to the fallbackReviewers property but can't remove existing fallbackReviewers. To update an accessReviewInstance, its status must be InProgress. +// ToPatchRequestInformation update the navigation property instances in identityGovernance // returns a *RequestInformation when successful func (m *AccessReviewsDefinitionsItemInstancesAccessReviewInstanceItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewInstanceable, requestConfiguration *AccessReviewsDefinitionsItemInstancesAccessReviewInstanceItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/access_reviews_definitions_item_instances_filter_by_current_user_with_on_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_filter_by_current_user_with_on_request_builder.go index 8f972107ee5..77ab4eaa3b3 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_filter_by_current_user_with_on_request_builder.go @@ -10,7 +10,7 @@ import ( type AccessReviewsDefinitionsItemInstancesFilterByCurrentUserWithOnRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AccessReviewsDefinitionsItemInstancesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters invoke function filterByCurrentUser +// AccessReviewsDefinitionsItemInstancesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters returns all accessReviewInstance objects on a given accessReviewScheduleDefinition where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. type AccessReviewsDefinitionsItemInstancesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewAccessReviewsDefinitionsItemInstancesFilterByCurrentUserWithOnRequestBui urlParams["request-raw-url"] = rawUrl return NewAccessReviewsDefinitionsItemInstancesFilterByCurrentUserWithOnRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function filterByCurrentUser +// Get returns all accessReviewInstance objects on a given accessReviewScheduleDefinition where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. // Deprecated: This method is obsolete. Use GetAsFilterByCurrentUserWithOnGetResponse instead. // returns a AccessReviewsDefinitionsItemInstancesFilterByCurrentUserWithOnResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-filterbycurrentuser?view=graph-rest-beta func (m *AccessReviewsDefinitionsItemInstancesFilterByCurrentUserWithOnRequestBuilder) Get(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(AccessReviewsDefinitionsItemInstancesFilterByCurrentUserWithOnResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *AccessReviewsDefinitionsItemInstancesFilterByCurrentUserWithOnRequestBu } return res.(AccessReviewsDefinitionsItemInstancesFilterByCurrentUserWithOnResponseable), nil } -// GetAsFilterByCurrentUserWithOnGetResponse invoke function filterByCurrentUser +// GetAsFilterByCurrentUserWithOnGetResponse returns all accessReviewInstance objects on a given accessReviewScheduleDefinition where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. // returns a AccessReviewsDefinitionsItemInstancesFilterByCurrentUserWithOnGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-filterbycurrentuser?view=graph-rest-beta func (m *AccessReviewsDefinitionsItemInstancesFilterByCurrentUserWithOnRequestBuilder) GetAsFilterByCurrentUserWithOnGetResponse(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(AccessReviewsDefinitionsItemInstancesFilterByCurrentUserWithOnGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *AccessReviewsDefinitionsItemInstancesFilterByCurrentUserWithOnRequestBu } return res.(AccessReviewsDefinitionsItemInstancesFilterByCurrentUserWithOnGetResponseable), nil } -// ToGetRequestInformation invoke function filterByCurrentUser +// ToGetRequestInformation returns all accessReviewInstance objects on a given accessReviewScheduleDefinition where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. // returns a *RequestInformation when successful func (m *AccessReviewsDefinitionsItemInstancesFilterByCurrentUserWithOnRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_accept_recommendations_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_accept_recommendations_request_builder.go index 556ff6f68ec..f76104a30d3 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_accept_recommendations_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_accept_recommendations_request_builder.go @@ -34,7 +34,7 @@ func NewAccessReviewsDefinitionsItemInstancesItemAcceptRecommendationsRequestBui // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-acceptrecommendations?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-acceptrecommendations?view=graph-rest-beta func (m *AccessReviewsDefinitionsItemInstancesItemAcceptRecommendationsRequestBuilder) Post(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemAcceptRecommendationsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_apply_decisions_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_apply_decisions_request_builder.go index 0da1cc8029e..fc18227fea1 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_apply_decisions_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_apply_decisions_request_builder.go @@ -34,7 +34,7 @@ func NewAccessReviewsDefinitionsItemInstancesItemApplyDecisionsRequestBuilder(ra // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-applydecisions?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-applydecisions?view=graph-rest-beta func (m *AccessReviewsDefinitionsItemInstancesItemApplyDecisionsRequestBuilder) Post(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemApplyDecisionsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_batch_record_decisions_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_batch_record_decisions_request_builder.go index 5bcdfc26931..e6e66005948 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_batch_record_decisions_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_batch_record_decisions_request_builder.go @@ -34,7 +34,7 @@ func NewAccessReviewsDefinitionsItemInstancesItemBatchRecordDecisionsRequestBuil // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-batchrecorddecisions?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-batchrecorddecisions?view=graph-rest-beta func (m *AccessReviewsDefinitionsItemInstancesItemBatchRecordDecisionsRequestBuilder) Post(ctx context.Context, body AccessReviewsDefinitionsItemInstancesItemBatchRecordDecisionsPostRequestBodyable, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemBatchRecordDecisionsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_contacted_reviewers_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_contacted_reviewers_request_builder.go index 6babc160cd4..5ba9f56fa43 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_contacted_reviewers_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_contacted_reviewers_request_builder.go @@ -11,7 +11,7 @@ import ( type AccessReviewsDefinitionsItemInstancesItemContactedReviewersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AccessReviewsDefinitionsItemInstancesItemContactedReviewersRequestBuilderGetQueryParameters get the reviewers for an access review instance, irrespective of whether or not they have received a notification. The reviewers are represented by an accessReviewReviewer object. A list of zero or more objects are returned, including all of their nested properties. +// AccessReviewsDefinitionsItemInstancesItemContactedReviewersRequestBuilderGetQueryParameters returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. type AccessReviewsDefinitionsItemInstancesItemContactedReviewersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewAccessReviewsDefinitionsItemInstancesItemContactedReviewersRequestBuilde func (m *AccessReviewsDefinitionsItemInstancesItemContactedReviewersRequestBuilder) Count()(*AccessReviewsDefinitionsItemInstancesItemContactedReviewersCountRequestBuilder) { return NewAccessReviewsDefinitionsItemInstancesItemContactedReviewersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the reviewers for an access review instance, irrespective of whether or not they have received a notification. The reviewers are represented by an accessReviewReviewer object. A list of zero or more objects are returned, including all of their nested properties. +// Get returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. // returns a AccessReviewReviewerCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-list-contactedreviewers?view=graph-rest-1.0 func (m *AccessReviewsDefinitionsItemInstancesItemContactedReviewersRequestBuilder) Get(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemContactedReviewersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewReviewerCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemContactedReviewersRequestBuild } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewReviewerable), nil } -// ToGetRequestInformation get the reviewers for an access review instance, irrespective of whether or not they have received a notification. The reviewers are represented by an accessReviewReviewer object. A list of zero or more objects are returned, including all of their nested properties. +// ToGetRequestInformation returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. // returns a *RequestInformation when successful func (m *AccessReviewsDefinitionsItemInstancesItemContactedReviewersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemContactedReviewersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_access_review_instance_decision_item_item_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_access_review_instance_decision_item_item_request_builder.go index 6072487a184..ed1954bb70e 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_access_review_instance_decision_item_item_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_access_review_instance_decision_item_item_request_builder.go @@ -18,7 +18,7 @@ type AccessReviewsDefinitionsItemInstancesItemDecisionsAccessReviewInstanceDecis // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// AccessReviewsDefinitionsItemInstancesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderGetQueryParameters read the properties and relationships of an accessReviewInstanceDecisionItem object. +// AccessReviewsDefinitionsItemInstancesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderGetQueryParameters each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. type AccessReviewsDefinitionsItemInstancesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsAccessReviewInstanceD } return nil } -// Get read the properties and relationships of an accessReviewInstanceDecisionItem object. +// Get each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. // returns a AccessReviewInstanceDecisionItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-get?view=graph-rest-1.0 func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) Get(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewInstanceDecisionItemable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -134,7 +131,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsAccessReviewInstanceD requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an accessReviewInstanceDecisionItem object. +// ToGetRequestInformation each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. // returns a *RequestInformation when successful func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_filter_by_current_user_with_on_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_filter_by_current_user_with_on_request_builder.go index ada7465dbc5..564912fa547 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_filter_by_current_user_with_on_request_builder.go @@ -10,7 +10,7 @@ import ( type AccessReviewsDefinitionsItemInstancesItemDecisionsFilterByCurrentUserWithOnRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AccessReviewsDefinitionsItemInstancesItemDecisionsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters invoke function filterByCurrentUser +// AccessReviewsDefinitionsItemInstancesItemDecisionsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. type AccessReviewsDefinitionsItemInstancesItemDecisionsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewAccessReviewsDefinitionsItemInstancesItemDecisionsFilterByCurrentUserWit urlParams["request-raw-url"] = rawUrl return NewAccessReviewsDefinitionsItemInstancesItemDecisionsFilterByCurrentUserWithOnRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function filterByCurrentUser +// Get retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. // Deprecated: This method is obsolete. Use GetAsFilterByCurrentUserWithOnGetResponse instead. // returns a AccessReviewsDefinitionsItemInstancesItemDecisionsFilterByCurrentUserWithOnResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-list-decisions?view=graph-rest-beta func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsFilterByCurrentUserWithOnRequestBuilder) Get(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemDecisionsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(AccessReviewsDefinitionsItemInstancesItemDecisionsFilterByCurrentUserWithOnResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsFilterByCurrentUserWi } return res.(AccessReviewsDefinitionsItemInstancesItemDecisionsFilterByCurrentUserWithOnResponseable), nil } -// GetAsFilterByCurrentUserWithOnGetResponse invoke function filterByCurrentUser +// GetAsFilterByCurrentUserWithOnGetResponse retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. // returns a AccessReviewsDefinitionsItemInstancesItemDecisionsFilterByCurrentUserWithOnGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-list-decisions?view=graph-rest-beta func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsFilterByCurrentUserWithOnRequestBuilder) GetAsFilterByCurrentUserWithOnGetResponse(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemDecisionsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(AccessReviewsDefinitionsItemInstancesItemDecisionsFilterByCurrentUserWithOnGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsFilterByCurrentUserWi } return res.(AccessReviewsDefinitionsItemInstancesItemDecisionsFilterByCurrentUserWithOnGetResponseable), nil } -// ToGetRequestInformation invoke function filterByCurrentUser +// ToGetRequestInformation retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. // returns a *RequestInformation when successful func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsFilterByCurrentUserWithOnRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemDecisionsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_accept_recommendations_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_accept_recommendations_request_builder.go index ab4e91a04b7..26f27751904 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_accept_recommendations_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_accept_recommendations_request_builder.go @@ -34,7 +34,7 @@ func NewAccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceAcceptReco // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-acceptrecommendations?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-acceptrecommendations?view=graph-rest-beta func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceAcceptRecommendationsRequestBuilder) Post(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceAcceptRecommendationsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_apply_decisions_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_apply_decisions_request_builder.go index 3f1a034357f..c1b5aa8c473 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_apply_decisions_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_apply_decisions_request_builder.go @@ -34,7 +34,7 @@ func NewAccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceApplyDecis // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-applydecisions?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-applydecisions?view=graph-rest-beta func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceApplyDecisionsRequestBuilder) Post(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceApplyDecisionsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_batch_record_decisions_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_batch_record_decisions_request_builder.go index 08dd987f921..b11d5872e95 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_batch_record_decisions_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_batch_record_decisions_request_builder.go @@ -34,7 +34,7 @@ func NewAccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceBatchRecor // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-batchrecorddecisions?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-batchrecorddecisions?view=graph-rest-beta func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceBatchRecordDecisionsRequestBuilder) Post(ctx context.Context, body AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceBatchRecordDecisionsPostRequestBodyable, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceBatchRecordDecisionsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_contacted_reviewers_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_contacted_reviewers_request_builder.go index 3bbc8d894a2..17f329898b1 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_contacted_reviewers_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_contacted_reviewers_request_builder.go @@ -11,7 +11,7 @@ import ( type AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceContactedReviewersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceContactedReviewersRequestBuilderGetQueryParameters get the reviewers for an access review instance, irrespective of whether or not they have received a notification. The reviewers are represented by an accessReviewReviewer object. A list of zero or more objects are returned, including all of their nested properties. +// AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceContactedReviewersRequestBuilderGetQueryParameters returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. type AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceContactedReviewersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewAccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceContactedR func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceContactedReviewersRequestBuilder) Count()(*AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceContactedReviewersCountRequestBuilder) { return NewAccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceContactedReviewersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the reviewers for an access review instance, irrespective of whether or not they have received a notification. The reviewers are represented by an accessReviewReviewer object. A list of zero or more objects are returned, including all of their nested properties. +// Get returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. // returns a AccessReviewReviewerCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-list-contactedreviewers?view=graph-rest-1.0 func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceContactedReviewersRequestBuilder) Get(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceContactedReviewersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewReviewerCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceContacted } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewReviewerable), nil } -// ToGetRequestInformation get the reviewers for an access review instance, irrespective of whether or not they have received a notification. The reviewers are represented by an accessReviewReviewer object. A list of zero or more objects are returned, including all of their nested properties. +// ToGetRequestInformation returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. // returns a *RequestInformation when successful func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceContactedReviewersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceContactedReviewersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_reset_decisions_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_reset_decisions_request_builder.go index c5784fc2b03..1a5fec84d29 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_reset_decisions_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_reset_decisions_request_builder.go @@ -34,7 +34,7 @@ func NewAccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceResetDecis // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-resetdecisions?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-resetdecisions?view=graph-rest-beta func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceResetDecisionsRequestBuilder) Post(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceResetDecisionsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_send_reminder_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_send_reminder_request_builder.go index c45bc978331..b0747cc2f9a 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_send_reminder_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_send_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewAccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceSendRemind // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-sendreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-sendreminder?view=graph-rest-beta func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceSendReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceSendReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_access_review_stage_item_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_access_review_stage_item_request_builder.go index eaefa371fbd..2912d4275cc 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_access_review_stage_item_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_access_review_stage_item_request_builder.go @@ -18,7 +18,7 @@ type AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesAccessR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesAccessReviewStageItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an accessReviewStage object. +// AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesAccessReviewStageItemRequestBuilderGetQueryParameters if the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. type AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesAccessReviewStageItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesAcc } return nil } -// Get retrieve the properties and relationships of an accessReviewStage object. +// Get if the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. // returns a AccessReviewStageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewstage-get?view=graph-rest-1.0 func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesAccessReviewStageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesAccessReviewStageItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewStageable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,12 +95,9 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesAcc } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewStageable), nil } -// Patch update the properties of an accessReviewStage object. Only the reviewers and fallbackReviewers properties can be updated. You can only add reviewers to the fallbackReviewers property but can't remove existing fallbackReviewers. To update an accessReviewStage, its status must be NotStarted, Initializing, or InProgress. +// Patch update the navigation property stages in identityGovernance // returns a AccessReviewStageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewstage-update?view=graph-rest-1.0 func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesAccessReviewStageItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewStageable, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesAccessReviewStageItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewStageable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -137,7 +131,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesAcc requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of an accessReviewStage object. +// ToGetRequestInformation if the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. // returns a *RequestInformation when successful func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesAccessReviewStageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesAccessReviewStageItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -151,7 +145,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesAcc requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an accessReviewStage object. Only the reviewers and fallbackReviewers properties can be updated. You can only add reviewers to the fallbackReviewers property but can't remove existing fallbackReviewers. To update an accessReviewStage, its status must be NotStarted, Initializing, or InProgress. +// ToPatchRequestInformation update the navigation property stages in identityGovernance // returns a *RequestInformation when successful func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesAccessReviewStageItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewStageable, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesAccessReviewStageItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_filter_by_current_user_with_on_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_filter_by_current_user_with_on_request_builder.go index 1e1caea4b10..2af89e0afdc 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_filter_by_current_user_with_on_request_builder.go @@ -10,7 +10,7 @@ import ( type AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesFilterByCurrentUserWithOnRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters invoke function filterByCurrentUser +// AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters return all accessReviewStage objects on a given accessReviewInstance where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. type AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewAccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesFilt urlParams["request-raw-url"] = rawUrl return NewAccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesFilterByCurrentUserWithOnRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function filterByCurrentUser +// Get return all accessReviewStage objects on a given accessReviewInstance where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. // Deprecated: This method is obsolete. Use GetAsFilterByCurrentUserWithOnGetResponse instead. // returns a AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesFilterByCurrentUserWithOnResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewstage-filterbycurrentuser?view=graph-rest-beta func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesFilterByCurrentUserWithOnRequestBuilder) Get(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesFilterByCurrentUserWithOnResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesFil } return res.(AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesFilterByCurrentUserWithOnResponseable), nil } -// GetAsFilterByCurrentUserWithOnGetResponse invoke function filterByCurrentUser +// GetAsFilterByCurrentUserWithOnGetResponse return all accessReviewStage objects on a given accessReviewInstance where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. // returns a AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesFilterByCurrentUserWithOnGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewstage-filterbycurrentuser?view=graph-rest-beta func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesFilterByCurrentUserWithOnRequestBuilder) GetAsFilterByCurrentUserWithOnGetResponse(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesFilterByCurrentUserWithOnGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesFil } return res.(AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesFilterByCurrentUserWithOnGetResponseable), nil } -// ToGetRequestInformation invoke function filterByCurrentUser +// ToGetRequestInformation return all accessReviewStage objects on a given accessReviewInstance where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. // returns a *RequestInformation when successful func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesFilterByCurrentUserWithOnRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go index cd0bb7edfd6..687971f08c8 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go @@ -18,7 +18,7 @@ type AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDec // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderGetQueryParameters read the properties and relationships of an accessReviewInstanceDecisionItem object. +// AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderGetQueryParameters each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. type AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesIte } return nil } -// Get read the properties and relationships of an accessReviewInstanceDecisionItem object. +// Get each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. // returns a AccessReviewInstanceDecisionItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-get?view=graph-rest-1.0 func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) Get(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewInstanceDecisionItemable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,12 +95,9 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesIte func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) Insights()(*AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsItemInsightsRequestBuilder) { return NewAccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsItemInsightsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update access decisions, known as accessReviewInstanceDecisionItems, for which the user is the reviewer. +// Patch update the navigation property decisions in identityGovernance // returns a AccessReviewInstanceDecisionItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-update?view=graph-rest-1.0 func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewInstanceDecisionItemable, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewInstanceDecisionItemable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -132,7 +126,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesIte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an accessReviewInstanceDecisionItem object. +// ToGetRequestInformation each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. // returns a *RequestInformation when successful func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -146,7 +140,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesIte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update access decisions, known as accessReviewInstanceDecisionItems, for which the user is the reviewer. +// ToPatchRequestInformation update the navigation property decisions in identityGovernance // returns a *RequestInformation when successful func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewInstanceDecisionItemable, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_filter_by_current_user_with_on_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_filter_by_current_user_with_on_request_builder.go index 8f03e204c3b..31f4b152d06 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_filter_by_current_user_with_on_request_builder.go @@ -10,7 +10,7 @@ import ( type AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters invoke function filterByCurrentUser +// AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. type AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewAccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItem urlParams["request-raw-url"] = rawUrl return NewAccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function filterByCurrentUser +// Get retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. // Deprecated: This method is obsolete. Use GetAsFilterByCurrentUserWithOnGetResponse instead. // returns a AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-list-decisions?view=graph-rest-beta func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilder) Get(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesIte } return res.(AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnResponseable), nil } -// GetAsFilterByCurrentUserWithOnGetResponse invoke function filterByCurrentUser +// GetAsFilterByCurrentUserWithOnGetResponse retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. // returns a AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-list-decisions?view=graph-rest-beta func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilder) GetAsFilterByCurrentUserWithOnGetResponse(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesIte } return res.(AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnGetResponseable), nil } -// ToGetRequestInformation invoke function filterByCurrentUser +// ToGetRequestInformation retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. // returns a *RequestInformation when successful func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_record_all_decisions_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_record_all_decisions_request_builder.go index b12af7087a1..75f058903b2 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_record_all_decisions_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_record_all_decisions_request_builder.go @@ -34,7 +34,7 @@ func NewAccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItem // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-recordalldecisions?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-recordalldecisions?view=graph-rest-beta func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsRecordAllDecisionsRequestBuilder) Post(ctx context.Context, body AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsRecordAllDecisionsPostRequestBodyable, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsRecordAllDecisionsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_request_builder.go index 7fd8d93d9b5..6cf82e70cb7 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_request_builder.go @@ -11,7 +11,7 @@ import ( type AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsRequestBuilderGetQueryParameters get the decisions from a stage in a multi-stage access review. The decisions in an accessReviewStage object are represented by an accessReviewInstanceDecisionItem object. +// AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsRequestBuilderGetQueryParameters each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. type AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesIte func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsRequestBuilder) FilterByCurrentUserWithOn(on *string)(*AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilder) { return NewAccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, on) } -// Get get the decisions from a stage in a multi-stage access review. The decisions in an accessReviewStage object are represented by an accessReviewInstanceDecisionItem object. +// Get each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. // returns a AccessReviewInstanceDecisionItemCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewstage-list-decisions?view=graph-rest-1.0 func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsRequestBuilder) Get(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewInstanceDecisionItemCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesIte func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsRequestBuilder) RecordAllDecisions()(*AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsRecordAllDecisionsRequestBuilder) { return NewAccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsRecordAllDecisionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation get the decisions from a stage in a multi-stage access review. The decisions in an accessReviewStage object are represented by an accessReviewInstanceDecisionItem object. +// ToGetRequestInformation each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. // returns a *RequestInformation when successful func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemDecisionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_stop_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_stop_request_builder.go index 41ad1e5e0e1..5d23357f76c 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_stop_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_stop_request_builder.go @@ -34,7 +34,7 @@ func NewAccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItem // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewstage-stop?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewstage-stop?view=graph-rest-beta func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemStopRequestBuilder) Post(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesItemStopRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_request_builder.go index 8971b8a921a..321f0e65aff 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_request_builder.go @@ -11,7 +11,7 @@ import ( type AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesRequestBuilderGetQueryParameters retrieve the stages in a multi-stage access review instance. +// AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesRequestBuilderGetQueryParameters if the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. type AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesReq func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesRequestBuilder) FilterByCurrentUserWithOn(on *string)(*AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesFilterByCurrentUserWithOnRequestBuilder) { return NewAccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesFilterByCurrentUserWithOnRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, on) } -// Get retrieve the stages in a multi-stage access review instance. +// Get if the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. // returns a AccessReviewStageCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-list-stages?view=graph-rest-1.0 func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesRequestBuilder) Get(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewStageCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesReq } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewStageable), nil } -// ToGetRequestInformation retrieve the stages in a multi-stage access review instance. +// ToGetRequestInformation if the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. // returns a *RequestInformation when successful func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stop_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stop_request_builder.go index 0e330ec49dd..5a07ef431cd 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stop_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stop_request_builder.go @@ -34,7 +34,7 @@ func NewAccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStopReques // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-stop?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-stop?view=graph-rest-beta func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStopRequestBuilder) Post(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStopRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_record_all_decisions_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_record_all_decisions_request_builder.go index f0ee2857fef..ce08015ac95 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_record_all_decisions_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_record_all_decisions_request_builder.go @@ -34,7 +34,7 @@ func NewAccessReviewsDefinitionsItemInstancesItemDecisionsRecordAllDecisionsRequ // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-recordalldecisions?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-recordalldecisions?view=graph-rest-beta func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsRecordAllDecisionsRequestBuilder) Post(ctx context.Context, body AccessReviewsDefinitionsItemInstancesItemDecisionsRecordAllDecisionsPostRequestBodyable, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemDecisionsRecordAllDecisionsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_request_builder.go index 660abaaa134..03a6ad356c4 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_request_builder.go @@ -11,7 +11,7 @@ import ( type AccessReviewsDefinitionsItemInstancesItemDecisionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AccessReviewsDefinitionsItemInstancesItemDecisionsRequestBuilderGetQueryParameters retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. +// AccessReviewsDefinitionsItemInstancesItemDecisionsRequestBuilderGetQueryParameters each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. type AccessReviewsDefinitionsItemInstancesItemDecisionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsRequestBuilder) Count func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsRequestBuilder) FilterByCurrentUserWithOn(on *string)(*AccessReviewsDefinitionsItemInstancesItemDecisionsFilterByCurrentUserWithOnRequestBuilder) { return NewAccessReviewsDefinitionsItemInstancesItemDecisionsFilterByCurrentUserWithOnRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, on) } -// Get retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. +// Get each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. // returns a AccessReviewInstanceDecisionItemCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-list-decisions?view=graph-rest-1.0 func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsRequestBuilder) Get(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemDecisionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewInstanceDecisionItemCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsRequestBuilder) Post( func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsRequestBuilder) RecordAllDecisions()(*AccessReviewsDefinitionsItemInstancesItemDecisionsRecordAllDecisionsRequestBuilder) { return NewAccessReviewsDefinitionsItemInstancesItemDecisionsRecordAllDecisionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. +// ToGetRequestInformation each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. // returns a *RequestInformation when successful func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemDecisionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_reset_decisions_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_reset_decisions_request_builder.go index 7c7d1cf48ef..dc019f56264 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_reset_decisions_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_reset_decisions_request_builder.go @@ -34,7 +34,7 @@ func NewAccessReviewsDefinitionsItemInstancesItemResetDecisionsRequestBuilder(ra // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-resetdecisions?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-resetdecisions?view=graph-rest-beta func (m *AccessReviewsDefinitionsItemInstancesItemResetDecisionsRequestBuilder) Post(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemResetDecisionsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_send_reminder_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_send_reminder_request_builder.go index ae9faa6a9f8..9ac525d82ee 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_send_reminder_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_send_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewAccessReviewsDefinitionsItemInstancesItemSendReminderRequestBuilder(rawU // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-sendreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-sendreminder?view=graph-rest-beta func (m *AccessReviewsDefinitionsItemInstancesItemSendReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemSendReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_access_review_stage_item_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_access_review_stage_item_request_builder.go index a305560095d..74210a332bb 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_access_review_stage_item_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_access_review_stage_item_request_builder.go @@ -18,7 +18,7 @@ type AccessReviewsDefinitionsItemInstancesItemStagesAccessReviewStageItemRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// AccessReviewsDefinitionsItemInstancesItemStagesAccessReviewStageItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an accessReviewStage object. +// AccessReviewsDefinitionsItemInstancesItemStagesAccessReviewStageItemRequestBuilderGetQueryParameters if the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. type AccessReviewsDefinitionsItemInstancesItemStagesAccessReviewStageItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesAccessReviewStageItemReq } return nil } -// Get retrieve the properties and relationships of an accessReviewStage object. +// Get if the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. // returns a AccessReviewStageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewstage-get?view=graph-rest-1.0 func (m *AccessReviewsDefinitionsItemInstancesItemStagesAccessReviewStageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemStagesAccessReviewStageItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewStageable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,12 +95,9 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesAccessReviewStageItemReq } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewStageable), nil } -// Patch update the properties of an accessReviewStage object. Only the reviewers and fallbackReviewers properties can be updated. You can only add reviewers to the fallbackReviewers property but can't remove existing fallbackReviewers. To update an accessReviewStage, its status must be NotStarted, Initializing, or InProgress. +// Patch update the navigation property stages in identityGovernance // returns a AccessReviewStageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewstage-update?view=graph-rest-1.0 func (m *AccessReviewsDefinitionsItemInstancesItemStagesAccessReviewStageItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewStageable, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemStagesAccessReviewStageItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewStageable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -137,7 +131,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesAccessReviewStageItemReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of an accessReviewStage object. +// ToGetRequestInformation if the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. // returns a *RequestInformation when successful func (m *AccessReviewsDefinitionsItemInstancesItemStagesAccessReviewStageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemStagesAccessReviewStageItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -151,7 +145,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesAccessReviewStageItemReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an accessReviewStage object. Only the reviewers and fallbackReviewers properties can be updated. You can only add reviewers to the fallbackReviewers property but can't remove existing fallbackReviewers. To update an accessReviewStage, its status must be NotStarted, Initializing, or InProgress. +// ToPatchRequestInformation update the navigation property stages in identityGovernance // returns a *RequestInformation when successful func (m *AccessReviewsDefinitionsItemInstancesItemStagesAccessReviewStageItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewStageable, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemStagesAccessReviewStageItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_filter_by_current_user_with_on_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_filter_by_current_user_with_on_request_builder.go index 314b519266c..fce715b444f 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_filter_by_current_user_with_on_request_builder.go @@ -10,7 +10,7 @@ import ( type AccessReviewsDefinitionsItemInstancesItemStagesFilterByCurrentUserWithOnRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AccessReviewsDefinitionsItemInstancesItemStagesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters invoke function filterByCurrentUser +// AccessReviewsDefinitionsItemInstancesItemStagesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters return all accessReviewStage objects on a given accessReviewInstance where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. type AccessReviewsDefinitionsItemInstancesItemStagesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewAccessReviewsDefinitionsItemInstancesItemStagesFilterByCurrentUserWithOn urlParams["request-raw-url"] = rawUrl return NewAccessReviewsDefinitionsItemInstancesItemStagesFilterByCurrentUserWithOnRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function filterByCurrentUser +// Get return all accessReviewStage objects on a given accessReviewInstance where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. // Deprecated: This method is obsolete. Use GetAsFilterByCurrentUserWithOnGetResponse instead. // returns a AccessReviewsDefinitionsItemInstancesItemStagesFilterByCurrentUserWithOnResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewstage-filterbycurrentuser?view=graph-rest-beta func (m *AccessReviewsDefinitionsItemInstancesItemStagesFilterByCurrentUserWithOnRequestBuilder) Get(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemStagesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(AccessReviewsDefinitionsItemInstancesItemStagesFilterByCurrentUserWithOnResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesFilterByCurrentUserWithO } return res.(AccessReviewsDefinitionsItemInstancesItemStagesFilterByCurrentUserWithOnResponseable), nil } -// GetAsFilterByCurrentUserWithOnGetResponse invoke function filterByCurrentUser +// GetAsFilterByCurrentUserWithOnGetResponse return all accessReviewStage objects on a given accessReviewInstance where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. // returns a AccessReviewsDefinitionsItemInstancesItemStagesFilterByCurrentUserWithOnGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewstage-filterbycurrentuser?view=graph-rest-beta func (m *AccessReviewsDefinitionsItemInstancesItemStagesFilterByCurrentUserWithOnRequestBuilder) GetAsFilterByCurrentUserWithOnGetResponse(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemStagesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(AccessReviewsDefinitionsItemInstancesItemStagesFilterByCurrentUserWithOnGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesFilterByCurrentUserWithO } return res.(AccessReviewsDefinitionsItemInstancesItemStagesFilterByCurrentUserWithOnGetResponseable), nil } -// ToGetRequestInformation invoke function filterByCurrentUser +// ToGetRequestInformation return all accessReviewStage objects on a given accessReviewInstance where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. // returns a *RequestInformation when successful func (m *AccessReviewsDefinitionsItemInstancesItemStagesFilterByCurrentUserWithOnRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemStagesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go index c536701a786..44ed191fe40 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go @@ -18,7 +18,7 @@ type AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsAccessReviewIns // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderGetQueryParameters read the properties and relationships of an accessReviewInstanceDecisionItem object. +// AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderGetQueryParameters each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. type AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsAccessRevie } return nil } -// Get read the properties and relationships of an accessReviewInstanceDecisionItem object. +// Get each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. // returns a AccessReviewInstanceDecisionItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-get?view=graph-rest-1.0 func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) Get(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewInstanceDecisionItemable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -103,12 +100,9 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsAccessRevie func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) Instance()(*AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceRequestBuilder) { return NewAccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update access decisions, known as accessReviewInstanceDecisionItems, for which the user is the reviewer. +// Patch update the navigation property decisions in identityGovernance // returns a AccessReviewInstanceDecisionItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-update?view=graph-rest-1.0 func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewInstanceDecisionItemable, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewInstanceDecisionItemable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -137,7 +131,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsAccessRevie requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an accessReviewInstanceDecisionItem object. +// ToGetRequestInformation each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. // returns a *RequestInformation when successful func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -151,7 +145,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsAccessRevie requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update access decisions, known as accessReviewInstanceDecisionItems, for which the user is the reviewer. +// ToPatchRequestInformation update the navigation property decisions in identityGovernance // returns a *RequestInformation when successful func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewInstanceDecisionItemable, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_filter_by_current_user_with_on_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_filter_by_current_user_with_on_request_builder.go index 1aa4c58c325..fdc866569e9 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_filter_by_current_user_with_on_request_builder.go @@ -10,7 +10,7 @@ import ( type AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters invoke function filterByCurrentUser +// AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. type AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewAccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsFilterByCurr urlParams["request-raw-url"] = rawUrl return NewAccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function filterByCurrentUser +// Get retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. // Deprecated: This method is obsolete. Use GetAsFilterByCurrentUserWithOnGetResponse instead. // returns a AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsFilterByCurrentUserWithOnResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-list-decisions?view=graph-rest-beta func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilder) Get(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsFilterByCurrentUserWithOnResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsFilterByCur } return res.(AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsFilterByCurrentUserWithOnResponseable), nil } -// GetAsFilterByCurrentUserWithOnGetResponse invoke function filterByCurrentUser +// GetAsFilterByCurrentUserWithOnGetResponse retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. // returns a AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsFilterByCurrentUserWithOnGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-list-decisions?view=graph-rest-beta func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilder) GetAsFilterByCurrentUserWithOnGetResponse(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsFilterByCurrentUserWithOnGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsFilterByCur } return res.(AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsFilterByCurrentUserWithOnGetResponseable), nil } -// ToGetRequestInformation invoke function filterByCurrentUser +// ToGetRequestInformation retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. // returns a *RequestInformation when successful func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_accept_recommendations_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_accept_recommendations_request_builder.go index 3ded4e964e7..6d0975de4f7 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_accept_recommendations_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_accept_recommendations_request_builder.go @@ -34,7 +34,7 @@ func NewAccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstance // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-acceptrecommendations?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-acceptrecommendations?view=graph-rest-beta func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceAcceptRecommendationsRequestBuilder) Post(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceAcceptRecommendationsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_apply_decisions_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_apply_decisions_request_builder.go index 6519dbda0e2..fe15f5cbc81 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_apply_decisions_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_apply_decisions_request_builder.go @@ -34,7 +34,7 @@ func NewAccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstance // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-applydecisions?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-applydecisions?view=graph-rest-beta func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceApplyDecisionsRequestBuilder) Post(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceApplyDecisionsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_batch_record_decisions_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_batch_record_decisions_request_builder.go index e9c23b5ae5d..3d6117049ea 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_batch_record_decisions_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_batch_record_decisions_request_builder.go @@ -34,7 +34,7 @@ func NewAccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstance // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-batchrecorddecisions?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-batchrecorddecisions?view=graph-rest-beta func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceBatchRecordDecisionsRequestBuilder) Post(ctx context.Context, body AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceBatchRecordDecisionsPostRequestBodyable, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceBatchRecordDecisionsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_contacted_reviewers_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_contacted_reviewers_request_builder.go index 9562df8aed2..f085e8ef17b 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_contacted_reviewers_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_contacted_reviewers_request_builder.go @@ -11,7 +11,7 @@ import ( type AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceContactedReviewersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceContactedReviewersRequestBuilderGetQueryParameters get the reviewers for an access review instance, irrespective of whether or not they have received a notification. The reviewers are represented by an accessReviewReviewer object. A list of zero or more objects are returned, including all of their nested properties. +// AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceContactedReviewersRequestBuilderGetQueryParameters returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. type AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceContactedReviewersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewAccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstance func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceContactedReviewersRequestBuilder) Count()(*AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceContactedReviewersCountRequestBuilder) { return NewAccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceContactedReviewersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the reviewers for an access review instance, irrespective of whether or not they have received a notification. The reviewers are represented by an accessReviewReviewer object. A list of zero or more objects are returned, including all of their nested properties. +// Get returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. // returns a AccessReviewReviewerCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-list-contactedreviewers?view=graph-rest-1.0 func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceContactedReviewersRequestBuilder) Get(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceContactedReviewersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewReviewerCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanc } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewReviewerable), nil } -// ToGetRequestInformation get the reviewers for an access review instance, irrespective of whether or not they have received a notification. The reviewers are represented by an accessReviewReviewer object. A list of zero or more objects are returned, including all of their nested properties. +// ToGetRequestInformation returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. // returns a *RequestInformation when successful func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceContactedReviewersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceContactedReviewersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_access_review_instance_decision_item_item_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_access_review_instance_decision_item_item_request_builder.go index b9092762dec..5904cfc0c0f 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_access_review_instance_decision_item_item_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_access_review_instance_decision_item_item_request_builder.go @@ -18,7 +18,7 @@ type AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDec // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderGetQueryParameters read the properties and relationships of an accessReviewInstanceDecisionItem object. +// AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderGetQueryParameters each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. type AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanc } return nil } -// Get read the properties and relationships of an accessReviewInstanceDecisionItem object. +// Get each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. // returns a AccessReviewInstanceDecisionItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-get?view=graph-rest-1.0 func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) Get(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewInstanceDecisionItemable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanc requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an accessReviewInstanceDecisionItem object. +// ToGetRequestInformation each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. // returns a *RequestInformation when successful func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_filter_by_current_user_with_on_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_filter_by_current_user_with_on_request_builder.go index 748a298ba2a..7f2d6eefefa 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_filter_by_current_user_with_on_request_builder.go @@ -10,7 +10,7 @@ import ( type AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters invoke function filterByCurrentUser +// AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. type AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewAccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstance urlParams["request-raw-url"] = rawUrl return NewAccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function filterByCurrentUser +// Get retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. // Deprecated: This method is obsolete. Use GetAsFilterByCurrentUserWithOnGetResponse instead. // returns a AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-list-decisions?view=graph-rest-beta func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnRequestBuilder) Get(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanc } return res.(AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnResponseable), nil } -// GetAsFilterByCurrentUserWithOnGetResponse invoke function filterByCurrentUser +// GetAsFilterByCurrentUserWithOnGetResponse retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. // returns a AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-list-decisions?view=graph-rest-beta func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnRequestBuilder) GetAsFilterByCurrentUserWithOnGetResponse(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanc } return res.(AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnGetResponseable), nil } -// ToGetRequestInformation invoke function filterByCurrentUser +// ToGetRequestInformation retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. // returns a *RequestInformation when successful func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_record_all_decisions_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_record_all_decisions_request_builder.go index cd83957c911..63ff5f9e8df 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_record_all_decisions_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_record_all_decisions_request_builder.go @@ -34,7 +34,7 @@ func NewAccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstance // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-recordalldecisions?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-recordalldecisions?view=graph-rest-beta func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsRecordAllDecisionsRequestBuilder) Post(ctx context.Context, body AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsRecordAllDecisionsPostRequestBodyable, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsRecordAllDecisionsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_request_builder.go index 91d5821e1bf..36ca17236bd 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_request_builder.go @@ -11,7 +11,7 @@ import ( type AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsRequestBuilderGetQueryParameters retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. +// AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsRequestBuilderGetQueryParameters each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. type AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanc func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsRequestBuilder) FilterByCurrentUserWithOn(on *string)(*AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnRequestBuilder) { return NewAccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, on) } -// Get retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. +// Get each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. // returns a AccessReviewInstanceDecisionItemCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-list-decisions?view=graph-rest-1.0 func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsRequestBuilder) Get(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewInstanceDecisionItemCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanc func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsRequestBuilder) RecordAllDecisions()(*AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsRecordAllDecisionsRequestBuilder) { return NewAccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsRecordAllDecisionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. +// ToGetRequestInformation each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. // returns a *RequestInformation when successful func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceDecisionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_reset_decisions_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_reset_decisions_request_builder.go index 21e917da9cf..f058e62e629 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_reset_decisions_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_reset_decisions_request_builder.go @@ -34,7 +34,7 @@ func NewAccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstance // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-resetdecisions?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-resetdecisions?view=graph-rest-beta func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceResetDecisionsRequestBuilder) Post(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceResetDecisionsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_send_reminder_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_send_reminder_request_builder.go index 0fac8393bc8..b291f8f882f 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_send_reminder_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_send_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewAccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstance // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-sendreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-sendreminder?view=graph-rest-beta func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceSendReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceSendReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_stop_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_stop_request_builder.go index 2ee5f9574b3..fc543a3e325 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_stop_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_stop_request_builder.go @@ -34,7 +34,7 @@ func NewAccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstance // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-stop?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-stop?view=graph-rest-beta func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceStopRequestBuilder) Post(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanceStopRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_record_all_decisions_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_record_all_decisions_request_builder.go index ca4595b0434..5eaadcec6e2 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_record_all_decisions_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_record_all_decisions_request_builder.go @@ -34,7 +34,7 @@ func NewAccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsRecordAllDec // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-recordalldecisions?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-recordalldecisions?view=graph-rest-beta func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsRecordAllDecisionsRequestBuilder) Post(ctx context.Context, body AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsRecordAllDecisionsPostRequestBodyable, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsRecordAllDecisionsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_request_builder.go index f0d7dc0e5ed..04908d0879b 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_request_builder.go @@ -11,7 +11,7 @@ import ( type AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsRequestBuilderGetQueryParameters get the decisions from a stage in a multi-stage access review. The decisions in an accessReviewStage object are represented by an accessReviewInstanceDecisionItem object. +// AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsRequestBuilderGetQueryParameters each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. type AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsRequestBuil func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsRequestBuilder) FilterByCurrentUserWithOn(on *string)(*AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilder) { return NewAccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, on) } -// Get get the decisions from a stage in a multi-stage access review. The decisions in an accessReviewStage object are represented by an accessReviewInstanceDecisionItem object. +// Get each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. // returns a AccessReviewInstanceDecisionItemCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewstage-list-decisions?view=graph-rest-1.0 func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsRequestBuilder) Get(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewInstanceDecisionItemCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsRequestBuil func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsRequestBuilder) RecordAllDecisions()(*AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsRecordAllDecisionsRequestBuilder) { return NewAccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsRecordAllDecisionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation get the decisions from a stage in a multi-stage access review. The decisions in an accessReviewStage object are represented by an accessReviewInstanceDecisionItem object. +// ToGetRequestInformation each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. // returns a *RequestInformation when successful func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_stop_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_stop_request_builder.go index 0e2f369f2ea..6fa0db9b216 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_stop_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_stop_request_builder.go @@ -34,7 +34,7 @@ func NewAccessReviewsDefinitionsItemInstancesItemStagesItemStopRequestBuilder(ra // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewstage-stop?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewstage-stop?view=graph-rest-beta func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemStopRequestBuilder) Post(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemStagesItemStopRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_request_builder.go index 561061ad837..4941196fe41 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_request_builder.go @@ -11,7 +11,7 @@ import ( type AccessReviewsDefinitionsItemInstancesItemStagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AccessReviewsDefinitionsItemInstancesItemStagesRequestBuilderGetQueryParameters retrieve the stages in a multi-stage access review instance. +// AccessReviewsDefinitionsItemInstancesItemStagesRequestBuilderGetQueryParameters if the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. type AccessReviewsDefinitionsItemInstancesItemStagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesRequestBuilder) Count()( func (m *AccessReviewsDefinitionsItemInstancesItemStagesRequestBuilder) FilterByCurrentUserWithOn(on *string)(*AccessReviewsDefinitionsItemInstancesItemStagesFilterByCurrentUserWithOnRequestBuilder) { return NewAccessReviewsDefinitionsItemInstancesItemStagesFilterByCurrentUserWithOnRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, on) } -// Get retrieve the stages in a multi-stage access review instance. +// Get if the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. // returns a AccessReviewStageCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-list-stages?view=graph-rest-1.0 func (m *AccessReviewsDefinitionsItemInstancesItemStagesRequestBuilder) Get(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemStagesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewStageCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesRequestBuilder) Post(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewStageable), nil } -// ToGetRequestInformation retrieve the stages in a multi-stage access review instance. +// ToGetRequestInformation if the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. // returns a *RequestInformation when successful func (m *AccessReviewsDefinitionsItemInstancesItemStagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemStagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stop_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stop_request_builder.go index 11f779f6af1..b09e2962021 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stop_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stop_request_builder.go @@ -34,7 +34,7 @@ func NewAccessReviewsDefinitionsItemInstancesItemStopRequestBuilder(rawUrl strin // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-stop?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-stop?view=graph-rest-beta func (m *AccessReviewsDefinitionsItemInstancesItemStopRequestBuilder) Post(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesItemStopRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/access_reviews_definitions_item_instances_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_request_builder.go index e1ed62207e9..6b68690caa1 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_request_builder.go @@ -11,7 +11,7 @@ import ( type AccessReviewsDefinitionsItemInstancesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AccessReviewsDefinitionsItemInstancesRequestBuilderGetQueryParameters retrieve the accessReviewInstance objects for a specific accessReviewScheduleDefinition. A list of zero or more accessReviewInstance objects are returned, including all of their nested properties. Returned objects do not include associated accessReviewInstanceDecisionItems. To retrieve the decisions on the instance, use List accessReviewInstanceDecisionItem. +// AccessReviewsDefinitionsItemInstancesRequestBuilderGetQueryParameters set of access reviews instances for this access review series. Access reviews that don't recur will only have one instance; otherwise, there's an instance for each recurrence. type AccessReviewsDefinitionsItemInstancesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *AccessReviewsDefinitionsItemInstancesRequestBuilder) Count()(*AccessRev func (m *AccessReviewsDefinitionsItemInstancesRequestBuilder) FilterByCurrentUserWithOn(on *string)(*AccessReviewsDefinitionsItemInstancesFilterByCurrentUserWithOnRequestBuilder) { return NewAccessReviewsDefinitionsItemInstancesFilterByCurrentUserWithOnRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, on) } -// Get retrieve the accessReviewInstance objects for a specific accessReviewScheduleDefinition. A list of zero or more accessReviewInstance objects are returned, including all of their nested properties. Returned objects do not include associated accessReviewInstanceDecisionItems. To retrieve the decisions on the instance, use List accessReviewInstanceDecisionItem. +// Get set of access reviews instances for this access review series. Access reviews that don't recur will only have one instance; otherwise, there's an instance for each recurrence. // returns a AccessReviewInstanceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewscheduledefinition-list-instances?view=graph-rest-1.0 func (m *AccessReviewsDefinitionsItemInstancesRequestBuilder) Get(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewInstanceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *AccessReviewsDefinitionsItemInstancesRequestBuilder) Post(ctx context.C } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewInstanceable), nil } -// ToGetRequestInformation retrieve the accessReviewInstance objects for a specific accessReviewScheduleDefinition. A list of zero or more accessReviewInstance objects are returned, including all of their nested properties. Returned objects do not include associated accessReviewInstanceDecisionItems. To retrieve the decisions on the instance, use List accessReviewInstanceDecisionItem. +// ToGetRequestInformation set of access reviews instances for this access review series. Access reviews that don't recur will only have one instance; otherwise, there's an instance for each recurrence. // returns a *RequestInformation when successful func (m *AccessReviewsDefinitionsItemInstancesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsItemInstancesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/access_reviews_definitions_request_builder.go b/identitygovernance/access_reviews_definitions_request_builder.go index 5e3dfeb9d17..85cd72ab89e 100644 --- a/identitygovernance/access_reviews_definitions_request_builder.go +++ b/identitygovernance/access_reviews_definitions_request_builder.go @@ -11,7 +11,7 @@ import ( type AccessReviewsDefinitionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AccessReviewsDefinitionsRequestBuilderGetQueryParameters retrieve the accessReviewScheduleDefinition objects. A list of zero or more accessReviewScheduleDefinition objects are returned, including all of their nested properties, for each access review series created. This does not include the associated accessReviewInstance objects. +// AccessReviewsDefinitionsRequestBuilderGetQueryParameters represents the template and scheduling for an access review. type AccessReviewsDefinitionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *AccessReviewsDefinitionsRequestBuilder) Count()(*AccessReviewsDefinitio func (m *AccessReviewsDefinitionsRequestBuilder) FilterByCurrentUserWithOn(on *string)(*AccessReviewsDefinitionsFilterByCurrentUserWithOnRequestBuilder) { return NewAccessReviewsDefinitionsFilterByCurrentUserWithOnRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, on) } -// Get retrieve the accessReviewScheduleDefinition objects. A list of zero or more accessReviewScheduleDefinition objects are returned, including all of their nested properties, for each access review series created. This does not include the associated accessReviewInstance objects. +// Get represents the template and scheduling for an access review. // returns a AccessReviewScheduleDefinitionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewset-list-definitions?view=graph-rest-1.0 func (m *AccessReviewsDefinitionsRequestBuilder) Get(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewScheduleDefinitionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *AccessReviewsDefinitionsRequestBuilder) Get(ctx context.Context, reques } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewScheduleDefinitionCollectionResponseable), nil } -// Post create a new accessReviewScheduleDefinition object. +// Post create new navigation property to definitions for identityGovernance // returns a AccessReviewScheduleDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewset-post-definitions?view=graph-rest-1.0 func (m *AccessReviewsDefinitionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewScheduleDefinitionable, requestConfiguration *AccessReviewsDefinitionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewScheduleDefinitionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *AccessReviewsDefinitionsRequestBuilder) Post(ctx context.Context, body } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewScheduleDefinitionable), nil } -// ToGetRequestInformation retrieve the accessReviewScheduleDefinition objects. A list of zero or more accessReviewScheduleDefinition objects are returned, including all of their nested properties, for each access review series created. This does not include the associated accessReviewInstance objects. +// ToGetRequestInformation represents the template and scheduling for an access review. // returns a *RequestInformation when successful func (m *AccessReviewsDefinitionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AccessReviewsDefinitionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *AccessReviewsDefinitionsRequestBuilder) ToGetRequestInformation(ctx con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new accessReviewScheduleDefinition object. +// ToPostRequestInformation create new navigation property to definitions for identityGovernance // returns a *RequestInformation when successful func (m *AccessReviewsDefinitionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewScheduleDefinitionable, requestConfiguration *AccessReviewsDefinitionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/access_reviews_history_definitions_access_review_history_definition_item_request_builder.go b/identitygovernance/access_reviews_history_definitions_access_review_history_definition_item_request_builder.go index ba8a18c329f..44acc6be46e 100644 --- a/identitygovernance/access_reviews_history_definitions_access_review_history_definition_item_request_builder.go +++ b/identitygovernance/access_reviews_history_definitions_access_review_history_definition_item_request_builder.go @@ -18,7 +18,7 @@ type AccessReviewsHistoryDefinitionsAccessReviewHistoryDefinitionItemRequestBuil // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// AccessReviewsHistoryDefinitionsAccessReviewHistoryDefinitionItemRequestBuilderGetQueryParameters retrieve an accessReviewHistoryDefinition object by its identifier. All of the properties of the access review history definition object are returned. If the definition is 30 days or older, a 404 Not Found error is returned. +// AccessReviewsHistoryDefinitionsAccessReviewHistoryDefinitionItemRequestBuilderGetQueryParameters represents a collection of access review history data and the scopes used to collect that data. type AccessReviewsHistoryDefinitionsAccessReviewHistoryDefinitionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *AccessReviewsHistoryDefinitionsAccessReviewHistoryDefinitionItemRequest } return nil } -// Get retrieve an accessReviewHistoryDefinition object by its identifier. All of the properties of the access review history definition object are returned. If the definition is 30 days or older, a 404 Not Found error is returned. +// Get represents a collection of access review history data and the scopes used to collect that data. // returns a AccessReviewHistoryDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewhistorydefinition-get?view=graph-rest-1.0 func (m *AccessReviewsHistoryDefinitionsAccessReviewHistoryDefinitionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *AccessReviewsHistoryDefinitionsAccessReviewHistoryDefinitionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewHistoryDefinitionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *AccessReviewsHistoryDefinitionsAccessReviewHistoryDefinitionItemRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve an accessReviewHistoryDefinition object by its identifier. All of the properties of the access review history definition object are returned. If the definition is 30 days or older, a 404 Not Found error is returned. +// ToGetRequestInformation represents a collection of access review history data and the scopes used to collect that data. // returns a *RequestInformation when successful func (m *AccessReviewsHistoryDefinitionsAccessReviewHistoryDefinitionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AccessReviewsHistoryDefinitionsAccessReviewHistoryDefinitionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/access_reviews_history_definitions_item_instances_item_generate_download_uri_request_builder.go b/identitygovernance/access_reviews_history_definitions_item_instances_item_generate_download_uri_request_builder.go index a1561df50e5..265135a4dbf 100644 --- a/identitygovernance/access_reviews_history_definitions_item_instances_item_generate_download_uri_request_builder.go +++ b/identitygovernance/access_reviews_history_definitions_item_instances_item_generate_download_uri_request_builder.go @@ -36,7 +36,7 @@ func NewAccessReviewsHistoryDefinitionsItemInstancesItemGenerateDownloadUriReque // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewhistoryinstance-generatedownloaduri?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewhistoryinstance-generatedownloaduri?view=graph-rest-beta func (m *AccessReviewsHistoryDefinitionsItemInstancesItemGenerateDownloadUriRequestBuilder) Post(ctx context.Context, requestConfiguration *AccessReviewsHistoryDefinitionsItemInstancesItemGenerateDownloadUriRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewHistoryInstanceable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/access_reviews_history_definitions_item_instances_request_builder.go b/identitygovernance/access_reviews_history_definitions_item_instances_request_builder.go index 4a88ce99bb7..d74a412e00f 100644 --- a/identitygovernance/access_reviews_history_definitions_item_instances_request_builder.go +++ b/identitygovernance/access_reviews_history_definitions_item_instances_request_builder.go @@ -11,7 +11,7 @@ import ( type AccessReviewsHistoryDefinitionsItemInstancesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AccessReviewsHistoryDefinitionsItemInstancesRequestBuilderGetQueryParameters retrieve the instances of an access review history definition created in the last 30 days. +// AccessReviewsHistoryDefinitionsItemInstancesRequestBuilderGetQueryParameters if the accessReviewHistoryDefinition is a recurring definition, instances represent each recurrence. A definition that doesn't recur will have exactly one instance. type AccessReviewsHistoryDefinitionsItemInstancesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewAccessReviewsHistoryDefinitionsItemInstancesRequestBuilder(rawUrl string func (m *AccessReviewsHistoryDefinitionsItemInstancesRequestBuilder) Count()(*AccessReviewsHistoryDefinitionsItemInstancesCountRequestBuilder) { return NewAccessReviewsHistoryDefinitionsItemInstancesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the instances of an access review history definition created in the last 30 days. +// Get if the accessReviewHistoryDefinition is a recurring definition, instances represent each recurrence. A definition that doesn't recur will have exactly one instance. // returns a AccessReviewHistoryInstanceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewhistorydefinition-list-instances?view=graph-rest-1.0 func (m *AccessReviewsHistoryDefinitionsItemInstancesRequestBuilder) Get(ctx context.Context, requestConfiguration *AccessReviewsHistoryDefinitionsItemInstancesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewHistoryInstanceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *AccessReviewsHistoryDefinitionsItemInstancesRequestBuilder) Post(ctx co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewHistoryInstanceable), nil } -// ToGetRequestInformation retrieve the instances of an access review history definition created in the last 30 days. +// ToGetRequestInformation if the accessReviewHistoryDefinition is a recurring definition, instances represent each recurrence. A definition that doesn't recur will have exactly one instance. // returns a *RequestInformation when successful func (m *AccessReviewsHistoryDefinitionsItemInstancesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AccessReviewsHistoryDefinitionsItemInstancesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/access_reviews_history_definitions_request_builder.go b/identitygovernance/access_reviews_history_definitions_request_builder.go index a2918eb9f54..7082bc473a7 100644 --- a/identitygovernance/access_reviews_history_definitions_request_builder.go +++ b/identitygovernance/access_reviews_history_definitions_request_builder.go @@ -11,7 +11,7 @@ import ( type AccessReviewsHistoryDefinitionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AccessReviewsHistoryDefinitionsRequestBuilderGetQueryParameters retrieve the accessReviewHistoryDefinition objects created in the last 30 days, including all nested properties. +// AccessReviewsHistoryDefinitionsRequestBuilderGetQueryParameters represents a collection of access review history data and the scopes used to collect that data. type AccessReviewsHistoryDefinitionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewAccessReviewsHistoryDefinitionsRequestBuilder(rawUrl string, requestAdap func (m *AccessReviewsHistoryDefinitionsRequestBuilder) Count()(*AccessReviewsHistoryDefinitionsCountRequestBuilder) { return NewAccessReviewsHistoryDefinitionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the accessReviewHistoryDefinition objects created in the last 30 days, including all nested properties. +// Get represents a collection of access review history data and the scopes used to collect that data. // returns a AccessReviewHistoryDefinitionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewset-list-historydefinitions?view=graph-rest-1.0 func (m *AccessReviewsHistoryDefinitionsRequestBuilder) Get(ctx context.Context, requestConfiguration *AccessReviewsHistoryDefinitionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewHistoryDefinitionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *AccessReviewsHistoryDefinitionsRequestBuilder) Get(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewHistoryDefinitionCollectionResponseable), nil } -// Post create a new accessReviewHistoryDefinition object. +// Post create new navigation property to historyDefinitions for identityGovernance // returns a AccessReviewHistoryDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewset-post-historydefinitions?view=graph-rest-1.0 func (m *AccessReviewsHistoryDefinitionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewHistoryDefinitionable, requestConfiguration *AccessReviewsHistoryDefinitionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewHistoryDefinitionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *AccessReviewsHistoryDefinitionsRequestBuilder) Post(ctx context.Context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewHistoryDefinitionable), nil } -// ToGetRequestInformation retrieve the accessReviewHistoryDefinition objects created in the last 30 days, including all nested properties. +// ToGetRequestInformation represents a collection of access review history data and the scopes used to collect that data. // returns a *RequestInformation when successful func (m *AccessReviewsHistoryDefinitionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AccessReviewsHistoryDefinitionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *AccessReviewsHistoryDefinitionsRequestBuilder) ToGetRequestInformation( requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new accessReviewHistoryDefinition object. +// ToPostRequestInformation create new navigation property to historyDefinitions for identityGovernance // returns a *RequestInformation when successful func (m *AccessReviewsHistoryDefinitionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewHistoryDefinitionable, requestConfiguration *AccessReviewsHistoryDefinitionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/access_reviews_policy_request_builder.go b/identitygovernance/access_reviews_policy_request_builder.go index 2e7781bf22b..b0571bd2cb4 100644 --- a/identitygovernance/access_reviews_policy_request_builder.go +++ b/identitygovernance/access_reviews_policy_request_builder.go @@ -18,7 +18,7 @@ type AccessReviewsPolicyRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// AccessReviewsPolicyRequestBuilderGetQueryParameters read the properties and relationships of an accessReviewPolicy object. +// AccessReviewsPolicyRequestBuilderGetQueryParameters resource that enables administrators to manage directory-level access review policies in their tenant. type AccessReviewsPolicyRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *AccessReviewsPolicyRequestBuilder) Delete(ctx context.Context, requestC } return nil } -// Get read the properties and relationships of an accessReviewPolicy object. +// Get resource that enables administrators to manage directory-level access review policies in their tenant. // returns a AccessReviewPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewpolicy-get?view=graph-rest-1.0 func (m *AccessReviewsPolicyRequestBuilder) Get(ctx context.Context, requestConfiguration *AccessReviewsPolicyRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewPolicyable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *AccessReviewsPolicyRequestBuilder) Get(ctx context.Context, requestConf } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewPolicyable), nil } -// Patch update the properties of an accessReviewPolicy object. +// Patch update the navigation property policy in identityGovernance // returns a AccessReviewPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewpolicy-update?view=graph-rest-1.0 func (m *AccessReviewsPolicyRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewPolicyable, requestConfiguration *AccessReviewsPolicyRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewPolicyable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *AccessReviewsPolicyRequestBuilder) ToDeleteRequestInformation(ctx conte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an accessReviewPolicy object. +// ToGetRequestInformation resource that enables administrators to manage directory-level access review policies in their tenant. // returns a *RequestInformation when successful func (m *AccessReviewsPolicyRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AccessReviewsPolicyRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *AccessReviewsPolicyRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an accessReviewPolicy object. +// ToPatchRequestInformation update the navigation property policy in identityGovernance // returns a *RequestInformation when successful func (m *AccessReviewsPolicyRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewPolicyable, requestConfiguration *AccessReviewsPolicyRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/app_consent_app_consent_requests_app_consent_request_item_request_builder.go b/identitygovernance/app_consent_app_consent_requests_app_consent_request_item_request_builder.go index bb1ebd23144..ca51013a62b 100644 --- a/identitygovernance/app_consent_app_consent_requests_app_consent_request_item_request_builder.go +++ b/identitygovernance/app_consent_app_consent_requests_app_consent_request_item_request_builder.go @@ -18,7 +18,7 @@ type AppConsentAppConsentRequestsAppConsentRequestItemRequestBuilderDeleteReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// AppConsentAppConsentRequestsAppConsentRequestItemRequestBuilderGetQueryParameters read the properties and relationships of an appConsentRequest object. +// AppConsentAppConsentRequestsAppConsentRequestItemRequestBuilderGetQueryParameters a collection of appConsentRequest objects representing apps for which admin consent has been requested by one or more users. type AppConsentAppConsentRequestsAppConsentRequestItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *AppConsentAppConsentRequestsAppConsentRequestItemRequestBuilder) Delete } return nil } -// Get read the properties and relationships of an appConsentRequest object. +// Get a collection of appConsentRequest objects representing apps for which admin consent has been requested by one or more users. // returns a AppConsentRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/appconsentrequest-get?view=graph-rest-1.0 func (m *AppConsentAppConsentRequestsAppConsentRequestItemRequestBuilder) Get(ctx context.Context, requestConfiguration *AppConsentAppConsentRequestsAppConsentRequestItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AppConsentRequestable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *AppConsentAppConsentRequestsAppConsentRequestItemRequestBuilder) ToDele requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an appConsentRequest object. +// ToGetRequestInformation a collection of appConsentRequest objects representing apps for which admin consent has been requested by one or more users. // returns a *RequestInformation when successful func (m *AppConsentAppConsentRequestsAppConsentRequestItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AppConsentAppConsentRequestsAppConsentRequestItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/app_consent_app_consent_requests_filter_by_current_user_with_on_request_builder.go b/identitygovernance/app_consent_app_consent_requests_filter_by_current_user_with_on_request_builder.go index efe8096c625..b2476b6724c 100644 --- a/identitygovernance/app_consent_app_consent_requests_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/app_consent_app_consent_requests_filter_by_current_user_with_on_request_builder.go @@ -10,7 +10,7 @@ import ( type AppConsentAppConsentRequestsFilterByCurrentUserWithOnRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AppConsentAppConsentRequestsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters invoke function filterByCurrentUser +// AppConsentAppConsentRequestsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters retrieve a collection of appConsentRequest objects for which the current user is the reviewer and the status of the userConsentRequest for accessing the specified app is InProgress. type AppConsentAppConsentRequestsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewAppConsentAppConsentRequestsFilterByCurrentUserWithOnRequestBuilder(rawU urlParams["request-raw-url"] = rawUrl return NewAppConsentAppConsentRequestsFilterByCurrentUserWithOnRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function filterByCurrentUser +// Get retrieve a collection of appConsentRequest objects for which the current user is the reviewer and the status of the userConsentRequest for accessing the specified app is InProgress. // Deprecated: This method is obsolete. Use GetAsFilterByCurrentUserWithOnGetResponse instead. // returns a AppConsentAppConsentRequestsFilterByCurrentUserWithOnResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/appconsentrequest-filterByCurrentUser?view=graph-rest-beta func (m *AppConsentAppConsentRequestsFilterByCurrentUserWithOnRequestBuilder) Get(ctx context.Context, requestConfiguration *AppConsentAppConsentRequestsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(AppConsentAppConsentRequestsFilterByCurrentUserWithOnResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *AppConsentAppConsentRequestsFilterByCurrentUserWithOnRequestBuilder) Ge } return res.(AppConsentAppConsentRequestsFilterByCurrentUserWithOnResponseable), nil } -// GetAsFilterByCurrentUserWithOnGetResponse invoke function filterByCurrentUser +// GetAsFilterByCurrentUserWithOnGetResponse retrieve a collection of appConsentRequest objects for which the current user is the reviewer and the status of the userConsentRequest for accessing the specified app is InProgress. // returns a AppConsentAppConsentRequestsFilterByCurrentUserWithOnGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/appconsentrequest-filterByCurrentUser?view=graph-rest-beta func (m *AppConsentAppConsentRequestsFilterByCurrentUserWithOnRequestBuilder) GetAsFilterByCurrentUserWithOnGetResponse(ctx context.Context, requestConfiguration *AppConsentAppConsentRequestsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(AppConsentAppConsentRequestsFilterByCurrentUserWithOnGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *AppConsentAppConsentRequestsFilterByCurrentUserWithOnRequestBuilder) Ge } return res.(AppConsentAppConsentRequestsFilterByCurrentUserWithOnGetResponseable), nil } -// ToGetRequestInformation invoke function filterByCurrentUser +// ToGetRequestInformation retrieve a collection of appConsentRequest objects for which the current user is the reviewer and the status of the userConsentRequest for accessing the specified app is InProgress. // returns a *RequestInformation when successful func (m *AppConsentAppConsentRequestsFilterByCurrentUserWithOnRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AppConsentAppConsentRequestsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_filter_by_current_user_with_on_request_builder.go b/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_filter_by_current_user_with_on_request_builder.go index f1fbac3cc8f..3aa28c1991b 100644 --- a/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_filter_by_current_user_with_on_request_builder.go @@ -10,7 +10,7 @@ import ( type AppConsentAppConsentRequestsItemUserConsentRequestsFilterByCurrentUserWithOnRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AppConsentAppConsentRequestsItemUserConsentRequestsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters invoke function filterByCurrentUser +// AppConsentAppConsentRequestsItemUserConsentRequestsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters retrieve a collection of userConsentRequest objects for accessing a specified app, for which the current user is the reviewer. type AppConsentAppConsentRequestsItemUserConsentRequestsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewAppConsentAppConsentRequestsItemUserConsentRequestsFilterByCurrentUserWi urlParams["request-raw-url"] = rawUrl return NewAppConsentAppConsentRequestsItemUserConsentRequestsFilterByCurrentUserWithOnRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function filterByCurrentUser +// Get retrieve a collection of userConsentRequest objects for accessing a specified app, for which the current user is the reviewer. // Deprecated: This method is obsolete. Use GetAsFilterByCurrentUserWithOnGetResponse instead. // returns a AppConsentAppConsentRequestsItemUserConsentRequestsFilterByCurrentUserWithOnResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/userconsentrequest-filterByCurrentUser?view=graph-rest-beta func (m *AppConsentAppConsentRequestsItemUserConsentRequestsFilterByCurrentUserWithOnRequestBuilder) Get(ctx context.Context, requestConfiguration *AppConsentAppConsentRequestsItemUserConsentRequestsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(AppConsentAppConsentRequestsItemUserConsentRequestsFilterByCurrentUserWithOnResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *AppConsentAppConsentRequestsItemUserConsentRequestsFilterByCurrentUserW } return res.(AppConsentAppConsentRequestsItemUserConsentRequestsFilterByCurrentUserWithOnResponseable), nil } -// GetAsFilterByCurrentUserWithOnGetResponse invoke function filterByCurrentUser +// GetAsFilterByCurrentUserWithOnGetResponse retrieve a collection of userConsentRequest objects for accessing a specified app, for which the current user is the reviewer. // returns a AppConsentAppConsentRequestsItemUserConsentRequestsFilterByCurrentUserWithOnGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/userconsentrequest-filterByCurrentUser?view=graph-rest-beta func (m *AppConsentAppConsentRequestsItemUserConsentRequestsFilterByCurrentUserWithOnRequestBuilder) GetAsFilterByCurrentUserWithOnGetResponse(ctx context.Context, requestConfiguration *AppConsentAppConsentRequestsItemUserConsentRequestsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(AppConsentAppConsentRequestsItemUserConsentRequestsFilterByCurrentUserWithOnGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *AppConsentAppConsentRequestsItemUserConsentRequestsFilterByCurrentUserW } return res.(AppConsentAppConsentRequestsItemUserConsentRequestsFilterByCurrentUserWithOnGetResponseable), nil } -// ToGetRequestInformation invoke function filterByCurrentUser +// ToGetRequestInformation retrieve a collection of userConsentRequest objects for accessing a specified app, for which the current user is the reviewer. // returns a *RequestInformation when successful func (m *AppConsentAppConsentRequestsItemUserConsentRequestsFilterByCurrentUserWithOnRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AppConsentAppConsentRequestsItemUserConsentRequestsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_item_approval_steps_approval_step_item_request_builder.go b/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_item_approval_steps_approval_step_item_request_builder.go index f064914ce67..6d5a3ac254c 100644 --- a/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_item_approval_steps_approval_step_item_request_builder.go +++ b/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_item_approval_steps_approval_step_item_request_builder.go @@ -18,7 +18,7 @@ type AppConsentAppConsentRequestsItemUserConsentRequestsItemApprovalStepsApprova // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// AppConsentAppConsentRequestsItemUserConsentRequestsItemApprovalStepsApprovalStepItemRequestBuilderGetQueryParameters retrieve the properties of an approvalStep object. +// AppConsentAppConsentRequestsItemUserConsentRequestsItemApprovalStepsApprovalStepItemRequestBuilderGetQueryParameters used to represent the decision associated with a single step in the approval process configured in approvalStage. type AppConsentAppConsentRequestsItemUserConsentRequestsItemApprovalStepsApprovalStepItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *AppConsentAppConsentRequestsItemUserConsentRequestsItemApprovalStepsApp } return nil } -// Get retrieve the properties of an approvalStep object. +// Get used to represent the decision associated with a single step in the approval process configured in approvalStage. // returns a ApprovalStepable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/approvalstep-get?view=graph-rest-1.0 func (m *AppConsentAppConsentRequestsItemUserConsentRequestsItemApprovalStepsApprovalStepItemRequestBuilder) Get(ctx context.Context, requestConfiguration *AppConsentAppConsentRequestsItemUserConsentRequestsItemApprovalStepsApprovalStepItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalStepable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *AppConsentAppConsentRequestsItemUserConsentRequestsItemApprovalStepsApp } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalStepable), nil } -// Patch apply approve or deny decision on an approvalStep object. +// Patch update the navigation property steps in identityGovernance // returns a ApprovalStepable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/approvalstep-update?view=graph-rest-1.0 func (m *AppConsentAppConsentRequestsItemUserConsentRequestsItemApprovalStepsApprovalStepItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalStepable, requestConfiguration *AppConsentAppConsentRequestsItemUserConsentRequestsItemApprovalStepsApprovalStepItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalStepable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *AppConsentAppConsentRequestsItemUserConsentRequestsItemApprovalStepsApp requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties of an approvalStep object. +// ToGetRequestInformation used to represent the decision associated with a single step in the approval process configured in approvalStage. // returns a *RequestInformation when successful func (m *AppConsentAppConsentRequestsItemUserConsentRequestsItemApprovalStepsApprovalStepItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AppConsentAppConsentRequestsItemUserConsentRequestsItemApprovalStepsApprovalStepItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *AppConsentAppConsentRequestsItemUserConsentRequestsItemApprovalStepsApp requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation apply approve or deny decision on an approvalStep object. +// ToPatchRequestInformation update the navigation property steps in identityGovernance // returns a *RequestInformation when successful func (m *AppConsentAppConsentRequestsItemUserConsentRequestsItemApprovalStepsApprovalStepItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalStepable, requestConfiguration *AppConsentAppConsentRequestsItemUserConsentRequestsItemApprovalStepsApprovalStepItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_item_approval_steps_request_builder.go b/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_item_approval_steps_request_builder.go index 16a0d351a41..535cd538bf9 100644 --- a/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_item_approval_steps_request_builder.go +++ b/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_item_approval_steps_request_builder.go @@ -11,7 +11,7 @@ import ( type AppConsentAppConsentRequestsItemUserConsentRequestsItemApprovalStepsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AppConsentAppConsentRequestsItemUserConsentRequestsItemApprovalStepsRequestBuilderGetQueryParameters list the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: +// AppConsentAppConsentRequestsItemUserConsentRequestsItemApprovalStepsRequestBuilderGetQueryParameters used to represent the decision associated with a single step in the approval process configured in approvalStage. type AppConsentAppConsentRequestsItemUserConsentRequestsItemApprovalStepsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewAppConsentAppConsentRequestsItemUserConsentRequestsItemApprovalStepsRequ func (m *AppConsentAppConsentRequestsItemUserConsentRequestsItemApprovalStepsRequestBuilder) Count()(*AppConsentAppConsentRequestsItemUserConsentRequestsItemApprovalStepsCountRequestBuilder) { return NewAppConsentAppConsentRequestsItemUserConsentRequestsItemApprovalStepsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: +// Get used to represent the decision associated with a single step in the approval process configured in approvalStage. // returns a ApprovalStepCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/approval-list-steps?view=graph-rest-1.0 func (m *AppConsentAppConsentRequestsItemUserConsentRequestsItemApprovalStepsRequestBuilder) Get(ctx context.Context, requestConfiguration *AppConsentAppConsentRequestsItemUserConsentRequestsItemApprovalStepsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalStepCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *AppConsentAppConsentRequestsItemUserConsentRequestsItemApprovalStepsReq } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalStepable), nil } -// ToGetRequestInformation list the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: +// ToGetRequestInformation used to represent the decision associated with a single step in the approval process configured in approvalStage. // returns a *RequestInformation when successful func (m *AppConsentAppConsentRequestsItemUserConsentRequestsItemApprovalStepsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AppConsentAppConsentRequestsItemUserConsentRequestsItemApprovalStepsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_request_builder.go b/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_request_builder.go index bb799a61eb0..69b199ef972 100644 --- a/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_request_builder.go +++ b/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_request_builder.go @@ -11,7 +11,7 @@ import ( type AppConsentAppConsentRequestsItemUserConsentRequestsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AppConsentAppConsentRequestsItemUserConsentRequestsRequestBuilderGetQueryParameters retrieve a collection of userConsentRequest objects and their properties. +// AppConsentAppConsentRequestsItemUserConsentRequestsRequestBuilderGetQueryParameters a list of pending user consent requests. Supports $filter (eq). type AppConsentAppConsentRequestsItemUserConsentRequestsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *AppConsentAppConsentRequestsItemUserConsentRequestsRequestBuilder) Coun func (m *AppConsentAppConsentRequestsItemUserConsentRequestsRequestBuilder) FilterByCurrentUserWithOn(on *string)(*AppConsentAppConsentRequestsItemUserConsentRequestsFilterByCurrentUserWithOnRequestBuilder) { return NewAppConsentAppConsentRequestsItemUserConsentRequestsFilterByCurrentUserWithOnRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, on) } -// Get retrieve a collection of userConsentRequest objects and their properties. +// Get a list of pending user consent requests. Supports $filter (eq). // returns a UserConsentRequestCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/appconsentrequest-list-userconsentrequests?view=graph-rest-1.0 func (m *AppConsentAppConsentRequestsItemUserConsentRequestsRequestBuilder) Get(ctx context.Context, requestConfiguration *AppConsentAppConsentRequestsItemUserConsentRequestsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserConsentRequestCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *AppConsentAppConsentRequestsItemUserConsentRequestsRequestBuilder) Post } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserConsentRequestable), nil } -// ToGetRequestInformation retrieve a collection of userConsentRequest objects and their properties. +// ToGetRequestInformation a list of pending user consent requests. Supports $filter (eq). // returns a *RequestInformation when successful func (m *AppConsentAppConsentRequestsItemUserConsentRequestsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AppConsentAppConsentRequestsItemUserConsentRequestsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_user_consent_request_item_request_builder.go b/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_user_consent_request_item_request_builder.go index 661c387a810..e6ccae5d4ee 100644 --- a/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_user_consent_request_item_request_builder.go +++ b/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_user_consent_request_item_request_builder.go @@ -18,7 +18,7 @@ type AppConsentAppConsentRequestsItemUserConsentRequestsUserConsentRequestItemRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// AppConsentAppConsentRequestsItemUserConsentRequestsUserConsentRequestItemRequestBuilderGetQueryParameters read the properties and relationships of a userConsentRequest object. +// AppConsentAppConsentRequestsItemUserConsentRequestsUserConsentRequestItemRequestBuilderGetQueryParameters a list of pending user consent requests. Supports $filter (eq). type AppConsentAppConsentRequestsItemUserConsentRequestsUserConsentRequestItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *AppConsentAppConsentRequestsItemUserConsentRequestsUserConsentRequestIt } return nil } -// Get read the properties and relationships of a userConsentRequest object. +// Get a list of pending user consent requests. Supports $filter (eq). // returns a UserConsentRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/userconsentrequest-get?view=graph-rest-1.0 func (m *AppConsentAppConsentRequestsItemUserConsentRequestsUserConsentRequestItemRequestBuilder) Get(ctx context.Context, requestConfiguration *AppConsentAppConsentRequestsItemUserConsentRequestsUserConsentRequestItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserConsentRequestable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *AppConsentAppConsentRequestsItemUserConsentRequestsUserConsentRequestIt requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a userConsentRequest object. +// ToGetRequestInformation a list of pending user consent requests. Supports $filter (eq). // returns a *RequestInformation when successful func (m *AppConsentAppConsentRequestsItemUserConsentRequestsUserConsentRequestItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AppConsentAppConsentRequestsItemUserConsentRequestsUserConsentRequestItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/app_consent_app_consent_requests_request_builder.go b/identitygovernance/app_consent_app_consent_requests_request_builder.go index 10d10c4b1ba..248303b32b7 100644 --- a/identitygovernance/app_consent_app_consent_requests_request_builder.go +++ b/identitygovernance/app_consent_app_consent_requests_request_builder.go @@ -11,7 +11,7 @@ import ( type AppConsentAppConsentRequestsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AppConsentAppConsentRequestsRequestBuilderGetQueryParameters retrieve appConsentRequest objects and their properties. +// AppConsentAppConsentRequestsRequestBuilderGetQueryParameters a collection of appConsentRequest objects representing apps for which admin consent has been requested by one or more users. type AppConsentAppConsentRequestsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *AppConsentAppConsentRequestsRequestBuilder) Count()(*AppConsentAppConse func (m *AppConsentAppConsentRequestsRequestBuilder) FilterByCurrentUserWithOn(on *string)(*AppConsentAppConsentRequestsFilterByCurrentUserWithOnRequestBuilder) { return NewAppConsentAppConsentRequestsFilterByCurrentUserWithOnRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, on) } -// Get retrieve appConsentRequest objects and their properties. +// Get a collection of appConsentRequest objects representing apps for which admin consent has been requested by one or more users. // returns a AppConsentRequestCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/appconsentapprovalroute-list-appconsentrequests?view=graph-rest-1.0 func (m *AppConsentAppConsentRequestsRequestBuilder) Get(ctx context.Context, requestConfiguration *AppConsentAppConsentRequestsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AppConsentRequestCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *AppConsentAppConsentRequestsRequestBuilder) Post(ctx context.Context, b } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AppConsentRequestable), nil } -// ToGetRequestInformation retrieve appConsentRequest objects and their properties. +// ToGetRequestInformation a collection of appConsentRequest objects representing apps for which admin consent has been requested by one or more users. // returns a *RequestInformation when successful func (m *AppConsentAppConsentRequestsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AppConsentAppConsentRequestsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/entitlement_management_access_package_assignment_approvals_approval_item_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_approvals_approval_item_request_builder.go index 10142fda3db..0bc4de45c2c 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_approvals_approval_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_approvals_approval_item_request_builder.go @@ -18,7 +18,7 @@ type EntitlementManagementAccessPackageAssignmentApprovalsApprovalItemRequestBui // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EntitlementManagementAccessPackageAssignmentApprovalsApprovalItemRequestBuilderGetQueryParameters retrieve the properties of an approval object. This API request is made by an approver in the following scenarios: +// EntitlementManagementAccessPackageAssignmentApprovalsApprovalItemRequestBuilderGetQueryParameters get accessPackageAssignmentApprovals from identityGovernance type EntitlementManagementAccessPackageAssignmentApprovalsApprovalItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *EntitlementManagementAccessPackageAssignmentApprovalsApprovalItemReques } return nil } -// Get retrieve the properties of an approval object. This API request is made by an approver in the following scenarios: +// Get get accessPackageAssignmentApprovals from identityGovernance // returns a Approvalable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/approval-get?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackageAssignmentApprovalsApprovalItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentApprovalsApprovalItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Approvalable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *EntitlementManagementAccessPackageAssignmentApprovalsApprovalItemReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties of an approval object. This API request is made by an approver in the following scenarios: +// ToGetRequestInformation get accessPackageAssignmentApprovals from identityGovernance // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackageAssignmentApprovalsApprovalItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentApprovalsApprovalItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/entitlement_management_access_package_assignment_approvals_filter_by_current_user_with_on_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_approvals_filter_by_current_user_with_on_request_builder.go index 29a9c7d1b7b..bebba46a07a 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_approvals_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_approvals_filter_by_current_user_with_on_request_builder.go @@ -10,7 +10,7 @@ import ( type EntitlementManagementAccessPackageAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementAccessPackageAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters invoke function filterByCurrentUser +// EntitlementManagementAccessPackageAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters in Microsoft Entra entitlement management, return a collection of access package assignment approvals. The objects returned are those that are in scope for approval by the calling user. In PIM for groups, return a collection of assignment approvals. The objects returned are those that are in scope for approval by the calling user. type EntitlementManagementAccessPackageAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewEntitlementManagementAccessPackageAssignmentApprovalsFilterByCurrentUser urlParams["request-raw-url"] = rawUrl return NewEntitlementManagementAccessPackageAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function filterByCurrentUser +// Get in Microsoft Entra entitlement management, return a collection of access package assignment approvals. The objects returned are those that are in scope for approval by the calling user. In PIM for groups, return a collection of assignment approvals. The objects returned are those that are in scope for approval by the calling user. // Deprecated: This method is obsolete. Use GetAsFilterByCurrentUserWithOnGetResponse instead. // returns a EntitlementManagementAccessPackageAssignmentApprovalsFilterByCurrentUserWithOnResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/approval-filterbycurrentuser?view=graph-rest-beta func (m *EntitlementManagementAccessPackageAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(EntitlementManagementAccessPackageAssignmentApprovalsFilterByCurrentUserWithOnResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *EntitlementManagementAccessPackageAssignmentApprovalsFilterByCurrentUse } return res.(EntitlementManagementAccessPackageAssignmentApprovalsFilterByCurrentUserWithOnResponseable), nil } -// GetAsFilterByCurrentUserWithOnGetResponse invoke function filterByCurrentUser +// GetAsFilterByCurrentUserWithOnGetResponse in Microsoft Entra entitlement management, return a collection of access package assignment approvals. The objects returned are those that are in scope for approval by the calling user. In PIM for groups, return a collection of assignment approvals. The objects returned are those that are in scope for approval by the calling user. // returns a EntitlementManagementAccessPackageAssignmentApprovalsFilterByCurrentUserWithOnGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/approval-filterbycurrentuser?view=graph-rest-beta func (m *EntitlementManagementAccessPackageAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilder) GetAsFilterByCurrentUserWithOnGetResponse(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(EntitlementManagementAccessPackageAssignmentApprovalsFilterByCurrentUserWithOnGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *EntitlementManagementAccessPackageAssignmentApprovalsFilterByCurrentUse } return res.(EntitlementManagementAccessPackageAssignmentApprovalsFilterByCurrentUserWithOnGetResponseable), nil } -// ToGetRequestInformation invoke function filterByCurrentUser +// ToGetRequestInformation in Microsoft Entra entitlement management, return a collection of access package assignment approvals. The objects returned are those that are in scope for approval by the calling user. In PIM for groups, return a collection of assignment approvals. The objects returned are those that are in scope for approval by the calling user. // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackageAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/entitlement_management_access_package_assignment_approvals_item_steps_approval_step_item_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_approvals_item_steps_approval_step_item_request_builder.go index b86d6f4546e..8f17d6e7a52 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_approvals_item_steps_approval_step_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_approvals_item_steps_approval_step_item_request_builder.go @@ -18,7 +18,7 @@ type EntitlementManagementAccessPackageAssignmentApprovalsItemStepsApprovalStepI // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EntitlementManagementAccessPackageAssignmentApprovalsItemStepsApprovalStepItemRequestBuilderGetQueryParameters retrieve the properties of an approvalStep object. +// EntitlementManagementAccessPackageAssignmentApprovalsItemStepsApprovalStepItemRequestBuilderGetQueryParameters used to represent the decision associated with a single step in the approval process configured in approvalStage. type EntitlementManagementAccessPackageAssignmentApprovalsItemStepsApprovalStepItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *EntitlementManagementAccessPackageAssignmentApprovalsItemStepsApprovalS } return nil } -// Get retrieve the properties of an approvalStep object. +// Get used to represent the decision associated with a single step in the approval process configured in approvalStage. // returns a ApprovalStepable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/approvalstep-get?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackageAssignmentApprovalsItemStepsApprovalStepItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentApprovalsItemStepsApprovalStepItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalStepable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *EntitlementManagementAccessPackageAssignmentApprovalsItemStepsApprovalS } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalStepable), nil } -// Patch apply approve or deny decision on an approvalStep object. +// Patch update the navigation property steps in identityGovernance // returns a ApprovalStepable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/approvalstep-update?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackageAssignmentApprovalsItemStepsApprovalStepItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalStepable, requestConfiguration *EntitlementManagementAccessPackageAssignmentApprovalsItemStepsApprovalStepItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalStepable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *EntitlementManagementAccessPackageAssignmentApprovalsItemStepsApprovalS requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties of an approvalStep object. +// ToGetRequestInformation used to represent the decision associated with a single step in the approval process configured in approvalStage. // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackageAssignmentApprovalsItemStepsApprovalStepItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentApprovalsItemStepsApprovalStepItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *EntitlementManagementAccessPackageAssignmentApprovalsItemStepsApprovalS requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation apply approve or deny decision on an approvalStep object. +// ToPatchRequestInformation update the navigation property steps in identityGovernance // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackageAssignmentApprovalsItemStepsApprovalStepItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalStepable, requestConfiguration *EntitlementManagementAccessPackageAssignmentApprovalsItemStepsApprovalStepItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/entitlement_management_access_package_assignment_approvals_item_steps_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_approvals_item_steps_request_builder.go index b845cb5094d..e851f4e5883 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_approvals_item_steps_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_approvals_item_steps_request_builder.go @@ -11,7 +11,7 @@ import ( type EntitlementManagementAccessPackageAssignmentApprovalsItemStepsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementAccessPackageAssignmentApprovalsItemStepsRequestBuilderGetQueryParameters list the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: +// EntitlementManagementAccessPackageAssignmentApprovalsItemStepsRequestBuilderGetQueryParameters used to represent the decision associated with a single step in the approval process configured in approvalStage. type EntitlementManagementAccessPackageAssignmentApprovalsItemStepsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewEntitlementManagementAccessPackageAssignmentApprovalsItemStepsRequestBui func (m *EntitlementManagementAccessPackageAssignmentApprovalsItemStepsRequestBuilder) Count()(*EntitlementManagementAccessPackageAssignmentApprovalsItemStepsCountRequestBuilder) { return NewEntitlementManagementAccessPackageAssignmentApprovalsItemStepsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: +// Get used to represent the decision associated with a single step in the approval process configured in approvalStage. // returns a ApprovalStepCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/approval-list-steps?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackageAssignmentApprovalsItemStepsRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentApprovalsItemStepsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalStepCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *EntitlementManagementAccessPackageAssignmentApprovalsItemStepsRequestBu } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalStepable), nil } -// ToGetRequestInformation list the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: +// ToGetRequestInformation used to represent the decision associated with a single step in the approval process configured in approvalStage. // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackageAssignmentApprovalsItemStepsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentApprovalsItemStepsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/entitlement_management_access_package_assignment_approvals_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_approvals_request_builder.go index e31e2c5121b..0726d28b5f2 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_approvals_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_approvals_request_builder.go @@ -11,7 +11,7 @@ import ( type EntitlementManagementAccessPackageAssignmentApprovalsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementAccessPackageAssignmentApprovalsRequestBuilderGetQueryParameters retrieve the properties of an approval object. This API request is made by an approver in the following scenarios: +// EntitlementManagementAccessPackageAssignmentApprovalsRequestBuilderGetQueryParameters get accessPackageAssignmentApprovals from identityGovernance type EntitlementManagementAccessPackageAssignmentApprovalsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,7 +81,7 @@ func (m *EntitlementManagementAccessPackageAssignmentApprovalsRequestBuilder) Co func (m *EntitlementManagementAccessPackageAssignmentApprovalsRequestBuilder) FilterByCurrentUserWithOn(on *string)(*EntitlementManagementAccessPackageAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilder) { return NewEntitlementManagementAccessPackageAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, on) } -// Get retrieve the properties of an approval object. This API request is made by an approver in the following scenarios: +// Get get accessPackageAssignmentApprovals from identityGovernance // returns a ApprovalCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *EntitlementManagementAccessPackageAssignmentApprovalsRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentApprovalsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalCollectionResponseable, error) { @@ -121,7 +121,7 @@ func (m *EntitlementManagementAccessPackageAssignmentApprovalsRequestBuilder) Po } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Approvalable), nil } -// ToGetRequestInformation retrieve the properties of an approval object. This API request is made by an approver in the following scenarios: +// ToGetRequestInformation get accessPackageAssignmentApprovals from identityGovernance // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackageAssignmentApprovalsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentApprovalsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/entitlement_management_access_package_assignment_policies_access_package_assignment_policy_item_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_policies_access_package_assignment_policy_item_request_builder.go index c2fa9495d24..263a46c9b64 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_policies_access_package_assignment_policy_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_policies_access_package_assignment_policy_item_request_builder.go @@ -18,7 +18,7 @@ type EntitlementManagementAccessPackageAssignmentPoliciesAccessPackageAssignment // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EntitlementManagementAccessPackageAssignmentPoliciesAccessPackageAssignmentPolicyItemRequestBuilderGetQueryParameters in Microsoft Entra entitlement management, retrieve the properties and relationships of an accessPackageAssignmentPolicy object. +// EntitlementManagementAccessPackageAssignmentPoliciesAccessPackageAssignmentPolicyItemRequestBuilderGetQueryParameters represents the policy that governs which subjects can request or be assigned an access package via an access package assignment. type EntitlementManagementAccessPackageAssignmentPoliciesAccessPackageAssignmentPolicyItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -74,12 +74,9 @@ func (m *EntitlementManagementAccessPackageAssignmentPoliciesAccessPackageAssign func (m *EntitlementManagementAccessPackageAssignmentPoliciesAccessPackageAssignmentPolicyItemRequestBuilder) CustomExtensionStageSettings()(*EntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsRequestBuilder) { return NewEntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtensionStageSettingsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Delete in Microsoft Entra entitlement management, delete an accessPackageAssignmentPolicy. +// Delete delete navigation property accessPackageAssignmentPolicies for identityGovernance // 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/accesspackageassignmentpolicy-delete?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackageAssignmentPoliciesAccessPackageAssignmentPolicyItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentPoliciesAccessPackageAssignmentPolicyItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -94,13 +91,10 @@ func (m *EntitlementManagementAccessPackageAssignmentPoliciesAccessPackageAssign } return nil } -// Get in Microsoft Entra entitlement management, retrieve the properties and relationships of an accessPackageAssignmentPolicy object. +// Get represents the policy that governs which subjects can request or be assigned an access package via an access package assignment. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a AccessPackageAssignmentPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageassignmentpolicy-get?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackageAssignmentPoliciesAccessPackageAssignmentPolicyItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentPoliciesAccessPackageAssignmentPolicyItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageAssignmentPolicyable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -139,7 +133,7 @@ func (m *EntitlementManagementAccessPackageAssignmentPoliciesAccessPackageAssign } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageAssignmentPolicyable), nil } -// ToDeleteRequestInformation in Microsoft Entra entitlement management, delete an accessPackageAssignmentPolicy. +// ToDeleteRequestInformation delete navigation property accessPackageAssignmentPolicies for identityGovernance // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackageAssignmentPoliciesAccessPackageAssignmentPolicyItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentPoliciesAccessPackageAssignmentPolicyItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -151,7 +145,7 @@ func (m *EntitlementManagementAccessPackageAssignmentPoliciesAccessPackageAssign requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation in Microsoft Entra entitlement management, retrieve the properties and relationships of an accessPackageAssignmentPolicy object. +// ToGetRequestInformation represents the policy that governs which subjects can request or be assigned an access package via an access package assignment. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackageAssignmentPoliciesAccessPackageAssignmentPolicyItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentPoliciesAccessPackageAssignmentPolicyItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/identitygovernance/entitlement_management_access_package_assignment_policies_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_policies_request_builder.go index 948f7914502..906366631b2 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_policies_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_policies_request_builder.go @@ -11,7 +11,7 @@ import ( type EntitlementManagementAccessPackageAssignmentPoliciesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementAccessPackageAssignmentPoliciesRequestBuilderGetQueryParameters in Microsoft Entra entitlement management, retrieve a list of accessPackageAssignmentPolicy objects. If the delegated user is in a directory role, the resulting list includes all the assignment policies that the caller has access to read, across all catalogs and access packages. If the delegated user is an access package manager or catalog owner, they should instead retrieve the policies for the access packages they can read with list accessPackages by including $expand=accessPackageAssignmentPolicies in the query. +// EntitlementManagementAccessPackageAssignmentPoliciesRequestBuilderGetQueryParameters represents the policy that governs which subjects can request or be assigned an access package via an access package assignment. type EntitlementManagementAccessPackageAssignmentPoliciesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -77,13 +77,10 @@ func NewEntitlementManagementAccessPackageAssignmentPoliciesRequestBuilder(rawUr func (m *EntitlementManagementAccessPackageAssignmentPoliciesRequestBuilder) Count()(*EntitlementManagementAccessPackageAssignmentPoliciesCountRequestBuilder) { return NewEntitlementManagementAccessPackageAssignmentPoliciesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get in Microsoft Entra entitlement management, retrieve a list of accessPackageAssignmentPolicy objects. If the delegated user is in a directory role, the resulting list includes all the assignment policies that the caller has access to read, across all catalogs and access packages. If the delegated user is an access package manager or catalog owner, they should instead retrieve the policies for the access packages they can read with list accessPackages by including $expand=accessPackageAssignmentPolicies in the query. +// Get represents the policy that governs which subjects can request or be assigned an access package via an access package assignment. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a AccessPackageAssignmentPolicyCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/entitlementmanagement-list-accesspackageassignmentpolicies?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackageAssignmentPoliciesRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentPoliciesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageAssignmentPolicyCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,13 +98,10 @@ func (m *EntitlementManagementAccessPackageAssignmentPoliciesRequestBuilder) Get } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageAssignmentPolicyCollectionResponseable), nil } -// Post in Microsoft Entra entitlement management, create a new accessPackageAssignmentPolicy object. +// Post create new navigation property to accessPackageAssignmentPolicies for identityGovernance // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a AccessPackageAssignmentPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/entitlementmanagement-post-accesspackageassignmentpolicies?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackageAssignmentPoliciesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageAssignmentPolicyable, requestConfiguration *EntitlementManagementAccessPackageAssignmentPoliciesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageAssignmentPolicyable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *EntitlementManagementAccessPackageAssignmentPoliciesRequestBuilder) Pos } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageAssignmentPolicyable), nil } -// ToGetRequestInformation in Microsoft Entra entitlement management, retrieve a list of accessPackageAssignmentPolicy objects. If the delegated user is in a directory role, the resulting list includes all the assignment policies that the caller has access to read, across all catalogs and access packages. If the delegated user is an access package manager or catalog owner, they should instead retrieve the policies for the access packages they can read with list accessPackages by including $expand=accessPackageAssignmentPolicies in the query. +// ToGetRequestInformation represents the policy that governs which subjects can request or be assigned an access package via an access package assignment. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackageAssignmentPoliciesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentPoliciesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -140,7 +134,7 @@ func (m *EntitlementManagementAccessPackageAssignmentPoliciesRequestBuilder) ToG requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation in Microsoft Entra entitlement management, create a new accessPackageAssignmentPolicy object. +// ToPostRequestInformation create new navigation property to accessPackageAssignmentPolicies for identityGovernance // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackageAssignmentPoliciesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageAssignmentPolicyable, requestConfiguration *EntitlementManagementAccessPackageAssignmentPoliciesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/identitygovernance/entitlement_management_access_package_assignment_requests_access_package_assignment_request_item_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_requests_access_package_assignment_request_item_request_builder.go index 0403eb40c1c..08c3f11fef9 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_requests_access_package_assignment_request_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_requests_access_package_assignment_request_item_request_builder.go @@ -18,7 +18,7 @@ type EntitlementManagementAccessPackageAssignmentRequestsAccessPackageAssignment // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EntitlementManagementAccessPackageAssignmentRequestsAccessPackageAssignmentRequestItemRequestBuilderGetQueryParameters in Microsoft Entra entitlement management, retrieve the properties and relationships of an accessPackageAssignmentRequest object. +// EntitlementManagementAccessPackageAssignmentRequestsAccessPackageAssignmentRequestItemRequestBuilderGetQueryParameters represents access package assignment requests created by or on behalf of a user. DO NOT USE. TO BE RETIRED SOON. Use the assignmentRequests relationship instead. type EntitlementManagementAccessPackageAssignmentRequestsAccessPackageAssignmentRequestItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -69,12 +69,9 @@ func NewEntitlementManagementAccessPackageAssignmentRequestsAccessPackageAssignm urlParams["request-raw-url"] = rawUrl return NewEntitlementManagementAccessPackageAssignmentRequestsAccessPackageAssignmentRequestItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an accessPackageAssignmentRequest object. This request can be made to remove a denied or completed request. You can't delete an access package assignment request if it has any accessPackageAssignment objects. +// Delete delete navigation property accessPackageAssignmentRequests for identityGovernance // 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/accesspackageassignmentrequest-delete?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackageAssignmentRequestsAccessPackageAssignmentRequestItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentRequestsAccessPackageAssignmentRequestItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,13 +86,10 @@ func (m *EntitlementManagementAccessPackageAssignmentRequestsAccessPackageAssign } return nil } -// Get in Microsoft Entra entitlement management, retrieve the properties and relationships of an accessPackageAssignmentRequest object. +// Get represents access package assignment requests created by or on behalf of a user. DO NOT USE. TO BE RETIRED SOON. Use the assignmentRequests relationship instead. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a AccessPackageAssignmentRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageassignmentrequest-get?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackageAssignmentRequestsAccessPackageAssignmentRequestItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentRequestsAccessPackageAssignmentRequestItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageAssignmentRequestable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -149,7 +143,7 @@ func (m *EntitlementManagementAccessPackageAssignmentRequestsAccessPackageAssign func (m *EntitlementManagementAccessPackageAssignmentRequestsAccessPackageAssignmentRequestItemRequestBuilder) Resume()(*EntitlementManagementAccessPackageAssignmentRequestsItemResumeRequestBuilder) { return NewEntitlementManagementAccessPackageAssignmentRequestsItemResumeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete an accessPackageAssignmentRequest object. This request can be made to remove a denied or completed request. You can't delete an access package assignment request if it has any accessPackageAssignment objects. +// ToDeleteRequestInformation delete navigation property accessPackageAssignmentRequests for identityGovernance // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackageAssignmentRequestsAccessPackageAssignmentRequestItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentRequestsAccessPackageAssignmentRequestItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -161,7 +155,7 @@ func (m *EntitlementManagementAccessPackageAssignmentRequestsAccessPackageAssign requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation in Microsoft Entra entitlement management, retrieve the properties and relationships of an accessPackageAssignmentRequest object. +// ToGetRequestInformation represents access package assignment requests created by or on behalf of a user. DO NOT USE. TO BE RETIRED SOON. Use the assignmentRequests relationship instead. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackageAssignmentRequestsAccessPackageAssignmentRequestItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentRequestsAccessPackageAssignmentRequestItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/identitygovernance/entitlement_management_access_package_assignment_requests_filter_by_current_user_with_on_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_requests_filter_by_current_user_with_on_request_builder.go index 54518cc97eb..d937a6e41c3 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_requests_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_requests_filter_by_current_user_with_on_request_builder.go @@ -10,7 +10,7 @@ import ( type EntitlementManagementAccessPackageAssignmentRequestsFilterByCurrentUserWithOnRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementAccessPackageAssignmentRequestsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters invoke function filterByCurrentUser +// EntitlementManagementAccessPackageAssignmentRequestsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters in Microsoft Entra Entitlement Management, retrieve a list of accessPackageAssignmentRequest objects filtered on the signed-in user. type EntitlementManagementAccessPackageAssignmentRequestsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewEntitlementManagementAccessPackageAssignmentRequestsFilterByCurrentUserW urlParams["request-raw-url"] = rawUrl return NewEntitlementManagementAccessPackageAssignmentRequestsFilterByCurrentUserWithOnRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function filterByCurrentUser +// Get in Microsoft Entra Entitlement Management, retrieve a list of accessPackageAssignmentRequest objects filtered on the signed-in user. // Deprecated: This method is obsolete. Use GetAsFilterByCurrentUserWithOnGetResponse instead. // returns a EntitlementManagementAccessPackageAssignmentRequestsFilterByCurrentUserWithOnResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageassignmentrequest-filterbycurrentuser?view=graph-rest-beta func (m *EntitlementManagementAccessPackageAssignmentRequestsFilterByCurrentUserWithOnRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentRequestsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(EntitlementManagementAccessPackageAssignmentRequestsFilterByCurrentUserWithOnResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,10 +78,13 @@ func (m *EntitlementManagementAccessPackageAssignmentRequestsFilterByCurrentUser } return res.(EntitlementManagementAccessPackageAssignmentRequestsFilterByCurrentUserWithOnResponseable), nil } -// GetAsFilterByCurrentUserWithOnGetResponse invoke function filterByCurrentUser +// GetAsFilterByCurrentUserWithOnGetResponse in Microsoft Entra Entitlement Management, retrieve a list of accessPackageAssignmentRequest objects filtered on the signed-in user. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a EntitlementManagementAccessPackageAssignmentRequestsFilterByCurrentUserWithOnGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageassignmentrequest-filterbycurrentuser?view=graph-rest-beta func (m *EntitlementManagementAccessPackageAssignmentRequestsFilterByCurrentUserWithOnRequestBuilder) GetAsFilterByCurrentUserWithOnGetResponse(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentRequestsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(EntitlementManagementAccessPackageAssignmentRequestsFilterByCurrentUserWithOnGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,7 +102,7 @@ func (m *EntitlementManagementAccessPackageAssignmentRequestsFilterByCurrentUser } return res.(EntitlementManagementAccessPackageAssignmentRequestsFilterByCurrentUserWithOnGetResponseable), nil } -// ToGetRequestInformation invoke function filterByCurrentUser +// ToGetRequestInformation in Microsoft Entra Entitlement Management, retrieve a list of accessPackageAssignmentRequest objects filtered on the signed-in user. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackageAssignmentRequestsFilterByCurrentUserWithOnRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentRequestsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/identitygovernance/entitlement_management_access_package_assignment_requests_item_cancel_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_requests_item_cancel_request_builder.go index 1fdc0f4c403..e97a6514362 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_requests_item_cancel_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_requests_item_cancel_request_builder.go @@ -35,7 +35,7 @@ func NewEntitlementManagementAccessPackageAssignmentRequestsItemCancelRequestBui // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageassignmentrequest-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageassignmentrequest-cancel?view=graph-rest-beta func (m *EntitlementManagementAccessPackageAssignmentRequestsItemCancelRequestBuilder) Post(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentRequestsItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/entitlement_management_access_package_assignment_requests_item_resume_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_requests_item_resume_request_builder.go index 65eda25e63a..03d0f23cd8c 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_requests_item_resume_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_requests_item_resume_request_builder.go @@ -35,7 +35,7 @@ func NewEntitlementManagementAccessPackageAssignmentRequestsItemResumeRequestBui // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageassignmentrequest-resume?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageassignmentrequest-resume?view=graph-rest-beta func (m *EntitlementManagementAccessPackageAssignmentRequestsItemResumeRequestBuilder) Post(ctx context.Context, body EntitlementManagementAccessPackageAssignmentRequestsItemResumePostRequestBodyable, requestConfiguration *EntitlementManagementAccessPackageAssignmentRequestsItemResumeRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/identitygovernance/entitlement_management_access_package_assignment_requests_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_requests_request_builder.go index db5a9ba5941..a9c1935e4bd 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_requests_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_requests_request_builder.go @@ -11,7 +11,7 @@ import ( type EntitlementManagementAccessPackageAssignmentRequestsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementAccessPackageAssignmentRequestsRequestBuilderGetQueryParameters in Microsoft Entra entitlement management, retrieve a list of accessPackageAssignmentRequest objects. The resulting list includes all the assignment requests, current and well as expired, that the caller has access to read, across all catalogs and access packages. +// EntitlementManagementAccessPackageAssignmentRequestsRequestBuilderGetQueryParameters represents access package assignment requests created by or on behalf of a user. DO NOT USE. TO BE RETIRED SOON. Use the assignmentRequests relationship instead. type EntitlementManagementAccessPackageAssignmentRequestsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -83,13 +83,10 @@ func (m *EntitlementManagementAccessPackageAssignmentRequestsRequestBuilder) Cou func (m *EntitlementManagementAccessPackageAssignmentRequestsRequestBuilder) FilterByCurrentUserWithOn(on *string)(*EntitlementManagementAccessPackageAssignmentRequestsFilterByCurrentUserWithOnRequestBuilder) { return NewEntitlementManagementAccessPackageAssignmentRequestsFilterByCurrentUserWithOnRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, on) } -// Get in Microsoft Entra entitlement management, retrieve a list of accessPackageAssignmentRequest objects. The resulting list includes all the assignment requests, current and well as expired, that the caller has access to read, across all catalogs and access packages. +// Get represents access package assignment requests created by or on behalf of a user. DO NOT USE. TO BE RETIRED SOON. Use the assignmentRequests relationship instead. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a AccessPackageAssignmentRequestCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/entitlementmanagement-list-accesspackageassignmentrequests?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackageAssignmentRequestsRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentRequestsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageAssignmentRequestCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -107,13 +104,10 @@ func (m *EntitlementManagementAccessPackageAssignmentRequestsRequestBuilder) Get } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageAssignmentRequestCollectionResponseable), nil } -// Post in Microsoft Entra Entitlement Management, create a new accessPackageAssignmentRequest object. This operation is used to assign a user to an access package, or to remove an access package assignment. +// Post create new navigation property to accessPackageAssignmentRequests for identityGovernance // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a AccessPackageAssignmentRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/entitlementmanagement-post-accesspackageassignmentrequests?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackageAssignmentRequestsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageAssignmentRequestable, requestConfiguration *EntitlementManagementAccessPackageAssignmentRequestsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageAssignmentRequestable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -131,7 +125,7 @@ func (m *EntitlementManagementAccessPackageAssignmentRequestsRequestBuilder) Pos } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageAssignmentRequestable), nil } -// ToGetRequestInformation in Microsoft Entra entitlement management, retrieve a list of accessPackageAssignmentRequest objects. The resulting list includes all the assignment requests, current and well as expired, that the caller has access to read, across all catalogs and access packages. +// ToGetRequestInformation represents access package assignment requests created by or on behalf of a user. DO NOT USE. TO BE RETIRED SOON. Use the assignmentRequests relationship instead. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackageAssignmentRequestsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentRequestsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -146,7 +140,7 @@ func (m *EntitlementManagementAccessPackageAssignmentRequestsRequestBuilder) ToG requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation in Microsoft Entra Entitlement Management, create a new accessPackageAssignmentRequest object. This operation is used to assign a user to an access package, or to remove an access package assignment. +// ToPostRequestInformation create new navigation property to accessPackageAssignmentRequests for identityGovernance // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackageAssignmentRequestsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageAssignmentRequestable, requestConfiguration *EntitlementManagementAccessPackageAssignmentRequestsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_access_package_assignment_resource_role_item_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_access_package_assignment_resource_role_item_request_builder.go index 8f3d2e581cd..eda0207ce0d 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_access_package_assignment_resource_role_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_access_package_assignment_resource_role_item_request_builder.go @@ -18,7 +18,7 @@ type EntitlementManagementAccessPackageAssignmentResourceRolesAccessPackageAssig // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EntitlementManagementAccessPackageAssignmentResourceRolesAccessPackageAssignmentResourceRoleItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an accessPackageAssignmentResourceRole object. +// EntitlementManagementAccessPackageAssignmentResourceRolesAccessPackageAssignmentResourceRoleItemRequestBuilderGetQueryParameters represents the resource-specific role which a subject has been assigned through an access package assignment. type EntitlementManagementAccessPackageAssignmentResourceRolesAccessPackageAssignmentResourceRoleItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -90,12 +90,9 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesAccessPackageA } return nil } -// Get retrieve the properties and relationships of an accessPackageAssignmentResourceRole object. +// Get represents the resource-specific role which a subject has been assigned through an access package assignment. // returns a AccessPackageAssignmentResourceRoleable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageassignmentresourcerole-get?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackageAssignmentResourceRolesAccessPackageAssignmentResourceRoleItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentResourceRolesAccessPackageAssignmentResourceRoleItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageAssignmentResourceRoleable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -144,7 +141,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesAccessPackageA requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of an accessPackageAssignmentResourceRole object. +// ToGetRequestInformation represents the resource-specific role which a subject has been assigned through an access package assignment. // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackageAssignmentResourceRolesAccessPackageAssignmentResourceRoleItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentResourceRolesAccessPackageAssignmentResourceRoleItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go index 842c7a95788..ab98e169adc 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go @@ -34,7 +34,7 @@ func NewEntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPacka // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceRefreshRequestBuilder) Post(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceRefreshRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_refresh_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_refresh_request_builder.go index 0cf5a26ced5..8873186ccb1 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_refresh_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_refresh_request_builder.go @@ -34,7 +34,7 @@ func NewEntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPacka // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceRefreshRequestBuilder) Post(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceRefreshRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go index 21d17ff305c..5ef69073fcf 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go @@ -34,7 +34,7 @@ func NewEntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPacka // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceRefreshRequestBuilder) Post(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceRefreshRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_refresh_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_refresh_request_builder.go index 66bc91cda60..d49155493cb 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_refresh_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_refresh_request_builder.go @@ -34,7 +34,7 @@ func NewEntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPacka // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceRefreshRequestBuilder) Post(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceRefreshRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_request_builder.go index 66e9b48fecd..83e66e56863 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_request_builder.go @@ -11,7 +11,7 @@ import ( type EntitlementManagementAccessPackageAssignmentResourceRolesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementAccessPackageAssignmentResourceRolesRequestBuilderGetQueryParameters retrieve a list of accessPackageAssignmentResourceRole objects. The resulting list includes all the resource roles of all assignments that the caller has access to read, across all catalogs and access packages. +// EntitlementManagementAccessPackageAssignmentResourceRolesRequestBuilderGetQueryParameters represents the resource-specific role which a subject has been assigned through an access package assignment. type EntitlementManagementAccessPackageAssignmentResourceRolesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewEntitlementManagementAccessPackageAssignmentResourceRolesRequestBuilder( func (m *EntitlementManagementAccessPackageAssignmentResourceRolesRequestBuilder) Count()(*EntitlementManagementAccessPackageAssignmentResourceRolesCountRequestBuilder) { return NewEntitlementManagementAccessPackageAssignmentResourceRolesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of accessPackageAssignmentResourceRole objects. The resulting list includes all the resource roles of all assignments that the caller has access to read, across all catalogs and access packages. +// Get represents the resource-specific role which a subject has been assigned through an access package assignment. // returns a AccessPackageAssignmentResourceRoleCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/entitlementmanagement-list-accesspackageassignmentresourceroles?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackageAssignmentResourceRolesRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentResourceRolesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageAssignmentResourceRoleCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesRequestBuilder } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageAssignmentResourceRoleable), nil } -// ToGetRequestInformation retrieve a list of accessPackageAssignmentResourceRole objects. The resulting list includes all the resource roles of all assignments that the caller has access to read, across all catalogs and access packages. +// ToGetRequestInformation represents the resource-specific role which a subject has been assigned through an access package assignment. // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackageAssignmentResourceRolesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentResourceRolesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/entitlement_management_access_package_assignments_additional_access_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_additional_access_request_builder.go index a0284b90206..7ae32241732 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_additional_access_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_additional_access_request_builder.go @@ -10,7 +10,7 @@ import ( type EntitlementManagementAccessPackageAssignmentsAdditionalAccessRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementAccessPackageAssignmentsAdditionalAccessRequestBuilderGetQueryParameters invoke function additionalAccess +// EntitlementManagementAccessPackageAssignmentsAdditionalAccessRequestBuilderGetQueryParameters in Microsoft Entra Entitlement Management, retrieve a collection of accessPackageAssignment objects that indicate a target user has an assignment to a specified access package and also an assignment to another, potentially incompatible, access package. It can be used to prepare to configure the incompatible access packages for a specific access package. type EntitlementManagementAccessPackageAssignmentsAdditionalAccessRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewEntitlementManagementAccessPackageAssignmentsAdditionalAccessRequestBuil urlParams["request-raw-url"] = rawUrl return NewEntitlementManagementAccessPackageAssignmentsAdditionalAccessRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function additionalAccess +// Get in Microsoft Entra Entitlement Management, retrieve a collection of accessPackageAssignment objects that indicate a target user has an assignment to a specified access package and also an assignment to another, potentially incompatible, access package. It can be used to prepare to configure the incompatible access packages for a specific access package. // Deprecated: This method is obsolete. Use GetAsAdditionalAccessGetResponse instead. // returns a EntitlementManagementAccessPackageAssignmentsAdditionalAccessResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageassignment-additionalaccess?view=graph-rest-beta func (m *EntitlementManagementAccessPackageAssignmentsAdditionalAccessRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentsAdditionalAccessRequestBuilderGetRequestConfiguration)(EntitlementManagementAccessPackageAssignmentsAdditionalAccessResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *EntitlementManagementAccessPackageAssignmentsAdditionalAccessRequestBui } return res.(EntitlementManagementAccessPackageAssignmentsAdditionalAccessResponseable), nil } -// GetAsAdditionalAccessGetResponse invoke function additionalAccess +// GetAsAdditionalAccessGetResponse in Microsoft Entra Entitlement Management, retrieve a collection of accessPackageAssignment objects that indicate a target user has an assignment to a specified access package and also an assignment to another, potentially incompatible, access package. It can be used to prepare to configure the incompatible access packages for a specific access package. // returns a EntitlementManagementAccessPackageAssignmentsAdditionalAccessGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageassignment-additionalaccess?view=graph-rest-beta func (m *EntitlementManagementAccessPackageAssignmentsAdditionalAccessRequestBuilder) GetAsAdditionalAccessGetResponse(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentsAdditionalAccessRequestBuilderGetRequestConfiguration)(EntitlementManagementAccessPackageAssignmentsAdditionalAccessGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsAdditionalAccessRequestBui } return res.(EntitlementManagementAccessPackageAssignmentsAdditionalAccessGetResponseable), nil } -// ToGetRequestInformation invoke function additionalAccess +// ToGetRequestInformation in Microsoft Entra Entitlement Management, retrieve a collection of accessPackageAssignment objects that indicate a target user has an assignment to a specified access package and also an assignment to another, potentially incompatible, access package. It can be used to prepare to configure the incompatible access packages for a specific access package. // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackageAssignmentsAdditionalAccessRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentsAdditionalAccessRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/entitlement_management_access_package_assignments_filter_by_current_user_with_on_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_filter_by_current_user_with_on_request_builder.go index 6b856e74c9e..81adb30286c 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_filter_by_current_user_with_on_request_builder.go @@ -10,7 +10,7 @@ import ( type EntitlementManagementAccessPackageAssignmentsFilterByCurrentUserWithOnRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementAccessPackageAssignmentsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters invoke function filterByCurrentUser +// EntitlementManagementAccessPackageAssignmentsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters in Microsoft Entra Entitlement Management, retrieve a list of accessPackageAssignment objects filtered on the signed-in user. type EntitlementManagementAccessPackageAssignmentsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewEntitlementManagementAccessPackageAssignmentsFilterByCurrentUserWithOnRe urlParams["request-raw-url"] = rawUrl return NewEntitlementManagementAccessPackageAssignmentsFilterByCurrentUserWithOnRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function filterByCurrentUser +// Get in Microsoft Entra Entitlement Management, retrieve a list of accessPackageAssignment objects filtered on the signed-in user. // Deprecated: This method is obsolete. Use GetAsFilterByCurrentUserWithOnGetResponse instead. // returns a EntitlementManagementAccessPackageAssignmentsFilterByCurrentUserWithOnResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageassignment-filterbycurrentuser?view=graph-rest-beta func (m *EntitlementManagementAccessPackageAssignmentsFilterByCurrentUserWithOnRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(EntitlementManagementAccessPackageAssignmentsFilterByCurrentUserWithOnResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *EntitlementManagementAccessPackageAssignmentsFilterByCurrentUserWithOnR } return res.(EntitlementManagementAccessPackageAssignmentsFilterByCurrentUserWithOnResponseable), nil } -// GetAsFilterByCurrentUserWithOnGetResponse invoke function filterByCurrentUser +// GetAsFilterByCurrentUserWithOnGetResponse in Microsoft Entra Entitlement Management, retrieve a list of accessPackageAssignment objects filtered on the signed-in user. // returns a EntitlementManagementAccessPackageAssignmentsFilterByCurrentUserWithOnGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageassignment-filterbycurrentuser?view=graph-rest-beta func (m *EntitlementManagementAccessPackageAssignmentsFilterByCurrentUserWithOnRequestBuilder) GetAsFilterByCurrentUserWithOnGetResponse(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(EntitlementManagementAccessPackageAssignmentsFilterByCurrentUserWithOnGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsFilterByCurrentUserWithOnR } return res.(EntitlementManagementAccessPackageAssignmentsFilterByCurrentUserWithOnGetResponseable), nil } -// ToGetRequestInformation invoke function filterByCurrentUser +// ToGetRequestInformation in Microsoft Entra Entitlement Management, retrieve a list of accessPackageAssignment objects filtered on the signed-in user. // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackageAssignmentsFilterByCurrentUserWithOnRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go index dfe365de322..7d38293b7e1 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go @@ -34,7 +34,7 @@ func NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPack // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceRefreshRequestBuilder) Post(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceRefreshRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_refresh_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_refresh_request_builder.go index d3e54e34382..a40a52c466b 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_refresh_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_refresh_request_builder.go @@ -34,7 +34,7 @@ func NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPack // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceRefreshRequestBuilder) Post(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceRefreshRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go index 8aa42496418..523675564f1 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go @@ -34,7 +34,7 @@ func NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPack // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceRefreshRequestBuilder) Post(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceRefreshRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_refresh_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_refresh_request_builder.go index 404f895e332..4eec1445355 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_refresh_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_refresh_request_builder.go @@ -34,7 +34,7 @@ func NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPack // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceRefreshRequestBuilder) Post(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceRefreshRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_request_builder.go index 30e6b3de649..b1b2f60eef2 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_request_builder.go @@ -96,12 +96,9 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageResourceRoleScopeCollectionResponseable), nil } -// Post create a new accessPackageResourceRoleScope for adding a resource role to an access package. The access package resource, for a group, an app, or a SharePoint Online site, must already exist in the access package catalog, and the originId for the resource role retrieved from the list of the resource roles. Once you add the resource role scope to the access package, the user will receive this resource role through any current and future access package assignments. +// Post create new navigation property to accessPackageResourceRoleScopes for identityGovernance // returns a AccessPackageResourceRoleScopeable when successful // returns a ODataError error 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-post-accesspackageresourcerolescopes?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageResourceRoleScopeable, requestConfiguration *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageResourceRoleScopeable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -133,7 +130,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new accessPackageResourceRoleScope for adding a resource role to an access package. The access package resource, for a group, an app, or a SharePoint Online site, must already exist in the access package catalog, and the originId for the resource role retrieved from the list of the resource roles. Once you add the resource role scope to the access package, the user will receive this resource role through any current and future access package assignments. +// ToPostRequestInformation create new navigation property to accessPackageResourceRoleScopes for identityGovernance // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageResourceRoleScopeable, requestConfiguration *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackageResourceRoleScopesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_packages_incompatible_with_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_packages_incompatible_with_request_builder.go index e7e241599c9..cfeeaa8c899 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_packages_incompatible_with_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_packages_incompatible_with_request_builder.go @@ -11,7 +11,7 @@ import ( type EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackagesIncompatibleWithRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackagesIncompatibleWithRequestBuilderGetQueryParameters retrieve a list of the accessPackage objects marked a specified accessPackage as incompatible. +// EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackagesIncompatibleWithRequestBuilderGetQueryParameters the access packages that are incompatible with this package. Read-only. type EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackagesIncompatibleWithRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPack func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackagesIncompatibleWithRequestBuilder) Count()(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackagesIncompatibleWithCountRequestBuilder) { return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackagesIncompatibleWithCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of the accessPackage objects marked a specified accessPackage as incompatible. +// Get the access packages that are incompatible with this package. Read-only. // returns a AccessPackageCollectionResponseable when successful // returns a ODataError error 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-accesspackagesincompatiblewith?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackagesIncompatibleWithRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackagesIncompatibleWithRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageCollectionResponseable), nil } -// ToGetRequestInformation retrieve a list of the accessPackage objects marked a specified accessPackage as incompatible. +// ToGetRequestInformation the access packages that are incompatible with this package. Read-only. // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackagesIncompatibleWithRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPackagesIncompatibleWithRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_filter_by_current_user_with_on_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_filter_by_current_user_with_on_request_builder.go index 640bea6480b..b7949c4cd26 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_filter_by_current_user_with_on_request_builder.go @@ -10,7 +10,7 @@ import ( type EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsFilterByCurrentUserWithOnRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters invoke function filterByCurrentUser +// EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters in Microsoft Entra Entitlement Management, retrieve a list of accessPackageAssignmentRequest objects filtered on the signed-in user. type EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignment urlParams["request-raw-url"] = rawUrl return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsFilterByCurrentUserWithOnRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function filterByCurrentUser +// Get in Microsoft Entra Entitlement Management, retrieve a list of accessPackageAssignmentRequest objects filtered on the signed-in user. // Deprecated: This method is obsolete. Use GetAsFilterByCurrentUserWithOnGetResponse instead. // returns a EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsFilterByCurrentUserWithOnResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageassignmentrequest-filterbycurrentuser?view=graph-rest-beta func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsFilterByCurrentUserWithOnRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsFilterByCurrentUserWithOnResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,10 +78,13 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } return res.(EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsFilterByCurrentUserWithOnResponseable), nil } -// GetAsFilterByCurrentUserWithOnGetResponse invoke function filterByCurrentUser +// GetAsFilterByCurrentUserWithOnGetResponse in Microsoft Entra Entitlement Management, retrieve a list of accessPackageAssignmentRequest objects filtered on the signed-in user. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsFilterByCurrentUserWithOnGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageassignmentrequest-filterbycurrentuser?view=graph-rest-beta func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsFilterByCurrentUserWithOnRequestBuilder) GetAsFilterByCurrentUserWithOnGetResponse(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsFilterByCurrentUserWithOnGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,7 +102,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } return res.(EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsFilterByCurrentUserWithOnGetResponseable), nil } -// ToGetRequestInformation invoke function filterByCurrentUser +// ToGetRequestInformation in Microsoft Entra Entitlement Management, retrieve a list of accessPackageAssignmentRequest objects filtered on the signed-in user. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsFilterByCurrentUserWithOnRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_cancel_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_cancel_request_builder.go index 71e15c8ceae..95de02c10d7 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_cancel_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_cancel_request_builder.go @@ -35,7 +35,7 @@ func NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignment // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageassignmentrequest-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageassignmentrequest-cancel?view=graph-rest-beta func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsItemCancelRequestBuilder) Post(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_resume_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_resume_request_builder.go index e99ea63307c..e9918f51cd2 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_resume_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_resume_request_builder.go @@ -35,7 +35,7 @@ func NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignment // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageassignmentrequest-resume?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageassignmentrequest-resume?view=graph-rest-beta func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsItemResumeRequestBuilder) Post(ctx context.Context, body EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsItemResumePostRequestBodyable, requestConfiguration *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsItemResumeRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go index 9a9657d7832..1f4009bf9dd 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go @@ -34,7 +34,7 @@ func NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignment // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceRefreshRequestBuilder) Post(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceRefreshRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_refresh_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_refresh_request_builder.go index 7d1a460cbc4..0d3f836eb73 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_refresh_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_refresh_request_builder.go @@ -34,7 +34,7 @@ func NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignment // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceRefreshRequestBuilder) Post(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceRoleAccessPackageResourceRefreshRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go index ae6d0660139..e148b60aa7b 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go @@ -34,7 +34,7 @@ func NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignment // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceRefreshRequestBuilder) Post(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceRefreshRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_refresh_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_refresh_request_builder.go index 19b1b57c5fc..9cd4714b159 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_refresh_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_refresh_request_builder.go @@ -34,7 +34,7 @@ func NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignment // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceRefreshRequestBuilder) Post(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentResourceRolesItemAccessPackageResourceScopeAccessPackageResourceRefreshRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_get_applicable_policy_requirements_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_get_applicable_policy_requirements_request_builder.go index 2ee077e4816..94ed2aed4d7 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_get_applicable_policy_requirements_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_get_applicable_policy_requirements_request_builder.go @@ -36,7 +36,7 @@ func NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageGetApplica // returns a ODataError error 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-getapplicablepolicyrequirements?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackage-getapplicablepolicyrequirements?view=graph-rest-beta func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageGetApplicablePolicyRequirementsRequestBuilder) Post(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentsItemAccessPackageGetApplicablePolicyRequirementsRequestBuilderPostRequestConfiguration)(EntitlementManagementAccessPackageAssignmentsItemAccessPackageGetApplicablePolicyRequirementsResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageGetApplic // returns a ODataError error 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-getapplicablepolicyrequirements?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackage-getapplicablepolicyrequirements?view=graph-rest-beta func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageGetApplicablePolicyRequirementsRequestBuilder) PostAsGetApplicablePolicyRequirementsPostResponse(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentsItemAccessPackageGetApplicablePolicyRequirementsRequestBuilderPostRequestConfiguration)(EntitlementManagementAccessPackageAssignmentsItemAccessPackageGetApplicablePolicyRequirementsPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_access_packages_item_ref_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_access_packages_item_ref_request_builder.go index ce9a81030f7..ee1aa54a257 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_access_packages_item_ref_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_access_packages_item_ref_request_builder.go @@ -30,11 +30,8 @@ func NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatib urlParams["request-raw-url"] = rawUrl return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleAccessPackagesItemRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove an access package from the list of access packages marked as incompatible on an accessPackage. +// Delete delete ref of navigation property incompatibleAccessPackages for identityGovernance // returns a ODataError error 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-delete-incompatibleaccesspackage?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleAccessPackagesItemRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleAccessPackagesItemRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -49,7 +46,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompati } return nil } -// ToDeleteRequestInformation remove an access package from the list of access packages marked as incompatible on an accessPackage. +// ToDeleteRequestInformation delete ref of navigation property incompatibleAccessPackages for identityGovernance // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleAccessPackagesItemRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleAccessPackagesItemRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_access_packages_ref_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_access_packages_ref_request_builder.go index df9fbeb097b..8059dc7d91b 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_access_packages_ref_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_access_packages_ref_request_builder.go @@ -11,7 +11,7 @@ import ( type EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleAccessPackagesRefRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleAccessPackagesRefRequestBuilderDeleteQueryParameters remove an access package from the list of access packages marked as incompatible on an accessPackage. +// EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleAccessPackagesRefRequestBuilderDeleteQueryParameters delete ref of navigation property incompatibleAccessPackages for identityGovernance type EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleAccessPackagesRefRequestBuilderDeleteQueryParameters struct { // The delete Uri Id *string `uriparametername:"%40id"` @@ -25,7 +25,7 @@ type EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleA // Request query parameters QueryParameters *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleAccessPackagesRefRequestBuilderDeleteQueryParameters } -// EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleAccessPackagesRefRequestBuilderGetQueryParameters retrieve a list of the accessPackage objects marked as incompatible on an accessPackage. +// EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleAccessPackagesRefRequestBuilderGetQueryParameters the access packages whose assigned users are ineligible to be assigned this access package. type EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleAccessPackagesRefRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,11 +69,8 @@ func NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatib urlParams["request-raw-url"] = rawUrl return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleAccessPackagesRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove an access package from the list of access packages marked as incompatible on an accessPackage. +// Delete delete ref of navigation property incompatibleAccessPackages for identityGovernance // returns a ODataError error 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-delete-incompatibleaccesspackage?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleAccessPackagesRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleAccessPackagesRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -88,12 +85,9 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompati } return nil } -// Get retrieve a list of the accessPackage objects marked as incompatible on an accessPackage. +// Get the access packages whose assigned users are ineligible to be assigned this access package. // returns a StringCollectionResponseable when successful // returns a ODataError error 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-incompatibleaccesspackages?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleAccessPackagesRefRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleAccessPackagesRefRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -111,11 +105,8 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompati } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable), nil } -// Post add an accessPackage to the list of access packages marked as incompatible on an accessPackage. +// Post create new navigation property ref to incompatibleAccessPackages for identityGovernance // returns a ODataError error 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-post-incompatibleaccesspackage?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleAccessPackagesRefRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleAccessPackagesRefRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -130,7 +121,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompati } return nil } -// ToDeleteRequestInformation remove an access package from the list of access packages marked as incompatible on an accessPackage. +// ToDeleteRequestInformation delete ref of navigation property incompatibleAccessPackages for identityGovernance // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleAccessPackagesRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleAccessPackagesRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackage/incompatibleAccessPackages/$ref?@id={%40id}", m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompati requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a list of the accessPackage objects marked as incompatible on an accessPackage. +// ToGetRequestInformation the access packages whose assigned users are ineligible to be assigned this access package. // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleAccessPackagesRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleAccessPackagesRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackage/incompatibleAccessPackages/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) @@ -158,7 +149,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompati requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add an accessPackage to the list of access packages marked as incompatible on an accessPackage. +// ToPostRequestInformation create new navigation property ref to incompatibleAccessPackages for identityGovernance // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleAccessPackagesRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleAccessPackagesRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackage/incompatibleAccessPackages/$ref", m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_access_packages_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_access_packages_request_builder.go index c6994f53a81..85fd24fcce3 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_access_packages_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_access_packages_request_builder.go @@ -11,7 +11,7 @@ import ( type EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleAccessPackagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleAccessPackagesRequestBuilderGetQueryParameters retrieve a list of the accessPackage objects marked as incompatible on an accessPackage. +// EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleAccessPackagesRequestBuilderGetQueryParameters the access packages whose assigned users are ineligible to be assigned this access package. type EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleAccessPackagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatib func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleAccessPackagesRequestBuilder) Count()(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleAccessPackagesCountRequestBuilder) { return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleAccessPackagesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of the accessPackage objects marked as incompatible on an accessPackage. +// Get the access packages whose assigned users are ineligible to be assigned this access package. // returns a AccessPackageCollectionResponseable when successful // returns a ODataError error 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-incompatibleaccesspackages?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleAccessPackagesRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleAccessPackagesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -97,7 +94,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompati func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleAccessPackagesRequestBuilder) Ref()(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleAccessPackagesRefRequestBuilder) { return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleAccessPackagesRefRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation retrieve a list of the accessPackage objects marked as incompatible on an accessPackage. +// ToGetRequestInformation the access packages whose assigned users are ineligible to be assigned this access package. // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleAccessPackagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleAccessPackagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_groups_item_ref_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_groups_item_ref_request_builder.go index c97b770cb5a..c120a3e65e7 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_groups_item_ref_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_groups_item_ref_request_builder.go @@ -30,11 +30,8 @@ func NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatib urlParams["request-raw-url"] = rawUrl return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleGroupsItemRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove a group from the list of groups marked as incompatible on an accessPackage. +// Delete delete ref of navigation property incompatibleGroups for identityGovernance // returns a ODataError error 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-delete-incompatiblegroup?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleGroupsItemRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleGroupsItemRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -49,7 +46,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompati } return nil } -// ToDeleteRequestInformation remove a group from the list of groups marked as incompatible on an accessPackage. +// ToDeleteRequestInformation delete ref of navigation property incompatibleGroups for identityGovernance // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleGroupsItemRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleGroupsItemRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_groups_ref_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_groups_ref_request_builder.go index 24be4e9c0b0..b964e79acd3 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_groups_ref_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_groups_ref_request_builder.go @@ -11,7 +11,7 @@ import ( type EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleGroupsRefRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleGroupsRefRequestBuilderDeleteQueryParameters remove a group from the list of groups marked as incompatible on an accessPackage. +// EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleGroupsRefRequestBuilderDeleteQueryParameters delete ref of navigation property incompatibleGroups for identityGovernance type EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleGroupsRefRequestBuilderDeleteQueryParameters struct { // The delete Uri Id *string `uriparametername:"%40id"` @@ -25,7 +25,7 @@ type EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleG // Request query parameters QueryParameters *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleGroupsRefRequestBuilderDeleteQueryParameters } -// EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleGroupsRefRequestBuilderGetQueryParameters retrieve a list of the group objects marked as incompatible on an accessPackage. +// EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleGroupsRefRequestBuilderGetQueryParameters the groups whose members are ineligible to be assigned this access package. type EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleGroupsRefRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,11 +69,8 @@ func NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatib urlParams["request-raw-url"] = rawUrl return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleGroupsRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove a group from the list of groups marked as incompatible on an accessPackage. +// Delete delete ref of navigation property incompatibleGroups for identityGovernance // returns a ODataError error 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-delete-incompatiblegroup?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleGroupsRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleGroupsRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -88,12 +85,9 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompati } return nil } -// Get retrieve a list of the group objects marked as incompatible on an accessPackage. +// Get the groups whose members are ineligible to be assigned this access package. // returns a StringCollectionResponseable when successful // returns a ODataError error 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-incompatiblegroups?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleGroupsRefRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleGroupsRefRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -111,11 +105,8 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompati } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable), nil } -// Post add a group to the list of groups marked as incompatible on an accessPackage. +// Post create new navigation property ref to incompatibleGroups for identityGovernance // returns a ODataError error 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-post-incompatiblegroup?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleGroupsRefRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleGroupsRefRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -130,7 +121,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompati } return nil } -// ToDeleteRequestInformation remove a group from the list of groups marked as incompatible on an accessPackage. +// ToDeleteRequestInformation delete ref of navigation property incompatibleGroups for identityGovernance // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleGroupsRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleGroupsRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackage/incompatibleGroups/$ref?@id={%40id}", m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompati requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a list of the group objects marked as incompatible on an accessPackage. +// ToGetRequestInformation the groups whose members are ineligible to be assigned this access package. // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleGroupsRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleGroupsRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackage/incompatibleGroups/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) @@ -158,7 +149,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompati requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add a group to the list of groups marked as incompatible on an accessPackage. +// ToPostRequestInformation create new navigation property ref to incompatibleGroups for identityGovernance // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleGroupsRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleGroupsRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackage/incompatibleGroups/$ref", m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_groups_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_groups_request_builder.go index f07713f3105..bfc7db23e2f 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_groups_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_groups_request_builder.go @@ -11,7 +11,7 @@ import ( type EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleGroupsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleGroupsRequestBuilderGetQueryParameters retrieve a list of the group objects marked as incompatible on an accessPackage. +// EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleGroupsRequestBuilderGetQueryParameters the groups whose members are ineligible to be assigned this access package. type EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleGroupsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatib func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleGroupsRequestBuilder) Count()(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleGroupsCountRequestBuilder) { return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleGroupsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of the group objects marked as incompatible on an accessPackage. +// Get the groups whose members are ineligible to be assigned this access package. // returns a GroupCollectionResponseable when successful // returns a ODataError error 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-incompatiblegroups?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleGroupsRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleGroupsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.GroupCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -97,7 +94,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompati func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleGroupsRequestBuilder) Ref()(*EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleGroupsRefRequestBuilder) { return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleGroupsRefRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation retrieve a list of the group objects marked as incompatible on an accessPackage. +// ToGetRequestInformation the groups whose members are ineligible to be assigned this access package. // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleGroupsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompatibleGroupsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_move_to_catalog_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_move_to_catalog_request_builder.go index 5ac535ee47d..052ce162730 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_move_to_catalog_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_move_to_catalog_request_builder.go @@ -34,7 +34,7 @@ func NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageMoveToCata // returns a ODataError error 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-movetocatalog?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackage-movetocatalog?view=graph-rest-beta func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageMoveToCatalogRequestBuilder) Post(ctx context.Context, body EntitlementManagementAccessPackageAssignmentsItemAccessPackageMoveToCatalogPostRequestBodyable, requestConfiguration *EntitlementManagementAccessPackageAssignmentsItemAccessPackageMoveToCatalogRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/identitygovernance/entitlement_management_access_package_assignments_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_request_builder.go index 06c1550641b..67edf9d5bce 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_request_builder.go @@ -11,7 +11,7 @@ import ( type EntitlementManagementAccessPackageAssignmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementAccessPackageAssignmentsRequestBuilderGetQueryParameters in Microsoft Entra entitlement management, retrieve a list of accessPackageAssignment objects. For directory-wide administrators, the resulting list includes all the assignments, current and well as expired, that the caller has access to read, across all catalogs and access packages. If the caller is on behalf of a delegated user who is assigned only to catalog-specific delegated administrative roles, the request must supply a filter to indicate a specific access package, such as: $filter=accessPackage/id eq 'a914b616-e04e-476b-aa37-91038f0b165b'. +// EntitlementManagementAccessPackageAssignmentsRequestBuilderGetQueryParameters the assignment of an access package to a subject for a period of time. type EntitlementManagementAccessPackageAssignmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -91,12 +91,9 @@ func (m *EntitlementManagementAccessPackageAssignmentsRequestBuilder) Count()(*E func (m *EntitlementManagementAccessPackageAssignmentsRequestBuilder) FilterByCurrentUserWithOn(on *string)(*EntitlementManagementAccessPackageAssignmentsFilterByCurrentUserWithOnRequestBuilder) { return NewEntitlementManagementAccessPackageAssignmentsFilterByCurrentUserWithOnRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, on) } -// Get in Microsoft Entra entitlement management, retrieve a list of accessPackageAssignment objects. For directory-wide administrators, the resulting list includes all the assignments, current and well as expired, that the caller has access to read, across all catalogs and access packages. If the caller is on behalf of a delegated user who is assigned only to catalog-specific delegated administrative roles, the request must supply a filter to indicate a specific access package, such as: $filter=accessPackage/id eq 'a914b616-e04e-476b-aa37-91038f0b165b'. +// Get the assignment of an access package to a subject for a period of time. // returns a AccessPackageAssignmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/entitlementmanagement-list-accesspackageassignments?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackageAssignmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageAssignmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -134,7 +131,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsRequestBuilder) Post(ctx c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageAssignmentable), nil } -// ToGetRequestInformation in Microsoft Entra entitlement management, retrieve a list of accessPackageAssignment objects. For directory-wide administrators, the resulting list includes all the assignments, current and well as expired, that the caller has access to read, across all catalogs and access packages. If the caller is on behalf of a delegated user who is assigned only to catalog-specific delegated administrative roles, the request must supply a filter to indicate a specific access package, such as: $filter=accessPackage/id eq 'a914b616-e04e-476b-aa37-91038f0b165b'. +// ToGetRequestInformation the assignment of an access package to a subject for a period of time. // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackageAssignmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/entitlement_management_access_package_catalogs_access_package_catalog_item_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_access_package_catalog_item_request_builder.go index d58cad01ca4..fd92850e259 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_access_package_catalog_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_access_package_catalog_item_request_builder.go @@ -18,7 +18,7 @@ type EntitlementManagementAccessPackageCatalogsAccessPackageCatalogItemRequestBu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EntitlementManagementAccessPackageCatalogsAccessPackageCatalogItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an accessPackageCatalog object. +// EntitlementManagementAccessPackageCatalogsAccessPackageCatalogItemRequestBuilderGetQueryParameters a container of access packages. type EntitlementManagementAccessPackageCatalogsAccessPackageCatalogItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -84,12 +84,9 @@ func NewEntitlementManagementAccessPackageCatalogsAccessPackageCatalogItemReques func (m *EntitlementManagementAccessPackageCatalogsAccessPackageCatalogItemRequestBuilder) CustomAccessPackageWorkflowExtensions()(*EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsRequestBuilder) { return NewEntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Delete delete an accessPackageCatalog. +// Delete delete navigation property accessPackageCatalogs for identityGovernance // 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/accesspackagecatalog-delete?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackageCatalogsAccessPackageCatalogItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageCatalogsAccessPackageCatalogItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,13 +101,10 @@ func (m *EntitlementManagementAccessPackageCatalogsAccessPackageCatalogItemReque } return nil } -// Get retrieve the properties and relationships of an accessPackageCatalog object. +// Get a container of access packages. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a AccessPackageCatalogable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackagecatalog-get?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackageCatalogsAccessPackageCatalogItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageCatalogsAccessPackageCatalogItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageCatalogable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -128,13 +122,10 @@ func (m *EntitlementManagementAccessPackageCatalogsAccessPackageCatalogItemReque } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageCatalogable), nil } -// Patch update an existing accessPackageCatalog object to change one or more of its properties, such as the display name or description. +// Patch update the navigation property accessPackageCatalogs in identityGovernance // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a AccessPackageCatalogable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackagecatalog-update?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackageCatalogsAccessPackageCatalogItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageCatalogable, requestConfiguration *EntitlementManagementAccessPackageCatalogsAccessPackageCatalogItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageCatalogable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -152,7 +143,7 @@ func (m *EntitlementManagementAccessPackageCatalogsAccessPackageCatalogItemReque } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageCatalogable), nil } -// ToDeleteRequestInformation delete an accessPackageCatalog. +// ToDeleteRequestInformation delete navigation property accessPackageCatalogs for identityGovernance // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackageCatalogsAccessPackageCatalogItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageCatalogsAccessPackageCatalogItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -164,7 +155,7 @@ func (m *EntitlementManagementAccessPackageCatalogsAccessPackageCatalogItemReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of an accessPackageCatalog object. +// ToGetRequestInformation a container of access packages. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackageCatalogsAccessPackageCatalogItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageCatalogsAccessPackageCatalogItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -179,7 +170,7 @@ func (m *EntitlementManagementAccessPackageCatalogsAccessPackageCatalogItemReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update an existing accessPackageCatalog object to change one or more of its properties, such as the display name or description. +// ToPatchRequestInformation update the navigation property accessPackageCatalogs in identityGovernance // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackageCatalogsAccessPackageCatalogItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageCatalogable, requestConfiguration *EntitlementManagementAccessPackageCatalogsAccessPackageCatalogItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_custom_workflow_extensions_custom_callout_extension_item_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_custom_workflow_extensions_custom_callout_extension_item_request_builder.go index 6c66112ebcc..38ab08f3335 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_custom_workflow_extensions_custom_callout_extension_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_custom_workflow_extensions_custom_callout_extension_item_request_builder.go @@ -18,7 +18,7 @@ type EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowEx // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilderGetQueryParameters read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. +// EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilderGetQueryParameters the attributes of a logic app, which can be called at various stages of an access package request and assignment cycle. type EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -71,13 +71,10 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkfl } return nil } -// Get read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. +// Get the attributes of a logic app, which can be called at various stages of an access package request and assignment cycle. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a CustomCalloutExtensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-get?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomCalloutExtensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,13 +92,10 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkfl } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomCalloutExtensionable), nil } -// Patch update the properties of an accessPackageAssignmentRequestWorkflowExtension object. +// Patch update the navigation property accessPackageCustomWorkflowExtensions in identityGovernance // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a CustomCalloutExtensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-update?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomCalloutExtensionable, requestConfiguration *EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomCalloutExtensionable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -131,7 +125,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkfl requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. +// ToGetRequestInformation the attributes of a logic app, which can be called at various stages of an access package request and assignment cycle. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -146,7 +140,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkfl requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an accessPackageAssignmentRequestWorkflowExtension object. +// ToPatchRequestInformation update the navigation property accessPackageCustomWorkflowExtensions in identityGovernance // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomCalloutExtensionable, requestConfiguration *EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_custom_workflow_extensions_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_custom_workflow_extensions_request_builder.go index 0b50e1cf7bd..fdfc899a49e 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_custom_workflow_extensions_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_custom_workflow_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsRequestBuilderGetQueryParameters get a list of the accessPackageAssignmentRequestWorkflowExtension and accessPackageAssignmentWorkflowExtension objects and their properties. The resulting list includes all the customAccessPackageWorkflowExtension objects for the catalog that the caller has access to read. Each object includes an @odata.type property that indicates whether the object is an accessPackageAssignmentRequestWorkflowExtension or an accessPackageAssignmentWorkflowExtension. +// EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsRequestBuilderGetQueryParameters the attributes of a logic app, which can be called at various stages of an access package request and assignment cycle. type EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -77,13 +77,10 @@ func NewEntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflo func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsRequestBuilder) Count()(*EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsCountRequestBuilder) { return NewEntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the accessPackageAssignmentRequestWorkflowExtension and accessPackageAssignmentWorkflowExtension objects and their properties. The resulting list includes all the customAccessPackageWorkflowExtension objects for the catalog that the caller has access to read. Each object includes an @odata.type property that indicates whether the object is an accessPackageAssignmentRequestWorkflowExtension or an accessPackageAssignmentWorkflowExtension. +// Get the attributes of a logic app, which can be called at various stages of an access package request and assignment cycle. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a CustomCalloutExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackagecatalog-list-accesspackagecustomworkflowextensions?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomCalloutExtensionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -122,7 +119,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkfl } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomCalloutExtensionable), nil } -// ToGetRequestInformation get a list of the accessPackageAssignmentRequestWorkflowExtension and accessPackageAssignmentWorkflowExtension objects and their properties. The resulting list includes all the customAccessPackageWorkflowExtension objects for the catalog that the caller has access to read. Each object includes an @odata.type property that indicates whether the object is an accessPackageAssignmentRequestWorkflowExtension or an accessPackageAssignmentWorkflowExtension. +// ToGetRequestInformation the attributes of a logic app, which can be called at various stages of an access package request and assignment cycle. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go index f6c936f001b..849f92e2694 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go @@ -35,7 +35,7 @@ func NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRoles // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceRefreshRequestBuilder) Post(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceRefreshRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go index 112316ced08..c0bdbffc0e4 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go @@ -35,7 +35,7 @@ func NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRoles // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesItemAccessPackageResourceRefreshRequestBuilder) Post(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesItemAccessPackageResourceRefreshRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_request_builder.go index a0aef7a4aa8..4f259ab481e 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_request_builder.go @@ -11,7 +11,7 @@ import ( type EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesRequestBuilderGetQueryParameters retrieve a list of accessPackageResourceRole objects of an accessPackageResource in an accessPackageCatalog. The resource should have been added to the catalog by creating an accessPackageResourceRequest. This list of roles can then be used by the caller to select a role, which is needed when subsequently creating an accessPackageResourceRoleScope. +// EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesRequestBuilderGetQueryParameters the roles in each resource in a catalog. Read-only. type EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -77,13 +77,10 @@ func NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRoles func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesRequestBuilder) Count()(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesCountRequestBuilder) { return NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of accessPackageResourceRole objects of an accessPackageResource in an accessPackageCatalog. The resource should have been added to the catalog by creating an accessPackageResourceRequest. This list of roles can then be used by the caller to select a role, which is needed when subsequently creating an accessPackageResourceRoleScope. +// Get the roles in each resource in a catalog. Read-only. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a AccessPackageResourceRoleCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackagecatalog-list-accesspackageresourceroles?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageResourceRoleCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -122,7 +119,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRole } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageResourceRoleable), nil } -// ToGetRequestInformation retrieve a list of accessPackageResourceRole objects of an accessPackageResource in an accessPackageCatalog. The resource should have been added to the catalog by creating an accessPackageResourceRequest. This list of roles can then be used by the caller to select a role, which is needed when subsequently creating an accessPackageResourceRoleScope. +// ToGetRequestInformation the roles in each resource in a catalog. Read-only. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRolesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go index d3c6ebf7d89..4f57b9841af 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go @@ -35,7 +35,7 @@ func NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScope // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceRefreshRequestBuilder) Post(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceRefreshRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go index fa85ebdc6d3..2f0618c9454 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go @@ -35,7 +35,7 @@ func NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScope // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesItemAccessPackageResourceRefreshRequestBuilder) Post(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScopesItemAccessPackageResourceRefreshRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go index cf4f1463845..47202676f14 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go @@ -35,7 +35,7 @@ func NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItem // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceRefreshRequestBuilder) Post(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceRefreshRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go index d84cf49ae25..282f3825ded 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go @@ -35,7 +35,7 @@ func NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItem // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceRolesItemAccessPackageResourceRefreshRequestBuilder) Post(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceRolesItemAccessPackageResourceRefreshRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go index a4557923960..c196fff064a 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go @@ -35,7 +35,7 @@ func NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItem // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceRefreshRequestBuilder) Post(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceRefreshRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go index 316cc8caedb..d97d462fdcc 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go @@ -35,7 +35,7 @@ func NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItem // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceScopesItemAccessPackageResourceRefreshRequestBuilder) Post(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemAccessPackageResourceScopesItemAccessPackageResourceRefreshRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_refresh_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_refresh_request_builder.go index 3a151eba8e2..b44ab8fd679 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_refresh_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_refresh_request_builder.go @@ -35,7 +35,7 @@ func NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItem // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemRefreshRequestBuilder) Post(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesItemRefreshRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_request_builder.go index 56377e6bc9f..b1ea718abeb 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_request_builder.go @@ -11,7 +11,7 @@ import ( type EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesRequestBuilderGetQueryParameters retrieve a list of accessPackageResource objects in an accessPackageCatalog. To request to add or remove an accessPackageResource, use create accessPackageResourceRequest. +// EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesRequestBuilderGetQueryParameters get accessPackageResources from identityGovernance type EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -77,13 +77,10 @@ func NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesRequ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesRequestBuilder) Count()(*EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesCountRequestBuilder) { return NewEntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of accessPackageResource objects in an accessPackageCatalog. To request to add or remove an accessPackageResource, use create accessPackageResourceRequest. +// Get get accessPackageResources from identityGovernance // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a AccessPackageResourceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackagecatalog-list-accesspackageresources?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageResourceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -122,7 +119,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesReq } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageResourceable), nil } -// ToGetRequestInformation retrieve a list of accessPackageResource objects in an accessPackageCatalog. To request to add or remove an accessPackageResource, use create accessPackageResourceRequest. +// ToGetRequestInformation get accessPackageResources from identityGovernance // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_custom_access_package_workflow_extensions_custom_access_package_workflow_extension_item_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_custom_access_package_workflow_extensions_custom_access_package_workflow_extension_item_request_builder.go index 534c6105eca..496f20d80f4 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_custom_access_package_workflow_extensions_custom_access_package_workflow_extension_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_custom_access_package_workflow_extensions_custom_access_package_workflow_extension_item_request_builder.go @@ -18,7 +18,7 @@ type EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowEx // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsCustomAccessPackageWorkflowExtensionItemRequestBuilderGetQueryParameters read the properties and relationships of a customAccessPackageWorkflowExtension object for an accessPackageCatalog object. +// EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsCustomAccessPackageWorkflowExtensionItemRequestBuilderGetQueryParameters get customAccessPackageWorkflowExtensions from identityGovernance type EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsCustomAccessPackageWorkflowExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,12 +54,9 @@ func NewEntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflo urlParams["request-raw-url"] = rawUrl return NewEntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsCustomAccessPackageWorkflowExtensionItemRequestBuilderInternal(urlParams, requestAdapter) } -// 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. +// Delete delete navigation property customAccessPackageWorkflowExtensions for identityGovernance // 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/customaccesspackageworkflowextension-delete?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsCustomAccessPackageWorkflowExtensionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsCustomAccessPackageWorkflowExtensionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -74,13 +71,10 @@ func (m *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkfl } return nil } -// Get read the properties and relationships of a customAccessPackageWorkflowExtension object for an accessPackageCatalog object. +// Get get customAccessPackageWorkflowExtensions from identityGovernance // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a CustomAccessPackageWorkflowExtensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/customaccesspackageworkflowextension-get?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsCustomAccessPackageWorkflowExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsCustomAccessPackageWorkflowExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomAccessPackageWorkflowExtensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,13 +92,10 @@ func (m *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkfl } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomAccessPackageWorkflowExtensionable), nil } -// Patch update the properties of an existing customAccessPackageWorkflowExtension object. +// Patch update the navigation property customAccessPackageWorkflowExtensions in identityGovernance // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a CustomAccessPackageWorkflowExtensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/customaccesspackageworkflowextension-update?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsCustomAccessPackageWorkflowExtensionItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomAccessPackageWorkflowExtensionable, requestConfiguration *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsCustomAccessPackageWorkflowExtensionItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomAccessPackageWorkflowExtensionable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +113,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkfl } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomAccessPackageWorkflowExtensionable), nil } -// 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. +// ToDeleteRequestInformation delete navigation property customAccessPackageWorkflowExtensions for identityGovernance // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsCustomAccessPackageWorkflowExtensionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsCustomAccessPackageWorkflowExtensionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -134,7 +125,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkfl requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a customAccessPackageWorkflowExtension object for an accessPackageCatalog object. +// ToGetRequestInformation get customAccessPackageWorkflowExtensions from identityGovernance // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsCustomAccessPackageWorkflowExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsCustomAccessPackageWorkflowExtensionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -149,7 +140,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkfl requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an existing customAccessPackageWorkflowExtension object. +// ToPatchRequestInformation update the navigation property customAccessPackageWorkflowExtensions in identityGovernance // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsCustomAccessPackageWorkflowExtensionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomAccessPackageWorkflowExtensionable, requestConfiguration *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsCustomAccessPackageWorkflowExtensionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_custom_access_package_workflow_extensions_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_custom_access_package_workflow_extensions_request_builder.go index 5a89b17019f..8c99d62a37a 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_custom_access_package_workflow_extensions_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_custom_access_package_workflow_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsRequestBuilderGetQueryParameters get a list of the customAccessPackageWorkflowExtension objects and their properties. The resulting list includes all the customAccessPackageWorkflowExtension objects for the catalog that the caller has access to read. +// EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsRequestBuilderGetQueryParameters get customAccessPackageWorkflowExtensions from identityGovernance type EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -77,13 +77,10 @@ func NewEntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflo func (m *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsRequestBuilder) Count()(*EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsCountRequestBuilder) { return NewEntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the customAccessPackageWorkflowExtension objects and their properties. The resulting list includes all the customAccessPackageWorkflowExtension objects for the catalog that the caller has access to read. +// Get get customAccessPackageWorkflowExtensions from identityGovernance // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a CustomAccessPackageWorkflowExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackagecatalog-list-customaccesspackageworkflowextensions?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomAccessPackageWorkflowExtensionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,13 +98,10 @@ func (m *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkfl } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomAccessPackageWorkflowExtensionCollectionResponseable), nil } -// Post create a new customAccessPackageWorkflowExtension object and add it to an existing accessPackageCatalog object. +// Post create new navigation property to customAccessPackageWorkflowExtensions for identityGovernance // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a CustomAccessPackageWorkflowExtensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackagecatalog-post-customaccesspackageworkflowextensions?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomAccessPackageWorkflowExtensionable, requestConfiguration *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomAccessPackageWorkflowExtensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkfl } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomAccessPackageWorkflowExtensionable), nil } -// ToGetRequestInformation get a list of the customAccessPackageWorkflowExtension objects and their properties. The resulting list includes all the customAccessPackageWorkflowExtension objects for the catalog that the caller has access to read. +// ToGetRequestInformation get customAccessPackageWorkflowExtensions from identityGovernance // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -140,7 +134,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkfl requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new customAccessPackageWorkflowExtension object and add it to an existing accessPackageCatalog object. +// ToPostRequestInformation create new navigation property to customAccessPackageWorkflowExtensions for identityGovernance // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomAccessPackageWorkflowExtensionable, requestConfiguration *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/identitygovernance/entitlement_management_access_package_catalogs_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_request_builder.go index f52e527e54d..fe67379ef31 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_request_builder.go @@ -11,7 +11,7 @@ import ( type EntitlementManagementAccessPackageCatalogsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementAccessPackageCatalogsRequestBuilderGetQueryParameters retrieve a list of accessPackageCatalog objects. +// EntitlementManagementAccessPackageCatalogsRequestBuilderGetQueryParameters a container of access packages. type EntitlementManagementAccessPackageCatalogsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -77,13 +77,10 @@ func NewEntitlementManagementAccessPackageCatalogsRequestBuilder(rawUrl string, func (m *EntitlementManagementAccessPackageCatalogsRequestBuilder) Count()(*EntitlementManagementAccessPackageCatalogsCountRequestBuilder) { return NewEntitlementManagementAccessPackageCatalogsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of accessPackageCatalog objects. +// Get a container of access packages. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a AccessPackageCatalogCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/entitlementmanagement-list-accesspackagecatalogs?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackageCatalogsRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageCatalogsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageCatalogCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,13 +98,10 @@ func (m *EntitlementManagementAccessPackageCatalogsRequestBuilder) Get(ctx conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageCatalogCollectionResponseable), nil } -// Post create a new accessPackageCatalog object. +// Post create new navigation property to accessPackageCatalogs for identityGovernance // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a AccessPackageCatalogable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/entitlementmanagement-post-accesspackagecatalogs?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackageCatalogsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageCatalogable, requestConfiguration *EntitlementManagementAccessPackageCatalogsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageCatalogable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -130,7 +124,7 @@ func (m *EntitlementManagementAccessPackageCatalogsRequestBuilder) Post(ctx cont func (m *EntitlementManagementAccessPackageCatalogsRequestBuilder) Search()(*EntitlementManagementAccessPackageCatalogsSearchRequestBuilder) { return NewEntitlementManagementAccessPackageCatalogsSearchRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation retrieve a list of accessPackageCatalog objects. +// ToGetRequestInformation a container of access packages. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackageCatalogsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageCatalogsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -145,7 +139,7 @@ func (m *EntitlementManagementAccessPackageCatalogsRequestBuilder) ToGetRequestI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new accessPackageCatalog object. +// ToPostRequestInformation create new navigation property to accessPackageCatalogs for identityGovernance // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackageCatalogsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageCatalogable, requestConfiguration *EntitlementManagementAccessPackageCatalogsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/identitygovernance/entitlement_management_access_package_resource_environments_access_package_resource_environment_item_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_environments_access_package_resource_environment_item_request_builder.go index c5bfc1f79d3..9ea43dbfe8f 100644 --- a/identitygovernance/entitlement_management_access_package_resource_environments_access_package_resource_environment_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_environments_access_package_resource_environment_item_request_builder.go @@ -18,7 +18,7 @@ type EntitlementManagementAccessPackageResourceEnvironmentsAccessPackageResource // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EntitlementManagementAccessPackageResourceEnvironmentsAccessPackageResourceEnvironmentItemRequestBuilderGetQueryParameters read the properties and relationships of an accessPackageResourceEnvironment object. +// EntitlementManagementAccessPackageResourceEnvironmentsAccessPackageResourceEnvironmentItemRequestBuilderGetQueryParameters a reference to the geolocation environment in which a resource is located. type EntitlementManagementAccessPackageResourceEnvironmentsAccessPackageResourceEnvironmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *EntitlementManagementAccessPackageResourceEnvironmentsAccessPackageReso } return nil } -// Get read the properties and relationships of an accessPackageResourceEnvironment object. +// Get a reference to the geolocation environment in which a resource is located. // returns a AccessPackageResourceEnvironmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresourceenvironment-get?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackageResourceEnvironmentsAccessPackageResourceEnvironmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageResourceEnvironmentsAccessPackageResourceEnvironmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageResourceEnvironmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *EntitlementManagementAccessPackageResourceEnvironmentsAccessPackageReso requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an accessPackageResourceEnvironment object. +// ToGetRequestInformation a reference to the geolocation environment in which a resource is located. // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackageResourceEnvironmentsAccessPackageResourceEnvironmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageResourceEnvironmentsAccessPackageResourceEnvironmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/entitlement_management_access_package_resource_environments_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_environments_request_builder.go index c603e8ba654..361ba63e2bc 100644 --- a/identitygovernance/entitlement_management_access_package_resource_environments_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_environments_request_builder.go @@ -11,7 +11,7 @@ import ( type EntitlementManagementAccessPackageResourceEnvironmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementAccessPackageResourceEnvironmentsRequestBuilderGetQueryParameters retrieve a list of accessPackageResourceEnvironment objects and their properties. +// EntitlementManagementAccessPackageResourceEnvironmentsRequestBuilderGetQueryParameters a reference to the geolocation environment in which a resource is located. type EntitlementManagementAccessPackageResourceEnvironmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewEntitlementManagementAccessPackageResourceEnvironmentsRequestBuilder(raw func (m *EntitlementManagementAccessPackageResourceEnvironmentsRequestBuilder) Count()(*EntitlementManagementAccessPackageResourceEnvironmentsCountRequestBuilder) { return NewEntitlementManagementAccessPackageResourceEnvironmentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of accessPackageResourceEnvironment objects and their properties. +// Get a reference to the geolocation environment in which a resource is located. // returns a AccessPackageResourceEnvironmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/entitlementmanagement-list-accesspackageresourceenvironment?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackageResourceEnvironmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageResourceEnvironmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageResourceEnvironmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *EntitlementManagementAccessPackageResourceEnvironmentsRequestBuilder) P } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageResourceEnvironmentable), nil } -// ToGetRequestInformation retrieve a list of accessPackageResourceEnvironment objects and their properties. +// ToGetRequestInformation a reference to the geolocation environment in which a resource is located. // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackageResourceEnvironmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageResourceEnvironmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/entitlement_management_access_package_resource_requests_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_requests_request_builder.go index 6830f3cd41b..cb09220eed5 100644 --- a/identitygovernance/entitlement_management_access_package_resource_requests_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_requests_request_builder.go @@ -11,7 +11,7 @@ import ( type EntitlementManagementAccessPackageResourceRequestsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementAccessPackageResourceRequestsRequestBuilderGetQueryParameters retrieve a list of accessPackageResourceRequest objects. +// EntitlementManagementAccessPackageResourceRequestsRequestBuilderGetQueryParameters represents a request to add or remove a resource to or from a catalog respectively. type EntitlementManagementAccessPackageResourceRequestsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewEntitlementManagementAccessPackageResourceRequestsRequestBuilder(rawUrl func (m *EntitlementManagementAccessPackageResourceRequestsRequestBuilder) Count()(*EntitlementManagementAccessPackageResourceRequestsCountRequestBuilder) { return NewEntitlementManagementAccessPackageResourceRequestsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of accessPackageResourceRequest objects. +// Get represents a request to add or remove a resource to or from a catalog respectively. // returns a AccessPackageResourceRequestCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/entitlementmanagement-list-accesspackageresourcerequests?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackageResourceRequestsRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageResourceRequestsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageResourceRequestCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *EntitlementManagementAccessPackageResourceRequestsRequestBuilder) Get(c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageResourceRequestCollectionResponseable), nil } -// Post create a new accessPackageResourceRequest object to request the addition of a resource to an access package catalog, update of a resource, or the removal of a resource from a catalog. A resource must be included in an access package catalog before a role of that resource can be added to an access package. +// Post create new navigation property to accessPackageResourceRequests for identityGovernance // returns a AccessPackageResourceRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/entitlementmanagement-post-accesspackageresourcerequests?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackageResourceRequestsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageResourceRequestable, requestConfiguration *EntitlementManagementAccessPackageResourceRequestsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageResourceRequestable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *EntitlementManagementAccessPackageResourceRequestsRequestBuilder) Post( } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageResourceRequestable), nil } -// ToGetRequestInformation retrieve a list of accessPackageResourceRequest objects. +// ToGetRequestInformation represents a request to add or remove a resource to or from a catalog respectively. // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackageResourceRequestsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageResourceRequestsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *EntitlementManagementAccessPackageResourceRequestsRequestBuilder) ToGet requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new accessPackageResourceRequest object to request the addition of a resource to an access package catalog, update of a resource, or the removal of a resource from a catalog. A resource must be included in an access package catalog before a role of that resource can be added to an access package. +// ToPostRequestInformation create new navigation property to accessPackageResourceRequests for identityGovernance // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackageResourceRequestsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageResourceRequestable, requestConfiguration *EntitlementManagementAccessPackageResourceRequestsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go index 9d40c8c1bd2..5185fd5f89f 100644 --- a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go @@ -34,7 +34,7 @@ func NewEntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRes // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceRefreshRequestBuilder) Post(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceRefreshRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_refresh_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_refresh_request_builder.go index 00df6b3a678..017b573ec88 100644 --- a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_refresh_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_refresh_request_builder.go @@ -34,7 +34,7 @@ func NewEntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRes // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceRefreshRequestBuilder) Post(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceRefreshRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go index b0e5e5014e4..8eabd2a9a44 100644 --- a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go @@ -34,7 +34,7 @@ func NewEntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRes // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceRefreshRequestBuilder) Post(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceRefreshRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_refresh_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_refresh_request_builder.go index 518ac3d17fb..474be0c7bdc 100644 --- a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_refresh_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_refresh_request_builder.go @@ -34,7 +34,7 @@ func NewEntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRes // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceRefreshRequestBuilder) Post(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceRefreshRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go index a2a73fc1a0b..eda6210d18b 100644 --- a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go @@ -34,7 +34,7 @@ func NewEntitlementManagementAccessPackageResourcesItemAccessPackageResourceRole // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceRefreshRequestBuilder) Post(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRolesItemAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceRefreshRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go index 88cc7c1fd67..7fc32a8f0cd 100644 --- a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go @@ -34,7 +34,7 @@ func NewEntitlementManagementAccessPackageResourcesItemAccessPackageResourceRole // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRolesItemAccessPackageResourceRefreshRequestBuilder) Post(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRolesItemAccessPackageResourceRefreshRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go index 30245697098..bee2f2a77fe 100644 --- a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go @@ -34,7 +34,7 @@ func NewEntitlementManagementAccessPackageResourcesItemAccessPackageResourceScop // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceRefreshRequestBuilder) Post(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceScopesItemAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceRefreshRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go index b3ab4521e87..0ce1c8dbf7c 100644 --- a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go @@ -34,7 +34,7 @@ func NewEntitlementManagementAccessPackageResourcesItemAccessPackageResourceScop // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceScopesItemAccessPackageResourceRefreshRequestBuilder) Post(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceScopesItemAccessPackageResourceRefreshRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/entitlement_management_access_package_resources_item_refresh_request_builder.go b/identitygovernance/entitlement_management_access_package_resources_item_refresh_request_builder.go index c6a9d1feb10..afee6441ef8 100644 --- a/identitygovernance/entitlement_management_access_package_resources_item_refresh_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resources_item_refresh_request_builder.go @@ -34,7 +34,7 @@ func NewEntitlementManagementAccessPackageResourcesItemRefreshRequestBuilder(raw // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta func (m *EntitlementManagementAccessPackageResourcesItemRefreshRequestBuilder) Post(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageResourcesItemRefreshRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { 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 d8b8efe4435..1b27f098478 100644 --- a/identitygovernance/entitlement_management_access_packages_access_package_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_access_package_item_request_builder.go @@ -18,7 +18,7 @@ type EntitlementManagementAccessPackagesAccessPackageItemRequestBuilderDeleteReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EntitlementManagementAccessPackagesAccessPackageItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an accessPackage object. +// EntitlementManagementAccessPackagesAccessPackageItemRequestBuilderGetQueryParameters represents access package objects. type EntitlementManagementAccessPackagesAccessPackageItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -74,11 +74,8 @@ func NewEntitlementManagementAccessPackagesAccessPackageItemRequestBuilder(rawUr urlParams["request-raw-url"] = rawUrl return NewEntitlementManagementAccessPackagesAccessPackageItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an accessPackage object. You can't delete an access package if it has any accessPackageAssignment. To delete the access package, first query if there are any assignments with a filter to indicate the specific access package, such as: $filter=accessPackage/id eq 'a914b616-e04e-476b-aa37-91038f0b165b'. For more information on how to remove assignments that are still in the delivered state, see Remove an assignment. +// Delete delete navigation property accessPackages for identityGovernance // returns a ODataError error 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-delete?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilder) Del } return nil } -// Get retrieve the properties and relationships of an accessPackage object. +// Get represents access package objects. // returns a AccessPackageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackage-get?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -136,12 +130,9 @@ func (m *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilder) Inc func (m *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilder) MoveToCatalog()(*EntitlementManagementAccessPackagesItemMoveToCatalogRequestBuilder) { return NewEntitlementManagementAccessPackagesItemMoveToCatalogRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update an existing accessPackage object to change one or more of its properties, such as the display name or description. +// Patch update the navigation property accessPackages in identityGovernance // 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-update?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageable, requestConfiguration *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -159,7 +150,7 @@ func (m *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilder) Pat } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageable), nil } -// ToDeleteRequestInformation delete an accessPackage object. You can't delete an access package if it has any accessPackageAssignment. To delete the access package, first query if there are any assignments with a filter to indicate the specific access package, such as: $filter=accessPackage/id eq 'a914b616-e04e-476b-aa37-91038f0b165b'. For more information on how to remove assignments that are still in the delivered state, see Remove an assignment. +// ToDeleteRequestInformation delete navigation property accessPackages for identityGovernance // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -170,7 +161,7 @@ func (m *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilder) ToD requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of an accessPackage object. +// ToGetRequestInformation represents access package objects. // 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) @@ -184,7 +175,7 @@ func (m *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilder) ToG requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update an existing accessPackage object to change one or more of its properties, such as the display name or description. +// ToPatchRequestInformation update the navigation property accessPackages in identityGovernance // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageable, requestConfiguration *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/entitlement_management_access_packages_filter_by_current_user_with_on_request_builder.go b/identitygovernance/entitlement_management_access_packages_filter_by_current_user_with_on_request_builder.go index 34cc5907554..f5194af6f02 100644 --- a/identitygovernance/entitlement_management_access_packages_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_filter_by_current_user_with_on_request_builder.go @@ -10,7 +10,7 @@ import ( type EntitlementManagementAccessPackagesFilterByCurrentUserWithOnRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementAccessPackagesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters invoke function filterByCurrentUser +// EntitlementManagementAccessPackagesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters in Microsoft Entra Entitlement Management, retrieve a list of accessPackage objects filtered on the signed-in user. type EntitlementManagementAccessPackagesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewEntitlementManagementAccessPackagesFilterByCurrentUserWithOnRequestBuild urlParams["request-raw-url"] = rawUrl return NewEntitlementManagementAccessPackagesFilterByCurrentUserWithOnRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function filterByCurrentUser +// Get in Microsoft Entra Entitlement Management, retrieve a list of accessPackage objects filtered on the signed-in user. // Deprecated: This method is obsolete. Use GetAsFilterByCurrentUserWithOnGetResponse instead. // returns a EntitlementManagementAccessPackagesFilterByCurrentUserWithOnResponseable when successful // returns a ODataError error 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-filterbycurrentuser?view=graph-rest-beta func (m *EntitlementManagementAccessPackagesFilterByCurrentUserWithOnRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackagesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(EntitlementManagementAccessPackagesFilterByCurrentUserWithOnResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *EntitlementManagementAccessPackagesFilterByCurrentUserWithOnRequestBuil } return res.(EntitlementManagementAccessPackagesFilterByCurrentUserWithOnResponseable), nil } -// GetAsFilterByCurrentUserWithOnGetResponse invoke function filterByCurrentUser +// GetAsFilterByCurrentUserWithOnGetResponse in Microsoft Entra Entitlement Management, retrieve a list of accessPackage objects filtered on the signed-in user. // returns a EntitlementManagementAccessPackagesFilterByCurrentUserWithOnGetResponseable when successful // returns a ODataError error 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-filterbycurrentuser?view=graph-rest-beta func (m *EntitlementManagementAccessPackagesFilterByCurrentUserWithOnRequestBuilder) GetAsFilterByCurrentUserWithOnGetResponse(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackagesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(EntitlementManagementAccessPackagesFilterByCurrentUserWithOnGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *EntitlementManagementAccessPackagesFilterByCurrentUserWithOnRequestBuil } return res.(EntitlementManagementAccessPackagesFilterByCurrentUserWithOnGetResponseable), nil } -// ToGetRequestInformation invoke function filterByCurrentUser +// ToGetRequestInformation in Microsoft Entra Entitlement Management, retrieve a list of accessPackage objects filtered on the signed-in user. // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackagesFilterByCurrentUserWithOnRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackagesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go index cd8636075bb..73de8c7fb7e 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go @@ -34,7 +34,7 @@ func NewEntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesIt // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceRefreshRequestBuilder) Post(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceAccessPackageResourceScopesItemAccessPackageResourceRefreshRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_refresh_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_refresh_request_builder.go index deb41a6c002..3cd87e2bcc3 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_refresh_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_refresh_request_builder.go @@ -34,7 +34,7 @@ func NewEntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesIt // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceRefreshRequestBuilder) Post(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceRoleAccessPackageResourceRefreshRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go index e438752ac56..889ddb3cb3f 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go @@ -34,7 +34,7 @@ func NewEntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesIt // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceRefreshRequestBuilder) Post(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceAccessPackageResourceRolesItemAccessPackageResourceRefreshRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_refresh_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_refresh_request_builder.go index c4c16b0109c..93203962f27 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_refresh_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_refresh_request_builder.go @@ -34,7 +34,7 @@ func NewEntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesIt // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageresource-refresh?view=graph-rest-beta func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceRefreshRequestBuilder) Post(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesItemAccessPackageResourceScopeAccessPackageResourceRefreshRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_request_builder.go index 8084679d32b..a94aff9baa2 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_request_builder.go @@ -96,12 +96,9 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesR } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageResourceRoleScopeCollectionResponseable), nil } -// Post create a new accessPackageResourceRoleScope for adding a resource role to an access package. The access package resource, for a group, an app, or a SharePoint Online site, must already exist in the access package catalog, and the originId for the resource role retrieved from the list of the resource roles. Once you add the resource role scope to the access package, the user will receive this resource role through any current and future access package assignments. +// Post create new navigation property to accessPackageResourceRoleScopes for identityGovernance // returns a AccessPackageResourceRoleScopeable when successful // returns a ODataError error 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-post-accesspackageresourcerolescopes?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageResourceRoleScopeable, requestConfiguration *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageResourceRoleScopeable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -133,7 +130,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new accessPackageResourceRoleScope for adding a resource role to an access package. The access package resource, for a group, an app, or a SharePoint Online site, must already exist in the access package catalog, and the originId for the resource role retrieved from the list of the resource roles. Once you add the resource role scope to the access package, the user will receive this resource role through any current and future access package assignments. +// ToPostRequestInformation create new navigation property to accessPackageResourceRoleScopes for identityGovernance // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageResourceRoleScopeable, requestConfiguration *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/entitlement_management_access_packages_item_access_packages_incompatible_with_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_packages_incompatible_with_request_builder.go index 437ea1a26fb..130d230d0a1 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_packages_incompatible_with_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_packages_incompatible_with_request_builder.go @@ -11,7 +11,7 @@ import ( type EntitlementManagementAccessPackagesItemAccessPackagesIncompatibleWithRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementAccessPackagesItemAccessPackagesIncompatibleWithRequestBuilderGetQueryParameters retrieve a list of the accessPackage objects marked a specified accessPackage as incompatible. +// EntitlementManagementAccessPackagesItemAccessPackagesIncompatibleWithRequestBuilderGetQueryParameters the access packages that are incompatible with this package. Read-only. type EntitlementManagementAccessPackagesItemAccessPackagesIncompatibleWithRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewEntitlementManagementAccessPackagesItemAccessPackagesIncompatibleWithReq func (m *EntitlementManagementAccessPackagesItemAccessPackagesIncompatibleWithRequestBuilder) Count()(*EntitlementManagementAccessPackagesItemAccessPackagesIncompatibleWithCountRequestBuilder) { return NewEntitlementManagementAccessPackagesItemAccessPackagesIncompatibleWithCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of the accessPackage objects marked a specified accessPackage as incompatible. +// Get the access packages that are incompatible with this package. Read-only. // returns a AccessPackageCollectionResponseable when successful // returns a ODataError error 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-accesspackagesincompatiblewith?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackagesItemAccessPackagesIncompatibleWithRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackagesItemAccessPackagesIncompatibleWithRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackagesIncompatibleWithRe } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageCollectionResponseable), nil } -// ToGetRequestInformation retrieve a list of the accessPackage objects marked a specified accessPackage as incompatible. +// ToGetRequestInformation the access packages that are incompatible with this package. Read-only. // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackagesItemAccessPackagesIncompatibleWithRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackagesItemAccessPackagesIncompatibleWithRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/entitlement_management_access_packages_item_get_applicable_policy_requirements_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_get_applicable_policy_requirements_request_builder.go index ce1254d779a..f1466e704ab 100644 --- a/identitygovernance/entitlement_management_access_packages_item_get_applicable_policy_requirements_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_get_applicable_policy_requirements_request_builder.go @@ -36,7 +36,7 @@ func NewEntitlementManagementAccessPackagesItemGetApplicablePolicyRequirementsRe // returns a ODataError error 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-getapplicablepolicyrequirements?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackage-getapplicablepolicyrequirements?view=graph-rest-beta func (m *EntitlementManagementAccessPackagesItemGetApplicablePolicyRequirementsRequestBuilder) Post(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackagesItemGetApplicablePolicyRequirementsRequestBuilderPostRequestConfiguration)(EntitlementManagementAccessPackagesItemGetApplicablePolicyRequirementsResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *EntitlementManagementAccessPackagesItemGetApplicablePolicyRequirementsR // returns a ODataError error 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-getapplicablepolicyrequirements?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackage-getapplicablepolicyrequirements?view=graph-rest-beta func (m *EntitlementManagementAccessPackagesItemGetApplicablePolicyRequirementsRequestBuilder) PostAsGetApplicablePolicyRequirementsPostResponse(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackagesItemGetApplicablePolicyRequirementsRequestBuilderPostRequestConfiguration)(EntitlementManagementAccessPackagesItemGetApplicablePolicyRequirementsPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/entitlement_management_access_packages_item_incompatible_access_packages_item_ref_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_incompatible_access_packages_item_ref_request_builder.go index 588dfc609fe..bd73eac1012 100644 --- a/identitygovernance/entitlement_management_access_packages_item_incompatible_access_packages_item_ref_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_incompatible_access_packages_item_ref_request_builder.go @@ -30,11 +30,8 @@ func NewEntitlementManagementAccessPackagesItemIncompatibleAccessPackagesItemRef urlParams["request-raw-url"] = rawUrl return NewEntitlementManagementAccessPackagesItemIncompatibleAccessPackagesItemRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove an access package from the list of access packages marked as incompatible on an accessPackage. +// Delete delete ref of navigation property incompatibleAccessPackages for identityGovernance // returns a ODataError error 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-delete-incompatibleaccesspackage?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesItemRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesItemRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -49,7 +46,7 @@ func (m *EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesItemRe } return nil } -// ToDeleteRequestInformation remove an access package from the list of access packages marked as incompatible on an accessPackage. +// ToDeleteRequestInformation delete ref of navigation property incompatibleAccessPackages for identityGovernance // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesItemRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesItemRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/entitlement_management_access_packages_item_incompatible_access_packages_ref_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_incompatible_access_packages_ref_request_builder.go index 87078920e14..ef945b0eb3a 100644 --- a/identitygovernance/entitlement_management_access_packages_item_incompatible_access_packages_ref_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_incompatible_access_packages_ref_request_builder.go @@ -11,7 +11,7 @@ import ( type EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRefRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRefRequestBuilderDeleteQueryParameters remove an access package from the list of access packages marked as incompatible on an accessPackage. +// EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRefRequestBuilderDeleteQueryParameters delete ref of navigation property incompatibleAccessPackages for identityGovernance type EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRefRequestBuilderDeleteQueryParameters struct { // The delete Uri Id *string `uriparametername:"%40id"` @@ -25,7 +25,7 @@ type EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRefRequest // Request query parameters QueryParameters *EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRefRequestBuilderDeleteQueryParameters } -// EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRefRequestBuilderGetQueryParameters retrieve a list of the accessPackage objects marked as incompatible on an accessPackage. +// EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRefRequestBuilderGetQueryParameters the access packages whose assigned users are ineligible to be assigned this access package. type EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRefRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,11 +69,8 @@ func NewEntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRefRequ urlParams["request-raw-url"] = rawUrl return NewEntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove an access package from the list of access packages marked as incompatible on an accessPackage. +// Delete delete ref of navigation property incompatibleAccessPackages for identityGovernance // returns a ODataError error 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-delete-incompatibleaccesspackage?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -88,12 +85,9 @@ func (m *EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRefReq } return nil } -// Get retrieve a list of the accessPackage objects marked as incompatible on an accessPackage. +// Get the access packages whose assigned users are ineligible to be assigned this access package. // returns a StringCollectionResponseable when successful // returns a ODataError error 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-incompatibleaccesspackages?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRefRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRefRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -111,11 +105,8 @@ func (m *EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRefReq } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable), nil } -// Post add an accessPackage to the list of access packages marked as incompatible on an accessPackage. +// Post create new navigation property ref to incompatibleAccessPackages for identityGovernance // returns a ODataError error 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-post-incompatibleaccesspackage?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRefRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRefRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -130,7 +121,7 @@ func (m *EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRefReq } return nil } -// ToDeleteRequestInformation remove an access package from the list of access packages marked as incompatible on an accessPackage. +// ToDeleteRequestInformation delete ref of navigation property incompatibleAccessPackages for identityGovernance // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/incompatibleAccessPackages/$ref?@id={%40id}", m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRefReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a list of the accessPackage objects marked as incompatible on an accessPackage. +// ToGetRequestInformation the access packages whose assigned users are ineligible to be assigned this access package. // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/incompatibleAccessPackages/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) @@ -158,7 +149,7 @@ func (m *EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRefReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add an accessPackage to the list of access packages marked as incompatible on an accessPackage. +// ToPostRequestInformation create new navigation property ref to incompatibleAccessPackages for identityGovernance // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/incompatibleAccessPackages/$ref", m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/entitlement_management_access_packages_item_incompatible_access_packages_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_incompatible_access_packages_request_builder.go index 1662b04c5da..3b4d5e891d1 100644 --- a/identitygovernance/entitlement_management_access_packages_item_incompatible_access_packages_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_incompatible_access_packages_request_builder.go @@ -11,7 +11,7 @@ import ( type EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRequestBuilderGetQueryParameters retrieve a list of the accessPackage objects marked as incompatible on an accessPackage. +// EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRequestBuilderGetQueryParameters the access packages whose assigned users are ineligible to be assigned this access package. type EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewEntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRequest func (m *EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRequestBuilder) Count()(*EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesCountRequestBuilder) { return NewEntitlementManagementAccessPackagesItemIncompatibleAccessPackagesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of the accessPackage objects marked as incompatible on an accessPackage. +// Get the access packages whose assigned users are ineligible to be assigned this access package. // returns a AccessPackageCollectionResponseable when successful // returns a ODataError error 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-incompatibleaccesspackages?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -97,7 +94,7 @@ func (m *EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesReques func (m *EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRequestBuilder) Ref()(*EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRefRequestBuilder) { return NewEntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRefRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation retrieve a list of the accessPackage objects marked as incompatible on an accessPackage. +// ToGetRequestInformation the access packages whose assigned users are ineligible to be assigned this access package. // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/entitlement_management_access_packages_item_incompatible_groups_item_ref_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_incompatible_groups_item_ref_request_builder.go index e5073601268..2bfd2293bd1 100644 --- a/identitygovernance/entitlement_management_access_packages_item_incompatible_groups_item_ref_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_incompatible_groups_item_ref_request_builder.go @@ -30,11 +30,8 @@ func NewEntitlementManagementAccessPackagesItemIncompatibleGroupsItemRefRequestB urlParams["request-raw-url"] = rawUrl return NewEntitlementManagementAccessPackagesItemIncompatibleGroupsItemRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove a group from the list of groups marked as incompatible on an accessPackage. +// Delete delete ref of navigation property incompatibleGroups for identityGovernance // returns a ODataError error 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-delete-incompatiblegroup?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackagesItemIncompatibleGroupsItemRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackagesItemIncompatibleGroupsItemRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -49,7 +46,7 @@ func (m *EntitlementManagementAccessPackagesItemIncompatibleGroupsItemRefRequest } return nil } -// ToDeleteRequestInformation remove a group from the list of groups marked as incompatible on an accessPackage. +// ToDeleteRequestInformation delete ref of navigation property incompatibleGroups for identityGovernance // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackagesItemIncompatibleGroupsItemRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackagesItemIncompatibleGroupsItemRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/entitlement_management_access_packages_item_incompatible_groups_ref_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_incompatible_groups_ref_request_builder.go index 4db70c23e73..587d8c09d32 100644 --- a/identitygovernance/entitlement_management_access_packages_item_incompatible_groups_ref_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_incompatible_groups_ref_request_builder.go @@ -11,7 +11,7 @@ import ( type EntitlementManagementAccessPackagesItemIncompatibleGroupsRefRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementAccessPackagesItemIncompatibleGroupsRefRequestBuilderDeleteQueryParameters remove a group from the list of groups marked as incompatible on an accessPackage. +// EntitlementManagementAccessPackagesItemIncompatibleGroupsRefRequestBuilderDeleteQueryParameters delete ref of navigation property incompatibleGroups for identityGovernance type EntitlementManagementAccessPackagesItemIncompatibleGroupsRefRequestBuilderDeleteQueryParameters struct { // The delete Uri Id *string `uriparametername:"%40id"` @@ -25,7 +25,7 @@ type EntitlementManagementAccessPackagesItemIncompatibleGroupsRefRequestBuilderD // Request query parameters QueryParameters *EntitlementManagementAccessPackagesItemIncompatibleGroupsRefRequestBuilderDeleteQueryParameters } -// EntitlementManagementAccessPackagesItemIncompatibleGroupsRefRequestBuilderGetQueryParameters retrieve a list of the group objects marked as incompatible on an accessPackage. +// EntitlementManagementAccessPackagesItemIncompatibleGroupsRefRequestBuilderGetQueryParameters the groups whose members are ineligible to be assigned this access package. type EntitlementManagementAccessPackagesItemIncompatibleGroupsRefRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,11 +69,8 @@ func NewEntitlementManagementAccessPackagesItemIncompatibleGroupsRefRequestBuild urlParams["request-raw-url"] = rawUrl return NewEntitlementManagementAccessPackagesItemIncompatibleGroupsRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove a group from the list of groups marked as incompatible on an accessPackage. +// Delete delete ref of navigation property incompatibleGroups for identityGovernance // returns a ODataError error 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-delete-incompatiblegroup?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackagesItemIncompatibleGroupsRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackagesItemIncompatibleGroupsRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -88,12 +85,9 @@ func (m *EntitlementManagementAccessPackagesItemIncompatibleGroupsRefRequestBuil } return nil } -// Get retrieve a list of the group objects marked as incompatible on an accessPackage. +// Get the groups whose members are ineligible to be assigned this access package. // returns a StringCollectionResponseable when successful // returns a ODataError error 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-incompatiblegroups?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackagesItemIncompatibleGroupsRefRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackagesItemIncompatibleGroupsRefRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -111,11 +105,8 @@ func (m *EntitlementManagementAccessPackagesItemIncompatibleGroupsRefRequestBuil } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable), nil } -// Post add a group to the list of groups marked as incompatible on an accessPackage. +// Post create new navigation property ref to incompatibleGroups for identityGovernance // returns a ODataError error 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-post-incompatiblegroup?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackagesItemIncompatibleGroupsRefRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *EntitlementManagementAccessPackagesItemIncompatibleGroupsRefRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -130,7 +121,7 @@ func (m *EntitlementManagementAccessPackagesItemIncompatibleGroupsRefRequestBuil } return nil } -// ToDeleteRequestInformation remove a group from the list of groups marked as incompatible on an accessPackage. +// ToDeleteRequestInformation delete ref of navigation property incompatibleGroups for identityGovernance // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackagesItemIncompatibleGroupsRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackagesItemIncompatibleGroupsRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/incompatibleGroups/$ref?@id={%40id}", m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *EntitlementManagementAccessPackagesItemIncompatibleGroupsRefRequestBuil requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a list of the group objects marked as incompatible on an accessPackage. +// ToGetRequestInformation the groups whose members are ineligible to be assigned this access package. // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackagesItemIncompatibleGroupsRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackagesItemIncompatibleGroupsRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/incompatibleGroups/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) @@ -158,7 +149,7 @@ func (m *EntitlementManagementAccessPackagesItemIncompatibleGroupsRefRequestBuil requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add a group to the list of groups marked as incompatible on an accessPackage. +// ToPostRequestInformation create new navigation property ref to incompatibleGroups for identityGovernance // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackagesItemIncompatibleGroupsRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *EntitlementManagementAccessPackagesItemIncompatibleGroupsRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/incompatibleGroups/$ref", m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/entitlement_management_access_packages_item_incompatible_groups_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_incompatible_groups_request_builder.go index 643e042fd36..9f3fc0c011a 100644 --- a/identitygovernance/entitlement_management_access_packages_item_incompatible_groups_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_incompatible_groups_request_builder.go @@ -11,7 +11,7 @@ import ( type EntitlementManagementAccessPackagesItemIncompatibleGroupsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementAccessPackagesItemIncompatibleGroupsRequestBuilderGetQueryParameters retrieve a list of the group objects marked as incompatible on an accessPackage. +// EntitlementManagementAccessPackagesItemIncompatibleGroupsRequestBuilderGetQueryParameters the groups whose members are ineligible to be assigned this access package. type EntitlementManagementAccessPackagesItemIncompatibleGroupsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewEntitlementManagementAccessPackagesItemIncompatibleGroupsRequestBuilder( func (m *EntitlementManagementAccessPackagesItemIncompatibleGroupsRequestBuilder) Count()(*EntitlementManagementAccessPackagesItemIncompatibleGroupsCountRequestBuilder) { return NewEntitlementManagementAccessPackagesItemIncompatibleGroupsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of the group objects marked as incompatible on an accessPackage. +// Get the groups whose members are ineligible to be assigned this access package. // returns a GroupCollectionResponseable when successful // returns a ODataError error 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-incompatiblegroups?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackagesItemIncompatibleGroupsRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackagesItemIncompatibleGroupsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.GroupCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -97,7 +94,7 @@ func (m *EntitlementManagementAccessPackagesItemIncompatibleGroupsRequestBuilder func (m *EntitlementManagementAccessPackagesItemIncompatibleGroupsRequestBuilder) Ref()(*EntitlementManagementAccessPackagesItemIncompatibleGroupsRefRequestBuilder) { return NewEntitlementManagementAccessPackagesItemIncompatibleGroupsRefRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation retrieve a list of the group objects marked as incompatible on an accessPackage. +// ToGetRequestInformation the groups whose members are ineligible to be assigned this access package. // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackagesItemIncompatibleGroupsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackagesItemIncompatibleGroupsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/entitlement_management_access_packages_item_move_to_catalog_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_move_to_catalog_request_builder.go index 4d54bcf169f..33a916c7852 100644 --- a/identitygovernance/entitlement_management_access_packages_item_move_to_catalog_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_move_to_catalog_request_builder.go @@ -34,7 +34,7 @@ func NewEntitlementManagementAccessPackagesItemMoveToCatalogRequestBuilder(rawUr // returns a ODataError error 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-movetocatalog?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackage-movetocatalog?view=graph-rest-beta func (m *EntitlementManagementAccessPackagesItemMoveToCatalogRequestBuilder) Post(ctx context.Context, body EntitlementManagementAccessPackagesItemMoveToCatalogPostRequestBodyable, requestConfiguration *EntitlementManagementAccessPackagesItemMoveToCatalogRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/identitygovernance/entitlement_management_access_packages_request_builder.go b/identitygovernance/entitlement_management_access_packages_request_builder.go index cbfdc269cc5..c6eaa8226c4 100644 --- a/identitygovernance/entitlement_management_access_packages_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_request_builder.go @@ -11,7 +11,7 @@ import ( type EntitlementManagementAccessPackagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementAccessPackagesRequestBuilderGetQueryParameters retrieve a list of accessPackage objects. The resulting list includes all the access packages that the caller has access to read, across all catalogs. +// EntitlementManagementAccessPackagesRequestBuilderGetQueryParameters represents access package objects. type EntitlementManagementAccessPackagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *EntitlementManagementAccessPackagesRequestBuilder) Count()(*Entitlement func (m *EntitlementManagementAccessPackagesRequestBuilder) FilterByCurrentUserWithOn(on *string)(*EntitlementManagementAccessPackagesFilterByCurrentUserWithOnRequestBuilder) { return NewEntitlementManagementAccessPackagesFilterByCurrentUserWithOnRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, on) } -// Get retrieve a list of accessPackage objects. The resulting list includes all the access packages that the caller has access to read, across all catalogs. +// Get represents access package objects. // returns a AccessPackageCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/entitlementmanagement-list-accesspackages?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackagesRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackagesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *EntitlementManagementAccessPackagesRequestBuilder) Get(ctx context.Cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageCollectionResponseable), nil } -// Post create a new accessPackage object. The access package will be added to an existing accessPackageCatalog. After the access package is created, you can then create accessPackageAssignmentPolicies which specify how users are assigned to the access package. +// Post create new navigation property to accessPackages for identityGovernance // 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/entitlementmanagement-post-accesspackages?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackagesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageable, requestConfiguration *EntitlementManagementAccessPackagesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -132,7 +126,7 @@ func (m *EntitlementManagementAccessPackagesRequestBuilder) Post(ctx context.Con func (m *EntitlementManagementAccessPackagesRequestBuilder) Search()(*EntitlementManagementAccessPackagesSearchRequestBuilder) { return NewEntitlementManagementAccessPackagesSearchRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation retrieve a list of accessPackage objects. The resulting list includes all the access packages that the caller has access to read, across all catalogs. +// ToGetRequestInformation represents access package objects. // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -146,7 +140,7 @@ func (m *EntitlementManagementAccessPackagesRequestBuilder) ToGetRequestInformat requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new accessPackage object. The access package will be added to an existing accessPackageCatalog. After the access package is created, you can then create accessPackageAssignmentPolicies which specify how users are assigned to the access package. +// ToPostRequestInformation create new navigation property to accessPackages for identityGovernance // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackagesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageable, requestConfiguration *EntitlementManagementAccessPackagesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/entitlement_management_assignment_requests_filter_by_current_user_with_on_request_builder.go b/identitygovernance/entitlement_management_assignment_requests_filter_by_current_user_with_on_request_builder.go index bdc681992d1..bd0a335587f 100644 --- a/identitygovernance/entitlement_management_assignment_requests_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/entitlement_management_assignment_requests_filter_by_current_user_with_on_request_builder.go @@ -10,7 +10,7 @@ import ( type EntitlementManagementAssignmentRequestsFilterByCurrentUserWithOnRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementAssignmentRequestsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters invoke function filterByCurrentUser +// EntitlementManagementAssignmentRequestsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters in Microsoft Entra Entitlement Management, retrieve a list of accessPackageAssignmentRequest objects filtered on the signed-in user. type EntitlementManagementAssignmentRequestsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewEntitlementManagementAssignmentRequestsFilterByCurrentUserWithOnRequestB urlParams["request-raw-url"] = rawUrl return NewEntitlementManagementAssignmentRequestsFilterByCurrentUserWithOnRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function filterByCurrentUser +// Get in Microsoft Entra Entitlement Management, retrieve a list of accessPackageAssignmentRequest objects filtered on the signed-in user. // Deprecated: This method is obsolete. Use GetAsFilterByCurrentUserWithOnGetResponse instead. // returns a EntitlementManagementAssignmentRequestsFilterByCurrentUserWithOnResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageassignmentrequest-filterbycurrentuser?view=graph-rest-beta func (m *EntitlementManagementAssignmentRequestsFilterByCurrentUserWithOnRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAssignmentRequestsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(EntitlementManagementAssignmentRequestsFilterByCurrentUserWithOnResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,10 +78,13 @@ func (m *EntitlementManagementAssignmentRequestsFilterByCurrentUserWithOnRequest } return res.(EntitlementManagementAssignmentRequestsFilterByCurrentUserWithOnResponseable), nil } -// GetAsFilterByCurrentUserWithOnGetResponse invoke function filterByCurrentUser +// GetAsFilterByCurrentUserWithOnGetResponse in Microsoft Entra Entitlement Management, retrieve a list of accessPackageAssignmentRequest objects filtered on the signed-in user. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a EntitlementManagementAssignmentRequestsFilterByCurrentUserWithOnGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageassignmentrequest-filterbycurrentuser?view=graph-rest-beta func (m *EntitlementManagementAssignmentRequestsFilterByCurrentUserWithOnRequestBuilder) GetAsFilterByCurrentUserWithOnGetResponse(ctx context.Context, requestConfiguration *EntitlementManagementAssignmentRequestsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(EntitlementManagementAssignmentRequestsFilterByCurrentUserWithOnGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,7 +102,7 @@ func (m *EntitlementManagementAssignmentRequestsFilterByCurrentUserWithOnRequest } return res.(EntitlementManagementAssignmentRequestsFilterByCurrentUserWithOnGetResponseable), nil } -// ToGetRequestInformation invoke function filterByCurrentUser +// ToGetRequestInformation in Microsoft Entra Entitlement Management, retrieve a list of accessPackageAssignmentRequest objects filtered on the signed-in user. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a *RequestInformation when successful func (m *EntitlementManagementAssignmentRequestsFilterByCurrentUserWithOnRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAssignmentRequestsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/identitygovernance/entitlement_management_assignment_requests_item_cancel_request_builder.go b/identitygovernance/entitlement_management_assignment_requests_item_cancel_request_builder.go index 16209837b48..28e2441e1ba 100644 --- a/identitygovernance/entitlement_management_assignment_requests_item_cancel_request_builder.go +++ b/identitygovernance/entitlement_management_assignment_requests_item_cancel_request_builder.go @@ -35,7 +35,7 @@ func NewEntitlementManagementAssignmentRequestsItemCancelRequestBuilder(rawUrl s // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageassignmentrequest-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageassignmentrequest-cancel?view=graph-rest-beta func (m *EntitlementManagementAssignmentRequestsItemCancelRequestBuilder) Post(ctx context.Context, requestConfiguration *EntitlementManagementAssignmentRequestsItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/entitlement_management_assignment_requests_item_resume_request_builder.go b/identitygovernance/entitlement_management_assignment_requests_item_resume_request_builder.go index f4e391cc45e..08d402de483 100644 --- a/identitygovernance/entitlement_management_assignment_requests_item_resume_request_builder.go +++ b/identitygovernance/entitlement_management_assignment_requests_item_resume_request_builder.go @@ -35,7 +35,7 @@ func NewEntitlementManagementAssignmentRequestsItemResumeRequestBuilder(rawUrl s // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageassignmentrequest-resume?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageassignmentrequest-resume?view=graph-rest-beta func (m *EntitlementManagementAssignmentRequestsItemResumeRequestBuilder) Post(ctx context.Context, body EntitlementManagementAssignmentRequestsItemResumePostRequestBodyable, requestConfiguration *EntitlementManagementAssignmentRequestsItemResumeRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/identitygovernance/entitlement_management_assignment_requests_request_builder.go b/identitygovernance/entitlement_management_assignment_requests_request_builder.go index 21a35496dc0..c02fa5b220a 100644 --- a/identitygovernance/entitlement_management_assignment_requests_request_builder.go +++ b/identitygovernance/entitlement_management_assignment_requests_request_builder.go @@ -11,7 +11,7 @@ import ( type EntitlementManagementAssignmentRequestsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementAssignmentRequestsRequestBuilderGetQueryParameters in Microsoft Entra entitlement management, retrieve a list of accessPackageAssignmentRequest objects. The resulting list includes all the assignment requests, current and well as expired, that the caller has access to read, across all catalogs and access packages. +// EntitlementManagementAssignmentRequestsRequestBuilderGetQueryParameters represents access package assignment requests created by or on behalf of a user. type EntitlementManagementAssignmentRequestsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -83,13 +83,10 @@ func (m *EntitlementManagementAssignmentRequestsRequestBuilder) Count()(*Entitle func (m *EntitlementManagementAssignmentRequestsRequestBuilder) FilterByCurrentUserWithOn(on *string)(*EntitlementManagementAssignmentRequestsFilterByCurrentUserWithOnRequestBuilder) { return NewEntitlementManagementAssignmentRequestsFilterByCurrentUserWithOnRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, on) } -// Get in Microsoft Entra entitlement management, retrieve a list of accessPackageAssignmentRequest objects. The resulting list includes all the assignment requests, current and well as expired, that the caller has access to read, across all catalogs and access packages. +// Get represents access package assignment requests created by or on behalf of a user. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a AccessPackageAssignmentRequestCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/entitlementmanagement-list-assignmentrequests?view=graph-rest-1.0 func (m *EntitlementManagementAssignmentRequestsRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAssignmentRequestsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageAssignmentRequestCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -107,13 +104,10 @@ func (m *EntitlementManagementAssignmentRequestsRequestBuilder) Get(ctx context. } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageAssignmentRequestCollectionResponseable), nil } -// Post in Microsoft Entra Entitlement Management, create a new accessPackageAssignmentRequest object. This operation is used to assign a user to an access package, update the assignment, or to remove an access package assignment. +// Post create new navigation property to assignmentRequests for identityGovernance // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a AccessPackageAssignmentRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/entitlementmanagement-post-assignmentrequests?view=graph-rest-1.0 func (m *EntitlementManagementAssignmentRequestsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageAssignmentRequestable, requestConfiguration *EntitlementManagementAssignmentRequestsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageAssignmentRequestable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -131,7 +125,7 @@ func (m *EntitlementManagementAssignmentRequestsRequestBuilder) Post(ctx context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageAssignmentRequestable), nil } -// ToGetRequestInformation in Microsoft Entra entitlement management, retrieve a list of accessPackageAssignmentRequest objects. The resulting list includes all the assignment requests, current and well as expired, that the caller has access to read, across all catalogs and access packages. +// ToGetRequestInformation represents access package assignment requests created by or on behalf of a user. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a *RequestInformation when successful func (m *EntitlementManagementAssignmentRequestsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAssignmentRequestsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -146,7 +140,7 @@ func (m *EntitlementManagementAssignmentRequestsRequestBuilder) ToGetRequestInfo requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation in Microsoft Entra Entitlement Management, create a new accessPackageAssignmentRequest object. This operation is used to assign a user to an access package, update the assignment, or to remove an access package assignment. +// ToPostRequestInformation create new navigation property to assignmentRequests for identityGovernance // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a *RequestInformation when successful func (m *EntitlementManagementAssignmentRequestsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageAssignmentRequestable, requestConfiguration *EntitlementManagementAssignmentRequestsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/identitygovernance/entitlement_management_connected_organizations_connected_organization_item_request_builder.go b/identitygovernance/entitlement_management_connected_organizations_connected_organization_item_request_builder.go index 532e98debba..73ff471c936 100644 --- a/identitygovernance/entitlement_management_connected_organizations_connected_organization_item_request_builder.go +++ b/identitygovernance/entitlement_management_connected_organizations_connected_organization_item_request_builder.go @@ -18,7 +18,7 @@ type EntitlementManagementConnectedOrganizationsConnectedOrganizationItemRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EntitlementManagementConnectedOrganizationsConnectedOrganizationItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a connectedOrganization object. +// EntitlementManagementConnectedOrganizationsConnectedOrganizationItemRequestBuilderGetQueryParameters represents references to a directory or domain of another organization whose users can request access. type EntitlementManagementConnectedOrganizationsConnectedOrganizationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewEntitlementManagementConnectedOrganizationsConnectedOrganizationItemRequ urlParams["request-raw-url"] = rawUrl return NewEntitlementManagementConnectedOrganizationsConnectedOrganizationItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a connectedOrganization object. +// Delete delete navigation property connectedOrganizations for identityGovernance // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/connectedorganization-delete?view=graph-rest-1.0 func (m *EntitlementManagementConnectedOrganizationsConnectedOrganizationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *EntitlementManagementConnectedOrganizationsConnectedOrganizationItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *EntitlementManagementConnectedOrganizationsConnectedOrganizationItemReq func (m *EntitlementManagementConnectedOrganizationsConnectedOrganizationItemRequestBuilder) ExternalSponsors()(*EntitlementManagementConnectedOrganizationsItemExternalSponsorsRequestBuilder) { return NewEntitlementManagementConnectedOrganizationsItemExternalSponsorsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties and relationships of a connectedOrganization object. +// Get represents references to a directory or domain of another organization whose users can request access. // returns a ConnectedOrganizationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/connectedorganization-get?view=graph-rest-1.0 func (m *EntitlementManagementConnectedOrganizationsConnectedOrganizationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementConnectedOrganizationsConnectedOrganizationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConnectedOrganizationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -106,12 +100,9 @@ func (m *EntitlementManagementConnectedOrganizationsConnectedOrganizationItemReq func (m *EntitlementManagementConnectedOrganizationsConnectedOrganizationItemRequestBuilder) InternalSponsors()(*EntitlementManagementConnectedOrganizationsItemInternalSponsorsRequestBuilder) { return NewEntitlementManagementConnectedOrganizationsItemInternalSponsorsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update a connectedOrganization object to change one or more of its properties. +// Patch update the navigation property connectedOrganizations in identityGovernance // returns a ConnectedOrganizationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/connectedorganization-update?view=graph-rest-1.0 func (m *EntitlementManagementConnectedOrganizationsConnectedOrganizationItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConnectedOrganizationable, requestConfiguration *EntitlementManagementConnectedOrganizationsConnectedOrganizationItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConnectedOrganizationable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -129,7 +120,7 @@ func (m *EntitlementManagementConnectedOrganizationsConnectedOrganizationItemReq } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConnectedOrganizationable), nil } -// ToDeleteRequestInformation delete a connectedOrganization object. +// ToDeleteRequestInformation delete navigation property connectedOrganizations for identityGovernance // returns a *RequestInformation when successful func (m *EntitlementManagementConnectedOrganizationsConnectedOrganizationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementConnectedOrganizationsConnectedOrganizationItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -140,7 +131,7 @@ func (m *EntitlementManagementConnectedOrganizationsConnectedOrganizationItemReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a connectedOrganization object. +// ToGetRequestInformation represents references to a directory or domain of another organization whose users can request access. // returns a *RequestInformation when successful func (m *EntitlementManagementConnectedOrganizationsConnectedOrganizationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementConnectedOrganizationsConnectedOrganizationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -154,7 +145,7 @@ func (m *EntitlementManagementConnectedOrganizationsConnectedOrganizationItemReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update a connectedOrganization object to change one or more of its properties. +// ToPatchRequestInformation update the navigation property connectedOrganizations in identityGovernance // returns a *RequestInformation when successful func (m *EntitlementManagementConnectedOrganizationsConnectedOrganizationItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConnectedOrganizationable, requestConfiguration *EntitlementManagementConnectedOrganizationsConnectedOrganizationItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/entitlement_management_connected_organizations_item_external_sponsors_item_ref_request_builder.go b/identitygovernance/entitlement_management_connected_organizations_item_external_sponsors_item_ref_request_builder.go index fc1ee0303e8..1b2cc5a3c74 100644 --- a/identitygovernance/entitlement_management_connected_organizations_item_external_sponsors_item_ref_request_builder.go +++ b/identitygovernance/entitlement_management_connected_organizations_item_external_sponsors_item_ref_request_builder.go @@ -30,11 +30,8 @@ func NewEntitlementManagementConnectedOrganizationsItemExternalSponsorsItemRefRe urlParams["request-raw-url"] = rawUrl return NewEntitlementManagementConnectedOrganizationsItemExternalSponsorsItemRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove a user or a group from the connected organization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. +// Delete delete ref of navigation property externalSponsors for identityGovernance // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/connectedorganization-delete-externalsponsors?view=graph-rest-1.0 func (m *EntitlementManagementConnectedOrganizationsItemExternalSponsorsItemRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *EntitlementManagementConnectedOrganizationsItemExternalSponsorsItemRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -49,7 +46,7 @@ func (m *EntitlementManagementConnectedOrganizationsItemExternalSponsorsItemRefR } return nil } -// ToDeleteRequestInformation remove a user or a group from the connected organization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. +// ToDeleteRequestInformation delete ref of navigation property externalSponsors for identityGovernance // returns a *RequestInformation when successful func (m *EntitlementManagementConnectedOrganizationsItemExternalSponsorsItemRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementConnectedOrganizationsItemExternalSponsorsItemRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/entitlement_management_connected_organizations_item_external_sponsors_ref_request_builder.go b/identitygovernance/entitlement_management_connected_organizations_item_external_sponsors_ref_request_builder.go index 9f51f2accff..505d5827a40 100644 --- a/identitygovernance/entitlement_management_connected_organizations_item_external_sponsors_ref_request_builder.go +++ b/identitygovernance/entitlement_management_connected_organizations_item_external_sponsors_ref_request_builder.go @@ -11,7 +11,7 @@ import ( type EntitlementManagementConnectedOrganizationsItemExternalSponsorsRefRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementConnectedOrganizationsItemExternalSponsorsRefRequestBuilderDeleteQueryParameters remove a user or a group from the connected organization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. +// EntitlementManagementConnectedOrganizationsItemExternalSponsorsRefRequestBuilderDeleteQueryParameters delete ref of navigation property externalSponsors for identityGovernance type EntitlementManagementConnectedOrganizationsItemExternalSponsorsRefRequestBuilderDeleteQueryParameters struct { // The delete Uri Id *string `uriparametername:"%40id"` @@ -25,7 +25,7 @@ type EntitlementManagementConnectedOrganizationsItemExternalSponsorsRefRequestBu // Request query parameters QueryParameters *EntitlementManagementConnectedOrganizationsItemExternalSponsorsRefRequestBuilderDeleteQueryParameters } -// EntitlementManagementConnectedOrganizationsItemExternalSponsorsRefRequestBuilderGetQueryParameters retrieve a list of a connectedOrganization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. +// EntitlementManagementConnectedOrganizationsItemExternalSponsorsRefRequestBuilderGetQueryParameters get ref of externalSponsors from identityGovernance type EntitlementManagementConnectedOrganizationsItemExternalSponsorsRefRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,11 +69,8 @@ func NewEntitlementManagementConnectedOrganizationsItemExternalSponsorsRefReques urlParams["request-raw-url"] = rawUrl return NewEntitlementManagementConnectedOrganizationsItemExternalSponsorsRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove a user or a group from the connected organization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. +// Delete delete ref of navigation property externalSponsors for identityGovernance // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/connectedorganization-delete-externalsponsors?view=graph-rest-1.0 func (m *EntitlementManagementConnectedOrganizationsItemExternalSponsorsRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *EntitlementManagementConnectedOrganizationsItemExternalSponsorsRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -88,12 +85,9 @@ func (m *EntitlementManagementConnectedOrganizationsItemExternalSponsorsRefReque } return nil } -// Get retrieve a list of a connectedOrganization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. +// Get get ref of externalSponsors from identityGovernance // returns a StringCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/connectedorganization-list-externalsponsors?view=graph-rest-1.0 func (m *EntitlementManagementConnectedOrganizationsItemExternalSponsorsRefRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementConnectedOrganizationsItemExternalSponsorsRefRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -111,11 +105,8 @@ func (m *EntitlementManagementConnectedOrganizationsItemExternalSponsorsRefReque } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable), nil } -// Post add a user or a group to the connected organization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. +// Post create new navigation property ref to externalSponsors for identityGovernance // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/connectedorganization-post-externalsponsors?view=graph-rest-1.0 func (m *EntitlementManagementConnectedOrganizationsItemExternalSponsorsRefRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *EntitlementManagementConnectedOrganizationsItemExternalSponsorsRefRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -130,7 +121,7 @@ func (m *EntitlementManagementConnectedOrganizationsItemExternalSponsorsRefReque } return nil } -// ToDeleteRequestInformation remove a user or a group from the connected organization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. +// ToDeleteRequestInformation delete ref of navigation property externalSponsors for identityGovernance // returns a *RequestInformation when successful func (m *EntitlementManagementConnectedOrganizationsItemExternalSponsorsRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementConnectedOrganizationsItemExternalSponsorsRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, "{+baseurl}/identityGovernance/entitlementManagement/connectedOrganizations/{connectedOrganization%2Did}/externalSponsors/$ref?@id={%40id}", m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *EntitlementManagementConnectedOrganizationsItemExternalSponsorsRefReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a list of a connectedOrganization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. +// ToGetRequestInformation get ref of externalSponsors from identityGovernance // returns a *RequestInformation when successful func (m *EntitlementManagementConnectedOrganizationsItemExternalSponsorsRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementConnectedOrganizationsItemExternalSponsorsRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/identityGovernance/entitlementManagement/connectedOrganizations/{connectedOrganization%2Did}/externalSponsors/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) @@ -158,7 +149,7 @@ func (m *EntitlementManagementConnectedOrganizationsItemExternalSponsorsRefReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add a user or a group to the connected organization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. +// ToPostRequestInformation create new navigation property ref to externalSponsors for identityGovernance // returns a *RequestInformation when successful func (m *EntitlementManagementConnectedOrganizationsItemExternalSponsorsRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *EntitlementManagementConnectedOrganizationsItemExternalSponsorsRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/identityGovernance/entitlementManagement/connectedOrganizations/{connectedOrganization%2Did}/externalSponsors/$ref", m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/entitlement_management_connected_organizations_item_external_sponsors_request_builder.go b/identitygovernance/entitlement_management_connected_organizations_item_external_sponsors_request_builder.go index 7eac0c5b66e..e05b9f60f6f 100644 --- a/identitygovernance/entitlement_management_connected_organizations_item_external_sponsors_request_builder.go +++ b/identitygovernance/entitlement_management_connected_organizations_item_external_sponsors_request_builder.go @@ -11,7 +11,7 @@ import ( type EntitlementManagementConnectedOrganizationsItemExternalSponsorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementConnectedOrganizationsItemExternalSponsorsRequestBuilderGetQueryParameters retrieve a list of a connectedOrganization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. +// EntitlementManagementConnectedOrganizationsItemExternalSponsorsRequestBuilderGetQueryParameters get externalSponsors from identityGovernance type EntitlementManagementConnectedOrganizationsItemExternalSponsorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewEntitlementManagementConnectedOrganizationsItemExternalSponsorsRequestBu func (m *EntitlementManagementConnectedOrganizationsItemExternalSponsorsRequestBuilder) Count()(*EntitlementManagementConnectedOrganizationsItemExternalSponsorsCountRequestBuilder) { return NewEntitlementManagementConnectedOrganizationsItemExternalSponsorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of a connectedOrganization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. +// Get get externalSponsors from identityGovernance // returns a DirectoryObjectCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/connectedorganization-list-externalsponsors?view=graph-rest-1.0 func (m *EntitlementManagementConnectedOrganizationsItemExternalSponsorsRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementConnectedOrganizationsItemExternalSponsorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -97,7 +94,7 @@ func (m *EntitlementManagementConnectedOrganizationsItemExternalSponsorsRequestB func (m *EntitlementManagementConnectedOrganizationsItemExternalSponsorsRequestBuilder) Ref()(*EntitlementManagementConnectedOrganizationsItemExternalSponsorsRefRequestBuilder) { return NewEntitlementManagementConnectedOrganizationsItemExternalSponsorsRefRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation retrieve a list of a connectedOrganization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. +// ToGetRequestInformation get externalSponsors from identityGovernance // returns a *RequestInformation when successful func (m *EntitlementManagementConnectedOrganizationsItemExternalSponsorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementConnectedOrganizationsItemExternalSponsorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/entitlement_management_connected_organizations_item_internal_sponsors_item_ref_request_builder.go b/identitygovernance/entitlement_management_connected_organizations_item_internal_sponsors_item_ref_request_builder.go index 1f9f052f248..6722ebb1f5e 100644 --- a/identitygovernance/entitlement_management_connected_organizations_item_internal_sponsors_item_ref_request_builder.go +++ b/identitygovernance/entitlement_management_connected_organizations_item_internal_sponsors_item_ref_request_builder.go @@ -30,11 +30,8 @@ func NewEntitlementManagementConnectedOrganizationsItemInternalSponsorsItemRefRe urlParams["request-raw-url"] = rawUrl return NewEntitlementManagementConnectedOrganizationsItemInternalSponsorsItemRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove a user or a group from the connected organization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. +// Delete delete ref of navigation property internalSponsors for identityGovernance // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/connectedorganization-delete-internalsponsors?view=graph-rest-1.0 func (m *EntitlementManagementConnectedOrganizationsItemInternalSponsorsItemRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *EntitlementManagementConnectedOrganizationsItemInternalSponsorsItemRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -49,7 +46,7 @@ func (m *EntitlementManagementConnectedOrganizationsItemInternalSponsorsItemRefR } return nil } -// ToDeleteRequestInformation remove a user or a group from the connected organization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. +// ToDeleteRequestInformation delete ref of navigation property internalSponsors for identityGovernance // returns a *RequestInformation when successful func (m *EntitlementManagementConnectedOrganizationsItemInternalSponsorsItemRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementConnectedOrganizationsItemInternalSponsorsItemRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/entitlement_management_connected_organizations_item_internal_sponsors_ref_request_builder.go b/identitygovernance/entitlement_management_connected_organizations_item_internal_sponsors_ref_request_builder.go index 4b0ba4953e1..72fd1458726 100644 --- a/identitygovernance/entitlement_management_connected_organizations_item_internal_sponsors_ref_request_builder.go +++ b/identitygovernance/entitlement_management_connected_organizations_item_internal_sponsors_ref_request_builder.go @@ -11,7 +11,7 @@ import ( type EntitlementManagementConnectedOrganizationsItemInternalSponsorsRefRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementConnectedOrganizationsItemInternalSponsorsRefRequestBuilderDeleteQueryParameters remove a user or a group from the connected organization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. +// EntitlementManagementConnectedOrganizationsItemInternalSponsorsRefRequestBuilderDeleteQueryParameters delete ref of navigation property internalSponsors for identityGovernance type EntitlementManagementConnectedOrganizationsItemInternalSponsorsRefRequestBuilderDeleteQueryParameters struct { // The delete Uri Id *string `uriparametername:"%40id"` @@ -25,7 +25,7 @@ type EntitlementManagementConnectedOrganizationsItemInternalSponsorsRefRequestBu // Request query parameters QueryParameters *EntitlementManagementConnectedOrganizationsItemInternalSponsorsRefRequestBuilderDeleteQueryParameters } -// EntitlementManagementConnectedOrganizationsItemInternalSponsorsRefRequestBuilderGetQueryParameters retrieve a list of a connectedOrganization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. +// EntitlementManagementConnectedOrganizationsItemInternalSponsorsRefRequestBuilderGetQueryParameters get ref of internalSponsors from identityGovernance type EntitlementManagementConnectedOrganizationsItemInternalSponsorsRefRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,11 +69,8 @@ func NewEntitlementManagementConnectedOrganizationsItemInternalSponsorsRefReques urlParams["request-raw-url"] = rawUrl return NewEntitlementManagementConnectedOrganizationsItemInternalSponsorsRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove a user or a group from the connected organization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. +// Delete delete ref of navigation property internalSponsors for identityGovernance // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/connectedorganization-delete-internalsponsors?view=graph-rest-1.0 func (m *EntitlementManagementConnectedOrganizationsItemInternalSponsorsRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *EntitlementManagementConnectedOrganizationsItemInternalSponsorsRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -88,12 +85,9 @@ func (m *EntitlementManagementConnectedOrganizationsItemInternalSponsorsRefReque } return nil } -// Get retrieve a list of a connectedOrganization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. +// Get get ref of internalSponsors from identityGovernance // returns a StringCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/connectedorganization-list-internalsponsors?view=graph-rest-1.0 func (m *EntitlementManagementConnectedOrganizationsItemInternalSponsorsRefRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementConnectedOrganizationsItemInternalSponsorsRefRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -111,11 +105,8 @@ func (m *EntitlementManagementConnectedOrganizationsItemInternalSponsorsRefReque } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable), nil } -// Post add a user or a group to the connected organization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. +// Post create new navigation property ref to internalSponsors for identityGovernance // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/connectedorganization-post-internalsponsors?view=graph-rest-1.0 func (m *EntitlementManagementConnectedOrganizationsItemInternalSponsorsRefRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *EntitlementManagementConnectedOrganizationsItemInternalSponsorsRefRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -130,7 +121,7 @@ func (m *EntitlementManagementConnectedOrganizationsItemInternalSponsorsRefReque } return nil } -// ToDeleteRequestInformation remove a user or a group from the connected organization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. +// ToDeleteRequestInformation delete ref of navigation property internalSponsors for identityGovernance // returns a *RequestInformation when successful func (m *EntitlementManagementConnectedOrganizationsItemInternalSponsorsRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementConnectedOrganizationsItemInternalSponsorsRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, "{+baseurl}/identityGovernance/entitlementManagement/connectedOrganizations/{connectedOrganization%2Did}/internalSponsors/$ref?@id={%40id}", m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *EntitlementManagementConnectedOrganizationsItemInternalSponsorsRefReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a list of a connectedOrganization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. +// ToGetRequestInformation get ref of internalSponsors from identityGovernance // returns a *RequestInformation when successful func (m *EntitlementManagementConnectedOrganizationsItemInternalSponsorsRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementConnectedOrganizationsItemInternalSponsorsRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/identityGovernance/entitlementManagement/connectedOrganizations/{connectedOrganization%2Did}/internalSponsors/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) @@ -158,7 +149,7 @@ func (m *EntitlementManagementConnectedOrganizationsItemInternalSponsorsRefReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add a user or a group to the connected organization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. +// ToPostRequestInformation create new navigation property ref to internalSponsors for identityGovernance // returns a *RequestInformation when successful func (m *EntitlementManagementConnectedOrganizationsItemInternalSponsorsRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *EntitlementManagementConnectedOrganizationsItemInternalSponsorsRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/identityGovernance/entitlementManagement/connectedOrganizations/{connectedOrganization%2Did}/internalSponsors/$ref", m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/entitlement_management_connected_organizations_item_internal_sponsors_request_builder.go b/identitygovernance/entitlement_management_connected_organizations_item_internal_sponsors_request_builder.go index 627536204a6..311e4b9d446 100644 --- a/identitygovernance/entitlement_management_connected_organizations_item_internal_sponsors_request_builder.go +++ b/identitygovernance/entitlement_management_connected_organizations_item_internal_sponsors_request_builder.go @@ -11,7 +11,7 @@ import ( type EntitlementManagementConnectedOrganizationsItemInternalSponsorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementConnectedOrganizationsItemInternalSponsorsRequestBuilderGetQueryParameters retrieve a list of a connectedOrganization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. +// EntitlementManagementConnectedOrganizationsItemInternalSponsorsRequestBuilderGetQueryParameters get internalSponsors from identityGovernance type EntitlementManagementConnectedOrganizationsItemInternalSponsorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewEntitlementManagementConnectedOrganizationsItemInternalSponsorsRequestBu func (m *EntitlementManagementConnectedOrganizationsItemInternalSponsorsRequestBuilder) Count()(*EntitlementManagementConnectedOrganizationsItemInternalSponsorsCountRequestBuilder) { return NewEntitlementManagementConnectedOrganizationsItemInternalSponsorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of a connectedOrganization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. +// Get get internalSponsors from identityGovernance // returns a DirectoryObjectCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/connectedorganization-list-internalsponsors?view=graph-rest-1.0 func (m *EntitlementManagementConnectedOrganizationsItemInternalSponsorsRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementConnectedOrganizationsItemInternalSponsorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -97,7 +94,7 @@ func (m *EntitlementManagementConnectedOrganizationsItemInternalSponsorsRequestB func (m *EntitlementManagementConnectedOrganizationsItemInternalSponsorsRequestBuilder) Ref()(*EntitlementManagementConnectedOrganizationsItemInternalSponsorsRefRequestBuilder) { return NewEntitlementManagementConnectedOrganizationsItemInternalSponsorsRefRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation retrieve a list of a connectedOrganization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. +// ToGetRequestInformation get internalSponsors from identityGovernance // returns a *RequestInformation when successful func (m *EntitlementManagementConnectedOrganizationsItemInternalSponsorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementConnectedOrganizationsItemInternalSponsorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/entitlement_management_connected_organizations_request_builder.go b/identitygovernance/entitlement_management_connected_organizations_request_builder.go index b211d12b7e8..275081212c7 100644 --- a/identitygovernance/entitlement_management_connected_organizations_request_builder.go +++ b/identitygovernance/entitlement_management_connected_organizations_request_builder.go @@ -11,7 +11,7 @@ import ( type EntitlementManagementConnectedOrganizationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementConnectedOrganizationsRequestBuilderGetQueryParameters retrieve a list of connectedOrganization objects. +// EntitlementManagementConnectedOrganizationsRequestBuilderGetQueryParameters represents references to a directory or domain of another organization whose users can request access. type EntitlementManagementConnectedOrganizationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewEntitlementManagementConnectedOrganizationsRequestBuilder(rawUrl string, func (m *EntitlementManagementConnectedOrganizationsRequestBuilder) Count()(*EntitlementManagementConnectedOrganizationsCountRequestBuilder) { return NewEntitlementManagementConnectedOrganizationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of connectedOrganization objects. +// Get represents references to a directory or domain of another organization whose users can request access. // returns a ConnectedOrganizationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/entitlementmanagement-list-connectedorganizations?view=graph-rest-1.0 func (m *EntitlementManagementConnectedOrganizationsRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementConnectedOrganizationsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConnectedOrganizationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *EntitlementManagementConnectedOrganizationsRequestBuilder) Get(ctx cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConnectedOrganizationCollectionResponseable), nil } -// Post create a new connectedOrganization object. +// Post create new navigation property to connectedOrganizations for identityGovernance // returns a ConnectedOrganizationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/entitlementmanagement-post-connectedorganizations?view=graph-rest-1.0 func (m *EntitlementManagementConnectedOrganizationsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConnectedOrganizationable, requestConfiguration *EntitlementManagementConnectedOrganizationsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConnectedOrganizationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *EntitlementManagementConnectedOrganizationsRequestBuilder) Post(ctx con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConnectedOrganizationable), nil } -// ToGetRequestInformation retrieve a list of connectedOrganization objects. +// ToGetRequestInformation represents references to a directory or domain of another organization whose users can request access. // returns a *RequestInformation when successful func (m *EntitlementManagementConnectedOrganizationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementConnectedOrganizationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *EntitlementManagementConnectedOrganizationsRequestBuilder) ToGetRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new connectedOrganization object. +// ToPostRequestInformation create new navigation property to connectedOrganizations for identityGovernance // returns a *RequestInformation when successful func (m *EntitlementManagementConnectedOrganizationsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConnectedOrganizationable, requestConfiguration *EntitlementManagementConnectedOrganizationsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/entitlement_management_settings_request_builder.go b/identitygovernance/entitlement_management_settings_request_builder.go index a785bd80e7e..7f9b303950f 100644 --- a/identitygovernance/entitlement_management_settings_request_builder.go +++ b/identitygovernance/entitlement_management_settings_request_builder.go @@ -18,7 +18,7 @@ type EntitlementManagementSettingsRequestBuilderDeleteRequestConfiguration struc // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EntitlementManagementSettingsRequestBuilderGetQueryParameters retrieve the properties of an entitlementManagementSettings object. +// EntitlementManagementSettingsRequestBuilderGetQueryParameters represents the settings that control the behavior of Microsoft Entra entitlement management. type EntitlementManagementSettingsRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *EntitlementManagementSettingsRequestBuilder) Delete(ctx context.Context } return nil } -// Get retrieve the properties of an entitlementManagementSettings object. +// Get represents the settings that control the behavior of Microsoft Entra entitlement management. // returns a EntitlementManagementSettingsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/entitlementmanagementsettings-get?view=graph-rest-1.0 func (m *EntitlementManagementSettingsRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementSettingsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EntitlementManagementSettingsable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *EntitlementManagementSettingsRequestBuilder) Get(ctx context.Context, r } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EntitlementManagementSettingsable), nil } -// Patch update an existing entitlementManagementSettings object to change one or more of its properties. +// Patch update the navigation property settings in identityGovernance // returns a EntitlementManagementSettingsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/entitlementmanagementsettings-update?view=graph-rest-1.0 func (m *EntitlementManagementSettingsRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EntitlementManagementSettingsable, requestConfiguration *EntitlementManagementSettingsRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EntitlementManagementSettingsable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *EntitlementManagementSettingsRequestBuilder) ToDeleteRequestInformation requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties of an entitlementManagementSettings object. +// ToGetRequestInformation represents the settings that control the behavior of Microsoft Entra entitlement management. // returns a *RequestInformation when successful func (m *EntitlementManagementSettingsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementSettingsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *EntitlementManagementSettingsRequestBuilder) ToGetRequestInformation(ct requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update an existing entitlementManagementSettings object to change one or more of its properties. +// ToPatchRequestInformation update the navigation property settings in identityGovernance // returns a *RequestInformation when successful func (m *EntitlementManagementSettingsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EntitlementManagementSettingsable, requestConfiguration *EntitlementManagementSettingsRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/lifecycle_workflows_custom_task_extensions_custom_task_extension_item_request_builder.go b/identitygovernance/lifecycle_workflows_custom_task_extensions_custom_task_extension_item_request_builder.go index 1eb3b652bfe..f53f96296e9 100644 --- a/identitygovernance/lifecycle_workflows_custom_task_extensions_custom_task_extension_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_custom_task_extensions_custom_task_extension_item_request_builder.go @@ -18,7 +18,7 @@ type LifecycleWorkflowsCustomTaskExtensionsCustomTaskExtensionItemRequestBuilder // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// LifecycleWorkflowsCustomTaskExtensionsCustomTaskExtensionItemRequestBuilderGetQueryParameters read the properties and relationships of a customTaskExtension object. +// LifecycleWorkflowsCustomTaskExtensionsCustomTaskExtensionItemRequestBuilderGetQueryParameters the customTaskExtension instance. type LifecycleWorkflowsCustomTaskExtensionsCustomTaskExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewLifecycleWorkflowsCustomTaskExtensionsCustomTaskExtensionItemRequestBuil func (m *LifecycleWorkflowsCustomTaskExtensionsCustomTaskExtensionItemRequestBuilder) CreatedBy()(*LifecycleWorkflowsCustomTaskExtensionsItemCreatedByRequestBuilder) { return NewLifecycleWorkflowsCustomTaskExtensionsItemCreatedByRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Delete delete a customTaskExtension object. A custom task extension can only be deleted if it is not referenced in any task objects in a lifecycle workflow. +// Delete delete navigation property customTaskExtensions for identityGovernance // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-customtaskextension-delete?view=graph-rest-1.0 func (m *LifecycleWorkflowsCustomTaskExtensionsCustomTaskExtensionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *LifecycleWorkflowsCustomTaskExtensionsCustomTaskExtensionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *LifecycleWorkflowsCustomTaskExtensionsCustomTaskExtensionItemRequestBui } return nil } -// Get read the properties and relationships of a customTaskExtension object. +// Get the customTaskExtension instance. // returns a CustomTaskExtensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-customtaskextension-get?view=graph-rest-1.0 func (m *LifecycleWorkflowsCustomTaskExtensionsCustomTaskExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsCustomTaskExtensionsCustomTaskExtensionItemRequestBuilderGetRequestConfiguration)(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.CustomTaskExtensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -106,12 +100,9 @@ func (m *LifecycleWorkflowsCustomTaskExtensionsCustomTaskExtensionItemRequestBui func (m *LifecycleWorkflowsCustomTaskExtensionsCustomTaskExtensionItemRequestBuilder) LastModifiedBy()(*LifecycleWorkflowsCustomTaskExtensionsItemLastModifiedByRequestBuilder) { return NewLifecycleWorkflowsCustomTaskExtensionsItemLastModifiedByRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of a customTaskExtension object. +// Patch update the navigation property customTaskExtensions in identityGovernance // returns a CustomTaskExtensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-customtaskextension-update?view=graph-rest-1.0 func (m *LifecycleWorkflowsCustomTaskExtensionsCustomTaskExtensionItemRequestBuilder) Patch(ctx context.Context, body i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.CustomTaskExtensionable, requestConfiguration *LifecycleWorkflowsCustomTaskExtensionsCustomTaskExtensionItemRequestBuilderPatchRequestConfiguration)(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.CustomTaskExtensionable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -129,7 +120,7 @@ func (m *LifecycleWorkflowsCustomTaskExtensionsCustomTaskExtensionItemRequestBui } return res.(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.CustomTaskExtensionable), nil } -// ToDeleteRequestInformation delete a customTaskExtension object. A custom task extension can only be deleted if it is not referenced in any task objects in a lifecycle workflow. +// ToDeleteRequestInformation delete navigation property customTaskExtensions for identityGovernance // returns a *RequestInformation when successful func (m *LifecycleWorkflowsCustomTaskExtensionsCustomTaskExtensionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsCustomTaskExtensionsCustomTaskExtensionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -140,7 +131,7 @@ func (m *LifecycleWorkflowsCustomTaskExtensionsCustomTaskExtensionItemRequestBui requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a customTaskExtension object. +// ToGetRequestInformation the customTaskExtension instance. // returns a *RequestInformation when successful func (m *LifecycleWorkflowsCustomTaskExtensionsCustomTaskExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsCustomTaskExtensionsCustomTaskExtensionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -154,7 +145,7 @@ func (m *LifecycleWorkflowsCustomTaskExtensionsCustomTaskExtensionItemRequestBui requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a customTaskExtension object. +// ToPatchRequestInformation update the navigation property customTaskExtensions in identityGovernance // returns a *RequestInformation when successful func (m *LifecycleWorkflowsCustomTaskExtensionsCustomTaskExtensionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.CustomTaskExtensionable, requestConfiguration *LifecycleWorkflowsCustomTaskExtensionsCustomTaskExtensionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/lifecycle_workflows_custom_task_extensions_request_builder.go b/identitygovernance/lifecycle_workflows_custom_task_extensions_request_builder.go index ac7e7ac6396..dee470f1433 100644 --- a/identitygovernance/lifecycle_workflows_custom_task_extensions_request_builder.go +++ b/identitygovernance/lifecycle_workflows_custom_task_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type LifecycleWorkflowsCustomTaskExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsCustomTaskExtensionsRequestBuilderGetQueryParameters get a list of the customTaskExtension objects and their properties. +// LifecycleWorkflowsCustomTaskExtensionsRequestBuilderGetQueryParameters the customTaskExtension instance. type LifecycleWorkflowsCustomTaskExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewLifecycleWorkflowsCustomTaskExtensionsRequestBuilder(rawUrl string, requ func (m *LifecycleWorkflowsCustomTaskExtensionsRequestBuilder) Count()(*LifecycleWorkflowsCustomTaskExtensionsCountRequestBuilder) { return NewLifecycleWorkflowsCustomTaskExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the customTaskExtension objects and their properties. +// Get the customTaskExtension instance. // returns a CustomTaskExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-lifecycleworkflowscontainer-list-customtaskextensions?view=graph-rest-1.0 func (m *LifecycleWorkflowsCustomTaskExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsCustomTaskExtensionsRequestBuilderGetRequestConfiguration)(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.CustomTaskExtensionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *LifecycleWorkflowsCustomTaskExtensionsRequestBuilder) Get(ctx context.C } return res.(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.CustomTaskExtensionCollectionResponseable), nil } -// Post create a new customTaskExtension object. +// Post create new navigation property to customTaskExtensions for identityGovernance // returns a CustomTaskExtensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-lifecycleworkflowscontainer-post-customtaskextensions?view=graph-rest-1.0 func (m *LifecycleWorkflowsCustomTaskExtensionsRequestBuilder) Post(ctx context.Context, body i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.CustomTaskExtensionable, requestConfiguration *LifecycleWorkflowsCustomTaskExtensionsRequestBuilderPostRequestConfiguration)(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.CustomTaskExtensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *LifecycleWorkflowsCustomTaskExtensionsRequestBuilder) Post(ctx context. } return res.(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.CustomTaskExtensionable), nil } -// ToGetRequestInformation get a list of the customTaskExtension objects and their properties. +// ToGetRequestInformation the customTaskExtension instance. // returns a *RequestInformation when successful func (m *LifecycleWorkflowsCustomTaskExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsCustomTaskExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *LifecycleWorkflowsCustomTaskExtensionsRequestBuilder) ToGetRequestInfor requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new customTaskExtension object. +// ToPostRequestInformation create new navigation property to customTaskExtensions for identityGovernance // returns a *RequestInformation when successful func (m *LifecycleWorkflowsCustomTaskExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.CustomTaskExtensionable, requestConfiguration *LifecycleWorkflowsCustomTaskExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_microsoft_graph_identity_governance_activate_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_microsoft_graph_identity_governance_activate_request_builder.go index c4a2c470129..4c7c1ef6726 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_microsoft_graph_identity_governance_activate_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_microsoft_graph_identity_governance_activate_request_builder.go @@ -34,7 +34,7 @@ func NewLifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGoverna // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-workflow-activate?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-workflow-activate?view=graph-rest-beta func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateRequestBuilder) Post(ctx context.Context, body LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateActivatePostRequestBodyable, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_microsoft_graph_identity_governance_create_new_version_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_microsoft_graph_identity_governance_create_new_version_request_builder.go index 0b8191348b8..31e7e337fd2 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_microsoft_graph_identity_governance_create_new_version_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_microsoft_graph_identity_governance_create_new_version_request_builder.go @@ -36,7 +36,7 @@ func NewLifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGoverna // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-workflow-createnewversion?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-workflow-createnewversion?view=graph-rest-beta func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder) Post(ctx context.Context, body LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceCreateNewVersionCreateNewVersionPostRequestBodyable, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilderPostRequestConfiguration)(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.Workflowable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_microsoft_graph_identity_governance_restore_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_microsoft_graph_identity_governance_restore_request_builder.go index 62ae6392c63..3454b3c60b7 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_microsoft_graph_identity_governance_restore_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_microsoft_graph_identity_governance_restore_request_builder.go @@ -36,7 +36,7 @@ func NewLifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGoverna // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-workflow-restore?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-workflow-restore?view=graph-rest-beta func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceRestoreRequestBuilder) Post(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovernanceRestoreRequestBuilderPostRequestConfiguration)(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.Workflowable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go index edeb2784803..9f704b27523 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go @@ -34,7 +34,7 @@ func NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResults // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-taskprocessingresult-resume?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-taskprocessingresult-resume?view=graph-rest-beta func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilder) Post(ctx context.Context, body LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeResumePostRequestBodyable, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_request_builder.go index bf7e9c0b358..c55dfd390f9 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_request_builder.go @@ -11,7 +11,7 @@ import ( type LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResultsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResultsRequestBuilderGetQueryParameters get the taskProcessingResult resources for a run. +// LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResultsRequestBuilderGetQueryParameters the related taskProcessingResults. type LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResultsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResults func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResultsRequestBuilder) Count()(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResultsCountRequestBuilder) { return NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResultsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the taskProcessingResult resources for a run. +// Get the related taskProcessingResults. // returns a TaskProcessingResultCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-run-list-taskprocessingresults?view=graph-rest-1.0 func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResultsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResultsRequestBuilderGetRequestConfiguration)(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.TaskProcessingResultCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResult } return res.(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.TaskProcessingResultCollectionResponseable), nil } -// ToGetRequestInformation get the taskProcessingResult resources for a run. +// ToGetRequestInformation the related taskProcessingResults. // returns a *RequestInformation when successful func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResultsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResultsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go index 64a21ed8868..b1cb94b7198 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go @@ -34,7 +34,7 @@ func NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResults // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-taskprocessingresult-resume?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-taskprocessingresult-resume?view=graph-rest-beta func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilder) Post(ctx context.Context, body LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeResumePostRequestBodyable, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_request_builder.go index 4e41d11c668..243f901cd0c 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_request_builder.go @@ -11,7 +11,7 @@ import ( type LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilderGetQueryParameters get the task processing result from a userProcessingResult either directly or through a run. +// LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilderGetQueryParameters the associated individual task execution. type LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResults func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilder) Count()(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsCountRequestBuilder) { return NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the task processing result from a userProcessingResult either directly or through a run. +// Get the associated individual task execution. // returns a TaskProcessingResultCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-userprocessingresult-list-taskprocessingresults?view=graph-rest-1.0 func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilderGetRequestConfiguration)(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.TaskProcessingResultCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResult } return res.(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.TaskProcessingResultCollectionResponseable), nil } -// ToGetRequestInformation get the task processing result from a userProcessingResult either directly or through a run. +// ToGetRequestInformation the associated individual task execution. // returns a *RequestInformation when successful func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_request_builder.go index 2d7290d6a46..bad3c30d793 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_request_builder.go @@ -12,7 +12,7 @@ import ( type LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsRequestBuilderGetQueryParameters get user processing results of a workflow run object. +// LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsRequestBuilderGetQueryParameters the associated individual user execution. type LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -70,12 +70,9 @@ func NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResults func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsRequestBuilder) Count()(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsCountRequestBuilder) { return NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get user processing results of a workflow run object. +// Get the associated individual user execution. // returns a UserProcessingResultCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-run-list-userprocessingresults?view=graph-rest-1.0 func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsRequestBuilderGetRequestConfiguration)(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.UserProcessingResultCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,7 +95,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResult func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsRequestBuilder) MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime(endDateTime *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time, startDateTime *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsMicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder) { return NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsMicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, endDateTime, startDateTime) } -// ToGetRequestInformation get user processing results of a workflow run object. +// ToGetRequestInformation the associated individual user execution. // returns a *RequestInformation when successful func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_user_processing_result_item_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_user_processing_result_item_request_builder.go index c24fa1b5a2a..7600ead8b01 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_user_processing_result_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_user_processing_result_item_request_builder.go @@ -11,7 +11,7 @@ import ( type LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsUserProcessingResultItemRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsUserProcessingResultItemRequestBuilderGetQueryParameters get the user processing result of a user processing result of a run. +// LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsUserProcessingResultItemRequestBuilderGetQueryParameters the associated individual user execution. type LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsUserProcessingResultItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -40,12 +40,9 @@ func NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResults urlParams["request-raw-url"] = rawUrl return NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsUserProcessingResultItemRequestBuilderInternal(urlParams, requestAdapter) } -// Get get the user processing result of a user processing result of a run. +// Get the associated individual user execution. // returns a UserProcessingResultable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-userprocessingresult-get?view=graph-rest-1.0 func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsUserProcessingResultItemRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsUserProcessingResultItemRequestBuilderGetRequestConfiguration)(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.UserProcessingResultable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,7 +70,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResult func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsUserProcessingResultItemRequestBuilder) TaskProcessingResults()(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilder) { return NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation get the user processing result of a user processing result of a run. +// ToGetRequestInformation the associated individual user execution. // returns a *RequestInformation when successful func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsUserProcessingResultItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsUserProcessingResultItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_request_builder.go index 5e55fcf8cca..582d3f09cbb 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_request_builder.go @@ -12,7 +12,7 @@ import ( type LifecycleWorkflowsDeletedItemsWorkflowsItemRunsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsDeletedItemsWorkflowsItemRunsRequestBuilderGetQueryParameters get a list of the run objects and their properties for a lifecycle workflow. +// LifecycleWorkflowsDeletedItemsWorkflowsItemRunsRequestBuilderGetQueryParameters workflow runs. type LifecycleWorkflowsDeletedItemsWorkflowsItemRunsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -70,12 +70,9 @@ func NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsRequestBuilder(rawUrl str func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsRequestBuilder) Count()(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsCountRequestBuilder) { return NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the run objects and their properties for a lifecycle workflow. +// Get workflow runs. // returns a RunCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-workflow-list-runs?view=graph-rest-1.0 func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsRequestBuilderGetRequestConfiguration)(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.RunCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,7 +95,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsRequestBuilder) Get(ctx func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsRequestBuilder) MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime(endDateTime *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time, startDateTime *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsMicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder) { return NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsMicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, endDateTime, startDateTime) } -// ToGetRequestInformation get a list of the run objects and their properties for a lifecycle workflow. +// ToGetRequestInformation workflow runs. // returns a *RequestInformation when successful func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_run_item_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_run_item_request_builder.go index bb0a461723c..0db3a5db164 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_run_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_run_item_request_builder.go @@ -11,7 +11,7 @@ import ( type LifecycleWorkflowsDeletedItemsWorkflowsItemRunsRunItemRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsDeletedItemsWorkflowsItemRunsRunItemRequestBuilderGetQueryParameters read the properties and relationships of a run object. +// LifecycleWorkflowsDeletedItemsWorkflowsItemRunsRunItemRequestBuilderGetQueryParameters workflow runs. type LifecycleWorkflowsDeletedItemsWorkflowsItemRunsRunItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -40,12 +40,9 @@ func NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsRunItemRequestBuilder(raw urlParams["request-raw-url"] = rawUrl return NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsRunItemRequestBuilderInternal(urlParams, requestAdapter) } -// Get read the properties and relationships of a run object. +// Get workflow runs. // returns a Runable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-run-get?view=graph-rest-1.0 func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsRunItemRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsRunItemRequestBuilderGetRequestConfiguration)(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.Runable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -68,7 +65,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsRunItemRequestBuilder) G func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsRunItemRequestBuilder) TaskProcessingResults()(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResultsRequestBuilder) { return NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResultsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation read the properties and relationships of a run object. +// ToGetRequestInformation workflow runs. // returns a *RequestInformation when successful func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsRunItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsRunItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go index bfaaa4ba943..e0491b7387b 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go @@ -34,7 +34,7 @@ func NewLifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessing // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-taskprocessingresult-resume?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-taskprocessingresult-resume?view=graph-rest-beta func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilder) Post(ctx context.Context, body LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeResumePostRequestBodyable, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_request_builder.go index ebb115f6a9d..49b009326b1 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_request_builder.go @@ -11,7 +11,7 @@ import ( type LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessingResultsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessingResultsRequestBuilderGetQueryParameters get the task processing result resources from the taskReport. +// LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessingResultsRequestBuilderGetQueryParameters the related lifecycle workflow taskProcessingResults. type LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessingResultsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewLifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessing func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessingResultsRequestBuilder) Count()(*LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessingResultsCountRequestBuilder) { return NewLifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessingResultsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the task processing result resources from the taskReport. +// Get the related lifecycle workflow taskProcessingResults. // returns a TaskProcessingResultCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-taskreport-list-taskprocessingresults?view=graph-rest-1.0 func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessingResultsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessingResultsRequestBuilderGetRequestConfiguration)(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.TaskProcessingResultCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessin } return res.(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.TaskProcessingResultCollectionResponseable), nil } -// ToGetRequestInformation get the task processing result resources from the taskReport. +// ToGetRequestInformation the related lifecycle workflow taskProcessingResults. // returns a *RequestInformation when successful func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessingResultsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessingResultsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_request_builder.go index 8492a188d3e..03bce3c5a61 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_request_builder.go @@ -12,7 +12,7 @@ import ( type LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsRequestBuilderGetQueryParameters get a list of the taskReport objects and their properties. +// LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsRequestBuilderGetQueryParameters represents the aggregation of task execution data for tasks within a workflow object. type LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -70,12 +70,9 @@ func NewLifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsRequestBuilder(raw func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsRequestBuilder) Count()(*LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsCountRequestBuilder) { return NewLifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the taskReport objects and their properties. +// Get represents the aggregation of task execution data for tasks within a workflow object. // returns a TaskReportCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-workflow-list-taskreports?view=graph-rest-1.0 func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsRequestBuilderGetRequestConfiguration)(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.TaskReportCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,7 +95,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsRequestBuilder) G func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsRequestBuilder) MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime(endDateTime *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time, startDateTime *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)(*LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsMicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder) { return NewLifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsMicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, endDateTime, startDateTime) } -// ToGetRequestInformation get a list of the taskReport objects and their properties. +// ToGetRequestInformation represents the aggregation of task execution data for tasks within a workflow object. // returns a *RequestInformation when successful func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go index b050374d331..e9bef52ac7b 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go @@ -34,7 +34,7 @@ func NewLifecycleWorkflowsDeletedItemsWorkflowsItemTasksItemTaskProcessingResult // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-taskprocessingresult-resume?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-taskprocessingresult-resume?view=graph-rest-beta func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTasksItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilder) Post(ctx context.Context, body LifecycleWorkflowsDeletedItemsWorkflowsItemTasksItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeResumePostRequestBodyable, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemTasksItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go index ad4e9fa1b71..2f71258c270 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go @@ -34,7 +34,7 @@ func NewLifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTask // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-taskprocessingresult-resume?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-taskprocessingresult-resume?view=graph-rest-beta func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilder) Post(ctx context.Context, body LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeResumePostRequestBodyable, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_request_builder.go index 61320a083f2..1e00c0aded9 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_request_builder.go @@ -11,7 +11,7 @@ import ( type LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilderGetQueryParameters get the task processing result from a userProcessingResult either directly or through a run. +// LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilderGetQueryParameters the associated individual task execution. type LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewLifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTask func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilder) Count()(*LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsCountRequestBuilder) { return NewLifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the task processing result from a userProcessingResult either directly or through a run. +// Get the associated individual task execution. // returns a TaskProcessingResultCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-userprocessingresult-list-taskprocessingresults?view=graph-rest-1.0 func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilderGetRequestConfiguration)(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.TaskProcessingResultCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTas } return res.(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.TaskProcessingResultCollectionResponseable), nil } -// ToGetRequestInformation get the task processing result from a userProcessingResult either directly or through a run. +// ToGetRequestInformation the associated individual task execution. // returns a *RequestInformation when successful func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_request_builder.go index 5d05605b3eb..757ce53da1f 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_request_builder.go @@ -12,7 +12,7 @@ import ( type LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsRequestBuilderGetQueryParameters get the userProcessingResult resources for a workflow. +// LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsRequestBuilderGetQueryParameters per-user workflow execution results. type LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -70,12 +70,9 @@ func NewLifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsRequestB func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsRequestBuilder) Count()(*LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsCountRequestBuilder) { return NewLifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the userProcessingResult resources for a workflow. +// Get per-user workflow execution results. // returns a UserProcessingResultCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-workflow-list-userprocessingresults?view=graph-rest-1.0 func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsRequestBuilderGetRequestConfiguration)(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.UserProcessingResultCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,7 +95,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsRequest func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsRequestBuilder) MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime(endDateTime *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time, startDateTime *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)(*LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsMicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder) { return NewLifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsMicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, endDateTime, startDateTime) } -// ToGetRequestInformation get the userProcessingResult resources for a workflow. +// ToGetRequestInformation per-user workflow execution results. // returns a *RequestInformation when successful func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go index 8531f92b99a..c88fc8bc612 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go @@ -34,7 +34,7 @@ func NewLifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksItemTaskProc // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-taskprocessingresult-resume?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-taskprocessingresult-resume?view=graph-rest-beta func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilder) Post(ctx context.Context, body LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeResumePostRequestBodyable, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_request_builder.go index 3977663a227..01adb34e6ad 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_request_builder.go @@ -12,7 +12,7 @@ import ( type LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsRequestBuilderGetQueryParameters get a list of the workflowVersion objects and their properties. +// LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsRequestBuilderGetQueryParameters the workflow versions that are available. type LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func NewLifecycleWorkflowsDeletedItemsWorkflowsItemVersionsRequestBuilder(rawUrl func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsRequestBuilder) Count()(*LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsCountRequestBuilder) { return NewLifecycleWorkflowsDeletedItemsWorkflowsItemVersionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the workflowVersion objects and their properties. +// Get the workflow versions that are available. // returns a WorkflowVersionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-workflow-list-versions?view=graph-rest-1.0 func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsRequestBuilderGetRequestConfiguration)(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.WorkflowVersionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,7 +101,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsRequestBuilder) Get( } return res.(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.WorkflowVersionCollectionResponseable), nil } -// ToGetRequestInformation get a list of the workflowVersion objects and their properties. +// ToGetRequestInformation the workflow versions that are available. // returns a *RequestInformation when successful func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_workflow_version_version_number_item_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_workflow_version_version_number_item_request_builder.go index bbcb138c6e7..f3fbb203b4b 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_workflow_version_version_number_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_workflow_version_version_number_item_request_builder.go @@ -11,7 +11,7 @@ import ( type LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsWorkflowVersionVersionNumberItemRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsWorkflowVersionVersionNumberItemRequestBuilderGetQueryParameters read the properties and relationships of a workflowVersion object. +// LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsWorkflowVersionVersionNumberItemRequestBuilderGetQueryParameters the workflow versions that are available. type LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsWorkflowVersionVersionNumberItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -45,12 +45,9 @@ func NewLifecycleWorkflowsDeletedItemsWorkflowsItemVersionsWorkflowVersionVersio func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsWorkflowVersionVersionNumberItemRequestBuilder) CreatedBy()(*LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemCreatedByRequestBuilder) { return NewLifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemCreatedByRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of a workflowVersion object. +// Get the workflow versions that are available. // returns a WorkflowVersionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-workflowversion-get?view=graph-rest-1.0 func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsWorkflowVersionVersionNumberItemRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsWorkflowVersionVersionNumberItemRequestBuilderGetRequestConfiguration)(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.WorkflowVersionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,7 +75,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsWorkflowVersionVersi func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsWorkflowVersionVersionNumberItemRequestBuilder) Tasks()(*LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksRequestBuilder) { return NewLifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation read the properties and relationships of a workflowVersion object. +// ToGetRequestInformation the workflow versions that are available. // returns a *RequestInformation when successful func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsWorkflowVersionVersionNumberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsWorkflowVersionVersionNumberItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_request_builder.go index 5a6f894e51b..84d59e406a5 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_request_builder.go @@ -11,7 +11,7 @@ import ( type LifecycleWorkflowsDeletedItemsWorkflowsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsDeletedItemsWorkflowsRequestBuilderGetQueryParameters get a list of the deleted workflow objects and their properties. +// LifecycleWorkflowsDeletedItemsWorkflowsRequestBuilderGetQueryParameters deleted workflows that end up in the deletedItemsContainer. type LifecycleWorkflowsDeletedItemsWorkflowsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewLifecycleWorkflowsDeletedItemsWorkflowsRequestBuilder(rawUrl string, req func (m *LifecycleWorkflowsDeletedItemsWorkflowsRequestBuilder) Count()(*LifecycleWorkflowsDeletedItemsWorkflowsCountRequestBuilder) { return NewLifecycleWorkflowsDeletedItemsWorkflowsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the deleted workflow objects and their properties. +// Get deleted workflows that end up in the deletedItemsContainer. // returns a WorkflowCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-lifecycleworkflowscontainer-list-deleteditems?view=graph-rest-1.0 func (m *LifecycleWorkflowsDeletedItemsWorkflowsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsRequestBuilderGetRequestConfiguration)(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.WorkflowCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsRequestBuilder) Get(ctx context. } return res.(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.WorkflowCollectionResponseable), nil } -// ToGetRequestInformation get a list of the deleted workflow objects and their properties. +// ToGetRequestInformation deleted workflows that end up in the deletedItemsContainer. // returns a *RequestInformation when successful func (m *LifecycleWorkflowsDeletedItemsWorkflowsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_workflow_item_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_workflow_item_request_builder.go index 8276c52dd66..a7c2f2dd8f0 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_workflow_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_workflow_item_request_builder.go @@ -18,7 +18,7 @@ type LifecycleWorkflowsDeletedItemsWorkflowsWorkflowItemRequestBuilderDeleteRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// LifecycleWorkflowsDeletedItemsWorkflowsWorkflowItemRequestBuilderGetQueryParameters retrieve a deleted workflow object. +// LifecycleWorkflowsDeletedItemsWorkflowsWorkflowItemRequestBuilderGetQueryParameters deleted workflows that end up in the deletedItemsContainer. type LifecycleWorkflowsDeletedItemsWorkflowsWorkflowItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -52,11 +52,8 @@ func NewLifecycleWorkflowsDeletedItemsWorkflowsWorkflowItemRequestBuilder(rawUrl func (m *LifecycleWorkflowsDeletedItemsWorkflowsWorkflowItemRequestBuilder) CreatedBy()(*LifecycleWorkflowsDeletedItemsWorkflowsItemCreatedByRequestBuilder) { return NewLifecycleWorkflowsDeletedItemsWorkflowsItemCreatedByRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Delete delete a workflow object. +// Delete delete navigation property workflows for identityGovernance // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-deletedItemcontainer-delete?view=graph-rest-1.0 func (m *LifecycleWorkflowsDeletedItemsWorkflowsWorkflowItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsWorkflowItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -76,12 +73,9 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsWorkflowItemRequestBuilder) Dele func (m *LifecycleWorkflowsDeletedItemsWorkflowsWorkflowItemRequestBuilder) ExecutionScope()(*LifecycleWorkflowsDeletedItemsWorkflowsItemExecutionScopeRequestBuilder) { return NewLifecycleWorkflowsDeletedItemsWorkflowsItemExecutionScopeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a deleted workflow object. +// Get deleted workflows that end up in the deletedItemsContainer. // returns a Workflowable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-deleteditemcontainer-get?view=graph-rest-1.0 func (m *LifecycleWorkflowsDeletedItemsWorkflowsWorkflowItemRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsWorkflowItemRequestBuilderGetRequestConfiguration)(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.Workflowable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -134,7 +128,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsWorkflowItemRequestBuilder) Task func (m *LifecycleWorkflowsDeletedItemsWorkflowsWorkflowItemRequestBuilder) Tasks()(*LifecycleWorkflowsDeletedItemsWorkflowsItemTasksRequestBuilder) { return NewLifecycleWorkflowsDeletedItemsWorkflowsItemTasksRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a workflow object. +// ToDeleteRequestInformation delete navigation property workflows for identityGovernance // returns a *RequestInformation when successful func (m *LifecycleWorkflowsDeletedItemsWorkflowsWorkflowItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsWorkflowItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -145,7 +139,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsWorkflowItemRequestBuilder) ToDe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a deleted workflow object. +// ToGetRequestInformation deleted workflows that end up in the deletedItemsContainer. // returns a *RequestInformation when successful func (m *LifecycleWorkflowsDeletedItemsWorkflowsWorkflowItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsWorkflowItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/lifecycle_workflows_settings_request_builder.go b/identitygovernance/lifecycle_workflows_settings_request_builder.go index 71599111b00..ca09a6343ca 100644 --- a/identitygovernance/lifecycle_workflows_settings_request_builder.go +++ b/identitygovernance/lifecycle_workflows_settings_request_builder.go @@ -11,7 +11,7 @@ import ( type LifecycleWorkflowsSettingsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsSettingsRequestBuilderGetQueryParameters read the properties and relationships of a lifecycleManagementSettings object. +// LifecycleWorkflowsSettingsRequestBuilderGetQueryParameters the settings of the lifecycle workflows instance. type LifecycleWorkflowsSettingsRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,12 +47,9 @@ func NewLifecycleWorkflowsSettingsRequestBuilder(rawUrl string, requestAdapter i urlParams["request-raw-url"] = rawUrl return NewLifecycleWorkflowsSettingsRequestBuilderInternal(urlParams, requestAdapter) } -// Get read the properties and relationships of a lifecycleManagementSettings object. +// Get the settings of the lifecycle workflows instance. // returns a LifecycleManagementSettingsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-lifecyclemanagementsettings-get?view=graph-rest-1.0 func (m *LifecycleWorkflowsSettingsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsSettingsRequestBuilderGetRequestConfiguration)(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.LifecycleManagementSettingsable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -70,12 +67,9 @@ func (m *LifecycleWorkflowsSettingsRequestBuilder) Get(ctx context.Context, requ } return res.(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.LifecycleManagementSettingsable), nil } -// Patch update the properties of a lifecycleManagementSettings object. +// Patch update the navigation property settings in identityGovernance // returns a LifecycleManagementSettingsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-lifecyclemanagementsettings-update?view=graph-rest-1.0 func (m *LifecycleWorkflowsSettingsRequestBuilder) Patch(ctx context.Context, body i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.LifecycleManagementSettingsable, requestConfiguration *LifecycleWorkflowsSettingsRequestBuilderPatchRequestConfiguration)(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.LifecycleManagementSettingsable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -93,7 +87,7 @@ func (m *LifecycleWorkflowsSettingsRequestBuilder) Patch(ctx context.Context, bo } return res.(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.LifecycleManagementSettingsable), nil } -// ToGetRequestInformation read the properties and relationships of a lifecycleManagementSettings object. +// ToGetRequestInformation the settings of the lifecycle workflows instance. // returns a *RequestInformation when successful func (m *LifecycleWorkflowsSettingsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsSettingsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -107,7 +101,7 @@ func (m *LifecycleWorkflowsSettingsRequestBuilder) ToGetRequestInformation(ctx c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a lifecycleManagementSettings object. +// ToPatchRequestInformation update the navigation property settings in identityGovernance // returns a *RequestInformation when successful func (m *LifecycleWorkflowsSettingsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.LifecycleManagementSettingsable, requestConfiguration *LifecycleWorkflowsSettingsRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/lifecycle_workflows_task_definitions_request_builder.go b/identitygovernance/lifecycle_workflows_task_definitions_request_builder.go index 0e7352ea269..2f0072eb5e3 100644 --- a/identitygovernance/lifecycle_workflows_task_definitions_request_builder.go +++ b/identitygovernance/lifecycle_workflows_task_definitions_request_builder.go @@ -11,7 +11,7 @@ import ( type LifecycleWorkflowsTaskDefinitionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsTaskDefinitionsRequestBuilderGetQueryParameters get a list of the taskDefinition objects and their properties. +// LifecycleWorkflowsTaskDefinitionsRequestBuilderGetQueryParameters the definition of tasks within the lifecycle workflows instance. type LifecycleWorkflowsTaskDefinitionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewLifecycleWorkflowsTaskDefinitionsRequestBuilder(rawUrl string, requestAd func (m *LifecycleWorkflowsTaskDefinitionsRequestBuilder) Count()(*LifecycleWorkflowsTaskDefinitionsCountRequestBuilder) { return NewLifecycleWorkflowsTaskDefinitionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the taskDefinition objects and their properties. +// Get the definition of tasks within the lifecycle workflows instance. // returns a TaskDefinitionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-lifecycleworkflowscontainer-list-taskdefinitions?view=graph-rest-1.0 func (m *LifecycleWorkflowsTaskDefinitionsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsTaskDefinitionsRequestBuilderGetRequestConfiguration)(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.TaskDefinitionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *LifecycleWorkflowsTaskDefinitionsRequestBuilder) Get(ctx context.Contex } return res.(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.TaskDefinitionCollectionResponseable), nil } -// ToGetRequestInformation get a list of the taskDefinition objects and their properties. +// ToGetRequestInformation the definition of tasks within the lifecycle workflows instance. // returns a *RequestInformation when successful func (m *LifecycleWorkflowsTaskDefinitionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsTaskDefinitionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/lifecycle_workflows_task_definitions_task_definition_item_request_builder.go b/identitygovernance/lifecycle_workflows_task_definitions_task_definition_item_request_builder.go index 698e649e7fc..56570bcc2de 100644 --- a/identitygovernance/lifecycle_workflows_task_definitions_task_definition_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_task_definitions_task_definition_item_request_builder.go @@ -11,7 +11,7 @@ import ( type LifecycleWorkflowsTaskDefinitionsTaskDefinitionItemRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsTaskDefinitionsTaskDefinitionItemRequestBuilderGetQueryParameters read the details of a built-in workflow task. +// LifecycleWorkflowsTaskDefinitionsTaskDefinitionItemRequestBuilderGetQueryParameters the definition of tasks within the lifecycle workflows instance. type LifecycleWorkflowsTaskDefinitionsTaskDefinitionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -40,12 +40,9 @@ func NewLifecycleWorkflowsTaskDefinitionsTaskDefinitionItemRequestBuilder(rawUrl urlParams["request-raw-url"] = rawUrl return NewLifecycleWorkflowsTaskDefinitionsTaskDefinitionItemRequestBuilderInternal(urlParams, requestAdapter) } -// Get read the details of a built-in workflow task. +// Get the definition of tasks within the lifecycle workflows instance. // returns a TaskDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-taskdefinition-get?view=graph-rest-1.0 func (m *LifecycleWorkflowsTaskDefinitionsTaskDefinitionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsTaskDefinitionsTaskDefinitionItemRequestBuilderGetRequestConfiguration)(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.TaskDefinitionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -63,7 +60,7 @@ func (m *LifecycleWorkflowsTaskDefinitionsTaskDefinitionItemRequestBuilder) Get( } return res.(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.TaskDefinitionable), nil } -// ToGetRequestInformation read the details of a built-in workflow task. +// ToGetRequestInformation the definition of tasks within the lifecycle workflows instance. // returns a *RequestInformation when successful func (m *LifecycleWorkflowsTaskDefinitionsTaskDefinitionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsTaskDefinitionsTaskDefinitionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go b/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go index 2b9404c380c..5a6d00fb838 100644 --- a/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go @@ -34,7 +34,7 @@ func NewLifecycleWorkflowsWorkflowTemplatesItemTasksItemTaskProcessingResultsIte // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-taskprocessingresult-resume?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-taskprocessingresult-resume?view=graph-rest-beta func (m *LifecycleWorkflowsWorkflowTemplatesItemTasksItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilder) Post(ctx context.Context, body LifecycleWorkflowsWorkflowTemplatesItemTasksItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeResumePostRequestBodyable, requestConfiguration *LifecycleWorkflowsWorkflowTemplatesItemTasksItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/identitygovernance/lifecycle_workflows_workflow_templates_request_builder.go b/identitygovernance/lifecycle_workflows_workflow_templates_request_builder.go index 68768711648..f5749032b11 100644 --- a/identitygovernance/lifecycle_workflows_workflow_templates_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflow_templates_request_builder.go @@ -11,7 +11,7 @@ import ( type LifecycleWorkflowsWorkflowTemplatesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsWorkflowTemplatesRequestBuilderGetQueryParameters get a list of the workflowTemplate objects and their properties. +// LifecycleWorkflowsWorkflowTemplatesRequestBuilderGetQueryParameters the workflow templates in the lifecycle workflow instance. type LifecycleWorkflowsWorkflowTemplatesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewLifecycleWorkflowsWorkflowTemplatesRequestBuilder(rawUrl string, request func (m *LifecycleWorkflowsWorkflowTemplatesRequestBuilder) Count()(*LifecycleWorkflowsWorkflowTemplatesCountRequestBuilder) { return NewLifecycleWorkflowsWorkflowTemplatesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the workflowTemplate objects and their properties. +// Get the workflow templates in the lifecycle workflow instance. // returns a WorkflowTemplateCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-lifecycleworkflowscontainer-list-workflowtemplates?view=graph-rest-1.0 func (m *LifecycleWorkflowsWorkflowTemplatesRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowTemplatesRequestBuilderGetRequestConfiguration)(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.WorkflowTemplateCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *LifecycleWorkflowsWorkflowTemplatesRequestBuilder) Get(ctx context.Cont } return res.(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.WorkflowTemplateCollectionResponseable), nil } -// ToGetRequestInformation get a list of the workflowTemplate objects and their properties. +// ToGetRequestInformation the workflow templates in the lifecycle workflow instance. // returns a *RequestInformation when successful func (m *LifecycleWorkflowsWorkflowTemplatesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowTemplatesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/lifecycle_workflows_workflow_templates_workflow_template_item_request_builder.go b/identitygovernance/lifecycle_workflows_workflow_templates_workflow_template_item_request_builder.go index bf8e05f91a4..d1617acedef 100644 --- a/identitygovernance/lifecycle_workflows_workflow_templates_workflow_template_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflow_templates_workflow_template_item_request_builder.go @@ -11,7 +11,7 @@ import ( type LifecycleWorkflowsWorkflowTemplatesWorkflowTemplateItemRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsWorkflowTemplatesWorkflowTemplateItemRequestBuilderGetQueryParameters read the properties and relationships of a workflowTemplate object. +// LifecycleWorkflowsWorkflowTemplatesWorkflowTemplateItemRequestBuilderGetQueryParameters the workflow templates in the lifecycle workflow instance. type LifecycleWorkflowsWorkflowTemplatesWorkflowTemplateItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -40,12 +40,9 @@ func NewLifecycleWorkflowsWorkflowTemplatesWorkflowTemplateItemRequestBuilder(ra urlParams["request-raw-url"] = rawUrl return NewLifecycleWorkflowsWorkflowTemplatesWorkflowTemplateItemRequestBuilderInternal(urlParams, requestAdapter) } -// Get read the properties and relationships of a workflowTemplate object. +// Get the workflow templates in the lifecycle workflow instance. // returns a WorkflowTemplateable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-workflowtemplate-get?view=graph-rest-1.0 func (m *LifecycleWorkflowsWorkflowTemplatesWorkflowTemplateItemRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowTemplatesWorkflowTemplateItemRequestBuilderGetRequestConfiguration)(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.WorkflowTemplateable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -68,7 +65,7 @@ func (m *LifecycleWorkflowsWorkflowTemplatesWorkflowTemplateItemRequestBuilder) func (m *LifecycleWorkflowsWorkflowTemplatesWorkflowTemplateItemRequestBuilder) Tasks()(*LifecycleWorkflowsWorkflowTemplatesItemTasksRequestBuilder) { return NewLifecycleWorkflowsWorkflowTemplatesItemTasksRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation read the properties and relationships of a workflowTemplate object. +// ToGetRequestInformation the workflow templates in the lifecycle workflow instance. // returns a *RequestInformation when successful func (m *LifecycleWorkflowsWorkflowTemplatesWorkflowTemplateItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowTemplatesWorkflowTemplateItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/lifecycle_workflows_workflows_item_microsoft_graph_identity_governance_activate_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_microsoft_graph_identity_governance_activate_request_builder.go index f48cde920d3..3a00ada8604 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_microsoft_graph_identity_governance_activate_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_microsoft_graph_identity_governance_activate_request_builder.go @@ -34,7 +34,7 @@ func NewLifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateR // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-workflow-activate?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-workflow-activate?view=graph-rest-beta func (m *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateRequestBuilder) Post(ctx context.Context, body LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateActivatePostRequestBodyable, requestConfiguration *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivateRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/identitygovernance/lifecycle_workflows_workflows_item_microsoft_graph_identity_governance_create_new_version_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_microsoft_graph_identity_governance_create_new_version_request_builder.go index 01a0440692c..dcfd000eac0 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_microsoft_graph_identity_governance_create_new_version_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_microsoft_graph_identity_governance_create_new_version_request_builder.go @@ -36,7 +36,7 @@ func NewLifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceCreateNew // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-workflow-createnewversion?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-workflow-createnewversion?view=graph-rest-beta func (m *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder) Post(ctx context.Context, body LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceCreateNewVersionCreateNewVersionPostRequestBodyable, requestConfiguration *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilderPostRequestConfiguration)(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.Workflowable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/identitygovernance/lifecycle_workflows_workflows_item_microsoft_graph_identity_governance_restore_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_microsoft_graph_identity_governance_restore_request_builder.go index 21be4fe6132..c055c61b916 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_microsoft_graph_identity_governance_restore_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_microsoft_graph_identity_governance_restore_request_builder.go @@ -36,7 +36,7 @@ func NewLifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceRestoreRe // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-workflow-restore?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-workflow-restore?view=graph-rest-beta func (m *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceRestoreRequestBuilder) Post(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceRestoreRequestBuilderPostRequestConfiguration)(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.Workflowable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go index c03d64867a2..05b3f724b9f 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go @@ -34,7 +34,7 @@ func NewLifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsItemMicrosof // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-taskprocessingresult-resume?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-taskprocessingresult-resume?view=graph-rest-beta func (m *LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilder) Post(ctx context.Context, body LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeResumePostRequestBodyable, requestConfiguration *LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_request_builder.go index 435e48d0c47..31282662e53 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_request_builder.go @@ -11,7 +11,7 @@ import ( type LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsRequestBuilderGetQueryParameters get the taskProcessingResult resources for a run. +// LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsRequestBuilderGetQueryParameters the related taskProcessingResults. type LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewLifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsRequestBuild func (m *LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsRequestBuilder) Count()(*LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsCountRequestBuilder) { return NewLifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the taskProcessingResult resources for a run. +// Get the related taskProcessingResults. // returns a TaskProcessingResultCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-run-list-taskprocessingresults?view=graph-rest-1.0 func (m *LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsRequestBuilderGetRequestConfiguration)(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.TaskProcessingResultCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsRequestBuil } return res.(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.TaskProcessingResultCollectionResponseable), nil } -// ToGetRequestInformation get the taskProcessingResult resources for a run. +// ToGetRequestInformation the related taskProcessingResults. // returns a *RequestInformation when successful func (m *LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go index bece9c809f5..086fd78bd35 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go @@ -34,7 +34,7 @@ func NewLifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskProc // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-taskprocessingresult-resume?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-taskprocessingresult-resume?view=graph-rest-beta func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilder) Post(ctx context.Context, body LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeResumePostRequestBodyable, requestConfiguration *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_request_builder.go index 9dcdf4ce758..eda787702e7 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_request_builder.go @@ -11,7 +11,7 @@ import ( type LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilderGetQueryParameters get the task processing result from a userProcessingResult either directly or through a run. +// LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilderGetQueryParameters the associated individual task execution. type LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewLifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskProc func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilder) Count()(*LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsCountRequestBuilder) { return NewLifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the task processing result from a userProcessingResult either directly or through a run. +// Get the associated individual task execution. // returns a TaskProcessingResultCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-userprocessingresult-list-taskprocessingresults?view=graph-rest-1.0 func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilderGetRequestConfiguration)(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.TaskProcessingResultCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskPro } return res.(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.TaskProcessingResultCollectionResponseable), nil } -// ToGetRequestInformation get the task processing result from a userProcessingResult either directly or through a run. +// ToGetRequestInformation the associated individual task execution. // returns a *RequestInformation when successful func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_request_builder.go index 563bce8b7d8..49fdc34e986 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_request_builder.go @@ -12,7 +12,7 @@ import ( type LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsRequestBuilderGetQueryParameters get user processing results of a workflow run object. +// LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsRequestBuilderGetQueryParameters the associated individual user execution. type LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -70,12 +70,9 @@ func NewLifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsRequestBuild func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsRequestBuilder) Count()(*LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsCountRequestBuilder) { return NewLifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get user processing results of a workflow run object. +// Get the associated individual user execution. // returns a UserProcessingResultCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-run-list-userprocessingresults?view=graph-rest-1.0 func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsRequestBuilderGetRequestConfiguration)(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.UserProcessingResultCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,7 +95,7 @@ func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsRequestBuil func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsRequestBuilder) MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime(endDateTime *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time, startDateTime *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)(*LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsMicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder) { return NewLifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsMicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, endDateTime, startDateTime) } -// ToGetRequestInformation get user processing results of a workflow run object. +// ToGetRequestInformation the associated individual user execution. // returns a *RequestInformation when successful func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_user_processing_result_item_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_user_processing_result_item_request_builder.go index a8e3c586f42..d8dfd485a67 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_user_processing_result_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_user_processing_result_item_request_builder.go @@ -11,7 +11,7 @@ import ( type LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsUserProcessingResultItemRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsUserProcessingResultItemRequestBuilderGetQueryParameters get the user processing result of a user processing result of a run. +// LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsUserProcessingResultItemRequestBuilderGetQueryParameters the associated individual user execution. type LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsUserProcessingResultItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -40,12 +40,9 @@ func NewLifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsUserProcessi urlParams["request-raw-url"] = rawUrl return NewLifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsUserProcessingResultItemRequestBuilderInternal(urlParams, requestAdapter) } -// Get get the user processing result of a user processing result of a run. +// Get the associated individual user execution. // returns a UserProcessingResultable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-userprocessingresult-get?view=graph-rest-1.0 func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsUserProcessingResultItemRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsUserProcessingResultItemRequestBuilderGetRequestConfiguration)(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.UserProcessingResultable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,7 +70,7 @@ func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsUserProcess func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsUserProcessingResultItemRequestBuilder) TaskProcessingResults()(*LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilder) { return NewLifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation get the user processing result of a user processing result of a run. +// ToGetRequestInformation the associated individual user execution. // returns a *RequestInformation when successful func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsUserProcessingResultItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsUserProcessingResultItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/lifecycle_workflows_workflows_item_runs_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_runs_request_builder.go index d97075192a3..e554c68545a 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_runs_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_runs_request_builder.go @@ -12,7 +12,7 @@ import ( type LifecycleWorkflowsWorkflowsItemRunsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsWorkflowsItemRunsRequestBuilderGetQueryParameters get a list of the run objects and their properties for a lifecycle workflow. +// LifecycleWorkflowsWorkflowsItemRunsRequestBuilderGetQueryParameters workflow runs. type LifecycleWorkflowsWorkflowsItemRunsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -70,12 +70,9 @@ func NewLifecycleWorkflowsWorkflowsItemRunsRequestBuilder(rawUrl string, request func (m *LifecycleWorkflowsWorkflowsItemRunsRequestBuilder) Count()(*LifecycleWorkflowsWorkflowsItemRunsCountRequestBuilder) { return NewLifecycleWorkflowsWorkflowsItemRunsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the run objects and their properties for a lifecycle workflow. +// Get workflow runs. // returns a RunCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-workflow-list-runs?view=graph-rest-1.0 func (m *LifecycleWorkflowsWorkflowsItemRunsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemRunsRequestBuilderGetRequestConfiguration)(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.RunCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,7 +95,7 @@ func (m *LifecycleWorkflowsWorkflowsItemRunsRequestBuilder) Get(ctx context.Cont func (m *LifecycleWorkflowsWorkflowsItemRunsRequestBuilder) MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime(endDateTime *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time, startDateTime *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)(*LifecycleWorkflowsWorkflowsItemRunsMicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder) { return NewLifecycleWorkflowsWorkflowsItemRunsMicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, endDateTime, startDateTime) } -// ToGetRequestInformation get a list of the run objects and their properties for a lifecycle workflow. +// ToGetRequestInformation workflow runs. // returns a *RequestInformation when successful func (m *LifecycleWorkflowsWorkflowsItemRunsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemRunsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/lifecycle_workflows_workflows_item_runs_run_item_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_runs_run_item_request_builder.go index b1b59d122fb..37c8bf0fbc3 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_runs_run_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_runs_run_item_request_builder.go @@ -11,7 +11,7 @@ import ( type LifecycleWorkflowsWorkflowsItemRunsRunItemRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsWorkflowsItemRunsRunItemRequestBuilderGetQueryParameters read the properties and relationships of a run object. +// LifecycleWorkflowsWorkflowsItemRunsRunItemRequestBuilderGetQueryParameters workflow runs. type LifecycleWorkflowsWorkflowsItemRunsRunItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -40,12 +40,9 @@ func NewLifecycleWorkflowsWorkflowsItemRunsRunItemRequestBuilder(rawUrl string, urlParams["request-raw-url"] = rawUrl return NewLifecycleWorkflowsWorkflowsItemRunsRunItemRequestBuilderInternal(urlParams, requestAdapter) } -// Get read the properties and relationships of a run object. +// Get workflow runs. // returns a Runable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-run-get?view=graph-rest-1.0 func (m *LifecycleWorkflowsWorkflowsItemRunsRunItemRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemRunsRunItemRequestBuilderGetRequestConfiguration)(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.Runable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -68,7 +65,7 @@ func (m *LifecycleWorkflowsWorkflowsItemRunsRunItemRequestBuilder) Get(ctx conte func (m *LifecycleWorkflowsWorkflowsItemRunsRunItemRequestBuilder) TaskProcessingResults()(*LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsRequestBuilder) { return NewLifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation read the properties and relationships of a run object. +// ToGetRequestInformation workflow runs. // returns a *RequestInformation when successful func (m *LifecycleWorkflowsWorkflowsItemRunsRunItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemRunsRunItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go index c1fc1c6a1b2..ec902a57c78 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go @@ -34,7 +34,7 @@ func NewLifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsItemM // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-taskprocessingresult-resume?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-taskprocessingresult-resume?view=graph-rest-beta func (m *LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilder) Post(ctx context.Context, body LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeResumePostRequestBodyable, requestConfiguration *LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_request_builder.go index 65a54e3439c..7127ebb3a97 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_request_builder.go @@ -11,7 +11,7 @@ import ( type LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsRequestBuilderGetQueryParameters get the task processing result resources from the taskReport. +// LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsRequestBuilderGetQueryParameters the related lifecycle workflow taskProcessingResults. type LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewLifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsReque func (m *LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsRequestBuilder) Count()(*LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsCountRequestBuilder) { return NewLifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the task processing result resources from the taskReport. +// Get the related lifecycle workflow taskProcessingResults. // returns a TaskProcessingResultCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-taskreport-list-taskprocessingresults?view=graph-rest-1.0 func (m *LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsRequestBuilderGetRequestConfiguration)(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.TaskProcessingResultCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsRequ } return res.(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.TaskProcessingResultCollectionResponseable), nil } -// ToGetRequestInformation get the task processing result resources from the taskReport. +// ToGetRequestInformation the related lifecycle workflow taskProcessingResults. // returns a *RequestInformation when successful func (m *LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/lifecycle_workflows_workflows_item_task_reports_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_task_reports_request_builder.go index dbb66914fe5..047a6d6aae0 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_task_reports_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_task_reports_request_builder.go @@ -12,7 +12,7 @@ import ( type LifecycleWorkflowsWorkflowsItemTaskReportsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsWorkflowsItemTaskReportsRequestBuilderGetQueryParameters get a list of the taskReport objects and their properties. +// LifecycleWorkflowsWorkflowsItemTaskReportsRequestBuilderGetQueryParameters represents the aggregation of task execution data for tasks within a workflow object. type LifecycleWorkflowsWorkflowsItemTaskReportsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -70,12 +70,9 @@ func NewLifecycleWorkflowsWorkflowsItemTaskReportsRequestBuilder(rawUrl string, func (m *LifecycleWorkflowsWorkflowsItemTaskReportsRequestBuilder) Count()(*LifecycleWorkflowsWorkflowsItemTaskReportsCountRequestBuilder) { return NewLifecycleWorkflowsWorkflowsItemTaskReportsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the taskReport objects and their properties. +// Get represents the aggregation of task execution data for tasks within a workflow object. // returns a TaskReportCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-workflow-list-taskreports?view=graph-rest-1.0 func (m *LifecycleWorkflowsWorkflowsItemTaskReportsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemTaskReportsRequestBuilderGetRequestConfiguration)(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.TaskReportCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,7 +95,7 @@ func (m *LifecycleWorkflowsWorkflowsItemTaskReportsRequestBuilder) Get(ctx conte func (m *LifecycleWorkflowsWorkflowsItemTaskReportsRequestBuilder) MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime(endDateTime *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time, startDateTime *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)(*LifecycleWorkflowsWorkflowsItemTaskReportsMicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder) { return NewLifecycleWorkflowsWorkflowsItemTaskReportsMicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, endDateTime, startDateTime) } -// ToGetRequestInformation get a list of the taskReport objects and their properties. +// ToGetRequestInformation represents the aggregation of task execution data for tasks within a workflow object. // returns a *RequestInformation when successful func (m *LifecycleWorkflowsWorkflowsItemTaskReportsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemTaskReportsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/lifecycle_workflows_workflows_item_tasks_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_tasks_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go index 3bcbfd9ce9b..9f156b05385 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_tasks_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_tasks_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go @@ -34,7 +34,7 @@ func NewLifecycleWorkflowsWorkflowsItemTasksItemTaskProcessingResultsItemMicroso // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-taskprocessingresult-resume?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-taskprocessingresult-resume?view=graph-rest-beta func (m *LifecycleWorkflowsWorkflowsItemTasksItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilder) Post(ctx context.Context, body LifecycleWorkflowsWorkflowsItemTasksItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeResumePostRequestBodyable, requestConfiguration *LifecycleWorkflowsWorkflowsItemTasksItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go index 0cf801b3383..7d2db2db32d 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go @@ -34,7 +34,7 @@ func NewLifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingRe // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-taskprocessingresult-resume?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-taskprocessingresult-resume?view=graph-rest-beta func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilder) Post(ctx context.Context, body LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeResumePostRequestBodyable, requestConfiguration *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_request_builder.go index 4976e3010db..d4305123722 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_request_builder.go @@ -11,7 +11,7 @@ import ( type LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilderGetQueryParameters get the task processing result from a userProcessingResult either directly or through a run. +// LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilderGetQueryParameters the associated individual task execution. type LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewLifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingRe func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilder) Count()(*LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsCountRequestBuilder) { return NewLifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the task processing result from a userProcessingResult either directly or through a run. +// Get the associated individual task execution. // returns a TaskProcessingResultCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-userprocessingresult-list-taskprocessingresults?view=graph-rest-1.0 func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilderGetRequestConfiguration)(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.TaskProcessingResultCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingR } return res.(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.TaskProcessingResultCollectionResponseable), nil } -// ToGetRequestInformation get the task processing result from a userProcessingResult either directly or through a run. +// ToGetRequestInformation the associated individual task execution. // returns a *RequestInformation when successful func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_request_builder.go index 0fb05755558..a4851485c98 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_request_builder.go @@ -12,7 +12,7 @@ import ( type LifecycleWorkflowsWorkflowsItemUserProcessingResultsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsWorkflowsItemUserProcessingResultsRequestBuilderGetQueryParameters get the userProcessingResult resources for a workflow. +// LifecycleWorkflowsWorkflowsItemUserProcessingResultsRequestBuilderGetQueryParameters per-user workflow execution results. type LifecycleWorkflowsWorkflowsItemUserProcessingResultsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -70,12 +70,9 @@ func NewLifecycleWorkflowsWorkflowsItemUserProcessingResultsRequestBuilder(rawUr func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsRequestBuilder) Count()(*LifecycleWorkflowsWorkflowsItemUserProcessingResultsCountRequestBuilder) { return NewLifecycleWorkflowsWorkflowsItemUserProcessingResultsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the userProcessingResult resources for a workflow. +// Get per-user workflow execution results. // returns a UserProcessingResultCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-workflow-list-userprocessingresults?view=graph-rest-1.0 func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemUserProcessingResultsRequestBuilderGetRequestConfiguration)(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.UserProcessingResultCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,7 +95,7 @@ func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsRequestBuilder) Get func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsRequestBuilder) MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime(endDateTime *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time, startDateTime *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)(*LifecycleWorkflowsWorkflowsItemUserProcessingResultsMicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder) { return NewLifecycleWorkflowsWorkflowsItemUserProcessingResultsMicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, endDateTime, startDateTime) } -// ToGetRequestInformation get the userProcessingResult resources for a workflow. +// ToGetRequestInformation per-user workflow execution results. // returns a *RequestInformation when successful func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemUserProcessingResultsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go index 6857d8e716b..3bb781be7be 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go @@ -34,7 +34,7 @@ func NewLifecycleWorkflowsWorkflowsItemVersionsItemTasksItemTaskProcessingResult // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-taskprocessingresult-resume?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-taskprocessingresult-resume?view=graph-rest-beta func (m *LifecycleWorkflowsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilder) Post(ctx context.Context, body LifecycleWorkflowsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeResumePostRequestBodyable, requestConfiguration *LifecycleWorkflowsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsItemMicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/identitygovernance/lifecycle_workflows_workflows_item_versions_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_versions_request_builder.go index a533f23433f..78993784dcb 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_versions_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_versions_request_builder.go @@ -12,7 +12,7 @@ import ( type LifecycleWorkflowsWorkflowsItemVersionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsWorkflowsItemVersionsRequestBuilderGetQueryParameters get a list of the workflowVersion objects and their properties. +// LifecycleWorkflowsWorkflowsItemVersionsRequestBuilderGetQueryParameters the workflow versions that are available. type LifecycleWorkflowsWorkflowsItemVersionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func NewLifecycleWorkflowsWorkflowsItemVersionsRequestBuilder(rawUrl string, req func (m *LifecycleWorkflowsWorkflowsItemVersionsRequestBuilder) Count()(*LifecycleWorkflowsWorkflowsItemVersionsCountRequestBuilder) { return NewLifecycleWorkflowsWorkflowsItemVersionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the workflowVersion objects and their properties. +// Get the workflow versions that are available. // returns a WorkflowVersionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-workflow-list-versions?view=graph-rest-1.0 func (m *LifecycleWorkflowsWorkflowsItemVersionsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemVersionsRequestBuilderGetRequestConfiguration)(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.WorkflowVersionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,7 +101,7 @@ func (m *LifecycleWorkflowsWorkflowsItemVersionsRequestBuilder) Get(ctx context. } return res.(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.WorkflowVersionCollectionResponseable), nil } -// ToGetRequestInformation get a list of the workflowVersion objects and their properties. +// ToGetRequestInformation the workflow versions that are available. // returns a *RequestInformation when successful func (m *LifecycleWorkflowsWorkflowsItemVersionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemVersionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/lifecycle_workflows_workflows_item_versions_workflow_version_version_number_item_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_versions_workflow_version_version_number_item_request_builder.go index 1a90d2e35e5..a225f952629 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_versions_workflow_version_version_number_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_versions_workflow_version_version_number_item_request_builder.go @@ -11,7 +11,7 @@ import ( type LifecycleWorkflowsWorkflowsItemVersionsWorkflowVersionVersionNumberItemRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsWorkflowsItemVersionsWorkflowVersionVersionNumberItemRequestBuilderGetQueryParameters read the properties and relationships of a workflowVersion object. +// LifecycleWorkflowsWorkflowsItemVersionsWorkflowVersionVersionNumberItemRequestBuilderGetQueryParameters the workflow versions that are available. type LifecycleWorkflowsWorkflowsItemVersionsWorkflowVersionVersionNumberItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -45,12 +45,9 @@ func NewLifecycleWorkflowsWorkflowsItemVersionsWorkflowVersionVersionNumberItemR func (m *LifecycleWorkflowsWorkflowsItemVersionsWorkflowVersionVersionNumberItemRequestBuilder) CreatedBy()(*LifecycleWorkflowsWorkflowsItemVersionsItemCreatedByRequestBuilder) { return NewLifecycleWorkflowsWorkflowsItemVersionsItemCreatedByRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of a workflowVersion object. +// Get the workflow versions that are available. // returns a WorkflowVersionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-workflowversion-get?view=graph-rest-1.0 func (m *LifecycleWorkflowsWorkflowsItemVersionsWorkflowVersionVersionNumberItemRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemVersionsWorkflowVersionVersionNumberItemRequestBuilderGetRequestConfiguration)(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.WorkflowVersionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,7 +75,7 @@ func (m *LifecycleWorkflowsWorkflowsItemVersionsWorkflowVersionVersionNumberItem func (m *LifecycleWorkflowsWorkflowsItemVersionsWorkflowVersionVersionNumberItemRequestBuilder) Tasks()(*LifecycleWorkflowsWorkflowsItemVersionsItemTasksRequestBuilder) { return NewLifecycleWorkflowsWorkflowsItemVersionsItemTasksRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation read the properties and relationships of a workflowVersion object. +// ToGetRequestInformation the workflow versions that are available. // returns a *RequestInformation when successful func (m *LifecycleWorkflowsWorkflowsItemVersionsWorkflowVersionVersionNumberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemVersionsWorkflowVersionVersionNumberItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/lifecycle_workflows_workflows_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_request_builder.go index bd45e4b001f..8fc3bccd13b 100644 --- a/identitygovernance/lifecycle_workflows_workflows_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_request_builder.go @@ -11,7 +11,7 @@ import ( type LifecycleWorkflowsWorkflowsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsWorkflowsRequestBuilderGetQueryParameters get a list of workflow resources that are associated with lifecycle workflows. +// LifecycleWorkflowsWorkflowsRequestBuilderGetQueryParameters the workflows in the lifecycle workflows instance. type LifecycleWorkflowsWorkflowsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewLifecycleWorkflowsWorkflowsRequestBuilder(rawUrl string, requestAdapter func (m *LifecycleWorkflowsWorkflowsRequestBuilder) Count()(*LifecycleWorkflowsWorkflowsCountRequestBuilder) { return NewLifecycleWorkflowsWorkflowsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of workflow resources that are associated with lifecycle workflows. +// Get the workflows in the lifecycle workflows instance. // returns a WorkflowCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-lifecycleworkflowscontainer-list-workflows?view=graph-rest-1.0 func (m *LifecycleWorkflowsWorkflowsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsRequestBuilderGetRequestConfiguration)(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.WorkflowCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *LifecycleWorkflowsWorkflowsRequestBuilder) Get(ctx context.Context, req } return res.(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.WorkflowCollectionResponseable), nil } -// Post create a new workflow object. You can create up to 50 workflows in a tenant. +// Post create new navigation property to workflows for identityGovernance // returns a Workflowable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-lifecycleworkflowscontainer-post-workflows?view=graph-rest-1.0 func (m *LifecycleWorkflowsWorkflowsRequestBuilder) Post(ctx context.Context, body i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.Workflowable, requestConfiguration *LifecycleWorkflowsWorkflowsRequestBuilderPostRequestConfiguration)(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.Workflowable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *LifecycleWorkflowsWorkflowsRequestBuilder) Post(ctx context.Context, bo } return res.(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.Workflowable), nil } -// ToGetRequestInformation get a list of workflow resources that are associated with lifecycle workflows. +// ToGetRequestInformation the workflows in the lifecycle workflows instance. // returns a *RequestInformation when successful func (m *LifecycleWorkflowsWorkflowsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *LifecycleWorkflowsWorkflowsRequestBuilder) ToGetRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new workflow object. You can create up to 50 workflows in a tenant. +// ToPostRequestInformation create new navigation property to workflows for identityGovernance // returns a *RequestInformation when successful func (m *LifecycleWorkflowsWorkflowsRequestBuilder) ToPostRequestInformation(ctx context.Context, body i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.Workflowable, requestConfiguration *LifecycleWorkflowsWorkflowsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/lifecycle_workflows_workflows_workflow_item_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_workflow_item_request_builder.go index 98f649905bb..09839c87c06 100644 --- a/identitygovernance/lifecycle_workflows_workflows_workflow_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_workflow_item_request_builder.go @@ -18,7 +18,7 @@ type LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilderDeleteRequestConfigura // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilderGetQueryParameters read the properties and relationships of a workflow object. +// LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilderGetQueryParameters the workflows in the lifecycle workflows instance. type LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewLifecycleWorkflowsWorkflowsWorkflowItemRequestBuilder(rawUrl string, req func (m *LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilder) CreatedBy()(*LifecycleWorkflowsWorkflowsItemCreatedByRequestBuilder) { return NewLifecycleWorkflowsWorkflowsItemCreatedByRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Delete delete a workflow object and its associated tasks, taskProcessingResults and versions. You can restore a deleted workflow and its associated objects within 30 days of deletion. +// Delete delete navigation property workflows for identityGovernance // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-workflow-delete?view=graph-rest-1.0 func (m *LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -83,12 +80,9 @@ func (m *LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilder) Delete(ctx conte func (m *LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilder) ExecutionScope()(*LifecycleWorkflowsWorkflowsItemExecutionScopeRequestBuilder) { return NewLifecycleWorkflowsWorkflowsItemExecutionScopeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of a workflow object. +// Get the workflows in the lifecycle workflows instance. // returns a Workflowable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-workflow-get?view=graph-rest-1.0 func (m *LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilderGetRequestConfiguration)(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.Workflowable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -126,12 +120,9 @@ func (m *LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilder) MicrosoftGraphId func (m *LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilder) MicrosoftGraphIdentityGovernanceRestore()(*LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceRestoreRequestBuilder) { return NewLifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceRestoreRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of a workflow object. Only the properties listed in the request body table can be updated. To update any other workflow properties, see workflow: createNewVersion. +// Patch update the navigation property workflows in identityGovernance // returns a Workflowable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identitygovernance-workflow-update?view=graph-rest-1.0 func (m *LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilder) Patch(ctx context.Context, body i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.Workflowable, requestConfiguration *LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilderPatchRequestConfiguration)(i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.Workflowable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -164,7 +155,7 @@ func (m *LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilder) TaskReports()(*L func (m *LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilder) Tasks()(*LifecycleWorkflowsWorkflowsItemTasksRequestBuilder) { return NewLifecycleWorkflowsWorkflowsItemTasksRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a workflow object and its associated tasks, taskProcessingResults and versions. You can restore a deleted workflow and its associated objects within 30 days of deletion. +// ToDeleteRequestInformation delete navigation property workflows for identityGovernance // returns a *RequestInformation when successful func (m *LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -175,7 +166,7 @@ func (m *LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilder) ToDeleteRequestI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a workflow object. +// ToGetRequestInformation the workflows in the lifecycle workflows instance. // returns a *RequestInformation when successful func (m *LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -189,7 +180,7 @@ func (m *LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilder) ToGetRequestInfo requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a workflow object. Only the properties listed in the request body table can be updated. To update any other workflow properties, see workflow: createNewVersion. +// ToPatchRequestInformation update the navigation property workflows in identityGovernance // returns a *RequestInformation when successful func (m *LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i45fdec8a8c1f65ca74c5cf52921d432ad02ee300dbbd24b25f33cc8ecf6a1a91.Workflowable, requestConfiguration *LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/permissions_analytics_aws_permissions_creep_index_distributions_request_builder.go b/identitygovernance/permissions_analytics_aws_permissions_creep_index_distributions_request_builder.go index afe73131f4d..318acc8ff96 100644 --- a/identitygovernance/permissions_analytics_aws_permissions_creep_index_distributions_request_builder.go +++ b/identitygovernance/permissions_analytics_aws_permissions_creep_index_distributions_request_builder.go @@ -11,7 +11,7 @@ import ( type PermissionsAnalyticsAwsPermissionsCreepIndexDistributionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// PermissionsAnalyticsAwsPermissionsCreepIndexDistributionsRequestBuilderGetQueryParameters get a list of the permissionsCreepIndexDistribution objects and their properties. +// PermissionsAnalyticsAwsPermissionsCreepIndexDistributionsRequestBuilderGetQueryParameters represents the Permissions Creep Index (PCI) for the authorization system. PCI distribution chart shows the classification of human and nonhuman identities based on the PCI score in three buckets (low, medium, high). type PermissionsAnalyticsAwsPermissionsCreepIndexDistributionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewPermissionsAnalyticsAwsPermissionsCreepIndexDistributionsRequestBuilder( func (m *PermissionsAnalyticsAwsPermissionsCreepIndexDistributionsRequestBuilder) Count()(*PermissionsAnalyticsAwsPermissionsCreepIndexDistributionsCountRequestBuilder) { return NewPermissionsAnalyticsAwsPermissionsCreepIndexDistributionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the permissionsCreepIndexDistribution objects and their properties. +// Get represents the Permissions Creep Index (PCI) for the authorization system. PCI distribution chart shows the classification of human and nonhuman identities based on the PCI score in three buckets (low, medium, high). // returns a PermissionsCreepIndexDistributionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/permissionsanalytics-list-permissionscreepindexdistributions?view=graph-rest-1.0 func (m *PermissionsAnalyticsAwsPermissionsCreepIndexDistributionsRequestBuilder) Get(ctx context.Context, requestConfiguration *PermissionsAnalyticsAwsPermissionsCreepIndexDistributionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionsCreepIndexDistributionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *PermissionsAnalyticsAwsPermissionsCreepIndexDistributionsRequestBuilder } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionsCreepIndexDistributionable), nil } -// ToGetRequestInformation get a list of the permissionsCreepIndexDistribution objects and their properties. +// ToGetRequestInformation represents the Permissions Creep Index (PCI) for the authorization system. PCI distribution chart shows the classification of human and nonhuman identities based on the PCI score in three buckets (low, medium, high). // returns a *RequestInformation when successful func (m *PermissionsAnalyticsAwsPermissionsCreepIndexDistributionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PermissionsAnalyticsAwsPermissionsCreepIndexDistributionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/permissions_analytics_azure_permissions_creep_index_distributions_request_builder.go b/identitygovernance/permissions_analytics_azure_permissions_creep_index_distributions_request_builder.go index 55758abc0f6..7db73d9d0cf 100644 --- a/identitygovernance/permissions_analytics_azure_permissions_creep_index_distributions_request_builder.go +++ b/identitygovernance/permissions_analytics_azure_permissions_creep_index_distributions_request_builder.go @@ -11,7 +11,7 @@ import ( type PermissionsAnalyticsAzurePermissionsCreepIndexDistributionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// PermissionsAnalyticsAzurePermissionsCreepIndexDistributionsRequestBuilderGetQueryParameters get a list of the permissionsCreepIndexDistribution objects and their properties. +// PermissionsAnalyticsAzurePermissionsCreepIndexDistributionsRequestBuilderGetQueryParameters represents the Permissions Creep Index (PCI) for the authorization system. PCI distribution chart shows the classification of human and nonhuman identities based on the PCI score in three buckets (low, medium, high). type PermissionsAnalyticsAzurePermissionsCreepIndexDistributionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewPermissionsAnalyticsAzurePermissionsCreepIndexDistributionsRequestBuilde func (m *PermissionsAnalyticsAzurePermissionsCreepIndexDistributionsRequestBuilder) Count()(*PermissionsAnalyticsAzurePermissionsCreepIndexDistributionsCountRequestBuilder) { return NewPermissionsAnalyticsAzurePermissionsCreepIndexDistributionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the permissionsCreepIndexDistribution objects and their properties. +// Get represents the Permissions Creep Index (PCI) for the authorization system. PCI distribution chart shows the classification of human and nonhuman identities based on the PCI score in three buckets (low, medium, high). // returns a PermissionsCreepIndexDistributionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/permissionsanalytics-list-permissionscreepindexdistributions?view=graph-rest-1.0 func (m *PermissionsAnalyticsAzurePermissionsCreepIndexDistributionsRequestBuilder) Get(ctx context.Context, requestConfiguration *PermissionsAnalyticsAzurePermissionsCreepIndexDistributionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionsCreepIndexDistributionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *PermissionsAnalyticsAzurePermissionsCreepIndexDistributionsRequestBuild } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionsCreepIndexDistributionable), nil } -// ToGetRequestInformation get a list of the permissionsCreepIndexDistribution objects and their properties. +// ToGetRequestInformation represents the Permissions Creep Index (PCI) for the authorization system. PCI distribution chart shows the classification of human and nonhuman identities based on the PCI score in three buckets (low, medium, high). // returns a *RequestInformation when successful func (m *PermissionsAnalyticsAzurePermissionsCreepIndexDistributionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PermissionsAnalyticsAzurePermissionsCreepIndexDistributionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/permissions_analytics_gcp_permissions_creep_index_distributions_request_builder.go b/identitygovernance/permissions_analytics_gcp_permissions_creep_index_distributions_request_builder.go index ee4a6717bc3..15d2af65744 100644 --- a/identitygovernance/permissions_analytics_gcp_permissions_creep_index_distributions_request_builder.go +++ b/identitygovernance/permissions_analytics_gcp_permissions_creep_index_distributions_request_builder.go @@ -11,7 +11,7 @@ import ( type PermissionsAnalyticsGcpPermissionsCreepIndexDistributionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// PermissionsAnalyticsGcpPermissionsCreepIndexDistributionsRequestBuilderGetQueryParameters get a list of the permissionsCreepIndexDistribution objects and their properties. +// PermissionsAnalyticsGcpPermissionsCreepIndexDistributionsRequestBuilderGetQueryParameters represents the Permissions Creep Index (PCI) for the authorization system. PCI distribution chart shows the classification of human and nonhuman identities based on the PCI score in three buckets (low, medium, high). type PermissionsAnalyticsGcpPermissionsCreepIndexDistributionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewPermissionsAnalyticsGcpPermissionsCreepIndexDistributionsRequestBuilder( func (m *PermissionsAnalyticsGcpPermissionsCreepIndexDistributionsRequestBuilder) Count()(*PermissionsAnalyticsGcpPermissionsCreepIndexDistributionsCountRequestBuilder) { return NewPermissionsAnalyticsGcpPermissionsCreepIndexDistributionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the permissionsCreepIndexDistribution objects and their properties. +// Get represents the Permissions Creep Index (PCI) for the authorization system. PCI distribution chart shows the classification of human and nonhuman identities based on the PCI score in three buckets (low, medium, high). // returns a PermissionsCreepIndexDistributionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/permissionsanalytics-list-permissionscreepindexdistributions?view=graph-rest-1.0 func (m *PermissionsAnalyticsGcpPermissionsCreepIndexDistributionsRequestBuilder) Get(ctx context.Context, requestConfiguration *PermissionsAnalyticsGcpPermissionsCreepIndexDistributionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionsCreepIndexDistributionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *PermissionsAnalyticsGcpPermissionsCreepIndexDistributionsRequestBuilder } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionsCreepIndexDistributionable), nil } -// ToGetRequestInformation get a list of the permissionsCreepIndexDistribution objects and their properties. +// ToGetRequestInformation represents the Permissions Creep Index (PCI) for the authorization system. PCI distribution chart shows the classification of human and nonhuman identities based on the PCI score in three buckets (low, medium, high). // returns a *RequestInformation when successful func (m *PermissionsAnalyticsGcpPermissionsCreepIndexDistributionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PermissionsAnalyticsGcpPermissionsCreepIndexDistributionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/permissions_management_permissions_request_changes_permissions_request_change_item_request_builder.go b/identitygovernance/permissions_management_permissions_request_changes_permissions_request_change_item_request_builder.go index db89c3927bc..40421feba4c 100644 --- a/identitygovernance/permissions_management_permissions_request_changes_permissions_request_change_item_request_builder.go +++ b/identitygovernance/permissions_management_permissions_request_changes_permissions_request_change_item_request_builder.go @@ -18,7 +18,7 @@ type PermissionsManagementPermissionsRequestChangesPermissionsRequestChangeItemR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// PermissionsManagementPermissionsRequestChangesPermissionsRequestChangeItemRequestBuilderGetQueryParameters read the properties and relationships of a permissionsRequestChange object. +// PermissionsManagementPermissionsRequestChangesPermissionsRequestChangeItemRequestBuilderGetQueryParameters represents a change event of the scheduledPermissionsRequest entity. type PermissionsManagementPermissionsRequestChangesPermissionsRequestChangeItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *PermissionsManagementPermissionsRequestChangesPermissionsRequestChangeI } return nil } -// Get read the properties and relationships of a permissionsRequestChange object. +// Get represents a change event of the scheduledPermissionsRequest entity. // returns a PermissionsRequestChangeable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/permissionsrequestchange-get?view=graph-rest-1.0 func (m *PermissionsManagementPermissionsRequestChangesPermissionsRequestChangeItemRequestBuilder) Get(ctx context.Context, requestConfiguration *PermissionsManagementPermissionsRequestChangesPermissionsRequestChangeItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionsRequestChangeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *PermissionsManagementPermissionsRequestChangesPermissionsRequestChangeI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a permissionsRequestChange object. +// ToGetRequestInformation represents a change event of the scheduledPermissionsRequest entity. // returns a *RequestInformation when successful func (m *PermissionsManagementPermissionsRequestChangesPermissionsRequestChangeItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PermissionsManagementPermissionsRequestChangesPermissionsRequestChangeItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/permissions_management_permissions_request_changes_request_builder.go b/identitygovernance/permissions_management_permissions_request_changes_request_builder.go index 7fce496d723..6d70b1b48e7 100644 --- a/identitygovernance/permissions_management_permissions_request_changes_request_builder.go +++ b/identitygovernance/permissions_management_permissions_request_changes_request_builder.go @@ -11,7 +11,7 @@ import ( type PermissionsManagementPermissionsRequestChangesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// PermissionsManagementPermissionsRequestChangesRequestBuilderGetQueryParameters list the permissionsRequestChange objects and their properties. +// PermissionsManagementPermissionsRequestChangesRequestBuilderGetQueryParameters represents a change event of the scheduledPermissionsRequest entity. type PermissionsManagementPermissionsRequestChangesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewPermissionsManagementPermissionsRequestChangesRequestBuilder(rawUrl stri func (m *PermissionsManagementPermissionsRequestChangesRequestBuilder) Count()(*PermissionsManagementPermissionsRequestChangesCountRequestBuilder) { return NewPermissionsManagementPermissionsRequestChangesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list the permissionsRequestChange objects and their properties. +// Get represents a change event of the scheduledPermissionsRequest entity. // returns a PermissionsRequestChangeCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/permissionsmanagement-list-permissionsrequestchanges?view=graph-rest-1.0 func (m *PermissionsManagementPermissionsRequestChangesRequestBuilder) Get(ctx context.Context, requestConfiguration *PermissionsManagementPermissionsRequestChangesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionsRequestChangeCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *PermissionsManagementPermissionsRequestChangesRequestBuilder) Post(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionsRequestChangeable), nil } -// ToGetRequestInformation list the permissionsRequestChange objects and their properties. +// ToGetRequestInformation represents a change event of the scheduledPermissionsRequest entity. // returns a *RequestInformation when successful func (m *PermissionsManagementPermissionsRequestChangesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PermissionsManagementPermissionsRequestChangesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/permissions_management_scheduled_permissions_approvals_filter_by_current_user_with_on_request_builder.go b/identitygovernance/permissions_management_scheduled_permissions_approvals_filter_by_current_user_with_on_request_builder.go index a321aa16a2d..1932251d75a 100644 --- a/identitygovernance/permissions_management_scheduled_permissions_approvals_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/permissions_management_scheduled_permissions_approvals_filter_by_current_user_with_on_request_builder.go @@ -10,7 +10,7 @@ import ( type PermissionsManagementScheduledPermissionsApprovalsFilterByCurrentUserWithOnRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// PermissionsManagementScheduledPermissionsApprovalsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters invoke function filterByCurrentUser +// PermissionsManagementScheduledPermissionsApprovalsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters in Microsoft Entra entitlement management, return a collection of access package assignment approvals. The objects returned are those that are in scope for approval by the calling user. In PIM for groups, return a collection of assignment approvals. The objects returned are those that are in scope for approval by the calling user. type PermissionsManagementScheduledPermissionsApprovalsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewPermissionsManagementScheduledPermissionsApprovalsFilterByCurrentUserWit urlParams["request-raw-url"] = rawUrl return NewPermissionsManagementScheduledPermissionsApprovalsFilterByCurrentUserWithOnRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function filterByCurrentUser +// Get in Microsoft Entra entitlement management, return a collection of access package assignment approvals. The objects returned are those that are in scope for approval by the calling user. In PIM for groups, return a collection of assignment approvals. The objects returned are those that are in scope for approval by the calling user. // Deprecated: This method is obsolete. Use GetAsFilterByCurrentUserWithOnGetResponse instead. // returns a PermissionsManagementScheduledPermissionsApprovalsFilterByCurrentUserWithOnResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/approval-filterbycurrentuser?view=graph-rest-beta func (m *PermissionsManagementScheduledPermissionsApprovalsFilterByCurrentUserWithOnRequestBuilder) Get(ctx context.Context, requestConfiguration *PermissionsManagementScheduledPermissionsApprovalsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(PermissionsManagementScheduledPermissionsApprovalsFilterByCurrentUserWithOnResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *PermissionsManagementScheduledPermissionsApprovalsFilterByCurrentUserWi } return res.(PermissionsManagementScheduledPermissionsApprovalsFilterByCurrentUserWithOnResponseable), nil } -// GetAsFilterByCurrentUserWithOnGetResponse invoke function filterByCurrentUser +// GetAsFilterByCurrentUserWithOnGetResponse in Microsoft Entra entitlement management, return a collection of access package assignment approvals. The objects returned are those that are in scope for approval by the calling user. In PIM for groups, return a collection of assignment approvals. The objects returned are those that are in scope for approval by the calling user. // returns a PermissionsManagementScheduledPermissionsApprovalsFilterByCurrentUserWithOnGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/approval-filterbycurrentuser?view=graph-rest-beta func (m *PermissionsManagementScheduledPermissionsApprovalsFilterByCurrentUserWithOnRequestBuilder) GetAsFilterByCurrentUserWithOnGetResponse(ctx context.Context, requestConfiguration *PermissionsManagementScheduledPermissionsApprovalsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(PermissionsManagementScheduledPermissionsApprovalsFilterByCurrentUserWithOnGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *PermissionsManagementScheduledPermissionsApprovalsFilterByCurrentUserWi } return res.(PermissionsManagementScheduledPermissionsApprovalsFilterByCurrentUserWithOnGetResponseable), nil } -// ToGetRequestInformation invoke function filterByCurrentUser +// ToGetRequestInformation in Microsoft Entra entitlement management, return a collection of access package assignment approvals. The objects returned are those that are in scope for approval by the calling user. In PIM for groups, return a collection of assignment approvals. The objects returned are those that are in scope for approval by the calling user. // returns a *RequestInformation when successful func (m *PermissionsManagementScheduledPermissionsApprovalsFilterByCurrentUserWithOnRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PermissionsManagementScheduledPermissionsApprovalsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/permissions_management_scheduled_permissions_approvals_item_steps_approval_step_item_request_builder.go b/identitygovernance/permissions_management_scheduled_permissions_approvals_item_steps_approval_step_item_request_builder.go index 40bf9352827..33c4b65b47a 100644 --- a/identitygovernance/permissions_management_scheduled_permissions_approvals_item_steps_approval_step_item_request_builder.go +++ b/identitygovernance/permissions_management_scheduled_permissions_approvals_item_steps_approval_step_item_request_builder.go @@ -18,7 +18,7 @@ type PermissionsManagementScheduledPermissionsApprovalsItemStepsApprovalStepItem // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// PermissionsManagementScheduledPermissionsApprovalsItemStepsApprovalStepItemRequestBuilderGetQueryParameters retrieve the properties of an approvalStep object. +// PermissionsManagementScheduledPermissionsApprovalsItemStepsApprovalStepItemRequestBuilderGetQueryParameters used to represent the decision associated with a single step in the approval process configured in approvalStage. type PermissionsManagementScheduledPermissionsApprovalsItemStepsApprovalStepItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *PermissionsManagementScheduledPermissionsApprovalsItemStepsApprovalStep } return nil } -// Get retrieve the properties of an approvalStep object. +// Get used to represent the decision associated with a single step in the approval process configured in approvalStage. // returns a ApprovalStepable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/approvalstep-get?view=graph-rest-1.0 func (m *PermissionsManagementScheduledPermissionsApprovalsItemStepsApprovalStepItemRequestBuilder) Get(ctx context.Context, requestConfiguration *PermissionsManagementScheduledPermissionsApprovalsItemStepsApprovalStepItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalStepable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *PermissionsManagementScheduledPermissionsApprovalsItemStepsApprovalStep } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalStepable), nil } -// Patch apply approve or deny decision on an approvalStep object. +// Patch update the navigation property steps in identityGovernance // returns a ApprovalStepable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/approvalstep-update?view=graph-rest-1.0 func (m *PermissionsManagementScheduledPermissionsApprovalsItemStepsApprovalStepItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalStepable, requestConfiguration *PermissionsManagementScheduledPermissionsApprovalsItemStepsApprovalStepItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalStepable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *PermissionsManagementScheduledPermissionsApprovalsItemStepsApprovalStep requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties of an approvalStep object. +// ToGetRequestInformation used to represent the decision associated with a single step in the approval process configured in approvalStage. // returns a *RequestInformation when successful func (m *PermissionsManagementScheduledPermissionsApprovalsItemStepsApprovalStepItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PermissionsManagementScheduledPermissionsApprovalsItemStepsApprovalStepItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *PermissionsManagementScheduledPermissionsApprovalsItemStepsApprovalStep requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation apply approve or deny decision on an approvalStep object. +// ToPatchRequestInformation update the navigation property steps in identityGovernance // returns a *RequestInformation when successful func (m *PermissionsManagementScheduledPermissionsApprovalsItemStepsApprovalStepItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalStepable, requestConfiguration *PermissionsManagementScheduledPermissionsApprovalsItemStepsApprovalStepItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/permissions_management_scheduled_permissions_approvals_item_steps_request_builder.go b/identitygovernance/permissions_management_scheduled_permissions_approvals_item_steps_request_builder.go index 1daf9d7302a..50703b338c5 100644 --- a/identitygovernance/permissions_management_scheduled_permissions_approvals_item_steps_request_builder.go +++ b/identitygovernance/permissions_management_scheduled_permissions_approvals_item_steps_request_builder.go @@ -11,7 +11,7 @@ import ( type PermissionsManagementScheduledPermissionsApprovalsItemStepsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// PermissionsManagementScheduledPermissionsApprovalsItemStepsRequestBuilderGetQueryParameters list the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: +// PermissionsManagementScheduledPermissionsApprovalsItemStepsRequestBuilderGetQueryParameters used to represent the decision associated with a single step in the approval process configured in approvalStage. type PermissionsManagementScheduledPermissionsApprovalsItemStepsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewPermissionsManagementScheduledPermissionsApprovalsItemStepsRequestBuilde func (m *PermissionsManagementScheduledPermissionsApprovalsItemStepsRequestBuilder) Count()(*PermissionsManagementScheduledPermissionsApprovalsItemStepsCountRequestBuilder) { return NewPermissionsManagementScheduledPermissionsApprovalsItemStepsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: +// Get used to represent the decision associated with a single step in the approval process configured in approvalStage. // returns a ApprovalStepCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/approval-list-steps?view=graph-rest-1.0 func (m *PermissionsManagementScheduledPermissionsApprovalsItemStepsRequestBuilder) Get(ctx context.Context, requestConfiguration *PermissionsManagementScheduledPermissionsApprovalsItemStepsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalStepCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *PermissionsManagementScheduledPermissionsApprovalsItemStepsRequestBuild } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalStepable), nil } -// ToGetRequestInformation list the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: +// ToGetRequestInformation used to represent the decision associated with a single step in the approval process configured in approvalStage. // returns a *RequestInformation when successful func (m *PermissionsManagementScheduledPermissionsApprovalsItemStepsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PermissionsManagementScheduledPermissionsApprovalsItemStepsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/permissions_management_scheduled_permissions_requests_request_builder.go b/identitygovernance/permissions_management_scheduled_permissions_requests_request_builder.go index 7aaad26d8da..caceac5d2ae 100644 --- a/identitygovernance/permissions_management_scheduled_permissions_requests_request_builder.go +++ b/identitygovernance/permissions_management_scheduled_permissions_requests_request_builder.go @@ -84,12 +84,9 @@ func (m *PermissionsManagementScheduledPermissionsRequestsRequestBuilder) Get(ct } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ScheduledPermissionsRequestCollectionResponseable), nil } -// Post create a new scheduledPermissionsRequest object. +// Post create new navigation property to scheduledPermissionsRequests for identityGovernance // returns a ScheduledPermissionsRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/permissionsmanagement-post-scheduledpermissionsrequests?view=graph-rest-1.0 func (m *PermissionsManagementScheduledPermissionsRequestsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ScheduledPermissionsRequestable, requestConfiguration *PermissionsManagementScheduledPermissionsRequestsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ScheduledPermissionsRequestable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -121,7 +118,7 @@ func (m *PermissionsManagementScheduledPermissionsRequestsRequestBuilder) ToGetR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new scheduledPermissionsRequest object. +// ToPostRequestInformation create new navigation property to scheduledPermissionsRequests for identityGovernance // returns a *RequestInformation when successful func (m *PermissionsManagementScheduledPermissionsRequestsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ScheduledPermissionsRequestable, requestConfiguration *PermissionsManagementScheduledPermissionsRequestsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/privileged_access_group_assignment_approvals_filter_by_current_user_with_on_request_builder.go b/identitygovernance/privileged_access_group_assignment_approvals_filter_by_current_user_with_on_request_builder.go index f64e62d7d86..8d04a7413b9 100644 --- a/identitygovernance/privileged_access_group_assignment_approvals_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_approvals_filter_by_current_user_with_on_request_builder.go @@ -10,7 +10,7 @@ import ( type PrivilegedAccessGroupAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// PrivilegedAccessGroupAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters invoke function filterByCurrentUser +// PrivilegedAccessGroupAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters in Microsoft Entra entitlement management, return a collection of access package assignment approvals. The objects returned are those that are in scope for approval by the calling user. In PIM for groups, return a collection of assignment approvals. The objects returned are those that are in scope for approval by the calling user. type PrivilegedAccessGroupAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewPrivilegedAccessGroupAssignmentApprovalsFilterByCurrentUserWithOnRequest urlParams["request-raw-url"] = rawUrl return NewPrivilegedAccessGroupAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function filterByCurrentUser +// Get in Microsoft Entra entitlement management, return a collection of access package assignment approvals. The objects returned are those that are in scope for approval by the calling user. In PIM for groups, return a collection of assignment approvals. The objects returned are those that are in scope for approval by the calling user. // Deprecated: This method is obsolete. Use GetAsFilterByCurrentUserWithOnGetResponse instead. // returns a PrivilegedAccessGroupAssignmentApprovalsFilterByCurrentUserWithOnResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/approval-filterbycurrentuser?view=graph-rest-beta func (m *PrivilegedAccessGroupAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilder) Get(ctx context.Context, requestConfiguration *PrivilegedAccessGroupAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(PrivilegedAccessGroupAssignmentApprovalsFilterByCurrentUserWithOnResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *PrivilegedAccessGroupAssignmentApprovalsFilterByCurrentUserWithOnReques } return res.(PrivilegedAccessGroupAssignmentApprovalsFilterByCurrentUserWithOnResponseable), nil } -// GetAsFilterByCurrentUserWithOnGetResponse invoke function filterByCurrentUser +// GetAsFilterByCurrentUserWithOnGetResponse in Microsoft Entra entitlement management, return a collection of access package assignment approvals. The objects returned are those that are in scope for approval by the calling user. In PIM for groups, return a collection of assignment approvals. The objects returned are those that are in scope for approval by the calling user. // returns a PrivilegedAccessGroupAssignmentApprovalsFilterByCurrentUserWithOnGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/approval-filterbycurrentuser?view=graph-rest-beta func (m *PrivilegedAccessGroupAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilder) GetAsFilterByCurrentUserWithOnGetResponse(ctx context.Context, requestConfiguration *PrivilegedAccessGroupAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(PrivilegedAccessGroupAssignmentApprovalsFilterByCurrentUserWithOnGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *PrivilegedAccessGroupAssignmentApprovalsFilterByCurrentUserWithOnReques } return res.(PrivilegedAccessGroupAssignmentApprovalsFilterByCurrentUserWithOnGetResponseable), nil } -// ToGetRequestInformation invoke function filterByCurrentUser +// ToGetRequestInformation in Microsoft Entra entitlement management, return a collection of access package assignment approvals. The objects returned are those that are in scope for approval by the calling user. In PIM for groups, return a collection of assignment approvals. The objects returned are those that are in scope for approval by the calling user. // returns a *RequestInformation when successful func (m *PrivilegedAccessGroupAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PrivilegedAccessGroupAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/privileged_access_group_assignment_approvals_item_steps_approval_step_item_request_builder.go b/identitygovernance/privileged_access_group_assignment_approvals_item_steps_approval_step_item_request_builder.go index cc7049a71c2..f662abe0a34 100644 --- a/identitygovernance/privileged_access_group_assignment_approvals_item_steps_approval_step_item_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_approvals_item_steps_approval_step_item_request_builder.go @@ -18,7 +18,7 @@ type PrivilegedAccessGroupAssignmentApprovalsItemStepsApprovalStepItemRequestBui // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// PrivilegedAccessGroupAssignmentApprovalsItemStepsApprovalStepItemRequestBuilderGetQueryParameters retrieve the properties of an approvalStep object. +// PrivilegedAccessGroupAssignmentApprovalsItemStepsApprovalStepItemRequestBuilderGetQueryParameters used to represent the decision associated with a single step in the approval process configured in approvalStage. type PrivilegedAccessGroupAssignmentApprovalsItemStepsApprovalStepItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *PrivilegedAccessGroupAssignmentApprovalsItemStepsApprovalStepItemReques } return nil } -// Get retrieve the properties of an approvalStep object. +// Get used to represent the decision associated with a single step in the approval process configured in approvalStage. // returns a ApprovalStepable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/approvalstep-get?view=graph-rest-1.0 func (m *PrivilegedAccessGroupAssignmentApprovalsItemStepsApprovalStepItemRequestBuilder) Get(ctx context.Context, requestConfiguration *PrivilegedAccessGroupAssignmentApprovalsItemStepsApprovalStepItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalStepable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *PrivilegedAccessGroupAssignmentApprovalsItemStepsApprovalStepItemReques } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalStepable), nil } -// Patch apply approve or deny decision on an approvalStep object. +// Patch update the navigation property steps in identityGovernance // returns a ApprovalStepable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/approvalstep-update?view=graph-rest-1.0 func (m *PrivilegedAccessGroupAssignmentApprovalsItemStepsApprovalStepItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalStepable, requestConfiguration *PrivilegedAccessGroupAssignmentApprovalsItemStepsApprovalStepItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalStepable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *PrivilegedAccessGroupAssignmentApprovalsItemStepsApprovalStepItemReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties of an approvalStep object. +// ToGetRequestInformation used to represent the decision associated with a single step in the approval process configured in approvalStage. // returns a *RequestInformation when successful func (m *PrivilegedAccessGroupAssignmentApprovalsItemStepsApprovalStepItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PrivilegedAccessGroupAssignmentApprovalsItemStepsApprovalStepItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *PrivilegedAccessGroupAssignmentApprovalsItemStepsApprovalStepItemReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation apply approve or deny decision on an approvalStep object. +// ToPatchRequestInformation update the navigation property steps in identityGovernance // returns a *RequestInformation when successful func (m *PrivilegedAccessGroupAssignmentApprovalsItemStepsApprovalStepItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalStepable, requestConfiguration *PrivilegedAccessGroupAssignmentApprovalsItemStepsApprovalStepItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/privileged_access_group_assignment_approvals_item_steps_request_builder.go b/identitygovernance/privileged_access_group_assignment_approvals_item_steps_request_builder.go index ed091701a8d..ac98e46e620 100644 --- a/identitygovernance/privileged_access_group_assignment_approvals_item_steps_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_approvals_item_steps_request_builder.go @@ -11,7 +11,7 @@ import ( type PrivilegedAccessGroupAssignmentApprovalsItemStepsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// PrivilegedAccessGroupAssignmentApprovalsItemStepsRequestBuilderGetQueryParameters list the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: +// PrivilegedAccessGroupAssignmentApprovalsItemStepsRequestBuilderGetQueryParameters used to represent the decision associated with a single step in the approval process configured in approvalStage. type PrivilegedAccessGroupAssignmentApprovalsItemStepsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewPrivilegedAccessGroupAssignmentApprovalsItemStepsRequestBuilder(rawUrl s func (m *PrivilegedAccessGroupAssignmentApprovalsItemStepsRequestBuilder) Count()(*PrivilegedAccessGroupAssignmentApprovalsItemStepsCountRequestBuilder) { return NewPrivilegedAccessGroupAssignmentApprovalsItemStepsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: +// Get used to represent the decision associated with a single step in the approval process configured in approvalStage. // returns a ApprovalStepCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/approval-list-steps?view=graph-rest-1.0 func (m *PrivilegedAccessGroupAssignmentApprovalsItemStepsRequestBuilder) Get(ctx context.Context, requestConfiguration *PrivilegedAccessGroupAssignmentApprovalsItemStepsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalStepCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *PrivilegedAccessGroupAssignmentApprovalsItemStepsRequestBuilder) Post(c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalStepable), nil } -// ToGetRequestInformation list the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: +// ToGetRequestInformation used to represent the decision associated with a single step in the approval process configured in approvalStage. // returns a *RequestInformation when successful func (m *PrivilegedAccessGroupAssignmentApprovalsItemStepsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PrivilegedAccessGroupAssignmentApprovalsItemStepsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/privileged_access_group_assignment_schedule_instances_filter_by_current_user_with_on_request_builder.go b/identitygovernance/privileged_access_group_assignment_schedule_instances_filter_by_current_user_with_on_request_builder.go index 7c740756f79..c404ead3799 100644 --- a/identitygovernance/privileged_access_group_assignment_schedule_instances_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_schedule_instances_filter_by_current_user_with_on_request_builder.go @@ -10,7 +10,7 @@ import ( type PrivilegedAccessGroupAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// PrivilegedAccessGroupAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters invoke function filterByCurrentUser +// PrivilegedAccessGroupAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters in PIM for groups, retrieve the schedule instances for membership or ownership assignments for the calling principal to groups that are governed by PIM. type PrivilegedAccessGroupAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewPrivilegedAccessGroupAssignmentScheduleInstancesFilterByCurrentUserWithO urlParams["request-raw-url"] = rawUrl return NewPrivilegedAccessGroupAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function filterByCurrentUser +// Get in PIM for groups, retrieve the schedule instances for membership or ownership assignments for the calling principal to groups that are governed by PIM. // Deprecated: This method is obsolete. Use GetAsFilterByCurrentUserWithOnGetResponse instead. // returns a PrivilegedAccessGroupAssignmentScheduleInstancesFilterByCurrentUserWithOnResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/privilegedaccessgroupassignmentscheduleinstance-filterbycurrentuser?view=graph-rest-beta func (m *PrivilegedAccessGroupAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilder) Get(ctx context.Context, requestConfiguration *PrivilegedAccessGroupAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(PrivilegedAccessGroupAssignmentScheduleInstancesFilterByCurrentUserWithOnResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *PrivilegedAccessGroupAssignmentScheduleInstancesFilterByCurrentUserWith } return res.(PrivilegedAccessGroupAssignmentScheduleInstancesFilterByCurrentUserWithOnResponseable), nil } -// GetAsFilterByCurrentUserWithOnGetResponse invoke function filterByCurrentUser +// GetAsFilterByCurrentUserWithOnGetResponse in PIM for groups, retrieve the schedule instances for membership or ownership assignments for the calling principal to groups that are governed by PIM. // returns a PrivilegedAccessGroupAssignmentScheduleInstancesFilterByCurrentUserWithOnGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/privilegedaccessgroupassignmentscheduleinstance-filterbycurrentuser?view=graph-rest-beta func (m *PrivilegedAccessGroupAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilder) GetAsFilterByCurrentUserWithOnGetResponse(ctx context.Context, requestConfiguration *PrivilegedAccessGroupAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(PrivilegedAccessGroupAssignmentScheduleInstancesFilterByCurrentUserWithOnGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *PrivilegedAccessGroupAssignmentScheduleInstancesFilterByCurrentUserWith } return res.(PrivilegedAccessGroupAssignmentScheduleInstancesFilterByCurrentUserWithOnGetResponseable), nil } -// ToGetRequestInformation invoke function filterByCurrentUser +// ToGetRequestInformation in PIM for groups, retrieve the schedule instances for membership or ownership assignments for the calling principal to groups that are governed by PIM. // returns a *RequestInformation when successful func (m *PrivilegedAccessGroupAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PrivilegedAccessGroupAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/privileged_access_group_assignment_schedule_instances_privileged_access_group_assignment_schedule_instance_item_request_builder.go b/identitygovernance/privileged_access_group_assignment_schedule_instances_privileged_access_group_assignment_schedule_instance_item_request_builder.go index 19b68ed2623..461a1c2e9ae 100644 --- a/identitygovernance/privileged_access_group_assignment_schedule_instances_privileged_access_group_assignment_schedule_instance_item_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_schedule_instances_privileged_access_group_assignment_schedule_instance_item_request_builder.go @@ -18,7 +18,7 @@ type PrivilegedAccessGroupAssignmentScheduleInstancesPrivilegedAccessGroupAssign // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// PrivilegedAccessGroupAssignmentScheduleInstancesPrivilegedAccessGroupAssignmentScheduleInstanceItemRequestBuilderGetQueryParameters read the properties and relationships of a privilegedAccessGroupAssignmentScheduleInstance object. +// PrivilegedAccessGroupAssignmentScheduleInstancesPrivilegedAccessGroupAssignmentScheduleInstanceItemRequestBuilderGetQueryParameters the instances of assignment schedules to activate a just-in-time access. type PrivilegedAccessGroupAssignmentScheduleInstancesPrivilegedAccessGroupAssignmentScheduleInstanceItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *PrivilegedAccessGroupAssignmentScheduleInstancesPrivilegedAccessGroupAs } return nil } -// Get read the properties and relationships of a privilegedAccessGroupAssignmentScheduleInstance object. +// Get the instances of assignment schedules to activate a just-in-time access. // returns a PrivilegedAccessGroupAssignmentScheduleInstanceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/privilegedaccessgroupassignmentscheduleinstance-get?view=graph-rest-1.0 func (m *PrivilegedAccessGroupAssignmentScheduleInstancesPrivilegedAccessGroupAssignmentScheduleInstanceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *PrivilegedAccessGroupAssignmentScheduleInstancesPrivilegedAccessGroupAssignmentScheduleInstanceItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrivilegedAccessGroupAssignmentScheduleInstanceable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -139,7 +136,7 @@ func (m *PrivilegedAccessGroupAssignmentScheduleInstancesPrivilegedAccessGroupAs requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a privilegedAccessGroupAssignmentScheduleInstance object. +// ToGetRequestInformation the instances of assignment schedules to activate a just-in-time access. // returns a *RequestInformation when successful func (m *PrivilegedAccessGroupAssignmentScheduleInstancesPrivilegedAccessGroupAssignmentScheduleInstanceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PrivilegedAccessGroupAssignmentScheduleInstancesPrivilegedAccessGroupAssignmentScheduleInstanceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/privileged_access_group_assignment_schedule_instances_request_builder.go b/identitygovernance/privileged_access_group_assignment_schedule_instances_request_builder.go index e139c1f682e..9ea5705b5e3 100644 --- a/identitygovernance/privileged_access_group_assignment_schedule_instances_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_schedule_instances_request_builder.go @@ -11,7 +11,7 @@ import ( type PrivilegedAccessGroupAssignmentScheduleInstancesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// PrivilegedAccessGroupAssignmentScheduleInstancesRequestBuilderGetQueryParameters get a list of the privilegedAccessGroupAssignmentScheduleInstance objects and their properties. +// PrivilegedAccessGroupAssignmentScheduleInstancesRequestBuilderGetQueryParameters the instances of assignment schedules to activate a just-in-time access. type PrivilegedAccessGroupAssignmentScheduleInstancesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *PrivilegedAccessGroupAssignmentScheduleInstancesRequestBuilder) Count() func (m *PrivilegedAccessGroupAssignmentScheduleInstancesRequestBuilder) FilterByCurrentUserWithOn(on *string)(*PrivilegedAccessGroupAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilder) { return NewPrivilegedAccessGroupAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, on) } -// Get get a list of the privilegedAccessGroupAssignmentScheduleInstance objects and their properties. +// Get the instances of assignment schedules to activate a just-in-time access. // returns a PrivilegedAccessGroupAssignmentScheduleInstanceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/privilegedaccessgroup-list-assignmentscheduleinstances?view=graph-rest-1.0 func (m *PrivilegedAccessGroupAssignmentScheduleInstancesRequestBuilder) Get(ctx context.Context, requestConfiguration *PrivilegedAccessGroupAssignmentScheduleInstancesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrivilegedAccessGroupAssignmentScheduleInstanceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *PrivilegedAccessGroupAssignmentScheduleInstancesRequestBuilder) Post(ct } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrivilegedAccessGroupAssignmentScheduleInstanceable), nil } -// ToGetRequestInformation get a list of the privilegedAccessGroupAssignmentScheduleInstance objects and their properties. +// ToGetRequestInformation the instances of assignment schedules to activate a just-in-time access. // returns a *RequestInformation when successful func (m *PrivilegedAccessGroupAssignmentScheduleInstancesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PrivilegedAccessGroupAssignmentScheduleInstancesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/privileged_access_group_assignment_schedule_requests_filter_by_current_user_with_on_request_builder.go b/identitygovernance/privileged_access_group_assignment_schedule_requests_filter_by_current_user_with_on_request_builder.go index 6fbdc5b19d2..30cc876b9c2 100644 --- a/identitygovernance/privileged_access_group_assignment_schedule_requests_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_schedule_requests_filter_by_current_user_with_on_request_builder.go @@ -10,7 +10,7 @@ import ( type PrivilegedAccessGroupAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// PrivilegedAccessGroupAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters invoke function filterByCurrentUser +// PrivilegedAccessGroupAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters in PIM for groups, retrieve the requests for membership or ownership assignments for the calling principal to groups that are governed by PIM. type PrivilegedAccessGroupAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewPrivilegedAccessGroupAssignmentScheduleRequestsFilterByCurrentUserWithOn urlParams["request-raw-url"] = rawUrl return NewPrivilegedAccessGroupAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function filterByCurrentUser +// Get in PIM for groups, retrieve the requests for membership or ownership assignments for the calling principal to groups that are governed by PIM. // Deprecated: This method is obsolete. Use GetAsFilterByCurrentUserWithOnGetResponse instead. // returns a PrivilegedAccessGroupAssignmentScheduleRequestsFilterByCurrentUserWithOnResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/privilegedaccessgroupassignmentschedulerequest-filterbycurrentuser?view=graph-rest-beta func (m *PrivilegedAccessGroupAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilder) Get(ctx context.Context, requestConfiguration *PrivilegedAccessGroupAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(PrivilegedAccessGroupAssignmentScheduleRequestsFilterByCurrentUserWithOnResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *PrivilegedAccessGroupAssignmentScheduleRequestsFilterByCurrentUserWithO } return res.(PrivilegedAccessGroupAssignmentScheduleRequestsFilterByCurrentUserWithOnResponseable), nil } -// GetAsFilterByCurrentUserWithOnGetResponse invoke function filterByCurrentUser +// GetAsFilterByCurrentUserWithOnGetResponse in PIM for groups, retrieve the requests for membership or ownership assignments for the calling principal to groups that are governed by PIM. // returns a PrivilegedAccessGroupAssignmentScheduleRequestsFilterByCurrentUserWithOnGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/privilegedaccessgroupassignmentschedulerequest-filterbycurrentuser?view=graph-rest-beta func (m *PrivilegedAccessGroupAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilder) GetAsFilterByCurrentUserWithOnGetResponse(ctx context.Context, requestConfiguration *PrivilegedAccessGroupAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(PrivilegedAccessGroupAssignmentScheduleRequestsFilterByCurrentUserWithOnGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *PrivilegedAccessGroupAssignmentScheduleRequestsFilterByCurrentUserWithO } return res.(PrivilegedAccessGroupAssignmentScheduleRequestsFilterByCurrentUserWithOnGetResponseable), nil } -// ToGetRequestInformation invoke function filterByCurrentUser +// ToGetRequestInformation in PIM for groups, retrieve the requests for membership or ownership assignments for the calling principal to groups that are governed by PIM. // returns a *RequestInformation when successful func (m *PrivilegedAccessGroupAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PrivilegedAccessGroupAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/privileged_access_group_assignment_schedule_requests_item_cancel_request_builder.go b/identitygovernance/privileged_access_group_assignment_schedule_requests_item_cancel_request_builder.go index 56ff0e14f84..e7c7d3731cf 100644 --- a/identitygovernance/privileged_access_group_assignment_schedule_requests_item_cancel_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_schedule_requests_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewPrivilegedAccessGroupAssignmentScheduleRequestsItemCancelRequestBuilder( // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/privilegedaccessgroupassignmentschedulerequest-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/privilegedaccessgroupassignmentschedulerequest-cancel?view=graph-rest-beta func (m *PrivilegedAccessGroupAssignmentScheduleRequestsItemCancelRequestBuilder) Post(ctx context.Context, requestConfiguration *PrivilegedAccessGroupAssignmentScheduleRequestsItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/privileged_access_group_assignment_schedule_requests_privileged_access_group_assignment_schedule_request_item_request_builder.go b/identitygovernance/privileged_access_group_assignment_schedule_requests_privileged_access_group_assignment_schedule_request_item_request_builder.go index ad8e061eecf..909efcf5467 100644 --- a/identitygovernance/privileged_access_group_assignment_schedule_requests_privileged_access_group_assignment_schedule_request_item_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_schedule_requests_privileged_access_group_assignment_schedule_request_item_request_builder.go @@ -18,7 +18,7 @@ type PrivilegedAccessGroupAssignmentScheduleRequestsPrivilegedAccessGroupAssignm // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// PrivilegedAccessGroupAssignmentScheduleRequestsPrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilderGetQueryParameters read the properties and relationships of a privilegedAccessGroupAssignmentScheduleRequest object. +// PrivilegedAccessGroupAssignmentScheduleRequestsPrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilderGetQueryParameters the schedule requests for operations to create, update, delete, extend, and renew an assignment. type PrivilegedAccessGroupAssignmentScheduleRequestsPrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -80,12 +80,9 @@ func (m *PrivilegedAccessGroupAssignmentScheduleRequestsPrivilegedAccessGroupAss } return nil } -// Get read the properties and relationships of a privilegedAccessGroupAssignmentScheduleRequest object. +// Get the schedule requests for operations to create, update, delete, extend, and renew an assignment. // returns a PrivilegedAccessGroupAssignmentScheduleRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/privilegedaccessgroupassignmentschedulerequest-get?view=graph-rest-1.0 func (m *PrivilegedAccessGroupAssignmentScheduleRequestsPrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder) Get(ctx context.Context, requestConfiguration *PrivilegedAccessGroupAssignmentScheduleRequestsPrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrivilegedAccessGroupAssignmentScheduleRequestable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -149,7 +146,7 @@ func (m *PrivilegedAccessGroupAssignmentScheduleRequestsPrivilegedAccessGroupAss requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a privilegedAccessGroupAssignmentScheduleRequest object. +// ToGetRequestInformation the schedule requests for operations to create, update, delete, extend, and renew an assignment. // returns a *RequestInformation when successful func (m *PrivilegedAccessGroupAssignmentScheduleRequestsPrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PrivilegedAccessGroupAssignmentScheduleRequestsPrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/privileged_access_group_assignment_schedule_requests_request_builder.go b/identitygovernance/privileged_access_group_assignment_schedule_requests_request_builder.go index 2d6ef80ac27..6cdea5a9a97 100644 --- a/identitygovernance/privileged_access_group_assignment_schedule_requests_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_schedule_requests_request_builder.go @@ -11,7 +11,7 @@ import ( type PrivilegedAccessGroupAssignmentScheduleRequestsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// PrivilegedAccessGroupAssignmentScheduleRequestsRequestBuilderGetQueryParameters get a list of the privilegedAccessGroupAssignmentScheduleRequest objects and their properties. +// PrivilegedAccessGroupAssignmentScheduleRequestsRequestBuilderGetQueryParameters the schedule requests for operations to create, update, delete, extend, and renew an assignment. type PrivilegedAccessGroupAssignmentScheduleRequestsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *PrivilegedAccessGroupAssignmentScheduleRequestsRequestBuilder) Count()( func (m *PrivilegedAccessGroupAssignmentScheduleRequestsRequestBuilder) FilterByCurrentUserWithOn(on *string)(*PrivilegedAccessGroupAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilder) { return NewPrivilegedAccessGroupAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, on) } -// Get get a list of the privilegedAccessGroupAssignmentScheduleRequest objects and their properties. +// Get the schedule requests for operations to create, update, delete, extend, and renew an assignment. // returns a PrivilegedAccessGroupAssignmentScheduleRequestCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/privilegedaccessgroup-list-assignmentschedulerequests?view=graph-rest-1.0 func (m *PrivilegedAccessGroupAssignmentScheduleRequestsRequestBuilder) Get(ctx context.Context, requestConfiguration *PrivilegedAccessGroupAssignmentScheduleRequestsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrivilegedAccessGroupAssignmentScheduleRequestCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *PrivilegedAccessGroupAssignmentScheduleRequestsRequestBuilder) Get(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrivilegedAccessGroupAssignmentScheduleRequestCollectionResponseable), nil } -// Post create a new privilegedAccessGroupAssignmentScheduleRequest object. +// Post create new navigation property to assignmentScheduleRequests for identityGovernance // returns a PrivilegedAccessGroupAssignmentScheduleRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/privilegedaccessgroup-post-assignmentschedulerequests?view=graph-rest-1.0 func (m *PrivilegedAccessGroupAssignmentScheduleRequestsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrivilegedAccessGroupAssignmentScheduleRequestable, requestConfiguration *PrivilegedAccessGroupAssignmentScheduleRequestsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrivilegedAccessGroupAssignmentScheduleRequestable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *PrivilegedAccessGroupAssignmentScheduleRequestsRequestBuilder) Post(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrivilegedAccessGroupAssignmentScheduleRequestable), nil } -// ToGetRequestInformation get a list of the privilegedAccessGroupAssignmentScheduleRequest objects and their properties. +// ToGetRequestInformation the schedule requests for operations to create, update, delete, extend, and renew an assignment. // returns a *RequestInformation when successful func (m *PrivilegedAccessGroupAssignmentScheduleRequestsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PrivilegedAccessGroupAssignmentScheduleRequestsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *PrivilegedAccessGroupAssignmentScheduleRequestsRequestBuilder) ToGetReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new privilegedAccessGroupAssignmentScheduleRequest object. +// ToPostRequestInformation create new navigation property to assignmentScheduleRequests for identityGovernance // returns a *RequestInformation when successful func (m *PrivilegedAccessGroupAssignmentScheduleRequestsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrivilegedAccessGroupAssignmentScheduleRequestable, requestConfiguration *PrivilegedAccessGroupAssignmentScheduleRequestsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/privileged_access_group_assignment_schedules_filter_by_current_user_with_on_request_builder.go b/identitygovernance/privileged_access_group_assignment_schedules_filter_by_current_user_with_on_request_builder.go index 645109c12bc..a07b23d67d3 100644 --- a/identitygovernance/privileged_access_group_assignment_schedules_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_schedules_filter_by_current_user_with_on_request_builder.go @@ -10,7 +10,7 @@ import ( type PrivilegedAccessGroupAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// PrivilegedAccessGroupAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters invoke function filterByCurrentUser +// PrivilegedAccessGroupAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters in PIM for groups, retrieve the schedules for membership or ownership assignments for the calling principal to groups that are governed by PIM. type PrivilegedAccessGroupAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewPrivilegedAccessGroupAssignmentSchedulesFilterByCurrentUserWithOnRequest urlParams["request-raw-url"] = rawUrl return NewPrivilegedAccessGroupAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function filterByCurrentUser +// Get in PIM for groups, retrieve the schedules for membership or ownership assignments for the calling principal to groups that are governed by PIM. // Deprecated: This method is obsolete. Use GetAsFilterByCurrentUserWithOnGetResponse instead. // returns a PrivilegedAccessGroupAssignmentSchedulesFilterByCurrentUserWithOnResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/privilegedaccessgroupassignmentschedule-filterbycurrentuser?view=graph-rest-beta func (m *PrivilegedAccessGroupAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilder) Get(ctx context.Context, requestConfiguration *PrivilegedAccessGroupAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(PrivilegedAccessGroupAssignmentSchedulesFilterByCurrentUserWithOnResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *PrivilegedAccessGroupAssignmentSchedulesFilterByCurrentUserWithOnReques } return res.(PrivilegedAccessGroupAssignmentSchedulesFilterByCurrentUserWithOnResponseable), nil } -// GetAsFilterByCurrentUserWithOnGetResponse invoke function filterByCurrentUser +// GetAsFilterByCurrentUserWithOnGetResponse in PIM for groups, retrieve the schedules for membership or ownership assignments for the calling principal to groups that are governed by PIM. // returns a PrivilegedAccessGroupAssignmentSchedulesFilterByCurrentUserWithOnGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/privilegedaccessgroupassignmentschedule-filterbycurrentuser?view=graph-rest-beta func (m *PrivilegedAccessGroupAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilder) GetAsFilterByCurrentUserWithOnGetResponse(ctx context.Context, requestConfiguration *PrivilegedAccessGroupAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(PrivilegedAccessGroupAssignmentSchedulesFilterByCurrentUserWithOnGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *PrivilegedAccessGroupAssignmentSchedulesFilterByCurrentUserWithOnReques } return res.(PrivilegedAccessGroupAssignmentSchedulesFilterByCurrentUserWithOnGetResponseable), nil } -// ToGetRequestInformation invoke function filterByCurrentUser +// ToGetRequestInformation in PIM for groups, retrieve the schedules for membership or ownership assignments for the calling principal to groups that are governed by PIM. // returns a *RequestInformation when successful func (m *PrivilegedAccessGroupAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PrivilegedAccessGroupAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/privileged_access_group_assignment_schedules_privileged_access_group_assignment_schedule_item_request_builder.go b/identitygovernance/privileged_access_group_assignment_schedules_privileged_access_group_assignment_schedule_item_request_builder.go index 6fa766e00bb..4dba717a653 100644 --- a/identitygovernance/privileged_access_group_assignment_schedules_privileged_access_group_assignment_schedule_item_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_schedules_privileged_access_group_assignment_schedule_item_request_builder.go @@ -18,7 +18,7 @@ type PrivilegedAccessGroupAssignmentSchedulesPrivilegedAccessGroupAssignmentSche // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// PrivilegedAccessGroupAssignmentSchedulesPrivilegedAccessGroupAssignmentScheduleItemRequestBuilderGetQueryParameters read the properties and relationships of a privilegedAccessGroupAssignmentSchedule object. +// PrivilegedAccessGroupAssignmentSchedulesPrivilegedAccessGroupAssignmentScheduleItemRequestBuilderGetQueryParameters the assignment schedules to activate a just-in-time access. type PrivilegedAccessGroupAssignmentSchedulesPrivilegedAccessGroupAssignmentScheduleItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *PrivilegedAccessGroupAssignmentSchedulesPrivilegedAccessGroupAssignment } return nil } -// Get read the properties and relationships of a privilegedAccessGroupAssignmentSchedule object. +// Get the assignment schedules to activate a just-in-time access. // returns a PrivilegedAccessGroupAssignmentScheduleable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/privilegedaccessgroupassignmentschedule-get?view=graph-rest-1.0 func (m *PrivilegedAccessGroupAssignmentSchedulesPrivilegedAccessGroupAssignmentScheduleItemRequestBuilder) Get(ctx context.Context, requestConfiguration *PrivilegedAccessGroupAssignmentSchedulesPrivilegedAccessGroupAssignmentScheduleItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrivilegedAccessGroupAssignmentScheduleable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -139,7 +136,7 @@ func (m *PrivilegedAccessGroupAssignmentSchedulesPrivilegedAccessGroupAssignment requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a privilegedAccessGroupAssignmentSchedule object. +// ToGetRequestInformation the assignment schedules to activate a just-in-time access. // returns a *RequestInformation when successful func (m *PrivilegedAccessGroupAssignmentSchedulesPrivilegedAccessGroupAssignmentScheduleItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PrivilegedAccessGroupAssignmentSchedulesPrivilegedAccessGroupAssignmentScheduleItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/privileged_access_group_assignment_schedules_request_builder.go b/identitygovernance/privileged_access_group_assignment_schedules_request_builder.go index d6df074d76b..49f7ec26514 100644 --- a/identitygovernance/privileged_access_group_assignment_schedules_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_schedules_request_builder.go @@ -11,7 +11,7 @@ import ( type PrivilegedAccessGroupAssignmentSchedulesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// PrivilegedAccessGroupAssignmentSchedulesRequestBuilderGetQueryParameters get a list of the privilegedAccessGroupAssignmentSchedule objects and their properties. +// PrivilegedAccessGroupAssignmentSchedulesRequestBuilderGetQueryParameters the assignment schedules to activate a just-in-time access. type PrivilegedAccessGroupAssignmentSchedulesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *PrivilegedAccessGroupAssignmentSchedulesRequestBuilder) Count()(*Privil func (m *PrivilegedAccessGroupAssignmentSchedulesRequestBuilder) FilterByCurrentUserWithOn(on *string)(*PrivilegedAccessGroupAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilder) { return NewPrivilegedAccessGroupAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, on) } -// Get get a list of the privilegedAccessGroupAssignmentSchedule objects and their properties. +// Get the assignment schedules to activate a just-in-time access. // returns a PrivilegedAccessGroupAssignmentScheduleCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/privilegedaccessgroup-list-assignmentschedules?view=graph-rest-1.0 func (m *PrivilegedAccessGroupAssignmentSchedulesRequestBuilder) Get(ctx context.Context, requestConfiguration *PrivilegedAccessGroupAssignmentSchedulesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrivilegedAccessGroupAssignmentScheduleCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *PrivilegedAccessGroupAssignmentSchedulesRequestBuilder) Post(ctx contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrivilegedAccessGroupAssignmentScheduleable), nil } -// ToGetRequestInformation get a list of the privilegedAccessGroupAssignmentSchedule objects and their properties. +// ToGetRequestInformation the assignment schedules to activate a just-in-time access. // returns a *RequestInformation when successful func (m *PrivilegedAccessGroupAssignmentSchedulesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PrivilegedAccessGroupAssignmentSchedulesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/privileged_access_group_eligibility_schedule_instances_filter_by_current_user_with_on_request_builder.go b/identitygovernance/privileged_access_group_eligibility_schedule_instances_filter_by_current_user_with_on_request_builder.go index d2804291b97..c45f9fe7303 100644 --- a/identitygovernance/privileged_access_group_eligibility_schedule_instances_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/privileged_access_group_eligibility_schedule_instances_filter_by_current_user_with_on_request_builder.go @@ -10,7 +10,7 @@ import ( type PrivilegedAccessGroupEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// PrivilegedAccessGroupEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters invoke function filterByCurrentUser +// PrivilegedAccessGroupEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters return instances of membership and ownership eligibility schedules for the calling principal. type PrivilegedAccessGroupEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewPrivilegedAccessGroupEligibilityScheduleInstancesFilterByCurrentUserWith urlParams["request-raw-url"] = rawUrl return NewPrivilegedAccessGroupEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function filterByCurrentUser +// Get return instances of membership and ownership eligibility schedules for the calling principal. // Deprecated: This method is obsolete. Use GetAsFilterByCurrentUserWithOnGetResponse instead. // returns a PrivilegedAccessGroupEligibilityScheduleInstancesFilterByCurrentUserWithOnResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/privilegedaccessgroupeligibilityscheduleinstance-filterbycurrentuser?view=graph-rest-beta func (m *PrivilegedAccessGroupEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilder) Get(ctx context.Context, requestConfiguration *PrivilegedAccessGroupEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(PrivilegedAccessGroupEligibilityScheduleInstancesFilterByCurrentUserWithOnResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *PrivilegedAccessGroupEligibilityScheduleInstancesFilterByCurrentUserWit } return res.(PrivilegedAccessGroupEligibilityScheduleInstancesFilterByCurrentUserWithOnResponseable), nil } -// GetAsFilterByCurrentUserWithOnGetResponse invoke function filterByCurrentUser +// GetAsFilterByCurrentUserWithOnGetResponse return instances of membership and ownership eligibility schedules for the calling principal. // returns a PrivilegedAccessGroupEligibilityScheduleInstancesFilterByCurrentUserWithOnGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/privilegedaccessgroupeligibilityscheduleinstance-filterbycurrentuser?view=graph-rest-beta func (m *PrivilegedAccessGroupEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilder) GetAsFilterByCurrentUserWithOnGetResponse(ctx context.Context, requestConfiguration *PrivilegedAccessGroupEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(PrivilegedAccessGroupEligibilityScheduleInstancesFilterByCurrentUserWithOnGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *PrivilegedAccessGroupEligibilityScheduleInstancesFilterByCurrentUserWit } return res.(PrivilegedAccessGroupEligibilityScheduleInstancesFilterByCurrentUserWithOnGetResponseable), nil } -// ToGetRequestInformation invoke function filterByCurrentUser +// ToGetRequestInformation return instances of membership and ownership eligibility schedules for the calling principal. // returns a *RequestInformation when successful func (m *PrivilegedAccessGroupEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PrivilegedAccessGroupEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/privileged_access_group_eligibility_schedule_instances_privileged_access_group_eligibility_schedule_instance_item_request_builder.go b/identitygovernance/privileged_access_group_eligibility_schedule_instances_privileged_access_group_eligibility_schedule_instance_item_request_builder.go index e29a2e63c31..ca5ed298fef 100644 --- a/identitygovernance/privileged_access_group_eligibility_schedule_instances_privileged_access_group_eligibility_schedule_instance_item_request_builder.go +++ b/identitygovernance/privileged_access_group_eligibility_schedule_instances_privileged_access_group_eligibility_schedule_instance_item_request_builder.go @@ -18,7 +18,7 @@ type PrivilegedAccessGroupEligibilityScheduleInstancesPrivilegedAccessGroupEligi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// PrivilegedAccessGroupEligibilityScheduleInstancesPrivilegedAccessGroupEligibilityScheduleInstanceItemRequestBuilderGetQueryParameters read the properties and relationships of a privilegedAccessGroupEligibilityScheduleInstance object. +// PrivilegedAccessGroupEligibilityScheduleInstancesPrivilegedAccessGroupEligibilityScheduleInstanceItemRequestBuilderGetQueryParameters the instances of eligibility schedules to activate a just-in-time access. type PrivilegedAccessGroupEligibilityScheduleInstancesPrivilegedAccessGroupEligibilityScheduleInstanceItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *PrivilegedAccessGroupEligibilityScheduleInstancesPrivilegedAccessGroupE } return nil } -// Get read the properties and relationships of a privilegedAccessGroupEligibilityScheduleInstance object. +// Get the instances of eligibility schedules to activate a just-in-time access. // returns a PrivilegedAccessGroupEligibilityScheduleInstanceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/privilegedaccessgroupeligibilityscheduleinstance-get?view=graph-rest-1.0 func (m *PrivilegedAccessGroupEligibilityScheduleInstancesPrivilegedAccessGroupEligibilityScheduleInstanceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *PrivilegedAccessGroupEligibilityScheduleInstancesPrivilegedAccessGroupEligibilityScheduleInstanceItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrivilegedAccessGroupEligibilityScheduleInstanceable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -134,7 +131,7 @@ func (m *PrivilegedAccessGroupEligibilityScheduleInstancesPrivilegedAccessGroupE requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a privilegedAccessGroupEligibilityScheduleInstance object. +// ToGetRequestInformation the instances of eligibility schedules to activate a just-in-time access. // returns a *RequestInformation when successful func (m *PrivilegedAccessGroupEligibilityScheduleInstancesPrivilegedAccessGroupEligibilityScheduleInstanceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PrivilegedAccessGroupEligibilityScheduleInstancesPrivilegedAccessGroupEligibilityScheduleInstanceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/privileged_access_group_eligibility_schedule_instances_request_builder.go b/identitygovernance/privileged_access_group_eligibility_schedule_instances_request_builder.go index 43cca4d5217..ab327f13d2a 100644 --- a/identitygovernance/privileged_access_group_eligibility_schedule_instances_request_builder.go +++ b/identitygovernance/privileged_access_group_eligibility_schedule_instances_request_builder.go @@ -11,7 +11,7 @@ import ( type PrivilegedAccessGroupEligibilityScheduleInstancesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// PrivilegedAccessGroupEligibilityScheduleInstancesRequestBuilderGetQueryParameters get a list of the privilegedAccessGroupEligibilityScheduleInstance objects and their properties. +// PrivilegedAccessGroupEligibilityScheduleInstancesRequestBuilderGetQueryParameters the instances of eligibility schedules to activate a just-in-time access. type PrivilegedAccessGroupEligibilityScheduleInstancesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *PrivilegedAccessGroupEligibilityScheduleInstancesRequestBuilder) Count( func (m *PrivilegedAccessGroupEligibilityScheduleInstancesRequestBuilder) FilterByCurrentUserWithOn(on *string)(*PrivilegedAccessGroupEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilder) { return NewPrivilegedAccessGroupEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, on) } -// Get get a list of the privilegedAccessGroupEligibilityScheduleInstance objects and their properties. +// Get the instances of eligibility schedules to activate a just-in-time access. // returns a PrivilegedAccessGroupEligibilityScheduleInstanceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/privilegedaccessgroup-list-eligibilityscheduleinstances?view=graph-rest-1.0 func (m *PrivilegedAccessGroupEligibilityScheduleInstancesRequestBuilder) Get(ctx context.Context, requestConfiguration *PrivilegedAccessGroupEligibilityScheduleInstancesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrivilegedAccessGroupEligibilityScheduleInstanceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *PrivilegedAccessGroupEligibilityScheduleInstancesRequestBuilder) Post(c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrivilegedAccessGroupEligibilityScheduleInstanceable), nil } -// ToGetRequestInformation get a list of the privilegedAccessGroupEligibilityScheduleInstance objects and their properties. +// ToGetRequestInformation the instances of eligibility schedules to activate a just-in-time access. // returns a *RequestInformation when successful func (m *PrivilegedAccessGroupEligibilityScheduleInstancesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PrivilegedAccessGroupEligibilityScheduleInstancesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/privileged_access_group_eligibility_schedule_requests_filter_by_current_user_with_on_request_builder.go b/identitygovernance/privileged_access_group_eligibility_schedule_requests_filter_by_current_user_with_on_request_builder.go index 2af0615c7dc..ee8fd7db947 100644 --- a/identitygovernance/privileged_access_group_eligibility_schedule_requests_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/privileged_access_group_eligibility_schedule_requests_filter_by_current_user_with_on_request_builder.go @@ -10,7 +10,7 @@ import ( type PrivilegedAccessGroupEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// PrivilegedAccessGroupEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters invoke function filterByCurrentUser +// PrivilegedAccessGroupEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters in PIM for groups, retrieve the requests for membership or ownership eligibilities for the calling principal to groups that are governed by PIM. type PrivilegedAccessGroupEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewPrivilegedAccessGroupEligibilityScheduleRequestsFilterByCurrentUserWithO urlParams["request-raw-url"] = rawUrl return NewPrivilegedAccessGroupEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function filterByCurrentUser +// Get in PIM for groups, retrieve the requests for membership or ownership eligibilities for the calling principal to groups that are governed by PIM. // Deprecated: This method is obsolete. Use GetAsFilterByCurrentUserWithOnGetResponse instead. // returns a PrivilegedAccessGroupEligibilityScheduleRequestsFilterByCurrentUserWithOnResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/privilegedaccessgroupeligibilityschedulerequest-filterbycurrentuser?view=graph-rest-beta func (m *PrivilegedAccessGroupEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilder) Get(ctx context.Context, requestConfiguration *PrivilegedAccessGroupEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(PrivilegedAccessGroupEligibilityScheduleRequestsFilterByCurrentUserWithOnResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *PrivilegedAccessGroupEligibilityScheduleRequestsFilterByCurrentUserWith } return res.(PrivilegedAccessGroupEligibilityScheduleRequestsFilterByCurrentUserWithOnResponseable), nil } -// GetAsFilterByCurrentUserWithOnGetResponse invoke function filterByCurrentUser +// GetAsFilterByCurrentUserWithOnGetResponse in PIM for groups, retrieve the requests for membership or ownership eligibilities for the calling principal to groups that are governed by PIM. // returns a PrivilegedAccessGroupEligibilityScheduleRequestsFilterByCurrentUserWithOnGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/privilegedaccessgroupeligibilityschedulerequest-filterbycurrentuser?view=graph-rest-beta func (m *PrivilegedAccessGroupEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilder) GetAsFilterByCurrentUserWithOnGetResponse(ctx context.Context, requestConfiguration *PrivilegedAccessGroupEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(PrivilegedAccessGroupEligibilityScheduleRequestsFilterByCurrentUserWithOnGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *PrivilegedAccessGroupEligibilityScheduleRequestsFilterByCurrentUserWith } return res.(PrivilegedAccessGroupEligibilityScheduleRequestsFilterByCurrentUserWithOnGetResponseable), nil } -// ToGetRequestInformation invoke function filterByCurrentUser +// ToGetRequestInformation in PIM for groups, retrieve the requests for membership or ownership eligibilities for the calling principal to groups that are governed by PIM. // returns a *RequestInformation when successful func (m *PrivilegedAccessGroupEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PrivilegedAccessGroupEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/privileged_access_group_eligibility_schedule_requests_item_cancel_request_builder.go b/identitygovernance/privileged_access_group_eligibility_schedule_requests_item_cancel_request_builder.go index 3cd21ff0b3c..d19c07cde63 100644 --- a/identitygovernance/privileged_access_group_eligibility_schedule_requests_item_cancel_request_builder.go +++ b/identitygovernance/privileged_access_group_eligibility_schedule_requests_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewPrivilegedAccessGroupEligibilityScheduleRequestsItemCancelRequestBuilder // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/privilegedaccessgroupeligibilityschedulerequest-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/privilegedaccessgroupeligibilityschedulerequest-cancel?view=graph-rest-beta func (m *PrivilegedAccessGroupEligibilityScheduleRequestsItemCancelRequestBuilder) Post(ctx context.Context, requestConfiguration *PrivilegedAccessGroupEligibilityScheduleRequestsItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/identitygovernance/privileged_access_group_eligibility_schedule_requests_privileged_access_group_eligibility_schedule_request_item_request_builder.go b/identitygovernance/privileged_access_group_eligibility_schedule_requests_privileged_access_group_eligibility_schedule_request_item_request_builder.go index 07d7cb2b9bc..175f2f4495a 100644 --- a/identitygovernance/privileged_access_group_eligibility_schedule_requests_privileged_access_group_eligibility_schedule_request_item_request_builder.go +++ b/identitygovernance/privileged_access_group_eligibility_schedule_requests_privileged_access_group_eligibility_schedule_request_item_request_builder.go @@ -18,7 +18,7 @@ type PrivilegedAccessGroupEligibilityScheduleRequestsPrivilegedAccessGroupEligib // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// PrivilegedAccessGroupEligibilityScheduleRequestsPrivilegedAccessGroupEligibilityScheduleRequestItemRequestBuilderGetQueryParameters read the properties and relationships of a privilegedAccessGroupEligibilityScheduleRequest object. +// PrivilegedAccessGroupEligibilityScheduleRequestsPrivilegedAccessGroupEligibilityScheduleRequestItemRequestBuilderGetQueryParameters the schedule requests for operations to create, update, delete, extend, and renew an eligibility. type PrivilegedAccessGroupEligibilityScheduleRequestsPrivilegedAccessGroupEligibilityScheduleRequestItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *PrivilegedAccessGroupEligibilityScheduleRequestsPrivilegedAccessGroupEl } return nil } -// Get read the properties and relationships of a privilegedAccessGroupEligibilityScheduleRequest object. +// Get the schedule requests for operations to create, update, delete, extend, and renew an eligibility. // returns a PrivilegedAccessGroupEligibilityScheduleRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/privilegedaccessgroupeligibilityschedulerequest-get?view=graph-rest-1.0 func (m *PrivilegedAccessGroupEligibilityScheduleRequestsPrivilegedAccessGroupEligibilityScheduleRequestItemRequestBuilder) Get(ctx context.Context, requestConfiguration *PrivilegedAccessGroupEligibilityScheduleRequestsPrivilegedAccessGroupEligibilityScheduleRequestItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrivilegedAccessGroupEligibilityScheduleRequestable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -144,7 +141,7 @@ func (m *PrivilegedAccessGroupEligibilityScheduleRequestsPrivilegedAccessGroupEl requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a privilegedAccessGroupEligibilityScheduleRequest object. +// ToGetRequestInformation the schedule requests for operations to create, update, delete, extend, and renew an eligibility. // returns a *RequestInformation when successful func (m *PrivilegedAccessGroupEligibilityScheduleRequestsPrivilegedAccessGroupEligibilityScheduleRequestItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PrivilegedAccessGroupEligibilityScheduleRequestsPrivilegedAccessGroupEligibilityScheduleRequestItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/privileged_access_group_eligibility_schedule_requests_request_builder.go b/identitygovernance/privileged_access_group_eligibility_schedule_requests_request_builder.go index a32fc849018..7c7c014b5c9 100644 --- a/identitygovernance/privileged_access_group_eligibility_schedule_requests_request_builder.go +++ b/identitygovernance/privileged_access_group_eligibility_schedule_requests_request_builder.go @@ -11,7 +11,7 @@ import ( type PrivilegedAccessGroupEligibilityScheduleRequestsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// PrivilegedAccessGroupEligibilityScheduleRequestsRequestBuilderGetQueryParameters get a list of the privilegedAccessGroupEligibilityScheduleRequest objects and their properties. +// PrivilegedAccessGroupEligibilityScheduleRequestsRequestBuilderGetQueryParameters the schedule requests for operations to create, update, delete, extend, and renew an eligibility. type PrivilegedAccessGroupEligibilityScheduleRequestsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *PrivilegedAccessGroupEligibilityScheduleRequestsRequestBuilder) Count() func (m *PrivilegedAccessGroupEligibilityScheduleRequestsRequestBuilder) FilterByCurrentUserWithOn(on *string)(*PrivilegedAccessGroupEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilder) { return NewPrivilegedAccessGroupEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, on) } -// Get get a list of the privilegedAccessGroupEligibilityScheduleRequest objects and their properties. +// Get the schedule requests for operations to create, update, delete, extend, and renew an eligibility. // returns a PrivilegedAccessGroupEligibilityScheduleRequestCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/privilegedaccessgroup-list-eligibilityschedulerequests?view=graph-rest-1.0 func (m *PrivilegedAccessGroupEligibilityScheduleRequestsRequestBuilder) Get(ctx context.Context, requestConfiguration *PrivilegedAccessGroupEligibilityScheduleRequestsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrivilegedAccessGroupEligibilityScheduleRequestCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *PrivilegedAccessGroupEligibilityScheduleRequestsRequestBuilder) Get(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrivilegedAccessGroupEligibilityScheduleRequestCollectionResponseable), nil } -// Post create a new privilegedAccessGroupEligibilityScheduleRequest object. +// Post create new navigation property to eligibilityScheduleRequests for identityGovernance // returns a PrivilegedAccessGroupEligibilityScheduleRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/privilegedaccessgroup-post-eligibilityschedulerequests?view=graph-rest-1.0 func (m *PrivilegedAccessGroupEligibilityScheduleRequestsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrivilegedAccessGroupEligibilityScheduleRequestable, requestConfiguration *PrivilegedAccessGroupEligibilityScheduleRequestsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrivilegedAccessGroupEligibilityScheduleRequestable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *PrivilegedAccessGroupEligibilityScheduleRequestsRequestBuilder) Post(ct } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrivilegedAccessGroupEligibilityScheduleRequestable), nil } -// ToGetRequestInformation get a list of the privilegedAccessGroupEligibilityScheduleRequest objects and their properties. +// ToGetRequestInformation the schedule requests for operations to create, update, delete, extend, and renew an eligibility. // returns a *RequestInformation when successful func (m *PrivilegedAccessGroupEligibilityScheduleRequestsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PrivilegedAccessGroupEligibilityScheduleRequestsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *PrivilegedAccessGroupEligibilityScheduleRequestsRequestBuilder) ToGetRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new privilegedAccessGroupEligibilityScheduleRequest object. +// ToPostRequestInformation create new navigation property to eligibilityScheduleRequests for identityGovernance // returns a *RequestInformation when successful func (m *PrivilegedAccessGroupEligibilityScheduleRequestsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrivilegedAccessGroupEligibilityScheduleRequestable, requestConfiguration *PrivilegedAccessGroupEligibilityScheduleRequestsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/privileged_access_group_eligibility_schedules_filter_by_current_user_with_on_request_builder.go b/identitygovernance/privileged_access_group_eligibility_schedules_filter_by_current_user_with_on_request_builder.go index 37c0ef8af4f..222f76b87e0 100644 --- a/identitygovernance/privileged_access_group_eligibility_schedules_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/privileged_access_group_eligibility_schedules_filter_by_current_user_with_on_request_builder.go @@ -10,7 +10,7 @@ import ( type PrivilegedAccessGroupEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// PrivilegedAccessGroupEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters invoke function filterByCurrentUser +// PrivilegedAccessGroupEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters retrieve schedules of membership and ownership eligibility requests for the calling principal. type PrivilegedAccessGroupEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewPrivilegedAccessGroupEligibilitySchedulesFilterByCurrentUserWithOnReques urlParams["request-raw-url"] = rawUrl return NewPrivilegedAccessGroupEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function filterByCurrentUser +// Get retrieve schedules of membership and ownership eligibility requests for the calling principal. // Deprecated: This method is obsolete. Use GetAsFilterByCurrentUserWithOnGetResponse instead. // returns a PrivilegedAccessGroupEligibilitySchedulesFilterByCurrentUserWithOnResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/privilegedaccessgroupeligibilityschedule-filterbycurrentuser?view=graph-rest-beta func (m *PrivilegedAccessGroupEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilder) Get(ctx context.Context, requestConfiguration *PrivilegedAccessGroupEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(PrivilegedAccessGroupEligibilitySchedulesFilterByCurrentUserWithOnResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *PrivilegedAccessGroupEligibilitySchedulesFilterByCurrentUserWithOnReque } return res.(PrivilegedAccessGroupEligibilitySchedulesFilterByCurrentUserWithOnResponseable), nil } -// GetAsFilterByCurrentUserWithOnGetResponse invoke function filterByCurrentUser +// GetAsFilterByCurrentUserWithOnGetResponse retrieve schedules of membership and ownership eligibility requests for the calling principal. // returns a PrivilegedAccessGroupEligibilitySchedulesFilterByCurrentUserWithOnGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/privilegedaccessgroupeligibilityschedule-filterbycurrentuser?view=graph-rest-beta func (m *PrivilegedAccessGroupEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilder) GetAsFilterByCurrentUserWithOnGetResponse(ctx context.Context, requestConfiguration *PrivilegedAccessGroupEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(PrivilegedAccessGroupEligibilitySchedulesFilterByCurrentUserWithOnGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *PrivilegedAccessGroupEligibilitySchedulesFilterByCurrentUserWithOnReque } return res.(PrivilegedAccessGroupEligibilitySchedulesFilterByCurrentUserWithOnGetResponseable), nil } -// ToGetRequestInformation invoke function filterByCurrentUser +// ToGetRequestInformation retrieve schedules of membership and ownership eligibility requests for the calling principal. // returns a *RequestInformation when successful func (m *PrivilegedAccessGroupEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PrivilegedAccessGroupEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/privileged_access_group_eligibility_schedules_privileged_access_group_eligibility_schedule_item_request_builder.go b/identitygovernance/privileged_access_group_eligibility_schedules_privileged_access_group_eligibility_schedule_item_request_builder.go index 0a88b11f50a..2d420ca5ca1 100644 --- a/identitygovernance/privileged_access_group_eligibility_schedules_privileged_access_group_eligibility_schedule_item_request_builder.go +++ b/identitygovernance/privileged_access_group_eligibility_schedules_privileged_access_group_eligibility_schedule_item_request_builder.go @@ -18,7 +18,7 @@ type PrivilegedAccessGroupEligibilitySchedulesPrivilegedAccessGroupEligibilitySc // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// PrivilegedAccessGroupEligibilitySchedulesPrivilegedAccessGroupEligibilityScheduleItemRequestBuilderGetQueryParameters read the properties and relationships of a privilegedAccessGroupEligibilitySchedule object. +// PrivilegedAccessGroupEligibilitySchedulesPrivilegedAccessGroupEligibilityScheduleItemRequestBuilderGetQueryParameters the eligibility schedules to activate a just-in-time access. type PrivilegedAccessGroupEligibilitySchedulesPrivilegedAccessGroupEligibilityScheduleItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *PrivilegedAccessGroupEligibilitySchedulesPrivilegedAccessGroupEligibili } return nil } -// Get read the properties and relationships of a privilegedAccessGroupEligibilitySchedule object. +// Get the eligibility schedules to activate a just-in-time access. // returns a PrivilegedAccessGroupEligibilityScheduleable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/privilegedaccessgroupeligibilityschedule-get?view=graph-rest-1.0 func (m *PrivilegedAccessGroupEligibilitySchedulesPrivilegedAccessGroupEligibilityScheduleItemRequestBuilder) Get(ctx context.Context, requestConfiguration *PrivilegedAccessGroupEligibilitySchedulesPrivilegedAccessGroupEligibilityScheduleItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrivilegedAccessGroupEligibilityScheduleable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -134,7 +131,7 @@ func (m *PrivilegedAccessGroupEligibilitySchedulesPrivilegedAccessGroupEligibili requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a privilegedAccessGroupEligibilitySchedule object. +// ToGetRequestInformation the eligibility schedules to activate a just-in-time access. // returns a *RequestInformation when successful func (m *PrivilegedAccessGroupEligibilitySchedulesPrivilegedAccessGroupEligibilityScheduleItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PrivilegedAccessGroupEligibilitySchedulesPrivilegedAccessGroupEligibilityScheduleItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/privileged_access_group_eligibility_schedules_request_builder.go b/identitygovernance/privileged_access_group_eligibility_schedules_request_builder.go index ae726ed5273..7eb50df0e27 100644 --- a/identitygovernance/privileged_access_group_eligibility_schedules_request_builder.go +++ b/identitygovernance/privileged_access_group_eligibility_schedules_request_builder.go @@ -11,7 +11,7 @@ import ( type PrivilegedAccessGroupEligibilitySchedulesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// PrivilegedAccessGroupEligibilitySchedulesRequestBuilderGetQueryParameters get a list of the privilegedAccessGroupEligibilitySchedule objects and their properties. +// PrivilegedAccessGroupEligibilitySchedulesRequestBuilderGetQueryParameters the eligibility schedules to activate a just-in-time access. type PrivilegedAccessGroupEligibilitySchedulesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *PrivilegedAccessGroupEligibilitySchedulesRequestBuilder) Count()(*Privi func (m *PrivilegedAccessGroupEligibilitySchedulesRequestBuilder) FilterByCurrentUserWithOn(on *string)(*PrivilegedAccessGroupEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilder) { return NewPrivilegedAccessGroupEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, on) } -// Get get a list of the privilegedAccessGroupEligibilitySchedule objects and their properties. +// Get the eligibility schedules to activate a just-in-time access. // returns a PrivilegedAccessGroupEligibilityScheduleCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/privilegedaccessgroup-list-eligibilityschedules?view=graph-rest-1.0 func (m *PrivilegedAccessGroupEligibilitySchedulesRequestBuilder) Get(ctx context.Context, requestConfiguration *PrivilegedAccessGroupEligibilitySchedulesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrivilegedAccessGroupEligibilityScheduleCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *PrivilegedAccessGroupEligibilitySchedulesRequestBuilder) Post(ctx conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrivilegedAccessGroupEligibilityScheduleable), nil } -// ToGetRequestInformation get a list of the privilegedAccessGroupEligibilitySchedule objects and their properties. +// ToGetRequestInformation the eligibility schedules to activate a just-in-time access. // returns a *RequestInformation when successful func (m *PrivilegedAccessGroupEligibilitySchedulesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PrivilegedAccessGroupEligibilitySchedulesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/role_management_alerts_alert_configurations_request_builder.go b/identitygovernance/role_management_alerts_alert_configurations_request_builder.go index e7b96299fc4..e8b7ccb16a9 100644 --- a/identitygovernance/role_management_alerts_alert_configurations_request_builder.go +++ b/identitygovernance/role_management_alerts_alert_configurations_request_builder.go @@ -11,7 +11,7 @@ import ( type RoleManagementAlertsAlertConfigurationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// RoleManagementAlertsAlertConfigurationsRequestBuilderGetQueryParameters get a list of the alert configurations. The alert configurations are a collection of following types that are derived from the unifiedRoleManagementAlertConfiguration object: +// RoleManagementAlertsAlertConfigurationsRequestBuilderGetQueryParameters the various configurations of an alert for Microsoft Entra roles. The configurations are predefined and can't be created or deleted, but some of the configurations can be modified. type RoleManagementAlertsAlertConfigurationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewRoleManagementAlertsAlertConfigurationsRequestBuilder(rawUrl string, req func (m *RoleManagementAlertsAlertConfigurationsRequestBuilder) Count()(*RoleManagementAlertsAlertConfigurationsCountRequestBuilder) { return NewRoleManagementAlertsAlertConfigurationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the alert configurations. The alert configurations are a collection of following types that are derived from the unifiedRoleManagementAlertConfiguration object: +// Get the various configurations of an alert for Microsoft Entra roles. The configurations are predefined and can't be created or deleted, but some of the configurations can be modified. // returns a UnifiedRoleManagementAlertConfigurationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/rolemanagementalert-list-alertconfigurations?view=graph-rest-1.0 func (m *RoleManagementAlertsAlertConfigurationsRequestBuilder) Get(ctx context.Context, requestConfiguration *RoleManagementAlertsAlertConfigurationsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleManagementAlertConfigurationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *RoleManagementAlertsAlertConfigurationsRequestBuilder) Post(ctx context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleManagementAlertConfigurationable), nil } -// ToGetRequestInformation get a list of the alert configurations. The alert configurations are a collection of following types that are derived from the unifiedRoleManagementAlertConfiguration object: +// ToGetRequestInformation the various configurations of an alert for Microsoft Entra roles. The configurations are predefined and can't be created or deleted, but some of the configurations can be modified. // returns a *RequestInformation when successful func (m *RoleManagementAlertsAlertConfigurationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RoleManagementAlertsAlertConfigurationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/role_management_alerts_alert_definitions_request_builder.go b/identitygovernance/role_management_alerts_alert_definitions_request_builder.go index 25324a9575f..83b886c0ebc 100644 --- a/identitygovernance/role_management_alerts_alert_definitions_request_builder.go +++ b/identitygovernance/role_management_alerts_alert_definitions_request_builder.go @@ -11,7 +11,7 @@ import ( type RoleManagementAlertsAlertDefinitionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// RoleManagementAlertsAlertDefinitionsRequestBuilderGetQueryParameters get a list of the unifiedRoleManagementAlertDefinition objects and their properties. +// RoleManagementAlertsAlertDefinitionsRequestBuilderGetQueryParameters defines an alert, its impact, and measures to mitigate or prevent it. type RoleManagementAlertsAlertDefinitionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewRoleManagementAlertsAlertDefinitionsRequestBuilder(rawUrl string, reques func (m *RoleManagementAlertsAlertDefinitionsRequestBuilder) Count()(*RoleManagementAlertsAlertDefinitionsCountRequestBuilder) { return NewRoleManagementAlertsAlertDefinitionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the unifiedRoleManagementAlertDefinition objects and their properties. +// Get defines an alert, its impact, and measures to mitigate or prevent it. // returns a UnifiedRoleManagementAlertDefinitionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/rolemanagementalert-list-alertdefinitions?view=graph-rest-1.0 func (m *RoleManagementAlertsAlertDefinitionsRequestBuilder) Get(ctx context.Context, requestConfiguration *RoleManagementAlertsAlertDefinitionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleManagementAlertDefinitionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *RoleManagementAlertsAlertDefinitionsRequestBuilder) Post(ctx context.Co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleManagementAlertDefinitionable), nil } -// ToGetRequestInformation get a list of the unifiedRoleManagementAlertDefinition objects and their properties. +// ToGetRequestInformation defines an alert, its impact, and measures to mitigate or prevent it. // returns a *RequestInformation when successful func (m *RoleManagementAlertsAlertDefinitionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RoleManagementAlertsAlertDefinitionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/role_management_alerts_alerts_item_alert_incidents_request_builder.go b/identitygovernance/role_management_alerts_alerts_item_alert_incidents_request_builder.go index dfb9c55e150..f2cdbaf6e32 100644 --- a/identitygovernance/role_management_alerts_alerts_item_alert_incidents_request_builder.go +++ b/identitygovernance/role_management_alerts_alerts_item_alert_incidents_request_builder.go @@ -11,7 +11,7 @@ import ( type RoleManagementAlertsAlertsItemAlertIncidentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// RoleManagementAlertsAlertsItemAlertIncidentsRequestBuilderGetQueryParameters get a list of the alert incidents. The alert incidents are a collection of any following type that is derived from the unifiedRoleManagementAlertIncident object: +// RoleManagementAlertsAlertsItemAlertIncidentsRequestBuilderGetQueryParameters represents the incidents of this type of alert that have been triggered in Privileged Identity Management (PIM) for Microsoft Entra roles in the tenant. Supports $expand. type RoleManagementAlertsAlertsItemAlertIncidentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewRoleManagementAlertsAlertsItemAlertIncidentsRequestBuilder(rawUrl string func (m *RoleManagementAlertsAlertsItemAlertIncidentsRequestBuilder) Count()(*RoleManagementAlertsAlertsItemAlertIncidentsCountRequestBuilder) { return NewRoleManagementAlertsAlertsItemAlertIncidentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the alert incidents. The alert incidents are a collection of any following type that is derived from the unifiedRoleManagementAlertIncident object: +// Get represents the incidents of this type of alert that have been triggered in Privileged Identity Management (PIM) for Microsoft Entra roles in the tenant. Supports $expand. // returns a UnifiedRoleManagementAlertIncidentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedrolemanagementalert-list-alertincidents?view=graph-rest-1.0 func (m *RoleManagementAlertsAlertsItemAlertIncidentsRequestBuilder) Get(ctx context.Context, requestConfiguration *RoleManagementAlertsAlertsItemAlertIncidentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleManagementAlertIncidentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *RoleManagementAlertsAlertsItemAlertIncidentsRequestBuilder) Post(ctx co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleManagementAlertIncidentable), nil } -// ToGetRequestInformation get a list of the alert incidents. The alert incidents are a collection of any following type that is derived from the unifiedRoleManagementAlertIncident object: +// ToGetRequestInformation represents the incidents of this type of alert that have been triggered in Privileged Identity Management (PIM) for Microsoft Entra roles in the tenant. Supports $expand. // returns a *RequestInformation when successful func (m *RoleManagementAlertsAlertsItemAlertIncidentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RoleManagementAlertsAlertsItemAlertIncidentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/role_management_alerts_alerts_item_alert_incidents_unified_role_management_alert_incident_item_request_builder.go b/identitygovernance/role_management_alerts_alerts_item_alert_incidents_unified_role_management_alert_incident_item_request_builder.go index 96349495a70..7e5bffc8e0b 100644 --- a/identitygovernance/role_management_alerts_alerts_item_alert_incidents_unified_role_management_alert_incident_item_request_builder.go +++ b/identitygovernance/role_management_alerts_alerts_item_alert_incidents_unified_role_management_alert_incident_item_request_builder.go @@ -18,7 +18,7 @@ type RoleManagementAlertsAlertsItemAlertIncidentsUnifiedRoleManagementAlertIncid // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// RoleManagementAlertsAlertsItemAlertIncidentsUnifiedRoleManagementAlertIncidentItemRequestBuilderGetQueryParameters read the properties and relationships of an alert incident. The alert incident can be one of the following types that are derived from the unifiedRoleManagementAlertIncident object: +// RoleManagementAlertsAlertsItemAlertIncidentsUnifiedRoleManagementAlertIncidentItemRequestBuilderGetQueryParameters represents the incidents of this type of alert that have been triggered in Privileged Identity Management (PIM) for Microsoft Entra roles in the tenant. Supports $expand. type RoleManagementAlertsAlertsItemAlertIncidentsUnifiedRoleManagementAlertIncidentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *RoleManagementAlertsAlertsItemAlertIncidentsUnifiedRoleManagementAlertI } return nil } -// Get read the properties and relationships of an alert incident. The alert incident can be one of the following types that are derived from the unifiedRoleManagementAlertIncident object: +// Get represents the incidents of this type of alert that have been triggered in Privileged Identity Management (PIM) for Microsoft Entra roles in the tenant. Supports $expand. // returns a UnifiedRoleManagementAlertIncidentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedrolemanagementalertincident-get?view=graph-rest-1.0 func (m *RoleManagementAlertsAlertsItemAlertIncidentsUnifiedRoleManagementAlertIncidentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *RoleManagementAlertsAlertsItemAlertIncidentsUnifiedRoleManagementAlertIncidentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleManagementAlertIncidentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *RoleManagementAlertsAlertsItemAlertIncidentsUnifiedRoleManagementAlertI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an alert incident. The alert incident can be one of the following types that are derived from the unifiedRoleManagementAlertIncident object: +// ToGetRequestInformation represents the incidents of this type of alert that have been triggered in Privileged Identity Management (PIM) for Microsoft Entra roles in the tenant. Supports $expand. // returns a *RequestInformation when successful func (m *RoleManagementAlertsAlertsItemAlertIncidentsUnifiedRoleManagementAlertIncidentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RoleManagementAlertsAlertsItemAlertIncidentsUnifiedRoleManagementAlertIncidentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/role_management_alerts_alerts_refresh_request_builder.go b/identitygovernance/role_management_alerts_alerts_refresh_request_builder.go index 993a1e468b1..5caa733dde7 100644 --- a/identitygovernance/role_management_alerts_alerts_refresh_request_builder.go +++ b/identitygovernance/role_management_alerts_alerts_refresh_request_builder.go @@ -34,7 +34,7 @@ func NewRoleManagementAlertsAlertsRefreshRequestBuilder(rawUrl string, requestAd // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedrolemanagementalert-refresh?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedrolemanagementalert-refresh?view=graph-rest-beta func (m *RoleManagementAlertsAlertsRefreshRequestBuilder) Post(ctx context.Context, body RoleManagementAlertsAlertsRefreshPostRequestBodyable, requestConfiguration *RoleManagementAlertsAlertsRefreshRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/identitygovernance/role_management_alerts_alerts_request_builder.go b/identitygovernance/role_management_alerts_alerts_request_builder.go index 89b2edd32cc..7b6a331431b 100644 --- a/identitygovernance/role_management_alerts_alerts_request_builder.go +++ b/identitygovernance/role_management_alerts_alerts_request_builder.go @@ -11,7 +11,7 @@ import ( type RoleManagementAlertsAlertsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// RoleManagementAlertsAlertsRequestBuilderGetQueryParameters get a list of the unifiedRoleManagementAlert objects and their properties. +// RoleManagementAlertsAlertsRequestBuilderGetQueryParameters represents the alert entity. type RoleManagementAlertsAlertsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewRoleManagementAlertsAlertsRequestBuilder(rawUrl string, requestAdapter i func (m *RoleManagementAlertsAlertsRequestBuilder) Count()(*RoleManagementAlertsAlertsCountRequestBuilder) { return NewRoleManagementAlertsAlertsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the unifiedRoleManagementAlert objects and their properties. +// Get represents the alert entity. // returns a UnifiedRoleManagementAlertCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/rolemanagementalert-list-alerts?view=graph-rest-1.0 func (m *RoleManagementAlertsAlertsRequestBuilder) Get(ctx context.Context, requestConfiguration *RoleManagementAlertsAlertsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleManagementAlertCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *RoleManagementAlertsAlertsRequestBuilder) Post(ctx context.Context, bod func (m *RoleManagementAlertsAlertsRequestBuilder) Refresh()(*RoleManagementAlertsAlertsRefreshRequestBuilder) { return NewRoleManagementAlertsAlertsRefreshRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation get a list of the unifiedRoleManagementAlert objects and their properties. +// ToGetRequestInformation represents the alert entity. // returns a *RequestInformation when successful func (m *RoleManagementAlertsAlertsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RoleManagementAlertsAlertsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/terms_of_use_agreements_agreement_item_request_builder.go b/identitygovernance/terms_of_use_agreements_agreement_item_request_builder.go index 11c60e1ec1b..a58eb49f3a7 100644 --- a/identitygovernance/terms_of_use_agreements_agreement_item_request_builder.go +++ b/identitygovernance/terms_of_use_agreements_agreement_item_request_builder.go @@ -18,7 +18,7 @@ type TermsOfUseAgreementsAgreementItemRequestBuilderDeleteRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TermsOfUseAgreementsAgreementItemRequestBuilderGetQueryParameters retrieve all files related to an agreement. This includes the default file and all localized files. +// TermsOfUseAgreementsAgreementItemRequestBuilderGetQueryParameters represents a tenant's customizable terms of use agreement that's created and managed with Microsoft Entra ID. type TermsOfUseAgreementsAgreementItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewTermsOfUseAgreementsAgreementItemRequestBuilder(rawUrl string, requestAd urlParams["request-raw-url"] = rawUrl return NewTermsOfUseAgreementsAgreementItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an agreement object. +// Delete delete navigation property agreements for identityGovernance // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/agreement-delete?view=graph-rest-1.0 func (m *TermsOfUseAgreementsAgreementItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *TermsOfUseAgreementsAgreementItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -88,12 +85,9 @@ func (m *TermsOfUseAgreementsAgreementItemRequestBuilder) File()(*TermsOfUseAgre func (m *TermsOfUseAgreementsAgreementItemRequestBuilder) Files()(*TermsOfUseAgreementsItemFilesRequestBuilder) { return NewTermsOfUseAgreementsItemFilesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve all files related to an agreement. This includes the default file and all localized files. +// Get represents a tenant's customizable terms of use agreement that's created and managed with Microsoft Entra ID. // returns a Agreementable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/agreement-list-files?view=graph-rest-1.0 func (m *TermsOfUseAgreementsAgreementItemRequestBuilder) Get(ctx context.Context, requestConfiguration *TermsOfUseAgreementsAgreementItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Agreementable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -111,12 +105,9 @@ func (m *TermsOfUseAgreementsAgreementItemRequestBuilder) Get(ctx context.Contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Agreementable), nil } -// Patch update the properties of an agreement object. +// Patch update the navigation property agreements in identityGovernance // returns a Agreementable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/agreement-update?view=graph-rest-1.0 func (m *TermsOfUseAgreementsAgreementItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Agreementable, requestConfiguration *TermsOfUseAgreementsAgreementItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Agreementable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -134,7 +125,7 @@ func (m *TermsOfUseAgreementsAgreementItemRequestBuilder) Patch(ctx context.Cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Agreementable), nil } -// ToDeleteRequestInformation delete an agreement object. +// ToDeleteRequestInformation delete navigation property agreements for identityGovernance // returns a *RequestInformation when successful func (m *TermsOfUseAgreementsAgreementItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *TermsOfUseAgreementsAgreementItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -145,7 +136,7 @@ func (m *TermsOfUseAgreementsAgreementItemRequestBuilder) ToDeleteRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve all files related to an agreement. This includes the default file and all localized files. +// ToGetRequestInformation represents a tenant's customizable terms of use agreement that's created and managed with Microsoft Entra ID. // returns a *RequestInformation when successful func (m *TermsOfUseAgreementsAgreementItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TermsOfUseAgreementsAgreementItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -159,7 +150,7 @@ func (m *TermsOfUseAgreementsAgreementItemRequestBuilder) ToGetRequestInformatio requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an agreement object. +// ToPatchRequestInformation update the navigation property agreements in identityGovernance // returns a *RequestInformation when successful func (m *TermsOfUseAgreementsAgreementItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Agreementable, requestConfiguration *TermsOfUseAgreementsAgreementItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/terms_of_use_agreements_item_acceptances_request_builder.go b/identitygovernance/terms_of_use_agreements_item_acceptances_request_builder.go index 19233dcae1f..8e8d1a83a07 100644 --- a/identitygovernance/terms_of_use_agreements_item_acceptances_request_builder.go +++ b/identitygovernance/terms_of_use_agreements_item_acceptances_request_builder.go @@ -11,7 +11,7 @@ import ( type TermsOfUseAgreementsItemAcceptancesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TermsOfUseAgreementsItemAcceptancesRequestBuilderGetQueryParameters get the details about the acceptance records for a specific agreement. +// TermsOfUseAgreementsItemAcceptancesRequestBuilderGetQueryParameters read-only. Information about acceptances of this agreement. type TermsOfUseAgreementsItemAcceptancesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewTermsOfUseAgreementsItemAcceptancesRequestBuilder(rawUrl string, request func (m *TermsOfUseAgreementsItemAcceptancesRequestBuilder) Count()(*TermsOfUseAgreementsItemAcceptancesCountRequestBuilder) { return NewTermsOfUseAgreementsItemAcceptancesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the details about the acceptance records for a specific agreement. +// Get read-only. Information about acceptances of this agreement. // returns a AgreementAcceptanceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/agreement-list-acceptances?view=graph-rest-1.0 func (m *TermsOfUseAgreementsItemAcceptancesRequestBuilder) Get(ctx context.Context, requestConfiguration *TermsOfUseAgreementsItemAcceptancesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AgreementAcceptanceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *TermsOfUseAgreementsItemAcceptancesRequestBuilder) Post(ctx context.Con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AgreementAcceptanceable), nil } -// ToGetRequestInformation get the details about the acceptance records for a specific agreement. +// ToGetRequestInformation read-only. Information about acceptances of this agreement. // returns a *RequestInformation when successful func (m *TermsOfUseAgreementsItemAcceptancesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TermsOfUseAgreementsItemAcceptancesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/terms_of_use_agreements_item_file_localizations_request_builder.go b/identitygovernance/terms_of_use_agreements_item_file_localizations_request_builder.go index fea4a034215..40b9a59ce94 100644 --- a/identitygovernance/terms_of_use_agreements_item_file_localizations_request_builder.go +++ b/identitygovernance/terms_of_use_agreements_item_file_localizations_request_builder.go @@ -11,7 +11,7 @@ import ( type TermsOfUseAgreementsItemFileLocalizationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TermsOfUseAgreementsItemFileLocalizationsRequestBuilderGetQueryParameters get a list of the default and localized agreement files. +// TermsOfUseAgreementsItemFileLocalizationsRequestBuilderGetQueryParameters the localized version of the terms of use agreement files attached to the agreement. type TermsOfUseAgreementsItemFileLocalizationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewTermsOfUseAgreementsItemFileLocalizationsRequestBuilder(rawUrl string, r func (m *TermsOfUseAgreementsItemFileLocalizationsRequestBuilder) Count()(*TermsOfUseAgreementsItemFileLocalizationsCountRequestBuilder) { return NewTermsOfUseAgreementsItemFileLocalizationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the default and localized agreement files. +// Get the localized version of the terms of use agreement files attached to the agreement. // returns a AgreementFileLocalizationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/agreementfile-list-localizations?view=graph-rest-1.0 func (m *TermsOfUseAgreementsItemFileLocalizationsRequestBuilder) Get(ctx context.Context, requestConfiguration *TermsOfUseAgreementsItemFileLocalizationsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AgreementFileLocalizationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *TermsOfUseAgreementsItemFileLocalizationsRequestBuilder) Post(ctx conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AgreementFileLocalizationable), nil } -// ToGetRequestInformation get a list of the default and localized agreement files. +// ToGetRequestInformation the localized version of the terms of use agreement files attached to the agreement. // returns a *RequestInformation when successful func (m *TermsOfUseAgreementsItemFileLocalizationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TermsOfUseAgreementsItemFileLocalizationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/terms_of_use_agreements_item_file_request_builder.go b/identitygovernance/terms_of_use_agreements_item_file_request_builder.go index 2d0152da3ff..65df9c2dc7b 100644 --- a/identitygovernance/terms_of_use_agreements_item_file_request_builder.go +++ b/identitygovernance/terms_of_use_agreements_item_file_request_builder.go @@ -18,7 +18,7 @@ type TermsOfUseAgreementsItemFileRequestBuilderDeleteRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TermsOfUseAgreementsItemFileRequestBuilderGetQueryParameters retrieve the details of an agreement file, including the language and version information. The default file can have multiple versions, each with its own language, that can be retrieved by specifying the Accept-Language header. +// TermsOfUseAgreementsItemFileRequestBuilderGetQueryParameters default PDF linked to this agreement. type TermsOfUseAgreementsItemFileRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *TermsOfUseAgreementsItemFileRequestBuilder) Delete(ctx context.Context, } return nil } -// Get retrieve the details of an agreement file, including the language and version information. The default file can have multiple versions, each with its own language, that can be retrieved by specifying the Accept-Language header. +// Get default PDF linked to this agreement. // returns a AgreementFileable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/agreementfile-get?view=graph-rest-1.0 func (m *TermsOfUseAgreementsItemFileRequestBuilder) Get(ctx context.Context, requestConfiguration *TermsOfUseAgreementsItemFileRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AgreementFileable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *TermsOfUseAgreementsItemFileRequestBuilder) ToDeleteRequestInformation( requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the details of an agreement file, including the language and version information. The default file can have multiple versions, each with its own language, that can be retrieved by specifying the Accept-Language header. +// ToGetRequestInformation default PDF linked to this agreement. // returns a *RequestInformation when successful func (m *TermsOfUseAgreementsItemFileRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TermsOfUseAgreementsItemFileRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/terms_of_use_agreements_item_files_request_builder.go b/identitygovernance/terms_of_use_agreements_item_files_request_builder.go index 5de94a7aa77..589f2a2df18 100644 --- a/identitygovernance/terms_of_use_agreements_item_files_request_builder.go +++ b/identitygovernance/terms_of_use_agreements_item_files_request_builder.go @@ -96,12 +96,9 @@ func (m *TermsOfUseAgreementsItemFilesRequestBuilder) Get(ctx context.Context, r } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AgreementFileLocalizationCollectionResponseable), nil } -// Post create a new localized agreement file. +// Post create new navigation property to files for identityGovernance // returns a AgreementFileLocalizationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/agreement-post-files?view=graph-rest-1.0 func (m *TermsOfUseAgreementsItemFilesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AgreementFileLocalizationable, requestConfiguration *TermsOfUseAgreementsItemFilesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AgreementFileLocalizationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -133,7 +130,7 @@ func (m *TermsOfUseAgreementsItemFilesRequestBuilder) ToGetRequestInformation(ct requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new localized agreement file. +// ToPostRequestInformation create new navigation property to files for identityGovernance // returns a *RequestInformation when successful func (m *TermsOfUseAgreementsItemFilesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AgreementFileLocalizationable, requestConfiguration *TermsOfUseAgreementsItemFilesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/terms_of_use_agreements_request_builder.go b/identitygovernance/terms_of_use_agreements_request_builder.go index 5b9dc1f871c..7e74a0cefaa 100644 --- a/identitygovernance/terms_of_use_agreements_request_builder.go +++ b/identitygovernance/terms_of_use_agreements_request_builder.go @@ -11,7 +11,7 @@ import ( type TermsOfUseAgreementsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TermsOfUseAgreementsRequestBuilderGetQueryParameters retrieve a list of agreement objects. +// TermsOfUseAgreementsRequestBuilderGetQueryParameters represents a tenant's customizable terms of use agreement that's created and managed with Microsoft Entra ID. type TermsOfUseAgreementsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewTermsOfUseAgreementsRequestBuilder(rawUrl string, requestAdapter i2ae418 func (m *TermsOfUseAgreementsRequestBuilder) Count()(*TermsOfUseAgreementsCountRequestBuilder) { return NewTermsOfUseAgreementsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of agreement objects. +// Get represents a tenant's customizable terms of use agreement that's created and managed with Microsoft Entra ID. // returns a AgreementCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termsofusecontainer-list-agreements?view=graph-rest-1.0 func (m *TermsOfUseAgreementsRequestBuilder) Get(ctx context.Context, requestConfiguration *TermsOfUseAgreementsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AgreementCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *TermsOfUseAgreementsRequestBuilder) Get(ctx context.Context, requestCon } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AgreementCollectionResponseable), nil } -// Post create a new agreement object. +// Post create new navigation property to agreements for identityGovernance // returns a Agreementable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termsofusecontainer-post-agreements?view=graph-rest-1.0 func (m *TermsOfUseAgreementsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Agreementable, requestConfiguration *TermsOfUseAgreementsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Agreementable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *TermsOfUseAgreementsRequestBuilder) Post(ctx context.Context, body ie23 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Agreementable), nil } -// ToGetRequestInformation retrieve a list of agreement objects. +// ToGetRequestInformation represents a tenant's customizable terms of use agreement that's created and managed with Microsoft Entra ID. // returns a *RequestInformation when successful func (m *TermsOfUseAgreementsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TermsOfUseAgreementsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *TermsOfUseAgreementsRequestBuilder) ToGetRequestInformation(ctx context requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new agreement object. +// ToPostRequestInformation create new navigation property to agreements for identityGovernance // returns a *RequestInformation when successful func (m *TermsOfUseAgreementsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Agreementable, requestConfiguration *TermsOfUseAgreementsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identityprotection/risk_detections_request_builder.go b/identityprotection/risk_detections_request_builder.go index d29c6d1459e..2cbceb821f2 100644 --- a/identityprotection/risk_detections_request_builder.go +++ b/identityprotection/risk_detections_request_builder.go @@ -11,7 +11,7 @@ import ( type RiskDetectionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// RiskDetectionsRequestBuilderGetQueryParameters retrieve the properties of a collection of riskDetection objects. +// RiskDetectionsRequestBuilderGetQueryParameters risk detection in Microsoft Entra ID Protection and the associated information about the detection. type RiskDetectionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewRiskDetectionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7dae func (m *RiskDetectionsRequestBuilder) Count()(*RiskDetectionsCountRequestBuilder) { return NewRiskDetectionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties of a collection of riskDetection objects. +// Get risk detection in Microsoft Entra ID Protection and the associated information about the detection. // 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-list?view=graph-rest-1.0 func (m *RiskDetectionsRequestBuilder) Get(ctx context.Context, requestConfiguration *RiskDetectionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RiskDetectionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *RiskDetectionsRequestBuilder) Post(ctx context.Context, body ie233ee762 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RiskDetectionable), nil } -// ToGetRequestInformation retrieve the properties of a collection of riskDetection objects. +// ToGetRequestInformation risk detection in Microsoft Entra ID Protection and the associated information about the detection. // 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/identityprotection/risk_detections_risk_detection_item_request_builder.go b/identityprotection/risk_detections_risk_detection_item_request_builder.go index 4d8884c9990..81c6f9feef3 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 risk detection in Microsoft Entra ID Protection and the associated information about the detection. type RiskDetectionsRiskDetectionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *RiskDetectionsRiskDetectionItemRequestBuilder) Delete(ctx context.Conte } return nil } -// Get retrieve the properties of a riskDetection object. +// Get risk detection in Microsoft Entra ID Protection and the associated information about the detection. // 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-1.0 func (m *RiskDetectionsRiskDetectionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *RiskDetectionsRiskDetectionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RiskDetectionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *RiskDetectionsRiskDetectionItemRequestBuilder) ToDeleteRequestInformati requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties of a riskDetection object. +// ToGetRequestInformation risk detection in Microsoft Entra ID Protection and the associated information about the detection. // 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_service_principals_confirm_compromised_request_builder.go b/identityprotection/risky_service_principals_confirm_compromised_request_builder.go index 3fe95e84cec..e673ad268d9 100644 --- a/identityprotection/risky_service_principals_confirm_compromised_request_builder.go +++ b/identityprotection/risky_service_principals_confirm_compromised_request_builder.go @@ -34,7 +34,7 @@ func NewRiskyServicePrincipalsConfirmCompromisedRequestBuilder(rawUrl string, re // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/riskyserviceprincipal-confirmcompromised?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/riskyserviceprincipal-confirmcompromised?view=graph-rest-beta func (m *RiskyServicePrincipalsConfirmCompromisedRequestBuilder) Post(ctx context.Context, body RiskyServicePrincipalsConfirmCompromisedPostRequestBodyable, requestConfiguration *RiskyServicePrincipalsConfirmCompromisedRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/identityprotection/risky_service_principals_dismiss_request_builder.go b/identityprotection/risky_service_principals_dismiss_request_builder.go index 906e50770f2..010821df55b 100644 --- a/identityprotection/risky_service_principals_dismiss_request_builder.go +++ b/identityprotection/risky_service_principals_dismiss_request_builder.go @@ -34,7 +34,7 @@ func NewRiskyServicePrincipalsDismissRequestBuilder(rawUrl string, requestAdapte // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/riskyserviceprincipal-dismiss?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/riskyserviceprincipal-dismiss?view=graph-rest-beta func (m *RiskyServicePrincipalsDismissRequestBuilder) Post(ctx context.Context, body RiskyServicePrincipalsDismissPostRequestBodyable, requestConfiguration *RiskyServicePrincipalsDismissRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/identityprotection/risky_service_principals_item_history_request_builder.go b/identityprotection/risky_service_principals_item_history_request_builder.go index 9f333732b05..2a149f7d9ff 100644 --- a/identityprotection/risky_service_principals_item_history_request_builder.go +++ b/identityprotection/risky_service_principals_item_history_request_builder.go @@ -11,7 +11,7 @@ import ( type RiskyServicePrincipalsItemHistoryRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// RiskyServicePrincipalsItemHistoryRequestBuilderGetQueryParameters get the risk history of a riskyServicePrincipal object. +// RiskyServicePrincipalsItemHistoryRequestBuilderGetQueryParameters represents the risk history of Microsoft Entra service principals. type RiskyServicePrincipalsItemHistoryRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewRiskyServicePrincipalsItemHistoryRequestBuilder(rawUrl string, requestAd func (m *RiskyServicePrincipalsItemHistoryRequestBuilder) Count()(*RiskyServicePrincipalsItemHistoryCountRequestBuilder) { return NewRiskyServicePrincipalsItemHistoryCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the risk history of a riskyServicePrincipal object. +// Get represents the risk history of Microsoft Entra service principals. // returns a RiskyServicePrincipalHistoryItemCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/riskyserviceprincipal-list-history?view=graph-rest-1.0 func (m *RiskyServicePrincipalsItemHistoryRequestBuilder) Get(ctx context.Context, requestConfiguration *RiskyServicePrincipalsItemHistoryRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RiskyServicePrincipalHistoryItemCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *RiskyServicePrincipalsItemHistoryRequestBuilder) Post(ctx context.Conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RiskyServicePrincipalHistoryItemable), nil } -// ToGetRequestInformation get the risk history of a riskyServicePrincipal object. +// ToGetRequestInformation represents the risk history of Microsoft Entra service principals. // returns a *RequestInformation when successful func (m *RiskyServicePrincipalsItemHistoryRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RiskyServicePrincipalsItemHistoryRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identityprotection/risky_service_principals_request_builder.go b/identityprotection/risky_service_principals_request_builder.go index bda562d1970..8196631f17c 100644 --- a/identityprotection/risky_service_principals_request_builder.go +++ b/identityprotection/risky_service_principals_request_builder.go @@ -11,7 +11,7 @@ import ( type RiskyServicePrincipalsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// RiskyServicePrincipalsRequestBuilderGetQueryParameters retrieve the properties and relationships of riskyServicePrincipal objects. +// RiskyServicePrincipalsRequestBuilderGetQueryParameters microsoft Entra service principals that are at risk. type RiskyServicePrincipalsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -86,12 +86,9 @@ func (m *RiskyServicePrincipalsRequestBuilder) Count()(*RiskyServicePrincipalsCo func (m *RiskyServicePrincipalsRequestBuilder) Dismiss()(*RiskyServicePrincipalsDismissRequestBuilder) { return NewRiskyServicePrincipalsDismissRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties and relationships of riskyServicePrincipal objects. +// Get microsoft Entra service principals that are at risk. // returns a RiskyServicePrincipalCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identityprotectionroot-list-riskyserviceprincipals?view=graph-rest-1.0 func (m *RiskyServicePrincipalsRequestBuilder) Get(ctx context.Context, requestConfiguration *RiskyServicePrincipalsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RiskyServicePrincipalCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *RiskyServicePrincipalsRequestBuilder) Post(ctx context.Context, body ie } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RiskyServicePrincipalable), nil } -// ToGetRequestInformation retrieve the properties and relationships of riskyServicePrincipal objects. +// ToGetRequestInformation microsoft Entra service principals that are at risk. // returns a *RequestInformation when successful func (m *RiskyServicePrincipalsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RiskyServicePrincipalsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identityprotection/risky_service_principals_risky_service_principal_item_request_builder.go b/identityprotection/risky_service_principals_risky_service_principal_item_request_builder.go index d06c06e3318..5bbe2a2b60a 100644 --- a/identityprotection/risky_service_principals_risky_service_principal_item_request_builder.go +++ b/identityprotection/risky_service_principals_risky_service_principal_item_request_builder.go @@ -18,7 +18,7 @@ type RiskyServicePrincipalsRiskyServicePrincipalItemRequestBuilderDeleteRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// RiskyServicePrincipalsRiskyServicePrincipalItemRequestBuilderGetQueryParameters read the properties and relationships of a riskyServicePrincipal object. +// RiskyServicePrincipalsRiskyServicePrincipalItemRequestBuilderGetQueryParameters microsoft Entra service principals that are at risk. type RiskyServicePrincipalsRiskyServicePrincipalItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *RiskyServicePrincipalsRiskyServicePrincipalItemRequestBuilder) Delete(c } return nil } -// Get read the properties and relationships of a riskyServicePrincipal object. +// Get microsoft Entra service principals that are at risk. // returns a RiskyServicePrincipalable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/riskyserviceprincipal-get?view=graph-rest-1.0 func (m *RiskyServicePrincipalsRiskyServicePrincipalItemRequestBuilder) Get(ctx context.Context, requestConfiguration *RiskyServicePrincipalsRiskyServicePrincipalItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RiskyServicePrincipalable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *RiskyServicePrincipalsRiskyServicePrincipalItemRequestBuilder) ToDelete requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a riskyServicePrincipal object. +// ToGetRequestInformation microsoft Entra service principals that are at risk. // returns a *RequestInformation when successful func (m *RiskyServicePrincipalsRiskyServicePrincipalItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RiskyServicePrincipalsRiskyServicePrincipalItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identityprotection/risky_users_confirm_compromised_request_builder.go b/identityprotection/risky_users_confirm_compromised_request_builder.go index 5d841ed28ed..8dcee8685b2 100644 --- a/identityprotection/risky_users_confirm_compromised_request_builder.go +++ b/identityprotection/risky_users_confirm_compromised_request_builder.go @@ -34,7 +34,7 @@ func NewRiskyUsersConfirmCompromisedRequestBuilder(rawUrl string, requestAdapter // returns a ODataError error 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-confirmcompromised?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/riskyusers-confirmcompromised?view=graph-rest-beta func (m *RiskyUsersConfirmCompromisedRequestBuilder) Post(ctx context.Context, body RiskyUsersConfirmCompromisedPostRequestBodyable, requestConfiguration *RiskyUsersConfirmCompromisedRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/identityprotection/risky_users_dismiss_request_builder.go b/identityprotection/risky_users_dismiss_request_builder.go index e875ec3bbf6..1137d7b2ae7 100644 --- a/identityprotection/risky_users_dismiss_request_builder.go +++ b/identityprotection/risky_users_dismiss_request_builder.go @@ -34,7 +34,7 @@ func NewRiskyUsersDismissRequestBuilder(rawUrl string, requestAdapter i2ae4187f7 // returns a ODataError error 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-dismiss?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/riskyusers-dismiss?view=graph-rest-beta func (m *RiskyUsersDismissRequestBuilder) Post(ctx context.Context, body RiskyUsersDismissPostRequestBodyable, requestConfiguration *RiskyUsersDismissRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/identityprotection/risky_users_item_history_request_builder.go b/identityprotection/risky_users_item_history_request_builder.go index f6087557fe9..247c90a0206 100644 --- a/identityprotection/risky_users_item_history_request_builder.go +++ b/identityprotection/risky_users_item_history_request_builder.go @@ -11,7 +11,7 @@ import ( type RiskyUsersItemHistoryRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// RiskyUsersItemHistoryRequestBuilderGetQueryParameters get the risk history of a riskyUser resource. +// RiskyUsersItemHistoryRequestBuilderGetQueryParameters get history from identityProtection type RiskyUsersItemHistoryRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewRiskyUsersItemHistoryRequestBuilder(rawUrl string, requestAdapter i2ae41 func (m *RiskyUsersItemHistoryRequestBuilder) Count()(*RiskyUsersItemHistoryCountRequestBuilder) { return NewRiskyUsersItemHistoryCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the risk history of a riskyUser resource. +// Get get history from identityProtection // returns a RiskyUserHistoryItemCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/riskyuser-list-history?view=graph-rest-1.0 func (m *RiskyUsersItemHistoryRequestBuilder) Get(ctx context.Context, requestConfiguration *RiskyUsersItemHistoryRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RiskyUserHistoryItemCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *RiskyUsersItemHistoryRequestBuilder) Post(ctx context.Context, body ie2 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RiskyUserHistoryItemable), nil } -// ToGetRequestInformation get the risk history of a riskyUser resource. +// ToGetRequestInformation get history from identityProtection // returns a *RequestInformation when successful func (m *RiskyUsersItemHistoryRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RiskyUsersItemHistoryRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identityprotection/risky_users_item_history_risky_user_history_item_item_request_builder.go b/identityprotection/risky_users_item_history_risky_user_history_item_item_request_builder.go index f8c493a8e24..2ef12e50678 100644 --- a/identityprotection/risky_users_item_history_risky_user_history_item_item_request_builder.go +++ b/identityprotection/risky_users_item_history_risky_user_history_item_item_request_builder.go @@ -18,7 +18,7 @@ type RiskyUsersItemHistoryRiskyUserHistoryItemItemRequestBuilderDeleteRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// RiskyUsersItemHistoryRiskyUserHistoryItemItemRequestBuilderGetQueryParameters get a riskyUserHistoryItem object of a riskyUser. +// RiskyUsersItemHistoryRiskyUserHistoryItemItemRequestBuilderGetQueryParameters get history from identityProtection type RiskyUsersItemHistoryRiskyUserHistoryItemItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *RiskyUsersItemHistoryRiskyUserHistoryItemItemRequestBuilder) Delete(ctx } return nil } -// Get get a riskyUserHistoryItem object of a riskyUser. +// Get get history from identityProtection // returns a RiskyUserHistoryItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/riskyuserhistoryitem-get?view=graph-rest-1.0 func (m *RiskyUsersItemHistoryRiskyUserHistoryItemItemRequestBuilder) Get(ctx context.Context, requestConfiguration *RiskyUsersItemHistoryRiskyUserHistoryItemItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RiskyUserHistoryItemable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *RiskyUsersItemHistoryRiskyUserHistoryItemItemRequestBuilder) ToDeleteRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a riskyUserHistoryItem object of a riskyUser. +// ToGetRequestInformation get history from identityProtection // returns a *RequestInformation when successful func (m *RiskyUsersItemHistoryRiskyUserHistoryItemItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RiskyUsersItemHistoryRiskyUserHistoryItemItemRequestBuilderGetRequestConfiguration)(*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 23f50f722a0..ef065c983be 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 users that are flagged as at-risk by Microsoft Entra ID Protection. type RiskyUsersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -86,12 +86,9 @@ 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 users that are flagged as at-risk by Microsoft Entra ID Protection. // 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-1.0 func (m *RiskyUsersRequestBuilder) Get(ctx context.Context, requestConfiguration *RiskyUsersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RiskyUserCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,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 users that are flagged as at-risk by Microsoft Entra ID Protection. // 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/identityprotection/service_principal_risk_detections_request_builder.go b/identityprotection/service_principal_risk_detections_request_builder.go index be01b7721fa..29b7d8c72c6 100644 --- a/identityprotection/service_principal_risk_detections_request_builder.go +++ b/identityprotection/service_principal_risk_detections_request_builder.go @@ -11,7 +11,7 @@ import ( type ServicePrincipalRiskDetectionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ServicePrincipalRiskDetectionsRequestBuilderGetQueryParameters retrieve the properties of a collection of servicePrincipalRiskDetection objects. +// ServicePrincipalRiskDetectionsRequestBuilderGetQueryParameters represents information about detected at-risk service principals in a Microsoft Entra tenant. type ServicePrincipalRiskDetectionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewServicePrincipalRiskDetectionsRequestBuilder(rawUrl string, requestAdapt func (m *ServicePrincipalRiskDetectionsRequestBuilder) Count()(*ServicePrincipalRiskDetectionsCountRequestBuilder) { return NewServicePrincipalRiskDetectionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties of a collection of servicePrincipalRiskDetection objects. +// Get represents information about detected at-risk service principals in a Microsoft Entra tenant. // returns a ServicePrincipalRiskDetectionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identityprotectionroot-list-serviceprincipalriskdetections?view=graph-rest-1.0 func (m *ServicePrincipalRiskDetectionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ServicePrincipalRiskDetectionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServicePrincipalRiskDetectionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ServicePrincipalRiskDetectionsRequestBuilder) Post(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServicePrincipalRiskDetectionable), nil } -// ToGetRequestInformation retrieve the properties of a collection of servicePrincipalRiskDetection objects. +// ToGetRequestInformation represents information about detected at-risk service principals in a Microsoft Entra tenant. // returns a *RequestInformation when successful func (m *ServicePrincipalRiskDetectionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ServicePrincipalRiskDetectionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identityprotection/service_principal_risk_detections_service_principal_risk_detection_item_request_builder.go b/identityprotection/service_principal_risk_detections_service_principal_risk_detection_item_request_builder.go index 15c3276bb91..b7215809a81 100644 --- a/identityprotection/service_principal_risk_detections_service_principal_risk_detection_item_request_builder.go +++ b/identityprotection/service_principal_risk_detections_service_principal_risk_detection_item_request_builder.go @@ -18,7 +18,7 @@ type ServicePrincipalRiskDetectionsServicePrincipalRiskDetectionItemRequestBuild // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ServicePrincipalRiskDetectionsServicePrincipalRiskDetectionItemRequestBuilderGetQueryParameters read the properties and relationships of a servicePrincipalRiskDetection object. +// ServicePrincipalRiskDetectionsServicePrincipalRiskDetectionItemRequestBuilderGetQueryParameters represents information about detected at-risk service principals in a Microsoft Entra tenant. type ServicePrincipalRiskDetectionsServicePrincipalRiskDetectionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ServicePrincipalRiskDetectionsServicePrincipalRiskDetectionItemRequestB } return nil } -// Get read the properties and relationships of a servicePrincipalRiskDetection object. +// Get represents information about detected at-risk service principals in a Microsoft Entra tenant. // returns a ServicePrincipalRiskDetectionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipalriskdetection-get?view=graph-rest-1.0 func (m *ServicePrincipalRiskDetectionsServicePrincipalRiskDetectionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ServicePrincipalRiskDetectionsServicePrincipalRiskDetectionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServicePrincipalRiskDetectionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ServicePrincipalRiskDetectionsServicePrincipalRiskDetectionItemRequestB requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a servicePrincipalRiskDetection object. +// ToGetRequestInformation represents information about detected at-risk service principals in a Microsoft Entra tenant. // returns a *RequestInformation when successful func (m *ServicePrincipalRiskDetectionsServicePrincipalRiskDetectionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ServicePrincipalRiskDetectionsServicePrincipalRiskDetectionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identityproviders/available_provider_types_request_builder.go b/identityproviders/available_provider_types_request_builder.go index 40832642570..ee4231aa3d5 100644 --- a/identityproviders/available_provider_types_request_builder.go +++ b/identityproviders/available_provider_types_request_builder.go @@ -10,7 +10,7 @@ import ( type AvailableProviderTypesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AvailableProviderTypesRequestBuilderGetQueryParameters invoke function availableProviderTypes +// AvailableProviderTypesRequestBuilderGetQueryParameters retrieves all identity provider types available in a directory. type AvailableProviderTypesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -45,10 +45,13 @@ func NewAvailableProviderTypesRequestBuilder(rawUrl string, requestAdapter i2ae4 urlParams["request-raw-url"] = rawUrl return NewAvailableProviderTypesRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function availableProviderTypes +// Get retrieves all identity provider types available in a directory. // Deprecated: This method is obsolete. Use GetAsAvailableProviderTypesGetResponse instead. // returns a AvailableProviderTypesResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/identityprovider-list-availableprovidertypes?view=graph-rest-beta func (m *AvailableProviderTypesRequestBuilder) Get(ctx context.Context, requestConfiguration *AvailableProviderTypesRequestBuilderGetRequestConfiguration)(AvailableProviderTypesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,10 +69,13 @@ func (m *AvailableProviderTypesRequestBuilder) Get(ctx context.Context, requestC } return res.(AvailableProviderTypesResponseable), nil } -// GetAsAvailableProviderTypesGetResponse invoke function availableProviderTypes +// GetAsAvailableProviderTypesGetResponse retrieves all identity provider types available in a directory. // Deprecated: The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider // returns a AvailableProviderTypesGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/identityprovider-list-availableprovidertypes?view=graph-rest-beta func (m *AvailableProviderTypesRequestBuilder) GetAsAvailableProviderTypesGetResponse(ctx context.Context, requestConfiguration *AvailableProviderTypesRequestBuilderGetRequestConfiguration)(AvailableProviderTypesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -87,7 +93,7 @@ func (m *AvailableProviderTypesRequestBuilder) GetAsAvailableProviderTypesGetRes } return res.(AvailableProviderTypesGetResponseable), nil } -// ToGetRequestInformation invoke function availableProviderTypes +// ToGetRequestInformation retrieves all identity provider types available in a directory. // Deprecated: The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API. as of 2021-05/identityProvider // returns a *RequestInformation when successful func (m *AvailableProviderTypesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AvailableProviderTypesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/identityproviders/identity_provider_item_request_builder.go b/identityproviders/identity_provider_item_request_builder.go index b4b1667a0f0..2529b92afcd 100644 --- a/identityproviders/identity_provider_item_request_builder.go +++ b/identityproviders/identity_provider_item_request_builder.go @@ -59,7 +59,7 @@ func NewIdentityProviderItemRequestBuilder(rawUrl string, requestAdapter i2ae418 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/identityprovider-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/identityprovider-delete?view=graph-rest-beta func (m *IdentityProviderItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *IdentityProviderItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -80,7 +80,7 @@ func (m *IdentityProviderItemRequestBuilder) Delete(ctx context.Context, request // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/identityprovider-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/identityprovider-get?view=graph-rest-beta func (m *IdentityProviderItemRequestBuilder) Get(ctx context.Context, requestConfiguration *IdentityProviderItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityProviderable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,7 +104,7 @@ func (m *IdentityProviderItemRequestBuilder) Get(ctx context.Context, requestCon // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/identityprovider-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/identityprovider-update?view=graph-rest-beta func (m *IdentityProviderItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityProviderable, requestConfiguration *IdentityProviderItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityProviderable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/identityproviders/identity_providers_request_builder.go b/identityproviders/identity_providers_request_builder.go index 27db95bd4d2..e2d9ca4025c 100644 --- a/identityproviders/identity_providers_request_builder.go +++ b/identityproviders/identity_providers_request_builder.go @@ -88,7 +88,7 @@ func (m *IdentityProvidersRequestBuilder) Count()(*CountRequestBuilder) { // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/identityprovider-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/identityprovider-list?view=graph-rest-beta func (m *IdentityProvidersRequestBuilder) Get(ctx context.Context, requestConfiguration *IdentityProvidersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityProviderCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -112,7 +112,7 @@ func (m *IdentityProvidersRequestBuilder) Get(ctx context.Context, requestConfig // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/identityprovider-post-identityproviders?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/identityprovider-post-identityproviders?view=graph-rest-beta func (m *IdentityProvidersRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityProviderable, requestConfiguration *IdentityProvidersRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityProviderable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/informationprotection/bitlocker_recovery_keys_bitlocker_recovery_key_item_request_builder.go b/informationprotection/bitlocker_recovery_keys_bitlocker_recovery_key_item_request_builder.go index be75c214f63..efd1e7799f2 100644 --- a/informationprotection/bitlocker_recovery_keys_bitlocker_recovery_key_item_request_builder.go +++ b/informationprotection/bitlocker_recovery_keys_bitlocker_recovery_key_item_request_builder.go @@ -11,7 +11,7 @@ import ( type BitlockerRecoveryKeysBitlockerRecoveryKeyItemRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// BitlockerRecoveryKeysBitlockerRecoveryKeyItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a bitlockerRecoveryKey object. By default, this operation does not return the key property that represents the actual recovery key. To include the key property in the response, use the $select OData query parameter. Including the $select query parameter triggers a Microsoft Entra audit of the operation and generates an audit log. You can find the log in Microsoft Entra audit logs under the KeyManagement category. +// BitlockerRecoveryKeysBitlockerRecoveryKeyItemRequestBuilderGetQueryParameters the recovery keys associated with the bitlocker entity. type BitlockerRecoveryKeysBitlockerRecoveryKeyItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -40,12 +40,9 @@ func NewBitlockerRecoveryKeysBitlockerRecoveryKeyItemRequestBuilder(rawUrl strin urlParams["request-raw-url"] = rawUrl return NewBitlockerRecoveryKeysBitlockerRecoveryKeyItemRequestBuilderInternal(urlParams, requestAdapter) } -// Get retrieve the properties and relationships of a bitlockerRecoveryKey object. By default, this operation does not return the key property that represents the actual recovery key. To include the key property in the response, use the $select OData query parameter. Including the $select query parameter triggers a Microsoft Entra audit of the operation and generates an audit log. You can find the log in Microsoft Entra audit logs under the KeyManagement category. +// Get the recovery keys associated with the bitlocker entity. // returns a BitlockerRecoveryKeyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/bitlockerrecoverykey-get?view=graph-rest-1.0 func (m *BitlockerRecoveryKeysBitlockerRecoveryKeyItemRequestBuilder) Get(ctx context.Context, requestConfiguration *BitlockerRecoveryKeysBitlockerRecoveryKeyItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BitlockerRecoveryKeyable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -63,7 +60,7 @@ func (m *BitlockerRecoveryKeysBitlockerRecoveryKeyItemRequestBuilder) Get(ctx co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BitlockerRecoveryKeyable), nil } -// ToGetRequestInformation retrieve the properties and relationships of a bitlockerRecoveryKey object. By default, this operation does not return the key property that represents the actual recovery key. To include the key property in the response, use the $select OData query parameter. Including the $select query parameter triggers a Microsoft Entra audit of the operation and generates an audit log. You can find the log in Microsoft Entra audit logs under the KeyManagement category. +// ToGetRequestInformation the recovery keys associated with the bitlocker entity. // returns a *RequestInformation when successful func (m *BitlockerRecoveryKeysBitlockerRecoveryKeyItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BitlockerRecoveryKeysBitlockerRecoveryKeyItemRequestBuilderGetRequestConfiguration)(*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 119b772f715..2562ea5e169 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 the recovery keys associated with the bitlocker entity. type BitlockerRecoveryKeysRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ 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 the recovery keys associated with the bitlocker entity. // returns a BitlockerRecoveryKeyCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/bitlocker-list-recoverykeys?view=graph-rest-1.0 func (m *BitlockerRecoveryKeysRequestBuilder) Get(ctx context.Context, requestConfiguration *BitlockerRecoveryKeysRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BitlockerRecoveryKeyCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,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 the recovery keys associated with the bitlocker entity. // 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/informationprotection/policy_labels_evaluate_application_request_builder.go b/informationprotection/policy_labels_evaluate_application_request_builder.go index 741093e69ea..05b9df07157 100644 --- a/informationprotection/policy_labels_evaluate_application_request_builder.go +++ b/informationprotection/policy_labels_evaluate_application_request_builder.go @@ -36,7 +36,7 @@ func NewPolicyLabelsEvaluateApplicationRequestBuilder(rawUrl string, requestAdap // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionlabel-evaluateapplication?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionlabel-evaluateapplication?view=graph-rest-beta func (m *PolicyLabelsEvaluateApplicationRequestBuilder) Post(ctx context.Context, body PolicyLabelsEvaluateApplicationPostRequestBodyable, requestConfiguration *PolicyLabelsEvaluateApplicationRequestBuilderPostRequestConfiguration)(PolicyLabelsEvaluateApplicationResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -60,7 +60,7 @@ func (m *PolicyLabelsEvaluateApplicationRequestBuilder) Post(ctx context.Context // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionlabel-evaluateapplication?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionlabel-evaluateapplication?view=graph-rest-beta func (m *PolicyLabelsEvaluateApplicationRequestBuilder) PostAsEvaluateApplicationPostResponse(ctx context.Context, body PolicyLabelsEvaluateApplicationPostRequestBodyable, requestConfiguration *PolicyLabelsEvaluateApplicationRequestBuilderPostRequestConfiguration)(PolicyLabelsEvaluateApplicationPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/informationprotection/policy_labels_evaluate_classification_results_request_builder.go b/informationprotection/policy_labels_evaluate_classification_results_request_builder.go index 0e4277f1798..677ba0b933e 100644 --- a/informationprotection/policy_labels_evaluate_classification_results_request_builder.go +++ b/informationprotection/policy_labels_evaluate_classification_results_request_builder.go @@ -36,7 +36,7 @@ func NewPolicyLabelsEvaluateClassificationResultsRequestBuilder(rawUrl string, r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionlabel-evaluateclassificationresults?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionlabel-evaluateclassificationresults?view=graph-rest-beta func (m *PolicyLabelsEvaluateClassificationResultsRequestBuilder) Post(ctx context.Context, body PolicyLabelsEvaluateClassificationResultsPostRequestBodyable, requestConfiguration *PolicyLabelsEvaluateClassificationResultsRequestBuilderPostRequestConfiguration)(PolicyLabelsEvaluateClassificationResultsResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -60,7 +60,7 @@ func (m *PolicyLabelsEvaluateClassificationResultsRequestBuilder) Post(ctx conte // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionlabel-evaluateclassificationresults?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionlabel-evaluateclassificationresults?view=graph-rest-beta func (m *PolicyLabelsEvaluateClassificationResultsRequestBuilder) PostAsEvaluateClassificationResultsPostResponse(ctx context.Context, body PolicyLabelsEvaluateClassificationResultsPostRequestBodyable, requestConfiguration *PolicyLabelsEvaluateClassificationResultsRequestBuilderPostRequestConfiguration)(PolicyLabelsEvaluateClassificationResultsPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/informationprotection/policy_labels_evaluate_removal_request_builder.go b/informationprotection/policy_labels_evaluate_removal_request_builder.go index d5176db8249..bd2661b3d38 100644 --- a/informationprotection/policy_labels_evaluate_removal_request_builder.go +++ b/informationprotection/policy_labels_evaluate_removal_request_builder.go @@ -36,7 +36,7 @@ func NewPolicyLabelsEvaluateRemovalRequestBuilder(rawUrl string, requestAdapter // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionlabel-evaluateremoval?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionlabel-evaluateremoval?view=graph-rest-beta func (m *PolicyLabelsEvaluateRemovalRequestBuilder) Post(ctx context.Context, body PolicyLabelsEvaluateRemovalPostRequestBodyable, requestConfiguration *PolicyLabelsEvaluateRemovalRequestBuilderPostRequestConfiguration)(PolicyLabelsEvaluateRemovalResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -60,7 +60,7 @@ func (m *PolicyLabelsEvaluateRemovalRequestBuilder) Post(ctx context.Context, bo // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionlabel-evaluateremoval?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionlabel-evaluateremoval?view=graph-rest-beta func (m *PolicyLabelsEvaluateRemovalRequestBuilder) PostAsEvaluateRemovalPostResponse(ctx context.Context, body PolicyLabelsEvaluateRemovalPostRequestBodyable, requestConfiguration *PolicyLabelsEvaluateRemovalRequestBuilderPostRequestConfiguration)(PolicyLabelsEvaluateRemovalPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/informationprotection/policy_labels_extract_label_request_builder.go b/informationprotection/policy_labels_extract_label_request_builder.go index 10f60394f86..d667e5d0cde 100644 --- a/informationprotection/policy_labels_extract_label_request_builder.go +++ b/informationprotection/policy_labels_extract_label_request_builder.go @@ -37,7 +37,7 @@ func NewPolicyLabelsExtractLabelRequestBuilder(rawUrl string, requestAdapter i2a // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionlabel-extractlabel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionlabel-extractlabel?view=graph-rest-beta func (m *PolicyLabelsExtractLabelRequestBuilder) Post(ctx context.Context, body PolicyLabelsExtractLabelPostRequestBodyable, requestConfiguration *PolicyLabelsExtractLabelRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InformationProtectionContentLabelable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/informationprotection/policy_labels_information_protection_label_item_request_builder.go b/informationprotection/policy_labels_information_protection_label_item_request_builder.go index e49a6bed1dd..f12655a0823 100644 --- a/informationprotection/policy_labels_information_protection_label_item_request_builder.go +++ b/informationprotection/policy_labels_information_protection_label_item_request_builder.go @@ -18,7 +18,7 @@ type PolicyLabelsInformationProtectionLabelItemRequestBuilderDeleteRequestConfig // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// PolicyLabelsInformationProtectionLabelItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an informationProtectionLabel object. +// PolicyLabelsInformationProtectionLabelItemRequestBuilderGetQueryParameters get labels from informationProtection type PolicyLabelsInformationProtectionLabelItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -71,13 +71,10 @@ func (m *PolicyLabelsInformationProtectionLabelItemRequestBuilder) Delete(ctx co } return nil } -// Get retrieve the properties and relationships of an informationProtectionLabel object. +// Get get labels from informationProtection // Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels // returns a InformationProtectionLabelable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionlabel-get?view=graph-rest-1.0 func (m *PolicyLabelsInformationProtectionLabelItemRequestBuilder) Get(ctx context.Context, requestConfiguration *PolicyLabelsInformationProtectionLabelItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InformationProtectionLabelable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -128,7 +125,7 @@ func (m *PolicyLabelsInformationProtectionLabelItemRequestBuilder) ToDeleteReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of an informationProtectionLabel object. +// ToGetRequestInformation get labels from informationProtection // Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels // returns a *RequestInformation when successful func (m *PolicyLabelsInformationProtectionLabelItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PolicyLabelsInformationProtectionLabelItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/informationprotection/policy_labels_request_builder.go b/informationprotection/policy_labels_request_builder.go index 5e11b833562..8bb712b889d 100644 --- a/informationprotection/policy_labels_request_builder.go +++ b/informationprotection/policy_labels_request_builder.go @@ -11,7 +11,7 @@ import ( type PolicyLabelsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// PolicyLabelsRequestBuilderGetQueryParameters get a collection of information protection labels available to the user or to the organization. +// PolicyLabelsRequestBuilderGetQueryParameters get labels from informationProtection type PolicyLabelsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -97,13 +97,10 @@ func (m *PolicyLabelsRequestBuilder) EvaluateRemoval()(*PolicyLabelsEvaluateRemo func (m *PolicyLabelsRequestBuilder) ExtractLabel()(*PolicyLabelsExtractLabelRequestBuilder) { return NewPolicyLabelsExtractLabelRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a collection of information protection labels available to the user or to the organization. +// Get get labels from informationProtection // Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels // returns a InformationProtectionLabelCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionpolicy-list-labels?view=graph-rest-1.0 func (m *PolicyLabelsRequestBuilder) Get(ctx context.Context, requestConfiguration *PolicyLabelsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InformationProtectionLabelCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -142,7 +139,7 @@ func (m *PolicyLabelsRequestBuilder) Post(ctx context.Context, body ie233ee762e2 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InformationProtectionLabelable), nil } -// ToGetRequestInformation get a collection of information protection labels available to the user or to the organization. +// ToGetRequestInformation get labels from informationProtection // Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels // returns a *RequestInformation when successful func (m *PolicyLabelsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PolicyLabelsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/informationprotection/threat_assessment_requests_request_builder.go b/informationprotection/threat_assessment_requests_request_builder.go index ce1e235f4a0..0063c1c115d 100644 --- a/informationprotection/threat_assessment_requests_request_builder.go +++ b/informationprotection/threat_assessment_requests_request_builder.go @@ -11,7 +11,7 @@ import ( type ThreatAssessmentRequestsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ThreatAssessmentRequestsRequestBuilderGetQueryParameters retrieve a list of threatAssessmentRequest objects. A threat assessment request can be one of the following types: +// ThreatAssessmentRequestsRequestBuilderGetQueryParameters get threatAssessmentRequests from informationProtection type ThreatAssessmentRequestsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewThreatAssessmentRequestsRequestBuilder(rawUrl string, requestAdapter i2a func (m *ThreatAssessmentRequestsRequestBuilder) Count()(*ThreatAssessmentRequestsCountRequestBuilder) { return NewThreatAssessmentRequestsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of threatAssessmentRequest objects. A threat assessment request can be one of the following types: +// Get get threatAssessmentRequests from informationProtection // returns a ThreatAssessmentRequestCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotection-list-threatassessmentrequests?view=graph-rest-1.0 func (m *ThreatAssessmentRequestsRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatAssessmentRequestsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ThreatAssessmentRequestCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ThreatAssessmentRequestsRequestBuilder) Get(ctx context.Context, reques } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ThreatAssessmentRequestCollectionResponseable), nil } -// Post create a new threat assessment request. A threat assessment request can be one of the following types: +// Post create new navigation property to threatAssessmentRequests for informationProtection // returns a ThreatAssessmentRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotection-post-threatassessmentrequests?view=graph-rest-1.0 func (m *ThreatAssessmentRequestsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ThreatAssessmentRequestable, requestConfiguration *ThreatAssessmentRequestsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ThreatAssessmentRequestable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ThreatAssessmentRequestsRequestBuilder) Post(ctx context.Context, body } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ThreatAssessmentRequestable), nil } -// ToGetRequestInformation retrieve a list of threatAssessmentRequest objects. A threat assessment request can be one of the following types: +// ToGetRequestInformation get threatAssessmentRequests from informationProtection // returns a *RequestInformation when successful func (m *ThreatAssessmentRequestsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatAssessmentRequestsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ThreatAssessmentRequestsRequestBuilder) ToGetRequestInformation(ctx con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new threat assessment request. A threat assessment request can be one of the following types: +// ToPostRequestInformation create new navigation property to threatAssessmentRequests for informationProtection // returns a *RequestInformation when successful func (m *ThreatAssessmentRequestsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ThreatAssessmentRequestable, requestConfiguration *ThreatAssessmentRequestsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/informationprotection/threat_assessment_requests_threat_assessment_request_item_request_builder.go b/informationprotection/threat_assessment_requests_threat_assessment_request_item_request_builder.go index 357f3cc4d91..87a4161a62b 100644 --- a/informationprotection/threat_assessment_requests_threat_assessment_request_item_request_builder.go +++ b/informationprotection/threat_assessment_requests_threat_assessment_request_item_request_builder.go @@ -18,7 +18,7 @@ type ThreatAssessmentRequestsThreatAssessmentRequestItemRequestBuilderDeleteRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ThreatAssessmentRequestsThreatAssessmentRequestItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a specified threatAssessmentRequest object. A threat assessment request can be one of the following types: +// ThreatAssessmentRequestsThreatAssessmentRequestItemRequestBuilderGetQueryParameters get threatAssessmentRequests from informationProtection type ThreatAssessmentRequestsThreatAssessmentRequestItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ThreatAssessmentRequestsThreatAssessmentRequestItemRequestBuilder) Dele } return nil } -// Get retrieve the properties and relationships of a specified threatAssessmentRequest object. A threat assessment request can be one of the following types: +// Get get threatAssessmentRequests from informationProtection // returns a ThreatAssessmentRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/threatassessmentrequest-get?view=graph-rest-1.0 func (m *ThreatAssessmentRequestsThreatAssessmentRequestItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatAssessmentRequestsThreatAssessmentRequestItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ThreatAssessmentRequestable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *ThreatAssessmentRequestsThreatAssessmentRequestItemRequestBuilder) ToDe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a specified threatAssessmentRequest object. A threat assessment request can be one of the following types: +// ToGetRequestInformation get threatAssessmentRequests from informationProtection // returns a *RequestInformation when successful func (m *ThreatAssessmentRequestsThreatAssessmentRequestItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatAssessmentRequestsThreatAssessmentRequestItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/invitations/invitations_request_builder.go b/invitations/invitations_request_builder.go index 32afefc4ad0..39871919eb8 100644 --- a/invitations/invitations_request_builder.go +++ b/invitations/invitations_request_builder.go @@ -101,7 +101,7 @@ func (m *InvitationsRequestBuilder) Get(ctx context.Context, requestConfiguratio // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/invitation-post?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/invitation-post?view=graph-rest-beta func (m *InvitationsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Invitationable, requestConfiguration *InvitationsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Invitationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/kiota-lock.json b/kiota-lock.json index e10bd798538..a7cff0fb792 100644 --- a/kiota-lock.json +++ b/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "8DEC39C85A1F0EF64C862746F6A1C3F71667F2F25EF76C946B3227AB0CD3089FDC11F6E182120138B10821D1C76764BD39999D0BDCA4EAA24F5C9CE5DA0FDEA2", + "descriptionHash": "AFFB775CCBCA09F5D4F9627367D21845D1DB4175641FF562512E0FB71FB7411B33815D44ED9767FF5768804B1CEAADC7B084E9CF20003D344A92616FC3B42442", "descriptionLocation": "../../msgraph-metadata/clean_beta_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.14.0", diff --git a/mobilitymanagementpolicies/item_included_groups_item_ref_request_builder.go b/mobilitymanagementpolicies/item_included_groups_item_ref_request_builder.go index b999a64702d..7660c7dc988 100644 --- a/mobilitymanagementpolicies/item_included_groups_item_ref_request_builder.go +++ b/mobilitymanagementpolicies/item_included_groups_item_ref_request_builder.go @@ -30,11 +30,8 @@ func NewItemIncludedGroupsItemRefRequestBuilder(rawUrl string, requestAdapter i2 urlParams["request-raw-url"] = rawUrl return NewItemIncludedGroupsItemRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a group from the list of groups included in a mobile app management policy. +// Delete delete ref of navigation property includedGroups for mobilityManagementPolicies // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/mobileappmanagementpolicies-delete-includedgroups?view=graph-rest-1.0 func (m *ItemIncludedGroupsItemRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemIncludedGroupsItemRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -49,7 +46,7 @@ func (m *ItemIncludedGroupsItemRefRequestBuilder) Delete(ctx context.Context, re } return nil } -// ToDeleteRequestInformation delete a group from the list of groups included in a mobile app management policy. +// ToDeleteRequestInformation delete ref of navigation property includedGroups for mobilityManagementPolicies // returns a *RequestInformation when successful func (m *ItemIncludedGroupsItemRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemIncludedGroupsItemRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/mobilitymanagementpolicies/item_included_groups_ref_request_builder.go b/mobilitymanagementpolicies/item_included_groups_ref_request_builder.go index 493fba00309..90fcbbd266e 100644 --- a/mobilitymanagementpolicies/item_included_groups_ref_request_builder.go +++ b/mobilitymanagementpolicies/item_included_groups_ref_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemIncludedGroupsRefRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemIncludedGroupsRefRequestBuilderDeleteQueryParameters delete a group from the list of groups included in a mobile app management policy. +// ItemIncludedGroupsRefRequestBuilderDeleteQueryParameters delete ref of navigation property includedGroups for mobilityManagementPolicies type ItemIncludedGroupsRefRequestBuilderDeleteQueryParameters struct { // The delete Uri Id *string `uriparametername:"%40id"` @@ -25,7 +25,7 @@ type ItemIncludedGroupsRefRequestBuilderDeleteRequestConfiguration struct { // Request query parameters QueryParameters *ItemIncludedGroupsRefRequestBuilderDeleteQueryParameters } -// ItemIncludedGroupsRefRequestBuilderGetQueryParameters get the list of groups that are included in a mobile app management policy. +// ItemIncludedGroupsRefRequestBuilderGetQueryParameters microsoft Entra groups under the scope of the mobility management application if appliesTo is selected type ItemIncludedGroupsRefRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,11 +69,8 @@ func NewItemIncludedGroupsRefRequestBuilder(rawUrl string, requestAdapter i2ae41 urlParams["request-raw-url"] = rawUrl return NewItemIncludedGroupsRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a group from the list of groups included in a mobile app management policy. +// Delete delete ref of navigation property includedGroups for mobilityManagementPolicies // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/mobileappmanagementpolicies-delete-includedgroups?view=graph-rest-1.0 func (m *ItemIncludedGroupsRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemIncludedGroupsRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -88,12 +85,9 @@ func (m *ItemIncludedGroupsRefRequestBuilder) Delete(ctx context.Context, reques } return nil } -// Get get the list of groups that are included in a mobile app management policy. +// Get microsoft Entra groups under the scope of the mobility management application if appliesTo is selected // returns a StringCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/mobileappmanagementpolicies-list-includedgroups?view=graph-rest-1.0 func (m *ItemIncludedGroupsRefRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemIncludedGroupsRefRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -111,11 +105,8 @@ func (m *ItemIncludedGroupsRefRequestBuilder) Get(ctx context.Context, requestCo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable), nil } -// Post add groups to be included in a mobile app management policy. +// Post create new navigation property ref to includedGroups for mobilityManagementPolicies // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/mobileappmanagementpolicies-post-includedgroups?view=graph-rest-1.0 func (m *ItemIncludedGroupsRefRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *ItemIncludedGroupsRefRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -130,7 +121,7 @@ func (m *ItemIncludedGroupsRefRequestBuilder) Post(ctx context.Context, body ie2 } return nil } -// ToDeleteRequestInformation delete a group from the list of groups included in a mobile app management policy. +// ToDeleteRequestInformation delete ref of navigation property includedGroups for mobilityManagementPolicies // returns a *RequestInformation when successful func (m *ItemIncludedGroupsRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemIncludedGroupsRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, "{+baseurl}/mobilityManagementPolicies/{mobilityManagementPolicy%2Did}/includedGroups/$ref?@id={%40id}", m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *ItemIncludedGroupsRefRequestBuilder) ToDeleteRequestInformation(ctx con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the list of groups that are included in a mobile app management policy. +// ToGetRequestInformation microsoft Entra groups under the scope of the mobility management application if appliesTo is selected // returns a *RequestInformation when successful func (m *ItemIncludedGroupsRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemIncludedGroupsRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/mobilityManagementPolicies/{mobilityManagementPolicy%2Did}/includedGroups/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) @@ -158,7 +149,7 @@ func (m *ItemIncludedGroupsRefRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add groups to be included in a mobile app management policy. +// ToPostRequestInformation create new navigation property ref to includedGroups for mobilityManagementPolicies // returns a *RequestInformation when successful func (m *ItemIncludedGroupsRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *ItemIncludedGroupsRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/mobilityManagementPolicies/{mobilityManagementPolicy%2Did}/includedGroups/$ref", m.BaseRequestBuilder.PathParameters) diff --git a/mobilitymanagementpolicies/item_included_groups_request_builder.go b/mobilitymanagementpolicies/item_included_groups_request_builder.go index e4580bedead..f1e689a215b 100644 --- a/mobilitymanagementpolicies/item_included_groups_request_builder.go +++ b/mobilitymanagementpolicies/item_included_groups_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemIncludedGroupsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemIncludedGroupsRequestBuilderGetQueryParameters get the list of groups that are included in a mobile app management policy. +// ItemIncludedGroupsRequestBuilderGetQueryParameters microsoft Entra groups under the scope of the mobility management application if appliesTo is selected type ItemIncludedGroupsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewItemIncludedGroupsRequestBuilder(rawUrl string, requestAdapter i2ae4187f func (m *ItemIncludedGroupsRequestBuilder) Count()(*ItemIncludedGroupsCountRequestBuilder) { return NewItemIncludedGroupsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of groups that are included in a mobile app management policy. +// Get microsoft Entra groups under the scope of the mobility management application if appliesTo is selected // returns a GroupCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/mobileappmanagementpolicies-list-includedgroups?view=graph-rest-1.0 func (m *ItemIncludedGroupsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemIncludedGroupsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.GroupCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -97,7 +94,7 @@ func (m *ItemIncludedGroupsRequestBuilder) Get(ctx context.Context, requestConfi func (m *ItemIncludedGroupsRequestBuilder) Ref()(*ItemIncludedGroupsRefRequestBuilder) { return NewItemIncludedGroupsRefRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation get the list of groups that are included in a mobile app management policy. +// ToGetRequestInformation microsoft Entra groups under the scope of the mobility management application if appliesTo is selected // returns a *RequestInformation when successful func (m *ItemIncludedGroupsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemIncludedGroupsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/models/active_users_breakdown_metric.go b/models/active_users_breakdown_metric.go index fab06fd47b0..550ef0c5d87 100644 --- a/models/active_users_breakdown_metric.go +++ b/models/active_users_breakdown_metric.go @@ -19,7 +19,7 @@ func NewActiveUsersBreakdownMetric()(*ActiveUsersBreakdownMetric) { func CreateActiveUsersBreakdownMetricFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewActiveUsersBreakdownMetric(), nil } -// GetAppId gets the appId property value. The ID of the Microsoft Entra application. +// GetAppId gets the appId property value. The appId property // returns a *string when successful func (m *ActiveUsersBreakdownMetric) GetAppId()(*string) { val, err := m.GetBackingStore().Get("appId") @@ -31,7 +31,7 @@ func (m *ActiveUsersBreakdownMetric) GetAppId()(*string) { } return nil } -// GetAppName gets the appName property value. Name of the application users authenticated to. +// GetAppName gets the appName property value. The appName property // returns a *string when successful func (m *ActiveUsersBreakdownMetric) GetAppName()(*string) { val, err := m.GetBackingStore().Get("appName") @@ -43,7 +43,7 @@ func (m *ActiveUsersBreakdownMetric) GetAppName()(*string) { } return nil } -// GetCount gets the count property value. The total number of users who made at least one authentication request within the specified time period. +// GetCount gets the count property value. The count property // returns a *int64 when successful func (m *ActiveUsersBreakdownMetric) GetCount()(*int64) { val, err := m.GetBackingStore().Get("count") @@ -55,7 +55,7 @@ func (m *ActiveUsersBreakdownMetric) GetCount()(*int64) { } return nil } -// GetFactDate gets the factDate property value. The date of the insight. +// GetFactDate gets the factDate property value. The factDate property // returns a *DateOnly when successful func (m *ActiveUsersBreakdownMetric) GetFactDate()(*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.DateOnly) { val, err := m.GetBackingStore().Get("factDate") @@ -123,7 +123,7 @@ func (m *ActiveUsersBreakdownMetric) GetFieldDeserializers()(map[string]func(i87 } return res } -// GetOs gets the os property value. The platform for the device that the customers used. Supports $filter (eq). +// GetOs gets the os property value. The os property // returns a *string when successful func (m *ActiveUsersBreakdownMetric) GetOs()(*string) { val, err := m.GetBackingStore().Get("os") @@ -173,35 +173,35 @@ func (m *ActiveUsersBreakdownMetric) Serialize(writer i878a80d2330e89d26896388a3 } return nil } -// SetAppId sets the appId property value. The ID of the Microsoft Entra application. +// SetAppId sets the appId property value. The appId property func (m *ActiveUsersBreakdownMetric) SetAppId(value *string)() { err := m.GetBackingStore().Set("appId", value) if err != nil { panic(err) } } -// SetAppName sets the appName property value. Name of the application users authenticated to. +// SetAppName sets the appName property value. The appName property func (m *ActiveUsersBreakdownMetric) SetAppName(value *string)() { err := m.GetBackingStore().Set("appName", value) if err != nil { panic(err) } } -// SetCount sets the count property value. The total number of users who made at least one authentication request within the specified time period. +// SetCount sets the count property value. The count property func (m *ActiveUsersBreakdownMetric) SetCount(value *int64)() { err := m.GetBackingStore().Set("count", value) if err != nil { panic(err) } } -// SetFactDate sets the factDate property value. The date of the insight. +// SetFactDate sets the factDate property value. The factDate property func (m *ActiveUsersBreakdownMetric) SetFactDate(value *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.DateOnly)() { err := m.GetBackingStore().Set("factDate", value) if err != nil { panic(err) } } -// SetOs sets the os property value. The platform for the device that the customers used. Supports $filter (eq). +// SetOs sets the os property value. The os property func (m *ActiveUsersBreakdownMetric) SetOs(value *string)() { err := m.GetBackingStore().Set("os", value) if err != nil { diff --git a/models/admin.go b/models/admin.go index cacb1d09d13..ea4dd9b22b1 100644 --- a/models/admin.go +++ b/models/admin.go @@ -518,74 +518,3 @@ type Adminable interface { SetTodo(value AdminTodoable)() SetWindows(value AdminWindowsable)() } - -type AdminWindows struct { - Entity -} -// NewAdminWindows instantiates a new AdminWindows and sets the default values. -func NewAdminWindows()(*AdminWindows) { - m := &AdminWindows{ - Entity: *NewEntity(), - } - return m -} -// CreateAdminWindowsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value -// returns a Parsable when successful -func CreateAdminWindowsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { - return NewAdminWindows(), nil -} -// GetFieldDeserializers the deserialization information for the current model -// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful -func (m *AdminWindows) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { - res := m.Entity.GetFieldDeserializers() - res["updates"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(CreateAdminWindowsUpdatesFromDiscriminatorValue) - if err != nil { - return err - } - if val != nil { - m.SetUpdates(val.(AdminWindowsUpdatesable)) - } - return nil - } - return res -} -// GetUpdates gets the updates property value. Entity that acts as a container for all Windows Update for Business deployment service functionalities. Read-only. -// returns a AdminWindowsUpdatesable when successful -func (m *AdminWindows) GetUpdates()(AdminWindowsUpdatesable) { - val, err := m.GetBackingStore().Get("updates") - if err != nil { - panic(err) - } - if val != nil { - return val.(AdminWindowsUpdatesable) - } - return nil -} -// Serialize serializes information the current object -func (m *AdminWindows) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { - err := m.Entity.Serialize(writer) - if err != nil { - return err - } - { - err = writer.WriteObjectValue("updates", m.GetUpdates()) - if err != nil { - return err - } - } - return nil -} -// SetUpdates sets the updates property value. Entity that acts as a container for all Windows Update for Business deployment service functionalities. Read-only. -func (m *AdminWindows) SetUpdates(value AdminWindowsUpdatesable)() { - err := m.GetBackingStore().Set("updates", value) - if err != nil { - panic(err) - } -} -type AdminWindowsable interface { - Entityable - i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetUpdates()(AdminWindowsUpdatesable) - SetUpdates(value AdminWindowsUpdatesable)() -} diff --git a/models/admin_windows.go b/models/admin_windows.go new file mode 100644 index 00000000000..338a8917a5d --- /dev/null +++ b/models/admin_windows.go @@ -0,0 +1,76 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type AdminWindows struct { + Entity +} +// NewAdminWindows instantiates a new AdminWindows and sets the default values. +func NewAdminWindows()(*AdminWindows) { + m := &AdminWindows{ + Entity: *NewEntity(), + } + return m +} +// CreateAdminWindowsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAdminWindowsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAdminWindows(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *AdminWindows) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["updates"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateAdminWindowsUpdatesFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetUpdates(val.(AdminWindowsUpdatesable)) + } + return nil + } + return res +} +// GetUpdates gets the updates property value. Entity that acts as a container for all Windows Update for Business deployment service functionalities. Read-only. +// returns a AdminWindowsUpdatesable when successful +func (m *AdminWindows) GetUpdates()(AdminWindowsUpdatesable) { + val, err := m.GetBackingStore().Get("updates") + if err != nil { + panic(err) + } + if val != nil { + return val.(AdminWindowsUpdatesable) + } + return nil +} +// Serialize serializes information the current object +func (m *AdminWindows) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteObjectValue("updates", m.GetUpdates()) + if err != nil { + return err + } + } + return nil +} +// SetUpdates sets the updates property value. Entity that acts as a container for all Windows Update for Business deployment service functionalities. Read-only. +func (m *AdminWindows) SetUpdates(value AdminWindowsUpdatesable)() { + err := m.GetBackingStore().Set("updates", value) + if err != nil { + panic(err) + } +} +type AdminWindowsable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetUpdates()(AdminWindowsUpdatesable) + SetUpdates(value AdminWindowsUpdatesable)() +} diff --git a/models/album.go b/models/album.go index de43a8af339..26a5d8fe9f0 100644 --- a/models/album.go +++ b/models/album.go @@ -40,7 +40,7 @@ func (m *Album) GetAdditionalData()(map[string]any) { func (m *Album) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetCoverImageItemId gets the coverImageItemId property value. Unique identifier of the [driveItem][] that is the cover of the album. +// GetCoverImageItemId gets the coverImageItemId property value. Unique identifier of the driveItem that is the cover of the album. // returns a *string when successful func (m *Album) GetCoverImageItemId()(*string) { val, err := m.GetBackingStore().Get("coverImageItemId") @@ -123,7 +123,7 @@ func (m *Album) SetAdditionalData(value map[string]any)() { func (m *Album) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetCoverImageItemId sets the coverImageItemId property value. Unique identifier of the [driveItem][] that is the cover of the album. +// SetCoverImageItemId sets the coverImageItemId property value. Unique identifier of the driveItem that is the cover of the album. func (m *Album) SetCoverImageItemId(value *string)() { err := m.GetBackingStore().Set("coverImageItemId", value) if err != nil { diff --git a/models/alert.go b/models/alert.go index f1bb0adf33e..63f07cedbd3 100644 --- a/models/alert.go +++ b/models/alert.go @@ -80,7 +80,7 @@ func (m *Alert) GetAzureTenantId()(*string) { } return nil } -// GetCategory gets the category property value. Category of the alert (for example, credentialTheft, ransomware, etc.). +// GetCategory gets the category property value. Category of the alert (for example, credentialTheft, ransomware). // returns a *string when successful func (m *Alert) GetCategory()(*string) { val, err := m.GetBackingStore().Get("category") @@ -176,7 +176,7 @@ func (m *Alert) GetDetectionIds()([]string) { } return nil } -// GetEventDateTime gets the eventDateTime property value. Time at which the event(s) that served as the trigger(s) to generate the alert occurred. 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 is 2014-01-01T00:00:00Z. Required. +// GetEventDateTime gets the eventDateTime property value. Time at which the event or events that served as the trigger to generate the alert occurred. 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 is 2014-01-01T00:00:00Z. Required. // returns a *Time when successful func (m *Alert) GetEventDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("eventDateTime") @@ -188,7 +188,7 @@ func (m *Alert) GetEventDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a163 } return nil } -// GetFeedback gets the feedback property value. Analyst feedback on the alert. Possible values are: unknown, truePositive, falsePositive, benignPositive. (supports update) +// GetFeedback gets the feedback property value. Analyst feedback on the alert. Possible values are: unknown, truePositive, falsePositive, benignPositive. Supports update. // returns a *AlertFeedback when successful func (m *Alert) GetFeedback()(*AlertFeedback) { val, err := m.GetBackingStore().Get("feedback") @@ -908,7 +908,7 @@ func (m *Alert) GetSeverity()(*AlertSeverity) { } return nil } -// GetSourceMaterials gets the sourceMaterials property value. Hyperlinks (URIs) to the source material related to the alert, for example, provider's user interface for alerts or log search, etc. +// GetSourceMaterials gets the sourceMaterials property value. Hyperlinks (URIs) to the source material related to the alert, for example, provider's user interface for alerts or log search. // returns a []string when successful func (m *Alert) GetSourceMaterials()([]string) { val, err := m.GetBackingStore().Get("sourceMaterials") @@ -932,7 +932,7 @@ func (m *Alert) GetStatus()(*AlertStatus) { } return nil } -// GetTags gets the tags property value. User-definable labels that can be applied to an alert and can serve as filter conditions (for example 'HVA', 'SAW', etc.) (supports update). +// GetTags gets the tags property value. User-definable labels that can be applied to an alert and can serve as filter conditions (for example 'HVA', 'SAW') (supports update). // returns a []string when successful func (m *Alert) GetTags()([]string) { val, err := m.GetBackingStore().Get("tags") @@ -1392,7 +1392,7 @@ func (m *Alert) SetAzureTenantId(value *string)() { panic(err) } } -// SetCategory sets the category property value. Category of the alert (for example, credentialTheft, ransomware, etc.). +// SetCategory sets the category property value. Category of the alert (for example, credentialTheft, ransomware). func (m *Alert) SetCategory(value *string)() { err := m.GetBackingStore().Set("category", value) if err != nil { @@ -1448,14 +1448,14 @@ func (m *Alert) SetDetectionIds(value []string)() { panic(err) } } -// SetEventDateTime sets the eventDateTime property value. Time at which the event(s) that served as the trigger(s) to generate the alert occurred. 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 is 2014-01-01T00:00:00Z. Required. +// SetEventDateTime sets the eventDateTime property value. Time at which the event or events that served as the trigger to generate the alert occurred. 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 is 2014-01-01T00:00:00Z. Required. func (m *Alert) SetEventDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("eventDateTime", value) if err != nil { panic(err) } } -// SetFeedback sets the feedback property value. Analyst feedback on the alert. Possible values are: unknown, truePositive, falsePositive, benignPositive. (supports update) +// SetFeedback sets the feedback property value. Analyst feedback on the alert. Possible values are: unknown, truePositive, falsePositive, benignPositive. Supports update. func (m *Alert) SetFeedback(value *AlertFeedback)() { err := m.GetBackingStore().Set("feedback", value) if err != nil { @@ -1567,7 +1567,7 @@ func (m *Alert) SetSeverity(value *AlertSeverity)() { panic(err) } } -// SetSourceMaterials sets the sourceMaterials property value. Hyperlinks (URIs) to the source material related to the alert, for example, provider's user interface for alerts or log search, etc. +// SetSourceMaterials sets the sourceMaterials property value. Hyperlinks (URIs) to the source material related to the alert, for example, provider's user interface for alerts or log search. func (m *Alert) SetSourceMaterials(value []string)() { err := m.GetBackingStore().Set("sourceMaterials", value) if err != nil { @@ -1581,7 +1581,7 @@ func (m *Alert) SetStatus(value *AlertStatus)() { panic(err) } } -// SetTags sets the tags property value. User-definable labels that can be applied to an alert and can serve as filter conditions (for example 'HVA', 'SAW', etc.) (supports update). +// SetTags sets the tags property value. User-definable labels that can be applied to an alert and can serve as filter conditions (for example 'HVA', 'SAW') (supports update). func (m *Alert) SetTags(value []string)() { err := m.GetBackingStore().Set("tags", value) if err != nil { diff --git a/models/android_managed_app_protection.go b/models/android_managed_app_protection.go index b487ac88974..6fd2991c304 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/application.go b/models/application.go index 8be76bd85d4..bddf7318eba 100644 --- a/models/application.go +++ b/models/application.go @@ -781,7 +781,7 @@ func (m *Application) GetHomeRealmDiscoveryPolicies()([]HomeRealmDiscoveryPolicy } return nil } -// GetIdentifierUris gets the identifierUris property value. Also known as App ID URI, this value is set when an application is used as a resource app. The identifierUris acts as the prefix for the scopes you reference in your API's code, and it must be globally unique. You can use the default value provided, which is in the form api://, or specify a more readable URI like https://contoso.com/api. For more information on valid identifierUris patterns and best practices, see Microsoft Entra application registration security best practices. Not nullable. Supports $filter (eq, ne, ge, le, startsWith). +// GetIdentifierUris gets the identifierUris property value. Also known as App ID URI, this value is set when an application is used as a resource app. The identifierUris acts as the prefix for the scopes you reference in your API's code, and it must be globally unique. You can use the default value provided, which is in the form api://, or specify a more readable URI like https://contoso.com/api. For more information on valid identifierUris patterns and best practices, see Microsoft Entra application registration security best practices. Not nullable. Supports $filter (eq, ne, ge, le, startsWith). // returns a []string when successful func (m *Application) GetIdentifierUris()([]string) { val, err := m.GetBackingStore().Get("identifierUris") @@ -1616,7 +1616,7 @@ func (m *Application) SetHomeRealmDiscoveryPolicies(value []HomeRealmDiscoveryPo panic(err) } } -// SetIdentifierUris sets the identifierUris property value. Also known as App ID URI, this value is set when an application is used as a resource app. The identifierUris acts as the prefix for the scopes you reference in your API's code, and it must be globally unique. You can use the default value provided, which is in the form api://, or specify a more readable URI like https://contoso.com/api. For more information on valid identifierUris patterns and best practices, see Microsoft Entra application registration security best practices. Not nullable. Supports $filter (eq, ne, ge, le, startsWith). +// SetIdentifierUris sets the identifierUris property value. Also known as App ID URI, this value is set when an application is used as a resource app. The identifierUris acts as the prefix for the scopes you reference in your API's code, and it must be globally unique. You can use the default value provided, which is in the form api://, or specify a more readable URI like https://contoso.com/api. For more information on valid identifierUris patterns and best practices, see Microsoft Entra application registration security best practices. Not nullable. Supports $filter (eq, ne, ge, le, startsWith). func (m *Application) SetIdentifierUris(value []string)() { err := m.GetBackingStore().Set("identifierUris", value) if err != nil { diff --git a/models/apps_installation_options_for_windows.go b/models/apps_installation_options_for_windows.go new file mode 100644 index 00000000000..527e5ccbc0e --- /dev/null +++ b/models/apps_installation_options_for_windows.go @@ -0,0 +1,261 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type AppsInstallationOptionsForWindows struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewAppsInstallationOptionsForWindows instantiates a new AppsInstallationOptionsForWindows and sets the default values. +func NewAppsInstallationOptionsForWindows()(*AppsInstallationOptionsForWindows) { + m := &AppsInstallationOptionsForWindows{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateAppsInstallationOptionsForWindowsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAppsInstallationOptionsForWindowsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAppsInstallationOptionsForWindows(), 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 *AppsInstallationOptionsForWindows) 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 *AppsInstallationOptionsForWindows) 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 *AppsInstallationOptionsForWindows) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["isMicrosoft365AppsEnabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsMicrosoft365AppsEnabled(val) + } + return nil + } + res["isProjectEnabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsProjectEnabled(val) + } + return nil + } + res["isSkypeForBusinessEnabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsSkypeForBusinessEnabled(val) + } + return nil + } + res["isVisioEnabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsVisioEnabled(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + return res +} +// GetIsMicrosoft365AppsEnabled gets the isMicrosoft365AppsEnabled property value. Specifies whether users can install Microsoft 365 apps, including Skype for Business, on their Windows devices. The default value is true. +// returns a *bool when successful +func (m *AppsInstallationOptionsForWindows) GetIsMicrosoft365AppsEnabled()(*bool) { + val, err := m.GetBackingStore().Get("isMicrosoft365AppsEnabled") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetIsProjectEnabled gets the isProjectEnabled property value. Specifies whether users can install Microsoft Project on their Windows devices. The default value is true. +// returns a *bool when successful +func (m *AppsInstallationOptionsForWindows) GetIsProjectEnabled()(*bool) { + val, err := m.GetBackingStore().Get("isProjectEnabled") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetIsSkypeForBusinessEnabled gets the isSkypeForBusinessEnabled property value. Specifies whether users can install Skype for Business (standalone) on their Windows devices. The default value is true. +// returns a *bool when successful +func (m *AppsInstallationOptionsForWindows) GetIsSkypeForBusinessEnabled()(*bool) { + val, err := m.GetBackingStore().Get("isSkypeForBusinessEnabled") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetIsVisioEnabled gets the isVisioEnabled property value. Specifies whether users can install Visio on their Windows devices. The default value is true. +// returns a *bool when successful +func (m *AppsInstallationOptionsForWindows) GetIsVisioEnabled()(*bool) { + val, err := m.GetBackingStore().Get("isVisioEnabled") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *AppsInstallationOptionsForWindows) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *AppsInstallationOptionsForWindows) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteBoolValue("isMicrosoft365AppsEnabled", m.GetIsMicrosoft365AppsEnabled()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("isProjectEnabled", m.GetIsProjectEnabled()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("isSkypeForBusinessEnabled", m.GetIsSkypeForBusinessEnabled()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("isVisioEnabled", m.GetIsVisioEnabled()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *AppsInstallationOptionsForWindows) 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 *AppsInstallationOptionsForWindows) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetIsMicrosoft365AppsEnabled sets the isMicrosoft365AppsEnabled property value. Specifies whether users can install Microsoft 365 apps, including Skype for Business, on their Windows devices. The default value is true. +func (m *AppsInstallationOptionsForWindows) SetIsMicrosoft365AppsEnabled(value *bool)() { + err := m.GetBackingStore().Set("isMicrosoft365AppsEnabled", value) + if err != nil { + panic(err) + } +} +// SetIsProjectEnabled sets the isProjectEnabled property value. Specifies whether users can install Microsoft Project on their Windows devices. The default value is true. +func (m *AppsInstallationOptionsForWindows) SetIsProjectEnabled(value *bool)() { + err := m.GetBackingStore().Set("isProjectEnabled", value) + if err != nil { + panic(err) + } +} +// SetIsSkypeForBusinessEnabled sets the isSkypeForBusinessEnabled property value. Specifies whether users can install Skype for Business (standalone) on their Windows devices. The default value is true. +func (m *AppsInstallationOptionsForWindows) SetIsSkypeForBusinessEnabled(value *bool)() { + err := m.GetBackingStore().Set("isSkypeForBusinessEnabled", value) + if err != nil { + panic(err) + } +} +// SetIsVisioEnabled sets the isVisioEnabled property value. Specifies whether users can install Visio on their Windows devices. The default value is true. +func (m *AppsInstallationOptionsForWindows) SetIsVisioEnabled(value *bool)() { + err := m.GetBackingStore().Set("isVisioEnabled", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *AppsInstallationOptionsForWindows) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type AppsInstallationOptionsForWindowsable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetIsMicrosoft365AppsEnabled()(*bool) + GetIsProjectEnabled()(*bool) + GetIsSkypeForBusinessEnabled()(*bool) + GetIsVisioEnabled()(*bool) + GetOdataType()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetIsMicrosoft365AppsEnabled(value *bool)() + SetIsProjectEnabled(value *bool)() + SetIsSkypeForBusinessEnabled(value *bool)() + SetIsVisioEnabled(value *bool)() + SetOdataType(value *string)() +} diff --git a/models/authorization_policy.go b/models/authorization_policy.go index 8ae3800d6ad..3f94d952119 100644 --- a/models/authorization_policy.go +++ b/models/authorization_policy.go @@ -276,7 +276,7 @@ func (m *AuthorizationPolicy) GetGuestUserRoleId()(*i561e97a8befe7661a44c8f54600 } return nil } -// GetPermissionGrantPolicyIdsAssignedToDefaultUserRole gets the permissionGrantPolicyIdsAssignedToDefaultUserRole property value. Indicates if user consent to apps is allowed, and if it is, which app consent policy (permissionGrantPolicy) governs the permission for users to grant consent. Values should be in the format managePermissionGrantsForSelf.{id}, where {id} is the id of a built-in or custom app consent policy. An empty list indicates user consent to apps is disabled. +// GetPermissionGrantPolicyIdsAssignedToDefaultUserRole gets the permissionGrantPolicyIdsAssignedToDefaultUserRole property value. Indicates if user consent to apps is allowed, and if it is, the app consent policy that governs the permission for users to grant consent. Values should be in the format managePermissionGrantsForSelf.{id} for user consent policies or managePermissionGrantsForOwnedResource.{id} for resource-specific consent policies, where {id} is the id of a built-in or custom app consent policy. An empty list indicates user consent to apps is disabled. // returns a []string when successful func (m *AuthorizationPolicy) GetPermissionGrantPolicyIdsAssignedToDefaultUserRole()([]string) { val, err := m.GetBackingStore().Get("permissionGrantPolicyIdsAssignedToDefaultUserRole") @@ -439,7 +439,7 @@ func (m *AuthorizationPolicy) SetGuestUserRoleId(value *i561e97a8befe7661a44c8f5 panic(err) } } -// SetPermissionGrantPolicyIdsAssignedToDefaultUserRole sets the permissionGrantPolicyIdsAssignedToDefaultUserRole property value. Indicates if user consent to apps is allowed, and if it is, which app consent policy (permissionGrantPolicy) governs the permission for users to grant consent. Values should be in the format managePermissionGrantsForSelf.{id}, where {id} is the id of a built-in or custom app consent policy. An empty list indicates user consent to apps is disabled. +// SetPermissionGrantPolicyIdsAssignedToDefaultUserRole sets the permissionGrantPolicyIdsAssignedToDefaultUserRole property value. Indicates if user consent to apps is allowed, and if it is, the app consent policy that governs the permission for users to grant consent. Values should be in the format managePermissionGrantsForSelf.{id} for user consent policies or managePermissionGrantsForOwnedResource.{id} for resource-specific consent policies, where {id} is the id of a built-in or custom app consent policy. An empty list indicates user consent to apps is disabled. func (m *AuthorizationPolicy) SetPermissionGrantPolicyIdsAssignedToDefaultUserRole(value []string)() { err := m.GetBackingStore().Set("permissionGrantPolicyIdsAssignedToDefaultUserRole", value) if err != nil { diff --git a/models/bundle.go b/models/bundle.go index 2d15ef7ab53..46a977ce505 100644 --- a/models/bundle.go +++ b/models/bundle.go @@ -35,7 +35,7 @@ func (m *Bundle) GetAdditionalData()(map[string]any) { } return val.(map[string]any) } -// GetAlbum gets the album property value. If the bundle is an [album][], then the album property is included +// GetAlbum gets the album property value. If the bundle is an album, then the album property is included // returns a Albumable when successful func (m *Bundle) GetAlbum()(Albumable) { val, err := m.GetBackingStore().Get("album") @@ -147,7 +147,7 @@ func (m *Bundle) SetAdditionalData(value map[string]any)() { panic(err) } } -// SetAlbum sets the album property value. If the bundle is an [album][], then the album property is included +// SetAlbum sets the album property value. If the bundle is an album, then the album property is included func (m *Bundle) SetAlbum(value Albumable)() { err := m.GetBackingStore().Set("album", value) if err != nil { diff --git a/models/callrecords/media_stream.go b/models/callrecords/media_stream.go index f3d36c13072..6c46f589489 100644 --- a/models/callrecords/media_stream.go +++ b/models/callrecords/media_stream.go @@ -60,7 +60,7 @@ func (m *MediaStream) GetAverageAudioDegradation()(*float32) { } return nil } -// GetAverageAudioNetworkJitter gets the averageAudioNetworkJitter property value. Average jitter for the stream computed as specified in [RFC 3550][], denoted in [ISO 8601][] format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. +// GetAverageAudioNetworkJitter gets the averageAudioNetworkJitter property value. Average jitter for the stream computed as specified in RFC 3550, denoted in ISO 8601 format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. // returns a *ISODuration when successful func (m *MediaStream) GetAverageAudioNetworkJitter()(*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration) { val, err := m.GetBackingStore().Get("averageAudioNetworkJitter") @@ -96,7 +96,7 @@ func (m *MediaStream) GetAverageFreezeDuration()(*i878a80d2330e89d26896388a3f487 } return nil } -// GetAverageJitter gets the averageJitter property value. Average jitter for the stream computed as specified in [RFC 3550][], denoted in [ISO 8601][] format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. +// GetAverageJitter gets the averageJitter property value. Average jitter for the stream computed as specified in RFC 3550, denoted in ISO 8601 format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. // returns a *ISODuration when successful func (m *MediaStream) GetAverageJitter()(*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration) { val, err := m.GetBackingStore().Get("averageJitter") @@ -144,7 +144,7 @@ func (m *MediaStream) GetAverageReceivedFrameRate()(*float32) { } return nil } -// GetAverageRoundTripTime gets the averageRoundTripTime property value. Average network propagation round-trip time computed as specified in [RFC 3550][], denoted in [ISO 8601][] format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. +// GetAverageRoundTripTime gets the averageRoundTripTime property value. Average network propagation round-trip time computed as specified in RFC 3550, denoted in ISO 8601 format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. // returns a *ISODuration when successful func (m *MediaStream) GetAverageRoundTripTime()(*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration) { val, err := m.GetBackingStore().Get("averageRoundTripTime") @@ -180,7 +180,7 @@ func (m *MediaStream) GetAverageVideoFrameRate()(*float32) { } return nil } -// GetAverageVideoPacketLossRate gets the averageVideoPacketLossRate property value. Average fraction of packets lost, as specified in [RFC 3550][], computed over the duration of the session. +// GetAverageVideoPacketLossRate gets the averageVideoPacketLossRate property value. Average fraction of packets lost, as specified in RFC 3550, computed over the duration of the session. // returns a *float32 when successful func (m *MediaStream) GetAverageVideoPacketLossRate()(*float32) { val, err := m.GetBackingStore().Get("averageVideoPacketLossRate") @@ -561,7 +561,7 @@ func (m *MediaStream) GetLowVideoProcessingCapabilityRatio()(*float32) { } return nil } -// GetMaxAudioNetworkJitter gets the maxAudioNetworkJitter property value. Maximum of audio network jitter computed over each of the 20 second windows during the session, denoted in [ISO 8601][] format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. +// GetMaxAudioNetworkJitter gets the maxAudioNetworkJitter property value. Maximum of audio network jitter computed over each of the 20 second windows during the session, denoted in ISO 8601 format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. // returns a *ISODuration when successful func (m *MediaStream) GetMaxAudioNetworkJitter()(*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration) { val, err := m.GetBackingStore().Get("maxAudioNetworkJitter") @@ -573,7 +573,7 @@ func (m *MediaStream) GetMaxAudioNetworkJitter()(*i878a80d2330e89d26896388a3f487 } return nil } -// GetMaxJitter gets the maxJitter property value. Maximum jitter for the stream computed as specified in RFC 3550, denoted in [ISO 8601][] format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. +// GetMaxJitter gets the maxJitter property value. Maximum jitter for the stream computed as specified in RFC 3550, denoted in ISO 8601 format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. // returns a *ISODuration when successful func (m *MediaStream) GetMaxJitter()(*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration) { val, err := m.GetBackingStore().Get("maxJitter") @@ -609,7 +609,7 @@ func (m *MediaStream) GetMaxRatioOfConcealedSamples()(*float32) { } return nil } -// GetMaxRoundTripTime gets the maxRoundTripTime property value. Maximum network propagation round-trip time computed as specified in [RFC 3550][], denoted in [ISO 8601][] format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. +// GetMaxRoundTripTime gets the maxRoundTripTime property value. Maximum network propagation round-trip time computed as specified in RFC 3550, denoted in ISO 8601 format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. // returns a *ISODuration when successful func (m *MediaStream) GetMaxRoundTripTime()(*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration) { val, err := m.GetBackingStore().Get("maxRoundTripTime") @@ -949,7 +949,7 @@ func (m *MediaStream) SetAverageAudioDegradation(value *float32)() { panic(err) } } -// SetAverageAudioNetworkJitter sets the averageAudioNetworkJitter property value. Average jitter for the stream computed as specified in [RFC 3550][], denoted in [ISO 8601][] format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. +// SetAverageAudioNetworkJitter sets the averageAudioNetworkJitter property value. Average jitter for the stream computed as specified in RFC 3550, denoted in ISO 8601 format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. func (m *MediaStream) SetAverageAudioNetworkJitter(value *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration)() { err := m.GetBackingStore().Set("averageAudioNetworkJitter", value) if err != nil { @@ -970,7 +970,7 @@ func (m *MediaStream) SetAverageFreezeDuration(value *i878a80d2330e89d26896388a3 panic(err) } } -// SetAverageJitter sets the averageJitter property value. Average jitter for the stream computed as specified in [RFC 3550][], denoted in [ISO 8601][] format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. +// SetAverageJitter sets the averageJitter property value. Average jitter for the stream computed as specified in RFC 3550, denoted in ISO 8601 format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. func (m *MediaStream) SetAverageJitter(value *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration)() { err := m.GetBackingStore().Set("averageJitter", value) if err != nil { @@ -998,7 +998,7 @@ func (m *MediaStream) SetAverageReceivedFrameRate(value *float32)() { panic(err) } } -// SetAverageRoundTripTime sets the averageRoundTripTime property value. Average network propagation round-trip time computed as specified in [RFC 3550][], denoted in [ISO 8601][] format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. +// SetAverageRoundTripTime sets the averageRoundTripTime property value. Average network propagation round-trip time computed as specified in RFC 3550, denoted in ISO 8601 format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. func (m *MediaStream) SetAverageRoundTripTime(value *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration)() { err := m.GetBackingStore().Set("averageRoundTripTime", value) if err != nil { @@ -1019,7 +1019,7 @@ func (m *MediaStream) SetAverageVideoFrameRate(value *float32)() { panic(err) } } -// SetAverageVideoPacketLossRate sets the averageVideoPacketLossRate property value. Average fraction of packets lost, as specified in [RFC 3550][], computed over the duration of the session. +// SetAverageVideoPacketLossRate sets the averageVideoPacketLossRate property value. Average fraction of packets lost, as specified in RFC 3550, computed over the duration of the session. func (m *MediaStream) SetAverageVideoPacketLossRate(value *float32)() { err := m.GetBackingStore().Set("averageVideoPacketLossRate", value) if err != nil { @@ -1058,14 +1058,14 @@ func (m *MediaStream) SetLowVideoProcessingCapabilityRatio(value *float32)() { panic(err) } } -// SetMaxAudioNetworkJitter sets the maxAudioNetworkJitter property value. Maximum of audio network jitter computed over each of the 20 second windows during the session, denoted in [ISO 8601][] format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. +// SetMaxAudioNetworkJitter sets the maxAudioNetworkJitter property value. Maximum of audio network jitter computed over each of the 20 second windows during the session, denoted in ISO 8601 format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. func (m *MediaStream) SetMaxAudioNetworkJitter(value *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration)() { err := m.GetBackingStore().Set("maxAudioNetworkJitter", value) if err != nil { panic(err) } } -// SetMaxJitter sets the maxJitter property value. Maximum jitter for the stream computed as specified in RFC 3550, denoted in [ISO 8601][] format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. +// SetMaxJitter sets the maxJitter property value. Maximum jitter for the stream computed as specified in RFC 3550, denoted in ISO 8601 format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. func (m *MediaStream) SetMaxJitter(value *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration)() { err := m.GetBackingStore().Set("maxJitter", value) if err != nil { @@ -1086,7 +1086,7 @@ func (m *MediaStream) SetMaxRatioOfConcealedSamples(value *float32)() { panic(err) } } -// SetMaxRoundTripTime sets the maxRoundTripTime property value. Maximum network propagation round-trip time computed as specified in [RFC 3550][], denoted in [ISO 8601][] format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. +// SetMaxRoundTripTime sets the maxRoundTripTime property value. Maximum network propagation round-trip time computed as specified in RFC 3550, denoted in ISO 8601 format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator. func (m *MediaStream) SetMaxRoundTripTime(value *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration)() { err := m.GetBackingStore().Set("maxRoundTripTime", value) if err != nil { diff --git a/models/callrecords/trace_route_hop.go b/models/callrecords/trace_route_hop.go index 40ce4079f68..ec03beb5c20 100644 --- a/models/callrecords/trace_route_hop.go +++ b/models/callrecords/trace_route_hop.go @@ -122,7 +122,7 @@ func (m *TraceRouteHop) GetOdataType()(*string) { } return nil } -// GetRoundTripTime gets the roundTripTime property value. The time from when the trace route packet was sent from the client to this hop and back to the client, denoted in [ISO 8601][] format. For example, 1 second is denoted as PT1S, where P is the duration designator, T is the time designator, and S is the second designator. +// GetRoundTripTime gets the roundTripTime property value. The time from when the trace route packet was sent from the client to this hop and back to the client, denoted in ISO 8601 format. For example, 1 second is denoted as PT1S, where P is the duration designator, T is the time designator, and S is the second designator. // returns a *ISODuration when successful func (m *TraceRouteHop) GetRoundTripTime()(*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration) { val, err := m.GetBackingStore().Get("roundTripTime") @@ -200,7 +200,7 @@ func (m *TraceRouteHop) SetOdataType(value *string)() { panic(err) } } -// SetRoundTripTime sets the roundTripTime property value. The time from when the trace route packet was sent from the client to this hop and back to the client, denoted in [ISO 8601][] format. For example, 1 second is denoted as PT1S, where P is the duration designator, T is the time designator, and S is the second designator. +// SetRoundTripTime sets the roundTripTime property value. The time from when the trace route packet was sent from the client to this hop and back to the client, denoted in ISO 8601 format. For example, 1 second is denoted as PT1S, where P is the duration designator, T is the time designator, and S is the second designator. func (m *TraceRouteHop) SetRoundTripTime(value *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration)() { err := m.GetBackingStore().Set("roundTripTime", value) if err != nil { diff --git a/models/cloud_pc_audit_resource.go b/models/cloud_pc_audit_resource.go index 41a4b217b8d..ad524d43046 100644 --- a/models/cloud_pc_audit_resource.go +++ b/models/cloud_pc_audit_resource.go @@ -160,7 +160,7 @@ func (m *CloudPcAuditResource) GetResourceId()(*string) { } return nil } -// GetResourceType gets the resourceType property value. The resourceType property +// GetResourceType gets the resourceType property value. The type of the audit resource. // returns a *string when successful func (m *CloudPcAuditResource) GetResourceType()(*string) { val, err := m.GetBackingStore().Get("resourceType") @@ -172,7 +172,7 @@ func (m *CloudPcAuditResource) GetResourceType()(*string) { } return nil } -// GetTypeEscaped gets the type property value. The type of the audit resource. +// GetTypeEscaped gets the type property value. The type property // returns a *string when successful func (m *CloudPcAuditResource) GetTypeEscaped()(*string) { val, err := m.GetBackingStore().Get("typeEscaped") @@ -275,14 +275,14 @@ func (m *CloudPcAuditResource) SetResourceId(value *string)() { panic(err) } } -// SetResourceType sets the resourceType property value. The resourceType property +// SetResourceType sets the resourceType property value. The type of the audit resource. func (m *CloudPcAuditResource) SetResourceType(value *string)() { err := m.GetBackingStore().Set("resourceType", value) if err != nil { panic(err) } } -// SetTypeEscaped sets the type property value. The type of the audit resource. +// SetTypeEscaped sets the type property value. The type property func (m *CloudPcAuditResource) SetTypeEscaped(value *string)() { err := m.GetBackingStore().Set("typeEscaped", value) if err != nil { diff --git a/models/column_definition.go b/models/column_definition.go index a34331946bd..51b4b5a8b39 100644 --- a/models/column_definition.go +++ b/models/column_definition.go @@ -573,7 +573,7 @@ func (m *ColumnDefinition) GetLookup()(LookupColumnable) { } return nil } -// GetName gets the name property value. The API-facing name of the column as it appears in the [fields][] on a [listItem][]. For the user-facing name, see displayName. +// GetName gets the name property value. The API-facing name of the column as it appears in the fields on a listItem. For the user-facing name, see displayName. // returns a *string when successful func (m *ColumnDefinition) GetName()(*string) { val, err := m.GetBackingStore().Get("name") @@ -1063,7 +1063,7 @@ func (m *ColumnDefinition) SetLookup(value LookupColumnable)() { panic(err) } } -// SetName sets the name property value. The API-facing name of the column as it appears in the [fields][] on a [listItem][]. For the user-facing name, see displayName. +// SetName sets the name property value. The API-facing name of the column as it appears in the fields on a listItem. For the user-facing name, see displayName. func (m *ColumnDefinition) SetName(value *string)() { err := m.GetBackingStore().Set("name", value) if err != nil { diff --git a/models/device_management.go b/models/device_management.go index 14d611d2d35..7fc9d047889 100644 --- a/models/device_management.go +++ b/models/device_management.go @@ -3658,7 +3658,7 @@ func (m *DeviceManagement) GetIntents()([]DeviceManagementIntentable) { } return nil } -// GetIntuneAccountId gets the intuneAccountId property value. Intune Account ID for given tenant +// GetIntuneAccountId gets the intuneAccountId property value. Intune Account Id for given tenant // returns a *UUID when successful func (m *DeviceManagement) GetIntuneAccountId()(*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID) { val, err := m.GetBackingStore().Get("intuneAccountId") @@ -3802,7 +3802,7 @@ func (m *DeviceManagement) GetManagedDevices()([]ManagedDeviceable) { } return nil } -// GetMaximumDepTokens gets the maximumDepTokens property value. Maximum number of DEP tokens allowed per-tenant. +// GetMaximumDepTokens gets the maximumDepTokens property value. Maximum number of dep tokens allowed per-tenant. // returns a *int32 when successful func (m *DeviceManagement) GetMaximumDepTokens()(*int32) { val, err := m.GetBackingStore().Get("maximumDepTokens") @@ -7487,7 +7487,7 @@ func (m *DeviceManagement) SetIntents(value []DeviceManagementIntentable)() { panic(err) } } -// SetIntuneAccountId sets the intuneAccountId property value. Intune Account ID for given tenant +// SetIntuneAccountId sets the intuneAccountId property value. Intune Account Id for given tenant func (m *DeviceManagement) SetIntuneAccountId(value *i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID)() { err := m.GetBackingStore().Set("intuneAccountId", value) if err != nil { @@ -7571,7 +7571,7 @@ func (m *DeviceManagement) SetManagedDevices(value []ManagedDeviceable)() { panic(err) } } -// SetMaximumDepTokens sets the maximumDepTokens property value. Maximum number of DEP tokens allowed per-tenant. +// SetMaximumDepTokens sets the maximumDepTokens property value. Maximum number of dep tokens allowed per-tenant. func (m *DeviceManagement) SetMaximumDepTokens(value *int32)() { err := m.GetBackingStore().Set("maximumDepTokens", 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_referred_setting_information.go b/models/device_management_configuration_referred_setting_information.go index 16fe9c74a9a..8f0d294486c 100644 --- a/models/device_management_configuration_referred_setting_information.go +++ b/models/device_management_configuration_referred_setting_information.go @@ -79,7 +79,7 @@ func (m *DeviceManagementConfigurationReferredSettingInformation) GetOdataType() } return nil } -// GetSettingDefinitionId gets the settingDefinitionId property value. Setting definition id that is being referred to a setting. Applicable for reusable setting +// GetSettingDefinitionId gets the settingDefinitionId property value. Setting definition id that is being referred to a setting. Applicable for reusable setting. // returns a *string when successful func (m *DeviceManagementConfigurationReferredSettingInformation) GetSettingDefinitionId()(*string) { val, err := m.GetBackingStore().Get("settingDefinitionId") @@ -131,7 +131,7 @@ func (m *DeviceManagementConfigurationReferredSettingInformation) SetOdataType(v panic(err) } } -// SetSettingDefinitionId sets the settingDefinitionId property value. Setting definition id that is being referred to a setting. Applicable for reusable setting +// SetSettingDefinitionId sets the settingDefinitionId property value. Setting definition id that is being referred to a setting. Applicable for reusable setting. func (m *DeviceManagementConfigurationReferredSettingInformation) SetSettingDefinitionId(value *string)() { err := m.GetBackingStore().Set("settingDefinitionId", value) if err != nil { diff --git a/models/device_management_configuration_setting_definition.go b/models/device_management_configuration_setting_definition.go index 6587253802f..c011e5384f7 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. Supports: $filters. +// GetApplicability gets the applicability property value. Details which device setting is applicable on // 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. Specify category in which the setting is under. Support $filters. +// GetCategoryId gets the categoryId property value. Specifies the area group under which the setting is configured in a specified configuration service provider (CSP) // 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 setting. +// GetDescription gets the description property value. Description of the item // 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. Name of the setting. For example: Allow Toast. +// GetDisplayName gets the displayName property value. Display name of the item // 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 setting. Give more details of the setting. +// GetHelpText gets the helpText property value. Help text of the item // 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 id if the setting is a child setting. +// GetRootDefinitionId gets the rootDefinitionId property value. Root setting definition 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. Supports: $filters. +// SetApplicability sets the applicability property value. Details which device setting is applicable on 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. Specify category in which the setting is under. Support $filters. +// SetCategoryId sets the categoryId property value. Specifies the area group under which the setting is configured in a specified configuration service provider (CSP) 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 setting. +// SetDescription sets the description property value. Description of the item func (m *DeviceManagementConfigurationSettingDefinition) SetDescription(value *string)() { err := m.GetBackingStore().Set("description", value) if err != nil { panic(err) } } -// SetDisplayName sets the displayName property value. Name of the setting. For example: Allow Toast. +// SetDisplayName sets the displayName property value. Display name of the item 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 setting. Give more details of the setting. +// SetHelpText sets the helpText property value. Help text of the item 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 id if the setting is a child setting. +// SetRootDefinitionId sets the rootDefinitionId property value. Root setting definition 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_definition.go b/models/device_management_configuration_setting_group_definition.go index fa23ec1955c..7e000516f27 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_simple_setting_definition.go b/models/device_management_configuration_simple_setting_definition.go index acf2724ebd6..20e692fcff0 100644 --- a/models/device_management_configuration_simple_setting_definition.go +++ b/models/device_management_configuration_simple_setting_definition.go @@ -37,7 +37,7 @@ func CreateDeviceManagementConfigurationSimpleSettingDefinitionFromDiscriminator } return NewDeviceManagementConfigurationSimpleSettingDefinition(), nil } -// GetDefaultValue gets the defaultValue property value. Default setting value for this setting +// GetDefaultValue gets the defaultValue property value. Default setting value for this setting. // returns a DeviceManagementConfigurationSettingValueable when successful func (m *DeviceManagementConfigurationSimpleSettingDefinition) GetDefaultValue()(DeviceManagementConfigurationSettingValueable) { val, err := m.GetBackingStore().Get("defaultValue") @@ -49,7 +49,7 @@ func (m *DeviceManagementConfigurationSimpleSettingDefinition) GetDefaultValue() } return nil } -// GetDependedOnBy gets the dependedOnBy property value. list of child settings that depend on this setting +// GetDependedOnBy gets the dependedOnBy property value. list of child settings that depend on this setting. // returns a []DeviceManagementConfigurationSettingDependedOnByable when successful func (m *DeviceManagementConfigurationSimpleSettingDefinition) GetDependedOnBy()([]DeviceManagementConfigurationSettingDependedOnByable) { val, err := m.GetBackingStore().Get("dependedOnBy") @@ -61,7 +61,7 @@ func (m *DeviceManagementConfigurationSimpleSettingDefinition) GetDependedOnBy() } return nil } -// GetDependentOn gets the dependentOn property value. list of parent settings this setting is dependent on +// GetDependentOn gets the dependentOn property value. list of parent settings this setting is dependent on. // returns a []DeviceManagementConfigurationDependentOnable when successful func (m *DeviceManagementConfigurationSimpleSettingDefinition) GetDependentOn()([]DeviceManagementConfigurationDependentOnable) { val, err := m.GetBackingStore().Get("dependentOn") @@ -131,7 +131,7 @@ func (m *DeviceManagementConfigurationSimpleSettingDefinition) GetFieldDeseriali } return res } -// GetValueDefinition gets the valueDefinition property value. Definition of the value for this setting +// GetValueDefinition gets the valueDefinition property value. Definition of the value for this setting. // returns a DeviceManagementConfigurationSettingValueDefinitionable when successful func (m *DeviceManagementConfigurationSimpleSettingDefinition) GetValueDefinition()(DeviceManagementConfigurationSettingValueDefinitionable) { val, err := m.GetBackingStore().Get("valueDefinition") @@ -187,28 +187,28 @@ func (m *DeviceManagementConfigurationSimpleSettingDefinition) Serialize(writer } return nil } -// SetDefaultValue sets the defaultValue property value. Default setting value for this setting +// SetDefaultValue sets the defaultValue property value. Default setting value for this setting. func (m *DeviceManagementConfigurationSimpleSettingDefinition) SetDefaultValue(value DeviceManagementConfigurationSettingValueable)() { err := m.GetBackingStore().Set("defaultValue", value) if err != nil { panic(err) } } -// SetDependedOnBy sets the dependedOnBy property value. list of child settings that depend on this setting +// SetDependedOnBy sets the dependedOnBy property value. list of child settings that depend on this setting. func (m *DeviceManagementConfigurationSimpleSettingDefinition) SetDependedOnBy(value []DeviceManagementConfigurationSettingDependedOnByable)() { err := m.GetBackingStore().Set("dependedOnBy", value) if err != nil { panic(err) } } -// SetDependentOn sets the dependentOn property value. list of parent settings this setting is dependent on +// SetDependentOn sets the dependentOn property value. list of parent settings this setting is dependent on. func (m *DeviceManagementConfigurationSimpleSettingDefinition) SetDependentOn(value []DeviceManagementConfigurationDependentOnable)() { err := m.GetBackingStore().Set("dependentOn", value) if err != nil { panic(err) } } -// SetValueDefinition sets the valueDefinition property value. Definition of the value for this setting +// SetValueDefinition sets the valueDefinition property value. Definition of the value for this setting. func (m *DeviceManagementConfigurationSimpleSettingDefinition) SetValueDefinition(value DeviceManagementConfigurationSettingValueDefinitionable)() { err := m.GetBackingStore().Set("valueDefinition", 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 9a3156b662d..d37e1eda1b2 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, bashScript, unknownFutureValue. +// 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. // 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. Valid values 0 to 87516 +// GetMaximumLength gets the maximumLength property value. Maximum length of string // 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. Valid values 0 to 87516 +// GetMinimumLength gets the minimumLength property value. Minimum length of string // 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, bashScript, unknownFutureValue. +// 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. 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. Valid values 0 to 87516 +// SetMaximumLength sets the maximumLength property value. Maximum length of string 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. Valid values 0 to 87516 +// SetMinimumLength sets the minimumLength property value. Minimum length of string func (m *DeviceManagementConfigurationStringSettingValueDefinition) SetMinimumLength(value *int64)() { err := m.GetBackingStore().Set("minimumLength", value) if err != nil { diff --git a/models/drive.go b/models/drive.go index 690d153aea2..0f9b538e6ed 100644 --- a/models/drive.go +++ b/models/drive.go @@ -33,7 +33,7 @@ func (m *Drive) GetActivities()([]ItemActivityOLDable) { } return nil } -// GetBundles gets the bundles property value. Collection of [bundles][bundle] (albums and multi-select-shared sets of items). Only in personal OneDrive. +// GetBundles gets the bundles property value. Collection of bundles (albums and multi-select-shared sets of items). Only in personal OneDrive. // returns a []DriveItemable when successful func (m *Drive) GetBundles()([]DriveItemable) { val, err := m.GetBackingStore().Get("bundles") @@ -438,7 +438,7 @@ func (m *Drive) SetActivities(value []ItemActivityOLDable)() { panic(err) } } -// SetBundles sets the bundles property value. Collection of [bundles][bundle] (albums and multi-select-shared sets of items). Only in personal OneDrive. +// SetBundles sets the bundles property value. Collection of bundles (albums and multi-select-shared sets of items). Only in personal OneDrive. func (m *Drive) SetBundles(value []DriveItemable)() { err := m.GetBackingStore().Set("bundles", value) if err != nil { diff --git a/models/drive_item.go b/models/drive_item.go index e9299ad023e..24e2b29cddb 100644 --- a/models/drive_item.go +++ b/models/drive_item.go @@ -817,7 +817,7 @@ func (m *DriveItem) GetSubscriptions()([]Subscriptionable) { } return nil } -// GetThumbnails gets the thumbnails property value. Collection of [thumbnailSet][] objects associated with the item. For more information, see [getting thumbnails][]. Read-only. Nullable. +// GetThumbnails gets the thumbnails property value. Collection of thumbnailSet objects associated with the item. For more information, see getting thumbnails. Read-only. Nullable. // returns a []ThumbnailSetable when successful func (m *DriveItem) GetThumbnails()([]ThumbnailSetable) { val, err := m.GetBackingStore().Get("thumbnails") @@ -829,7 +829,7 @@ func (m *DriveItem) GetThumbnails()([]ThumbnailSetable) { } return nil } -// GetVersions gets the versions property value. The list of previous versions of the item. For more info, see [getting previous versions][]. Read-only. Nullable. +// GetVersions gets the versions property value. The list of previous versions of the item. For more info, see getting previous versions. Read-only. Nullable. // returns a []DriveItemVersionable when successful func (m *DriveItem) GetVersions()([]DriveItemVersionable) { val, err := m.GetBackingStore().Get("versions") @@ -1367,14 +1367,14 @@ func (m *DriveItem) SetSubscriptions(value []Subscriptionable)() { panic(err) } } -// SetThumbnails sets the thumbnails property value. Collection of [thumbnailSet][] objects associated with the item. For more information, see [getting thumbnails][]. Read-only. Nullable. +// SetThumbnails sets the thumbnails property value. Collection of thumbnailSet objects associated with the item. For more information, see getting thumbnails. Read-only. Nullable. func (m *DriveItem) SetThumbnails(value []ThumbnailSetable)() { err := m.GetBackingStore().Set("thumbnails", value) if err != nil { panic(err) } } -// SetVersions sets the versions property value. The list of previous versions of the item. For more info, see [getting previous versions][]. Read-only. Nullable. +// SetVersions sets the versions property value. The list of previous versions of the item. For more info, see getting previous versions. Read-only. Nullable. func (m *DriveItem) SetVersions(value []DriveItemVersionable)() { err := m.GetBackingStore().Set("versions", value) if err != nil { diff --git a/models/education_one_roster_api_data_provider.go b/models/education_one_roster_api_data_provider.go index 9ae807bff43..1956c7d05b1 100644 --- a/models/education_one_roster_api_data_provider.go +++ b/models/education_one_roster_api_data_provider.go @@ -135,7 +135,7 @@ func (m *EducationOneRosterApiDataProvider) GetFieldDeserializers()(map[string]f } return res } -// GetProviderName gets the providerName property value. The OneRoster Service Provider name as defined by the [OneRoster specification][oneroster]. +// GetProviderName gets the providerName property value. The OneRoster Service Provider name as defined by the OneRoster specification. // returns a *string when successful func (m *EducationOneRosterApiDataProvider) GetProviderName()(*string) { val, err := m.GetBackingStore().Get("providerName") @@ -147,7 +147,7 @@ func (m *EducationOneRosterApiDataProvider) GetProviderName()(*string) { } return nil } -// GetSchoolsIds gets the schoolsIds property value. The list of [School/Org][orgs] sourcedId to sync. +// GetSchoolsIds gets the schoolsIds property value. The list of School/Org sourcedId to sync. // returns a []string when successful func (m *EducationOneRosterApiDataProvider) GetSchoolsIds()([]string) { val, err := m.GetBackingStore().Get("schoolsIds") @@ -159,7 +159,7 @@ func (m *EducationOneRosterApiDataProvider) GetSchoolsIds()([]string) { } return nil } -// GetTermIds gets the termIds property value. The list of [academic sessions][terms] to sync. +// GetTermIds gets the termIds property value. The list of academic sessions to sync. // returns a []string when successful func (m *EducationOneRosterApiDataProvider) GetTermIds()([]string) { val, err := m.GetBackingStore().Get("termIds") @@ -236,21 +236,21 @@ func (m *EducationOneRosterApiDataProvider) SetCustomizations(value EducationSyn panic(err) } } -// SetProviderName sets the providerName property value. The OneRoster Service Provider name as defined by the [OneRoster specification][oneroster]. +// SetProviderName sets the providerName property value. The OneRoster Service Provider name as defined by the OneRoster specification. func (m *EducationOneRosterApiDataProvider) SetProviderName(value *string)() { err := m.GetBackingStore().Set("providerName", value) if err != nil { panic(err) } } -// SetSchoolsIds sets the schoolsIds property value. The list of [School/Org][orgs] sourcedId to sync. +// SetSchoolsIds sets the schoolsIds property value. The list of School/Org sourcedId to sync. func (m *EducationOneRosterApiDataProvider) SetSchoolsIds(value []string)() { err := m.GetBackingStore().Set("schoolsIds", value) if err != nil { panic(err) } } -// SetTermIds sets the termIds property value. The list of [academic sessions][terms] to sync. +// SetTermIds sets the termIds property value. The list of academic sessions to sync. func (m *EducationOneRosterApiDataProvider) SetTermIds(value []string)() { err := m.GetBackingStore().Set("termIds", value) if err != nil { diff --git a/models/extension_schema_property.go b/models/extension_schema_property.go index c0dc700c97c..c5742d87745 100644 --- a/models/extension_schema_property.go +++ b/models/extension_schema_property.go @@ -100,7 +100,7 @@ func (m *ExtensionSchemaProperty) GetOdataType()(*string) { } return nil } -// GetTypeEscaped gets the type property value. The type of the property that is defined as part of a schema extension. Allowed values are Binary, Boolean, DateTime, Integer or String. See the table below for more details. +// GetTypeEscaped gets the type property value. The type of the property that is defined as part of a schema extension. Allowed values are Binary, Boolean, DateTime, Integer, or String. For more information, see Supported property data types. // returns a *string when successful func (m *ExtensionSchemaProperty) GetTypeEscaped()(*string) { val, err := m.GetBackingStore().Get("typeEscaped") @@ -165,7 +165,7 @@ func (m *ExtensionSchemaProperty) SetOdataType(value *string)() { panic(err) } } -// SetTypeEscaped sets the type property value. The type of the property that is defined as part of a schema extension. Allowed values are Binary, Boolean, DateTime, Integer or String. See the table below for more details. +// SetTypeEscaped sets the type property value. The type of the property that is defined as part of a schema extension. Allowed values are Binary, Boolean, DateTime, Integer, or String. For more information, see Supported property data types. func (m *ExtensionSchemaProperty) SetTypeEscaped(value *string)() { err := m.GetBackingStore().Set("typeEscaped", value) if err != nil { diff --git a/models/hardware_configuration.go b/models/hardware_configuration.go index d33bef8399c..2411933e98b 100644 --- a/models/hardware_configuration.go +++ b/models/hardware_configuration.go @@ -21,7 +21,7 @@ func NewHardwareConfiguration()(*HardwareConfiguration) { func CreateHardwareConfigurationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewHardwareConfiguration(), nil } -// GetAssignments gets the assignments property value. List of the Azure AD user group ids that hardware configuration will be applied to. Only security groups and Office 365 Groups are supported. +// GetAssignments gets the assignments property value. A list of the Entra user group ids that hardware configuration will be applied to. Only security groups and Office 365 Groups are supported. Optional. // returns a []HardwareConfigurationAssignmentable when successful func (m *HardwareConfiguration) GetAssignments()([]HardwareConfigurationAssignmentable) { val, err := m.GetBackingStore().Get("assignments") @@ -33,7 +33,7 @@ func (m *HardwareConfiguration) GetAssignments()([]HardwareConfigurationAssignme } return nil } -// GetConfigurationFileContent gets the configurationFileContent property value. File content of the hardware configuration +// GetConfigurationFileContent gets the configurationFileContent property value. The file content contains custom hardware settings that will be applied to the assigned devices' BIOS. Max allowed file size is 5KB. Represented as bytes. Required. // returns a []byte when successful func (m *HardwareConfiguration) GetConfigurationFileContent()([]byte) { val, err := m.GetBackingStore().Get("configurationFileContent") @@ -45,7 +45,7 @@ func (m *HardwareConfiguration) GetConfigurationFileContent()([]byte) { } return nil } -// GetCreatedDateTime gets the createdDateTime property value. Timestamp of when the hardware configuration was created. This property is read-only. +// GetCreatedDateTime gets the createdDateTime property value. The date and time of when the BIOS configuration profile was created. The value cannot be modified and is automatically populated when the device is enrolled. 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. Read-Only. This property is read-only. // returns a *Time when successful func (m *HardwareConfiguration) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("createdDateTime") @@ -57,7 +57,7 @@ func (m *HardwareConfiguration) GetCreatedDateTime()(*i336074805fc853987abe6f7fe } return nil } -// GetDescription gets the description property value. Description of the hardware configuration +// GetDescription gets the description property value. The description of the hardware configuration. Use this to provide context, purpose, applications, etc of the BIOS configuration profile for your organization's admins. Max length is 1000 characters. Optional. // returns a *string when successful func (m *HardwareConfiguration) GetDescription()(*string) { val, err := m.GetBackingStore().Get("description") @@ -69,7 +69,7 @@ func (m *HardwareConfiguration) GetDescription()(*string) { } return nil } -// GetDeviceRunStates gets the deviceRunStates property value. List of run states for the hardware configuration across all devices +// GetDeviceRunStates gets the deviceRunStates property value. List of run states for the hardware configuration across all devices. Read-Only. // returns a []HardwareConfigurationDeviceStateable when successful func (m *HardwareConfiguration) GetDeviceRunStates()([]HardwareConfigurationDeviceStateable) { val, err := m.GetBackingStore().Get("deviceRunStates") @@ -81,7 +81,7 @@ func (m *HardwareConfiguration) GetDeviceRunStates()([]HardwareConfigurationDevi } return nil } -// GetDisplayName gets the displayName property value. Name of the hardware configuration +// GetDisplayName gets the displayName property value. The name of the hardware BIOS configuration profile. It serves as user-friendly name to identify hardware BIOS configuration profiles. Max length is 150 characters. Required. Read-Only. // returns a *string when successful func (m *HardwareConfiguration) GetDisplayName()(*string) { val, err := m.GetBackingStore().Get("displayName") @@ -263,7 +263,7 @@ func (m *HardwareConfiguration) GetFieldDeserializers()(map[string]func(i878a80d } return res } -// GetFileName gets the fileName property value. File name of the hardware configuration +// GetFileName gets the fileName property value. The file name for the BIOS configuration profile's ConfigurationFileContent. Max length is 150 characters. Required. // returns a *string when successful func (m *HardwareConfiguration) GetFileName()(*string) { val, err := m.GetBackingStore().Get("fileName") @@ -287,7 +287,7 @@ func (m *HardwareConfiguration) GetHardwareConfigurationFormat()(*HardwareConfig } return nil } -// GetLastModifiedDateTime gets the lastModifiedDateTime property value. Timestamp of when the hardware configuration was modified. This property is read-only. +// GetLastModifiedDateTime gets the lastModifiedDateTime property value. The date and time of when the BIOS configuration profile was last modified. The value cannot be modified and is automatically populated when the device is enrolled. 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. Read-Only. Read-Only. This property is read-only. // returns a *Time when successful func (m *HardwareConfiguration) GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("lastModifiedDateTime") @@ -299,7 +299,7 @@ func (m *HardwareConfiguration) GetLastModifiedDateTime()(*i336074805fc853987abe } return nil } -// GetPerDevicePasswordDisabled gets the perDevicePasswordDisabled property value. A value indicating whether per devcive pasword disabled +// GetPerDevicePasswordDisabled gets the perDevicePasswordDisabled property value. When TRUE, indicates whether the policy-assigned devices' passwords are disabled. When FALSE, indicates they are enabled. Default is FALSE. Required. // returns a *bool when successful func (m *HardwareConfiguration) GetPerDevicePasswordDisabled()(*bool) { val, err := m.GetBackingStore().Get("perDevicePasswordDisabled") @@ -311,7 +311,7 @@ func (m *HardwareConfiguration) GetPerDevicePasswordDisabled()(*bool) { } return nil } -// GetRoleScopeTagIds gets the roleScopeTagIds property value. List of Scope Tag IDs for the hardware configuration +// GetRoleScopeTagIds gets the roleScopeTagIds property value. A list of unique Scope Tag IDs associated with the hardware configuration. Optional. // returns a []string when successful func (m *HardwareConfiguration) GetRoleScopeTagIds()([]string) { val, err := m.GetBackingStore().Get("roleScopeTagIds") @@ -323,7 +323,7 @@ func (m *HardwareConfiguration) GetRoleScopeTagIds()([]string) { } return nil } -// GetRunSummary gets the runSummary property value. A summary of the results from an attempt to configure hardware settings +// GetRunSummary gets the runSummary property value. A summary of the results from an attempt to configure hardware settings. Read-Only. // returns a HardwareConfigurationRunSummaryable when successful func (m *HardwareConfiguration) GetRunSummary()(HardwareConfigurationRunSummaryable) { val, err := m.GetBackingStore().Get("runSummary") @@ -335,7 +335,7 @@ func (m *HardwareConfiguration) GetRunSummary()(HardwareConfigurationRunSummarya } return nil } -// GetUserRunStates gets the userRunStates property value. List of run states for the hardware configuration across all users +// GetUserRunStates gets the userRunStates property value. List of run states for the hardware configuration across all users. Read-Only. // returns a []HardwareConfigurationUserStateable when successful func (m *HardwareConfiguration) GetUserRunStates()([]HardwareConfigurationUserStateable) { val, err := m.GetBackingStore().Get("userRunStates") @@ -347,7 +347,7 @@ func (m *HardwareConfiguration) GetUserRunStates()([]HardwareConfigurationUserSt } return nil } -// GetVersion gets the version property value. Version of the hardware configuration (E.g. 1, 2, 3 ...) +// GetVersion gets the version property value. The version of the hardware configuration (E.g. 1, 2, 3 ...). This is incremented after a change to the BIOS configuration profile's settings file name (FileName property), settings file content (ConfigurationFileContent property), or the PerDevicePasswordDisabled property. Read-Only. // returns a *int32 when successful func (m *HardwareConfiguration) GetVersion()(*int32) { val, err := m.GetBackingStore().Get("version") @@ -458,49 +458,49 @@ func (m *HardwareConfiguration) Serialize(writer i878a80d2330e89d26896388a3f487e } return nil } -// SetAssignments sets the assignments property value. List of the Azure AD user group ids that hardware configuration will be applied to. Only security groups and Office 365 Groups are supported. +// SetAssignments sets the assignments property value. A list of the Entra user group ids that hardware configuration will be applied to. Only security groups and Office 365 Groups are supported. Optional. func (m *HardwareConfiguration) SetAssignments(value []HardwareConfigurationAssignmentable)() { err := m.GetBackingStore().Set("assignments", value) if err != nil { panic(err) } } -// SetConfigurationFileContent sets the configurationFileContent property value. File content of the hardware configuration +// SetConfigurationFileContent sets the configurationFileContent property value. The file content contains custom hardware settings that will be applied to the assigned devices' BIOS. Max allowed file size is 5KB. Represented as bytes. Required. func (m *HardwareConfiguration) SetConfigurationFileContent(value []byte)() { err := m.GetBackingStore().Set("configurationFileContent", value) if err != nil { panic(err) } } -// SetCreatedDateTime sets the createdDateTime property value. Timestamp of when the hardware configuration was created. This property is read-only. +// SetCreatedDateTime sets the createdDateTime property value. The date and time of when the BIOS configuration profile was created. The value cannot be modified and is automatically populated when the device is enrolled. 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. Read-Only. This property is read-only. func (m *HardwareConfiguration) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("createdDateTime", value) if err != nil { panic(err) } } -// SetDescription sets the description property value. Description of the hardware configuration +// SetDescription sets the description property value. The description of the hardware configuration. Use this to provide context, purpose, applications, etc of the BIOS configuration profile for your organization's admins. Max length is 1000 characters. Optional. func (m *HardwareConfiguration) SetDescription(value *string)() { err := m.GetBackingStore().Set("description", value) if err != nil { panic(err) } } -// SetDeviceRunStates sets the deviceRunStates property value. List of run states for the hardware configuration across all devices +// SetDeviceRunStates sets the deviceRunStates property value. List of run states for the hardware configuration across all devices. Read-Only. func (m *HardwareConfiguration) SetDeviceRunStates(value []HardwareConfigurationDeviceStateable)() { err := m.GetBackingStore().Set("deviceRunStates", value) if err != nil { panic(err) } } -// SetDisplayName sets the displayName property value. Name of the hardware configuration +// SetDisplayName sets the displayName property value. The name of the hardware BIOS configuration profile. It serves as user-friendly name to identify hardware BIOS configuration profiles. Max length is 150 characters. Required. Read-Only. func (m *HardwareConfiguration) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) if err != nil { panic(err) } } -// SetFileName sets the fileName property value. File name of the hardware configuration +// SetFileName sets the fileName property value. The file name for the BIOS configuration profile's ConfigurationFileContent. Max length is 150 characters. Required. func (m *HardwareConfiguration) SetFileName(value *string)() { err := m.GetBackingStore().Set("fileName", value) if err != nil { @@ -514,42 +514,42 @@ func (m *HardwareConfiguration) SetHardwareConfigurationFormat(value *HardwareCo panic(err) } } -// SetLastModifiedDateTime sets the lastModifiedDateTime property value. Timestamp of when the hardware configuration was modified. This property is read-only. +// SetLastModifiedDateTime sets the lastModifiedDateTime property value. The date and time of when the BIOS configuration profile was last modified. The value cannot be modified and is automatically populated when the device is enrolled. 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. Read-Only. Read-Only. This property is read-only. func (m *HardwareConfiguration) SetLastModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("lastModifiedDateTime", value) if err != nil { panic(err) } } -// SetPerDevicePasswordDisabled sets the perDevicePasswordDisabled property value. A value indicating whether per devcive pasword disabled +// SetPerDevicePasswordDisabled sets the perDevicePasswordDisabled property value. When TRUE, indicates whether the policy-assigned devices' passwords are disabled. When FALSE, indicates they are enabled. Default is FALSE. Required. func (m *HardwareConfiguration) SetPerDevicePasswordDisabled(value *bool)() { err := m.GetBackingStore().Set("perDevicePasswordDisabled", value) if err != nil { panic(err) } } -// SetRoleScopeTagIds sets the roleScopeTagIds property value. List of Scope Tag IDs for the hardware configuration +// SetRoleScopeTagIds sets the roleScopeTagIds property value. A list of unique Scope Tag IDs associated with the hardware configuration. Optional. func (m *HardwareConfiguration) SetRoleScopeTagIds(value []string)() { err := m.GetBackingStore().Set("roleScopeTagIds", value) if err != nil { panic(err) } } -// SetRunSummary sets the runSummary property value. A summary of the results from an attempt to configure hardware settings +// SetRunSummary sets the runSummary property value. A summary of the results from an attempt to configure hardware settings. Read-Only. func (m *HardwareConfiguration) SetRunSummary(value HardwareConfigurationRunSummaryable)() { err := m.GetBackingStore().Set("runSummary", value) if err != nil { panic(err) } } -// SetUserRunStates sets the userRunStates property value. List of run states for the hardware configuration across all users +// SetUserRunStates sets the userRunStates property value. List of run states for the hardware configuration across all users. Read-Only. func (m *HardwareConfiguration) SetUserRunStates(value []HardwareConfigurationUserStateable)() { err := m.GetBackingStore().Set("userRunStates", value) if err != nil { panic(err) } } -// SetVersion sets the version property value. Version of the hardware configuration (E.g. 1, 2, 3 ...) +// SetVersion sets the version property value. The version of the hardware configuration (E.g. 1, 2, 3 ...). This is incremented after a change to the BIOS configuration profile's settings file name (FileName property), settings file content (ConfigurationFileContent property), or the PerDevicePasswordDisabled property. Read-Only. func (m *HardwareConfiguration) SetVersion(value *int32)() { err := m.GetBackingStore().Set("version", value) if err != nil { diff --git a/models/ios_lob_app_provisioning_configuration.go b/models/ios_lob_app_provisioning_configuration.go index 762ebf06ff5..4c72c8d7e93 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, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. +// GetAssignments gets the assignments property value. The associated group assignments for IosLobAppProvisioningConfiguration. // 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. 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. +// GetExpirationDateTime gets the expirationDateTime property value. Optional profile expiration date and time. // 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, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. +// SetAssignments sets the assignments property value. The associated group assignments for IosLobAppProvisioningConfiguration. 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. 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. +// SetExpirationDateTime sets the expirationDateTime property value. Optional profile expiration date and time. 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 53582dee3c0..0156207f755 100644 --- a/models/ios_managed_app_protection.go +++ b/models/ios_managed_app_protection.go @@ -34,7 +34,7 @@ func (m *IosManagedAppProtection) GetAllowedIosDeviceModels()(*string) { } return nil } -// GetAppActionIfAccountIsClockedOut gets the appActionIfAccountIsClockedOut property value. Defines a managed app behavior, either block or warn, if the user is clocked out (non-working time). +// GetAppActionIfAccountIsClockedOut gets the appActionIfAccountIsClockedOut property value. Defines a managed app behavior, either block or warn, if the user is clocked out (non-working time). Possible values are: block, wipe, warn. // returns a *ManagedAppRemediationAction when successful func (m *IosManagedAppProtection) GetAppActionIfAccountIsClockedOut()(*ManagedAppRemediationAction) { val, err := m.GetBackingStore().Get("appActionIfAccountIsClockedOut") @@ -670,7 +670,7 @@ func (m *IosManagedAppProtection) SetAllowedIosDeviceModels(value *string)() { panic(err) } } -// SetAppActionIfAccountIsClockedOut sets the appActionIfAccountIsClockedOut property value. Defines a managed app behavior, either block or warn, if the user is clocked out (non-working time). +// SetAppActionIfAccountIsClockedOut sets the appActionIfAccountIsClockedOut property value. Defines a managed app behavior, either block or warn, if the user is clocked out (non-working time). Possible values are: block, wipe, warn. func (m *IosManagedAppProtection) SetAppActionIfAccountIsClockedOut(value *ManagedAppRemediationAction)() { err := m.GetBackingStore().Set("appActionIfAccountIsClockedOut", value) if err != nil { diff --git a/models/item_reference.go b/models/item_reference.go index d28f0b9fdc3..cf83488b68e 100644 --- a/models/item_reference.go +++ b/models/item_reference.go @@ -40,7 +40,7 @@ func (m *ItemReference) GetAdditionalData()(map[string]any) { func (m *ItemReference) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetDriveId gets the driveId property value. Unique identifier of the drive instance that contains the driveItem. Only returned if the item is located in a [drive][]. Read-only. +// GetDriveId gets the driveId property value. Unique identifier of the drive instance that contains the driveItem. Only returned if the item is located in a drive. Read-only. // returns a *string when successful func (m *ItemReference) GetDriveId()(*string) { val, err := m.GetBackingStore().Get("driveId") @@ -52,7 +52,7 @@ func (m *ItemReference) GetDriveId()(*string) { } return nil } -// GetDriveType gets the driveType property value. Identifies the type of drive. Only returned if the item is located in a [drive][]. See [drive][] resource for values. +// GetDriveType gets the driveType property value. Identifies the type of drive. Only returned if the item is located in a drive. See drive resource for values. // returns a *string when successful func (m *ItemReference) GetDriveType()(*string) { val, err := m.GetBackingStore().Get("driveType") @@ -208,7 +208,7 @@ func (m *ItemReference) GetPath()(*string) { } return nil } -// GetShareId gets the shareId property value. A unique identifier for a shared resource that can be accessed via the [Shares][] API. +// GetShareId gets the shareId property value. A unique identifier for a shared resource that can be accessed via the Shares API. // returns a *string when successful func (m *ItemReference) GetShareId()(*string) { val, err := m.GetBackingStore().Get("shareId") @@ -232,7 +232,7 @@ func (m *ItemReference) GetSharepointIds()(SharepointIdsable) { } return nil } -// GetSiteId gets the siteId property value. For OneDrive for Business and SharePoint, this property represents the ID of the site that contains the parent document library of the driveItem resource or the parent list of the listItem resource. The value is the same as the id property of that [site][] resource. It is an opaque string that consists of three identifiers of the site. For OneDrive, this property is not populated. +// GetSiteId gets the siteId property value. For OneDrive for Business and SharePoint, this property represents the ID of the site that contains the parent document library of the driveItem resource or the parent list of the listItem resource. The value is the same as the id property of that site resource. It is an opaque string that consists of three identifiers of the site. For OneDrive, this property is not populated. // returns a *string when successful func (m *ItemReference) GetSiteId()(*string) { val, err := m.GetBackingStore().Get("siteId") @@ -319,14 +319,14 @@ func (m *ItemReference) SetAdditionalData(value map[string]any)() { func (m *ItemReference) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetDriveId sets the driveId property value. Unique identifier of the drive instance that contains the driveItem. Only returned if the item is located in a [drive][]. Read-only. +// SetDriveId sets the driveId property value. Unique identifier of the drive instance that contains the driveItem. Only returned if the item is located in a drive. Read-only. func (m *ItemReference) SetDriveId(value *string)() { err := m.GetBackingStore().Set("driveId", value) if err != nil { panic(err) } } -// SetDriveType sets the driveType property value. Identifies the type of drive. Only returned if the item is located in a [drive][]. See [drive][] resource for values. +// SetDriveType sets the driveType property value. Identifies the type of drive. Only returned if the item is located in a drive. See drive resource for values. func (m *ItemReference) SetDriveType(value *string)() { err := m.GetBackingStore().Set("driveType", value) if err != nil { @@ -361,7 +361,7 @@ func (m *ItemReference) SetPath(value *string)() { panic(err) } } -// SetShareId sets the shareId property value. A unique identifier for a shared resource that can be accessed via the [Shares][] API. +// SetShareId sets the shareId property value. A unique identifier for a shared resource that can be accessed via the Shares API. func (m *ItemReference) SetShareId(value *string)() { err := m.GetBackingStore().Set("shareId", value) if err != nil { @@ -375,7 +375,7 @@ func (m *ItemReference) SetSharepointIds(value SharepointIdsable)() { panic(err) } } -// SetSiteId sets the siteId property value. For OneDrive for Business and SharePoint, this property represents the ID of the site that contains the parent document library of the driveItem resource or the parent list of the listItem resource. The value is the same as the id property of that [site][] resource. It is an opaque string that consists of three identifiers of the site. For OneDrive, this property is not populated. +// SetSiteId sets the siteId property value. For OneDrive for Business and SharePoint, this property represents the ID of the site that contains the parent document library of the driveItem resource or the parent list of the listItem resource. The value is the same as the id property of that site resource. It is an opaque string that consists of three identifiers of the site. For OneDrive, this property is not populated. func (m *ItemReference) SetSiteId(value *string)() { err := m.GetBackingStore().Set("siteId", value) if err != nil { diff --git a/models/key_value_pair.go b/models/key_value_pair.go index 8ddc2fa6098..56eec01cf0e 100644 --- a/models/key_value_pair.go +++ b/models/key_value_pair.go @@ -76,7 +76,7 @@ func (m *KeyValuePair) GetFieldDeserializers()(map[string]func(i878a80d2330e89d2 } return res } -// GetName gets the name property value. Name for this key-value pair +// GetName gets the name property value. Name for this key-value pair. For more information about possible names for each resource type that uses this configuration, see keyValuePair names and values. // returns a *string when successful func (m *KeyValuePair) GetName()(*string) { val, err := m.GetBackingStore().Get("name") @@ -100,7 +100,7 @@ func (m *KeyValuePair) GetOdataType()(*string) { } return nil } -// GetValue gets the value property value. Value for this key-value pair +// GetValue gets the value property value. Value for this key-value pair. For more information about possible values for each resource type that uses this configuration, see keyValuePair names and values. // returns a *string when successful func (m *KeyValuePair) GetValue()(*string) { val, err := m.GetBackingStore().Get("value") @@ -151,7 +151,7 @@ func (m *KeyValuePair) SetAdditionalData(value map[string]any)() { func (m *KeyValuePair) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetName sets the name property value. Name for this key-value pair +// SetName sets the name property value. Name for this key-value pair. For more information about possible names for each resource type that uses this configuration, see keyValuePair names and values. func (m *KeyValuePair) SetName(value *string)() { err := m.GetBackingStore().Set("name", value) if err != nil { @@ -165,7 +165,7 @@ func (m *KeyValuePair) SetOdataType(value *string)() { panic(err) } } -// SetValue sets the value property value. Value for this key-value pair +// SetValue sets the value property value. Value for this key-value pair. For more information about possible values for each resource type that uses this configuration, see keyValuePair names and values. func (m *KeyValuePair) SetValue(value *string)() { err := m.GetBackingStore().Set("value", value) if err != nil { diff --git a/models/list_item.go b/models/list_item.go index eeb19d29c36..0b28778fe99 100644 --- a/models/list_item.go +++ b/models/list_item.go @@ -81,7 +81,7 @@ func (m *ListItem) GetDocumentSetVersions()([]DocumentSetVersionable) { } return nil } -// GetDriveItem gets the driveItem property value. For document libraries, the driveItem relationship exposes the listItem as a [driveItem][] +// GetDriveItem gets the driveItem property value. For document libraries, the driveItem relationship exposes the listItem as a driveItem // returns a DriveItemable when successful func (m *ListItem) GetDriveItem()(DriveItemable) { val, err := m.GetBackingStore().Get("driveItem") @@ -358,7 +358,7 @@ func (m *ListItem) SetDocumentSetVersions(value []DocumentSetVersionable)() { panic(err) } } -// SetDriveItem sets the driveItem property value. For document libraries, the driveItem relationship exposes the listItem as a [driveItem][] +// SetDriveItem sets the driveItem property value. For document libraries, the driveItem relationship exposes the listItem as a driveItem func (m *ListItem) SetDriveItem(value DriveItemable)() { err := m.GetBackingStore().Set("driveItem", value) if err != nil { diff --git a/models/m365_apps_installation_options.go b/models/m365_apps_installation_options.go index 5d5b232120c..219464f4763 100644 --- a/models/m365_apps_installation_options.go +++ b/models/m365_apps_installation_options.go @@ -2,7 +2,6 @@ package models import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) type M365AppsInstallationOptions struct { @@ -150,258 +149,3 @@ type M365AppsInstallationOptionsable interface { SetAppsForWindows(value AppsInstallationOptionsForWindowsable)() SetUpdateChannel(value *AppsUpdateChannelType)() } - -type AppsInstallationOptionsForWindows struct { - // Stores model information. - backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore -} -// NewAppsInstallationOptionsForWindows instantiates a new AppsInstallationOptionsForWindows and sets the default values. -func NewAppsInstallationOptionsForWindows()(*AppsInstallationOptionsForWindows) { - m := &AppsInstallationOptionsForWindows{ - } - m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); - m.SetAdditionalData(make(map[string]any)) - return m -} -// CreateAppsInstallationOptionsForWindowsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value -// returns a Parsable when successful -func CreateAppsInstallationOptionsForWindowsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { - return NewAppsInstallationOptionsForWindows(), 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 *AppsInstallationOptionsForWindows) 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 *AppsInstallationOptionsForWindows) 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 *AppsInstallationOptionsForWindows) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { - res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) - res["isMicrosoft365AppsEnabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetBoolValue() - if err != nil { - return err - } - if val != nil { - m.SetIsMicrosoft365AppsEnabled(val) - } - return nil - } - res["isProjectEnabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetBoolValue() - if err != nil { - return err - } - if val != nil { - m.SetIsProjectEnabled(val) - } - return nil - } - res["isSkypeForBusinessEnabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetBoolValue() - if err != nil { - return err - } - if val != nil { - m.SetIsSkypeForBusinessEnabled(val) - } - return nil - } - res["isVisioEnabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetBoolValue() - if err != nil { - return err - } - if val != nil { - m.SetIsVisioEnabled(val) - } - return nil - } - res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetStringValue() - if err != nil { - return err - } - if val != nil { - m.SetOdataType(val) - } - return nil - } - return res -} -// GetIsMicrosoft365AppsEnabled gets the isMicrosoft365AppsEnabled property value. Specifies whether users can install Microsoft 365 apps, including Skype for Business, on their Windows devices. The default value is true. -// returns a *bool when successful -func (m *AppsInstallationOptionsForWindows) GetIsMicrosoft365AppsEnabled()(*bool) { - val, err := m.GetBackingStore().Get("isMicrosoft365AppsEnabled") - if err != nil { - panic(err) - } - if val != nil { - return val.(*bool) - } - return nil -} -// GetIsProjectEnabled gets the isProjectEnabled property value. Specifies whether users can install Microsoft Project on their Windows devices. The default value is true. -// returns a *bool when successful -func (m *AppsInstallationOptionsForWindows) GetIsProjectEnabled()(*bool) { - val, err := m.GetBackingStore().Get("isProjectEnabled") - if err != nil { - panic(err) - } - if val != nil { - return val.(*bool) - } - return nil -} -// GetIsSkypeForBusinessEnabled gets the isSkypeForBusinessEnabled property value. Specifies whether users can install Skype for Business (standalone) on their Windows devices. The default value is true. -// returns a *bool when successful -func (m *AppsInstallationOptionsForWindows) GetIsSkypeForBusinessEnabled()(*bool) { - val, err := m.GetBackingStore().Get("isSkypeForBusinessEnabled") - if err != nil { - panic(err) - } - if val != nil { - return val.(*bool) - } - return nil -} -// GetIsVisioEnabled gets the isVisioEnabled property value. Specifies whether users can install Visio on their Windows devices. The default value is true. -// returns a *bool when successful -func (m *AppsInstallationOptionsForWindows) GetIsVisioEnabled()(*bool) { - val, err := m.GetBackingStore().Get("isVisioEnabled") - if err != nil { - panic(err) - } - if val != nil { - return val.(*bool) - } - return nil -} -// GetOdataType gets the @odata.type property value. The OdataType property -// returns a *string when successful -func (m *AppsInstallationOptionsForWindows) GetOdataType()(*string) { - val, err := m.GetBackingStore().Get("odataType") - if err != nil { - panic(err) - } - if val != nil { - return val.(*string) - } - return nil -} -// Serialize serializes information the current object -func (m *AppsInstallationOptionsForWindows) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { - { - err := writer.WriteBoolValue("isMicrosoft365AppsEnabled", m.GetIsMicrosoft365AppsEnabled()) - if err != nil { - return err - } - } - { - err := writer.WriteBoolValue("isProjectEnabled", m.GetIsProjectEnabled()) - if err != nil { - return err - } - } - { - err := writer.WriteBoolValue("isSkypeForBusinessEnabled", m.GetIsSkypeForBusinessEnabled()) - if err != nil { - return err - } - } - { - err := writer.WriteBoolValue("isVisioEnabled", m.GetIsVisioEnabled()) - if err != nil { - return err - } - } - { - err := writer.WriteStringValue("@odata.type", m.GetOdataType()) - if err != nil { - return err - } - } - { - err := writer.WriteAdditionalData(m.GetAdditionalData()) - if err != nil { - return err - } - } - return nil -} -// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. -func (m *AppsInstallationOptionsForWindows) 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 *AppsInstallationOptionsForWindows) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { - m.backingStore = value -} -// SetIsMicrosoft365AppsEnabled sets the isMicrosoft365AppsEnabled property value. Specifies whether users can install Microsoft 365 apps, including Skype for Business, on their Windows devices. The default value is true. -func (m *AppsInstallationOptionsForWindows) SetIsMicrosoft365AppsEnabled(value *bool)() { - err := m.GetBackingStore().Set("isMicrosoft365AppsEnabled", value) - if err != nil { - panic(err) - } -} -// SetIsProjectEnabled sets the isProjectEnabled property value. Specifies whether users can install Microsoft Project on their Windows devices. The default value is true. -func (m *AppsInstallationOptionsForWindows) SetIsProjectEnabled(value *bool)() { - err := m.GetBackingStore().Set("isProjectEnabled", value) - if err != nil { - panic(err) - } -} -// SetIsSkypeForBusinessEnabled sets the isSkypeForBusinessEnabled property value. Specifies whether users can install Skype for Business (standalone) on their Windows devices. The default value is true. -func (m *AppsInstallationOptionsForWindows) SetIsSkypeForBusinessEnabled(value *bool)() { - err := m.GetBackingStore().Set("isSkypeForBusinessEnabled", value) - if err != nil { - panic(err) - } -} -// SetIsVisioEnabled sets the isVisioEnabled property value. Specifies whether users can install Visio on their Windows devices. The default value is true. -func (m *AppsInstallationOptionsForWindows) SetIsVisioEnabled(value *bool)() { - err := m.GetBackingStore().Set("isVisioEnabled", value) - if err != nil { - panic(err) - } -} -// SetOdataType sets the @odata.type property value. The OdataType property -func (m *AppsInstallationOptionsForWindows) SetOdataType(value *string)() { - err := m.GetBackingStore().Set("odataType", value) - if err != nil { - panic(err) - } -} -type AppsInstallationOptionsForWindowsable interface { - i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder - ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel - i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetIsMicrosoft365AppsEnabled()(*bool) - GetIsProjectEnabled()(*bool) - GetIsSkypeForBusinessEnabled()(*bool) - GetIsVisioEnabled()(*bool) - GetOdataType()(*string) - SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetIsMicrosoft365AppsEnabled(value *bool)() - SetIsProjectEnabled(value *bool)() - SetIsSkypeForBusinessEnabled(value *bool)() - SetIsVisioEnabled(value *bool)() - SetOdataType(value *string)() -} diff --git a/models/managed_app_log_collection_request.go b/models/managed_app_log_collection_request.go index 3ec1cd14c70..470ee8207bd 100644 --- a/models/managed_app_log_collection_request.go +++ b/models/managed_app_log_collection_request.go @@ -135,7 +135,7 @@ func (m *ManagedAppLogCollectionRequest) GetFieldDeserializers()(map[string]func } return res } -// GetManagedAppRegistrationId gets the managedAppRegistrationId property value. The unique identifier of the app instance for which diagnostic was collected. +// GetManagedAppRegistrationId gets the managedAppRegistrationId property value. The unique identifier of the app instance for which diagnostic logs were collected. Read-only. // returns a *string when successful func (m *ManagedAppLogCollectionRequest) GetManagedAppRegistrationId()(*string) { val, err := m.GetBackingStore().Get("managedAppRegistrationId") @@ -147,7 +147,7 @@ func (m *ManagedAppLogCollectionRequest) GetManagedAppRegistrationId()(*string) } return nil } -// GetRequestedBy gets the requestedBy property value. The user principal name associated with the request for the managed application log collection. +// GetRequestedBy gets the requestedBy property value. The user principal name associated with the request for the managed application log collection. Read-only. // returns a *string when successful func (m *ManagedAppLogCollectionRequest) GetRequestedBy()(*string) { val, err := m.GetBackingStore().Get("requestedBy") @@ -195,7 +195,7 @@ func (m *ManagedAppLogCollectionRequest) GetStatus()(*string) { } return nil } -// GetUploadedLogs gets the uploadedLogs property value. The collection of log upload results as reported by each component on the device. Such components can be the application itself, the Mobile Application Management (MAM) SDK, and other on-device components that are requested to upload diagnostic logs. +// GetUploadedLogs gets the uploadedLogs property value. The collection of log upload results as reported by each component on the device. Such components can be the application itself, the Mobile Application Management (MAM) SDK, and other on-device components that are requested to upload diagnostic logs. Read-only. // returns a []ManagedAppLogUploadable when successful func (m *ManagedAppLogCollectionRequest) GetUploadedLogs()([]ManagedAppLogUploadable) { val, err := m.GetBackingStore().Get("uploadedLogs") @@ -307,14 +307,14 @@ func (m *ManagedAppLogCollectionRequest) SetCompletedDateTime(value *i336074805f panic(err) } } -// SetManagedAppRegistrationId sets the managedAppRegistrationId property value. The unique identifier of the app instance for which diagnostic was collected. +// SetManagedAppRegistrationId sets the managedAppRegistrationId property value. The unique identifier of the app instance for which diagnostic logs were collected. Read-only. func (m *ManagedAppLogCollectionRequest) SetManagedAppRegistrationId(value *string)() { err := m.GetBackingStore().Set("managedAppRegistrationId", value) if err != nil { panic(err) } } -// SetRequestedBy sets the requestedBy property value. The user principal name associated with the request for the managed application log collection. +// SetRequestedBy sets the requestedBy property value. The user principal name associated with the request for the managed application log collection. Read-only. func (m *ManagedAppLogCollectionRequest) SetRequestedBy(value *string)() { err := m.GetBackingStore().Set("requestedBy", value) if err != nil { @@ -342,7 +342,7 @@ func (m *ManagedAppLogCollectionRequest) SetStatus(value *string)() { panic(err) } } -// SetUploadedLogs sets the uploadedLogs property value. The collection of log upload results as reported by each component on the device. Such components can be the application itself, the Mobile Application Management (MAM) SDK, and other on-device components that are requested to upload diagnostic logs. +// SetUploadedLogs sets the uploadedLogs property value. The collection of log upload results as reported by each component on the device. Such components can be the application itself, the Mobile Application Management (MAM) SDK, and other on-device components that are requested to upload diagnostic logs. Read-only. func (m *ManagedAppLogCollectionRequest) SetUploadedLogs(value []ManagedAppLogUploadable)() { err := m.GetBackingStore().Set("uploadedLogs", value) if err != nil { diff --git a/models/managed_app_log_upload.go b/models/managed_app_log_upload.go index 6457e7144ce..b995be59a00 100644 --- a/models/managed_app_log_upload.go +++ b/models/managed_app_log_upload.go @@ -87,7 +87,7 @@ func (m *ManagedAppLogUpload) GetFieldDeserializers()(map[string]func(i878a80d23 } return res } -// GetManagedAppComponent gets the managedAppComponent property value. The Mobile Application Management (MAM) Logs Uploading Component. +// GetManagedAppComponent gets the managedAppComponent property value. The Mobile Application Management (MAM) Logs Uploading Component. Such components can be the application itself, the MAM SDK, and other on-device components that are capable of uploading diagnostic logs. Read-only. // returns a *string when successful func (m *ManagedAppLogUpload) GetManagedAppComponent()(*string) { val, err := m.GetBackingStore().Get("managedAppComponent") @@ -123,7 +123,7 @@ func (m *ManagedAppLogUpload) GetOdataType()(*string) { } return nil } -// GetReferenceId gets the referenceId property value. A provider-specific reference id for the uploaded logs. +// GetReferenceId gets the referenceId property value. A provider-specific reference id for the uploaded logs. Read-only. // returns a *string when successful func (m *ManagedAppLogUpload) GetReferenceId()(*string) { val, err := m.GetBackingStore().Get("referenceId") @@ -180,7 +180,7 @@ func (m *ManagedAppLogUpload) SetAdditionalData(value map[string]any)() { func (m *ManagedAppLogUpload) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetManagedAppComponent sets the managedAppComponent property value. The Mobile Application Management (MAM) Logs Uploading Component. +// SetManagedAppComponent sets the managedAppComponent property value. The Mobile Application Management (MAM) Logs Uploading Component. Such components can be the application itself, the MAM SDK, and other on-device components that are capable of uploading diagnostic logs. Read-only. func (m *ManagedAppLogUpload) SetManagedAppComponent(value *string)() { err := m.GetBackingStore().Set("managedAppComponent", value) if err != nil { @@ -201,7 +201,7 @@ func (m *ManagedAppLogUpload) SetOdataType(value *string)() { panic(err) } } -// SetReferenceId sets the referenceId property value. A provider-specific reference id for the uploaded logs. +// SetReferenceId sets the referenceId property value. A provider-specific reference id for the uploaded logs. Read-only. func (m *ManagedAppLogUpload) SetReferenceId(value *string)() { err := m.GetBackingStore().Set("referenceId", value) if err != nil { diff --git a/models/mobile_app.go b/models/mobile_app.go index 9d4b6d04b34..8e1ccc1f51c 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. +// GetCreatedDateTime gets the createdDateTime property value. The date and time the app was created. This property is read-only. // 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. +// GetDependentAppCount gets the dependentAppCount property value. The total number of dependencies the child app has. This property is read-only. // 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. +// GetIsAssigned gets the isAssigned property value. The value indicating whether the app is assigned to at least one group. This property is read-only. // 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. +// GetLastModifiedDateTime gets the lastModifiedDateTime property value. The date and time the app was last modified. This property is read-only. // 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. List of relationships for this mobile app. +// GetRelationships gets the relationships property value. The set of direct relationships for this 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. +// GetUploadState gets the uploadState property value. The upload state. Possible values are: 0 - Not Ready, 1 - Ready, 2 - Processing. This property is read-only. // 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. +// SetCreatedDateTime sets the createdDateTime property value. The date and time the app was created. This property is read-only. 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. +// SetDependentAppCount sets the dependentAppCount property value. The total number of dependencies the child app has. This property is read-only. 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. +// SetIsAssigned sets the isAssigned property value. The value indicating whether the app is assigned to at least one group. This property is read-only. 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. +// SetLastModifiedDateTime sets the lastModifiedDateTime property value. The date and time the app was last modified. This property is read-only. 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. List of relationships for this mobile app. +// SetRelationships sets the relationships property value. The set of direct relationships for this 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. +// SetUploadState sets the uploadState property value. The upload state. Possible values are: 0 - Not Ready, 1 - Ready, 2 - Processing. This property is read-only. 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 d7f4a34e5ae..df58bebcc6b 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. The collection property of AppLogUploadRequest. +// GetAppLogCollectionRequests gets the appLogCollectionRequests property value. Indicates collection of App Log Upload Request. // 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. The collection property of AppLogUploadRequest. +// SetAppLogCollectionRequests sets the appLogCollectionRequests property value. Indicates collection of App Log Upload Request. func (m *MobileAppTroubleshootingEvent) SetAppLogCollectionRequests(value []AppLogCollectionRequestable)() { err := m.GetBackingStore().Set("appLogCollectionRequests", value) if err != nil { diff --git a/models/permission.go b/models/permission.go index 74e808e4584..0d9b116a883 100644 --- a/models/permission.go +++ b/models/permission.go @@ -274,7 +274,7 @@ func (m *Permission) GetRoles()([]string) { } return nil } -// GetShareId gets the shareId property value. A unique token that can be used to access this shared item via the [shares API][]. Read-only. +// GetShareId gets the shareId property value. A unique token that can be used to access this shared item via the shares API. Read-only. // returns a *string when successful func (m *Permission) GetShareId()(*string) { val, err := m.GetBackingStore().Get("shareId") @@ -442,7 +442,7 @@ func (m *Permission) SetRoles(value []string)() { panic(err) } } -// SetShareId sets the shareId property value. A unique token that can be used to access this shared item via the [shares API][]. Read-only. +// SetShareId sets the shareId property value. A unique token that can be used to access this shared item via the shares API. Read-only. func (m *Permission) SetShareId(value *string)() { err := m.GetBackingStore().Set("shareId", value) if err != nil { diff --git a/models/permission_grant_policy.go b/models/permission_grant_policy.go index 98b9c9c7325..54d1a477107 100644 --- a/models/permission_grant_policy.go +++ b/models/permission_grant_policy.go @@ -93,7 +93,7 @@ func (m *PermissionGrantPolicy) GetIncludes()([]PermissionGrantConditionSetable) } return nil } -// GetResourceScopeType gets the resourceScopeType property value. The resource type the pre-approval policy applies to. Possible values: group for groups and teams, chat for chats, tenant for all supported resources in the tenant. Required. +// GetResourceScopeType gets the resourceScopeType property value. The resource type the pre-approval policy applies to. Possible values: team for groups and teams, chat for chats, tenant for all supported resources in the tenant. Required. // returns a *ResourceScopeType when successful func (m *PermissionGrantPolicy) GetResourceScopeType()(*ResourceScopeType) { val, err := m.GetBackingStore().Get("resourceScopeType") @@ -158,7 +158,7 @@ func (m *PermissionGrantPolicy) SetIncludes(value []PermissionGrantConditionSeta panic(err) } } -// SetResourceScopeType sets the resourceScopeType property value. The resource type the pre-approval policy applies to. Possible values: group for groups and teams, chat for chats, tenant for all supported resources in the tenant. Required. +// SetResourceScopeType sets the resourceScopeType property value. The resource type the pre-approval policy applies to. Possible values: team for groups and teams, chat for chats, tenant for all supported resources in the tenant. Required. func (m *PermissionGrantPolicy) SetResourceScopeType(value *ResourceScopeType)() { err := m.GetBackingStore().Set("resourceScopeType", value) if err != nil { diff --git a/models/report.go b/models/report.go index 5b29a811055..f75f1545fa9 100644 --- a/models/report.go +++ b/models/report.go @@ -41,7 +41,7 @@ func (m *Report) GetAdditionalData()(map[string]any) { func (m *Report) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetContent gets the content property value. Report content; details vary by report type. +// GetContent gets the content property value. The http content that has the data // returns a []byte when successful func (m *Report) GetContent()([]byte) { val, err := m.GetBackingStore().Get("content") @@ -124,7 +124,7 @@ func (m *Report) SetAdditionalData(value map[string]any)() { func (m *Report) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetContent sets the content property value. Report content; details vary by report type. +// SetContent sets the content property value. The http content that has the data func (m *Report) SetContent(value []byte)() { err := m.GetBackingStore().Set("content", value) if err != nil { diff --git a/models/risk_detection.go b/models/risk_detection.go index e3d1b68116d..2cd1b98402e 100644 --- a/models/risk_detection.go +++ b/models/risk_detection.go @@ -380,7 +380,7 @@ func (m *RiskDetection) GetRiskDetail()(*RiskDetail) { } return nil } -// GetRiskEventType gets the riskEventType property value. The type of risk event detected. The possible values are adminConfirmedUserCompromised, anomalousUserActivity, anonymizedIPAddress, generic, investigationsThreatIntelligence, investigationsThreatIntelligenceSigninLinked,leakedCredentials, maliciousIPAddress, maliciousIPAddressValidCredentialsBlockedIP, malwareInfectedIPAddress, mcasImpossibleTravel, mcasSuspiciousInboxManipulationRules, suspiciousAPITraffic, suspiciousIPAddress, unfamiliarFeatures, unlikelyTravel, userReportedSuspiciousActivity. For more information about each value, see Risk types and detection. +// GetRiskEventType gets the riskEventType property value. The type of risk event detected. The possible values are adminConfirmedUserCompromised, anomalousUserActivity, anonymizedIPAddress,attackerinTheMiddle,attemptedPRTAccess, generic, investigationsThreatIntelligence, investigationsThreatIntelligenceSigninLinked,leakedCredentials, maliciousIPAddress, maliciousIPAddressValidCredentialsBlockedIP, malwareInfectedIPAddress, mcasImpossibleTravel,mcasFinSuspiciousFileAccess, mcasSuspiciousInboxManipulationRules,nationStateIP, suspiciousAPITraffic, suspiciousIPAddress,suspiciousSendingPatterns, unfamiliarFeatures, unlikelyTravel, userReportedSuspiciousActivity. For more information about each value, see Risk types and detection. // returns a *string when successful func (m *RiskDetection) GetRiskEventType()(*string) { val, err := m.GetBackingStore().Get("riskEventType") @@ -713,7 +713,7 @@ func (m *RiskDetection) SetRiskDetail(value *RiskDetail)() { panic(err) } } -// SetRiskEventType sets the riskEventType property value. The type of risk event detected. The possible values are adminConfirmedUserCompromised, anomalousUserActivity, anonymizedIPAddress, generic, investigationsThreatIntelligence, investigationsThreatIntelligenceSigninLinked,leakedCredentials, maliciousIPAddress, maliciousIPAddressValidCredentialsBlockedIP, malwareInfectedIPAddress, mcasImpossibleTravel, mcasSuspiciousInboxManipulationRules, suspiciousAPITraffic, suspiciousIPAddress, unfamiliarFeatures, unlikelyTravel, userReportedSuspiciousActivity. For more information about each value, see Risk types and detection. +// SetRiskEventType sets the riskEventType property value. The type of risk event detected. The possible values are adminConfirmedUserCompromised, anomalousUserActivity, anonymizedIPAddress,attackerinTheMiddle,attemptedPRTAccess, generic, investigationsThreatIntelligence, investigationsThreatIntelligenceSigninLinked,leakedCredentials, maliciousIPAddress, maliciousIPAddressValidCredentialsBlockedIP, malwareInfectedIPAddress, mcasImpossibleTravel,mcasFinSuspiciousFileAccess, mcasSuspiciousInboxManipulationRules,nationStateIP, suspiciousAPITraffic, suspiciousIPAddress,suspiciousSendingPatterns, unfamiliarFeatures, unlikelyTravel, userReportedSuspiciousActivity. For more information about each value, see Risk types and detection. func (m *RiskDetection) SetRiskEventType(value *string)() { err := m.GetBackingStore().Set("riskEventType", 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 1d7b26dfe27..9f8c4a96285 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. Whether or not to use device execution context for Windows AppX mobile app. +// 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. // 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. Whether or not to use device execution context for Windows AppX mobile app. +// 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. func (m *WindowsAppXAppAssignmentSettings) SetUseDeviceContext(value *bool)() { err := m.GetBackingStore().Set("useDeviceContext", value) if err != nil { diff --git a/models/windows_autopilot_deployment_profile.go b/models/windows_autopilot_deployment_profile.go index 7c9a0a0daf0..394ad5ac187 100644 --- a/models/windows_autopilot_deployment_profile.go +++ b/models/windows_autopilot_deployment_profile.go @@ -423,7 +423,7 @@ func (m *WindowsAutopilotDeploymentProfile) GetLocale()(*string) { } return nil } -// GetManagementServiceAppId gets the managementServiceAppId property value. AzureAD management app ID used during client device-based enrollment discovery +// GetManagementServiceAppId gets the managementServiceAppId property value. The Entra management service App ID which gets used during client device-based enrollment discovery. Supports: $select, $top, $skip. $Search, $orderBy and $filter are not supported. // returns a *string when successful func (m *WindowsAutopilotDeploymentProfile) GetManagementServiceAppId()(*string) { val, err := m.GetBackingStore().Get("managementServiceAppId") @@ -716,7 +716,7 @@ func (m *WindowsAutopilotDeploymentProfile) SetLocale(value *string)() { panic(err) } } -// SetManagementServiceAppId sets the managementServiceAppId property value. AzureAD management app ID used during client device-based enrollment discovery +// SetManagementServiceAppId sets the managementServiceAppId property value. The Entra management service App ID which gets used during client device-based enrollment discovery. Supports: $select, $top, $skip. $Search, $orderBy and $filter are not supported. func (m *WindowsAutopilotDeploymentProfile) SetManagementServiceAppId(value *string)() { err := m.GetBackingStore().Set("managementServiceAppId", value) if err != nil { diff --git a/monitoring/alert_records_alert_record_item_request_builder.go b/monitoring/alert_records_alert_record_item_request_builder.go index 8fa0c650aeb..df2887e297e 100644 --- a/monitoring/alert_records_alert_record_item_request_builder.go +++ b/monitoring/alert_records_alert_record_item_request_builder.go @@ -18,7 +18,7 @@ type AlertRecordsAlertRecordItemRequestBuilderDeleteRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// AlertRecordsAlertRecordItemRequestBuilderGetQueryParameters read the properties and relationships of an alertRecord object. +// AlertRecordsAlertRecordItemRequestBuilderGetQueryParameters the collection of records of alert events. type AlertRecordsAlertRecordItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *AlertRecordsAlertRecordItemRequestBuilder) Delete(ctx context.Context, } return nil } -// Get read the properties and relationships of an alertRecord object. +// Get the collection of records of alert events. // returns a AlertRecordable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/devicemanagement-alertrecord-get?view=graph-rest-1.0 func (m *AlertRecordsAlertRecordItemRequestBuilder) Get(ctx context.Context, requestConfiguration *AlertRecordsAlertRecordItemRequestBuilderGetRequestConfiguration)(i2edb12705e6a63a8a0fb3f8c7a11f4ab12f4be764e61fa1094f401595fb171bf.AlertRecordable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *AlertRecordsAlertRecordItemRequestBuilder) ToDeleteRequestInformation(c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an alertRecord object. +// ToGetRequestInformation the collection of records of alert events. // returns a *RequestInformation when successful func (m *AlertRecordsAlertRecordItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AlertRecordsAlertRecordItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/monitoring/alert_records_item_microsoft_graph_device_management_set_portal_notification_as_sent_request_builder.go b/monitoring/alert_records_item_microsoft_graph_device_management_set_portal_notification_as_sent_request_builder.go index a0fba1be8f9..9b1a2772324 100644 --- a/monitoring/alert_records_item_microsoft_graph_device_management_set_portal_notification_as_sent_request_builder.go +++ b/monitoring/alert_records_item_microsoft_graph_device_management_set_portal_notification_as_sent_request_builder.go @@ -34,7 +34,7 @@ func NewAlertRecordsItemMicrosoftGraphDeviceManagementSetPortalNotificationAsSen // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/devicemanagement-alertrecord-setportalnotificationassent?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/devicemanagement-alertrecord-setportalnotificationassent?view=graph-rest-beta func (m *AlertRecordsItemMicrosoftGraphDeviceManagementSetPortalNotificationAsSentRequestBuilder) Post(ctx context.Context, requestConfiguration *AlertRecordsItemMicrosoftGraphDeviceManagementSetPortalNotificationAsSentRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/monitoring/alert_records_request_builder.go b/monitoring/alert_records_request_builder.go index e028d6355b5..f3a61b01af7 100644 --- a/monitoring/alert_records_request_builder.go +++ b/monitoring/alert_records_request_builder.go @@ -11,7 +11,7 @@ import ( type AlertRecordsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AlertRecordsRequestBuilderGetQueryParameters get a list of the alertRecord objects and their properties. +// AlertRecordsRequestBuilderGetQueryParameters the collection of records of alert events. type AlertRecordsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewAlertRecordsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee2 func (m *AlertRecordsRequestBuilder) Count()(*AlertRecordsCountRequestBuilder) { return NewAlertRecordsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the alertRecord objects and their properties. +// Get the collection of records of alert events. // returns a AlertRecordCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/devicemanagement-alertrecord-list?view=graph-rest-1.0 func (m *AlertRecordsRequestBuilder) Get(ctx context.Context, requestConfiguration *AlertRecordsRequestBuilderGetRequestConfiguration)(i2edb12705e6a63a8a0fb3f8c7a11f4ab12f4be764e61fa1094f401595fb171bf.AlertRecordCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *AlertRecordsRequestBuilder) Post(ctx context.Context, body i2edb12705e6 } return res.(i2edb12705e6a63a8a0fb3f8c7a11f4ab12f4be764e61fa1094f401595fb171bf.AlertRecordable), nil } -// ToGetRequestInformation get a list of the alertRecord objects and their properties. +// ToGetRequestInformation the collection of records of alert events. // returns a *RequestInformation when successful func (m *AlertRecordsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AlertRecordsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/monitoring/alert_rules_alert_rule_item_request_builder.go b/monitoring/alert_rules_alert_rule_item_request_builder.go index dbac9bc3ab2..4d93b97e2d0 100644 --- a/monitoring/alert_rules_alert_rule_item_request_builder.go +++ b/monitoring/alert_rules_alert_rule_item_request_builder.go @@ -18,7 +18,7 @@ type AlertRulesAlertRuleItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// AlertRulesAlertRuleItemRequestBuilderGetQueryParameters read the properties and relationships of an alertRule object. +// AlertRulesAlertRuleItemRequestBuilderGetQueryParameters the collection of alert rules. type AlertRulesAlertRuleItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *AlertRulesAlertRuleItemRequestBuilder) Delete(ctx context.Context, requ } return nil } -// Get read the properties and relationships of an alertRule object. +// Get the collection of alert rules. // returns a AlertRuleable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/devicemanagement-alertrule-get?view=graph-rest-1.0 func (m *AlertRulesAlertRuleItemRequestBuilder) Get(ctx context.Context, requestConfiguration *AlertRulesAlertRuleItemRequestBuilderGetRequestConfiguration)(i2edb12705e6a63a8a0fb3f8c7a11f4ab12f4be764e61fa1094f401595fb171bf.AlertRuleable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *AlertRulesAlertRuleItemRequestBuilder) Get(ctx context.Context, request } return res.(i2edb12705e6a63a8a0fb3f8c7a11f4ab12f4be764e61fa1094f401595fb171bf.AlertRuleable), nil } -// Patch update the properties of an alertRule object. +// Patch update the navigation property alertRules in monitoring // returns a AlertRuleable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/devicemanagement-alertrule-update?view=graph-rest-1.0 func (m *AlertRulesAlertRuleItemRequestBuilder) Patch(ctx context.Context, body i2edb12705e6a63a8a0fb3f8c7a11f4ab12f4be764e61fa1094f401595fb171bf.AlertRuleable, requestConfiguration *AlertRulesAlertRuleItemRequestBuilderPatchRequestConfiguration)(i2edb12705e6a63a8a0fb3f8c7a11f4ab12f4be764e61fa1094f401595fb171bf.AlertRuleable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *AlertRulesAlertRuleItemRequestBuilder) ToDeleteRequestInformation(ctx c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an alertRule object. +// ToGetRequestInformation the collection of alert rules. // returns a *RequestInformation when successful func (m *AlertRulesAlertRuleItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AlertRulesAlertRuleItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *AlertRulesAlertRuleItemRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an alertRule object. +// ToPatchRequestInformation update the navigation property alertRules in monitoring // returns a *RequestInformation when successful func (m *AlertRulesAlertRuleItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i2edb12705e6a63a8a0fb3f8c7a11f4ab12f4be764e61fa1094f401595fb171bf.AlertRuleable, requestConfiguration *AlertRulesAlertRuleItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/monitoring/alert_rules_request_builder.go b/monitoring/alert_rules_request_builder.go index a99a2514f32..74cfd99ca74 100644 --- a/monitoring/alert_rules_request_builder.go +++ b/monitoring/alert_rules_request_builder.go @@ -11,7 +11,7 @@ import ( type AlertRulesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AlertRulesRequestBuilderGetQueryParameters get a list of the alertRule objects and their properties. +// AlertRulesRequestBuilderGetQueryParameters the collection of alert rules. type AlertRulesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewAlertRulesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263 func (m *AlertRulesRequestBuilder) Count()(*AlertRulesCountRequestBuilder) { return NewAlertRulesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the alertRule objects and their properties. +// Get the collection of alert rules. // returns a AlertRuleCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/devicemanagement-alertrule-list?view=graph-rest-1.0 func (m *AlertRulesRequestBuilder) Get(ctx context.Context, requestConfiguration *AlertRulesRequestBuilderGetRequestConfiguration)(i2edb12705e6a63a8a0fb3f8c7a11f4ab12f4be764e61fa1094f401595fb171bf.AlertRuleCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *AlertRulesRequestBuilder) Get(ctx context.Context, requestConfiguration } return res.(i2edb12705e6a63a8a0fb3f8c7a11f4ab12f4be764e61fa1094f401595fb171bf.AlertRuleCollectionResponseable), nil } -// Post create an alertRule object. +// Post create new navigation property to alertRules for monitoring // returns a AlertRuleable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/devicemanagement-alertrule-post?view=graph-rest-1.0 func (m *AlertRulesRequestBuilder) Post(ctx context.Context, body i2edb12705e6a63a8a0fb3f8c7a11f4ab12f4be764e61fa1094f401595fb171bf.AlertRuleable, requestConfiguration *AlertRulesRequestBuilderPostRequestConfiguration)(i2edb12705e6a63a8a0fb3f8c7a11f4ab12f4be764e61fa1094f401595fb171bf.AlertRuleable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *AlertRulesRequestBuilder) Post(ctx context.Context, body i2edb12705e6a6 } return res.(i2edb12705e6a63a8a0fb3f8c7a11f4ab12f4be764e61fa1094f401595fb171bf.AlertRuleable), nil } -// ToGetRequestInformation get a list of the alertRule objects and their properties. +// ToGetRequestInformation the collection of alert rules. // returns a *RequestInformation when successful func (m *AlertRulesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AlertRulesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *AlertRulesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an alertRule object. +// ToPostRequestInformation create new navigation property to alertRules for monitoring // returns a *RequestInformation when successful func (m *AlertRulesRequestBuilder) ToPostRequestInformation(ctx context.Context, body i2edb12705e6a63a8a0fb3f8c7a11f4ab12f4be764e61fa1094f401595fb171bf.AlertRuleable, requestConfiguration *AlertRulesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/networkaccess/connectivity_branches_branch_site_item_request_builder.go b/networkaccess/connectivity_branches_branch_site_item_request_builder.go index 2002cff875a..575209fed37 100644 --- a/networkaccess/connectivity_branches_branch_site_item_request_builder.go +++ b/networkaccess/connectivity_branches_branch_site_item_request_builder.go @@ -18,7 +18,7 @@ type ConnectivityBranchesBranchSiteItemRequestBuilderDeleteRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ConnectivityBranchesBranchSiteItemRequestBuilderGetQueryParameters retrieve information about a specific branch. +// ConnectivityBranchesBranchSiteItemRequestBuilderGetQueryParameters branches represent locations for connectivity. DEPRECATED AND TO BE RETIRED SOON. Use the remoteNetwork relationship and its associated APIs instead. type ConnectivityBranchesBranchSiteItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,12 +59,9 @@ func NewConnectivityBranchesBranchSiteItemRequestBuilder(rawUrl string, requestA urlParams["request-raw-url"] = rawUrl return NewConnectivityBranchesBranchSiteItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a specific branch. +// Delete delete navigation property branches for networkAccess // 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 ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/networkaccess-branchsite-delete?view=graph-rest-1.0 func (m *ConnectivityBranchesBranchSiteItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ConnectivityBranchesBranchSiteItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,13 +86,10 @@ func (m *ConnectivityBranchesBranchSiteItemRequestBuilder) DeviceLinks()(*Connec func (m *ConnectivityBranchesBranchSiteItemRequestBuilder) ForwardingProfiles()(*ConnectivityBranchesItemForwardingProfilesRequestBuilder) { return NewConnectivityBranchesItemForwardingProfilesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve information about a specific branch. +// Get branches represent locations for connectivity. DEPRECATED AND TO BE RETIRED SOON. Use the remoteNetwork relationship and its associated APIs instead. // 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 BranchSiteable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/networkaccess-branchsite-get?view=graph-rest-1.0 func (m *ConnectivityBranchesBranchSiteItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ConnectivityBranchesBranchSiteItemRequestBuilderGetRequestConfiguration)(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.BranchSiteable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -113,13 +107,10 @@ func (m *ConnectivityBranchesBranchSiteItemRequestBuilder) Get(ctx context.Conte } return res.(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.BranchSiteable), nil } -// Patch update the configuration or properties of a specific branch. +// Patch update the navigation property branches in networkAccess // 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 BranchSiteable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/networkaccess-branchsite-update?view=graph-rest-1.0 func (m *ConnectivityBranchesBranchSiteItemRequestBuilder) Patch(ctx context.Context, body i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.BranchSiteable, requestConfiguration *ConnectivityBranchesBranchSiteItemRequestBuilderPatchRequestConfiguration)(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.BranchSiteable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -137,7 +128,7 @@ func (m *ConnectivityBranchesBranchSiteItemRequestBuilder) Patch(ctx context.Con } return res.(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.BranchSiteable), nil } -// ToDeleteRequestInformation delete a specific branch. +// ToDeleteRequestInformation delete navigation property branches for networkAccess // 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 *ConnectivityBranchesBranchSiteItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ConnectivityBranchesBranchSiteItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -149,7 +140,7 @@ func (m *ConnectivityBranchesBranchSiteItemRequestBuilder) ToDeleteRequestInform requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve information about a specific branch. +// ToGetRequestInformation branches represent locations for connectivity. DEPRECATED AND TO BE RETIRED SOON. Use the remoteNetwork relationship and its associated APIs instead. // 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 *ConnectivityBranchesBranchSiteItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConnectivityBranchesBranchSiteItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -164,7 +155,7 @@ func (m *ConnectivityBranchesBranchSiteItemRequestBuilder) ToGetRequestInformati requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the configuration or properties of a specific branch. +// ToPatchRequestInformation update the navigation property branches in networkAccess // 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 *ConnectivityBranchesBranchSiteItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.BranchSiteable, requestConfiguration *ConnectivityBranchesBranchSiteItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/networkaccess/connectivity_branches_item_connectivity_configuration_request_builder.go b/networkaccess/connectivity_branches_item_connectivity_configuration_request_builder.go index d6114c5f5ba..8b153f11b02 100644 --- a/networkaccess/connectivity_branches_item_connectivity_configuration_request_builder.go +++ b/networkaccess/connectivity_branches_item_connectivity_configuration_request_builder.go @@ -18,7 +18,7 @@ type ConnectivityBranchesItemConnectivityConfigurationRequestBuilderDeleteReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ConnectivityBranchesItemConnectivityConfigurationRequestBuilderGetQueryParameters retrieve the IPSec tunnel configuration required to establish a bidirectional communication link between your organization's router and the Microsoft gateway. This information is vital for configuring your router (customer premise equipment) after creating a deviceLink. +// ConnectivityBranchesItemConnectivityConfigurationRequestBuilderGetQueryParameters specifies the connectivity details of all device links associated with a branch. type ConnectivityBranchesItemConnectivityConfigurationRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -71,13 +71,10 @@ func (m *ConnectivityBranchesItemConnectivityConfigurationRequestBuilder) Delete } return nil } -// Get retrieve the IPSec tunnel configuration required to establish a bidirectional communication link between your organization's router and the Microsoft gateway. This information is vital for configuring your router (customer premise equipment) after creating a deviceLink. +// Get specifies the connectivity details of all device links associated with a branch. // 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 BranchConnectivityConfigurationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/networkaccess-branchconnectivityconfiguration-get?view=graph-rest-1.0 func (m *ConnectivityBranchesItemConnectivityConfigurationRequestBuilder) Get(ctx context.Context, requestConfiguration *ConnectivityBranchesItemConnectivityConfigurationRequestBuilderGetRequestConfiguration)(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.BranchConnectivityConfigurationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -133,7 +130,7 @@ func (m *ConnectivityBranchesItemConnectivityConfigurationRequestBuilder) ToDele requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the IPSec tunnel configuration required to establish a bidirectional communication link between your organization's router and the Microsoft gateway. This information is vital for configuring your router (customer premise equipment) after creating a deviceLink. +// ToGetRequestInformation specifies the connectivity details of all device links associated with a branch. // 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 *ConnectivityBranchesItemConnectivityConfigurationRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConnectivityBranchesItemConnectivityConfigurationRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/networkaccess/connectivity_branches_item_device_links_device_link_item_request_builder.go b/networkaccess/connectivity_branches_item_device_links_device_link_item_request_builder.go index 534c84a27cf..0fc2f31ed83 100644 --- a/networkaccess/connectivity_branches_item_device_links_device_link_item_request_builder.go +++ b/networkaccess/connectivity_branches_item_device_links_device_link_item_request_builder.go @@ -54,12 +54,9 @@ func NewConnectivityBranchesItemDeviceLinksDeviceLinkItemRequestBuilder(rawUrl s urlParams["request-raw-url"] = rawUrl return NewConnectivityBranchesItemDeviceLinksDeviceLinkItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete removes the link between the branch or remote network and the CPE device, effectively removing the connection and associated configuration between them. +// Delete delete navigation property deviceLinks for networkAccess // 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 ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/networkaccess-branchsite-delete-devicelinks?view=graph-rest-1.0 func (m *ConnectivityBranchesItemDeviceLinksDeviceLinkItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ConnectivityBranchesItemDeviceLinksDeviceLinkItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,13 +92,10 @@ func (m *ConnectivityBranchesItemDeviceLinksDeviceLinkItemRequestBuilder) Get(ct } return res.(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.DeviceLinkable), nil } -// Patch update the device link associated with a specific branch or remote network. +// Patch update the navigation property deviceLinks in networkAccess // 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 DeviceLinkable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/networkaccess-devicelink-update?view=graph-rest-1.0 func (m *ConnectivityBranchesItemDeviceLinksDeviceLinkItemRequestBuilder) Patch(ctx context.Context, body i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.DeviceLinkable, requestConfiguration *ConnectivityBranchesItemDeviceLinksDeviceLinkItemRequestBuilderPatchRequestConfiguration)(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.DeviceLinkable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +113,7 @@ func (m *ConnectivityBranchesItemDeviceLinksDeviceLinkItemRequestBuilder) Patch( } return res.(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.DeviceLinkable), nil } -// ToDeleteRequestInformation removes the link between the branch or remote network and the CPE device, effectively removing the connection and associated configuration between them. +// ToDeleteRequestInformation delete navigation property deviceLinks for networkAccess // 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 *ConnectivityBranchesItemDeviceLinksDeviceLinkItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ConnectivityBranchesItemDeviceLinksDeviceLinkItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -146,7 +140,7 @@ func (m *ConnectivityBranchesItemDeviceLinksDeviceLinkItemRequestBuilder) ToGetR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the device link associated with a specific branch or remote network. +// ToPatchRequestInformation update the navigation property deviceLinks in networkAccess // 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 *ConnectivityBranchesItemDeviceLinksDeviceLinkItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.DeviceLinkable, requestConfiguration *ConnectivityBranchesItemDeviceLinksDeviceLinkItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/networkaccess/connectivity_branches_item_device_links_request_builder.go b/networkaccess/connectivity_branches_item_device_links_request_builder.go index 9be726b8d1b..c3062916aa5 100644 --- a/networkaccess/connectivity_branches_item_device_links_request_builder.go +++ b/networkaccess/connectivity_branches_item_device_links_request_builder.go @@ -11,7 +11,7 @@ import ( type ConnectivityBranchesItemDeviceLinksRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ConnectivityBranchesItemDeviceLinksRequestBuilderGetQueryParameters retrieve a list of device links associated with a specific branch. +// ConnectivityBranchesItemDeviceLinksRequestBuilderGetQueryParameters each unique CPE device associated with a branch is specified. Supports $expand. type ConnectivityBranchesItemDeviceLinksRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -77,13 +77,10 @@ func NewConnectivityBranchesItemDeviceLinksRequestBuilder(rawUrl string, request func (m *ConnectivityBranchesItemDeviceLinksRequestBuilder) Count()(*ConnectivityBranchesItemDeviceLinksCountRequestBuilder) { return NewConnectivityBranchesItemDeviceLinksCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of device links associated with a specific branch. +// Get each unique CPE device associated with a branch is specified. Supports $expand. // 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 DeviceLinkCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/networkaccess-branchsite-list-devicelinks?view=graph-rest-1.0 func (m *ConnectivityBranchesItemDeviceLinksRequestBuilder) Get(ctx context.Context, requestConfiguration *ConnectivityBranchesItemDeviceLinksRequestBuilderGetRequestConfiguration)(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.DeviceLinkCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,13 +98,10 @@ func (m *ConnectivityBranchesItemDeviceLinksRequestBuilder) Get(ctx context.Cont } return res.(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.DeviceLinkCollectionResponseable), nil } -// Post create a branch site with associated device links. +// Post create new navigation property to deviceLinks for networkAccess // 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 DeviceLinkable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/networkaccess-branchsite-post-devicelinks?view=graph-rest-1.0 func (m *ConnectivityBranchesItemDeviceLinksRequestBuilder) Post(ctx context.Context, body i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.DeviceLinkable, requestConfiguration *ConnectivityBranchesItemDeviceLinksRequestBuilderPostRequestConfiguration)(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.DeviceLinkable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ConnectivityBranchesItemDeviceLinksRequestBuilder) Post(ctx context.Con } return res.(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.DeviceLinkable), nil } -// ToGetRequestInformation retrieve a list of device links associated with a specific branch. +// ToGetRequestInformation each unique CPE device associated with a branch is specified. Supports $expand. // 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 *ConnectivityBranchesItemDeviceLinksRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConnectivityBranchesItemDeviceLinksRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -140,7 +134,7 @@ func (m *ConnectivityBranchesItemDeviceLinksRequestBuilder) ToGetRequestInformat requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a branch site with associated device links. +// ToPostRequestInformation create new navigation property to deviceLinks for networkAccess // 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 *ConnectivityBranchesItemDeviceLinksRequestBuilder) ToPostRequestInformation(ctx context.Context, body i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.DeviceLinkable, requestConfiguration *ConnectivityBranchesItemDeviceLinksRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/networkaccess/connectivity_branches_item_forwarding_profiles_request_builder.go b/networkaccess/connectivity_branches_item_forwarding_profiles_request_builder.go index 9c750796ade..c516b0abbce 100644 --- a/networkaccess/connectivity_branches_item_forwarding_profiles_request_builder.go +++ b/networkaccess/connectivity_branches_item_forwarding_profiles_request_builder.go @@ -11,7 +11,7 @@ import ( type ConnectivityBranchesItemForwardingProfilesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ConnectivityBranchesItemForwardingProfilesRequestBuilderGetQueryParameters retrieve a list of traffic forwarding profiles associated with a branch. +// ConnectivityBranchesItemForwardingProfilesRequestBuilderGetQueryParameters each forwarding profile associated with a branch site is specified. Supports $expand. type ConnectivityBranchesItemForwardingProfilesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -77,13 +77,10 @@ func NewConnectivityBranchesItemForwardingProfilesRequestBuilder(rawUrl string, func (m *ConnectivityBranchesItemForwardingProfilesRequestBuilder) Count()(*ConnectivityBranchesItemForwardingProfilesCountRequestBuilder) { return NewConnectivityBranchesItemForwardingProfilesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of traffic forwarding profiles associated with a branch. +// Get each forwarding profile associated with a branch site is specified. Supports $expand. // 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 ForwardingProfileCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/networkaccess-branchsite-list-forwardingprofiles?view=graph-rest-1.0 func (m *ConnectivityBranchesItemForwardingProfilesRequestBuilder) Get(ctx context.Context, requestConfiguration *ConnectivityBranchesItemForwardingProfilesRequestBuilderGetRequestConfiguration)(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.ForwardingProfileCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -122,7 +119,7 @@ func (m *ConnectivityBranchesItemForwardingProfilesRequestBuilder) Post(ctx cont } return res.(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.ForwardingProfileable), nil } -// ToGetRequestInformation retrieve a list of traffic forwarding profiles associated with a branch. +// ToGetRequestInformation each forwarding profile associated with a branch site is specified. Supports $expand. // 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 *ConnectivityBranchesItemForwardingProfilesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConnectivityBranchesItemForwardingProfilesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/networkaccess/connectivity_branches_request_builder.go b/networkaccess/connectivity_branches_request_builder.go index 9ea2229b78d..0d88db851fb 100644 --- a/networkaccess/connectivity_branches_request_builder.go +++ b/networkaccess/connectivity_branches_request_builder.go @@ -11,7 +11,7 @@ import ( type ConnectivityBranchesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ConnectivityBranchesRequestBuilderGetQueryParameters retrieve a list of branches within a tenant connected to the Global Secure Access services. +// ConnectivityBranchesRequestBuilderGetQueryParameters branches represent locations for connectivity. DEPRECATED AND TO BE RETIRED SOON. Use the remoteNetwork relationship and its associated APIs instead. type ConnectivityBranchesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -77,13 +77,10 @@ func NewConnectivityBranchesRequestBuilder(rawUrl string, requestAdapter i2ae418 func (m *ConnectivityBranchesRequestBuilder) Count()(*ConnectivityBranchesCountRequestBuilder) { return NewConnectivityBranchesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of branches within a tenant connected to the Global Secure Access services. +// Get branches represent locations for connectivity. DEPRECATED AND TO BE RETIRED SOON. Use the remoteNetwork relationship and its associated APIs instead. // 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 BranchSiteCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/networkaccess-connectivity-list-branches?view=graph-rest-1.0 func (m *ConnectivityBranchesRequestBuilder) Get(ctx context.Context, requestConfiguration *ConnectivityBranchesRequestBuilderGetRequestConfiguration)(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.BranchSiteCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,13 +98,10 @@ func (m *ConnectivityBranchesRequestBuilder) Get(ctx context.Context, requestCon } return res.(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.BranchSiteCollectionResponseable), nil } -// Post create a new branch. +// Post create new navigation property to branches for networkAccess // 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 BranchSiteable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/networkaccess-connectivity-post-branches?view=graph-rest-1.0 func (m *ConnectivityBranchesRequestBuilder) Post(ctx context.Context, body i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.BranchSiteable, requestConfiguration *ConnectivityBranchesRequestBuilderPostRequestConfiguration)(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.BranchSiteable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ConnectivityBranchesRequestBuilder) Post(ctx context.Context, body i43e } return res.(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.BranchSiteable), nil } -// ToGetRequestInformation retrieve a list of branches within a tenant connected to the Global Secure Access services. +// ToGetRequestInformation branches represent locations for connectivity. DEPRECATED AND TO BE RETIRED SOON. Use the remoteNetwork relationship and its associated APIs instead. // 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 *ConnectivityBranchesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConnectivityBranchesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -140,7 +134,7 @@ func (m *ConnectivityBranchesRequestBuilder) ToGetRequestInformation(ctx context requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new branch. +// ToPostRequestInformation create new navigation property to branches for networkAccess // 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 *ConnectivityBranchesRequestBuilder) ToPostRequestInformation(ctx context.Context, body i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.BranchSiteable, requestConfiguration *ConnectivityBranchesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/networkaccess/connectivity_remote_networks_item_device_links_device_link_item_request_builder.go b/networkaccess/connectivity_remote_networks_item_device_links_device_link_item_request_builder.go index 3ddfbbeca8a..153f2b2cc5e 100644 --- a/networkaccess/connectivity_remote_networks_item_device_links_device_link_item_request_builder.go +++ b/networkaccess/connectivity_remote_networks_item_device_links_device_link_item_request_builder.go @@ -18,7 +18,7 @@ type ConnectivityRemoteNetworksItemDeviceLinksDeviceLinkItemRequestBuilderDelete // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ConnectivityRemoteNetworksItemDeviceLinksDeviceLinkItemRequestBuilderGetQueryParameters retrieves a specific device link associated with a remote network. +// ConnectivityRemoteNetworksItemDeviceLinksDeviceLinkItemRequestBuilderGetQueryParameters each unique CPE device associated with a remote network is specified. Supports $expand. type ConnectivityRemoteNetworksItemDeviceLinksDeviceLinkItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewConnectivityRemoteNetworksItemDeviceLinksDeviceLinkItemRequestBuilder(ra urlParams["request-raw-url"] = rawUrl return NewConnectivityRemoteNetworksItemDeviceLinksDeviceLinkItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete removes the link between the branch or remote network and the CPE device, effectively removing the connection and associated configuration between them. +// Delete delete navigation property deviceLinks for networkAccess // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/networkaccess-devicelink-delete?view=graph-rest-1.0 func (m *ConnectivityRemoteNetworksItemDeviceLinksDeviceLinkItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ConnectivityRemoteNetworksItemDeviceLinksDeviceLinkItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ConnectivityRemoteNetworksItemDeviceLinksDeviceLinkItemRequestBuilder) } return nil } -// Get retrieves a specific device link associated with a remote network. +// Get each unique CPE device associated with a remote network is specified. Supports $expand. // returns a DeviceLinkable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/networkaccess-devicelink-get?view=graph-rest-1.0 func (m *ConnectivityRemoteNetworksItemDeviceLinksDeviceLinkItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ConnectivityRemoteNetworksItemDeviceLinksDeviceLinkItemRequestBuilderGetRequestConfiguration)(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.DeviceLinkable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -116,7 +110,7 @@ func (m *ConnectivityRemoteNetworksItemDeviceLinksDeviceLinkItemRequestBuilder) } return res.(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.DeviceLinkable), nil } -// ToDeleteRequestInformation removes the link between the branch or remote network and the CPE device, effectively removing the connection and associated configuration between them. +// ToDeleteRequestInformation delete navigation property deviceLinks for networkAccess // returns a *RequestInformation when successful func (m *ConnectivityRemoteNetworksItemDeviceLinksDeviceLinkItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ConnectivityRemoteNetworksItemDeviceLinksDeviceLinkItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -127,7 +121,7 @@ func (m *ConnectivityRemoteNetworksItemDeviceLinksDeviceLinkItemRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieves a specific device link associated with a remote network. +// ToGetRequestInformation each unique CPE device associated with a remote network is specified. Supports $expand. // returns a *RequestInformation when successful func (m *ConnectivityRemoteNetworksItemDeviceLinksDeviceLinkItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConnectivityRemoteNetworksItemDeviceLinksDeviceLinkItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/networkaccess/connectivity_remote_networks_item_device_links_request_builder.go b/networkaccess/connectivity_remote_networks_item_device_links_request_builder.go index 5ca9312361c..2c0248aa699 100644 --- a/networkaccess/connectivity_remote_networks_item_device_links_request_builder.go +++ b/networkaccess/connectivity_remote_networks_item_device_links_request_builder.go @@ -11,7 +11,7 @@ import ( type ConnectivityRemoteNetworksItemDeviceLinksRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ConnectivityRemoteNetworksItemDeviceLinksRequestBuilderGetQueryParameters retrieves a specific device link associated with a remote network. +// ConnectivityRemoteNetworksItemDeviceLinksRequestBuilderGetQueryParameters each unique CPE device associated with a remote network is specified. Supports $expand. type ConnectivityRemoteNetworksItemDeviceLinksRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewConnectivityRemoteNetworksItemDeviceLinksRequestBuilder(rawUrl string, r func (m *ConnectivityRemoteNetworksItemDeviceLinksRequestBuilder) Count()(*ConnectivityRemoteNetworksItemDeviceLinksCountRequestBuilder) { return NewConnectivityRemoteNetworksItemDeviceLinksCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieves a specific device link associated with a remote network. +// Get each unique CPE device associated with a remote network is specified. Supports $expand. // returns a DeviceLinkCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ConnectivityRemoteNetworksItemDeviceLinksRequestBuilder) Get(ctx context.Context, requestConfiguration *ConnectivityRemoteNetworksItemDeviceLinksRequestBuilderGetRequestConfiguration)(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.DeviceLinkCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *ConnectivityRemoteNetworksItemDeviceLinksRequestBuilder) Post(ctx conte } return res.(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.DeviceLinkable), nil } -// ToGetRequestInformation retrieves a specific device link associated with a remote network. +// ToGetRequestInformation each unique CPE device associated with a remote network is specified. Supports $expand. // returns a *RequestInformation when successful func (m *ConnectivityRemoteNetworksItemDeviceLinksRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConnectivityRemoteNetworksItemDeviceLinksRequestBuilderGetRequestConfiguration)(*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 5e4ef200249..0e880b09069 100644 --- a/networkaccess/connectivity_remote_networks_request_builder.go +++ b/networkaccess/connectivity_remote_networks_request_builder.go @@ -96,12 +96,9 @@ func (m *ConnectivityRemoteNetworksRequestBuilder) Get(ctx context.Context, requ } return res.(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.RemoteNetworkCollectionResponseable), nil } -// Post create a new remote network. +// Post create new navigation property to remoteNetworks for networkAccess // returns a RemoteNetworkable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/networkaccess-connectivity-post-remotenetworks?view=graph-rest-1.0 func (m *ConnectivityRemoteNetworksRequestBuilder) Post(ctx context.Context, body i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.RemoteNetworkable, requestConfiguration *ConnectivityRemoteNetworksRequestBuilderPostRequestConfiguration)(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.RemoteNetworkable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -133,7 +130,7 @@ func (m *ConnectivityRemoteNetworksRequestBuilder) ToGetRequestInformation(ctx c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new remote network. +// ToPostRequestInformation create new navigation property to remoteNetworks for networkAccess // returns a *RequestInformation when successful func (m *ConnectivityRemoteNetworksRequestBuilder) ToPostRequestInformation(ctx context.Context, body i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.RemoteNetworkable, requestConfiguration *ConnectivityRemoteNetworksRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/networkaccess/filtering_policies_filtering_policy_item_request_builder.go b/networkaccess/filtering_policies_filtering_policy_item_request_builder.go index 781f4741c37..709f63d3eff 100644 --- a/networkaccess/filtering_policies_filtering_policy_item_request_builder.go +++ b/networkaccess/filtering_policies_filtering_policy_item_request_builder.go @@ -18,7 +18,7 @@ type FilteringPoliciesFilteringPolicyItemRequestBuilderDeleteRequestConfiguratio // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// FilteringPoliciesFilteringPolicyItemRequestBuilderGetQueryParameters get a filteringPolicy object. +// FilteringPoliciesFilteringPolicyItemRequestBuilderGetQueryParameters a filtering policy defines the specific traffic that is allowed or blocked through the Global Secure Access services for a filtering profile. type FilteringPoliciesFilteringPolicyItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *FilteringPoliciesFilteringPolicyItemRequestBuilder) Delete(ctx context. } return nil } -// Get get a filteringPolicy object. +// Get a filtering policy defines the specific traffic that is allowed or blocked through the Global Secure Access services for a filtering profile. // returns a FilteringPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/networkaccess-filteringpolicy-get?view=graph-rest-1.0 func (m *FilteringPoliciesFilteringPolicyItemRequestBuilder) Get(ctx context.Context, requestConfiguration *FilteringPoliciesFilteringPolicyItemRequestBuilderGetRequestConfiguration)(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.FilteringPolicyable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *FilteringPoliciesFilteringPolicyItemRequestBuilder) ToDeleteRequestInfo requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a filteringPolicy object. +// ToGetRequestInformation a filtering policy defines the specific traffic that is allowed or blocked through the Global Secure Access services for a filtering profile. // returns a *RequestInformation when successful func (m *FilteringPoliciesFilteringPolicyItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FilteringPoliciesFilteringPolicyItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/networkaccess/filtering_policies_request_builder.go b/networkaccess/filtering_policies_request_builder.go index e3101e2cf6b..17d8cba6129 100644 --- a/networkaccess/filtering_policies_request_builder.go +++ b/networkaccess/filtering_policies_request_builder.go @@ -11,7 +11,7 @@ import ( type FilteringPoliciesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// FilteringPoliciesRequestBuilderGetQueryParameters get a list of the microsoft.graph.networkaccess.filteringPolicy objects and their properties. +// FilteringPoliciesRequestBuilderGetQueryParameters a filtering policy defines the specific traffic that is allowed or blocked through the Global Secure Access services for a filtering profile. type FilteringPoliciesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewFilteringPoliciesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7 func (m *FilteringPoliciesRequestBuilder) Count()(*FilteringPoliciesCountRequestBuilder) { return NewFilteringPoliciesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the microsoft.graph.networkaccess.filteringPolicy objects and their properties. +// Get a filtering policy defines the specific traffic that is allowed or blocked through the Global Secure Access services for a filtering profile. // returns a FilteringPolicyCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/networkaccess-networkaccessroot-list-filteringpolicies?view=graph-rest-1.0 func (m *FilteringPoliciesRequestBuilder) Get(ctx context.Context, requestConfiguration *FilteringPoliciesRequestBuilderGetRequestConfiguration)(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.FilteringPolicyCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *FilteringPoliciesRequestBuilder) Post(ctx context.Context, body i43e723 } return res.(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.FilteringPolicyable), nil } -// ToGetRequestInformation get a list of the microsoft.graph.networkaccess.filteringPolicy objects and their properties. +// ToGetRequestInformation a filtering policy defines the specific traffic that is allowed or blocked through the Global Secure Access services for a filtering profile. // returns a *RequestInformation when successful func (m *FilteringPoliciesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FilteringPoliciesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/networkaccess/filtering_profiles_filtering_profile_item_request_builder.go b/networkaccess/filtering_profiles_filtering_profile_item_request_builder.go index f9e1a74bb63..7d560688b23 100644 --- a/networkaccess/filtering_profiles_filtering_profile_item_request_builder.go +++ b/networkaccess/filtering_profiles_filtering_profile_item_request_builder.go @@ -95,12 +95,9 @@ func (m *FilteringProfilesFilteringProfileItemRequestBuilder) Get(ctx context.Co } return res.(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.FilteringProfileable), nil } -// Patch update the properties of a filteringProfile object. +// Patch update the navigation property filteringProfiles in networkAccess // returns a FilteringProfileable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/networkaccess-filteringprofile-update?view=graph-rest-1.0 func (m *FilteringProfilesFilteringProfileItemRequestBuilder) Patch(ctx context.Context, body i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.FilteringProfileable, requestConfiguration *FilteringProfilesFilteringProfileItemRequestBuilderPatchRequestConfiguration)(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.FilteringProfileable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -148,7 +145,7 @@ func (m *FilteringProfilesFilteringProfileItemRequestBuilder) ToGetRequestInform requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a filteringProfile object. +// ToPatchRequestInformation update the navigation property filteringProfiles in networkAccess // returns a *RequestInformation when successful func (m *FilteringProfilesFilteringProfileItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.FilteringProfileable, requestConfiguration *FilteringProfilesFilteringProfileItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/networkaccess/filtering_profiles_request_builder.go b/networkaccess/filtering_profiles_request_builder.go index f6a559843a8..c56e63166b7 100644 --- a/networkaccess/filtering_profiles_request_builder.go +++ b/networkaccess/filtering_profiles_request_builder.go @@ -11,7 +11,7 @@ import ( type FilteringProfilesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// FilteringProfilesRequestBuilderGetQueryParameters get a list of the filteringProfile objects and their properties. +// FilteringProfilesRequestBuilderGetQueryParameters a filtering profile associates network access policies with Microsoft Entra ID Conditional Access policies, so that access policies can be applied to users and groups. type FilteringProfilesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewFilteringProfilesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7 func (m *FilteringProfilesRequestBuilder) Count()(*FilteringProfilesCountRequestBuilder) { return NewFilteringProfilesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the filteringProfile objects and their properties. +// Get a filtering profile associates network access policies with Microsoft Entra ID Conditional Access policies, so that access policies can be applied to users and groups. // returns a FilteringProfileCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/networkaccess-filteringprofile-list?view=graph-rest-1.0 func (m *FilteringProfilesRequestBuilder) Get(ctx context.Context, requestConfiguration *FilteringProfilesRequestBuilderGetRequestConfiguration)(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.FilteringProfileCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *FilteringProfilesRequestBuilder) Post(ctx context.Context, body i43e723 } return res.(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.FilteringProfileable), nil } -// ToGetRequestInformation get a list of the filteringProfile objects and their properties. +// ToGetRequestInformation a filtering profile associates network access policies with Microsoft Entra ID Conditional Access policies, so that access policies can be applied to users and groups. // returns a *RequestInformation when successful func (m *FilteringProfilesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FilteringProfilesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/networkaccess/forwarding_policies_forwarding_policy_item_request_builder.go b/networkaccess/forwarding_policies_forwarding_policy_item_request_builder.go index bef9caeabe4..e2081752867 100644 --- a/networkaccess/forwarding_policies_forwarding_policy_item_request_builder.go +++ b/networkaccess/forwarding_policies_forwarding_policy_item_request_builder.go @@ -18,7 +18,7 @@ type ForwardingPoliciesForwardingPolicyItemRequestBuilderDeleteRequestConfigurat // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ForwardingPoliciesForwardingPolicyItemRequestBuilderGetQueryParameters retrieve information about a specific forwarding policy. +// ForwardingPoliciesForwardingPolicyItemRequestBuilderGetQueryParameters a forwarding policy defines the specific traffic that is routed through the Global Secure Access Service. It's then added to a forwarding profile. type ForwardingPoliciesForwardingPolicyItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ForwardingPoliciesForwardingPolicyItemRequestBuilder) Delete(ctx contex } return nil } -// Get retrieve information about a specific forwarding policy. +// Get a forwarding policy defines the specific traffic that is routed through the Global Secure Access Service. It's then added to a forwarding profile. // returns a ForwardingPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/networkaccess-forwardingpolicy-get?view=graph-rest-1.0 func (m *ForwardingPoliciesForwardingPolicyItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ForwardingPoliciesForwardingPolicyItemRequestBuilderGetRequestConfiguration)(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.ForwardingPolicyable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -134,7 +131,7 @@ func (m *ForwardingPoliciesForwardingPolicyItemRequestBuilder) ToDeleteRequestIn requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve information about a specific forwarding policy. +// ToGetRequestInformation a forwarding policy defines the specific traffic that is routed through the Global Secure Access Service. It's then added to a forwarding profile. // returns a *RequestInformation when successful func (m *ForwardingPoliciesForwardingPolicyItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ForwardingPoliciesForwardingPolicyItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/networkaccess/forwarding_policies_item_microsoft_graph_networkaccess_update_policy_rules_request_builder.go b/networkaccess/forwarding_policies_item_microsoft_graph_networkaccess_update_policy_rules_request_builder.go index 76a7d274288..a1c579ef881 100644 --- a/networkaccess/forwarding_policies_item_microsoft_graph_networkaccess_update_policy_rules_request_builder.go +++ b/networkaccess/forwarding_policies_item_microsoft_graph_networkaccess_update_policy_rules_request_builder.go @@ -34,7 +34,7 @@ func NewForwardingPoliciesItemMicrosoftGraphNetworkaccessUpdatePolicyRulesReques // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/networkaccess-forwardingpolicy-updatepolicyrules?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/networkaccess-forwardingpolicy-updatepolicyrules?view=graph-rest-beta func (m *ForwardingPoliciesItemMicrosoftGraphNetworkaccessUpdatePolicyRulesRequestBuilder) Post(ctx context.Context, body ForwardingPoliciesItemMicrosoftGraphNetworkaccessUpdatePolicyRulesUpdatePolicyRulesPostRequestBodyable, requestConfiguration *ForwardingPoliciesItemMicrosoftGraphNetworkaccessUpdatePolicyRulesRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/networkaccess/forwarding_policies_request_builder.go b/networkaccess/forwarding_policies_request_builder.go index c41933fe675..c329edaf516 100644 --- a/networkaccess/forwarding_policies_request_builder.go +++ b/networkaccess/forwarding_policies_request_builder.go @@ -11,7 +11,7 @@ import ( type ForwardingPoliciesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ForwardingPoliciesRequestBuilderGetQueryParameters retrieve information about a specific forwarding policy. +// ForwardingPoliciesRequestBuilderGetQueryParameters a forwarding policy defines the specific traffic that is routed through the Global Secure Access Service. It's then added to a forwarding profile. type ForwardingPoliciesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewForwardingPoliciesRequestBuilder(rawUrl string, requestAdapter i2ae4187f func (m *ForwardingPoliciesRequestBuilder) Count()(*ForwardingPoliciesCountRequestBuilder) { return NewForwardingPoliciesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve information about a specific forwarding policy. +// Get a forwarding policy defines the specific traffic that is routed through the Global Secure Access Service. It's then added to a forwarding profile. // returns a ForwardingPolicyCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ForwardingPoliciesRequestBuilder) Get(ctx context.Context, requestConfiguration *ForwardingPoliciesRequestBuilderGetRequestConfiguration)(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.ForwardingPolicyCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *ForwardingPoliciesRequestBuilder) Post(ctx context.Context, body i43e72 } return res.(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.ForwardingPolicyable), nil } -// ToGetRequestInformation retrieve information about a specific forwarding policy. +// ToGetRequestInformation a forwarding policy defines the specific traffic that is routed through the Global Secure Access Service. It's then added to a forwarding profile. // returns a *RequestInformation when successful func (m *ForwardingPoliciesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ForwardingPoliciesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/networkaccess/forwarding_profiles_forwarding_profile_item_request_builder.go b/networkaccess/forwarding_profiles_forwarding_profile_item_request_builder.go index 4889775402c..42a0a49ba40 100644 --- a/networkaccess/forwarding_profiles_forwarding_profile_item_request_builder.go +++ b/networkaccess/forwarding_profiles_forwarding_profile_item_request_builder.go @@ -18,7 +18,7 @@ type ForwardingProfilesForwardingProfileItemRequestBuilderDeleteRequestConfigura // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ForwardingProfilesForwardingProfileItemRequestBuilderGetQueryParameters retrieve information about a specific forwarding profile. +// ForwardingProfilesForwardingProfileItemRequestBuilderGetQueryParameters a forwarding profile determines which types of traffic are routed through the Global Secure Access services and which ones are skipped. The handling of specific traffic is determined by the forwarding policies that are added to the forwarding profile. type ForwardingProfilesForwardingProfileItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ForwardingProfilesForwardingProfileItemRequestBuilder) Delete(ctx conte } return nil } -// Get retrieve information about a specific forwarding profile. +// Get a forwarding profile determines which types of traffic are routed through the Global Secure Access services and which ones are skipped. The handling of specific traffic is determined by the forwarding policies that are added to the forwarding profile. // returns a ForwardingProfileable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/networkaccess-forwardingprofile-get?view=graph-rest-1.0 func (m *ForwardingProfilesForwardingProfileItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ForwardingProfilesForwardingProfileItemRequestBuilderGetRequestConfiguration)(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.ForwardingProfileable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *ForwardingProfilesForwardingProfileItemRequestBuilder) Get(ctx context. } return res.(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.ForwardingProfileable), nil } -// Patch update an existing forwarding profile. +// Patch update the navigation property forwardingProfiles in networkAccess // returns a ForwardingProfileable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/networkaccess-forwardingprofile-update?view=graph-rest-1.0 func (m *ForwardingProfilesForwardingProfileItemRequestBuilder) Patch(ctx context.Context, body i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.ForwardingProfileable, requestConfiguration *ForwardingProfilesForwardingProfileItemRequestBuilderPatchRequestConfiguration)(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.ForwardingProfileable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -137,7 +131,7 @@ func (m *ForwardingProfilesForwardingProfileItemRequestBuilder) ToDeleteRequestI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve information about a specific forwarding profile. +// ToGetRequestInformation a forwarding profile determines which types of traffic are routed through the Global Secure Access services and which ones are skipped. The handling of specific traffic is determined by the forwarding policies that are added to the forwarding profile. // returns a *RequestInformation when successful func (m *ForwardingProfilesForwardingProfileItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ForwardingProfilesForwardingProfileItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -151,7 +145,7 @@ func (m *ForwardingProfilesForwardingProfileItemRequestBuilder) ToGetRequestInfo requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update an existing forwarding profile. +// ToPatchRequestInformation update the navigation property forwardingProfiles in networkAccess // returns a *RequestInformation when successful func (m *ForwardingProfilesForwardingProfileItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.ForwardingProfileable, requestConfiguration *ForwardingProfilesForwardingProfileItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/networkaccess/forwarding_profiles_request_builder.go b/networkaccess/forwarding_profiles_request_builder.go index facbea1994d..7435d614aae 100644 --- a/networkaccess/forwarding_profiles_request_builder.go +++ b/networkaccess/forwarding_profiles_request_builder.go @@ -11,7 +11,7 @@ import ( type ForwardingProfilesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ForwardingProfilesRequestBuilderGetQueryParameters retrieve a list of forwarding profiles. +// ForwardingProfilesRequestBuilderGetQueryParameters a forwarding profile determines which types of traffic are routed through the Global Secure Access services and which ones are skipped. The handling of specific traffic is determined by the forwarding policies that are added to the forwarding profile. type ForwardingProfilesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewForwardingProfilesRequestBuilder(rawUrl string, requestAdapter i2ae4187f func (m *ForwardingProfilesRequestBuilder) Count()(*ForwardingProfilesCountRequestBuilder) { return NewForwardingProfilesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of forwarding profiles. +// Get a forwarding profile determines which types of traffic are routed through the Global Secure Access services and which ones are skipped. The handling of specific traffic is determined by the forwarding policies that are added to the forwarding profile. // returns a ForwardingProfileCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/networkaccess-networkaccessroot-list-forwardingprofiles?view=graph-rest-1.0 func (m *ForwardingProfilesRequestBuilder) Get(ctx context.Context, requestConfiguration *ForwardingProfilesRequestBuilderGetRequestConfiguration)(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.ForwardingProfileCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ForwardingProfilesRequestBuilder) Post(ctx context.Context, body i43e72 } return res.(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.ForwardingProfileable), nil } -// ToGetRequestInformation retrieve a list of forwarding profiles. +// ToGetRequestInformation a forwarding profile determines which types of traffic are routed through the Global Secure Access services and which ones are skipped. The handling of specific traffic is determined by the forwarding policies that are added to the forwarding profile. // returns a *RequestInformation when successful func (m *ForwardingProfilesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ForwardingProfilesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/networkaccess/logs_remote_networks_request_builder.go b/networkaccess/logs_remote_networks_request_builder.go index 6a46be11946..75890b70204 100644 --- a/networkaccess/logs_remote_networks_request_builder.go +++ b/networkaccess/logs_remote_networks_request_builder.go @@ -11,7 +11,7 @@ import ( type LogsRemoteNetworksRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LogsRemoteNetworksRequestBuilderGetQueryParameters retrieve a list of remote network health status microsoft.graph.networkaccess.remoteNetworkHealthStatusEvent events, providing insights into the health and status of remote networks. +// LogsRemoteNetworksRequestBuilderGetQueryParameters a collection of remote network health events. type LogsRemoteNetworksRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewLogsRemoteNetworksRequestBuilder(rawUrl string, requestAdapter i2ae4187f func (m *LogsRemoteNetworksRequestBuilder) Count()(*LogsRemoteNetworksCountRequestBuilder) { return NewLogsRemoteNetworksCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of remote network health status microsoft.graph.networkaccess.remoteNetworkHealthStatusEvent events, providing insights into the health and status of remote networks. +// Get a collection of remote network health events. // returns a RemoteNetworkHealthEventCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/networkaccess-remotenetworkhealthstatusevent-list?view=graph-rest-1.0 func (m *LogsRemoteNetworksRequestBuilder) Get(ctx context.Context, requestConfiguration *LogsRemoteNetworksRequestBuilderGetRequestConfiguration)(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.RemoteNetworkHealthEventCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *LogsRemoteNetworksRequestBuilder) Post(ctx context.Context, body i43e72 } return res.(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.RemoteNetworkHealthEventable), nil } -// ToGetRequestInformation retrieve a list of remote network health status microsoft.graph.networkaccess.remoteNetworkHealthStatusEvent events, providing insights into the health and status of remote networks. +// ToGetRequestInformation a collection of remote network health events. // returns a *RequestInformation when successful func (m *LogsRemoteNetworksRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LogsRemoteNetworksRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/networkaccess/logs_traffic_request_builder.go b/networkaccess/logs_traffic_request_builder.go index 72ef887577e..273c9545860 100644 --- a/networkaccess/logs_traffic_request_builder.go +++ b/networkaccess/logs_traffic_request_builder.go @@ -11,7 +11,7 @@ import ( type LogsTrafficRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LogsTrafficRequestBuilderGetQueryParameters get a list of log events for traffic routed through the Global Secure Access services. +// LogsTrafficRequestBuilderGetQueryParameters a network access traffic log entry that contains comprehensive information about network traffic events. type LogsTrafficRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewLogsTrafficRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 func (m *LogsTrafficRequestBuilder) Count()(*LogsTrafficCountRequestBuilder) { return NewLogsTrafficCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of log events for traffic routed through the Global Secure Access services. +// Get a network access traffic log entry that contains comprehensive information about network traffic events. // returns a NetworkAccessTrafficCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/networkaccess-logs-list-traffic?view=graph-rest-1.0 func (m *LogsTrafficRequestBuilder) Get(ctx context.Context, requestConfiguration *LogsTrafficRequestBuilderGetRequestConfiguration)(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.NetworkAccessTrafficCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *LogsTrafficRequestBuilder) Post(ctx context.Context, body i43e723cc778f } return res.(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.NetworkAccessTrafficable), nil } -// ToGetRequestInformation get a list of log events for traffic routed through the Global Secure Access services. +// ToGetRequestInformation a network access traffic log entry that contains comprehensive information about network traffic events. // returns a *RequestInformation when successful func (m *LogsTrafficRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LogsTrafficRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/networkaccess/reports_microsoft_graph_networkaccess_entities_summaries_with_start_date_time_with_end_date_time_request_builder.go b/networkaccess/reports_microsoft_graph_networkaccess_entities_summaries_with_start_date_time_with_end_date_time_request_builder.go index fe743ba1c3c..7c0a38cd78c 100644 --- a/networkaccess/reports_microsoft_graph_networkaccess_entities_summaries_with_start_date_time_with_end_date_time_request_builder.go +++ b/networkaccess/reports_microsoft_graph_networkaccess_entities_summaries_with_start_date_time_with_end_date_time_request_builder.go @@ -11,7 +11,7 @@ import ( type ReportsMicrosoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTimeRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ReportsMicrosoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters invoke function entitiesSummaries +// ReportsMicrosoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters get the number of users, devices, and workloads per traffic type in a specified time period. type ReportsMicrosoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -52,10 +52,13 @@ func NewReportsMicrosoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWith urlParams["request-raw-url"] = rawUrl return NewReportsMicrosoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTimeRequestBuilderInternal(urlParams, requestAdapter, nil, nil) } -// Get invoke function entitiesSummaries +// Get get the number of users, devices, and workloads per traffic type in a specified time period. // Deprecated: This method is obsolete. Use GetAsEntitiesSummariesWithStartDateTimeWithEndDateTimeGetResponse instead. // returns a ReportsMicrosoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTimeEntitiesSummariesWithStartDateTimeWithEndDateTimeResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/networkaccess-reports-entitiessummaries?view=graph-rest-beta func (m *ReportsMicrosoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTimeRequestBuilder) Get(ctx context.Context, requestConfiguration *ReportsMicrosoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration)(ReportsMicrosoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTimeEntitiesSummariesWithStartDateTimeWithEndDateTimeResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,9 +76,12 @@ func (m *ReportsMicrosoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWit } return res.(ReportsMicrosoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTimeEntitiesSummariesWithStartDateTimeWithEndDateTimeResponseable), nil } -// GetAsEntitiesSummariesWithStartDateTimeWithEndDateTimeGetResponse invoke function entitiesSummaries +// GetAsEntitiesSummariesWithStartDateTimeWithEndDateTimeGetResponse get the number of users, devices, and workloads per traffic type in a specified time period. // returns a ReportsMicrosoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTimeEntitiesSummariesWithStartDateTimeWithEndDateTimeGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/networkaccess-reports-entitiessummaries?view=graph-rest-beta func (m *ReportsMicrosoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTimeRequestBuilder) GetAsEntitiesSummariesWithStartDateTimeWithEndDateTimeGetResponse(ctx context.Context, requestConfiguration *ReportsMicrosoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration)(ReportsMicrosoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTimeEntitiesSummariesWithStartDateTimeWithEndDateTimeGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,7 +99,7 @@ func (m *ReportsMicrosoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWit } return res.(ReportsMicrosoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTimeEntitiesSummariesWithStartDateTimeWithEndDateTimeGetResponseable), nil } -// ToGetRequestInformation invoke function entitiesSummaries +// ToGetRequestInformation get the number of users, devices, and workloads per traffic type in a specified time period. // returns a *RequestInformation when successful func (m *ReportsMicrosoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTimeRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ReportsMicrosoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/networkaccess/reports_microsoft_graph_networkaccess_transaction_summaries_with_start_date_time_with_end_date_time_request_builder.go b/networkaccess/reports_microsoft_graph_networkaccess_transaction_summaries_with_start_date_time_with_end_date_time_request_builder.go index 350fed3e28e..b24c144875d 100644 --- a/networkaccess/reports_microsoft_graph_networkaccess_transaction_summaries_with_start_date_time_with_end_date_time_request_builder.go +++ b/networkaccess/reports_microsoft_graph_networkaccess_transaction_summaries_with_start_date_time_with_end_date_time_request_builder.go @@ -11,7 +11,7 @@ import ( type ReportsMicrosoftGraphNetworkaccessTransactionSummariesWithStartDateTimeWithEndDateTimeRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ReportsMicrosoftGraphNetworkaccessTransactionSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters invoke function transactionSummaries +// ReportsMicrosoftGraphNetworkaccessTransactionSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters get the total number of transactions and the number of blocked transactions, grouped by traffic type. type ReportsMicrosoftGraphNetworkaccessTransactionSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -52,10 +52,13 @@ func NewReportsMicrosoftGraphNetworkaccessTransactionSummariesWithStartDateTimeW urlParams["request-raw-url"] = rawUrl return NewReportsMicrosoftGraphNetworkaccessTransactionSummariesWithStartDateTimeWithEndDateTimeRequestBuilderInternal(urlParams, requestAdapter, nil, nil) } -// Get invoke function transactionSummaries +// Get get the total number of transactions and the number of blocked transactions, grouped by traffic type. // Deprecated: This method is obsolete. Use GetAsTransactionSummariesWithStartDateTimeWithEndDateTimeGetResponse instead. // returns a ReportsMicrosoftGraphNetworkaccessTransactionSummariesWithStartDateTimeWithEndDateTimeTransactionSummariesWithStartDateTimeWithEndDateTimeResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/networkaccess-reports-transactionsummaries?view=graph-rest-beta func (m *ReportsMicrosoftGraphNetworkaccessTransactionSummariesWithStartDateTimeWithEndDateTimeRequestBuilder) Get(ctx context.Context, requestConfiguration *ReportsMicrosoftGraphNetworkaccessTransactionSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration)(ReportsMicrosoftGraphNetworkaccessTransactionSummariesWithStartDateTimeWithEndDateTimeTransactionSummariesWithStartDateTimeWithEndDateTimeResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,9 +76,12 @@ func (m *ReportsMicrosoftGraphNetworkaccessTransactionSummariesWithStartDateTime } return res.(ReportsMicrosoftGraphNetworkaccessTransactionSummariesWithStartDateTimeWithEndDateTimeTransactionSummariesWithStartDateTimeWithEndDateTimeResponseable), nil } -// GetAsTransactionSummariesWithStartDateTimeWithEndDateTimeGetResponse invoke function transactionSummaries +// GetAsTransactionSummariesWithStartDateTimeWithEndDateTimeGetResponse get the total number of transactions and the number of blocked transactions, grouped by traffic type. // returns a ReportsMicrosoftGraphNetworkaccessTransactionSummariesWithStartDateTimeWithEndDateTimeTransactionSummariesWithStartDateTimeWithEndDateTimeGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/networkaccess-reports-transactionsummaries?view=graph-rest-beta func (m *ReportsMicrosoftGraphNetworkaccessTransactionSummariesWithStartDateTimeWithEndDateTimeRequestBuilder) GetAsTransactionSummariesWithStartDateTimeWithEndDateTimeGetResponse(ctx context.Context, requestConfiguration *ReportsMicrosoftGraphNetworkaccessTransactionSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration)(ReportsMicrosoftGraphNetworkaccessTransactionSummariesWithStartDateTimeWithEndDateTimeTransactionSummariesWithStartDateTimeWithEndDateTimeGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,7 +99,7 @@ func (m *ReportsMicrosoftGraphNetworkaccessTransactionSummariesWithStartDateTime } return res.(ReportsMicrosoftGraphNetworkaccessTransactionSummariesWithStartDateTimeWithEndDateTimeTransactionSummariesWithStartDateTimeWithEndDateTimeGetResponseable), nil } -// ToGetRequestInformation invoke function transactionSummaries +// ToGetRequestInformation get the total number of transactions and the number of blocked transactions, grouped by traffic type. // returns a *RequestInformation when successful func (m *ReportsMicrosoftGraphNetworkaccessTransactionSummariesWithStartDateTimeWithEndDateTimeRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ReportsMicrosoftGraphNetworkaccessTransactionSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/networkaccess/settings_conditional_access_request_builder.go b/networkaccess/settings_conditional_access_request_builder.go index ee6c81afe9d..cf8f5b935eb 100644 --- a/networkaccess/settings_conditional_access_request_builder.go +++ b/networkaccess/settings_conditional_access_request_builder.go @@ -18,7 +18,7 @@ type SettingsConditionalAccessRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// SettingsConditionalAccessRequestBuilderGetQueryParameters retrieve the conditional access settings, which include the preservation of the original source IP address in network traffic for accurate identification and tracking, and the establishment of scalable network connectivity through the Global Secure Access services. +// SettingsConditionalAccessRequestBuilderGetQueryParameters defines whether conditional access settings are enabled for traffic profiles. Each tenant has only one conditional access settings object. type SettingsConditionalAccessRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *SettingsConditionalAccessRequestBuilder) Delete(ctx context.Context, re } return nil } -// Get retrieve the conditional access settings, which include the preservation of the original source IP address in network traffic for accurate identification and tracking, and the establishment of scalable network connectivity through the Global Secure Access services. +// Get defines whether conditional access settings are enabled for traffic profiles. Each tenant has only one conditional access settings object. // returns a ConditionalAccessSettingsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/networkaccess-conditionalaccesssettings-get?view=graph-rest-1.0 func (m *SettingsConditionalAccessRequestBuilder) Get(ctx context.Context, requestConfiguration *SettingsConditionalAccessRequestBuilderGetRequestConfiguration)(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.ConditionalAccessSettingsable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *SettingsConditionalAccessRequestBuilder) Get(ctx context.Context, reque } return res.(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.ConditionalAccessSettingsable), nil } -// Patch update the conditional access settings to include the preservation of the original source IP address in network traffic for accurate identification and tracking, as well as the establishment of scalable network connectivity through the Global Secure Access services. +// Patch update the navigation property conditionalAccess in networkAccess // returns a ConditionalAccessSettingsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/networkaccess-conditionalaccesssettings-update?view=graph-rest-1.0 func (m *SettingsConditionalAccessRequestBuilder) Patch(ctx context.Context, body i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.ConditionalAccessSettingsable, requestConfiguration *SettingsConditionalAccessRequestBuilderPatchRequestConfiguration)(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.ConditionalAccessSettingsable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *SettingsConditionalAccessRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the conditional access settings, which include the preservation of the original source IP address in network traffic for accurate identification and tracking, and the establishment of scalable network connectivity through the Global Secure Access services. +// ToGetRequestInformation defines whether conditional access settings are enabled for traffic profiles. Each tenant has only one conditional access settings object. // returns a *RequestInformation when successful func (m *SettingsConditionalAccessRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SettingsConditionalAccessRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *SettingsConditionalAccessRequestBuilder) ToGetRequestInformation(ctx co requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the conditional access settings to include the preservation of the original source IP address in network traffic for accurate identification and tracking, as well as the establishment of scalable network connectivity through the Global Secure Access services. +// ToPatchRequestInformation update the navigation property conditionalAccess in networkAccess // returns a *RequestInformation when successful func (m *SettingsConditionalAccessRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.ConditionalAccessSettingsable, requestConfiguration *SettingsConditionalAccessRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/networkaccess/settings_cross_tenant_access_request_builder.go b/networkaccess/settings_cross_tenant_access_request_builder.go index 124e0941756..8d5fcd17537 100644 --- a/networkaccess/settings_cross_tenant_access_request_builder.go +++ b/networkaccess/settings_cross_tenant_access_request_builder.go @@ -18,7 +18,7 @@ type SettingsCrossTenantAccessRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// SettingsCrossTenantAccessRequestBuilderGetQueryParameters retrieve the cross-tenant access settings, which include network packet tagging to enforce Tenant Restrictions Policies (TRv2 Policies) aimed at preventing data exfiltration to external tenants. +// SettingsCrossTenantAccessRequestBuilderGetQueryParameters defines whether the tenant restrictions cross-tenant access settings are enabled for traffic profiles. Each tenant has only one cross-tenant access settings object. type SettingsCrossTenantAccessRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *SettingsCrossTenantAccessRequestBuilder) Delete(ctx context.Context, re } return nil } -// Get retrieve the cross-tenant access settings, which include network packet tagging to enforce Tenant Restrictions Policies (TRv2 Policies) aimed at preventing data exfiltration to external tenants. +// Get defines whether the tenant restrictions cross-tenant access settings are enabled for traffic profiles. Each tenant has only one cross-tenant access settings object. // returns a CrossTenantAccessSettingsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/networkaccess-crosstenantaccesssettings-get?view=graph-rest-1.0 func (m *SettingsCrossTenantAccessRequestBuilder) Get(ctx context.Context, requestConfiguration *SettingsCrossTenantAccessRequestBuilderGetRequestConfiguration)(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.CrossTenantAccessSettingsable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *SettingsCrossTenantAccessRequestBuilder) Get(ctx context.Context, reque } return res.(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.CrossTenantAccessSettingsable), nil } -// Patch update the cross-tenant access settings to include network packet tagging for enforcing Tenant Restrictions Policies (TRv2 Policies) that prevent data exfiltration to external tenants. +// Patch update the navigation property crossTenantAccess in networkAccess // returns a CrossTenantAccessSettingsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/networkaccess-crosstenantaccesssettings-update?view=graph-rest-1.0 func (m *SettingsCrossTenantAccessRequestBuilder) Patch(ctx context.Context, body i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.CrossTenantAccessSettingsable, requestConfiguration *SettingsCrossTenantAccessRequestBuilderPatchRequestConfiguration)(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.CrossTenantAccessSettingsable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *SettingsCrossTenantAccessRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the cross-tenant access settings, which include network packet tagging to enforce Tenant Restrictions Policies (TRv2 Policies) aimed at preventing data exfiltration to external tenants. +// ToGetRequestInformation defines whether the tenant restrictions cross-tenant access settings are enabled for traffic profiles. Each tenant has only one cross-tenant access settings object. // returns a *RequestInformation when successful func (m *SettingsCrossTenantAccessRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SettingsCrossTenantAccessRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *SettingsCrossTenantAccessRequestBuilder) ToGetRequestInformation(ctx co requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the cross-tenant access settings to include network packet tagging for enforcing Tenant Restrictions Policies (TRv2 Policies) that prevent data exfiltration to external tenants. +// ToPatchRequestInformation update the navigation property crossTenantAccess in networkAccess // returns a *RequestInformation when successful func (m *SettingsCrossTenantAccessRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.CrossTenantAccessSettingsable, requestConfiguration *SettingsCrossTenantAccessRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/networkaccess/settings_enriched_audit_logs_request_builder.go b/networkaccess/settings_enriched_audit_logs_request_builder.go index 52814e072b0..1392e0d751c 100644 --- a/networkaccess/settings_enriched_audit_logs_request_builder.go +++ b/networkaccess/settings_enriched_audit_logs_request_builder.go @@ -90,12 +90,9 @@ func (m *SettingsEnrichedAuditLogsRequestBuilder) Get(ctx context.Context, reque } return res.(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.EnrichedAuditLogsable), nil } -// Patch update the settings for the enriched audit logs workloads to control the enrichment feature for each partner workload, such as SharePoint, Teams, and Exchange. +// Patch update the navigation property enrichedAuditLogs in networkAccess // returns a EnrichedAuditLogsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/networkaccess-enrichedauditlogs-update?view=graph-rest-1.0 func (m *SettingsEnrichedAuditLogsRequestBuilder) Patch(ctx context.Context, body i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.EnrichedAuditLogsable, requestConfiguration *SettingsEnrichedAuditLogsRequestBuilderPatchRequestConfiguration)(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.EnrichedAuditLogsable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -138,7 +135,7 @@ func (m *SettingsEnrichedAuditLogsRequestBuilder) ToGetRequestInformation(ctx co requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the settings for the enriched audit logs workloads to control the enrichment feature for each partner workload, such as SharePoint, Teams, and Exchange. +// ToPatchRequestInformation update the navigation property enrichedAuditLogs in networkAccess // returns a *RequestInformation when successful func (m *SettingsEnrichedAuditLogsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.EnrichedAuditLogsable, requestConfiguration *SettingsEnrichedAuditLogsRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/networkaccess/settings_forwarding_options_request_builder.go b/networkaccess/settings_forwarding_options_request_builder.go index eac7470034d..a08ccb8ed5e 100644 --- a/networkaccess/settings_forwarding_options_request_builder.go +++ b/networkaccess/settings_forwarding_options_request_builder.go @@ -18,7 +18,7 @@ type SettingsForwardingOptionsRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// SettingsForwardingOptionsRequestBuilderGetQueryParameters retrieve the forwarding options for the tenant, with a specific focus on the 'skipDnsLookupState' flag. This flag determines whether DNS lookup will be skipped, allowing Microsoft 365 traffic to be forwarded directly to the Front Door using the client-resolved destination. +// SettingsForwardingOptionsRequestBuilderGetQueryParameters get forwardingOptions from networkAccess type SettingsForwardingOptionsRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *SettingsForwardingOptionsRequestBuilder) Delete(ctx context.Context, re } return nil } -// Get retrieve the forwarding options for the tenant, with a specific focus on the 'skipDnsLookupState' flag. This flag determines whether DNS lookup will be skipped, allowing Microsoft 365 traffic to be forwarded directly to the Front Door using the client-resolved destination. +// Get get forwardingOptions from networkAccess // returns a ForwardingOptionsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/networkaccess-forwardingoptions-get?view=graph-rest-1.0 func (m *SettingsForwardingOptionsRequestBuilder) Get(ctx context.Context, requestConfiguration *SettingsForwardingOptionsRequestBuilderGetRequestConfiguration)(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.ForwardingOptionsable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *SettingsForwardingOptionsRequestBuilder) Get(ctx context.Context, reque } return res.(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.ForwardingOptionsable), nil } -// Patch the forwarding options for the tenant, with a specific focus on the skipDnsLookupState flag. This flag determines whether DNS lookup will be skipped, allowing Microsoft 365 traffic to be forwarded directly to the Front Door using the client-resolved destination. +// Patch update the navigation property forwardingOptions in networkAccess // returns a ForwardingOptionsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/networkaccess-forwardingoptions-update?view=graph-rest-1.0 func (m *SettingsForwardingOptionsRequestBuilder) Patch(ctx context.Context, body i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.ForwardingOptionsable, requestConfiguration *SettingsForwardingOptionsRequestBuilderPatchRequestConfiguration)(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.ForwardingOptionsable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *SettingsForwardingOptionsRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the forwarding options for the tenant, with a specific focus on the 'skipDnsLookupState' flag. This flag determines whether DNS lookup will be skipped, allowing Microsoft 365 traffic to be forwarded directly to the Front Door using the client-resolved destination. +// ToGetRequestInformation get forwardingOptions from networkAccess // returns a *RequestInformation when successful func (m *SettingsForwardingOptionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SettingsForwardingOptionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *SettingsForwardingOptionsRequestBuilder) ToGetRequestInformation(ctx co requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation the forwarding options for the tenant, with a specific focus on the skipDnsLookupState flag. This flag determines whether DNS lookup will be skipped, allowing Microsoft 365 traffic to be forwarded directly to the Front Door using the client-resolved destination. +// ToPatchRequestInformation update the navigation property forwardingOptions in networkAccess // returns a *RequestInformation when successful func (m *SettingsForwardingOptionsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.ForwardingOptionsable, requestConfiguration *SettingsForwardingOptionsRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/networkaccess/tenant_status_request_builder.go b/networkaccess/tenant_status_request_builder.go index 30bd56c6208..de9000a489b 100644 --- a/networkaccess/tenant_status_request_builder.go +++ b/networkaccess/tenant_status_request_builder.go @@ -18,7 +18,7 @@ type TenantStatusRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TenantStatusRequestBuilderGetQueryParameters retrieve the onboarding status of a specific tenant. +// TenantStatusRequestBuilderGetQueryParameters represents the status of the Global Secure Access services for the tenant. type TenantStatusRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *TenantStatusRequestBuilder) Delete(ctx context.Context, requestConfigur } return nil } -// Get retrieve the onboarding status of a specific tenant. +// Get represents the status of the Global Secure Access services for the tenant. // returns a TenantStatusable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/networkaccess-tenantstatus-get?view=graph-rest-1.0 func (m *TenantStatusRequestBuilder) Get(ctx context.Context, requestConfiguration *TenantStatusRequestBuilderGetRequestConfiguration)(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.TenantStatusable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *TenantStatusRequestBuilder) ToDeleteRequestInformation(ctx context.Cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the onboarding status of a specific tenant. +// ToGetRequestInformation represents the status of the Global Secure Access services for the tenant. // returns a *RequestInformation when successful func (m *TenantStatusRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TenantStatusRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/oauth2permissiongrants/delta_request_builder.go b/oauth2permissiongrants/delta_request_builder.go index 1a8a5e185c2..3e0939747ed 100644 --- a/oauth2permissiongrants/delta_request_builder.go +++ b/oauth2permissiongrants/delta_request_builder.go @@ -10,7 +10,7 @@ import ( type DeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeltaRequestBuilderGetQueryParameters invoke function delta +// DeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted oauth2permissiongrant objects without performing a full read of the entire resource collection. For details, see Using delta query. type DeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb urlParams["request-raw-url"] = rawUrl return NewDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get get newly created, updated, or deleted oauth2permissiongrant objects without performing a full read of the entire resource collection. For details, see Using delta query. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a DeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/oauth2permissiongrant-delta?view=graph-rest-beta func (m *DeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(DeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *DeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *Del } return res.(DeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse get newly created, updated, or deleted oauth2permissiongrant objects without performing a full read of the entire resource collection. For details, see Using delta query. // returns a DeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/oauth2permissiongrant-delta?view=graph-rest-beta func (m *DeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(DeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *DeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, request } return res.(DeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation get newly created, updated, or deleted oauth2permissiongrant objects without performing a full read of the entire resource collection. For details, see Using delta query. // returns a *RequestInformation when successful func (m *DeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/oauth2permissiongrants/o_auth2_permission_grant_item_request_builder.go b/oauth2permissiongrants/o_auth2_permission_grant_item_request_builder.go index b0fc5e96e06..3cff92a313a 100644 --- a/oauth2permissiongrants/o_auth2_permission_grant_item_request_builder.go +++ b/oauth2permissiongrants/o_auth2_permission_grant_item_request_builder.go @@ -58,7 +58,7 @@ func NewOAuth2PermissionGrantItemRequestBuilder(rawUrl string, requestAdapter i2 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/oauth2permissiongrant-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/oauth2permissiongrant-delete?view=graph-rest-beta func (m *OAuth2PermissionGrantItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *OAuth2PermissionGrantItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,7 +78,7 @@ func (m *OAuth2PermissionGrantItemRequestBuilder) Delete(ctx context.Context, re // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/oauth2permissiongrant-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/oauth2permissiongrant-get?view=graph-rest-beta func (m *OAuth2PermissionGrantItemRequestBuilder) Get(ctx context.Context, requestConfiguration *OAuth2PermissionGrantItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OAuth2PermissionGrantable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,7 +101,7 @@ func (m *OAuth2PermissionGrantItemRequestBuilder) Get(ctx context.Context, reque // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/oauth2permissiongrant-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/oauth2permissiongrant-update?view=graph-rest-beta func (m *OAuth2PermissionGrantItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OAuth2PermissionGrantable, requestConfiguration *OAuth2PermissionGrantItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OAuth2PermissionGrantable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/oauth2permissiongrants/oauth2_permission_grants_request_builder.go b/oauth2permissiongrants/oauth2_permission_grants_request_builder.go index 8068c64f8fe..2a0e865a6c0 100644 --- a/oauth2permissiongrants/oauth2_permission_grants_request_builder.go +++ b/oauth2permissiongrants/oauth2_permission_grants_request_builder.go @@ -86,7 +86,7 @@ func (m *Oauth2PermissionGrantsRequestBuilder) Delta()(*DeltaRequestBuilder) { // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/oauth2permissiongrant-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/oauth2permissiongrant-list?view=graph-rest-beta func (m *Oauth2PermissionGrantsRequestBuilder) Get(ctx context.Context, requestConfiguration *Oauth2PermissionGrantsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OAuth2PermissionGrantCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -109,7 +109,7 @@ func (m *Oauth2PermissionGrantsRequestBuilder) Get(ctx context.Context, requestC // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/oauth2permissiongrant-post?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/oauth2permissiongrant-post?view=graph-rest-beta func (m *Oauth2PermissionGrantsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OAuth2PermissionGrantable, requestConfiguration *Oauth2PermissionGrantsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OAuth2PermissionGrantable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/onpremisespublishingprofiles/item_agent_groups_on_premises_agent_group_item_request_builder.go b/onpremisespublishingprofiles/item_agent_groups_on_premises_agent_group_item_request_builder.go index 980f82affac..7787e0132b1 100644 --- a/onpremisespublishingprofiles/item_agent_groups_on_premises_agent_group_item_request_builder.go +++ b/onpremisespublishingprofiles/item_agent_groups_on_premises_agent_group_item_request_builder.go @@ -18,7 +18,7 @@ type ItemAgentGroupsOnPremisesAgentGroupItemRequestBuilderDeleteRequestConfigura // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemAgentGroupsOnPremisesAgentGroupItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an onPremisesAgentGroup object. +// ItemAgentGroupsOnPremisesAgentGroupItemRequestBuilderGetQueryParameters list of existing onPremisesAgentGroup objects. Read-only. Nullable. type ItemAgentGroupsOnPremisesAgentGroupItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewItemAgentGroupsOnPremisesAgentGroupItemRequestBuilder(rawUrl string, req urlParams["request-raw-url"] = rawUrl return NewItemAgentGroupsOnPremisesAgentGroupItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an onPremisesAgentGroup object. +// Delete delete navigation property agentGroups for onPremisesPublishingProfiles // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/onpremisesagentgroup-delete?view=graph-rest-1.0 func (m *ItemAgentGroupsOnPremisesAgentGroupItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemAgentGroupsOnPremisesAgentGroupItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *ItemAgentGroupsOnPremisesAgentGroupItemRequestBuilder) Delete(ctx conte } return nil } -// Get retrieve the properties and relationships of an onPremisesAgentGroup object. +// Get list of existing onPremisesAgentGroup objects. Read-only. Nullable. // returns a OnPremisesAgentGroupable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/onpremisesagentgroup-get?view=graph-rest-1.0 func (m *ItemAgentGroupsOnPremisesAgentGroupItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAgentGroupsOnPremisesAgentGroupItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnPremisesAgentGroupable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,12 +95,9 @@ func (m *ItemAgentGroupsOnPremisesAgentGroupItemRequestBuilder) Get(ctx context. } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnPremisesAgentGroupable), nil } -// Patch update the properties of an onPremisesAgentGroup object. +// Patch update the navigation property agentGroups in onPremisesPublishingProfiles // returns a OnPremisesAgentGroupable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/onpremisesagentgroup-update?view=graph-rest-1.0 func (m *ItemAgentGroupsOnPremisesAgentGroupItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnPremisesAgentGroupable, requestConfiguration *ItemAgentGroupsOnPremisesAgentGroupItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnPremisesAgentGroupable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -129,7 +120,7 @@ func (m *ItemAgentGroupsOnPremisesAgentGroupItemRequestBuilder) Patch(ctx contex func (m *ItemAgentGroupsOnPremisesAgentGroupItemRequestBuilder) PublishedResources()(*ItemAgentGroupsItemPublishedResourcesRequestBuilder) { return NewItemAgentGroupsItemPublishedResourcesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete an onPremisesAgentGroup object. +// ToDeleteRequestInformation delete navigation property agentGroups for onPremisesPublishingProfiles // returns a *RequestInformation when successful func (m *ItemAgentGroupsOnPremisesAgentGroupItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemAgentGroupsOnPremisesAgentGroupItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -140,7 +131,7 @@ func (m *ItemAgentGroupsOnPremisesAgentGroupItemRequestBuilder) ToDeleteRequestI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of an onPremisesAgentGroup object. +// ToGetRequestInformation list of existing onPremisesAgentGroup objects. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemAgentGroupsOnPremisesAgentGroupItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAgentGroupsOnPremisesAgentGroupItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -154,7 +145,7 @@ func (m *ItemAgentGroupsOnPremisesAgentGroupItemRequestBuilder) ToGetRequestInfo requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an onPremisesAgentGroup object. +// ToPatchRequestInformation update the navigation property agentGroups in onPremisesPublishingProfiles // returns a *RequestInformation when successful func (m *ItemAgentGroupsOnPremisesAgentGroupItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnPremisesAgentGroupable, requestConfiguration *ItemAgentGroupsOnPremisesAgentGroupItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/onpremisespublishingprofiles/item_agent_groups_request_builder.go b/onpremisespublishingprofiles/item_agent_groups_request_builder.go index f94dd9e7de0..7f7c234632b 100644 --- a/onpremisespublishingprofiles/item_agent_groups_request_builder.go +++ b/onpremisespublishingprofiles/item_agent_groups_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemAgentGroupsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemAgentGroupsRequestBuilderGetQueryParameters retrieve a list of onPremisesAgentGroup objects. +// ItemAgentGroupsRequestBuilderGetQueryParameters list of existing onPremisesAgentGroup objects. Read-only. Nullable. type ItemAgentGroupsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemAgentGroupsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7da func (m *ItemAgentGroupsRequestBuilder) Count()(*ItemAgentGroupsCountRequestBuilder) { return NewItemAgentGroupsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of onPremisesAgentGroup objects. +// Get list of existing onPremisesAgentGroup objects. Read-only. Nullable. // returns a OnPremisesAgentGroupCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/onpremisesagentgroup-list?view=graph-rest-1.0 func (m *ItemAgentGroupsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAgentGroupsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnPremisesAgentGroupCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemAgentGroupsRequestBuilder) Get(ctx context.Context, requestConfigur } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnPremisesAgentGroupCollectionResponseable), nil } -// Post create a new onPremisesAgentGroup object. +// Post create new navigation property to agentGroups for onPremisesPublishingProfiles // returns a OnPremisesAgentGroupable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/onpremisesagentgroup-post?view=graph-rest-1.0 func (m *ItemAgentGroupsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnPremisesAgentGroupable, requestConfiguration *ItemAgentGroupsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnPremisesAgentGroupable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemAgentGroupsRequestBuilder) Post(ctx context.Context, body ie233ee76 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnPremisesAgentGroupable), nil } -// ToGetRequestInformation retrieve a list of onPremisesAgentGroup objects. +// ToGetRequestInformation list of existing onPremisesAgentGroup objects. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemAgentGroupsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAgentGroupsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemAgentGroupsRequestBuilder) ToGetRequestInformation(ctx context.Cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new onPremisesAgentGroup object. +// ToPostRequestInformation create new navigation property to agentGroups for onPremisesPublishingProfiles // returns a *RequestInformation when successful func (m *ItemAgentGroupsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnPremisesAgentGroupable, requestConfiguration *ItemAgentGroupsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/onpremisespublishingprofiles/item_agents_on_premises_agent_item_request_builder.go b/onpremisespublishingprofiles/item_agents_on_premises_agent_item_request_builder.go index 2d122c4e3da..c8d1a3ab3fc 100644 --- a/onpremisespublishingprofiles/item_agents_on_premises_agent_item_request_builder.go +++ b/onpremisespublishingprofiles/item_agents_on_premises_agent_item_request_builder.go @@ -18,7 +18,7 @@ type ItemAgentsOnPremisesAgentItemRequestBuilderDeleteRequestConfiguration struc // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemAgentsOnPremisesAgentItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an onPremisesAgent object. +// ItemAgentsOnPremisesAgentItemRequestBuilderGetQueryParameters list of existing onPremisesAgent objects. Read-only. Nullable. type ItemAgentsOnPremisesAgentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *ItemAgentsOnPremisesAgentItemRequestBuilder) Delete(ctx context.Context } return nil } -// Get retrieve the properties and relationships of an onPremisesAgent object. +// Get list of existing onPremisesAgent objects. Read-only. Nullable. // returns a OnPremisesAgentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/onpremisesagent-get?view=graph-rest-1.0 func (m *ItemAgentsOnPremisesAgentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAgentsOnPremisesAgentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnPremisesAgentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *ItemAgentsOnPremisesAgentItemRequestBuilder) ToDeleteRequestInformation requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of an onPremisesAgent object. +// ToGetRequestInformation list of existing onPremisesAgent objects. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemAgentsOnPremisesAgentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAgentsOnPremisesAgentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/onpremisespublishingprofiles/item_agents_request_builder.go b/onpremisespublishingprofiles/item_agents_request_builder.go index 5a4d19327fb..9e2e58eb730 100644 --- a/onpremisespublishingprofiles/item_agents_request_builder.go +++ b/onpremisespublishingprofiles/item_agents_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemAgentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemAgentsRequestBuilderGetQueryParameters retrieve a list of onPremisesAgent objects. +// ItemAgentsRequestBuilderGetQueryParameters list of existing onPremisesAgent objects. Read-only. Nullable. type ItemAgentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemAgentsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263 func (m *ItemAgentsRequestBuilder) Count()(*ItemAgentsCountRequestBuilder) { return NewItemAgentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of onPremisesAgent objects. +// Get list of existing onPremisesAgent objects. Read-only. Nullable. // returns a OnPremisesAgentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/onpremisesagent-list?view=graph-rest-1.0 func (m *ItemAgentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAgentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnPremisesAgentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemAgentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnPremisesAgentable), nil } -// ToGetRequestInformation retrieve a list of onPremisesAgent objects. +// ToGetRequestInformation list of existing onPremisesAgent objects. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemAgentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAgentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/onpremisespublishingprofiles/item_connector_groups_connector_group_item_request_builder.go b/onpremisespublishingprofiles/item_connector_groups_connector_group_item_request_builder.go index cdb3872b00c..db4dd3d482e 100644 --- a/onpremisespublishingprofiles/item_connector_groups_connector_group_item_request_builder.go +++ b/onpremisespublishingprofiles/item_connector_groups_connector_group_item_request_builder.go @@ -18,7 +18,7 @@ type ItemConnectorGroupsConnectorGroupItemRequestBuilderDeleteRequestConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemConnectorGroupsConnectorGroupItemRequestBuilderGetQueryParameters retrieve the properties of a connectorGroup. +// ItemConnectorGroupsConnectorGroupItemRequestBuilderGetQueryParameters list of existing connectorGroup objects for applications published through Application Proxy. Read-only. Nullable. type ItemConnectorGroupsConnectorGroupItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -69,11 +69,8 @@ func NewItemConnectorGroupsConnectorGroupItemRequestBuilder(rawUrl string, reque urlParams["request-raw-url"] = rawUrl return NewItemConnectorGroupsConnectorGroupItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a connectorGroup. All connectors and applications must be removed from the connector group before a connector group can be deleted. +// Delete delete navigation property connectorGroups for onPremisesPublishingProfiles // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/connectorgroup-delete?view=graph-rest-1.0 func (m *ItemConnectorGroupsConnectorGroupItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemConnectorGroupsConnectorGroupItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -88,12 +85,9 @@ func (m *ItemConnectorGroupsConnectorGroupItemRequestBuilder) Delete(ctx context } return nil } -// Get retrieve the properties of a connectorGroup. +// Get list of existing connectorGroup objects for applications published through Application Proxy. Read-only. Nullable. // returns a ConnectorGroupable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/connectorgroup-get?view=graph-rest-1.0 func (m *ItemConnectorGroupsConnectorGroupItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemConnectorGroupsConnectorGroupItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConnectorGroupable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -116,12 +110,9 @@ func (m *ItemConnectorGroupsConnectorGroupItemRequestBuilder) Get(ctx context.Co func (m *ItemConnectorGroupsConnectorGroupItemRequestBuilder) Members()(*ItemConnectorGroupsItemMembersRequestBuilder) { return NewItemConnectorGroupsItemMembersRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of a connectorGroup object. +// Patch update the navigation property connectorGroups in onPremisesPublishingProfiles // returns a ConnectorGroupable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/connectorgroup-update?view=graph-rest-1.0 func (m *ItemConnectorGroupsConnectorGroupItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConnectorGroupable, requestConfiguration *ItemConnectorGroupsConnectorGroupItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConnectorGroupable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -139,7 +130,7 @@ func (m *ItemConnectorGroupsConnectorGroupItemRequestBuilder) Patch(ctx context. } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConnectorGroupable), nil } -// ToDeleteRequestInformation delete a connectorGroup. All connectors and applications must be removed from the connector group before a connector group can be deleted. +// ToDeleteRequestInformation delete navigation property connectorGroups for onPremisesPublishingProfiles // returns a *RequestInformation when successful func (m *ItemConnectorGroupsConnectorGroupItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemConnectorGroupsConnectorGroupItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -150,7 +141,7 @@ func (m *ItemConnectorGroupsConnectorGroupItemRequestBuilder) ToDeleteRequestInf requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties of a connectorGroup. +// ToGetRequestInformation list of existing connectorGroup objects for applications published through Application Proxy. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemConnectorGroupsConnectorGroupItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemConnectorGroupsConnectorGroupItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -164,7 +155,7 @@ func (m *ItemConnectorGroupsConnectorGroupItemRequestBuilder) ToGetRequestInform requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a connectorGroup object. +// ToPatchRequestInformation update the navigation property connectorGroups in onPremisesPublishingProfiles // returns a *RequestInformation when successful func (m *ItemConnectorGroupsConnectorGroupItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConnectorGroupable, requestConfiguration *ItemConnectorGroupsConnectorGroupItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/onpremisespublishingprofiles/item_connector_groups_request_builder.go b/onpremisespublishingprofiles/item_connector_groups_request_builder.go index a4d448f3e98..1660e29a9dc 100644 --- a/onpremisespublishingprofiles/item_connector_groups_request_builder.go +++ b/onpremisespublishingprofiles/item_connector_groups_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemConnectorGroupsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemConnectorGroupsRequestBuilderGetQueryParameters retrieve a list of connectorGroup objects. +// ItemConnectorGroupsRequestBuilderGetQueryParameters list of existing connectorGroup objects for applications published through Application Proxy. Read-only. Nullable. type ItemConnectorGroupsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemConnectorGroupsRequestBuilder(rawUrl string, requestAdapter i2ae4187 func (m *ItemConnectorGroupsRequestBuilder) Count()(*ItemConnectorGroupsCountRequestBuilder) { return NewItemConnectorGroupsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of connectorGroup objects. +// Get list of existing connectorGroup objects for applications published through Application Proxy. Read-only. Nullable. // returns a ConnectorGroupCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/connectorgroup-list?view=graph-rest-1.0 func (m *ItemConnectorGroupsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemConnectorGroupsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConnectorGroupCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemConnectorGroupsRequestBuilder) Get(ctx context.Context, requestConf } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConnectorGroupCollectionResponseable), nil } -// Post create a connectorGroup object. +// Post create new navigation property to connectorGroups for onPremisesPublishingProfiles // returns a ConnectorGroupable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/connectorgroup-post?view=graph-rest-1.0 func (m *ItemConnectorGroupsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConnectorGroupable, requestConfiguration *ItemConnectorGroupsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConnectorGroupable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemConnectorGroupsRequestBuilder) Post(ctx context.Context, body ie233 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConnectorGroupable), nil } -// ToGetRequestInformation retrieve a list of connectorGroup objects. +// ToGetRequestInformation list of existing connectorGroup objects for applications published through Application Proxy. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemConnectorGroupsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemConnectorGroupsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemConnectorGroupsRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a connectorGroup object. +// ToPostRequestInformation create new navigation property to connectorGroups for onPremisesPublishingProfiles // returns a *RequestInformation when successful func (m *ItemConnectorGroupsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConnectorGroupable, requestConfiguration *ItemConnectorGroupsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/onpremisespublishingprofiles/item_connectors_connector_item_request_builder.go b/onpremisespublishingprofiles/item_connectors_connector_item_request_builder.go index a1061b591d1..f6d0daef9a5 100644 --- a/onpremisespublishingprofiles/item_connectors_connector_item_request_builder.go +++ b/onpremisespublishingprofiles/item_connectors_connector_item_request_builder.go @@ -18,7 +18,7 @@ type ItemConnectorsConnectorItemRequestBuilderDeleteRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemConnectorsConnectorItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a connector object. +// ItemConnectorsConnectorItemRequestBuilderGetQueryParameters list of existing connector objects for applications published through Application Proxy. Read-only. Nullable. type ItemConnectorsConnectorItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemConnectorsConnectorItemRequestBuilder) Delete(ctx context.Context, } return nil } -// Get retrieve the properties and relationships of a connector object. +// Get list of existing connector objects for applications published through Application Proxy. Read-only. Nullable. // returns a Connectorable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/connector-get?view=graph-rest-1.0 func (m *ItemConnectorsConnectorItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemConnectorsConnectorItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Connectorable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *ItemConnectorsConnectorItemRequestBuilder) ToDeleteRequestInformation(c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a connector object. +// ToGetRequestInformation list of existing connector objects for applications published through Application Proxy. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemConnectorsConnectorItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemConnectorsConnectorItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/onpremisespublishingprofiles/item_connectors_request_builder.go b/onpremisespublishingprofiles/item_connectors_request_builder.go index 38fdb0db3e2..fd5cb748e10 100644 --- a/onpremisespublishingprofiles/item_connectors_request_builder.go +++ b/onpremisespublishingprofiles/item_connectors_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemConnectorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemConnectorsRequestBuilderGetQueryParameters retrieve a list of connector objects. +// ItemConnectorsRequestBuilderGetQueryParameters list of existing connector objects for applications published through Application Proxy. Read-only. Nullable. type ItemConnectorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemConnectorsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7dae func (m *ItemConnectorsRequestBuilder) Count()(*ItemConnectorsCountRequestBuilder) { return NewItemConnectorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of connector objects. +// Get list of existing connector objects for applications published through Application Proxy. Read-only. Nullable. // returns a ConnectorCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/connector-list?view=graph-rest-1.0 func (m *ItemConnectorsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemConnectorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConnectorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemConnectorsRequestBuilder) Post(ctx context.Context, body ie233ee762 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Connectorable), nil } -// ToGetRequestInformation retrieve a list of connector objects. +// ToGetRequestInformation list of existing connector objects for applications published through Application Proxy. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemConnectorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemConnectorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/onpremisespublishingprofiles/item_published_resources_published_resource_item_request_builder.go b/onpremisespublishingprofiles/item_published_resources_published_resource_item_request_builder.go index b9fd0fe6a8f..d0f48eb9f95 100644 --- a/onpremisespublishingprofiles/item_published_resources_published_resource_item_request_builder.go +++ b/onpremisespublishingprofiles/item_published_resources_published_resource_item_request_builder.go @@ -18,7 +18,7 @@ type ItemPublishedResourcesPublishedResourceItemRequestBuilderDeleteRequestConfi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemPublishedResourcesPublishedResourceItemRequestBuilderGetQueryParameters retrieve the properties and relationships of publishedResource object. +// ItemPublishedResourcesPublishedResourceItemRequestBuilderGetQueryParameters list of existing publishedResource objects. Read-only. Nullable. type ItemPublishedResourcesPublishedResourceItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *ItemPublishedResourcesPublishedResourceItemRequestBuilder) Delete(ctx c } return nil } -// Get retrieve the properties and relationships of publishedResource object. +// Get list of existing publishedResource objects. Read-only. Nullable. // returns a PublishedResourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/publishedresource-get?view=graph-rest-1.0 func (m *ItemPublishedResourcesPublishedResourceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPublishedResourcesPublishedResourceItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PublishedResourceable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,12 +95,9 @@ func (m *ItemPublishedResourcesPublishedResourceItemRequestBuilder) Get(ctx cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PublishedResourceable), nil } -// Patch update the properties of published resource publishedResource object. +// Patch update the navigation property publishedResources in onPremisesPublishingProfiles // returns a PublishedResourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/publishedresource-update?view=graph-rest-1.0 func (m *ItemPublishedResourcesPublishedResourceItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PublishedResourceable, requestConfiguration *ItemPublishedResourcesPublishedResourceItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PublishedResourceable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -132,7 +126,7 @@ func (m *ItemPublishedResourcesPublishedResourceItemRequestBuilder) ToDeleteRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of publishedResource object. +// ToGetRequestInformation list of existing publishedResource objects. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemPublishedResourcesPublishedResourceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPublishedResourcesPublishedResourceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -146,7 +140,7 @@ func (m *ItemPublishedResourcesPublishedResourceItemRequestBuilder) ToGetRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of published resource publishedResource object. +// ToPatchRequestInformation update the navigation property publishedResources in onPremisesPublishingProfiles // returns a *RequestInformation when successful func (m *ItemPublishedResourcesPublishedResourceItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PublishedResourceable, requestConfiguration *ItemPublishedResourcesPublishedResourceItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/onpremisespublishingprofiles/item_published_resources_request_builder.go b/onpremisespublishingprofiles/item_published_resources_request_builder.go index 55c73437f58..258e2f0f2c7 100644 --- a/onpremisespublishingprofiles/item_published_resources_request_builder.go +++ b/onpremisespublishingprofiles/item_published_resources_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemPublishedResourcesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemPublishedResourcesRequestBuilderGetQueryParameters retrieve a list of publishedResource objects. +// ItemPublishedResourcesRequestBuilderGetQueryParameters list of existing publishedResource objects. Read-only. Nullable. type ItemPublishedResourcesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemPublishedResourcesRequestBuilder(rawUrl string, requestAdapter i2ae4 func (m *ItemPublishedResourcesRequestBuilder) Count()(*ItemPublishedResourcesCountRequestBuilder) { return NewItemPublishedResourcesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of publishedResource objects. +// Get list of existing publishedResource objects. Read-only. Nullable. // returns a PublishedResourceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/publishedresource-list?view=graph-rest-1.0 func (m *ItemPublishedResourcesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPublishedResourcesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PublishedResourceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemPublishedResourcesRequestBuilder) Get(ctx context.Context, requestC } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PublishedResourceCollectionResponseable), nil } -// Post create a new publishedResource object. +// Post create new navigation property to publishedResources for onPremisesPublishingProfiles // returns a PublishedResourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/publishedresource-post?view=graph-rest-1.0 func (m *ItemPublishedResourcesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PublishedResourceable, requestConfiguration *ItemPublishedResourcesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PublishedResourceable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemPublishedResourcesRequestBuilder) Post(ctx context.Context, body ie } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PublishedResourceable), nil } -// ToGetRequestInformation retrieve a list of publishedResource objects. +// ToGetRequestInformation list of existing publishedResource objects. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemPublishedResourcesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPublishedResourcesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemPublishedResourcesRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new publishedResource object. +// ToPostRequestInformation create new navigation property to publishedResources for onPremisesPublishingProfiles // returns a *RequestInformation when successful func (m *ItemPublishedResourcesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PublishedResourceable, requestConfiguration *ItemPublishedResourcesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/organization/delta_request_builder.go b/organization/delta_request_builder.go index c93f8ca01e2..9ce21842b6c 100644 --- a/organization/delta_request_builder.go +++ b/organization/delta_request_builder.go @@ -10,7 +10,7 @@ import ( type DeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeltaRequestBuilderGetQueryParameters invoke function delta +// DeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. type DeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb urlParams["request-raw-url"] = rawUrl return NewDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a DeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-delta?view=graph-rest-beta func (m *DeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(DeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *DeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *Del } return res.(DeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. // returns a DeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-delta?view=graph-rest-beta func (m *DeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(DeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *DeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, request } return res.(DeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. // returns a *RequestInformation when successful func (m *DeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/organization/get_by_ids_request_builder.go b/organization/get_by_ids_request_builder.go index 9430302e9d4..3d8eec208c4 100644 --- a/organization/get_by_ids_request_builder.go +++ b/organization/get_by_ids_request_builder.go @@ -36,7 +36,7 @@ func NewGetByIdsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26337 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-beta func (m *GetByIdsRequestBuilder) Post(ctx context.Context, body GetByIdsPostRequestBodyable, requestConfiguration *GetByIdsRequestBuilderPostRequestConfiguration)(GetByIdsResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *GetByIdsRequestBuilder) Post(ctx context.Context, body GetByIdsPostRequ // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-beta func (m *GetByIdsRequestBuilder) PostAsGetByIdsPostResponse(ctx context.Context, body GetByIdsPostRequestBodyable, requestConfiguration *GetByIdsRequestBuilderPostRequestConfiguration)(GetByIdsPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/organization/get_user_owned_objects_request_builder.go b/organization/get_user_owned_objects_request_builder.go index ba1dd5e3776..2cd36e00cf6 100644 --- a/organization/get_user_owned_objects_request_builder.go +++ b/organization/get_user_owned_objects_request_builder.go @@ -36,7 +36,7 @@ func NewGetUserOwnedObjectsRequestBuilder(rawUrl string, requestAdapter i2ae4187 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directory-deleteditems-getuserownedobjects?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directory-deleteditems-getuserownedobjects?view=graph-rest-beta func (m *GetUserOwnedObjectsRequestBuilder) Post(ctx context.Context, body GetUserOwnedObjectsPostRequestBodyable, requestConfiguration *GetUserOwnedObjectsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/organization/item_branding_background_image_request_builder.go b/organization/item_branding_background_image_request_builder.go index 03493de9f1d..09446bc4c6f 100644 --- a/organization/item_branding_background_image_request_builder.go +++ b/organization/item_branding_background_image_request_builder.go @@ -40,9 +40,6 @@ func NewItemBrandingBackgroundImageRequestBuilder(rawUrl string, requestAdapter // Get image that appears as the background of the sign-in page. The allowed types are PNG or JPEG not smaller than 300 KB and not larger than 1920 × 1080 pixels. A smaller image will reduce bandwidth requirements and make the page load faster. // 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/organizationalbranding-get?view=graph-rest-1.0 func (m *ItemBrandingBackgroundImageRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemBrandingBackgroundImageRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/organization/item_branding_banner_logo_request_builder.go b/organization/item_branding_banner_logo_request_builder.go index 6ddb445ff8f..ccbfa59619c 100644 --- a/organization/item_branding_banner_logo_request_builder.go +++ b/organization/item_branding_banner_logo_request_builder.go @@ -40,9 +40,6 @@ func NewItemBrandingBannerLogoRequestBuilder(rawUrl string, requestAdapter i2ae4 // Get a banner version of your company logo that appears on the sign-in page. The allowed types are PNG or JPEG not larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo. // 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/organizationalbranding-get?view=graph-rest-1.0 func (m *ItemBrandingBannerLogoRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemBrandingBannerLogoRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/organization/item_branding_custom_c_s_s_request_builder.go b/organization/item_branding_custom_c_s_s_request_builder.go index 7197426cd4c..84d77802a5e 100644 --- a/organization/item_branding_custom_c_s_s_request_builder.go +++ b/organization/item_branding_custom_c_s_s_request_builder.go @@ -40,9 +40,6 @@ func NewItemBrandingCustomCSSRequestBuilder(rawUrl string, requestAdapter i2ae41 // Get cSS styling that appears on the sign-in page. The allowed format is .css format only and not larger than 25 KB. // 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/organizationalbranding-get?view=graph-rest-1.0 func (m *ItemBrandingCustomCSSRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemBrandingCustomCSSRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/organization/item_branding_favicon_request_builder.go b/organization/item_branding_favicon_request_builder.go index 38859dd5455..c0d24e67fcc 100644 --- a/organization/item_branding_favicon_request_builder.go +++ b/organization/item_branding_favicon_request_builder.go @@ -40,9 +40,6 @@ func NewItemBrandingFaviconRequestBuilder(rawUrl string, requestAdapter i2ae4187 // Get a custom icon (favicon) to replace a default Microsoft product favicon on a Microsoft Entra tenant. // 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/organizationalbranding-get?view=graph-rest-1.0 func (m *ItemBrandingFaviconRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemBrandingFaviconRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/organization/item_branding_header_logo_request_builder.go b/organization/item_branding_header_logo_request_builder.go index f6ed3cd61b9..e41311e22c7 100644 --- a/organization/item_branding_header_logo_request_builder.go +++ b/organization/item_branding_header_logo_request_builder.go @@ -40,9 +40,6 @@ func NewItemBrandingHeaderLogoRequestBuilder(rawUrl string, requestAdapter i2ae4 // Get a company logo that appears in the header of the sign-in page. The allowed types are PNG or JPEG not larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo. // 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/organizationalbranding-get?view=graph-rest-1.0 func (m *ItemBrandingHeaderLogoRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemBrandingHeaderLogoRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/organization/item_branding_localizations_item_background_image_request_builder.go b/organization/item_branding_localizations_item_background_image_request_builder.go index acfb2d4c183..56b1faf2e12 100644 --- a/organization/item_branding_localizations_item_background_image_request_builder.go +++ b/organization/item_branding_localizations_item_background_image_request_builder.go @@ -40,9 +40,6 @@ func NewItemBrandingLocalizationsItemBackgroundImageRequestBuilder(rawUrl string // Get image that appears as the background of the sign-in page. The allowed types are PNG or JPEG not smaller than 300 KB and not larger than 1920 × 1080 pixels. A smaller image will reduce bandwidth requirements and make the page load faster. // 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/organizationalbranding-list-localizations?view=graph-rest-1.0 func (m *ItemBrandingLocalizationsItemBackgroundImageRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemBrandingLocalizationsItemBackgroundImageRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/organization/item_branding_localizations_item_banner_logo_request_builder.go b/organization/item_branding_localizations_item_banner_logo_request_builder.go index 2ee0755b9c1..28dc04e37b3 100644 --- a/organization/item_branding_localizations_item_banner_logo_request_builder.go +++ b/organization/item_branding_localizations_item_banner_logo_request_builder.go @@ -40,9 +40,6 @@ func NewItemBrandingLocalizationsItemBannerLogoRequestBuilder(rawUrl string, req // Get a banner version of your company logo that appears on the sign-in page. The allowed types are PNG or JPEG not larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo. // 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/organizationalbranding-list-localizations?view=graph-rest-1.0 func (m *ItemBrandingLocalizationsItemBannerLogoRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemBrandingLocalizationsItemBannerLogoRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/organization/item_branding_localizations_item_custom_c_s_s_request_builder.go b/organization/item_branding_localizations_item_custom_c_s_s_request_builder.go index 855994288fa..e878c058fb2 100644 --- a/organization/item_branding_localizations_item_custom_c_s_s_request_builder.go +++ b/organization/item_branding_localizations_item_custom_c_s_s_request_builder.go @@ -40,9 +40,6 @@ func NewItemBrandingLocalizationsItemCustomCSSRequestBuilder(rawUrl string, requ // Get cSS styling that appears on the sign-in page. The allowed format is .css format only and not larger than 25 KB. // 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/organizationalbranding-list-localizations?view=graph-rest-1.0 func (m *ItemBrandingLocalizationsItemCustomCSSRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemBrandingLocalizationsItemCustomCSSRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/organization/item_branding_localizations_item_favicon_request_builder.go b/organization/item_branding_localizations_item_favicon_request_builder.go index 5be4506d280..d7497836276 100644 --- a/organization/item_branding_localizations_item_favicon_request_builder.go +++ b/organization/item_branding_localizations_item_favicon_request_builder.go @@ -40,9 +40,6 @@ func NewItemBrandingLocalizationsItemFaviconRequestBuilder(rawUrl string, reques // Get a custom icon (favicon) to replace a default Microsoft product favicon on a Microsoft Entra tenant. // 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/organizationalbranding-list-localizations?view=graph-rest-1.0 func (m *ItemBrandingLocalizationsItemFaviconRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemBrandingLocalizationsItemFaviconRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/organization/item_branding_localizations_item_header_logo_request_builder.go b/organization/item_branding_localizations_item_header_logo_request_builder.go index 970b340a4e1..cfefffc870f 100644 --- a/organization/item_branding_localizations_item_header_logo_request_builder.go +++ b/organization/item_branding_localizations_item_header_logo_request_builder.go @@ -40,9 +40,6 @@ func NewItemBrandingLocalizationsItemHeaderLogoRequestBuilder(rawUrl string, req // Get a company logo that appears in the header of the sign-in page. The allowed types are PNG or JPEG not larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo. // 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/organizationalbranding-list-localizations?view=graph-rest-1.0 func (m *ItemBrandingLocalizationsItemHeaderLogoRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemBrandingLocalizationsItemHeaderLogoRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/organization/item_branding_localizations_item_square_logo_dark_request_builder.go b/organization/item_branding_localizations_item_square_logo_dark_request_builder.go index ccae94fd8fb..a1e024fee65 100644 --- a/organization/item_branding_localizations_item_square_logo_dark_request_builder.go +++ b/organization/item_branding_localizations_item_square_logo_dark_request_builder.go @@ -40,9 +40,6 @@ func NewItemBrandingLocalizationsItemSquareLogoDarkRequestBuilder(rawUrl string, // Get a square dark version of your company logo that appears in Windows 10 out-of-box experiences (OOBE) and when Windows Autopilot is enabled for deployment. Allowed types are PNG or JPEG not larger than 240 x 240 pixels and not more than 10 KB in size. We recommend using a transparent image with no padding around the logo. // 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/organizationalbranding-list-localizations?view=graph-rest-1.0 func (m *ItemBrandingLocalizationsItemSquareLogoDarkRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemBrandingLocalizationsItemSquareLogoDarkRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/organization/item_branding_localizations_item_square_logo_request_builder.go b/organization/item_branding_localizations_item_square_logo_request_builder.go index cb8674abe6c..fdadf7a0572 100644 --- a/organization/item_branding_localizations_item_square_logo_request_builder.go +++ b/organization/item_branding_localizations_item_square_logo_request_builder.go @@ -40,9 +40,6 @@ func NewItemBrandingLocalizationsItemSquareLogoRequestBuilder(rawUrl string, req // Get a square version of your company logo that appears in Windows 10 out-of-box experiences (OOBE) and when Windows Autopilot is enabled for deployment. Allowed types are PNG or JPEG not larger than 240 x 240 pixels and not more than 10 KB in size. We recommend using a transparent image with no padding around the logo. // 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/organizationalbranding-list-localizations?view=graph-rest-1.0 func (m *ItemBrandingLocalizationsItemSquareLogoRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemBrandingLocalizationsItemSquareLogoRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/organization/item_branding_localizations_organizational_branding_localization_item_request_builder.go b/organization/item_branding_localizations_organizational_branding_localization_item_request_builder.go index 312d561c550..b5ebaca58c7 100644 --- a/organization/item_branding_localizations_organizational_branding_localization_item_request_builder.go +++ b/organization/item_branding_localizations_organizational_branding_localization_item_request_builder.go @@ -18,7 +18,7 @@ type ItemBrandingLocalizationsOrganizationalBrandingLocalizationItemRequestBuild // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemBrandingLocalizationsOrganizationalBrandingLocalizationItemRequestBuilderGetQueryParameters read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL. +// ItemBrandingLocalizationsOrganizationalBrandingLocalizationItemRequestBuilderGetQueryParameters add different branding based on a locale. type ItemBrandingLocalizationsOrganizationalBrandingLocalizationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -69,11 +69,8 @@ func NewItemBrandingLocalizationsOrganizationalBrandingLocalizationItemRequestBu func (m *ItemBrandingLocalizationsOrganizationalBrandingLocalizationItemRequestBuilder) CustomCSS()(*ItemBrandingLocalizationsItemCustomCSSRequestBuilder) { return NewItemBrandingLocalizationsItemCustomCSSRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Delete delete a localized branding object. To delete the organizationalBrandingLocalization object, all images (Stream types) must first be removed from the object. +// Delete delete navigation property localizations for organization // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/organizationalbrandinglocalization-delete?view=graph-rest-1.0 func (m *ItemBrandingLocalizationsOrganizationalBrandingLocalizationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemBrandingLocalizationsOrganizationalBrandingLocalizationItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *ItemBrandingLocalizationsOrganizationalBrandingLocalizationItemRequestB func (m *ItemBrandingLocalizationsOrganizationalBrandingLocalizationItemRequestBuilder) Favicon()(*ItemBrandingLocalizationsItemFaviconRequestBuilder) { return NewItemBrandingLocalizationsItemFaviconRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL. +// Get add different branding based on a locale. // returns a OrganizationalBrandingLocalizationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/organizationalbrandinglocalization-get?view=graph-rest-1.0 func (m *ItemBrandingLocalizationsOrganizationalBrandingLocalizationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemBrandingLocalizationsOrganizationalBrandingLocalizationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OrganizationalBrandingLocalizationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -121,12 +115,9 @@ func (m *ItemBrandingLocalizationsOrganizationalBrandingLocalizationItemRequestB func (m *ItemBrandingLocalizationsOrganizationalBrandingLocalizationItemRequestBuilder) HeaderLogo()(*ItemBrandingLocalizationsItemHeaderLogoRequestBuilder) { return NewItemBrandingLocalizationsItemHeaderLogoRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of an organizationalBrandingLocalization object for a specific localization. +// Patch update the navigation property localizations in organization // returns a OrganizationalBrandingLocalizationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/organizationalbrandinglocalization-update?view=graph-rest-1.0 func (m *ItemBrandingLocalizationsOrganizationalBrandingLocalizationItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OrganizationalBrandingLocalizationable, requestConfiguration *ItemBrandingLocalizationsOrganizationalBrandingLocalizationItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OrganizationalBrandingLocalizationable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -154,7 +145,7 @@ func (m *ItemBrandingLocalizationsOrganizationalBrandingLocalizationItemRequestB func (m *ItemBrandingLocalizationsOrganizationalBrandingLocalizationItemRequestBuilder) SquareLogoDark()(*ItemBrandingLocalizationsItemSquareLogoDarkRequestBuilder) { return NewItemBrandingLocalizationsItemSquareLogoDarkRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a localized branding object. To delete the organizationalBrandingLocalization object, all images (Stream types) must first be removed from the object. +// ToDeleteRequestInformation delete navigation property localizations for organization // returns a *RequestInformation when successful func (m *ItemBrandingLocalizationsOrganizationalBrandingLocalizationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemBrandingLocalizationsOrganizationalBrandingLocalizationItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -165,7 +156,7 @@ func (m *ItemBrandingLocalizationsOrganizationalBrandingLocalizationItemRequestB requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL. +// ToGetRequestInformation add different branding based on a locale. // returns a *RequestInformation when successful func (m *ItemBrandingLocalizationsOrganizationalBrandingLocalizationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemBrandingLocalizationsOrganizationalBrandingLocalizationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -179,7 +170,7 @@ func (m *ItemBrandingLocalizationsOrganizationalBrandingLocalizationItemRequestB requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an organizationalBrandingLocalization object for a specific localization. +// ToPatchRequestInformation update the navigation property localizations in organization // returns a *RequestInformation when successful func (m *ItemBrandingLocalizationsOrganizationalBrandingLocalizationItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OrganizationalBrandingLocalizationable, requestConfiguration *ItemBrandingLocalizationsOrganizationalBrandingLocalizationItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/organization/item_branding_localizations_request_builder.go b/organization/item_branding_localizations_request_builder.go index 2b6d040c00c..4a63bde1c0d 100644 --- a/organization/item_branding_localizations_request_builder.go +++ b/organization/item_branding_localizations_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemBrandingLocalizationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemBrandingLocalizationsRequestBuilderGetQueryParameters retrieve all localization branding objects, including the default branding. +// ItemBrandingLocalizationsRequestBuilderGetQueryParameters add different branding based on a locale. type ItemBrandingLocalizationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemBrandingLocalizationsRequestBuilder(rawUrl string, requestAdapter i2 func (m *ItemBrandingLocalizationsRequestBuilder) Count()(*ItemBrandingLocalizationsCountRequestBuilder) { return NewItemBrandingLocalizationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve all localization branding objects, including the default branding. +// Get add different branding based on a locale. // returns a OrganizationalBrandingLocalizationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/organizationalbranding-list-localizations?view=graph-rest-1.0 func (m *ItemBrandingLocalizationsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemBrandingLocalizationsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OrganizationalBrandingLocalizationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemBrandingLocalizationsRequestBuilder) Get(ctx context.Context, reque } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OrganizationalBrandingLocalizationCollectionResponseable), nil } -// Post create a new organizationalBrandingLocalization object. This creates a localized branding and at the same time, the default branding if it doesn't exist. The default branding is created only once. It's loaded when a localized branding isn't configured for the user's browser language. To retrieve the default branding, see Get branding. +// Post create new navigation property to localizations for organization // returns a OrganizationalBrandingLocalizationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/organizationalbranding-post-localizations?view=graph-rest-1.0 func (m *ItemBrandingLocalizationsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OrganizationalBrandingLocalizationable, requestConfiguration *ItemBrandingLocalizationsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OrganizationalBrandingLocalizationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemBrandingLocalizationsRequestBuilder) Post(ctx context.Context, body } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OrganizationalBrandingLocalizationable), nil } -// ToGetRequestInformation retrieve all localization branding objects, including the default branding. +// ToGetRequestInformation add different branding based on a locale. // returns a *RequestInformation when successful func (m *ItemBrandingLocalizationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemBrandingLocalizationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemBrandingLocalizationsRequestBuilder) ToGetRequestInformation(ctx co requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new organizationalBrandingLocalization object. This creates a localized branding and at the same time, the default branding if it doesn't exist. The default branding is created only once. It's loaded when a localized branding isn't configured for the user's browser language. To retrieve the default branding, see Get branding. +// ToPostRequestInformation create new navigation property to localizations for organization // returns a *RequestInformation when successful func (m *ItemBrandingLocalizationsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OrganizationalBrandingLocalizationable, requestConfiguration *ItemBrandingLocalizationsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/organization/item_branding_request_builder.go b/organization/item_branding_request_builder.go index d0f61a418de..ab546022165 100644 --- a/organization/item_branding_request_builder.go +++ b/organization/item_branding_request_builder.go @@ -18,7 +18,7 @@ type ItemBrandingRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemBrandingRequestBuilderGetQueryParameters retrieve the default organizational branding object, if the Accept-Language header is set to 0 or default. If no default organizational branding object exists, this method returns a 404 Not Found error. If the Accept-Language header is set to an existing locale identified by the value of its id, this method retrieves the branding for the specified locale. This method retrieves only non-Stream properties, for example, usernameHintText and signInPageText. To retrieve Stream types of the default branding, for example, bannerLogo and backgroundImage, use the GET organizationalBrandingLocalization method. +// ItemBrandingRequestBuilderGetQueryParameters resource to manage the default branding for the organization. Nullable. type ItemBrandingRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -69,11 +69,8 @@ func NewItemBrandingRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee2 func (m *ItemBrandingRequestBuilder) CustomCSS()(*ItemBrandingCustomCSSRequestBuilder) { return NewItemBrandingCustomCSSRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Delete delete the default organizational branding object. To delete the organizationalBranding object, all images (Stream types) must first be removed from the object. +// Delete delete navigation property branding for organization // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/organizationalbranding-delete?view=graph-rest-1.0 func (m *ItemBrandingRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemBrandingRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *ItemBrandingRequestBuilder) Delete(ctx context.Context, requestConfigur func (m *ItemBrandingRequestBuilder) Favicon()(*ItemBrandingFaviconRequestBuilder) { return NewItemBrandingFaviconRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the default organizational branding object, if the Accept-Language header is set to 0 or default. If no default organizational branding object exists, this method returns a 404 Not Found error. If the Accept-Language header is set to an existing locale identified by the value of its id, this method retrieves the branding for the specified locale. This method retrieves only non-Stream properties, for example, usernameHintText and signInPageText. To retrieve Stream types of the default branding, for example, bannerLogo and backgroundImage, use the GET organizationalBrandingLocalization method. +// Get resource to manage the default branding for the organization. Nullable. // returns a OrganizationalBrandingable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/organizationalbranding-get?view=graph-rest-1.0 func (m *ItemBrandingRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemBrandingRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OrganizationalBrandingable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -126,12 +120,9 @@ func (m *ItemBrandingRequestBuilder) HeaderLogo()(*ItemBrandingHeaderLogoRequest func (m *ItemBrandingRequestBuilder) Localizations()(*ItemBrandingLocalizationsRequestBuilder) { return NewItemBrandingLocalizationsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of the default branding object specified by the organizationalBranding resource. +// Patch update the navigation property branding in organization // returns a OrganizationalBrandingable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/organizationalbranding-update?view=graph-rest-1.0 func (m *ItemBrandingRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OrganizationalBrandingable, requestConfiguration *ItemBrandingRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OrganizationalBrandingable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -159,7 +150,7 @@ func (m *ItemBrandingRequestBuilder) SquareLogo()(*ItemBrandingSquareLogoRequest func (m *ItemBrandingRequestBuilder) SquareLogoDark()(*ItemBrandingSquareLogoDarkRequestBuilder) { return NewItemBrandingSquareLogoDarkRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete the default organizational branding object. To delete the organizationalBranding object, all images (Stream types) must first be removed from the object. +// ToDeleteRequestInformation delete navigation property branding for organization // returns a *RequestInformation when successful func (m *ItemBrandingRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemBrandingRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -170,7 +161,7 @@ func (m *ItemBrandingRequestBuilder) ToDeleteRequestInformation(ctx context.Cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the default organizational branding object, if the Accept-Language header is set to 0 or default. If no default organizational branding object exists, this method returns a 404 Not Found error. If the Accept-Language header is set to an existing locale identified by the value of its id, this method retrieves the branding for the specified locale. This method retrieves only non-Stream properties, for example, usernameHintText and signInPageText. To retrieve Stream types of the default branding, for example, bannerLogo and backgroundImage, use the GET organizationalBrandingLocalization method. +// ToGetRequestInformation resource to manage the default branding for the organization. Nullable. // returns a *RequestInformation when successful func (m *ItemBrandingRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemBrandingRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -184,7 +175,7 @@ func (m *ItemBrandingRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of the default branding object specified by the organizationalBranding resource. +// ToPatchRequestInformation update the navigation property branding in organization // returns a *RequestInformation when successful func (m *ItemBrandingRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OrganizationalBrandingable, requestConfiguration *ItemBrandingRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/organization/item_branding_square_logo_dark_request_builder.go b/organization/item_branding_square_logo_dark_request_builder.go index dc00c084a5b..42aa5e2793e 100644 --- a/organization/item_branding_square_logo_dark_request_builder.go +++ b/organization/item_branding_square_logo_dark_request_builder.go @@ -40,9 +40,6 @@ func NewItemBrandingSquareLogoDarkRequestBuilder(rawUrl string, requestAdapter i // Get a square dark version of your company logo that appears in Windows 10 out-of-box experiences (OOBE) and when Windows Autopilot is enabled for deployment. Allowed types are PNG or JPEG not larger than 240 x 240 pixels and not more than 10 KB in size. We recommend using a transparent image with no padding around the logo. // 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/organizationalbranding-get?view=graph-rest-1.0 func (m *ItemBrandingSquareLogoDarkRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemBrandingSquareLogoDarkRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/organization/item_branding_square_logo_request_builder.go b/organization/item_branding_square_logo_request_builder.go index 907bc391dcd..bb3dd82f4e5 100644 --- a/organization/item_branding_square_logo_request_builder.go +++ b/organization/item_branding_square_logo_request_builder.go @@ -40,9 +40,6 @@ func NewItemBrandingSquareLogoRequestBuilder(rawUrl string, requestAdapter i2ae4 // Get a square version of your company logo that appears in Windows 10 out-of-box experiences (OOBE) and when Windows Autopilot is enabled for deployment. Allowed types are PNG or JPEG not larger than 240 x 240 pixels and not more than 10 KB in size. We recommend using a transparent image with no padding around the logo. // 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/organizationalbranding-get?view=graph-rest-1.0 func (m *ItemBrandingSquareLogoRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemBrandingSquareLogoRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/organization/item_certificate_based_auth_configuration_certificate_based_auth_configuration_item_request_builder.go b/organization/item_certificate_based_auth_configuration_certificate_based_auth_configuration_item_request_builder.go index e133dad8360..9fc5c66fa11 100644 --- a/organization/item_certificate_based_auth_configuration_certificate_based_auth_configuration_item_request_builder.go +++ b/organization/item_certificate_based_auth_configuration_certificate_based_auth_configuration_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCertificateBasedAuthConfigurationCertificateBasedAuthConfigurationItemR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCertificateBasedAuthConfigurationCertificateBasedAuthConfigurationItemRequestBuilderGetQueryParameters get the properties of a certificateBasedAuthConfiguration object. +// ItemCertificateBasedAuthConfigurationCertificateBasedAuthConfigurationItemRequestBuilderGetQueryParameters navigation property to manage certificate-based authentication configuration. Only a single instance of certificateBasedAuthConfiguration can be created in the collection. type ItemCertificateBasedAuthConfigurationCertificateBasedAuthConfigurationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemCertificateBasedAuthConfigurationCertificateBasedAuthConfigurationIt urlParams["request-raw-url"] = rawUrl return NewItemCertificateBasedAuthConfigurationCertificateBasedAuthConfigurationItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a certificateBasedAuthConfiguration object. +// Delete delete navigation property certificateBasedAuthConfiguration for organization // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/certificatebasedauthconfiguration-delete?view=graph-rest-1.0 func (m *ItemCertificateBasedAuthConfigurationCertificateBasedAuthConfigurationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCertificateBasedAuthConfigurationCertificateBasedAuthConfigurationItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemCertificateBasedAuthConfigurationCertificateBasedAuthConfigurationI } return nil } -// Get get the properties of a certificateBasedAuthConfiguration object. +// Get navigation property to manage certificate-based authentication configuration. Only a single instance of certificateBasedAuthConfiguration can be created in the collection. // returns a CertificateBasedAuthConfigurationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/certificatebasedauthconfiguration-get?view=graph-rest-1.0 func (m *ItemCertificateBasedAuthConfigurationCertificateBasedAuthConfigurationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCertificateBasedAuthConfigurationCertificateBasedAuthConfigurationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateBasedAuthConfigurationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemCertificateBasedAuthConfigurationCertificateBasedAuthConfigurationI } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateBasedAuthConfigurationable), nil } -// ToDeleteRequestInformation delete a certificateBasedAuthConfiguration object. +// ToDeleteRequestInformation delete navigation property certificateBasedAuthConfiguration for organization // returns a *RequestInformation when successful func (m *ItemCertificateBasedAuthConfigurationCertificateBasedAuthConfigurationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemCertificateBasedAuthConfigurationCertificateBasedAuthConfigurationItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemCertificateBasedAuthConfigurationCertificateBasedAuthConfigurationI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties of a certificateBasedAuthConfiguration object. +// ToGetRequestInformation navigation property to manage certificate-based authentication configuration. Only a single instance of certificateBasedAuthConfiguration can be created in the collection. // returns a *RequestInformation when successful func (m *ItemCertificateBasedAuthConfigurationCertificateBasedAuthConfigurationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCertificateBasedAuthConfigurationCertificateBasedAuthConfigurationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/organization/item_certificate_based_auth_configuration_request_builder.go b/organization/item_certificate_based_auth_configuration_request_builder.go index 0ff946e4d26..b9c7e7e285d 100644 --- a/organization/item_certificate_based_auth_configuration_request_builder.go +++ b/organization/item_certificate_based_auth_configuration_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCertificateBasedAuthConfigurationRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCertificateBasedAuthConfigurationRequestBuilderGetQueryParameters get a list of certificateBasedAuthConfiguration objects. +// ItemCertificateBasedAuthConfigurationRequestBuilderGetQueryParameters navigation property to manage certificate-based authentication configuration. Only a single instance of certificateBasedAuthConfiguration can be created in the collection. type ItemCertificateBasedAuthConfigurationRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemCertificateBasedAuthConfigurationRequestBuilder(rawUrl string, reque func (m *ItemCertificateBasedAuthConfigurationRequestBuilder) Count()(*ItemCertificateBasedAuthConfigurationCountRequestBuilder) { return NewItemCertificateBasedAuthConfigurationCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of certificateBasedAuthConfiguration objects. +// Get navigation property to manage certificate-based authentication configuration. Only a single instance of certificateBasedAuthConfiguration can be created in the collection. // returns a CertificateBasedAuthConfigurationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/certificatebasedauthconfiguration-list?view=graph-rest-1.0 func (m *ItemCertificateBasedAuthConfigurationRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCertificateBasedAuthConfigurationRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateBasedAuthConfigurationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemCertificateBasedAuthConfigurationRequestBuilder) Get(ctx context.Co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateBasedAuthConfigurationCollectionResponseable), nil } -// Post create a new certificateBasedAuthConfiguration object. +// Post create new navigation property to certificateBasedAuthConfiguration for organization // returns a CertificateBasedAuthConfigurationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/certificatebasedauthconfiguration-post-certificatebasedauthconfiguration?view=graph-rest-1.0 func (m *ItemCertificateBasedAuthConfigurationRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateBasedAuthConfigurationable, requestConfiguration *ItemCertificateBasedAuthConfigurationRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateBasedAuthConfigurationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemCertificateBasedAuthConfigurationRequestBuilder) Post(ctx context.C } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateBasedAuthConfigurationable), nil } -// ToGetRequestInformation get a list of certificateBasedAuthConfiguration objects. +// ToGetRequestInformation navigation property to manage certificate-based authentication configuration. Only a single instance of certificateBasedAuthConfiguration can be created in the collection. // returns a *RequestInformation when successful func (m *ItemCertificateBasedAuthConfigurationRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCertificateBasedAuthConfigurationRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemCertificateBasedAuthConfigurationRequestBuilder) ToGetRequestInform requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new certificateBasedAuthConfiguration object. +// ToPostRequestInformation create new navigation property to certificateBasedAuthConfiguration for organization // returns a *RequestInformation when successful func (m *ItemCertificateBasedAuthConfigurationRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateBasedAuthConfigurationable, requestConfiguration *ItemCertificateBasedAuthConfigurationRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/organization/item_check_member_groups_request_builder.go b/organization/item_check_member_groups_request_builder.go index bf8f15d96d9..b56ae4779a2 100644 --- a/organization/item_check_member_groups_request_builder.go +++ b/organization/item_check_member_groups_request_builder.go @@ -36,7 +36,7 @@ func NewItemCheckMemberGroupsRequestBuilder(rawUrl string, requestAdapter i2ae41 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-beta func (m *ItemCheckMemberGroupsRequestBuilder) Post(ctx context.Context, body ItemCheckMemberGroupsPostRequestBodyable, requestConfiguration *ItemCheckMemberGroupsRequestBuilderPostRequestConfiguration)(ItemCheckMemberGroupsResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ItemCheckMemberGroupsRequestBuilder) Post(ctx context.Context, body Ite // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-beta func (m *ItemCheckMemberGroupsRequestBuilder) PostAsCheckMemberGroupsPostResponse(ctx context.Context, body ItemCheckMemberGroupsPostRequestBodyable, requestConfiguration *ItemCheckMemberGroupsRequestBuilderPostRequestConfiguration)(ItemCheckMemberGroupsPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/organization/item_get_member_groups_request_builder.go b/organization/item_get_member_groups_request_builder.go index 02a70e59b5a..bb460da48b4 100644 --- a/organization/item_get_member_groups_request_builder.go +++ b/organization/item_get_member_groups_request_builder.go @@ -36,7 +36,7 @@ func NewItemGetMemberGroupsRequestBuilder(rawUrl string, requestAdapter i2ae4187 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-beta func (m *ItemGetMemberGroupsRequestBuilder) Post(ctx context.Context, body ItemGetMemberGroupsPostRequestBodyable, requestConfiguration *ItemGetMemberGroupsRequestBuilderPostRequestConfiguration)(ItemGetMemberGroupsResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ItemGetMemberGroupsRequestBuilder) Post(ctx context.Context, body ItemG // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-beta func (m *ItemGetMemberGroupsRequestBuilder) PostAsGetMemberGroupsPostResponse(ctx context.Context, body ItemGetMemberGroupsPostRequestBodyable, requestConfiguration *ItemGetMemberGroupsRequestBuilderPostRequestConfiguration)(ItemGetMemberGroupsPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/organization/item_restore_request_builder.go b/organization/item_restore_request_builder.go index 2ff4eaefe59..b8e75cc45af 100644 --- a/organization/item_restore_request_builder.go +++ b/organization/item_restore_request_builder.go @@ -36,7 +36,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-beta func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemRestoreRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/organization/item_settings_contact_insights_request_builder.go b/organization/item_settings_contact_insights_request_builder.go index 5eff8c264d6..3bc09e42904 100644 --- a/organization/item_settings_contact_insights_request_builder.go +++ b/organization/item_settings_contact_insights_request_builder.go @@ -18,7 +18,7 @@ type ItemSettingsContactInsightsRequestBuilderDeleteRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemSettingsContactInsightsRequestBuilderGetQueryParameters get the properties of an insightsSettings object for displaying or returning contact insights in an organization. +// ItemSettingsContactInsightsRequestBuilderGetQueryParameters contains the properties that are configured by an administrator as a tenant-level privacy control whether to identify duplicate contacts among a user's contacts list and suggest the user to merge those contacts to have a cleaner contacts list. List contactInsights returns the settings to display or return contact insights in an organization. type ItemSettingsContactInsightsRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemSettingsContactInsightsRequestBuilder) Delete(ctx context.Context, } return nil } -// Get get the properties of an insightsSettings object for displaying or returning contact insights in an organization. +// Get contains the properties that are configured by an administrator as a tenant-level privacy control whether to identify duplicate contacts among a user's contacts list and suggest the user to merge those contacts to have a cleaner contacts list. List contactInsights returns the settings to display or return contact insights in an organization. // returns a InsightsSettingsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/organizationsettings-list-contactinsights?view=graph-rest-1.0 func (m *ItemSettingsContactInsightsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSettingsContactInsightsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InsightsSettingsable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *ItemSettingsContactInsightsRequestBuilder) Get(ctx context.Context, req } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InsightsSettingsable), nil } -// Patch update privacy settings to display or return the specified type of insights in an organization. The type of settings can be contact insights, item insights, or people insights. To learn more about customizing insights privacy for your organization, see:- Customize item insights privacy - Customize people insights privacy +// Patch update the navigation property contactInsights in organization // returns a InsightsSettingsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/insightssettings-update?view=graph-rest-1.0 func (m *ItemSettingsContactInsightsRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InsightsSettingsable, requestConfiguration *ItemSettingsContactInsightsRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InsightsSettingsable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemSettingsContactInsightsRequestBuilder) ToDeleteRequestInformation(c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties of an insightsSettings object for displaying or returning contact insights in an organization. +// ToGetRequestInformation contains the properties that are configured by an administrator as a tenant-level privacy control whether to identify duplicate contacts among a user's contacts list and suggest the user to merge those contacts to have a cleaner contacts list. List contactInsights returns the settings to display or return contact insights in an organization. // returns a *RequestInformation when successful func (m *ItemSettingsContactInsightsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSettingsContactInsightsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ItemSettingsContactInsightsRequestBuilder) ToGetRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update privacy settings to display or return the specified type of insights in an organization. The type of settings can be contact insights, item insights, or people insights. To learn more about customizing insights privacy for your organization, see:- Customize item insights privacy - Customize people insights privacy +// ToPatchRequestInformation update the navigation property contactInsights in organization // returns a *RequestInformation when successful func (m *ItemSettingsContactInsightsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InsightsSettingsable, requestConfiguration *ItemSettingsContactInsightsRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/organization/item_settings_item_insights_request_builder.go b/organization/item_settings_item_insights_request_builder.go index 496955ae283..98fcf434ad8 100644 --- a/organization/item_settings_item_insights_request_builder.go +++ b/organization/item_settings_item_insights_request_builder.go @@ -18,7 +18,7 @@ type ItemSettingsItemInsightsRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemSettingsItemInsightsRequestBuilderGetQueryParameters get the properties of an insightsSettings object for displaying or returning item insights in an organization. To learn how to customize the privacy of item insights in an organization, see Customize item insights privacy. +// ItemSettingsItemInsightsRequestBuilderGetQueryParameters contains the properties that are configured by an administrator for the visibility of Microsoft Graph-derived insights, between a user and other items in Microsoft 365, such as documents or sites. List itemInsights returns the settings to display or return item insights in an organization. type ItemSettingsItemInsightsRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -71,13 +71,10 @@ func (m *ItemSettingsItemInsightsRequestBuilder) Delete(ctx context.Context, req } return nil } -// Get get the properties of an insightsSettings object for displaying or returning item insights in an organization. To learn how to customize the privacy of item insights in an organization, see Customize item insights privacy. +// Get contains the properties that are configured by an administrator for the visibility of Microsoft Graph-derived insights, between a user and other items in Microsoft 365, such as documents or sites. List itemInsights returns the settings to display or return item insights in an organization. // Deprecated: The Organization ItemInsights endpoint will stop returning data on January 1st, 2024. Please use the new Admin People ItemInsights endpoint. as of 2023-10/Beta:ItemInsightsOranizationSettings // returns a InsightsSettingsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/organizationsettings-list-iteminsights?view=graph-rest-1.0 func (m *ItemSettingsItemInsightsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSettingsItemInsightsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InsightsSettingsable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -128,7 +125,7 @@ func (m *ItemSettingsItemInsightsRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties of an insightsSettings object for displaying or returning item insights in an organization. To learn how to customize the privacy of item insights in an organization, see Customize item insights privacy. +// ToGetRequestInformation contains the properties that are configured by an administrator for the visibility of Microsoft Graph-derived insights, between a user and other items in Microsoft 365, such as documents or sites. List itemInsights returns the settings to display or return item insights in an organization. // Deprecated: The Organization ItemInsights endpoint will stop returning data on January 1st, 2024. Please use the new Admin People ItemInsights endpoint. as of 2023-10/Beta:ItemInsightsOranizationSettings // returns a *RequestInformation when successful func (m *ItemSettingsItemInsightsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSettingsItemInsightsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/organization/item_settings_microsoft_application_data_access_request_builder.go b/organization/item_settings_microsoft_application_data_access_request_builder.go index 8c14cb77062..52b2a6243a6 100644 --- a/organization/item_settings_microsoft_application_data_access_request_builder.go +++ b/organization/item_settings_microsoft_application_data_access_request_builder.go @@ -18,7 +18,7 @@ type ItemSettingsMicrosoftApplicationDataAccessRequestBuilderDeleteRequestConfig // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemSettingsMicrosoftApplicationDataAccessRequestBuilderGetQueryParameters get the settings in a microsoftApplicationDataAccessSettings object that specify access from Microsoft applications to Microsoft 365 user data in an organization. +// ItemSettingsMicrosoftApplicationDataAccessRequestBuilderGetQueryParameters get microsoftApplicationDataAccess from organization type ItemSettingsMicrosoftApplicationDataAccessRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemSettingsMicrosoftApplicationDataAccessRequestBuilder) Delete(ctx co } return nil } -// Get get the settings in a microsoftApplicationDataAccessSettings object that specify access from Microsoft applications to Microsoft 365 user data in an organization. +// Get get microsoftApplicationDataAccess from organization // returns a MicrosoftApplicationDataAccessSettingsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/organizationsettings-list-microsoftapplicationdataaccess?view=graph-rest-1.0 func (m *ItemSettingsMicrosoftApplicationDataAccessRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSettingsMicrosoftApplicationDataAccessRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MicrosoftApplicationDataAccessSettingsable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *ItemSettingsMicrosoftApplicationDataAccessRequestBuilder) Get(ctx conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MicrosoftApplicationDataAccessSettingsable), nil } -// Patch update the settings in a microsoftApplicationDataAccessSettings object that specify access from Microsoft applications to Microsoft 365 user data in an organization. +// Patch update the navigation property microsoftApplicationDataAccess in organization // returns a MicrosoftApplicationDataAccessSettingsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/microsoftapplicationdataaccesssettings-update?view=graph-rest-1.0 func (m *ItemSettingsMicrosoftApplicationDataAccessRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MicrosoftApplicationDataAccessSettingsable, requestConfiguration *ItemSettingsMicrosoftApplicationDataAccessRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MicrosoftApplicationDataAccessSettingsable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemSettingsMicrosoftApplicationDataAccessRequestBuilder) ToDeleteReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the settings in a microsoftApplicationDataAccessSettings object that specify access from Microsoft applications to Microsoft 365 user data in an organization. +// ToGetRequestInformation get microsoftApplicationDataAccess from organization // returns a *RequestInformation when successful func (m *ItemSettingsMicrosoftApplicationDataAccessRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSettingsMicrosoftApplicationDataAccessRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ItemSettingsMicrosoftApplicationDataAccessRequestBuilder) ToGetRequestI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the settings in a microsoftApplicationDataAccessSettings object that specify access from Microsoft applications to Microsoft 365 user data in an organization. +// ToPatchRequestInformation update the navigation property microsoftApplicationDataAccess in organization // returns a *RequestInformation when successful func (m *ItemSettingsMicrosoftApplicationDataAccessRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MicrosoftApplicationDataAccessSettingsable, requestConfiguration *ItemSettingsMicrosoftApplicationDataAccessRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/organization/item_settings_people_insights_request_builder.go b/organization/item_settings_people_insights_request_builder.go index 171277aa507..c55f7360de0 100644 --- a/organization/item_settings_people_insights_request_builder.go +++ b/organization/item_settings_people_insights_request_builder.go @@ -18,7 +18,7 @@ type ItemSettingsPeopleInsightsRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemSettingsPeopleInsightsRequestBuilderGetQueryParameters get the properties of an insightsSettings object for displaying or returning people insights in an organization. To learn how to customize privacy for people insights in an organization, see Customize people insights privacy in Microsoft Graph. +// ItemSettingsPeopleInsightsRequestBuilderGetQueryParameters contains the properties that are configured by an administrator for the visibility of a list of people relevant and working with a user in Microsoft 365. List peopleInsights returns the settings to display or return people insights in an organization. type ItemSettingsPeopleInsightsRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemSettingsPeopleInsightsRequestBuilder) Delete(ctx context.Context, r } return nil } -// Get get the properties of an insightsSettings object for displaying or returning people insights in an organization. To learn how to customize privacy for people insights in an organization, see Customize people insights privacy in Microsoft Graph. +// Get contains the properties that are configured by an administrator for the visibility of a list of people relevant and working with a user in Microsoft 365. List peopleInsights returns the settings to display or return people insights in an organization. // returns a InsightsSettingsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/organizationsettings-list-peopleinsights?view=graph-rest-1.0 func (m *ItemSettingsPeopleInsightsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSettingsPeopleInsightsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InsightsSettingsable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *ItemSettingsPeopleInsightsRequestBuilder) Get(ctx context.Context, requ } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InsightsSettingsable), nil } -// Patch update privacy settings to display or return the specified type of insights in an organization. The type of settings can be contact insights, item insights, or people insights. To learn more about customizing insights privacy for your organization, see:- Customize item insights privacy - Customize people insights privacy +// Patch update the navigation property peopleInsights in organization // returns a InsightsSettingsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/insightssettings-update?view=graph-rest-1.0 func (m *ItemSettingsPeopleInsightsRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InsightsSettingsable, requestConfiguration *ItemSettingsPeopleInsightsRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InsightsSettingsable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemSettingsPeopleInsightsRequestBuilder) ToDeleteRequestInformation(ct requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties of an insightsSettings object for displaying or returning people insights in an organization. To learn how to customize privacy for people insights in an organization, see Customize people insights privacy in Microsoft Graph. +// ToGetRequestInformation contains the properties that are configured by an administrator for the visibility of a list of people relevant and working with a user in Microsoft 365. List peopleInsights returns the settings to display or return people insights in an organization. // returns a *RequestInformation when successful func (m *ItemSettingsPeopleInsightsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSettingsPeopleInsightsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ItemSettingsPeopleInsightsRequestBuilder) ToGetRequestInformation(ctx c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update privacy settings to display or return the specified type of insights in an organization. The type of settings can be contact insights, item insights, or people insights. To learn more about customizing insights privacy for your organization, see:- Customize item insights privacy - Customize people insights privacy +// ToPatchRequestInformation update the navigation property peopleInsights in organization // returns a *RequestInformation when successful func (m *ItemSettingsPeopleInsightsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InsightsSettingsable, requestConfiguration *ItemSettingsPeopleInsightsRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/organization/organization_item_request_builder.go b/organization/organization_item_request_builder.go index 55e4f60157e..95f1db67f66 100644 --- a/organization/organization_item_request_builder.go +++ b/organization/organization_item_request_builder.go @@ -100,7 +100,7 @@ func (m *OrganizationItemRequestBuilder) Extensions()(*ItemExtensionsRequestBuil // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/organization-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/organization-get?view=graph-rest-beta func (m *OrganizationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *OrganizationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Organizationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -138,7 +138,7 @@ func (m *OrganizationItemRequestBuilder) PartnerInformation()(*ItemPartnerInform // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/organization-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/organization-update?view=graph-rest-beta func (m *OrganizationItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Organizationable, requestConfiguration *OrganizationItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Organizationable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/organization/organization_request_builder.go b/organization/organization_request_builder.go index 9ff04b55208..b93ec68b4ba 100644 --- a/organization/organization_request_builder.go +++ b/organization/organization_request_builder.go @@ -86,7 +86,7 @@ func (m *OrganizationRequestBuilder) Delta()(*DeltaRequestBuilder) { // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/organization-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/organization-list?view=graph-rest-beta func (m *OrganizationRequestBuilder) Get(ctx context.Context, requestConfiguration *OrganizationRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OrganizationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/organization/validate_properties_request_builder.go b/organization/validate_properties_request_builder.go index 211e8215d8b..ad080e416ce 100644 --- a/organization/validate_properties_request_builder.go +++ b/organization/validate_properties_request_builder.go @@ -34,7 +34,7 @@ func NewValidatePropertiesRequestBuilder(rawUrl string, requestAdapter i2ae4187f // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-validateproperties?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-validateproperties?view=graph-rest-beta func (m *ValidatePropertiesRequestBuilder) Post(ctx context.Context, body ValidatePropertiesPostRequestBodyable, requestConfiguration *ValidatePropertiesRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/permissiongrants/delta_request_builder.go b/permissiongrants/delta_request_builder.go index 6a16428f55f..b7b4b9f4e15 100644 --- a/permissiongrants/delta_request_builder.go +++ b/permissiongrants/delta_request_builder.go @@ -10,7 +10,7 @@ import ( type DeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeltaRequestBuilderGetQueryParameters invoke function delta +// DeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. type DeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb urlParams["request-raw-url"] = rawUrl return NewDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a DeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-delta?view=graph-rest-beta func (m *DeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(DeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *DeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *Del } return res.(DeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. // returns a DeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-delta?view=graph-rest-beta func (m *DeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(DeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *DeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, request } return res.(DeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information about the delta function, see Use delta query to track changes in Microsoft Graph data for details. // returns a *RequestInformation when successful func (m *DeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/permissiongrants/get_by_ids_request_builder.go b/permissiongrants/get_by_ids_request_builder.go index b281bcb650f..624933726db 100644 --- a/permissiongrants/get_by_ids_request_builder.go +++ b/permissiongrants/get_by_ids_request_builder.go @@ -36,7 +36,7 @@ func NewGetByIdsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26337 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-beta func (m *GetByIdsRequestBuilder) Post(ctx context.Context, body GetByIdsPostRequestBodyable, requestConfiguration *GetByIdsRequestBuilderPostRequestConfiguration)(GetByIdsResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *GetByIdsRequestBuilder) Post(ctx context.Context, body GetByIdsPostRequ // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-beta func (m *GetByIdsRequestBuilder) PostAsGetByIdsPostResponse(ctx context.Context, body GetByIdsPostRequestBodyable, requestConfiguration *GetByIdsRequestBuilderPostRequestConfiguration)(GetByIdsPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/permissiongrants/get_user_owned_objects_request_builder.go b/permissiongrants/get_user_owned_objects_request_builder.go index efaff92eb5d..cf6953c003e 100644 --- a/permissiongrants/get_user_owned_objects_request_builder.go +++ b/permissiongrants/get_user_owned_objects_request_builder.go @@ -36,7 +36,7 @@ func NewGetUserOwnedObjectsRequestBuilder(rawUrl string, requestAdapter i2ae4187 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directory-deleteditems-getuserownedobjects?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directory-deleteditems-getuserownedobjects?view=graph-rest-beta func (m *GetUserOwnedObjectsRequestBuilder) Post(ctx context.Context, body GetUserOwnedObjectsPostRequestBodyable, requestConfiguration *GetUserOwnedObjectsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/permissiongrants/item_check_member_groups_request_builder.go b/permissiongrants/item_check_member_groups_request_builder.go index 348e5379151..01ae3296871 100644 --- a/permissiongrants/item_check_member_groups_request_builder.go +++ b/permissiongrants/item_check_member_groups_request_builder.go @@ -36,7 +36,7 @@ func NewItemCheckMemberGroupsRequestBuilder(rawUrl string, requestAdapter i2ae41 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-beta func (m *ItemCheckMemberGroupsRequestBuilder) Post(ctx context.Context, body ItemCheckMemberGroupsPostRequestBodyable, requestConfiguration *ItemCheckMemberGroupsRequestBuilderPostRequestConfiguration)(ItemCheckMemberGroupsResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ItemCheckMemberGroupsRequestBuilder) Post(ctx context.Context, body Ite // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-beta func (m *ItemCheckMemberGroupsRequestBuilder) PostAsCheckMemberGroupsPostResponse(ctx context.Context, body ItemCheckMemberGroupsPostRequestBodyable, requestConfiguration *ItemCheckMemberGroupsRequestBuilderPostRequestConfiguration)(ItemCheckMemberGroupsPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/permissiongrants/item_get_member_groups_request_builder.go b/permissiongrants/item_get_member_groups_request_builder.go index b46e1764c9d..32b71f8b6ec 100644 --- a/permissiongrants/item_get_member_groups_request_builder.go +++ b/permissiongrants/item_get_member_groups_request_builder.go @@ -36,7 +36,7 @@ func NewItemGetMemberGroupsRequestBuilder(rawUrl string, requestAdapter i2ae4187 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-beta func (m *ItemGetMemberGroupsRequestBuilder) Post(ctx context.Context, body ItemGetMemberGroupsPostRequestBodyable, requestConfiguration *ItemGetMemberGroupsRequestBuilderPostRequestConfiguration)(ItemGetMemberGroupsResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ItemGetMemberGroupsRequestBuilder) Post(ctx context.Context, body ItemG // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-beta func (m *ItemGetMemberGroupsRequestBuilder) PostAsGetMemberGroupsPostResponse(ctx context.Context, body ItemGetMemberGroupsPostRequestBodyable, requestConfiguration *ItemGetMemberGroupsRequestBuilderPostRequestConfiguration)(ItemGetMemberGroupsPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/permissiongrants/item_restore_request_builder.go b/permissiongrants/item_restore_request_builder.go index 95b46d94826..a9e5785a7c1 100644 --- a/permissiongrants/item_restore_request_builder.go +++ b/permissiongrants/item_restore_request_builder.go @@ -36,7 +36,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-beta func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemRestoreRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/permissiongrants/validate_properties_request_builder.go b/permissiongrants/validate_properties_request_builder.go index 0adca4eab41..b0194a8cba4 100644 --- a/permissiongrants/validate_properties_request_builder.go +++ b/permissiongrants/validate_properties_request_builder.go @@ -34,7 +34,7 @@ func NewValidatePropertiesRequestBuilder(rawUrl string, requestAdapter i2ae4187f // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-validateproperties?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-validateproperties?view=graph-rest-beta func (m *ValidatePropertiesRequestBuilder) Post(ctx context.Context, body ValidatePropertiesPostRequestBodyable, requestConfiguration *ValidatePropertiesRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/places/place_item_request_builder.go b/places/place_item_request_builder.go index 8881fba3ca5..beb49d5f847 100644 --- a/places/place_item_request_builder.go +++ b/places/place_item_request_builder.go @@ -69,7 +69,7 @@ func (m *PlaceItemRequestBuilder) GraphRoomList()(*ItemGraphRoomListRequestBuild // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/place-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/place-update?view=graph-rest-beta func (m *PlaceItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Placeable, requestConfiguration *PlaceItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Placeable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/placeswithplaceid/places_with_place_id_request_builder.go b/placeswithplaceid/places_with_place_id_request_builder.go index 891d6ecb753..afbee91936a 100644 --- a/placeswithplaceid/places_with_place_id_request_builder.go +++ b/placeswithplaceid/places_with_place_id_request_builder.go @@ -62,7 +62,7 @@ func (m *PlacesWithPlaceIdRequestBuilder) Delete(ctx context.Context, requestCon // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/place-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/place-update?view=graph-rest-beta func (m *PlacesWithPlaceIdRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Placeable, requestConfiguration *PlacesWithPlaceIdRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Placeable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/planner/buckets_delta_request_builder.go b/planner/buckets_delta_request_builder.go index f9543a73c2b..cbb424032d5 100644 --- a/planner/buckets_delta_request_builder.go +++ b/planner/buckets_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type BucketsDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// BucketsDeltaRequestBuilderGetQueryParameters invoke function delta +// BucketsDeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted buckets in a Planner plan without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. type BucketsDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewBucketsDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee2 urlParams["request-raw-url"] = rawUrl return NewBucketsDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get get newly created, updated, or deleted buckets in a Planner plan without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a BucketsDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/plannerbucket-delta?view=graph-rest-beta func (m *BucketsDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *BucketsDeltaRequestBuilderGetRequestConfiguration)(BucketsDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *BucketsDeltaRequestBuilder) Get(ctx context.Context, requestConfigurati } return res.(BucketsDeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse get newly created, updated, or deleted buckets in a Planner plan without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. // returns a BucketsDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/plannerbucket-delta?view=graph-rest-beta func (m *BucketsDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *BucketsDeltaRequestBuilderGetRequestConfiguration)(BucketsDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *BucketsDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, } return res.(BucketsDeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation get newly created, updated, or deleted buckets in a Planner plan without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. // returns a *RequestInformation when successful func (m *BucketsDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BucketsDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/planner/buckets_item_tasks_delta_request_builder.go b/planner/buckets_item_tasks_delta_request_builder.go index bd245b4dc9c..6ecf143a3a2 100644 --- a/planner/buckets_item_tasks_delta_request_builder.go +++ b/planner/buckets_item_tasks_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type BucketsItemTasksDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// BucketsItemTasksDeltaRequestBuilderGetQueryParameters invoke function delta +// BucketsItemTasksDeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted tasks in either a Planner plan or assigned to the signed-in user without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. type BucketsItemTasksDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewBucketsItemTasksDeltaRequestBuilder(rawUrl string, requestAdapter i2ae41 urlParams["request-raw-url"] = rawUrl return NewBucketsItemTasksDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get get newly created, updated, or deleted tasks in either a Planner plan or assigned to the signed-in user without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a BucketsItemTasksDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/plannertask-delta?view=graph-rest-beta func (m *BucketsItemTasksDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *BucketsItemTasksDeltaRequestBuilderGetRequestConfiguration)(BucketsItemTasksDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *BucketsItemTasksDeltaRequestBuilder) Get(ctx context.Context, requestCo } return res.(BucketsItemTasksDeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse get newly created, updated, or deleted tasks in either a Planner plan or assigned to the signed-in user without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. // returns a BucketsItemTasksDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/plannertask-delta?view=graph-rest-beta func (m *BucketsItemTasksDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *BucketsItemTasksDeltaRequestBuilderGetRequestConfiguration)(BucketsItemTasksDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *BucketsItemTasksDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context. } return res.(BucketsItemTasksDeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation get newly created, updated, or deleted tasks in either a Planner plan or assigned to the signed-in user without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. // returns a *RequestInformation when successful func (m *BucketsItemTasksDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BucketsItemTasksDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/planner/buckets_item_tasks_item_assigned_to_task_board_format_request_builder.go b/planner/buckets_item_tasks_item_assigned_to_task_board_format_request_builder.go index a6f59518732..5069d351f0d 100644 --- a/planner/buckets_item_tasks_item_assigned_to_task_board_format_request_builder.go +++ b/planner/buckets_item_tasks_item_assigned_to_task_board_format_request_builder.go @@ -18,7 +18,7 @@ type BucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilderDeleteRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilderGetQueryParameters retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. +// BucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilderGetQueryParameters read-only. Nullable. Used to render the task correctly in the task board view when grouped by assignedTo. type BucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *BucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilder) Delete(ctx } return nil } -// Get retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. +// Get read-only. Nullable. Used to render the task correctly in the task board view when grouped by assignedTo. // returns a PlannerAssignedToTaskBoardTaskFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerassignedtotaskboardtaskformat-get?view=graph-rest-1.0 func (m *BucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilder) Get(ctx context.Context, requestConfiguration *BucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerAssignedToTaskBoardTaskFormatable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,9 +93,6 @@ func (m *BucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilder) Get(ctx co // Patch update the navigation property assignedToTaskBoardFormat in planner // returns a PlannerAssignedToTaskBoardTaskFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerassignedtotaskboardtaskformat-update?view=graph-rest-1.0 func (m *BucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerAssignedToTaskBoardTaskFormatable, requestConfiguration *BucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerAssignedToTaskBoardTaskFormatable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *BucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilder) ToDeleteRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. +// ToGetRequestInformation read-only. Nullable. Used to render the task correctly in the task board view when grouped by assignedTo. // returns a *RequestInformation when successful func (m *BucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/planner/buckets_item_tasks_item_bucket_task_board_format_request_builder.go b/planner/buckets_item_tasks_item_bucket_task_board_format_request_builder.go index 8fc8ef12c43..fc0948d7959 100644 --- a/planner/buckets_item_tasks_item_bucket_task_board_format_request_builder.go +++ b/planner/buckets_item_tasks_item_bucket_task_board_format_request_builder.go @@ -18,7 +18,7 @@ type BucketsItemTasksItemBucketTaskBoardFormatRequestBuilderDeleteRequestConfigu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BucketsItemTasksItemBucketTaskBoardFormatRequestBuilderGetQueryParameters retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. +// BucketsItemTasksItemBucketTaskBoardFormatRequestBuilderGetQueryParameters read-only. Nullable. Used to render the task correctly in the task board view when grouped by bucket. type BucketsItemTasksItemBucketTaskBoardFormatRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *BucketsItemTasksItemBucketTaskBoardFormatRequestBuilder) Delete(ctx con } return nil } -// Get retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. +// Get read-only. Nullable. Used to render the task correctly in the task board view when grouped by bucket. // returns a PlannerBucketTaskBoardTaskFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerbuckettaskboardtaskformat-get?view=graph-rest-1.0 func (m *BucketsItemTasksItemBucketTaskBoardFormatRequestBuilder) Get(ctx context.Context, requestConfiguration *BucketsItemTasksItemBucketTaskBoardFormatRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerBucketTaskBoardTaskFormatable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,9 +93,6 @@ func (m *BucketsItemTasksItemBucketTaskBoardFormatRequestBuilder) Get(ctx contex // Patch update the navigation property bucketTaskBoardFormat in planner // returns a PlannerBucketTaskBoardTaskFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerbuckettaskboardtaskformat-update?view=graph-rest-1.0 func (m *BucketsItemTasksItemBucketTaskBoardFormatRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerBucketTaskBoardTaskFormatable, requestConfiguration *BucketsItemTasksItemBucketTaskBoardFormatRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerBucketTaskBoardTaskFormatable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *BucketsItemTasksItemBucketTaskBoardFormatRequestBuilder) ToDeleteReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. +// ToGetRequestInformation read-only. Nullable. Used to render the task correctly in the task board view when grouped by bucket. // returns a *RequestInformation when successful func (m *BucketsItemTasksItemBucketTaskBoardFormatRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BucketsItemTasksItemBucketTaskBoardFormatRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/planner/buckets_item_tasks_item_details_request_builder.go b/planner/buckets_item_tasks_item_details_request_builder.go index 9fde67cfbaf..79902348eed 100644 --- a/planner/buckets_item_tasks_item_details_request_builder.go +++ b/planner/buckets_item_tasks_item_details_request_builder.go @@ -18,7 +18,7 @@ type BucketsItemTasksItemDetailsRequestBuilderDeleteRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BucketsItemTasksItemDetailsRequestBuilderGetQueryParameters retrieve the properties and relationships of a plannerTaskDetails object. +// BucketsItemTasksItemDetailsRequestBuilderGetQueryParameters read-only. Nullable. More details about the task. type BucketsItemTasksItemDetailsRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *BucketsItemTasksItemDetailsRequestBuilder) Delete(ctx context.Context, } return nil } -// Get retrieve the properties and relationships of a plannerTaskDetails object. +// Get read-only. Nullable. More details about the task. // returns a PlannerTaskDetailsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannertaskdetails-get?view=graph-rest-1.0 func (m *BucketsItemTasksItemDetailsRequestBuilder) Get(ctx context.Context, requestConfiguration *BucketsItemTasksItemDetailsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskDetailsable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,9 +93,6 @@ func (m *BucketsItemTasksItemDetailsRequestBuilder) Get(ctx context.Context, req // Patch update the navigation property details in planner // returns a PlannerTaskDetailsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannertaskdetails-update?view=graph-rest-1.0 func (m *BucketsItemTasksItemDetailsRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskDetailsable, requestConfiguration *BucketsItemTasksItemDetailsRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskDetailsable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *BucketsItemTasksItemDetailsRequestBuilder) ToDeleteRequestInformation(c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a plannerTaskDetails object. +// ToGetRequestInformation read-only. Nullable. More details about the task. // returns a *RequestInformation when successful func (m *BucketsItemTasksItemDetailsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BucketsItemTasksItemDetailsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/planner/buckets_item_tasks_item_progress_task_board_format_request_builder.go b/planner/buckets_item_tasks_item_progress_task_board_format_request_builder.go index c7bdf22771b..a840b04baae 100644 --- a/planner/buckets_item_tasks_item_progress_task_board_format_request_builder.go +++ b/planner/buckets_item_tasks_item_progress_task_board_format_request_builder.go @@ -18,7 +18,7 @@ type BucketsItemTasksItemProgressTaskBoardFormatRequestBuilderDeleteRequestConfi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BucketsItemTasksItemProgressTaskBoardFormatRequestBuilderGetQueryParameters retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. +// BucketsItemTasksItemProgressTaskBoardFormatRequestBuilderGetQueryParameters read-only. Nullable. Used to render the task correctly in the task board view when grouped by progress. type BucketsItemTasksItemProgressTaskBoardFormatRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *BucketsItemTasksItemProgressTaskBoardFormatRequestBuilder) Delete(ctx c } return nil } -// Get retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. +// Get read-only. Nullable. Used to render the task correctly in the task board view when grouped by progress. // returns a PlannerProgressTaskBoardTaskFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerprogresstaskboardtaskformat-get?view=graph-rest-1.0 func (m *BucketsItemTasksItemProgressTaskBoardFormatRequestBuilder) Get(ctx context.Context, requestConfiguration *BucketsItemTasksItemProgressTaskBoardFormatRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerProgressTaskBoardTaskFormatable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,9 +93,6 @@ func (m *BucketsItemTasksItemProgressTaskBoardFormatRequestBuilder) Get(ctx cont // Patch update the navigation property progressTaskBoardFormat in planner // returns a PlannerProgressTaskBoardTaskFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerprogresstaskboardtaskformat-update?view=graph-rest-1.0 func (m *BucketsItemTasksItemProgressTaskBoardFormatRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerProgressTaskBoardTaskFormatable, requestConfiguration *BucketsItemTasksItemProgressTaskBoardFormatRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerProgressTaskBoardTaskFormatable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *BucketsItemTasksItemProgressTaskBoardFormatRequestBuilder) ToDeleteRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. +// ToGetRequestInformation read-only. Nullable. Used to render the task correctly in the task board view when grouped by progress. // returns a *RequestInformation when successful func (m *BucketsItemTasksItemProgressTaskBoardFormatRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BucketsItemTasksItemProgressTaskBoardFormatRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/planner/buckets_item_tasks_request_builder.go b/planner/buckets_item_tasks_request_builder.go index 65b79bab60e..65d0562674e 100644 --- a/planner/buckets_item_tasks_request_builder.go +++ b/planner/buckets_item_tasks_request_builder.go @@ -11,7 +11,7 @@ import ( type BucketsItemTasksRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// BucketsItemTasksRequestBuilderGetQueryParameters retrieve a list of plannerTask objects associated to a plannerBucket object. +// BucketsItemTasksRequestBuilderGetQueryParameters read-only. Nullable. The collection of tasks in the bucket. type BucketsItemTasksRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *BucketsItemTasksRequestBuilder) Count()(*BucketsItemTasksCountRequestBu func (m *BucketsItemTasksRequestBuilder) Delta()(*BucketsItemTasksDeltaRequestBuilder) { return NewBucketsItemTasksDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of plannerTask objects associated to a plannerBucket object. +// Get read-only. Nullable. The collection of tasks in the bucket. // returns a PlannerTaskCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerbucket-list-tasks?view=graph-rest-1.0 func (m *BucketsItemTasksRequestBuilder) Get(ctx context.Context, requestConfiguration *BucketsItemTasksRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *BucketsItemTasksRequestBuilder) Post(ctx context.Context, body ie233ee7 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskable), nil } -// ToGetRequestInformation retrieve a list of plannerTask objects associated to a plannerBucket object. +// ToGetRequestInformation read-only. Nullable. The collection of tasks in the bucket. // returns a *RequestInformation when successful func (m *BucketsItemTasksRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BucketsItemTasksRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/planner/buckets_planner_bucket_item_request_builder.go b/planner/buckets_planner_bucket_item_request_builder.go index a6c363f5686..a1ed820e567 100644 --- a/planner/buckets_planner_bucket_item_request_builder.go +++ b/planner/buckets_planner_bucket_item_request_builder.go @@ -18,7 +18,7 @@ type BucketsPlannerBucketItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BucketsPlannerBucketItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a plannerBucket object. +// BucketsPlannerBucketItemRequestBuilderGetQueryParameters read-only. Nullable. Returns a collection of the specified buckets type BucketsPlannerBucketItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewBucketsPlannerBucketItemRequestBuilder(rawUrl string, requestAdapter i2a urlParams["request-raw-url"] = rawUrl return NewBucketsPlannerBucketItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete plannerBucket. +// Delete delete navigation property buckets for planner // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerbucket-delete?view=graph-rest-1.0 func (m *BucketsPlannerBucketItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *BucketsPlannerBucketItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *BucketsPlannerBucketItemRequestBuilder) Delete(ctx context.Context, req } return nil } -// Get retrieve the properties and relationships of a plannerBucket object. +// Get read-only. Nullable. Returns a collection of the specified buckets // returns a PlannerBucketable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerbucket-get?view=graph-rest-1.0 func (m *BucketsPlannerBucketItemRequestBuilder) Get(ctx context.Context, requestConfiguration *BucketsPlannerBucketItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerBucketable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,9 +93,6 @@ func (m *BucketsPlannerBucketItemRequestBuilder) Get(ctx context.Context, reques // Patch update the navigation property buckets in planner // returns a PlannerBucketable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerbucket-update?view=graph-rest-1.0 func (m *BucketsPlannerBucketItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerBucketable, requestConfiguration *BucketsPlannerBucketItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerBucketable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -124,7 +115,7 @@ func (m *BucketsPlannerBucketItemRequestBuilder) Patch(ctx context.Context, body func (m *BucketsPlannerBucketItemRequestBuilder) Tasks()(*BucketsItemTasksRequestBuilder) { return NewBucketsItemTasksRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete plannerBucket. +// ToDeleteRequestInformation delete navigation property buckets for planner // returns a *RequestInformation when successful func (m *BucketsPlannerBucketItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *BucketsPlannerBucketItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -135,7 +126,7 @@ func (m *BucketsPlannerBucketItemRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a plannerBucket object. +// ToGetRequestInformation read-only. Nullable. Returns a collection of the specified buckets // returns a *RequestInformation when successful func (m *BucketsPlannerBucketItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BucketsPlannerBucketItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/planner/buckets_request_builder.go b/planner/buckets_request_builder.go index f568aaf176b..7f29de011d8 100644 --- a/planner/buckets_request_builder.go +++ b/planner/buckets_request_builder.go @@ -11,7 +11,7 @@ import ( type BucketsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// BucketsRequestBuilderGetQueryParameters retrieve a list of plannerbucket objects. +// BucketsRequestBuilderGetQueryParameters read-only. Nullable. Returns a collection of the specified buckets type BucketsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *BucketsRequestBuilder) Count()(*BucketsCountRequestBuilder) { func (m *BucketsRequestBuilder) Delta()(*BucketsDeltaRequestBuilder) { return NewBucketsDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of plannerbucket objects. +// Get read-only. Nullable. Returns a collection of the specified buckets // returns a PlannerBucketCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/planner-list-buckets?view=graph-rest-1.0 func (m *BucketsRequestBuilder) Get(ctx context.Context, requestConfiguration *BucketsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerBucketCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *BucketsRequestBuilder) Get(ctx context.Context, requestConfiguration *B } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerBucketCollectionResponseable), nil } -// Post create a new plannerBucket object. +// Post create new navigation property to buckets for planner // returns a PlannerBucketable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/planner-post-buckets?view=graph-rest-1.0 func (m *BucketsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerBucketable, requestConfiguration *BucketsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerBucketable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *BucketsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerBucketable), nil } -// ToGetRequestInformation retrieve a list of plannerbucket objects. +// ToGetRequestInformation read-only. Nullable. Returns a collection of the specified buckets // returns a *RequestInformation when successful func (m *BucketsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BucketsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *BucketsRequestBuilder) ToGetRequestInformation(ctx context.Context, req requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new plannerBucket object. +// ToPostRequestInformation create new navigation property to buckets for planner // returns a *RequestInformation when successful func (m *BucketsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerBucketable, requestConfiguration *BucketsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/planner/plans_delta_request_builder.go b/planner/plans_delta_request_builder.go index bf2b66c3cef..03f87da511c 100644 --- a/planner/plans_delta_request_builder.go +++ b/planner/plans_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type PlansDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// PlansDeltaRequestBuilderGetQueryParameters invoke function delta +// PlansDeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted Planner plans in either a group or a Planner roster without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. type PlansDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewPlansDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263 urlParams["request-raw-url"] = rawUrl return NewPlansDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get get newly created, updated, or deleted Planner plans in either a group or a Planner roster without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a PlansDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/plannerplan-delta?view=graph-rest-beta func (m *PlansDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *PlansDeltaRequestBuilderGetRequestConfiguration)(PlansDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *PlansDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration } return res.(PlansDeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse get newly created, updated, or deleted Planner plans in either a group or a Planner roster without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. // returns a PlansDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/plannerplan-delta?view=graph-rest-beta func (m *PlansDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *PlansDeltaRequestBuilderGetRequestConfiguration)(PlansDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *PlansDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, re } return res.(PlansDeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation get newly created, updated, or deleted Planner plans in either a group or a Planner roster without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. // returns a *RequestInformation when successful func (m *PlansDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PlansDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/planner/plans_item_buckets_delta_request_builder.go b/planner/plans_item_buckets_delta_request_builder.go index 1433286ab38..efb9e63844f 100644 --- a/planner/plans_item_buckets_delta_request_builder.go +++ b/planner/plans_item_buckets_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type PlansItemBucketsDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// PlansItemBucketsDeltaRequestBuilderGetQueryParameters invoke function delta +// PlansItemBucketsDeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted buckets in a Planner plan without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. type PlansItemBucketsDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewPlansItemBucketsDeltaRequestBuilder(rawUrl string, requestAdapter i2ae41 urlParams["request-raw-url"] = rawUrl return NewPlansItemBucketsDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get get newly created, updated, or deleted buckets in a Planner plan without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a PlansItemBucketsDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/plannerbucket-delta?view=graph-rest-beta func (m *PlansItemBucketsDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *PlansItemBucketsDeltaRequestBuilderGetRequestConfiguration)(PlansItemBucketsDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *PlansItemBucketsDeltaRequestBuilder) Get(ctx context.Context, requestCo } return res.(PlansItemBucketsDeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse get newly created, updated, or deleted buckets in a Planner plan without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. // returns a PlansItemBucketsDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/plannerbucket-delta?view=graph-rest-beta func (m *PlansItemBucketsDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *PlansItemBucketsDeltaRequestBuilderGetRequestConfiguration)(PlansItemBucketsDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *PlansItemBucketsDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context. } return res.(PlansItemBucketsDeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation get newly created, updated, or deleted buckets in a Planner plan without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. // returns a *RequestInformation when successful func (m *PlansItemBucketsDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PlansItemBucketsDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/planner/plans_item_buckets_item_tasks_delta_request_builder.go b/planner/plans_item_buckets_item_tasks_delta_request_builder.go index e9f04c5b7d3..ae8ea4d6ed3 100644 --- a/planner/plans_item_buckets_item_tasks_delta_request_builder.go +++ b/planner/plans_item_buckets_item_tasks_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type PlansItemBucketsItemTasksDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// PlansItemBucketsItemTasksDeltaRequestBuilderGetQueryParameters invoke function delta +// PlansItemBucketsItemTasksDeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted tasks in either a Planner plan or assigned to the signed-in user without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. type PlansItemBucketsItemTasksDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewPlansItemBucketsItemTasksDeltaRequestBuilder(rawUrl string, requestAdapt urlParams["request-raw-url"] = rawUrl return NewPlansItemBucketsItemTasksDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get get newly created, updated, or deleted tasks in either a Planner plan or assigned to the signed-in user without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a PlansItemBucketsItemTasksDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/plannertask-delta?view=graph-rest-beta func (m *PlansItemBucketsItemTasksDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *PlansItemBucketsItemTasksDeltaRequestBuilderGetRequestConfiguration)(PlansItemBucketsItemTasksDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *PlansItemBucketsItemTasksDeltaRequestBuilder) Get(ctx context.Context, } return res.(PlansItemBucketsItemTasksDeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse get newly created, updated, or deleted tasks in either a Planner plan or assigned to the signed-in user without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. // returns a PlansItemBucketsItemTasksDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/plannertask-delta?view=graph-rest-beta func (m *PlansItemBucketsItemTasksDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *PlansItemBucketsItemTasksDeltaRequestBuilderGetRequestConfiguration)(PlansItemBucketsItemTasksDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *PlansItemBucketsItemTasksDeltaRequestBuilder) GetAsDeltaGetResponse(ctx } return res.(PlansItemBucketsItemTasksDeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation get newly created, updated, or deleted tasks in either a Planner plan or assigned to the signed-in user without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. // returns a *RequestInformation when successful func (m *PlansItemBucketsItemTasksDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PlansItemBucketsItemTasksDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/planner/plans_item_buckets_item_tasks_item_assigned_to_task_board_format_request_builder.go b/planner/plans_item_buckets_item_tasks_item_assigned_to_task_board_format_request_builder.go index 646c05607c6..854e494b088 100644 --- a/planner/plans_item_buckets_item_tasks_item_assigned_to_task_board_format_request_builder.go +++ b/planner/plans_item_buckets_item_tasks_item_assigned_to_task_board_format_request_builder.go @@ -18,7 +18,7 @@ type PlansItemBucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilderDeleteR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// PlansItemBucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilderGetQueryParameters retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. +// PlansItemBucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilderGetQueryParameters read-only. Nullable. Used to render the task correctly in the task board view when grouped by assignedTo. type PlansItemBucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *PlansItemBucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilder) D } return nil } -// Get retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. +// Get read-only. Nullable. Used to render the task correctly in the task board view when grouped by assignedTo. // returns a PlannerAssignedToTaskBoardTaskFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerassignedtotaskboardtaskformat-get?view=graph-rest-1.0 func (m *PlansItemBucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilder) Get(ctx context.Context, requestConfiguration *PlansItemBucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerAssignedToTaskBoardTaskFormatable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,9 +93,6 @@ func (m *PlansItemBucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilder) G // Patch update the navigation property assignedToTaskBoardFormat in planner // returns a PlannerAssignedToTaskBoardTaskFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerassignedtotaskboardtaskformat-update?view=graph-rest-1.0 func (m *PlansItemBucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerAssignedToTaskBoardTaskFormatable, requestConfiguration *PlansItemBucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerAssignedToTaskBoardTaskFormatable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *PlansItemBucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilder) T requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. +// ToGetRequestInformation read-only. Nullable. Used to render the task correctly in the task board view when grouped by assignedTo. // returns a *RequestInformation when successful func (m *PlansItemBucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PlansItemBucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/planner/plans_item_buckets_item_tasks_item_bucket_task_board_format_request_builder.go b/planner/plans_item_buckets_item_tasks_item_bucket_task_board_format_request_builder.go index faf5152db76..a12ed824837 100644 --- a/planner/plans_item_buckets_item_tasks_item_bucket_task_board_format_request_builder.go +++ b/planner/plans_item_buckets_item_tasks_item_bucket_task_board_format_request_builder.go @@ -18,7 +18,7 @@ type PlansItemBucketsItemTasksItemBucketTaskBoardFormatRequestBuilderDeleteReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// PlansItemBucketsItemTasksItemBucketTaskBoardFormatRequestBuilderGetQueryParameters retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. +// PlansItemBucketsItemTasksItemBucketTaskBoardFormatRequestBuilderGetQueryParameters read-only. Nullable. Used to render the task correctly in the task board view when grouped by bucket. type PlansItemBucketsItemTasksItemBucketTaskBoardFormatRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *PlansItemBucketsItemTasksItemBucketTaskBoardFormatRequestBuilder) Delet } return nil } -// Get retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. +// Get read-only. Nullable. Used to render the task correctly in the task board view when grouped by bucket. // returns a PlannerBucketTaskBoardTaskFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerbuckettaskboardtaskformat-get?view=graph-rest-1.0 func (m *PlansItemBucketsItemTasksItemBucketTaskBoardFormatRequestBuilder) Get(ctx context.Context, requestConfiguration *PlansItemBucketsItemTasksItemBucketTaskBoardFormatRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerBucketTaskBoardTaskFormatable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,9 +93,6 @@ func (m *PlansItemBucketsItemTasksItemBucketTaskBoardFormatRequestBuilder) Get(c // Patch update the navigation property bucketTaskBoardFormat in planner // returns a PlannerBucketTaskBoardTaskFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerbuckettaskboardtaskformat-update?view=graph-rest-1.0 func (m *PlansItemBucketsItemTasksItemBucketTaskBoardFormatRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerBucketTaskBoardTaskFormatable, requestConfiguration *PlansItemBucketsItemTasksItemBucketTaskBoardFormatRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerBucketTaskBoardTaskFormatable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *PlansItemBucketsItemTasksItemBucketTaskBoardFormatRequestBuilder) ToDel requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. +// ToGetRequestInformation read-only. Nullable. Used to render the task correctly in the task board view when grouped by bucket. // returns a *RequestInformation when successful func (m *PlansItemBucketsItemTasksItemBucketTaskBoardFormatRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PlansItemBucketsItemTasksItemBucketTaskBoardFormatRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/planner/plans_item_buckets_item_tasks_item_details_request_builder.go b/planner/plans_item_buckets_item_tasks_item_details_request_builder.go index 18ae4091b6f..50166becf28 100644 --- a/planner/plans_item_buckets_item_tasks_item_details_request_builder.go +++ b/planner/plans_item_buckets_item_tasks_item_details_request_builder.go @@ -18,7 +18,7 @@ type PlansItemBucketsItemTasksItemDetailsRequestBuilderDeleteRequestConfiguratio // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// PlansItemBucketsItemTasksItemDetailsRequestBuilderGetQueryParameters retrieve the properties and relationships of a plannerTaskDetails object. +// PlansItemBucketsItemTasksItemDetailsRequestBuilderGetQueryParameters read-only. Nullable. More details about the task. type PlansItemBucketsItemTasksItemDetailsRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *PlansItemBucketsItemTasksItemDetailsRequestBuilder) Delete(ctx context. } return nil } -// Get retrieve the properties and relationships of a plannerTaskDetails object. +// Get read-only. Nullable. More details about the task. // returns a PlannerTaskDetailsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannertaskdetails-get?view=graph-rest-1.0 func (m *PlansItemBucketsItemTasksItemDetailsRequestBuilder) Get(ctx context.Context, requestConfiguration *PlansItemBucketsItemTasksItemDetailsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskDetailsable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,9 +93,6 @@ func (m *PlansItemBucketsItemTasksItemDetailsRequestBuilder) Get(ctx context.Con // Patch update the navigation property details in planner // returns a PlannerTaskDetailsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannertaskdetails-update?view=graph-rest-1.0 func (m *PlansItemBucketsItemTasksItemDetailsRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskDetailsable, requestConfiguration *PlansItemBucketsItemTasksItemDetailsRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskDetailsable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *PlansItemBucketsItemTasksItemDetailsRequestBuilder) ToDeleteRequestInfo requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a plannerTaskDetails object. +// ToGetRequestInformation read-only. Nullable. More details about the task. // returns a *RequestInformation when successful func (m *PlansItemBucketsItemTasksItemDetailsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PlansItemBucketsItemTasksItemDetailsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/planner/plans_item_buckets_item_tasks_item_progress_task_board_format_request_builder.go b/planner/plans_item_buckets_item_tasks_item_progress_task_board_format_request_builder.go index 943213d12a7..607877c9cb6 100644 --- a/planner/plans_item_buckets_item_tasks_item_progress_task_board_format_request_builder.go +++ b/planner/plans_item_buckets_item_tasks_item_progress_task_board_format_request_builder.go @@ -18,7 +18,7 @@ type PlansItemBucketsItemTasksItemProgressTaskBoardFormatRequestBuilderDeleteReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// PlansItemBucketsItemTasksItemProgressTaskBoardFormatRequestBuilderGetQueryParameters retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. +// PlansItemBucketsItemTasksItemProgressTaskBoardFormatRequestBuilderGetQueryParameters read-only. Nullable. Used to render the task correctly in the task board view when grouped by progress. type PlansItemBucketsItemTasksItemProgressTaskBoardFormatRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *PlansItemBucketsItemTasksItemProgressTaskBoardFormatRequestBuilder) Del } return nil } -// Get retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. +// Get read-only. Nullable. Used to render the task correctly in the task board view when grouped by progress. // returns a PlannerProgressTaskBoardTaskFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerprogresstaskboardtaskformat-get?view=graph-rest-1.0 func (m *PlansItemBucketsItemTasksItemProgressTaskBoardFormatRequestBuilder) Get(ctx context.Context, requestConfiguration *PlansItemBucketsItemTasksItemProgressTaskBoardFormatRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerProgressTaskBoardTaskFormatable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,9 +93,6 @@ func (m *PlansItemBucketsItemTasksItemProgressTaskBoardFormatRequestBuilder) Get // Patch update the navigation property progressTaskBoardFormat in planner // returns a PlannerProgressTaskBoardTaskFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerprogresstaskboardtaskformat-update?view=graph-rest-1.0 func (m *PlansItemBucketsItemTasksItemProgressTaskBoardFormatRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerProgressTaskBoardTaskFormatable, requestConfiguration *PlansItemBucketsItemTasksItemProgressTaskBoardFormatRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerProgressTaskBoardTaskFormatable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *PlansItemBucketsItemTasksItemProgressTaskBoardFormatRequestBuilder) ToD requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. +// ToGetRequestInformation read-only. Nullable. Used to render the task correctly in the task board view when grouped by progress. // returns a *RequestInformation when successful func (m *PlansItemBucketsItemTasksItemProgressTaskBoardFormatRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PlansItemBucketsItemTasksItemProgressTaskBoardFormatRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/planner/plans_item_buckets_item_tasks_request_builder.go b/planner/plans_item_buckets_item_tasks_request_builder.go index 0453ee6b3ec..fa69a2335a8 100644 --- a/planner/plans_item_buckets_item_tasks_request_builder.go +++ b/planner/plans_item_buckets_item_tasks_request_builder.go @@ -11,7 +11,7 @@ import ( type PlansItemBucketsItemTasksRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// PlansItemBucketsItemTasksRequestBuilderGetQueryParameters retrieve a list of plannerTask objects associated to a plannerBucket object. +// PlansItemBucketsItemTasksRequestBuilderGetQueryParameters read-only. Nullable. The collection of tasks in the bucket. type PlansItemBucketsItemTasksRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *PlansItemBucketsItemTasksRequestBuilder) Count()(*PlansItemBucketsItemT func (m *PlansItemBucketsItemTasksRequestBuilder) Delta()(*PlansItemBucketsItemTasksDeltaRequestBuilder) { return NewPlansItemBucketsItemTasksDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of plannerTask objects associated to a plannerBucket object. +// Get read-only. Nullable. The collection of tasks in the bucket. // returns a PlannerTaskCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerbucket-list-tasks?view=graph-rest-1.0 func (m *PlansItemBucketsItemTasksRequestBuilder) Get(ctx context.Context, requestConfiguration *PlansItemBucketsItemTasksRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *PlansItemBucketsItemTasksRequestBuilder) Post(ctx context.Context, body } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskable), nil } -// ToGetRequestInformation retrieve a list of plannerTask objects associated to a plannerBucket object. +// ToGetRequestInformation read-only. Nullable. The collection of tasks in the bucket. // returns a *RequestInformation when successful func (m *PlansItemBucketsItemTasksRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PlansItemBucketsItemTasksRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/planner/plans_item_buckets_request_builder.go b/planner/plans_item_buckets_request_builder.go index f924be3835f..3c26dd58a8f 100644 --- a/planner/plans_item_buckets_request_builder.go +++ b/planner/plans_item_buckets_request_builder.go @@ -11,7 +11,7 @@ import ( type PlansItemBucketsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// PlansItemBucketsRequestBuilderGetQueryParameters retrieve a list of plannerBucket objects contained by a plannerPlan object. +// PlansItemBucketsRequestBuilderGetQueryParameters collection of buckets in the plan. Read-only. Nullable. type PlansItemBucketsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *PlansItemBucketsRequestBuilder) Count()(*PlansItemBucketsCountRequestBu func (m *PlansItemBucketsRequestBuilder) Delta()(*PlansItemBucketsDeltaRequestBuilder) { return NewPlansItemBucketsDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of plannerBucket objects contained by a plannerPlan object. +// Get collection of buckets in the plan. Read-only. Nullable. // returns a PlannerBucketCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerplan-list-buckets?view=graph-rest-1.0 func (m *PlansItemBucketsRequestBuilder) Get(ctx context.Context, requestConfiguration *PlansItemBucketsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerBucketCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *PlansItemBucketsRequestBuilder) Post(ctx context.Context, body ie233ee7 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerBucketable), nil } -// ToGetRequestInformation retrieve a list of plannerBucket objects contained by a plannerPlan object. +// ToGetRequestInformation collection of buckets in the plan. Read-only. Nullable. // returns a *RequestInformation when successful func (m *PlansItemBucketsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PlansItemBucketsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/planner/plans_item_details_request_builder.go b/planner/plans_item_details_request_builder.go index be4d5b74ad9..d976603c54f 100644 --- a/planner/plans_item_details_request_builder.go +++ b/planner/plans_item_details_request_builder.go @@ -18,7 +18,7 @@ type PlansItemDetailsRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// PlansItemDetailsRequestBuilderGetQueryParameters retrieve the properties and relationships of a plannerPlanDetails object. +// PlansItemDetailsRequestBuilderGetQueryParameters extra details about the plan. Read-only. Nullable. type PlansItemDetailsRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *PlansItemDetailsRequestBuilder) Delete(ctx context.Context, requestConf } return nil } -// Get retrieve the properties and relationships of a plannerPlanDetails object. +// Get extra details about the plan. Read-only. Nullable. // returns a PlannerPlanDetailsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerplandetails-get?view=graph-rest-1.0 func (m *PlansItemDetailsRequestBuilder) Get(ctx context.Context, requestConfiguration *PlansItemDetailsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanDetailsable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,9 +93,6 @@ func (m *PlansItemDetailsRequestBuilder) Get(ctx context.Context, requestConfigu // Patch update the navigation property details in planner // returns a PlannerPlanDetailsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerplandetails-update?view=graph-rest-1.0 func (m *PlansItemDetailsRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanDetailsable, requestConfiguration *PlansItemDetailsRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanDetailsable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *PlansItemDetailsRequestBuilder) ToDeleteRequestInformation(ctx context. requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a plannerPlanDetails object. +// ToGetRequestInformation extra details about the plan. Read-only. Nullable. // returns a *RequestInformation when successful func (m *PlansItemDetailsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PlansItemDetailsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/planner/plans_item_move_to_container_request_builder.go b/planner/plans_item_move_to_container_request_builder.go index 97772f87395..853bb78e173 100644 --- a/planner/plans_item_move_to_container_request_builder.go +++ b/planner/plans_item_move_to_container_request_builder.go @@ -36,7 +36,7 @@ func NewPlansItemMoveToContainerRequestBuilder(rawUrl string, requestAdapter i2a // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerplan-movetocontainer?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/plannerplan-movetocontainer?view=graph-rest-beta func (m *PlansItemMoveToContainerRequestBuilder) Post(ctx context.Context, body PlansItemMoveToContainerPostRequestBodyable, requestConfiguration *PlansItemMoveToContainerRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/planner/plans_item_tasks_delta_request_builder.go b/planner/plans_item_tasks_delta_request_builder.go index b762fbb53c6..5deda870305 100644 --- a/planner/plans_item_tasks_delta_request_builder.go +++ b/planner/plans_item_tasks_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type PlansItemTasksDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// PlansItemTasksDeltaRequestBuilderGetQueryParameters invoke function delta +// PlansItemTasksDeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted tasks in either a Planner plan or assigned to the signed-in user without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. type PlansItemTasksDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewPlansItemTasksDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187 urlParams["request-raw-url"] = rawUrl return NewPlansItemTasksDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get get newly created, updated, or deleted tasks in either a Planner plan or assigned to the signed-in user without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a PlansItemTasksDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/plannertask-delta?view=graph-rest-beta func (m *PlansItemTasksDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *PlansItemTasksDeltaRequestBuilderGetRequestConfiguration)(PlansItemTasksDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *PlansItemTasksDeltaRequestBuilder) Get(ctx context.Context, requestConf } return res.(PlansItemTasksDeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse get newly created, updated, or deleted tasks in either a Planner plan or assigned to the signed-in user without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. // returns a PlansItemTasksDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/plannertask-delta?view=graph-rest-beta func (m *PlansItemTasksDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *PlansItemTasksDeltaRequestBuilderGetRequestConfiguration)(PlansItemTasksDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *PlansItemTasksDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Co } return res.(PlansItemTasksDeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation get newly created, updated, or deleted tasks in either a Planner plan or assigned to the signed-in user without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. // returns a *RequestInformation when successful func (m *PlansItemTasksDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PlansItemTasksDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/planner/plans_item_tasks_item_assigned_to_task_board_format_request_builder.go b/planner/plans_item_tasks_item_assigned_to_task_board_format_request_builder.go index 22f2363f8c2..d070c46e56d 100644 --- a/planner/plans_item_tasks_item_assigned_to_task_board_format_request_builder.go +++ b/planner/plans_item_tasks_item_assigned_to_task_board_format_request_builder.go @@ -18,7 +18,7 @@ type PlansItemTasksItemAssignedToTaskBoardFormatRequestBuilderDeleteRequestConfi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// PlansItemTasksItemAssignedToTaskBoardFormatRequestBuilderGetQueryParameters retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. +// PlansItemTasksItemAssignedToTaskBoardFormatRequestBuilderGetQueryParameters read-only. Nullable. Used to render the task correctly in the task board view when grouped by assignedTo. type PlansItemTasksItemAssignedToTaskBoardFormatRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *PlansItemTasksItemAssignedToTaskBoardFormatRequestBuilder) Delete(ctx c } return nil } -// Get retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. +// Get read-only. Nullable. Used to render the task correctly in the task board view when grouped by assignedTo. // returns a PlannerAssignedToTaskBoardTaskFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerassignedtotaskboardtaskformat-get?view=graph-rest-1.0 func (m *PlansItemTasksItemAssignedToTaskBoardFormatRequestBuilder) Get(ctx context.Context, requestConfiguration *PlansItemTasksItemAssignedToTaskBoardFormatRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerAssignedToTaskBoardTaskFormatable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,9 +93,6 @@ func (m *PlansItemTasksItemAssignedToTaskBoardFormatRequestBuilder) Get(ctx cont // Patch update the navigation property assignedToTaskBoardFormat in planner // returns a PlannerAssignedToTaskBoardTaskFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerassignedtotaskboardtaskformat-update?view=graph-rest-1.0 func (m *PlansItemTasksItemAssignedToTaskBoardFormatRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerAssignedToTaskBoardTaskFormatable, requestConfiguration *PlansItemTasksItemAssignedToTaskBoardFormatRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerAssignedToTaskBoardTaskFormatable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *PlansItemTasksItemAssignedToTaskBoardFormatRequestBuilder) ToDeleteRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. +// ToGetRequestInformation read-only. Nullable. Used to render the task correctly in the task board view when grouped by assignedTo. // returns a *RequestInformation when successful func (m *PlansItemTasksItemAssignedToTaskBoardFormatRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PlansItemTasksItemAssignedToTaskBoardFormatRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/planner/plans_item_tasks_item_bucket_task_board_format_request_builder.go b/planner/plans_item_tasks_item_bucket_task_board_format_request_builder.go index 1da42ca5a3f..0f2cc6cf33d 100644 --- a/planner/plans_item_tasks_item_bucket_task_board_format_request_builder.go +++ b/planner/plans_item_tasks_item_bucket_task_board_format_request_builder.go @@ -18,7 +18,7 @@ type PlansItemTasksItemBucketTaskBoardFormatRequestBuilderDeleteRequestConfigura // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// PlansItemTasksItemBucketTaskBoardFormatRequestBuilderGetQueryParameters retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. +// PlansItemTasksItemBucketTaskBoardFormatRequestBuilderGetQueryParameters read-only. Nullable. Used to render the task correctly in the task board view when grouped by bucket. type PlansItemTasksItemBucketTaskBoardFormatRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *PlansItemTasksItemBucketTaskBoardFormatRequestBuilder) Delete(ctx conte } return nil } -// Get retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. +// Get read-only. Nullable. Used to render the task correctly in the task board view when grouped by bucket. // returns a PlannerBucketTaskBoardTaskFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerbuckettaskboardtaskformat-get?view=graph-rest-1.0 func (m *PlansItemTasksItemBucketTaskBoardFormatRequestBuilder) Get(ctx context.Context, requestConfiguration *PlansItemTasksItemBucketTaskBoardFormatRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerBucketTaskBoardTaskFormatable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,9 +93,6 @@ func (m *PlansItemTasksItemBucketTaskBoardFormatRequestBuilder) Get(ctx context. // Patch update the navigation property bucketTaskBoardFormat in planner // returns a PlannerBucketTaskBoardTaskFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerbuckettaskboardtaskformat-update?view=graph-rest-1.0 func (m *PlansItemTasksItemBucketTaskBoardFormatRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerBucketTaskBoardTaskFormatable, requestConfiguration *PlansItemTasksItemBucketTaskBoardFormatRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerBucketTaskBoardTaskFormatable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *PlansItemTasksItemBucketTaskBoardFormatRequestBuilder) ToDeleteRequestI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. +// ToGetRequestInformation read-only. Nullable. Used to render the task correctly in the task board view when grouped by bucket. // returns a *RequestInformation when successful func (m *PlansItemTasksItemBucketTaskBoardFormatRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PlansItemTasksItemBucketTaskBoardFormatRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/planner/plans_item_tasks_item_details_request_builder.go b/planner/plans_item_tasks_item_details_request_builder.go index b36e6298c61..be3bfc44c2f 100644 --- a/planner/plans_item_tasks_item_details_request_builder.go +++ b/planner/plans_item_tasks_item_details_request_builder.go @@ -18,7 +18,7 @@ type PlansItemTasksItemDetailsRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// PlansItemTasksItemDetailsRequestBuilderGetQueryParameters retrieve the properties and relationships of a plannerTaskDetails object. +// PlansItemTasksItemDetailsRequestBuilderGetQueryParameters read-only. Nullable. More details about the task. type PlansItemTasksItemDetailsRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *PlansItemTasksItemDetailsRequestBuilder) Delete(ctx context.Context, re } return nil } -// Get retrieve the properties and relationships of a plannerTaskDetails object. +// Get read-only. Nullable. More details about the task. // returns a PlannerTaskDetailsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannertaskdetails-get?view=graph-rest-1.0 func (m *PlansItemTasksItemDetailsRequestBuilder) Get(ctx context.Context, requestConfiguration *PlansItemTasksItemDetailsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskDetailsable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,9 +93,6 @@ func (m *PlansItemTasksItemDetailsRequestBuilder) Get(ctx context.Context, reque // Patch update the navigation property details in planner // returns a PlannerTaskDetailsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannertaskdetails-update?view=graph-rest-1.0 func (m *PlansItemTasksItemDetailsRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskDetailsable, requestConfiguration *PlansItemTasksItemDetailsRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskDetailsable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *PlansItemTasksItemDetailsRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a plannerTaskDetails object. +// ToGetRequestInformation read-only. Nullable. More details about the task. // returns a *RequestInformation when successful func (m *PlansItemTasksItemDetailsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PlansItemTasksItemDetailsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/planner/plans_item_tasks_item_progress_task_board_format_request_builder.go b/planner/plans_item_tasks_item_progress_task_board_format_request_builder.go index 66b0406ad1a..3323c532aee 100644 --- a/planner/plans_item_tasks_item_progress_task_board_format_request_builder.go +++ b/planner/plans_item_tasks_item_progress_task_board_format_request_builder.go @@ -18,7 +18,7 @@ type PlansItemTasksItemProgressTaskBoardFormatRequestBuilderDeleteRequestConfigu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// PlansItemTasksItemProgressTaskBoardFormatRequestBuilderGetQueryParameters retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. +// PlansItemTasksItemProgressTaskBoardFormatRequestBuilderGetQueryParameters read-only. Nullable. Used to render the task correctly in the task board view when grouped by progress. type PlansItemTasksItemProgressTaskBoardFormatRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *PlansItemTasksItemProgressTaskBoardFormatRequestBuilder) Delete(ctx con } return nil } -// Get retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. +// Get read-only. Nullable. Used to render the task correctly in the task board view when grouped by progress. // returns a PlannerProgressTaskBoardTaskFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerprogresstaskboardtaskformat-get?view=graph-rest-1.0 func (m *PlansItemTasksItemProgressTaskBoardFormatRequestBuilder) Get(ctx context.Context, requestConfiguration *PlansItemTasksItemProgressTaskBoardFormatRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerProgressTaskBoardTaskFormatable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,9 +93,6 @@ func (m *PlansItemTasksItemProgressTaskBoardFormatRequestBuilder) Get(ctx contex // Patch update the navigation property progressTaskBoardFormat in planner // returns a PlannerProgressTaskBoardTaskFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerprogresstaskboardtaskformat-update?view=graph-rest-1.0 func (m *PlansItemTasksItemProgressTaskBoardFormatRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerProgressTaskBoardTaskFormatable, requestConfiguration *PlansItemTasksItemProgressTaskBoardFormatRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerProgressTaskBoardTaskFormatable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *PlansItemTasksItemProgressTaskBoardFormatRequestBuilder) ToDeleteReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. +// ToGetRequestInformation read-only. Nullable. Used to render the task correctly in the task board view when grouped by progress. // returns a *RequestInformation when successful func (m *PlansItemTasksItemProgressTaskBoardFormatRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PlansItemTasksItemProgressTaskBoardFormatRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/planner/plans_item_tasks_request_builder.go b/planner/plans_item_tasks_request_builder.go index 449cacc20b2..96cb15e4975 100644 --- a/planner/plans_item_tasks_request_builder.go +++ b/planner/plans_item_tasks_request_builder.go @@ -11,7 +11,7 @@ import ( type PlansItemTasksRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// PlansItemTasksRequestBuilderGetQueryParameters retrieve a list of plannerTask objects associated with a plannerPlan object. +// PlansItemTasksRequestBuilderGetQueryParameters collection of tasks in the plan. Read-only. Nullable. type PlansItemTasksRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *PlansItemTasksRequestBuilder) Count()(*PlansItemTasksCountRequestBuilde func (m *PlansItemTasksRequestBuilder) Delta()(*PlansItemTasksDeltaRequestBuilder) { return NewPlansItemTasksDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of plannerTask objects associated with a plannerPlan object. +// Get collection of tasks in the plan. Read-only. Nullable. // returns a PlannerTaskCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerplan-list-tasks?view=graph-rest-1.0 func (m *PlansItemTasksRequestBuilder) Get(ctx context.Context, requestConfiguration *PlansItemTasksRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *PlansItemTasksRequestBuilder) Post(ctx context.Context, body ie233ee762 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskable), nil } -// ToGetRequestInformation retrieve a list of plannerTask objects associated with a plannerPlan object. +// ToGetRequestInformation collection of tasks in the plan. Read-only. Nullable. // returns a *RequestInformation when successful func (m *PlansItemTasksRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PlansItemTasksRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/planner/plans_planner_plan_item_request_builder.go b/planner/plans_planner_plan_item_request_builder.go index 80ed84f175f..44603c9ee04 100644 --- a/planner/plans_planner_plan_item_request_builder.go +++ b/planner/plans_planner_plan_item_request_builder.go @@ -18,7 +18,7 @@ type PlansPlannerPlanItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// PlansPlannerPlanItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a plannerplan object. +// PlansPlannerPlanItemRequestBuilderGetQueryParameters read-only. Nullable. Returns a collection of the specified plans type PlansPlannerPlanItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -64,11 +64,8 @@ func NewPlansPlannerPlanItemRequestBuilder(rawUrl string, requestAdapter i2ae418 urlParams["request-raw-url"] = rawUrl return NewPlansPlannerPlanItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a plannerPlan object. +// Delete delete navigation property plans for planner // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerplan-delete?view=graph-rest-1.0 func (m *PlansPlannerPlanItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *PlansPlannerPlanItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -88,12 +85,9 @@ func (m *PlansPlannerPlanItemRequestBuilder) Delete(ctx context.Context, request func (m *PlansPlannerPlanItemRequestBuilder) Details()(*PlansItemDetailsRequestBuilder) { return NewPlansItemDetailsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties and relationships of a plannerplan object. +// Get read-only. Nullable. Returns a collection of the specified plans // returns a PlannerPlanable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerplan-get?view=graph-rest-1.0 func (m *PlansPlannerPlanItemRequestBuilder) Get(ctx context.Context, requestConfiguration *PlansPlannerPlanItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -116,12 +110,9 @@ func (m *PlansPlannerPlanItemRequestBuilder) Get(ctx context.Context, requestCon func (m *PlansPlannerPlanItemRequestBuilder) MoveToContainer()(*PlansItemMoveToContainerRequestBuilder) { return NewPlansItemMoveToContainerRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of a plannerPlan object. +// Patch update the navigation property plans in planner // returns a PlannerPlanable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerplan-update?view=graph-rest-1.0 func (m *PlansPlannerPlanItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanable, requestConfiguration *PlansPlannerPlanItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -144,7 +135,7 @@ func (m *PlansPlannerPlanItemRequestBuilder) Patch(ctx context.Context, body ie2 func (m *PlansPlannerPlanItemRequestBuilder) Tasks()(*PlansItemTasksRequestBuilder) { return NewPlansItemTasksRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a plannerPlan object. +// ToDeleteRequestInformation delete navigation property plans for planner // returns a *RequestInformation when successful func (m *PlansPlannerPlanItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *PlansPlannerPlanItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -155,7 +146,7 @@ func (m *PlansPlannerPlanItemRequestBuilder) ToDeleteRequestInformation(ctx cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a plannerplan object. +// ToGetRequestInformation read-only. Nullable. Returns a collection of the specified plans // returns a *RequestInformation when successful func (m *PlansPlannerPlanItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PlansPlannerPlanItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -169,7 +160,7 @@ func (m *PlansPlannerPlanItemRequestBuilder) ToGetRequestInformation(ctx context requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a plannerPlan object. +// ToPatchRequestInformation update the navigation property plans in planner // returns a *RequestInformation when successful func (m *PlansPlannerPlanItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanable, requestConfiguration *PlansPlannerPlanItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/planner/plans_request_builder.go b/planner/plans_request_builder.go index 725688570a6..66cb399d287 100644 --- a/planner/plans_request_builder.go +++ b/planner/plans_request_builder.go @@ -11,7 +11,7 @@ import ( type PlansRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// PlansRequestBuilderGetQueryParameters get a list of plannerPlan objects. +// PlansRequestBuilderGetQueryParameters read-only. Nullable. Returns a collection of the specified plans type PlansRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *PlansRequestBuilder) Count()(*PlansCountRequestBuilder) { func (m *PlansRequestBuilder) Delta()(*PlansDeltaRequestBuilder) { return NewPlansDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of plannerPlan objects. +// Get read-only. Nullable. Returns a collection of the specified plans // returns a PlannerPlanCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/planner-list-plans?view=graph-rest-1.0 func (m *PlansRequestBuilder) Get(ctx context.Context, requestConfiguration *PlansRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *PlansRequestBuilder) Get(ctx context.Context, requestConfiguration *Pla } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanCollectionResponseable), nil } -// Post create a new plannerPlan object. +// Post create new navigation property to plans for planner // returns a PlannerPlanable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/planner-post-plans?view=graph-rest-1.0 func (m *PlansRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanable, requestConfiguration *PlansRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *PlansRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba69 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanable), nil } -// ToGetRequestInformation get a list of plannerPlan objects. +// ToGetRequestInformation read-only. Nullable. Returns a collection of the specified plans // returns a *RequestInformation when successful func (m *PlansRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PlansRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *PlansRequestBuilder) ToGetRequestInformation(ctx context.Context, reque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new plannerPlan object. +// ToPostRequestInformation create new navigation property to plans for planner // returns a *RequestInformation when successful func (m *PlansRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanable, requestConfiguration *PlansRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/planner/rosters_item_members_planner_roster_member_item_request_builder.go b/planner/rosters_item_members_planner_roster_member_item_request_builder.go index 58698266d3c..bd38f8d3d10 100644 --- a/planner/rosters_item_members_planner_roster_member_item_request_builder.go +++ b/planner/rosters_item_members_planner_roster_member_item_request_builder.go @@ -18,7 +18,7 @@ type RostersItemMembersPlannerRosterMemberItemRequestBuilderDeleteRequestConfigu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// RostersItemMembersPlannerRosterMemberItemRequestBuilderGetQueryParameters read the properties and relationships of a plannerRosterMember object. +// RostersItemMembersPlannerRosterMemberItemRequestBuilderGetQueryParameters retrieves the members of the plannerRoster. type RostersItemMembersPlannerRosterMemberItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewRostersItemMembersPlannerRosterMemberItemRequestBuilder(rawUrl string, r urlParams["request-raw-url"] = rawUrl return NewRostersItemMembersPlannerRosterMemberItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a plannerRosterMember object. +// Delete delete navigation property members for planner // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerrostermember-delete?view=graph-rest-1.0 func (m *RostersItemMembersPlannerRosterMemberItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *RostersItemMembersPlannerRosterMemberItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *RostersItemMembersPlannerRosterMemberItemRequestBuilder) Delete(ctx con } return nil } -// Get read the properties and relationships of a plannerRosterMember object. +// Get retrieves the members of the plannerRoster. // returns a PlannerRosterMemberable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerrostermember-get?view=graph-rest-1.0 func (m *RostersItemMembersPlannerRosterMemberItemRequestBuilder) Get(ctx context.Context, requestConfiguration *RostersItemMembersPlannerRosterMemberItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerRosterMemberable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -116,7 +110,7 @@ func (m *RostersItemMembersPlannerRosterMemberItemRequestBuilder) Patch(ctx cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerRosterMemberable), nil } -// ToDeleteRequestInformation delete a plannerRosterMember object. +// ToDeleteRequestInformation delete navigation property members for planner // returns a *RequestInformation when successful func (m *RostersItemMembersPlannerRosterMemberItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *RostersItemMembersPlannerRosterMemberItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -127,7 +121,7 @@ func (m *RostersItemMembersPlannerRosterMemberItemRequestBuilder) ToDeleteReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a plannerRosterMember object. +// ToGetRequestInformation retrieves the members of the plannerRoster. // returns a *RequestInformation when successful func (m *RostersItemMembersPlannerRosterMemberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RostersItemMembersPlannerRosterMemberItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/planner/rosters_item_members_request_builder.go b/planner/rosters_item_members_request_builder.go index 40ef7548058..4d36a072a3b 100644 --- a/planner/rosters_item_members_request_builder.go +++ b/planner/rosters_item_members_request_builder.go @@ -11,7 +11,7 @@ import ( type RostersItemMembersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// RostersItemMembersRequestBuilderGetQueryParameters get the list of plannerRosterMembers from a plannerRoster. +// RostersItemMembersRequestBuilderGetQueryParameters retrieves the members of the plannerRoster. type RostersItemMembersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewRostersItemMembersRequestBuilder(rawUrl string, requestAdapter i2ae4187f func (m *RostersItemMembersRequestBuilder) Count()(*RostersItemMembersCountRequestBuilder) { return NewRostersItemMembersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of plannerRosterMembers from a plannerRoster. +// Get retrieves the members of the plannerRoster. // returns a PlannerRosterMemberCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerroster-list-members?view=graph-rest-1.0 func (m *RostersItemMembersRequestBuilder) Get(ctx context.Context, requestConfiguration *RostersItemMembersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerRosterMemberCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *RostersItemMembersRequestBuilder) Get(ctx context.Context, requestConfi } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerRosterMemberCollectionResponseable), nil } -// Post add a member to the plannerRoster object. +// Post create new navigation property to members for planner // returns a PlannerRosterMemberable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerroster-post-members?view=graph-rest-1.0 func (m *RostersItemMembersRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerRosterMemberable, requestConfiguration *RostersItemMembersRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerRosterMemberable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *RostersItemMembersRequestBuilder) Post(ctx context.Context, body ie233e } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerRosterMemberable), nil } -// ToGetRequestInformation get the list of plannerRosterMembers from a plannerRoster. +// ToGetRequestInformation retrieves the members of the plannerRoster. // returns a *RequestInformation when successful func (m *RostersItemMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RostersItemMembersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *RostersItemMembersRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add a member to the plannerRoster object. +// ToPostRequestInformation create new navigation property to members for planner // returns a *RequestInformation when successful func (m *RostersItemMembersRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerRosterMemberable, requestConfiguration *RostersItemMembersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/planner/rosters_item_plans_request_builder.go b/planner/rosters_item_plans_request_builder.go index 020944fea2a..4928a157207 100644 --- a/planner/rosters_item_plans_request_builder.go +++ b/planner/rosters_item_plans_request_builder.go @@ -11,7 +11,7 @@ import ( type RostersItemPlansRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// RostersItemPlansRequestBuilderGetQueryParameters get the plannerPlans contained by the plannerRoster. +// RostersItemPlansRequestBuilderGetQueryParameters retrieves the plans contained by the plannerRoster. type RostersItemPlansRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewRostersItemPlansRequestBuilder(rawUrl string, requestAdapter i2ae4187f7d func (m *RostersItemPlansRequestBuilder) Count()(*RostersItemPlansCountRequestBuilder) { return NewRostersItemPlansCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the plannerPlans contained by the plannerRoster. +// Get retrieves the plans contained by the plannerRoster. // returns a PlannerPlanCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerroster-list-plans?view=graph-rest-1.0 func (m *RostersItemPlansRequestBuilder) Get(ctx context.Context, requestConfiguration *RostersItemPlansRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *RostersItemPlansRequestBuilder) Get(ctx context.Context, requestConfigu } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanCollectionResponseable), nil } -// ToGetRequestInformation get the plannerPlans contained by the plannerRoster. +// ToGetRequestInformation retrieves the plans contained by the plannerRoster. // returns a *RequestInformation when successful func (m *RostersItemPlansRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RostersItemPlansRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/planner/rosters_planner_roster_item_request_builder.go b/planner/rosters_planner_roster_item_request_builder.go index 1add8ebc1e8..1f0bf2db35b 100644 --- a/planner/rosters_planner_roster_item_request_builder.go +++ b/planner/rosters_planner_roster_item_request_builder.go @@ -18,7 +18,7 @@ type RostersPlannerRosterItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// RostersPlannerRosterItemRequestBuilderGetQueryParameters read the properties and relationships of a plannerRoster object. +// RostersPlannerRosterItemRequestBuilderGetQueryParameters read-only. Nullable. Returns a collection of the specified rosters type RostersPlannerRosterItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewRostersPlannerRosterItemRequestBuilder(rawUrl string, requestAdapter i2a urlParams["request-raw-url"] = rawUrl return NewRostersPlannerRosterItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a plannerRoster object. +// Delete delete navigation property rosters for planner // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerroster-delete?view=graph-rest-1.0 func (m *RostersPlannerRosterItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *RostersPlannerRosterItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *RostersPlannerRosterItemRequestBuilder) Delete(ctx context.Context, req } return nil } -// Get read the properties and relationships of a plannerRoster object. +// Get read-only. Nullable. Returns a collection of the specified rosters // returns a PlannerRosterable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerroster-get?view=graph-rest-1.0 func (m *RostersPlannerRosterItemRequestBuilder) Get(ctx context.Context, requestConfiguration *RostersPlannerRosterItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerRosterable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -126,7 +120,7 @@ func (m *RostersPlannerRosterItemRequestBuilder) Patch(ctx context.Context, body func (m *RostersPlannerRosterItemRequestBuilder) Plans()(*RostersItemPlansRequestBuilder) { return NewRostersItemPlansRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a plannerRoster object. +// ToDeleteRequestInformation delete navigation property rosters for planner // returns a *RequestInformation when successful func (m *RostersPlannerRosterItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *RostersPlannerRosterItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -137,7 +131,7 @@ func (m *RostersPlannerRosterItemRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a plannerRoster object. +// ToGetRequestInformation read-only. Nullable. Returns a collection of the specified rosters // returns a *RequestInformation when successful func (m *RostersPlannerRosterItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RostersPlannerRosterItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/planner/rosters_request_builder.go b/planner/rosters_request_builder.go index 096290ba71f..cb40f0b8907 100644 --- a/planner/rosters_request_builder.go +++ b/planner/rosters_request_builder.go @@ -11,7 +11,7 @@ import ( type RostersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// RostersRequestBuilderGetQueryParameters read the properties and relationships of a plannerRoster object. +// RostersRequestBuilderGetQueryParameters read-only. Nullable. Returns a collection of the specified rosters type RostersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewRostersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371 func (m *RostersRequestBuilder) Count()(*RostersCountRequestBuilder) { return NewRostersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of a plannerRoster object. +// Get read-only. Nullable. Returns a collection of the specified rosters // returns a PlannerRosterCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *RostersRequestBuilder) Get(ctx context.Context, requestConfiguration *RostersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerRosterCollectionResponseable, error) { @@ -96,12 +96,9 @@ func (m *RostersRequestBuilder) Get(ctx context.Context, requestConfiguration *R } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerRosterCollectionResponseable), nil } -// Post create a new plannerRoster object. +// Post create new navigation property to rosters for planner // returns a PlannerRosterable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/planner-post-rosters?view=graph-rest-1.0 func (m *RostersRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerRosterable, requestConfiguration *RostersRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerRosterable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *RostersRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerRosterable), nil } -// ToGetRequestInformation read the properties and relationships of a plannerRoster object. +// ToGetRequestInformation read-only. Nullable. Returns a collection of the specified rosters // returns a *RequestInformation when successful func (m *RostersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RostersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +130,7 @@ func (m *RostersRequestBuilder) ToGetRequestInformation(ctx context.Context, req requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new plannerRoster object. +// ToPostRequestInformation create new navigation property to rosters for planner // returns a *RequestInformation when successful func (m *RostersRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerRosterable, requestConfiguration *RostersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/planner/tasks_delta_request_builder.go b/planner/tasks_delta_request_builder.go index 10636b1fb49..743d3d34e42 100644 --- a/planner/tasks_delta_request_builder.go +++ b/planner/tasks_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type TasksDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TasksDeltaRequestBuilderGetQueryParameters invoke function delta +// TasksDeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted tasks in either a Planner plan or assigned to the signed-in user without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. type TasksDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewTasksDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263 urlParams["request-raw-url"] = rawUrl return NewTasksDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get get newly created, updated, or deleted tasks in either a Planner plan or assigned to the signed-in user without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a TasksDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/plannertask-delta?view=graph-rest-beta func (m *TasksDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *TasksDeltaRequestBuilderGetRequestConfiguration)(TasksDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *TasksDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration } return res.(TasksDeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse get newly created, updated, or deleted tasks in either a Planner plan or assigned to the signed-in user without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. // returns a TasksDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/plannertask-delta?view=graph-rest-beta func (m *TasksDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *TasksDeltaRequestBuilderGetRequestConfiguration)(TasksDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *TasksDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, re } return res.(TasksDeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation get newly created, updated, or deleted tasks in either a Planner plan or assigned to the signed-in user without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. // returns a *RequestInformation when successful func (m *TasksDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TasksDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/planner/tasks_item_assigned_to_task_board_format_request_builder.go b/planner/tasks_item_assigned_to_task_board_format_request_builder.go index dc52ddd97ea..ef3d33cabbb 100644 --- a/planner/tasks_item_assigned_to_task_board_format_request_builder.go +++ b/planner/tasks_item_assigned_to_task_board_format_request_builder.go @@ -18,7 +18,7 @@ type TasksItemAssignedToTaskBoardFormatRequestBuilderDeleteRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TasksItemAssignedToTaskBoardFormatRequestBuilderGetQueryParameters retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. +// TasksItemAssignedToTaskBoardFormatRequestBuilderGetQueryParameters read-only. Nullable. Used to render the task correctly in the task board view when grouped by assignedTo. type TasksItemAssignedToTaskBoardFormatRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *TasksItemAssignedToTaskBoardFormatRequestBuilder) Delete(ctx context.Co } return nil } -// Get retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. +// Get read-only. Nullable. Used to render the task correctly in the task board view when grouped by assignedTo. // returns a PlannerAssignedToTaskBoardTaskFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerassignedtotaskboardtaskformat-get?view=graph-rest-1.0 func (m *TasksItemAssignedToTaskBoardFormatRequestBuilder) Get(ctx context.Context, requestConfiguration *TasksItemAssignedToTaskBoardFormatRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerAssignedToTaskBoardTaskFormatable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,9 +93,6 @@ func (m *TasksItemAssignedToTaskBoardFormatRequestBuilder) Get(ctx context.Conte // Patch update the navigation property assignedToTaskBoardFormat in planner // returns a PlannerAssignedToTaskBoardTaskFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerassignedtotaskboardtaskformat-update?view=graph-rest-1.0 func (m *TasksItemAssignedToTaskBoardFormatRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerAssignedToTaskBoardTaskFormatable, requestConfiguration *TasksItemAssignedToTaskBoardFormatRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerAssignedToTaskBoardTaskFormatable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *TasksItemAssignedToTaskBoardFormatRequestBuilder) ToDeleteRequestInform requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. +// ToGetRequestInformation read-only. Nullable. Used to render the task correctly in the task board view when grouped by assignedTo. // returns a *RequestInformation when successful func (m *TasksItemAssignedToTaskBoardFormatRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TasksItemAssignedToTaskBoardFormatRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/planner/tasks_item_bucket_task_board_format_request_builder.go b/planner/tasks_item_bucket_task_board_format_request_builder.go index 9cd76ddf1dd..fba1a4c3dea 100644 --- a/planner/tasks_item_bucket_task_board_format_request_builder.go +++ b/planner/tasks_item_bucket_task_board_format_request_builder.go @@ -18,7 +18,7 @@ type TasksItemBucketTaskBoardFormatRequestBuilderDeleteRequestConfiguration stru // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TasksItemBucketTaskBoardFormatRequestBuilderGetQueryParameters retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. +// TasksItemBucketTaskBoardFormatRequestBuilderGetQueryParameters read-only. Nullable. Used to render the task correctly in the task board view when grouped by bucket. type TasksItemBucketTaskBoardFormatRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *TasksItemBucketTaskBoardFormatRequestBuilder) Delete(ctx context.Contex } return nil } -// Get retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. +// Get read-only. Nullable. Used to render the task correctly in the task board view when grouped by bucket. // returns a PlannerBucketTaskBoardTaskFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerbuckettaskboardtaskformat-get?view=graph-rest-1.0 func (m *TasksItemBucketTaskBoardFormatRequestBuilder) Get(ctx context.Context, requestConfiguration *TasksItemBucketTaskBoardFormatRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerBucketTaskBoardTaskFormatable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,9 +93,6 @@ func (m *TasksItemBucketTaskBoardFormatRequestBuilder) Get(ctx context.Context, // Patch update the navigation property bucketTaskBoardFormat in planner // returns a PlannerBucketTaskBoardTaskFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerbuckettaskboardtaskformat-update?view=graph-rest-1.0 func (m *TasksItemBucketTaskBoardFormatRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerBucketTaskBoardTaskFormatable, requestConfiguration *TasksItemBucketTaskBoardFormatRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerBucketTaskBoardTaskFormatable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *TasksItemBucketTaskBoardFormatRequestBuilder) ToDeleteRequestInformatio requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. +// ToGetRequestInformation read-only. Nullable. Used to render the task correctly in the task board view when grouped by bucket. // returns a *RequestInformation when successful func (m *TasksItemBucketTaskBoardFormatRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TasksItemBucketTaskBoardFormatRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/planner/tasks_item_details_request_builder.go b/planner/tasks_item_details_request_builder.go index 4d8e777d17d..d204bbcfc6a 100644 --- a/planner/tasks_item_details_request_builder.go +++ b/planner/tasks_item_details_request_builder.go @@ -18,7 +18,7 @@ type TasksItemDetailsRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TasksItemDetailsRequestBuilderGetQueryParameters retrieve the properties and relationships of a plannerTaskDetails object. +// TasksItemDetailsRequestBuilderGetQueryParameters read-only. Nullable. More details about the task. type TasksItemDetailsRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *TasksItemDetailsRequestBuilder) Delete(ctx context.Context, requestConf } return nil } -// Get retrieve the properties and relationships of a plannerTaskDetails object. +// Get read-only. Nullable. More details about the task. // returns a PlannerTaskDetailsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannertaskdetails-get?view=graph-rest-1.0 func (m *TasksItemDetailsRequestBuilder) Get(ctx context.Context, requestConfiguration *TasksItemDetailsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskDetailsable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,9 +93,6 @@ func (m *TasksItemDetailsRequestBuilder) Get(ctx context.Context, requestConfigu // Patch update the navigation property details in planner // returns a PlannerTaskDetailsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannertaskdetails-update?view=graph-rest-1.0 func (m *TasksItemDetailsRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskDetailsable, requestConfiguration *TasksItemDetailsRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskDetailsable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *TasksItemDetailsRequestBuilder) ToDeleteRequestInformation(ctx context. requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a plannerTaskDetails object. +// ToGetRequestInformation read-only. Nullable. More details about the task. // returns a *RequestInformation when successful func (m *TasksItemDetailsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TasksItemDetailsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/planner/tasks_item_progress_task_board_format_request_builder.go b/planner/tasks_item_progress_task_board_format_request_builder.go index 1e2e250fa4e..35192ccf724 100644 --- a/planner/tasks_item_progress_task_board_format_request_builder.go +++ b/planner/tasks_item_progress_task_board_format_request_builder.go @@ -18,7 +18,7 @@ type TasksItemProgressTaskBoardFormatRequestBuilderDeleteRequestConfiguration st // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TasksItemProgressTaskBoardFormatRequestBuilderGetQueryParameters retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. +// TasksItemProgressTaskBoardFormatRequestBuilderGetQueryParameters read-only. Nullable. Used to render the task correctly in the task board view when grouped by progress. type TasksItemProgressTaskBoardFormatRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *TasksItemProgressTaskBoardFormatRequestBuilder) Delete(ctx context.Cont } return nil } -// Get retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. +// Get read-only. Nullable. Used to render the task correctly in the task board view when grouped by progress. // returns a PlannerProgressTaskBoardTaskFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerprogresstaskboardtaskformat-get?view=graph-rest-1.0 func (m *TasksItemProgressTaskBoardFormatRequestBuilder) Get(ctx context.Context, requestConfiguration *TasksItemProgressTaskBoardFormatRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerProgressTaskBoardTaskFormatable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,9 +93,6 @@ func (m *TasksItemProgressTaskBoardFormatRequestBuilder) Get(ctx context.Context // Patch update the navigation property progressTaskBoardFormat in planner // returns a PlannerProgressTaskBoardTaskFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerprogresstaskboardtaskformat-update?view=graph-rest-1.0 func (m *TasksItemProgressTaskBoardFormatRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerProgressTaskBoardTaskFormatable, requestConfiguration *TasksItemProgressTaskBoardFormatRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerProgressTaskBoardTaskFormatable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *TasksItemProgressTaskBoardFormatRequestBuilder) ToDeleteRequestInformat requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. +// ToGetRequestInformation read-only. Nullable. Used to render the task correctly in the task board view when grouped by progress. // returns a *RequestInformation when successful func (m *TasksItemProgressTaskBoardFormatRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TasksItemProgressTaskBoardFormatRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/planner/tasks_planner_task_item_request_builder.go b/planner/tasks_planner_task_item_request_builder.go index 25132f443f2..d3d94cdd1e7 100644 --- a/planner/tasks_planner_task_item_request_builder.go +++ b/planner/tasks_planner_task_item_request_builder.go @@ -18,7 +18,7 @@ type TasksPlannerTaskItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TasksPlannerTaskItemRequestBuilderGetQueryParameters retrieve the properties and relationships of plannerTask object. +// TasksPlannerTaskItemRequestBuilderGetQueryParameters read-only. Nullable. Returns a collection of the specified tasks type TasksPlannerTaskItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -64,11 +64,8 @@ func NewTasksPlannerTaskItemRequestBuilder(rawUrl string, requestAdapter i2ae418 urlParams["request-raw-url"] = rawUrl return NewTasksPlannerTaskItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a plannerTask object. +// Delete delete navigation property tasks for planner // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannertask-delete?view=graph-rest-1.0 func (m *TasksPlannerTaskItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *TasksPlannerTaskItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -88,12 +85,9 @@ func (m *TasksPlannerTaskItemRequestBuilder) Delete(ctx context.Context, request func (m *TasksPlannerTaskItemRequestBuilder) Details()(*TasksItemDetailsRequestBuilder) { return NewTasksItemDetailsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties and relationships of plannerTask object. +// Get read-only. Nullable. Returns a collection of the specified tasks // returns a PlannerTaskable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannertask-get?view=graph-rest-1.0 func (m *TasksPlannerTaskItemRequestBuilder) Get(ctx context.Context, requestConfiguration *TasksPlannerTaskItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -114,9 +108,6 @@ func (m *TasksPlannerTaskItemRequestBuilder) Get(ctx context.Context, requestCon // Patch update the navigation property tasks in planner // returns a PlannerTaskable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannertask-update?view=graph-rest-1.0 func (m *TasksPlannerTaskItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskable, requestConfiguration *TasksPlannerTaskItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -139,7 +130,7 @@ func (m *TasksPlannerTaskItemRequestBuilder) Patch(ctx context.Context, body ie2 func (m *TasksPlannerTaskItemRequestBuilder) ProgressTaskBoardFormat()(*TasksItemProgressTaskBoardFormatRequestBuilder) { return NewTasksItemProgressTaskBoardFormatRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a plannerTask object. +// ToDeleteRequestInformation delete navigation property tasks for planner // returns a *RequestInformation when successful func (m *TasksPlannerTaskItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *TasksPlannerTaskItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -150,7 +141,7 @@ func (m *TasksPlannerTaskItemRequestBuilder) ToDeleteRequestInformation(ctx cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of plannerTask object. +// ToGetRequestInformation read-only. Nullable. Returns a collection of the specified tasks // returns a *RequestInformation when successful func (m *TasksPlannerTaskItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TasksPlannerTaskItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/planner/tasks_request_builder.go b/planner/tasks_request_builder.go index 09c98bb4717..b7da087b1c7 100644 --- a/planner/tasks_request_builder.go +++ b/planner/tasks_request_builder.go @@ -11,7 +11,7 @@ import ( type TasksRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TasksRequestBuilderGetQueryParameters retrieve a list of plannertask objects. +// TasksRequestBuilderGetQueryParameters read-only. Nullable. Returns a collection of the specified tasks type TasksRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *TasksRequestBuilder) Count()(*TasksCountRequestBuilder) { func (m *TasksRequestBuilder) Delta()(*TasksDeltaRequestBuilder) { return NewTasksDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of plannertask objects. +// Get read-only. Nullable. Returns a collection of the specified tasks // returns a PlannerTaskCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/planner-list-tasks?view=graph-rest-1.0 func (m *TasksRequestBuilder) Get(ctx context.Context, requestConfiguration *TasksRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *TasksRequestBuilder) Get(ctx context.Context, requestConfiguration *Tas } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskCollectionResponseable), nil } -// Post create a new plannerTask. +// Post create new navigation property to tasks for planner // returns a PlannerTaskable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/planner-post-tasks?view=graph-rest-1.0 func (m *TasksRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskable, requestConfiguration *TasksRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *TasksRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba69 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskable), nil } -// ToGetRequestInformation retrieve a list of plannertask objects. +// ToGetRequestInformation read-only. Nullable. Returns a collection of the specified tasks // returns a *RequestInformation when successful func (m *TasksRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TasksRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *TasksRequestBuilder) ToGetRequestInformation(ctx context.Context, reque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new plannerTask. +// ToPostRequestInformation create new navigation property to tasks for planner // returns a *RequestInformation when successful func (m *TasksRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskable, requestConfiguration *TasksRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/access_review_policy_request_builder.go b/policies/access_review_policy_request_builder.go index ed23c6cca34..63ed2c35d08 100644 --- a/policies/access_review_policy_request_builder.go +++ b/policies/access_review_policy_request_builder.go @@ -18,7 +18,7 @@ type AccessReviewPolicyRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// AccessReviewPolicyRequestBuilderGetQueryParameters read the properties and relationships of an accessReviewPolicy object. +// AccessReviewPolicyRequestBuilderGetQueryParameters the policy that contains directory-level access review settings. type AccessReviewPolicyRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *AccessReviewPolicyRequestBuilder) Delete(ctx context.Context, requestCo } return nil } -// Get read the properties and relationships of an accessReviewPolicy object. +// Get the policy that contains directory-level access review settings. // returns a AccessReviewPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewpolicy-get?view=graph-rest-1.0 func (m *AccessReviewPolicyRequestBuilder) Get(ctx context.Context, requestConfiguration *AccessReviewPolicyRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewPolicyable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *AccessReviewPolicyRequestBuilder) Get(ctx context.Context, requestConfi } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewPolicyable), nil } -// Patch update the properties of an accessReviewPolicy object. +// Patch update the navigation property accessReviewPolicy in policies // returns a AccessReviewPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewpolicy-update?view=graph-rest-1.0 func (m *AccessReviewPolicyRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewPolicyable, requestConfiguration *AccessReviewPolicyRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewPolicyable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *AccessReviewPolicyRequestBuilder) ToDeleteRequestInformation(ctx contex requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an accessReviewPolicy object. +// ToGetRequestInformation the policy that contains directory-level access review settings. // returns a *RequestInformation when successful func (m *AccessReviewPolicyRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AccessReviewPolicyRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *AccessReviewPolicyRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an accessReviewPolicy object. +// ToPatchRequestInformation update the navigation property accessReviewPolicy in policies // returns a *RequestInformation when successful func (m *AccessReviewPolicyRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewPolicyable, requestConfiguration *AccessReviewPolicyRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/activity_based_timeout_policies_activity_based_timeout_policy_item_request_builder.go b/policies/activity_based_timeout_policies_activity_based_timeout_policy_item_request_builder.go index e8f502d75a9..dff7805a2af 100644 --- a/policies/activity_based_timeout_policies_activity_based_timeout_policy_item_request_builder.go +++ b/policies/activity_based_timeout_policies_activity_based_timeout_policy_item_request_builder.go @@ -18,7 +18,7 @@ type ActivityBasedTimeoutPoliciesActivityBasedTimeoutPolicyItemRequestBuilderDel // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ActivityBasedTimeoutPoliciesActivityBasedTimeoutPolicyItemRequestBuilderGetQueryParameters get the properties of an activityBasedTimeoutPolicy object. +// ActivityBasedTimeoutPoliciesActivityBasedTimeoutPolicyItemRequestBuilderGetQueryParameters the policy that controls the idle time-out for web sessions for applications. type ActivityBasedTimeoutPoliciesActivityBasedTimeoutPolicyItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewActivityBasedTimeoutPoliciesActivityBasedTimeoutPolicyItemRequestBuilder urlParams["request-raw-url"] = rawUrl return NewActivityBasedTimeoutPoliciesActivityBasedTimeoutPolicyItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an activityBasedTimeoutPolicy object. +// Delete delete navigation property activityBasedTimeoutPolicies for policies // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/activitybasedtimeoutpolicy-delete?view=graph-rest-1.0 func (m *ActivityBasedTimeoutPoliciesActivityBasedTimeoutPolicyItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ActivityBasedTimeoutPoliciesActivityBasedTimeoutPolicyItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *ActivityBasedTimeoutPoliciesActivityBasedTimeoutPolicyItemRequestBuilde } return nil } -// Get get the properties of an activityBasedTimeoutPolicy object. +// Get the policy that controls the idle time-out for web sessions for applications. // returns a ActivityBasedTimeoutPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/activitybasedtimeoutpolicy-get?view=graph-rest-1.0 func (m *ActivityBasedTimeoutPoliciesActivityBasedTimeoutPolicyItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ActivityBasedTimeoutPoliciesActivityBasedTimeoutPolicyItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActivityBasedTimeoutPolicyable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,12 +95,9 @@ func (m *ActivityBasedTimeoutPoliciesActivityBasedTimeoutPolicyItemRequestBuilde } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActivityBasedTimeoutPolicyable), nil } -// Patch update the properties of an activityBasedTimeoutPolicy object. +// Patch update the navigation property activityBasedTimeoutPolicies in policies // returns a ActivityBasedTimeoutPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/activitybasedtimeoutpolicy-update?view=graph-rest-1.0 func (m *ActivityBasedTimeoutPoliciesActivityBasedTimeoutPolicyItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActivityBasedTimeoutPolicyable, requestConfiguration *ActivityBasedTimeoutPoliciesActivityBasedTimeoutPolicyItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActivityBasedTimeoutPolicyable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -124,7 +115,7 @@ func (m *ActivityBasedTimeoutPoliciesActivityBasedTimeoutPolicyItemRequestBuilde } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActivityBasedTimeoutPolicyable), nil } -// ToDeleteRequestInformation delete an activityBasedTimeoutPolicy object. +// ToDeleteRequestInformation delete navigation property activityBasedTimeoutPolicies for policies // returns a *RequestInformation when successful func (m *ActivityBasedTimeoutPoliciesActivityBasedTimeoutPolicyItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ActivityBasedTimeoutPoliciesActivityBasedTimeoutPolicyItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -135,7 +126,7 @@ func (m *ActivityBasedTimeoutPoliciesActivityBasedTimeoutPolicyItemRequestBuilde requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties of an activityBasedTimeoutPolicy object. +// ToGetRequestInformation the policy that controls the idle time-out for web sessions for applications. // returns a *RequestInformation when successful func (m *ActivityBasedTimeoutPoliciesActivityBasedTimeoutPolicyItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ActivityBasedTimeoutPoliciesActivityBasedTimeoutPolicyItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -149,7 +140,7 @@ func (m *ActivityBasedTimeoutPoliciesActivityBasedTimeoutPolicyItemRequestBuilde requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an activityBasedTimeoutPolicy object. +// ToPatchRequestInformation update the navigation property activityBasedTimeoutPolicies in policies // returns a *RequestInformation when successful func (m *ActivityBasedTimeoutPoliciesActivityBasedTimeoutPolicyItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActivityBasedTimeoutPolicyable, requestConfiguration *ActivityBasedTimeoutPoliciesActivityBasedTimeoutPolicyItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/activity_based_timeout_policies_request_builder.go b/policies/activity_based_timeout_policies_request_builder.go index ee819342f28..20410563095 100644 --- a/policies/activity_based_timeout_policies_request_builder.go +++ b/policies/activity_based_timeout_policies_request_builder.go @@ -11,7 +11,7 @@ import ( type ActivityBasedTimeoutPoliciesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ActivityBasedTimeoutPoliciesRequestBuilderGetQueryParameters get a list of activityBasedTimeoutPolicy objects. +// ActivityBasedTimeoutPoliciesRequestBuilderGetQueryParameters the policy that controls the idle time-out for web sessions for applications. type ActivityBasedTimeoutPoliciesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewActivityBasedTimeoutPoliciesRequestBuilder(rawUrl string, requestAdapter func (m *ActivityBasedTimeoutPoliciesRequestBuilder) Count()(*ActivityBasedTimeoutPoliciesCountRequestBuilder) { return NewActivityBasedTimeoutPoliciesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of activityBasedTimeoutPolicy objects. +// Get the policy that controls the idle time-out for web sessions for applications. // returns a ActivityBasedTimeoutPolicyCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/activitybasedtimeoutpolicy-list?view=graph-rest-1.0 func (m *ActivityBasedTimeoutPoliciesRequestBuilder) Get(ctx context.Context, requestConfiguration *ActivityBasedTimeoutPoliciesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActivityBasedTimeoutPolicyCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ActivityBasedTimeoutPoliciesRequestBuilder) Get(ctx context.Context, re } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActivityBasedTimeoutPolicyCollectionResponseable), nil } -// Post create a new activityBasedTimeoutPolicy object. +// Post create new navigation property to activityBasedTimeoutPolicies for policies // returns a ActivityBasedTimeoutPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/activitybasedtimeoutpolicy-post-activitybasedtimeoutpolicies?view=graph-rest-1.0 func (m *ActivityBasedTimeoutPoliciesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActivityBasedTimeoutPolicyable, requestConfiguration *ActivityBasedTimeoutPoliciesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActivityBasedTimeoutPolicyable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ActivityBasedTimeoutPoliciesRequestBuilder) Post(ctx context.Context, b } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActivityBasedTimeoutPolicyable), nil } -// ToGetRequestInformation get a list of activityBasedTimeoutPolicy objects. +// ToGetRequestInformation the policy that controls the idle time-out for web sessions for applications. // returns a *RequestInformation when successful func (m *ActivityBasedTimeoutPoliciesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ActivityBasedTimeoutPoliciesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ActivityBasedTimeoutPoliciesRequestBuilder) ToGetRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new activityBasedTimeoutPolicy object. +// ToPostRequestInformation create new navigation property to activityBasedTimeoutPolicies for policies // returns a *RequestInformation when successful func (m *ActivityBasedTimeoutPoliciesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActivityBasedTimeoutPolicyable, requestConfiguration *ActivityBasedTimeoutPoliciesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/admin_consent_request_policy_request_builder.go b/policies/admin_consent_request_policy_request_builder.go index 9940d117b18..6ef782a0ff4 100644 --- a/policies/admin_consent_request_policy_request_builder.go +++ b/policies/admin_consent_request_policy_request_builder.go @@ -18,7 +18,7 @@ type AdminConsentRequestPolicyRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// AdminConsentRequestPolicyRequestBuilderGetQueryParameters read the properties and relationships of an adminConsentRequestPolicy object. +// AdminConsentRequestPolicyRequestBuilderGetQueryParameters the policy by which consent requests are created and managed for the entire tenant. type AdminConsentRequestPolicyRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *AdminConsentRequestPolicyRequestBuilder) Delete(ctx context.Context, re } return nil } -// Get read the properties and relationships of an adminConsentRequestPolicy object. +// Get the policy by which consent requests are created and managed for the entire tenant. // returns a AdminConsentRequestPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/adminconsentrequestpolicy-get?view=graph-rest-1.0 func (m *AdminConsentRequestPolicyRequestBuilder) Get(ctx context.Context, requestConfiguration *AdminConsentRequestPolicyRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdminConsentRequestPolicyable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *AdminConsentRequestPolicyRequestBuilder) Get(ctx context.Context, reque } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdminConsentRequestPolicyable), nil } -// Patch update the properties of an adminConsentRequestPolicy object. +// Patch update the navigation property adminConsentRequestPolicy in policies // returns a AdminConsentRequestPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/adminconsentrequestpolicy-update?view=graph-rest-1.0 func (m *AdminConsentRequestPolicyRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdminConsentRequestPolicyable, requestConfiguration *AdminConsentRequestPolicyRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdminConsentRequestPolicyable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *AdminConsentRequestPolicyRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an adminConsentRequestPolicy object. +// ToGetRequestInformation the policy by which consent requests are created and managed for the entire tenant. // returns a *RequestInformation when successful func (m *AdminConsentRequestPolicyRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AdminConsentRequestPolicyRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *AdminConsentRequestPolicyRequestBuilder) ToGetRequestInformation(ctx co requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an adminConsentRequestPolicy object. +// ToPatchRequestInformation update the navigation property adminConsentRequestPolicy in policies // returns a *RequestInformation when successful func (m *AdminConsentRequestPolicyRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdminConsentRequestPolicyable, requestConfiguration *AdminConsentRequestPolicyRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/app_management_policies_app_management_policy_item_request_builder.go b/policies/app_management_policies_app_management_policy_item_request_builder.go index 62661c20b7e..52d754438de 100644 --- a/policies/app_management_policies_app_management_policy_item_request_builder.go +++ b/policies/app_management_policies_app_management_policy_item_request_builder.go @@ -18,7 +18,7 @@ type AppManagementPoliciesAppManagementPolicyItemRequestBuilderDeleteRequestConf // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// AppManagementPoliciesAppManagementPolicyItemRequestBuilderGetQueryParameters read the properties of an appManagementPolicy object. +// AppManagementPoliciesAppManagementPolicyItemRequestBuilderGetQueryParameters the policies that enforce app management restrictions for specific applications and service principals, overriding the defaultAppManagementPolicy. type AppManagementPoliciesAppManagementPolicyItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewAppManagementPoliciesAppManagementPolicyItemRequestBuilder(rawUrl string urlParams["request-raw-url"] = rawUrl return NewAppManagementPoliciesAppManagementPolicyItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an appManagementPolicy object. +// Delete delete navigation property appManagementPolicies for policies // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/appmanagementpolicy-delete?view=graph-rest-1.0 func (m *AppManagementPoliciesAppManagementPolicyItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *AppManagementPoliciesAppManagementPolicyItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *AppManagementPoliciesAppManagementPolicyItemRequestBuilder) Delete(ctx } return nil } -// Get read the properties of an appManagementPolicy object. +// Get the policies that enforce app management restrictions for specific applications and service principals, overriding the defaultAppManagementPolicy. // returns a AppManagementPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/appmanagementpolicy-get?view=graph-rest-1.0 func (m *AppManagementPoliciesAppManagementPolicyItemRequestBuilder) Get(ctx context.Context, requestConfiguration *AppManagementPoliciesAppManagementPolicyItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AppManagementPolicyable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,12 +95,9 @@ func (m *AppManagementPoliciesAppManagementPolicyItemRequestBuilder) Get(ctx con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AppManagementPolicyable), nil } -// Patch update an appManagementPolicy object. +// Patch update the navigation property appManagementPolicies in policies // returns a AppManagementPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/appmanagementpolicy-update?view=graph-rest-1.0 func (m *AppManagementPoliciesAppManagementPolicyItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AppManagementPolicyable, requestConfiguration *AppManagementPoliciesAppManagementPolicyItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AppManagementPolicyable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -124,7 +115,7 @@ func (m *AppManagementPoliciesAppManagementPolicyItemRequestBuilder) Patch(ctx c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AppManagementPolicyable), nil } -// ToDeleteRequestInformation delete an appManagementPolicy object. +// ToDeleteRequestInformation delete navigation property appManagementPolicies for policies // returns a *RequestInformation when successful func (m *AppManagementPoliciesAppManagementPolicyItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *AppManagementPoliciesAppManagementPolicyItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -135,7 +126,7 @@ func (m *AppManagementPoliciesAppManagementPolicyItemRequestBuilder) ToDeleteReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties of an appManagementPolicy object. +// ToGetRequestInformation the policies that enforce app management restrictions for specific applications and service principals, overriding the defaultAppManagementPolicy. // returns a *RequestInformation when successful func (m *AppManagementPoliciesAppManagementPolicyItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AppManagementPoliciesAppManagementPolicyItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -149,7 +140,7 @@ func (m *AppManagementPoliciesAppManagementPolicyItemRequestBuilder) ToGetReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update an appManagementPolicy object. +// ToPatchRequestInformation update the navigation property appManagementPolicies in policies // returns a *RequestInformation when successful func (m *AppManagementPoliciesAppManagementPolicyItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AppManagementPolicyable, requestConfiguration *AppManagementPoliciesAppManagementPolicyItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/app_management_policies_item_applies_to_request_builder.go b/policies/app_management_policies_item_applies_to_request_builder.go index 674dd9ae5b3..ada6aa7433f 100644 --- a/policies/app_management_policies_item_applies_to_request_builder.go +++ b/policies/app_management_policies_item_applies_to_request_builder.go @@ -11,7 +11,7 @@ import ( type AppManagementPoliciesItemAppliesToRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AppManagementPoliciesItemAppliesToRequestBuilderGetQueryParameters list application and service principal objects assigned an appManagementPolicy policy object. +// AppManagementPoliciesItemAppliesToRequestBuilderGetQueryParameters collection of application and service principals to which a policy is applied. type AppManagementPoliciesItemAppliesToRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewAppManagementPoliciesItemAppliesToRequestBuilder(rawUrl string, requestA func (m *AppManagementPoliciesItemAppliesToRequestBuilder) Count()(*AppManagementPoliciesItemAppliesToCountRequestBuilder) { return NewAppManagementPoliciesItemAppliesToCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list application and service principal objects assigned an appManagementPolicy policy object. +// Get collection of application and service principals to which a policy is applied. // returns a DirectoryObjectCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/appmanagementpolicy-list-appliesto?view=graph-rest-1.0 func (m *AppManagementPoliciesItemAppliesToRequestBuilder) Get(ctx context.Context, requestConfiguration *AppManagementPoliciesItemAppliesToRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *AppManagementPoliciesItemAppliesToRequestBuilder) Get(ctx context.Conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectCollectionResponseable), nil } -// ToGetRequestInformation list application and service principal objects assigned an appManagementPolicy policy object. +// ToGetRequestInformation collection of application and service principals to which a policy is applied. // returns a *RequestInformation when successful func (m *AppManagementPoliciesItemAppliesToRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AppManagementPoliciesItemAppliesToRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/app_management_policies_request_builder.go b/policies/app_management_policies_request_builder.go index 0d7e888973a..d7327173825 100644 --- a/policies/app_management_policies_request_builder.go +++ b/policies/app_management_policies_request_builder.go @@ -11,7 +11,7 @@ import ( type AppManagementPoliciesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AppManagementPoliciesRequestBuilderGetQueryParameters retrieve a list of appManagementPolicy objects. +// AppManagementPoliciesRequestBuilderGetQueryParameters the policies that enforce app management restrictions for specific applications and service principals, overriding the defaultAppManagementPolicy. type AppManagementPoliciesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewAppManagementPoliciesRequestBuilder(rawUrl string, requestAdapter i2ae41 func (m *AppManagementPoliciesRequestBuilder) Count()(*AppManagementPoliciesCountRequestBuilder) { return NewAppManagementPoliciesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of appManagementPolicy objects. +// Get the policies that enforce app management restrictions for specific applications and service principals, overriding the defaultAppManagementPolicy. // returns a AppManagementPolicyCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/appmanagementpolicy-list?view=graph-rest-1.0 func (m *AppManagementPoliciesRequestBuilder) Get(ctx context.Context, requestConfiguration *AppManagementPoliciesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AppManagementPolicyCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *AppManagementPoliciesRequestBuilder) Get(ctx context.Context, requestCo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AppManagementPolicyCollectionResponseable), nil } -// Post create an appManagementPolicy object. +// Post create new navigation property to appManagementPolicies for policies // returns a AppManagementPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/appmanagementpolicy-post?view=graph-rest-1.0 func (m *AppManagementPoliciesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AppManagementPolicyable, requestConfiguration *AppManagementPoliciesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AppManagementPolicyable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *AppManagementPoliciesRequestBuilder) Post(ctx context.Context, body ie2 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AppManagementPolicyable), nil } -// ToGetRequestInformation retrieve a list of appManagementPolicy objects. +// ToGetRequestInformation the policies that enforce app management restrictions for specific applications and service principals, overriding the defaultAppManagementPolicy. // returns a *RequestInformation when successful func (m *AppManagementPoliciesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AppManagementPoliciesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *AppManagementPoliciesRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an appManagementPolicy object. +// ToPostRequestInformation create new navigation property to appManagementPolicies for policies // returns a *RequestInformation when successful func (m *AppManagementPoliciesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AppManagementPolicyable, requestConfiguration *AppManagementPoliciesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/authentication_flows_policy_request_builder.go b/policies/authentication_flows_policy_request_builder.go index b2b72a1a5f7..c9846971b5e 100644 --- a/policies/authentication_flows_policy_request_builder.go +++ b/policies/authentication_flows_policy_request_builder.go @@ -18,7 +18,7 @@ type AuthenticationFlowsPolicyRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// AuthenticationFlowsPolicyRequestBuilderGetQueryParameters read the properties and relationships of an authenticationFlowsPolicy object. +// AuthenticationFlowsPolicyRequestBuilderGetQueryParameters the policy configuration of the self-service sign-up experience of guests. type AuthenticationFlowsPolicyRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *AuthenticationFlowsPolicyRequestBuilder) Delete(ctx context.Context, re } return nil } -// Get read the properties and relationships of an authenticationFlowsPolicy object. +// Get the policy configuration of the self-service sign-up experience of guests. // returns a AuthenticationFlowsPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationflowspolicy-get?view=graph-rest-1.0 func (m *AuthenticationFlowsPolicyRequestBuilder) Get(ctx context.Context, requestConfiguration *AuthenticationFlowsPolicyRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationFlowsPolicyable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *AuthenticationFlowsPolicyRequestBuilder) Get(ctx context.Context, reque } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationFlowsPolicyable), nil } -// Patch update the Boolean selfServiceSignUp property of an authenticationFlowsPolicy object. The properties id, type, and description cannot be modified. +// Patch update the navigation property authenticationFlowsPolicy in policies // returns a AuthenticationFlowsPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationflowspolicy-update?view=graph-rest-1.0 func (m *AuthenticationFlowsPolicyRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationFlowsPolicyable, requestConfiguration *AuthenticationFlowsPolicyRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationFlowsPolicyable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *AuthenticationFlowsPolicyRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an authenticationFlowsPolicy object. +// ToGetRequestInformation the policy configuration of the self-service sign-up experience of guests. // returns a *RequestInformation when successful func (m *AuthenticationFlowsPolicyRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AuthenticationFlowsPolicyRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *AuthenticationFlowsPolicyRequestBuilder) ToGetRequestInformation(ctx co requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the Boolean selfServiceSignUp property of an authenticationFlowsPolicy object. The properties id, type, and description cannot be modified. +// ToPatchRequestInformation update the navigation property authenticationFlowsPolicy in policies // returns a *RequestInformation when successful func (m *AuthenticationFlowsPolicyRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationFlowsPolicyable, requestConfiguration *AuthenticationFlowsPolicyRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/authentication_methods_policy_request_builder.go b/policies/authentication_methods_policy_request_builder.go index 1237271b275..b6115d9a86c 100644 --- a/policies/authentication_methods_policy_request_builder.go +++ b/policies/authentication_methods_policy_request_builder.go @@ -18,7 +18,7 @@ type AuthenticationMethodsPolicyRequestBuilderDeleteRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// AuthenticationMethodsPolicyRequestBuilderGetQueryParameters read the properties and relationships of an authenticationMethodsPolicy object. +// AuthenticationMethodsPolicyRequestBuilderGetQueryParameters the authentication methods and the users that are allowed to use them to sign in and perform multifactor authentication (MFA) in Microsoft Entra ID. type AuthenticationMethodsPolicyRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *AuthenticationMethodsPolicyRequestBuilder) Delete(ctx context.Context, } return nil } -// Get read the properties and relationships of an authenticationMethodsPolicy object. +// Get the authentication methods and the users that are allowed to use them to sign in and perform multifactor authentication (MFA) in Microsoft Entra ID. // returns a AuthenticationMethodsPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationmethodspolicy-get?view=graph-rest-1.0 func (m *AuthenticationMethodsPolicyRequestBuilder) Get(ctx context.Context, requestConfiguration *AuthenticationMethodsPolicyRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationMethodsPolicyable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,12 +95,9 @@ func (m *AuthenticationMethodsPolicyRequestBuilder) Get(ctx context.Context, req } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationMethodsPolicyable), nil } -// Patch update the properties of an authenticationMethodsPolicy object. +// Patch update the navigation property authenticationMethodsPolicy in policies // returns a AuthenticationMethodsPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationmethodspolicy-update?view=graph-rest-1.0 func (m *AuthenticationMethodsPolicyRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationMethodsPolicyable, requestConfiguration *AuthenticationMethodsPolicyRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationMethodsPolicyable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -132,7 +126,7 @@ func (m *AuthenticationMethodsPolicyRequestBuilder) ToDeleteRequestInformation(c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an authenticationMethodsPolicy object. +// ToGetRequestInformation the authentication methods and the users that are allowed to use them to sign in and perform multifactor authentication (MFA) in Microsoft Entra ID. // returns a *RequestInformation when successful func (m *AuthenticationMethodsPolicyRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AuthenticationMethodsPolicyRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -146,7 +140,7 @@ func (m *AuthenticationMethodsPolicyRequestBuilder) ToGetRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an authenticationMethodsPolicy object. +// ToPatchRequestInformation update the navigation property authenticationMethodsPolicy in policies // returns a *RequestInformation when successful func (m *AuthenticationMethodsPolicyRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationMethodsPolicyable, requestConfiguration *AuthenticationMethodsPolicyRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/authentication_strength_policies_authentication_strength_policy_item_request_builder.go b/policies/authentication_strength_policies_authentication_strength_policy_item_request_builder.go index b9a89e00a2a..704c38add62 100644 --- a/policies/authentication_strength_policies_authentication_strength_policy_item_request_builder.go +++ b/policies/authentication_strength_policies_authentication_strength_policy_item_request_builder.go @@ -18,7 +18,7 @@ type AuthenticationStrengthPoliciesAuthenticationStrengthPolicyItemRequestBuilde // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// AuthenticationStrengthPoliciesAuthenticationStrengthPolicyItemRequestBuilderGetQueryParameters read the properties and relationships of an authenticationStrengthPolicy object. +// AuthenticationStrengthPoliciesAuthenticationStrengthPolicyItemRequestBuilderGetQueryParameters the authentication method combinations that are to be used in scenarios defined by Microsoft Entra Conditional Access. type AuthenticationStrengthPoliciesAuthenticationStrengthPolicyItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewAuthenticationStrengthPoliciesAuthenticationStrengthPolicyItemRequestBui urlParams["request-raw-url"] = rawUrl return NewAuthenticationStrengthPoliciesAuthenticationStrengthPolicyItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a custom authenticationStrengthPolicy object. +// Delete delete navigation property authenticationStrengthPolicies for policies // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationstrengthroot-delete-policies?view=graph-rest-1.0 func (m *AuthenticationStrengthPoliciesAuthenticationStrengthPolicyItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *AuthenticationStrengthPoliciesAuthenticationStrengthPolicyItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *AuthenticationStrengthPoliciesAuthenticationStrengthPolicyItemRequestBu } return nil } -// Get read the properties and relationships of an authenticationStrengthPolicy object. +// Get the authentication method combinations that are to be used in scenarios defined by Microsoft Entra Conditional Access. // returns a AuthenticationStrengthPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationstrengthpolicy-get?view=graph-rest-1.0 func (m *AuthenticationStrengthPoliciesAuthenticationStrengthPolicyItemRequestBuilder) Get(ctx context.Context, requestConfiguration *AuthenticationStrengthPoliciesAuthenticationStrengthPolicyItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationStrengthPolicyable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,12 +95,9 @@ func (m *AuthenticationStrengthPoliciesAuthenticationStrengthPolicyItemRequestBu } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationStrengthPolicyable), nil } -// Patch update the properties of an authenticationStrengthPolicy object. You cannot update the allowed auth method combinations using this request. To do so, use the Update allowed combinations action. +// Patch update the navigation property authenticationStrengthPolicies in policies // returns a AuthenticationStrengthPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationstrengthpolicy-update?view=graph-rest-1.0 func (m *AuthenticationStrengthPoliciesAuthenticationStrengthPolicyItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationStrengthPolicyable, requestConfiguration *AuthenticationStrengthPoliciesAuthenticationStrengthPolicyItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationStrengthPolicyable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -124,7 +115,7 @@ func (m *AuthenticationStrengthPoliciesAuthenticationStrengthPolicyItemRequestBu } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationStrengthPolicyable), nil } -// ToDeleteRequestInformation delete a custom authenticationStrengthPolicy object. +// ToDeleteRequestInformation delete navigation property authenticationStrengthPolicies for policies // returns a *RequestInformation when successful func (m *AuthenticationStrengthPoliciesAuthenticationStrengthPolicyItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *AuthenticationStrengthPoliciesAuthenticationStrengthPolicyItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -135,7 +126,7 @@ func (m *AuthenticationStrengthPoliciesAuthenticationStrengthPolicyItemRequestBu requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an authenticationStrengthPolicy object. +// ToGetRequestInformation the authentication method combinations that are to be used in scenarios defined by Microsoft Entra Conditional Access. // returns a *RequestInformation when successful func (m *AuthenticationStrengthPoliciesAuthenticationStrengthPolicyItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AuthenticationStrengthPoliciesAuthenticationStrengthPolicyItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -149,7 +140,7 @@ func (m *AuthenticationStrengthPoliciesAuthenticationStrengthPolicyItemRequestBu requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an authenticationStrengthPolicy object. You cannot update the allowed auth method combinations using this request. To do so, use the Update allowed combinations action. +// ToPatchRequestInformation update the navigation property authenticationStrengthPolicies in policies // returns a *RequestInformation when successful func (m *AuthenticationStrengthPoliciesAuthenticationStrengthPolicyItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationStrengthPolicyable, requestConfiguration *AuthenticationStrengthPoliciesAuthenticationStrengthPolicyItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/authentication_strength_policies_find_by_method_mode_with_authentication_method_modes_request_builder.go b/policies/authentication_strength_policies_find_by_method_mode_with_authentication_method_modes_request_builder.go index 46f977fb3aa..e88252fff4a 100644 --- a/policies/authentication_strength_policies_find_by_method_mode_with_authentication_method_modes_request_builder.go +++ b/policies/authentication_strength_policies_find_by_method_mode_with_authentication_method_modes_request_builder.go @@ -10,7 +10,7 @@ import ( type AuthenticationStrengthPoliciesFindByMethodModeWithAuthenticationMethodModesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AuthenticationStrengthPoliciesFindByMethodModeWithAuthenticationMethodModesRequestBuilderGetQueryParameters invoke function findByMethodMode +// AuthenticationStrengthPoliciesFindByMethodModeWithAuthenticationMethodModesRequestBuilderGetQueryParameters get a list of the authenticationStrengthPolicy objects and their properties filtered to only include policies that include the authentication method mode specified in the request. type AuthenticationStrengthPoliciesFindByMethodModeWithAuthenticationMethodModesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewAuthenticationStrengthPoliciesFindByMethodModeWithAuthenticationMethodMo urlParams["request-raw-url"] = rawUrl return NewAuthenticationStrengthPoliciesFindByMethodModeWithAuthenticationMethodModesRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function findByMethodMode +// Get get a list of the authenticationStrengthPolicy objects and their properties filtered to only include policies that include the authentication method mode specified in the request. // Deprecated: This method is obsolete. Use GetAsFindByMethodModeWithAuthenticationMethodModesGetResponse instead. // returns a AuthenticationStrengthPoliciesFindByMethodModeWithAuthenticationMethodModesResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationstrengthpolicy-findbymethodmode?view=graph-rest-beta func (m *AuthenticationStrengthPoliciesFindByMethodModeWithAuthenticationMethodModesRequestBuilder) Get(ctx context.Context, requestConfiguration *AuthenticationStrengthPoliciesFindByMethodModeWithAuthenticationMethodModesRequestBuilderGetRequestConfiguration)(AuthenticationStrengthPoliciesFindByMethodModeWithAuthenticationMethodModesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,10 +78,13 @@ func (m *AuthenticationStrengthPoliciesFindByMethodModeWithAuthenticationMethodM } return res.(AuthenticationStrengthPoliciesFindByMethodModeWithAuthenticationMethodModesResponseable), nil } -// GetAsFindByMethodModeWithAuthenticationMethodModesGetResponse invoke function findByMethodMode +// GetAsFindByMethodModeWithAuthenticationMethodModesGetResponse get a list of the authenticationStrengthPolicy objects and their properties filtered to only include policies that include the authentication method mode specified in the request. // Deprecated: The findByMethodMode function is deprecated. Please use OData filter query instead. as of 2023-02/FindByMethodModeRemove // returns a AuthenticationStrengthPoliciesFindByMethodModeWithAuthenticationMethodModesGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationstrengthpolicy-findbymethodmode?view=graph-rest-beta func (m *AuthenticationStrengthPoliciesFindByMethodModeWithAuthenticationMethodModesRequestBuilder) GetAsFindByMethodModeWithAuthenticationMethodModesGetResponse(ctx context.Context, requestConfiguration *AuthenticationStrengthPoliciesFindByMethodModeWithAuthenticationMethodModesRequestBuilderGetRequestConfiguration)(AuthenticationStrengthPoliciesFindByMethodModeWithAuthenticationMethodModesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,7 +102,7 @@ func (m *AuthenticationStrengthPoliciesFindByMethodModeWithAuthenticationMethodM } return res.(AuthenticationStrengthPoliciesFindByMethodModeWithAuthenticationMethodModesGetResponseable), nil } -// ToGetRequestInformation invoke function findByMethodMode +// ToGetRequestInformation get a list of the authenticationStrengthPolicy objects and their properties filtered to only include policies that include the authentication method mode specified in the request. // Deprecated: The findByMethodMode function is deprecated. Please use OData filter query instead. as of 2023-02/FindByMethodModeRemove // returns a *RequestInformation when successful func (m *AuthenticationStrengthPoliciesFindByMethodModeWithAuthenticationMethodModesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AuthenticationStrengthPoliciesFindByMethodModeWithAuthenticationMethodModesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/policies/authentication_strength_policies_item_combination_configurations_authentication_combination_configuration_item_request_builder.go b/policies/authentication_strength_policies_item_combination_configurations_authentication_combination_configuration_item_request_builder.go index 13af34a0e98..a614eb66346 100644 --- a/policies/authentication_strength_policies_item_combination_configurations_authentication_combination_configuration_item_request_builder.go +++ b/policies/authentication_strength_policies_item_combination_configurations_authentication_combination_configuration_item_request_builder.go @@ -18,7 +18,7 @@ type AuthenticationStrengthPoliciesItemCombinationConfigurationsAuthenticationCo // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// AuthenticationStrengthPoliciesItemCombinationConfigurationsAuthenticationCombinationConfigurationItemRequestBuilderGetQueryParameters read the properties and relationships of an authenticationCombinationConfiguration object. +// AuthenticationStrengthPoliciesItemCombinationConfigurationsAuthenticationCombinationConfigurationItemRequestBuilderGetQueryParameters settings that may be used to require specific types or instances of an authentication method to be used when authenticating with a specified combination of authentication methods. type AuthenticationStrengthPoliciesItemCombinationConfigurationsAuthenticationCombinationConfigurationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewAuthenticationStrengthPoliciesItemCombinationConfigurationsAuthenticatio urlParams["request-raw-url"] = rawUrl return NewAuthenticationStrengthPoliciesItemCombinationConfigurationsAuthenticationCombinationConfigurationItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an authenticationCombinationConfiguration for a custom authenticationStrengthPolicy object. +// Delete delete navigation property combinationConfigurations for policies // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationstrengthpolicy-delete-combinationconfigurations?view=graph-rest-1.0 func (m *AuthenticationStrengthPoliciesItemCombinationConfigurationsAuthenticationCombinationConfigurationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *AuthenticationStrengthPoliciesItemCombinationConfigurationsAuthenticationCombinationConfigurationItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *AuthenticationStrengthPoliciesItemCombinationConfigurationsAuthenticati } return nil } -// Get read the properties and relationships of an authenticationCombinationConfiguration object. +// Get settings that may be used to require specific types or instances of an authentication method to be used when authenticating with a specified combination of authentication methods. // returns a AuthenticationCombinationConfigurationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationcombinationconfiguration-get?view=graph-rest-1.0 func (m *AuthenticationStrengthPoliciesItemCombinationConfigurationsAuthenticationCombinationConfigurationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *AuthenticationStrengthPoliciesItemCombinationConfigurationsAuthenticationCombinationConfigurationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationCombinationConfigurationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *AuthenticationStrengthPoliciesItemCombinationConfigurationsAuthenticati } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationCombinationConfigurationable), nil } -// Patch update the properties of an authenticationCombinationConfiguration object. The properties can be for one of the following derived types:* fido2combinationConfigurations* x509certificatecombinationconfiguration +// Patch update the navigation property combinationConfigurations in policies // returns a AuthenticationCombinationConfigurationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationcombinationconfiguration-update?view=graph-rest-1.0 func (m *AuthenticationStrengthPoliciesItemCombinationConfigurationsAuthenticationCombinationConfigurationItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationCombinationConfigurationable, requestConfiguration *AuthenticationStrengthPoliciesItemCombinationConfigurationsAuthenticationCombinationConfigurationItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationCombinationConfigurationable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *AuthenticationStrengthPoliciesItemCombinationConfigurationsAuthenticati } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationCombinationConfigurationable), nil } -// ToDeleteRequestInformation delete an authenticationCombinationConfiguration for a custom authenticationStrengthPolicy object. +// ToDeleteRequestInformation delete navigation property combinationConfigurations for policies // returns a *RequestInformation when successful func (m *AuthenticationStrengthPoliciesItemCombinationConfigurationsAuthenticationCombinationConfigurationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *AuthenticationStrengthPoliciesItemCombinationConfigurationsAuthenticationCombinationConfigurationItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *AuthenticationStrengthPoliciesItemCombinationConfigurationsAuthenticati requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an authenticationCombinationConfiguration object. +// ToGetRequestInformation settings that may be used to require specific types or instances of an authentication method to be used when authenticating with a specified combination of authentication methods. // returns a *RequestInformation when successful func (m *AuthenticationStrengthPoliciesItemCombinationConfigurationsAuthenticationCombinationConfigurationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AuthenticationStrengthPoliciesItemCombinationConfigurationsAuthenticationCombinationConfigurationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *AuthenticationStrengthPoliciesItemCombinationConfigurationsAuthenticati requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an authenticationCombinationConfiguration object. The properties can be for one of the following derived types:* fido2combinationConfigurations* x509certificatecombinationconfiguration +// ToPatchRequestInformation update the navigation property combinationConfigurations in policies // returns a *RequestInformation when successful func (m *AuthenticationStrengthPoliciesItemCombinationConfigurationsAuthenticationCombinationConfigurationItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationCombinationConfigurationable, requestConfiguration *AuthenticationStrengthPoliciesItemCombinationConfigurationsAuthenticationCombinationConfigurationItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/authentication_strength_policies_item_combination_configurations_request_builder.go b/policies/authentication_strength_policies_item_combination_configurations_request_builder.go index a0eaa505be0..142b217691e 100644 --- a/policies/authentication_strength_policies_item_combination_configurations_request_builder.go +++ b/policies/authentication_strength_policies_item_combination_configurations_request_builder.go @@ -11,7 +11,7 @@ import ( type AuthenticationStrengthPoliciesItemCombinationConfigurationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AuthenticationStrengthPoliciesItemCombinationConfigurationsRequestBuilderGetQueryParameters get the authenticationCombinationConfiguration objects for an authentication strength policy. The objects can be of one or more of the following derived types:* fido2combinationConfigurations* x509certificatecombinationconfiguration authenticationCombinationConfiguration objects are supported only for custom authentication strengths. +// AuthenticationStrengthPoliciesItemCombinationConfigurationsRequestBuilderGetQueryParameters settings that may be used to require specific types or instances of an authentication method to be used when authenticating with a specified combination of authentication methods. type AuthenticationStrengthPoliciesItemCombinationConfigurationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewAuthenticationStrengthPoliciesItemCombinationConfigurationsRequestBuilde func (m *AuthenticationStrengthPoliciesItemCombinationConfigurationsRequestBuilder) Count()(*AuthenticationStrengthPoliciesItemCombinationConfigurationsCountRequestBuilder) { return NewAuthenticationStrengthPoliciesItemCombinationConfigurationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the authenticationCombinationConfiguration objects for an authentication strength policy. The objects can be of one or more of the following derived types:* fido2combinationConfigurations* x509certificatecombinationconfiguration authenticationCombinationConfiguration objects are supported only for custom authentication strengths. +// Get settings that may be used to require specific types or instances of an authentication method to be used when authenticating with a specified combination of authentication methods. // returns a AuthenticationCombinationConfigurationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationstrengthpolicy-list-combinationconfigurations?view=graph-rest-1.0 func (m *AuthenticationStrengthPoliciesItemCombinationConfigurationsRequestBuilder) Get(ctx context.Context, requestConfiguration *AuthenticationStrengthPoliciesItemCombinationConfigurationsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationCombinationConfigurationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *AuthenticationStrengthPoliciesItemCombinationConfigurationsRequestBuild } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationCombinationConfigurationCollectionResponseable), nil } -// Post create a new authenticationCombinationConfiguration object which can be of one of the following derived types:* fido2combinationConfigurations* x509certificatecombinationconfiguration +// Post create new navigation property to combinationConfigurations for policies // returns a AuthenticationCombinationConfigurationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationstrengthpolicy-post-combinationconfigurations?view=graph-rest-1.0 func (m *AuthenticationStrengthPoliciesItemCombinationConfigurationsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationCombinationConfigurationable, requestConfiguration *AuthenticationStrengthPoliciesItemCombinationConfigurationsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationCombinationConfigurationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *AuthenticationStrengthPoliciesItemCombinationConfigurationsRequestBuild } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationCombinationConfigurationable), nil } -// ToGetRequestInformation get the authenticationCombinationConfiguration objects for an authentication strength policy. The objects can be of one or more of the following derived types:* fido2combinationConfigurations* x509certificatecombinationconfiguration authenticationCombinationConfiguration objects are supported only for custom authentication strengths. +// ToGetRequestInformation settings that may be used to require specific types or instances of an authentication method to be used when authenticating with a specified combination of authentication methods. // returns a *RequestInformation when successful func (m *AuthenticationStrengthPoliciesItemCombinationConfigurationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AuthenticationStrengthPoliciesItemCombinationConfigurationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *AuthenticationStrengthPoliciesItemCombinationConfigurationsRequestBuild requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new authenticationCombinationConfiguration object which can be of one of the following derived types:* fido2combinationConfigurations* x509certificatecombinationconfiguration +// ToPostRequestInformation create new navigation property to combinationConfigurations for policies // returns a *RequestInformation when successful func (m *AuthenticationStrengthPoliciesItemCombinationConfigurationsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationCombinationConfigurationable, requestConfiguration *AuthenticationStrengthPoliciesItemCombinationConfigurationsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/authentication_strength_policies_item_update_allowed_combinations_request_builder.go b/policies/authentication_strength_policies_item_update_allowed_combinations_request_builder.go index c052d2524ec..37be5801a79 100644 --- a/policies/authentication_strength_policies_item_update_allowed_combinations_request_builder.go +++ b/policies/authentication_strength_policies_item_update_allowed_combinations_request_builder.go @@ -36,7 +36,7 @@ func NewAuthenticationStrengthPoliciesItemUpdateAllowedCombinationsRequestBuilde // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationstrengthpolicy-updateallowedcombinations?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationstrengthpolicy-updateallowedcombinations?view=graph-rest-beta func (m *AuthenticationStrengthPoliciesItemUpdateAllowedCombinationsRequestBuilder) Post(ctx context.Context, body AuthenticationStrengthPoliciesItemUpdateAllowedCombinationsPostRequestBodyable, requestConfiguration *AuthenticationStrengthPoliciesItemUpdateAllowedCombinationsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UpdateAllowedCombinationsResultable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/policies/authentication_strength_policies_item_usage_request_builder.go b/policies/authentication_strength_policies_item_usage_request_builder.go index 7ff3b341feb..1bb7c17ff14 100644 --- a/policies/authentication_strength_policies_item_usage_request_builder.go +++ b/policies/authentication_strength_policies_item_usage_request_builder.go @@ -31,9 +31,12 @@ func NewAuthenticationStrengthPoliciesItemUsageRequestBuilder(rawUrl string, req urlParams["request-raw-url"] = rawUrl return NewAuthenticationStrengthPoliciesItemUsageRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function usage +// Get the usage function allows the caller to see which Conditional Access policies reference a specified authentication strength policy. The policies are returned in two collections, one containing Conditional Access policies that require an MFA claim and the other containing Conditional Access policies that do not require such a claim. Policies in the former category are restricted in what kinds of changes may be made to them to prevent undermining the MFA requirement of those policies. // returns a AuthenticationStrengthUsageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationstrengthpolicy-usage?view=graph-rest-beta func (m *AuthenticationStrengthPoliciesItemUsageRequestBuilder) Get(ctx context.Context, requestConfiguration *AuthenticationStrengthPoliciesItemUsageRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationStrengthUsageable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -51,7 +54,7 @@ func (m *AuthenticationStrengthPoliciesItemUsageRequestBuilder) Get(ctx context. } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationStrengthUsageable), nil } -// ToGetRequestInformation invoke function usage +// ToGetRequestInformation the usage function allows the caller to see which Conditional Access policies reference a specified authentication strength policy. The policies are returned in two collections, one containing Conditional Access policies that require an MFA claim and the other containing Conditional Access policies that do not require such a claim. Policies in the former category are restricted in what kinds of changes may be made to them to prevent undermining the MFA requirement of those policies. // returns a *RequestInformation when successful func (m *AuthenticationStrengthPoliciesItemUsageRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AuthenticationStrengthPoliciesItemUsageRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/authentication_strength_policies_request_builder.go b/policies/authentication_strength_policies_request_builder.go index 9a030f8a97f..30203a1507f 100644 --- a/policies/authentication_strength_policies_request_builder.go +++ b/policies/authentication_strength_policies_request_builder.go @@ -11,7 +11,7 @@ import ( type AuthenticationStrengthPoliciesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AuthenticationStrengthPoliciesRequestBuilderGetQueryParameters get a list of the authenticationStrengthPolicy objects and their properties. This API returns both built-in and custom policies. +// AuthenticationStrengthPoliciesRequestBuilderGetQueryParameters the authentication method combinations that are to be used in scenarios defined by Microsoft Entra Conditional Access. type AuthenticationStrengthPoliciesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -82,12 +82,9 @@ func (m *AuthenticationStrengthPoliciesRequestBuilder) Count()(*AuthenticationSt func (m *AuthenticationStrengthPoliciesRequestBuilder) FindByMethodModeWithAuthenticationMethodModes(authenticationMethodModes *string)(*AuthenticationStrengthPoliciesFindByMethodModeWithAuthenticationMethodModesRequestBuilder) { return NewAuthenticationStrengthPoliciesFindByMethodModeWithAuthenticationMethodModesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, authenticationMethodModes) } -// Get get a list of the authenticationStrengthPolicy objects and their properties. This API returns both built-in and custom policies. +// Get the authentication method combinations that are to be used in scenarios defined by Microsoft Entra Conditional Access. // returns a AuthenticationStrengthPolicyCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationstrengthroot-list-policies?view=graph-rest-1.0 func (m *AuthenticationStrengthPoliciesRequestBuilder) Get(ctx context.Context, requestConfiguration *AuthenticationStrengthPoliciesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationStrengthPolicyCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -105,12 +102,9 @@ func (m *AuthenticationStrengthPoliciesRequestBuilder) Get(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationStrengthPolicyCollectionResponseable), nil } -// Post create a new custom authenticationStrengthPolicy object. +// Post create new navigation property to authenticationStrengthPolicies for policies // returns a AuthenticationStrengthPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationstrengthroot-post-policies?view=graph-rest-1.0 func (m *AuthenticationStrengthPoliciesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationStrengthPolicyable, requestConfiguration *AuthenticationStrengthPoliciesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationStrengthPolicyable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -128,7 +122,7 @@ func (m *AuthenticationStrengthPoliciesRequestBuilder) Post(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationStrengthPolicyable), nil } -// ToGetRequestInformation get a list of the authenticationStrengthPolicy objects and their properties. This API returns both built-in and custom policies. +// ToGetRequestInformation the authentication method combinations that are to be used in scenarios defined by Microsoft Entra Conditional Access. // returns a *RequestInformation when successful func (m *AuthenticationStrengthPoliciesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AuthenticationStrengthPoliciesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -142,7 +136,7 @@ func (m *AuthenticationStrengthPoliciesRequestBuilder) ToGetRequestInformation(c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new custom authenticationStrengthPolicy object. +// ToPostRequestInformation create new navigation property to authenticationStrengthPolicies for policies // returns a *RequestInformation when successful func (m *AuthenticationStrengthPoliciesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationStrengthPolicyable, requestConfiguration *AuthenticationStrengthPoliciesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/authorization_policy_request_builder.go b/policies/authorization_policy_request_builder.go index 29e646e676a..7b0b633a5d0 100644 --- a/policies/authorization_policy_request_builder.go +++ b/policies/authorization_policy_request_builder.go @@ -11,7 +11,7 @@ import ( type AuthorizationPolicyRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AuthorizationPolicyRequestBuilderGetQueryParameters retrieve the properties of an authorizationPolicy object. +// AuthorizationPolicyRequestBuilderGetQueryParameters the policy that controls Microsoft Entra authorization settings. type AuthorizationPolicyRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewAuthorizationPolicyRequestBuilder(rawUrl string, requestAdapter i2ae4187 func (m *AuthorizationPolicyRequestBuilder) Count()(*AuthorizationPolicyCountRequestBuilder) { return NewAuthorizationPolicyCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties of an authorizationPolicy object. +// Get the policy that controls Microsoft Entra authorization settings. // returns a AuthorizationPolicyCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/authorizationpolicy-get?view=graph-rest-1.0 func (m *AuthorizationPolicyRequestBuilder) Get(ctx context.Context, requestConfiguration *AuthorizationPolicyRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthorizationPolicyCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *AuthorizationPolicyRequestBuilder) Post(ctx context.Context, body ie233 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthorizationPolicyable), nil } -// ToGetRequestInformation retrieve the properties of an authorizationPolicy object. +// ToGetRequestInformation the policy that controls Microsoft Entra authorization settings. // returns a *RequestInformation when successful func (m *AuthorizationPolicyRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AuthorizationPolicyRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/b2c_authentication_methods_policy_request_builder.go b/policies/b2c_authentication_methods_policy_request_builder.go index fb9549886e5..60213b23dda 100644 --- a/policies/b2c_authentication_methods_policy_request_builder.go +++ b/policies/b2c_authentication_methods_policy_request_builder.go @@ -18,7 +18,7 @@ type B2cAuthenticationMethodsPolicyRequestBuilderDeleteRequestConfiguration stru // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// B2cAuthenticationMethodsPolicyRequestBuilderGetQueryParameters read the properties of a b2cAuthenticationMethodsPolicy object. +// B2cAuthenticationMethodsPolicyRequestBuilderGetQueryParameters the Azure AD B2C policies that define how end users register via local accounts. type B2cAuthenticationMethodsPolicyRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *B2cAuthenticationMethodsPolicyRequestBuilder) Delete(ctx context.Contex } return nil } -// Get read the properties of a b2cAuthenticationMethodsPolicy object. +// Get the Azure AD B2C policies that define how end users register via local accounts. // returns a B2cAuthenticationMethodsPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/b2cauthenticationmethodspolicy-get?view=graph-rest-1.0 func (m *B2cAuthenticationMethodsPolicyRequestBuilder) Get(ctx context.Context, requestConfiguration *B2cAuthenticationMethodsPolicyRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.B2cAuthenticationMethodsPolicyable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *B2cAuthenticationMethodsPolicyRequestBuilder) Get(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.B2cAuthenticationMethodsPolicyable), nil } -// Patch update the properties of a b2cAuthenticationMethodsPolicy object. +// Patch update the navigation property b2cAuthenticationMethodsPolicy in policies // returns a B2cAuthenticationMethodsPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/b2cauthenticationmethodspolicy-update?view=graph-rest-1.0 func (m *B2cAuthenticationMethodsPolicyRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.B2cAuthenticationMethodsPolicyable, requestConfiguration *B2cAuthenticationMethodsPolicyRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.B2cAuthenticationMethodsPolicyable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *B2cAuthenticationMethodsPolicyRequestBuilder) ToDeleteRequestInformatio requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties of a b2cAuthenticationMethodsPolicy object. +// ToGetRequestInformation the Azure AD B2C policies that define how end users register via local accounts. // returns a *RequestInformation when successful func (m *B2cAuthenticationMethodsPolicyRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *B2cAuthenticationMethodsPolicyRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *B2cAuthenticationMethodsPolicyRequestBuilder) ToGetRequestInformation(c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a b2cAuthenticationMethodsPolicy object. +// ToPatchRequestInformation update the navigation property b2cAuthenticationMethodsPolicy in policies // returns a *RequestInformation when successful func (m *B2cAuthenticationMethodsPolicyRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.B2cAuthenticationMethodsPolicyable, requestConfiguration *B2cAuthenticationMethodsPolicyRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/claims_mapping_policies_claims_mapping_policy_item_request_builder.go b/policies/claims_mapping_policies_claims_mapping_policy_item_request_builder.go index b949309ef0b..85f1e5b4872 100644 --- a/policies/claims_mapping_policies_claims_mapping_policy_item_request_builder.go +++ b/policies/claims_mapping_policies_claims_mapping_policy_item_request_builder.go @@ -18,7 +18,7 @@ type ClaimsMappingPoliciesClaimsMappingPolicyItemRequestBuilderDeleteRequestConf // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ClaimsMappingPoliciesClaimsMappingPolicyItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a claimsMappingPolicy object. +// ClaimsMappingPoliciesClaimsMappingPolicyItemRequestBuilderGetQueryParameters the claim-mapping policies for WS-Fed, SAML, OAuth 2.0, and OpenID Connect protocols, for tokens issued to a specific application. type ClaimsMappingPoliciesClaimsMappingPolicyItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewClaimsMappingPoliciesClaimsMappingPolicyItemRequestBuilder(rawUrl string urlParams["request-raw-url"] = rawUrl return NewClaimsMappingPoliciesClaimsMappingPolicyItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a claimsMappingPolicy object. +// Delete delete navigation property claimsMappingPolicies for policies // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/claimsmappingpolicy-delete?view=graph-rest-1.0 func (m *ClaimsMappingPoliciesClaimsMappingPolicyItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ClaimsMappingPoliciesClaimsMappingPolicyItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *ClaimsMappingPoliciesClaimsMappingPolicyItemRequestBuilder) Delete(ctx } return nil } -// Get retrieve the properties and relationships of a claimsMappingPolicy object. +// Get the claim-mapping policies for WS-Fed, SAML, OAuth 2.0, and OpenID Connect protocols, for tokens issued to a specific application. // returns a ClaimsMappingPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/claimsmappingpolicy-get?view=graph-rest-1.0 func (m *ClaimsMappingPoliciesClaimsMappingPolicyItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ClaimsMappingPoliciesClaimsMappingPolicyItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ClaimsMappingPolicyable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,12 +95,9 @@ func (m *ClaimsMappingPoliciesClaimsMappingPolicyItemRequestBuilder) Get(ctx con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ClaimsMappingPolicyable), nil } -// Patch update the properties of a claimsMappingPolicy object. +// Patch update the navigation property claimsMappingPolicies in policies // returns a ClaimsMappingPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/claimsmappingpolicy-update?view=graph-rest-1.0 func (m *ClaimsMappingPoliciesClaimsMappingPolicyItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ClaimsMappingPolicyable, requestConfiguration *ClaimsMappingPoliciesClaimsMappingPolicyItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ClaimsMappingPolicyable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -124,7 +115,7 @@ func (m *ClaimsMappingPoliciesClaimsMappingPolicyItemRequestBuilder) Patch(ctx c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ClaimsMappingPolicyable), nil } -// ToDeleteRequestInformation delete a claimsMappingPolicy object. +// ToDeleteRequestInformation delete navigation property claimsMappingPolicies for policies // returns a *RequestInformation when successful func (m *ClaimsMappingPoliciesClaimsMappingPolicyItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ClaimsMappingPoliciesClaimsMappingPolicyItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -135,7 +126,7 @@ func (m *ClaimsMappingPoliciesClaimsMappingPolicyItemRequestBuilder) ToDeleteReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a claimsMappingPolicy object. +// ToGetRequestInformation the claim-mapping policies for WS-Fed, SAML, OAuth 2.0, and OpenID Connect protocols, for tokens issued to a specific application. // returns a *RequestInformation when successful func (m *ClaimsMappingPoliciesClaimsMappingPolicyItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClaimsMappingPoliciesClaimsMappingPolicyItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -149,7 +140,7 @@ func (m *ClaimsMappingPoliciesClaimsMappingPolicyItemRequestBuilder) ToGetReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a claimsMappingPolicy object. +// ToPatchRequestInformation update the navigation property claimsMappingPolicies in policies // returns a *RequestInformation when successful func (m *ClaimsMappingPoliciesClaimsMappingPolicyItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ClaimsMappingPolicyable, requestConfiguration *ClaimsMappingPoliciesClaimsMappingPolicyItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/claims_mapping_policies_request_builder.go b/policies/claims_mapping_policies_request_builder.go index 523b7647c98..2137b8b1e91 100644 --- a/policies/claims_mapping_policies_request_builder.go +++ b/policies/claims_mapping_policies_request_builder.go @@ -11,7 +11,7 @@ import ( type ClaimsMappingPoliciesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ClaimsMappingPoliciesRequestBuilderGetQueryParameters get a list of claimsMappingPolicy objects. +// ClaimsMappingPoliciesRequestBuilderGetQueryParameters the claim-mapping policies for WS-Fed, SAML, OAuth 2.0, and OpenID Connect protocols, for tokens issued to a specific application. type ClaimsMappingPoliciesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewClaimsMappingPoliciesRequestBuilder(rawUrl string, requestAdapter i2ae41 func (m *ClaimsMappingPoliciesRequestBuilder) Count()(*ClaimsMappingPoliciesCountRequestBuilder) { return NewClaimsMappingPoliciesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of claimsMappingPolicy objects. +// Get the claim-mapping policies for WS-Fed, SAML, OAuth 2.0, and OpenID Connect protocols, for tokens issued to a specific application. // returns a ClaimsMappingPolicyCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/claimsmappingpolicy-list?view=graph-rest-1.0 func (m *ClaimsMappingPoliciesRequestBuilder) Get(ctx context.Context, requestConfiguration *ClaimsMappingPoliciesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ClaimsMappingPolicyCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ClaimsMappingPoliciesRequestBuilder) Get(ctx context.Context, requestCo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ClaimsMappingPolicyCollectionResponseable), nil } -// Post create a new claimsMappingPolicy object. +// Post create new navigation property to claimsMappingPolicies for policies // returns a ClaimsMappingPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/claimsmappingpolicy-post-claimsmappingpolicies?view=graph-rest-1.0 func (m *ClaimsMappingPoliciesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ClaimsMappingPolicyable, requestConfiguration *ClaimsMappingPoliciesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ClaimsMappingPolicyable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ClaimsMappingPoliciesRequestBuilder) Post(ctx context.Context, body ie2 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ClaimsMappingPolicyable), nil } -// ToGetRequestInformation get a list of claimsMappingPolicy objects. +// ToGetRequestInformation the claim-mapping policies for WS-Fed, SAML, OAuth 2.0, and OpenID Connect protocols, for tokens issued to a specific application. // returns a *RequestInformation when successful func (m *ClaimsMappingPoliciesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClaimsMappingPoliciesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ClaimsMappingPoliciesRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new claimsMappingPolicy object. +// ToPostRequestInformation create new navigation property to claimsMappingPolicies for policies // returns a *RequestInformation when successful func (m *ClaimsMappingPoliciesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ClaimsMappingPolicyable, requestConfiguration *ClaimsMappingPoliciesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/cross_tenant_access_policy_default_request_builder.go b/policies/cross_tenant_access_policy_default_request_builder.go index 0438a874139..700b28345b2 100644 --- a/policies/cross_tenant_access_policy_default_request_builder.go +++ b/policies/cross_tenant_access_policy_default_request_builder.go @@ -18,7 +18,7 @@ type CrossTenantAccessPolicyDefaultRequestBuilderDeleteRequestConfiguration stru // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// CrossTenantAccessPolicyDefaultRequestBuilderGetQueryParameters read the default configuration of a cross-tenant access policy. This default configuration may be the service default assigned by Microsoft Entra ID (isServiceDefault is true) or may be customized in your tenant (isServiceDefault is false). +// CrossTenantAccessPolicyDefaultRequestBuilderGetQueryParameters defines the default configuration for how your organization interacts with external Microsoft Entra organizations. type CrossTenantAccessPolicyDefaultRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *CrossTenantAccessPolicyDefaultRequestBuilder) Delete(ctx context.Contex } return nil } -// Get read the default configuration of a cross-tenant access policy. This default configuration may be the service default assigned by Microsoft Entra ID (isServiceDefault is true) or may be customized in your tenant (isServiceDefault is false). +// Get defines the default configuration for how your organization interacts with external Microsoft Entra organizations. // returns a CrossTenantAccessPolicyConfigurationDefaultable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/crosstenantaccesspolicyconfigurationdefault-get?view=graph-rest-1.0 func (m *CrossTenantAccessPolicyDefaultRequestBuilder) Get(ctx context.Context, requestConfiguration *CrossTenantAccessPolicyDefaultRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CrossTenantAccessPolicyConfigurationDefaultable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *CrossTenantAccessPolicyDefaultRequestBuilder) Get(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CrossTenantAccessPolicyConfigurationDefaultable), nil } -// Patch update the default configuration of a cross-tenant access policy. +// Patch update the navigation property default in policies // returns a CrossTenantAccessPolicyConfigurationDefaultable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/crosstenantaccesspolicyconfigurationdefault-update?view=graph-rest-1.0 func (m *CrossTenantAccessPolicyDefaultRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CrossTenantAccessPolicyConfigurationDefaultable, requestConfiguration *CrossTenantAccessPolicyDefaultRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CrossTenantAccessPolicyConfigurationDefaultable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -132,7 +126,7 @@ func (m *CrossTenantAccessPolicyDefaultRequestBuilder) ToDeleteRequestInformatio requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the default configuration of a cross-tenant access policy. This default configuration may be the service default assigned by Microsoft Entra ID (isServiceDefault is true) or may be customized in your tenant (isServiceDefault is false). +// ToGetRequestInformation defines the default configuration for how your organization interacts with external Microsoft Entra organizations. // returns a *RequestInformation when successful func (m *CrossTenantAccessPolicyDefaultRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CrossTenantAccessPolicyDefaultRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -146,7 +140,7 @@ func (m *CrossTenantAccessPolicyDefaultRequestBuilder) ToGetRequestInformation(c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the default configuration of a cross-tenant access policy. +// ToPatchRequestInformation update the navigation property default in policies // returns a *RequestInformation when successful func (m *CrossTenantAccessPolicyDefaultRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CrossTenantAccessPolicyConfigurationDefaultable, requestConfiguration *CrossTenantAccessPolicyDefaultRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/cross_tenant_access_policy_default_reset_to_system_default_request_builder.go b/policies/cross_tenant_access_policy_default_reset_to_system_default_request_builder.go index 3e383d749ff..74acfe3ad38 100644 --- a/policies/cross_tenant_access_policy_default_reset_to_system_default_request_builder.go +++ b/policies/cross_tenant_access_policy_default_reset_to_system_default_request_builder.go @@ -34,7 +34,7 @@ func NewCrossTenantAccessPolicyDefaultResetToSystemDefaultRequestBuilder(rawUrl // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/crosstenantaccesspolicyconfigurationdefault-resettosystemdefault?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/crosstenantaccesspolicyconfigurationdefault-resettosystemdefault?view=graph-rest-beta func (m *CrossTenantAccessPolicyDefaultResetToSystemDefaultRequestBuilder) Post(ctx context.Context, requestConfiguration *CrossTenantAccessPolicyDefaultResetToSystemDefaultRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/policies/cross_tenant_access_policy_partners_cross_tenant_access_policy_configuration_partner_tenant_item_request_builder.go b/policies/cross_tenant_access_policy_partners_cross_tenant_access_policy_configuration_partner_tenant_item_request_builder.go index 5c68fe3ed21..733c4e023b4 100644 --- a/policies/cross_tenant_access_policy_partners_cross_tenant_access_policy_configuration_partner_tenant_item_request_builder.go +++ b/policies/cross_tenant_access_policy_partners_cross_tenant_access_policy_configuration_partner_tenant_item_request_builder.go @@ -18,7 +18,7 @@ type CrossTenantAccessPolicyPartnersCrossTenantAccessPolicyConfigurationPartnerT // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// CrossTenantAccessPolicyPartnersCrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilderGetQueryParameters read the properties and relationships of a partner-specific configuration. +// CrossTenantAccessPolicyPartnersCrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilderGetQueryParameters defines partner-specific configurations for external Microsoft Entra organizations. type CrossTenantAccessPolicyPartnersCrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewCrossTenantAccessPolicyPartnersCrossTenantAccessPolicyConfigurationPartn urlParams["request-raw-url"] = rawUrl return NewCrossTenantAccessPolicyPartnersCrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a partner-specific configuration in a cross-tenant access policy. If a configuration includes a user synchronization policy, you must first delete the user synchronization policy before you can delete the partner-specific configuration. +// Delete delete navigation property partners for policies // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/crosstenantaccesspolicyconfigurationpartner-delete?view=graph-rest-1.0 func (m *CrossTenantAccessPolicyPartnersCrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *CrossTenantAccessPolicyPartnersCrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *CrossTenantAccessPolicyPartnersCrossTenantAccessPolicyConfigurationPart } return nil } -// Get read the properties and relationships of a partner-specific configuration. +// Get defines partner-specific configurations for external Microsoft Entra organizations. // returns a CrossTenantAccessPolicyConfigurationPartnerable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/crosstenantaccesspolicyconfigurationpartner-get?view=graph-rest-1.0 func (m *CrossTenantAccessPolicyPartnersCrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder) Get(ctx context.Context, requestConfiguration *CrossTenantAccessPolicyPartnersCrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CrossTenantAccessPolicyConfigurationPartnerable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,12 +95,9 @@ func (m *CrossTenantAccessPolicyPartnersCrossTenantAccessPolicyConfigurationPart func (m *CrossTenantAccessPolicyPartnersCrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder) IdentitySynchronization()(*CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilder) { return NewCrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of a partner-specific configuration. +// Patch update the navigation property partners in policies // returns a CrossTenantAccessPolicyConfigurationPartnerable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/crosstenantaccesspolicyconfigurationpartner-update?view=graph-rest-1.0 func (m *CrossTenantAccessPolicyPartnersCrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CrossTenantAccessPolicyConfigurationPartnerable, requestConfiguration *CrossTenantAccessPolicyPartnersCrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CrossTenantAccessPolicyConfigurationPartnerable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -124,7 +115,7 @@ func (m *CrossTenantAccessPolicyPartnersCrossTenantAccessPolicyConfigurationPart } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CrossTenantAccessPolicyConfigurationPartnerable), nil } -// ToDeleteRequestInformation delete a partner-specific configuration in a cross-tenant access policy. If a configuration includes a user synchronization policy, you must first delete the user synchronization policy before you can delete the partner-specific configuration. +// ToDeleteRequestInformation delete navigation property partners for policies // returns a *RequestInformation when successful func (m *CrossTenantAccessPolicyPartnersCrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *CrossTenantAccessPolicyPartnersCrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -135,7 +126,7 @@ func (m *CrossTenantAccessPolicyPartnersCrossTenantAccessPolicyConfigurationPart requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a partner-specific configuration. +// ToGetRequestInformation defines partner-specific configurations for external Microsoft Entra organizations. // returns a *RequestInformation when successful func (m *CrossTenantAccessPolicyPartnersCrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CrossTenantAccessPolicyPartnersCrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -149,7 +140,7 @@ func (m *CrossTenantAccessPolicyPartnersCrossTenantAccessPolicyConfigurationPart requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a partner-specific configuration. +// ToPatchRequestInformation update the navigation property partners in policies // returns a *RequestInformation when successful func (m *CrossTenantAccessPolicyPartnersCrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CrossTenantAccessPolicyConfigurationPartnerable, requestConfiguration *CrossTenantAccessPolicyPartnersCrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/cross_tenant_access_policy_partners_item_identity_synchronization_request_builder.go b/policies/cross_tenant_access_policy_partners_item_identity_synchronization_request_builder.go index 800cf8e46c8..55ecbb4d574 100644 --- a/policies/cross_tenant_access_policy_partners_item_identity_synchronization_request_builder.go +++ b/policies/cross_tenant_access_policy_partners_item_identity_synchronization_request_builder.go @@ -18,7 +18,7 @@ type CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilderDel // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilderGetQueryParameters get the user synchronization policy of a partner-specific configuration. +// CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilderGetQueryParameters defines the cross-tenant policy for the synchronization of users from a partner tenant. Use this user synchronization policy to streamline collaboration between users in a multitenant organization by automating the creation, update, and deletion of users from one tenant to another. type CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewCrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilder urlParams["request-raw-url"] = rawUrl return NewCrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete the user synchronization policy for a partner-specific configuration. +// Delete delete navigation property identitySynchronization for policies // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/crosstenantidentitysyncpolicypartner-delete?view=graph-rest-1.0 func (m *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilder) Delete(ctx context.Context, requestConfiguration *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilde } return nil } -// Get get the user synchronization policy of a partner-specific configuration. +// Get defines the cross-tenant policy for the synchronization of users from a partner tenant. Use this user synchronization policy to streamline collaboration between users in a multitenant organization by automating the creation, update, and deletion of users from one tenant to another. // returns a CrossTenantIdentitySyncPolicyPartnerable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/crosstenantidentitysyncpolicypartner-get?view=graph-rest-1.0 func (m *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilder) Get(ctx context.Context, requestConfiguration *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CrossTenantIdentitySyncPolicyPartnerable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -116,7 +110,7 @@ func (m *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilde } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CrossTenantIdentitySyncPolicyPartnerable), nil } -// ToDeleteRequestInformation delete the user synchronization policy for a partner-specific configuration. +// ToDeleteRequestInformation delete navigation property identitySynchronization for policies // returns a *RequestInformation when successful func (m *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -127,7 +121,7 @@ func (m *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilde requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the user synchronization policy of a partner-specific configuration. +// ToGetRequestInformation defines the cross-tenant policy for the synchronization of users from a partner tenant. Use this user synchronization policy to streamline collaboration between users in a multitenant organization by automating the creation, update, and deletion of users from one tenant to another. // returns a *RequestInformation when successful func (m *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/cross_tenant_access_policy_partners_request_builder.go b/policies/cross_tenant_access_policy_partners_request_builder.go index a25e4b16227..4d350f95e79 100644 --- a/policies/cross_tenant_access_policy_partners_request_builder.go +++ b/policies/cross_tenant_access_policy_partners_request_builder.go @@ -11,7 +11,7 @@ import ( type CrossTenantAccessPolicyPartnersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// CrossTenantAccessPolicyPartnersRequestBuilderGetQueryParameters get a list of all partner configurations within a cross-tenant access policy. You can also use the $expand parameter to list the user synchronization policy for all partner configurations. +// CrossTenantAccessPolicyPartnersRequestBuilderGetQueryParameters defines partner-specific configurations for external Microsoft Entra organizations. type CrossTenantAccessPolicyPartnersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewCrossTenantAccessPolicyPartnersRequestBuilder(rawUrl string, requestAdap func (m *CrossTenantAccessPolicyPartnersRequestBuilder) Count()(*CrossTenantAccessPolicyPartnersCountRequestBuilder) { return NewCrossTenantAccessPolicyPartnersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of all partner configurations within a cross-tenant access policy. You can also use the $expand parameter to list the user synchronization policy for all partner configurations. +// Get defines partner-specific configurations for external Microsoft Entra organizations. // returns a CrossTenantAccessPolicyConfigurationPartnerCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/crosstenantaccesspolicy-list-partners?view=graph-rest-1.0 func (m *CrossTenantAccessPolicyPartnersRequestBuilder) Get(ctx context.Context, requestConfiguration *CrossTenantAccessPolicyPartnersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CrossTenantAccessPolicyConfigurationPartnerCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *CrossTenantAccessPolicyPartnersRequestBuilder) Get(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CrossTenantAccessPolicyConfigurationPartnerCollectionResponseable), nil } -// Post create a new partner configuration in a cross-tenant access policy. +// Post create new navigation property to partners for policies // returns a CrossTenantAccessPolicyConfigurationPartnerable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/crosstenantaccesspolicy-post-partners?view=graph-rest-1.0 func (m *CrossTenantAccessPolicyPartnersRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CrossTenantAccessPolicyConfigurationPartnerable, requestConfiguration *CrossTenantAccessPolicyPartnersRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CrossTenantAccessPolicyConfigurationPartnerable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *CrossTenantAccessPolicyPartnersRequestBuilder) Post(ctx context.Context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CrossTenantAccessPolicyConfigurationPartnerable), nil } -// ToGetRequestInformation get a list of all partner configurations within a cross-tenant access policy. You can also use the $expand parameter to list the user synchronization policy for all partner configurations. +// ToGetRequestInformation defines partner-specific configurations for external Microsoft Entra organizations. // returns a *RequestInformation when successful func (m *CrossTenantAccessPolicyPartnersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CrossTenantAccessPolicyPartnersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *CrossTenantAccessPolicyPartnersRequestBuilder) ToGetRequestInformation( requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new partner configuration in a cross-tenant access policy. +// ToPostRequestInformation create new navigation property to partners for policies // returns a *RequestInformation when successful func (m *CrossTenantAccessPolicyPartnersRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CrossTenantAccessPolicyConfigurationPartnerable, requestConfiguration *CrossTenantAccessPolicyPartnersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/cross_tenant_access_policy_request_builder.go b/policies/cross_tenant_access_policy_request_builder.go index c547f2330ec..4997cea11e0 100644 --- a/policies/cross_tenant_access_policy_request_builder.go +++ b/policies/cross_tenant_access_policy_request_builder.go @@ -18,7 +18,7 @@ type CrossTenantAccessPolicyRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// CrossTenantAccessPolicyRequestBuilderGetQueryParameters read the properties and relationships of a crossTenantAccessPolicy object. +// CrossTenantAccessPolicyRequestBuilderGetQueryParameters the custom rules that define an access scenario when interacting with external Microsoft Entra tenants. type CrossTenantAccessPolicyRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *CrossTenantAccessPolicyRequestBuilder) Delete(ctx context.Context, requ } return nil } -// Get read the properties and relationships of a crossTenantAccessPolicy object. +// Get the custom rules that define an access scenario when interacting with external Microsoft Entra tenants. // returns a CrossTenantAccessPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/crosstenantaccesspolicy-get?view=graph-rest-1.0 func (m *CrossTenantAccessPolicyRequestBuilder) Get(ctx context.Context, requestConfiguration *CrossTenantAccessPolicyRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CrossTenantAccessPolicyable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -103,12 +100,9 @@ func (m *CrossTenantAccessPolicyRequestBuilder) Get(ctx context.Context, request func (m *CrossTenantAccessPolicyRequestBuilder) Partners()(*CrossTenantAccessPolicyPartnersRequestBuilder) { return NewCrossTenantAccessPolicyPartnersRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of a cross-tenant access policy. +// Patch update the navigation property crossTenantAccessPolicy in policies // returns a CrossTenantAccessPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/crosstenantaccesspolicy-update?view=graph-rest-1.0 func (m *CrossTenantAccessPolicyRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CrossTenantAccessPolicyable, requestConfiguration *CrossTenantAccessPolicyRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CrossTenantAccessPolicyable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -142,7 +136,7 @@ func (m *CrossTenantAccessPolicyRequestBuilder) ToDeleteRequestInformation(ctx c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a crossTenantAccessPolicy object. +// ToGetRequestInformation the custom rules that define an access scenario when interacting with external Microsoft Entra tenants. // returns a *RequestInformation when successful func (m *CrossTenantAccessPolicyRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CrossTenantAccessPolicyRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -156,7 +150,7 @@ func (m *CrossTenantAccessPolicyRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a cross-tenant access policy. +// ToPatchRequestInformation update the navigation property crossTenantAccessPolicy in policies // returns a *RequestInformation when successful func (m *CrossTenantAccessPolicyRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CrossTenantAccessPolicyable, requestConfiguration *CrossTenantAccessPolicyRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/cross_tenant_access_policy_templates_multi_tenant_organization_identity_synchronization_request_builder.go b/policies/cross_tenant_access_policy_templates_multi_tenant_organization_identity_synchronization_request_builder.go index 3814cbd96d7..d34ee0984b1 100644 --- a/policies/cross_tenant_access_policy_templates_multi_tenant_organization_identity_synchronization_request_builder.go +++ b/policies/cross_tenant_access_policy_templates_multi_tenant_organization_identity_synchronization_request_builder.go @@ -18,7 +18,7 @@ type CrossTenantAccessPolicyTemplatesMultiTenantOrganizationIdentitySynchronizat // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// CrossTenantAccessPolicyTemplatesMultiTenantOrganizationIdentitySynchronizationRequestBuilderGetQueryParameters get the cross-tenant access policy template with user synchronization settings for a multitenant organization. +// CrossTenantAccessPolicyTemplatesMultiTenantOrganizationIdentitySynchronizationRequestBuilderGetQueryParameters defines an optional cross-tenant access policy template with user synchronization settings for a multi-tenant organization. type CrossTenantAccessPolicyTemplatesMultiTenantOrganizationIdentitySynchronizationRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *CrossTenantAccessPolicyTemplatesMultiTenantOrganizationIdentitySynchron } return nil } -// Get get the cross-tenant access policy template with user synchronization settings for a multitenant organization. +// Get defines an optional cross-tenant access policy template with user synchronization settings for a multi-tenant organization. // returns a MultiTenantOrganizationIdentitySyncPolicyTemplateable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/multitenantorganizationidentitysyncpolicytemplate-get?view=graph-rest-1.0 func (m *CrossTenantAccessPolicyTemplatesMultiTenantOrganizationIdentitySynchronizationRequestBuilder) Get(ctx context.Context, requestConfiguration *CrossTenantAccessPolicyTemplatesMultiTenantOrganizationIdentitySynchronizationRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MultiTenantOrganizationIdentitySyncPolicyTemplateable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *CrossTenantAccessPolicyTemplatesMultiTenantOrganizationIdentitySynchron } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MultiTenantOrganizationIdentitySyncPolicyTemplateable), nil } -// Patch update the cross-tenant access policy template with user synchronization settings for a multi-tenant organization. +// Patch update the navigation property multiTenantOrganizationIdentitySynchronization in policies // returns a MultiTenantOrganizationIdentitySyncPolicyTemplateable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/multitenantorganizationidentitysyncpolicytemplate-update?view=graph-rest-1.0 func (m *CrossTenantAccessPolicyTemplatesMultiTenantOrganizationIdentitySynchronizationRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MultiTenantOrganizationIdentitySyncPolicyTemplateable, requestConfiguration *CrossTenantAccessPolicyTemplatesMultiTenantOrganizationIdentitySynchronizationRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MultiTenantOrganizationIdentitySyncPolicyTemplateable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -132,7 +126,7 @@ func (m *CrossTenantAccessPolicyTemplatesMultiTenantOrganizationIdentitySynchron requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the cross-tenant access policy template with user synchronization settings for a multitenant organization. +// ToGetRequestInformation defines an optional cross-tenant access policy template with user synchronization settings for a multi-tenant organization. // returns a *RequestInformation when successful func (m *CrossTenantAccessPolicyTemplatesMultiTenantOrganizationIdentitySynchronizationRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CrossTenantAccessPolicyTemplatesMultiTenantOrganizationIdentitySynchronizationRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -146,7 +140,7 @@ func (m *CrossTenantAccessPolicyTemplatesMultiTenantOrganizationIdentitySynchron requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the cross-tenant access policy template with user synchronization settings for a multi-tenant organization. +// ToPatchRequestInformation update the navigation property multiTenantOrganizationIdentitySynchronization in policies // returns a *RequestInformation when successful func (m *CrossTenantAccessPolicyTemplatesMultiTenantOrganizationIdentitySynchronizationRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MultiTenantOrganizationIdentitySyncPolicyTemplateable, requestConfiguration *CrossTenantAccessPolicyTemplatesMultiTenantOrganizationIdentitySynchronizationRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/cross_tenant_access_policy_templates_multi_tenant_organization_identity_synchronization_reset_to_default_settings_request_builder.go b/policies/cross_tenant_access_policy_templates_multi_tenant_organization_identity_synchronization_reset_to_default_settings_request_builder.go index 7e3d83a8ce6..9e4b158dac3 100644 --- a/policies/cross_tenant_access_policy_templates_multi_tenant_organization_identity_synchronization_reset_to_default_settings_request_builder.go +++ b/policies/cross_tenant_access_policy_templates_multi_tenant_organization_identity_synchronization_reset_to_default_settings_request_builder.go @@ -34,7 +34,7 @@ func NewCrossTenantAccessPolicyTemplatesMultiTenantOrganizationIdentitySynchroni // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/multitenantorganizationidentitysyncpolicytemplate-resettodefaultsettings?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/multitenantorganizationidentitysyncpolicytemplate-resettodefaultsettings?view=graph-rest-beta func (m *CrossTenantAccessPolicyTemplatesMultiTenantOrganizationIdentitySynchronizationResetToDefaultSettingsRequestBuilder) Post(ctx context.Context, requestConfiguration *CrossTenantAccessPolicyTemplatesMultiTenantOrganizationIdentitySynchronizationResetToDefaultSettingsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/policies/cross_tenant_access_policy_templates_multi_tenant_organization_partner_configuration_request_builder.go b/policies/cross_tenant_access_policy_templates_multi_tenant_organization_partner_configuration_request_builder.go index 98773a0d8e7..9e9de66c147 100644 --- a/policies/cross_tenant_access_policy_templates_multi_tenant_organization_partner_configuration_request_builder.go +++ b/policies/cross_tenant_access_policy_templates_multi_tenant_organization_partner_configuration_request_builder.go @@ -18,7 +18,7 @@ type CrossTenantAccessPolicyTemplatesMultiTenantOrganizationPartnerConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// CrossTenantAccessPolicyTemplatesMultiTenantOrganizationPartnerConfigurationRequestBuilderGetQueryParameters get the cross-tenant access policy template with inbound and outbound partner configuration settings for a multitenant organization. +// CrossTenantAccessPolicyTemplatesMultiTenantOrganizationPartnerConfigurationRequestBuilderGetQueryParameters defines an optional cross-tenant access policy template with inbound and outbound partner configuration settings for a multi-tenant organization. type CrossTenantAccessPolicyTemplatesMultiTenantOrganizationPartnerConfigurationRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *CrossTenantAccessPolicyTemplatesMultiTenantOrganizationPartnerConfigura } return nil } -// Get get the cross-tenant access policy template with inbound and outbound partner configuration settings for a multitenant organization. +// Get defines an optional cross-tenant access policy template with inbound and outbound partner configuration settings for a multi-tenant organization. // returns a MultiTenantOrganizationPartnerConfigurationTemplateable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/multitenantorganizationpartnerconfigurationtemplate-get?view=graph-rest-1.0 func (m *CrossTenantAccessPolicyTemplatesMultiTenantOrganizationPartnerConfigurationRequestBuilder) Get(ctx context.Context, requestConfiguration *CrossTenantAccessPolicyTemplatesMultiTenantOrganizationPartnerConfigurationRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MultiTenantOrganizationPartnerConfigurationTemplateable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *CrossTenantAccessPolicyTemplatesMultiTenantOrganizationPartnerConfigura } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MultiTenantOrganizationPartnerConfigurationTemplateable), nil } -// Patch update the cross-tenant access policy template with inbound and outbound partner configuration settings for a multitenant organization. +// Patch update the navigation property multiTenantOrganizationPartnerConfiguration in policies // returns a MultiTenantOrganizationPartnerConfigurationTemplateable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/multitenantorganizationpartnerconfigurationtemplate-update?view=graph-rest-1.0 func (m *CrossTenantAccessPolicyTemplatesMultiTenantOrganizationPartnerConfigurationRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MultiTenantOrganizationPartnerConfigurationTemplateable, requestConfiguration *CrossTenantAccessPolicyTemplatesMultiTenantOrganizationPartnerConfigurationRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MultiTenantOrganizationPartnerConfigurationTemplateable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -132,7 +126,7 @@ func (m *CrossTenantAccessPolicyTemplatesMultiTenantOrganizationPartnerConfigura requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the cross-tenant access policy template with inbound and outbound partner configuration settings for a multitenant organization. +// ToGetRequestInformation defines an optional cross-tenant access policy template with inbound and outbound partner configuration settings for a multi-tenant organization. // returns a *RequestInformation when successful func (m *CrossTenantAccessPolicyTemplatesMultiTenantOrganizationPartnerConfigurationRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CrossTenantAccessPolicyTemplatesMultiTenantOrganizationPartnerConfigurationRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -146,7 +140,7 @@ func (m *CrossTenantAccessPolicyTemplatesMultiTenantOrganizationPartnerConfigura requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the cross-tenant access policy template with inbound and outbound partner configuration settings for a multitenant organization. +// ToPatchRequestInformation update the navigation property multiTenantOrganizationPartnerConfiguration in policies // returns a *RequestInformation when successful func (m *CrossTenantAccessPolicyTemplatesMultiTenantOrganizationPartnerConfigurationRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MultiTenantOrganizationPartnerConfigurationTemplateable, requestConfiguration *CrossTenantAccessPolicyTemplatesMultiTenantOrganizationPartnerConfigurationRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/cross_tenant_access_policy_templates_multi_tenant_organization_partner_configuration_reset_to_default_settings_request_builder.go b/policies/cross_tenant_access_policy_templates_multi_tenant_organization_partner_configuration_reset_to_default_settings_request_builder.go index 2eea50ee2af..de4b2010188 100644 --- a/policies/cross_tenant_access_policy_templates_multi_tenant_organization_partner_configuration_reset_to_default_settings_request_builder.go +++ b/policies/cross_tenant_access_policy_templates_multi_tenant_organization_partner_configuration_reset_to_default_settings_request_builder.go @@ -34,7 +34,7 @@ func NewCrossTenantAccessPolicyTemplatesMultiTenantOrganizationPartnerConfigurat // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/multitenantorganizationpartnerconfigurationtemplate-resettodefaultsettings?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/multitenantorganizationpartnerconfigurationtemplate-resettodefaultsettings?view=graph-rest-beta func (m *CrossTenantAccessPolicyTemplatesMultiTenantOrganizationPartnerConfigurationResetToDefaultSettingsRequestBuilder) Post(ctx context.Context, requestConfiguration *CrossTenantAccessPolicyTemplatesMultiTenantOrganizationPartnerConfigurationResetToDefaultSettingsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/policies/default_app_management_policy_request_builder.go b/policies/default_app_management_policy_request_builder.go index e09fa4d95b1..652251dac58 100644 --- a/policies/default_app_management_policy_request_builder.go +++ b/policies/default_app_management_policy_request_builder.go @@ -18,7 +18,7 @@ type DefaultAppManagementPolicyRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DefaultAppManagementPolicyRequestBuilderGetQueryParameters read the properties of a tenantAppManagementPolicy object. +// DefaultAppManagementPolicyRequestBuilderGetQueryParameters the tenant-wide policy that enforces app management restrictions for all applications and service principals. type DefaultAppManagementPolicyRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *DefaultAppManagementPolicyRequestBuilder) Delete(ctx context.Context, r } return nil } -// Get read the properties of a tenantAppManagementPolicy object. +// Get the tenant-wide policy that enforces app management restrictions for all applications and service principals. // returns a TenantAppManagementPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/tenantappmanagementpolicy-get?view=graph-rest-1.0 func (m *DefaultAppManagementPolicyRequestBuilder) Get(ctx context.Context, requestConfiguration *DefaultAppManagementPolicyRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TenantAppManagementPolicyable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *DefaultAppManagementPolicyRequestBuilder) Get(ctx context.Context, requ } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TenantAppManagementPolicyable), nil } -// Patch update the properties of a tenantAppManagementPolicy object. +// Patch update the navigation property defaultAppManagementPolicy in policies // returns a TenantAppManagementPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/tenantappmanagementpolicy-update?view=graph-rest-1.0 func (m *DefaultAppManagementPolicyRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TenantAppManagementPolicyable, requestConfiguration *DefaultAppManagementPolicyRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TenantAppManagementPolicyable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *DefaultAppManagementPolicyRequestBuilder) ToDeleteRequestInformation(ct requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties of a tenantAppManagementPolicy object. +// ToGetRequestInformation the tenant-wide policy that enforces app management restrictions for all applications and service principals. // returns a *RequestInformation when successful func (m *DefaultAppManagementPolicyRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DefaultAppManagementPolicyRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *DefaultAppManagementPolicyRequestBuilder) ToGetRequestInformation(ctx c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a tenantAppManagementPolicy object. +// ToPatchRequestInformation update the navigation property defaultAppManagementPolicy in policies // returns a *RequestInformation when successful func (m *DefaultAppManagementPolicyRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TenantAppManagementPolicyable, requestConfiguration *DefaultAppManagementPolicyRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/device_registration_policy_request_builder.go b/policies/device_registration_policy_request_builder.go index edd6f07d47a..0c0f1f5e589 100644 --- a/policies/device_registration_policy_request_builder.go +++ b/policies/device_registration_policy_request_builder.go @@ -11,7 +11,7 @@ import ( type DeviceRegistrationPolicyRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeviceRegistrationPolicyRequestBuilderGetQueryParameters read the properties and relationships of a deviceRegistrationPolicy object. Represents deviceRegistrationPolicy quota restrictions, additional authentication, and authorization policies to register device identities to your organization. +// DeviceRegistrationPolicyRequestBuilderGetQueryParameters get deviceRegistrationPolicy from policies type DeviceRegistrationPolicyRequestBuilderGetQueryParameters struct { // Select properties to be returned Select []string `uriparametername:"%24select"` @@ -25,13 +25,6 @@ type DeviceRegistrationPolicyRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *DeviceRegistrationPolicyRequestBuilderGetQueryParameters } -// DeviceRegistrationPolicyRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type DeviceRegistrationPolicyRequestBuilderPatchRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} // NewDeviceRegistrationPolicyRequestBuilderInternal instantiates a new DeviceRegistrationPolicyRequestBuilder and sets the default values. func NewDeviceRegistrationPolicyRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*DeviceRegistrationPolicyRequestBuilder) { m := &DeviceRegistrationPolicyRequestBuilder{ @@ -45,12 +38,9 @@ func NewDeviceRegistrationPolicyRequestBuilder(rawUrl string, requestAdapter i2a urlParams["request-raw-url"] = rawUrl return NewDeviceRegistrationPolicyRequestBuilderInternal(urlParams, requestAdapter) } -// Get read the properties and relationships of a deviceRegistrationPolicy object. Represents deviceRegistrationPolicy quota restrictions, additional authentication, and authorization policies to register device identities to your organization. +// Get get deviceRegistrationPolicy from policies // returns a DeviceRegistrationPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/deviceregistrationpolicy-get?view=graph-rest-1.0 func (m *DeviceRegistrationPolicyRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceRegistrationPolicyRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceRegistrationPolicyable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -68,30 +58,7 @@ func (m *DeviceRegistrationPolicyRequestBuilder) Get(ctx context.Context, reques } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceRegistrationPolicyable), nil } -// Patch update the properties of a deviceRegistrationPolicy object. Represents deviceRegistrationPolicy quota restrictions, additional authentication, and authorization policies to register device identities to your organization. -// returns a DeviceRegistrationPolicyable when successful -// returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/deviceregistrationpolicy-update?view=graph-rest-1.0 -func (m *DeviceRegistrationPolicyRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceRegistrationPolicyable, requestConfiguration *DeviceRegistrationPolicyRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceRegistrationPolicyable, 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.CreateDeviceRegistrationPolicyFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceRegistrationPolicyable), nil -} -// ToGetRequestInformation read the properties and relationships of a deviceRegistrationPolicy object. Represents deviceRegistrationPolicy quota restrictions, additional authentication, and authorization policies to register device identities to your organization. +// ToGetRequestInformation get deviceRegistrationPolicy from policies // returns a *RequestInformation when successful func (m *DeviceRegistrationPolicyRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceRegistrationPolicyRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -105,21 +72,6 @@ func (m *DeviceRegistrationPolicyRequestBuilder) ToGetRequestInformation(ctx con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a deviceRegistrationPolicy object. Represents deviceRegistrationPolicy quota restrictions, additional authentication, and authorization policies to register device identities to your organization. -// returns a *RequestInformation when successful -func (m *DeviceRegistrationPolicyRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceRegistrationPolicyable, requestConfiguration *DeviceRegistrationPolicyRequestBuilderPatchRequestConfiguration)(*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 *DeviceRegistrationPolicyRequestBuilder when successful func (m *DeviceRegistrationPolicyRequestBuilder) WithUrl(rawUrl string)(*DeviceRegistrationPolicyRequestBuilder) { diff --git a/policies/external_identities_policy_request_builder.go b/policies/external_identities_policy_request_builder.go index 7400d99399e..117e2733588 100644 --- a/policies/external_identities_policy_request_builder.go +++ b/policies/external_identities_policy_request_builder.go @@ -18,7 +18,7 @@ type ExternalIdentitiesPolicyRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ExternalIdentitiesPolicyRequestBuilderGetQueryParameters read the properties and relationships of the tenant-wide externalIdentitiesPolicy object that controls whether external users can leave a Microsoft Entra tenant via self-service controls. +// ExternalIdentitiesPolicyRequestBuilderGetQueryParameters represents the tenant-wide policy that controls whether guests can leave a Microsoft Entra tenant via self-service controls. type ExternalIdentitiesPolicyRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ExternalIdentitiesPolicyRequestBuilder) Delete(ctx context.Context, req } return nil } -// Get read the properties and relationships of the tenant-wide externalIdentitiesPolicy object that controls whether external users can leave a Microsoft Entra tenant via self-service controls. +// Get represents the tenant-wide policy that controls whether guests can leave a Microsoft Entra tenant via self-service controls. // returns a ExternalIdentitiesPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/externalidentitiespolicy-get?view=graph-rest-1.0 func (m *ExternalIdentitiesPolicyRequestBuilder) Get(ctx context.Context, requestConfiguration *ExternalIdentitiesPolicyRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExternalIdentitiesPolicyable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *ExternalIdentitiesPolicyRequestBuilder) Get(ctx context.Context, reques } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExternalIdentitiesPolicyable), nil } -// Patch update the settings of the tenant-wide externalIdentitiesPolicy object that controls whether external users can leave a Microsoft Entra tenant via self-service controls. +// Patch update the navigation property externalIdentitiesPolicy in policies // returns a ExternalIdentitiesPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/externalidentitiespolicy-update?view=graph-rest-1.0 func (m *ExternalIdentitiesPolicyRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExternalIdentitiesPolicyable, requestConfiguration *ExternalIdentitiesPolicyRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExternalIdentitiesPolicyable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ExternalIdentitiesPolicyRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of the tenant-wide externalIdentitiesPolicy object that controls whether external users can leave a Microsoft Entra tenant via self-service controls. +// ToGetRequestInformation represents the tenant-wide policy that controls whether guests can leave a Microsoft Entra tenant via self-service controls. // returns a *RequestInformation when successful func (m *ExternalIdentitiesPolicyRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ExternalIdentitiesPolicyRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ExternalIdentitiesPolicyRequestBuilder) ToGetRequestInformation(ctx con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the settings of the tenant-wide externalIdentitiesPolicy object that controls whether external users can leave a Microsoft Entra tenant via self-service controls. +// ToPatchRequestInformation update the navigation property externalIdentitiesPolicy in policies // returns a *RequestInformation when successful func (m *ExternalIdentitiesPolicyRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExternalIdentitiesPolicyable, requestConfiguration *ExternalIdentitiesPolicyRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/feature_rollout_policies_feature_rollout_policy_item_request_builder.go b/policies/feature_rollout_policies_feature_rollout_policy_item_request_builder.go index 5122f136419..9f03cdc48d9 100644 --- a/policies/feature_rollout_policies_feature_rollout_policy_item_request_builder.go +++ b/policies/feature_rollout_policies_feature_rollout_policy_item_request_builder.go @@ -18,7 +18,7 @@ type FeatureRolloutPoliciesFeatureRolloutPolicyItemRequestBuilderDeleteRequestCo // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// FeatureRolloutPoliciesFeatureRolloutPolicyItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a featureRolloutPolicy object. +// FeatureRolloutPoliciesFeatureRolloutPolicyItemRequestBuilderGetQueryParameters the feature rollout policy associated with a directory object. type FeatureRolloutPoliciesFeatureRolloutPolicyItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewFeatureRolloutPoliciesFeatureRolloutPolicyItemRequestBuilder(rawUrl stri urlParams["request-raw-url"] = rawUrl return NewFeatureRolloutPoliciesFeatureRolloutPolicyItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a featureRolloutPolicy object. +// Delete delete navigation property featureRolloutPolicies for policies // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/featurerolloutpolicy-delete?view=graph-rest-1.0 func (m *FeatureRolloutPoliciesFeatureRolloutPolicyItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *FeatureRolloutPoliciesFeatureRolloutPolicyItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *FeatureRolloutPoliciesFeatureRolloutPolicyItemRequestBuilder) Delete(ct } return nil } -// Get retrieve the properties and relationships of a featureRolloutPolicy object. +// Get the feature rollout policy associated with a directory object. // returns a FeatureRolloutPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/featurerolloutpolicy-get?view=graph-rest-1.0 func (m *FeatureRolloutPoliciesFeatureRolloutPolicyItemRequestBuilder) Get(ctx context.Context, requestConfiguration *FeatureRolloutPoliciesFeatureRolloutPolicyItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FeatureRolloutPolicyable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,12 +95,9 @@ func (m *FeatureRolloutPoliciesFeatureRolloutPolicyItemRequestBuilder) Get(ctx c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FeatureRolloutPolicyable), nil } -// Patch update the properties of featureRolloutPolicy object. +// Patch update the navigation property featureRolloutPolicies in policies // returns a FeatureRolloutPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/featurerolloutpolicy-update?view=graph-rest-1.0 func (m *FeatureRolloutPoliciesFeatureRolloutPolicyItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FeatureRolloutPolicyable, requestConfiguration *FeatureRolloutPoliciesFeatureRolloutPolicyItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FeatureRolloutPolicyable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -124,7 +115,7 @@ func (m *FeatureRolloutPoliciesFeatureRolloutPolicyItemRequestBuilder) Patch(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FeatureRolloutPolicyable), nil } -// ToDeleteRequestInformation delete a featureRolloutPolicy object. +// ToDeleteRequestInformation delete navigation property featureRolloutPolicies for policies // returns a *RequestInformation when successful func (m *FeatureRolloutPoliciesFeatureRolloutPolicyItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *FeatureRolloutPoliciesFeatureRolloutPolicyItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -135,7 +126,7 @@ func (m *FeatureRolloutPoliciesFeatureRolloutPolicyItemRequestBuilder) ToDeleteR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a featureRolloutPolicy object. +// ToGetRequestInformation the feature rollout policy associated with a directory object. // returns a *RequestInformation when successful func (m *FeatureRolloutPoliciesFeatureRolloutPolicyItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FeatureRolloutPoliciesFeatureRolloutPolicyItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -149,7 +140,7 @@ func (m *FeatureRolloutPoliciesFeatureRolloutPolicyItemRequestBuilder) ToGetRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of featureRolloutPolicy object. +// ToPatchRequestInformation update the navigation property featureRolloutPolicies in policies // returns a *RequestInformation when successful func (m *FeatureRolloutPoliciesFeatureRolloutPolicyItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FeatureRolloutPolicyable, requestConfiguration *FeatureRolloutPoliciesFeatureRolloutPolicyItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/feature_rollout_policies_item_applies_to_item_ref_request_builder.go b/policies/feature_rollout_policies_item_applies_to_item_ref_request_builder.go index 75dc486b01d..e3d285425d8 100644 --- a/policies/feature_rollout_policies_item_applies_to_item_ref_request_builder.go +++ b/policies/feature_rollout_policies_item_applies_to_item_ref_request_builder.go @@ -30,11 +30,8 @@ func NewFeatureRolloutPoliciesItemAppliesToItemRefRequestBuilder(rawUrl string, urlParams["request-raw-url"] = rawUrl return NewFeatureRolloutPoliciesItemAppliesToItemRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove an appliesTo on a featureRolloutPolicy object to remove the directoryObject from feature rollout. +// Delete delete ref of navigation property appliesTo for policies // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/featurerolloutpolicy-delete-appliesto?view=graph-rest-1.0 func (m *FeatureRolloutPoliciesItemAppliesToItemRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *FeatureRolloutPoliciesItemAppliesToItemRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -49,7 +46,7 @@ func (m *FeatureRolloutPoliciesItemAppliesToItemRefRequestBuilder) Delete(ctx co } return nil } -// ToDeleteRequestInformation remove an appliesTo on a featureRolloutPolicy object to remove the directoryObject from feature rollout. +// ToDeleteRequestInformation delete ref of navigation property appliesTo for policies // returns a *RequestInformation when successful func (m *FeatureRolloutPoliciesItemAppliesToItemRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *FeatureRolloutPoliciesItemAppliesToItemRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/feature_rollout_policies_item_applies_to_ref_request_builder.go b/policies/feature_rollout_policies_item_applies_to_ref_request_builder.go index c0ba2016cc2..73ab5e69d7a 100644 --- a/policies/feature_rollout_policies_item_applies_to_ref_request_builder.go +++ b/policies/feature_rollout_policies_item_applies_to_ref_request_builder.go @@ -11,7 +11,7 @@ import ( type FeatureRolloutPoliciesItemAppliesToRefRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// FeatureRolloutPoliciesItemAppliesToRefRequestBuilderDeleteQueryParameters remove an appliesTo on a featureRolloutPolicy object to remove the directoryObject from feature rollout. +// FeatureRolloutPoliciesItemAppliesToRefRequestBuilderDeleteQueryParameters delete ref of navigation property appliesTo for policies type FeatureRolloutPoliciesItemAppliesToRefRequestBuilderDeleteQueryParameters struct { // The delete Uri Id *string `uriparametername:"%40id"` @@ -69,11 +69,8 @@ func NewFeatureRolloutPoliciesItemAppliesToRefRequestBuilder(rawUrl string, requ urlParams["request-raw-url"] = rawUrl return NewFeatureRolloutPoliciesItemAppliesToRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove an appliesTo on a featureRolloutPolicy object to remove the directoryObject from feature rollout. +// Delete delete ref of navigation property appliesTo for policies // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/featurerolloutpolicy-delete-appliesto?view=graph-rest-1.0 func (m *FeatureRolloutPoliciesItemAppliesToRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *FeatureRolloutPoliciesItemAppliesToRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -108,11 +105,8 @@ func (m *FeatureRolloutPoliciesItemAppliesToRefRequestBuilder) Get(ctx context.C } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable), nil } -// Post add an appliesTo on a featureRolloutPolicy object to specify the directoryObject to which the featureRolloutPolicy should be applied. +// Post create new navigation property ref to appliesTo for policies // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/featurerolloutpolicy-post-appliesto?view=graph-rest-1.0 func (m *FeatureRolloutPoliciesItemAppliesToRefRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *FeatureRolloutPoliciesItemAppliesToRefRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *FeatureRolloutPoliciesItemAppliesToRefRequestBuilder) Post(ctx context. } return nil } -// ToDeleteRequestInformation remove an appliesTo on a featureRolloutPolicy object to remove the directoryObject from feature rollout. +// ToDeleteRequestInformation delete ref of navigation property appliesTo for policies // returns a *RequestInformation when successful func (m *FeatureRolloutPoliciesItemAppliesToRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *FeatureRolloutPoliciesItemAppliesToRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, "{+baseurl}/policies/featureRolloutPolicies/{featureRolloutPolicy%2Did}/appliesTo/$ref?@id={%40id}", m.BaseRequestBuilder.PathParameters) @@ -155,7 +149,7 @@ func (m *FeatureRolloutPoliciesItemAppliesToRefRequestBuilder) ToGetRequestInfor requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add an appliesTo on a featureRolloutPolicy object to specify the directoryObject to which the featureRolloutPolicy should be applied. +// ToPostRequestInformation create new navigation property ref to appliesTo for policies // returns a *RequestInformation when successful func (m *FeatureRolloutPoliciesItemAppliesToRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *FeatureRolloutPoliciesItemAppliesToRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/policies/featureRolloutPolicies/{featureRolloutPolicy%2Did}/appliesTo/$ref", m.BaseRequestBuilder.PathParameters) diff --git a/policies/feature_rollout_policies_item_applies_to_request_builder.go b/policies/feature_rollout_policies_item_applies_to_request_builder.go index 7a0e9a7bf2e..da1ac20448f 100644 --- a/policies/feature_rollout_policies_item_applies_to_request_builder.go +++ b/policies/feature_rollout_policies_item_applies_to_request_builder.go @@ -96,12 +96,9 @@ func (m *FeatureRolloutPoliciesItemAppliesToRequestBuilder) Get(ctx context.Cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectCollectionResponseable), nil } -// Post add an appliesTo on a featureRolloutPolicy object to specify the directoryObject to which the featureRolloutPolicy should be applied. +// Post create new navigation property to appliesTo for policies // returns a DirectoryObjectable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/featurerolloutpolicy-post-appliesto?view=graph-rest-1.0 func (m *FeatureRolloutPoliciesItemAppliesToRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable, requestConfiguration *FeatureRolloutPoliciesItemAppliesToRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -138,7 +135,7 @@ func (m *FeatureRolloutPoliciesItemAppliesToRequestBuilder) ToGetRequestInformat requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add an appliesTo on a featureRolloutPolicy object to specify the directoryObject to which the featureRolloutPolicy should be applied. +// ToPostRequestInformation create new navigation property to appliesTo for policies // returns a *RequestInformation when successful func (m *FeatureRolloutPoliciesItemAppliesToRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable, requestConfiguration *FeatureRolloutPoliciesItemAppliesToRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/feature_rollout_policies_request_builder.go b/policies/feature_rollout_policies_request_builder.go index df7a0ad9cf0..474a5489d17 100644 --- a/policies/feature_rollout_policies_request_builder.go +++ b/policies/feature_rollout_policies_request_builder.go @@ -11,7 +11,7 @@ import ( type FeatureRolloutPoliciesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// FeatureRolloutPoliciesRequestBuilderGetQueryParameters retrieve a list of featureRolloutPolicy objects. +// FeatureRolloutPoliciesRequestBuilderGetQueryParameters the feature rollout policy associated with a directory object. type FeatureRolloutPoliciesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewFeatureRolloutPoliciesRequestBuilder(rawUrl string, requestAdapter i2ae4 func (m *FeatureRolloutPoliciesRequestBuilder) Count()(*FeatureRolloutPoliciesCountRequestBuilder) { return NewFeatureRolloutPoliciesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of featureRolloutPolicy objects. +// Get the feature rollout policy associated with a directory object. // returns a FeatureRolloutPolicyCollectionResponseable when successful // returns a ODataError error 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-featurerolloutpolicies?view=graph-rest-1.0 func (m *FeatureRolloutPoliciesRequestBuilder) Get(ctx context.Context, requestConfiguration *FeatureRolloutPoliciesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FeatureRolloutPolicyCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *FeatureRolloutPoliciesRequestBuilder) Get(ctx context.Context, requestC } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FeatureRolloutPolicyCollectionResponseable), nil } -// Post create a new featureRolloutPolicy object. +// Post create new navigation property to featureRolloutPolicies for policies // returns a FeatureRolloutPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/post-featurerolloutpolicies?view=graph-rest-1.0 func (m *FeatureRolloutPoliciesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FeatureRolloutPolicyable, requestConfiguration *FeatureRolloutPoliciesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FeatureRolloutPolicyable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *FeatureRolloutPoliciesRequestBuilder) Post(ctx context.Context, body ie } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FeatureRolloutPolicyable), nil } -// ToGetRequestInformation retrieve a list of featureRolloutPolicy objects. +// ToGetRequestInformation the feature rollout policy associated with a directory object. // returns a *RequestInformation when successful func (m *FeatureRolloutPoliciesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FeatureRolloutPoliciesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *FeatureRolloutPoliciesRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new featureRolloutPolicy object. +// ToPostRequestInformation create new navigation property to featureRolloutPolicies for policies // returns a *RequestInformation when successful func (m *FeatureRolloutPoliciesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FeatureRolloutPolicyable, requestConfiguration *FeatureRolloutPoliciesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/federated_token_validation_policy_request_builder.go b/policies/federated_token_validation_policy_request_builder.go index 23b45d0c19f..7a0279d1590 100644 --- a/policies/federated_token_validation_policy_request_builder.go +++ b/policies/federated_token_validation_policy_request_builder.go @@ -18,7 +18,7 @@ type FederatedTokenValidationPolicyRequestBuilderDeleteRequestConfiguration stru // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// FederatedTokenValidationPolicyRequestBuilderGetQueryParameters get a list of the federatedTokenValidationPolicy objects and their properties. +// FederatedTokenValidationPolicyRequestBuilderGetQueryParameters represents a policy to control enabling or disabling validation of federation authentication tokens. type FederatedTokenValidationPolicyRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *FederatedTokenValidationPolicyRequestBuilder) Delete(ctx context.Contex } return nil } -// Get get a list of the federatedTokenValidationPolicy objects and their properties. +// Get represents a policy to control enabling or disabling validation of federation authentication tokens. // returns a FederatedTokenValidationPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/policyroot-list-federatedtokenvalidationpolicy?view=graph-rest-1.0 func (m *FederatedTokenValidationPolicyRequestBuilder) Get(ctx context.Context, requestConfiguration *FederatedTokenValidationPolicyRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FederatedTokenValidationPolicyable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *FederatedTokenValidationPolicyRequestBuilder) Get(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FederatedTokenValidationPolicyable), nil } -// Patch update the properties of a federatedTokenValidationPolicy object. +// Patch update the navigation property federatedTokenValidationPolicy in policies // returns a FederatedTokenValidationPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/federatedtokenvalidationpolicy-update?view=graph-rest-1.0 func (m *FederatedTokenValidationPolicyRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FederatedTokenValidationPolicyable, requestConfiguration *FederatedTokenValidationPolicyRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FederatedTokenValidationPolicyable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *FederatedTokenValidationPolicyRequestBuilder) ToDeleteRequestInformatio requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a list of the federatedTokenValidationPolicy objects and their properties. +// ToGetRequestInformation represents a policy to control enabling or disabling validation of federation authentication tokens. // returns a *RequestInformation when successful func (m *FederatedTokenValidationPolicyRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FederatedTokenValidationPolicyRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *FederatedTokenValidationPolicyRequestBuilder) ToGetRequestInformation(c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a federatedTokenValidationPolicy object. +// ToPatchRequestInformation update the navigation property federatedTokenValidationPolicy in policies // returns a *RequestInformation when successful func (m *FederatedTokenValidationPolicyRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FederatedTokenValidationPolicyable, requestConfiguration *FederatedTokenValidationPolicyRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/home_realm_discovery_policies_home_realm_discovery_policy_item_request_builder.go b/policies/home_realm_discovery_policies_home_realm_discovery_policy_item_request_builder.go index d8030a05ba4..f6bf9456f56 100644 --- a/policies/home_realm_discovery_policies_home_realm_discovery_policy_item_request_builder.go +++ b/policies/home_realm_discovery_policies_home_realm_discovery_policy_item_request_builder.go @@ -18,7 +18,7 @@ type HomeRealmDiscoveryPoliciesHomeRealmDiscoveryPolicyItemRequestBuilderDeleteR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// HomeRealmDiscoveryPoliciesHomeRealmDiscoveryPolicyItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a homeRealmDiscoveryPolicy object. +// HomeRealmDiscoveryPoliciesHomeRealmDiscoveryPolicyItemRequestBuilderGetQueryParameters the policy to control Microsoft Entra authentication behavior for federated users. type HomeRealmDiscoveryPoliciesHomeRealmDiscoveryPolicyItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewHomeRealmDiscoveryPoliciesHomeRealmDiscoveryPolicyItemRequestBuilder(raw urlParams["request-raw-url"] = rawUrl return NewHomeRealmDiscoveryPoliciesHomeRealmDiscoveryPolicyItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a homeRealmDiscoveryPolicy object. +// Delete delete navigation property homeRealmDiscoveryPolicies for policies // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/homerealmdiscoverypolicy-delete?view=graph-rest-1.0 func (m *HomeRealmDiscoveryPoliciesHomeRealmDiscoveryPolicyItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *HomeRealmDiscoveryPoliciesHomeRealmDiscoveryPolicyItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *HomeRealmDiscoveryPoliciesHomeRealmDiscoveryPolicyItemRequestBuilder) D } return nil } -// Get retrieve the properties and relationships of a homeRealmDiscoveryPolicy object. +// Get the policy to control Microsoft Entra authentication behavior for federated users. // returns a HomeRealmDiscoveryPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/homerealmdiscoverypolicy-get?view=graph-rest-1.0 func (m *HomeRealmDiscoveryPoliciesHomeRealmDiscoveryPolicyItemRequestBuilder) Get(ctx context.Context, requestConfiguration *HomeRealmDiscoveryPoliciesHomeRealmDiscoveryPolicyItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HomeRealmDiscoveryPolicyable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,12 +95,9 @@ func (m *HomeRealmDiscoveryPoliciesHomeRealmDiscoveryPolicyItemRequestBuilder) G } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HomeRealmDiscoveryPolicyable), nil } -// Patch update the properties of a homeRealmDiscoveryPolicy object. +// Patch update the navigation property homeRealmDiscoveryPolicies in policies // returns a HomeRealmDiscoveryPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/homerealmdiscoverypolicy-update?view=graph-rest-1.0 func (m *HomeRealmDiscoveryPoliciesHomeRealmDiscoveryPolicyItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HomeRealmDiscoveryPolicyable, requestConfiguration *HomeRealmDiscoveryPoliciesHomeRealmDiscoveryPolicyItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HomeRealmDiscoveryPolicyable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -124,7 +115,7 @@ func (m *HomeRealmDiscoveryPoliciesHomeRealmDiscoveryPolicyItemRequestBuilder) P } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HomeRealmDiscoveryPolicyable), nil } -// ToDeleteRequestInformation delete a homeRealmDiscoveryPolicy object. +// ToDeleteRequestInformation delete navigation property homeRealmDiscoveryPolicies for policies // returns a *RequestInformation when successful func (m *HomeRealmDiscoveryPoliciesHomeRealmDiscoveryPolicyItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *HomeRealmDiscoveryPoliciesHomeRealmDiscoveryPolicyItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -135,7 +126,7 @@ func (m *HomeRealmDiscoveryPoliciesHomeRealmDiscoveryPolicyItemRequestBuilder) T requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a homeRealmDiscoveryPolicy object. +// ToGetRequestInformation the policy to control Microsoft Entra authentication behavior for federated users. // returns a *RequestInformation when successful func (m *HomeRealmDiscoveryPoliciesHomeRealmDiscoveryPolicyItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *HomeRealmDiscoveryPoliciesHomeRealmDiscoveryPolicyItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -149,7 +140,7 @@ func (m *HomeRealmDiscoveryPoliciesHomeRealmDiscoveryPolicyItemRequestBuilder) T requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a homeRealmDiscoveryPolicy object. +// ToPatchRequestInformation update the navigation property homeRealmDiscoveryPolicies in policies // returns a *RequestInformation when successful func (m *HomeRealmDiscoveryPoliciesHomeRealmDiscoveryPolicyItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HomeRealmDiscoveryPolicyable, requestConfiguration *HomeRealmDiscoveryPoliciesHomeRealmDiscoveryPolicyItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/home_realm_discovery_policies_request_builder.go b/policies/home_realm_discovery_policies_request_builder.go index 708af99c7c0..cd2d5aeac9c 100644 --- a/policies/home_realm_discovery_policies_request_builder.go +++ b/policies/home_realm_discovery_policies_request_builder.go @@ -11,7 +11,7 @@ import ( type HomeRealmDiscoveryPoliciesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// HomeRealmDiscoveryPoliciesRequestBuilderGetQueryParameters get a list of homeRealmDiscoveryPolicy objects. +// HomeRealmDiscoveryPoliciesRequestBuilderGetQueryParameters the policy to control Microsoft Entra authentication behavior for federated users. type HomeRealmDiscoveryPoliciesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewHomeRealmDiscoveryPoliciesRequestBuilder(rawUrl string, requestAdapter i func (m *HomeRealmDiscoveryPoliciesRequestBuilder) Count()(*HomeRealmDiscoveryPoliciesCountRequestBuilder) { return NewHomeRealmDiscoveryPoliciesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of homeRealmDiscoveryPolicy objects. +// Get the policy to control Microsoft Entra authentication behavior for federated users. // returns a HomeRealmDiscoveryPolicyCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/homerealmdiscoverypolicy-list?view=graph-rest-1.0 func (m *HomeRealmDiscoveryPoliciesRequestBuilder) Get(ctx context.Context, requestConfiguration *HomeRealmDiscoveryPoliciesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HomeRealmDiscoveryPolicyCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *HomeRealmDiscoveryPoliciesRequestBuilder) Get(ctx context.Context, requ } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HomeRealmDiscoveryPolicyCollectionResponseable), nil } -// Post create a new homeRealmDiscoveryPolicy object. +// Post create new navigation property to homeRealmDiscoveryPolicies for policies // returns a HomeRealmDiscoveryPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/homerealmdiscoverypolicy-post-homerealmdiscoverypolicies?view=graph-rest-1.0 func (m *HomeRealmDiscoveryPoliciesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HomeRealmDiscoveryPolicyable, requestConfiguration *HomeRealmDiscoveryPoliciesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HomeRealmDiscoveryPolicyable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *HomeRealmDiscoveryPoliciesRequestBuilder) Post(ctx context.Context, bod } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HomeRealmDiscoveryPolicyable), nil } -// ToGetRequestInformation get a list of homeRealmDiscoveryPolicy objects. +// ToGetRequestInformation the policy to control Microsoft Entra authentication behavior for federated users. // returns a *RequestInformation when successful func (m *HomeRealmDiscoveryPoliciesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *HomeRealmDiscoveryPoliciesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *HomeRealmDiscoveryPoliciesRequestBuilder) ToGetRequestInformation(ctx c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new homeRealmDiscoveryPolicy object. +// ToPostRequestInformation create new navigation property to homeRealmDiscoveryPolicies for policies // returns a *RequestInformation when successful func (m *HomeRealmDiscoveryPoliciesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HomeRealmDiscoveryPolicyable, requestConfiguration *HomeRealmDiscoveryPoliciesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/identity_security_defaults_enforcement_policy_request_builder.go b/policies/identity_security_defaults_enforcement_policy_request_builder.go index df98f1b47e4..530f7e29233 100644 --- a/policies/identity_security_defaults_enforcement_policy_request_builder.go +++ b/policies/identity_security_defaults_enforcement_policy_request_builder.go @@ -18,7 +18,7 @@ type IdentitySecurityDefaultsEnforcementPolicyRequestBuilderDeleteRequestConfigu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// IdentitySecurityDefaultsEnforcementPolicyRequestBuilderGetQueryParameters retrieve the properties of an identitySecurityDefaultsEnforcementPolicy object. +// IdentitySecurityDefaultsEnforcementPolicyRequestBuilderGetQueryParameters the policy that represents the security defaults that protect against common attacks. type IdentitySecurityDefaultsEnforcementPolicyRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *IdentitySecurityDefaultsEnforcementPolicyRequestBuilder) Delete(ctx con } return nil } -// Get retrieve the properties of an identitySecurityDefaultsEnforcementPolicy object. +// Get the policy that represents the security defaults that protect against common attacks. // returns a IdentitySecurityDefaultsEnforcementPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identitysecuritydefaultsenforcementpolicy-get?view=graph-rest-1.0 func (m *IdentitySecurityDefaultsEnforcementPolicyRequestBuilder) Get(ctx context.Context, requestConfiguration *IdentitySecurityDefaultsEnforcementPolicyRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentitySecurityDefaultsEnforcementPolicyable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *IdentitySecurityDefaultsEnforcementPolicyRequestBuilder) Get(ctx contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentitySecurityDefaultsEnforcementPolicyable), nil } -// Patch update the properties of an identitySecurityDefaultsEnforcementPolicy object. +// Patch update the navigation property identitySecurityDefaultsEnforcementPolicy in policies // returns a IdentitySecurityDefaultsEnforcementPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/identitysecuritydefaultsenforcementpolicy-update?view=graph-rest-1.0 func (m *IdentitySecurityDefaultsEnforcementPolicyRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentitySecurityDefaultsEnforcementPolicyable, requestConfiguration *IdentitySecurityDefaultsEnforcementPolicyRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentitySecurityDefaultsEnforcementPolicyable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *IdentitySecurityDefaultsEnforcementPolicyRequestBuilder) ToDeleteReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties of an identitySecurityDefaultsEnforcementPolicy object. +// ToGetRequestInformation the policy that represents the security defaults that protect against common attacks. // returns a *RequestInformation when successful func (m *IdentitySecurityDefaultsEnforcementPolicyRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IdentitySecurityDefaultsEnforcementPolicyRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *IdentitySecurityDefaultsEnforcementPolicyRequestBuilder) ToGetRequestIn requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an identitySecurityDefaultsEnforcementPolicy object. +// ToPatchRequestInformation update the navigation property identitySecurityDefaultsEnforcementPolicy in policies // returns a *RequestInformation when successful func (m *IdentitySecurityDefaultsEnforcementPolicyRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentitySecurityDefaultsEnforcementPolicyable, requestConfiguration *IdentitySecurityDefaultsEnforcementPolicyRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/mobile_app_management_policies_item_included_groups_item_ref_request_builder.go b/policies/mobile_app_management_policies_item_included_groups_item_ref_request_builder.go index ba989173faf..0dc7e818b35 100644 --- a/policies/mobile_app_management_policies_item_included_groups_item_ref_request_builder.go +++ b/policies/mobile_app_management_policies_item_included_groups_item_ref_request_builder.go @@ -30,11 +30,8 @@ func NewMobileAppManagementPoliciesItemIncludedGroupsItemRefRequestBuilder(rawUr urlParams["request-raw-url"] = rawUrl return NewMobileAppManagementPoliciesItemIncludedGroupsItemRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a group from the list of groups included in a mobile app management policy. +// Delete delete ref of navigation property includedGroups for policies // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/mobileappmanagementpolicies-delete-includedgroups?view=graph-rest-1.0 func (m *MobileAppManagementPoliciesItemIncludedGroupsItemRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *MobileAppManagementPoliciesItemIncludedGroupsItemRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -49,7 +46,7 @@ func (m *MobileAppManagementPoliciesItemIncludedGroupsItemRefRequestBuilder) Del } return nil } -// ToDeleteRequestInformation delete a group from the list of groups included in a mobile app management policy. +// ToDeleteRequestInformation delete ref of navigation property includedGroups for policies // returns a *RequestInformation when successful func (m *MobileAppManagementPoliciesItemIncludedGroupsItemRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *MobileAppManagementPoliciesItemIncludedGroupsItemRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/mobile_app_management_policies_item_included_groups_ref_request_builder.go b/policies/mobile_app_management_policies_item_included_groups_ref_request_builder.go index 5a7b0d4cf7c..c888bae5bdb 100644 --- a/policies/mobile_app_management_policies_item_included_groups_ref_request_builder.go +++ b/policies/mobile_app_management_policies_item_included_groups_ref_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppManagementPoliciesItemIncludedGroupsRefRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppManagementPoliciesItemIncludedGroupsRefRequestBuilderDeleteQueryParameters delete a group from the list of groups included in a mobile app management policy. +// MobileAppManagementPoliciesItemIncludedGroupsRefRequestBuilderDeleteQueryParameters delete ref of navigation property includedGroups for policies type MobileAppManagementPoliciesItemIncludedGroupsRefRequestBuilderDeleteQueryParameters struct { // The delete Uri Id *string `uriparametername:"%40id"` @@ -25,7 +25,7 @@ type MobileAppManagementPoliciesItemIncludedGroupsRefRequestBuilderDeleteRequest // Request query parameters QueryParameters *MobileAppManagementPoliciesItemIncludedGroupsRefRequestBuilderDeleteQueryParameters } -// MobileAppManagementPoliciesItemIncludedGroupsRefRequestBuilderGetQueryParameters get the list of groups that are included in a mobile app management policy. +// MobileAppManagementPoliciesItemIncludedGroupsRefRequestBuilderGetQueryParameters microsoft Entra groups under the scope of the mobility management application if appliesTo is selected type MobileAppManagementPoliciesItemIncludedGroupsRefRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,11 +69,8 @@ func NewMobileAppManagementPoliciesItemIncludedGroupsRefRequestBuilder(rawUrl st urlParams["request-raw-url"] = rawUrl return NewMobileAppManagementPoliciesItemIncludedGroupsRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a group from the list of groups included in a mobile app management policy. +// Delete delete ref of navigation property includedGroups for policies // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/mobileappmanagementpolicies-delete-includedgroups?view=graph-rest-1.0 func (m *MobileAppManagementPoliciesItemIncludedGroupsRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *MobileAppManagementPoliciesItemIncludedGroupsRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -88,12 +85,9 @@ func (m *MobileAppManagementPoliciesItemIncludedGroupsRefRequestBuilder) Delete( } return nil } -// Get get the list of groups that are included in a mobile app management policy. +// Get microsoft Entra groups under the scope of the mobility management application if appliesTo is selected // returns a StringCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/mobileappmanagementpolicies-list-includedgroups?view=graph-rest-1.0 func (m *MobileAppManagementPoliciesItemIncludedGroupsRefRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppManagementPoliciesItemIncludedGroupsRefRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -111,11 +105,8 @@ func (m *MobileAppManagementPoliciesItemIncludedGroupsRefRequestBuilder) Get(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable), nil } -// Post add groups to be included in a mobile app management policy. +// Post create new navigation property ref to includedGroups for policies // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/mobileappmanagementpolicies-post-includedgroups?view=graph-rest-1.0 func (m *MobileAppManagementPoliciesItemIncludedGroupsRefRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *MobileAppManagementPoliciesItemIncludedGroupsRefRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -130,7 +121,7 @@ func (m *MobileAppManagementPoliciesItemIncludedGroupsRefRequestBuilder) Post(ct } return nil } -// ToDeleteRequestInformation delete a group from the list of groups included in a mobile app management policy. +// ToDeleteRequestInformation delete ref of navigation property includedGroups for policies // returns a *RequestInformation when successful func (m *MobileAppManagementPoliciesItemIncludedGroupsRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *MobileAppManagementPoliciesItemIncludedGroupsRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, "{+baseurl}/policies/mobileAppManagementPolicies/{mobilityManagementPolicy%2Did}/includedGroups/$ref?@id={%40id}", m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *MobileAppManagementPoliciesItemIncludedGroupsRefRequestBuilder) ToDelet requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the list of groups that are included in a mobile app management policy. +// ToGetRequestInformation microsoft Entra groups under the scope of the mobility management application if appliesTo is selected // returns a *RequestInformation when successful func (m *MobileAppManagementPoliciesItemIncludedGroupsRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppManagementPoliciesItemIncludedGroupsRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/policies/mobileAppManagementPolicies/{mobilityManagementPolicy%2Did}/includedGroups/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) @@ -158,7 +149,7 @@ func (m *MobileAppManagementPoliciesItemIncludedGroupsRefRequestBuilder) ToGetRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add groups to be included in a mobile app management policy. +// ToPostRequestInformation create new navigation property ref to includedGroups for policies // returns a *RequestInformation when successful func (m *MobileAppManagementPoliciesItemIncludedGroupsRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *MobileAppManagementPoliciesItemIncludedGroupsRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/policies/mobileAppManagementPolicies/{mobilityManagementPolicy%2Did}/includedGroups/$ref", m.BaseRequestBuilder.PathParameters) diff --git a/policies/mobile_app_management_policies_item_included_groups_request_builder.go b/policies/mobile_app_management_policies_item_included_groups_request_builder.go index 59f35a58823..e745c2fb937 100644 --- a/policies/mobile_app_management_policies_item_included_groups_request_builder.go +++ b/policies/mobile_app_management_policies_item_included_groups_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppManagementPoliciesItemIncludedGroupsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppManagementPoliciesItemIncludedGroupsRequestBuilderGetQueryParameters get the list of groups that are included in a mobile app management policy. +// MobileAppManagementPoliciesItemIncludedGroupsRequestBuilderGetQueryParameters microsoft Entra groups under the scope of the mobility management application if appliesTo is selected type MobileAppManagementPoliciesItemIncludedGroupsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewMobileAppManagementPoliciesItemIncludedGroupsRequestBuilder(rawUrl strin func (m *MobileAppManagementPoliciesItemIncludedGroupsRequestBuilder) Count()(*MobileAppManagementPoliciesItemIncludedGroupsCountRequestBuilder) { return NewMobileAppManagementPoliciesItemIncludedGroupsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of groups that are included in a mobile app management policy. +// Get microsoft Entra groups under the scope of the mobility management application if appliesTo is selected // returns a GroupCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/mobileappmanagementpolicies-list-includedgroups?view=graph-rest-1.0 func (m *MobileAppManagementPoliciesItemIncludedGroupsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppManagementPoliciesItemIncludedGroupsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.GroupCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -97,7 +94,7 @@ func (m *MobileAppManagementPoliciesItemIncludedGroupsRequestBuilder) Get(ctx co func (m *MobileAppManagementPoliciesItemIncludedGroupsRequestBuilder) Ref()(*MobileAppManagementPoliciesItemIncludedGroupsRefRequestBuilder) { return NewMobileAppManagementPoliciesItemIncludedGroupsRefRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation get the list of groups that are included in a mobile app management policy. +// ToGetRequestInformation microsoft Entra groups under the scope of the mobility management application if appliesTo is selected // returns a *RequestInformation when successful func (m *MobileAppManagementPoliciesItemIncludedGroupsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppManagementPoliciesItemIncludedGroupsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/mobile_app_management_policies_mobility_management_policy_item_request_builder.go b/policies/mobile_app_management_policies_mobility_management_policy_item_request_builder.go index df736570702..d7b942d4bfe 100644 --- a/policies/mobile_app_management_policies_mobility_management_policy_item_request_builder.go +++ b/policies/mobile_app_management_policies_mobility_management_policy_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppManagementPoliciesMobilityManagementPolicyItemRequestBuilderDelete // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppManagementPoliciesMobilityManagementPolicyItemRequestBuilderGetQueryParameters read the properties and relationships of a mobilityManagementPolicy object. +// MobileAppManagementPoliciesMobilityManagementPolicyItemRequestBuilderGetQueryParameters the policy that defines autoenrollment configuration for a mobility management (MDM or MAM) application. type MobileAppManagementPoliciesMobilityManagementPolicyItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewMobileAppManagementPoliciesMobilityManagementPolicyItemRequestBuilder(ra urlParams["request-raw-url"] = rawUrl return NewMobileAppManagementPoliciesMobilityManagementPolicyItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a mobilityManagementPolicy object. +// Delete delete navigation property mobileAppManagementPolicies for policies // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/mobileappmanagementpolicies-delete?view=graph-rest-1.0 func (m *MobileAppManagementPoliciesMobilityManagementPolicyItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *MobileAppManagementPoliciesMobilityManagementPolicyItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *MobileAppManagementPoliciesMobilityManagementPolicyItemRequestBuilder) } return nil } -// Get read the properties and relationships of a mobilityManagementPolicy object. +// Get the policy that defines autoenrollment configuration for a mobility management (MDM or MAM) application. // returns a MobilityManagementPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/mobileappmanagementpolicies-get?view=graph-rest-1.0 func (m *MobileAppManagementPoliciesMobilityManagementPolicyItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppManagementPoliciesMobilityManagementPolicyItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobilityManagementPolicyable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,12 +95,9 @@ func (m *MobileAppManagementPoliciesMobilityManagementPolicyItemRequestBuilder) func (m *MobileAppManagementPoliciesMobilityManagementPolicyItemRequestBuilder) IncludedGroups()(*MobileAppManagementPoliciesItemIncludedGroupsRequestBuilder) { return NewMobileAppManagementPoliciesItemIncludedGroupsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of a mobilityManagementPolicy object. +// Patch update the navigation property mobileAppManagementPolicies in policies // returns a MobilityManagementPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/mobileappmanagementpolicies-update?view=graph-rest-1.0 func (m *MobileAppManagementPoliciesMobilityManagementPolicyItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobilityManagementPolicyable, requestConfiguration *MobileAppManagementPoliciesMobilityManagementPolicyItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobilityManagementPolicyable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -124,7 +115,7 @@ func (m *MobileAppManagementPoliciesMobilityManagementPolicyItemRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobilityManagementPolicyable), nil } -// ToDeleteRequestInformation delete a mobilityManagementPolicy object. +// ToDeleteRequestInformation delete navigation property mobileAppManagementPolicies for policies // returns a *RequestInformation when successful func (m *MobileAppManagementPoliciesMobilityManagementPolicyItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *MobileAppManagementPoliciesMobilityManagementPolicyItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -135,7 +126,7 @@ func (m *MobileAppManagementPoliciesMobilityManagementPolicyItemRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a mobilityManagementPolicy object. +// ToGetRequestInformation the policy that defines autoenrollment configuration for a mobility management (MDM or MAM) application. // returns a *RequestInformation when successful func (m *MobileAppManagementPoliciesMobilityManagementPolicyItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppManagementPoliciesMobilityManagementPolicyItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -149,7 +140,7 @@ func (m *MobileAppManagementPoliciesMobilityManagementPolicyItemRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a mobilityManagementPolicy object. +// ToPatchRequestInformation update the navigation property mobileAppManagementPolicies in policies // returns a *RequestInformation when successful func (m *MobileAppManagementPoliciesMobilityManagementPolicyItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobilityManagementPolicyable, requestConfiguration *MobileAppManagementPoliciesMobilityManagementPolicyItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/mobile_app_management_policies_request_builder.go b/policies/mobile_app_management_policies_request_builder.go index b684d06e2cc..71f4047696d 100644 --- a/policies/mobile_app_management_policies_request_builder.go +++ b/policies/mobile_app_management_policies_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppManagementPoliciesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppManagementPoliciesRequestBuilderGetQueryParameters get a list of the mobilityManagementPolicy objects and their properties. +// MobileAppManagementPoliciesRequestBuilderGetQueryParameters the policy that defines autoenrollment configuration for a mobility management (MDM or MAM) application. type MobileAppManagementPoliciesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewMobileAppManagementPoliciesRequestBuilder(rawUrl string, requestAdapter func (m *MobileAppManagementPoliciesRequestBuilder) Count()(*MobileAppManagementPoliciesCountRequestBuilder) { return NewMobileAppManagementPoliciesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the mobilityManagementPolicy objects and their properties. +// Get the policy that defines autoenrollment configuration for a mobility management (MDM or MAM) application. // returns a MobilityManagementPolicyCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/mobileappmanagementpolicies-list?view=graph-rest-1.0 func (m *MobileAppManagementPoliciesRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppManagementPoliciesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobilityManagementPolicyCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *MobileAppManagementPoliciesRequestBuilder) Post(ctx context.Context, bo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobilityManagementPolicyable), nil } -// ToGetRequestInformation get a list of the mobilityManagementPolicy objects and their properties. +// ToGetRequestInformation the policy that defines autoenrollment configuration for a mobility management (MDM or MAM) application. // returns a *RequestInformation when successful func (m *MobileAppManagementPoliciesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppManagementPoliciesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/mobile_device_management_policies_item_included_groups_item_ref_request_builder.go b/policies/mobile_device_management_policies_item_included_groups_item_ref_request_builder.go index 39e7a7e329d..b57b4cd60b8 100644 --- a/policies/mobile_device_management_policies_item_included_groups_item_ref_request_builder.go +++ b/policies/mobile_device_management_policies_item_included_groups_item_ref_request_builder.go @@ -30,11 +30,8 @@ func NewMobileDeviceManagementPoliciesItemIncludedGroupsItemRefRequestBuilder(ra urlParams["request-raw-url"] = rawUrl return NewMobileDeviceManagementPoliciesItemIncludedGroupsItemRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a group from the list of groups included in a mobile app management policy. +// Delete delete ref of navigation property includedGroups for policies // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/mobileappmanagementpolicies-delete-includedgroups?view=graph-rest-1.0 func (m *MobileDeviceManagementPoliciesItemIncludedGroupsItemRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *MobileDeviceManagementPoliciesItemIncludedGroupsItemRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -49,7 +46,7 @@ func (m *MobileDeviceManagementPoliciesItemIncludedGroupsItemRefRequestBuilder) } return nil } -// ToDeleteRequestInformation delete a group from the list of groups included in a mobile app management policy. +// ToDeleteRequestInformation delete ref of navigation property includedGroups for policies // returns a *RequestInformation when successful func (m *MobileDeviceManagementPoliciesItemIncludedGroupsItemRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *MobileDeviceManagementPoliciesItemIncludedGroupsItemRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/mobile_device_management_policies_item_included_groups_ref_request_builder.go b/policies/mobile_device_management_policies_item_included_groups_ref_request_builder.go index c2fbb8d701f..f1c0c7c5960 100644 --- a/policies/mobile_device_management_policies_item_included_groups_ref_request_builder.go +++ b/policies/mobile_device_management_policies_item_included_groups_ref_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileDeviceManagementPoliciesItemIncludedGroupsRefRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileDeviceManagementPoliciesItemIncludedGroupsRefRequestBuilderDeleteQueryParameters delete a group from the list of groups included in a mobile app management policy. +// MobileDeviceManagementPoliciesItemIncludedGroupsRefRequestBuilderDeleteQueryParameters delete ref of navigation property includedGroups for policies type MobileDeviceManagementPoliciesItemIncludedGroupsRefRequestBuilderDeleteQueryParameters struct { // The delete Uri Id *string `uriparametername:"%40id"` @@ -25,7 +25,7 @@ type MobileDeviceManagementPoliciesItemIncludedGroupsRefRequestBuilderDeleteRequ // Request query parameters QueryParameters *MobileDeviceManagementPoliciesItemIncludedGroupsRefRequestBuilderDeleteQueryParameters } -// MobileDeviceManagementPoliciesItemIncludedGroupsRefRequestBuilderGetQueryParameters get the list of groups that are included in a mobile app management policy. +// MobileDeviceManagementPoliciesItemIncludedGroupsRefRequestBuilderGetQueryParameters microsoft Entra groups under the scope of the mobility management application if appliesTo is selected type MobileDeviceManagementPoliciesItemIncludedGroupsRefRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,11 +69,8 @@ func NewMobileDeviceManagementPoliciesItemIncludedGroupsRefRequestBuilder(rawUrl urlParams["request-raw-url"] = rawUrl return NewMobileDeviceManagementPoliciesItemIncludedGroupsRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a group from the list of groups included in a mobile app management policy. +// Delete delete ref of navigation property includedGroups for policies // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/mobileappmanagementpolicies-delete-includedgroups?view=graph-rest-1.0 func (m *MobileDeviceManagementPoliciesItemIncludedGroupsRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *MobileDeviceManagementPoliciesItemIncludedGroupsRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -88,12 +85,9 @@ func (m *MobileDeviceManagementPoliciesItemIncludedGroupsRefRequestBuilder) Dele } return nil } -// Get get the list of groups that are included in a mobile app management policy. +// Get microsoft Entra groups under the scope of the mobility management application if appliesTo is selected // returns a StringCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/mobileappmanagementpolicies-list-includedgroups?view=graph-rest-1.0 func (m *MobileDeviceManagementPoliciesItemIncludedGroupsRefRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileDeviceManagementPoliciesItemIncludedGroupsRefRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -111,11 +105,8 @@ func (m *MobileDeviceManagementPoliciesItemIncludedGroupsRefRequestBuilder) Get( } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable), nil } -// Post add groups to be included in a mobile app management policy. +// Post create new navigation property ref to includedGroups for policies // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/mobileappmanagementpolicies-post-includedgroups?view=graph-rest-1.0 func (m *MobileDeviceManagementPoliciesItemIncludedGroupsRefRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *MobileDeviceManagementPoliciesItemIncludedGroupsRefRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -130,7 +121,7 @@ func (m *MobileDeviceManagementPoliciesItemIncludedGroupsRefRequestBuilder) Post } return nil } -// ToDeleteRequestInformation delete a group from the list of groups included in a mobile app management policy. +// ToDeleteRequestInformation delete ref of navigation property includedGroups for policies // returns a *RequestInformation when successful func (m *MobileDeviceManagementPoliciesItemIncludedGroupsRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *MobileDeviceManagementPoliciesItemIncludedGroupsRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, "{+baseurl}/policies/mobileDeviceManagementPolicies/{mobilityManagementPolicy%2Did}/includedGroups/$ref?@id={%40id}", m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *MobileDeviceManagementPoliciesItemIncludedGroupsRefRequestBuilder) ToDe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the list of groups that are included in a mobile app management policy. +// ToGetRequestInformation microsoft Entra groups under the scope of the mobility management application if appliesTo is selected // returns a *RequestInformation when successful func (m *MobileDeviceManagementPoliciesItemIncludedGroupsRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileDeviceManagementPoliciesItemIncludedGroupsRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/policies/mobileDeviceManagementPolicies/{mobilityManagementPolicy%2Did}/includedGroups/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) @@ -158,7 +149,7 @@ func (m *MobileDeviceManagementPoliciesItemIncludedGroupsRefRequestBuilder) ToGe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add groups to be included in a mobile app management policy. +// ToPostRequestInformation create new navigation property ref to includedGroups for policies // returns a *RequestInformation when successful func (m *MobileDeviceManagementPoliciesItemIncludedGroupsRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *MobileDeviceManagementPoliciesItemIncludedGroupsRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/policies/mobileDeviceManagementPolicies/{mobilityManagementPolicy%2Did}/includedGroups/$ref", m.BaseRequestBuilder.PathParameters) diff --git a/policies/mobile_device_management_policies_item_included_groups_request_builder.go b/policies/mobile_device_management_policies_item_included_groups_request_builder.go index 8dad8065007..a8ddd1958f6 100644 --- a/policies/mobile_device_management_policies_item_included_groups_request_builder.go +++ b/policies/mobile_device_management_policies_item_included_groups_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileDeviceManagementPoliciesItemIncludedGroupsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileDeviceManagementPoliciesItemIncludedGroupsRequestBuilderGetQueryParameters get the list of groups that are included in a mobile app management policy. +// MobileDeviceManagementPoliciesItemIncludedGroupsRequestBuilderGetQueryParameters microsoft Entra groups under the scope of the mobility management application if appliesTo is selected type MobileDeviceManagementPoliciesItemIncludedGroupsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewMobileDeviceManagementPoliciesItemIncludedGroupsRequestBuilder(rawUrl st func (m *MobileDeviceManagementPoliciesItemIncludedGroupsRequestBuilder) Count()(*MobileDeviceManagementPoliciesItemIncludedGroupsCountRequestBuilder) { return NewMobileDeviceManagementPoliciesItemIncludedGroupsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of groups that are included in a mobile app management policy. +// Get microsoft Entra groups under the scope of the mobility management application if appliesTo is selected // returns a GroupCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/mobileappmanagementpolicies-list-includedgroups?view=graph-rest-1.0 func (m *MobileDeviceManagementPoliciesItemIncludedGroupsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileDeviceManagementPoliciesItemIncludedGroupsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.GroupCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -97,7 +94,7 @@ func (m *MobileDeviceManagementPoliciesItemIncludedGroupsRequestBuilder) Get(ctx func (m *MobileDeviceManagementPoliciesItemIncludedGroupsRequestBuilder) Ref()(*MobileDeviceManagementPoliciesItemIncludedGroupsRefRequestBuilder) { return NewMobileDeviceManagementPoliciesItemIncludedGroupsRefRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation get the list of groups that are included in a mobile app management policy. +// ToGetRequestInformation microsoft Entra groups under the scope of the mobility management application if appliesTo is selected // returns a *RequestInformation when successful func (m *MobileDeviceManagementPoliciesItemIncludedGroupsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileDeviceManagementPoliciesItemIncludedGroupsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/mobile_device_management_policies_mobility_management_policy_item_request_builder.go b/policies/mobile_device_management_policies_mobility_management_policy_item_request_builder.go index 9d8deed34e4..e5acb2c80e2 100644 --- a/policies/mobile_device_management_policies_mobility_management_policy_item_request_builder.go +++ b/policies/mobile_device_management_policies_mobility_management_policy_item_request_builder.go @@ -18,7 +18,7 @@ type MobileDeviceManagementPoliciesMobilityManagementPolicyItemRequestBuilderDel // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileDeviceManagementPoliciesMobilityManagementPolicyItemRequestBuilderGetQueryParameters read the properties and relationships of a mobilityManagementPolicy object. +// MobileDeviceManagementPoliciesMobilityManagementPolicyItemRequestBuilderGetQueryParameters get mobileDeviceManagementPolicies from policies type MobileDeviceManagementPoliciesMobilityManagementPolicyItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewMobileDeviceManagementPoliciesMobilityManagementPolicyItemRequestBuilder urlParams["request-raw-url"] = rawUrl return NewMobileDeviceManagementPoliciesMobilityManagementPolicyItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a mobilityManagementPolicy object. +// Delete delete navigation property mobileDeviceManagementPolicies for policies // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/mobiledevicemanagementpolicies-delete?view=graph-rest-1.0 func (m *MobileDeviceManagementPoliciesMobilityManagementPolicyItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *MobileDeviceManagementPoliciesMobilityManagementPolicyItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *MobileDeviceManagementPoliciesMobilityManagementPolicyItemRequestBuilde } return nil } -// Get read the properties and relationships of a mobilityManagementPolicy object. +// Get get mobileDeviceManagementPolicies from policies // returns a MobilityManagementPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/mobiledevicemanagementpolicies-get?view=graph-rest-1.0 func (m *MobileDeviceManagementPoliciesMobilityManagementPolicyItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileDeviceManagementPoliciesMobilityManagementPolicyItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobilityManagementPolicyable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,12 +95,9 @@ func (m *MobileDeviceManagementPoliciesMobilityManagementPolicyItemRequestBuilde func (m *MobileDeviceManagementPoliciesMobilityManagementPolicyItemRequestBuilder) IncludedGroups()(*MobileDeviceManagementPoliciesItemIncludedGroupsRequestBuilder) { return NewMobileDeviceManagementPoliciesItemIncludedGroupsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of a mobilityManagementPolicy object. +// Patch update the navigation property mobileDeviceManagementPolicies in policies // returns a MobilityManagementPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/mobiledevicemanagementpolicies-update?view=graph-rest-1.0 func (m *MobileDeviceManagementPoliciesMobilityManagementPolicyItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobilityManagementPolicyable, requestConfiguration *MobileDeviceManagementPoliciesMobilityManagementPolicyItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobilityManagementPolicyable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -124,7 +115,7 @@ func (m *MobileDeviceManagementPoliciesMobilityManagementPolicyItemRequestBuilde } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobilityManagementPolicyable), nil } -// ToDeleteRequestInformation delete a mobilityManagementPolicy object. +// ToDeleteRequestInformation delete navigation property mobileDeviceManagementPolicies for policies // returns a *RequestInformation when successful func (m *MobileDeviceManagementPoliciesMobilityManagementPolicyItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *MobileDeviceManagementPoliciesMobilityManagementPolicyItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -135,7 +126,7 @@ func (m *MobileDeviceManagementPoliciesMobilityManagementPolicyItemRequestBuilde requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a mobilityManagementPolicy object. +// ToGetRequestInformation get mobileDeviceManagementPolicies from policies // returns a *RequestInformation when successful func (m *MobileDeviceManagementPoliciesMobilityManagementPolicyItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileDeviceManagementPoliciesMobilityManagementPolicyItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -149,7 +140,7 @@ func (m *MobileDeviceManagementPoliciesMobilityManagementPolicyItemRequestBuilde requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a mobilityManagementPolicy object. +// ToPatchRequestInformation update the navigation property mobileDeviceManagementPolicies in policies // returns a *RequestInformation when successful func (m *MobileDeviceManagementPoliciesMobilityManagementPolicyItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobilityManagementPolicyable, requestConfiguration *MobileDeviceManagementPoliciesMobilityManagementPolicyItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/mobile_device_management_policies_request_builder.go b/policies/mobile_device_management_policies_request_builder.go index df5bcb04e36..0bb61316a8d 100644 --- a/policies/mobile_device_management_policies_request_builder.go +++ b/policies/mobile_device_management_policies_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileDeviceManagementPoliciesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileDeviceManagementPoliciesRequestBuilderGetQueryParameters get a list of the mobilityManagementPolicy objects and their properties. +// MobileDeviceManagementPoliciesRequestBuilderGetQueryParameters get mobileDeviceManagementPolicies from policies type MobileDeviceManagementPoliciesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewMobileDeviceManagementPoliciesRequestBuilder(rawUrl string, requestAdapt func (m *MobileDeviceManagementPoliciesRequestBuilder) Count()(*MobileDeviceManagementPoliciesCountRequestBuilder) { return NewMobileDeviceManagementPoliciesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the mobilityManagementPolicy objects and their properties. +// Get get mobileDeviceManagementPolicies from policies // returns a MobilityManagementPolicyCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/mobiledevicemanagementpolicies-list?view=graph-rest-1.0 func (m *MobileDeviceManagementPoliciesRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileDeviceManagementPoliciesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobilityManagementPolicyCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *MobileDeviceManagementPoliciesRequestBuilder) Post(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobilityManagementPolicyable), nil } -// ToGetRequestInformation get a list of the mobilityManagementPolicy objects and their properties. +// ToGetRequestInformation get mobileDeviceManagementPolicies from policies // returns a *RequestInformation when successful func (m *MobileDeviceManagementPoliciesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileDeviceManagementPoliciesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/permission_grant_policies_item_excludes_permission_grant_condition_set_item_request_builder.go b/policies/permission_grant_policies_item_excludes_permission_grant_condition_set_item_request_builder.go index 92a3637ff85..75d258a0bc7 100644 --- a/policies/permission_grant_policies_item_excludes_permission_grant_condition_set_item_request_builder.go +++ b/policies/permission_grant_policies_item_excludes_permission_grant_condition_set_item_request_builder.go @@ -54,11 +54,8 @@ func NewPermissionGrantPoliciesItemExcludesPermissionGrantConditionSetItemReques urlParams["request-raw-url"] = rawUrl return NewPermissionGrantPoliciesItemExcludesPermissionGrantConditionSetItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a permissionGrantConditionSet from the excludes collection of a permissionGrantPolicy. +// Delete delete navigation property excludes for policies // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/permissiongrantpolicy-delete-excludes?view=graph-rest-1.0 func (m *PermissionGrantPoliciesItemExcludesPermissionGrantConditionSetItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *PermissionGrantPoliciesItemExcludesPermissionGrantConditionSetItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -113,7 +110,7 @@ func (m *PermissionGrantPoliciesItemExcludesPermissionGrantConditionSetItemReque } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionGrantConditionSetable), nil } -// ToDeleteRequestInformation deletes a permissionGrantConditionSet from the excludes collection of a permissionGrantPolicy. +// ToDeleteRequestInformation delete navigation property excludes for policies // returns a *RequestInformation when successful func (m *PermissionGrantPoliciesItemExcludesPermissionGrantConditionSetItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *PermissionGrantPoliciesItemExcludesPermissionGrantConditionSetItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/permission_grant_policies_item_excludes_request_builder.go b/policies/permission_grant_policies_item_excludes_request_builder.go index cd4e811ccb3..f0ad27bc6a7 100644 --- a/policies/permission_grant_policies_item_excludes_request_builder.go +++ b/policies/permission_grant_policies_item_excludes_request_builder.go @@ -11,7 +11,7 @@ import ( type PermissionGrantPoliciesItemExcludesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// PermissionGrantPoliciesItemExcludesRequestBuilderGetQueryParameters retrieve the condition sets that are *excluded* in a permissionGrantPolicy. +// PermissionGrantPoliciesItemExcludesRequestBuilderGetQueryParameters condition sets that are excluded in this permission grant policy. Automatically expanded on GET. type PermissionGrantPoliciesItemExcludesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewPermissionGrantPoliciesItemExcludesRequestBuilder(rawUrl string, request func (m *PermissionGrantPoliciesItemExcludesRequestBuilder) Count()(*PermissionGrantPoliciesItemExcludesCountRequestBuilder) { return NewPermissionGrantPoliciesItemExcludesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the condition sets that are *excluded* in a permissionGrantPolicy. +// Get condition sets that are excluded in this permission grant policy. Automatically expanded on GET. // returns a PermissionGrantConditionSetCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/permissiongrantpolicy-list-excludes?view=graph-rest-1.0 func (m *PermissionGrantPoliciesItemExcludesRequestBuilder) Get(ctx context.Context, requestConfiguration *PermissionGrantPoliciesItemExcludesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionGrantConditionSetCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *PermissionGrantPoliciesItemExcludesRequestBuilder) Get(ctx context.Cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionGrantConditionSetCollectionResponseable), nil } -// Post add conditions under which a permission grant event is *excluded* in a permission grant policy. You do this by adding a permissionGrantConditionSet to the excludes collection of a permissionGrantPolicy. +// Post create new navigation property to excludes for policies // returns a PermissionGrantConditionSetable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/permissiongrantpolicy-post-excludes?view=graph-rest-1.0 func (m *PermissionGrantPoliciesItemExcludesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionGrantConditionSetable, requestConfiguration *PermissionGrantPoliciesItemExcludesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionGrantConditionSetable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *PermissionGrantPoliciesItemExcludesRequestBuilder) Post(ctx context.Con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionGrantConditionSetable), nil } -// ToGetRequestInformation retrieve the condition sets that are *excluded* in a permissionGrantPolicy. +// ToGetRequestInformation condition sets that are excluded in this permission grant policy. Automatically expanded on GET. // returns a *RequestInformation when successful func (m *PermissionGrantPoliciesItemExcludesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PermissionGrantPoliciesItemExcludesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *PermissionGrantPoliciesItemExcludesRequestBuilder) ToGetRequestInformat requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add conditions under which a permission grant event is *excluded* in a permission grant policy. You do this by adding a permissionGrantConditionSet to the excludes collection of a permissionGrantPolicy. +// ToPostRequestInformation create new navigation property to excludes for policies // returns a *RequestInformation when successful func (m *PermissionGrantPoliciesItemExcludesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionGrantConditionSetable, requestConfiguration *PermissionGrantPoliciesItemExcludesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/permission_grant_policies_item_includes_permission_grant_condition_set_item_request_builder.go b/policies/permission_grant_policies_item_includes_permission_grant_condition_set_item_request_builder.go index f11ff761933..000fd411232 100644 --- a/policies/permission_grant_policies_item_includes_permission_grant_condition_set_item_request_builder.go +++ b/policies/permission_grant_policies_item_includes_permission_grant_condition_set_item_request_builder.go @@ -54,11 +54,8 @@ func NewPermissionGrantPoliciesItemIncludesPermissionGrantConditionSetItemReques urlParams["request-raw-url"] = rawUrl return NewPermissionGrantPoliciesItemIncludesPermissionGrantConditionSetItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a permissionGrantConditionSet from the includes collection of a permissionGrantPolicy. +// Delete delete navigation property includes for policies // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/permissiongrantpolicy-delete-includes?view=graph-rest-1.0 func (m *PermissionGrantPoliciesItemIncludesPermissionGrantConditionSetItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *PermissionGrantPoliciesItemIncludesPermissionGrantConditionSetItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -113,7 +110,7 @@ func (m *PermissionGrantPoliciesItemIncludesPermissionGrantConditionSetItemReque } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionGrantConditionSetable), nil } -// ToDeleteRequestInformation deletes a permissionGrantConditionSet from the includes collection of a permissionGrantPolicy. +// ToDeleteRequestInformation delete navigation property includes for policies // returns a *RequestInformation when successful func (m *PermissionGrantPoliciesItemIncludesPermissionGrantConditionSetItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *PermissionGrantPoliciesItemIncludesPermissionGrantConditionSetItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/permission_grant_policies_item_includes_request_builder.go b/policies/permission_grant_policies_item_includes_request_builder.go index 3bf6b39e3b5..0ec14d9a706 100644 --- a/policies/permission_grant_policies_item_includes_request_builder.go +++ b/policies/permission_grant_policies_item_includes_request_builder.go @@ -11,7 +11,7 @@ import ( type PermissionGrantPoliciesItemIncludesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// PermissionGrantPoliciesItemIncludesRequestBuilderGetQueryParameters retrieve the condition sets that are *included* in a permissionGrantPolicy. +// PermissionGrantPoliciesItemIncludesRequestBuilderGetQueryParameters condition sets that are included in this permission grant policy. Automatically expanded on GET. type PermissionGrantPoliciesItemIncludesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewPermissionGrantPoliciesItemIncludesRequestBuilder(rawUrl string, request func (m *PermissionGrantPoliciesItemIncludesRequestBuilder) Count()(*PermissionGrantPoliciesItemIncludesCountRequestBuilder) { return NewPermissionGrantPoliciesItemIncludesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the condition sets that are *included* in a permissionGrantPolicy. +// Get condition sets that are included in this permission grant policy. Automatically expanded on GET. // returns a PermissionGrantConditionSetCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/permissiongrantpolicy-list-includes?view=graph-rest-1.0 func (m *PermissionGrantPoliciesItemIncludesRequestBuilder) Get(ctx context.Context, requestConfiguration *PermissionGrantPoliciesItemIncludesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionGrantConditionSetCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *PermissionGrantPoliciesItemIncludesRequestBuilder) Get(ctx context.Cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionGrantConditionSetCollectionResponseable), nil } -// Post add conditions under which a permission grant event is *included* in a permission grant policy. You do this by adding a permissionGrantConditionSet to the includes collection of a permissionGrantPolicy. +// Post create new navigation property to includes for policies // returns a PermissionGrantConditionSetable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/permissiongrantpolicy-post-includes?view=graph-rest-1.0 func (m *PermissionGrantPoliciesItemIncludesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionGrantConditionSetable, requestConfiguration *PermissionGrantPoliciesItemIncludesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionGrantConditionSetable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *PermissionGrantPoliciesItemIncludesRequestBuilder) Post(ctx context.Con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionGrantConditionSetable), nil } -// ToGetRequestInformation retrieve the condition sets that are *included* in a permissionGrantPolicy. +// ToGetRequestInformation condition sets that are included in this permission grant policy. Automatically expanded on GET. // returns a *RequestInformation when successful func (m *PermissionGrantPoliciesItemIncludesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PermissionGrantPoliciesItemIncludesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *PermissionGrantPoliciesItemIncludesRequestBuilder) ToGetRequestInformat requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add conditions under which a permission grant event is *included* in a permission grant policy. You do this by adding a permissionGrantConditionSet to the includes collection of a permissionGrantPolicy. +// ToPostRequestInformation create new navigation property to includes for policies // returns a *RequestInformation when successful func (m *PermissionGrantPoliciesItemIncludesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionGrantConditionSetable, requestConfiguration *PermissionGrantPoliciesItemIncludesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/permission_grant_policies_permission_grant_policy_item_request_builder.go b/policies/permission_grant_policies_permission_grant_policy_item_request_builder.go index 2d3c067daec..e4c2e6a1df9 100644 --- a/policies/permission_grant_policies_permission_grant_policy_item_request_builder.go +++ b/policies/permission_grant_policies_permission_grant_policy_item_request_builder.go @@ -18,7 +18,7 @@ type PermissionGrantPoliciesPermissionGrantPolicyItemRequestBuilderDeleteRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// PermissionGrantPoliciesPermissionGrantPolicyItemRequestBuilderGetQueryParameters retrieve a single permissionGrantPolicy object. +// PermissionGrantPoliciesPermissionGrantPolicyItemRequestBuilderGetQueryParameters the policy that specifies the conditions under which consent can be granted. type PermissionGrantPoliciesPermissionGrantPolicyItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewPermissionGrantPoliciesPermissionGrantPolicyItemRequestBuilder(rawUrl st urlParams["request-raw-url"] = rawUrl return NewPermissionGrantPoliciesPermissionGrantPolicyItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a permissionGrantPolicy object. +// Delete delete navigation property permissionGrantPolicies for policies // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/permissiongrantpolicy-delete?view=graph-rest-1.0 func (m *PermissionGrantPoliciesPermissionGrantPolicyItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *PermissionGrantPoliciesPermissionGrantPolicyItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *PermissionGrantPoliciesPermissionGrantPolicyItemRequestBuilder) Delete( func (m *PermissionGrantPoliciesPermissionGrantPolicyItemRequestBuilder) Excludes()(*PermissionGrantPoliciesItemExcludesRequestBuilder) { return NewPermissionGrantPoliciesItemExcludesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a single permissionGrantPolicy object. +// Get the policy that specifies the conditions under which consent can be granted. // returns a PermissionGrantPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/permissiongrantpolicy-get?view=graph-rest-1.0 func (m *PermissionGrantPoliciesPermissionGrantPolicyItemRequestBuilder) Get(ctx context.Context, requestConfiguration *PermissionGrantPoliciesPermissionGrantPolicyItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionGrantPolicyable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -106,12 +100,9 @@ func (m *PermissionGrantPoliciesPermissionGrantPolicyItemRequestBuilder) Get(ctx func (m *PermissionGrantPoliciesPermissionGrantPolicyItemRequestBuilder) Includes()(*PermissionGrantPoliciesItemIncludesRequestBuilder) { return NewPermissionGrantPoliciesItemIncludesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update properties of a permissionGrantPolicy. +// Patch update the navigation property permissionGrantPolicies in policies // returns a PermissionGrantPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/permissiongrantpolicy-update?view=graph-rest-1.0 func (m *PermissionGrantPoliciesPermissionGrantPolicyItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionGrantPolicyable, requestConfiguration *PermissionGrantPoliciesPermissionGrantPolicyItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionGrantPolicyable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -129,7 +120,7 @@ func (m *PermissionGrantPoliciesPermissionGrantPolicyItemRequestBuilder) Patch(c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionGrantPolicyable), nil } -// ToDeleteRequestInformation delete a permissionGrantPolicy object. +// ToDeleteRequestInformation delete navigation property permissionGrantPolicies for policies // returns a *RequestInformation when successful func (m *PermissionGrantPoliciesPermissionGrantPolicyItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *PermissionGrantPoliciesPermissionGrantPolicyItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -140,7 +131,7 @@ func (m *PermissionGrantPoliciesPermissionGrantPolicyItemRequestBuilder) ToDelet requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a single permissionGrantPolicy object. +// ToGetRequestInformation the policy that specifies the conditions under which consent can be granted. // returns a *RequestInformation when successful func (m *PermissionGrantPoliciesPermissionGrantPolicyItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PermissionGrantPoliciesPermissionGrantPolicyItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -154,7 +145,7 @@ func (m *PermissionGrantPoliciesPermissionGrantPolicyItemRequestBuilder) ToGetRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update properties of a permissionGrantPolicy. +// ToPatchRequestInformation update the navigation property permissionGrantPolicies in policies // returns a *RequestInformation when successful func (m *PermissionGrantPoliciesPermissionGrantPolicyItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionGrantPolicyable, requestConfiguration *PermissionGrantPoliciesPermissionGrantPolicyItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/permission_grant_policies_request_builder.go b/policies/permission_grant_policies_request_builder.go index c2a7e8748e6..2554e787fae 100644 --- a/policies/permission_grant_policies_request_builder.go +++ b/policies/permission_grant_policies_request_builder.go @@ -11,7 +11,7 @@ import ( type PermissionGrantPoliciesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// PermissionGrantPoliciesRequestBuilderGetQueryParameters retrieve the list of permissionGrantPolicy objects. +// PermissionGrantPoliciesRequestBuilderGetQueryParameters the policy that specifies the conditions under which consent can be granted. type PermissionGrantPoliciesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewPermissionGrantPoliciesRequestBuilder(rawUrl string, requestAdapter i2ae func (m *PermissionGrantPoliciesRequestBuilder) Count()(*PermissionGrantPoliciesCountRequestBuilder) { return NewPermissionGrantPoliciesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of permissionGrantPolicy objects. +// Get the policy that specifies the conditions under which consent can be granted. // returns a PermissionGrantPolicyCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/permissiongrantpolicy-list?view=graph-rest-1.0 func (m *PermissionGrantPoliciesRequestBuilder) Get(ctx context.Context, requestConfiguration *PermissionGrantPoliciesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionGrantPolicyCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *PermissionGrantPoliciesRequestBuilder) Get(ctx context.Context, request } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionGrantPolicyCollectionResponseable), nil } -// Post creates a permissionGrantPolicy. A permission grant policy is used to describe the conditions under which permissions can be granted (for example, during application consent). After creating the permission grant policy, you can add include condition sets to add matching rules, and add exclude condition sets to add exclusion rules. +// Post create new navigation property to permissionGrantPolicies for policies // returns a PermissionGrantPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/permissiongrantpolicy-post-permissiongrantpolicies?view=graph-rest-1.0 func (m *PermissionGrantPoliciesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionGrantPolicyable, requestConfiguration *PermissionGrantPoliciesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionGrantPolicyable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *PermissionGrantPoliciesRequestBuilder) Post(ctx context.Context, body i } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionGrantPolicyable), nil } -// ToGetRequestInformation retrieve the list of permissionGrantPolicy objects. +// ToGetRequestInformation the policy that specifies the conditions under which consent can be granted. // returns a *RequestInformation when successful func (m *PermissionGrantPoliciesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PermissionGrantPoliciesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *PermissionGrantPoliciesRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation creates a permissionGrantPolicy. A permission grant policy is used to describe the conditions under which permissions can be granted (for example, during application consent). After creating the permission grant policy, you can add include condition sets to add matching rules, and add exclude condition sets to add exclusion rules. +// ToPostRequestInformation create new navigation property to permissionGrantPolicies for policies // returns a *RequestInformation when successful func (m *PermissionGrantPoliciesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionGrantPolicyable, requestConfiguration *PermissionGrantPoliciesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/role_management_policies_item_effective_rules_request_builder.go b/policies/role_management_policies_item_effective_rules_request_builder.go index e588e374753..f12971cfe0a 100644 --- a/policies/role_management_policies_item_effective_rules_request_builder.go +++ b/policies/role_management_policies_item_effective_rules_request_builder.go @@ -11,7 +11,7 @@ import ( type RoleManagementPoliciesItemEffectiveRulesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// RoleManagementPoliciesItemEffectiveRulesRequestBuilderGetQueryParameters get the unifiedRoleManagementPolicyRule resources from the effectiveRules navigation property. To retrieve rules for a policy that applies to Azure RBAC, use the Azure REST PIM API for role management policies. +// RoleManagementPoliciesItemEffectiveRulesRequestBuilderGetQueryParameters the list of effective rules like approval rules and expiration rules evaluated based on inherited referenced rules. For example, if there is a tenant-wide policy to enforce enabling an approval rule, the effective rule will be to enable approval even if the policy has a rule to disable approval. Supports $expand. type RoleManagementPoliciesItemEffectiveRulesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewRoleManagementPoliciesItemEffectiveRulesRequestBuilder(rawUrl string, re func (m *RoleManagementPoliciesItemEffectiveRulesRequestBuilder) Count()(*RoleManagementPoliciesItemEffectiveRulesCountRequestBuilder) { return NewRoleManagementPoliciesItemEffectiveRulesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the unifiedRoleManagementPolicyRule resources from the effectiveRules navigation property. To retrieve rules for a policy that applies to Azure RBAC, use the Azure REST PIM API for role management policies. +// Get the list of effective rules like approval rules and expiration rules evaluated based on inherited referenced rules. For example, if there is a tenant-wide policy to enforce enabling an approval rule, the effective rule will be to enable approval even if the policy has a rule to disable approval. Supports $expand. // returns a UnifiedRoleManagementPolicyRuleCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedrolemanagementpolicy-list-effectiverules?view=graph-rest-1.0 func (m *RoleManagementPoliciesItemEffectiveRulesRequestBuilder) Get(ctx context.Context, requestConfiguration *RoleManagementPoliciesItemEffectiveRulesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleManagementPolicyRuleCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *RoleManagementPoliciesItemEffectiveRulesRequestBuilder) Post(ctx contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleManagementPolicyRuleable), nil } -// ToGetRequestInformation get the unifiedRoleManagementPolicyRule resources from the effectiveRules navigation property. To retrieve rules for a policy that applies to Azure RBAC, use the Azure REST PIM API for role management policies. +// ToGetRequestInformation the list of effective rules like approval rules and expiration rules evaluated based on inherited referenced rules. For example, if there is a tenant-wide policy to enforce enabling an approval rule, the effective rule will be to enable approval even if the policy has a rule to disable approval. Supports $expand. // returns a *RequestInformation when successful func (m *RoleManagementPoliciesItemEffectiveRulesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RoleManagementPoliciesItemEffectiveRulesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/role_management_policies_item_rules_request_builder.go b/policies/role_management_policies_item_rules_request_builder.go index 28674fd427f..14d6d90d351 100644 --- a/policies/role_management_policies_item_rules_request_builder.go +++ b/policies/role_management_policies_item_rules_request_builder.go @@ -11,7 +11,7 @@ import ( type RoleManagementPoliciesItemRulesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// RoleManagementPoliciesItemRulesRequestBuilderGetQueryParameters get the rules defined for a role management policy. The rules are a collection of following types that are derived from the unifiedRoleManagementPolicyRule object:+ unifiedRoleManagementPolicyApprovalRule+ unifiedRoleManagementPolicyAuthenticationContextRule+ unifiedRoleManagementPolicyEnablementRule+ unifiedRoleManagementPolicyExpirationRule+ unifiedRoleManagementPolicyNotificationRule To retrieve rules for a policy that applies to Azure RBAC, use the Azure REST PIM API for role management policies. +// RoleManagementPoliciesItemRulesRequestBuilderGetQueryParameters the collection of rules like approval rules and expiration rules. Supports $expand. type RoleManagementPoliciesItemRulesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewRoleManagementPoliciesItemRulesRequestBuilder(rawUrl string, requestAdap func (m *RoleManagementPoliciesItemRulesRequestBuilder) Count()(*RoleManagementPoliciesItemRulesCountRequestBuilder) { return NewRoleManagementPoliciesItemRulesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the rules defined for a role management policy. The rules are a collection of following types that are derived from the unifiedRoleManagementPolicyRule object:+ unifiedRoleManagementPolicyApprovalRule+ unifiedRoleManagementPolicyAuthenticationContextRule+ unifiedRoleManagementPolicyEnablementRule+ unifiedRoleManagementPolicyExpirationRule+ unifiedRoleManagementPolicyNotificationRule To retrieve rules for a policy that applies to Azure RBAC, use the Azure REST PIM API for role management policies. +// Get the collection of rules like approval rules and expiration rules. Supports $expand. // returns a UnifiedRoleManagementPolicyRuleCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedrolemanagementpolicy-list-rules?view=graph-rest-1.0 func (m *RoleManagementPoliciesItemRulesRequestBuilder) Get(ctx context.Context, requestConfiguration *RoleManagementPoliciesItemRulesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleManagementPolicyRuleCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *RoleManagementPoliciesItemRulesRequestBuilder) Post(ctx context.Context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleManagementPolicyRuleable), nil } -// ToGetRequestInformation get the rules defined for a role management policy. The rules are a collection of following types that are derived from the unifiedRoleManagementPolicyRule object:+ unifiedRoleManagementPolicyApprovalRule+ unifiedRoleManagementPolicyAuthenticationContextRule+ unifiedRoleManagementPolicyEnablementRule+ unifiedRoleManagementPolicyExpirationRule+ unifiedRoleManagementPolicyNotificationRule To retrieve rules for a policy that applies to Azure RBAC, use the Azure REST PIM API for role management policies. +// ToGetRequestInformation the collection of rules like approval rules and expiration rules. Supports $expand. // returns a *RequestInformation when successful func (m *RoleManagementPoliciesItemRulesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RoleManagementPoliciesItemRulesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/role_management_policies_item_rules_unified_role_management_policy_rule_item_request_builder.go b/policies/role_management_policies_item_rules_unified_role_management_policy_rule_item_request_builder.go index e8b6ec03044..7963342d911 100644 --- a/policies/role_management_policies_item_rules_unified_role_management_policy_rule_item_request_builder.go +++ b/policies/role_management_policies_item_rules_unified_role_management_policy_rule_item_request_builder.go @@ -18,7 +18,7 @@ type RoleManagementPoliciesItemRulesUnifiedRoleManagementPolicyRuleItemRequestBu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// RoleManagementPoliciesItemRulesUnifiedRoleManagementPolicyRuleItemRequestBuilderGetQueryParameters retrieve a rule defined for a role management policy. The rule can be one of the following types that are derived from the unifiedRoleManagementPolicyRule object: +// RoleManagementPoliciesItemRulesUnifiedRoleManagementPolicyRuleItemRequestBuilderGetQueryParameters the collection of rules like approval rules and expiration rules. Supports $expand. type RoleManagementPoliciesItemRulesUnifiedRoleManagementPolicyRuleItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *RoleManagementPoliciesItemRulesUnifiedRoleManagementPolicyRuleItemReque } return nil } -// Get retrieve a rule defined for a role management policy. The rule can be one of the following types that are derived from the unifiedRoleManagementPolicyRule object: +// Get the collection of rules like approval rules and expiration rules. Supports $expand. // returns a UnifiedRoleManagementPolicyRuleable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedrolemanagementpolicyrule-get?view=graph-rest-1.0 func (m *RoleManagementPoliciesItemRulesUnifiedRoleManagementPolicyRuleItemRequestBuilder) Get(ctx context.Context, requestConfiguration *RoleManagementPoliciesItemRulesUnifiedRoleManagementPolicyRuleItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleManagementPolicyRuleable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *RoleManagementPoliciesItemRulesUnifiedRoleManagementPolicyRuleItemReque } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleManagementPolicyRuleable), nil } -// Patch update a rule defined for a role management policy. The rule can be one of the following types that are derived from the unifiedRoleManagementPolicyRule object: For more information about rules for Microsoft Entra roles and examples of updating rules, see the following articles:+ Overview of rules for Microsoft Entra roles in PIM APIs in Microsoft Graph+ Use PIM APIs in Microsoft Graph to update Microsoft Entra ID rules +// Patch update the navigation property rules in policies // returns a UnifiedRoleManagementPolicyRuleable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedrolemanagementpolicyrule-update?view=graph-rest-1.0 func (m *RoleManagementPoliciesItemRulesUnifiedRoleManagementPolicyRuleItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleManagementPolicyRuleable, requestConfiguration *RoleManagementPoliciesItemRulesUnifiedRoleManagementPolicyRuleItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleManagementPolicyRuleable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *RoleManagementPoliciesItemRulesUnifiedRoleManagementPolicyRuleItemReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a rule defined for a role management policy. The rule can be one of the following types that are derived from the unifiedRoleManagementPolicyRule object: +// ToGetRequestInformation the collection of rules like approval rules and expiration rules. Supports $expand. // returns a *RequestInformation when successful func (m *RoleManagementPoliciesItemRulesUnifiedRoleManagementPolicyRuleItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RoleManagementPoliciesItemRulesUnifiedRoleManagementPolicyRuleItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *RoleManagementPoliciesItemRulesUnifiedRoleManagementPolicyRuleItemReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update a rule defined for a role management policy. The rule can be one of the following types that are derived from the unifiedRoleManagementPolicyRule object: For more information about rules for Microsoft Entra roles and examples of updating rules, see the following articles:+ Overview of rules for Microsoft Entra roles in PIM APIs in Microsoft Graph+ Use PIM APIs in Microsoft Graph to update Microsoft Entra ID rules +// ToPatchRequestInformation update the navigation property rules in policies // returns a *RequestInformation when successful func (m *RoleManagementPoliciesItemRulesUnifiedRoleManagementPolicyRuleItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleManagementPolicyRuleable, requestConfiguration *RoleManagementPoliciesItemRulesUnifiedRoleManagementPolicyRuleItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/role_management_policies_request_builder.go b/policies/role_management_policies_request_builder.go index 7d3630cc0d5..8fbd5df3bab 100644 --- a/policies/role_management_policies_request_builder.go +++ b/policies/role_management_policies_request_builder.go @@ -11,7 +11,7 @@ import ( type RoleManagementPoliciesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// RoleManagementPoliciesRequestBuilderGetQueryParameters get the details of the policies in PIM that can be applied to Microsoft Entra roles or group membership or ownership. To retrieve policies that apply to Azure RBAC, use the Azure REST PIM API for role management policies. +// RoleManagementPoliciesRequestBuilderGetQueryParameters represents the role management policies. type RoleManagementPoliciesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewRoleManagementPoliciesRequestBuilder(rawUrl string, requestAdapter i2ae4 func (m *RoleManagementPoliciesRequestBuilder) Count()(*RoleManagementPoliciesCountRequestBuilder) { return NewRoleManagementPoliciesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the details of the policies in PIM that can be applied to Microsoft Entra roles or group membership or ownership. To retrieve policies that apply to Azure RBAC, use the Azure REST PIM API for role management policies. +// Get represents the role management policies. // returns a UnifiedRoleManagementPolicyCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/policyroot-list-rolemanagementpolicies?view=graph-rest-1.0 func (m *RoleManagementPoliciesRequestBuilder) Get(ctx context.Context, requestConfiguration *RoleManagementPoliciesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleManagementPolicyCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *RoleManagementPoliciesRequestBuilder) Post(ctx context.Context, body ie } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleManagementPolicyable), nil } -// ToGetRequestInformation get the details of the policies in PIM that can be applied to Microsoft Entra roles or group membership or ownership. To retrieve policies that apply to Azure RBAC, use the Azure REST PIM API for role management policies. +// ToGetRequestInformation represents the role management policies. // returns a *RequestInformation when successful func (m *RoleManagementPoliciesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RoleManagementPoliciesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/role_management_policy_assignments_request_builder.go b/policies/role_management_policy_assignments_request_builder.go index cdd22c76a90..2329bdc70b5 100644 --- a/policies/role_management_policy_assignments_request_builder.go +++ b/policies/role_management_policy_assignments_request_builder.go @@ -11,7 +11,7 @@ import ( type RoleManagementPolicyAssignmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// RoleManagementPolicyAssignmentsRequestBuilderGetQueryParameters get the details of all role management policy assignments made in PIM for Microsoft Entra roles and PIM for groups. +// RoleManagementPolicyAssignmentsRequestBuilderGetQueryParameters represents the role management policy assignments. type RoleManagementPolicyAssignmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewRoleManagementPolicyAssignmentsRequestBuilder(rawUrl string, requestAdap func (m *RoleManagementPolicyAssignmentsRequestBuilder) Count()(*RoleManagementPolicyAssignmentsCountRequestBuilder) { return NewRoleManagementPolicyAssignmentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the details of all role management policy assignments made in PIM for Microsoft Entra roles and PIM for groups. +// Get represents the role management policy assignments. // returns a UnifiedRoleManagementPolicyAssignmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/policyroot-list-rolemanagementpolicyassignments?view=graph-rest-1.0 func (m *RoleManagementPolicyAssignmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *RoleManagementPolicyAssignmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleManagementPolicyAssignmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *RoleManagementPolicyAssignmentsRequestBuilder) Post(ctx context.Context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleManagementPolicyAssignmentable), nil } -// ToGetRequestInformation get the details of all role management policy assignments made in PIM for Microsoft Entra roles and PIM for groups. +// ToGetRequestInformation represents the role management policy assignments. // returns a *RequestInformation when successful func (m *RoleManagementPolicyAssignmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RoleManagementPolicyAssignmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/token_issuance_policies_request_builder.go b/policies/token_issuance_policies_request_builder.go index 05f45b9f3c8..c71e123eb9b 100644 --- a/policies/token_issuance_policies_request_builder.go +++ b/policies/token_issuance_policies_request_builder.go @@ -11,7 +11,7 @@ import ( type TokenIssuancePoliciesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TokenIssuancePoliciesRequestBuilderGetQueryParameters get a list of tokenIssuancePolicy objects. +// TokenIssuancePoliciesRequestBuilderGetQueryParameters the policy that specifies the characteristics of SAML tokens issued by Microsoft Entra ID. type TokenIssuancePoliciesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewTokenIssuancePoliciesRequestBuilder(rawUrl string, requestAdapter i2ae41 func (m *TokenIssuancePoliciesRequestBuilder) Count()(*TokenIssuancePoliciesCountRequestBuilder) { return NewTokenIssuancePoliciesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of tokenIssuancePolicy objects. +// Get the policy that specifies the characteristics of SAML tokens issued by Microsoft Entra ID. // returns a TokenIssuancePolicyCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/tokenissuancepolicy-list?view=graph-rest-1.0 func (m *TokenIssuancePoliciesRequestBuilder) Get(ctx context.Context, requestConfiguration *TokenIssuancePoliciesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TokenIssuancePolicyCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *TokenIssuancePoliciesRequestBuilder) Get(ctx context.Context, requestCo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TokenIssuancePolicyCollectionResponseable), nil } -// Post create a new tokenIssuancePolicy object. +// Post create new navigation property to tokenIssuancePolicies for policies // returns a TokenIssuancePolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/tokenissuancepolicy-post-tokenissuancepolicy?view=graph-rest-1.0 func (m *TokenIssuancePoliciesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TokenIssuancePolicyable, requestConfiguration *TokenIssuancePoliciesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TokenIssuancePolicyable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *TokenIssuancePoliciesRequestBuilder) Post(ctx context.Context, body ie2 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TokenIssuancePolicyable), nil } -// ToGetRequestInformation get a list of tokenIssuancePolicy objects. +// ToGetRequestInformation the policy that specifies the characteristics of SAML tokens issued by Microsoft Entra ID. // returns a *RequestInformation when successful func (m *TokenIssuancePoliciesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TokenIssuancePoliciesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *TokenIssuancePoliciesRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new tokenIssuancePolicy object. +// ToPostRequestInformation create new navigation property to tokenIssuancePolicies for policies // returns a *RequestInformation when successful func (m *TokenIssuancePoliciesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TokenIssuancePolicyable, requestConfiguration *TokenIssuancePoliciesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/token_issuance_policies_token_issuance_policy_item_request_builder.go b/policies/token_issuance_policies_token_issuance_policy_item_request_builder.go index feb3d158c39..440c0181dc7 100644 --- a/policies/token_issuance_policies_token_issuance_policy_item_request_builder.go +++ b/policies/token_issuance_policies_token_issuance_policy_item_request_builder.go @@ -18,7 +18,7 @@ type TokenIssuancePoliciesTokenIssuancePolicyItemRequestBuilderDeleteRequestConf // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TokenIssuancePoliciesTokenIssuancePolicyItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a tokenIssuancePolicy object. +// TokenIssuancePoliciesTokenIssuancePolicyItemRequestBuilderGetQueryParameters the policy that specifies the characteristics of SAML tokens issued by Microsoft Entra ID. type TokenIssuancePoliciesTokenIssuancePolicyItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewTokenIssuancePoliciesTokenIssuancePolicyItemRequestBuilder(rawUrl string urlParams["request-raw-url"] = rawUrl return NewTokenIssuancePoliciesTokenIssuancePolicyItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a tokenIssuancePolicy object. +// Delete delete navigation property tokenIssuancePolicies for policies // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/tokenissuancepolicy-delete?view=graph-rest-1.0 func (m *TokenIssuancePoliciesTokenIssuancePolicyItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *TokenIssuancePoliciesTokenIssuancePolicyItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *TokenIssuancePoliciesTokenIssuancePolicyItemRequestBuilder) Delete(ctx } return nil } -// Get retrieve the properties and relationships of a tokenIssuancePolicy object. +// Get the policy that specifies the characteristics of SAML tokens issued by Microsoft Entra ID. // returns a TokenIssuancePolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/tokenissuancepolicy-get?view=graph-rest-1.0 func (m *TokenIssuancePoliciesTokenIssuancePolicyItemRequestBuilder) Get(ctx context.Context, requestConfiguration *TokenIssuancePoliciesTokenIssuancePolicyItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TokenIssuancePolicyable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,12 +95,9 @@ func (m *TokenIssuancePoliciesTokenIssuancePolicyItemRequestBuilder) Get(ctx con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TokenIssuancePolicyable), nil } -// Patch update the properties of a tokenIssuancePolicy object. +// Patch update the navigation property tokenIssuancePolicies in policies // returns a TokenIssuancePolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/tokenissuancepolicy-update?view=graph-rest-1.0 func (m *TokenIssuancePoliciesTokenIssuancePolicyItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TokenIssuancePolicyable, requestConfiguration *TokenIssuancePoliciesTokenIssuancePolicyItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TokenIssuancePolicyable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -124,7 +115,7 @@ func (m *TokenIssuancePoliciesTokenIssuancePolicyItemRequestBuilder) Patch(ctx c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TokenIssuancePolicyable), nil } -// ToDeleteRequestInformation delete a tokenIssuancePolicy object. +// ToDeleteRequestInformation delete navigation property tokenIssuancePolicies for policies // returns a *RequestInformation when successful func (m *TokenIssuancePoliciesTokenIssuancePolicyItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *TokenIssuancePoliciesTokenIssuancePolicyItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -135,7 +126,7 @@ func (m *TokenIssuancePoliciesTokenIssuancePolicyItemRequestBuilder) ToDeleteReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a tokenIssuancePolicy object. +// ToGetRequestInformation the policy that specifies the characteristics of SAML tokens issued by Microsoft Entra ID. // returns a *RequestInformation when successful func (m *TokenIssuancePoliciesTokenIssuancePolicyItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TokenIssuancePoliciesTokenIssuancePolicyItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -149,7 +140,7 @@ func (m *TokenIssuancePoliciesTokenIssuancePolicyItemRequestBuilder) ToGetReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a tokenIssuancePolicy object. +// ToPatchRequestInformation update the navigation property tokenIssuancePolicies in policies // returns a *RequestInformation when successful func (m *TokenIssuancePoliciesTokenIssuancePolicyItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TokenIssuancePolicyable, requestConfiguration *TokenIssuancePoliciesTokenIssuancePolicyItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/token_lifetime_policies_request_builder.go b/policies/token_lifetime_policies_request_builder.go index 082ea155e8a..2b3ac48224b 100644 --- a/policies/token_lifetime_policies_request_builder.go +++ b/policies/token_lifetime_policies_request_builder.go @@ -11,7 +11,7 @@ import ( type TokenLifetimePoliciesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TokenLifetimePoliciesRequestBuilderGetQueryParameters get a list of tokenLifetimePolicy objects. +// TokenLifetimePoliciesRequestBuilderGetQueryParameters the policy that controls the lifetime of a JWT access token, an ID token, or a SAML 1.1/2.0 token issued by Microsoft Entra ID. type TokenLifetimePoliciesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewTokenLifetimePoliciesRequestBuilder(rawUrl string, requestAdapter i2ae41 func (m *TokenLifetimePoliciesRequestBuilder) Count()(*TokenLifetimePoliciesCountRequestBuilder) { return NewTokenLifetimePoliciesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of tokenLifetimePolicy objects. +// Get the policy that controls the lifetime of a JWT access token, an ID token, or a SAML 1.1/2.0 token issued by Microsoft Entra ID. // returns a TokenLifetimePolicyCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/tokenlifetimepolicy-list?view=graph-rest-1.0 func (m *TokenLifetimePoliciesRequestBuilder) Get(ctx context.Context, requestConfiguration *TokenLifetimePoliciesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TokenLifetimePolicyCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *TokenLifetimePoliciesRequestBuilder) Get(ctx context.Context, requestCo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TokenLifetimePolicyCollectionResponseable), nil } -// Post create a new tokenLifetimePolicy object. +// Post create new navigation property to tokenLifetimePolicies for policies // returns a TokenLifetimePolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/tokenlifetimepolicy-post-tokenlifetimepolicies?view=graph-rest-1.0 func (m *TokenLifetimePoliciesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TokenLifetimePolicyable, requestConfiguration *TokenLifetimePoliciesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TokenLifetimePolicyable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *TokenLifetimePoliciesRequestBuilder) Post(ctx context.Context, body ie2 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TokenLifetimePolicyable), nil } -// ToGetRequestInformation get a list of tokenLifetimePolicy objects. +// ToGetRequestInformation the policy that controls the lifetime of a JWT access token, an ID token, or a SAML 1.1/2.0 token issued by Microsoft Entra ID. // returns a *RequestInformation when successful func (m *TokenLifetimePoliciesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TokenLifetimePoliciesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *TokenLifetimePoliciesRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new tokenLifetimePolicy object. +// ToPostRequestInformation create new navigation property to tokenLifetimePolicies for policies // returns a *RequestInformation when successful func (m *TokenLifetimePoliciesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TokenLifetimePolicyable, requestConfiguration *TokenLifetimePoliciesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/token_lifetime_policies_token_lifetime_policy_item_request_builder.go b/policies/token_lifetime_policies_token_lifetime_policy_item_request_builder.go index dba452b2dee..e725545d95a 100644 --- a/policies/token_lifetime_policies_token_lifetime_policy_item_request_builder.go +++ b/policies/token_lifetime_policies_token_lifetime_policy_item_request_builder.go @@ -18,7 +18,7 @@ type TokenLifetimePoliciesTokenLifetimePolicyItemRequestBuilderDeleteRequestConf // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TokenLifetimePoliciesTokenLifetimePolicyItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a tokenLifetimePolicy object. +// TokenLifetimePoliciesTokenLifetimePolicyItemRequestBuilderGetQueryParameters the policy that controls the lifetime of a JWT access token, an ID token, or a SAML 1.1/2.0 token issued by Microsoft Entra ID. type TokenLifetimePoliciesTokenLifetimePolicyItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewTokenLifetimePoliciesTokenLifetimePolicyItemRequestBuilder(rawUrl string urlParams["request-raw-url"] = rawUrl return NewTokenLifetimePoliciesTokenLifetimePolicyItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a tokenLifetimePolicy object. +// Delete delete navigation property tokenLifetimePolicies for policies // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/tokenlifetimepolicy-delete?view=graph-rest-1.0 func (m *TokenLifetimePoliciesTokenLifetimePolicyItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *TokenLifetimePoliciesTokenLifetimePolicyItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *TokenLifetimePoliciesTokenLifetimePolicyItemRequestBuilder) Delete(ctx } return nil } -// Get retrieve the properties and relationships of a tokenLifetimePolicy object. +// Get the policy that controls the lifetime of a JWT access token, an ID token, or a SAML 1.1/2.0 token issued by Microsoft Entra ID. // returns a TokenLifetimePolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/tokenlifetimepolicy-get?view=graph-rest-1.0 func (m *TokenLifetimePoliciesTokenLifetimePolicyItemRequestBuilder) Get(ctx context.Context, requestConfiguration *TokenLifetimePoliciesTokenLifetimePolicyItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TokenLifetimePolicyable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,12 +95,9 @@ func (m *TokenLifetimePoliciesTokenLifetimePolicyItemRequestBuilder) Get(ctx con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TokenLifetimePolicyable), nil } -// Patch update the properties of a tokenLifetimePolicy object. +// Patch update the navigation property tokenLifetimePolicies in policies // returns a TokenLifetimePolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/tokenlifetimepolicy-update?view=graph-rest-1.0 func (m *TokenLifetimePoliciesTokenLifetimePolicyItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TokenLifetimePolicyable, requestConfiguration *TokenLifetimePoliciesTokenLifetimePolicyItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TokenLifetimePolicyable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -124,7 +115,7 @@ func (m *TokenLifetimePoliciesTokenLifetimePolicyItemRequestBuilder) Patch(ctx c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TokenLifetimePolicyable), nil } -// ToDeleteRequestInformation delete a tokenLifetimePolicy object. +// ToDeleteRequestInformation delete navigation property tokenLifetimePolicies for policies // returns a *RequestInformation when successful func (m *TokenLifetimePoliciesTokenLifetimePolicyItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *TokenLifetimePoliciesTokenLifetimePolicyItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -135,7 +126,7 @@ func (m *TokenLifetimePoliciesTokenLifetimePolicyItemRequestBuilder) ToDeleteReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a tokenLifetimePolicy object. +// ToGetRequestInformation the policy that controls the lifetime of a JWT access token, an ID token, or a SAML 1.1/2.0 token issued by Microsoft Entra ID. // returns a *RequestInformation when successful func (m *TokenLifetimePoliciesTokenLifetimePolicyItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TokenLifetimePoliciesTokenLifetimePolicyItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -149,7 +140,7 @@ func (m *TokenLifetimePoliciesTokenLifetimePolicyItemRequestBuilder) ToGetReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a tokenLifetimePolicy object. +// ToPatchRequestInformation update the navigation property tokenLifetimePolicies in policies // returns a *RequestInformation when successful func (m *TokenLifetimePoliciesTokenLifetimePolicyItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TokenLifetimePolicyable, requestConfiguration *TokenLifetimePoliciesTokenLifetimePolicyItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/print/connectors_print_connector_item_request_builder.go b/print/connectors_print_connector_item_request_builder.go index 461ed3f8b99..b8bdfdde8b2 100644 --- a/print/connectors_print_connector_item_request_builder.go +++ b/print/connectors_print_connector_item_request_builder.go @@ -18,7 +18,7 @@ type ConnectorsPrintConnectorItemRequestBuilderDeleteRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ConnectorsPrintConnectorItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a printConnector object. +// ConnectorsPrintConnectorItemRequestBuilderGetQueryParameters the list of available print connectors. type ConnectorsPrintConnectorItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewConnectorsPrintConnectorItemRequestBuilder(rawUrl string, requestAdapter urlParams["request-raw-url"] = rawUrl return NewConnectorsPrintConnectorItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete (unregister) a printConnector. +// Delete delete navigation property connectors for print // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/printconnector-delete?view=graph-rest-1.0 func (m *ConnectorsPrintConnectorItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ConnectorsPrintConnectorItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ConnectorsPrintConnectorItemRequestBuilder) Delete(ctx context.Context, } return nil } -// Get retrieve the properties and relationships of a printConnector object. +// Get the list of available print connectors. // returns a PrintConnectorable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/printconnector-get?view=graph-rest-1.0 func (m *ConnectorsPrintConnectorItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ConnectorsPrintConnectorItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrintConnectorable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ConnectorsPrintConnectorItemRequestBuilder) Get(ctx context.Context, re } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrintConnectorable), nil } -// Patch update the properties of a printConnector object. +// Patch update the navigation property connectors in print // returns a PrintConnectorable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/printconnector-update?view=graph-rest-1.0 func (m *ConnectorsPrintConnectorItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrintConnectorable, requestConfiguration *ConnectorsPrintConnectorItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrintConnectorable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *ConnectorsPrintConnectorItemRequestBuilder) Patch(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrintConnectorable), nil } -// ToDeleteRequestInformation delete (unregister) a printConnector. +// ToDeleteRequestInformation delete navigation property connectors for print // returns a *RequestInformation when successful func (m *ConnectorsPrintConnectorItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ConnectorsPrintConnectorItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *ConnectorsPrintConnectorItemRequestBuilder) ToDeleteRequestInformation( requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a printConnector object. +// ToGetRequestInformation the list of available print connectors. // returns a *RequestInformation when successful func (m *ConnectorsPrintConnectorItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConnectorsPrintConnectorItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *ConnectorsPrintConnectorItemRequestBuilder) ToGetRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a printConnector object. +// ToPatchRequestInformation update the navigation property connectors in print // returns a *RequestInformation when successful func (m *ConnectorsPrintConnectorItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrintConnectorable, requestConfiguration *ConnectorsPrintConnectorItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/print/connectors_request_builder.go b/print/connectors_request_builder.go index 1cb5a5fedf0..a00b0434aa1 100644 --- a/print/connectors_request_builder.go +++ b/print/connectors_request_builder.go @@ -11,7 +11,7 @@ import ( type ConnectorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ConnectorsRequestBuilderGetQueryParameters retrieve a list of print connectors. +// ConnectorsRequestBuilderGetQueryParameters the list of available print connectors. type ConnectorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewConnectorsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263 func (m *ConnectorsRequestBuilder) Count()(*ConnectorsCountRequestBuilder) { return NewConnectorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of print connectors. +// Get the list of available print connectors. // returns a PrintConnectorCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/print-list-connectors?view=graph-rest-1.0 func (m *ConnectorsRequestBuilder) Get(ctx context.Context, requestConfiguration *ConnectorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrintConnectorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ConnectorsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrintConnectorable), nil } -// ToGetRequestInformation retrieve a list of print connectors. +// ToGetRequestInformation the list of available print connectors. // returns a *RequestInformation when successful func (m *ConnectorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConnectorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/print/operations_print_operation_item_request_builder.go b/print/operations_print_operation_item_request_builder.go index 4967d7ab3ca..094414801d9 100644 --- a/print/operations_print_operation_item_request_builder.go +++ b/print/operations_print_operation_item_request_builder.go @@ -18,7 +18,7 @@ type OperationsPrintOperationItemRequestBuilderDeleteRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// OperationsPrintOperationItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a printOperation object. +// OperationsPrintOperationItemRequestBuilderGetQueryParameters get operations from print type OperationsPrintOperationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *OperationsPrintOperationItemRequestBuilder) Delete(ctx context.Context, } return nil } -// Get retrieve the properties and relationships of a printOperation object. +// Get get operations from print // returns a PrintOperationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/printoperation-get?view=graph-rest-1.0 func (m *OperationsPrintOperationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *OperationsPrintOperationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrintOperationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *OperationsPrintOperationItemRequestBuilder) ToDeleteRequestInformation( requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a printOperation object. +// ToGetRequestInformation get operations from print // returns a *RequestInformation when successful func (m *OperationsPrintOperationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OperationsPrintOperationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/print/operations_request_builder.go b/print/operations_request_builder.go index 0c848bcfd0f..b53ac280037 100644 --- a/print/operations_request_builder.go +++ b/print/operations_request_builder.go @@ -11,7 +11,7 @@ import ( type OperationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// OperationsRequestBuilderGetQueryParameters retrieve the properties and relationships of a printOperation object. +// OperationsRequestBuilderGetQueryParameters get operations from print type OperationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewOperationsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263 func (m *OperationsRequestBuilder) Count()(*OperationsCountRequestBuilder) { return NewOperationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties and relationships of a printOperation object. +// Get get operations from print // returns a PrintOperationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *OperationsRequestBuilder) Get(ctx context.Context, requestConfiguration *OperationsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrintOperationCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *OperationsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrintOperationable), nil } -// ToGetRequestInformation retrieve the properties and relationships of a printOperation object. +// ToGetRequestInformation get operations from print // returns a *RequestInformation when successful func (m *OperationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OperationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/print/printer_shares_item_allowed_groups_item_ref_request_builder.go b/print/printer_shares_item_allowed_groups_item_ref_request_builder.go index f1a107f1a63..e2bbdafca54 100644 --- a/print/printer_shares_item_allowed_groups_item_ref_request_builder.go +++ b/print/printer_shares_item_allowed_groups_item_ref_request_builder.go @@ -30,12 +30,9 @@ func NewPrinterSharesItemAllowedGroupsItemRefRequestBuilder(rawUrl string, reque urlParams["request-raw-url"] = rawUrl return NewPrinterSharesItemAllowedGroupsItemRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete revoke the specified group's access to submit print jobs to the associated printerShare. +// Delete delete ref of navigation property allowedGroups for print // 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 ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/printershare-delete-allowedgroup?view=graph-rest-1.0 func (m *PrinterSharesItemAllowedGroupsItemRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *PrinterSharesItemAllowedGroupsItemRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -50,7 +47,7 @@ func (m *PrinterSharesItemAllowedGroupsItemRefRequestBuilder) Delete(ctx context } return nil } -// ToDeleteRequestInformation revoke the specified group's access to submit print jobs to the associated printerShare. +// ToDeleteRequestInformation delete ref of navigation property allowedGroups for print // 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 *PrinterSharesItemAllowedGroupsItemRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *PrinterSharesItemAllowedGroupsItemRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/print/printer_shares_item_allowed_groups_ref_request_builder.go b/print/printer_shares_item_allowed_groups_ref_request_builder.go index 99ea8343d35..401dda7a551 100644 --- a/print/printer_shares_item_allowed_groups_ref_request_builder.go +++ b/print/printer_shares_item_allowed_groups_ref_request_builder.go @@ -11,7 +11,7 @@ import ( type PrinterSharesItemAllowedGroupsRefRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// PrinterSharesItemAllowedGroupsRefRequestBuilderDeleteQueryParameters revoke the specified group's access to submit print jobs to the associated printerShare. +// PrinterSharesItemAllowedGroupsRefRequestBuilderDeleteQueryParameters delete ref of navigation property allowedGroups for print type PrinterSharesItemAllowedGroupsRefRequestBuilderDeleteQueryParameters struct { // The delete Uri Id *string `uriparametername:"%40id"` @@ -25,7 +25,7 @@ type PrinterSharesItemAllowedGroupsRefRequestBuilderDeleteRequestConfiguration s // Request query parameters QueryParameters *PrinterSharesItemAllowedGroupsRefRequestBuilderDeleteQueryParameters } -// PrinterSharesItemAllowedGroupsRefRequestBuilderGetQueryParameters retrieve a list of groups that have been granted access to submit print jobs to the associated printerShare. +// PrinterSharesItemAllowedGroupsRefRequestBuilderGetQueryParameters the groups whose users have access to print using the printer. type PrinterSharesItemAllowedGroupsRefRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewPrinterSharesItemAllowedGroupsRefRequestBuilder(rawUrl string, requestAd urlParams["request-raw-url"] = rawUrl return NewPrinterSharesItemAllowedGroupsRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete revoke the specified group's access to submit print jobs to the associated printerShare. +// Delete delete ref of navigation property allowedGroups for print // 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 ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/printershare-delete-allowedgroup?view=graph-rest-1.0 func (m *PrinterSharesItemAllowedGroupsRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *PrinterSharesItemAllowedGroupsRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,13 +86,10 @@ func (m *PrinterSharesItemAllowedGroupsRefRequestBuilder) Delete(ctx context.Con } return nil } -// Get retrieve a list of groups that have been granted access to submit print jobs to the associated printerShare. +// Get the groups whose users have access to print using the printer. // 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 StringCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/printershare-list-allowedgroups?view=graph-rest-1.0 func (m *PrinterSharesItemAllowedGroupsRefRequestBuilder) Get(ctx context.Context, requestConfiguration *PrinterSharesItemAllowedGroupsRefRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -113,12 +107,9 @@ func (m *PrinterSharesItemAllowedGroupsRefRequestBuilder) Get(ctx context.Contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable), nil } -// Post grant the specified group access to submit print jobs to the associated printerShare. +// Post create new navigation property ref to allowedGroups for print // 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 ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/printershare-post-allowedgroups?view=graph-rest-1.0 func (m *PrinterSharesItemAllowedGroupsRefRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *PrinterSharesItemAllowedGroupsRefRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -133,7 +124,7 @@ func (m *PrinterSharesItemAllowedGroupsRefRequestBuilder) Post(ctx context.Conte } return nil } -// ToDeleteRequestInformation revoke the specified group's access to submit print jobs to the associated printerShare. +// ToDeleteRequestInformation delete ref of navigation property allowedGroups for print // 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 *PrinterSharesItemAllowedGroupsRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *PrinterSharesItemAllowedGroupsRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -148,7 +139,7 @@ func (m *PrinterSharesItemAllowedGroupsRefRequestBuilder) ToDeleteRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a list of groups that have been granted access to submit print jobs to the associated printerShare. +// ToGetRequestInformation the groups whose users have access to print using the printer. // 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 *PrinterSharesItemAllowedGroupsRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PrinterSharesItemAllowedGroupsRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -163,7 +154,7 @@ func (m *PrinterSharesItemAllowedGroupsRefRequestBuilder) ToGetRequestInformatio requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation grant the specified group access to submit print jobs to the associated printerShare. +// ToPostRequestInformation create new navigation property ref to allowedGroups for print // 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 *PrinterSharesItemAllowedGroupsRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *PrinterSharesItemAllowedGroupsRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/print/printer_shares_item_allowed_groups_request_builder.go b/print/printer_shares_item_allowed_groups_request_builder.go index adf0f9cdee6..451c02f9f80 100644 --- a/print/printer_shares_item_allowed_groups_request_builder.go +++ b/print/printer_shares_item_allowed_groups_request_builder.go @@ -11,7 +11,7 @@ import ( type PrinterSharesItemAllowedGroupsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// PrinterSharesItemAllowedGroupsRequestBuilderGetQueryParameters retrieve a list of groups that have been granted access to submit print jobs to the associated printerShare. +// PrinterSharesItemAllowedGroupsRequestBuilderGetQueryParameters the groups whose users have access to print using the printer. type PrinterSharesItemAllowedGroupsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,13 +69,10 @@ func NewPrinterSharesItemAllowedGroupsRequestBuilder(rawUrl string, requestAdapt func (m *PrinterSharesItemAllowedGroupsRequestBuilder) Count()(*PrinterSharesItemAllowedGroupsCountRequestBuilder) { return NewPrinterSharesItemAllowedGroupsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of groups that have been granted access to submit print jobs to the associated printerShare. +// Get the groups whose users have access to print using the printer. // 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 GroupCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/printershare-list-allowedgroups?view=graph-rest-1.0 func (m *PrinterSharesItemAllowedGroupsRequestBuilder) Get(ctx context.Context, requestConfiguration *PrinterSharesItemAllowedGroupsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.GroupCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,7 +95,7 @@ func (m *PrinterSharesItemAllowedGroupsRequestBuilder) Get(ctx context.Context, func (m *PrinterSharesItemAllowedGroupsRequestBuilder) Ref()(*PrinterSharesItemAllowedGroupsRefRequestBuilder) { return NewPrinterSharesItemAllowedGroupsRefRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation retrieve a list of groups that have been granted access to submit print jobs to the associated printerShare. +// ToGetRequestInformation the groups whose users have access to print using the printer. // 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 *PrinterSharesItemAllowedGroupsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PrinterSharesItemAllowedGroupsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/print/printer_shares_item_allowed_users_item_ref_request_builder.go b/print/printer_shares_item_allowed_users_item_ref_request_builder.go index 91b29bdf0f1..7cce29f6685 100644 --- a/print/printer_shares_item_allowed_users_item_ref_request_builder.go +++ b/print/printer_shares_item_allowed_users_item_ref_request_builder.go @@ -30,12 +30,9 @@ func NewPrinterSharesItemAllowedUsersItemRefRequestBuilder(rawUrl string, reques urlParams["request-raw-url"] = rawUrl return NewPrinterSharesItemAllowedUsersItemRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete revoke the specified user's access to submit print jobs to the associated printerShare. +// Delete delete ref of navigation property allowedUsers for print // 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 ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/printershare-delete-alloweduser?view=graph-rest-1.0 func (m *PrinterSharesItemAllowedUsersItemRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *PrinterSharesItemAllowedUsersItemRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -50,7 +47,7 @@ func (m *PrinterSharesItemAllowedUsersItemRefRequestBuilder) Delete(ctx context. } return nil } -// ToDeleteRequestInformation revoke the specified user's access to submit print jobs to the associated printerShare. +// ToDeleteRequestInformation delete ref of navigation property allowedUsers for print // 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 *PrinterSharesItemAllowedUsersItemRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *PrinterSharesItemAllowedUsersItemRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/print/printer_shares_item_allowed_users_ref_request_builder.go b/print/printer_shares_item_allowed_users_ref_request_builder.go index da3f4aca001..b48edd5a73d 100644 --- a/print/printer_shares_item_allowed_users_ref_request_builder.go +++ b/print/printer_shares_item_allowed_users_ref_request_builder.go @@ -11,7 +11,7 @@ import ( type PrinterSharesItemAllowedUsersRefRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// PrinterSharesItemAllowedUsersRefRequestBuilderDeleteQueryParameters revoke the specified user's access to submit print jobs to the associated printerShare. +// PrinterSharesItemAllowedUsersRefRequestBuilderDeleteQueryParameters delete ref of navigation property allowedUsers for print type PrinterSharesItemAllowedUsersRefRequestBuilderDeleteQueryParameters struct { // The delete Uri Id *string `uriparametername:"%40id"` @@ -25,7 +25,7 @@ type PrinterSharesItemAllowedUsersRefRequestBuilderDeleteRequestConfiguration st // Request query parameters QueryParameters *PrinterSharesItemAllowedUsersRefRequestBuilderDeleteQueryParameters } -// PrinterSharesItemAllowedUsersRefRequestBuilderGetQueryParameters retrieve a list of users who have been granted access to submit print jobs to the associated printerShare. +// PrinterSharesItemAllowedUsersRefRequestBuilderGetQueryParameters the users who have access to print using the printer. type PrinterSharesItemAllowedUsersRefRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewPrinterSharesItemAllowedUsersRefRequestBuilder(rawUrl string, requestAda urlParams["request-raw-url"] = rawUrl return NewPrinterSharesItemAllowedUsersRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete revoke the specified user's access to submit print jobs to the associated printerShare. +// Delete delete ref of navigation property allowedUsers for print // 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 ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/printershare-delete-alloweduser?view=graph-rest-1.0 func (m *PrinterSharesItemAllowedUsersRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *PrinterSharesItemAllowedUsersRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,13 +86,10 @@ func (m *PrinterSharesItemAllowedUsersRefRequestBuilder) Delete(ctx context.Cont } return nil } -// Get retrieve a list of users who have been granted access to submit print jobs to the associated printerShare. +// Get the users who have access to print using the printer. // 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 StringCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/printershare-list-allowedusers?view=graph-rest-1.0 func (m *PrinterSharesItemAllowedUsersRefRequestBuilder) Get(ctx context.Context, requestConfiguration *PrinterSharesItemAllowedUsersRefRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -113,12 +107,9 @@ func (m *PrinterSharesItemAllowedUsersRefRequestBuilder) Get(ctx context.Context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable), nil } -// Post grant the specified user access to submit print jobs to the associated printerShare. +// Post create new navigation property ref to allowedUsers for print // 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 ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/printershare-post-allowedusers?view=graph-rest-1.0 func (m *PrinterSharesItemAllowedUsersRefRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *PrinterSharesItemAllowedUsersRefRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -133,7 +124,7 @@ func (m *PrinterSharesItemAllowedUsersRefRequestBuilder) Post(ctx context.Contex } return nil } -// ToDeleteRequestInformation revoke the specified user's access to submit print jobs to the associated printerShare. +// ToDeleteRequestInformation delete ref of navigation property allowedUsers for print // 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 *PrinterSharesItemAllowedUsersRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *PrinterSharesItemAllowedUsersRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -148,7 +139,7 @@ func (m *PrinterSharesItemAllowedUsersRefRequestBuilder) ToDeleteRequestInformat requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a list of users who have been granted access to submit print jobs to the associated printerShare. +// ToGetRequestInformation the users who have access to print using the printer. // 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 *PrinterSharesItemAllowedUsersRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PrinterSharesItemAllowedUsersRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -163,7 +154,7 @@ func (m *PrinterSharesItemAllowedUsersRefRequestBuilder) ToGetRequestInformation requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation grant the specified user access to submit print jobs to the associated printerShare. +// ToPostRequestInformation create new navigation property ref to allowedUsers for print // 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 *PrinterSharesItemAllowedUsersRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *PrinterSharesItemAllowedUsersRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/print/printer_shares_item_allowed_users_request_builder.go b/print/printer_shares_item_allowed_users_request_builder.go index 611756f4b96..149a16b4401 100644 --- a/print/printer_shares_item_allowed_users_request_builder.go +++ b/print/printer_shares_item_allowed_users_request_builder.go @@ -11,7 +11,7 @@ import ( type PrinterSharesItemAllowedUsersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// PrinterSharesItemAllowedUsersRequestBuilderGetQueryParameters retrieve a list of users who have been granted access to submit print jobs to the associated printerShare. +// PrinterSharesItemAllowedUsersRequestBuilderGetQueryParameters the users who have access to print using the printer. type PrinterSharesItemAllowedUsersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,13 +69,10 @@ func NewPrinterSharesItemAllowedUsersRequestBuilder(rawUrl string, requestAdapte func (m *PrinterSharesItemAllowedUsersRequestBuilder) Count()(*PrinterSharesItemAllowedUsersCountRequestBuilder) { return NewPrinterSharesItemAllowedUsersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of users who have been granted access to submit print jobs to the associated printerShare. +// Get the users who have access to print using the printer. // 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 UserCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/printershare-list-allowedusers?view=graph-rest-1.0 func (m *PrinterSharesItemAllowedUsersRequestBuilder) Get(ctx context.Context, requestConfiguration *PrinterSharesItemAllowedUsersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,7 +95,7 @@ func (m *PrinterSharesItemAllowedUsersRequestBuilder) Get(ctx context.Context, r func (m *PrinterSharesItemAllowedUsersRequestBuilder) Ref()(*PrinterSharesItemAllowedUsersRefRequestBuilder) { return NewPrinterSharesItemAllowedUsersRefRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation retrieve a list of users who have been granted access to submit print jobs to the associated printerShare. +// ToGetRequestInformation the users who have access to print using the printer. // 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 *PrinterSharesItemAllowedUsersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PrinterSharesItemAllowedUsersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/print/printer_shares_item_jobs_item_abort_request_builder.go b/print/printer_shares_item_jobs_item_abort_request_builder.go index e18e8d6329f..0645484f008 100644 --- a/print/printer_shares_item_jobs_item_abort_request_builder.go +++ b/print/printer_shares_item_jobs_item_abort_request_builder.go @@ -35,7 +35,7 @@ func NewPrinterSharesItemJobsItemAbortRequestBuilder(rawUrl string, requestAdapt // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/printjob-abort?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/printjob-abort?view=graph-rest-beta func (m *PrinterSharesItemJobsItemAbortRequestBuilder) Post(ctx context.Context, body PrinterSharesItemJobsItemAbortPostRequestBodyable, requestConfiguration *PrinterSharesItemJobsItemAbortRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/print/printer_shares_item_jobs_item_cancel_request_builder.go b/print/printer_shares_item_jobs_item_cancel_request_builder.go index 788a0bd6729..1ed526d9a0a 100644 --- a/print/printer_shares_item_jobs_item_cancel_request_builder.go +++ b/print/printer_shares_item_jobs_item_cancel_request_builder.go @@ -35,7 +35,7 @@ func NewPrinterSharesItemJobsItemCancelRequestBuilder(rawUrl string, requestAdap // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/printjob-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/printjob-cancel?view=graph-rest-beta func (m *PrinterSharesItemJobsItemCancelRequestBuilder) Post(ctx context.Context, requestConfiguration *PrinterSharesItemJobsItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/print/printer_shares_item_jobs_item_documents_item_create_upload_session_request_builder.go b/print/printer_shares_item_jobs_item_documents_item_create_upload_session_request_builder.go index 9c0aec5b836..387cc19f1e8 100644 --- a/print/printer_shares_item_jobs_item_documents_item_create_upload_session_request_builder.go +++ b/print/printer_shares_item_jobs_item_documents_item_create_upload_session_request_builder.go @@ -37,7 +37,7 @@ func NewPrinterSharesItemJobsItemDocumentsItemCreateUploadSessionRequestBuilder( // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/printdocument-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/printdocument-createuploadsession?view=graph-rest-beta func (m *PrinterSharesItemJobsItemDocumentsItemCreateUploadSessionRequestBuilder) Post(ctx context.Context, body PrinterSharesItemJobsItemDocumentsItemCreateUploadSessionPostRequestBodyable, requestConfiguration *PrinterSharesItemJobsItemDocumentsItemCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/print/printer_shares_item_jobs_item_redirect_request_builder.go b/print/printer_shares_item_jobs_item_redirect_request_builder.go index 63caed4029e..d238d9a7360 100644 --- a/print/printer_shares_item_jobs_item_redirect_request_builder.go +++ b/print/printer_shares_item_jobs_item_redirect_request_builder.go @@ -37,7 +37,7 @@ func NewPrinterSharesItemJobsItemRedirectRequestBuilder(rawUrl string, requestAd // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/printjob-redirect?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/printjob-redirect?view=graph-rest-beta func (m *PrinterSharesItemJobsItemRedirectRequestBuilder) Post(ctx context.Context, body PrinterSharesItemJobsItemRedirectPostRequestBodyable, requestConfiguration *PrinterSharesItemJobsItemRedirectRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrintJobable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/print/printers_create_request_builder.go b/print/printers_create_request_builder.go index 75afd99d155..b3986a6c306 100644 --- a/print/printers_create_request_builder.go +++ b/print/printers_create_request_builder.go @@ -34,7 +34,7 @@ func NewPrintersCreateRequestBuilder(rawUrl string, requestAdapter i2ae4187f7dae // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/printer-create?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/printer-create?view=graph-rest-beta func (m *PrintersCreateRequestBuilder) Post(ctx context.Context, body PrintersCreatePostRequestBodyable, requestConfiguration *PrintersCreateRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/print/printers_item_connectors_request_builder.go b/print/printers_item_connectors_request_builder.go index a8eadf3d4ca..d19226d5614 100644 --- a/print/printers_item_connectors_request_builder.go +++ b/print/printers_item_connectors_request_builder.go @@ -11,7 +11,7 @@ import ( type PrintersItemConnectorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// PrintersItemConnectorsRequestBuilderGetQueryParameters retrieve a list of connectors associated with the printer. +// PrintersItemConnectorsRequestBuilderGetQueryParameters the connectors that are associated with the printer. type PrintersItemConnectorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewPrintersItemConnectorsRequestBuilder(rawUrl string, requestAdapter i2ae4 func (m *PrintersItemConnectorsRequestBuilder) Count()(*PrintersItemConnectorsCountRequestBuilder) { return NewPrintersItemConnectorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of connectors associated with the printer. +// Get the connectors that are associated with the printer. // returns a PrintConnectorCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/printer-list-connectors?view=graph-rest-1.0 func (m *PrintersItemConnectorsRequestBuilder) Get(ctx context.Context, requestConfiguration *PrintersItemConnectorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrintConnectorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *PrintersItemConnectorsRequestBuilder) Get(ctx context.Context, requestC } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrintConnectorCollectionResponseable), nil } -// ToGetRequestInformation retrieve a list of connectors associated with the printer. +// ToGetRequestInformation the connectors that are associated with the printer. // returns a *RequestInformation when successful func (m *PrintersItemConnectorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PrintersItemConnectorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/print/printers_item_get_capabilities_request_builder.go b/print/printers_item_get_capabilities_request_builder.go index 0182df5b527..a47f960d421 100644 --- a/print/printers_item_get_capabilities_request_builder.go +++ b/print/printers_item_get_capabilities_request_builder.go @@ -31,10 +31,13 @@ func NewPrintersItemGetCapabilitiesRequestBuilder(rawUrl string, requestAdapter urlParams["request-raw-url"] = rawUrl return NewPrintersItemGetCapabilitiesRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getCapabilities +// Get get a list of capabilities for the printer. // Deprecated: The getCapabilities API is deprecated and will stop returning data on July 31, 2023. Please use the capabilities property instead of this. as of 2023-06/Tasks_And_Plans // returns a PrinterCapabilitiesable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/printer-getcapabilities?view=graph-rest-beta func (m *PrintersItemGetCapabilitiesRequestBuilder) Get(ctx context.Context, requestConfiguration *PrintersItemGetCapabilitiesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrinterCapabilitiesable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -52,7 +55,7 @@ func (m *PrintersItemGetCapabilitiesRequestBuilder) Get(ctx context.Context, req } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrinterCapabilitiesable), nil } -// ToGetRequestInformation invoke function getCapabilities +// ToGetRequestInformation get a list of capabilities for the printer. // Deprecated: The getCapabilities API is deprecated and will stop returning data on July 31, 2023. Please use the capabilities property instead of this. as of 2023-06/Tasks_And_Plans // returns a *RequestInformation when successful func (m *PrintersItemGetCapabilitiesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PrintersItemGetCapabilitiesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/print/printers_item_jobs_item_abort_request_builder.go b/print/printers_item_jobs_item_abort_request_builder.go index fc33cfc06ca..c5b3451da8d 100644 --- a/print/printers_item_jobs_item_abort_request_builder.go +++ b/print/printers_item_jobs_item_abort_request_builder.go @@ -34,7 +34,7 @@ func NewPrintersItemJobsItemAbortRequestBuilder(rawUrl string, requestAdapter i2 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/printjob-abort?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/printjob-abort?view=graph-rest-beta func (m *PrintersItemJobsItemAbortRequestBuilder) Post(ctx context.Context, body PrintersItemJobsItemAbortPostRequestBodyable, requestConfiguration *PrintersItemJobsItemAbortRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/print/printers_item_jobs_item_cancel_request_builder.go b/print/printers_item_jobs_item_cancel_request_builder.go index 62ce6da37ed..bc015f92b33 100644 --- a/print/printers_item_jobs_item_cancel_request_builder.go +++ b/print/printers_item_jobs_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewPrintersItemJobsItemCancelRequestBuilder(rawUrl string, requestAdapter i // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/printjob-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/printjob-cancel?view=graph-rest-beta func (m *PrintersItemJobsItemCancelRequestBuilder) Post(ctx context.Context, requestConfiguration *PrintersItemJobsItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/print/printers_item_jobs_item_documents_item_create_upload_session_request_builder.go b/print/printers_item_jobs_item_documents_item_create_upload_session_request_builder.go index 2e9ad5b80de..a4338820c28 100644 --- a/print/printers_item_jobs_item_documents_item_create_upload_session_request_builder.go +++ b/print/printers_item_jobs_item_documents_item_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewPrintersItemJobsItemDocumentsItemCreateUploadSessionRequestBuilder(rawUr // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/printdocument-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/printdocument-createuploadsession?view=graph-rest-beta func (m *PrintersItemJobsItemDocumentsItemCreateUploadSessionRequestBuilder) Post(ctx context.Context, body PrintersItemJobsItemDocumentsItemCreateUploadSessionPostRequestBodyable, requestConfiguration *PrintersItemJobsItemDocumentsItemCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/print/printers_item_jobs_item_redirect_request_builder.go b/print/printers_item_jobs_item_redirect_request_builder.go index c4fd99de4f0..83ec139f4d7 100644 --- a/print/printers_item_jobs_item_redirect_request_builder.go +++ b/print/printers_item_jobs_item_redirect_request_builder.go @@ -36,7 +36,7 @@ func NewPrintersItemJobsItemRedirectRequestBuilder(rawUrl string, requestAdapter // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/printjob-redirect?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/printjob-redirect?view=graph-rest-beta func (m *PrintersItemJobsItemRedirectRequestBuilder) Post(ctx context.Context, body PrintersItemJobsItemRedirectPostRequestBodyable, requestConfiguration *PrintersItemJobsItemRedirectRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrintJobable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/print/printers_item_restore_factory_defaults_request_builder.go b/print/printers_item_restore_factory_defaults_request_builder.go index c4f44adc986..286f2a116d0 100644 --- a/print/printers_item_restore_factory_defaults_request_builder.go +++ b/print/printers_item_restore_factory_defaults_request_builder.go @@ -34,7 +34,7 @@ func NewPrintersItemRestoreFactoryDefaultsRequestBuilder(rawUrl string, requestA // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/printer-restorefactorydefaults?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/printer-restorefactorydefaults?view=graph-rest-beta func (m *PrintersItemRestoreFactoryDefaultsRequestBuilder) Post(ctx context.Context, requestConfiguration *PrintersItemRestoreFactoryDefaultsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/print/printers_item_task_triggers_print_task_trigger_item_request_builder.go b/print/printers_item_task_triggers_print_task_trigger_item_request_builder.go index 22f6e106acb..39cb76f8147 100644 --- a/print/printers_item_task_triggers_print_task_trigger_item_request_builder.go +++ b/print/printers_item_task_triggers_print_task_trigger_item_request_builder.go @@ -18,7 +18,7 @@ type PrintersItemTaskTriggersPrintTaskTriggerItemRequestBuilderDeleteRequestConf // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// PrintersItemTaskTriggersPrintTaskTriggerItemRequestBuilderGetQueryParameters get a task trigger from a printer. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. +// PrintersItemTaskTriggersPrintTaskTriggerItemRequestBuilderGetQueryParameters a list of task triggers that are associated with the printer. type PrintersItemTaskTriggersPrintTaskTriggerItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewPrintersItemTaskTriggersPrintTaskTriggerItemRequestBuilder(rawUrl string func (m *PrintersItemTaskTriggersPrintTaskTriggerItemRequestBuilder) Definition()(*PrintersItemTaskTriggersItemDefinitionRequestBuilder) { return NewPrintersItemTaskTriggersItemDefinitionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Delete delete a printer's task trigger to prevent related print events from triggering tasks on the specified printer. +// Delete delete navigation property taskTriggers for print // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/printer-delete-tasktrigger?view=graph-rest-1.0 func (m *PrintersItemTaskTriggersPrintTaskTriggerItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *PrintersItemTaskTriggersPrintTaskTriggerItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *PrintersItemTaskTriggersPrintTaskTriggerItemRequestBuilder) Delete(ctx } return nil } -// Get get a task trigger from a printer. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. +// Get a list of task triggers that are associated with the printer. // returns a PrintTaskTriggerable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/printtasktrigger-get?view=graph-rest-1.0 func (m *PrintersItemTaskTriggersPrintTaskTriggerItemRequestBuilder) Get(ctx context.Context, requestConfiguration *PrintersItemTaskTriggersPrintTaskTriggerItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrintTaskTriggerable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -121,7 +115,7 @@ func (m *PrintersItemTaskTriggersPrintTaskTriggerItemRequestBuilder) Patch(ctx c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrintTaskTriggerable), nil } -// ToDeleteRequestInformation delete a printer's task trigger to prevent related print events from triggering tasks on the specified printer. +// ToDeleteRequestInformation delete navigation property taskTriggers for print // returns a *RequestInformation when successful func (m *PrintersItemTaskTriggersPrintTaskTriggerItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *PrintersItemTaskTriggersPrintTaskTriggerItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -132,7 +126,7 @@ func (m *PrintersItemTaskTriggersPrintTaskTriggerItemRequestBuilder) ToDeleteReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a task trigger from a printer. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. +// ToGetRequestInformation a list of task triggers that are associated with the printer. // returns a *RequestInformation when successful func (m *PrintersItemTaskTriggersPrintTaskTriggerItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PrintersItemTaskTriggersPrintTaskTriggerItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/print/printers_item_task_triggers_request_builder.go b/print/printers_item_task_triggers_request_builder.go index eaa76534ab9..ef94cff6cdf 100644 --- a/print/printers_item_task_triggers_request_builder.go +++ b/print/printers_item_task_triggers_request_builder.go @@ -11,7 +11,7 @@ import ( type PrintersItemTaskTriggersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// PrintersItemTaskTriggersRequestBuilderGetQueryParameters retrieve a list of task triggers associated with the printer. The list of task triggers defines which tasks will be triggered as a result of events that occur during printing. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. +// PrintersItemTaskTriggersRequestBuilderGetQueryParameters a list of task triggers that are associated with the printer. type PrintersItemTaskTriggersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewPrintersItemTaskTriggersRequestBuilder(rawUrl string, requestAdapter i2a func (m *PrintersItemTaskTriggersRequestBuilder) Count()(*PrintersItemTaskTriggersCountRequestBuilder) { return NewPrintersItemTaskTriggersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of task triggers associated with the printer. The list of task triggers defines which tasks will be triggered as a result of events that occur during printing. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. +// Get a list of task triggers that are associated with the printer. // returns a PrintTaskTriggerCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/printer-list-tasktriggers?view=graph-rest-1.0 func (m *PrintersItemTaskTriggersRequestBuilder) Get(ctx context.Context, requestConfiguration *PrintersItemTaskTriggersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrintTaskTriggerCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *PrintersItemTaskTriggersRequestBuilder) Get(ctx context.Context, reques } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrintTaskTriggerCollectionResponseable), nil } -// Post create a new task trigger on the specified printer. Currently, only one task trigger can be specified per printer, but this limit might be removed in the future. +// Post create new navigation property to taskTriggers for print // returns a PrintTaskTriggerable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/printer-post-tasktriggers?view=graph-rest-1.0 func (m *PrintersItemTaskTriggersRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrintTaskTriggerable, requestConfiguration *PrintersItemTaskTriggersRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrintTaskTriggerable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *PrintersItemTaskTriggersRequestBuilder) Post(ctx context.Context, body } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrintTaskTriggerable), nil } -// ToGetRequestInformation retrieve a list of task triggers associated with the printer. The list of task triggers defines which tasks will be triggered as a result of events that occur during printing. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. +// ToGetRequestInformation a list of task triggers that are associated with the printer. // returns a *RequestInformation when successful func (m *PrintersItemTaskTriggersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PrintersItemTaskTriggersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *PrintersItemTaskTriggersRequestBuilder) ToGetRequestInformation(ctx con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new task trigger on the specified printer. Currently, only one task trigger can be specified per printer, but this limit might be removed in the future. +// ToPostRequestInformation create new navigation property to taskTriggers for print // returns a *RequestInformation when successful func (m *PrintersItemTaskTriggersRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrintTaskTriggerable, requestConfiguration *PrintersItemTaskTriggersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/print/printers_printer_item_request_builder.go b/print/printers_printer_item_request_builder.go index 4d56db0ebab..e8f1bdd6538 100644 --- a/print/printers_printer_item_request_builder.go +++ b/print/printers_printer_item_request_builder.go @@ -18,7 +18,7 @@ type PrintersPrinterItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// PrintersPrinterItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a printer object. +// PrintersPrinterItemRequestBuilderGetQueryParameters the list of printers registered in the tenant. type PrintersPrinterItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewPrintersPrinterItemRequestBuilder(rawUrl string, requestAdapter i2ae4187 urlParams["request-raw-url"] = rawUrl return NewPrintersPrinterItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete (unregister) a printer. +// Delete delete navigation property printers for print // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/printer-delete?view=graph-rest-1.0 func (m *PrintersPrinterItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *PrintersPrinterItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *PrintersPrinterItemRequestBuilder) Delete(ctx context.Context, requestC } return nil } -// Get retrieve the properties and relationships of a printer object. +// Get the list of printers registered in the tenant. // returns a Printerable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/printer-get?view=graph-rest-1.0 func (m *PrintersPrinterItemRequestBuilder) Get(ctx context.Context, requestConfiguration *PrintersPrinterItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Printerable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -111,12 +105,9 @@ func (m *PrintersPrinterItemRequestBuilder) GetCapabilities()(*PrintersItemGetCa func (m *PrintersPrinterItemRequestBuilder) Jobs()(*PrintersItemJobsRequestBuilder) { return NewPrintersItemJobsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of a printer object. +// Patch update the navigation property printers in print // returns a Printerable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/printer-update?view=graph-rest-1.0 func (m *PrintersPrinterItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Printerable, requestConfiguration *PrintersPrinterItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Printerable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -159,7 +150,7 @@ func (m *PrintersPrinterItemRequestBuilder) Shares()(*PrintersItemSharesRequestB func (m *PrintersPrinterItemRequestBuilder) TaskTriggers()(*PrintersItemTaskTriggersRequestBuilder) { return NewPrintersItemTaskTriggersRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete (unregister) a printer. +// ToDeleteRequestInformation delete navigation property printers for print // returns a *RequestInformation when successful func (m *PrintersPrinterItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *PrintersPrinterItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -170,7 +161,7 @@ func (m *PrintersPrinterItemRequestBuilder) ToDeleteRequestInformation(ctx conte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a printer object. +// ToGetRequestInformation the list of printers registered in the tenant. // returns a *RequestInformation when successful func (m *PrintersPrinterItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PrintersPrinterItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -184,7 +175,7 @@ func (m *PrintersPrinterItemRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a printer object. +// ToPatchRequestInformation update the navigation property printers in print // returns a *RequestInformation when successful func (m *PrintersPrinterItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Printerable, requestConfiguration *PrintersPrinterItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/print/printers_request_builder.go b/print/printers_request_builder.go index aba99c4f72c..9447ad99fc6 100644 --- a/print/printers_request_builder.go +++ b/print/printers_request_builder.go @@ -11,7 +11,7 @@ import ( type PrintersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// PrintersRequestBuilderGetQueryParameters retrieve the list of printers that are registered in the tenant. +// PrintersRequestBuilderGetQueryParameters the list of printers registered in the tenant. type PrintersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *PrintersRequestBuilder) Count()(*PrintersCountRequestBuilder) { func (m *PrintersRequestBuilder) Create()(*PrintersCreateRequestBuilder) { return NewPrintersCreateRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of printers that are registered in the tenant. +// Get the list of printers registered in the tenant. // returns a PrinterCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/print-list-printers?view=graph-rest-1.0 func (m *PrintersRequestBuilder) Get(ctx context.Context, requestConfiguration *PrintersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrinterCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *PrintersRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4b } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Printerable), nil } -// ToGetRequestInformation retrieve the list of printers that are registered in the tenant. +// ToGetRequestInformation the list of printers registered in the tenant. // returns a *RequestInformation when successful func (m *PrintersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PrintersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/print/services_item_endpoints_print_service_endpoint_item_request_builder.go b/print/services_item_endpoints_print_service_endpoint_item_request_builder.go index 897760bb4aa..55d988fc14d 100644 --- a/print/services_item_endpoints_print_service_endpoint_item_request_builder.go +++ b/print/services_item_endpoints_print_service_endpoint_item_request_builder.go @@ -18,7 +18,7 @@ type ServicesItemEndpointsPrintServiceEndpointItemRequestBuilderDeleteRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ServicesItemEndpointsPrintServiceEndpointItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a print service endpoint. +// ServicesItemEndpointsPrintServiceEndpointItemRequestBuilderGetQueryParameters endpoints that can be used to access the service. Read-only. Nullable. type ServicesItemEndpointsPrintServiceEndpointItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ServicesItemEndpointsPrintServiceEndpointItemRequestBuilder) Delete(ctx } return nil } -// Get retrieve the properties and relationships of a print service endpoint. +// Get endpoints that can be used to access the service. Read-only. Nullable. // returns a PrintServiceEndpointable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/printserviceendpoint-get?view=graph-rest-1.0 func (m *ServicesItemEndpointsPrintServiceEndpointItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ServicesItemEndpointsPrintServiceEndpointItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrintServiceEndpointable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ServicesItemEndpointsPrintServiceEndpointItemRequestBuilder) ToDeleteRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a print service endpoint. +// ToGetRequestInformation endpoints that can be used to access the service. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ServicesItemEndpointsPrintServiceEndpointItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ServicesItemEndpointsPrintServiceEndpointItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/print/services_item_endpoints_request_builder.go b/print/services_item_endpoints_request_builder.go index a434c2cfb06..89e86d21b77 100644 --- a/print/services_item_endpoints_request_builder.go +++ b/print/services_item_endpoints_request_builder.go @@ -11,7 +11,7 @@ import ( type ServicesItemEndpointsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ServicesItemEndpointsRequestBuilderGetQueryParameters retrieve a list of endpoints exposed by a print service. +// ServicesItemEndpointsRequestBuilderGetQueryParameters endpoints that can be used to access the service. Read-only. Nullable. type ServicesItemEndpointsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewServicesItemEndpointsRequestBuilder(rawUrl string, requestAdapter i2ae41 func (m *ServicesItemEndpointsRequestBuilder) Count()(*ServicesItemEndpointsCountRequestBuilder) { return NewServicesItemEndpointsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of endpoints exposed by a print service. +// Get endpoints that can be used to access the service. Read-only. Nullable. // returns a PrintServiceEndpointCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/printservice-list-endpoints?view=graph-rest-1.0 func (m *ServicesItemEndpointsRequestBuilder) Get(ctx context.Context, requestConfiguration *ServicesItemEndpointsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrintServiceEndpointCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ServicesItemEndpointsRequestBuilder) Post(ctx context.Context, body ie2 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrintServiceEndpointable), nil } -// ToGetRequestInformation retrieve a list of endpoints exposed by a print service. +// ToGetRequestInformation endpoints that can be used to access the service. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ServicesItemEndpointsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ServicesItemEndpointsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/print/services_print_service_item_request_builder.go b/print/services_print_service_item_request_builder.go index 6635432ad25..f72d7498ea8 100644 --- a/print/services_print_service_item_request_builder.go +++ b/print/services_print_service_item_request_builder.go @@ -18,7 +18,7 @@ type ServicesPrintServiceItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ServicesPrintServiceItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a print service. +// ServicesPrintServiceItemRequestBuilderGetQueryParameters the list of available Universal Print service endpoints. type ServicesPrintServiceItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *ServicesPrintServiceItemRequestBuilder) Delete(ctx context.Context, req func (m *ServicesPrintServiceItemRequestBuilder) Endpoints()(*ServicesItemEndpointsRequestBuilder) { return NewServicesItemEndpointsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties and relationships of a print service. +// Get the list of available Universal Print service endpoints. // returns a PrintServiceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/printservice-get?view=graph-rest-1.0 func (m *ServicesPrintServiceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ServicesPrintServiceItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrintServiceable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *ServicesPrintServiceItemRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a print service. +// ToGetRequestInformation the list of available Universal Print service endpoints. // returns a *RequestInformation when successful func (m *ServicesPrintServiceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ServicesPrintServiceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/print/services_request_builder.go b/print/services_request_builder.go index 3bc49751ae8..9f0b32342ca 100644 --- a/print/services_request_builder.go +++ b/print/services_request_builder.go @@ -11,7 +11,7 @@ import ( type ServicesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ServicesRequestBuilderGetQueryParameters retrieve a list of printService objects that represent the services available to your tenant. +// ServicesRequestBuilderGetQueryParameters the list of available Universal Print service endpoints. type ServicesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewServicesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26337 func (m *ServicesRequestBuilder) Count()(*ServicesCountRequestBuilder) { return NewServicesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of printService objects that represent the services available to your tenant. +// Get the list of available Universal Print service endpoints. // returns a PrintServiceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/print-list-services?view=graph-rest-1.0 func (m *ServicesRequestBuilder) Get(ctx context.Context, requestConfiguration *ServicesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrintServiceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ServicesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4b } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrintServiceable), nil } -// ToGetRequestInformation retrieve a list of printService objects that represent the services available to your tenant. +// ToGetRequestInformation the list of available Universal Print service endpoints. // returns a *RequestInformation when successful func (m *ServicesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ServicesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/print/shares_item_allowed_groups_item_ref_request_builder.go b/print/shares_item_allowed_groups_item_ref_request_builder.go index 1c9fa8d7d93..c0f94a1ff21 100644 --- a/print/shares_item_allowed_groups_item_ref_request_builder.go +++ b/print/shares_item_allowed_groups_item_ref_request_builder.go @@ -30,11 +30,8 @@ func NewSharesItemAllowedGroupsItemRefRequestBuilder(rawUrl string, requestAdapt urlParams["request-raw-url"] = rawUrl return NewSharesItemAllowedGroupsItemRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete revoke the specified group's access to submit print jobs to the associated printerShare. +// Delete delete ref of navigation property allowedGroups for print // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/printershare-delete-allowedgroup?view=graph-rest-1.0 func (m *SharesItemAllowedGroupsItemRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *SharesItemAllowedGroupsItemRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -49,7 +46,7 @@ func (m *SharesItemAllowedGroupsItemRefRequestBuilder) Delete(ctx context.Contex } return nil } -// ToDeleteRequestInformation revoke the specified group's access to submit print jobs to the associated printerShare. +// ToDeleteRequestInformation delete ref of navigation property allowedGroups for print // returns a *RequestInformation when successful func (m *SharesItemAllowedGroupsItemRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *SharesItemAllowedGroupsItemRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/print/shares_item_allowed_groups_ref_request_builder.go b/print/shares_item_allowed_groups_ref_request_builder.go index 5f3e14de7e9..12aa52df86a 100644 --- a/print/shares_item_allowed_groups_ref_request_builder.go +++ b/print/shares_item_allowed_groups_ref_request_builder.go @@ -11,7 +11,7 @@ import ( type SharesItemAllowedGroupsRefRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// SharesItemAllowedGroupsRefRequestBuilderDeleteQueryParameters revoke the specified group's access to submit print jobs to the associated printerShare. +// SharesItemAllowedGroupsRefRequestBuilderDeleteQueryParameters delete ref of navigation property allowedGroups for print type SharesItemAllowedGroupsRefRequestBuilderDeleteQueryParameters struct { // The delete Uri Id *string `uriparametername:"%40id"` @@ -25,7 +25,7 @@ type SharesItemAllowedGroupsRefRequestBuilderDeleteRequestConfiguration struct { // Request query parameters QueryParameters *SharesItemAllowedGroupsRefRequestBuilderDeleteQueryParameters } -// SharesItemAllowedGroupsRefRequestBuilderGetQueryParameters retrieve a list of groups that have been granted access to submit print jobs to the associated printerShare. +// SharesItemAllowedGroupsRefRequestBuilderGetQueryParameters the groups whose users have access to print using the printer. type SharesItemAllowedGroupsRefRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,11 +69,8 @@ func NewSharesItemAllowedGroupsRefRequestBuilder(rawUrl string, requestAdapter i urlParams["request-raw-url"] = rawUrl return NewSharesItemAllowedGroupsRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete revoke the specified group's access to submit print jobs to the associated printerShare. +// Delete delete ref of navigation property allowedGroups for print // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/printershare-delete-allowedgroup?view=graph-rest-1.0 func (m *SharesItemAllowedGroupsRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *SharesItemAllowedGroupsRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -88,12 +85,9 @@ func (m *SharesItemAllowedGroupsRefRequestBuilder) Delete(ctx context.Context, r } return nil } -// Get retrieve a list of groups that have been granted access to submit print jobs to the associated printerShare. +// Get the groups whose users have access to print using the printer. // returns a StringCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/printershare-list-allowedgroups?view=graph-rest-1.0 func (m *SharesItemAllowedGroupsRefRequestBuilder) Get(ctx context.Context, requestConfiguration *SharesItemAllowedGroupsRefRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -111,11 +105,8 @@ func (m *SharesItemAllowedGroupsRefRequestBuilder) Get(ctx context.Context, requ } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable), nil } -// Post grant the specified group access to submit print jobs to the associated printerShare. +// Post create new navigation property ref to allowedGroups for print // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/printershare-post-allowedgroups?view=graph-rest-1.0 func (m *SharesItemAllowedGroupsRefRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *SharesItemAllowedGroupsRefRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -130,7 +121,7 @@ func (m *SharesItemAllowedGroupsRefRequestBuilder) Post(ctx context.Context, bod } return nil } -// ToDeleteRequestInformation revoke the specified group's access to submit print jobs to the associated printerShare. +// ToDeleteRequestInformation delete ref of navigation property allowedGroups for print // returns a *RequestInformation when successful func (m *SharesItemAllowedGroupsRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *SharesItemAllowedGroupsRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, "{+baseurl}/print/shares/{printerShare%2Did}/allowedGroups/$ref?@id={%40id}", m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *SharesItemAllowedGroupsRefRequestBuilder) ToDeleteRequestInformation(ct requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a list of groups that have been granted access to submit print jobs to the associated printerShare. +// ToGetRequestInformation the groups whose users have access to print using the printer. // returns a *RequestInformation when successful func (m *SharesItemAllowedGroupsRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SharesItemAllowedGroupsRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/print/shares/{printerShare%2Did}/allowedGroups/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) @@ -158,7 +149,7 @@ func (m *SharesItemAllowedGroupsRefRequestBuilder) ToGetRequestInformation(ctx c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation grant the specified group access to submit print jobs to the associated printerShare. +// ToPostRequestInformation create new navigation property ref to allowedGroups for print // returns a *RequestInformation when successful func (m *SharesItemAllowedGroupsRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *SharesItemAllowedGroupsRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/print/shares/{printerShare%2Did}/allowedGroups/$ref", m.BaseRequestBuilder.PathParameters) diff --git a/print/shares_item_allowed_groups_request_builder.go b/print/shares_item_allowed_groups_request_builder.go index efad837ce88..498c547acea 100644 --- a/print/shares_item_allowed_groups_request_builder.go +++ b/print/shares_item_allowed_groups_request_builder.go @@ -11,7 +11,7 @@ import ( type SharesItemAllowedGroupsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// SharesItemAllowedGroupsRequestBuilderGetQueryParameters retrieve a list of groups that have been granted access to submit print jobs to the associated printerShare. +// SharesItemAllowedGroupsRequestBuilderGetQueryParameters the groups whose users have access to print using the printer. type SharesItemAllowedGroupsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewSharesItemAllowedGroupsRequestBuilder(rawUrl string, requestAdapter i2ae func (m *SharesItemAllowedGroupsRequestBuilder) Count()(*SharesItemAllowedGroupsCountRequestBuilder) { return NewSharesItemAllowedGroupsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of groups that have been granted access to submit print jobs to the associated printerShare. +// Get the groups whose users have access to print using the printer. // returns a GroupCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/printershare-list-allowedgroups?view=graph-rest-1.0 func (m *SharesItemAllowedGroupsRequestBuilder) Get(ctx context.Context, requestConfiguration *SharesItemAllowedGroupsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.GroupCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -97,7 +94,7 @@ func (m *SharesItemAllowedGroupsRequestBuilder) Get(ctx context.Context, request func (m *SharesItemAllowedGroupsRequestBuilder) Ref()(*SharesItemAllowedGroupsRefRequestBuilder) { return NewSharesItemAllowedGroupsRefRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation retrieve a list of groups that have been granted access to submit print jobs to the associated printerShare. +// ToGetRequestInformation the groups whose users have access to print using the printer. // returns a *RequestInformation when successful func (m *SharesItemAllowedGroupsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SharesItemAllowedGroupsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/print/shares_item_allowed_users_item_ref_request_builder.go b/print/shares_item_allowed_users_item_ref_request_builder.go index 7592077cdf6..8efdba2e0bf 100644 --- a/print/shares_item_allowed_users_item_ref_request_builder.go +++ b/print/shares_item_allowed_users_item_ref_request_builder.go @@ -30,11 +30,8 @@ func NewSharesItemAllowedUsersItemRefRequestBuilder(rawUrl string, requestAdapte urlParams["request-raw-url"] = rawUrl return NewSharesItemAllowedUsersItemRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete revoke the specified user's access to submit print jobs to the associated printerShare. +// Delete delete ref of navigation property allowedUsers for print // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/printershare-delete-alloweduser?view=graph-rest-1.0 func (m *SharesItemAllowedUsersItemRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *SharesItemAllowedUsersItemRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -49,7 +46,7 @@ func (m *SharesItemAllowedUsersItemRefRequestBuilder) Delete(ctx context.Context } return nil } -// ToDeleteRequestInformation revoke the specified user's access to submit print jobs to the associated printerShare. +// ToDeleteRequestInformation delete ref of navigation property allowedUsers for print // returns a *RequestInformation when successful func (m *SharesItemAllowedUsersItemRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *SharesItemAllowedUsersItemRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/print/shares_item_allowed_users_ref_request_builder.go b/print/shares_item_allowed_users_ref_request_builder.go index 621f857093b..d9684630e71 100644 --- a/print/shares_item_allowed_users_ref_request_builder.go +++ b/print/shares_item_allowed_users_ref_request_builder.go @@ -11,7 +11,7 @@ import ( type SharesItemAllowedUsersRefRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// SharesItemAllowedUsersRefRequestBuilderDeleteQueryParameters revoke the specified user's access to submit print jobs to the associated printerShare. +// SharesItemAllowedUsersRefRequestBuilderDeleteQueryParameters delete ref of navigation property allowedUsers for print type SharesItemAllowedUsersRefRequestBuilderDeleteQueryParameters struct { // The delete Uri Id *string `uriparametername:"%40id"` @@ -25,7 +25,7 @@ type SharesItemAllowedUsersRefRequestBuilderDeleteRequestConfiguration struct { // Request query parameters QueryParameters *SharesItemAllowedUsersRefRequestBuilderDeleteQueryParameters } -// SharesItemAllowedUsersRefRequestBuilderGetQueryParameters retrieve a list of users who have been granted access to submit print jobs to the associated printerShare. +// SharesItemAllowedUsersRefRequestBuilderGetQueryParameters the users who have access to print using the printer. type SharesItemAllowedUsersRefRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,11 +69,8 @@ func NewSharesItemAllowedUsersRefRequestBuilder(rawUrl string, requestAdapter i2 urlParams["request-raw-url"] = rawUrl return NewSharesItemAllowedUsersRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete revoke the specified user's access to submit print jobs to the associated printerShare. +// Delete delete ref of navigation property allowedUsers for print // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/printershare-delete-alloweduser?view=graph-rest-1.0 func (m *SharesItemAllowedUsersRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *SharesItemAllowedUsersRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -88,12 +85,9 @@ func (m *SharesItemAllowedUsersRefRequestBuilder) Delete(ctx context.Context, re } return nil } -// Get retrieve a list of users who have been granted access to submit print jobs to the associated printerShare. +// Get the users who have access to print using the printer. // returns a StringCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/printershare-list-allowedusers?view=graph-rest-1.0 func (m *SharesItemAllowedUsersRefRequestBuilder) Get(ctx context.Context, requestConfiguration *SharesItemAllowedUsersRefRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -111,11 +105,8 @@ func (m *SharesItemAllowedUsersRefRequestBuilder) Get(ctx context.Context, reque } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable), nil } -// Post grant the specified user access to submit print jobs to the associated printerShare. +// Post create new navigation property ref to allowedUsers for print // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/printershare-post-allowedusers?view=graph-rest-1.0 func (m *SharesItemAllowedUsersRefRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *SharesItemAllowedUsersRefRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -130,7 +121,7 @@ func (m *SharesItemAllowedUsersRefRequestBuilder) Post(ctx context.Context, body } return nil } -// ToDeleteRequestInformation revoke the specified user's access to submit print jobs to the associated printerShare. +// ToDeleteRequestInformation delete ref of navigation property allowedUsers for print // returns a *RequestInformation when successful func (m *SharesItemAllowedUsersRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *SharesItemAllowedUsersRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, "{+baseurl}/print/shares/{printerShare%2Did}/allowedUsers/$ref?@id={%40id}", m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *SharesItemAllowedUsersRefRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a list of users who have been granted access to submit print jobs to the associated printerShare. +// ToGetRequestInformation the users who have access to print using the printer. // returns a *RequestInformation when successful func (m *SharesItemAllowedUsersRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SharesItemAllowedUsersRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/print/shares/{printerShare%2Did}/allowedUsers/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) @@ -158,7 +149,7 @@ func (m *SharesItemAllowedUsersRefRequestBuilder) ToGetRequestInformation(ctx co requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation grant the specified user access to submit print jobs to the associated printerShare. +// ToPostRequestInformation create new navigation property ref to allowedUsers for print // returns a *RequestInformation when successful func (m *SharesItemAllowedUsersRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *SharesItemAllowedUsersRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/print/shares/{printerShare%2Did}/allowedUsers/$ref", m.BaseRequestBuilder.PathParameters) diff --git a/print/shares_item_allowed_users_request_builder.go b/print/shares_item_allowed_users_request_builder.go index 92346f4bf9b..31b7ef4ff85 100644 --- a/print/shares_item_allowed_users_request_builder.go +++ b/print/shares_item_allowed_users_request_builder.go @@ -11,7 +11,7 @@ import ( type SharesItemAllowedUsersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// SharesItemAllowedUsersRequestBuilderGetQueryParameters retrieve a list of users who have been granted access to submit print jobs to the associated printerShare. +// SharesItemAllowedUsersRequestBuilderGetQueryParameters the users who have access to print using the printer. type SharesItemAllowedUsersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewSharesItemAllowedUsersRequestBuilder(rawUrl string, requestAdapter i2ae4 func (m *SharesItemAllowedUsersRequestBuilder) Count()(*SharesItemAllowedUsersCountRequestBuilder) { return NewSharesItemAllowedUsersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of users who have been granted access to submit print jobs to the associated printerShare. +// Get the users who have access to print using the printer. // returns a UserCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/printershare-list-allowedusers?view=graph-rest-1.0 func (m *SharesItemAllowedUsersRequestBuilder) Get(ctx context.Context, requestConfiguration *SharesItemAllowedUsersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -97,7 +94,7 @@ func (m *SharesItemAllowedUsersRequestBuilder) Get(ctx context.Context, requestC func (m *SharesItemAllowedUsersRequestBuilder) Ref()(*SharesItemAllowedUsersRefRequestBuilder) { return NewSharesItemAllowedUsersRefRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation retrieve a list of users who have been granted access to submit print jobs to the associated printerShare. +// ToGetRequestInformation the users who have access to print using the printer. // returns a *RequestInformation when successful func (m *SharesItemAllowedUsersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SharesItemAllowedUsersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/print/shares_item_jobs_item_abort_request_builder.go b/print/shares_item_jobs_item_abort_request_builder.go index 065ac896c3b..c64da6edbc6 100644 --- a/print/shares_item_jobs_item_abort_request_builder.go +++ b/print/shares_item_jobs_item_abort_request_builder.go @@ -34,7 +34,7 @@ func NewSharesItemJobsItemAbortRequestBuilder(rawUrl string, requestAdapter i2ae // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/printjob-abort?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/printjob-abort?view=graph-rest-beta func (m *SharesItemJobsItemAbortRequestBuilder) Post(ctx context.Context, body SharesItemJobsItemAbortPostRequestBodyable, requestConfiguration *SharesItemJobsItemAbortRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/print/shares_item_jobs_item_cancel_request_builder.go b/print/shares_item_jobs_item_cancel_request_builder.go index f8191778217..b35dd1ed76b 100644 --- a/print/shares_item_jobs_item_cancel_request_builder.go +++ b/print/shares_item_jobs_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewSharesItemJobsItemCancelRequestBuilder(rawUrl string, requestAdapter i2a // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/printjob-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/printjob-cancel?view=graph-rest-beta func (m *SharesItemJobsItemCancelRequestBuilder) Post(ctx context.Context, requestConfiguration *SharesItemJobsItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/print/shares_item_jobs_item_documents_item_create_upload_session_request_builder.go b/print/shares_item_jobs_item_documents_item_create_upload_session_request_builder.go index a3e55a7497c..a7e2141e9bf 100644 --- a/print/shares_item_jobs_item_documents_item_create_upload_session_request_builder.go +++ b/print/shares_item_jobs_item_documents_item_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewSharesItemJobsItemDocumentsItemCreateUploadSessionRequestBuilder(rawUrl // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/printdocument-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/printdocument-createuploadsession?view=graph-rest-beta func (m *SharesItemJobsItemDocumentsItemCreateUploadSessionRequestBuilder) Post(ctx context.Context, body SharesItemJobsItemDocumentsItemCreateUploadSessionPostRequestBodyable, requestConfiguration *SharesItemJobsItemDocumentsItemCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/print/shares_item_jobs_item_redirect_request_builder.go b/print/shares_item_jobs_item_redirect_request_builder.go index c9b545bdbf3..c07d901e2c1 100644 --- a/print/shares_item_jobs_item_redirect_request_builder.go +++ b/print/shares_item_jobs_item_redirect_request_builder.go @@ -36,7 +36,7 @@ func NewSharesItemJobsItemRedirectRequestBuilder(rawUrl string, requestAdapter i // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/printjob-redirect?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/printjob-redirect?view=graph-rest-beta func (m *SharesItemJobsItemRedirectRequestBuilder) Post(ctx context.Context, body SharesItemJobsItemRedirectPostRequestBodyable, requestConfiguration *SharesItemJobsItemRedirectRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrintJobable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/print/shares_printer_share_item_request_builder.go b/print/shares_printer_share_item_request_builder.go index f2c8f2aa908..735896f532f 100644 --- a/print/shares_printer_share_item_request_builder.go +++ b/print/shares_printer_share_item_request_builder.go @@ -18,7 +18,7 @@ type SharesPrinterShareItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// SharesPrinterShareItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a printer share. +// SharesPrinterShareItemRequestBuilderGetQueryParameters the list of printer shares registered in the tenant. type SharesPrinterShareItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -64,11 +64,8 @@ func NewSharesPrinterShareItemRequestBuilder(rawUrl string, requestAdapter i2ae4 urlParams["request-raw-url"] = rawUrl return NewSharesPrinterShareItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a printer share (unshare the associated printer). This action can't be undone. If the printer is shared again in the future, any Windows users who had previously installed the printer needs to discover and reinstall it. +// Delete delete navigation property shares for print // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/printershare-delete?view=graph-rest-1.0 func (m *SharesPrinterShareItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *SharesPrinterShareItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -83,12 +80,9 @@ func (m *SharesPrinterShareItemRequestBuilder) Delete(ctx context.Context, reque } return nil } -// Get retrieve the properties and relationships of a printer share. +// Get the list of printer shares registered in the tenant. // returns a PrinterShareable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/printershare-get?view=graph-rest-1.0 func (m *SharesPrinterShareItemRequestBuilder) Get(ctx context.Context, requestConfiguration *SharesPrinterShareItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrinterShareable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -111,12 +105,9 @@ func (m *SharesPrinterShareItemRequestBuilder) Get(ctx context.Context, requestC func (m *SharesPrinterShareItemRequestBuilder) Jobs()(*SharesItemJobsRequestBuilder) { return NewSharesItemJobsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of a printer share. This method can be used to swap printers. For example, if a physical printer device breaks, an administrator can register a new printer device and update this printerShare to point to the new printer without requiring users to take any action. +// Patch update the navigation property shares in print // returns a PrinterShareable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/printershare-update?view=graph-rest-1.0 func (m *SharesPrinterShareItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrinterShareable, requestConfiguration *SharesPrinterShareItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrinterShareable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -139,7 +130,7 @@ func (m *SharesPrinterShareItemRequestBuilder) Patch(ctx context.Context, body i func (m *SharesPrinterShareItemRequestBuilder) Printer()(*SharesItemPrinterRequestBuilder) { return NewSharesItemPrinterRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a printer share (unshare the associated printer). This action can't be undone. If the printer is shared again in the future, any Windows users who had previously installed the printer needs to discover and reinstall it. +// ToDeleteRequestInformation delete navigation property shares for print // returns a *RequestInformation when successful func (m *SharesPrinterShareItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *SharesPrinterShareItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -150,7 +141,7 @@ func (m *SharesPrinterShareItemRequestBuilder) ToDeleteRequestInformation(ctx co requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a printer share. +// ToGetRequestInformation the list of printer shares registered in the tenant. // returns a *RequestInformation when successful func (m *SharesPrinterShareItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SharesPrinterShareItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -164,7 +155,7 @@ func (m *SharesPrinterShareItemRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a printer share. This method can be used to swap printers. For example, if a physical printer device breaks, an administrator can register a new printer device and update this printerShare to point to the new printer without requiring users to take any action. +// ToPatchRequestInformation update the navigation property shares in print // returns a *RequestInformation when successful func (m *SharesPrinterShareItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrinterShareable, requestConfiguration *SharesPrinterShareItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/print/shares_request_builder.go b/print/shares_request_builder.go index 4b266dce07d..0e1c41678d5 100644 --- a/print/shares_request_builder.go +++ b/print/shares_request_builder.go @@ -11,7 +11,7 @@ import ( type SharesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// SharesRequestBuilderGetQueryParameters retrieve a list of printerShares. +// SharesRequestBuilderGetQueryParameters the list of printer shares registered in the tenant. type SharesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewSharesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371c func (m *SharesRequestBuilder) Count()(*SharesCountRequestBuilder) { return NewSharesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of printerShares. +// Get the list of printer shares registered in the tenant. // returns a PrinterShareCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/print-list-shares?view=graph-rest-1.0 func (m *SharesRequestBuilder) Get(ctx context.Context, requestConfiguration *SharesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrinterShareCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *SharesRequestBuilder) Get(ctx context.Context, requestConfiguration *Sh } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrinterShareCollectionResponseable), nil } -// Post create a new printerShare for the specified printer. +// Post create new navigation property to shares for print // returns a PrinterShareable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/print-post-shares?view=graph-rest-1.0 func (m *SharesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrinterShareable, requestConfiguration *SharesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrinterShareable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *SharesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrinterShareable), nil } -// ToGetRequestInformation retrieve a list of printerShares. +// ToGetRequestInformation the list of printer shares registered in the tenant. // returns a *RequestInformation when successful func (m *SharesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SharesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *SharesRequestBuilder) ToGetRequestInformation(ctx context.Context, requ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new printerShare for the specified printer. +// ToPostRequestInformation create new navigation property to shares for print // returns a *RequestInformation when successful func (m *SharesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrinterShareable, requestConfiguration *SharesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/print/task_definitions_item_tasks_print_task_item_request_builder.go b/print/task_definitions_item_tasks_print_task_item_request_builder.go index f0c1f7db9e2..f1ab9729798 100644 --- a/print/task_definitions_item_tasks_print_task_item_request_builder.go +++ b/print/task_definitions_item_tasks_print_task_item_request_builder.go @@ -18,7 +18,7 @@ type TaskDefinitionsItemTasksPrintTaskItemRequestBuilderDeleteRequestConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TaskDefinitionsItemTasksPrintTaskItemRequestBuilderGetQueryParameters get details about a print task. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. +// TaskDefinitionsItemTasksPrintTaskItemRequestBuilderGetQueryParameters a list of tasks that have been created based on this definition. The list includes currently running tasks and recently completed tasks. Read-only. type TaskDefinitionsItemTasksPrintTaskItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *TaskDefinitionsItemTasksPrintTaskItemRequestBuilder) Delete(ctx context } return nil } -// Get get details about a print task. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. +// Get a list of tasks that have been created based on this definition. The list includes currently running tasks and recently completed tasks. Read-only. // returns a PrintTaskable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/printtask-get?view=graph-rest-1.0 func (m *TaskDefinitionsItemTasksPrintTaskItemRequestBuilder) Get(ctx context.Context, requestConfiguration *TaskDefinitionsItemTasksPrintTaskItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrintTaskable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,12 +95,9 @@ func (m *TaskDefinitionsItemTasksPrintTaskItemRequestBuilder) Get(ctx context.Co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrintTaskable), nil } -// Patch update a print task. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. +// Patch update the navigation property tasks in print // returns a PrintTaskable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/printtaskdefinition-update-task?view=graph-rest-1.0 func (m *TaskDefinitionsItemTasksPrintTaskItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrintTaskable, requestConfiguration *TaskDefinitionsItemTasksPrintTaskItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrintTaskable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -132,7 +126,7 @@ func (m *TaskDefinitionsItemTasksPrintTaskItemRequestBuilder) ToDeleteRequestInf requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get details about a print task. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. +// ToGetRequestInformation a list of tasks that have been created based on this definition. The list includes currently running tasks and recently completed tasks. Read-only. // returns a *RequestInformation when successful func (m *TaskDefinitionsItemTasksPrintTaskItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TaskDefinitionsItemTasksPrintTaskItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -146,7 +140,7 @@ func (m *TaskDefinitionsItemTasksPrintTaskItemRequestBuilder) ToGetRequestInform requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update a print task. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. +// ToPatchRequestInformation update the navigation property tasks in print // returns a *RequestInformation when successful func (m *TaskDefinitionsItemTasksPrintTaskItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrintTaskable, requestConfiguration *TaskDefinitionsItemTasksPrintTaskItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/print/task_definitions_item_tasks_request_builder.go b/print/task_definitions_item_tasks_request_builder.go index 6e61ecf01e0..0922b4542d8 100644 --- a/print/task_definitions_item_tasks_request_builder.go +++ b/print/task_definitions_item_tasks_request_builder.go @@ -11,7 +11,7 @@ import ( type TaskDefinitionsItemTasksRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TaskDefinitionsItemTasksRequestBuilderGetQueryParameters retrieve a list of tasks associated with a task definition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. +// TaskDefinitionsItemTasksRequestBuilderGetQueryParameters a list of tasks that have been created based on this definition. The list includes currently running tasks and recently completed tasks. Read-only. type TaskDefinitionsItemTasksRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewTaskDefinitionsItemTasksRequestBuilder(rawUrl string, requestAdapter i2a func (m *TaskDefinitionsItemTasksRequestBuilder) Count()(*TaskDefinitionsItemTasksCountRequestBuilder) { return NewTaskDefinitionsItemTasksCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of tasks associated with a task definition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. +// Get a list of tasks that have been created based on this definition. The list includes currently running tasks and recently completed tasks. Read-only. // returns a PrintTaskCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/printtaskdefinition-list-tasks?view=graph-rest-1.0 func (m *TaskDefinitionsItemTasksRequestBuilder) Get(ctx context.Context, requestConfiguration *TaskDefinitionsItemTasksRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrintTaskCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *TaskDefinitionsItemTasksRequestBuilder) Post(ctx context.Context, body } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrintTaskable), nil } -// ToGetRequestInformation retrieve a list of tasks associated with a task definition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. +// ToGetRequestInformation a list of tasks that have been created based on this definition. The list includes currently running tasks and recently completed tasks. Read-only. // returns a *RequestInformation when successful func (m *TaskDefinitionsItemTasksRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TaskDefinitionsItemTasksRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/print/task_definitions_print_task_definition_item_request_builder.go b/print/task_definitions_print_task_definition_item_request_builder.go index d9a27efc06f..aebbeafb1db 100644 --- a/print/task_definitions_print_task_definition_item_request_builder.go +++ b/print/task_definitions_print_task_definition_item_request_builder.go @@ -18,7 +18,7 @@ type TaskDefinitionsPrintTaskDefinitionItemRequestBuilderDeleteRequestConfigurat // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TaskDefinitionsPrintTaskDefinitionItemRequestBuilderGetQueryParameters get details about a task definition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. +// TaskDefinitionsPrintTaskDefinitionItemRequestBuilderGetQueryParameters get taskDefinitions from print type TaskDefinitionsPrintTaskDefinitionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewTaskDefinitionsPrintTaskDefinitionItemRequestBuilder(rawUrl string, requ urlParams["request-raw-url"] = rawUrl return NewTaskDefinitionsPrintTaskDefinitionItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a taskDefinition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. +// Delete delete navigation property taskDefinitions for print // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/print-delete-taskdefinition?view=graph-rest-1.0 func (m *TaskDefinitionsPrintTaskDefinitionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *TaskDefinitionsPrintTaskDefinitionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *TaskDefinitionsPrintTaskDefinitionItemRequestBuilder) Delete(ctx contex } return nil } -// Get get details about a task definition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. +// Get get taskDefinitions from print // returns a PrintTaskDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/printtaskdefinition-get?view=graph-rest-1.0 func (m *TaskDefinitionsPrintTaskDefinitionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *TaskDefinitionsPrintTaskDefinitionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrintTaskDefinitionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *TaskDefinitionsPrintTaskDefinitionItemRequestBuilder) Get(ctx context.C } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrintTaskDefinitionable), nil } -// Patch update a task definition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. +// Patch update the navigation property taskDefinitions in print // returns a PrintTaskDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/print-update-taskdefinition?view=graph-rest-1.0 func (m *TaskDefinitionsPrintTaskDefinitionItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrintTaskDefinitionable, requestConfiguration *TaskDefinitionsPrintTaskDefinitionItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrintTaskDefinitionable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -124,7 +115,7 @@ func (m *TaskDefinitionsPrintTaskDefinitionItemRequestBuilder) Patch(ctx context func (m *TaskDefinitionsPrintTaskDefinitionItemRequestBuilder) Tasks()(*TaskDefinitionsItemTasksRequestBuilder) { return NewTaskDefinitionsItemTasksRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a taskDefinition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. +// ToDeleteRequestInformation delete navigation property taskDefinitions for print // returns a *RequestInformation when successful func (m *TaskDefinitionsPrintTaskDefinitionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *TaskDefinitionsPrintTaskDefinitionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -135,7 +126,7 @@ func (m *TaskDefinitionsPrintTaskDefinitionItemRequestBuilder) ToDeleteRequestIn requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get details about a task definition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. +// ToGetRequestInformation get taskDefinitions from print // returns a *RequestInformation when successful func (m *TaskDefinitionsPrintTaskDefinitionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TaskDefinitionsPrintTaskDefinitionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -149,7 +140,7 @@ func (m *TaskDefinitionsPrintTaskDefinitionItemRequestBuilder) ToGetRequestInfor requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update a task definition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. +// ToPatchRequestInformation update the navigation property taskDefinitions in print // returns a *RequestInformation when successful func (m *TaskDefinitionsPrintTaskDefinitionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrintTaskDefinitionable, requestConfiguration *TaskDefinitionsPrintTaskDefinitionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/print/task_definitions_request_builder.go b/print/task_definitions_request_builder.go index 008f12b7847..48ef12c976a 100644 --- a/print/task_definitions_request_builder.go +++ b/print/task_definitions_request_builder.go @@ -11,7 +11,7 @@ import ( type TaskDefinitionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TaskDefinitionsRequestBuilderGetQueryParameters retrieve a list of task definitions that the requesting app defined in the tenant. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. +// TaskDefinitionsRequestBuilderGetQueryParameters get taskDefinitions from print type TaskDefinitionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewTaskDefinitionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7da func (m *TaskDefinitionsRequestBuilder) Count()(*TaskDefinitionsCountRequestBuilder) { return NewTaskDefinitionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of task definitions that the requesting app defined in the tenant. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. +// Get get taskDefinitions from print // returns a PrintTaskDefinitionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/print-list-taskdefinitions?view=graph-rest-1.0 func (m *TaskDefinitionsRequestBuilder) Get(ctx context.Context, requestConfiguration *TaskDefinitionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrintTaskDefinitionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *TaskDefinitionsRequestBuilder) Get(ctx context.Context, requestConfigur } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrintTaskDefinitionCollectionResponseable), nil } -// Post create a new task definition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. +// Post create new navigation property to taskDefinitions for print // returns a PrintTaskDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/print-post-taskdefinitions?view=graph-rest-1.0 func (m *TaskDefinitionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrintTaskDefinitionable, requestConfiguration *TaskDefinitionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrintTaskDefinitionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *TaskDefinitionsRequestBuilder) Post(ctx context.Context, body ie233ee76 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrintTaskDefinitionable), nil } -// ToGetRequestInformation retrieve a list of task definitions that the requesting app defined in the tenant. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. +// ToGetRequestInformation get taskDefinitions from print // returns a *RequestInformation when successful func (m *TaskDefinitionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TaskDefinitionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *TaskDefinitionsRequestBuilder) ToGetRequestInformation(ctx context.Cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new task definition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. +// ToPostRequestInformation create new navigation property to taskDefinitions for print // returns a *RequestInformation when successful func (m *TaskDefinitionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrintTaskDefinitionable, requestConfiguration *TaskDefinitionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/privacy/subject_rights_requests_item_get_final_attachment_request_builder.go b/privacy/subject_rights_requests_item_get_final_attachment_request_builder.go index 93d6bdf08b6..67e291ae826 100644 --- a/privacy/subject_rights_requests_item_get_final_attachment_request_builder.go +++ b/privacy/subject_rights_requests_item_get_final_attachment_request_builder.go @@ -30,10 +30,13 @@ func NewSubjectRightsRequestsItemGetFinalAttachmentRequestBuilder(rawUrl string, urlParams["request-raw-url"] = rawUrl return NewSubjectRightsRequestsItemGetFinalAttachmentRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getFinalAttachment +// Get get the final attachment for a subject rights request. The attachment is a zip file that contains all the files that were included by the privacy administrator. // Deprecated: The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate // 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/subjectrightsrequest-getfinalattachment?view=graph-rest-beta func (m *SubjectRightsRequestsItemGetFinalAttachmentRequestBuilder) Get(ctx context.Context, requestConfiguration *SubjectRightsRequestsItemGetFinalAttachmentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -51,7 +54,7 @@ func (m *SubjectRightsRequestsItemGetFinalAttachmentRequestBuilder) Get(ctx cont } return res.([]byte), nil } -// ToGetRequestInformation invoke function getFinalAttachment +// ToGetRequestInformation get the final attachment for a subject rights request. The attachment is a zip file that contains all the files that were included by the privacy administrator. // Deprecated: The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate // returns a *RequestInformation when successful func (m *SubjectRightsRequestsItemGetFinalAttachmentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SubjectRightsRequestsItemGetFinalAttachmentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/privacy/subject_rights_requests_item_get_final_report_request_builder.go b/privacy/subject_rights_requests_item_get_final_report_request_builder.go index 88bb04dce14..9d3556d256a 100644 --- a/privacy/subject_rights_requests_item_get_final_report_request_builder.go +++ b/privacy/subject_rights_requests_item_get_final_report_request_builder.go @@ -30,10 +30,13 @@ func NewSubjectRightsRequestsItemGetFinalReportRequestBuilder(rawUrl string, req urlParams["request-raw-url"] = rawUrl return NewSubjectRightsRequestsItemGetFinalReportRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getFinalReport +// Get get the final report for a subject rights request. The report is a text file that contains information about the files that were included by the privacy administrator. // Deprecated: The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate // 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/subjectrightsrequest-getfinalreport?view=graph-rest-beta func (m *SubjectRightsRequestsItemGetFinalReportRequestBuilder) Get(ctx context.Context, requestConfiguration *SubjectRightsRequestsItemGetFinalReportRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -51,7 +54,7 @@ func (m *SubjectRightsRequestsItemGetFinalReportRequestBuilder) Get(ctx context. } return res.([]byte), nil } -// ToGetRequestInformation invoke function getFinalReport +// ToGetRequestInformation get the final report for a subject rights request. The report is a text file that contains information about the files that were included by the privacy administrator. // Deprecated: The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate // returns a *RequestInformation when successful func (m *SubjectRightsRequestsItemGetFinalReportRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SubjectRightsRequestsItemGetFinalReportRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/privacy/subject_rights_requests_item_notes_request_builder.go b/privacy/subject_rights_requests_item_notes_request_builder.go index 966d70f3190..81c1db9c625 100644 --- a/privacy/subject_rights_requests_item_notes_request_builder.go +++ b/privacy/subject_rights_requests_item_notes_request_builder.go @@ -11,7 +11,7 @@ import ( type SubjectRightsRequestsItemNotesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// SubjectRightsRequestsItemNotesRequestBuilderGetQueryParameters get the list of authored notes associated with a subject rights request. +// SubjectRightsRequestsItemNotesRequestBuilderGetQueryParameters list of notes associated with the request. type SubjectRightsRequestsItemNotesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -77,13 +77,10 @@ func NewSubjectRightsRequestsItemNotesRequestBuilder(rawUrl string, requestAdapt func (m *SubjectRightsRequestsItemNotesRequestBuilder) Count()(*SubjectRightsRequestsItemNotesCountRequestBuilder) { return NewSubjectRightsRequestsItemNotesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of authored notes associated with a subject rights request. +// Get list of notes associated with the request. // Deprecated: The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate // returns a AuthoredNoteCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/subjectrightsrequest-list-notes?view=graph-rest-1.0 func (m *SubjectRightsRequestsItemNotesRequestBuilder) Get(ctx context.Context, requestConfiguration *SubjectRightsRequestsItemNotesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthoredNoteCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,13 +98,10 @@ func (m *SubjectRightsRequestsItemNotesRequestBuilder) Get(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthoredNoteCollectionResponseable), nil } -// Post create a new authoredNote object. +// Post create new navigation property to notes for privacy // Deprecated: The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate // returns a AuthoredNoteable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/subjectrightsrequest-post-notes?view=graph-rest-1.0 func (m *SubjectRightsRequestsItemNotesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthoredNoteable, requestConfiguration *SubjectRightsRequestsItemNotesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthoredNoteable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *SubjectRightsRequestsItemNotesRequestBuilder) Post(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthoredNoteable), nil } -// ToGetRequestInformation get the list of authored notes associated with a subject rights request. +// ToGetRequestInformation list of notes associated with the request. // Deprecated: The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate // returns a *RequestInformation when successful func (m *SubjectRightsRequestsItemNotesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SubjectRightsRequestsItemNotesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -140,7 +134,7 @@ func (m *SubjectRightsRequestsItemNotesRequestBuilder) ToGetRequestInformation(c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new authoredNote object. +// ToPostRequestInformation create new navigation property to notes for privacy // Deprecated: The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate // returns a *RequestInformation when successful func (m *SubjectRightsRequestsItemNotesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthoredNoteable, requestConfiguration *SubjectRightsRequestsItemNotesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/privacy/subject_rights_requests_request_builder.go b/privacy/subject_rights_requests_request_builder.go index febe3406a83..f64732d75bb 100644 --- a/privacy/subject_rights_requests_request_builder.go +++ b/privacy/subject_rights_requests_request_builder.go @@ -11,7 +11,7 @@ import ( type SubjectRightsRequestsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// SubjectRightsRequestsRequestBuilderGetQueryParameters get a list of subjectRightsRequest objects and their properties. +// SubjectRightsRequestsRequestBuilderGetQueryParameters get subjectRightsRequests from privacy type SubjectRightsRequestsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -77,13 +77,10 @@ func NewSubjectRightsRequestsRequestBuilder(rawUrl string, requestAdapter i2ae41 func (m *SubjectRightsRequestsRequestBuilder) Count()(*SubjectRightsRequestsCountRequestBuilder) { return NewSubjectRightsRequestsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of subjectRightsRequest objects and their properties. +// Get get subjectRightsRequests from privacy // Deprecated: The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate // returns a SubjectRightsRequestCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/subjectrightsrequest-list?view=graph-rest-1.0 func (m *SubjectRightsRequestsRequestBuilder) Get(ctx context.Context, requestConfiguration *SubjectRightsRequestsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SubjectRightsRequestCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,13 +98,10 @@ func (m *SubjectRightsRequestsRequestBuilder) Get(ctx context.Context, requestCo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SubjectRightsRequestCollectionResponseable), nil } -// Post create a new subjectRightsRequest object. +// Post create new navigation property to subjectRightsRequests for privacy // Deprecated: The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate // returns a SubjectRightsRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/subjectrightsrequest-post?view=graph-rest-1.0 func (m *SubjectRightsRequestsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SubjectRightsRequestable, requestConfiguration *SubjectRightsRequestsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SubjectRightsRequestable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *SubjectRightsRequestsRequestBuilder) Post(ctx context.Context, body ie2 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SubjectRightsRequestable), nil } -// ToGetRequestInformation get a list of subjectRightsRequest objects and their properties. +// ToGetRequestInformation get subjectRightsRequests from privacy // Deprecated: The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate // returns a *RequestInformation when successful func (m *SubjectRightsRequestsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SubjectRightsRequestsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -140,7 +134,7 @@ func (m *SubjectRightsRequestsRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new subjectRightsRequest object. +// ToPostRequestInformation create new navigation property to subjectRightsRequests for privacy // Deprecated: The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate // returns a *RequestInformation when successful func (m *SubjectRightsRequestsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SubjectRightsRequestable, requestConfiguration *SubjectRightsRequestsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/privacy/subject_rights_requests_subject_rights_request_item_request_builder.go b/privacy/subject_rights_requests_subject_rights_request_item_request_builder.go index e9822e96a53..d2c14b0aa2d 100644 --- a/privacy/subject_rights_requests_subject_rights_request_item_request_builder.go +++ b/privacy/subject_rights_requests_subject_rights_request_item_request_builder.go @@ -18,7 +18,7 @@ type SubjectRightsRequestsSubjectRightsRequestItemRequestBuilderDeleteRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// SubjectRightsRequestsSubjectRightsRequestItemRequestBuilderGetQueryParameters read the properties and relationships of a subjectRightsRequest object. +// SubjectRightsRequestsSubjectRightsRequestItemRequestBuilderGetQueryParameters get subjectRightsRequests from privacy type SubjectRightsRequestsSubjectRightsRequestItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -81,13 +81,10 @@ func (m *SubjectRightsRequestsSubjectRightsRequestItemRequestBuilder) Delete(ctx } return nil } -// Get read the properties and relationships of a subjectRightsRequest object. +// Get get subjectRightsRequests from privacy // Deprecated: The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate // returns a SubjectRightsRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/subjectrightsrequest-get?view=graph-rest-1.0 func (m *SubjectRightsRequestsSubjectRightsRequestItemRequestBuilder) Get(ctx context.Context, requestConfiguration *SubjectRightsRequestsSubjectRightsRequestItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SubjectRightsRequestable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -120,13 +117,10 @@ func (m *SubjectRightsRequestsSubjectRightsRequestItemRequestBuilder) GetFinalRe func (m *SubjectRightsRequestsSubjectRightsRequestItemRequestBuilder) Notes()(*SubjectRightsRequestsItemNotesRequestBuilder) { return NewSubjectRightsRequestsItemNotesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of a subjectRightsRequest object. +// Patch update the navigation property subjectRightsRequests in privacy // Deprecated: The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate // returns a SubjectRightsRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/subjectrightsrequest-update?view=graph-rest-1.0 func (m *SubjectRightsRequestsSubjectRightsRequestItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SubjectRightsRequestable, requestConfiguration *SubjectRightsRequestsSubjectRightsRequestItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SubjectRightsRequestable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -161,7 +155,7 @@ func (m *SubjectRightsRequestsSubjectRightsRequestItemRequestBuilder) ToDeleteRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a subjectRightsRequest object. +// ToGetRequestInformation get subjectRightsRequests from privacy // Deprecated: The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate // returns a *RequestInformation when successful func (m *SubjectRightsRequestsSubjectRightsRequestItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SubjectRightsRequestsSubjectRightsRequestItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -176,7 +170,7 @@ func (m *SubjectRightsRequestsSubjectRightsRequestItemRequestBuilder) ToGetReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a subjectRightsRequest object. +// ToPatchRequestInformation update the navigation property subjectRightsRequests in privacy // Deprecated: The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate // returns a *RequestInformation when successful func (m *SubjectRightsRequestsSubjectRightsRequestItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SubjectRightsRequestable, requestConfiguration *SubjectRightsRequestsSubjectRightsRequestItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/privilegedaccess/item_resources_request_builder.go b/privilegedaccess/item_resources_request_builder.go index a08d6484454..2e5d7b30a92 100644 --- a/privilegedaccess/item_resources_request_builder.go +++ b/privilegedaccess/item_resources_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemResourcesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemResourcesRequestBuilderGetQueryParameters retrieve a collection of governanceResource that the requestor has access to. +// ItemResourcesRequestBuilderGetQueryParameters a collection of resources for the provider. type ItemResourcesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemResourcesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee func (m *ItemResourcesRequestBuilder) Count()(*ItemResourcesCountRequestBuilder) { return NewItemResourcesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a collection of governanceResource that the requestor has access to. +// Get a collection of resources for the provider. // returns a GovernanceResourceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/governanceresource-list?view=graph-rest-1.0 func (m *ItemResourcesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemResourcesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.GovernanceResourceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemResourcesRequestBuilder) Post(ctx context.Context, body ie233ee762e func (m *ItemResourcesRequestBuilder) Register()(*ItemResourcesRegisterRequestBuilder) { return NewItemResourcesRegisterRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation retrieve a collection of governanceResource that the requestor has access to. +// ToGetRequestInformation a collection of resources for the provider. // returns a *RequestInformation when successful func (m *ItemResourcesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemResourcesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/privilegedaccess/item_role_assignment_requests_request_builder.go b/privilegedaccess/item_role_assignment_requests_request_builder.go index e7b4dfd45a1..45e6fbd59bf 100644 --- a/privilegedaccess/item_role_assignment_requests_request_builder.go +++ b/privilegedaccess/item_role_assignment_requests_request_builder.go @@ -96,12 +96,9 @@ func (m *ItemRoleAssignmentRequestsRequestBuilder) Get(ctx context.Context, requ } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.GovernanceRoleAssignmentRequestCollectionResponseable), nil } -// Post create a role assignment request to represent the operation you want on a role assignment. The following table lists the operations. +// Post create new navigation property to roleAssignmentRequests for privilegedAccess // returns a GovernanceRoleAssignmentRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/governanceroleassignmentrequest-post?view=graph-rest-1.0 func (m *ItemRoleAssignmentRequestsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.GovernanceRoleAssignmentRequestable, requestConfiguration *ItemRoleAssignmentRequestsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.GovernanceRoleAssignmentRequestable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -133,7 +130,7 @@ func (m *ItemRoleAssignmentRequestsRequestBuilder) ToGetRequestInformation(ctx c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a role assignment request to represent the operation you want on a role assignment. The following table lists the operations. +// ToPostRequestInformation create new navigation property to roleAssignmentRequests for privilegedAccess // returns a *RequestInformation when successful func (m *ItemRoleAssignmentRequestsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.GovernanceRoleAssignmentRequestable, requestConfiguration *ItemRoleAssignmentRequestsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/privilegedaccess/item_role_settings_governance_role_setting_item_request_builder.go b/privilegedaccess/item_role_settings_governance_role_setting_item_request_builder.go index d98ddd0b115..15facb66a20 100644 --- a/privilegedaccess/item_role_settings_governance_role_setting_item_request_builder.go +++ b/privilegedaccess/item_role_settings_governance_role_setting_item_request_builder.go @@ -18,7 +18,7 @@ type ItemRoleSettingsGovernanceRoleSettingItemRequestBuilderDeleteRequestConfigu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemRoleSettingsGovernanceRoleSettingItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a governanceRoleSetting. +// ItemRoleSettingsGovernanceRoleSettingItemRequestBuilderGetQueryParameters a collection of role settings for the provider. type ItemRoleSettingsGovernanceRoleSettingItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemRoleSettingsGovernanceRoleSettingItemRequestBuilder) Delete(ctx con } return nil } -// Get retrieve the properties and relationships of a governanceRoleSetting. +// Get a collection of role settings for the provider. // returns a GovernanceRoleSettingable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/governancerolesetting-get?view=graph-rest-1.0 func (m *ItemRoleSettingsGovernanceRoleSettingItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemRoleSettingsGovernanceRoleSettingItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.GovernanceRoleSettingable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *ItemRoleSettingsGovernanceRoleSettingItemRequestBuilder) Get(ctx contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.GovernanceRoleSettingable), nil } -// Patch update the properties of governanceRoleSetting. +// Patch update the navigation property roleSettings in privilegedAccess // returns a GovernanceRoleSettingable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/governancerolesetting-update?view=graph-rest-1.0 func (m *ItemRoleSettingsGovernanceRoleSettingItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.GovernanceRoleSettingable, requestConfiguration *ItemRoleSettingsGovernanceRoleSettingItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.GovernanceRoleSettingable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -137,7 +131,7 @@ func (m *ItemRoleSettingsGovernanceRoleSettingItemRequestBuilder) ToDeleteReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a governanceRoleSetting. +// ToGetRequestInformation a collection of role settings for the provider. // returns a *RequestInformation when successful func (m *ItemRoleSettingsGovernanceRoleSettingItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemRoleSettingsGovernanceRoleSettingItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -151,7 +145,7 @@ func (m *ItemRoleSettingsGovernanceRoleSettingItemRequestBuilder) ToGetRequestIn requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of governanceRoleSetting. +// ToPatchRequestInformation update the navigation property roleSettings in privilegedAccess // returns a *RequestInformation when successful func (m *ItemRoleSettingsGovernanceRoleSettingItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.GovernanceRoleSettingable, requestConfiguration *ItemRoleSettingsGovernanceRoleSettingItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/privilegedaccess/item_role_settings_request_builder.go b/privilegedaccess/item_role_settings_request_builder.go index 3383c3fe8cf..333a0fb9d91 100644 --- a/privilegedaccess/item_role_settings_request_builder.go +++ b/privilegedaccess/item_role_settings_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemRoleSettingsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemRoleSettingsRequestBuilderGetQueryParameters retrieve the properties and relationships of a governanceRoleSetting. +// ItemRoleSettingsRequestBuilderGetQueryParameters a collection of role settings for the provider. type ItemRoleSettingsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewItemRoleSettingsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7d func (m *ItemRoleSettingsRequestBuilder) Count()(*ItemRoleSettingsCountRequestBuilder) { return NewItemRoleSettingsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties and relationships of a governanceRoleSetting. +// Get a collection of role settings for the provider. // returns a GovernanceRoleSettingCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemRoleSettingsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemRoleSettingsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.GovernanceRoleSettingCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *ItemRoleSettingsRequestBuilder) Post(ctx context.Context, body ie233ee7 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.GovernanceRoleSettingable), nil } -// ToGetRequestInformation retrieve the properties and relationships of a governanceRoleSetting. +// ToGetRequestInformation a collection of role settings for the provider. // returns a *RequestInformation when successful func (m *ItemRoleSettingsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemRoleSettingsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/programcontrols/item_program_controls_request_builder.go b/programcontrols/item_program_controls_request_builder.go index 73af856f289..c4c2329d35d 100644 --- a/programcontrols/item_program_controls_request_builder.go +++ b/programcontrols/item_program_controls_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemProgramControlsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemProgramControlsRequestBuilderGetQueryParameters in the Microsoft Entra access reviews feature, list all the programControl objects, linked to a particular program. +// ItemProgramControlsRequestBuilderGetQueryParameters controls associated with the program. type ItemProgramControlsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemProgramControlsRequestBuilder(rawUrl string, requestAdapter i2ae4187 func (m *ItemProgramControlsRequestBuilder) Count()(*ItemProgramControlsCountRequestBuilder) { return NewItemProgramControlsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get in the Microsoft Entra access reviews feature, list all the programControl objects, linked to a particular program. +// Get controls associated with the program. // returns a ProgramControlCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/program-listcontrols?view=graph-rest-1.0 func (m *ItemProgramControlsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemProgramControlsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProgramControlCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemProgramControlsRequestBuilder) Post(ctx context.Context, body ie233 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProgramControlable), nil } -// ToGetRequestInformation in the Microsoft Entra access reviews feature, list all the programControl objects, linked to a particular program. +// ToGetRequestInformation controls associated with the program. // returns a *RequestInformation when successful func (m *ItemProgramControlsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemProgramControlsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/programcontrols/program_control_item_request_builder.go b/programcontrols/program_control_item_request_builder.go index 07e872c51b5..8f7378af4cf 100644 --- a/programcontrols/program_control_item_request_builder.go +++ b/programcontrols/program_control_item_request_builder.go @@ -58,7 +58,7 @@ func NewProgramControlItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/programcontrol-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/programcontrol-delete?view=graph-rest-beta func (m *ProgramControlItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ProgramControlItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/programcontrols/program_controls_request_builder.go b/programcontrols/program_controls_request_builder.go index 08b79721fde..0c95801aeae 100644 --- a/programcontrols/program_controls_request_builder.go +++ b/programcontrols/program_controls_request_builder.go @@ -81,7 +81,7 @@ func (m *ProgramControlsRequestBuilder) Count()(*CountRequestBuilder) { // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/programcontrol-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/programcontrol-list?view=graph-rest-beta func (m *ProgramControlsRequestBuilder) Get(ctx context.Context, requestConfiguration *ProgramControlsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProgramControlCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,7 +104,7 @@ func (m *ProgramControlsRequestBuilder) Get(ctx context.Context, requestConfigur // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/programcontrol-create?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/programcontrol-create?view=graph-rest-beta func (m *ProgramControlsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProgramControlable, requestConfiguration *ProgramControlsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProgramControlable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/programcontroltypes/program_control_types_request_builder.go b/programcontroltypes/program_control_types_request_builder.go index 1390df62809..497a0b0ecd9 100644 --- a/programcontroltypes/program_control_types_request_builder.go +++ b/programcontroltypes/program_control_types_request_builder.go @@ -81,7 +81,7 @@ func (m *ProgramControlTypesRequestBuilder) Count()(*CountRequestBuilder) { // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/programcontroltype-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/programcontroltype-list?view=graph-rest-beta func (m *ProgramControlTypesRequestBuilder) Get(ctx context.Context, requestConfiguration *ProgramControlTypesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProgramControlTypeCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/programs/item_controls_request_builder.go b/programs/item_controls_request_builder.go index f21a46699fa..adb081a5d71 100644 --- a/programs/item_controls_request_builder.go +++ b/programs/item_controls_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemControlsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemControlsRequestBuilderGetQueryParameters in the Microsoft Entra access reviews feature, list all the programControl objects, linked to a particular program. +// ItemControlsRequestBuilderGetQueryParameters controls associated with the program. type ItemControlsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemControlsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee2 func (m *ItemControlsRequestBuilder) Count()(*ItemControlsCountRequestBuilder) { return NewItemControlsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get in the Microsoft Entra access reviews feature, list all the programControl objects, linked to a particular program. +// Get controls associated with the program. // returns a ProgramControlCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/program-listcontrols?view=graph-rest-1.0 func (m *ItemControlsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemControlsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProgramControlCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemControlsRequestBuilder) Post(ctx context.Context, body ie233ee762e2 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProgramControlable), nil } -// ToGetRequestInformation in the Microsoft Entra access reviews feature, list all the programControl objects, linked to a particular program. +// ToGetRequestInformation controls associated with the program. // returns a *RequestInformation when successful func (m *ItemControlsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemControlsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/programs/program_item_request_builder.go b/programs/program_item_request_builder.go index 115652d2151..cccbd03e2ca 100644 --- a/programs/program_item_request_builder.go +++ b/programs/program_item_request_builder.go @@ -63,7 +63,7 @@ func (m *ProgramItemRequestBuilder) Controls()(*ItemControlsRequestBuilder) { // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/program-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/program-delete?view=graph-rest-beta func (m *ProgramItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ProgramItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -103,7 +103,7 @@ func (m *ProgramItemRequestBuilder) Get(ctx context.Context, requestConfiguratio // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/program-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/program-update?view=graph-rest-beta func (m *ProgramItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Programable, requestConfiguration *ProgramItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Programable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/programs/programs_request_builder.go b/programs/programs_request_builder.go index 8c784c0e952..ee6dff78608 100644 --- a/programs/programs_request_builder.go +++ b/programs/programs_request_builder.go @@ -81,7 +81,7 @@ func (m *ProgramsRequestBuilder) Count()(*CountRequestBuilder) { // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/program-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/program-list?view=graph-rest-beta func (m *ProgramsRequestBuilder) Get(ctx context.Context, requestConfiguration *ProgramsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProgramCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,7 +104,7 @@ func (m *ProgramsRequestBuilder) Get(ctx context.Context, requestConfiguration * // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/program-create?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/program-create?view=graph-rest-beta func (m *ProgramsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Programable, requestConfiguration *ProgramsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Programable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/reports/app_credential_sign_in_activities_app_credential_sign_in_activity_item_request_builder.go b/reports/app_credential_sign_in_activities_app_credential_sign_in_activity_item_request_builder.go index 42cacffbbc7..d2008113f99 100644 --- a/reports/app_credential_sign_in_activities_app_credential_sign_in_activity_item_request_builder.go +++ b/reports/app_credential_sign_in_activities_app_credential_sign_in_activity_item_request_builder.go @@ -18,7 +18,7 @@ type AppCredentialSignInActivitiesAppCredentialSignInActivityItemRequestBuilderD // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// AppCredentialSignInActivitiesAppCredentialSignInActivityItemRequestBuilderGetQueryParameters get an appCredentialSignInActivity object that contains recent activity of an application credential. +// AppCredentialSignInActivitiesAppCredentialSignInActivityItemRequestBuilderGetQueryParameters represents a collection of sign-in activities of application credentials. type AppCredentialSignInActivitiesAppCredentialSignInActivityItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *AppCredentialSignInActivitiesAppCredentialSignInActivityItemRequestBuil } return nil } -// Get get an appCredentialSignInActivity object that contains recent activity of an application credential. +// Get represents a collection of sign-in activities of application credentials. // returns a AppCredentialSignInActivityable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/appcredentialsigninactivity-get?view=graph-rest-1.0 func (m *AppCredentialSignInActivitiesAppCredentialSignInActivityItemRequestBuilder) Get(ctx context.Context, requestConfiguration *AppCredentialSignInActivitiesAppCredentialSignInActivityItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AppCredentialSignInActivityable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *AppCredentialSignInActivitiesAppCredentialSignInActivityItemRequestBuil requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an appCredentialSignInActivity object that contains recent activity of an application credential. +// ToGetRequestInformation represents a collection of sign-in activities of application credentials. // returns a *RequestInformation when successful func (m *AppCredentialSignInActivitiesAppCredentialSignInActivityItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AppCredentialSignInActivitiesAppCredentialSignInActivityItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/reports/app_credential_sign_in_activities_request_builder.go b/reports/app_credential_sign_in_activities_request_builder.go index ded587f5805..846592f2b28 100644 --- a/reports/app_credential_sign_in_activities_request_builder.go +++ b/reports/app_credential_sign_in_activities_request_builder.go @@ -11,7 +11,7 @@ import ( type AppCredentialSignInActivitiesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AppCredentialSignInActivitiesRequestBuilderGetQueryParameters get a list of appCredentialSignInActivity objects that contains recent activity of application credentials. +// AppCredentialSignInActivitiesRequestBuilderGetQueryParameters represents a collection of sign-in activities of application credentials. type AppCredentialSignInActivitiesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewAppCredentialSignInActivitiesRequestBuilder(rawUrl string, requestAdapte func (m *AppCredentialSignInActivitiesRequestBuilder) Count()(*AppCredentialSignInActivitiesCountRequestBuilder) { return NewAppCredentialSignInActivitiesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of appCredentialSignInActivity objects that contains recent activity of application credentials. +// Get represents a collection of sign-in activities of application credentials. // returns a AppCredentialSignInActivityCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/reportroot-list-appcredentialsigninactivities?view=graph-rest-1.0 func (m *AppCredentialSignInActivitiesRequestBuilder) Get(ctx context.Context, requestConfiguration *AppCredentialSignInActivitiesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AppCredentialSignInActivityCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *AppCredentialSignInActivitiesRequestBuilder) Post(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AppCredentialSignInActivityable), nil } -// ToGetRequestInformation get a list of appCredentialSignInActivity objects that contains recent activity of application credentials. +// ToGetRequestInformation represents a collection of sign-in activities of application credentials. // returns a *RequestInformation when successful func (m *AppCredentialSignInActivitiesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AppCredentialSignInActivitiesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/reports/application_sign_in_detailed_summary_application_sign_in_detailed_summary_item_request_builder.go b/reports/application_sign_in_detailed_summary_application_sign_in_detailed_summary_item_request_builder.go index d70b98b8bd7..c28795597d2 100644 --- a/reports/application_sign_in_detailed_summary_application_sign_in_detailed_summary_item_request_builder.go +++ b/reports/application_sign_in_detailed_summary_application_sign_in_detailed_summary_item_request_builder.go @@ -18,7 +18,7 @@ type ApplicationSignInDetailedSummaryApplicationSignInDetailedSummaryItemRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ApplicationSignInDetailedSummaryApplicationSignInDetailedSummaryItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an applicationSignInDetailedSummary object. +// ApplicationSignInDetailedSummaryApplicationSignInDetailedSummaryItemRequestBuilderGetQueryParameters represents a detailed summary of an application sign-in. type ApplicationSignInDetailedSummaryApplicationSignInDetailedSummaryItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ApplicationSignInDetailedSummaryApplicationSignInDetailedSummaryItemReq } return nil } -// Get retrieve the properties and relationships of an applicationSignInDetailedSummary object. +// Get represents a detailed summary of an application sign-in. // returns a ApplicationSignInDetailedSummaryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/applicationsignindetailedsummary-get?view=graph-rest-1.0 func (m *ApplicationSignInDetailedSummaryApplicationSignInDetailedSummaryItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ApplicationSignInDetailedSummaryApplicationSignInDetailedSummaryItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApplicationSignInDetailedSummaryable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ApplicationSignInDetailedSummaryApplicationSignInDetailedSummaryItemReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of an applicationSignInDetailedSummary object. +// ToGetRequestInformation represents a detailed summary of an application sign-in. // returns a *RequestInformation when successful func (m *ApplicationSignInDetailedSummaryApplicationSignInDetailedSummaryItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ApplicationSignInDetailedSummaryApplicationSignInDetailedSummaryItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/reports/application_sign_in_detailed_summary_request_builder.go b/reports/application_sign_in_detailed_summary_request_builder.go index defde5080dd..d0d2ba58ada 100644 --- a/reports/application_sign_in_detailed_summary_request_builder.go +++ b/reports/application_sign_in_detailed_summary_request_builder.go @@ -11,7 +11,7 @@ import ( type ApplicationSignInDetailedSummaryRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ApplicationSignInDetailedSummaryRequestBuilderGetQueryParameters retrieve the applicationSignInDetailedSummary objects. +// ApplicationSignInDetailedSummaryRequestBuilderGetQueryParameters represents a detailed summary of an application sign-in. type ApplicationSignInDetailedSummaryRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewApplicationSignInDetailedSummaryRequestBuilder(rawUrl string, requestAda func (m *ApplicationSignInDetailedSummaryRequestBuilder) Count()(*ApplicationSignInDetailedSummaryCountRequestBuilder) { return NewApplicationSignInDetailedSummaryCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the applicationSignInDetailedSummary objects. +// Get represents a detailed summary of an application sign-in. // returns a ApplicationSignInDetailedSummaryCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/reportroot-list-applicationsignindetailedsummary?view=graph-rest-1.0 func (m *ApplicationSignInDetailedSummaryRequestBuilder) Get(ctx context.Context, requestConfiguration *ApplicationSignInDetailedSummaryRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApplicationSignInDetailedSummaryCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ApplicationSignInDetailedSummaryRequestBuilder) Post(ctx context.Contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApplicationSignInDetailedSummaryable), nil } -// ToGetRequestInformation retrieve the applicationSignInDetailedSummary objects. +// ToGetRequestInformation represents a detailed summary of an application sign-in. // returns a *RequestInformation when successful func (m *ApplicationSignInDetailedSummaryRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ApplicationSignInDetailedSummaryRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/reports/authentication_methods_user_registration_details_request_builder.go b/reports/authentication_methods_user_registration_details_request_builder.go index 2caa9e1ba89..7167589ea84 100644 --- a/reports/authentication_methods_user_registration_details_request_builder.go +++ b/reports/authentication_methods_user_registration_details_request_builder.go @@ -11,7 +11,7 @@ import ( type AuthenticationMethodsUserRegistrationDetailsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AuthenticationMethodsUserRegistrationDetailsRequestBuilderGetQueryParameters get a list of the authentication methods registered for a user as defined in the userRegistrationDetails object. +// AuthenticationMethodsUserRegistrationDetailsRequestBuilderGetQueryParameters represents the state of a user's authentication methods, including which methods are registered and which features the user is registered and capable of (such as multifactor authentication, self-service password reset, and passwordless authentication). type AuthenticationMethodsUserRegistrationDetailsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewAuthenticationMethodsUserRegistrationDetailsRequestBuilder(rawUrl string func (m *AuthenticationMethodsUserRegistrationDetailsRequestBuilder) Count()(*AuthenticationMethodsUserRegistrationDetailsCountRequestBuilder) { return NewAuthenticationMethodsUserRegistrationDetailsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the authentication methods registered for a user as defined in the userRegistrationDetails object. +// Get represents the state of a user's authentication methods, including which methods are registered and which features the user is registered and capable of (such as multifactor authentication, self-service password reset, and passwordless authentication). // returns a UserRegistrationDetailsCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationmethodsroot-list-userregistrationdetails?view=graph-rest-1.0 func (m *AuthenticationMethodsUserRegistrationDetailsRequestBuilder) Get(ctx context.Context, requestConfiguration *AuthenticationMethodsUserRegistrationDetailsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserRegistrationDetailsCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *AuthenticationMethodsUserRegistrationDetailsRequestBuilder) Post(ctx co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserRegistrationDetailsable), nil } -// ToGetRequestInformation get a list of the authentication methods registered for a user as defined in the userRegistrationDetails object. +// ToGetRequestInformation represents the state of a user's authentication methods, including which methods are registered and which features the user is registered and capable of (such as multifactor authentication, self-service password reset, and passwordless authentication). // returns a *RequestInformation when successful func (m *AuthenticationMethodsUserRegistrationDetailsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AuthenticationMethodsUserRegistrationDetailsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/reports/authentication_methods_user_registration_details_user_registration_details_item_request_builder.go b/reports/authentication_methods_user_registration_details_user_registration_details_item_request_builder.go index d7e300c33ca..75b88076bbe 100644 --- a/reports/authentication_methods_user_registration_details_user_registration_details_item_request_builder.go +++ b/reports/authentication_methods_user_registration_details_user_registration_details_item_request_builder.go @@ -18,7 +18,7 @@ type AuthenticationMethodsUserRegistrationDetailsUserRegistrationDetailsItemRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// AuthenticationMethodsUserRegistrationDetailsUserRegistrationDetailsItemRequestBuilderGetQueryParameters read the properties and relationships of a userRegistrationDetails object. +// AuthenticationMethodsUserRegistrationDetailsUserRegistrationDetailsItemRequestBuilderGetQueryParameters represents the state of a user's authentication methods, including which methods are registered and which features the user is registered and capable of (such as multifactor authentication, self-service password reset, and passwordless authentication). type AuthenticationMethodsUserRegistrationDetailsUserRegistrationDetailsItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *AuthenticationMethodsUserRegistrationDetailsUserRegistrationDetailsItem } return nil } -// Get read the properties and relationships of a userRegistrationDetails object. +// Get represents the state of a user's authentication methods, including which methods are registered and which features the user is registered and capable of (such as multifactor authentication, self-service password reset, and passwordless authentication). // returns a UserRegistrationDetailsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/userregistrationdetails-get?view=graph-rest-1.0 func (m *AuthenticationMethodsUserRegistrationDetailsUserRegistrationDetailsItemRequestBuilder) Get(ctx context.Context, requestConfiguration *AuthenticationMethodsUserRegistrationDetailsUserRegistrationDetailsItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserRegistrationDetailsable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *AuthenticationMethodsUserRegistrationDetailsUserRegistrationDetailsItem requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a userRegistrationDetails object. +// ToGetRequestInformation represents the state of a user's authentication methods, including which methods are registered and which features the user is registered and capable of (such as multifactor authentication, self-service password reset, and passwordless authentication). // returns a *RequestInformation when successful func (m *AuthenticationMethodsUserRegistrationDetailsUserRegistrationDetailsItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AuthenticationMethodsUserRegistrationDetailsUserRegistrationDetailsItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/reports/authentication_methods_users_registered_by_feature_request_builder.go b/reports/authentication_methods_users_registered_by_feature_request_builder.go index 0d18536c680..8615ef9a9e8 100644 --- a/reports/authentication_methods_users_registered_by_feature_request_builder.go +++ b/reports/authentication_methods_users_registered_by_feature_request_builder.go @@ -31,9 +31,12 @@ func NewAuthenticationMethodsUsersRegisteredByFeatureRequestBuilder(rawUrl strin urlParams["request-raw-url"] = rawUrl return NewAuthenticationMethodsUsersRegisteredByFeatureRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function usersRegisteredByFeature +// Get get the number of users capable of multi-factor authentication, self-service password reset, and passwordless authentication. // returns a UserRegistrationFeatureSummaryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationmethodsroot-usersregisteredbyfeature?view=graph-rest-beta func (m *AuthenticationMethodsUsersRegisteredByFeatureRequestBuilder) Get(ctx context.Context, requestConfiguration *AuthenticationMethodsUsersRegisteredByFeatureRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserRegistrationFeatureSummaryable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -51,7 +54,7 @@ func (m *AuthenticationMethodsUsersRegisteredByFeatureRequestBuilder) Get(ctx co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserRegistrationFeatureSummaryable), nil } -// ToGetRequestInformation invoke function usersRegisteredByFeature +// ToGetRequestInformation get the number of users capable of multi-factor authentication, self-service password reset, and passwordless authentication. // returns a *RequestInformation when successful func (m *AuthenticationMethodsUsersRegisteredByFeatureRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AuthenticationMethodsUsersRegisteredByFeatureRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/reports/authentication_methods_users_registered_by_method_request_builder.go b/reports/authentication_methods_users_registered_by_method_request_builder.go index 72ec4c4e9bd..4cd66a60a57 100644 --- a/reports/authentication_methods_users_registered_by_method_request_builder.go +++ b/reports/authentication_methods_users_registered_by_method_request_builder.go @@ -31,9 +31,12 @@ func NewAuthenticationMethodsUsersRegisteredByMethodRequestBuilder(rawUrl string urlParams["request-raw-url"] = rawUrl return NewAuthenticationMethodsUsersRegisteredByMethodRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function usersRegisteredByMethod +// Get get the number of users registered for each authentication method. // returns a UserRegistrationMethodSummaryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationmethodsroot-usersregisteredbymethod?view=graph-rest-beta func (m *AuthenticationMethodsUsersRegisteredByMethodRequestBuilder) Get(ctx context.Context, requestConfiguration *AuthenticationMethodsUsersRegisteredByMethodRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserRegistrationMethodSummaryable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -51,7 +54,7 @@ func (m *AuthenticationMethodsUsersRegisteredByMethodRequestBuilder) Get(ctx con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserRegistrationMethodSummaryable), nil } -// ToGetRequestInformation invoke function usersRegisteredByMethod +// ToGetRequestInformation get the number of users registered for each authentication method. // returns a *RequestInformation when successful func (m *AuthenticationMethodsUsersRegisteredByMethodRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AuthenticationMethodsUsersRegisteredByMethodRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/reports/credential_user_registration_details_request_builder.go b/reports/credential_user_registration_details_request_builder.go index c26cdb607d1..24d1159a522 100644 --- a/reports/credential_user_registration_details_request_builder.go +++ b/reports/credential_user_registration_details_request_builder.go @@ -11,7 +11,7 @@ import ( type CredentialUserRegistrationDetailsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// CredentialUserRegistrationDetailsRequestBuilderGetQueryParameters get a list of credentialUserRegistrationDetails objects for a given tenant. +// CredentialUserRegistrationDetailsRequestBuilderGetQueryParameters details of the usage of self-service password reset and multifactor authentication (MFA) for all registered users. type CredentialUserRegistrationDetailsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -77,13 +77,10 @@ func NewCredentialUserRegistrationDetailsRequestBuilder(rawUrl string, requestAd func (m *CredentialUserRegistrationDetailsRequestBuilder) Count()(*CredentialUserRegistrationDetailsCountRequestBuilder) { return NewCredentialUserRegistrationDetailsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of credentialUserRegistrationDetails objects for a given tenant. +// Get details of the usage of self-service password reset and multifactor authentication (MFA) for all registered users. // Deprecated: The Reporting credentialUserRegistrationDetails API is deprecated and will stop returning data on June 30, 2024. Please use the new userRegistrationDetails API. as of 2023-06/credentialUserRegistrationDetails // returns a CredentialUserRegistrationDetailsCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/reportroot-list-credentialuserregistrationdetails?view=graph-rest-1.0 func (m *CredentialUserRegistrationDetailsRequestBuilder) Get(ctx context.Context, requestConfiguration *CredentialUserRegistrationDetailsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CredentialUserRegistrationDetailsCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -122,7 +119,7 @@ func (m *CredentialUserRegistrationDetailsRequestBuilder) Post(ctx context.Conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CredentialUserRegistrationDetailsable), nil } -// ToGetRequestInformation get a list of credentialUserRegistrationDetails objects for a given tenant. +// ToGetRequestInformation details of the usage of self-service password reset and multifactor authentication (MFA) for all registered users. // Deprecated: The Reporting credentialUserRegistrationDetails API is deprecated and will stop returning data on June 30, 2024. Please use the new userRegistrationDetails API. as of 2023-06/credentialUserRegistrationDetails // returns a *RequestInformation when successful func (m *CredentialUserRegistrationDetailsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CredentialUserRegistrationDetailsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/reports/daily_print_usage_by_printer_print_usage_by_printer_item_request_builder.go b/reports/daily_print_usage_by_printer_print_usage_by_printer_item_request_builder.go index 698988a1d21..ff91b2bc2c9 100644 --- a/reports/daily_print_usage_by_printer_print_usage_by_printer_item_request_builder.go +++ b/reports/daily_print_usage_by_printer_print_usage_by_printer_item_request_builder.go @@ -18,7 +18,7 @@ type DailyPrintUsageByPrinterPrintUsageByPrinterItemRequestBuilderDeleteRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DailyPrintUsageByPrinterPrintUsageByPrinterItemRequestBuilderGetQueryParameters retrieve a printer's usage summary for a particular time period. For descriptions of each of the endpoints, see printUsageByPrinter. +// DailyPrintUsageByPrinterPrintUsageByPrinterItemRequestBuilderGetQueryParameters retrieve a list of daily print usage summaries, grouped by printer. type DailyPrintUsageByPrinterPrintUsageByPrinterItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *DailyPrintUsageByPrinterPrintUsageByPrinterItemRequestBuilder) Delete(c } return nil } -// Get retrieve a printer's usage summary for a particular time period. For descriptions of each of the endpoints, see printUsageByPrinter. +// Get retrieve a list of daily print usage summaries, grouped by printer. // returns a PrintUsageByPrinterable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/printusagebyprinter-get?view=graph-rest-1.0 func (m *DailyPrintUsageByPrinterPrintUsageByPrinterItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DailyPrintUsageByPrinterPrintUsageByPrinterItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrintUsageByPrinterable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *DailyPrintUsageByPrinterPrintUsageByPrinterItemRequestBuilder) ToDelete requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a printer's usage summary for a particular time period. For descriptions of each of the endpoints, see printUsageByPrinter. +// ToGetRequestInformation retrieve a list of daily print usage summaries, grouped by printer. // returns a *RequestInformation when successful func (m *DailyPrintUsageByPrinterPrintUsageByPrinterItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DailyPrintUsageByPrinterPrintUsageByPrinterItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/reports/daily_print_usage_by_printer_request_builder.go b/reports/daily_print_usage_by_printer_request_builder.go index ed3b622558a..ea1b24ec5cd 100644 --- a/reports/daily_print_usage_by_printer_request_builder.go +++ b/reports/daily_print_usage_by_printer_request_builder.go @@ -79,9 +79,6 @@ func (m *DailyPrintUsageByPrinterRequestBuilder) Count()(*DailyPrintUsageByPrint // Get retrieve a list of daily print usage summaries, grouped by printer. // returns a PrintUsageByPrinterCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/reportroot-list-dailyprintusagebyprinter?view=graph-rest-1.0 func (m *DailyPrintUsageByPrinterRequestBuilder) Get(ctx context.Context, requestConfiguration *DailyPrintUsageByPrinterRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrintUsageByPrinterCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/reports/daily_print_usage_by_user_print_usage_by_user_item_request_builder.go b/reports/daily_print_usage_by_user_print_usage_by_user_item_request_builder.go index 7e3994a437f..f7f37d365a3 100644 --- a/reports/daily_print_usage_by_user_print_usage_by_user_item_request_builder.go +++ b/reports/daily_print_usage_by_user_print_usage_by_user_item_request_builder.go @@ -18,7 +18,7 @@ type DailyPrintUsageByUserPrintUsageByUserItemRequestBuilderDeleteRequestConfigu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DailyPrintUsageByUserPrintUsageByUserItemRequestBuilderGetQueryParameters retrieve a user's usage summary for a particular time period. See the printUsageByUser documentation for descriptions of each of the endpoints. +// DailyPrintUsageByUserPrintUsageByUserItemRequestBuilderGetQueryParameters retrieve a list of daily print usage summaries, grouped by user. type DailyPrintUsageByUserPrintUsageByUserItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *DailyPrintUsageByUserPrintUsageByUserItemRequestBuilder) Delete(ctx con } return nil } -// Get retrieve a user's usage summary for a particular time period. See the printUsageByUser documentation for descriptions of each of the endpoints. +// Get retrieve a list of daily print usage summaries, grouped by user. // returns a PrintUsageByUserable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/printusagebyuser-get?view=graph-rest-1.0 func (m *DailyPrintUsageByUserPrintUsageByUserItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DailyPrintUsageByUserPrintUsageByUserItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrintUsageByUserable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *DailyPrintUsageByUserPrintUsageByUserItemRequestBuilder) ToDeleteReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a user's usage summary for a particular time period. See the printUsageByUser documentation for descriptions of each of the endpoints. +// ToGetRequestInformation retrieve a list of daily print usage summaries, grouped by user. // returns a *RequestInformation when successful func (m *DailyPrintUsageByUserPrintUsageByUserItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DailyPrintUsageByUserPrintUsageByUserItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/reports/daily_print_usage_by_user_request_builder.go b/reports/daily_print_usage_by_user_request_builder.go index 56bed450393..8bc3bb41700 100644 --- a/reports/daily_print_usage_by_user_request_builder.go +++ b/reports/daily_print_usage_by_user_request_builder.go @@ -79,9 +79,6 @@ func (m *DailyPrintUsageByUserRequestBuilder) Count()(*DailyPrintUsageByUserCoun // Get retrieve a list of daily print usage summaries, grouped by user. // returns a PrintUsageByUserCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/reportroot-list-dailyprintusagebyuser?view=graph-rest-1.0 func (m *DailyPrintUsageByUserRequestBuilder) Get(ctx context.Context, requestConfiguration *DailyPrintUsageByUserRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrintUsageByUserCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/reports/get_attack_simulation_repeat_offenders_request_builder.go b/reports/get_attack_simulation_repeat_offenders_request_builder.go index e33cd274d39..13a368e89cc 100644 --- a/reports/get_attack_simulation_repeat_offenders_request_builder.go +++ b/reports/get_attack_simulation_repeat_offenders_request_builder.go @@ -10,7 +10,7 @@ import ( type GetAttackSimulationRepeatOffendersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// GetAttackSimulationRepeatOffendersRequestBuilderGetQueryParameters invoke function getAttackSimulationRepeatOffenders +// GetAttackSimulationRepeatOffendersRequestBuilderGetQueryParameters list the users of a tenant who have yielded to attacks more than once in attack simulation and training campaigns. This function supports @odata.nextLink for pagination. type GetAttackSimulationRepeatOffendersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -45,10 +45,13 @@ func NewGetAttackSimulationRepeatOffendersRequestBuilder(rawUrl string, requestA urlParams["request-raw-url"] = rawUrl return NewGetAttackSimulationRepeatOffendersRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getAttackSimulationRepeatOffenders +// Get list the users of a tenant who have yielded to attacks more than once in attack simulation and training campaigns. This function supports @odata.nextLink for pagination. // Deprecated: This method is obsolete. Use GetAsGetAttackSimulationRepeatOffendersGetResponse instead. // returns a GetAttackSimulationRepeatOffendersResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/reportroot-getattacksimulationrepeatoffenders?view=graph-rest-beta func (m *GetAttackSimulationRepeatOffendersRequestBuilder) Get(ctx context.Context, requestConfiguration *GetAttackSimulationRepeatOffendersRequestBuilderGetRequestConfiguration)(GetAttackSimulationRepeatOffendersResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,10 +69,13 @@ func (m *GetAttackSimulationRepeatOffendersRequestBuilder) Get(ctx context.Conte } return res.(GetAttackSimulationRepeatOffendersResponseable), nil } -// GetAsGetAttackSimulationRepeatOffendersGetResponse invoke function getAttackSimulationRepeatOffenders +// GetAsGetAttackSimulationRepeatOffendersGetResponse list the users of a tenant who have yielded to attacks more than once in attack simulation and training campaigns. This function supports @odata.nextLink for pagination. // Deprecated: This report function api is deprecated and will stop returning data on August 20, 2022. Api is now moved to /reports/security. Please use the new API. as of 2022-05/Tasks_And_Plans // returns a GetAttackSimulationRepeatOffendersGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/reportroot-getattacksimulationrepeatoffenders?view=graph-rest-beta func (m *GetAttackSimulationRepeatOffendersRequestBuilder) GetAsGetAttackSimulationRepeatOffendersGetResponse(ctx context.Context, requestConfiguration *GetAttackSimulationRepeatOffendersRequestBuilderGetRequestConfiguration)(GetAttackSimulationRepeatOffendersGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -87,7 +93,7 @@ func (m *GetAttackSimulationRepeatOffendersRequestBuilder) GetAsGetAttackSimulat } return res.(GetAttackSimulationRepeatOffendersGetResponseable), nil } -// ToGetRequestInformation invoke function getAttackSimulationRepeatOffenders +// ToGetRequestInformation list the users of a tenant who have yielded to attacks more than once in attack simulation and training campaigns. This function supports @odata.nextLink for pagination. // Deprecated: This report function api is deprecated and will stop returning data on August 20, 2022. Api is now moved to /reports/security. Please use the new API. as of 2022-05/Tasks_And_Plans // returns a *RequestInformation when successful func (m *GetAttackSimulationRepeatOffendersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *GetAttackSimulationRepeatOffendersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/reports/get_attack_simulation_simulation_user_coverage_request_builder.go b/reports/get_attack_simulation_simulation_user_coverage_request_builder.go index 3b0da166b3a..9eaef5749c5 100644 --- a/reports/get_attack_simulation_simulation_user_coverage_request_builder.go +++ b/reports/get_attack_simulation_simulation_user_coverage_request_builder.go @@ -10,7 +10,7 @@ import ( type GetAttackSimulationSimulationUserCoverageRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// GetAttackSimulationSimulationUserCoverageRequestBuilderGetQueryParameters invoke function getAttackSimulationSimulationUserCoverage +// GetAttackSimulationSimulationUserCoverageRequestBuilderGetQueryParameters get simulation coverage for users of a tenant in attack simulation and training campaigns. This function supports @odata.nextLink for pagination. type GetAttackSimulationSimulationUserCoverageRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -45,10 +45,13 @@ func NewGetAttackSimulationSimulationUserCoverageRequestBuilder(rawUrl string, r urlParams["request-raw-url"] = rawUrl return NewGetAttackSimulationSimulationUserCoverageRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getAttackSimulationSimulationUserCoverage +// Get get simulation coverage for users of a tenant in attack simulation and training campaigns. This function supports @odata.nextLink for pagination. // Deprecated: This method is obsolete. Use GetAsGetAttackSimulationSimulationUserCoverageGetResponse instead. // returns a GetAttackSimulationSimulationUserCoverageResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/reportroot-getattacksimulationsimulationusercoverage?view=graph-rest-beta func (m *GetAttackSimulationSimulationUserCoverageRequestBuilder) Get(ctx context.Context, requestConfiguration *GetAttackSimulationSimulationUserCoverageRequestBuilderGetRequestConfiguration)(GetAttackSimulationSimulationUserCoverageResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,10 +69,13 @@ func (m *GetAttackSimulationSimulationUserCoverageRequestBuilder) Get(ctx contex } return res.(GetAttackSimulationSimulationUserCoverageResponseable), nil } -// GetAsGetAttackSimulationSimulationUserCoverageGetResponse invoke function getAttackSimulationSimulationUserCoverage +// GetAsGetAttackSimulationSimulationUserCoverageGetResponse get simulation coverage for users of a tenant in attack simulation and training campaigns. This function supports @odata.nextLink for pagination. // Deprecated: This report function api is deprecated and will stop returning data on August 20, 2022. Api is now moved to /reports/security. Please use the new API. as of 2022-05/Tasks_And_Plans // returns a GetAttackSimulationSimulationUserCoverageGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/reportroot-getattacksimulationsimulationusercoverage?view=graph-rest-beta func (m *GetAttackSimulationSimulationUserCoverageRequestBuilder) GetAsGetAttackSimulationSimulationUserCoverageGetResponse(ctx context.Context, requestConfiguration *GetAttackSimulationSimulationUserCoverageRequestBuilderGetRequestConfiguration)(GetAttackSimulationSimulationUserCoverageGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -87,7 +93,7 @@ func (m *GetAttackSimulationSimulationUserCoverageRequestBuilder) GetAsGetAttack } return res.(GetAttackSimulationSimulationUserCoverageGetResponseable), nil } -// ToGetRequestInformation invoke function getAttackSimulationSimulationUserCoverage +// ToGetRequestInformation get simulation coverage for users of a tenant in attack simulation and training campaigns. This function supports @odata.nextLink for pagination. // Deprecated: This report function api is deprecated and will stop returning data on August 20, 2022. Api is now moved to /reports/security. Please use the new API. as of 2022-05/Tasks_And_Plans // returns a *RequestInformation when successful func (m *GetAttackSimulationSimulationUserCoverageRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *GetAttackSimulationSimulationUserCoverageRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/reports/get_attack_simulation_training_user_coverage_request_builder.go b/reports/get_attack_simulation_training_user_coverage_request_builder.go index 5562a77fd77..f84547b085d 100644 --- a/reports/get_attack_simulation_training_user_coverage_request_builder.go +++ b/reports/get_attack_simulation_training_user_coverage_request_builder.go @@ -10,7 +10,7 @@ import ( type GetAttackSimulationTrainingUserCoverageRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// GetAttackSimulationTrainingUserCoverageRequestBuilderGetQueryParameters invoke function getAttackSimulationTrainingUserCoverage +// GetAttackSimulationTrainingUserCoverageRequestBuilderGetQueryParameters list training coverage for each user of a tenant in attack simulation and training campaigns. This function supports @odata.nextLink for pagination. type GetAttackSimulationTrainingUserCoverageRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -45,10 +45,13 @@ func NewGetAttackSimulationTrainingUserCoverageRequestBuilder(rawUrl string, req urlParams["request-raw-url"] = rawUrl return NewGetAttackSimulationTrainingUserCoverageRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getAttackSimulationTrainingUserCoverage +// Get list training coverage for each user of a tenant in attack simulation and training campaigns. This function supports @odata.nextLink for pagination. // Deprecated: This method is obsolete. Use GetAsGetAttackSimulationTrainingUserCoverageGetResponse instead. // returns a GetAttackSimulationTrainingUserCoverageResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/reportroot-getattacksimulationtrainingusercoverage?view=graph-rest-beta func (m *GetAttackSimulationTrainingUserCoverageRequestBuilder) Get(ctx context.Context, requestConfiguration *GetAttackSimulationTrainingUserCoverageRequestBuilderGetRequestConfiguration)(GetAttackSimulationTrainingUserCoverageResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,10 +69,13 @@ func (m *GetAttackSimulationTrainingUserCoverageRequestBuilder) Get(ctx context. } return res.(GetAttackSimulationTrainingUserCoverageResponseable), nil } -// GetAsGetAttackSimulationTrainingUserCoverageGetResponse invoke function getAttackSimulationTrainingUserCoverage +// GetAsGetAttackSimulationTrainingUserCoverageGetResponse list training coverage for each user of a tenant in attack simulation and training campaigns. This function supports @odata.nextLink for pagination. // Deprecated: This report function api is deprecated and will stop returning data on August 20, 2022. Api is now moved to /reports/security. Please use the new API. as of 2022-05/Tasks_And_Plans // returns a GetAttackSimulationTrainingUserCoverageGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/reportroot-getattacksimulationtrainingusercoverage?view=graph-rest-beta func (m *GetAttackSimulationTrainingUserCoverageRequestBuilder) GetAsGetAttackSimulationTrainingUserCoverageGetResponse(ctx context.Context, requestConfiguration *GetAttackSimulationTrainingUserCoverageRequestBuilderGetRequestConfiguration)(GetAttackSimulationTrainingUserCoverageGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -87,7 +93,7 @@ func (m *GetAttackSimulationTrainingUserCoverageRequestBuilder) GetAsGetAttackSi } return res.(GetAttackSimulationTrainingUserCoverageGetResponseable), nil } -// ToGetRequestInformation invoke function getAttackSimulationTrainingUserCoverage +// ToGetRequestInformation list training coverage for each user of a tenant in attack simulation and training campaigns. This function supports @odata.nextLink for pagination. // Deprecated: This report function api is deprecated and will stop returning data on August 20, 2022. Api is now moved to /reports/security. Please use the new API. as of 2022-05/Tasks_And_Plans // returns a *RequestInformation when successful func (m *GetAttackSimulationTrainingUserCoverageRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *GetAttackSimulationTrainingUserCoverageRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/reports/get_azure_a_d_application_sign_in_summary_with_period_request_builder.go b/reports/get_azure_a_d_application_sign_in_summary_with_period_request_builder.go index 8655679c9c2..842371c3fa6 100644 --- a/reports/get_azure_a_d_application_sign_in_summary_with_period_request_builder.go +++ b/reports/get_azure_a_d_application_sign_in_summary_with_period_request_builder.go @@ -10,7 +10,7 @@ import ( type GetAzureADApplicationSignInSummaryWithPeriodRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// GetAzureADApplicationSignInSummaryWithPeriodRequestBuilderGetQueryParameters invoke function getAzureADApplicationSignInSummary +// GetAzureADApplicationSignInSummaryWithPeriodRequestBuilderGetQueryParameters retrieve applicationSigninSummary objects within either the last seven or 30 days. type GetAzureADApplicationSignInSummaryWithPeriodRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewGetAzureADApplicationSignInSummaryWithPeriodRequestBuilder(rawUrl string urlParams["request-raw-url"] = rawUrl return NewGetAzureADApplicationSignInSummaryWithPeriodRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function getAzureADApplicationSignInSummary +// Get retrieve applicationSigninSummary objects within either the last seven or 30 days. // Deprecated: This method is obsolete. Use GetAsGetAzureADApplicationSignInSummaryWithPeriodGetResponse instead. // returns a GetAzureADApplicationSignInSummaryWithPeriodResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/reportroot-getazureadapplicationsigninsummary?view=graph-rest-beta func (m *GetAzureADApplicationSignInSummaryWithPeriodRequestBuilder) Get(ctx context.Context, requestConfiguration *GetAzureADApplicationSignInSummaryWithPeriodRequestBuilderGetRequestConfiguration)(GetAzureADApplicationSignInSummaryWithPeriodResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *GetAzureADApplicationSignInSummaryWithPeriodRequestBuilder) Get(ctx con } return res.(GetAzureADApplicationSignInSummaryWithPeriodResponseable), nil } -// GetAsGetAzureADApplicationSignInSummaryWithPeriodGetResponse invoke function getAzureADApplicationSignInSummary +// GetAsGetAzureADApplicationSignInSummaryWithPeriodGetResponse retrieve applicationSigninSummary objects within either the last seven or 30 days. // returns a GetAzureADApplicationSignInSummaryWithPeriodGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/reportroot-getazureadapplicationsigninsummary?view=graph-rest-beta func (m *GetAzureADApplicationSignInSummaryWithPeriodRequestBuilder) GetAsGetAzureADApplicationSignInSummaryWithPeriodGetResponse(ctx context.Context, requestConfiguration *GetAzureADApplicationSignInSummaryWithPeriodRequestBuilderGetRequestConfiguration)(GetAzureADApplicationSignInSummaryWithPeriodGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *GetAzureADApplicationSignInSummaryWithPeriodRequestBuilder) GetAsGetAzu } return res.(GetAzureADApplicationSignInSummaryWithPeriodGetResponseable), nil } -// ToGetRequestInformation invoke function getAzureADApplicationSignInSummary +// ToGetRequestInformation retrieve applicationSigninSummary objects within either the last seven or 30 days. // returns a *RequestInformation when successful func (m *GetAzureADApplicationSignInSummaryWithPeriodRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *GetAzureADApplicationSignInSummaryWithPeriodRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/reports/get_credential_usage_summary_with_period_request_builder.go b/reports/get_credential_usage_summary_with_period_request_builder.go index 0c701753676..05d8d7e1a49 100644 --- a/reports/get_credential_usage_summary_with_period_request_builder.go +++ b/reports/get_credential_usage_summary_with_period_request_builder.go @@ -10,7 +10,7 @@ import ( type GetCredentialUsageSummaryWithPeriodRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// GetCredentialUsageSummaryWithPeriodRequestBuilderGetQueryParameters invoke function getCredentialUsageSummary +// GetCredentialUsageSummaryWithPeriodRequestBuilderGetQueryParameters report the current state of how many users in your organization used the self-service password reset capabilities. type GetCredentialUsageSummaryWithPeriodRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewGetCredentialUsageSummaryWithPeriodRequestBuilder(rawUrl string, request urlParams["request-raw-url"] = rawUrl return NewGetCredentialUsageSummaryWithPeriodRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function getCredentialUsageSummary +// Get report the current state of how many users in your organization used the self-service password reset capabilities. // Deprecated: This method is obsolete. Use GetAsGetCredentialUsageSummaryWithPeriodGetResponse instead. // returns a GetCredentialUsageSummaryWithPeriodResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/reportroot-getcredentialusagesummary?view=graph-rest-beta func (m *GetCredentialUsageSummaryWithPeriodRequestBuilder) Get(ctx context.Context, requestConfiguration *GetCredentialUsageSummaryWithPeriodRequestBuilderGetRequestConfiguration)(GetCredentialUsageSummaryWithPeriodResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *GetCredentialUsageSummaryWithPeriodRequestBuilder) Get(ctx context.Cont } return res.(GetCredentialUsageSummaryWithPeriodResponseable), nil } -// GetAsGetCredentialUsageSummaryWithPeriodGetResponse invoke function getCredentialUsageSummary +// GetAsGetCredentialUsageSummaryWithPeriodGetResponse report the current state of how many users in your organization used the self-service password reset capabilities. // returns a GetCredentialUsageSummaryWithPeriodGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/reportroot-getcredentialusagesummary?view=graph-rest-beta func (m *GetCredentialUsageSummaryWithPeriodRequestBuilder) GetAsGetCredentialUsageSummaryWithPeriodGetResponse(ctx context.Context, requestConfiguration *GetCredentialUsageSummaryWithPeriodRequestBuilderGetRequestConfiguration)(GetCredentialUsageSummaryWithPeriodGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *GetCredentialUsageSummaryWithPeriodRequestBuilder) GetAsGetCredentialUs } return res.(GetCredentialUsageSummaryWithPeriodGetResponseable), nil } -// ToGetRequestInformation invoke function getCredentialUsageSummary +// ToGetRequestInformation report the current state of how many users in your organization used the self-service password reset capabilities. // returns a *RequestInformation when successful func (m *GetCredentialUsageSummaryWithPeriodRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *GetCredentialUsageSummaryWithPeriodRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/reports/get_credential_user_registration_count_request_builder.go b/reports/get_credential_user_registration_count_request_builder.go index a54accef435..991db9850c7 100644 --- a/reports/get_credential_user_registration_count_request_builder.go +++ b/reports/get_credential_user_registration_count_request_builder.go @@ -57,7 +57,7 @@ func NewGetCredentialUserRegistrationCountRequestBuilder(rawUrl string, requestA // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/reportroot-getcredentialuserregistrationcount?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/reportroot-getcredentialuserregistrationcount?view=graph-rest-beta func (m *GetCredentialUserRegistrationCountRequestBuilder) Get(ctx context.Context, requestConfiguration *GetCredentialUserRegistrationCountRequestBuilderGetRequestConfiguration)(GetCredentialUserRegistrationCountResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -80,7 +80,7 @@ func (m *GetCredentialUserRegistrationCountRequestBuilder) Get(ctx context.Conte // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/reportroot-getcredentialuserregistrationcount?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/reportroot-getcredentialuserregistrationcount?view=graph-rest-beta func (m *GetCredentialUserRegistrationCountRequestBuilder) GetAsGetCredentialUserRegistrationCountGetResponse(ctx context.Context, requestConfiguration *GetCredentialUserRegistrationCountRequestBuilderGetRequestConfiguration)(GetCredentialUserRegistrationCountGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/reports/get_group_archived_print_jobs_with_group_id_with_start_date_time_with_end_date_time_request_builder.go b/reports/get_group_archived_print_jobs_with_group_id_with_start_date_time_with_end_date_time_request_builder.go index ba4dc3ed913..ae5326dee7a 100644 --- a/reports/get_group_archived_print_jobs_with_group_id_with_start_date_time_with_end_date_time_request_builder.go +++ b/reports/get_group_archived_print_jobs_with_group_id_with_start_date_time_with_end_date_time_request_builder.go @@ -11,7 +11,7 @@ import ( type GetGroupArchivedPrintJobsWithGroupIdWithStartDateTimeWithEndDateTimeRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// GetGroupArchivedPrintJobsWithGroupIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters invoke function getGroupArchivedPrintJobs +// GetGroupArchivedPrintJobsWithGroupIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters get a list of archived print jobs for a particular group. type GetGroupArchivedPrintJobsWithGroupIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -55,10 +55,13 @@ func NewGetGroupArchivedPrintJobsWithGroupIdWithStartDateTimeWithEndDateTimeRequ urlParams["request-raw-url"] = rawUrl return NewGetGroupArchivedPrintJobsWithGroupIdWithStartDateTimeWithEndDateTimeRequestBuilderInternal(urlParams, requestAdapter, nil, nil, nil) } -// Get invoke function getGroupArchivedPrintJobs +// Get get a list of archived print jobs for a particular group. // Deprecated: This method is obsolete. Use GetAsGetGroupArchivedPrintJobsWithGroupIdWithStartDateTimeWithEndDateTimeGetResponse instead. // returns a GetGroupArchivedPrintJobsWithGroupIdWithStartDateTimeWithEndDateTimeResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/reports-getgrouparchivedprintjobs?view=graph-rest-beta func (m *GetGroupArchivedPrintJobsWithGroupIdWithStartDateTimeWithEndDateTimeRequestBuilder) Get(ctx context.Context, requestConfiguration *GetGroupArchivedPrintJobsWithGroupIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration)(GetGroupArchivedPrintJobsWithGroupIdWithStartDateTimeWithEndDateTimeResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -76,9 +79,12 @@ func (m *GetGroupArchivedPrintJobsWithGroupIdWithStartDateTimeWithEndDateTimeReq } return res.(GetGroupArchivedPrintJobsWithGroupIdWithStartDateTimeWithEndDateTimeResponseable), nil } -// GetAsGetGroupArchivedPrintJobsWithGroupIdWithStartDateTimeWithEndDateTimeGetResponse invoke function getGroupArchivedPrintJobs +// GetAsGetGroupArchivedPrintJobsWithGroupIdWithStartDateTimeWithEndDateTimeGetResponse get a list of archived print jobs for a particular group. // returns a GetGroupArchivedPrintJobsWithGroupIdWithStartDateTimeWithEndDateTimeGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/reports-getgrouparchivedprintjobs?view=graph-rest-beta func (m *GetGroupArchivedPrintJobsWithGroupIdWithStartDateTimeWithEndDateTimeRequestBuilder) GetAsGetGroupArchivedPrintJobsWithGroupIdWithStartDateTimeWithEndDateTimeGetResponse(ctx context.Context, requestConfiguration *GetGroupArchivedPrintJobsWithGroupIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration)(GetGroupArchivedPrintJobsWithGroupIdWithStartDateTimeWithEndDateTimeGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,7 +102,7 @@ func (m *GetGroupArchivedPrintJobsWithGroupIdWithStartDateTimeWithEndDateTimeReq } return res.(GetGroupArchivedPrintJobsWithGroupIdWithStartDateTimeWithEndDateTimeGetResponseable), nil } -// ToGetRequestInformation invoke function getGroupArchivedPrintJobs +// ToGetRequestInformation get a list of archived print jobs for a particular group. // returns a *RequestInformation when successful func (m *GetGroupArchivedPrintJobsWithGroupIdWithStartDateTimeWithEndDateTimeRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *GetGroupArchivedPrintJobsWithGroupIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/reports/get_m365_app_platform_user_counts_with_period_request_builder.go b/reports/get_m365_app_platform_user_counts_with_period_request_builder.go index 18e3b28e757..e639a780140 100644 --- a/reports/get_m365_app_platform_user_counts_with_period_request_builder.go +++ b/reports/get_m365_app_platform_user_counts_with_period_request_builder.go @@ -33,9 +33,12 @@ func NewGetM365AppPlatformUserCountsWithPeriodRequestBuilder(rawUrl string, requ urlParams["request-raw-url"] = rawUrl return NewGetM365AppPlatformUserCountsWithPeriodRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function getM365AppPlatformUserCounts +// Get get a report that provides the trend of active users across all apps for each platform (Windows, Mac, web, and mobile) in your organization. // 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/reportroot-getm365appplatformusercounts?view=graph-rest-beta func (m *GetM365AppPlatformUserCountsWithPeriodRequestBuilder) Get(ctx context.Context, requestConfiguration *GetM365AppPlatformUserCountsWithPeriodRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -53,7 +56,7 @@ func (m *GetM365AppPlatformUserCountsWithPeriodRequestBuilder) Get(ctx context.C } return res.([]byte), nil } -// ToGetRequestInformation invoke function getM365AppPlatformUserCounts +// ToGetRequestInformation get a report that provides the trend of active users across all apps for each platform (Windows, Mac, web, and mobile) in your organization. // returns a *RequestInformation when successful func (m *GetM365AppPlatformUserCountsWithPeriodRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *GetM365AppPlatformUserCountsWithPeriodRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/reports/get_m365_app_user_counts_with_period_request_builder.go b/reports/get_m365_app_user_counts_with_period_request_builder.go index 018fc1dfefa..24f0f8eb7e5 100644 --- a/reports/get_m365_app_user_counts_with_period_request_builder.go +++ b/reports/get_m365_app_user_counts_with_period_request_builder.go @@ -33,9 +33,12 @@ func NewGetM365AppUserCountsWithPeriodRequestBuilder(rawUrl string, requestAdapt urlParams["request-raw-url"] = rawUrl return NewGetM365AppUserCountsWithPeriodRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function getM365AppUserCounts +// Get get a report that provides the trend in the number of active users for each app (Outlook, Word, Excel, PowerPoint, OneNote, and Teams) in your organization. // 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/reportroot-getm365appusercounts?view=graph-rest-beta func (m *GetM365AppUserCountsWithPeriodRequestBuilder) Get(ctx context.Context, requestConfiguration *GetM365AppUserCountsWithPeriodRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -53,7 +56,7 @@ func (m *GetM365AppUserCountsWithPeriodRequestBuilder) Get(ctx context.Context, } return res.([]byte), nil } -// ToGetRequestInformation invoke function getM365AppUserCounts +// ToGetRequestInformation get a report that provides the trend in the number of active users for each app (Outlook, Word, Excel, PowerPoint, OneNote, and Teams) in your organization. // returns a *RequestInformation when successful func (m *GetM365AppUserCountsWithPeriodRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *GetM365AppUserCountsWithPeriodRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/reports/get_printer_archived_print_jobs_with_printer_id_with_start_date_time_with_end_date_time_request_builder.go b/reports/get_printer_archived_print_jobs_with_printer_id_with_start_date_time_with_end_date_time_request_builder.go index b18596fa77a..9ba24b0de0c 100644 --- a/reports/get_printer_archived_print_jobs_with_printer_id_with_start_date_time_with_end_date_time_request_builder.go +++ b/reports/get_printer_archived_print_jobs_with_printer_id_with_start_date_time_with_end_date_time_request_builder.go @@ -11,7 +11,7 @@ import ( type GetPrinterArchivedPrintJobsWithPrinterIdWithStartDateTimeWithEndDateTimeRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// GetPrinterArchivedPrintJobsWithPrinterIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters invoke function getPrinterArchivedPrintJobs +// GetPrinterArchivedPrintJobsWithPrinterIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters get a list of archived print jobs that were queued for particular printer. type GetPrinterArchivedPrintJobsWithPrinterIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -55,10 +55,13 @@ func NewGetPrinterArchivedPrintJobsWithPrinterIdWithStartDateTimeWithEndDateTime urlParams["request-raw-url"] = rawUrl return NewGetPrinterArchivedPrintJobsWithPrinterIdWithStartDateTimeWithEndDateTimeRequestBuilderInternal(urlParams, requestAdapter, nil, nil, nil) } -// Get invoke function getPrinterArchivedPrintJobs +// Get get a list of archived print jobs that were queued for particular printer. // Deprecated: This method is obsolete. Use GetAsGetPrinterArchivedPrintJobsWithPrinterIdWithStartDateTimeWithEndDateTimeGetResponse instead. // returns a GetPrinterArchivedPrintJobsWithPrinterIdWithStartDateTimeWithEndDateTimeResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/reports-getprinterarchivedprintjobs?view=graph-rest-beta func (m *GetPrinterArchivedPrintJobsWithPrinterIdWithStartDateTimeWithEndDateTimeRequestBuilder) Get(ctx context.Context, requestConfiguration *GetPrinterArchivedPrintJobsWithPrinterIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration)(GetPrinterArchivedPrintJobsWithPrinterIdWithStartDateTimeWithEndDateTimeResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -76,9 +79,12 @@ func (m *GetPrinterArchivedPrintJobsWithPrinterIdWithStartDateTimeWithEndDateTim } return res.(GetPrinterArchivedPrintJobsWithPrinterIdWithStartDateTimeWithEndDateTimeResponseable), nil } -// GetAsGetPrinterArchivedPrintJobsWithPrinterIdWithStartDateTimeWithEndDateTimeGetResponse invoke function getPrinterArchivedPrintJobs +// GetAsGetPrinterArchivedPrintJobsWithPrinterIdWithStartDateTimeWithEndDateTimeGetResponse get a list of archived print jobs that were queued for particular printer. // returns a GetPrinterArchivedPrintJobsWithPrinterIdWithStartDateTimeWithEndDateTimeGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/reports-getprinterarchivedprintjobs?view=graph-rest-beta func (m *GetPrinterArchivedPrintJobsWithPrinterIdWithStartDateTimeWithEndDateTimeRequestBuilder) GetAsGetPrinterArchivedPrintJobsWithPrinterIdWithStartDateTimeWithEndDateTimeGetResponse(ctx context.Context, requestConfiguration *GetPrinterArchivedPrintJobsWithPrinterIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration)(GetPrinterArchivedPrintJobsWithPrinterIdWithStartDateTimeWithEndDateTimeGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,7 +102,7 @@ func (m *GetPrinterArchivedPrintJobsWithPrinterIdWithStartDateTimeWithEndDateTim } return res.(GetPrinterArchivedPrintJobsWithPrinterIdWithStartDateTimeWithEndDateTimeGetResponseable), nil } -// ToGetRequestInformation invoke function getPrinterArchivedPrintJobs +// ToGetRequestInformation get a list of archived print jobs that were queued for particular printer. // returns a *RequestInformation when successful func (m *GetPrinterArchivedPrintJobsWithPrinterIdWithStartDateTimeWithEndDateTimeRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *GetPrinterArchivedPrintJobsWithPrinterIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/reports/get_relying_party_detailed_summary_with_period_request_builder.go b/reports/get_relying_party_detailed_summary_with_period_request_builder.go index df2ac451763..5aeba21167f 100644 --- a/reports/get_relying_party_detailed_summary_with_period_request_builder.go +++ b/reports/get_relying_party_detailed_summary_with_period_request_builder.go @@ -10,7 +10,7 @@ import ( type GetRelyingPartyDetailedSummaryWithPeriodRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// GetRelyingPartyDetailedSummaryWithPeriodRequestBuilderGetQueryParameters invoke function getRelyingPartyDetailedSummary +// GetRelyingPartyDetailedSummaryWithPeriodRequestBuilderGetQueryParameters get a summary of AD FS relying parties information. type GetRelyingPartyDetailedSummaryWithPeriodRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewGetRelyingPartyDetailedSummaryWithPeriodRequestBuilder(rawUrl string, re urlParams["request-raw-url"] = rawUrl return NewGetRelyingPartyDetailedSummaryWithPeriodRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function getRelyingPartyDetailedSummary +// Get get a summary of AD FS relying parties information. // Deprecated: This method is obsolete. Use GetAsGetRelyingPartyDetailedSummaryWithPeriodGetResponse instead. // returns a GetRelyingPartyDetailedSummaryWithPeriodResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/reportroot-getrelyingpartydetailedsummary?view=graph-rest-beta func (m *GetRelyingPartyDetailedSummaryWithPeriodRequestBuilder) Get(ctx context.Context, requestConfiguration *GetRelyingPartyDetailedSummaryWithPeriodRequestBuilderGetRequestConfiguration)(GetRelyingPartyDetailedSummaryWithPeriodResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *GetRelyingPartyDetailedSummaryWithPeriodRequestBuilder) Get(ctx context } return res.(GetRelyingPartyDetailedSummaryWithPeriodResponseable), nil } -// GetAsGetRelyingPartyDetailedSummaryWithPeriodGetResponse invoke function getRelyingPartyDetailedSummary +// GetAsGetRelyingPartyDetailedSummaryWithPeriodGetResponse get a summary of AD FS relying parties information. // returns a GetRelyingPartyDetailedSummaryWithPeriodGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/reportroot-getrelyingpartydetailedsummary?view=graph-rest-beta func (m *GetRelyingPartyDetailedSummaryWithPeriodRequestBuilder) GetAsGetRelyingPartyDetailedSummaryWithPeriodGetResponse(ctx context.Context, requestConfiguration *GetRelyingPartyDetailedSummaryWithPeriodRequestBuilderGetRequestConfiguration)(GetRelyingPartyDetailedSummaryWithPeriodGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *GetRelyingPartyDetailedSummaryWithPeriodRequestBuilder) GetAsGetRelying } return res.(GetRelyingPartyDetailedSummaryWithPeriodGetResponseable), nil } -// ToGetRequestInformation invoke function getRelyingPartyDetailedSummary +// ToGetRequestInformation get a summary of AD FS relying parties information. // returns a *RequestInformation when successful func (m *GetRelyingPartyDetailedSummaryWithPeriodRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *GetRelyingPartyDetailedSummaryWithPeriodRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/reports/get_user_archived_print_jobs_with_user_id_with_start_date_time_with_end_date_time_request_builder.go b/reports/get_user_archived_print_jobs_with_user_id_with_start_date_time_with_end_date_time_request_builder.go index 47fd82bf6e6..24f36d8d5bf 100644 --- a/reports/get_user_archived_print_jobs_with_user_id_with_start_date_time_with_end_date_time_request_builder.go +++ b/reports/get_user_archived_print_jobs_with_user_id_with_start_date_time_with_end_date_time_request_builder.go @@ -11,7 +11,7 @@ import ( type GetUserArchivedPrintJobsWithUserIdWithStartDateTimeWithEndDateTimeRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// GetUserArchivedPrintJobsWithUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters invoke function getUserArchivedPrintJobs +// GetUserArchivedPrintJobsWithUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters get a list of archived print jobs for a particular user. type GetUserArchivedPrintJobsWithUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -55,10 +55,13 @@ func NewGetUserArchivedPrintJobsWithUserIdWithStartDateTimeWithEndDateTimeReques urlParams["request-raw-url"] = rawUrl return NewGetUserArchivedPrintJobsWithUserIdWithStartDateTimeWithEndDateTimeRequestBuilderInternal(urlParams, requestAdapter, nil, nil, nil) } -// Get invoke function getUserArchivedPrintJobs +// Get get a list of archived print jobs for a particular user. // Deprecated: This method is obsolete. Use GetAsGetUserArchivedPrintJobsWithUserIdWithStartDateTimeWithEndDateTimeGetResponse instead. // returns a GetUserArchivedPrintJobsWithUserIdWithStartDateTimeWithEndDateTimeResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/reports-getuserarchivedprintjobs?view=graph-rest-beta func (m *GetUserArchivedPrintJobsWithUserIdWithStartDateTimeWithEndDateTimeRequestBuilder) Get(ctx context.Context, requestConfiguration *GetUserArchivedPrintJobsWithUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration)(GetUserArchivedPrintJobsWithUserIdWithStartDateTimeWithEndDateTimeResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -76,9 +79,12 @@ func (m *GetUserArchivedPrintJobsWithUserIdWithStartDateTimeWithEndDateTimeReque } return res.(GetUserArchivedPrintJobsWithUserIdWithStartDateTimeWithEndDateTimeResponseable), nil } -// GetAsGetUserArchivedPrintJobsWithUserIdWithStartDateTimeWithEndDateTimeGetResponse invoke function getUserArchivedPrintJobs +// GetAsGetUserArchivedPrintJobsWithUserIdWithStartDateTimeWithEndDateTimeGetResponse get a list of archived print jobs for a particular user. // returns a GetUserArchivedPrintJobsWithUserIdWithStartDateTimeWithEndDateTimeGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/reports-getuserarchivedprintjobs?view=graph-rest-beta func (m *GetUserArchivedPrintJobsWithUserIdWithStartDateTimeWithEndDateTimeRequestBuilder) GetAsGetUserArchivedPrintJobsWithUserIdWithStartDateTimeWithEndDateTimeGetResponse(ctx context.Context, requestConfiguration *GetUserArchivedPrintJobsWithUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration)(GetUserArchivedPrintJobsWithUserIdWithStartDateTimeWithEndDateTimeGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,7 +102,7 @@ func (m *GetUserArchivedPrintJobsWithUserIdWithStartDateTimeWithEndDateTimeReque } return res.(GetUserArchivedPrintJobsWithUserIdWithStartDateTimeWithEndDateTimeGetResponseable), nil } -// ToGetRequestInformation invoke function getUserArchivedPrintJobs +// ToGetRequestInformation get a list of archived print jobs for a particular user. // returns a *RequestInformation when successful func (m *GetUserArchivedPrintJobsWithUserIdWithStartDateTimeWithEndDateTimeRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *GetUserArchivedPrintJobsWithUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/reports/monthly_print_usage_by_printer_request_builder.go b/reports/monthly_print_usage_by_printer_request_builder.go index 0308a9e889b..471b4710e5a 100644 --- a/reports/monthly_print_usage_by_printer_request_builder.go +++ b/reports/monthly_print_usage_by_printer_request_builder.go @@ -79,9 +79,6 @@ func (m *MonthlyPrintUsageByPrinterRequestBuilder) Count()(*MonthlyPrintUsageByP // Get retrieve a list of monthly print usage summaries, grouped by printer. // returns a PrintUsageByPrinterCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/reportroot-list-monthlyprintusagebyprinter?view=graph-rest-1.0 func (m *MonthlyPrintUsageByPrinterRequestBuilder) Get(ctx context.Context, requestConfiguration *MonthlyPrintUsageByPrinterRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrintUsageByPrinterCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/reports/monthly_print_usage_by_user_request_builder.go b/reports/monthly_print_usage_by_user_request_builder.go index 2f63ade3b0a..6d8c81ca329 100644 --- a/reports/monthly_print_usage_by_user_request_builder.go +++ b/reports/monthly_print_usage_by_user_request_builder.go @@ -79,9 +79,6 @@ func (m *MonthlyPrintUsageByUserRequestBuilder) Count()(*MonthlyPrintUsageByUser // Get retrieve a list of monthly print usage summaries, grouped by user. // returns a PrintUsageByUserCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/reportroot-list-monthlyprintusagebyuser?view=graph-rest-1.0 func (m *MonthlyPrintUsageByUserRequestBuilder) Get(ctx context.Context, requestConfiguration *MonthlyPrintUsageByUserRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PrintUsageByUserCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/reports/partners_billing_manifests_manifest_item_request_builder.go b/reports/partners_billing_manifests_manifest_item_request_builder.go index 4baf6efeb6a..5619574b3e9 100644 --- a/reports/partners_billing_manifests_manifest_item_request_builder.go +++ b/reports/partners_billing_manifests_manifest_item_request_builder.go @@ -18,7 +18,7 @@ type PartnersBillingManifestsManifestItemRequestBuilderDeleteRequestConfiguratio // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// PartnersBillingManifestsManifestItemRequestBuilderGetQueryParameters read the properties and relationships of a manifest object. +// PartnersBillingManifestsManifestItemRequestBuilderGetQueryParameters represents metadata for the exported data. type PartnersBillingManifestsManifestItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *PartnersBillingManifestsManifestItemRequestBuilder) Delete(ctx context. } return nil } -// Get read the properties and relationships of a manifest object. +// Get represents metadata for the exported data. // returns a Manifestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/partners-billing-manifest-get?view=graph-rest-1.0 func (m *PartnersBillingManifestsManifestItemRequestBuilder) Get(ctx context.Context, requestConfiguration *PartnersBillingManifestsManifestItemRequestBuilderGetRequestConfiguration)(ibc1d41e06c1155c6505b27a1d0c17b20692636238b0ddb2acdaa2b4548e4f67b.Manifestable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *PartnersBillingManifestsManifestItemRequestBuilder) ToDeleteRequestInfo requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a manifest object. +// ToGetRequestInformation represents metadata for the exported data. // returns a *RequestInformation when successful func (m *PartnersBillingManifestsManifestItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PartnersBillingManifestsManifestItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/reports/partners_billing_manifests_request_builder.go b/reports/partners_billing_manifests_request_builder.go index e61442b6cbb..c9e4f42499d 100644 --- a/reports/partners_billing_manifests_request_builder.go +++ b/reports/partners_billing_manifests_request_builder.go @@ -11,7 +11,7 @@ import ( type PartnersBillingManifestsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// PartnersBillingManifestsRequestBuilderGetQueryParameters read the properties and relationships of a manifest object. +// PartnersBillingManifestsRequestBuilderGetQueryParameters represents metadata for the exported data. type PartnersBillingManifestsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewPartnersBillingManifestsRequestBuilder(rawUrl string, requestAdapter i2a func (m *PartnersBillingManifestsRequestBuilder) Count()(*PartnersBillingManifestsCountRequestBuilder) { return NewPartnersBillingManifestsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of a manifest object. +// Get represents metadata for the exported data. // returns a ManifestCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *PartnersBillingManifestsRequestBuilder) Get(ctx context.Context, requestConfiguration *PartnersBillingManifestsRequestBuilderGetRequestConfiguration)(ibc1d41e06c1155c6505b27a1d0c17b20692636238b0ddb2acdaa2b4548e4f67b.ManifestCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *PartnersBillingManifestsRequestBuilder) Post(ctx context.Context, body } return res.(ibc1d41e06c1155c6505b27a1d0c17b20692636238b0ddb2acdaa2b4548e4f67b.Manifestable), nil } -// ToGetRequestInformation read the properties and relationships of a manifest object. +// ToGetRequestInformation represents metadata for the exported data. // returns a *RequestInformation when successful func (m *PartnersBillingManifestsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PartnersBillingManifestsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/reports/partners_billing_operations_operation_item_request_builder.go b/reports/partners_billing_operations_operation_item_request_builder.go index efc29da8888..f704bd5500a 100644 --- a/reports/partners_billing_operations_operation_item_request_builder.go +++ b/reports/partners_billing_operations_operation_item_request_builder.go @@ -18,7 +18,7 @@ type PartnersBillingOperationsOperationItemRequestBuilderDeleteRequestConfigurat // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// PartnersBillingOperationsOperationItemRequestBuilderGetQueryParameters read the properties and relationships of an operation object. +// PartnersBillingOperationsOperationItemRequestBuilderGetQueryParameters represents an operation to export the billing data of a partner. type PartnersBillingOperationsOperationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *PartnersBillingOperationsOperationItemRequestBuilder) Delete(ctx contex } return nil } -// Get read the properties and relationships of an operation object. +// Get represents an operation to export the billing data of a partner. // returns a Operationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/partners-billing-operation-get?view=graph-rest-1.0 func (m *PartnersBillingOperationsOperationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *PartnersBillingOperationsOperationItemRequestBuilderGetRequestConfiguration)(ibc1d41e06c1155c6505b27a1d0c17b20692636238b0ddb2acdaa2b4548e4f67b.Operationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *PartnersBillingOperationsOperationItemRequestBuilder) ToDeleteRequestIn requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an operation object. +// ToGetRequestInformation represents an operation to export the billing data of a partner. // returns a *RequestInformation when successful func (m *PartnersBillingOperationsOperationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PartnersBillingOperationsOperationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/reports/partners_billing_operations_request_builder.go b/reports/partners_billing_operations_request_builder.go index be09c7a6a45..59522f5653d 100644 --- a/reports/partners_billing_operations_request_builder.go +++ b/reports/partners_billing_operations_request_builder.go @@ -11,7 +11,7 @@ import ( type PartnersBillingOperationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// PartnersBillingOperationsRequestBuilderGetQueryParameters read the properties and relationships of an operation object. +// PartnersBillingOperationsRequestBuilderGetQueryParameters represents an operation to export the billing data of a partner. type PartnersBillingOperationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewPartnersBillingOperationsRequestBuilder(rawUrl string, requestAdapter i2 func (m *PartnersBillingOperationsRequestBuilder) Count()(*PartnersBillingOperationsCountRequestBuilder) { return NewPartnersBillingOperationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of an operation object. +// Get represents an operation to export the billing data of a partner. // returns a OperationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *PartnersBillingOperationsRequestBuilder) Get(ctx context.Context, requestConfiguration *PartnersBillingOperationsRequestBuilderGetRequestConfiguration)(ibc1d41e06c1155c6505b27a1d0c17b20692636238b0ddb2acdaa2b4548e4f67b.OperationCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *PartnersBillingOperationsRequestBuilder) Post(ctx context.Context, body } return res.(ibc1d41e06c1155c6505b27a1d0c17b20692636238b0ddb2acdaa2b4548e4f67b.Operationable), nil } -// ToGetRequestInformation read the properties and relationships of an operation object. +// ToGetRequestInformation represents an operation to export the billing data of a partner. // returns a *RequestInformation when successful func (m *PartnersBillingOperationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PartnersBillingOperationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/reports/partners_billing_reconciliation_billed_microsoft_graph_partners_billing_export_request_builder.go b/reports/partners_billing_reconciliation_billed_microsoft_graph_partners_billing_export_request_builder.go index bb2c7b666c5..8156a6bed01 100644 --- a/reports/partners_billing_reconciliation_billed_microsoft_graph_partners_billing_export_request_builder.go +++ b/reports/partners_billing_reconciliation_billed_microsoft_graph_partners_billing_export_request_builder.go @@ -36,7 +36,7 @@ func NewPartnersBillingReconciliationBilledMicrosoftGraphPartnersBillingExportRe // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/partners-billing-billedreconciliation-export?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/partners-billing-billedreconciliation-export?view=graph-rest-beta func (m *PartnersBillingReconciliationBilledMicrosoftGraphPartnersBillingExportRequestBuilder) Post(ctx context.Context, body PartnersBillingReconciliationBilledMicrosoftGraphPartnersBillingExportExportPostRequestBodyable, requestConfiguration *PartnersBillingReconciliationBilledMicrosoftGraphPartnersBillingExportRequestBuilderPostRequestConfiguration)(ibc1d41e06c1155c6505b27a1d0c17b20692636238b0ddb2acdaa2b4548e4f67b.Operationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/reports/partners_billing_usage_billed_microsoft_graph_partners_billing_export_request_builder.go b/reports/partners_billing_usage_billed_microsoft_graph_partners_billing_export_request_builder.go index 9dd2ec473a0..8a85a56fa64 100644 --- a/reports/partners_billing_usage_billed_microsoft_graph_partners_billing_export_request_builder.go +++ b/reports/partners_billing_usage_billed_microsoft_graph_partners_billing_export_request_builder.go @@ -36,7 +36,7 @@ func NewPartnersBillingUsageBilledMicrosoftGraphPartnersBillingExportRequestBuil // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/partners-billing-billedusage-export?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/partners-billing-billedusage-export?view=graph-rest-beta func (m *PartnersBillingUsageBilledMicrosoftGraphPartnersBillingExportRequestBuilder) Post(ctx context.Context, body PartnersBillingUsageBilledMicrosoftGraphPartnersBillingExportExportPostRequestBodyable, requestConfiguration *PartnersBillingUsageBilledMicrosoftGraphPartnersBillingExportRequestBuilderPostRequestConfiguration)(ibc1d41e06c1155c6505b27a1d0c17b20692636238b0ddb2acdaa2b4548e4f67b.Operationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/reports/partners_billing_usage_unbilled_microsoft_graph_partners_billing_export_request_builder.go b/reports/partners_billing_usage_unbilled_microsoft_graph_partners_billing_export_request_builder.go index 8a69398f3bf..f2d3f9d6ab8 100644 --- a/reports/partners_billing_usage_unbilled_microsoft_graph_partners_billing_export_request_builder.go +++ b/reports/partners_billing_usage_unbilled_microsoft_graph_partners_billing_export_request_builder.go @@ -36,7 +36,7 @@ func NewPartnersBillingUsageUnbilledMicrosoftGraphPartnersBillingExportRequestBu // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/partners-billing-unbilledusage-export?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/partners-billing-unbilledusage-export?view=graph-rest-beta func (m *PartnersBillingUsageUnbilledMicrosoftGraphPartnersBillingExportRequestBuilder) Post(ctx context.Context, body PartnersBillingUsageUnbilledMicrosoftGraphPartnersBillingExportExportPostRequestBodyable, requestConfiguration *PartnersBillingUsageUnbilledMicrosoftGraphPartnersBillingExportRequestBuilderPostRequestConfiguration)(ibc1d41e06c1155c6505b27a1d0c17b20692636238b0ddb2acdaa2b4548e4f67b.Operationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/reports/security_get_attack_simulation_repeat_offenders_request_builder.go b/reports/security_get_attack_simulation_repeat_offenders_request_builder.go index 4adb848190b..53065c739e7 100644 --- a/reports/security_get_attack_simulation_repeat_offenders_request_builder.go +++ b/reports/security_get_attack_simulation_repeat_offenders_request_builder.go @@ -10,7 +10,7 @@ import ( type SecurityGetAttackSimulationRepeatOffendersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// SecurityGetAttackSimulationRepeatOffendersRequestBuilderGetQueryParameters invoke function getAttackSimulationRepeatOffenders +// SecurityGetAttackSimulationRepeatOffendersRequestBuilderGetQueryParameters list the tenant users who have yielded to attacks more than once in attack simulation and training campaigns. This function supports @odata.nextLink for pagination. type SecurityGetAttackSimulationRepeatOffendersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -45,10 +45,13 @@ func NewSecurityGetAttackSimulationRepeatOffendersRequestBuilder(rawUrl string, urlParams["request-raw-url"] = rawUrl return NewSecurityGetAttackSimulationRepeatOffendersRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getAttackSimulationRepeatOffenders +// Get list the tenant users who have yielded to attacks more than once in attack simulation and training campaigns. This function supports @odata.nextLink for pagination. // Deprecated: This method is obsolete. Use GetAsGetAttackSimulationRepeatOffendersGetResponse instead. // returns a SecurityGetAttackSimulationRepeatOffendersResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/securityreportsroot-getattacksimulationrepeatoffenders?view=graph-rest-beta func (m *SecurityGetAttackSimulationRepeatOffendersRequestBuilder) Get(ctx context.Context, requestConfiguration *SecurityGetAttackSimulationRepeatOffendersRequestBuilderGetRequestConfiguration)(SecurityGetAttackSimulationRepeatOffendersResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,9 +69,12 @@ func (m *SecurityGetAttackSimulationRepeatOffendersRequestBuilder) Get(ctx conte } return res.(SecurityGetAttackSimulationRepeatOffendersResponseable), nil } -// GetAsGetAttackSimulationRepeatOffendersGetResponse invoke function getAttackSimulationRepeatOffenders +// GetAsGetAttackSimulationRepeatOffendersGetResponse list the tenant users who have yielded to attacks more than once in attack simulation and training campaigns. This function supports @odata.nextLink for pagination. // returns a SecurityGetAttackSimulationRepeatOffendersGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/securityreportsroot-getattacksimulationrepeatoffenders?view=graph-rest-beta func (m *SecurityGetAttackSimulationRepeatOffendersRequestBuilder) GetAsGetAttackSimulationRepeatOffendersGetResponse(ctx context.Context, requestConfiguration *SecurityGetAttackSimulationRepeatOffendersRequestBuilderGetRequestConfiguration)(SecurityGetAttackSimulationRepeatOffendersGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -86,7 +92,7 @@ func (m *SecurityGetAttackSimulationRepeatOffendersRequestBuilder) GetAsGetAttac } return res.(SecurityGetAttackSimulationRepeatOffendersGetResponseable), nil } -// ToGetRequestInformation invoke function getAttackSimulationRepeatOffenders +// ToGetRequestInformation list the tenant users who have yielded to attacks more than once in attack simulation and training campaigns. This function supports @odata.nextLink for pagination. // returns a *RequestInformation when successful func (m *SecurityGetAttackSimulationRepeatOffendersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SecurityGetAttackSimulationRepeatOffendersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/reports/security_get_attack_simulation_simulation_user_coverage_request_builder.go b/reports/security_get_attack_simulation_simulation_user_coverage_request_builder.go index a6447a7bcb5..fc12c9140c3 100644 --- a/reports/security_get_attack_simulation_simulation_user_coverage_request_builder.go +++ b/reports/security_get_attack_simulation_simulation_user_coverage_request_builder.go @@ -10,7 +10,7 @@ import ( type SecurityGetAttackSimulationSimulationUserCoverageRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// SecurityGetAttackSimulationSimulationUserCoverageRequestBuilderGetQueryParameters invoke function getAttackSimulationSimulationUserCoverage +// SecurityGetAttackSimulationSimulationUserCoverageRequestBuilderGetQueryParameters list training coverage for each tenant user in attack simulation and training campaigns. This function supports @odata.nextLink for pagination. type SecurityGetAttackSimulationSimulationUserCoverageRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -45,10 +45,13 @@ func NewSecurityGetAttackSimulationSimulationUserCoverageRequestBuilder(rawUrl s urlParams["request-raw-url"] = rawUrl return NewSecurityGetAttackSimulationSimulationUserCoverageRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getAttackSimulationSimulationUserCoverage +// Get list training coverage for each tenant user in attack simulation and training campaigns. This function supports @odata.nextLink for pagination. // Deprecated: This method is obsolete. Use GetAsGetAttackSimulationSimulationUserCoverageGetResponse instead. // returns a SecurityGetAttackSimulationSimulationUserCoverageResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/securityreportsroot-getattacksimulationsimulationusercoverage?view=graph-rest-beta func (m *SecurityGetAttackSimulationSimulationUserCoverageRequestBuilder) Get(ctx context.Context, requestConfiguration *SecurityGetAttackSimulationSimulationUserCoverageRequestBuilderGetRequestConfiguration)(SecurityGetAttackSimulationSimulationUserCoverageResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,9 +69,12 @@ func (m *SecurityGetAttackSimulationSimulationUserCoverageRequestBuilder) Get(ct } return res.(SecurityGetAttackSimulationSimulationUserCoverageResponseable), nil } -// GetAsGetAttackSimulationSimulationUserCoverageGetResponse invoke function getAttackSimulationSimulationUserCoverage +// GetAsGetAttackSimulationSimulationUserCoverageGetResponse list training coverage for each tenant user in attack simulation and training campaigns. This function supports @odata.nextLink for pagination. // returns a SecurityGetAttackSimulationSimulationUserCoverageGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/securityreportsroot-getattacksimulationsimulationusercoverage?view=graph-rest-beta func (m *SecurityGetAttackSimulationSimulationUserCoverageRequestBuilder) GetAsGetAttackSimulationSimulationUserCoverageGetResponse(ctx context.Context, requestConfiguration *SecurityGetAttackSimulationSimulationUserCoverageRequestBuilderGetRequestConfiguration)(SecurityGetAttackSimulationSimulationUserCoverageGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -86,7 +92,7 @@ func (m *SecurityGetAttackSimulationSimulationUserCoverageRequestBuilder) GetAsG } return res.(SecurityGetAttackSimulationSimulationUserCoverageGetResponseable), nil } -// ToGetRequestInformation invoke function getAttackSimulationSimulationUserCoverage +// ToGetRequestInformation list training coverage for each tenant user in attack simulation and training campaigns. This function supports @odata.nextLink for pagination. // returns a *RequestInformation when successful func (m *SecurityGetAttackSimulationSimulationUserCoverageRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SecurityGetAttackSimulationSimulationUserCoverageRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/reports/security_get_attack_simulation_training_user_coverage_request_builder.go b/reports/security_get_attack_simulation_training_user_coverage_request_builder.go index 7d8d18f5d02..a3c2a9a89fc 100644 --- a/reports/security_get_attack_simulation_training_user_coverage_request_builder.go +++ b/reports/security_get_attack_simulation_training_user_coverage_request_builder.go @@ -10,7 +10,7 @@ import ( type SecurityGetAttackSimulationTrainingUserCoverageRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// SecurityGetAttackSimulationTrainingUserCoverageRequestBuilderGetQueryParameters invoke function getAttackSimulationTrainingUserCoverage +// SecurityGetAttackSimulationTrainingUserCoverageRequestBuilderGetQueryParameters list training coverage for tenant users in attack simulation and training campaigns. This function supports @odata.nextLink for pagination. type SecurityGetAttackSimulationTrainingUserCoverageRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -45,10 +45,13 @@ func NewSecurityGetAttackSimulationTrainingUserCoverageRequestBuilder(rawUrl str urlParams["request-raw-url"] = rawUrl return NewSecurityGetAttackSimulationTrainingUserCoverageRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getAttackSimulationTrainingUserCoverage +// Get list training coverage for tenant users in attack simulation and training campaigns. This function supports @odata.nextLink for pagination. // Deprecated: This method is obsolete. Use GetAsGetAttackSimulationTrainingUserCoverageGetResponse instead. // returns a SecurityGetAttackSimulationTrainingUserCoverageResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/securityreportsroot-getattacksimulationtrainingusercoverage?view=graph-rest-beta func (m *SecurityGetAttackSimulationTrainingUserCoverageRequestBuilder) Get(ctx context.Context, requestConfiguration *SecurityGetAttackSimulationTrainingUserCoverageRequestBuilderGetRequestConfiguration)(SecurityGetAttackSimulationTrainingUserCoverageResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,9 +69,12 @@ func (m *SecurityGetAttackSimulationTrainingUserCoverageRequestBuilder) Get(ctx } return res.(SecurityGetAttackSimulationTrainingUserCoverageResponseable), nil } -// GetAsGetAttackSimulationTrainingUserCoverageGetResponse invoke function getAttackSimulationTrainingUserCoverage +// GetAsGetAttackSimulationTrainingUserCoverageGetResponse list training coverage for tenant users in attack simulation and training campaigns. This function supports @odata.nextLink for pagination. // returns a SecurityGetAttackSimulationTrainingUserCoverageGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/securityreportsroot-getattacksimulationtrainingusercoverage?view=graph-rest-beta func (m *SecurityGetAttackSimulationTrainingUserCoverageRequestBuilder) GetAsGetAttackSimulationTrainingUserCoverageGetResponse(ctx context.Context, requestConfiguration *SecurityGetAttackSimulationTrainingUserCoverageRequestBuilderGetRequestConfiguration)(SecurityGetAttackSimulationTrainingUserCoverageGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -86,7 +92,7 @@ func (m *SecurityGetAttackSimulationTrainingUserCoverageRequestBuilder) GetAsGet } return res.(SecurityGetAttackSimulationTrainingUserCoverageGetResponseable), nil } -// ToGetRequestInformation invoke function getAttackSimulationTrainingUserCoverage +// ToGetRequestInformation list training coverage for tenant users in attack simulation and training campaigns. This function supports @odata.nextLink for pagination. // returns a *RequestInformation when successful func (m *SecurityGetAttackSimulationTrainingUserCoverageRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SecurityGetAttackSimulationTrainingUserCoverageRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/reports/service_activity_get_metrics_for_conditional_access_compliant_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.go b/reports/service_activity_get_metrics_for_conditional_access_compliant_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.go index 758ea83a7a0..c82f1319874 100644 --- a/reports/service_activity_get_metrics_for_conditional_access_compliant_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.go +++ b/reports/service_activity_get_metrics_for_conditional_access_compliant_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.go @@ -11,7 +11,7 @@ import ( type ServiceActivityGetMetricsForConditionalAccessCompliantDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ServiceActivityGetMetricsForConditionalAccessCompliantDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters invoke function getMetricsForConditionalAccessCompliantDevicesSignInSuccess +// ServiceActivityGetMetricsForConditionalAccessCompliantDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters get the number of user authentication requests, during a specified time period, that satisfy a Conditional Access policy that requires device compliance. Microsoft Intune manages compliant devices, including mobile iOS/Android devices, tablets, or cloud Microsoft Entra-joined computers (not hybrid). type ServiceActivityGetMetricsForConditionalAccessCompliantDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters struct { // Usage: aggregationIntervalInMinutes=@aggregationIntervalInMinutes AggregationIntervalInMinutes *int32 `uriparametername:"aggregationIntervalInMinutes"` @@ -54,10 +54,13 @@ func NewServiceActivityGetMetricsForConditionalAccessCompliantDevicesSignInSucce urlParams["request-raw-url"] = rawUrl return NewServiceActivityGetMetricsForConditionalAccessCompliantDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderInternal(urlParams, requestAdapter, nil, nil) } -// Get invoke function getMetricsForConditionalAccessCompliantDevicesSignInSuccess +// Get get the number of user authentication requests, during a specified time period, that satisfy a Conditional Access policy that requires device compliance. Microsoft Intune manages compliant devices, including mobile iOS/Android devices, tablets, or cloud Microsoft Entra-joined computers (not hybrid). // Deprecated: This method is obsolete. Use GetAsGetMetricsForConditionalAccessCompliantDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse instead. // returns a ServiceActivityGetMetricsForConditionalAccessCompliantDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable when successful // returns a ODataError error 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-getmetricsforconditionalaccesscompliantdevicessigninsuccess?view=graph-rest-beta func (m *ServiceActivityGetMetricsForConditionalAccessCompliantDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) Get(ctx context.Context, requestConfiguration *ServiceActivityGetMetricsForConditionalAccessCompliantDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(ServiceActivityGetMetricsForConditionalAccessCompliantDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *ServiceActivityGetMetricsForConditionalAccessCompliantDevicesSignInSucc } return res.(ServiceActivityGetMetricsForConditionalAccessCompliantDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable), nil } -// GetAsGetMetricsForConditionalAccessCompliantDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse invoke function getMetricsForConditionalAccessCompliantDevicesSignInSuccess +// GetAsGetMetricsForConditionalAccessCompliantDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse get the number of user authentication requests, during a specified time period, that satisfy a Conditional Access policy that requires device compliance. Microsoft Intune manages compliant devices, including mobile iOS/Android devices, tablets, or cloud Microsoft Entra-joined computers (not hybrid). // returns a ServiceActivityGetMetricsForConditionalAccessCompliantDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable when successful // returns a ODataError error 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-getmetricsforconditionalaccesscompliantdevicessigninsuccess?view=graph-rest-beta func (m *ServiceActivityGetMetricsForConditionalAccessCompliantDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) GetAsGetMetricsForConditionalAccessCompliantDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse(ctx context.Context, requestConfiguration *ServiceActivityGetMetricsForConditionalAccessCompliantDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(ServiceActivityGetMetricsForConditionalAccessCompliantDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *ServiceActivityGetMetricsForConditionalAccessCompliantDevicesSignInSucc } return res.(ServiceActivityGetMetricsForConditionalAccessCompliantDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable), nil } -// ToGetRequestInformation invoke function getMetricsForConditionalAccessCompliantDevicesSignInSuccess +// ToGetRequestInformation get the number of user authentication requests, during a specified time period, that satisfy a Conditional Access policy that requires device compliance. Microsoft Intune manages compliant devices, including mobile iOS/Android devices, tablets, or cloud Microsoft Entra-joined computers (not hybrid). // returns a *RequestInformation when successful func (m *ServiceActivityGetMetricsForConditionalAccessCompliantDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ServiceActivityGetMetricsForConditionalAccessCompliantDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/reports/service_activity_get_metrics_for_conditional_access_managed_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.go b/reports/service_activity_get_metrics_for_conditional_access_managed_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.go index e6b35c0ef35..eda976da785 100644 --- a/reports/service_activity_get_metrics_for_conditional_access_managed_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.go +++ b/reports/service_activity_get_metrics_for_conditional_access_managed_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.go @@ -11,7 +11,7 @@ import ( type ServiceActivityGetMetricsForConditionalAccessManagedDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ServiceActivityGetMetricsForConditionalAccessManagedDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters invoke function getMetricsForConditionalAccessManagedDevicesSignInSuccess +// ServiceActivityGetMetricsForConditionalAccessManagedDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters get the number of user authentication requests, during a specific time period, that satisfy a Conditional Access policy requiring devices to be managed. Managed devices are computers joined to and managed by your on-premises directory and hybrid devices joined to Microsoft Entra. type ServiceActivityGetMetricsForConditionalAccessManagedDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters struct { // Usage: aggregationIntervalInMinutes=@aggregationIntervalInMinutes AggregationIntervalInMinutes *int32 `uriparametername:"aggregationIntervalInMinutes"` @@ -54,10 +54,13 @@ func NewServiceActivityGetMetricsForConditionalAccessManagedDevicesSignInSuccess urlParams["request-raw-url"] = rawUrl return NewServiceActivityGetMetricsForConditionalAccessManagedDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderInternal(urlParams, requestAdapter, nil, nil) } -// Get invoke function getMetricsForConditionalAccessManagedDevicesSignInSuccess +// Get get the number of user authentication requests, during a specific time period, that satisfy a Conditional Access policy requiring devices to be managed. Managed devices are computers joined to and managed by your on-premises directory and hybrid devices joined to Microsoft Entra. // Deprecated: This method is obsolete. Use GetAsGetMetricsForConditionalAccessManagedDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse instead. // returns a ServiceActivityGetMetricsForConditionalAccessManagedDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable when successful // returns a ODataError error 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-getmetricsforconditionalaccessmanageddevicessigninsuccess?view=graph-rest-beta func (m *ServiceActivityGetMetricsForConditionalAccessManagedDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) Get(ctx context.Context, requestConfiguration *ServiceActivityGetMetricsForConditionalAccessManagedDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(ServiceActivityGetMetricsForConditionalAccessManagedDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *ServiceActivityGetMetricsForConditionalAccessManagedDevicesSignInSucces } return res.(ServiceActivityGetMetricsForConditionalAccessManagedDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable), nil } -// GetAsGetMetricsForConditionalAccessManagedDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse invoke function getMetricsForConditionalAccessManagedDevicesSignInSuccess +// GetAsGetMetricsForConditionalAccessManagedDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse get the number of user authentication requests, during a specific time period, that satisfy a Conditional Access policy requiring devices to be managed. Managed devices are computers joined to and managed by your on-premises directory and hybrid devices joined to Microsoft Entra. // returns a ServiceActivityGetMetricsForConditionalAccessManagedDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable when successful // returns a ODataError error 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-getmetricsforconditionalaccessmanageddevicessigninsuccess?view=graph-rest-beta func (m *ServiceActivityGetMetricsForConditionalAccessManagedDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) GetAsGetMetricsForConditionalAccessManagedDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse(ctx context.Context, requestConfiguration *ServiceActivityGetMetricsForConditionalAccessManagedDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(ServiceActivityGetMetricsForConditionalAccessManagedDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *ServiceActivityGetMetricsForConditionalAccessManagedDevicesSignInSucces } return res.(ServiceActivityGetMetricsForConditionalAccessManagedDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable), nil } -// ToGetRequestInformation invoke function getMetricsForConditionalAccessManagedDevicesSignInSuccess +// ToGetRequestInformation get the number of user authentication requests, during a specific time period, that satisfy a Conditional Access policy requiring devices to be managed. Managed devices are computers joined to and managed by your on-premises directory and hybrid devices joined to Microsoft Entra. // returns a *RequestInformation when successful func (m *ServiceActivityGetMetricsForConditionalAccessManagedDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ServiceActivityGetMetricsForConditionalAccessManagedDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/reports/service_activity_get_metrics_for_mfa_sign_in_failure_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.go b/reports/service_activity_get_metrics_for_mfa_sign_in_failure_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.go index c83cfe8b3fe..7be4e6d6fe5 100644 --- a/reports/service_activity_get_metrics_for_mfa_sign_in_failure_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.go +++ b/reports/service_activity_get_metrics_for_mfa_sign_in_failure_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.go @@ -11,7 +11,7 @@ import ( type ServiceActivityGetMetricsForMfaSignInFailureWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ServiceActivityGetMetricsForMfaSignInFailureWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters invoke function getMetricsForMfaSignInFailure +// ServiceActivityGetMetricsForMfaSignInFailureWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters get the number of times users fail to complete interactive MFA sign-ins using the Microsoft Entra MFA cloud service during a specified time period. Sign-in failures happen, for example, when users abandon or cancel MFA requests, or refresh MFA sessions without doing interactive MFA. type ServiceActivityGetMetricsForMfaSignInFailureWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters struct { // Usage: aggregationIntervalInMinutes=@aggregationIntervalInMinutes AggregationIntervalInMinutes *int32 `uriparametername:"aggregationIntervalInMinutes"` @@ -54,10 +54,13 @@ func NewServiceActivityGetMetricsForMfaSignInFailureWithInclusiveIntervalStartDa urlParams["request-raw-url"] = rawUrl return NewServiceActivityGetMetricsForMfaSignInFailureWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderInternal(urlParams, requestAdapter, nil, nil) } -// Get invoke function getMetricsForMfaSignInFailure +// Get get the number of times users fail to complete interactive MFA sign-ins using the Microsoft Entra MFA cloud service during a specified time period. Sign-in failures happen, for example, when users abandon or cancel MFA requests, or refresh MFA sessions without doing interactive MFA. // Deprecated: This method is obsolete. Use GetAsGetMetricsForMfaSignInFailureWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse instead. // returns a ServiceActivityGetMetricsForMfaSignInFailureWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable when successful // returns a ODataError error 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-getmetricsformfasigninfailure?view=graph-rest-beta func (m *ServiceActivityGetMetricsForMfaSignInFailureWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) Get(ctx context.Context, requestConfiguration *ServiceActivityGetMetricsForMfaSignInFailureWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(ServiceActivityGetMetricsForMfaSignInFailureWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *ServiceActivityGetMetricsForMfaSignInFailureWithInclusiveIntervalStartD } return res.(ServiceActivityGetMetricsForMfaSignInFailureWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable), nil } -// GetAsGetMetricsForMfaSignInFailureWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse invoke function getMetricsForMfaSignInFailure +// GetAsGetMetricsForMfaSignInFailureWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse get the number of times users fail to complete interactive MFA sign-ins using the Microsoft Entra MFA cloud service during a specified time period. Sign-in failures happen, for example, when users abandon or cancel MFA requests, or refresh MFA sessions without doing interactive MFA. // returns a ServiceActivityGetMetricsForMfaSignInFailureWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable when successful // returns a ODataError error 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-getmetricsformfasigninfailure?view=graph-rest-beta func (m *ServiceActivityGetMetricsForMfaSignInFailureWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) GetAsGetMetricsForMfaSignInFailureWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse(ctx context.Context, requestConfiguration *ServiceActivityGetMetricsForMfaSignInFailureWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(ServiceActivityGetMetricsForMfaSignInFailureWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *ServiceActivityGetMetricsForMfaSignInFailureWithInclusiveIntervalStartD } return res.(ServiceActivityGetMetricsForMfaSignInFailureWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable), nil } -// ToGetRequestInformation invoke function getMetricsForMfaSignInFailure +// ToGetRequestInformation get the number of times users fail to complete interactive MFA sign-ins using the Microsoft Entra MFA cloud service during a specified time period. Sign-in failures happen, for example, when users abandon or cancel MFA requests, or refresh MFA sessions without doing interactive MFA. // returns a *RequestInformation when successful func (m *ServiceActivityGetMetricsForMfaSignInFailureWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ServiceActivityGetMetricsForMfaSignInFailureWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/reports/service_activity_get_metrics_for_mfa_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.go b/reports/service_activity_get_metrics_for_mfa_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.go index e471fcca9db..b4bc7ead859 100644 --- a/reports/service_activity_get_metrics_for_mfa_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.go +++ b/reports/service_activity_get_metrics_for_mfa_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.go @@ -11,7 +11,7 @@ import ( type ServiceActivityGetMetricsForMfaSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ServiceActivityGetMetricsForMfaSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters invoke function getMetricsForMfaSignInSuccess +// ServiceActivityGetMetricsForMfaSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters get the number of times users successfully completed interactive MFA sign-ins using the Microsoft Entra MFA cloud service during a specified time period. type ServiceActivityGetMetricsForMfaSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters struct { // Usage: aggregationIntervalInMinutes=@aggregationIntervalInMinutes AggregationIntervalInMinutes *int32 `uriparametername:"aggregationIntervalInMinutes"` @@ -54,10 +54,13 @@ func NewServiceActivityGetMetricsForMfaSignInSuccessWithInclusiveIntervalStartDa urlParams["request-raw-url"] = rawUrl return NewServiceActivityGetMetricsForMfaSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderInternal(urlParams, requestAdapter, nil, nil) } -// Get invoke function getMetricsForMfaSignInSuccess +// Get get the number of times users successfully completed interactive MFA sign-ins using the Microsoft Entra MFA cloud service during a specified time period. // Deprecated: This method is obsolete. Use GetAsGetMetricsForMfaSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse instead. // returns a ServiceActivityGetMetricsForMfaSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable when successful // returns a ODataError error 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-getmetricsformfasigninsuccess?view=graph-rest-beta func (m *ServiceActivityGetMetricsForMfaSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) Get(ctx context.Context, requestConfiguration *ServiceActivityGetMetricsForMfaSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(ServiceActivityGetMetricsForMfaSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *ServiceActivityGetMetricsForMfaSignInSuccessWithInclusiveIntervalStartD } return res.(ServiceActivityGetMetricsForMfaSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable), nil } -// GetAsGetMetricsForMfaSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse invoke function getMetricsForMfaSignInSuccess +// GetAsGetMetricsForMfaSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse get the number of times users successfully completed interactive MFA sign-ins using the Microsoft Entra MFA cloud service during a specified time period. // returns a ServiceActivityGetMetricsForMfaSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable when successful // returns a ODataError error 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-getmetricsformfasigninsuccess?view=graph-rest-beta func (m *ServiceActivityGetMetricsForMfaSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) GetAsGetMetricsForMfaSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse(ctx context.Context, requestConfiguration *ServiceActivityGetMetricsForMfaSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(ServiceActivityGetMetricsForMfaSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *ServiceActivityGetMetricsForMfaSignInSuccessWithInclusiveIntervalStartD } return res.(ServiceActivityGetMetricsForMfaSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable), nil } -// ToGetRequestInformation invoke function getMetricsForMfaSignInSuccess +// ToGetRequestInformation get the number of times users successfully completed interactive MFA sign-ins using the Microsoft Entra MFA cloud service during a specified time period. // returns a *RequestInformation when successful func (m *ServiceActivityGetMetricsForMfaSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ServiceActivityGetMetricsForMfaSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/reports/service_activity_get_metrics_for_saml_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.go b/reports/service_activity_get_metrics_for_saml_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.go index f207ab6c460..4bf4213be1b 100644 --- a/reports/service_activity_get_metrics_for_saml_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.go +++ b/reports/service_activity_get_metrics_for_saml_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.go @@ -11,7 +11,7 @@ import ( type ServiceActivityGetMetricsForSamlSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ServiceActivityGetMetricsForSamlSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters invoke function getMetricsForSamlSignInSuccess +// ServiceActivityGetMetricsForSamlSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters get the number of SAML 2.0 authentications successfully processed by the Microsoft Entra cloud service for the tenant during a specified time period. This health signal currently doesn't include WS-FED/SAML 1.1 apps that are integrated with Microsoft Entra. type ServiceActivityGetMetricsForSamlSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters struct { // Usage: aggregationIntervalInMinutes=@aggregationIntervalInMinutes AggregationIntervalInMinutes *int32 `uriparametername:"aggregationIntervalInMinutes"` @@ -54,10 +54,13 @@ func NewServiceActivityGetMetricsForSamlSignInSuccessWithInclusiveIntervalStartD urlParams["request-raw-url"] = rawUrl return NewServiceActivityGetMetricsForSamlSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderInternal(urlParams, requestAdapter, nil, nil) } -// Get invoke function getMetricsForSamlSignInSuccess +// Get get the number of SAML 2.0 authentications successfully processed by the Microsoft Entra cloud service for the tenant during a specified time period. This health signal currently doesn't include WS-FED/SAML 1.1 apps that are integrated with Microsoft Entra. // Deprecated: This method is obsolete. Use GetAsGetMetricsForSamlSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse instead. // returns a ServiceActivityGetMetricsForSamlSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable when successful // returns a ODataError error 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-getmetricsforsamlsigninsuccess?view=graph-rest-beta func (m *ServiceActivityGetMetricsForSamlSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) Get(ctx context.Context, requestConfiguration *ServiceActivityGetMetricsForSamlSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(ServiceActivityGetMetricsForSamlSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *ServiceActivityGetMetricsForSamlSignInSuccessWithInclusiveIntervalStart } return res.(ServiceActivityGetMetricsForSamlSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponseable), nil } -// GetAsGetMetricsForSamlSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse invoke function getMetricsForSamlSignInSuccess +// GetAsGetMetricsForSamlSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse get the number of SAML 2.0 authentications successfully processed by the Microsoft Entra cloud service for the tenant during a specified time period. This health signal currently doesn't include WS-FED/SAML 1.1 apps that are integrated with Microsoft Entra. // returns a ServiceActivityGetMetricsForSamlSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable when successful // returns a ODataError error 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-getmetricsforsamlsigninsuccess?view=graph-rest-beta func (m *ServiceActivityGetMetricsForSamlSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) GetAsGetMetricsForSamlSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse(ctx context.Context, requestConfiguration *ServiceActivityGetMetricsForSamlSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(ServiceActivityGetMetricsForSamlSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *ServiceActivityGetMetricsForSamlSignInSuccessWithInclusiveIntervalStart } return res.(ServiceActivityGetMetricsForSamlSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponseable), nil } -// ToGetRequestInformation invoke function getMetricsForSamlSignInSuccess +// ToGetRequestInformation get the number of SAML 2.0 authentications successfully processed by the Microsoft Entra cloud service for the tenant during a specified time period. This health signal currently doesn't include WS-FED/SAML 1.1 apps that are integrated with Microsoft Entra. // returns a *RequestInformation when successful func (m *ServiceActivityGetMetricsForSamlSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ServiceActivityGetMetricsForSamlSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/reports/service_principal_sign_in_activities_request_builder.go b/reports/service_principal_sign_in_activities_request_builder.go index cab90189efe..da640557008 100644 --- a/reports/service_principal_sign_in_activities_request_builder.go +++ b/reports/service_principal_sign_in_activities_request_builder.go @@ -11,7 +11,7 @@ import ( type ServicePrincipalSignInActivitiesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ServicePrincipalSignInActivitiesRequestBuilderGetQueryParameters get a list of servicePrincipalSignInActivity objects that contains sign-in activity information for service principals in a Microsoft Entra tenant. You can use a service principal as a client or resource. A service principal supports delegated or app-only authentication context. +// ServicePrincipalSignInActivitiesRequestBuilderGetQueryParameters represents a collection of sign-in activities of service principals. type ServicePrincipalSignInActivitiesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewServicePrincipalSignInActivitiesRequestBuilder(rawUrl string, requestAda func (m *ServicePrincipalSignInActivitiesRequestBuilder) Count()(*ServicePrincipalSignInActivitiesCountRequestBuilder) { return NewServicePrincipalSignInActivitiesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of servicePrincipalSignInActivity objects that contains sign-in activity information for service principals in a Microsoft Entra tenant. You can use a service principal as a client or resource. A service principal supports delegated or app-only authentication context. +// Get represents a collection of sign-in activities of service principals. // returns a ServicePrincipalSignInActivityCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/reportroot-list-serviceprincipalsigninactivities?view=graph-rest-1.0 func (m *ServicePrincipalSignInActivitiesRequestBuilder) Get(ctx context.Context, requestConfiguration *ServicePrincipalSignInActivitiesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServicePrincipalSignInActivityCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ServicePrincipalSignInActivitiesRequestBuilder) Post(ctx context.Contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServicePrincipalSignInActivityable), nil } -// ToGetRequestInformation get a list of servicePrincipalSignInActivity objects that contains sign-in activity information for service principals in a Microsoft Entra tenant. You can use a service principal as a client or resource. A service principal supports delegated or app-only authentication context. +// ToGetRequestInformation represents a collection of sign-in activities of service principals. // returns a *RequestInformation when successful func (m *ServicePrincipalSignInActivitiesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ServicePrincipalSignInActivitiesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/reports/service_principal_sign_in_activities_service_principal_sign_in_activity_item_request_builder.go b/reports/service_principal_sign_in_activities_service_principal_sign_in_activity_item_request_builder.go index 14ad359f25f..a46d655b57e 100644 --- a/reports/service_principal_sign_in_activities_service_principal_sign_in_activity_item_request_builder.go +++ b/reports/service_principal_sign_in_activities_service_principal_sign_in_activity_item_request_builder.go @@ -18,7 +18,7 @@ type ServicePrincipalSignInActivitiesServicePrincipalSignInActivityItemRequestBu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ServicePrincipalSignInActivitiesServicePrincipalSignInActivityItemRequestBuilderGetQueryParameters get a servicePrincipalSignInActivity object that contains sign-in activity information for a service principal in a Microsoft Entra tenant. You can use a service principal as a client or resource. A service principal supports delegated or app-only authentication context. +// ServicePrincipalSignInActivitiesServicePrincipalSignInActivityItemRequestBuilderGetQueryParameters represents a collection of sign-in activities of service principals. type ServicePrincipalSignInActivitiesServicePrincipalSignInActivityItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ServicePrincipalSignInActivitiesServicePrincipalSignInActivityItemReque } return nil } -// Get get a servicePrincipalSignInActivity object that contains sign-in activity information for a service principal in a Microsoft Entra tenant. You can use a service principal as a client or resource. A service principal supports delegated or app-only authentication context. +// Get represents a collection of sign-in activities of service principals. // returns a ServicePrincipalSignInActivityable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipalsigninactivity-get?view=graph-rest-1.0 func (m *ServicePrincipalSignInActivitiesServicePrincipalSignInActivityItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ServicePrincipalSignInActivitiesServicePrincipalSignInActivityItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServicePrincipalSignInActivityable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ServicePrincipalSignInActivitiesServicePrincipalSignInActivityItemReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a servicePrincipalSignInActivity object that contains sign-in activity information for a service principal in a Microsoft Entra tenant. You can use a service principal as a client or resource. A service principal supports delegated or app-only authentication context. +// ToGetRequestInformation represents a collection of sign-in activities of service principals. // returns a *RequestInformation when successful func (m *ServicePrincipalSignInActivitiesServicePrincipalSignInActivityItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ServicePrincipalSignInActivitiesServicePrincipalSignInActivityItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/reports/sla_azure_a_d_authentication_request_builder.go b/reports/sla_azure_a_d_authentication_request_builder.go index 8d2593370de..2ee65367ce8 100644 --- a/reports/sla_azure_a_d_authentication_request_builder.go +++ b/reports/sla_azure_a_d_authentication_request_builder.go @@ -18,7 +18,7 @@ type SlaAzureADAuthenticationRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// SlaAzureADAuthenticationRequestBuilderGetQueryParameters read the properties and relationships of an azureADAuthentication object to find the level of Microsoft Entra authentication availability for your tenant. The Microsoft Entra service Level Agreement (SLA) commits to at least 99.99% authentication availability, as described in Microsoft Entra SLA performance. This object provides you with your tenant's actual performance against this commitment. +// SlaAzureADAuthenticationRequestBuilderGetQueryParameters collects the Microsoft Entra SLA attainment for each month for a Microsoft Entra tenant. type SlaAzureADAuthenticationRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *SlaAzureADAuthenticationRequestBuilder) Delete(ctx context.Context, req } return nil } -// Get read the properties and relationships of an azureADAuthentication object to find the level of Microsoft Entra authentication availability for your tenant. The Microsoft Entra service Level Agreement (SLA) commits to at least 99.99% authentication availability, as described in Microsoft Entra SLA performance. This object provides you with your tenant's actual performance against this commitment. +// Get collects the Microsoft Entra SLA attainment for each month for a Microsoft Entra tenant. // returns a AzureADAuthenticationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/azureadauthentication-get?view=graph-rest-1.0 func (m *SlaAzureADAuthenticationRequestBuilder) Get(ctx context.Context, requestConfiguration *SlaAzureADAuthenticationRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AzureADAuthenticationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *SlaAzureADAuthenticationRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an azureADAuthentication object to find the level of Microsoft Entra authentication availability for your tenant. The Microsoft Entra service Level Agreement (SLA) commits to at least 99.99% authentication availability, as described in Microsoft Entra SLA performance. This object provides you with your tenant's actual performance against this commitment. +// ToGetRequestInformation collects the Microsoft Entra SLA attainment for each month for a Microsoft Entra tenant. // returns a *RequestInformation when successful func (m *SlaAzureADAuthenticationRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SlaAzureADAuthenticationRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/reports/user_credential_usage_details_request_builder.go b/reports/user_credential_usage_details_request_builder.go index 32d4568c813..be40404a2a1 100644 --- a/reports/user_credential_usage_details_request_builder.go +++ b/reports/user_credential_usage_details_request_builder.go @@ -11,7 +11,7 @@ import ( type UserCredentialUsageDetailsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// UserCredentialUsageDetailsRequestBuilderGetQueryParameters get a list of userCredentialUsageDetails objects for a given tenant. Details include user information, status of the reset, and the reason for failure. +// UserCredentialUsageDetailsRequestBuilderGetQueryParameters represents the self-service password reset (SSPR) usage for a given tenant. type UserCredentialUsageDetailsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewUserCredentialUsageDetailsRequestBuilder(rawUrl string, requestAdapter i func (m *UserCredentialUsageDetailsRequestBuilder) Count()(*UserCredentialUsageDetailsCountRequestBuilder) { return NewUserCredentialUsageDetailsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of userCredentialUsageDetails objects for a given tenant. Details include user information, status of the reset, and the reason for failure. +// Get represents the self-service password reset (SSPR) usage for a given tenant. // returns a UserCredentialUsageDetailsCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/reportroot-list-usercredentialusagedetails?view=graph-rest-1.0 func (m *UserCredentialUsageDetailsRequestBuilder) Get(ctx context.Context, requestConfiguration *UserCredentialUsageDetailsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserCredentialUsageDetailsCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *UserCredentialUsageDetailsRequestBuilder) Post(ctx context.Context, bod } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserCredentialUsageDetailsable), nil } -// ToGetRequestInformation get a list of userCredentialUsageDetails objects for a given tenant. Details include user information, status of the reset, and the reason for failure. +// ToGetRequestInformation represents the self-service password reset (SSPR) usage for a given tenant. // returns a *RequestInformation when successful func (m *UserCredentialUsageDetailsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UserCredentialUsageDetailsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/reports/user_insights_daily_active_users_breakdown_request_builder.go b/reports/user_insights_daily_active_users_breakdown_request_builder.go index 7ce64858ae2..217aec00a64 100644 --- a/reports/user_insights_daily_active_users_breakdown_request_builder.go +++ b/reports/user_insights_daily_active_users_breakdown_request_builder.go @@ -11,7 +11,7 @@ import ( type UserInsightsDailyActiveUsersBreakdownRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// UserInsightsDailyActiveUsersBreakdownRequestBuilderGetQueryParameters get a list of daily activeUsersBreakdown objects on apps registered in your tenant configured for Microsoft Entra External ID for customers. +// UserInsightsDailyActiveUsersBreakdownRequestBuilderGetQueryParameters get activeUsersBreakdown from reports type UserInsightsDailyActiveUsersBreakdownRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -70,13 +70,10 @@ func NewUserInsightsDailyActiveUsersBreakdownRequestBuilder(rawUrl string, reque func (m *UserInsightsDailyActiveUsersBreakdownRequestBuilder) Count()(*UserInsightsDailyActiveUsersBreakdownCountRequestBuilder) { return NewUserInsightsDailyActiveUsersBreakdownCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of daily activeUsersBreakdown objects on apps registered in your tenant configured for Microsoft Entra External ID for customers. +// Get get activeUsersBreakdown from reports // Deprecated: The Active Users Breakdown Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Active Users API. as of 2024-02/Remove_Breakdown_APIs // returns a ActiveUsersBreakdownMetricCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/dailyuserinsightmetricsroot-list-activeusersbreakdown?view=graph-rest-1.0 func (m *UserInsightsDailyActiveUsersBreakdownRequestBuilder) Get(ctx context.Context, requestConfiguration *UserInsightsDailyActiveUsersBreakdownRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActiveUsersBreakdownMetricCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -94,7 +91,7 @@ func (m *UserInsightsDailyActiveUsersBreakdownRequestBuilder) Get(ctx context.Co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActiveUsersBreakdownMetricCollectionResponseable), nil } -// ToGetRequestInformation get a list of daily activeUsersBreakdown objects on apps registered in your tenant configured for Microsoft Entra External ID for customers. +// ToGetRequestInformation get activeUsersBreakdown from reports // Deprecated: The Active Users Breakdown Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Active Users API. as of 2024-02/Remove_Breakdown_APIs // returns a *RequestInformation when successful func (m *UserInsightsDailyActiveUsersBreakdownRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UserInsightsDailyActiveUsersBreakdownRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/reports/user_insights_daily_active_users_request_builder.go b/reports/user_insights_daily_active_users_request_builder.go index ba8f334f7ab..5633a5b7fcb 100644 --- a/reports/user_insights_daily_active_users_request_builder.go +++ b/reports/user_insights_daily_active_users_request_builder.go @@ -11,7 +11,7 @@ import ( type UserInsightsDailyActiveUsersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// UserInsightsDailyActiveUsersRequestBuilderGetQueryParameters get a list of daily active users on apps registered in your tenant configured for Microsoft Entra External ID for customers. +// UserInsightsDailyActiveUsersRequestBuilderGetQueryParameters insights for active users on apps registered in the tenant for a specified period. type UserInsightsDailyActiveUsersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewUserInsightsDailyActiveUsersRequestBuilder(rawUrl string, requestAdapter func (m *UserInsightsDailyActiveUsersRequestBuilder) Count()(*UserInsightsDailyActiveUsersCountRequestBuilder) { return NewUserInsightsDailyActiveUsersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of daily active users on apps registered in your tenant configured for Microsoft Entra External ID for customers. +// Get insights for active users on apps registered in the tenant for a specified period. // returns a ActiveUsersMetricCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/dailyuserinsightmetricsroot-list-activeusers?view=graph-rest-1.0 func (m *UserInsightsDailyActiveUsersRequestBuilder) Get(ctx context.Context, requestConfiguration *UserInsightsDailyActiveUsersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActiveUsersMetricCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *UserInsightsDailyActiveUsersRequestBuilder) Get(ctx context.Context, re } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActiveUsersMetricCollectionResponseable), nil } -// ToGetRequestInformation get a list of daily active users on apps registered in your tenant configured for Microsoft Entra External ID for customers. +// ToGetRequestInformation insights for active users on apps registered in the tenant for a specified period. // returns a *RequestInformation when successful func (m *UserInsightsDailyActiveUsersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UserInsightsDailyActiveUsersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/reports/user_insights_daily_authentications_request_builder.go b/reports/user_insights_daily_authentications_request_builder.go index 8d40d8deeb1..9349fc528d5 100644 --- a/reports/user_insights_daily_authentications_request_builder.go +++ b/reports/user_insights_daily_authentications_request_builder.go @@ -11,7 +11,7 @@ import ( type UserInsightsDailyAuthenticationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// UserInsightsDailyAuthenticationsRequestBuilderGetQueryParameters get a list of daily authentications on apps registered in your tenant configured for Microsoft Entra External ID for customers. +// UserInsightsDailyAuthenticationsRequestBuilderGetQueryParameters insights for authentications on apps registered in the tenant for a specified period. type UserInsightsDailyAuthenticationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewUserInsightsDailyAuthenticationsRequestBuilder(rawUrl string, requestAda func (m *UserInsightsDailyAuthenticationsRequestBuilder) Count()(*UserInsightsDailyAuthenticationsCountRequestBuilder) { return NewUserInsightsDailyAuthenticationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of daily authentications on apps registered in your tenant configured for Microsoft Entra External ID for customers. +// Get insights for authentications on apps registered in the tenant for a specified period. // returns a AuthenticationsMetricCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/dailyuserinsightmetricsroot-list-authentications?view=graph-rest-1.0 func (m *UserInsightsDailyAuthenticationsRequestBuilder) Get(ctx context.Context, requestConfiguration *UserInsightsDailyAuthenticationsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationsMetricCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *UserInsightsDailyAuthenticationsRequestBuilder) Get(ctx context.Context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationsMetricCollectionResponseable), nil } -// ToGetRequestInformation get a list of daily authentications on apps registered in your tenant configured for Microsoft Entra External ID for customers. +// ToGetRequestInformation insights for authentications on apps registered in the tenant for a specified period. // returns a *RequestInformation when successful func (m *UserInsightsDailyAuthenticationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UserInsightsDailyAuthenticationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/reports/user_insights_daily_mfa_completions_request_builder.go b/reports/user_insights_daily_mfa_completions_request_builder.go index ccc28e69d82..25a66b879d6 100644 --- a/reports/user_insights_daily_mfa_completions_request_builder.go +++ b/reports/user_insights_daily_mfa_completions_request_builder.go @@ -11,7 +11,7 @@ import ( type UserInsightsDailyMfaCompletionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// UserInsightsDailyMfaCompletionsRequestBuilderGetQueryParameters get a list of daily MFA completions on apps registered in your tenant configured for Microsoft Entra External ID for customers. +// UserInsightsDailyMfaCompletionsRequestBuilderGetQueryParameters insights for MFA usage on apps registered in the tenant for a specified period. type UserInsightsDailyMfaCompletionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewUserInsightsDailyMfaCompletionsRequestBuilder(rawUrl string, requestAdap func (m *UserInsightsDailyMfaCompletionsRequestBuilder) Count()(*UserInsightsDailyMfaCompletionsCountRequestBuilder) { return NewUserInsightsDailyMfaCompletionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of daily MFA completions on apps registered in your tenant configured for Microsoft Entra External ID for customers. +// Get insights for MFA usage on apps registered in the tenant for a specified period. // returns a MfaCompletionMetricCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/dailyuserinsightmetricsroot-list-mfacompletions?view=graph-rest-1.0 func (m *UserInsightsDailyMfaCompletionsRequestBuilder) Get(ctx context.Context, requestConfiguration *UserInsightsDailyMfaCompletionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MfaCompletionMetricCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *UserInsightsDailyMfaCompletionsRequestBuilder) Get(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MfaCompletionMetricCollectionResponseable), nil } -// ToGetRequestInformation get a list of daily MFA completions on apps registered in your tenant configured for Microsoft Entra External ID for customers. +// ToGetRequestInformation insights for MFA usage on apps registered in the tenant for a specified period. // returns a *RequestInformation when successful func (m *UserInsightsDailyMfaCompletionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UserInsightsDailyMfaCompletionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/reports/user_insights_daily_sign_ups_request_builder.go b/reports/user_insights_daily_sign_ups_request_builder.go index 1727f11cb43..adf814ce97b 100644 --- a/reports/user_insights_daily_sign_ups_request_builder.go +++ b/reports/user_insights_daily_sign_ups_request_builder.go @@ -11,7 +11,7 @@ import ( type UserInsightsDailySignUpsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// UserInsightsDailySignUpsRequestBuilderGetQueryParameters get a list of daily user sign-ups on apps registered in your tenant configured for Microsoft Entra External ID for customers. +// UserInsightsDailySignUpsRequestBuilderGetQueryParameters total sign-ups on apps registered in the tenant for a specified period. type UserInsightsDailySignUpsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewUserInsightsDailySignUpsRequestBuilder(rawUrl string, requestAdapter i2a func (m *UserInsightsDailySignUpsRequestBuilder) Count()(*UserInsightsDailySignUpsCountRequestBuilder) { return NewUserInsightsDailySignUpsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of daily user sign-ups on apps registered in your tenant configured for Microsoft Entra External ID for customers. +// Get total sign-ups on apps registered in the tenant for a specified period. // returns a UserSignUpMetricCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/dailyuserinsightmetricsroot-list-signups?view=graph-rest-1.0 func (m *UserInsightsDailySignUpsRequestBuilder) Get(ctx context.Context, requestConfiguration *UserInsightsDailySignUpsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserSignUpMetricCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *UserInsightsDailySignUpsRequestBuilder) Get(ctx context.Context, reques } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserSignUpMetricCollectionResponseable), nil } -// ToGetRequestInformation get a list of daily user sign-ups on apps registered in your tenant configured for Microsoft Entra External ID for customers. +// ToGetRequestInformation total sign-ups on apps registered in the tenant for a specified period. // returns a *RequestInformation when successful func (m *UserInsightsDailySignUpsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UserInsightsDailySignUpsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/reports/user_insights_daily_user_count_request_builder.go b/reports/user_insights_daily_user_count_request_builder.go index 7e0baf17689..512bb9759c0 100644 --- a/reports/user_insights_daily_user_count_request_builder.go +++ b/reports/user_insights_daily_user_count_request_builder.go @@ -11,7 +11,7 @@ import ( type UserInsightsDailyUserCountRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// UserInsightsDailyUserCountRequestBuilderGetQueryParameters get a list of daily user count on apps registered in your tenant configured for Microsoft Entra External ID for customers. +// UserInsightsDailyUserCountRequestBuilderGetQueryParameters insights for total users on apps registered in the tenant for a specified period. type UserInsightsDailyUserCountRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewUserInsightsDailyUserCountRequestBuilder(rawUrl string, requestAdapter i func (m *UserInsightsDailyUserCountRequestBuilder) Count()(*UserInsightsDailyUserCountCountRequestBuilder) { return NewUserInsightsDailyUserCountCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of daily user count on apps registered in your tenant configured for Microsoft Entra External ID for customers. +// Get insights for total users on apps registered in the tenant for a specified period. // returns a UserCountMetricCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/dailyuserinsightmetricsroot-list-usercount?view=graph-rest-1.0 func (m *UserInsightsDailyUserCountRequestBuilder) Get(ctx context.Context, requestConfiguration *UserInsightsDailyUserCountRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserCountMetricCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *UserInsightsDailyUserCountRequestBuilder) Get(ctx context.Context, requ } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserCountMetricCollectionResponseable), nil } -// ToGetRequestInformation get a list of daily user count on apps registered in your tenant configured for Microsoft Entra External ID for customers. +// ToGetRequestInformation insights for total users on apps registered in the tenant for a specified period. // returns a *RequestInformation when successful func (m *UserInsightsDailyUserCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UserInsightsDailyUserCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/reports/user_insights_monthly_active_users_breakdown_request_builder.go b/reports/user_insights_monthly_active_users_breakdown_request_builder.go index 5cbe6b8f942..554d876eefa 100644 --- a/reports/user_insights_monthly_active_users_breakdown_request_builder.go +++ b/reports/user_insights_monthly_active_users_breakdown_request_builder.go @@ -11,7 +11,7 @@ import ( type UserInsightsMonthlyActiveUsersBreakdownRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// UserInsightsMonthlyActiveUsersBreakdownRequestBuilderGetQueryParameters get a list of monthly activeUsersBreakdown objects on apps registered in your tenant configured for Microsoft Entra External ID for customers. +// UserInsightsMonthlyActiveUsersBreakdownRequestBuilderGetQueryParameters get activeUsersBreakdown from reports type UserInsightsMonthlyActiveUsersBreakdownRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -70,13 +70,10 @@ func NewUserInsightsMonthlyActiveUsersBreakdownRequestBuilder(rawUrl string, req func (m *UserInsightsMonthlyActiveUsersBreakdownRequestBuilder) Count()(*UserInsightsMonthlyActiveUsersBreakdownCountRequestBuilder) { return NewUserInsightsMonthlyActiveUsersBreakdownCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of monthly activeUsersBreakdown objects on apps registered in your tenant configured for Microsoft Entra External ID for customers. +// Get get activeUsersBreakdown from reports // Deprecated: The Active Users Breakdown Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Active Users API. as of 2024-02/Remove_Breakdown_APIs // returns a ActiveUsersBreakdownMetricCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/monthlyuserinsightmetricsroot-list-activeusersbreakdown?view=graph-rest-1.0 func (m *UserInsightsMonthlyActiveUsersBreakdownRequestBuilder) Get(ctx context.Context, requestConfiguration *UserInsightsMonthlyActiveUsersBreakdownRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActiveUsersBreakdownMetricCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -94,7 +91,7 @@ func (m *UserInsightsMonthlyActiveUsersBreakdownRequestBuilder) Get(ctx context. } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActiveUsersBreakdownMetricCollectionResponseable), nil } -// ToGetRequestInformation get a list of monthly activeUsersBreakdown objects on apps registered in your tenant configured for Microsoft Entra External ID for customers. +// ToGetRequestInformation get activeUsersBreakdown from reports // Deprecated: The Active Users Breakdown Metric is deprecated and will stop returning data on February 16, 2024. Please use the existing Active Users API. as of 2024-02/Remove_Breakdown_APIs // returns a *RequestInformation when successful func (m *UserInsightsMonthlyActiveUsersBreakdownRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UserInsightsMonthlyActiveUsersBreakdownRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/reports/user_insights_monthly_active_users_request_builder.go b/reports/user_insights_monthly_active_users_request_builder.go index 915e1414c4b..d62a511c23d 100644 --- a/reports/user_insights_monthly_active_users_request_builder.go +++ b/reports/user_insights_monthly_active_users_request_builder.go @@ -11,7 +11,7 @@ import ( type UserInsightsMonthlyActiveUsersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// UserInsightsMonthlyActiveUsersRequestBuilderGetQueryParameters get a list of monthly active users on apps registered in your tenant configured for Microsoft Entra External ID for customers. +// UserInsightsMonthlyActiveUsersRequestBuilderGetQueryParameters insights for active users on apps registered in the tenant for a specified period. type UserInsightsMonthlyActiveUsersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewUserInsightsMonthlyActiveUsersRequestBuilder(rawUrl string, requestAdapt func (m *UserInsightsMonthlyActiveUsersRequestBuilder) Count()(*UserInsightsMonthlyActiveUsersCountRequestBuilder) { return NewUserInsightsMonthlyActiveUsersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of monthly active users on apps registered in your tenant configured for Microsoft Entra External ID for customers. +// Get insights for active users on apps registered in the tenant for a specified period. // returns a ActiveUsersMetricCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/monthlyuserinsightmetricsroot-list-activeusers?view=graph-rest-1.0 func (m *UserInsightsMonthlyActiveUsersRequestBuilder) Get(ctx context.Context, requestConfiguration *UserInsightsMonthlyActiveUsersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActiveUsersMetricCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *UserInsightsMonthlyActiveUsersRequestBuilder) Get(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActiveUsersMetricCollectionResponseable), nil } -// ToGetRequestInformation get a list of monthly active users on apps registered in your tenant configured for Microsoft Entra External ID for customers. +// ToGetRequestInformation insights for active users on apps registered in the tenant for a specified period. // returns a *RequestInformation when successful func (m *UserInsightsMonthlyActiveUsersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UserInsightsMonthlyActiveUsersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/reports/user_insights_monthly_authentications_request_builder.go b/reports/user_insights_monthly_authentications_request_builder.go index a38fb104ed1..fa5fcc3d3d8 100644 --- a/reports/user_insights_monthly_authentications_request_builder.go +++ b/reports/user_insights_monthly_authentications_request_builder.go @@ -11,7 +11,7 @@ import ( type UserInsightsMonthlyAuthenticationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// UserInsightsMonthlyAuthenticationsRequestBuilderGetQueryParameters get a list of monthly authentications on apps registered in your tenant configured for Microsoft Entra External ID for customers. +// UserInsightsMonthlyAuthenticationsRequestBuilderGetQueryParameters insights for authentications on apps registered in the tenant for a specified period. type UserInsightsMonthlyAuthenticationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewUserInsightsMonthlyAuthenticationsRequestBuilder(rawUrl string, requestA func (m *UserInsightsMonthlyAuthenticationsRequestBuilder) Count()(*UserInsightsMonthlyAuthenticationsCountRequestBuilder) { return NewUserInsightsMonthlyAuthenticationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of monthly authentications on apps registered in your tenant configured for Microsoft Entra External ID for customers. +// Get insights for authentications on apps registered in the tenant for a specified period. // returns a AuthenticationsMetricCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/monthlyuserinsightmetricsroot-list-authentications?view=graph-rest-1.0 func (m *UserInsightsMonthlyAuthenticationsRequestBuilder) Get(ctx context.Context, requestConfiguration *UserInsightsMonthlyAuthenticationsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationsMetricCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *UserInsightsMonthlyAuthenticationsRequestBuilder) Get(ctx context.Conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationsMetricCollectionResponseable), nil } -// ToGetRequestInformation get a list of monthly authentications on apps registered in your tenant configured for Microsoft Entra External ID for customers. +// ToGetRequestInformation insights for authentications on apps registered in the tenant for a specified period. // returns a *RequestInformation when successful func (m *UserInsightsMonthlyAuthenticationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UserInsightsMonthlyAuthenticationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/reports/user_insights_monthly_mfa_completions_request_builder.go b/reports/user_insights_monthly_mfa_completions_request_builder.go index 75539f12d74..59687f8688c 100644 --- a/reports/user_insights_monthly_mfa_completions_request_builder.go +++ b/reports/user_insights_monthly_mfa_completions_request_builder.go @@ -11,7 +11,7 @@ import ( type UserInsightsMonthlyMfaCompletionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// UserInsightsMonthlyMfaCompletionsRequestBuilderGetQueryParameters get a list of monthly MFA completions on apps registered in your tenant configured for Microsoft Entra External ID for customers. +// UserInsightsMonthlyMfaCompletionsRequestBuilderGetQueryParameters insights for MFA usage on apps registered in the tenant for a specified period. type UserInsightsMonthlyMfaCompletionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewUserInsightsMonthlyMfaCompletionsRequestBuilder(rawUrl string, requestAd func (m *UserInsightsMonthlyMfaCompletionsRequestBuilder) Count()(*UserInsightsMonthlyMfaCompletionsCountRequestBuilder) { return NewUserInsightsMonthlyMfaCompletionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of monthly MFA completions on apps registered in your tenant configured for Microsoft Entra External ID for customers. +// Get insights for MFA usage on apps registered in the tenant for a specified period. // returns a MfaCompletionMetricCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/monthlyuserinsightmetricsroot-list-mfacompletions?view=graph-rest-1.0 func (m *UserInsightsMonthlyMfaCompletionsRequestBuilder) Get(ctx context.Context, requestConfiguration *UserInsightsMonthlyMfaCompletionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MfaCompletionMetricCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *UserInsightsMonthlyMfaCompletionsRequestBuilder) Get(ctx context.Contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MfaCompletionMetricCollectionResponseable), nil } -// ToGetRequestInformation get a list of monthly MFA completions on apps registered in your tenant configured for Microsoft Entra External ID for customers. +// ToGetRequestInformation insights for MFA usage on apps registered in the tenant for a specified period. // returns a *RequestInformation when successful func (m *UserInsightsMonthlyMfaCompletionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UserInsightsMonthlyMfaCompletionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/reports/user_insights_monthly_requests_request_builder.go b/reports/user_insights_monthly_requests_request_builder.go index bce9fa52868..74b4fb8d407 100644 --- a/reports/user_insights_monthly_requests_request_builder.go +++ b/reports/user_insights_monthly_requests_request_builder.go @@ -11,7 +11,7 @@ import ( type UserInsightsMonthlyRequestsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// UserInsightsMonthlyRequestsRequestBuilderGetQueryParameters get a list of monthly user requests on apps registered in your tenant configured for Microsoft Entra External ID for customers. +// UserInsightsMonthlyRequestsRequestBuilderGetQueryParameters insights for all user requests on apps registered in the tenant for a specified period. type UserInsightsMonthlyRequestsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewUserInsightsMonthlyRequestsRequestBuilder(rawUrl string, requestAdapter func (m *UserInsightsMonthlyRequestsRequestBuilder) Count()(*UserInsightsMonthlyRequestsCountRequestBuilder) { return NewUserInsightsMonthlyRequestsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of monthly user requests on apps registered in your tenant configured for Microsoft Entra External ID for customers. +// Get insights for all user requests on apps registered in the tenant for a specified period. // returns a UserRequestsMetricCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/monthlyuserinsightmetricsroot-list-requests?view=graph-rest-1.0 func (m *UserInsightsMonthlyRequestsRequestBuilder) Get(ctx context.Context, requestConfiguration *UserInsightsMonthlyRequestsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserRequestsMetricCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *UserInsightsMonthlyRequestsRequestBuilder) Get(ctx context.Context, req } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserRequestsMetricCollectionResponseable), nil } -// ToGetRequestInformation get a list of monthly user requests on apps registered in your tenant configured for Microsoft Entra External ID for customers. +// ToGetRequestInformation insights for all user requests on apps registered in the tenant for a specified period. // returns a *RequestInformation when successful func (m *UserInsightsMonthlyRequestsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UserInsightsMonthlyRequestsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/reports/user_insights_monthly_sign_ups_request_builder.go b/reports/user_insights_monthly_sign_ups_request_builder.go index e3f6e030114..30c1465137f 100644 --- a/reports/user_insights_monthly_sign_ups_request_builder.go +++ b/reports/user_insights_monthly_sign_ups_request_builder.go @@ -11,7 +11,7 @@ import ( type UserInsightsMonthlySignUpsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// UserInsightsMonthlySignUpsRequestBuilderGetQueryParameters get a list of monthly user sign-ups on apps registered in your tenant configured for Microsoft Entra External ID for customers. +// UserInsightsMonthlySignUpsRequestBuilderGetQueryParameters total sign-ups on apps registered in the tenant for a specified period. type UserInsightsMonthlySignUpsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewUserInsightsMonthlySignUpsRequestBuilder(rawUrl string, requestAdapter i func (m *UserInsightsMonthlySignUpsRequestBuilder) Count()(*UserInsightsMonthlySignUpsCountRequestBuilder) { return NewUserInsightsMonthlySignUpsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of monthly user sign-ups on apps registered in your tenant configured for Microsoft Entra External ID for customers. +// Get total sign-ups on apps registered in the tenant for a specified period. // returns a UserSignUpMetricCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/monthlyuserinsightmetricsroot-list-signups?view=graph-rest-1.0 func (m *UserInsightsMonthlySignUpsRequestBuilder) Get(ctx context.Context, requestConfiguration *UserInsightsMonthlySignUpsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserSignUpMetricCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *UserInsightsMonthlySignUpsRequestBuilder) Get(ctx context.Context, requ } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserSignUpMetricCollectionResponseable), nil } -// ToGetRequestInformation get a list of monthly user sign-ups on apps registered in your tenant configured for Microsoft Entra External ID for customers. +// ToGetRequestInformation total sign-ups on apps registered in the tenant for a specified period. // returns a *RequestInformation when successful func (m *UserInsightsMonthlySignUpsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UserInsightsMonthlySignUpsRequestBuilderGetRequestConfiguration)(*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 9b3c98abb3a..b2fbb04b6b1 100644 --- a/riskdetections/risk_detections_request_builder.go +++ b/riskdetections/risk_detections_request_builder.go @@ -72,7 +72,7 @@ func NewRiskDetectionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7dae // returns a ODataError error 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-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/riskdetection-get?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 { diff --git a/riskyusers/confirm_compromised_request_builder.go b/riskyusers/confirm_compromised_request_builder.go index abfc7b4d5af..ca4f112c930 100644 --- a/riskyusers/confirm_compromised_request_builder.go +++ b/riskyusers/confirm_compromised_request_builder.go @@ -34,7 +34,7 @@ func NewConfirmCompromisedRequestBuilder(rawUrl string, requestAdapter i2ae4187f // returns a ODataError error 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-confirmcompromised?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/riskyusers-confirmcompromised?view=graph-rest-beta func (m *ConfirmCompromisedRequestBuilder) Post(ctx context.Context, body ConfirmCompromisedPostRequestBodyable, requestConfiguration *ConfirmCompromisedRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/riskyusers/dismiss_request_builder.go b/riskyusers/dismiss_request_builder.go index bcdb55050cc..5ed2f53aa05 100644 --- a/riskyusers/dismiss_request_builder.go +++ b/riskyusers/dismiss_request_builder.go @@ -34,7 +34,7 @@ func NewDismissRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371 // returns a ODataError error 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-dismiss?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/riskyusers-dismiss?view=graph-rest-beta func (m *DismissRequestBuilder) Post(ctx context.Context, body DismissPostRequestBodyable, requestConfiguration *DismissRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/riskyusers/item_history_request_builder.go b/riskyusers/item_history_request_builder.go index 829275034b4..83d48ed834a 100644 --- a/riskyusers/item_history_request_builder.go +++ b/riskyusers/item_history_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemHistoryRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemHistoryRequestBuilderGetQueryParameters get the risk history of a riskyUser resource. +// ItemHistoryRequestBuilderGetQueryParameters get history from riskyUsers type ItemHistoryRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemHistoryRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 func (m *ItemHistoryRequestBuilder) Count()(*ItemHistoryCountRequestBuilder) { return NewItemHistoryCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the risk history of a riskyUser resource. +// Get get history from riskyUsers // returns a RiskyUserHistoryItemCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/riskyuser-list-history?view=graph-rest-1.0 func (m *ItemHistoryRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemHistoryRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RiskyUserHistoryItemCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemHistoryRequestBuilder) Post(ctx context.Context, body ie233ee762e29 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RiskyUserHistoryItemable), nil } -// ToGetRequestInformation get the risk history of a riskyUser resource. +// ToGetRequestInformation get history from riskyUsers // returns a *RequestInformation when successful func (m *ItemHistoryRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemHistoryRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/riskyusers/item_history_risky_user_history_item_item_request_builder.go b/riskyusers/item_history_risky_user_history_item_item_request_builder.go index 8740590cea1..a6a029bb492 100644 --- a/riskyusers/item_history_risky_user_history_item_item_request_builder.go +++ b/riskyusers/item_history_risky_user_history_item_item_request_builder.go @@ -18,7 +18,7 @@ type ItemHistoryRiskyUserHistoryItemItemRequestBuilderDeleteRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemHistoryRiskyUserHistoryItemItemRequestBuilderGetQueryParameters get a riskyUserHistoryItem object of a riskyUser. +// ItemHistoryRiskyUserHistoryItemItemRequestBuilderGetQueryParameters get history from riskyUsers type ItemHistoryRiskyUserHistoryItemItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemHistoryRiskyUserHistoryItemItemRequestBuilder) Delete(ctx context.C } return nil } -// Get get a riskyUserHistoryItem object of a riskyUser. +// Get get history from riskyUsers // returns a RiskyUserHistoryItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/riskyuserhistoryitem-get?view=graph-rest-1.0 func (m *ItemHistoryRiskyUserHistoryItemItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemHistoryRiskyUserHistoryItemItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RiskyUserHistoryItemable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemHistoryRiskyUserHistoryItemItemRequestBuilder) ToDeleteRequestInfor requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a riskyUserHistoryItem object of a riskyUser. +// ToGetRequestInformation get history from riskyUsers // returns a *RequestInformation when successful func (m *ItemHistoryRiskyUserHistoryItemItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemHistoryRiskyUserHistoryItemItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/riskyusers/risky_user_item_request_builder.go b/riskyusers/risky_user_item_request_builder.go index 7cfce872e37..71623ae74de 100644 --- a/riskyusers/risky_user_item_request_builder.go +++ b/riskyusers/risky_user_item_request_builder.go @@ -75,7 +75,7 @@ func (m *RiskyUserItemRequestBuilder) Delete(ctx context.Context, requestConfigu // returns a ODataError error 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-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/riskyusers-get?view=graph-rest-beta func (m *RiskyUserItemRequestBuilder) Get(ctx context.Context, requestConfiguration *RiskyUserItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RiskyUserable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/riskyusers/risky_users_request_builder.go b/riskyusers/risky_users_request_builder.go index c2840520211..e6bab6890c9 100644 --- a/riskyusers/risky_users_request_builder.go +++ b/riskyusers/risky_users_request_builder.go @@ -91,7 +91,7 @@ func (m *RiskyUsersRequestBuilder) Dismiss()(*DismissRequestBuilder) { // returns a ODataError error 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-list?view=graph-rest-1.0 +// [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 { diff --git a/rolemanagement/cloud_p_c_resource_namespaces_item_resource_actions_request_builder.go b/rolemanagement/cloud_p_c_resource_namespaces_item_resource_actions_request_builder.go index d1ef1b06722..76eb79fda04 100644 --- a/rolemanagement/cloud_p_c_resource_namespaces_item_resource_actions_request_builder.go +++ b/rolemanagement/cloud_p_c_resource_namespaces_item_resource_actions_request_builder.go @@ -11,7 +11,7 @@ import ( type CloudPCResourceNamespacesItemResourceActionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// CloudPCResourceNamespacesItemResourceActionsRequestBuilderGetQueryParameters get a list of the unifiedRbacResourceAction objects and their properties. +// CloudPCResourceNamespacesItemResourceActionsRequestBuilderGetQueryParameters operations that an authorized principal is allowed to perform. type CloudPCResourceNamespacesItemResourceActionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewCloudPCResourceNamespacesItemResourceActionsRequestBuilder(rawUrl string func (m *CloudPCResourceNamespacesItemResourceActionsRequestBuilder) Count()(*CloudPCResourceNamespacesItemResourceActionsCountRequestBuilder) { return NewCloudPCResourceNamespacesItemResourceActionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the unifiedRbacResourceAction objects and their properties. +// Get operations that an authorized principal is allowed to perform. // returns a UnifiedRbacResourceActionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedrbacresourcenamespace-list-resourceactions?view=graph-rest-1.0 func (m *CloudPCResourceNamespacesItemResourceActionsRequestBuilder) Get(ctx context.Context, requestConfiguration *CloudPCResourceNamespacesItemResourceActionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRbacResourceActionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *CloudPCResourceNamespacesItemResourceActionsRequestBuilder) Post(ctx co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRbacResourceActionable), nil } -// ToGetRequestInformation get a list of the unifiedRbacResourceAction objects and their properties. +// ToGetRequestInformation operations that an authorized principal is allowed to perform. // returns a *RequestInformation when successful func (m *CloudPCResourceNamespacesItemResourceActionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CloudPCResourceNamespacesItemResourceActionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/cloud_p_c_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go b/rolemanagement/cloud_p_c_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go index ebdd2ebcf44..0bfce737db0 100644 --- a/rolemanagement/cloud_p_c_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go +++ b/rolemanagement/cloud_p_c_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go @@ -18,7 +18,7 @@ type CloudPCResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// CloudPCResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilderGetQueryParameters read the properties and relationships of an unifiedRbacResourceAction object. +// CloudPCResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilderGetQueryParameters operations that an authorized principal is allowed to perform. type CloudPCResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *CloudPCResourceNamespacesItemResourceActionsUnifiedRbacResourceActionIt } return nil } -// Get read the properties and relationships of an unifiedRbacResourceAction object. +// Get operations that an authorized principal is allowed to perform. // returns a UnifiedRbacResourceActionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedrbacresourceaction-get?view=graph-rest-1.0 func (m *CloudPCResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *CloudPCResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRbacResourceActionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -134,7 +131,7 @@ func (m *CloudPCResourceNamespacesItemResourceActionsUnifiedRbacResourceActionIt requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an unifiedRbacResourceAction object. +// ToGetRequestInformation operations that an authorized principal is allowed to perform. // returns a *RequestInformation when successful func (m *CloudPCResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CloudPCResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/cloud_p_c_role_assignments_request_builder.go b/rolemanagement/cloud_p_c_role_assignments_request_builder.go index 02a8be1a313..ee3c96877c0 100644 --- a/rolemanagement/cloud_p_c_role_assignments_request_builder.go +++ b/rolemanagement/cloud_p_c_role_assignments_request_builder.go @@ -11,7 +11,7 @@ import ( type CloudPCRoleAssignmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// CloudPCRoleAssignmentsRequestBuilderGetQueryParameters get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. +// CloudPCRoleAssignmentsRequestBuilderGetQueryParameters get roleAssignments from roleManagement type CloudPCRoleAssignmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewCloudPCRoleAssignmentsRequestBuilder(rawUrl string, requestAdapter i2ae4 func (m *CloudPCRoleAssignmentsRequestBuilder) Count()(*CloudPCRoleAssignmentsCountRequestBuilder) { return NewCloudPCRoleAssignmentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. +// Get get roleAssignments from roleManagement // returns a UnifiedRoleAssignmentMultipleCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleassignmentmultiple-get?view=graph-rest-1.0 func (m *CloudPCRoleAssignmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *CloudPCRoleAssignmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentMultipleCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *CloudPCRoleAssignmentsRequestBuilder) Get(ctx context.Context, requestC } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentMultipleCollectionResponseable), nil } -// Post create a new unifiedRoleAssignmentMultiple object for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. +// Post create new navigation property to roleAssignments for roleManagement // returns a UnifiedRoleAssignmentMultipleable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplicationmultiple-post-roleassignments?view=graph-rest-1.0 func (m *CloudPCRoleAssignmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentMultipleable, requestConfiguration *CloudPCRoleAssignmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentMultipleable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *CloudPCRoleAssignmentsRequestBuilder) Post(ctx context.Context, body ie } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentMultipleable), nil } -// ToGetRequestInformation get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. +// ToGetRequestInformation get roleAssignments from roleManagement // returns a *RequestInformation when successful func (m *CloudPCRoleAssignmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CloudPCRoleAssignmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *CloudPCRoleAssignmentsRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new unifiedRoleAssignmentMultiple object for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. +// ToPostRequestInformation create new navigation property to roleAssignments for roleManagement // returns a *RequestInformation when successful func (m *CloudPCRoleAssignmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentMultipleable, requestConfiguration *CloudPCRoleAssignmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/cloud_p_c_role_assignments_unified_role_assignment_multiple_item_request_builder.go b/rolemanagement/cloud_p_c_role_assignments_unified_role_assignment_multiple_item_request_builder.go index 47f8141a678..994b14b3c7a 100644 --- a/rolemanagement/cloud_p_c_role_assignments_unified_role_assignment_multiple_item_request_builder.go +++ b/rolemanagement/cloud_p_c_role_assignments_unified_role_assignment_multiple_item_request_builder.go @@ -18,7 +18,7 @@ type CloudPCRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequestBuilderDelete // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// CloudPCRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequestBuilderGetQueryParameters get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. +// CloudPCRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequestBuilderGetQueryParameters get roleAssignments from roleManagement type CloudPCRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewCloudPCRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequestBuilder(ra urlParams["request-raw-url"] = rawUrl return NewCloudPCRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a unifiedRoleAssignmentMultiple object of an RBAC provider. This is applicable for a RBAC application that supports multiple principals and scopes. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) +// Delete delete navigation property roleAssignments for roleManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleassignmentmultiple-delete?view=graph-rest-1.0 func (m *CloudPCRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *CloudPCRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -83,12 +80,9 @@ func (m *CloudPCRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequestBuilder) func (m *CloudPCRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequestBuilder) DirectoryScopes()(*CloudPCRoleAssignmentsItemDirectoryScopesRequestBuilder) { return NewCloudPCRoleAssignmentsItemDirectoryScopesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. +// Get get roleAssignments from roleManagement // returns a UnifiedRoleAssignmentMultipleable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleassignmentmultiple-get?view=graph-rest-1.0 func (m *CloudPCRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequestBuilder) Get(ctx context.Context, requestConfiguration *CloudPCRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentMultipleable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -106,12 +100,9 @@ func (m *CloudPCRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentMultipleable), nil } -// Patch update an existing unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) In contrast, unifiedRoleAssignment does not support update. +// Patch update the navigation property roleAssignments in roleManagement // returns a UnifiedRoleAssignmentMultipleable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleassignmentmultiple-update?view=graph-rest-1.0 func (m *CloudPCRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentMultipleable, requestConfiguration *CloudPCRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentMultipleable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -139,7 +130,7 @@ func (m *CloudPCRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequestBuilder) func (m *CloudPCRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequestBuilder) RoleDefinition()(*CloudPCRoleAssignmentsItemRoleDefinitionRequestBuilder) { return NewCloudPCRoleAssignmentsItemRoleDefinitionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a unifiedRoleAssignmentMultiple object of an RBAC provider. This is applicable for a RBAC application that supports multiple principals and scopes. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) +// ToDeleteRequestInformation delete navigation property roleAssignments for roleManagement // returns a *RequestInformation when successful func (m *CloudPCRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *CloudPCRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -150,7 +141,7 @@ func (m *CloudPCRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. +// ToGetRequestInformation get roleAssignments from roleManagement // returns a *RequestInformation when successful func (m *CloudPCRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CloudPCRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -164,7 +155,7 @@ func (m *CloudPCRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update an existing unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) In contrast, unifiedRoleAssignment does not support update. +// ToPatchRequestInformation update the navigation property roleAssignments in roleManagement // returns a *RequestInformation when successful func (m *CloudPCRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentMultipleable, requestConfiguration *CloudPCRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/cloud_p_c_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go b/rolemanagement/cloud_p_c_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go index 68acabaf8b2..ba9ba9d5463 100644 --- a/rolemanagement/cloud_p_c_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go +++ b/rolemanagement/cloud_p_c_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go @@ -10,7 +10,7 @@ import ( type CloudPCRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// CloudPCRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters invoke function assignedPrincipals +// CloudPCRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. type CloudPCRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -57,10 +57,13 @@ func NewCloudPCRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScope urlParams["request-raw-url"] = rawUrl return NewCloudPCRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function assignedPrincipals +// Get get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. // Deprecated: This method is obsolete. Use GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse instead. // returns a CloudPCRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroledefinition-assignedprincipals?view=graph-rest-beta func (m *CloudPCRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder) Get(ctx context.Context, requestConfiguration *CloudPCRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration)(CloudPCRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,9 +81,12 @@ func (m *CloudPCRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScop } return res.(CloudPCRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponseable), nil } -// GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse invoke function assignedPrincipals +// GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. // returns a CloudPCRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroledefinition-assignedprincipals?view=graph-rest-beta func (m *CloudPCRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder) GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse(ctx context.Context, requestConfiguration *CloudPCRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration)(CloudPCRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,7 +104,7 @@ func (m *CloudPCRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScop } return res.(CloudPCRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponseable), nil } -// ToGetRequestInformation invoke function assignedPrincipals +// ToGetRequestInformation get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. // returns a *RequestInformation when successful func (m *CloudPCRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CloudPCRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/cloud_p_c_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go b/rolemanagement/cloud_p_c_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go index 3281c72eeb8..f83680d3bc8 100644 --- a/rolemanagement/cloud_p_c_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go +++ b/rolemanagement/cloud_p_c_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go @@ -10,7 +10,7 @@ import ( type CloudPCRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// CloudPCRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters invoke function assignedPrincipals +// CloudPCRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. type CloudPCRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -57,10 +57,13 @@ func NewCloudPCRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsW urlParams["request-raw-url"] = rawUrl return NewCloudPCRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function assignedPrincipals +// Get get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. // Deprecated: This method is obsolete. Use GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse instead. // returns a CloudPCRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroledefinition-assignedprincipals?view=graph-rest-beta func (m *CloudPCRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder) Get(ctx context.Context, requestConfiguration *CloudPCRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration)(CloudPCRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,9 +81,12 @@ func (m *CloudPCRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipals } return res.(CloudPCRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponseable), nil } -// GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse invoke function assignedPrincipals +// GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. // returns a CloudPCRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroledefinition-assignedprincipals?view=graph-rest-beta func (m *CloudPCRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder) GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse(ctx context.Context, requestConfiguration *CloudPCRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration)(CloudPCRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,7 +104,7 @@ func (m *CloudPCRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipals } return res.(CloudPCRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponseable), nil } -// ToGetRequestInformation invoke function assignedPrincipals +// ToGetRequestInformation get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. // returns a *RequestInformation when successful func (m *CloudPCRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CloudPCRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/cloud_p_c_role_definitions_request_builder.go b/rolemanagement/cloud_p_c_role_definitions_request_builder.go index 08d0e71fdae..e0217da9c4d 100644 --- a/rolemanagement/cloud_p_c_role_definitions_request_builder.go +++ b/rolemanagement/cloud_p_c_role_definitions_request_builder.go @@ -11,7 +11,7 @@ import ( type CloudPCRoleDefinitionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// CloudPCRoleDefinitionsRequestBuilderGetQueryParameters get a list of unifiedRoleDefinition objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra ID) - entitlement management (Microsoft Entra ID)- Exchange Online +// CloudPCRoleDefinitionsRequestBuilderGetQueryParameters get roleDefinitions from roleManagement type CloudPCRoleDefinitionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewCloudPCRoleDefinitionsRequestBuilder(rawUrl string, requestAdapter i2ae4 func (m *CloudPCRoleDefinitionsRequestBuilder) Count()(*CloudPCRoleDefinitionsCountRequestBuilder) { return NewCloudPCRoleDefinitionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of unifiedRoleDefinition objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra ID) - entitlement management (Microsoft Entra ID)- Exchange Online +// Get get roleDefinitions from roleManagement // returns a UnifiedRoleDefinitionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplication-list-roledefinitions?view=graph-rest-1.0 func (m *CloudPCRoleDefinitionsRequestBuilder) Get(ctx context.Context, requestConfiguration *CloudPCRoleDefinitionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleDefinitionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *CloudPCRoleDefinitionsRequestBuilder) Get(ctx context.Context, requestC } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleDefinitionCollectionResponseable), nil } -// Post create a new unifiedRoleDefinition object for an RBAC provider. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) +// Post create new navigation property to roleDefinitions for roleManagement // returns a UnifiedRoleDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplication-post-roledefinitions?view=graph-rest-1.0 func (m *CloudPCRoleDefinitionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleDefinitionable, requestConfiguration *CloudPCRoleDefinitionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleDefinitionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *CloudPCRoleDefinitionsRequestBuilder) Post(ctx context.Context, body ie } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleDefinitionable), nil } -// ToGetRequestInformation get a list of unifiedRoleDefinition objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra ID) - entitlement management (Microsoft Entra ID)- Exchange Online +// ToGetRequestInformation get roleDefinitions from roleManagement // returns a *RequestInformation when successful func (m *CloudPCRoleDefinitionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CloudPCRoleDefinitionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *CloudPCRoleDefinitionsRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new unifiedRoleDefinition object for an RBAC provider. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) +// ToPostRequestInformation create new navigation property to roleDefinitions for roleManagement // returns a *RequestInformation when successful func (m *CloudPCRoleDefinitionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleDefinitionable, requestConfiguration *CloudPCRoleDefinitionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/cloud_p_c_role_definitions_unified_role_definition_item_request_builder.go b/rolemanagement/cloud_p_c_role_definitions_unified_role_definition_item_request_builder.go index 220606f9e5f..729bd9fa528 100644 --- a/rolemanagement/cloud_p_c_role_definitions_unified_role_definition_item_request_builder.go +++ b/rolemanagement/cloud_p_c_role_definitions_unified_role_definition_item_request_builder.go @@ -18,7 +18,7 @@ type CloudPCRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilderDeleteRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// CloudPCRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilderGetQueryParameters get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online +// CloudPCRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilderGetQueryParameters get roleDefinitions from roleManagement type CloudPCRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewCloudPCRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder(rawUrl str urlParams["request-raw-url"] = rawUrl return NewCloudPCRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a unifiedRoleDefinition object for an RBAC provider. You cannot delete built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) +// Delete delete navigation property roleDefinitions for roleManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroledefinition-delete?view=graph-rest-1.0 func (m *CloudPCRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *CloudPCRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *CloudPCRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) Delete(c } return nil } -// Get get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online +// Get get roleDefinitions from roleManagement // returns a UnifiedRoleDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroledefinition-get?view=graph-rest-1.0 func (m *CloudPCRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *CloudPCRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleDefinitionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -106,12 +100,9 @@ func (m *CloudPCRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) Get(ctx func (m *CloudPCRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) InheritsPermissionsFrom()(*CloudPCRoleDefinitionsItemInheritsPermissionsFromRequestBuilder) { return NewCloudPCRoleDefinitionsItemInheritsPermissionsFromRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of a unifiedRoleDefinition object for an RBAC provider. You cannot update built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) +// Patch update the navigation property roleDefinitions in roleManagement // returns a UnifiedRoleDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroledefinition-update?view=graph-rest-1.0 func (m *CloudPCRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleDefinitionable, requestConfiguration *CloudPCRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleDefinitionable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -129,7 +120,7 @@ func (m *CloudPCRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) Patch(ct } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleDefinitionable), nil } -// ToDeleteRequestInformation delete a unifiedRoleDefinition object for an RBAC provider. You cannot delete built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) +// ToDeleteRequestInformation delete navigation property roleDefinitions for roleManagement // returns a *RequestInformation when successful func (m *CloudPCRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *CloudPCRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -140,7 +131,7 @@ func (m *CloudPCRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) ToDelete requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online +// ToGetRequestInformation get roleDefinitions from roleManagement // returns a *RequestInformation when successful func (m *CloudPCRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CloudPCRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -154,7 +145,7 @@ func (m *CloudPCRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) ToGetReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a unifiedRoleDefinition object for an RBAC provider. You cannot update built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) +// ToPatchRequestInformation update the navigation property roleDefinitions in roleManagement // returns a *RequestInformation when successful func (m *CloudPCRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleDefinitionable, requestConfiguration *CloudPCRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/device_management_resource_namespaces_item_resource_actions_request_builder.go b/rolemanagement/device_management_resource_namespaces_item_resource_actions_request_builder.go index 2c1e1550284..448c6792beb 100644 --- a/rolemanagement/device_management_resource_namespaces_item_resource_actions_request_builder.go +++ b/rolemanagement/device_management_resource_namespaces_item_resource_actions_request_builder.go @@ -11,7 +11,7 @@ import ( type DeviceManagementResourceNamespacesItemResourceActionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeviceManagementResourceNamespacesItemResourceActionsRequestBuilderGetQueryParameters get a list of the unifiedRbacResourceAction objects and their properties. +// DeviceManagementResourceNamespacesItemResourceActionsRequestBuilderGetQueryParameters operations that an authorized principal is allowed to perform. type DeviceManagementResourceNamespacesItemResourceActionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewDeviceManagementResourceNamespacesItemResourceActionsRequestBuilder(rawU func (m *DeviceManagementResourceNamespacesItemResourceActionsRequestBuilder) Count()(*DeviceManagementResourceNamespacesItemResourceActionsCountRequestBuilder) { return NewDeviceManagementResourceNamespacesItemResourceActionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the unifiedRbacResourceAction objects and their properties. +// Get operations that an authorized principal is allowed to perform. // returns a UnifiedRbacResourceActionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedrbacresourcenamespace-list-resourceactions?view=graph-rest-1.0 func (m *DeviceManagementResourceNamespacesItemResourceActionsRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceManagementResourceNamespacesItemResourceActionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRbacResourceActionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *DeviceManagementResourceNamespacesItemResourceActionsRequestBuilder) Po } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRbacResourceActionable), nil } -// ToGetRequestInformation get a list of the unifiedRbacResourceAction objects and their properties. +// ToGetRequestInformation operations that an authorized principal is allowed to perform. // returns a *RequestInformation when successful func (m *DeviceManagementResourceNamespacesItemResourceActionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceManagementResourceNamespacesItemResourceActionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/device_management_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go b/rolemanagement/device_management_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go index ef687958d4f..b87dd3bd403 100644 --- a/rolemanagement/device_management_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go +++ b/rolemanagement/device_management_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go @@ -18,7 +18,7 @@ type DeviceManagementResourceNamespacesItemResourceActionsUnifiedRbacResourceAct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DeviceManagementResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilderGetQueryParameters read the properties and relationships of an unifiedRbacResourceAction object. +// DeviceManagementResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilderGetQueryParameters operations that an authorized principal is allowed to perform. type DeviceManagementResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *DeviceManagementResourceNamespacesItemResourceActionsUnifiedRbacResourc } return nil } -// Get read the properties and relationships of an unifiedRbacResourceAction object. +// Get operations that an authorized principal is allowed to perform. // returns a UnifiedRbacResourceActionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedrbacresourceaction-get?view=graph-rest-1.0 func (m *DeviceManagementResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceManagementResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRbacResourceActionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -134,7 +131,7 @@ func (m *DeviceManagementResourceNamespacesItemResourceActionsUnifiedRbacResourc requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an unifiedRbacResourceAction object. +// ToGetRequestInformation operations that an authorized principal is allowed to perform. // returns a *RequestInformation when successful func (m *DeviceManagementResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceManagementResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/device_management_role_assignments_request_builder.go b/rolemanagement/device_management_role_assignments_request_builder.go index 91c42fc1a71..78d449415aa 100644 --- a/rolemanagement/device_management_role_assignments_request_builder.go +++ b/rolemanagement/device_management_role_assignments_request_builder.go @@ -11,7 +11,7 @@ import ( type DeviceManagementRoleAssignmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeviceManagementRoleAssignmentsRequestBuilderGetQueryParameters get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. +// DeviceManagementRoleAssignmentsRequestBuilderGetQueryParameters get roleAssignments from roleManagement type DeviceManagementRoleAssignmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewDeviceManagementRoleAssignmentsRequestBuilder(rawUrl string, requestAdap func (m *DeviceManagementRoleAssignmentsRequestBuilder) Count()(*DeviceManagementRoleAssignmentsCountRequestBuilder) { return NewDeviceManagementRoleAssignmentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. +// Get get roleAssignments from roleManagement // returns a UnifiedRoleAssignmentMultipleCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleassignmentmultiple-get?view=graph-rest-1.0 func (m *DeviceManagementRoleAssignmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceManagementRoleAssignmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentMultipleCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *DeviceManagementRoleAssignmentsRequestBuilder) Get(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentMultipleCollectionResponseable), nil } -// Post create a new unifiedRoleAssignmentMultiple object for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. +// Post create new navigation property to roleAssignments for roleManagement // returns a UnifiedRoleAssignmentMultipleable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplicationmultiple-post-roleassignments?view=graph-rest-1.0 func (m *DeviceManagementRoleAssignmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentMultipleable, requestConfiguration *DeviceManagementRoleAssignmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentMultipleable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *DeviceManagementRoleAssignmentsRequestBuilder) Post(ctx context.Context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentMultipleable), nil } -// ToGetRequestInformation get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. +// ToGetRequestInformation get roleAssignments from roleManagement // returns a *RequestInformation when successful func (m *DeviceManagementRoleAssignmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceManagementRoleAssignmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *DeviceManagementRoleAssignmentsRequestBuilder) ToGetRequestInformation( requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new unifiedRoleAssignmentMultiple object for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. +// ToPostRequestInformation create new navigation property to roleAssignments for roleManagement // returns a *RequestInformation when successful func (m *DeviceManagementRoleAssignmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentMultipleable, requestConfiguration *DeviceManagementRoleAssignmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/device_management_role_assignments_unified_role_assignment_multiple_item_request_builder.go b/rolemanagement/device_management_role_assignments_unified_role_assignment_multiple_item_request_builder.go index 1b4c68e9cc5..aa5cd228690 100644 --- a/rolemanagement/device_management_role_assignments_unified_role_assignment_multiple_item_request_builder.go +++ b/rolemanagement/device_management_role_assignments_unified_role_assignment_multiple_item_request_builder.go @@ -18,7 +18,7 @@ type DeviceManagementRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequestBuil // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DeviceManagementRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequestBuilderGetQueryParameters get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. +// DeviceManagementRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequestBuilderGetQueryParameters get roleAssignments from roleManagement type DeviceManagementRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewDeviceManagementRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequestB urlParams["request-raw-url"] = rawUrl return NewDeviceManagementRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a unifiedRoleAssignmentMultiple object of an RBAC provider. This is applicable for a RBAC application that supports multiple principals and scopes. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) +// Delete delete navigation property roleAssignments for roleManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleassignmentmultiple-delete?view=graph-rest-1.0 func (m *DeviceManagementRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *DeviceManagementRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -83,12 +80,9 @@ func (m *DeviceManagementRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequest func (m *DeviceManagementRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequestBuilder) DirectoryScopes()(*DeviceManagementRoleAssignmentsItemDirectoryScopesRequestBuilder) { return NewDeviceManagementRoleAssignmentsItemDirectoryScopesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. +// Get get roleAssignments from roleManagement // returns a UnifiedRoleAssignmentMultipleable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleassignmentmultiple-get?view=graph-rest-1.0 func (m *DeviceManagementRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceManagementRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentMultipleable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -106,12 +100,9 @@ func (m *DeviceManagementRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequest } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentMultipleable), nil } -// Patch update an existing unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) In contrast, unifiedRoleAssignment does not support update. +// Patch update the navigation property roleAssignments in roleManagement // returns a UnifiedRoleAssignmentMultipleable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleassignmentmultiple-update?view=graph-rest-1.0 func (m *DeviceManagementRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentMultipleable, requestConfiguration *DeviceManagementRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentMultipleable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -139,7 +130,7 @@ func (m *DeviceManagementRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequest func (m *DeviceManagementRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequestBuilder) RoleDefinition()(*DeviceManagementRoleAssignmentsItemRoleDefinitionRequestBuilder) { return NewDeviceManagementRoleAssignmentsItemRoleDefinitionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a unifiedRoleAssignmentMultiple object of an RBAC provider. This is applicable for a RBAC application that supports multiple principals and scopes. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) +// ToDeleteRequestInformation delete navigation property roleAssignments for roleManagement // returns a *RequestInformation when successful func (m *DeviceManagementRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *DeviceManagementRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -150,7 +141,7 @@ func (m *DeviceManagementRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. +// ToGetRequestInformation get roleAssignments from roleManagement // returns a *RequestInformation when successful func (m *DeviceManagementRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceManagementRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -164,7 +155,7 @@ func (m *DeviceManagementRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update an existing unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) In contrast, unifiedRoleAssignment does not support update. +// ToPatchRequestInformation update the navigation property roleAssignments in roleManagement // returns a *RequestInformation when successful func (m *DeviceManagementRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentMultipleable, requestConfiguration *DeviceManagementRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/device_management_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go b/rolemanagement/device_management_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go index f0eb79a5bba..ed37025872b 100644 --- a/rolemanagement/device_management_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go +++ b/rolemanagement/device_management_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go @@ -10,7 +10,7 @@ import ( type DeviceManagementRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeviceManagementRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters invoke function assignedPrincipals +// DeviceManagementRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. type DeviceManagementRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -57,10 +57,13 @@ func NewDeviceManagementRoleDefinitionsItemAssignedPrincipalsWithTransitivedirec urlParams["request-raw-url"] = rawUrl return NewDeviceManagementRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function assignedPrincipals +// Get get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. // Deprecated: This method is obsolete. Use GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse instead. // returns a DeviceManagementRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroledefinition-assignedprincipals?view=graph-rest-beta func (m *DeviceManagementRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceManagementRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration)(DeviceManagementRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,9 +81,12 @@ func (m *DeviceManagementRoleDefinitionsItemAssignedPrincipalsWithTransitivedire } return res.(DeviceManagementRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponseable), nil } -// GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse invoke function assignedPrincipals +// GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. // returns a DeviceManagementRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroledefinition-assignedprincipals?view=graph-rest-beta func (m *DeviceManagementRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder) GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse(ctx context.Context, requestConfiguration *DeviceManagementRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration)(DeviceManagementRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,7 +104,7 @@ func (m *DeviceManagementRoleDefinitionsItemAssignedPrincipalsWithTransitivedire } return res.(DeviceManagementRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponseable), nil } -// ToGetRequestInformation invoke function assignedPrincipals +// ToGetRequestInformation get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. // returns a *RequestInformation when successful func (m *DeviceManagementRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceManagementRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/device_management_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go b/rolemanagement/device_management_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go index a97bf430171..15396ae7ae6 100644 --- a/rolemanagement/device_management_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go +++ b/rolemanagement/device_management_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go @@ -10,7 +10,7 @@ import ( type DeviceManagementRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeviceManagementRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters invoke function assignedPrincipals +// DeviceManagementRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. type DeviceManagementRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -57,10 +57,13 @@ func NewDeviceManagementRoleDefinitionsItemInheritsPermissionsFromItemAssignedPr urlParams["request-raw-url"] = rawUrl return NewDeviceManagementRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function assignedPrincipals +// Get get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. // Deprecated: This method is obsolete. Use GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse instead. // returns a DeviceManagementRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroledefinition-assignedprincipals?view=graph-rest-beta func (m *DeviceManagementRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceManagementRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration)(DeviceManagementRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,9 +81,12 @@ func (m *DeviceManagementRoleDefinitionsItemInheritsPermissionsFromItemAssignedP } return res.(DeviceManagementRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponseable), nil } -// GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse invoke function assignedPrincipals +// GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. // returns a DeviceManagementRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroledefinition-assignedprincipals?view=graph-rest-beta func (m *DeviceManagementRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder) GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse(ctx context.Context, requestConfiguration *DeviceManagementRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration)(DeviceManagementRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,7 +104,7 @@ func (m *DeviceManagementRoleDefinitionsItemInheritsPermissionsFromItemAssignedP } return res.(DeviceManagementRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponseable), nil } -// ToGetRequestInformation invoke function assignedPrincipals +// ToGetRequestInformation get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. // returns a *RequestInformation when successful func (m *DeviceManagementRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceManagementRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/device_management_role_definitions_request_builder.go b/rolemanagement/device_management_role_definitions_request_builder.go index 34feacf865d..7bc87ba599a 100644 --- a/rolemanagement/device_management_role_definitions_request_builder.go +++ b/rolemanagement/device_management_role_definitions_request_builder.go @@ -11,7 +11,7 @@ import ( type DeviceManagementRoleDefinitionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeviceManagementRoleDefinitionsRequestBuilderGetQueryParameters get a list of unifiedRoleDefinition objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra ID) - entitlement management (Microsoft Entra ID)- Exchange Online +// DeviceManagementRoleDefinitionsRequestBuilderGetQueryParameters get roleDefinitions from roleManagement type DeviceManagementRoleDefinitionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewDeviceManagementRoleDefinitionsRequestBuilder(rawUrl string, requestAdap func (m *DeviceManagementRoleDefinitionsRequestBuilder) Count()(*DeviceManagementRoleDefinitionsCountRequestBuilder) { return NewDeviceManagementRoleDefinitionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of unifiedRoleDefinition objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra ID) - entitlement management (Microsoft Entra ID)- Exchange Online +// Get get roleDefinitions from roleManagement // returns a UnifiedRoleDefinitionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplication-list-roledefinitions?view=graph-rest-1.0 func (m *DeviceManagementRoleDefinitionsRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceManagementRoleDefinitionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleDefinitionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *DeviceManagementRoleDefinitionsRequestBuilder) Get(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleDefinitionCollectionResponseable), nil } -// Post create a new unifiedRoleDefinition object for an RBAC provider. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) +// Post create new navigation property to roleDefinitions for roleManagement // returns a UnifiedRoleDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplication-post-roledefinitions?view=graph-rest-1.0 func (m *DeviceManagementRoleDefinitionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleDefinitionable, requestConfiguration *DeviceManagementRoleDefinitionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleDefinitionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *DeviceManagementRoleDefinitionsRequestBuilder) Post(ctx context.Context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleDefinitionable), nil } -// ToGetRequestInformation get a list of unifiedRoleDefinition objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra ID) - entitlement management (Microsoft Entra ID)- Exchange Online +// ToGetRequestInformation get roleDefinitions from roleManagement // returns a *RequestInformation when successful func (m *DeviceManagementRoleDefinitionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceManagementRoleDefinitionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *DeviceManagementRoleDefinitionsRequestBuilder) ToGetRequestInformation( requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new unifiedRoleDefinition object for an RBAC provider. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) +// ToPostRequestInformation create new navigation property to roleDefinitions for roleManagement // returns a *RequestInformation when successful func (m *DeviceManagementRoleDefinitionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleDefinitionable, requestConfiguration *DeviceManagementRoleDefinitionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/device_management_role_definitions_unified_role_definition_item_request_builder.go b/rolemanagement/device_management_role_definitions_unified_role_definition_item_request_builder.go index 5396df28e4d..4d42d0a625d 100644 --- a/rolemanagement/device_management_role_definitions_unified_role_definition_item_request_builder.go +++ b/rolemanagement/device_management_role_definitions_unified_role_definition_item_request_builder.go @@ -18,7 +18,7 @@ type DeviceManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilderDelet // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DeviceManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilderGetQueryParameters get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online +// DeviceManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilderGetQueryParameters get roleDefinitions from roleManagement type DeviceManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewDeviceManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder(r urlParams["request-raw-url"] = rawUrl return NewDeviceManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a unifiedRoleDefinition object for an RBAC provider. You cannot delete built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) +// Delete delete navigation property roleDefinitions for roleManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroledefinition-delete?view=graph-rest-1.0 func (m *DeviceManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *DeviceManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *DeviceManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) } return nil } -// Get get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online +// Get get roleDefinitions from roleManagement // returns a UnifiedRoleDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroledefinition-get?view=graph-rest-1.0 func (m *DeviceManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleDefinitionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -106,12 +100,9 @@ func (m *DeviceManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) func (m *DeviceManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) InheritsPermissionsFrom()(*DeviceManagementRoleDefinitionsItemInheritsPermissionsFromRequestBuilder) { return NewDeviceManagementRoleDefinitionsItemInheritsPermissionsFromRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of a unifiedRoleDefinition object for an RBAC provider. You cannot update built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) +// Patch update the navigation property roleDefinitions in roleManagement // returns a UnifiedRoleDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroledefinition-update?view=graph-rest-1.0 func (m *DeviceManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleDefinitionable, requestConfiguration *DeviceManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleDefinitionable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -129,7 +120,7 @@ func (m *DeviceManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleDefinitionable), nil } -// ToDeleteRequestInformation delete a unifiedRoleDefinition object for an RBAC provider. You cannot delete built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) +// ToDeleteRequestInformation delete navigation property roleDefinitions for roleManagement // returns a *RequestInformation when successful func (m *DeviceManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *DeviceManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -140,7 +131,7 @@ func (m *DeviceManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online +// ToGetRequestInformation get roleDefinitions from roleManagement // returns a *RequestInformation when successful func (m *DeviceManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -154,7 +145,7 @@ func (m *DeviceManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a unifiedRoleDefinition object for an RBAC provider. You cannot update built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) +// ToPatchRequestInformation update the navigation property roleDefinitions in roleManagement // returns a *RequestInformation when successful func (m *DeviceManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleDefinitionable, requestConfiguration *DeviceManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/directory_resource_namespaces_item_resource_actions_request_builder.go b/rolemanagement/directory_resource_namespaces_item_resource_actions_request_builder.go index dcdb0e01c62..1812bc369e4 100644 --- a/rolemanagement/directory_resource_namespaces_item_resource_actions_request_builder.go +++ b/rolemanagement/directory_resource_namespaces_item_resource_actions_request_builder.go @@ -11,7 +11,7 @@ import ( type DirectoryResourceNamespacesItemResourceActionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DirectoryResourceNamespacesItemResourceActionsRequestBuilderGetQueryParameters get a list of the unifiedRbacResourceAction objects and their properties. +// DirectoryResourceNamespacesItemResourceActionsRequestBuilderGetQueryParameters operations that an authorized principal is allowed to perform. type DirectoryResourceNamespacesItemResourceActionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewDirectoryResourceNamespacesItemResourceActionsRequestBuilder(rawUrl stri func (m *DirectoryResourceNamespacesItemResourceActionsRequestBuilder) Count()(*DirectoryResourceNamespacesItemResourceActionsCountRequestBuilder) { return NewDirectoryResourceNamespacesItemResourceActionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the unifiedRbacResourceAction objects and their properties. +// Get operations that an authorized principal is allowed to perform. // returns a UnifiedRbacResourceActionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedrbacresourcenamespace-list-resourceactions?view=graph-rest-1.0 func (m *DirectoryResourceNamespacesItemResourceActionsRequestBuilder) Get(ctx context.Context, requestConfiguration *DirectoryResourceNamespacesItemResourceActionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRbacResourceActionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *DirectoryResourceNamespacesItemResourceActionsRequestBuilder) Post(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRbacResourceActionable), nil } -// ToGetRequestInformation get a list of the unifiedRbacResourceAction objects and their properties. +// ToGetRequestInformation operations that an authorized principal is allowed to perform. // returns a *RequestInformation when successful func (m *DirectoryResourceNamespacesItemResourceActionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DirectoryResourceNamespacesItemResourceActionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/directory_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go b/rolemanagement/directory_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go index d4241269b4e..8f42e798bba 100644 --- a/rolemanagement/directory_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go +++ b/rolemanagement/directory_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go @@ -18,7 +18,7 @@ type DirectoryResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItem // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DirectoryResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilderGetQueryParameters read the properties and relationships of an unifiedRbacResourceAction object. +// DirectoryResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilderGetQueryParameters operations that an authorized principal is allowed to perform. type DirectoryResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *DirectoryResourceNamespacesItemResourceActionsUnifiedRbacResourceAction } return nil } -// Get read the properties and relationships of an unifiedRbacResourceAction object. +// Get operations that an authorized principal is allowed to perform. // returns a UnifiedRbacResourceActionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedrbacresourceaction-get?view=graph-rest-1.0 func (m *DirectoryResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DirectoryResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRbacResourceActionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -134,7 +131,7 @@ func (m *DirectoryResourceNamespacesItemResourceActionsUnifiedRbacResourceAction requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an unifiedRbacResourceAction object. +// ToGetRequestInformation operations that an authorized principal is allowed to perform. // returns a *RequestInformation when successful func (m *DirectoryResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DirectoryResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/directory_resource_namespaces_request_builder.go b/rolemanagement/directory_resource_namespaces_request_builder.go index 629d710dcc6..1149a7b2c6e 100644 --- a/rolemanagement/directory_resource_namespaces_request_builder.go +++ b/rolemanagement/directory_resource_namespaces_request_builder.go @@ -11,7 +11,7 @@ import ( type DirectoryResourceNamespacesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DirectoryResourceNamespacesRequestBuilderGetQueryParameters get a list of the unifiedRbacResourceNamespace objects and their properties. +// DirectoryResourceNamespacesRequestBuilderGetQueryParameters get resourceNamespaces from roleManagement type DirectoryResourceNamespacesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewDirectoryResourceNamespacesRequestBuilder(rawUrl string, requestAdapter func (m *DirectoryResourceNamespacesRequestBuilder) Count()(*DirectoryResourceNamespacesCountRequestBuilder) { return NewDirectoryResourceNamespacesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the unifiedRbacResourceNamespace objects and their properties. +// Get get resourceNamespaces from roleManagement // returns a UnifiedRbacResourceNamespaceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplicationmultiple-list-resourcenamespaces?view=graph-rest-1.0 func (m *DirectoryResourceNamespacesRequestBuilder) Get(ctx context.Context, requestConfiguration *DirectoryResourceNamespacesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRbacResourceNamespaceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *DirectoryResourceNamespacesRequestBuilder) Post(ctx context.Context, bo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRbacResourceNamespaceable), nil } -// ToGetRequestInformation get a list of the unifiedRbacResourceNamespace objects and their properties. +// ToGetRequestInformation get resourceNamespaces from roleManagement // returns a *RequestInformation when successful func (m *DirectoryResourceNamespacesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DirectoryResourceNamespacesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/directory_resource_namespaces_unified_rbac_resource_namespace_item_request_builder.go b/rolemanagement/directory_resource_namespaces_unified_rbac_resource_namespace_item_request_builder.go index 92348fabb63..9083165c71a 100644 --- a/rolemanagement/directory_resource_namespaces_unified_rbac_resource_namespace_item_request_builder.go +++ b/rolemanagement/directory_resource_namespaces_unified_rbac_resource_namespace_item_request_builder.go @@ -18,7 +18,7 @@ type DirectoryResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuilderDe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DirectoryResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuilderGetQueryParameters read the properties and relationships of an unifiedRbacResourceNamespace object. +// DirectoryResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuilderGetQueryParameters get resourceNamespaces from roleManagement type DirectoryResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *DirectoryResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuild } return nil } -// Get read the properties and relationships of an unifiedRbacResourceNamespace object. +// Get get resourceNamespaces from roleManagement // returns a UnifiedRbacResourceNamespaceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedrbacresourcenamespace-get?view=graph-rest-1.0 func (m *DirectoryResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DirectoryResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRbacResourceNamespaceable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -134,7 +131,7 @@ func (m *DirectoryResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuild requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an unifiedRbacResourceNamespace object. +// ToGetRequestInformation get resourceNamespaces from roleManagement // returns a *RequestInformation when successful func (m *DirectoryResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DirectoryResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/directory_role_assignment_approvals_filter_by_current_user_with_on_request_builder.go b/rolemanagement/directory_role_assignment_approvals_filter_by_current_user_with_on_request_builder.go index 906e88c7685..7d39435c664 100644 --- a/rolemanagement/directory_role_assignment_approvals_filter_by_current_user_with_on_request_builder.go +++ b/rolemanagement/directory_role_assignment_approvals_filter_by_current_user_with_on_request_builder.go @@ -10,7 +10,7 @@ import ( type DirectoryRoleAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DirectoryRoleAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters invoke function filterByCurrentUser +// DirectoryRoleAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters in Microsoft Entra entitlement management, return a collection of access package assignment approvals. The objects returned are those that are in scope for approval by the calling user. In PIM for groups, return a collection of assignment approvals. The objects returned are those that are in scope for approval by the calling user. type DirectoryRoleAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewDirectoryRoleAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilder( urlParams["request-raw-url"] = rawUrl return NewDirectoryRoleAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function filterByCurrentUser +// Get in Microsoft Entra entitlement management, return a collection of access package assignment approvals. The objects returned are those that are in scope for approval by the calling user. In PIM for groups, return a collection of assignment approvals. The objects returned are those that are in scope for approval by the calling user. // Deprecated: This method is obsolete. Use GetAsFilterByCurrentUserWithOnGetResponse instead. // returns a DirectoryRoleAssignmentApprovalsFilterByCurrentUserWithOnResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/approval-filterbycurrentuser?view=graph-rest-beta func (m *DirectoryRoleAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilder) Get(ctx context.Context, requestConfiguration *DirectoryRoleAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(DirectoryRoleAssignmentApprovalsFilterByCurrentUserWithOnResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *DirectoryRoleAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilder } return res.(DirectoryRoleAssignmentApprovalsFilterByCurrentUserWithOnResponseable), nil } -// GetAsFilterByCurrentUserWithOnGetResponse invoke function filterByCurrentUser +// GetAsFilterByCurrentUserWithOnGetResponse in Microsoft Entra entitlement management, return a collection of access package assignment approvals. The objects returned are those that are in scope for approval by the calling user. In PIM for groups, return a collection of assignment approvals. The objects returned are those that are in scope for approval by the calling user. // returns a DirectoryRoleAssignmentApprovalsFilterByCurrentUserWithOnGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/approval-filterbycurrentuser?view=graph-rest-beta func (m *DirectoryRoleAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilder) GetAsFilterByCurrentUserWithOnGetResponse(ctx context.Context, requestConfiguration *DirectoryRoleAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(DirectoryRoleAssignmentApprovalsFilterByCurrentUserWithOnGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *DirectoryRoleAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilder } return res.(DirectoryRoleAssignmentApprovalsFilterByCurrentUserWithOnGetResponseable), nil } -// ToGetRequestInformation invoke function filterByCurrentUser +// ToGetRequestInformation in Microsoft Entra entitlement management, return a collection of access package assignment approvals. The objects returned are those that are in scope for approval by the calling user. In PIM for groups, return a collection of assignment approvals. The objects returned are those that are in scope for approval by the calling user. // returns a *RequestInformation when successful func (m *DirectoryRoleAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DirectoryRoleAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/directory_role_assignment_approvals_item_steps_approval_step_item_request_builder.go b/rolemanagement/directory_role_assignment_approvals_item_steps_approval_step_item_request_builder.go index 9dea48384d7..a9acfade58a 100644 --- a/rolemanagement/directory_role_assignment_approvals_item_steps_approval_step_item_request_builder.go +++ b/rolemanagement/directory_role_assignment_approvals_item_steps_approval_step_item_request_builder.go @@ -18,7 +18,7 @@ type DirectoryRoleAssignmentApprovalsItemStepsApprovalStepItemRequestBuilderDele // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DirectoryRoleAssignmentApprovalsItemStepsApprovalStepItemRequestBuilderGetQueryParameters retrieve the properties of an approvalStep object. +// DirectoryRoleAssignmentApprovalsItemStepsApprovalStepItemRequestBuilderGetQueryParameters used to represent the decision associated with a single step in the approval process configured in approvalStage. type DirectoryRoleAssignmentApprovalsItemStepsApprovalStepItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *DirectoryRoleAssignmentApprovalsItemStepsApprovalStepItemRequestBuilder } return nil } -// Get retrieve the properties of an approvalStep object. +// Get used to represent the decision associated with a single step in the approval process configured in approvalStage. // returns a ApprovalStepable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/approvalstep-get?view=graph-rest-1.0 func (m *DirectoryRoleAssignmentApprovalsItemStepsApprovalStepItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DirectoryRoleAssignmentApprovalsItemStepsApprovalStepItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalStepable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *DirectoryRoleAssignmentApprovalsItemStepsApprovalStepItemRequestBuilder } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalStepable), nil } -// Patch apply approve or deny decision on an approvalStep object. +// Patch update the navigation property steps in roleManagement // returns a ApprovalStepable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/approvalstep-update?view=graph-rest-1.0 func (m *DirectoryRoleAssignmentApprovalsItemStepsApprovalStepItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalStepable, requestConfiguration *DirectoryRoleAssignmentApprovalsItemStepsApprovalStepItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalStepable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *DirectoryRoleAssignmentApprovalsItemStepsApprovalStepItemRequestBuilder requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties of an approvalStep object. +// ToGetRequestInformation used to represent the decision associated with a single step in the approval process configured in approvalStage. // returns a *RequestInformation when successful func (m *DirectoryRoleAssignmentApprovalsItemStepsApprovalStepItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DirectoryRoleAssignmentApprovalsItemStepsApprovalStepItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *DirectoryRoleAssignmentApprovalsItemStepsApprovalStepItemRequestBuilder requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation apply approve or deny decision on an approvalStep object. +// ToPatchRequestInformation update the navigation property steps in roleManagement // returns a *RequestInformation when successful func (m *DirectoryRoleAssignmentApprovalsItemStepsApprovalStepItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalStepable, requestConfiguration *DirectoryRoleAssignmentApprovalsItemStepsApprovalStepItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/directory_role_assignment_approvals_item_steps_request_builder.go b/rolemanagement/directory_role_assignment_approvals_item_steps_request_builder.go index c85d6fdc160..ad7f64fbead 100644 --- a/rolemanagement/directory_role_assignment_approvals_item_steps_request_builder.go +++ b/rolemanagement/directory_role_assignment_approvals_item_steps_request_builder.go @@ -11,7 +11,7 @@ import ( type DirectoryRoleAssignmentApprovalsItemStepsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DirectoryRoleAssignmentApprovalsItemStepsRequestBuilderGetQueryParameters list the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: +// DirectoryRoleAssignmentApprovalsItemStepsRequestBuilderGetQueryParameters used to represent the decision associated with a single step in the approval process configured in approvalStage. type DirectoryRoleAssignmentApprovalsItemStepsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewDirectoryRoleAssignmentApprovalsItemStepsRequestBuilder(rawUrl string, r func (m *DirectoryRoleAssignmentApprovalsItemStepsRequestBuilder) Count()(*DirectoryRoleAssignmentApprovalsItemStepsCountRequestBuilder) { return NewDirectoryRoleAssignmentApprovalsItemStepsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: +// Get used to represent the decision associated with a single step in the approval process configured in approvalStage. // returns a ApprovalStepCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/approval-list-steps?view=graph-rest-1.0 func (m *DirectoryRoleAssignmentApprovalsItemStepsRequestBuilder) Get(ctx context.Context, requestConfiguration *DirectoryRoleAssignmentApprovalsItemStepsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalStepCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *DirectoryRoleAssignmentApprovalsItemStepsRequestBuilder) Post(ctx conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalStepable), nil } -// ToGetRequestInformation list the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: +// ToGetRequestInformation used to represent the decision associated with a single step in the approval process configured in approvalStage. // returns a *RequestInformation when successful func (m *DirectoryRoleAssignmentApprovalsItemStepsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DirectoryRoleAssignmentApprovalsItemStepsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/directory_role_assignment_schedule_instances_filter_by_current_user_with_on_request_builder.go b/rolemanagement/directory_role_assignment_schedule_instances_filter_by_current_user_with_on_request_builder.go index 27d364ffbf6..343df170e16 100644 --- a/rolemanagement/directory_role_assignment_schedule_instances_filter_by_current_user_with_on_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedule_instances_filter_by_current_user_with_on_request_builder.go @@ -10,7 +10,7 @@ import ( type DirectoryRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DirectoryRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters invoke function filterByCurrentUser +// DirectoryRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters get the instances of active role assignments for the calling principal. type DirectoryRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewDirectoryRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnRequest urlParams["request-raw-url"] = rawUrl return NewDirectoryRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function filterByCurrentUser +// Get get the instances of active role assignments for the calling principal. // Deprecated: This method is obsolete. Use GetAsFilterByCurrentUserWithOnGetResponse instead. // returns a DirectoryRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleassignmentscheduleinstance-filterbycurrentuser?view=graph-rest-beta func (m *DirectoryRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilder) Get(ctx context.Context, requestConfiguration *DirectoryRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(DirectoryRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *DirectoryRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnReques } return res.(DirectoryRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnResponseable), nil } -// GetAsFilterByCurrentUserWithOnGetResponse invoke function filterByCurrentUser +// GetAsFilterByCurrentUserWithOnGetResponse get the instances of active role assignments for the calling principal. // returns a DirectoryRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleassignmentscheduleinstance-filterbycurrentuser?view=graph-rest-beta func (m *DirectoryRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilder) GetAsFilterByCurrentUserWithOnGetResponse(ctx context.Context, requestConfiguration *DirectoryRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(DirectoryRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *DirectoryRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnReques } return res.(DirectoryRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnGetResponseable), nil } -// ToGetRequestInformation invoke function filterByCurrentUser +// ToGetRequestInformation get the instances of active role assignments for the calling principal. // returns a *RequestInformation when successful func (m *DirectoryRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DirectoryRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/directory_role_assignment_schedule_instances_request_builder.go b/rolemanagement/directory_role_assignment_schedule_instances_request_builder.go index ccae397438a..4afc291f52e 100644 --- a/rolemanagement/directory_role_assignment_schedule_instances_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedule_instances_request_builder.go @@ -11,7 +11,7 @@ import ( type DirectoryRoleAssignmentScheduleInstancesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DirectoryRoleAssignmentScheduleInstancesRequestBuilderGetQueryParameters get the instances of active role assignments in your tenant. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. +// DirectoryRoleAssignmentScheduleInstancesRequestBuilderGetQueryParameters get roleAssignmentScheduleInstances from roleManagement type DirectoryRoleAssignmentScheduleInstancesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *DirectoryRoleAssignmentScheduleInstancesRequestBuilder) Count()(*Direct func (m *DirectoryRoleAssignmentScheduleInstancesRequestBuilder) FilterByCurrentUserWithOn(on *string)(*DirectoryRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilder) { return NewDirectoryRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, on) } -// Get get the instances of active role assignments in your tenant. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. +// Get get roleAssignmentScheduleInstances from roleManagement // returns a UnifiedRoleAssignmentScheduleInstanceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplication-list-roleassignmentscheduleinstances?view=graph-rest-1.0 func (m *DirectoryRoleAssignmentScheduleInstancesRequestBuilder) Get(ctx context.Context, requestConfiguration *DirectoryRoleAssignmentScheduleInstancesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentScheduleInstanceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *DirectoryRoleAssignmentScheduleInstancesRequestBuilder) Post(ctx contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentScheduleInstanceable), nil } -// ToGetRequestInformation get the instances of active role assignments in your tenant. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. +// ToGetRequestInformation get roleAssignmentScheduleInstances from roleManagement // returns a *RequestInformation when successful func (m *DirectoryRoleAssignmentScheduleInstancesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DirectoryRoleAssignmentScheduleInstancesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/directory_role_assignment_schedule_instances_unified_role_assignment_schedule_instance_item_request_builder.go b/rolemanagement/directory_role_assignment_schedule_instances_unified_role_assignment_schedule_instance_item_request_builder.go index 4873239edf6..8c773c23e1c 100644 --- a/rolemanagement/directory_role_assignment_schedule_instances_unified_role_assignment_schedule_instance_item_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedule_instances_unified_role_assignment_schedule_instance_item_request_builder.go @@ -18,7 +18,7 @@ type DirectoryRoleAssignmentScheduleInstancesUnifiedRoleAssignmentScheduleInstan // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DirectoryRoleAssignmentScheduleInstancesUnifiedRoleAssignmentScheduleInstanceItemRequestBuilderGetQueryParameters get the instance of an active role assignment. +// DirectoryRoleAssignmentScheduleInstancesUnifiedRoleAssignmentScheduleInstanceItemRequestBuilderGetQueryParameters get roleAssignmentScheduleInstances from roleManagement type DirectoryRoleAssignmentScheduleInstancesUnifiedRoleAssignmentScheduleInstanceItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -85,12 +85,9 @@ func (m *DirectoryRoleAssignmentScheduleInstancesUnifiedRoleAssignmentScheduleIn func (m *DirectoryRoleAssignmentScheduleInstancesUnifiedRoleAssignmentScheduleInstanceItemRequestBuilder) DirectoryScope()(*DirectoryRoleAssignmentScheduleInstancesItemDirectoryScopeRequestBuilder) { return NewDirectoryRoleAssignmentScheduleInstancesItemDirectoryScopeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the instance of an active role assignment. +// Get get roleAssignmentScheduleInstances from roleManagement // returns a UnifiedRoleAssignmentScheduleInstanceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleassignmentscheduleinstance-get?view=graph-rest-1.0 func (m *DirectoryRoleAssignmentScheduleInstancesUnifiedRoleAssignmentScheduleInstanceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DirectoryRoleAssignmentScheduleInstancesUnifiedRoleAssignmentScheduleInstanceItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentScheduleInstanceable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -149,7 +146,7 @@ func (m *DirectoryRoleAssignmentScheduleInstancesUnifiedRoleAssignmentScheduleIn requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the instance of an active role assignment. +// ToGetRequestInformation get roleAssignmentScheduleInstances from roleManagement // returns a *RequestInformation when successful func (m *DirectoryRoleAssignmentScheduleInstancesUnifiedRoleAssignmentScheduleInstanceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DirectoryRoleAssignmentScheduleInstancesUnifiedRoleAssignmentScheduleInstanceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/directory_role_assignment_schedule_requests_filter_by_current_user_with_on_request_builder.go b/rolemanagement/directory_role_assignment_schedule_requests_filter_by_current_user_with_on_request_builder.go index d4abc29d5c1..15da7d09fa2 100644 --- a/rolemanagement/directory_role_assignment_schedule_requests_filter_by_current_user_with_on_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedule_requests_filter_by_current_user_with_on_request_builder.go @@ -10,7 +10,7 @@ import ( type DirectoryRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DirectoryRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters invoke function filterByCurrentUser +// DirectoryRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters in PIM, retrieve the requests for active role assignments for a particular principal. The principal can be the creator or approver of the unifiedRoleAssignmentScheduleRequest object, or they can be the target of the assignment. type DirectoryRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewDirectoryRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestB urlParams["request-raw-url"] = rawUrl return NewDirectoryRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function filterByCurrentUser +// Get in PIM, retrieve the requests for active role assignments for a particular principal. The principal can be the creator or approver of the unifiedRoleAssignmentScheduleRequest object, or they can be the target of the assignment. // Deprecated: This method is obsolete. Use GetAsFilterByCurrentUserWithOnGetResponse instead. // returns a DirectoryRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleassignmentschedulerequest-filterbycurrentuser?view=graph-rest-beta func (m *DirectoryRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilder) Get(ctx context.Context, requestConfiguration *DirectoryRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(DirectoryRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *DirectoryRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnRequest } return res.(DirectoryRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnResponseable), nil } -// GetAsFilterByCurrentUserWithOnGetResponse invoke function filterByCurrentUser +// GetAsFilterByCurrentUserWithOnGetResponse in PIM, retrieve the requests for active role assignments for a particular principal. The principal can be the creator or approver of the unifiedRoleAssignmentScheduleRequest object, or they can be the target of the assignment. // returns a DirectoryRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleassignmentschedulerequest-filterbycurrentuser?view=graph-rest-beta func (m *DirectoryRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilder) GetAsFilterByCurrentUserWithOnGetResponse(ctx context.Context, requestConfiguration *DirectoryRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(DirectoryRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *DirectoryRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnRequest } return res.(DirectoryRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnGetResponseable), nil } -// ToGetRequestInformation invoke function filterByCurrentUser +// ToGetRequestInformation in PIM, retrieve the requests for active role assignments for a particular principal. The principal can be the creator or approver of the unifiedRoleAssignmentScheduleRequest object, or they can be the target of the assignment. // returns a *RequestInformation when successful func (m *DirectoryRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DirectoryRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/directory_role_assignment_schedule_requests_item_cancel_request_builder.go b/rolemanagement/directory_role_assignment_schedule_requests_item_cancel_request_builder.go index dca4edeea40..215136340fd 100644 --- a/rolemanagement/directory_role_assignment_schedule_requests_item_cancel_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedule_requests_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewDirectoryRoleAssignmentScheduleRequestsItemCancelRequestBuilder(rawUrl s // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleassignmentschedulerequest-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleassignmentschedulerequest-cancel?view=graph-rest-beta func (m *DirectoryRoleAssignmentScheduleRequestsItemCancelRequestBuilder) Post(ctx context.Context, requestConfiguration *DirectoryRoleAssignmentScheduleRequestsItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/rolemanagement/directory_role_assignment_schedule_requests_request_builder.go b/rolemanagement/directory_role_assignment_schedule_requests_request_builder.go index 1b8d787b6d8..6b2d0b0f757 100644 --- a/rolemanagement/directory_role_assignment_schedule_requests_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedule_requests_request_builder.go @@ -11,7 +11,7 @@ import ( type DirectoryRoleAssignmentScheduleRequestsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DirectoryRoleAssignmentScheduleRequestsRequestBuilderGetQueryParameters retrieve the requests for active role assignments to principals. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. The role assignments can be permanently active with or without an expiry date, or temporarily active after user activation of eligible assignments. +// DirectoryRoleAssignmentScheduleRequestsRequestBuilderGetQueryParameters get roleAssignmentScheduleRequests from roleManagement type DirectoryRoleAssignmentScheduleRequestsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *DirectoryRoleAssignmentScheduleRequestsRequestBuilder) Count()(*Directo func (m *DirectoryRoleAssignmentScheduleRequestsRequestBuilder) FilterByCurrentUserWithOn(on *string)(*DirectoryRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilder) { return NewDirectoryRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, on) } -// Get retrieve the requests for active role assignments to principals. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. The role assignments can be permanently active with or without an expiry date, or temporarily active after user activation of eligible assignments. +// Get get roleAssignmentScheduleRequests from roleManagement // returns a UnifiedRoleAssignmentScheduleRequestCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplication-list-roleassignmentschedulerequests?view=graph-rest-1.0 func (m *DirectoryRoleAssignmentScheduleRequestsRequestBuilder) Get(ctx context.Context, requestConfiguration *DirectoryRoleAssignmentScheduleRequestsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentScheduleRequestCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *DirectoryRoleAssignmentScheduleRequestsRequestBuilder) Get(ctx context. } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentScheduleRequestCollectionResponseable), nil } -// Post create a new unifiedRoleAssignmentScheduleRequest object. This operation allows both admins and users to add, remove, extend, or renew assignments. To run this request, the calling user must have multifactor authentication (MFA) enforced, and running the query in a session in which they were challenged for MFA. See Enable per-user Microsoft Entra multifactor authentication to secure sign-in events. +// Post create new navigation property to roleAssignmentScheduleRequests for roleManagement // returns a UnifiedRoleAssignmentScheduleRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplication-post-roleassignmentschedulerequests?view=graph-rest-1.0 func (m *DirectoryRoleAssignmentScheduleRequestsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentScheduleRequestable, requestConfiguration *DirectoryRoleAssignmentScheduleRequestsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentScheduleRequestable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *DirectoryRoleAssignmentScheduleRequestsRequestBuilder) Post(ctx context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentScheduleRequestable), nil } -// ToGetRequestInformation retrieve the requests for active role assignments to principals. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. The role assignments can be permanently active with or without an expiry date, or temporarily active after user activation of eligible assignments. +// ToGetRequestInformation get roleAssignmentScheduleRequests from roleManagement // returns a *RequestInformation when successful func (m *DirectoryRoleAssignmentScheduleRequestsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DirectoryRoleAssignmentScheduleRequestsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *DirectoryRoleAssignmentScheduleRequestsRequestBuilder) ToGetRequestInfo requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new unifiedRoleAssignmentScheduleRequest object. This operation allows both admins and users to add, remove, extend, or renew assignments. To run this request, the calling user must have multifactor authentication (MFA) enforced, and running the query in a session in which they were challenged for MFA. See Enable per-user Microsoft Entra multifactor authentication to secure sign-in events. +// ToPostRequestInformation create new navigation property to roleAssignmentScheduleRequests for roleManagement // returns a *RequestInformation when successful func (m *DirectoryRoleAssignmentScheduleRequestsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentScheduleRequestable, requestConfiguration *DirectoryRoleAssignmentScheduleRequestsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/directory_role_assignment_schedule_requests_unified_role_assignment_schedule_request_item_request_builder.go b/rolemanagement/directory_role_assignment_schedule_requests_unified_role_assignment_schedule_request_item_request_builder.go index 52266fbceed..fb8226658e7 100644 --- a/rolemanagement/directory_role_assignment_schedule_requests_unified_role_assignment_schedule_request_item_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedule_requests_unified_role_assignment_schedule_request_item_request_builder.go @@ -18,7 +18,7 @@ type DirectoryRoleAssignmentScheduleRequestsUnifiedRoleAssignmentScheduleRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DirectoryRoleAssignmentScheduleRequestsUnifiedRoleAssignmentScheduleRequestItemRequestBuilderGetQueryParameters in PIM, read the details of a request for an active and persistent role assignment made through the unifiedRoleAssignmentScheduleRequest object. +// DirectoryRoleAssignmentScheduleRequestsUnifiedRoleAssignmentScheduleRequestItemRequestBuilderGetQueryParameters get roleAssignmentScheduleRequests from roleManagement type DirectoryRoleAssignmentScheduleRequestsUnifiedRoleAssignmentScheduleRequestItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -90,12 +90,9 @@ func (m *DirectoryRoleAssignmentScheduleRequestsUnifiedRoleAssignmentScheduleReq func (m *DirectoryRoleAssignmentScheduleRequestsUnifiedRoleAssignmentScheduleRequestItemRequestBuilder) DirectoryScope()(*DirectoryRoleAssignmentScheduleRequestsItemDirectoryScopeRequestBuilder) { return NewDirectoryRoleAssignmentScheduleRequestsItemDirectoryScopeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get in PIM, read the details of a request for an active and persistent role assignment made through the unifiedRoleAssignmentScheduleRequest object. +// Get get roleAssignmentScheduleRequests from roleManagement // returns a UnifiedRoleAssignmentScheduleRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleassignmentschedulerequest-get?view=graph-rest-1.0 func (m *DirectoryRoleAssignmentScheduleRequestsUnifiedRoleAssignmentScheduleRequestItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DirectoryRoleAssignmentScheduleRequestsUnifiedRoleAssignmentScheduleRequestItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentScheduleRequestable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -159,7 +156,7 @@ func (m *DirectoryRoleAssignmentScheduleRequestsUnifiedRoleAssignmentScheduleReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation in PIM, read the details of a request for an active and persistent role assignment made through the unifiedRoleAssignmentScheduleRequest object. +// ToGetRequestInformation get roleAssignmentScheduleRequests from roleManagement // returns a *RequestInformation when successful func (m *DirectoryRoleAssignmentScheduleRequestsUnifiedRoleAssignmentScheduleRequestItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DirectoryRoleAssignmentScheduleRequestsUnifiedRoleAssignmentScheduleRequestItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/directory_role_assignment_schedules_filter_by_current_user_with_on_request_builder.go b/rolemanagement/directory_role_assignment_schedules_filter_by_current_user_with_on_request_builder.go index ceb2747bbb1..cb484926036 100644 --- a/rolemanagement/directory_role_assignment_schedules_filter_by_current_user_with_on_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedules_filter_by_current_user_with_on_request_builder.go @@ -10,7 +10,7 @@ import ( type DirectoryRoleAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DirectoryRoleAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters invoke function filterByCurrentUser +// DirectoryRoleAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters retrieve the schedules for active role assignment operations for which the signed-in user is the principal. type DirectoryRoleAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewDirectoryRoleAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilder( urlParams["request-raw-url"] = rawUrl return NewDirectoryRoleAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function filterByCurrentUser +// Get retrieve the schedules for active role assignment operations for which the signed-in user is the principal. // Deprecated: This method is obsolete. Use GetAsFilterByCurrentUserWithOnGetResponse instead. // returns a DirectoryRoleAssignmentSchedulesFilterByCurrentUserWithOnResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleassignmentschedule-filterbycurrentuser?view=graph-rest-beta func (m *DirectoryRoleAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilder) Get(ctx context.Context, requestConfiguration *DirectoryRoleAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(DirectoryRoleAssignmentSchedulesFilterByCurrentUserWithOnResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *DirectoryRoleAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilder } return res.(DirectoryRoleAssignmentSchedulesFilterByCurrentUserWithOnResponseable), nil } -// GetAsFilterByCurrentUserWithOnGetResponse invoke function filterByCurrentUser +// GetAsFilterByCurrentUserWithOnGetResponse retrieve the schedules for active role assignment operations for which the signed-in user is the principal. // returns a DirectoryRoleAssignmentSchedulesFilterByCurrentUserWithOnGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleassignmentschedule-filterbycurrentuser?view=graph-rest-beta func (m *DirectoryRoleAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilder) GetAsFilterByCurrentUserWithOnGetResponse(ctx context.Context, requestConfiguration *DirectoryRoleAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(DirectoryRoleAssignmentSchedulesFilterByCurrentUserWithOnGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *DirectoryRoleAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilder } return res.(DirectoryRoleAssignmentSchedulesFilterByCurrentUserWithOnGetResponseable), nil } -// ToGetRequestInformation invoke function filterByCurrentUser +// ToGetRequestInformation retrieve the schedules for active role assignment operations for which the signed-in user is the principal. // returns a *RequestInformation when successful func (m *DirectoryRoleAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DirectoryRoleAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/directory_role_assignment_schedules_request_builder.go b/rolemanagement/directory_role_assignment_schedules_request_builder.go index d76d451469b..7af790c314d 100644 --- a/rolemanagement/directory_role_assignment_schedules_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedules_request_builder.go @@ -11,7 +11,7 @@ import ( type DirectoryRoleAssignmentSchedulesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DirectoryRoleAssignmentSchedulesRequestBuilderGetQueryParameters get the schedules for active role assignment operations. +// DirectoryRoleAssignmentSchedulesRequestBuilderGetQueryParameters get roleAssignmentSchedules from roleManagement type DirectoryRoleAssignmentSchedulesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *DirectoryRoleAssignmentSchedulesRequestBuilder) Count()(*DirectoryRoleA func (m *DirectoryRoleAssignmentSchedulesRequestBuilder) FilterByCurrentUserWithOn(on *string)(*DirectoryRoleAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilder) { return NewDirectoryRoleAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, on) } -// Get get the schedules for active role assignment operations. +// Get get roleAssignmentSchedules from roleManagement // returns a UnifiedRoleAssignmentScheduleCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplication-list-roleassignmentschedules?view=graph-rest-1.0 func (m *DirectoryRoleAssignmentSchedulesRequestBuilder) Get(ctx context.Context, requestConfiguration *DirectoryRoleAssignmentSchedulesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentScheduleCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *DirectoryRoleAssignmentSchedulesRequestBuilder) Post(ctx context.Contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentScheduleable), nil } -// ToGetRequestInformation get the schedules for active role assignment operations. +// ToGetRequestInformation get roleAssignmentSchedules from roleManagement // returns a *RequestInformation when successful func (m *DirectoryRoleAssignmentSchedulesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DirectoryRoleAssignmentSchedulesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/directory_role_assignment_schedules_unified_role_assignment_schedule_item_request_builder.go b/rolemanagement/directory_role_assignment_schedules_unified_role_assignment_schedule_item_request_builder.go index 03607774517..54bbb50555a 100644 --- a/rolemanagement/directory_role_assignment_schedules_unified_role_assignment_schedule_item_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedules_unified_role_assignment_schedule_item_request_builder.go @@ -18,7 +18,7 @@ type DirectoryRoleAssignmentSchedulesUnifiedRoleAssignmentScheduleItemRequestBui // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DirectoryRoleAssignmentSchedulesUnifiedRoleAssignmentScheduleItemRequestBuilderGetQueryParameters retrieve the schedule for an active role assignment operation. +// DirectoryRoleAssignmentSchedulesUnifiedRoleAssignmentScheduleItemRequestBuilderGetQueryParameters get roleAssignmentSchedules from roleManagement type DirectoryRoleAssignmentSchedulesUnifiedRoleAssignmentScheduleItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -85,12 +85,9 @@ func (m *DirectoryRoleAssignmentSchedulesUnifiedRoleAssignmentScheduleItemReques func (m *DirectoryRoleAssignmentSchedulesUnifiedRoleAssignmentScheduleItemRequestBuilder) DirectoryScope()(*DirectoryRoleAssignmentSchedulesItemDirectoryScopeRequestBuilder) { return NewDirectoryRoleAssignmentSchedulesItemDirectoryScopeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the schedule for an active role assignment operation. +// Get get roleAssignmentSchedules from roleManagement // returns a UnifiedRoleAssignmentScheduleable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleassignmentschedule-get?view=graph-rest-1.0 func (m *DirectoryRoleAssignmentSchedulesUnifiedRoleAssignmentScheduleItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DirectoryRoleAssignmentSchedulesUnifiedRoleAssignmentScheduleItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentScheduleable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -149,7 +146,7 @@ func (m *DirectoryRoleAssignmentSchedulesUnifiedRoleAssignmentScheduleItemReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the schedule for an active role assignment operation. +// ToGetRequestInformation get roleAssignmentSchedules from roleManagement // returns a *RequestInformation when successful func (m *DirectoryRoleAssignmentSchedulesUnifiedRoleAssignmentScheduleItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DirectoryRoleAssignmentSchedulesUnifiedRoleAssignmentScheduleItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/directory_role_assignments_request_builder.go b/rolemanagement/directory_role_assignments_request_builder.go index d01c719c98f..e2a744fb344 100644 --- a/rolemanagement/directory_role_assignments_request_builder.go +++ b/rolemanagement/directory_role_assignments_request_builder.go @@ -11,7 +11,7 @@ import ( type DirectoryRoleAssignmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DirectoryRoleAssignmentsRequestBuilderGetQueryParameters get a list of unifiedRoleAssignment objects for the provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra entitlement management)- Exchange Online +// DirectoryRoleAssignmentsRequestBuilderGetQueryParameters get roleAssignments from roleManagement type DirectoryRoleAssignmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewDirectoryRoleAssignmentsRequestBuilder(rawUrl string, requestAdapter i2a func (m *DirectoryRoleAssignmentsRequestBuilder) Count()(*DirectoryRoleAssignmentsCountRequestBuilder) { return NewDirectoryRoleAssignmentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of unifiedRoleAssignment objects for the provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra entitlement management)- Exchange Online +// Get get roleAssignments from roleManagement // returns a UnifiedRoleAssignmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplication-list-roleassignments?view=graph-rest-1.0 func (m *DirectoryRoleAssignmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *DirectoryRoleAssignmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *DirectoryRoleAssignmentsRequestBuilder) Get(ctx context.Context, reques } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentCollectionResponseable), nil } -// Post create a new unifiedRoleAssignment object. +// Post create new navigation property to roleAssignments for roleManagement // returns a UnifiedRoleAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplication-post-roleassignments?view=graph-rest-1.0 func (m *DirectoryRoleAssignmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentable, requestConfiguration *DirectoryRoleAssignmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *DirectoryRoleAssignmentsRequestBuilder) Post(ctx context.Context, body } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentable), nil } -// ToGetRequestInformation get a list of unifiedRoleAssignment objects for the provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra entitlement management)- Exchange Online +// ToGetRequestInformation get roleAssignments from roleManagement // returns a *RequestInformation when successful func (m *DirectoryRoleAssignmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DirectoryRoleAssignmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *DirectoryRoleAssignmentsRequestBuilder) ToGetRequestInformation(ctx con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new unifiedRoleAssignment object. +// ToPostRequestInformation create new navigation property to roleAssignments for roleManagement // returns a *RequestInformation when successful func (m *DirectoryRoleAssignmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentable, requestConfiguration *DirectoryRoleAssignmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/directory_role_assignments_unified_role_assignment_item_request_builder.go b/rolemanagement/directory_role_assignments_unified_role_assignment_item_request_builder.go index 73032277179..e6d28361743 100644 --- a/rolemanagement/directory_role_assignments_unified_role_assignment_item_request_builder.go +++ b/rolemanagement/directory_role_assignments_unified_role_assignment_item_request_builder.go @@ -18,7 +18,7 @@ type DirectoryRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilderDeleteReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DirectoryRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a unifiedRoleAssignment object. +// DirectoryRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilderGetQueryParameters get roleAssignments from roleManagement type DirectoryRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewDirectoryRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder(rawUrl s urlParams["request-raw-url"] = rawUrl return NewDirectoryRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a unifiedRoleAssignment object. +// Delete delete navigation property roleAssignments for roleManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleassignment-delete?view=graph-rest-1.0 func (m *DirectoryRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *DirectoryRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -83,12 +80,9 @@ func (m *DirectoryRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) Delete func (m *DirectoryRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) DirectoryScope()(*DirectoryRoleAssignmentsItemDirectoryScopeRequestBuilder) { return NewDirectoryRoleAssignmentsItemDirectoryScopeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties and relationships of a unifiedRoleAssignment object. +// Get get roleAssignments from roleManagement // returns a UnifiedRoleAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleassignment-get?view=graph-rest-1.0 func (m *DirectoryRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DirectoryRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -136,7 +130,7 @@ func (m *DirectoryRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) Princi func (m *DirectoryRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) RoleDefinition()(*DirectoryRoleAssignmentsItemRoleDefinitionRequestBuilder) { return NewDirectoryRoleAssignmentsItemRoleDefinitionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a unifiedRoleAssignment object. +// ToDeleteRequestInformation delete navigation property roleAssignments for roleManagement // returns a *RequestInformation when successful func (m *DirectoryRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *DirectoryRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -147,7 +141,7 @@ func (m *DirectoryRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) ToDele requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a unifiedRoleAssignment object. +// ToGetRequestInformation get roleAssignments from roleManagement // returns a *RequestInformation when successful func (m *DirectoryRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DirectoryRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/directory_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go b/rolemanagement/directory_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go index 978baecef42..809022a1a37 100644 --- a/rolemanagement/directory_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go +++ b/rolemanagement/directory_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go @@ -10,7 +10,7 @@ import ( type DirectoryRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DirectoryRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters invoke function assignedPrincipals +// DirectoryRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. type DirectoryRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -57,10 +57,13 @@ func NewDirectoryRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectorySco urlParams["request-raw-url"] = rawUrl return NewDirectoryRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function assignedPrincipals +// Get get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. // Deprecated: This method is obsolete. Use GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse instead. // returns a DirectoryRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroledefinition-assignedprincipals?view=graph-rest-beta func (m *DirectoryRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder) Get(ctx context.Context, requestConfiguration *DirectoryRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration)(DirectoryRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,9 +81,12 @@ func (m *DirectoryRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectorySc } return res.(DirectoryRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponseable), nil } -// GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse invoke function assignedPrincipals +// GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. // returns a DirectoryRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroledefinition-assignedprincipals?view=graph-rest-beta func (m *DirectoryRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder) GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse(ctx context.Context, requestConfiguration *DirectoryRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration)(DirectoryRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,7 +104,7 @@ func (m *DirectoryRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectorySc } return res.(DirectoryRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponseable), nil } -// ToGetRequestInformation invoke function assignedPrincipals +// ToGetRequestInformation get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. // returns a *RequestInformation when successful func (m *DirectoryRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DirectoryRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/directory_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go b/rolemanagement/directory_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go index 567890f6e10..769fac0d753 100644 --- a/rolemanagement/directory_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go +++ b/rolemanagement/directory_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go @@ -10,7 +10,7 @@ import ( type DirectoryRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DirectoryRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters invoke function assignedPrincipals +// DirectoryRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. type DirectoryRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -57,10 +57,13 @@ func NewDirectoryRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipal urlParams["request-raw-url"] = rawUrl return NewDirectoryRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function assignedPrincipals +// Get get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. // Deprecated: This method is obsolete. Use GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse instead. // returns a DirectoryRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroledefinition-assignedprincipals?view=graph-rest-beta func (m *DirectoryRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder) Get(ctx context.Context, requestConfiguration *DirectoryRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration)(DirectoryRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,9 +81,12 @@ func (m *DirectoryRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipa } return res.(DirectoryRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponseable), nil } -// GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse invoke function assignedPrincipals +// GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. // returns a DirectoryRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroledefinition-assignedprincipals?view=graph-rest-beta func (m *DirectoryRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder) GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse(ctx context.Context, requestConfiguration *DirectoryRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration)(DirectoryRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,7 +104,7 @@ func (m *DirectoryRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipa } return res.(DirectoryRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponseable), nil } -// ToGetRequestInformation invoke function assignedPrincipals +// ToGetRequestInformation get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. // returns a *RequestInformation when successful func (m *DirectoryRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DirectoryRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/directory_role_definitions_request_builder.go b/rolemanagement/directory_role_definitions_request_builder.go index a41573cb72e..e41683dc62b 100644 --- a/rolemanagement/directory_role_definitions_request_builder.go +++ b/rolemanagement/directory_role_definitions_request_builder.go @@ -11,7 +11,7 @@ import ( type DirectoryRoleDefinitionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DirectoryRoleDefinitionsRequestBuilderGetQueryParameters get a list of unifiedRoleDefinition objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra ID) - entitlement management (Microsoft Entra ID)- Exchange Online +// DirectoryRoleDefinitionsRequestBuilderGetQueryParameters get roleDefinitions from roleManagement type DirectoryRoleDefinitionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewDirectoryRoleDefinitionsRequestBuilder(rawUrl string, requestAdapter i2a func (m *DirectoryRoleDefinitionsRequestBuilder) Count()(*DirectoryRoleDefinitionsCountRequestBuilder) { return NewDirectoryRoleDefinitionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of unifiedRoleDefinition objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra ID) - entitlement management (Microsoft Entra ID)- Exchange Online +// Get get roleDefinitions from roleManagement // returns a UnifiedRoleDefinitionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplication-list-roledefinitions?view=graph-rest-1.0 func (m *DirectoryRoleDefinitionsRequestBuilder) Get(ctx context.Context, requestConfiguration *DirectoryRoleDefinitionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleDefinitionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *DirectoryRoleDefinitionsRequestBuilder) Get(ctx context.Context, reques } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleDefinitionCollectionResponseable), nil } -// Post create a new unifiedRoleDefinition object for an RBAC provider. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) +// Post create new navigation property to roleDefinitions for roleManagement // returns a UnifiedRoleDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplication-post-roledefinitions?view=graph-rest-1.0 func (m *DirectoryRoleDefinitionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleDefinitionable, requestConfiguration *DirectoryRoleDefinitionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleDefinitionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *DirectoryRoleDefinitionsRequestBuilder) Post(ctx context.Context, body } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleDefinitionable), nil } -// ToGetRequestInformation get a list of unifiedRoleDefinition objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra ID) - entitlement management (Microsoft Entra ID)- Exchange Online +// ToGetRequestInformation get roleDefinitions from roleManagement // returns a *RequestInformation when successful func (m *DirectoryRoleDefinitionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DirectoryRoleDefinitionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *DirectoryRoleDefinitionsRequestBuilder) ToGetRequestInformation(ctx con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new unifiedRoleDefinition object for an RBAC provider. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) +// ToPostRequestInformation create new navigation property to roleDefinitions for roleManagement // returns a *RequestInformation when successful func (m *DirectoryRoleDefinitionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleDefinitionable, requestConfiguration *DirectoryRoleDefinitionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/directory_role_definitions_unified_role_definition_item_request_builder.go b/rolemanagement/directory_role_definitions_unified_role_definition_item_request_builder.go index e3ea5614b15..a8a9589d4cc 100644 --- a/rolemanagement/directory_role_definitions_unified_role_definition_item_request_builder.go +++ b/rolemanagement/directory_role_definitions_unified_role_definition_item_request_builder.go @@ -18,7 +18,7 @@ type DirectoryRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilderDeleteReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DirectoryRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilderGetQueryParameters get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online +// DirectoryRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilderGetQueryParameters get roleDefinitions from roleManagement type DirectoryRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewDirectoryRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder(rawUrl s urlParams["request-raw-url"] = rawUrl return NewDirectoryRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a unifiedRoleDefinition object for an RBAC provider. You cannot delete built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) +// Delete delete navigation property roleDefinitions for roleManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroledefinition-delete?view=graph-rest-1.0 func (m *DirectoryRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *DirectoryRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *DirectoryRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) Delete } return nil } -// Get get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online +// Get get roleDefinitions from roleManagement // returns a UnifiedRoleDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroledefinition-get?view=graph-rest-1.0 func (m *DirectoryRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DirectoryRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleDefinitionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -106,12 +100,9 @@ func (m *DirectoryRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) Get(ct func (m *DirectoryRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) InheritsPermissionsFrom()(*DirectoryRoleDefinitionsItemInheritsPermissionsFromRequestBuilder) { return NewDirectoryRoleDefinitionsItemInheritsPermissionsFromRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of a unifiedRoleDefinition object for an RBAC provider. You cannot update built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) +// Patch update the navigation property roleDefinitions in roleManagement // returns a UnifiedRoleDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroledefinition-update?view=graph-rest-1.0 func (m *DirectoryRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleDefinitionable, requestConfiguration *DirectoryRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleDefinitionable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -129,7 +120,7 @@ func (m *DirectoryRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) Patch( } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleDefinitionable), nil } -// ToDeleteRequestInformation delete a unifiedRoleDefinition object for an RBAC provider. You cannot delete built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) +// ToDeleteRequestInformation delete navigation property roleDefinitions for roleManagement // returns a *RequestInformation when successful func (m *DirectoryRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *DirectoryRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -140,7 +131,7 @@ func (m *DirectoryRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) ToDele requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online +// ToGetRequestInformation get roleDefinitions from roleManagement // returns a *RequestInformation when successful func (m *DirectoryRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DirectoryRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -154,7 +145,7 @@ func (m *DirectoryRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) ToGetR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a unifiedRoleDefinition object for an RBAC provider. You cannot update built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) +// ToPatchRequestInformation update the navigation property roleDefinitions in roleManagement // returns a *RequestInformation when successful func (m *DirectoryRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleDefinitionable, requestConfiguration *DirectoryRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/directory_role_eligibility_schedule_instances_filter_by_current_user_with_on_request_builder.go b/rolemanagement/directory_role_eligibility_schedule_instances_filter_by_current_user_with_on_request_builder.go index 50c4d8d3246..ea0f9a6206c 100644 --- a/rolemanagement/directory_role_eligibility_schedule_instances_filter_by_current_user_with_on_request_builder.go +++ b/rolemanagement/directory_role_eligibility_schedule_instances_filter_by_current_user_with_on_request_builder.go @@ -10,7 +10,7 @@ import ( type DirectoryRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DirectoryRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters invoke function filterByCurrentUser +// DirectoryRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters get a list of the unifiedRoleEligibilityScheduleInstance objects and their properties associated with a particular principal object. type DirectoryRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewDirectoryRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnReques urlParams["request-raw-url"] = rawUrl return NewDirectoryRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function filterByCurrentUser +// Get get a list of the unifiedRoleEligibilityScheduleInstance objects and their properties associated with a particular principal object. // Deprecated: This method is obsolete. Use GetAsFilterByCurrentUserWithOnGetResponse instead. // returns a DirectoryRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleeligibilityscheduleinstance-filterbycurrentuser?view=graph-rest-beta func (m *DirectoryRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilder) Get(ctx context.Context, requestConfiguration *DirectoryRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(DirectoryRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *DirectoryRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnReque } return res.(DirectoryRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnResponseable), nil } -// GetAsFilterByCurrentUserWithOnGetResponse invoke function filterByCurrentUser +// GetAsFilterByCurrentUserWithOnGetResponse get a list of the unifiedRoleEligibilityScheduleInstance objects and their properties associated with a particular principal object. // returns a DirectoryRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleeligibilityscheduleinstance-filterbycurrentuser?view=graph-rest-beta func (m *DirectoryRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilder) GetAsFilterByCurrentUserWithOnGetResponse(ctx context.Context, requestConfiguration *DirectoryRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(DirectoryRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *DirectoryRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnReque } return res.(DirectoryRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnGetResponseable), nil } -// ToGetRequestInformation invoke function filterByCurrentUser +// ToGetRequestInformation get a list of the unifiedRoleEligibilityScheduleInstance objects and their properties associated with a particular principal object. // returns a *RequestInformation when successful func (m *DirectoryRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DirectoryRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/directory_role_eligibility_schedule_instances_request_builder.go b/rolemanagement/directory_role_eligibility_schedule_instances_request_builder.go index 74a08c0db6f..a43512496a9 100644 --- a/rolemanagement/directory_role_eligibility_schedule_instances_request_builder.go +++ b/rolemanagement/directory_role_eligibility_schedule_instances_request_builder.go @@ -11,7 +11,7 @@ import ( type DirectoryRoleEligibilityScheduleInstancesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DirectoryRoleEligibilityScheduleInstancesRequestBuilderGetQueryParameters get a list of the unifiedRoleEligibilityScheduleInstance objects and their properties. +// DirectoryRoleEligibilityScheduleInstancesRequestBuilderGetQueryParameters get roleEligibilityScheduleInstances from roleManagement type DirectoryRoleEligibilityScheduleInstancesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *DirectoryRoleEligibilityScheduleInstancesRequestBuilder) Count()(*Direc func (m *DirectoryRoleEligibilityScheduleInstancesRequestBuilder) FilterByCurrentUserWithOn(on *string)(*DirectoryRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilder) { return NewDirectoryRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, on) } -// Get get a list of the unifiedRoleEligibilityScheduleInstance objects and their properties. +// Get get roleEligibilityScheduleInstances from roleManagement // returns a UnifiedRoleEligibilityScheduleInstanceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplication-list-roleeligibilityscheduleinstances?view=graph-rest-1.0 func (m *DirectoryRoleEligibilityScheduleInstancesRequestBuilder) Get(ctx context.Context, requestConfiguration *DirectoryRoleEligibilityScheduleInstancesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleEligibilityScheduleInstanceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *DirectoryRoleEligibilityScheduleInstancesRequestBuilder) Post(ctx conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleEligibilityScheduleInstanceable), nil } -// ToGetRequestInformation get a list of the unifiedRoleEligibilityScheduleInstance objects and their properties. +// ToGetRequestInformation get roleEligibilityScheduleInstances from roleManagement // returns a *RequestInformation when successful func (m *DirectoryRoleEligibilityScheduleInstancesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DirectoryRoleEligibilityScheduleInstancesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/directory_role_eligibility_schedule_instances_unified_role_eligibility_schedule_instance_item_request_builder.go b/rolemanagement/directory_role_eligibility_schedule_instances_unified_role_eligibility_schedule_instance_item_request_builder.go index ce5c3a1d58b..0ab6add1640 100644 --- a/rolemanagement/directory_role_eligibility_schedule_instances_unified_role_eligibility_schedule_instance_item_request_builder.go +++ b/rolemanagement/directory_role_eligibility_schedule_instances_unified_role_eligibility_schedule_instance_item_request_builder.go @@ -18,7 +18,7 @@ type DirectoryRoleEligibilityScheduleInstancesUnifiedRoleEligibilityScheduleInst // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DirectoryRoleEligibilityScheduleInstancesUnifiedRoleEligibilityScheduleInstanceItemRequestBuilderGetQueryParameters read the properties and relationships of an unifiedRoleEligibilityScheduleInstance object. +// DirectoryRoleEligibilityScheduleInstancesUnifiedRoleEligibilityScheduleInstanceItemRequestBuilderGetQueryParameters get roleEligibilityScheduleInstances from roleManagement type DirectoryRoleEligibilityScheduleInstancesUnifiedRoleEligibilityScheduleInstanceItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -80,12 +80,9 @@ func (m *DirectoryRoleEligibilityScheduleInstancesUnifiedRoleEligibilitySchedule func (m *DirectoryRoleEligibilityScheduleInstancesUnifiedRoleEligibilityScheduleInstanceItemRequestBuilder) DirectoryScope()(*DirectoryRoleEligibilityScheduleInstancesItemDirectoryScopeRequestBuilder) { return NewDirectoryRoleEligibilityScheduleInstancesItemDirectoryScopeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of an unifiedRoleEligibilityScheduleInstance object. +// Get get roleEligibilityScheduleInstances from roleManagement // returns a UnifiedRoleEligibilityScheduleInstanceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleeligibilityscheduleinstance-get?view=graph-rest-1.0 func (m *DirectoryRoleEligibilityScheduleInstancesUnifiedRoleEligibilityScheduleInstanceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DirectoryRoleEligibilityScheduleInstancesUnifiedRoleEligibilityScheduleInstanceItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleEligibilityScheduleInstanceable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -144,7 +141,7 @@ func (m *DirectoryRoleEligibilityScheduleInstancesUnifiedRoleEligibilitySchedule requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an unifiedRoleEligibilityScheduleInstance object. +// ToGetRequestInformation get roleEligibilityScheduleInstances from roleManagement // returns a *RequestInformation when successful func (m *DirectoryRoleEligibilityScheduleInstancesUnifiedRoleEligibilityScheduleInstanceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DirectoryRoleEligibilityScheduleInstancesUnifiedRoleEligibilityScheduleInstanceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/directory_role_eligibility_schedule_requests_filter_by_current_user_with_on_request_builder.go b/rolemanagement/directory_role_eligibility_schedule_requests_filter_by_current_user_with_on_request_builder.go index 0b156736443..76b7cb32729 100644 --- a/rolemanagement/directory_role_eligibility_schedule_requests_filter_by_current_user_with_on_request_builder.go +++ b/rolemanagement/directory_role_eligibility_schedule_requests_filter_by_current_user_with_on_request_builder.go @@ -10,7 +10,7 @@ import ( type DirectoryRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DirectoryRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters invoke function filterByCurrentUser +// DirectoryRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters get a list of the unifiedRoleEligibilityScheduleRequest objects and their properties associated with the currently signed in principal object. type DirectoryRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewDirectoryRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnRequest urlParams["request-raw-url"] = rawUrl return NewDirectoryRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function filterByCurrentUser +// Get get a list of the unifiedRoleEligibilityScheduleRequest objects and their properties associated with the currently signed in principal object. // Deprecated: This method is obsolete. Use GetAsFilterByCurrentUserWithOnGetResponse instead. // returns a DirectoryRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleeligibilityschedulerequest-filterbycurrentuser?view=graph-rest-beta func (m *DirectoryRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilder) Get(ctx context.Context, requestConfiguration *DirectoryRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(DirectoryRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *DirectoryRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnReques } return res.(DirectoryRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnResponseable), nil } -// GetAsFilterByCurrentUserWithOnGetResponse invoke function filterByCurrentUser +// GetAsFilterByCurrentUserWithOnGetResponse get a list of the unifiedRoleEligibilityScheduleRequest objects and their properties associated with the currently signed in principal object. // returns a DirectoryRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleeligibilityschedulerequest-filterbycurrentuser?view=graph-rest-beta func (m *DirectoryRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilder) GetAsFilterByCurrentUserWithOnGetResponse(ctx context.Context, requestConfiguration *DirectoryRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(DirectoryRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *DirectoryRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnReques } return res.(DirectoryRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnGetResponseable), nil } -// ToGetRequestInformation invoke function filterByCurrentUser +// ToGetRequestInformation get a list of the unifiedRoleEligibilityScheduleRequest objects and their properties associated with the currently signed in principal object. // returns a *RequestInformation when successful func (m *DirectoryRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DirectoryRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/directory_role_eligibility_schedule_requests_item_cancel_request_builder.go b/rolemanagement/directory_role_eligibility_schedule_requests_item_cancel_request_builder.go index de44a58836d..ca3e27d8f0d 100644 --- a/rolemanagement/directory_role_eligibility_schedule_requests_item_cancel_request_builder.go +++ b/rolemanagement/directory_role_eligibility_schedule_requests_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewDirectoryRoleEligibilityScheduleRequestsItemCancelRequestBuilder(rawUrl // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleeligibilityschedulerequest-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleeligibilityschedulerequest-cancel?view=graph-rest-beta func (m *DirectoryRoleEligibilityScheduleRequestsItemCancelRequestBuilder) Post(ctx context.Context, requestConfiguration *DirectoryRoleEligibilityScheduleRequestsItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/rolemanagement/directory_role_eligibility_schedule_requests_request_builder.go b/rolemanagement/directory_role_eligibility_schedule_requests_request_builder.go index 93143c49b31..17d7d930025 100644 --- a/rolemanagement/directory_role_eligibility_schedule_requests_request_builder.go +++ b/rolemanagement/directory_role_eligibility_schedule_requests_request_builder.go @@ -11,7 +11,7 @@ import ( type DirectoryRoleEligibilityScheduleRequestsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DirectoryRoleEligibilityScheduleRequestsRequestBuilderGetQueryParameters get a list of the unifiedRoleEligibilityScheduleRequest objects and their properties. +// DirectoryRoleEligibilityScheduleRequestsRequestBuilderGetQueryParameters get roleEligibilityScheduleRequests from roleManagement type DirectoryRoleEligibilityScheduleRequestsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *DirectoryRoleEligibilityScheduleRequestsRequestBuilder) Count()(*Direct func (m *DirectoryRoleEligibilityScheduleRequestsRequestBuilder) FilterByCurrentUserWithOn(on *string)(*DirectoryRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilder) { return NewDirectoryRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, on) } -// Get get a list of the unifiedRoleEligibilityScheduleRequest objects and their properties. +// Get get roleEligibilityScheduleRequests from roleManagement // returns a UnifiedRoleEligibilityScheduleRequestCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplication-list-roleeligibilityschedulerequests?view=graph-rest-1.0 func (m *DirectoryRoleEligibilityScheduleRequestsRequestBuilder) Get(ctx context.Context, requestConfiguration *DirectoryRoleEligibilityScheduleRequestsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleEligibilityScheduleRequestCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *DirectoryRoleEligibilityScheduleRequestsRequestBuilder) Get(ctx context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleEligibilityScheduleRequestCollectionResponseable), nil } -// Post create a new unifiedRoleEligibilityScheduleRequest object. This operation allows both admins and eligible users to add, revoke, or extend eligible assignments. +// Post create new navigation property to roleEligibilityScheduleRequests for roleManagement // returns a UnifiedRoleEligibilityScheduleRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplication-post-roleeligibilityschedulerequests?view=graph-rest-1.0 func (m *DirectoryRoleEligibilityScheduleRequestsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleEligibilityScheduleRequestable, requestConfiguration *DirectoryRoleEligibilityScheduleRequestsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleEligibilityScheduleRequestable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *DirectoryRoleEligibilityScheduleRequestsRequestBuilder) Post(ctx contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleEligibilityScheduleRequestable), nil } -// ToGetRequestInformation get a list of the unifiedRoleEligibilityScheduleRequest objects and their properties. +// ToGetRequestInformation get roleEligibilityScheduleRequests from roleManagement // returns a *RequestInformation when successful func (m *DirectoryRoleEligibilityScheduleRequestsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DirectoryRoleEligibilityScheduleRequestsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *DirectoryRoleEligibilityScheduleRequestsRequestBuilder) ToGetRequestInf requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new unifiedRoleEligibilityScheduleRequest object. This operation allows both admins and eligible users to add, revoke, or extend eligible assignments. +// ToPostRequestInformation create new navigation property to roleEligibilityScheduleRequests for roleManagement // returns a *RequestInformation when successful func (m *DirectoryRoleEligibilityScheduleRequestsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleEligibilityScheduleRequestable, requestConfiguration *DirectoryRoleEligibilityScheduleRequestsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/directory_role_eligibility_schedule_requests_unified_role_eligibility_schedule_request_item_request_builder.go b/rolemanagement/directory_role_eligibility_schedule_requests_unified_role_eligibility_schedule_request_item_request_builder.go index dea6fb43ac3..bf6d046fd49 100644 --- a/rolemanagement/directory_role_eligibility_schedule_requests_unified_role_eligibility_schedule_request_item_request_builder.go +++ b/rolemanagement/directory_role_eligibility_schedule_requests_unified_role_eligibility_schedule_request_item_request_builder.go @@ -18,7 +18,7 @@ type DirectoryRoleEligibilityScheduleRequestsUnifiedRoleEligibilityScheduleReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DirectoryRoleEligibilityScheduleRequestsUnifiedRoleEligibilityScheduleRequestItemRequestBuilderGetQueryParameters read the properties and relationships of an unifiedRoleEligibilityScheduleRequest object. +// DirectoryRoleEligibilityScheduleRequestsUnifiedRoleEligibilityScheduleRequestItemRequestBuilderGetQueryParameters get roleEligibilityScheduleRequests from roleManagement type DirectoryRoleEligibilityScheduleRequestsUnifiedRoleEligibilityScheduleRequestItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -85,12 +85,9 @@ func (m *DirectoryRoleEligibilityScheduleRequestsUnifiedRoleEligibilityScheduleR func (m *DirectoryRoleEligibilityScheduleRequestsUnifiedRoleEligibilityScheduleRequestItemRequestBuilder) DirectoryScope()(*DirectoryRoleEligibilityScheduleRequestsItemDirectoryScopeRequestBuilder) { return NewDirectoryRoleEligibilityScheduleRequestsItemDirectoryScopeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of an unifiedRoleEligibilityScheduleRequest object. +// Get get roleEligibilityScheduleRequests from roleManagement // returns a UnifiedRoleEligibilityScheduleRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleeligibilityschedulerequest-get?view=graph-rest-1.0 func (m *DirectoryRoleEligibilityScheduleRequestsUnifiedRoleEligibilityScheduleRequestItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DirectoryRoleEligibilityScheduleRequestsUnifiedRoleEligibilityScheduleRequestItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleEligibilityScheduleRequestable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -154,7 +151,7 @@ func (m *DirectoryRoleEligibilityScheduleRequestsUnifiedRoleEligibilityScheduleR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an unifiedRoleEligibilityScheduleRequest object. +// ToGetRequestInformation get roleEligibilityScheduleRequests from roleManagement // returns a *RequestInformation when successful func (m *DirectoryRoleEligibilityScheduleRequestsUnifiedRoleEligibilityScheduleRequestItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DirectoryRoleEligibilityScheduleRequestsUnifiedRoleEligibilityScheduleRequestItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/directory_role_eligibility_schedules_filter_by_current_user_with_on_request_builder.go b/rolemanagement/directory_role_eligibility_schedules_filter_by_current_user_with_on_request_builder.go index 9fd4dcfda82..afb305b4915 100644 --- a/rolemanagement/directory_role_eligibility_schedules_filter_by_current_user_with_on_request_builder.go +++ b/rolemanagement/directory_role_eligibility_schedules_filter_by_current_user_with_on_request_builder.go @@ -10,7 +10,7 @@ import ( type DirectoryRoleEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DirectoryRoleEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters invoke function filterByCurrentUser +// DirectoryRoleEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters get a list of the unifiedRoleEligibilitySchedule objects and their properties associated with a particular principal object. type DirectoryRoleEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewDirectoryRoleEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilder urlParams["request-raw-url"] = rawUrl return NewDirectoryRoleEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function filterByCurrentUser +// Get get a list of the unifiedRoleEligibilitySchedule objects and their properties associated with a particular principal object. // Deprecated: This method is obsolete. Use GetAsFilterByCurrentUserWithOnGetResponse instead. // returns a DirectoryRoleEligibilitySchedulesFilterByCurrentUserWithOnResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleeligibilityschedule-filterbycurrentuser?view=graph-rest-beta func (m *DirectoryRoleEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilder) Get(ctx context.Context, requestConfiguration *DirectoryRoleEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(DirectoryRoleEligibilitySchedulesFilterByCurrentUserWithOnResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *DirectoryRoleEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilde } return res.(DirectoryRoleEligibilitySchedulesFilterByCurrentUserWithOnResponseable), nil } -// GetAsFilterByCurrentUserWithOnGetResponse invoke function filterByCurrentUser +// GetAsFilterByCurrentUserWithOnGetResponse get a list of the unifiedRoleEligibilitySchedule objects and their properties associated with a particular principal object. // returns a DirectoryRoleEligibilitySchedulesFilterByCurrentUserWithOnGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleeligibilityschedule-filterbycurrentuser?view=graph-rest-beta func (m *DirectoryRoleEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilder) GetAsFilterByCurrentUserWithOnGetResponse(ctx context.Context, requestConfiguration *DirectoryRoleEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(DirectoryRoleEligibilitySchedulesFilterByCurrentUserWithOnGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *DirectoryRoleEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilde } return res.(DirectoryRoleEligibilitySchedulesFilterByCurrentUserWithOnGetResponseable), nil } -// ToGetRequestInformation invoke function filterByCurrentUser +// ToGetRequestInformation get a list of the unifiedRoleEligibilitySchedule objects and their properties associated with a particular principal object. // returns a *RequestInformation when successful func (m *DirectoryRoleEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DirectoryRoleEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/directory_role_eligibility_schedules_request_builder.go b/rolemanagement/directory_role_eligibility_schedules_request_builder.go index d7f345d50b3..508ffe636ae 100644 --- a/rolemanagement/directory_role_eligibility_schedules_request_builder.go +++ b/rolemanagement/directory_role_eligibility_schedules_request_builder.go @@ -11,7 +11,7 @@ import ( type DirectoryRoleEligibilitySchedulesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DirectoryRoleEligibilitySchedulesRequestBuilderGetQueryParameters get a list of the unifiedRoleEligibilitySchedule objects and their properties. +// DirectoryRoleEligibilitySchedulesRequestBuilderGetQueryParameters get roleEligibilitySchedules from roleManagement type DirectoryRoleEligibilitySchedulesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *DirectoryRoleEligibilitySchedulesRequestBuilder) Count()(*DirectoryRole func (m *DirectoryRoleEligibilitySchedulesRequestBuilder) FilterByCurrentUserWithOn(on *string)(*DirectoryRoleEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilder) { return NewDirectoryRoleEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, on) } -// Get get a list of the unifiedRoleEligibilitySchedule objects and their properties. +// Get get roleEligibilitySchedules from roleManagement // returns a UnifiedRoleEligibilityScheduleCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplication-list-roleeligibilityschedules?view=graph-rest-1.0 func (m *DirectoryRoleEligibilitySchedulesRequestBuilder) Get(ctx context.Context, requestConfiguration *DirectoryRoleEligibilitySchedulesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleEligibilityScheduleCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *DirectoryRoleEligibilitySchedulesRequestBuilder) Post(ctx context.Conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleEligibilityScheduleable), nil } -// ToGetRequestInformation get a list of the unifiedRoleEligibilitySchedule objects and their properties. +// ToGetRequestInformation get roleEligibilitySchedules from roleManagement // returns a *RequestInformation when successful func (m *DirectoryRoleEligibilitySchedulesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DirectoryRoleEligibilitySchedulesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/directory_role_eligibility_schedules_unified_role_eligibility_schedule_item_request_builder.go b/rolemanagement/directory_role_eligibility_schedules_unified_role_eligibility_schedule_item_request_builder.go index 3d65c645c22..6d31d0555f7 100644 --- a/rolemanagement/directory_role_eligibility_schedules_unified_role_eligibility_schedule_item_request_builder.go +++ b/rolemanagement/directory_role_eligibility_schedules_unified_role_eligibility_schedule_item_request_builder.go @@ -18,7 +18,7 @@ type DirectoryRoleEligibilitySchedulesUnifiedRoleEligibilityScheduleItemRequestB // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DirectoryRoleEligibilitySchedulesUnifiedRoleEligibilityScheduleItemRequestBuilderGetQueryParameters read the properties and relationships of an unifiedRoleEligibilitySchedule object. +// DirectoryRoleEligibilitySchedulesUnifiedRoleEligibilityScheduleItemRequestBuilderGetQueryParameters get roleEligibilitySchedules from roleManagement type DirectoryRoleEligibilitySchedulesUnifiedRoleEligibilityScheduleItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -80,12 +80,9 @@ func (m *DirectoryRoleEligibilitySchedulesUnifiedRoleEligibilityScheduleItemRequ func (m *DirectoryRoleEligibilitySchedulesUnifiedRoleEligibilityScheduleItemRequestBuilder) DirectoryScope()(*DirectoryRoleEligibilitySchedulesItemDirectoryScopeRequestBuilder) { return NewDirectoryRoleEligibilitySchedulesItemDirectoryScopeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of an unifiedRoleEligibilitySchedule object. +// Get get roleEligibilitySchedules from roleManagement // returns a UnifiedRoleEligibilityScheduleable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleeligibilityschedule-get?view=graph-rest-1.0 func (m *DirectoryRoleEligibilitySchedulesUnifiedRoleEligibilityScheduleItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DirectoryRoleEligibilitySchedulesUnifiedRoleEligibilityScheduleItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleEligibilityScheduleable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -144,7 +141,7 @@ func (m *DirectoryRoleEligibilitySchedulesUnifiedRoleEligibilityScheduleItemRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an unifiedRoleEligibilitySchedule object. +// ToGetRequestInformation get roleEligibilitySchedules from roleManagement // returns a *RequestInformation when successful func (m *DirectoryRoleEligibilitySchedulesUnifiedRoleEligibilityScheduleItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DirectoryRoleEligibilitySchedulesUnifiedRoleEligibilityScheduleItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/directory_role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.go b/rolemanagement/directory_role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.go index ed5b93b594e..d22e85625fc 100644 --- a/rolemanagement/directory_role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.go +++ b/rolemanagement/directory_role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.go @@ -10,7 +10,7 @@ import ( type DirectoryRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DirectoryRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilderGetQueryParameters invoke function roleScheduleInstances +// DirectoryRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilderGetQueryParameters retrieve both roleAssignmentScheduleInstances and roleEligibilityScheduleInstances. type DirectoryRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilderGetQueryParameters struct { // Usage: appScopeId='@appScopeId' AppScopeId *string `uriparametername:"appScopeId"` @@ -59,10 +59,13 @@ func NewDirectoryRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeId urlParams["request-raw-url"] = rawUrl return NewDirectoryRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function roleScheduleInstances +// Get retrieve both roleAssignmentScheduleInstances and roleEligibilityScheduleInstances. // Deprecated: This method is obsolete. Use GetAsRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdGetResponse instead. // returns a DirectoryRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplication-rolescheduleinstances?view=graph-rest-beta func (m *DirectoryRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilder) Get(ctx context.Context, requestConfiguration *DirectoryRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilderGetRequestConfiguration)(DirectoryRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -80,9 +83,12 @@ func (m *DirectoryRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeI } return res.(DirectoryRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdResponseable), nil } -// GetAsRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdGetResponse invoke function roleScheduleInstances +// GetAsRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdGetResponse retrieve both roleAssignmentScheduleInstances and roleEligibilityScheduleInstances. // returns a DirectoryRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplication-rolescheduleinstances?view=graph-rest-beta func (m *DirectoryRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilder) GetAsRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdGetResponse(ctx context.Context, requestConfiguration *DirectoryRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilderGetRequestConfiguration)(DirectoryRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -100,7 +106,7 @@ func (m *DirectoryRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeI } return res.(DirectoryRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdGetResponseable), nil } -// ToGetRequestInformation invoke function roleScheduleInstances +// ToGetRequestInformation retrieve both roleAssignmentScheduleInstances and roleEligibilityScheduleInstances. // returns a *RequestInformation when successful func (m *DirectoryRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DirectoryRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/directory_role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.go b/rolemanagement/directory_role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.go index 09036b30401..fb33c968480 100644 --- a/rolemanagement/directory_role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.go +++ b/rolemanagement/directory_role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.go @@ -10,7 +10,7 @@ import ( type DirectoryRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DirectoryRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilderGetQueryParameters invoke function roleSchedules +// DirectoryRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilderGetQueryParameters retrieve both roleAssignmentSchedules and roleEligibilitySchedules. type DirectoryRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilderGetQueryParameters struct { // Usage: appScopeId='@appScopeId' AppScopeId *string `uriparametername:"appScopeId"` @@ -59,10 +59,13 @@ func NewDirectoryRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScope urlParams["request-raw-url"] = rawUrl return NewDirectoryRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function roleSchedules +// Get retrieve both roleAssignmentSchedules and roleEligibilitySchedules. // Deprecated: This method is obsolete. Use GetAsRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdGetResponse instead. // returns a DirectoryRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplication-roleschedules?view=graph-rest-beta func (m *DirectoryRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilder) Get(ctx context.Context, requestConfiguration *DirectoryRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilderGetRequestConfiguration)(DirectoryRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -80,9 +83,12 @@ func (m *DirectoryRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScop } return res.(DirectoryRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdResponseable), nil } -// GetAsRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdGetResponse invoke function roleSchedules +// GetAsRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdGetResponse retrieve both roleAssignmentSchedules and roleEligibilitySchedules. // returns a DirectoryRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplication-roleschedules?view=graph-rest-beta func (m *DirectoryRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilder) GetAsRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdGetResponse(ctx context.Context, requestConfiguration *DirectoryRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilderGetRequestConfiguration)(DirectoryRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -100,7 +106,7 @@ func (m *DirectoryRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScop } return res.(DirectoryRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdGetResponseable), nil } -// ToGetRequestInformation invoke function roleSchedules +// ToGetRequestInformation retrieve both roleAssignmentSchedules and roleEligibilitySchedules. // returns a *RequestInformation when successful func (m *DirectoryRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DirectoryRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/directory_transitive_role_assignments_request_builder.go b/rolemanagement/directory_transitive_role_assignments_request_builder.go index 8d5b231497c..66ff6b26190 100644 --- a/rolemanagement/directory_transitive_role_assignments_request_builder.go +++ b/rolemanagement/directory_transitive_role_assignments_request_builder.go @@ -79,9 +79,6 @@ func (m *DirectoryTransitiveRoleAssignmentsRequestBuilder) Count()(*DirectoryTra // Get get transitiveRoleAssignments from roleManagement // returns a UnifiedRoleAssignmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplication-list-transitiveroleassignments?view=graph-rest-1.0 func (m *DirectoryTransitiveRoleAssignmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *DirectoryTransitiveRoleAssignmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/rolemanagement/enterprise_apps_item_resource_namespaces_item_resource_actions_request_builder.go b/rolemanagement/enterprise_apps_item_resource_namespaces_item_resource_actions_request_builder.go index e76f1a3bf16..672ecfa3fe0 100644 --- a/rolemanagement/enterprise_apps_item_resource_namespaces_item_resource_actions_request_builder.go +++ b/rolemanagement/enterprise_apps_item_resource_namespaces_item_resource_actions_request_builder.go @@ -11,7 +11,7 @@ import ( type EnterpriseAppsItemResourceNamespacesItemResourceActionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EnterpriseAppsItemResourceNamespacesItemResourceActionsRequestBuilderGetQueryParameters get a list of the unifiedRbacResourceAction objects and their properties. +// EnterpriseAppsItemResourceNamespacesItemResourceActionsRequestBuilderGetQueryParameters operations that an authorized principal is allowed to perform. type EnterpriseAppsItemResourceNamespacesItemResourceActionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewEnterpriseAppsItemResourceNamespacesItemResourceActionsRequestBuilder(ra func (m *EnterpriseAppsItemResourceNamespacesItemResourceActionsRequestBuilder) Count()(*EnterpriseAppsItemResourceNamespacesItemResourceActionsCountRequestBuilder) { return NewEnterpriseAppsItemResourceNamespacesItemResourceActionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the unifiedRbacResourceAction objects and their properties. +// Get operations that an authorized principal is allowed to perform. // returns a UnifiedRbacResourceActionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedrbacresourcenamespace-list-resourceactions?view=graph-rest-1.0 func (m *EnterpriseAppsItemResourceNamespacesItemResourceActionsRequestBuilder) Get(ctx context.Context, requestConfiguration *EnterpriseAppsItemResourceNamespacesItemResourceActionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRbacResourceActionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *EnterpriseAppsItemResourceNamespacesItemResourceActionsRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRbacResourceActionable), nil } -// ToGetRequestInformation get a list of the unifiedRbacResourceAction objects and their properties. +// ToGetRequestInformation operations that an authorized principal is allowed to perform. // returns a *RequestInformation when successful func (m *EnterpriseAppsItemResourceNamespacesItemResourceActionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EnterpriseAppsItemResourceNamespacesItemResourceActionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/enterprise_apps_item_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go b/rolemanagement/enterprise_apps_item_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go index 147326e1e27..dea8a83cef6 100644 --- a/rolemanagement/enterprise_apps_item_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go +++ b/rolemanagement/enterprise_apps_item_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go @@ -18,7 +18,7 @@ type EnterpriseAppsItemResourceNamespacesItemResourceActionsUnifiedRbacResourceA // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EnterpriseAppsItemResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilderGetQueryParameters read the properties and relationships of an unifiedRbacResourceAction object. +// EnterpriseAppsItemResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilderGetQueryParameters operations that an authorized principal is allowed to perform. type EnterpriseAppsItemResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *EnterpriseAppsItemResourceNamespacesItemResourceActionsUnifiedRbacResou } return nil } -// Get read the properties and relationships of an unifiedRbacResourceAction object. +// Get operations that an authorized principal is allowed to perform. // returns a UnifiedRbacResourceActionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedrbacresourceaction-get?view=graph-rest-1.0 func (m *EnterpriseAppsItemResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EnterpriseAppsItemResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRbacResourceActionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -134,7 +131,7 @@ func (m *EnterpriseAppsItemResourceNamespacesItemResourceActionsUnifiedRbacResou requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an unifiedRbacResourceAction object. +// ToGetRequestInformation operations that an authorized principal is allowed to perform. // returns a *RequestInformation when successful func (m *EnterpriseAppsItemResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EnterpriseAppsItemResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/enterprise_apps_item_resource_namespaces_request_builder.go b/rolemanagement/enterprise_apps_item_resource_namespaces_request_builder.go index 40a4d4068f2..f191a849f49 100644 --- a/rolemanagement/enterprise_apps_item_resource_namespaces_request_builder.go +++ b/rolemanagement/enterprise_apps_item_resource_namespaces_request_builder.go @@ -11,7 +11,7 @@ import ( type EnterpriseAppsItemResourceNamespacesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EnterpriseAppsItemResourceNamespacesRequestBuilderGetQueryParameters get a list of the unifiedRbacResourceNamespace objects and their properties. +// EnterpriseAppsItemResourceNamespacesRequestBuilderGetQueryParameters get resourceNamespaces from roleManagement type EnterpriseAppsItemResourceNamespacesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewEnterpriseAppsItemResourceNamespacesRequestBuilder(rawUrl string, reques func (m *EnterpriseAppsItemResourceNamespacesRequestBuilder) Count()(*EnterpriseAppsItemResourceNamespacesCountRequestBuilder) { return NewEnterpriseAppsItemResourceNamespacesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the unifiedRbacResourceNamespace objects and their properties. +// Get get resourceNamespaces from roleManagement // returns a UnifiedRbacResourceNamespaceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplicationmultiple-list-resourcenamespaces?view=graph-rest-1.0 func (m *EnterpriseAppsItemResourceNamespacesRequestBuilder) Get(ctx context.Context, requestConfiguration *EnterpriseAppsItemResourceNamespacesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRbacResourceNamespaceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *EnterpriseAppsItemResourceNamespacesRequestBuilder) Post(ctx context.Co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRbacResourceNamespaceable), nil } -// ToGetRequestInformation get a list of the unifiedRbacResourceNamespace objects and their properties. +// ToGetRequestInformation get resourceNamespaces from roleManagement // returns a *RequestInformation when successful func (m *EnterpriseAppsItemResourceNamespacesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EnterpriseAppsItemResourceNamespacesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/enterprise_apps_item_resource_namespaces_unified_rbac_resource_namespace_item_request_builder.go b/rolemanagement/enterprise_apps_item_resource_namespaces_unified_rbac_resource_namespace_item_request_builder.go index e82b3921d37..c42f3013eb2 100644 --- a/rolemanagement/enterprise_apps_item_resource_namespaces_unified_rbac_resource_namespace_item_request_builder.go +++ b/rolemanagement/enterprise_apps_item_resource_namespaces_unified_rbac_resource_namespace_item_request_builder.go @@ -18,7 +18,7 @@ type EnterpriseAppsItemResourceNamespacesUnifiedRbacResourceNamespaceItemRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EnterpriseAppsItemResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuilderGetQueryParameters read the properties and relationships of an unifiedRbacResourceNamespace object. +// EnterpriseAppsItemResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuilderGetQueryParameters get resourceNamespaces from roleManagement type EnterpriseAppsItemResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *EnterpriseAppsItemResourceNamespacesUnifiedRbacResourceNamespaceItemReq } return nil } -// Get read the properties and relationships of an unifiedRbacResourceNamespace object. +// Get get resourceNamespaces from roleManagement // returns a UnifiedRbacResourceNamespaceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedrbacresourcenamespace-get?view=graph-rest-1.0 func (m *EnterpriseAppsItemResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EnterpriseAppsItemResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRbacResourceNamespaceable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -134,7 +131,7 @@ func (m *EnterpriseAppsItemResourceNamespacesUnifiedRbacResourceNamespaceItemReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an unifiedRbacResourceNamespace object. +// ToGetRequestInformation get resourceNamespaces from roleManagement // returns a *RequestInformation when successful func (m *EnterpriseAppsItemResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EnterpriseAppsItemResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/enterprise_apps_item_role_assignment_approvals_filter_by_current_user_with_on_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_approvals_filter_by_current_user_with_on_request_builder.go index eeca020b4c4..3d1eb6b7ba0 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_approvals_filter_by_current_user_with_on_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_approvals_filter_by_current_user_with_on_request_builder.go @@ -10,7 +10,7 @@ import ( type EnterpriseAppsItemRoleAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EnterpriseAppsItemRoleAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters invoke function filterByCurrentUser +// EnterpriseAppsItemRoleAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters in Microsoft Entra entitlement management, return a collection of access package assignment approvals. The objects returned are those that are in scope for approval by the calling user. In PIM for groups, return a collection of assignment approvals. The objects returned are those that are in scope for approval by the calling user. type EnterpriseAppsItemRoleAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewEnterpriseAppsItemRoleAssignmentApprovalsFilterByCurrentUserWithOnReques urlParams["request-raw-url"] = rawUrl return NewEnterpriseAppsItemRoleAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function filterByCurrentUser +// Get in Microsoft Entra entitlement management, return a collection of access package assignment approvals. The objects returned are those that are in scope for approval by the calling user. In PIM for groups, return a collection of assignment approvals. The objects returned are those that are in scope for approval by the calling user. // Deprecated: This method is obsolete. Use GetAsFilterByCurrentUserWithOnGetResponse instead. // returns a EnterpriseAppsItemRoleAssignmentApprovalsFilterByCurrentUserWithOnResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/approval-filterbycurrentuser?view=graph-rest-beta func (m *EnterpriseAppsItemRoleAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilder) Get(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(EnterpriseAppsItemRoleAssignmentApprovalsFilterByCurrentUserWithOnResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *EnterpriseAppsItemRoleAssignmentApprovalsFilterByCurrentUserWithOnReque } return res.(EnterpriseAppsItemRoleAssignmentApprovalsFilterByCurrentUserWithOnResponseable), nil } -// GetAsFilterByCurrentUserWithOnGetResponse invoke function filterByCurrentUser +// GetAsFilterByCurrentUserWithOnGetResponse in Microsoft Entra entitlement management, return a collection of access package assignment approvals. The objects returned are those that are in scope for approval by the calling user. In PIM for groups, return a collection of assignment approvals. The objects returned are those that are in scope for approval by the calling user. // returns a EnterpriseAppsItemRoleAssignmentApprovalsFilterByCurrentUserWithOnGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/approval-filterbycurrentuser?view=graph-rest-beta func (m *EnterpriseAppsItemRoleAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilder) GetAsFilterByCurrentUserWithOnGetResponse(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(EnterpriseAppsItemRoleAssignmentApprovalsFilterByCurrentUserWithOnGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *EnterpriseAppsItemRoleAssignmentApprovalsFilterByCurrentUserWithOnReque } return res.(EnterpriseAppsItemRoleAssignmentApprovalsFilterByCurrentUserWithOnGetResponseable), nil } -// ToGetRequestInformation invoke function filterByCurrentUser +// ToGetRequestInformation in Microsoft Entra entitlement management, return a collection of access package assignment approvals. The objects returned are those that are in scope for approval by the calling user. In PIM for groups, return a collection of assignment approvals. The objects returned are those that are in scope for approval by the calling user. // returns a *RequestInformation when successful func (m *EnterpriseAppsItemRoleAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/enterprise_apps_item_role_assignment_approvals_item_steps_approval_step_item_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_approvals_item_steps_approval_step_item_request_builder.go index f32845ac0c8..3bd55167b06 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_approvals_item_steps_approval_step_item_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_approvals_item_steps_approval_step_item_request_builder.go @@ -18,7 +18,7 @@ type EnterpriseAppsItemRoleAssignmentApprovalsItemStepsApprovalStepItemRequestBu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EnterpriseAppsItemRoleAssignmentApprovalsItemStepsApprovalStepItemRequestBuilderGetQueryParameters retrieve the properties of an approvalStep object. +// EnterpriseAppsItemRoleAssignmentApprovalsItemStepsApprovalStepItemRequestBuilderGetQueryParameters used to represent the decision associated with a single step in the approval process configured in approvalStage. type EnterpriseAppsItemRoleAssignmentApprovalsItemStepsApprovalStepItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *EnterpriseAppsItemRoleAssignmentApprovalsItemStepsApprovalStepItemReque } return nil } -// Get retrieve the properties of an approvalStep object. +// Get used to represent the decision associated with a single step in the approval process configured in approvalStage. // returns a ApprovalStepable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/approvalstep-get?view=graph-rest-1.0 func (m *EnterpriseAppsItemRoleAssignmentApprovalsItemStepsApprovalStepItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleAssignmentApprovalsItemStepsApprovalStepItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalStepable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *EnterpriseAppsItemRoleAssignmentApprovalsItemStepsApprovalStepItemReque } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalStepable), nil } -// Patch apply approve or deny decision on an approvalStep object. +// Patch update the navigation property steps in roleManagement // returns a ApprovalStepable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/approvalstep-update?view=graph-rest-1.0 func (m *EnterpriseAppsItemRoleAssignmentApprovalsItemStepsApprovalStepItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalStepable, requestConfiguration *EnterpriseAppsItemRoleAssignmentApprovalsItemStepsApprovalStepItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalStepable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *EnterpriseAppsItemRoleAssignmentApprovalsItemStepsApprovalStepItemReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties of an approvalStep object. +// ToGetRequestInformation used to represent the decision associated with a single step in the approval process configured in approvalStage. // returns a *RequestInformation when successful func (m *EnterpriseAppsItemRoleAssignmentApprovalsItemStepsApprovalStepItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleAssignmentApprovalsItemStepsApprovalStepItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *EnterpriseAppsItemRoleAssignmentApprovalsItemStepsApprovalStepItemReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation apply approve or deny decision on an approvalStep object. +// ToPatchRequestInformation update the navigation property steps in roleManagement // returns a *RequestInformation when successful func (m *EnterpriseAppsItemRoleAssignmentApprovalsItemStepsApprovalStepItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalStepable, requestConfiguration *EnterpriseAppsItemRoleAssignmentApprovalsItemStepsApprovalStepItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/enterprise_apps_item_role_assignment_approvals_item_steps_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_approvals_item_steps_request_builder.go index f2ad9010293..ecbe5eff995 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_approvals_item_steps_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_approvals_item_steps_request_builder.go @@ -11,7 +11,7 @@ import ( type EnterpriseAppsItemRoleAssignmentApprovalsItemStepsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EnterpriseAppsItemRoleAssignmentApprovalsItemStepsRequestBuilderGetQueryParameters list the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: +// EnterpriseAppsItemRoleAssignmentApprovalsItemStepsRequestBuilderGetQueryParameters used to represent the decision associated with a single step in the approval process configured in approvalStage. type EnterpriseAppsItemRoleAssignmentApprovalsItemStepsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewEnterpriseAppsItemRoleAssignmentApprovalsItemStepsRequestBuilder(rawUrl func (m *EnterpriseAppsItemRoleAssignmentApprovalsItemStepsRequestBuilder) Count()(*EnterpriseAppsItemRoleAssignmentApprovalsItemStepsCountRequestBuilder) { return NewEnterpriseAppsItemRoleAssignmentApprovalsItemStepsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: +// Get used to represent the decision associated with a single step in the approval process configured in approvalStage. // returns a ApprovalStepCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/approval-list-steps?view=graph-rest-1.0 func (m *EnterpriseAppsItemRoleAssignmentApprovalsItemStepsRequestBuilder) Get(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleAssignmentApprovalsItemStepsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalStepCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *EnterpriseAppsItemRoleAssignmentApprovalsItemStepsRequestBuilder) Post( } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalStepable), nil } -// ToGetRequestInformation list the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: +// ToGetRequestInformation used to represent the decision associated with a single step in the approval process configured in approvalStage. // returns a *RequestInformation when successful func (m *EnterpriseAppsItemRoleAssignmentApprovalsItemStepsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleAssignmentApprovalsItemStepsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_filter_by_current_user_with_on_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_filter_by_current_user_with_on_request_builder.go index ac751d4e53e..bf280c28768 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_filter_by_current_user_with_on_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_filter_by_current_user_with_on_request_builder.go @@ -10,7 +10,7 @@ import ( type EnterpriseAppsItemRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EnterpriseAppsItemRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters invoke function filterByCurrentUser +// EnterpriseAppsItemRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters get the instances of active role assignments for the calling principal. type EnterpriseAppsItemRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewEnterpriseAppsItemRoleAssignmentScheduleInstancesFilterByCurrentUserWith urlParams["request-raw-url"] = rawUrl return NewEnterpriseAppsItemRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function filterByCurrentUser +// Get get the instances of active role assignments for the calling principal. // Deprecated: This method is obsolete. Use GetAsFilterByCurrentUserWithOnGetResponse instead. // returns a EnterpriseAppsItemRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleassignmentscheduleinstance-filterbycurrentuser?view=graph-rest-beta func (m *EnterpriseAppsItemRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilder) Get(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(EnterpriseAppsItemRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *EnterpriseAppsItemRoleAssignmentScheduleInstancesFilterByCurrentUserWit } return res.(EnterpriseAppsItemRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnResponseable), nil } -// GetAsFilterByCurrentUserWithOnGetResponse invoke function filterByCurrentUser +// GetAsFilterByCurrentUserWithOnGetResponse get the instances of active role assignments for the calling principal. // returns a EnterpriseAppsItemRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleassignmentscheduleinstance-filterbycurrentuser?view=graph-rest-beta func (m *EnterpriseAppsItemRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilder) GetAsFilterByCurrentUserWithOnGetResponse(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(EnterpriseAppsItemRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *EnterpriseAppsItemRoleAssignmentScheduleInstancesFilterByCurrentUserWit } return res.(EnterpriseAppsItemRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnGetResponseable), nil } -// ToGetRequestInformation invoke function filterByCurrentUser +// ToGetRequestInformation get the instances of active role assignments for the calling principal. // returns a *RequestInformation when successful func (m *EnterpriseAppsItemRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_request_builder.go index 00aaa61c8b2..495ed05aff5 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_request_builder.go @@ -11,7 +11,7 @@ import ( type EnterpriseAppsItemRoleAssignmentScheduleInstancesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EnterpriseAppsItemRoleAssignmentScheduleInstancesRequestBuilderGetQueryParameters get the instances of active role assignments in your tenant. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. +// EnterpriseAppsItemRoleAssignmentScheduleInstancesRequestBuilderGetQueryParameters get roleAssignmentScheduleInstances from roleManagement type EnterpriseAppsItemRoleAssignmentScheduleInstancesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *EnterpriseAppsItemRoleAssignmentScheduleInstancesRequestBuilder) Count( func (m *EnterpriseAppsItemRoleAssignmentScheduleInstancesRequestBuilder) FilterByCurrentUserWithOn(on *string)(*EnterpriseAppsItemRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilder) { return NewEnterpriseAppsItemRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, on) } -// Get get the instances of active role assignments in your tenant. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. +// Get get roleAssignmentScheduleInstances from roleManagement // returns a UnifiedRoleAssignmentScheduleInstanceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplication-list-roleassignmentscheduleinstances?view=graph-rest-1.0 func (m *EnterpriseAppsItemRoleAssignmentScheduleInstancesRequestBuilder) Get(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleAssignmentScheduleInstancesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentScheduleInstanceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *EnterpriseAppsItemRoleAssignmentScheduleInstancesRequestBuilder) Post(c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentScheduleInstanceable), nil } -// ToGetRequestInformation get the instances of active role assignments in your tenant. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. +// ToGetRequestInformation get roleAssignmentScheduleInstances from roleManagement // returns a *RequestInformation when successful func (m *EnterpriseAppsItemRoleAssignmentScheduleInstancesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleAssignmentScheduleInstancesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_unified_role_assignment_schedule_instance_item_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_unified_role_assignment_schedule_instance_item_request_builder.go index 92552189e38..6e9855ed697 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_unified_role_assignment_schedule_instance_item_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_unified_role_assignment_schedule_instance_item_request_builder.go @@ -18,7 +18,7 @@ type EnterpriseAppsItemRoleAssignmentScheduleInstancesUnifiedRoleAssignmentSched // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EnterpriseAppsItemRoleAssignmentScheduleInstancesUnifiedRoleAssignmentScheduleInstanceItemRequestBuilderGetQueryParameters get the instance of an active role assignment. +// EnterpriseAppsItemRoleAssignmentScheduleInstancesUnifiedRoleAssignmentScheduleInstanceItemRequestBuilderGetQueryParameters get roleAssignmentScheduleInstances from roleManagement type EnterpriseAppsItemRoleAssignmentScheduleInstancesUnifiedRoleAssignmentScheduleInstanceItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -85,12 +85,9 @@ func (m *EnterpriseAppsItemRoleAssignmentScheduleInstancesUnifiedRoleAssignmentS func (m *EnterpriseAppsItemRoleAssignmentScheduleInstancesUnifiedRoleAssignmentScheduleInstanceItemRequestBuilder) DirectoryScope()(*EnterpriseAppsItemRoleAssignmentScheduleInstancesItemDirectoryScopeRequestBuilder) { return NewEnterpriseAppsItemRoleAssignmentScheduleInstancesItemDirectoryScopeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the instance of an active role assignment. +// Get get roleAssignmentScheduleInstances from roleManagement // returns a UnifiedRoleAssignmentScheduleInstanceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleassignmentscheduleinstance-get?view=graph-rest-1.0 func (m *EnterpriseAppsItemRoleAssignmentScheduleInstancesUnifiedRoleAssignmentScheduleInstanceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleAssignmentScheduleInstancesUnifiedRoleAssignmentScheduleInstanceItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentScheduleInstanceable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -149,7 +146,7 @@ func (m *EnterpriseAppsItemRoleAssignmentScheduleInstancesUnifiedRoleAssignmentS requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the instance of an active role assignment. +// ToGetRequestInformation get roleAssignmentScheduleInstances from roleManagement // returns a *RequestInformation when successful func (m *EnterpriseAppsItemRoleAssignmentScheduleInstancesUnifiedRoleAssignmentScheduleInstanceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleAssignmentScheduleInstancesUnifiedRoleAssignmentScheduleInstanceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_filter_by_current_user_with_on_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_filter_by_current_user_with_on_request_builder.go index ed8665cce2b..75e3efc85a6 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_filter_by_current_user_with_on_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_filter_by_current_user_with_on_request_builder.go @@ -10,7 +10,7 @@ import ( type EnterpriseAppsItemRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EnterpriseAppsItemRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters invoke function filterByCurrentUser +// EnterpriseAppsItemRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters in PIM, retrieve the requests for active role assignments for a particular principal. The principal can be the creator or approver of the unifiedRoleAssignmentScheduleRequest object, or they can be the target of the assignment. type EnterpriseAppsItemRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewEnterpriseAppsItemRoleAssignmentScheduleRequestsFilterByCurrentUserWithO urlParams["request-raw-url"] = rawUrl return NewEnterpriseAppsItemRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function filterByCurrentUser +// Get in PIM, retrieve the requests for active role assignments for a particular principal. The principal can be the creator or approver of the unifiedRoleAssignmentScheduleRequest object, or they can be the target of the assignment. // Deprecated: This method is obsolete. Use GetAsFilterByCurrentUserWithOnGetResponse instead. // returns a EnterpriseAppsItemRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleassignmentschedulerequest-filterbycurrentuser?view=graph-rest-beta func (m *EnterpriseAppsItemRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilder) Get(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(EnterpriseAppsItemRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *EnterpriseAppsItemRoleAssignmentScheduleRequestsFilterByCurrentUserWith } return res.(EnterpriseAppsItemRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnResponseable), nil } -// GetAsFilterByCurrentUserWithOnGetResponse invoke function filterByCurrentUser +// GetAsFilterByCurrentUserWithOnGetResponse in PIM, retrieve the requests for active role assignments for a particular principal. The principal can be the creator or approver of the unifiedRoleAssignmentScheduleRequest object, or they can be the target of the assignment. // returns a EnterpriseAppsItemRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleassignmentschedulerequest-filterbycurrentuser?view=graph-rest-beta func (m *EnterpriseAppsItemRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilder) GetAsFilterByCurrentUserWithOnGetResponse(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(EnterpriseAppsItemRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *EnterpriseAppsItemRoleAssignmentScheduleRequestsFilterByCurrentUserWith } return res.(EnterpriseAppsItemRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnGetResponseable), nil } -// ToGetRequestInformation invoke function filterByCurrentUser +// ToGetRequestInformation in PIM, retrieve the requests for active role assignments for a particular principal. The principal can be the creator or approver of the unifiedRoleAssignmentScheduleRequest object, or they can be the target of the assignment. // returns a *RequestInformation when successful func (m *EnterpriseAppsItemRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_item_cancel_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_item_cancel_request_builder.go index 94fe713b139..83276431726 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_item_cancel_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewEnterpriseAppsItemRoleAssignmentScheduleRequestsItemCancelRequestBuilder // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleassignmentschedulerequest-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleassignmentschedulerequest-cancel?view=graph-rest-beta func (m *EnterpriseAppsItemRoleAssignmentScheduleRequestsItemCancelRequestBuilder) Post(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleAssignmentScheduleRequestsItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_request_builder.go index d0c6904a4a5..4ae56ec6ec5 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_request_builder.go @@ -11,7 +11,7 @@ import ( type EnterpriseAppsItemRoleAssignmentScheduleRequestsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EnterpriseAppsItemRoleAssignmentScheduleRequestsRequestBuilderGetQueryParameters retrieve the requests for active role assignments to principals. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. The role assignments can be permanently active with or without an expiry date, or temporarily active after user activation of eligible assignments. +// EnterpriseAppsItemRoleAssignmentScheduleRequestsRequestBuilderGetQueryParameters get roleAssignmentScheduleRequests from roleManagement type EnterpriseAppsItemRoleAssignmentScheduleRequestsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *EnterpriseAppsItemRoleAssignmentScheduleRequestsRequestBuilder) Count() func (m *EnterpriseAppsItemRoleAssignmentScheduleRequestsRequestBuilder) FilterByCurrentUserWithOn(on *string)(*EnterpriseAppsItemRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilder) { return NewEnterpriseAppsItemRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, on) } -// Get retrieve the requests for active role assignments to principals. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. The role assignments can be permanently active with or without an expiry date, or temporarily active after user activation of eligible assignments. +// Get get roleAssignmentScheduleRequests from roleManagement // returns a UnifiedRoleAssignmentScheduleRequestCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplication-list-roleassignmentschedulerequests?view=graph-rest-1.0 func (m *EnterpriseAppsItemRoleAssignmentScheduleRequestsRequestBuilder) Get(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleAssignmentScheduleRequestsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentScheduleRequestCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *EnterpriseAppsItemRoleAssignmentScheduleRequestsRequestBuilder) Get(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentScheduleRequestCollectionResponseable), nil } -// Post create a new unifiedRoleAssignmentScheduleRequest object. This operation allows both admins and users to add, remove, extend, or renew assignments. To run this request, the calling user must have multifactor authentication (MFA) enforced, and running the query in a session in which they were challenged for MFA. See Enable per-user Microsoft Entra multifactor authentication to secure sign-in events. +// Post create new navigation property to roleAssignmentScheduleRequests for roleManagement // returns a UnifiedRoleAssignmentScheduleRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplication-post-roleassignmentschedulerequests?view=graph-rest-1.0 func (m *EnterpriseAppsItemRoleAssignmentScheduleRequestsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentScheduleRequestable, requestConfiguration *EnterpriseAppsItemRoleAssignmentScheduleRequestsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentScheduleRequestable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *EnterpriseAppsItemRoleAssignmentScheduleRequestsRequestBuilder) Post(ct } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentScheduleRequestable), nil } -// ToGetRequestInformation retrieve the requests for active role assignments to principals. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. The role assignments can be permanently active with or without an expiry date, or temporarily active after user activation of eligible assignments. +// ToGetRequestInformation get roleAssignmentScheduleRequests from roleManagement // returns a *RequestInformation when successful func (m *EnterpriseAppsItemRoleAssignmentScheduleRequestsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleAssignmentScheduleRequestsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *EnterpriseAppsItemRoleAssignmentScheduleRequestsRequestBuilder) ToGetRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new unifiedRoleAssignmentScheduleRequest object. This operation allows both admins and users to add, remove, extend, or renew assignments. To run this request, the calling user must have multifactor authentication (MFA) enforced, and running the query in a session in which they were challenged for MFA. See Enable per-user Microsoft Entra multifactor authentication to secure sign-in events. +// ToPostRequestInformation create new navigation property to roleAssignmentScheduleRequests for roleManagement // returns a *RequestInformation when successful func (m *EnterpriseAppsItemRoleAssignmentScheduleRequestsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentScheduleRequestable, requestConfiguration *EnterpriseAppsItemRoleAssignmentScheduleRequestsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_unified_role_assignment_schedule_request_item_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_unified_role_assignment_schedule_request_item_request_builder.go index b2fae1b192c..f0dffd189d5 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_unified_role_assignment_schedule_request_item_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_unified_role_assignment_schedule_request_item_request_builder.go @@ -18,7 +18,7 @@ type EnterpriseAppsItemRoleAssignmentScheduleRequestsUnifiedRoleAssignmentSchedu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EnterpriseAppsItemRoleAssignmentScheduleRequestsUnifiedRoleAssignmentScheduleRequestItemRequestBuilderGetQueryParameters in PIM, read the details of a request for an active and persistent role assignment made through the unifiedRoleAssignmentScheduleRequest object. +// EnterpriseAppsItemRoleAssignmentScheduleRequestsUnifiedRoleAssignmentScheduleRequestItemRequestBuilderGetQueryParameters get roleAssignmentScheduleRequests from roleManagement type EnterpriseAppsItemRoleAssignmentScheduleRequestsUnifiedRoleAssignmentScheduleRequestItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -90,12 +90,9 @@ func (m *EnterpriseAppsItemRoleAssignmentScheduleRequestsUnifiedRoleAssignmentSc func (m *EnterpriseAppsItemRoleAssignmentScheduleRequestsUnifiedRoleAssignmentScheduleRequestItemRequestBuilder) DirectoryScope()(*EnterpriseAppsItemRoleAssignmentScheduleRequestsItemDirectoryScopeRequestBuilder) { return NewEnterpriseAppsItemRoleAssignmentScheduleRequestsItemDirectoryScopeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get in PIM, read the details of a request for an active and persistent role assignment made through the unifiedRoleAssignmentScheduleRequest object. +// Get get roleAssignmentScheduleRequests from roleManagement // returns a UnifiedRoleAssignmentScheduleRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleassignmentschedulerequest-get?view=graph-rest-1.0 func (m *EnterpriseAppsItemRoleAssignmentScheduleRequestsUnifiedRoleAssignmentScheduleRequestItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleAssignmentScheduleRequestsUnifiedRoleAssignmentScheduleRequestItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentScheduleRequestable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -159,7 +156,7 @@ func (m *EnterpriseAppsItemRoleAssignmentScheduleRequestsUnifiedRoleAssignmentSc requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation in PIM, read the details of a request for an active and persistent role assignment made through the unifiedRoleAssignmentScheduleRequest object. +// ToGetRequestInformation get roleAssignmentScheduleRequests from roleManagement // returns a *RequestInformation when successful func (m *EnterpriseAppsItemRoleAssignmentScheduleRequestsUnifiedRoleAssignmentScheduleRequestItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleAssignmentScheduleRequestsUnifiedRoleAssignmentScheduleRequestItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedules_filter_by_current_user_with_on_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedules_filter_by_current_user_with_on_request_builder.go index f9fd6618075..c9a3a14f227 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedules_filter_by_current_user_with_on_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedules_filter_by_current_user_with_on_request_builder.go @@ -10,7 +10,7 @@ import ( type EnterpriseAppsItemRoleAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EnterpriseAppsItemRoleAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters invoke function filterByCurrentUser +// EnterpriseAppsItemRoleAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters retrieve the schedules for active role assignment operations for which the signed-in user is the principal. type EnterpriseAppsItemRoleAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewEnterpriseAppsItemRoleAssignmentSchedulesFilterByCurrentUserWithOnReques urlParams["request-raw-url"] = rawUrl return NewEnterpriseAppsItemRoleAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function filterByCurrentUser +// Get retrieve the schedules for active role assignment operations for which the signed-in user is the principal. // Deprecated: This method is obsolete. Use GetAsFilterByCurrentUserWithOnGetResponse instead. // returns a EnterpriseAppsItemRoleAssignmentSchedulesFilterByCurrentUserWithOnResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleassignmentschedule-filterbycurrentuser?view=graph-rest-beta func (m *EnterpriseAppsItemRoleAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilder) Get(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(EnterpriseAppsItemRoleAssignmentSchedulesFilterByCurrentUserWithOnResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *EnterpriseAppsItemRoleAssignmentSchedulesFilterByCurrentUserWithOnReque } return res.(EnterpriseAppsItemRoleAssignmentSchedulesFilterByCurrentUserWithOnResponseable), nil } -// GetAsFilterByCurrentUserWithOnGetResponse invoke function filterByCurrentUser +// GetAsFilterByCurrentUserWithOnGetResponse retrieve the schedules for active role assignment operations for which the signed-in user is the principal. // returns a EnterpriseAppsItemRoleAssignmentSchedulesFilterByCurrentUserWithOnGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleassignmentschedule-filterbycurrentuser?view=graph-rest-beta func (m *EnterpriseAppsItemRoleAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilder) GetAsFilterByCurrentUserWithOnGetResponse(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(EnterpriseAppsItemRoleAssignmentSchedulesFilterByCurrentUserWithOnGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *EnterpriseAppsItemRoleAssignmentSchedulesFilterByCurrentUserWithOnReque } return res.(EnterpriseAppsItemRoleAssignmentSchedulesFilterByCurrentUserWithOnGetResponseable), nil } -// ToGetRequestInformation invoke function filterByCurrentUser +// ToGetRequestInformation retrieve the schedules for active role assignment operations for which the signed-in user is the principal. // returns a *RequestInformation when successful func (m *EnterpriseAppsItemRoleAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedules_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedules_request_builder.go index fb72288d53e..ea97ecf1272 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedules_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedules_request_builder.go @@ -11,7 +11,7 @@ import ( type EnterpriseAppsItemRoleAssignmentSchedulesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EnterpriseAppsItemRoleAssignmentSchedulesRequestBuilderGetQueryParameters get the schedules for active role assignment operations. +// EnterpriseAppsItemRoleAssignmentSchedulesRequestBuilderGetQueryParameters get roleAssignmentSchedules from roleManagement type EnterpriseAppsItemRoleAssignmentSchedulesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *EnterpriseAppsItemRoleAssignmentSchedulesRequestBuilder) Count()(*Enter func (m *EnterpriseAppsItemRoleAssignmentSchedulesRequestBuilder) FilterByCurrentUserWithOn(on *string)(*EnterpriseAppsItemRoleAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilder) { return NewEnterpriseAppsItemRoleAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, on) } -// Get get the schedules for active role assignment operations. +// Get get roleAssignmentSchedules from roleManagement // returns a UnifiedRoleAssignmentScheduleCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplication-list-roleassignmentschedules?view=graph-rest-1.0 func (m *EnterpriseAppsItemRoleAssignmentSchedulesRequestBuilder) Get(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleAssignmentSchedulesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentScheduleCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *EnterpriseAppsItemRoleAssignmentSchedulesRequestBuilder) Post(ctx conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentScheduleable), nil } -// ToGetRequestInformation get the schedules for active role assignment operations. +// ToGetRequestInformation get roleAssignmentSchedules from roleManagement // returns a *RequestInformation when successful func (m *EnterpriseAppsItemRoleAssignmentSchedulesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleAssignmentSchedulesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedules_unified_role_assignment_schedule_item_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedules_unified_role_assignment_schedule_item_request_builder.go index 2c328a08e93..4b9a86dff94 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedules_unified_role_assignment_schedule_item_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedules_unified_role_assignment_schedule_item_request_builder.go @@ -18,7 +18,7 @@ type EnterpriseAppsItemRoleAssignmentSchedulesUnifiedRoleAssignmentScheduleItemR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EnterpriseAppsItemRoleAssignmentSchedulesUnifiedRoleAssignmentScheduleItemRequestBuilderGetQueryParameters retrieve the schedule for an active role assignment operation. +// EnterpriseAppsItemRoleAssignmentSchedulesUnifiedRoleAssignmentScheduleItemRequestBuilderGetQueryParameters get roleAssignmentSchedules from roleManagement type EnterpriseAppsItemRoleAssignmentSchedulesUnifiedRoleAssignmentScheduleItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -85,12 +85,9 @@ func (m *EnterpriseAppsItemRoleAssignmentSchedulesUnifiedRoleAssignmentScheduleI func (m *EnterpriseAppsItemRoleAssignmentSchedulesUnifiedRoleAssignmentScheduleItemRequestBuilder) DirectoryScope()(*EnterpriseAppsItemRoleAssignmentSchedulesItemDirectoryScopeRequestBuilder) { return NewEnterpriseAppsItemRoleAssignmentSchedulesItemDirectoryScopeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the schedule for an active role assignment operation. +// Get get roleAssignmentSchedules from roleManagement // returns a UnifiedRoleAssignmentScheduleable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleassignmentschedule-get?view=graph-rest-1.0 func (m *EnterpriseAppsItemRoleAssignmentSchedulesUnifiedRoleAssignmentScheduleItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleAssignmentSchedulesUnifiedRoleAssignmentScheduleItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentScheduleable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -149,7 +146,7 @@ func (m *EnterpriseAppsItemRoleAssignmentSchedulesUnifiedRoleAssignmentScheduleI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the schedule for an active role assignment operation. +// ToGetRequestInformation get roleAssignmentSchedules from roleManagement // returns a *RequestInformation when successful func (m *EnterpriseAppsItemRoleAssignmentSchedulesUnifiedRoleAssignmentScheduleItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleAssignmentSchedulesUnifiedRoleAssignmentScheduleItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/enterprise_apps_item_role_assignments_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignments_request_builder.go index 8c07741afaa..37fc7b98957 100644 --- a/rolemanagement/enterprise_apps_item_role_assignments_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignments_request_builder.go @@ -11,7 +11,7 @@ import ( type EnterpriseAppsItemRoleAssignmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EnterpriseAppsItemRoleAssignmentsRequestBuilderGetQueryParameters get a list of unifiedRoleAssignment objects for the provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra entitlement management)- Exchange Online +// EnterpriseAppsItemRoleAssignmentsRequestBuilderGetQueryParameters get roleAssignments from roleManagement type EnterpriseAppsItemRoleAssignmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewEnterpriseAppsItemRoleAssignmentsRequestBuilder(rawUrl string, requestAd func (m *EnterpriseAppsItemRoleAssignmentsRequestBuilder) Count()(*EnterpriseAppsItemRoleAssignmentsCountRequestBuilder) { return NewEnterpriseAppsItemRoleAssignmentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of unifiedRoleAssignment objects for the provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra entitlement management)- Exchange Online +// Get get roleAssignments from roleManagement // returns a UnifiedRoleAssignmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplication-list-roleassignments?view=graph-rest-1.0 func (m *EnterpriseAppsItemRoleAssignmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleAssignmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *EnterpriseAppsItemRoleAssignmentsRequestBuilder) Get(ctx context.Contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentCollectionResponseable), nil } -// Post create a new unifiedRoleAssignment object. +// Post create new navigation property to roleAssignments for roleManagement // returns a UnifiedRoleAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplication-post-roleassignments?view=graph-rest-1.0 func (m *EnterpriseAppsItemRoleAssignmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentable, requestConfiguration *EnterpriseAppsItemRoleAssignmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *EnterpriseAppsItemRoleAssignmentsRequestBuilder) Post(ctx context.Conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentable), nil } -// ToGetRequestInformation get a list of unifiedRoleAssignment objects for the provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra entitlement management)- Exchange Online +// ToGetRequestInformation get roleAssignments from roleManagement // returns a *RequestInformation when successful func (m *EnterpriseAppsItemRoleAssignmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleAssignmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *EnterpriseAppsItemRoleAssignmentsRequestBuilder) ToGetRequestInformatio requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new unifiedRoleAssignment object. +// ToPostRequestInformation create new navigation property to roleAssignments for roleManagement // returns a *RequestInformation when successful func (m *EnterpriseAppsItemRoleAssignmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentable, requestConfiguration *EnterpriseAppsItemRoleAssignmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/enterprise_apps_item_role_assignments_unified_role_assignment_item_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignments_unified_role_assignment_item_request_builder.go index da45f7ad968..04025ddbdf3 100644 --- a/rolemanagement/enterprise_apps_item_role_assignments_unified_role_assignment_item_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignments_unified_role_assignment_item_request_builder.go @@ -18,7 +18,7 @@ type EnterpriseAppsItemRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilderDel // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EnterpriseAppsItemRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a unifiedRoleAssignment object. +// EnterpriseAppsItemRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilderGetQueryParameters get roleAssignments from roleManagement type EnterpriseAppsItemRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewEnterpriseAppsItemRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder urlParams["request-raw-url"] = rawUrl return NewEnterpriseAppsItemRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a unifiedRoleAssignment object. +// Delete delete navigation property roleAssignments for roleManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleassignment-delete?view=graph-rest-1.0 func (m *EnterpriseAppsItemRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -83,12 +80,9 @@ func (m *EnterpriseAppsItemRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilde func (m *EnterpriseAppsItemRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) DirectoryScope()(*EnterpriseAppsItemRoleAssignmentsItemDirectoryScopeRequestBuilder) { return NewEnterpriseAppsItemRoleAssignmentsItemDirectoryScopeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties and relationships of a unifiedRoleAssignment object. +// Get get roleAssignments from roleManagement // returns a UnifiedRoleAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleassignment-get?view=graph-rest-1.0 func (m *EnterpriseAppsItemRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -136,7 +130,7 @@ func (m *EnterpriseAppsItemRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilde func (m *EnterpriseAppsItemRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) RoleDefinition()(*EnterpriseAppsItemRoleAssignmentsItemRoleDefinitionRequestBuilder) { return NewEnterpriseAppsItemRoleAssignmentsItemRoleDefinitionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a unifiedRoleAssignment object. +// ToDeleteRequestInformation delete navigation property roleAssignments for roleManagement // returns a *RequestInformation when successful func (m *EnterpriseAppsItemRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -147,7 +141,7 @@ func (m *EnterpriseAppsItemRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilde requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a unifiedRoleAssignment object. +// ToGetRequestInformation get roleAssignments from roleManagement // returns a *RequestInformation when successful func (m *EnterpriseAppsItemRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/enterprise_apps_item_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go b/rolemanagement/enterprise_apps_item_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go index cd091330a69..9d41291b9bb 100644 --- a/rolemanagement/enterprise_apps_item_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go @@ -10,7 +10,7 @@ import ( type EnterpriseAppsItemRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EnterpriseAppsItemRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters invoke function assignedPrincipals +// EnterpriseAppsItemRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. type EnterpriseAppsItemRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -57,10 +57,13 @@ func NewEnterpriseAppsItemRoleDefinitionsItemAssignedPrincipalsWithTransitivedir urlParams["request-raw-url"] = rawUrl return NewEnterpriseAppsItemRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function assignedPrincipals +// Get get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. // Deprecated: This method is obsolete. Use GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse instead. // returns a EnterpriseAppsItemRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroledefinition-assignedprincipals?view=graph-rest-beta func (m *EnterpriseAppsItemRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder) Get(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration)(EnterpriseAppsItemRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,9 +81,12 @@ func (m *EnterpriseAppsItemRoleDefinitionsItemAssignedPrincipalsWithTransitivedi } return res.(EnterpriseAppsItemRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponseable), nil } -// GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse invoke function assignedPrincipals +// GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. // returns a EnterpriseAppsItemRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroledefinition-assignedprincipals?view=graph-rest-beta func (m *EnterpriseAppsItemRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder) GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration)(EnterpriseAppsItemRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,7 +104,7 @@ func (m *EnterpriseAppsItemRoleDefinitionsItemAssignedPrincipalsWithTransitivedi } return res.(EnterpriseAppsItemRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponseable), nil } -// ToGetRequestInformation invoke function assignedPrincipals +// ToGetRequestInformation get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. // returns a *RequestInformation when successful func (m *EnterpriseAppsItemRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/enterprise_apps_item_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go b/rolemanagement/enterprise_apps_item_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go index 090a04a776a..40361ece210 100644 --- a/rolemanagement/enterprise_apps_item_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go @@ -10,7 +10,7 @@ import ( type EnterpriseAppsItemRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EnterpriseAppsItemRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters invoke function assignedPrincipals +// EnterpriseAppsItemRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. type EnterpriseAppsItemRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -57,10 +57,13 @@ func NewEnterpriseAppsItemRoleDefinitionsItemInheritsPermissionsFromItemAssigned urlParams["request-raw-url"] = rawUrl return NewEnterpriseAppsItemRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function assignedPrincipals +// Get get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. // Deprecated: This method is obsolete. Use GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse instead. // returns a EnterpriseAppsItemRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroledefinition-assignedprincipals?view=graph-rest-beta func (m *EnterpriseAppsItemRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder) Get(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration)(EnterpriseAppsItemRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,9 +81,12 @@ func (m *EnterpriseAppsItemRoleDefinitionsItemInheritsPermissionsFromItemAssigne } return res.(EnterpriseAppsItemRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponseable), nil } -// GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse invoke function assignedPrincipals +// GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. // returns a EnterpriseAppsItemRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroledefinition-assignedprincipals?view=graph-rest-beta func (m *EnterpriseAppsItemRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder) GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration)(EnterpriseAppsItemRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,7 +104,7 @@ func (m *EnterpriseAppsItemRoleDefinitionsItemInheritsPermissionsFromItemAssigne } return res.(EnterpriseAppsItemRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponseable), nil } -// ToGetRequestInformation invoke function assignedPrincipals +// ToGetRequestInformation get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. // returns a *RequestInformation when successful func (m *EnterpriseAppsItemRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/enterprise_apps_item_role_definitions_request_builder.go b/rolemanagement/enterprise_apps_item_role_definitions_request_builder.go index e06f7490d03..a91794395ae 100644 --- a/rolemanagement/enterprise_apps_item_role_definitions_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_definitions_request_builder.go @@ -11,7 +11,7 @@ import ( type EnterpriseAppsItemRoleDefinitionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EnterpriseAppsItemRoleDefinitionsRequestBuilderGetQueryParameters get a list of unifiedRoleDefinition objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra ID) - entitlement management (Microsoft Entra ID)- Exchange Online +// EnterpriseAppsItemRoleDefinitionsRequestBuilderGetQueryParameters get roleDefinitions from roleManagement type EnterpriseAppsItemRoleDefinitionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewEnterpriseAppsItemRoleDefinitionsRequestBuilder(rawUrl string, requestAd func (m *EnterpriseAppsItemRoleDefinitionsRequestBuilder) Count()(*EnterpriseAppsItemRoleDefinitionsCountRequestBuilder) { return NewEnterpriseAppsItemRoleDefinitionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of unifiedRoleDefinition objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra ID) - entitlement management (Microsoft Entra ID)- Exchange Online +// Get get roleDefinitions from roleManagement // returns a UnifiedRoleDefinitionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplication-list-roledefinitions?view=graph-rest-1.0 func (m *EnterpriseAppsItemRoleDefinitionsRequestBuilder) Get(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleDefinitionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleDefinitionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *EnterpriseAppsItemRoleDefinitionsRequestBuilder) Get(ctx context.Contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleDefinitionCollectionResponseable), nil } -// Post create a new unifiedRoleDefinition object for an RBAC provider. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) +// Post create new navigation property to roleDefinitions for roleManagement // returns a UnifiedRoleDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplication-post-roledefinitions?view=graph-rest-1.0 func (m *EnterpriseAppsItemRoleDefinitionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleDefinitionable, requestConfiguration *EnterpriseAppsItemRoleDefinitionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleDefinitionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *EnterpriseAppsItemRoleDefinitionsRequestBuilder) Post(ctx context.Conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleDefinitionable), nil } -// ToGetRequestInformation get a list of unifiedRoleDefinition objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra ID) - entitlement management (Microsoft Entra ID)- Exchange Online +// ToGetRequestInformation get roleDefinitions from roleManagement // returns a *RequestInformation when successful func (m *EnterpriseAppsItemRoleDefinitionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleDefinitionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *EnterpriseAppsItemRoleDefinitionsRequestBuilder) ToGetRequestInformatio requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new unifiedRoleDefinition object for an RBAC provider. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) +// ToPostRequestInformation create new navigation property to roleDefinitions for roleManagement // returns a *RequestInformation when successful func (m *EnterpriseAppsItemRoleDefinitionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleDefinitionable, requestConfiguration *EnterpriseAppsItemRoleDefinitionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/enterprise_apps_item_role_definitions_unified_role_definition_item_request_builder.go b/rolemanagement/enterprise_apps_item_role_definitions_unified_role_definition_item_request_builder.go index ddd90505983..4972f40d5da 100644 --- a/rolemanagement/enterprise_apps_item_role_definitions_unified_role_definition_item_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_definitions_unified_role_definition_item_request_builder.go @@ -18,7 +18,7 @@ type EnterpriseAppsItemRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilderDel // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EnterpriseAppsItemRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilderGetQueryParameters get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online +// EnterpriseAppsItemRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilderGetQueryParameters get roleDefinitions from roleManagement type EnterpriseAppsItemRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewEnterpriseAppsItemRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder urlParams["request-raw-url"] = rawUrl return NewEnterpriseAppsItemRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a unifiedRoleDefinition object for an RBAC provider. You cannot delete built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) +// Delete delete navigation property roleDefinitions for roleManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroledefinition-delete?view=graph-rest-1.0 func (m *EnterpriseAppsItemRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *EnterpriseAppsItemRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilde } return nil } -// Get get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online +// Get get roleDefinitions from roleManagement // returns a UnifiedRoleDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroledefinition-get?view=graph-rest-1.0 func (m *EnterpriseAppsItemRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleDefinitionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -106,12 +100,9 @@ func (m *EnterpriseAppsItemRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilde func (m *EnterpriseAppsItemRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) InheritsPermissionsFrom()(*EnterpriseAppsItemRoleDefinitionsItemInheritsPermissionsFromRequestBuilder) { return NewEnterpriseAppsItemRoleDefinitionsItemInheritsPermissionsFromRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of a unifiedRoleDefinition object for an RBAC provider. You cannot update built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) +// Patch update the navigation property roleDefinitions in roleManagement // returns a UnifiedRoleDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroledefinition-update?view=graph-rest-1.0 func (m *EnterpriseAppsItemRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleDefinitionable, requestConfiguration *EnterpriseAppsItemRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleDefinitionable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -129,7 +120,7 @@ func (m *EnterpriseAppsItemRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilde } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleDefinitionable), nil } -// ToDeleteRequestInformation delete a unifiedRoleDefinition object for an RBAC provider. You cannot delete built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) +// ToDeleteRequestInformation delete navigation property roleDefinitions for roleManagement // returns a *RequestInformation when successful func (m *EnterpriseAppsItemRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -140,7 +131,7 @@ func (m *EnterpriseAppsItemRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilde requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online +// ToGetRequestInformation get roleDefinitions from roleManagement // returns a *RequestInformation when successful func (m *EnterpriseAppsItemRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -154,7 +145,7 @@ func (m *EnterpriseAppsItemRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilde requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a unifiedRoleDefinition object for an RBAC provider. You cannot update built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) +// ToPatchRequestInformation update the navigation property roleDefinitions in roleManagement // returns a *RequestInformation when successful func (m *EnterpriseAppsItemRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleDefinitionable, requestConfiguration *EnterpriseAppsItemRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_filter_by_current_user_with_on_request_builder.go b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_filter_by_current_user_with_on_request_builder.go index d08b85c5efc..0586f3f66df 100644 --- a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_filter_by_current_user_with_on_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_filter_by_current_user_with_on_request_builder.go @@ -10,7 +10,7 @@ import ( type EnterpriseAppsItemRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EnterpriseAppsItemRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters invoke function filterByCurrentUser +// EnterpriseAppsItemRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters get a list of the unifiedRoleEligibilityScheduleInstance objects and their properties associated with a particular principal object. type EnterpriseAppsItemRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewEnterpriseAppsItemRoleEligibilityScheduleInstancesFilterByCurrentUserWit urlParams["request-raw-url"] = rawUrl return NewEnterpriseAppsItemRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function filterByCurrentUser +// Get get a list of the unifiedRoleEligibilityScheduleInstance objects and their properties associated with a particular principal object. // Deprecated: This method is obsolete. Use GetAsFilterByCurrentUserWithOnGetResponse instead. // returns a EnterpriseAppsItemRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleeligibilityscheduleinstance-filterbycurrentuser?view=graph-rest-beta func (m *EnterpriseAppsItemRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilder) Get(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(EnterpriseAppsItemRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *EnterpriseAppsItemRoleEligibilityScheduleInstancesFilterByCurrentUserWi } return res.(EnterpriseAppsItemRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnResponseable), nil } -// GetAsFilterByCurrentUserWithOnGetResponse invoke function filterByCurrentUser +// GetAsFilterByCurrentUserWithOnGetResponse get a list of the unifiedRoleEligibilityScheduleInstance objects and their properties associated with a particular principal object. // returns a EnterpriseAppsItemRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleeligibilityscheduleinstance-filterbycurrentuser?view=graph-rest-beta func (m *EnterpriseAppsItemRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilder) GetAsFilterByCurrentUserWithOnGetResponse(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(EnterpriseAppsItemRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *EnterpriseAppsItemRoleEligibilityScheduleInstancesFilterByCurrentUserWi } return res.(EnterpriseAppsItemRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnGetResponseable), nil } -// ToGetRequestInformation invoke function filterByCurrentUser +// ToGetRequestInformation get a list of the unifiedRoleEligibilityScheduleInstance objects and their properties associated with a particular principal object. // returns a *RequestInformation when successful func (m *EnterpriseAppsItemRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_request_builder.go b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_request_builder.go index e1c871ecc9d..344c502fb57 100644 --- a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_request_builder.go @@ -11,7 +11,7 @@ import ( type EnterpriseAppsItemRoleEligibilityScheduleInstancesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EnterpriseAppsItemRoleEligibilityScheduleInstancesRequestBuilderGetQueryParameters get a list of the unifiedRoleEligibilityScheduleInstance objects and their properties. +// EnterpriseAppsItemRoleEligibilityScheduleInstancesRequestBuilderGetQueryParameters get roleEligibilityScheduleInstances from roleManagement type EnterpriseAppsItemRoleEligibilityScheduleInstancesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *EnterpriseAppsItemRoleEligibilityScheduleInstancesRequestBuilder) Count func (m *EnterpriseAppsItemRoleEligibilityScheduleInstancesRequestBuilder) FilterByCurrentUserWithOn(on *string)(*EnterpriseAppsItemRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilder) { return NewEnterpriseAppsItemRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, on) } -// Get get a list of the unifiedRoleEligibilityScheduleInstance objects and their properties. +// Get get roleEligibilityScheduleInstances from roleManagement // returns a UnifiedRoleEligibilityScheduleInstanceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplication-list-roleeligibilityscheduleinstances?view=graph-rest-1.0 func (m *EnterpriseAppsItemRoleEligibilityScheduleInstancesRequestBuilder) Get(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleEligibilityScheduleInstancesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleEligibilityScheduleInstanceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *EnterpriseAppsItemRoleEligibilityScheduleInstancesRequestBuilder) Post( } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleEligibilityScheduleInstanceable), nil } -// ToGetRequestInformation get a list of the unifiedRoleEligibilityScheduleInstance objects and their properties. +// ToGetRequestInformation get roleEligibilityScheduleInstances from roleManagement // returns a *RequestInformation when successful func (m *EnterpriseAppsItemRoleEligibilityScheduleInstancesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleEligibilityScheduleInstancesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_unified_role_eligibility_schedule_instance_item_request_builder.go b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_unified_role_eligibility_schedule_instance_item_request_builder.go index 0bc0c5bf466..bda4b2d7c86 100644 --- a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_unified_role_eligibility_schedule_instance_item_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_unified_role_eligibility_schedule_instance_item_request_builder.go @@ -18,7 +18,7 @@ type EnterpriseAppsItemRoleEligibilityScheduleInstancesUnifiedRoleEligibilitySch // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EnterpriseAppsItemRoleEligibilityScheduleInstancesUnifiedRoleEligibilityScheduleInstanceItemRequestBuilderGetQueryParameters read the properties and relationships of an unifiedRoleEligibilityScheduleInstance object. +// EnterpriseAppsItemRoleEligibilityScheduleInstancesUnifiedRoleEligibilityScheduleInstanceItemRequestBuilderGetQueryParameters get roleEligibilityScheduleInstances from roleManagement type EnterpriseAppsItemRoleEligibilityScheduleInstancesUnifiedRoleEligibilityScheduleInstanceItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -80,12 +80,9 @@ func (m *EnterpriseAppsItemRoleEligibilityScheduleInstancesUnifiedRoleEligibilit func (m *EnterpriseAppsItemRoleEligibilityScheduleInstancesUnifiedRoleEligibilityScheduleInstanceItemRequestBuilder) DirectoryScope()(*EnterpriseAppsItemRoleEligibilityScheduleInstancesItemDirectoryScopeRequestBuilder) { return NewEnterpriseAppsItemRoleEligibilityScheduleInstancesItemDirectoryScopeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of an unifiedRoleEligibilityScheduleInstance object. +// Get get roleEligibilityScheduleInstances from roleManagement // returns a UnifiedRoleEligibilityScheduleInstanceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleeligibilityscheduleinstance-get?view=graph-rest-1.0 func (m *EnterpriseAppsItemRoleEligibilityScheduleInstancesUnifiedRoleEligibilityScheduleInstanceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleEligibilityScheduleInstancesUnifiedRoleEligibilityScheduleInstanceItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleEligibilityScheduleInstanceable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -144,7 +141,7 @@ func (m *EnterpriseAppsItemRoleEligibilityScheduleInstancesUnifiedRoleEligibilit requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an unifiedRoleEligibilityScheduleInstance object. +// ToGetRequestInformation get roleEligibilityScheduleInstances from roleManagement // returns a *RequestInformation when successful func (m *EnterpriseAppsItemRoleEligibilityScheduleInstancesUnifiedRoleEligibilityScheduleInstanceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleEligibilityScheduleInstancesUnifiedRoleEligibilityScheduleInstanceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_filter_by_current_user_with_on_request_builder.go b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_filter_by_current_user_with_on_request_builder.go index 4de8f2c845f..17fa47f0bb1 100644 --- a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_filter_by_current_user_with_on_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_filter_by_current_user_with_on_request_builder.go @@ -10,7 +10,7 @@ import ( type EnterpriseAppsItemRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EnterpriseAppsItemRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters invoke function filterByCurrentUser +// EnterpriseAppsItemRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters get a list of the unifiedRoleEligibilityScheduleRequest objects and their properties associated with the currently signed in principal object. type EnterpriseAppsItemRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewEnterpriseAppsItemRoleEligibilityScheduleRequestsFilterByCurrentUserWith urlParams["request-raw-url"] = rawUrl return NewEnterpriseAppsItemRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function filterByCurrentUser +// Get get a list of the unifiedRoleEligibilityScheduleRequest objects and their properties associated with the currently signed in principal object. // Deprecated: This method is obsolete. Use GetAsFilterByCurrentUserWithOnGetResponse instead. // returns a EnterpriseAppsItemRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleeligibilityschedulerequest-filterbycurrentuser?view=graph-rest-beta func (m *EnterpriseAppsItemRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilder) Get(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(EnterpriseAppsItemRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *EnterpriseAppsItemRoleEligibilityScheduleRequestsFilterByCurrentUserWit } return res.(EnterpriseAppsItemRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnResponseable), nil } -// GetAsFilterByCurrentUserWithOnGetResponse invoke function filterByCurrentUser +// GetAsFilterByCurrentUserWithOnGetResponse get a list of the unifiedRoleEligibilityScheduleRequest objects and their properties associated with the currently signed in principal object. // returns a EnterpriseAppsItemRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleeligibilityschedulerequest-filterbycurrentuser?view=graph-rest-beta func (m *EnterpriseAppsItemRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilder) GetAsFilterByCurrentUserWithOnGetResponse(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(EnterpriseAppsItemRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *EnterpriseAppsItemRoleEligibilityScheduleRequestsFilterByCurrentUserWit } return res.(EnterpriseAppsItemRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnGetResponseable), nil } -// ToGetRequestInformation invoke function filterByCurrentUser +// ToGetRequestInformation get a list of the unifiedRoleEligibilityScheduleRequest objects and their properties associated with the currently signed in principal object. // returns a *RequestInformation when successful func (m *EnterpriseAppsItemRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_item_cancel_request_builder.go b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_item_cancel_request_builder.go index f6fb1a14834..c7ebe17e89e 100644 --- a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_item_cancel_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewEnterpriseAppsItemRoleEligibilityScheduleRequestsItemCancelRequestBuilde // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleeligibilityschedulerequest-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleeligibilityschedulerequest-cancel?view=graph-rest-beta func (m *EnterpriseAppsItemRoleEligibilityScheduleRequestsItemCancelRequestBuilder) Post(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleEligibilityScheduleRequestsItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_request_builder.go b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_request_builder.go index 671b4c15a61..9ab817cd3db 100644 --- a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_request_builder.go @@ -11,7 +11,7 @@ import ( type EnterpriseAppsItemRoleEligibilityScheduleRequestsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EnterpriseAppsItemRoleEligibilityScheduleRequestsRequestBuilderGetQueryParameters get a list of the unifiedRoleEligibilityScheduleRequest objects and their properties. +// EnterpriseAppsItemRoleEligibilityScheduleRequestsRequestBuilderGetQueryParameters get roleEligibilityScheduleRequests from roleManagement type EnterpriseAppsItemRoleEligibilityScheduleRequestsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *EnterpriseAppsItemRoleEligibilityScheduleRequestsRequestBuilder) Count( func (m *EnterpriseAppsItemRoleEligibilityScheduleRequestsRequestBuilder) FilterByCurrentUserWithOn(on *string)(*EnterpriseAppsItemRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilder) { return NewEnterpriseAppsItemRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, on) } -// Get get a list of the unifiedRoleEligibilityScheduleRequest objects and their properties. +// Get get roleEligibilityScheduleRequests from roleManagement // returns a UnifiedRoleEligibilityScheduleRequestCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplication-list-roleeligibilityschedulerequests?view=graph-rest-1.0 func (m *EnterpriseAppsItemRoleEligibilityScheduleRequestsRequestBuilder) Get(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleEligibilityScheduleRequestsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleEligibilityScheduleRequestCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *EnterpriseAppsItemRoleEligibilityScheduleRequestsRequestBuilder) Get(ct } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleEligibilityScheduleRequestCollectionResponseable), nil } -// Post create a new unifiedRoleEligibilityScheduleRequest object. This operation allows both admins and eligible users to add, revoke, or extend eligible assignments. +// Post create new navigation property to roleEligibilityScheduleRequests for roleManagement // returns a UnifiedRoleEligibilityScheduleRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplication-post-roleeligibilityschedulerequests?view=graph-rest-1.0 func (m *EnterpriseAppsItemRoleEligibilityScheduleRequestsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleEligibilityScheduleRequestable, requestConfiguration *EnterpriseAppsItemRoleEligibilityScheduleRequestsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleEligibilityScheduleRequestable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *EnterpriseAppsItemRoleEligibilityScheduleRequestsRequestBuilder) Post(c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleEligibilityScheduleRequestable), nil } -// ToGetRequestInformation get a list of the unifiedRoleEligibilityScheduleRequest objects and their properties. +// ToGetRequestInformation get roleEligibilityScheduleRequests from roleManagement // returns a *RequestInformation when successful func (m *EnterpriseAppsItemRoleEligibilityScheduleRequestsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleEligibilityScheduleRequestsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *EnterpriseAppsItemRoleEligibilityScheduleRequestsRequestBuilder) ToGetR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new unifiedRoleEligibilityScheduleRequest object. This operation allows both admins and eligible users to add, revoke, or extend eligible assignments. +// ToPostRequestInformation create new navigation property to roleEligibilityScheduleRequests for roleManagement // returns a *RequestInformation when successful func (m *EnterpriseAppsItemRoleEligibilityScheduleRequestsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleEligibilityScheduleRequestable, requestConfiguration *EnterpriseAppsItemRoleEligibilityScheduleRequestsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_unified_role_eligibility_schedule_request_item_request_builder.go b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_unified_role_eligibility_schedule_request_item_request_builder.go index 7add0fe6bbc..8eff28104f6 100644 --- a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_unified_role_eligibility_schedule_request_item_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_unified_role_eligibility_schedule_request_item_request_builder.go @@ -18,7 +18,7 @@ type EnterpriseAppsItemRoleEligibilityScheduleRequestsUnifiedRoleEligibilitySche // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EnterpriseAppsItemRoleEligibilityScheduleRequestsUnifiedRoleEligibilityScheduleRequestItemRequestBuilderGetQueryParameters read the properties and relationships of an unifiedRoleEligibilityScheduleRequest object. +// EnterpriseAppsItemRoleEligibilityScheduleRequestsUnifiedRoleEligibilityScheduleRequestItemRequestBuilderGetQueryParameters get roleEligibilityScheduleRequests from roleManagement type EnterpriseAppsItemRoleEligibilityScheduleRequestsUnifiedRoleEligibilityScheduleRequestItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -85,12 +85,9 @@ func (m *EnterpriseAppsItemRoleEligibilityScheduleRequestsUnifiedRoleEligibility func (m *EnterpriseAppsItemRoleEligibilityScheduleRequestsUnifiedRoleEligibilityScheduleRequestItemRequestBuilder) DirectoryScope()(*EnterpriseAppsItemRoleEligibilityScheduleRequestsItemDirectoryScopeRequestBuilder) { return NewEnterpriseAppsItemRoleEligibilityScheduleRequestsItemDirectoryScopeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of an unifiedRoleEligibilityScheduleRequest object. +// Get get roleEligibilityScheduleRequests from roleManagement // returns a UnifiedRoleEligibilityScheduleRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleeligibilityschedulerequest-get?view=graph-rest-1.0 func (m *EnterpriseAppsItemRoleEligibilityScheduleRequestsUnifiedRoleEligibilityScheduleRequestItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleEligibilityScheduleRequestsUnifiedRoleEligibilityScheduleRequestItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleEligibilityScheduleRequestable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -154,7 +151,7 @@ func (m *EnterpriseAppsItemRoleEligibilityScheduleRequestsUnifiedRoleEligibility requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an unifiedRoleEligibilityScheduleRequest object. +// ToGetRequestInformation get roleEligibilityScheduleRequests from roleManagement // returns a *RequestInformation when successful func (m *EnterpriseAppsItemRoleEligibilityScheduleRequestsUnifiedRoleEligibilityScheduleRequestItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleEligibilityScheduleRequestsUnifiedRoleEligibilityScheduleRequestItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/enterprise_apps_item_role_eligibility_schedules_filter_by_current_user_with_on_request_builder.go b/rolemanagement/enterprise_apps_item_role_eligibility_schedules_filter_by_current_user_with_on_request_builder.go index 92aca77a0ff..ab073ce8225 100644 --- a/rolemanagement/enterprise_apps_item_role_eligibility_schedules_filter_by_current_user_with_on_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_eligibility_schedules_filter_by_current_user_with_on_request_builder.go @@ -10,7 +10,7 @@ import ( type EnterpriseAppsItemRoleEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EnterpriseAppsItemRoleEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters invoke function filterByCurrentUser +// EnterpriseAppsItemRoleEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters get a list of the unifiedRoleEligibilitySchedule objects and their properties associated with a particular principal object. type EnterpriseAppsItemRoleEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewEnterpriseAppsItemRoleEligibilitySchedulesFilterByCurrentUserWithOnReque urlParams["request-raw-url"] = rawUrl return NewEnterpriseAppsItemRoleEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function filterByCurrentUser +// Get get a list of the unifiedRoleEligibilitySchedule objects and their properties associated with a particular principal object. // Deprecated: This method is obsolete. Use GetAsFilterByCurrentUserWithOnGetResponse instead. // returns a EnterpriseAppsItemRoleEligibilitySchedulesFilterByCurrentUserWithOnResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleeligibilityschedule-filterbycurrentuser?view=graph-rest-beta func (m *EnterpriseAppsItemRoleEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilder) Get(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(EnterpriseAppsItemRoleEligibilitySchedulesFilterByCurrentUserWithOnResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *EnterpriseAppsItemRoleEligibilitySchedulesFilterByCurrentUserWithOnRequ } return res.(EnterpriseAppsItemRoleEligibilitySchedulesFilterByCurrentUserWithOnResponseable), nil } -// GetAsFilterByCurrentUserWithOnGetResponse invoke function filterByCurrentUser +// GetAsFilterByCurrentUserWithOnGetResponse get a list of the unifiedRoleEligibilitySchedule objects and their properties associated with a particular principal object. // returns a EnterpriseAppsItemRoleEligibilitySchedulesFilterByCurrentUserWithOnGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleeligibilityschedule-filterbycurrentuser?view=graph-rest-beta func (m *EnterpriseAppsItemRoleEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilder) GetAsFilterByCurrentUserWithOnGetResponse(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(EnterpriseAppsItemRoleEligibilitySchedulesFilterByCurrentUserWithOnGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *EnterpriseAppsItemRoleEligibilitySchedulesFilterByCurrentUserWithOnRequ } return res.(EnterpriseAppsItemRoleEligibilitySchedulesFilterByCurrentUserWithOnGetResponseable), nil } -// ToGetRequestInformation invoke function filterByCurrentUser +// ToGetRequestInformation get a list of the unifiedRoleEligibilitySchedule objects and their properties associated with a particular principal object. // returns a *RequestInformation when successful func (m *EnterpriseAppsItemRoleEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/enterprise_apps_item_role_eligibility_schedules_request_builder.go b/rolemanagement/enterprise_apps_item_role_eligibility_schedules_request_builder.go index 32ce1da8f3a..1e6abb54b1a 100644 --- a/rolemanagement/enterprise_apps_item_role_eligibility_schedules_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_eligibility_schedules_request_builder.go @@ -11,7 +11,7 @@ import ( type EnterpriseAppsItemRoleEligibilitySchedulesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EnterpriseAppsItemRoleEligibilitySchedulesRequestBuilderGetQueryParameters get a list of the unifiedRoleEligibilitySchedule objects and their properties. +// EnterpriseAppsItemRoleEligibilitySchedulesRequestBuilderGetQueryParameters get roleEligibilitySchedules from roleManagement type EnterpriseAppsItemRoleEligibilitySchedulesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *EnterpriseAppsItemRoleEligibilitySchedulesRequestBuilder) Count()(*Ente func (m *EnterpriseAppsItemRoleEligibilitySchedulesRequestBuilder) FilterByCurrentUserWithOn(on *string)(*EnterpriseAppsItemRoleEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilder) { return NewEnterpriseAppsItemRoleEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, on) } -// Get get a list of the unifiedRoleEligibilitySchedule objects and their properties. +// Get get roleEligibilitySchedules from roleManagement // returns a UnifiedRoleEligibilityScheduleCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplication-list-roleeligibilityschedules?view=graph-rest-1.0 func (m *EnterpriseAppsItemRoleEligibilitySchedulesRequestBuilder) Get(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleEligibilitySchedulesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleEligibilityScheduleCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *EnterpriseAppsItemRoleEligibilitySchedulesRequestBuilder) Post(ctx cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleEligibilityScheduleable), nil } -// ToGetRequestInformation get a list of the unifiedRoleEligibilitySchedule objects and their properties. +// ToGetRequestInformation get roleEligibilitySchedules from roleManagement // returns a *RequestInformation when successful func (m *EnterpriseAppsItemRoleEligibilitySchedulesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleEligibilitySchedulesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/enterprise_apps_item_role_eligibility_schedules_unified_role_eligibility_schedule_item_request_builder.go b/rolemanagement/enterprise_apps_item_role_eligibility_schedules_unified_role_eligibility_schedule_item_request_builder.go index d92112c87e0..5191e2d33e2 100644 --- a/rolemanagement/enterprise_apps_item_role_eligibility_schedules_unified_role_eligibility_schedule_item_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_eligibility_schedules_unified_role_eligibility_schedule_item_request_builder.go @@ -18,7 +18,7 @@ type EnterpriseAppsItemRoleEligibilitySchedulesUnifiedRoleEligibilityScheduleIte // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EnterpriseAppsItemRoleEligibilitySchedulesUnifiedRoleEligibilityScheduleItemRequestBuilderGetQueryParameters read the properties and relationships of an unifiedRoleEligibilitySchedule object. +// EnterpriseAppsItemRoleEligibilitySchedulesUnifiedRoleEligibilityScheduleItemRequestBuilderGetQueryParameters get roleEligibilitySchedules from roleManagement type EnterpriseAppsItemRoleEligibilitySchedulesUnifiedRoleEligibilityScheduleItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -80,12 +80,9 @@ func (m *EnterpriseAppsItemRoleEligibilitySchedulesUnifiedRoleEligibilitySchedul func (m *EnterpriseAppsItemRoleEligibilitySchedulesUnifiedRoleEligibilityScheduleItemRequestBuilder) DirectoryScope()(*EnterpriseAppsItemRoleEligibilitySchedulesItemDirectoryScopeRequestBuilder) { return NewEnterpriseAppsItemRoleEligibilitySchedulesItemDirectoryScopeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of an unifiedRoleEligibilitySchedule object. +// Get get roleEligibilitySchedules from roleManagement // returns a UnifiedRoleEligibilityScheduleable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleeligibilityschedule-get?view=graph-rest-1.0 func (m *EnterpriseAppsItemRoleEligibilitySchedulesUnifiedRoleEligibilityScheduleItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleEligibilitySchedulesUnifiedRoleEligibilityScheduleItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleEligibilityScheduleable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -144,7 +141,7 @@ func (m *EnterpriseAppsItemRoleEligibilitySchedulesUnifiedRoleEligibilitySchedul requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an unifiedRoleEligibilitySchedule object. +// ToGetRequestInformation get roleEligibilitySchedules from roleManagement // returns a *RequestInformation when successful func (m *EnterpriseAppsItemRoleEligibilitySchedulesUnifiedRoleEligibilityScheduleItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleEligibilitySchedulesUnifiedRoleEligibilityScheduleItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/enterprise_apps_item_role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.go b/rolemanagement/enterprise_apps_item_role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.go index 5305afcde2c..a2b4421776c 100644 --- a/rolemanagement/enterprise_apps_item_role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.go @@ -10,7 +10,7 @@ import ( type EnterpriseAppsItemRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EnterpriseAppsItemRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilderGetQueryParameters invoke function roleScheduleInstances +// EnterpriseAppsItemRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilderGetQueryParameters retrieve both roleAssignmentScheduleInstances and roleEligibilityScheduleInstances. type EnterpriseAppsItemRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilderGetQueryParameters struct { // Usage: appScopeId='@appScopeId' AppScopeId *string `uriparametername:"appScopeId"` @@ -59,10 +59,13 @@ func NewEnterpriseAppsItemRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdA urlParams["request-raw-url"] = rawUrl return NewEnterpriseAppsItemRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function roleScheduleInstances +// Get retrieve both roleAssignmentScheduleInstances and roleEligibilityScheduleInstances. // Deprecated: This method is obsolete. Use GetAsRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdGetResponse instead. // returns a EnterpriseAppsItemRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplication-rolescheduleinstances?view=graph-rest-beta func (m *EnterpriseAppsItemRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilder) Get(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilderGetRequestConfiguration)(EnterpriseAppsItemRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -80,9 +83,12 @@ func (m *EnterpriseAppsItemRoleScheduleInstancesdirectoryScopeIdDirectoryScopeId } return res.(EnterpriseAppsItemRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdResponseable), nil } -// GetAsRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdGetResponse invoke function roleScheduleInstances +// GetAsRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdGetResponse retrieve both roleAssignmentScheduleInstances and roleEligibilityScheduleInstances. // returns a EnterpriseAppsItemRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplication-rolescheduleinstances?view=graph-rest-beta func (m *EnterpriseAppsItemRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilder) GetAsRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdGetResponse(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilderGetRequestConfiguration)(EnterpriseAppsItemRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -100,7 +106,7 @@ func (m *EnterpriseAppsItemRoleScheduleInstancesdirectoryScopeIdDirectoryScopeId } return res.(EnterpriseAppsItemRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdGetResponseable), nil } -// ToGetRequestInformation invoke function roleScheduleInstances +// ToGetRequestInformation retrieve both roleAssignmentScheduleInstances and roleEligibilityScheduleInstances. // returns a *RequestInformation when successful func (m *EnterpriseAppsItemRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/enterprise_apps_item_role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.go b/rolemanagement/enterprise_apps_item_role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.go index 649ab8fca5c..31c57621d54 100644 --- a/rolemanagement/enterprise_apps_item_role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.go @@ -10,7 +10,7 @@ import ( type EnterpriseAppsItemRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EnterpriseAppsItemRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilderGetQueryParameters invoke function roleSchedules +// EnterpriseAppsItemRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilderGetQueryParameters retrieve both roleAssignmentSchedules and roleEligibilitySchedules. type EnterpriseAppsItemRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilderGetQueryParameters struct { // Usage: appScopeId='@appScopeId' AppScopeId *string `uriparametername:"appScopeId"` @@ -59,10 +59,13 @@ func NewEnterpriseAppsItemRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeI urlParams["request-raw-url"] = rawUrl return NewEnterpriseAppsItemRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function roleSchedules +// Get retrieve both roleAssignmentSchedules and roleEligibilitySchedules. // Deprecated: This method is obsolete. Use GetAsRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdGetResponse instead. // returns a EnterpriseAppsItemRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplication-roleschedules?view=graph-rest-beta func (m *EnterpriseAppsItemRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilder) Get(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilderGetRequestConfiguration)(EnterpriseAppsItemRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -80,9 +83,12 @@ func (m *EnterpriseAppsItemRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScope } return res.(EnterpriseAppsItemRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdResponseable), nil } -// GetAsRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdGetResponse invoke function roleSchedules +// GetAsRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdGetResponse retrieve both roleAssignmentSchedules and roleEligibilitySchedules. // returns a EnterpriseAppsItemRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplication-roleschedules?view=graph-rest-beta func (m *EnterpriseAppsItemRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilder) GetAsRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdGetResponse(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilderGetRequestConfiguration)(EnterpriseAppsItemRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -100,7 +106,7 @@ func (m *EnterpriseAppsItemRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScope } return res.(EnterpriseAppsItemRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdGetResponseable), nil } -// ToGetRequestInformation invoke function roleSchedules +// ToGetRequestInformation retrieve both roleAssignmentSchedules and roleEligibilitySchedules. // returns a *RequestInformation when successful func (m *EnterpriseAppsItemRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EnterpriseAppsItemRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/enterprise_apps_item_transitive_role_assignments_request_builder.go b/rolemanagement/enterprise_apps_item_transitive_role_assignments_request_builder.go index 6ffbd0cb6fd..f24e369b4af 100644 --- a/rolemanagement/enterprise_apps_item_transitive_role_assignments_request_builder.go +++ b/rolemanagement/enterprise_apps_item_transitive_role_assignments_request_builder.go @@ -79,9 +79,6 @@ func (m *EnterpriseAppsItemTransitiveRoleAssignmentsRequestBuilder) Count()(*Ent // Get get transitiveRoleAssignments from roleManagement // returns a UnifiedRoleAssignmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplication-list-transitiveroleassignments?view=graph-rest-1.0 func (m *EnterpriseAppsItemTransitiveRoleAssignmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *EnterpriseAppsItemTransitiveRoleAssignmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/rolemanagement/entitlement_management_resource_namespaces_item_resource_actions_request_builder.go b/rolemanagement/entitlement_management_resource_namespaces_item_resource_actions_request_builder.go index 9b3a2d3ecb1..a3caf784c52 100644 --- a/rolemanagement/entitlement_management_resource_namespaces_item_resource_actions_request_builder.go +++ b/rolemanagement/entitlement_management_resource_namespaces_item_resource_actions_request_builder.go @@ -11,7 +11,7 @@ import ( type EntitlementManagementResourceNamespacesItemResourceActionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementResourceNamespacesItemResourceActionsRequestBuilderGetQueryParameters get a list of the unifiedRbacResourceAction objects and their properties. +// EntitlementManagementResourceNamespacesItemResourceActionsRequestBuilderGetQueryParameters operations that an authorized principal is allowed to perform. type EntitlementManagementResourceNamespacesItemResourceActionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewEntitlementManagementResourceNamespacesItemResourceActionsRequestBuilder func (m *EntitlementManagementResourceNamespacesItemResourceActionsRequestBuilder) Count()(*EntitlementManagementResourceNamespacesItemResourceActionsCountRequestBuilder) { return NewEntitlementManagementResourceNamespacesItemResourceActionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the unifiedRbacResourceAction objects and their properties. +// Get operations that an authorized principal is allowed to perform. // returns a UnifiedRbacResourceActionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedrbacresourcenamespace-list-resourceactions?view=graph-rest-1.0 func (m *EntitlementManagementResourceNamespacesItemResourceActionsRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementResourceNamespacesItemResourceActionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRbacResourceActionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *EntitlementManagementResourceNamespacesItemResourceActionsRequestBuilde } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRbacResourceActionable), nil } -// ToGetRequestInformation get a list of the unifiedRbacResourceAction objects and their properties. +// ToGetRequestInformation operations that an authorized principal is allowed to perform. // returns a *RequestInformation when successful func (m *EntitlementManagementResourceNamespacesItemResourceActionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementResourceNamespacesItemResourceActionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/entitlement_management_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go b/rolemanagement/entitlement_management_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go index d26c5f7ca2f..47232cb7fbf 100644 --- a/rolemanagement/entitlement_management_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go +++ b/rolemanagement/entitlement_management_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go @@ -18,7 +18,7 @@ type EntitlementManagementResourceNamespacesItemResourceActionsUnifiedRbacResour // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EntitlementManagementResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilderGetQueryParameters read the properties and relationships of an unifiedRbacResourceAction object. +// EntitlementManagementResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilderGetQueryParameters operations that an authorized principal is allowed to perform. type EntitlementManagementResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *EntitlementManagementResourceNamespacesItemResourceActionsUnifiedRbacRe } return nil } -// Get read the properties and relationships of an unifiedRbacResourceAction object. +// Get operations that an authorized principal is allowed to perform. // returns a UnifiedRbacResourceActionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedrbacresourceaction-get?view=graph-rest-1.0 func (m *EntitlementManagementResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRbacResourceActionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -134,7 +131,7 @@ func (m *EntitlementManagementResourceNamespacesItemResourceActionsUnifiedRbacRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an unifiedRbacResourceAction object. +// ToGetRequestInformation operations that an authorized principal is allowed to perform. // returns a *RequestInformation when successful func (m *EntitlementManagementResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/entitlement_management_resource_namespaces_request_builder.go b/rolemanagement/entitlement_management_resource_namespaces_request_builder.go index 3656fb67565..73f5b713b72 100644 --- a/rolemanagement/entitlement_management_resource_namespaces_request_builder.go +++ b/rolemanagement/entitlement_management_resource_namespaces_request_builder.go @@ -11,7 +11,7 @@ import ( type EntitlementManagementResourceNamespacesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementResourceNamespacesRequestBuilderGetQueryParameters get a list of the unifiedRbacResourceNamespace objects and their properties. +// EntitlementManagementResourceNamespacesRequestBuilderGetQueryParameters get resourceNamespaces from roleManagement type EntitlementManagementResourceNamespacesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewEntitlementManagementResourceNamespacesRequestBuilder(rawUrl string, req func (m *EntitlementManagementResourceNamespacesRequestBuilder) Count()(*EntitlementManagementResourceNamespacesCountRequestBuilder) { return NewEntitlementManagementResourceNamespacesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the unifiedRbacResourceNamespace objects and their properties. +// Get get resourceNamespaces from roleManagement // returns a UnifiedRbacResourceNamespaceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplicationmultiple-list-resourcenamespaces?view=graph-rest-1.0 func (m *EntitlementManagementResourceNamespacesRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementResourceNamespacesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRbacResourceNamespaceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *EntitlementManagementResourceNamespacesRequestBuilder) Post(ctx context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRbacResourceNamespaceable), nil } -// ToGetRequestInformation get a list of the unifiedRbacResourceNamespace objects and their properties. +// ToGetRequestInformation get resourceNamespaces from roleManagement // returns a *RequestInformation when successful func (m *EntitlementManagementResourceNamespacesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementResourceNamespacesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/entitlement_management_resource_namespaces_unified_rbac_resource_namespace_item_request_builder.go b/rolemanagement/entitlement_management_resource_namespaces_unified_rbac_resource_namespace_item_request_builder.go index bd53b66ff7b..84b66ab2fa7 100644 --- a/rolemanagement/entitlement_management_resource_namespaces_unified_rbac_resource_namespace_item_request_builder.go +++ b/rolemanagement/entitlement_management_resource_namespaces_unified_rbac_resource_namespace_item_request_builder.go @@ -18,7 +18,7 @@ type EntitlementManagementResourceNamespacesUnifiedRbacResourceNamespaceItemRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EntitlementManagementResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuilderGetQueryParameters read the properties and relationships of an unifiedRbacResourceNamespace object. +// EntitlementManagementResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuilderGetQueryParameters get resourceNamespaces from roleManagement type EntitlementManagementResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *EntitlementManagementResourceNamespacesUnifiedRbacResourceNamespaceItem } return nil } -// Get read the properties and relationships of an unifiedRbacResourceNamespace object. +// Get get resourceNamespaces from roleManagement // returns a UnifiedRbacResourceNamespaceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedrbacresourcenamespace-get?view=graph-rest-1.0 func (m *EntitlementManagementResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRbacResourceNamespaceable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -134,7 +131,7 @@ func (m *EntitlementManagementResourceNamespacesUnifiedRbacResourceNamespaceItem requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an unifiedRbacResourceNamespace object. +// ToGetRequestInformation get resourceNamespaces from roleManagement // returns a *RequestInformation when successful func (m *EntitlementManagementResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/entitlement_management_role_assignment_approvals_filter_by_current_user_with_on_request_builder.go b/rolemanagement/entitlement_management_role_assignment_approvals_filter_by_current_user_with_on_request_builder.go index 1e0803afd9a..d9c33a30dc4 100644 --- a/rolemanagement/entitlement_management_role_assignment_approvals_filter_by_current_user_with_on_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_approvals_filter_by_current_user_with_on_request_builder.go @@ -10,7 +10,7 @@ import ( type EntitlementManagementRoleAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementRoleAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters invoke function filterByCurrentUser +// EntitlementManagementRoleAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters in Microsoft Entra entitlement management, return a collection of access package assignment approvals. The objects returned are those that are in scope for approval by the calling user. In PIM for groups, return a collection of assignment approvals. The objects returned are those that are in scope for approval by the calling user. type EntitlementManagementRoleAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewEntitlementManagementRoleAssignmentApprovalsFilterByCurrentUserWithOnReq urlParams["request-raw-url"] = rawUrl return NewEntitlementManagementRoleAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function filterByCurrentUser +// Get in Microsoft Entra entitlement management, return a collection of access package assignment approvals. The objects returned are those that are in scope for approval by the calling user. In PIM for groups, return a collection of assignment approvals. The objects returned are those that are in scope for approval by the calling user. // Deprecated: This method is obsolete. Use GetAsFilterByCurrentUserWithOnGetResponse instead. // returns a EntitlementManagementRoleAssignmentApprovalsFilterByCurrentUserWithOnResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/approval-filterbycurrentuser?view=graph-rest-beta func (m *EntitlementManagementRoleAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementRoleAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(EntitlementManagementRoleAssignmentApprovalsFilterByCurrentUserWithOnResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *EntitlementManagementRoleAssignmentApprovalsFilterByCurrentUserWithOnRe } return res.(EntitlementManagementRoleAssignmentApprovalsFilterByCurrentUserWithOnResponseable), nil } -// GetAsFilterByCurrentUserWithOnGetResponse invoke function filterByCurrentUser +// GetAsFilterByCurrentUserWithOnGetResponse in Microsoft Entra entitlement management, return a collection of access package assignment approvals. The objects returned are those that are in scope for approval by the calling user. In PIM for groups, return a collection of assignment approvals. The objects returned are those that are in scope for approval by the calling user. // returns a EntitlementManagementRoleAssignmentApprovalsFilterByCurrentUserWithOnGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/approval-filterbycurrentuser?view=graph-rest-beta func (m *EntitlementManagementRoleAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilder) GetAsFilterByCurrentUserWithOnGetResponse(ctx context.Context, requestConfiguration *EntitlementManagementRoleAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(EntitlementManagementRoleAssignmentApprovalsFilterByCurrentUserWithOnGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *EntitlementManagementRoleAssignmentApprovalsFilterByCurrentUserWithOnRe } return res.(EntitlementManagementRoleAssignmentApprovalsFilterByCurrentUserWithOnGetResponseable), nil } -// ToGetRequestInformation invoke function filterByCurrentUser +// ToGetRequestInformation in Microsoft Entra entitlement management, return a collection of access package assignment approvals. The objects returned are those that are in scope for approval by the calling user. In PIM for groups, return a collection of assignment approvals. The objects returned are those that are in scope for approval by the calling user. // returns a *RequestInformation when successful func (m *EntitlementManagementRoleAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementRoleAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/entitlement_management_role_assignment_approvals_item_steps_approval_step_item_request_builder.go b/rolemanagement/entitlement_management_role_assignment_approvals_item_steps_approval_step_item_request_builder.go index 35a0d842952..c7a341fdf7d 100644 --- a/rolemanagement/entitlement_management_role_assignment_approvals_item_steps_approval_step_item_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_approvals_item_steps_approval_step_item_request_builder.go @@ -18,7 +18,7 @@ type EntitlementManagementRoleAssignmentApprovalsItemStepsApprovalStepItemReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EntitlementManagementRoleAssignmentApprovalsItemStepsApprovalStepItemRequestBuilderGetQueryParameters retrieve the properties of an approvalStep object. +// EntitlementManagementRoleAssignmentApprovalsItemStepsApprovalStepItemRequestBuilderGetQueryParameters used to represent the decision associated with a single step in the approval process configured in approvalStage. type EntitlementManagementRoleAssignmentApprovalsItemStepsApprovalStepItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *EntitlementManagementRoleAssignmentApprovalsItemStepsApprovalStepItemRe } return nil } -// Get retrieve the properties of an approvalStep object. +// Get used to represent the decision associated with a single step in the approval process configured in approvalStage. // returns a ApprovalStepable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/approvalstep-get?view=graph-rest-1.0 func (m *EntitlementManagementRoleAssignmentApprovalsItemStepsApprovalStepItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementRoleAssignmentApprovalsItemStepsApprovalStepItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalStepable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *EntitlementManagementRoleAssignmentApprovalsItemStepsApprovalStepItemRe } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalStepable), nil } -// Patch apply approve or deny decision on an approvalStep object. +// Patch update the navigation property steps in roleManagement // returns a ApprovalStepable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/approvalstep-update?view=graph-rest-1.0 func (m *EntitlementManagementRoleAssignmentApprovalsItemStepsApprovalStepItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalStepable, requestConfiguration *EntitlementManagementRoleAssignmentApprovalsItemStepsApprovalStepItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalStepable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *EntitlementManagementRoleAssignmentApprovalsItemStepsApprovalStepItemRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties of an approvalStep object. +// ToGetRequestInformation used to represent the decision associated with a single step in the approval process configured in approvalStage. // returns a *RequestInformation when successful func (m *EntitlementManagementRoleAssignmentApprovalsItemStepsApprovalStepItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementRoleAssignmentApprovalsItemStepsApprovalStepItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *EntitlementManagementRoleAssignmentApprovalsItemStepsApprovalStepItemRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation apply approve or deny decision on an approvalStep object. +// ToPatchRequestInformation update the navigation property steps in roleManagement // returns a *RequestInformation when successful func (m *EntitlementManagementRoleAssignmentApprovalsItemStepsApprovalStepItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalStepable, requestConfiguration *EntitlementManagementRoleAssignmentApprovalsItemStepsApprovalStepItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/entitlement_management_role_assignment_approvals_item_steps_request_builder.go b/rolemanagement/entitlement_management_role_assignment_approvals_item_steps_request_builder.go index 17df38fd166..b630cf92967 100644 --- a/rolemanagement/entitlement_management_role_assignment_approvals_item_steps_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_approvals_item_steps_request_builder.go @@ -11,7 +11,7 @@ import ( type EntitlementManagementRoleAssignmentApprovalsItemStepsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementRoleAssignmentApprovalsItemStepsRequestBuilderGetQueryParameters list the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: +// EntitlementManagementRoleAssignmentApprovalsItemStepsRequestBuilderGetQueryParameters used to represent the decision associated with a single step in the approval process configured in approvalStage. type EntitlementManagementRoleAssignmentApprovalsItemStepsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewEntitlementManagementRoleAssignmentApprovalsItemStepsRequestBuilder(rawU func (m *EntitlementManagementRoleAssignmentApprovalsItemStepsRequestBuilder) Count()(*EntitlementManagementRoleAssignmentApprovalsItemStepsCountRequestBuilder) { return NewEntitlementManagementRoleAssignmentApprovalsItemStepsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: +// Get used to represent the decision associated with a single step in the approval process configured in approvalStage. // returns a ApprovalStepCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/approval-list-steps?view=graph-rest-1.0 func (m *EntitlementManagementRoleAssignmentApprovalsItemStepsRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementRoleAssignmentApprovalsItemStepsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalStepCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *EntitlementManagementRoleAssignmentApprovalsItemStepsRequestBuilder) Po } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalStepable), nil } -// ToGetRequestInformation list the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: +// ToGetRequestInformation used to represent the decision associated with a single step in the approval process configured in approvalStage. // returns a *RequestInformation when successful func (m *EntitlementManagementRoleAssignmentApprovalsItemStepsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementRoleAssignmentApprovalsItemStepsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/entitlement_management_role_assignment_schedule_instances_filter_by_current_user_with_on_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedule_instances_filter_by_current_user_with_on_request_builder.go index 3116a6b11fe..d0fa4256b6e 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedule_instances_filter_by_current_user_with_on_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedule_instances_filter_by_current_user_with_on_request_builder.go @@ -10,7 +10,7 @@ import ( type EntitlementManagementRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters invoke function filterByCurrentUser +// EntitlementManagementRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters get the instances of active role assignments for the calling principal. type EntitlementManagementRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewEntitlementManagementRoleAssignmentScheduleInstancesFilterByCurrentUserW urlParams["request-raw-url"] = rawUrl return NewEntitlementManagementRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function filterByCurrentUser +// Get get the instances of active role assignments for the calling principal. // Deprecated: This method is obsolete. Use GetAsFilterByCurrentUserWithOnGetResponse instead. // returns a EntitlementManagementRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleassignmentscheduleinstance-filterbycurrentuser?view=graph-rest-beta func (m *EntitlementManagementRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(EntitlementManagementRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *EntitlementManagementRoleAssignmentScheduleInstancesFilterByCurrentUser } return res.(EntitlementManagementRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnResponseable), nil } -// GetAsFilterByCurrentUserWithOnGetResponse invoke function filterByCurrentUser +// GetAsFilterByCurrentUserWithOnGetResponse get the instances of active role assignments for the calling principal. // returns a EntitlementManagementRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleassignmentscheduleinstance-filterbycurrentuser?view=graph-rest-beta func (m *EntitlementManagementRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilder) GetAsFilterByCurrentUserWithOnGetResponse(ctx context.Context, requestConfiguration *EntitlementManagementRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(EntitlementManagementRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *EntitlementManagementRoleAssignmentScheduleInstancesFilterByCurrentUser } return res.(EntitlementManagementRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnGetResponseable), nil } -// ToGetRequestInformation invoke function filterByCurrentUser +// ToGetRequestInformation get the instances of active role assignments for the calling principal. // returns a *RequestInformation when successful func (m *EntitlementManagementRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/entitlement_management_role_assignment_schedule_instances_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedule_instances_request_builder.go index 657b8536221..12047a6883c 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedule_instances_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedule_instances_request_builder.go @@ -11,7 +11,7 @@ import ( type EntitlementManagementRoleAssignmentScheduleInstancesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementRoleAssignmentScheduleInstancesRequestBuilderGetQueryParameters get the instances of active role assignments in your tenant. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. +// EntitlementManagementRoleAssignmentScheduleInstancesRequestBuilderGetQueryParameters get roleAssignmentScheduleInstances from roleManagement type EntitlementManagementRoleAssignmentScheduleInstancesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *EntitlementManagementRoleAssignmentScheduleInstancesRequestBuilder) Cou func (m *EntitlementManagementRoleAssignmentScheduleInstancesRequestBuilder) FilterByCurrentUserWithOn(on *string)(*EntitlementManagementRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilder) { return NewEntitlementManagementRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, on) } -// Get get the instances of active role assignments in your tenant. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. +// Get get roleAssignmentScheduleInstances from roleManagement // returns a UnifiedRoleAssignmentScheduleInstanceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplication-list-roleassignmentscheduleinstances?view=graph-rest-1.0 func (m *EntitlementManagementRoleAssignmentScheduleInstancesRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementRoleAssignmentScheduleInstancesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentScheduleInstanceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *EntitlementManagementRoleAssignmentScheduleInstancesRequestBuilder) Pos } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentScheduleInstanceable), nil } -// ToGetRequestInformation get the instances of active role assignments in your tenant. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. +// ToGetRequestInformation get roleAssignmentScheduleInstances from roleManagement // returns a *RequestInformation when successful func (m *EntitlementManagementRoleAssignmentScheduleInstancesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementRoleAssignmentScheduleInstancesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/entitlement_management_role_assignment_schedule_instances_unified_role_assignment_schedule_instance_item_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedule_instances_unified_role_assignment_schedule_instance_item_request_builder.go index 6829a4b3b6f..4020461c5ec 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedule_instances_unified_role_assignment_schedule_instance_item_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedule_instances_unified_role_assignment_schedule_instance_item_request_builder.go @@ -18,7 +18,7 @@ type EntitlementManagementRoleAssignmentScheduleInstancesUnifiedRoleAssignmentSc // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EntitlementManagementRoleAssignmentScheduleInstancesUnifiedRoleAssignmentScheduleInstanceItemRequestBuilderGetQueryParameters get the instance of an active role assignment. +// EntitlementManagementRoleAssignmentScheduleInstancesUnifiedRoleAssignmentScheduleInstanceItemRequestBuilderGetQueryParameters get roleAssignmentScheduleInstances from roleManagement type EntitlementManagementRoleAssignmentScheduleInstancesUnifiedRoleAssignmentScheduleInstanceItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -85,12 +85,9 @@ func (m *EntitlementManagementRoleAssignmentScheduleInstancesUnifiedRoleAssignme func (m *EntitlementManagementRoleAssignmentScheduleInstancesUnifiedRoleAssignmentScheduleInstanceItemRequestBuilder) DirectoryScope()(*EntitlementManagementRoleAssignmentScheduleInstancesItemDirectoryScopeRequestBuilder) { return NewEntitlementManagementRoleAssignmentScheduleInstancesItemDirectoryScopeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the instance of an active role assignment. +// Get get roleAssignmentScheduleInstances from roleManagement // returns a UnifiedRoleAssignmentScheduleInstanceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleassignmentscheduleinstance-get?view=graph-rest-1.0 func (m *EntitlementManagementRoleAssignmentScheduleInstancesUnifiedRoleAssignmentScheduleInstanceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementRoleAssignmentScheduleInstancesUnifiedRoleAssignmentScheduleInstanceItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentScheduleInstanceable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -149,7 +146,7 @@ func (m *EntitlementManagementRoleAssignmentScheduleInstancesUnifiedRoleAssignme requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the instance of an active role assignment. +// ToGetRequestInformation get roleAssignmentScheduleInstances from roleManagement // returns a *RequestInformation when successful func (m *EntitlementManagementRoleAssignmentScheduleInstancesUnifiedRoleAssignmentScheduleInstanceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementRoleAssignmentScheduleInstancesUnifiedRoleAssignmentScheduleInstanceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/entitlement_management_role_assignment_schedule_requests_filter_by_current_user_with_on_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedule_requests_filter_by_current_user_with_on_request_builder.go index 2edb4044172..f85aa4574ad 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedule_requests_filter_by_current_user_with_on_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedule_requests_filter_by_current_user_with_on_request_builder.go @@ -10,7 +10,7 @@ import ( type EntitlementManagementRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters invoke function filterByCurrentUser +// EntitlementManagementRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters in PIM, retrieve the requests for active role assignments for a particular principal. The principal can be the creator or approver of the unifiedRoleAssignmentScheduleRequest object, or they can be the target of the assignment. type EntitlementManagementRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewEntitlementManagementRoleAssignmentScheduleRequestsFilterByCurrentUserWi urlParams["request-raw-url"] = rawUrl return NewEntitlementManagementRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function filterByCurrentUser +// Get in PIM, retrieve the requests for active role assignments for a particular principal. The principal can be the creator or approver of the unifiedRoleAssignmentScheduleRequest object, or they can be the target of the assignment. // Deprecated: This method is obsolete. Use GetAsFilterByCurrentUserWithOnGetResponse instead. // returns a EntitlementManagementRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleassignmentschedulerequest-filterbycurrentuser?view=graph-rest-beta func (m *EntitlementManagementRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(EntitlementManagementRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *EntitlementManagementRoleAssignmentScheduleRequestsFilterByCurrentUserW } return res.(EntitlementManagementRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnResponseable), nil } -// GetAsFilterByCurrentUserWithOnGetResponse invoke function filterByCurrentUser +// GetAsFilterByCurrentUserWithOnGetResponse in PIM, retrieve the requests for active role assignments for a particular principal. The principal can be the creator or approver of the unifiedRoleAssignmentScheduleRequest object, or they can be the target of the assignment. // returns a EntitlementManagementRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleassignmentschedulerequest-filterbycurrentuser?view=graph-rest-beta func (m *EntitlementManagementRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilder) GetAsFilterByCurrentUserWithOnGetResponse(ctx context.Context, requestConfiguration *EntitlementManagementRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(EntitlementManagementRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *EntitlementManagementRoleAssignmentScheduleRequestsFilterByCurrentUserW } return res.(EntitlementManagementRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnGetResponseable), nil } -// ToGetRequestInformation invoke function filterByCurrentUser +// ToGetRequestInformation in PIM, retrieve the requests for active role assignments for a particular principal. The principal can be the creator or approver of the unifiedRoleAssignmentScheduleRequest object, or they can be the target of the assignment. // returns a *RequestInformation when successful func (m *EntitlementManagementRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/entitlement_management_role_assignment_schedule_requests_item_cancel_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedule_requests_item_cancel_request_builder.go index 7c43c6166ad..5474098ebc9 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedule_requests_item_cancel_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedule_requests_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewEntitlementManagementRoleAssignmentScheduleRequestsItemCancelRequestBuil // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleassignmentschedulerequest-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleassignmentschedulerequest-cancel?view=graph-rest-beta func (m *EntitlementManagementRoleAssignmentScheduleRequestsItemCancelRequestBuilder) Post(ctx context.Context, requestConfiguration *EntitlementManagementRoleAssignmentScheduleRequestsItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/rolemanagement/entitlement_management_role_assignment_schedule_requests_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedule_requests_request_builder.go index 1c911c3dadd..bdf6b26a005 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedule_requests_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedule_requests_request_builder.go @@ -11,7 +11,7 @@ import ( type EntitlementManagementRoleAssignmentScheduleRequestsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementRoleAssignmentScheduleRequestsRequestBuilderGetQueryParameters retrieve the requests for active role assignments to principals. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. The role assignments can be permanently active with or without an expiry date, or temporarily active after user activation of eligible assignments. +// EntitlementManagementRoleAssignmentScheduleRequestsRequestBuilderGetQueryParameters get roleAssignmentScheduleRequests from roleManagement type EntitlementManagementRoleAssignmentScheduleRequestsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *EntitlementManagementRoleAssignmentScheduleRequestsRequestBuilder) Coun func (m *EntitlementManagementRoleAssignmentScheduleRequestsRequestBuilder) FilterByCurrentUserWithOn(on *string)(*EntitlementManagementRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilder) { return NewEntitlementManagementRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, on) } -// Get retrieve the requests for active role assignments to principals. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. The role assignments can be permanently active with or without an expiry date, or temporarily active after user activation of eligible assignments. +// Get get roleAssignmentScheduleRequests from roleManagement // returns a UnifiedRoleAssignmentScheduleRequestCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplication-list-roleassignmentschedulerequests?view=graph-rest-1.0 func (m *EntitlementManagementRoleAssignmentScheduleRequestsRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementRoleAssignmentScheduleRequestsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentScheduleRequestCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *EntitlementManagementRoleAssignmentScheduleRequestsRequestBuilder) Get( } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentScheduleRequestCollectionResponseable), nil } -// Post create a new unifiedRoleAssignmentScheduleRequest object. This operation allows both admins and users to add, remove, extend, or renew assignments. To run this request, the calling user must have multifactor authentication (MFA) enforced, and running the query in a session in which they were challenged for MFA. See Enable per-user Microsoft Entra multifactor authentication to secure sign-in events. +// Post create new navigation property to roleAssignmentScheduleRequests for roleManagement // returns a UnifiedRoleAssignmentScheduleRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplication-post-roleassignmentschedulerequests?view=graph-rest-1.0 func (m *EntitlementManagementRoleAssignmentScheduleRequestsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentScheduleRequestable, requestConfiguration *EntitlementManagementRoleAssignmentScheduleRequestsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentScheduleRequestable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *EntitlementManagementRoleAssignmentScheduleRequestsRequestBuilder) Post } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentScheduleRequestable), nil } -// ToGetRequestInformation retrieve the requests for active role assignments to principals. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. The role assignments can be permanently active with or without an expiry date, or temporarily active after user activation of eligible assignments. +// ToGetRequestInformation get roleAssignmentScheduleRequests from roleManagement // returns a *RequestInformation when successful func (m *EntitlementManagementRoleAssignmentScheduleRequestsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementRoleAssignmentScheduleRequestsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *EntitlementManagementRoleAssignmentScheduleRequestsRequestBuilder) ToGe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new unifiedRoleAssignmentScheduleRequest object. This operation allows both admins and users to add, remove, extend, or renew assignments. To run this request, the calling user must have multifactor authentication (MFA) enforced, and running the query in a session in which they were challenged for MFA. See Enable per-user Microsoft Entra multifactor authentication to secure sign-in events. +// ToPostRequestInformation create new navigation property to roleAssignmentScheduleRequests for roleManagement // returns a *RequestInformation when successful func (m *EntitlementManagementRoleAssignmentScheduleRequestsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentScheduleRequestable, requestConfiguration *EntitlementManagementRoleAssignmentScheduleRequestsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/entitlement_management_role_assignment_schedule_requests_unified_role_assignment_schedule_request_item_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedule_requests_unified_role_assignment_schedule_request_item_request_builder.go index 7caaf3c2361..a1a16efd219 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedule_requests_unified_role_assignment_schedule_request_item_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedule_requests_unified_role_assignment_schedule_request_item_request_builder.go @@ -18,7 +18,7 @@ type EntitlementManagementRoleAssignmentScheduleRequestsUnifiedRoleAssignmentSch // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EntitlementManagementRoleAssignmentScheduleRequestsUnifiedRoleAssignmentScheduleRequestItemRequestBuilderGetQueryParameters in PIM, read the details of a request for an active and persistent role assignment made through the unifiedRoleAssignmentScheduleRequest object. +// EntitlementManagementRoleAssignmentScheduleRequestsUnifiedRoleAssignmentScheduleRequestItemRequestBuilderGetQueryParameters get roleAssignmentScheduleRequests from roleManagement type EntitlementManagementRoleAssignmentScheduleRequestsUnifiedRoleAssignmentScheduleRequestItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -90,12 +90,9 @@ func (m *EntitlementManagementRoleAssignmentScheduleRequestsUnifiedRoleAssignmen func (m *EntitlementManagementRoleAssignmentScheduleRequestsUnifiedRoleAssignmentScheduleRequestItemRequestBuilder) DirectoryScope()(*EntitlementManagementRoleAssignmentScheduleRequestsItemDirectoryScopeRequestBuilder) { return NewEntitlementManagementRoleAssignmentScheduleRequestsItemDirectoryScopeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get in PIM, read the details of a request for an active and persistent role assignment made through the unifiedRoleAssignmentScheduleRequest object. +// Get get roleAssignmentScheduleRequests from roleManagement // returns a UnifiedRoleAssignmentScheduleRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleassignmentschedulerequest-get?view=graph-rest-1.0 func (m *EntitlementManagementRoleAssignmentScheduleRequestsUnifiedRoleAssignmentScheduleRequestItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementRoleAssignmentScheduleRequestsUnifiedRoleAssignmentScheduleRequestItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentScheduleRequestable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -159,7 +156,7 @@ func (m *EntitlementManagementRoleAssignmentScheduleRequestsUnifiedRoleAssignmen requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation in PIM, read the details of a request for an active and persistent role assignment made through the unifiedRoleAssignmentScheduleRequest object. +// ToGetRequestInformation get roleAssignmentScheduleRequests from roleManagement // returns a *RequestInformation when successful func (m *EntitlementManagementRoleAssignmentScheduleRequestsUnifiedRoleAssignmentScheduleRequestItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementRoleAssignmentScheduleRequestsUnifiedRoleAssignmentScheduleRequestItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/entitlement_management_role_assignment_schedules_filter_by_current_user_with_on_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedules_filter_by_current_user_with_on_request_builder.go index 4f6118dadac..b86f444611c 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedules_filter_by_current_user_with_on_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedules_filter_by_current_user_with_on_request_builder.go @@ -10,7 +10,7 @@ import ( type EntitlementManagementRoleAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementRoleAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters invoke function filterByCurrentUser +// EntitlementManagementRoleAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters retrieve the schedules for active role assignment operations for which the signed-in user is the principal. type EntitlementManagementRoleAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewEntitlementManagementRoleAssignmentSchedulesFilterByCurrentUserWithOnReq urlParams["request-raw-url"] = rawUrl return NewEntitlementManagementRoleAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function filterByCurrentUser +// Get retrieve the schedules for active role assignment operations for which the signed-in user is the principal. // Deprecated: This method is obsolete. Use GetAsFilterByCurrentUserWithOnGetResponse instead. // returns a EntitlementManagementRoleAssignmentSchedulesFilterByCurrentUserWithOnResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleassignmentschedule-filterbycurrentuser?view=graph-rest-beta func (m *EntitlementManagementRoleAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementRoleAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(EntitlementManagementRoleAssignmentSchedulesFilterByCurrentUserWithOnResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *EntitlementManagementRoleAssignmentSchedulesFilterByCurrentUserWithOnRe } return res.(EntitlementManagementRoleAssignmentSchedulesFilterByCurrentUserWithOnResponseable), nil } -// GetAsFilterByCurrentUserWithOnGetResponse invoke function filterByCurrentUser +// GetAsFilterByCurrentUserWithOnGetResponse retrieve the schedules for active role assignment operations for which the signed-in user is the principal. // returns a EntitlementManagementRoleAssignmentSchedulesFilterByCurrentUserWithOnGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleassignmentschedule-filterbycurrentuser?view=graph-rest-beta func (m *EntitlementManagementRoleAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilder) GetAsFilterByCurrentUserWithOnGetResponse(ctx context.Context, requestConfiguration *EntitlementManagementRoleAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(EntitlementManagementRoleAssignmentSchedulesFilterByCurrentUserWithOnGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *EntitlementManagementRoleAssignmentSchedulesFilterByCurrentUserWithOnRe } return res.(EntitlementManagementRoleAssignmentSchedulesFilterByCurrentUserWithOnGetResponseable), nil } -// ToGetRequestInformation invoke function filterByCurrentUser +// ToGetRequestInformation retrieve the schedules for active role assignment operations for which the signed-in user is the principal. // returns a *RequestInformation when successful func (m *EntitlementManagementRoleAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementRoleAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/entitlement_management_role_assignment_schedules_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedules_request_builder.go index 2c462c86af6..9dee367bca6 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedules_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedules_request_builder.go @@ -11,7 +11,7 @@ import ( type EntitlementManagementRoleAssignmentSchedulesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementRoleAssignmentSchedulesRequestBuilderGetQueryParameters get the schedules for active role assignment operations. +// EntitlementManagementRoleAssignmentSchedulesRequestBuilderGetQueryParameters get roleAssignmentSchedules from roleManagement type EntitlementManagementRoleAssignmentSchedulesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *EntitlementManagementRoleAssignmentSchedulesRequestBuilder) Count()(*En func (m *EntitlementManagementRoleAssignmentSchedulesRequestBuilder) FilterByCurrentUserWithOn(on *string)(*EntitlementManagementRoleAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilder) { return NewEntitlementManagementRoleAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, on) } -// Get get the schedules for active role assignment operations. +// Get get roleAssignmentSchedules from roleManagement // returns a UnifiedRoleAssignmentScheduleCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplication-list-roleassignmentschedules?view=graph-rest-1.0 func (m *EntitlementManagementRoleAssignmentSchedulesRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementRoleAssignmentSchedulesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentScheduleCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *EntitlementManagementRoleAssignmentSchedulesRequestBuilder) Post(ctx co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentScheduleable), nil } -// ToGetRequestInformation get the schedules for active role assignment operations. +// ToGetRequestInformation get roleAssignmentSchedules from roleManagement // returns a *RequestInformation when successful func (m *EntitlementManagementRoleAssignmentSchedulesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementRoleAssignmentSchedulesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/entitlement_management_role_assignment_schedules_unified_role_assignment_schedule_item_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedules_unified_role_assignment_schedule_item_request_builder.go index 334bb036ea7..7a1624398c5 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedules_unified_role_assignment_schedule_item_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedules_unified_role_assignment_schedule_item_request_builder.go @@ -18,7 +18,7 @@ type EntitlementManagementRoleAssignmentSchedulesUnifiedRoleAssignmentScheduleIt // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EntitlementManagementRoleAssignmentSchedulesUnifiedRoleAssignmentScheduleItemRequestBuilderGetQueryParameters retrieve the schedule for an active role assignment operation. +// EntitlementManagementRoleAssignmentSchedulesUnifiedRoleAssignmentScheduleItemRequestBuilderGetQueryParameters get roleAssignmentSchedules from roleManagement type EntitlementManagementRoleAssignmentSchedulesUnifiedRoleAssignmentScheduleItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -85,12 +85,9 @@ func (m *EntitlementManagementRoleAssignmentSchedulesUnifiedRoleAssignmentSchedu func (m *EntitlementManagementRoleAssignmentSchedulesUnifiedRoleAssignmentScheduleItemRequestBuilder) DirectoryScope()(*EntitlementManagementRoleAssignmentSchedulesItemDirectoryScopeRequestBuilder) { return NewEntitlementManagementRoleAssignmentSchedulesItemDirectoryScopeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the schedule for an active role assignment operation. +// Get get roleAssignmentSchedules from roleManagement // returns a UnifiedRoleAssignmentScheduleable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleassignmentschedule-get?view=graph-rest-1.0 func (m *EntitlementManagementRoleAssignmentSchedulesUnifiedRoleAssignmentScheduleItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementRoleAssignmentSchedulesUnifiedRoleAssignmentScheduleItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentScheduleable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -149,7 +146,7 @@ func (m *EntitlementManagementRoleAssignmentSchedulesUnifiedRoleAssignmentSchedu requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the schedule for an active role assignment operation. +// ToGetRequestInformation get roleAssignmentSchedules from roleManagement // returns a *RequestInformation when successful func (m *EntitlementManagementRoleAssignmentSchedulesUnifiedRoleAssignmentScheduleItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementRoleAssignmentSchedulesUnifiedRoleAssignmentScheduleItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/entitlement_management_role_assignments_request_builder.go b/rolemanagement/entitlement_management_role_assignments_request_builder.go index 08550ba4120..c1769b027a6 100644 --- a/rolemanagement/entitlement_management_role_assignments_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignments_request_builder.go @@ -11,7 +11,7 @@ import ( type EntitlementManagementRoleAssignmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementRoleAssignmentsRequestBuilderGetQueryParameters get a list of unifiedRoleAssignment objects for the provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra entitlement management)- Exchange Online +// EntitlementManagementRoleAssignmentsRequestBuilderGetQueryParameters get roleAssignments from roleManagement type EntitlementManagementRoleAssignmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewEntitlementManagementRoleAssignmentsRequestBuilder(rawUrl string, reques func (m *EntitlementManagementRoleAssignmentsRequestBuilder) Count()(*EntitlementManagementRoleAssignmentsCountRequestBuilder) { return NewEntitlementManagementRoleAssignmentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of unifiedRoleAssignment objects for the provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra entitlement management)- Exchange Online +// Get get roleAssignments from roleManagement // returns a UnifiedRoleAssignmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplication-list-roleassignments?view=graph-rest-1.0 func (m *EntitlementManagementRoleAssignmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementRoleAssignmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *EntitlementManagementRoleAssignmentsRequestBuilder) Get(ctx context.Con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentCollectionResponseable), nil } -// Post create a new unifiedRoleAssignment object. +// Post create new navigation property to roleAssignments for roleManagement // returns a UnifiedRoleAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplication-post-roleassignments?view=graph-rest-1.0 func (m *EntitlementManagementRoleAssignmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentable, requestConfiguration *EntitlementManagementRoleAssignmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *EntitlementManagementRoleAssignmentsRequestBuilder) Post(ctx context.Co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentable), nil } -// ToGetRequestInformation get a list of unifiedRoleAssignment objects for the provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra entitlement management)- Exchange Online +// ToGetRequestInformation get roleAssignments from roleManagement // returns a *RequestInformation when successful func (m *EntitlementManagementRoleAssignmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementRoleAssignmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *EntitlementManagementRoleAssignmentsRequestBuilder) ToGetRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new unifiedRoleAssignment object. +// ToPostRequestInformation create new navigation property to roleAssignments for roleManagement // returns a *RequestInformation when successful func (m *EntitlementManagementRoleAssignmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentable, requestConfiguration *EntitlementManagementRoleAssignmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/entitlement_management_role_assignments_unified_role_assignment_item_request_builder.go b/rolemanagement/entitlement_management_role_assignments_unified_role_assignment_item_request_builder.go index 003f0d266ff..63bd15f1a8a 100644 --- a/rolemanagement/entitlement_management_role_assignments_unified_role_assignment_item_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignments_unified_role_assignment_item_request_builder.go @@ -18,7 +18,7 @@ type EntitlementManagementRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EntitlementManagementRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a unifiedRoleAssignment object. +// EntitlementManagementRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilderGetQueryParameters get roleAssignments from roleManagement type EntitlementManagementRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewEntitlementManagementRoleAssignmentsUnifiedRoleAssignmentItemRequestBuil urlParams["request-raw-url"] = rawUrl return NewEntitlementManagementRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a unifiedRoleAssignment object. +// Delete delete navigation property roleAssignments for roleManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleassignment-delete?view=graph-rest-1.0 func (m *EntitlementManagementRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *EntitlementManagementRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -83,12 +80,9 @@ func (m *EntitlementManagementRoleAssignmentsUnifiedRoleAssignmentItemRequestBui func (m *EntitlementManagementRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) DirectoryScope()(*EntitlementManagementRoleAssignmentsItemDirectoryScopeRequestBuilder) { return NewEntitlementManagementRoleAssignmentsItemDirectoryScopeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties and relationships of a unifiedRoleAssignment object. +// Get get roleAssignments from roleManagement // returns a UnifiedRoleAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleassignment-get?view=graph-rest-1.0 func (m *EntitlementManagementRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -136,7 +130,7 @@ func (m *EntitlementManagementRoleAssignmentsUnifiedRoleAssignmentItemRequestBui func (m *EntitlementManagementRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) RoleDefinition()(*EntitlementManagementRoleAssignmentsItemRoleDefinitionRequestBuilder) { return NewEntitlementManagementRoleAssignmentsItemRoleDefinitionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a unifiedRoleAssignment object. +// ToDeleteRequestInformation delete navigation property roleAssignments for roleManagement // returns a *RequestInformation when successful func (m *EntitlementManagementRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -147,7 +141,7 @@ func (m *EntitlementManagementRoleAssignmentsUnifiedRoleAssignmentItemRequestBui requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a unifiedRoleAssignment object. +// ToGetRequestInformation get roleAssignments from roleManagement // returns a *RequestInformation when successful func (m *EntitlementManagementRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/entitlement_management_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go b/rolemanagement/entitlement_management_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go index 3b10a2f407a..6f29af06487 100644 --- a/rolemanagement/entitlement_management_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go +++ b/rolemanagement/entitlement_management_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go @@ -10,7 +10,7 @@ import ( type EntitlementManagementRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters invoke function assignedPrincipals +// EntitlementManagementRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. type EntitlementManagementRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -57,10 +57,13 @@ func NewEntitlementManagementRoleDefinitionsItemAssignedPrincipalsWithTransitive urlParams["request-raw-url"] = rawUrl return NewEntitlementManagementRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function assignedPrincipals +// Get get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. // Deprecated: This method is obsolete. Use GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse instead. // returns a EntitlementManagementRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroledefinition-assignedprincipals?view=graph-rest-beta func (m *EntitlementManagementRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration)(EntitlementManagementRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,9 +81,12 @@ func (m *EntitlementManagementRoleDefinitionsItemAssignedPrincipalsWithTransitiv } return res.(EntitlementManagementRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponseable), nil } -// GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse invoke function assignedPrincipals +// GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. // returns a EntitlementManagementRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroledefinition-assignedprincipals?view=graph-rest-beta func (m *EntitlementManagementRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder) GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse(ctx context.Context, requestConfiguration *EntitlementManagementRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration)(EntitlementManagementRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,7 +104,7 @@ func (m *EntitlementManagementRoleDefinitionsItemAssignedPrincipalsWithTransitiv } return res.(EntitlementManagementRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponseable), nil } -// ToGetRequestInformation invoke function assignedPrincipals +// ToGetRequestInformation get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. // returns a *RequestInformation when successful func (m *EntitlementManagementRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/entitlement_management_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go b/rolemanagement/entitlement_management_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go index 728c2adcc9e..537ecf0d164 100644 --- a/rolemanagement/entitlement_management_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go +++ b/rolemanagement/entitlement_management_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go @@ -10,7 +10,7 @@ import ( type EntitlementManagementRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters invoke function assignedPrincipals +// EntitlementManagementRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. type EntitlementManagementRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -57,10 +57,13 @@ func NewEntitlementManagementRoleDefinitionsItemInheritsPermissionsFromItemAssig urlParams["request-raw-url"] = rawUrl return NewEntitlementManagementRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function assignedPrincipals +// Get get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. // Deprecated: This method is obsolete. Use GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse instead. // returns a EntitlementManagementRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroledefinition-assignedprincipals?view=graph-rest-beta func (m *EntitlementManagementRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration)(EntitlementManagementRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,9 +81,12 @@ func (m *EntitlementManagementRoleDefinitionsItemInheritsPermissionsFromItemAssi } return res.(EntitlementManagementRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponseable), nil } -// GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse invoke function assignedPrincipals +// GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. // returns a EntitlementManagementRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroledefinition-assignedprincipals?view=graph-rest-beta func (m *EntitlementManagementRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder) GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse(ctx context.Context, requestConfiguration *EntitlementManagementRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration)(EntitlementManagementRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,7 +104,7 @@ func (m *EntitlementManagementRoleDefinitionsItemInheritsPermissionsFromItemAssi } return res.(EntitlementManagementRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponseable), nil } -// ToGetRequestInformation invoke function assignedPrincipals +// ToGetRequestInformation get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. // returns a *RequestInformation when successful func (m *EntitlementManagementRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/entitlement_management_role_definitions_request_builder.go b/rolemanagement/entitlement_management_role_definitions_request_builder.go index 0c5884431ee..78254769161 100644 --- a/rolemanagement/entitlement_management_role_definitions_request_builder.go +++ b/rolemanagement/entitlement_management_role_definitions_request_builder.go @@ -11,7 +11,7 @@ import ( type EntitlementManagementRoleDefinitionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementRoleDefinitionsRequestBuilderGetQueryParameters get a list of unifiedRoleDefinition objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra ID) - entitlement management (Microsoft Entra ID)- Exchange Online +// EntitlementManagementRoleDefinitionsRequestBuilderGetQueryParameters get roleDefinitions from roleManagement type EntitlementManagementRoleDefinitionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewEntitlementManagementRoleDefinitionsRequestBuilder(rawUrl string, reques func (m *EntitlementManagementRoleDefinitionsRequestBuilder) Count()(*EntitlementManagementRoleDefinitionsCountRequestBuilder) { return NewEntitlementManagementRoleDefinitionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of unifiedRoleDefinition objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra ID) - entitlement management (Microsoft Entra ID)- Exchange Online +// Get get roleDefinitions from roleManagement // returns a UnifiedRoleDefinitionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplication-list-roledefinitions?view=graph-rest-1.0 func (m *EntitlementManagementRoleDefinitionsRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementRoleDefinitionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleDefinitionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *EntitlementManagementRoleDefinitionsRequestBuilder) Get(ctx context.Con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleDefinitionCollectionResponseable), nil } -// Post create a new unifiedRoleDefinition object for an RBAC provider. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) +// Post create new navigation property to roleDefinitions for roleManagement // returns a UnifiedRoleDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplication-post-roledefinitions?view=graph-rest-1.0 func (m *EntitlementManagementRoleDefinitionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleDefinitionable, requestConfiguration *EntitlementManagementRoleDefinitionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleDefinitionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *EntitlementManagementRoleDefinitionsRequestBuilder) Post(ctx context.Co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleDefinitionable), nil } -// ToGetRequestInformation get a list of unifiedRoleDefinition objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra ID) - entitlement management (Microsoft Entra ID)- Exchange Online +// ToGetRequestInformation get roleDefinitions from roleManagement // returns a *RequestInformation when successful func (m *EntitlementManagementRoleDefinitionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementRoleDefinitionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *EntitlementManagementRoleDefinitionsRequestBuilder) ToGetRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new unifiedRoleDefinition object for an RBAC provider. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) +// ToPostRequestInformation create new navigation property to roleDefinitions for roleManagement // returns a *RequestInformation when successful func (m *EntitlementManagementRoleDefinitionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleDefinitionable, requestConfiguration *EntitlementManagementRoleDefinitionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/entitlement_management_role_definitions_unified_role_definition_item_request_builder.go b/rolemanagement/entitlement_management_role_definitions_unified_role_definition_item_request_builder.go index 102dbba7fac..b5ee23a207e 100644 --- a/rolemanagement/entitlement_management_role_definitions_unified_role_definition_item_request_builder.go +++ b/rolemanagement/entitlement_management_role_definitions_unified_role_definition_item_request_builder.go @@ -18,7 +18,7 @@ type EntitlementManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EntitlementManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilderGetQueryParameters get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online +// EntitlementManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilderGetQueryParameters get roleDefinitions from roleManagement type EntitlementManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewEntitlementManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBuil urlParams["request-raw-url"] = rawUrl return NewEntitlementManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a unifiedRoleDefinition object for an RBAC provider. You cannot delete built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) +// Delete delete navigation property roleDefinitions for roleManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroledefinition-delete?view=graph-rest-1.0 func (m *EntitlementManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *EntitlementManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *EntitlementManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBui } return nil } -// Get get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online +// Get get roleDefinitions from roleManagement // returns a UnifiedRoleDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroledefinition-get?view=graph-rest-1.0 func (m *EntitlementManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleDefinitionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -106,12 +100,9 @@ func (m *EntitlementManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBui func (m *EntitlementManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) InheritsPermissionsFrom()(*EntitlementManagementRoleDefinitionsItemInheritsPermissionsFromRequestBuilder) { return NewEntitlementManagementRoleDefinitionsItemInheritsPermissionsFromRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of a unifiedRoleDefinition object for an RBAC provider. You cannot update built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) +// Patch update the navigation property roleDefinitions in roleManagement // returns a UnifiedRoleDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroledefinition-update?view=graph-rest-1.0 func (m *EntitlementManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleDefinitionable, requestConfiguration *EntitlementManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleDefinitionable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -129,7 +120,7 @@ func (m *EntitlementManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBui } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleDefinitionable), nil } -// ToDeleteRequestInformation delete a unifiedRoleDefinition object for an RBAC provider. You cannot delete built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) +// ToDeleteRequestInformation delete navigation property roleDefinitions for roleManagement // returns a *RequestInformation when successful func (m *EntitlementManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -140,7 +131,7 @@ func (m *EntitlementManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBui requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online +// ToGetRequestInformation get roleDefinitions from roleManagement // returns a *RequestInformation when successful func (m *EntitlementManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -154,7 +145,7 @@ func (m *EntitlementManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBui requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a unifiedRoleDefinition object for an RBAC provider. You cannot update built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) +// ToPatchRequestInformation update the navigation property roleDefinitions in roleManagement // returns a *RequestInformation when successful func (m *EntitlementManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleDefinitionable, requestConfiguration *EntitlementManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/entitlement_management_role_eligibility_schedule_instances_filter_by_current_user_with_on_request_builder.go b/rolemanagement/entitlement_management_role_eligibility_schedule_instances_filter_by_current_user_with_on_request_builder.go index d9328e1e9ca..ca2bb1cc510 100644 --- a/rolemanagement/entitlement_management_role_eligibility_schedule_instances_filter_by_current_user_with_on_request_builder.go +++ b/rolemanagement/entitlement_management_role_eligibility_schedule_instances_filter_by_current_user_with_on_request_builder.go @@ -10,7 +10,7 @@ import ( type EntitlementManagementRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters invoke function filterByCurrentUser +// EntitlementManagementRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters get a list of the unifiedRoleEligibilityScheduleInstance objects and their properties associated with a particular principal object. type EntitlementManagementRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewEntitlementManagementRoleEligibilityScheduleInstancesFilterByCurrentUser urlParams["request-raw-url"] = rawUrl return NewEntitlementManagementRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function filterByCurrentUser +// Get get a list of the unifiedRoleEligibilityScheduleInstance objects and their properties associated with a particular principal object. // Deprecated: This method is obsolete. Use GetAsFilterByCurrentUserWithOnGetResponse instead. // returns a EntitlementManagementRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleeligibilityscheduleinstance-filterbycurrentuser?view=graph-rest-beta func (m *EntitlementManagementRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(EntitlementManagementRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *EntitlementManagementRoleEligibilityScheduleInstancesFilterByCurrentUse } return res.(EntitlementManagementRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnResponseable), nil } -// GetAsFilterByCurrentUserWithOnGetResponse invoke function filterByCurrentUser +// GetAsFilterByCurrentUserWithOnGetResponse get a list of the unifiedRoleEligibilityScheduleInstance objects and their properties associated with a particular principal object. // returns a EntitlementManagementRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleeligibilityscheduleinstance-filterbycurrentuser?view=graph-rest-beta func (m *EntitlementManagementRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilder) GetAsFilterByCurrentUserWithOnGetResponse(ctx context.Context, requestConfiguration *EntitlementManagementRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(EntitlementManagementRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *EntitlementManagementRoleEligibilityScheduleInstancesFilterByCurrentUse } return res.(EntitlementManagementRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnGetResponseable), nil } -// ToGetRequestInformation invoke function filterByCurrentUser +// ToGetRequestInformation get a list of the unifiedRoleEligibilityScheduleInstance objects and their properties associated with a particular principal object. // returns a *RequestInformation when successful func (m *EntitlementManagementRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/entitlement_management_role_eligibility_schedule_instances_request_builder.go b/rolemanagement/entitlement_management_role_eligibility_schedule_instances_request_builder.go index a71589a5ec6..4bbfd55bad1 100644 --- a/rolemanagement/entitlement_management_role_eligibility_schedule_instances_request_builder.go +++ b/rolemanagement/entitlement_management_role_eligibility_schedule_instances_request_builder.go @@ -11,7 +11,7 @@ import ( type EntitlementManagementRoleEligibilityScheduleInstancesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementRoleEligibilityScheduleInstancesRequestBuilderGetQueryParameters get a list of the unifiedRoleEligibilityScheduleInstance objects and their properties. +// EntitlementManagementRoleEligibilityScheduleInstancesRequestBuilderGetQueryParameters get roleEligibilityScheduleInstances from roleManagement type EntitlementManagementRoleEligibilityScheduleInstancesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *EntitlementManagementRoleEligibilityScheduleInstancesRequestBuilder) Co func (m *EntitlementManagementRoleEligibilityScheduleInstancesRequestBuilder) FilterByCurrentUserWithOn(on *string)(*EntitlementManagementRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilder) { return NewEntitlementManagementRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, on) } -// Get get a list of the unifiedRoleEligibilityScheduleInstance objects and their properties. +// Get get roleEligibilityScheduleInstances from roleManagement // returns a UnifiedRoleEligibilityScheduleInstanceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplication-list-roleeligibilityscheduleinstances?view=graph-rest-1.0 func (m *EntitlementManagementRoleEligibilityScheduleInstancesRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementRoleEligibilityScheduleInstancesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleEligibilityScheduleInstanceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *EntitlementManagementRoleEligibilityScheduleInstancesRequestBuilder) Po } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleEligibilityScheduleInstanceable), nil } -// ToGetRequestInformation get a list of the unifiedRoleEligibilityScheduleInstance objects and their properties. +// ToGetRequestInformation get roleEligibilityScheduleInstances from roleManagement // returns a *RequestInformation when successful func (m *EntitlementManagementRoleEligibilityScheduleInstancesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementRoleEligibilityScheduleInstancesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/entitlement_management_role_eligibility_schedule_instances_unified_role_eligibility_schedule_instance_item_request_builder.go b/rolemanagement/entitlement_management_role_eligibility_schedule_instances_unified_role_eligibility_schedule_instance_item_request_builder.go index 7de6034f438..30ec1ff6cc3 100644 --- a/rolemanagement/entitlement_management_role_eligibility_schedule_instances_unified_role_eligibility_schedule_instance_item_request_builder.go +++ b/rolemanagement/entitlement_management_role_eligibility_schedule_instances_unified_role_eligibility_schedule_instance_item_request_builder.go @@ -18,7 +18,7 @@ type EntitlementManagementRoleEligibilityScheduleInstancesUnifiedRoleEligibility // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EntitlementManagementRoleEligibilityScheduleInstancesUnifiedRoleEligibilityScheduleInstanceItemRequestBuilderGetQueryParameters read the properties and relationships of an unifiedRoleEligibilityScheduleInstance object. +// EntitlementManagementRoleEligibilityScheduleInstancesUnifiedRoleEligibilityScheduleInstanceItemRequestBuilderGetQueryParameters get roleEligibilityScheduleInstances from roleManagement type EntitlementManagementRoleEligibilityScheduleInstancesUnifiedRoleEligibilityScheduleInstanceItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -80,12 +80,9 @@ func (m *EntitlementManagementRoleEligibilityScheduleInstancesUnifiedRoleEligibi func (m *EntitlementManagementRoleEligibilityScheduleInstancesUnifiedRoleEligibilityScheduleInstanceItemRequestBuilder) DirectoryScope()(*EntitlementManagementRoleEligibilityScheduleInstancesItemDirectoryScopeRequestBuilder) { return NewEntitlementManagementRoleEligibilityScheduleInstancesItemDirectoryScopeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of an unifiedRoleEligibilityScheduleInstance object. +// Get get roleEligibilityScheduleInstances from roleManagement // returns a UnifiedRoleEligibilityScheduleInstanceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleeligibilityscheduleinstance-get?view=graph-rest-1.0 func (m *EntitlementManagementRoleEligibilityScheduleInstancesUnifiedRoleEligibilityScheduleInstanceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementRoleEligibilityScheduleInstancesUnifiedRoleEligibilityScheduleInstanceItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleEligibilityScheduleInstanceable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -144,7 +141,7 @@ func (m *EntitlementManagementRoleEligibilityScheduleInstancesUnifiedRoleEligibi requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an unifiedRoleEligibilityScheduleInstance object. +// ToGetRequestInformation get roleEligibilityScheduleInstances from roleManagement // returns a *RequestInformation when successful func (m *EntitlementManagementRoleEligibilityScheduleInstancesUnifiedRoleEligibilityScheduleInstanceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementRoleEligibilityScheduleInstancesUnifiedRoleEligibilityScheduleInstanceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/entitlement_management_role_eligibility_schedule_requests_filter_by_current_user_with_on_request_builder.go b/rolemanagement/entitlement_management_role_eligibility_schedule_requests_filter_by_current_user_with_on_request_builder.go index 5a44ce28f59..2f6bc58ff0a 100644 --- a/rolemanagement/entitlement_management_role_eligibility_schedule_requests_filter_by_current_user_with_on_request_builder.go +++ b/rolemanagement/entitlement_management_role_eligibility_schedule_requests_filter_by_current_user_with_on_request_builder.go @@ -10,7 +10,7 @@ import ( type EntitlementManagementRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters invoke function filterByCurrentUser +// EntitlementManagementRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters get a list of the unifiedRoleEligibilityScheduleRequest objects and their properties associated with the currently signed in principal object. type EntitlementManagementRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewEntitlementManagementRoleEligibilityScheduleRequestsFilterByCurrentUserW urlParams["request-raw-url"] = rawUrl return NewEntitlementManagementRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function filterByCurrentUser +// Get get a list of the unifiedRoleEligibilityScheduleRequest objects and their properties associated with the currently signed in principal object. // Deprecated: This method is obsolete. Use GetAsFilterByCurrentUserWithOnGetResponse instead. // returns a EntitlementManagementRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleeligibilityschedulerequest-filterbycurrentuser?view=graph-rest-beta func (m *EntitlementManagementRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(EntitlementManagementRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *EntitlementManagementRoleEligibilityScheduleRequestsFilterByCurrentUser } return res.(EntitlementManagementRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnResponseable), nil } -// GetAsFilterByCurrentUserWithOnGetResponse invoke function filterByCurrentUser +// GetAsFilterByCurrentUserWithOnGetResponse get a list of the unifiedRoleEligibilityScheduleRequest objects and their properties associated with the currently signed in principal object. // returns a EntitlementManagementRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleeligibilityschedulerequest-filterbycurrentuser?view=graph-rest-beta func (m *EntitlementManagementRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilder) GetAsFilterByCurrentUserWithOnGetResponse(ctx context.Context, requestConfiguration *EntitlementManagementRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(EntitlementManagementRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *EntitlementManagementRoleEligibilityScheduleRequestsFilterByCurrentUser } return res.(EntitlementManagementRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnGetResponseable), nil } -// ToGetRequestInformation invoke function filterByCurrentUser +// ToGetRequestInformation get a list of the unifiedRoleEligibilityScheduleRequest objects and their properties associated with the currently signed in principal object. // returns a *RequestInformation when successful func (m *EntitlementManagementRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/entitlement_management_role_eligibility_schedule_requests_item_cancel_request_builder.go b/rolemanagement/entitlement_management_role_eligibility_schedule_requests_item_cancel_request_builder.go index 1e48b50bfe7..547f32ecf66 100644 --- a/rolemanagement/entitlement_management_role_eligibility_schedule_requests_item_cancel_request_builder.go +++ b/rolemanagement/entitlement_management_role_eligibility_schedule_requests_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewEntitlementManagementRoleEligibilityScheduleRequestsItemCancelRequestBui // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleeligibilityschedulerequest-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleeligibilityschedulerequest-cancel?view=graph-rest-beta func (m *EntitlementManagementRoleEligibilityScheduleRequestsItemCancelRequestBuilder) Post(ctx context.Context, requestConfiguration *EntitlementManagementRoleEligibilityScheduleRequestsItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/rolemanagement/entitlement_management_role_eligibility_schedule_requests_request_builder.go b/rolemanagement/entitlement_management_role_eligibility_schedule_requests_request_builder.go index 3f491d882a8..237a6a7e490 100644 --- a/rolemanagement/entitlement_management_role_eligibility_schedule_requests_request_builder.go +++ b/rolemanagement/entitlement_management_role_eligibility_schedule_requests_request_builder.go @@ -11,7 +11,7 @@ import ( type EntitlementManagementRoleEligibilityScheduleRequestsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementRoleEligibilityScheduleRequestsRequestBuilderGetQueryParameters get a list of the unifiedRoleEligibilityScheduleRequest objects and their properties. +// EntitlementManagementRoleEligibilityScheduleRequestsRequestBuilderGetQueryParameters get roleEligibilityScheduleRequests from roleManagement type EntitlementManagementRoleEligibilityScheduleRequestsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *EntitlementManagementRoleEligibilityScheduleRequestsRequestBuilder) Cou func (m *EntitlementManagementRoleEligibilityScheduleRequestsRequestBuilder) FilterByCurrentUserWithOn(on *string)(*EntitlementManagementRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilder) { return NewEntitlementManagementRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, on) } -// Get get a list of the unifiedRoleEligibilityScheduleRequest objects and their properties. +// Get get roleEligibilityScheduleRequests from roleManagement // returns a UnifiedRoleEligibilityScheduleRequestCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplication-list-roleeligibilityschedulerequests?view=graph-rest-1.0 func (m *EntitlementManagementRoleEligibilityScheduleRequestsRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementRoleEligibilityScheduleRequestsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleEligibilityScheduleRequestCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *EntitlementManagementRoleEligibilityScheduleRequestsRequestBuilder) Get } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleEligibilityScheduleRequestCollectionResponseable), nil } -// Post create a new unifiedRoleEligibilityScheduleRequest object. This operation allows both admins and eligible users to add, revoke, or extend eligible assignments. +// Post create new navigation property to roleEligibilityScheduleRequests for roleManagement // returns a UnifiedRoleEligibilityScheduleRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplication-post-roleeligibilityschedulerequests?view=graph-rest-1.0 func (m *EntitlementManagementRoleEligibilityScheduleRequestsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleEligibilityScheduleRequestable, requestConfiguration *EntitlementManagementRoleEligibilityScheduleRequestsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleEligibilityScheduleRequestable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *EntitlementManagementRoleEligibilityScheduleRequestsRequestBuilder) Pos } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleEligibilityScheduleRequestable), nil } -// ToGetRequestInformation get a list of the unifiedRoleEligibilityScheduleRequest objects and their properties. +// ToGetRequestInformation get roleEligibilityScheduleRequests from roleManagement // returns a *RequestInformation when successful func (m *EntitlementManagementRoleEligibilityScheduleRequestsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementRoleEligibilityScheduleRequestsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *EntitlementManagementRoleEligibilityScheduleRequestsRequestBuilder) ToG requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new unifiedRoleEligibilityScheduleRequest object. This operation allows both admins and eligible users to add, revoke, or extend eligible assignments. +// ToPostRequestInformation create new navigation property to roleEligibilityScheduleRequests for roleManagement // returns a *RequestInformation when successful func (m *EntitlementManagementRoleEligibilityScheduleRequestsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleEligibilityScheduleRequestable, requestConfiguration *EntitlementManagementRoleEligibilityScheduleRequestsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/entitlement_management_role_eligibility_schedule_requests_unified_role_eligibility_schedule_request_item_request_builder.go b/rolemanagement/entitlement_management_role_eligibility_schedule_requests_unified_role_eligibility_schedule_request_item_request_builder.go index 269dd8ca8f6..b59dac9293a 100644 --- a/rolemanagement/entitlement_management_role_eligibility_schedule_requests_unified_role_eligibility_schedule_request_item_request_builder.go +++ b/rolemanagement/entitlement_management_role_eligibility_schedule_requests_unified_role_eligibility_schedule_request_item_request_builder.go @@ -18,7 +18,7 @@ type EntitlementManagementRoleEligibilityScheduleRequestsUnifiedRoleEligibilityS // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EntitlementManagementRoleEligibilityScheduleRequestsUnifiedRoleEligibilityScheduleRequestItemRequestBuilderGetQueryParameters read the properties and relationships of an unifiedRoleEligibilityScheduleRequest object. +// EntitlementManagementRoleEligibilityScheduleRequestsUnifiedRoleEligibilityScheduleRequestItemRequestBuilderGetQueryParameters get roleEligibilityScheduleRequests from roleManagement type EntitlementManagementRoleEligibilityScheduleRequestsUnifiedRoleEligibilityScheduleRequestItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -85,12 +85,9 @@ func (m *EntitlementManagementRoleEligibilityScheduleRequestsUnifiedRoleEligibil func (m *EntitlementManagementRoleEligibilityScheduleRequestsUnifiedRoleEligibilityScheduleRequestItemRequestBuilder) DirectoryScope()(*EntitlementManagementRoleEligibilityScheduleRequestsItemDirectoryScopeRequestBuilder) { return NewEntitlementManagementRoleEligibilityScheduleRequestsItemDirectoryScopeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of an unifiedRoleEligibilityScheduleRequest object. +// Get get roleEligibilityScheduleRequests from roleManagement // returns a UnifiedRoleEligibilityScheduleRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleeligibilityschedulerequest-get?view=graph-rest-1.0 func (m *EntitlementManagementRoleEligibilityScheduleRequestsUnifiedRoleEligibilityScheduleRequestItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementRoleEligibilityScheduleRequestsUnifiedRoleEligibilityScheduleRequestItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleEligibilityScheduleRequestable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -154,7 +151,7 @@ func (m *EntitlementManagementRoleEligibilityScheduleRequestsUnifiedRoleEligibil requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an unifiedRoleEligibilityScheduleRequest object. +// ToGetRequestInformation get roleEligibilityScheduleRequests from roleManagement // returns a *RequestInformation when successful func (m *EntitlementManagementRoleEligibilityScheduleRequestsUnifiedRoleEligibilityScheduleRequestItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementRoleEligibilityScheduleRequestsUnifiedRoleEligibilityScheduleRequestItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/entitlement_management_role_eligibility_schedules_filter_by_current_user_with_on_request_builder.go b/rolemanagement/entitlement_management_role_eligibility_schedules_filter_by_current_user_with_on_request_builder.go index 3fbfbe0ecc5..0be4bc22e66 100644 --- a/rolemanagement/entitlement_management_role_eligibility_schedules_filter_by_current_user_with_on_request_builder.go +++ b/rolemanagement/entitlement_management_role_eligibility_schedules_filter_by_current_user_with_on_request_builder.go @@ -10,7 +10,7 @@ import ( type EntitlementManagementRoleEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementRoleEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters invoke function filterByCurrentUser +// EntitlementManagementRoleEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters get a list of the unifiedRoleEligibilitySchedule objects and their properties associated with a particular principal object. type EntitlementManagementRoleEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewEntitlementManagementRoleEligibilitySchedulesFilterByCurrentUserWithOnRe urlParams["request-raw-url"] = rawUrl return NewEntitlementManagementRoleEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function filterByCurrentUser +// Get get a list of the unifiedRoleEligibilitySchedule objects and their properties associated with a particular principal object. // Deprecated: This method is obsolete. Use GetAsFilterByCurrentUserWithOnGetResponse instead. // returns a EntitlementManagementRoleEligibilitySchedulesFilterByCurrentUserWithOnResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleeligibilityschedule-filterbycurrentuser?view=graph-rest-beta func (m *EntitlementManagementRoleEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementRoleEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(EntitlementManagementRoleEligibilitySchedulesFilterByCurrentUserWithOnResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *EntitlementManagementRoleEligibilitySchedulesFilterByCurrentUserWithOnR } return res.(EntitlementManagementRoleEligibilitySchedulesFilterByCurrentUserWithOnResponseable), nil } -// GetAsFilterByCurrentUserWithOnGetResponse invoke function filterByCurrentUser +// GetAsFilterByCurrentUserWithOnGetResponse get a list of the unifiedRoleEligibilitySchedule objects and their properties associated with a particular principal object. // returns a EntitlementManagementRoleEligibilitySchedulesFilterByCurrentUserWithOnGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleeligibilityschedule-filterbycurrentuser?view=graph-rest-beta func (m *EntitlementManagementRoleEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilder) GetAsFilterByCurrentUserWithOnGetResponse(ctx context.Context, requestConfiguration *EntitlementManagementRoleEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(EntitlementManagementRoleEligibilitySchedulesFilterByCurrentUserWithOnGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *EntitlementManagementRoleEligibilitySchedulesFilterByCurrentUserWithOnR } return res.(EntitlementManagementRoleEligibilitySchedulesFilterByCurrentUserWithOnGetResponseable), nil } -// ToGetRequestInformation invoke function filterByCurrentUser +// ToGetRequestInformation get a list of the unifiedRoleEligibilitySchedule objects and their properties associated with a particular principal object. // returns a *RequestInformation when successful func (m *EntitlementManagementRoleEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementRoleEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/entitlement_management_role_eligibility_schedules_request_builder.go b/rolemanagement/entitlement_management_role_eligibility_schedules_request_builder.go index fa4798919f3..8dc0e571f0b 100644 --- a/rolemanagement/entitlement_management_role_eligibility_schedules_request_builder.go +++ b/rolemanagement/entitlement_management_role_eligibility_schedules_request_builder.go @@ -11,7 +11,7 @@ import ( type EntitlementManagementRoleEligibilitySchedulesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementRoleEligibilitySchedulesRequestBuilderGetQueryParameters get a list of the unifiedRoleEligibilitySchedule objects and their properties. +// EntitlementManagementRoleEligibilitySchedulesRequestBuilderGetQueryParameters get roleEligibilitySchedules from roleManagement type EntitlementManagementRoleEligibilitySchedulesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *EntitlementManagementRoleEligibilitySchedulesRequestBuilder) Count()(*E func (m *EntitlementManagementRoleEligibilitySchedulesRequestBuilder) FilterByCurrentUserWithOn(on *string)(*EntitlementManagementRoleEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilder) { return NewEntitlementManagementRoleEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, on) } -// Get get a list of the unifiedRoleEligibilitySchedule objects and their properties. +// Get get roleEligibilitySchedules from roleManagement // returns a UnifiedRoleEligibilityScheduleCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplication-list-roleeligibilityschedules?view=graph-rest-1.0 func (m *EntitlementManagementRoleEligibilitySchedulesRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementRoleEligibilitySchedulesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleEligibilityScheduleCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *EntitlementManagementRoleEligibilitySchedulesRequestBuilder) Post(ctx c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleEligibilityScheduleable), nil } -// ToGetRequestInformation get a list of the unifiedRoleEligibilitySchedule objects and their properties. +// ToGetRequestInformation get roleEligibilitySchedules from roleManagement // returns a *RequestInformation when successful func (m *EntitlementManagementRoleEligibilitySchedulesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementRoleEligibilitySchedulesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/entitlement_management_role_eligibility_schedules_unified_role_eligibility_schedule_item_request_builder.go b/rolemanagement/entitlement_management_role_eligibility_schedules_unified_role_eligibility_schedule_item_request_builder.go index 996e1b928d9..b6ec936f4da 100644 --- a/rolemanagement/entitlement_management_role_eligibility_schedules_unified_role_eligibility_schedule_item_request_builder.go +++ b/rolemanagement/entitlement_management_role_eligibility_schedules_unified_role_eligibility_schedule_item_request_builder.go @@ -18,7 +18,7 @@ type EntitlementManagementRoleEligibilitySchedulesUnifiedRoleEligibilitySchedule // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EntitlementManagementRoleEligibilitySchedulesUnifiedRoleEligibilityScheduleItemRequestBuilderGetQueryParameters read the properties and relationships of an unifiedRoleEligibilitySchedule object. +// EntitlementManagementRoleEligibilitySchedulesUnifiedRoleEligibilityScheduleItemRequestBuilderGetQueryParameters get roleEligibilitySchedules from roleManagement type EntitlementManagementRoleEligibilitySchedulesUnifiedRoleEligibilityScheduleItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -80,12 +80,9 @@ func (m *EntitlementManagementRoleEligibilitySchedulesUnifiedRoleEligibilitySche func (m *EntitlementManagementRoleEligibilitySchedulesUnifiedRoleEligibilityScheduleItemRequestBuilder) DirectoryScope()(*EntitlementManagementRoleEligibilitySchedulesItemDirectoryScopeRequestBuilder) { return NewEntitlementManagementRoleEligibilitySchedulesItemDirectoryScopeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of an unifiedRoleEligibilitySchedule object. +// Get get roleEligibilitySchedules from roleManagement // returns a UnifiedRoleEligibilityScheduleable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleeligibilityschedule-get?view=graph-rest-1.0 func (m *EntitlementManagementRoleEligibilitySchedulesUnifiedRoleEligibilityScheduleItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementRoleEligibilitySchedulesUnifiedRoleEligibilityScheduleItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleEligibilityScheduleable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -144,7 +141,7 @@ func (m *EntitlementManagementRoleEligibilitySchedulesUnifiedRoleEligibilitySche requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an unifiedRoleEligibilitySchedule object. +// ToGetRequestInformation get roleEligibilitySchedules from roleManagement // returns a *RequestInformation when successful func (m *EntitlementManagementRoleEligibilitySchedulesUnifiedRoleEligibilityScheduleItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementRoleEligibilitySchedulesUnifiedRoleEligibilityScheduleItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/entitlement_management_role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.go b/rolemanagement/entitlement_management_role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.go index f8590f355ba..5b72cdc7f8d 100644 --- a/rolemanagement/entitlement_management_role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.go +++ b/rolemanagement/entitlement_management_role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.go @@ -10,7 +10,7 @@ import ( type EntitlementManagementRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilderGetQueryParameters invoke function roleScheduleInstances +// EntitlementManagementRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilderGetQueryParameters retrieve both roleAssignmentScheduleInstances and roleEligibilityScheduleInstances. type EntitlementManagementRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilderGetQueryParameters struct { // Usage: appScopeId='@appScopeId' AppScopeId *string `uriparametername:"appScopeId"` @@ -59,10 +59,13 @@ func NewEntitlementManagementRoleScheduleInstancesdirectoryScopeIdDirectoryScope urlParams["request-raw-url"] = rawUrl return NewEntitlementManagementRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function roleScheduleInstances +// Get retrieve both roleAssignmentScheduleInstances and roleEligibilityScheduleInstances. // Deprecated: This method is obsolete. Use GetAsRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdGetResponse instead. // returns a EntitlementManagementRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplication-rolescheduleinstances?view=graph-rest-beta func (m *EntitlementManagementRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilderGetRequestConfiguration)(EntitlementManagementRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -80,9 +83,12 @@ func (m *EntitlementManagementRoleScheduleInstancesdirectoryScopeIdDirectoryScop } return res.(EntitlementManagementRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdResponseable), nil } -// GetAsRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdGetResponse invoke function roleScheduleInstances +// GetAsRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdGetResponse retrieve both roleAssignmentScheduleInstances and roleEligibilityScheduleInstances. // returns a EntitlementManagementRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplication-rolescheduleinstances?view=graph-rest-beta func (m *EntitlementManagementRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilder) GetAsRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdGetResponse(ctx context.Context, requestConfiguration *EntitlementManagementRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilderGetRequestConfiguration)(EntitlementManagementRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -100,7 +106,7 @@ func (m *EntitlementManagementRoleScheduleInstancesdirectoryScopeIdDirectoryScop } return res.(EntitlementManagementRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdGetResponseable), nil } -// ToGetRequestInformation invoke function roleScheduleInstances +// ToGetRequestInformation retrieve both roleAssignmentScheduleInstances and roleEligibilityScheduleInstances. // returns a *RequestInformation when successful func (m *EntitlementManagementRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/entitlement_management_role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.go b/rolemanagement/entitlement_management_role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.go index 8125682f865..f3f97593ec2 100644 --- a/rolemanagement/entitlement_management_role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.go +++ b/rolemanagement/entitlement_management_role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.go @@ -10,7 +10,7 @@ import ( type EntitlementManagementRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilderGetQueryParameters invoke function roleSchedules +// EntitlementManagementRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilderGetQueryParameters retrieve both roleAssignmentSchedules and roleEligibilitySchedules. type EntitlementManagementRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilderGetQueryParameters struct { // Usage: appScopeId='@appScopeId' AppScopeId *string `uriparametername:"appScopeId"` @@ -59,10 +59,13 @@ func NewEntitlementManagementRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppSco urlParams["request-raw-url"] = rawUrl return NewEntitlementManagementRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function roleSchedules +// Get retrieve both roleAssignmentSchedules and roleEligibilitySchedules. // Deprecated: This method is obsolete. Use GetAsRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdGetResponse instead. // returns a EntitlementManagementRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplication-roleschedules?view=graph-rest-beta func (m *EntitlementManagementRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilderGetRequestConfiguration)(EntitlementManagementRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -80,9 +83,12 @@ func (m *EntitlementManagementRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppSc } return res.(EntitlementManagementRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdResponseable), nil } -// GetAsRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdGetResponse invoke function roleSchedules +// GetAsRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdGetResponse retrieve both roleAssignmentSchedules and roleEligibilitySchedules. // returns a EntitlementManagementRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplication-roleschedules?view=graph-rest-beta func (m *EntitlementManagementRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilder) GetAsRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdGetResponse(ctx context.Context, requestConfiguration *EntitlementManagementRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilderGetRequestConfiguration)(EntitlementManagementRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -100,7 +106,7 @@ func (m *EntitlementManagementRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppSc } return res.(EntitlementManagementRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdGetResponseable), nil } -// ToGetRequestInformation invoke function roleSchedules +// ToGetRequestInformation retrieve both roleAssignmentSchedules and roleEligibilitySchedules. // returns a *RequestInformation when successful func (m *EntitlementManagementRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/entitlement_management_transitive_role_assignments_request_builder.go b/rolemanagement/entitlement_management_transitive_role_assignments_request_builder.go index 8788b151b6d..873060a54b5 100644 --- a/rolemanagement/entitlement_management_transitive_role_assignments_request_builder.go +++ b/rolemanagement/entitlement_management_transitive_role_assignments_request_builder.go @@ -79,9 +79,6 @@ func (m *EntitlementManagementTransitiveRoleAssignmentsRequestBuilder) Count()(* // Get get transitiveRoleAssignments from roleManagement // returns a UnifiedRoleAssignmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplication-list-transitiveroleassignments?view=graph-rest-1.0 func (m *EntitlementManagementTransitiveRoleAssignmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementTransitiveRoleAssignmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/rolemanagement/exchange_custom_app_scopes_custom_app_scope_item_request_builder.go b/rolemanagement/exchange_custom_app_scopes_custom_app_scope_item_request_builder.go index 6026f9bf6fa..03802928f52 100644 --- a/rolemanagement/exchange_custom_app_scopes_custom_app_scope_item_request_builder.go +++ b/rolemanagement/exchange_custom_app_scopes_custom_app_scope_item_request_builder.go @@ -18,7 +18,7 @@ type ExchangeCustomAppScopesCustomAppScopeItemRequestBuilderDeleteRequestConfigu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ExchangeCustomAppScopesCustomAppScopeItemRequestBuilderGetQueryParameters get the properties of a customAppScope object for an RBAC provider. Currently only the Exchange Online RBAC provider is supported. +// ExchangeCustomAppScopesCustomAppScopeItemRequestBuilderGetQueryParameters workload-specific scope object that represents the resources for which the principal has been granted access. type ExchangeCustomAppScopesCustomAppScopeItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewExchangeCustomAppScopesCustomAppScopeItemRequestBuilder(rawUrl string, r urlParams["request-raw-url"] = rawUrl return NewExchangeCustomAppScopesCustomAppScopeItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a customAppScope object of an RBAC provider. Currently only the Exchange Online RBAC provider is supported. +// Delete delete navigation property customAppScopes for roleManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/customappscope-delete?view=graph-rest-1.0 func (m *ExchangeCustomAppScopesCustomAppScopeItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ExchangeCustomAppScopesCustomAppScopeItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ExchangeCustomAppScopesCustomAppScopeItemRequestBuilder) Delete(ctx con } return nil } -// Get get the properties of a customAppScope object for an RBAC provider. Currently only the Exchange Online RBAC provider is supported. +// Get workload-specific scope object that represents the resources for which the principal has been granted access. // returns a CustomAppScopeable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/customappscope-get?view=graph-rest-1.0 func (m *ExchangeCustomAppScopesCustomAppScopeItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ExchangeCustomAppScopesCustomAppScopeItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomAppScopeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ExchangeCustomAppScopesCustomAppScopeItemRequestBuilder) Get(ctx contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomAppScopeable), nil } -// Patch update an existing customAppScope object of an RBAC provider. Currently only the Exchange Online RBAC provider is supported. +// Patch update the navigation property customAppScopes in roleManagement // returns a CustomAppScopeable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/customappscope-update?view=graph-rest-1.0 func (m *ExchangeCustomAppScopesCustomAppScopeItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomAppScopeable, requestConfiguration *ExchangeCustomAppScopesCustomAppScopeItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomAppScopeable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *ExchangeCustomAppScopesCustomAppScopeItemRequestBuilder) Patch(ctx cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomAppScopeable), nil } -// ToDeleteRequestInformation delete a customAppScope object of an RBAC provider. Currently only the Exchange Online RBAC provider is supported. +// ToDeleteRequestInformation delete navigation property customAppScopes for roleManagement // returns a *RequestInformation when successful func (m *ExchangeCustomAppScopesCustomAppScopeItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ExchangeCustomAppScopesCustomAppScopeItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *ExchangeCustomAppScopesCustomAppScopeItemRequestBuilder) ToDeleteReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties of a customAppScope object for an RBAC provider. Currently only the Exchange Online RBAC provider is supported. +// ToGetRequestInformation workload-specific scope object that represents the resources for which the principal has been granted access. // returns a *RequestInformation when successful func (m *ExchangeCustomAppScopesCustomAppScopeItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ExchangeCustomAppScopesCustomAppScopeItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *ExchangeCustomAppScopesCustomAppScopeItemRequestBuilder) ToGetRequestIn requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update an existing customAppScope object of an RBAC provider. Currently only the Exchange Online RBAC provider is supported. +// ToPatchRequestInformation update the navigation property customAppScopes in roleManagement // returns a *RequestInformation when successful func (m *ExchangeCustomAppScopesCustomAppScopeItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomAppScopeable, requestConfiguration *ExchangeCustomAppScopesCustomAppScopeItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/exchange_custom_app_scopes_request_builder.go b/rolemanagement/exchange_custom_app_scopes_request_builder.go index a34a2262ee5..ef217f9d500 100644 --- a/rolemanagement/exchange_custom_app_scopes_request_builder.go +++ b/rolemanagement/exchange_custom_app_scopes_request_builder.go @@ -11,7 +11,7 @@ import ( type ExchangeCustomAppScopesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ExchangeCustomAppScopesRequestBuilderGetQueryParameters get a list of customAppScope objects for an RBAC provider. Currently only the Exchange Online RBAC provider is supported. +// ExchangeCustomAppScopesRequestBuilderGetQueryParameters workload-specific scope object that represents the resources for which the principal has been granted access. type ExchangeCustomAppScopesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewExchangeCustomAppScopesRequestBuilder(rawUrl string, requestAdapter i2ae func (m *ExchangeCustomAppScopesRequestBuilder) Count()(*ExchangeCustomAppScopesCountRequestBuilder) { return NewExchangeCustomAppScopesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of customAppScope objects for an RBAC provider. Currently only the Exchange Online RBAC provider is supported. +// Get workload-specific scope object that represents the resources for which the principal has been granted access. // returns a CustomAppScopeCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedrbacapplication-list-customappscopes?view=graph-rest-1.0 func (m *ExchangeCustomAppScopesRequestBuilder) Get(ctx context.Context, requestConfiguration *ExchangeCustomAppScopesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomAppScopeCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ExchangeCustomAppScopesRequestBuilder) Get(ctx context.Context, request } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomAppScopeCollectionResponseable), nil } -// Post create a new customAppScope object for an RBAC provider. Currently only the Exchange Online RBAC provider is supported. +// Post create new navigation property to customAppScopes for roleManagement // returns a CustomAppScopeable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedrbacapplication-post-customappscope?view=graph-rest-1.0 func (m *ExchangeCustomAppScopesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomAppScopeable, requestConfiguration *ExchangeCustomAppScopesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomAppScopeable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ExchangeCustomAppScopesRequestBuilder) Post(ctx context.Context, body i } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomAppScopeable), nil } -// ToGetRequestInformation get a list of customAppScope objects for an RBAC provider. Currently only the Exchange Online RBAC provider is supported. +// ToGetRequestInformation workload-specific scope object that represents the resources for which the principal has been granted access. // returns a *RequestInformation when successful func (m *ExchangeCustomAppScopesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ExchangeCustomAppScopesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ExchangeCustomAppScopesRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new customAppScope object for an RBAC provider. Currently only the Exchange Online RBAC provider is supported. +// ToPostRequestInformation create new navigation property to customAppScopes for roleManagement // returns a *RequestInformation when successful func (m *ExchangeCustomAppScopesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomAppScopeable, requestConfiguration *ExchangeCustomAppScopesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/exchange_resource_namespaces_item_resource_actions_request_builder.go b/rolemanagement/exchange_resource_namespaces_item_resource_actions_request_builder.go index d38ec48c18d..fd46ee60a93 100644 --- a/rolemanagement/exchange_resource_namespaces_item_resource_actions_request_builder.go +++ b/rolemanagement/exchange_resource_namespaces_item_resource_actions_request_builder.go @@ -11,7 +11,7 @@ import ( type ExchangeResourceNamespacesItemResourceActionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ExchangeResourceNamespacesItemResourceActionsRequestBuilderGetQueryParameters get a list of the unifiedRbacResourceAction objects and their properties. +// ExchangeResourceNamespacesItemResourceActionsRequestBuilderGetQueryParameters operations that an authorized principal is allowed to perform. type ExchangeResourceNamespacesItemResourceActionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewExchangeResourceNamespacesItemResourceActionsRequestBuilder(rawUrl strin func (m *ExchangeResourceNamespacesItemResourceActionsRequestBuilder) Count()(*ExchangeResourceNamespacesItemResourceActionsCountRequestBuilder) { return NewExchangeResourceNamespacesItemResourceActionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the unifiedRbacResourceAction objects and their properties. +// Get operations that an authorized principal is allowed to perform. // returns a UnifiedRbacResourceActionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedrbacresourcenamespace-list-resourceactions?view=graph-rest-1.0 func (m *ExchangeResourceNamespacesItemResourceActionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ExchangeResourceNamespacesItemResourceActionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRbacResourceActionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ExchangeResourceNamespacesItemResourceActionsRequestBuilder) Post(ctx c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRbacResourceActionable), nil } -// ToGetRequestInformation get a list of the unifiedRbacResourceAction objects and their properties. +// ToGetRequestInformation operations that an authorized principal is allowed to perform. // returns a *RequestInformation when successful func (m *ExchangeResourceNamespacesItemResourceActionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ExchangeResourceNamespacesItemResourceActionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/exchange_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go b/rolemanagement/exchange_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go index c8a5160af2b..7eb0ad27beb 100644 --- a/rolemanagement/exchange_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go +++ b/rolemanagement/exchange_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go @@ -18,7 +18,7 @@ type ExchangeResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ExchangeResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilderGetQueryParameters read the properties and relationships of an unifiedRbacResourceAction object. +// ExchangeResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilderGetQueryParameters operations that an authorized principal is allowed to perform. type ExchangeResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *ExchangeResourceNamespacesItemResourceActionsUnifiedRbacResourceActionI } return nil } -// Get read the properties and relationships of an unifiedRbacResourceAction object. +// Get operations that an authorized principal is allowed to perform. // returns a UnifiedRbacResourceActionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedrbacresourceaction-get?view=graph-rest-1.0 func (m *ExchangeResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ExchangeResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRbacResourceActionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -134,7 +131,7 @@ func (m *ExchangeResourceNamespacesItemResourceActionsUnifiedRbacResourceActionI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an unifiedRbacResourceAction object. +// ToGetRequestInformation operations that an authorized principal is allowed to perform. // returns a *RequestInformation when successful func (m *ExchangeResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ExchangeResourceNamespacesItemResourceActionsUnifiedRbacResourceActionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/exchange_role_assignments_request_builder.go b/rolemanagement/exchange_role_assignments_request_builder.go index 93fdc5d7011..c5c69e23958 100644 --- a/rolemanagement/exchange_role_assignments_request_builder.go +++ b/rolemanagement/exchange_role_assignments_request_builder.go @@ -11,7 +11,7 @@ import ( type ExchangeRoleAssignmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ExchangeRoleAssignmentsRequestBuilderGetQueryParameters get a list of unifiedRoleAssignment objects for the provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra entitlement management)- Exchange Online +// ExchangeRoleAssignmentsRequestBuilderGetQueryParameters resource to grant access to users or groups. type ExchangeRoleAssignmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewExchangeRoleAssignmentsRequestBuilder(rawUrl string, requestAdapter i2ae func (m *ExchangeRoleAssignmentsRequestBuilder) Count()(*ExchangeRoleAssignmentsCountRequestBuilder) { return NewExchangeRoleAssignmentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of unifiedRoleAssignment objects for the provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra entitlement management)- Exchange Online +// Get resource to grant access to users or groups. // returns a UnifiedRoleAssignmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplication-list-roleassignments?view=graph-rest-1.0 func (m *ExchangeRoleAssignmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ExchangeRoleAssignmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ExchangeRoleAssignmentsRequestBuilder) Get(ctx context.Context, request } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentCollectionResponseable), nil } -// Post create a new unifiedRoleAssignment object. +// Post create new navigation property to roleAssignments for roleManagement // returns a UnifiedRoleAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplication-post-roleassignments?view=graph-rest-1.0 func (m *ExchangeRoleAssignmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentable, requestConfiguration *ExchangeRoleAssignmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ExchangeRoleAssignmentsRequestBuilder) Post(ctx context.Context, body i } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentable), nil } -// ToGetRequestInformation get a list of unifiedRoleAssignment objects for the provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra entitlement management)- Exchange Online +// ToGetRequestInformation resource to grant access to users or groups. // returns a *RequestInformation when successful func (m *ExchangeRoleAssignmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ExchangeRoleAssignmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ExchangeRoleAssignmentsRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new unifiedRoleAssignment object. +// ToPostRequestInformation create new navigation property to roleAssignments for roleManagement // returns a *RequestInformation when successful func (m *ExchangeRoleAssignmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentable, requestConfiguration *ExchangeRoleAssignmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/exchange_role_assignments_unified_role_assignment_item_request_builder.go b/rolemanagement/exchange_role_assignments_unified_role_assignment_item_request_builder.go index ed4c17b479a..e8fc8f6468a 100644 --- a/rolemanagement/exchange_role_assignments_unified_role_assignment_item_request_builder.go +++ b/rolemanagement/exchange_role_assignments_unified_role_assignment_item_request_builder.go @@ -18,7 +18,7 @@ type ExchangeRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilderDeleteRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ExchangeRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a unifiedRoleAssignment object. +// ExchangeRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilderGetQueryParameters resource to grant access to users or groups. type ExchangeRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewExchangeRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder(rawUrl st urlParams["request-raw-url"] = rawUrl return NewExchangeRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a unifiedRoleAssignment object. +// Delete delete navigation property roleAssignments for roleManagement // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleassignment-delete?view=graph-rest-1.0 func (m *ExchangeRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ExchangeRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -83,12 +80,9 @@ func (m *ExchangeRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) Delete( func (m *ExchangeRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) DirectoryScope()(*ExchangeRoleAssignmentsItemDirectoryScopeRequestBuilder) { return NewExchangeRoleAssignmentsItemDirectoryScopeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties and relationships of a unifiedRoleAssignment object. +// Get resource to grant access to users or groups. // returns a UnifiedRoleAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroleassignment-get?view=graph-rest-1.0 func (m *ExchangeRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ExchangeRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -136,7 +130,7 @@ func (m *ExchangeRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) Princip func (m *ExchangeRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) RoleDefinition()(*ExchangeRoleAssignmentsItemRoleDefinitionRequestBuilder) { return NewExchangeRoleAssignmentsItemRoleDefinitionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a unifiedRoleAssignment object. +// ToDeleteRequestInformation delete navigation property roleAssignments for roleManagement // returns a *RequestInformation when successful func (m *ExchangeRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ExchangeRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -147,7 +141,7 @@ func (m *ExchangeRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) ToDelet requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a unifiedRoleAssignment object. +// ToGetRequestInformation resource to grant access to users or groups. // returns a *RequestInformation when successful func (m *ExchangeRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ExchangeRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/exchange_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go b/rolemanagement/exchange_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go index bfe0e4704f2..db8ab6d71fb 100644 --- a/rolemanagement/exchange_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go +++ b/rolemanagement/exchange_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go @@ -10,7 +10,7 @@ import ( type ExchangeRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ExchangeRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters invoke function assignedPrincipals +// ExchangeRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. type ExchangeRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -57,10 +57,13 @@ func NewExchangeRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScop urlParams["request-raw-url"] = rawUrl return NewExchangeRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function assignedPrincipals +// Get get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. // Deprecated: This method is obsolete. Use GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse instead. // returns a ExchangeRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroledefinition-assignedprincipals?view=graph-rest-beta func (m *ExchangeRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder) Get(ctx context.Context, requestConfiguration *ExchangeRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration)(ExchangeRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,9 +81,12 @@ func (m *ExchangeRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectorySco } return res.(ExchangeRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponseable), nil } -// GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse invoke function assignedPrincipals +// GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. // returns a ExchangeRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroledefinition-assignedprincipals?view=graph-rest-beta func (m *ExchangeRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder) GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse(ctx context.Context, requestConfiguration *ExchangeRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration)(ExchangeRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,7 +104,7 @@ func (m *ExchangeRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectorySco } return res.(ExchangeRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponseable), nil } -// ToGetRequestInformation invoke function assignedPrincipals +// ToGetRequestInformation get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. // returns a *RequestInformation when successful func (m *ExchangeRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ExchangeRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/exchange_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go b/rolemanagement/exchange_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go index f31baf1461f..b4369ec15d7 100644 --- a/rolemanagement/exchange_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go +++ b/rolemanagement/exchange_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go @@ -10,7 +10,7 @@ import ( type ExchangeRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ExchangeRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters invoke function assignedPrincipals +// ExchangeRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. type ExchangeRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -57,10 +57,13 @@ func NewExchangeRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipals urlParams["request-raw-url"] = rawUrl return NewExchangeRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function assignedPrincipals +// Get get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. // Deprecated: This method is obsolete. Use GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse instead. // returns a ExchangeRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroledefinition-assignedprincipals?view=graph-rest-beta func (m *ExchangeRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder) Get(ctx context.Context, requestConfiguration *ExchangeRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration)(ExchangeRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,9 +81,12 @@ func (m *ExchangeRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipal } return res.(ExchangeRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponseable), nil } -// GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse invoke function assignedPrincipals +// GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. // returns a ExchangeRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroledefinition-assignedprincipals?view=graph-rest-beta func (m *ExchangeRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder) GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse(ctx context.Context, requestConfiguration *ExchangeRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration)(ExchangeRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,7 +104,7 @@ func (m *ExchangeRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipal } return res.(ExchangeRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponseable), nil } -// ToGetRequestInformation invoke function assignedPrincipals +// ToGetRequestInformation get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. // returns a *RequestInformation when successful func (m *ExchangeRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ExchangeRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/exchange_role_definitions_request_builder.go b/rolemanagement/exchange_role_definitions_request_builder.go index 8d7728e57ad..c5933218e8b 100644 --- a/rolemanagement/exchange_role_definitions_request_builder.go +++ b/rolemanagement/exchange_role_definitions_request_builder.go @@ -11,7 +11,7 @@ import ( type ExchangeRoleDefinitionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ExchangeRoleDefinitionsRequestBuilderGetQueryParameters get a list of unifiedRoleDefinition objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra ID) - entitlement management (Microsoft Entra ID)- Exchange Online +// ExchangeRoleDefinitionsRequestBuilderGetQueryParameters the roles allowed by RBAC providers and the permissions assigned to the roles. type ExchangeRoleDefinitionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewExchangeRoleDefinitionsRequestBuilder(rawUrl string, requestAdapter i2ae func (m *ExchangeRoleDefinitionsRequestBuilder) Count()(*ExchangeRoleDefinitionsCountRequestBuilder) { return NewExchangeRoleDefinitionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of unifiedRoleDefinition objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra ID) - entitlement management (Microsoft Entra ID)- Exchange Online +// Get the roles allowed by RBAC providers and the permissions assigned to the roles. // returns a UnifiedRoleDefinitionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplication-list-roledefinitions?view=graph-rest-1.0 func (m *ExchangeRoleDefinitionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ExchangeRoleDefinitionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleDefinitionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ExchangeRoleDefinitionsRequestBuilder) Post(ctx context.Context, body i } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleDefinitionable), nil } -// ToGetRequestInformation get a list of unifiedRoleDefinition objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra ID) - entitlement management (Microsoft Entra ID)- Exchange Online +// ToGetRequestInformation the roles allowed by RBAC providers and the permissions assigned to the roles. // returns a *RequestInformation when successful func (m *ExchangeRoleDefinitionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ExchangeRoleDefinitionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/exchange_role_definitions_unified_role_definition_item_request_builder.go b/rolemanagement/exchange_role_definitions_unified_role_definition_item_request_builder.go index 00642a762b3..bae171f3b1a 100644 --- a/rolemanagement/exchange_role_definitions_unified_role_definition_item_request_builder.go +++ b/rolemanagement/exchange_role_definitions_unified_role_definition_item_request_builder.go @@ -18,7 +18,7 @@ type ExchangeRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilderDeleteRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ExchangeRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilderGetQueryParameters get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online +// ExchangeRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilderGetQueryParameters the roles allowed by RBAC providers and the permissions assigned to the roles. type ExchangeRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *ExchangeRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) Delete( } return nil } -// Get get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online +// Get the roles allowed by RBAC providers and the permissions assigned to the roles. // returns a UnifiedRoleDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedroledefinition-get?view=graph-rest-1.0 func (m *ExchangeRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ExchangeRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleDefinitionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -134,7 +131,7 @@ func (m *ExchangeRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) ToDelet requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online +// ToGetRequestInformation the roles allowed by RBAC providers and the permissions assigned to the roles. // returns a *RequestInformation when successful func (m *ExchangeRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ExchangeRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/schemaextensions/schema_extension_item_request_builder.go b/schemaextensions/schema_extension_item_request_builder.go index ab203746d2f..e4056dc5c8d 100644 --- a/schemaextensions/schema_extension_item_request_builder.go +++ b/schemaextensions/schema_extension_item_request_builder.go @@ -58,7 +58,7 @@ func NewSchemaExtensionItemRequestBuilder(rawUrl string, requestAdapter i2ae4187 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/schemaextension-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/schemaextension-delete?view=graph-rest-beta func (m *SchemaExtensionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *SchemaExtensionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,7 +78,7 @@ func (m *SchemaExtensionItemRequestBuilder) Delete(ctx context.Context, requestC // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/schemaextension-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/schemaextension-get?view=graph-rest-beta func (m *SchemaExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *SchemaExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SchemaExtensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,7 +101,7 @@ func (m *SchemaExtensionItemRequestBuilder) Get(ctx context.Context, requestConf // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/schemaextension-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/schemaextension-update?view=graph-rest-beta func (m *SchemaExtensionItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SchemaExtensionable, requestConfiguration *SchemaExtensionItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SchemaExtensionable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/schemaextensions/schema_extensions_request_builder.go b/schemaextensions/schema_extensions_request_builder.go index 659451b94c3..34da849dc34 100644 --- a/schemaextensions/schema_extensions_request_builder.go +++ b/schemaextensions/schema_extensions_request_builder.go @@ -81,7 +81,7 @@ func (m *SchemaExtensionsRequestBuilder) Count()(*CountRequestBuilder) { // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/schemaextension-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/schemaextension-list?view=graph-rest-beta func (m *SchemaExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *SchemaExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SchemaExtensionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,7 +104,7 @@ func (m *SchemaExtensionsRequestBuilder) Get(ctx context.Context, requestConfigu // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/schemaextension-post-schemaextensions?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/schemaextension-post-schemaextensions?view=graph-rest-beta func (m *SchemaExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SchemaExtensionable, requestConfiguration *SchemaExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SchemaExtensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/search/acronyms_acronym_item_request_builder.go b/search/acronyms_acronym_item_request_builder.go index a08cddcbd60..d5b633614a6 100644 --- a/search/acronyms_acronym_item_request_builder.go +++ b/search/acronyms_acronym_item_request_builder.go @@ -18,7 +18,7 @@ type AcronymsAcronymItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// AcronymsAcronymItemRequestBuilderGetQueryParameters read the properties and relationships of an acronym object. +// AcronymsAcronymItemRequestBuilderGetQueryParameters administrative answer in Microsoft Search results to define common acronyms in an organization. type AcronymsAcronymItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewAcronymsAcronymItemRequestBuilder(rawUrl string, requestAdapter i2ae4187 urlParams["request-raw-url"] = rawUrl return NewAcronymsAcronymItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an acronym object. +// Delete delete navigation property acronyms for search // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/search-acronym-delete?view=graph-rest-1.0 func (m *AcronymsAcronymItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *AcronymsAcronymItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *AcronymsAcronymItemRequestBuilder) Delete(ctx context.Context, requestC } return nil } -// Get read the properties and relationships of an acronym object. +// Get administrative answer in Microsoft Search results to define common acronyms in an organization. // returns a Acronymable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/search-acronym-get?view=graph-rest-1.0 func (m *AcronymsAcronymItemRequestBuilder) Get(ctx context.Context, requestConfiguration *AcronymsAcronymItemRequestBuilderGetRequestConfiguration)(iea48ada8ff44901e797bb459ff00d73b62bd6a3bff0f3314a5377938749128cb.Acronymable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *AcronymsAcronymItemRequestBuilder) Get(ctx context.Context, requestConf } return res.(iea48ada8ff44901e797bb459ff00d73b62bd6a3bff0f3314a5377938749128cb.Acronymable), nil } -// Patch update the properties of an acronym object. +// Patch update the navigation property acronyms in search // returns a Acronymable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/search-acronym-update?view=graph-rest-1.0 func (m *AcronymsAcronymItemRequestBuilder) Patch(ctx context.Context, body iea48ada8ff44901e797bb459ff00d73b62bd6a3bff0f3314a5377938749128cb.Acronymable, requestConfiguration *AcronymsAcronymItemRequestBuilderPatchRequestConfiguration)(iea48ada8ff44901e797bb459ff00d73b62bd6a3bff0f3314a5377938749128cb.Acronymable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *AcronymsAcronymItemRequestBuilder) Patch(ctx context.Context, body iea4 } return res.(iea48ada8ff44901e797bb459ff00d73b62bd6a3bff0f3314a5377938749128cb.Acronymable), nil } -// ToDeleteRequestInformation delete an acronym object. +// ToDeleteRequestInformation delete navigation property acronyms for search // returns a *RequestInformation when successful func (m *AcronymsAcronymItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *AcronymsAcronymItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *AcronymsAcronymItemRequestBuilder) ToDeleteRequestInformation(ctx conte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an acronym object. +// ToGetRequestInformation administrative answer in Microsoft Search results to define common acronyms in an organization. // returns a *RequestInformation when successful func (m *AcronymsAcronymItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AcronymsAcronymItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *AcronymsAcronymItemRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an acronym object. +// ToPatchRequestInformation update the navigation property acronyms in search // returns a *RequestInformation when successful func (m *AcronymsAcronymItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iea48ada8ff44901e797bb459ff00d73b62bd6a3bff0f3314a5377938749128cb.Acronymable, requestConfiguration *AcronymsAcronymItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/search/acronyms_request_builder.go b/search/acronyms_request_builder.go index 416a7a1f181..124d8978761 100644 --- a/search/acronyms_request_builder.go +++ b/search/acronyms_request_builder.go @@ -11,7 +11,7 @@ import ( type AcronymsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AcronymsRequestBuilderGetQueryParameters get a list of the acronym objects and their properties. +// AcronymsRequestBuilderGetQueryParameters administrative answer in Microsoft Search results to define common acronyms in an organization. type AcronymsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewAcronymsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26337 func (m *AcronymsRequestBuilder) Count()(*AcronymsCountRequestBuilder) { return NewAcronymsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the acronym objects and their properties. +// Get administrative answer in Microsoft Search results to define common acronyms in an organization. // returns a AcronymCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/search-searchentity-list-acronyms?view=graph-rest-1.0 func (m *AcronymsRequestBuilder) Get(ctx context.Context, requestConfiguration *AcronymsRequestBuilderGetRequestConfiguration)(iea48ada8ff44901e797bb459ff00d73b62bd6a3bff0f3314a5377938749128cb.AcronymCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *AcronymsRequestBuilder) Get(ctx context.Context, requestConfiguration * } return res.(iea48ada8ff44901e797bb459ff00d73b62bd6a3bff0f3314a5377938749128cb.AcronymCollectionResponseable), nil } -// Post create a new acronym object. +// Post create new navigation property to acronyms for search // returns a Acronymable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/search-searchentity-post-acronyms?view=graph-rest-1.0 func (m *AcronymsRequestBuilder) Post(ctx context.Context, body iea48ada8ff44901e797bb459ff00d73b62bd6a3bff0f3314a5377938749128cb.Acronymable, requestConfiguration *AcronymsRequestBuilderPostRequestConfiguration)(iea48ada8ff44901e797bb459ff00d73b62bd6a3bff0f3314a5377938749128cb.Acronymable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *AcronymsRequestBuilder) Post(ctx context.Context, body iea48ada8ff44901 } return res.(iea48ada8ff44901e797bb459ff00d73b62bd6a3bff0f3314a5377938749128cb.Acronymable), nil } -// ToGetRequestInformation get a list of the acronym objects and their properties. +// ToGetRequestInformation administrative answer in Microsoft Search results to define common acronyms in an organization. // returns a *RequestInformation when successful func (m *AcronymsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AcronymsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *AcronymsRequestBuilder) ToGetRequestInformation(ctx context.Context, re requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new acronym object. +// ToPostRequestInformation create new navigation property to acronyms for search // returns a *RequestInformation when successful func (m *AcronymsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iea48ada8ff44901e797bb459ff00d73b62bd6a3bff0f3314a5377938749128cb.Acronymable, requestConfiguration *AcronymsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/search/bookmarks_bookmark_item_request_builder.go b/search/bookmarks_bookmark_item_request_builder.go index ad94aa462f9..efa96931164 100644 --- a/search/bookmarks_bookmark_item_request_builder.go +++ b/search/bookmarks_bookmark_item_request_builder.go @@ -18,7 +18,7 @@ type BookmarksBookmarkItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BookmarksBookmarkItemRequestBuilderGetQueryParameters read the properties and relationships of a bookmark object. +// BookmarksBookmarkItemRequestBuilderGetQueryParameters administrative answer in Microsoft Search results for common search queries in an organization. type BookmarksBookmarkItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewBookmarksBookmarkItemRequestBuilder(rawUrl string, requestAdapter i2ae41 urlParams["request-raw-url"] = rawUrl return NewBookmarksBookmarkItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a bookmark object. +// Delete delete navigation property bookmarks for search // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/search-bookmark-delete?view=graph-rest-1.0 func (m *BookmarksBookmarkItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *BookmarksBookmarkItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *BookmarksBookmarkItemRequestBuilder) Delete(ctx context.Context, reques } return nil } -// Get read the properties and relationships of a bookmark object. +// Get administrative answer in Microsoft Search results for common search queries in an organization. // returns a Bookmarkable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/search-bookmark-get?view=graph-rest-1.0 func (m *BookmarksBookmarkItemRequestBuilder) Get(ctx context.Context, requestConfiguration *BookmarksBookmarkItemRequestBuilderGetRequestConfiguration)(iea48ada8ff44901e797bb459ff00d73b62bd6a3bff0f3314a5377938749128cb.Bookmarkable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *BookmarksBookmarkItemRequestBuilder) Get(ctx context.Context, requestCo } return res.(iea48ada8ff44901e797bb459ff00d73b62bd6a3bff0f3314a5377938749128cb.Bookmarkable), nil } -// Patch update the properties of a bookmark object. +// Patch update the navigation property bookmarks in search // returns a Bookmarkable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/search-bookmark-update?view=graph-rest-1.0 func (m *BookmarksBookmarkItemRequestBuilder) Patch(ctx context.Context, body iea48ada8ff44901e797bb459ff00d73b62bd6a3bff0f3314a5377938749128cb.Bookmarkable, requestConfiguration *BookmarksBookmarkItemRequestBuilderPatchRequestConfiguration)(iea48ada8ff44901e797bb459ff00d73b62bd6a3bff0f3314a5377938749128cb.Bookmarkable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *BookmarksBookmarkItemRequestBuilder) Patch(ctx context.Context, body ie } return res.(iea48ada8ff44901e797bb459ff00d73b62bd6a3bff0f3314a5377938749128cb.Bookmarkable), nil } -// ToDeleteRequestInformation delete a bookmark object. +// ToDeleteRequestInformation delete navigation property bookmarks for search // returns a *RequestInformation when successful func (m *BookmarksBookmarkItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *BookmarksBookmarkItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *BookmarksBookmarkItemRequestBuilder) ToDeleteRequestInformation(ctx con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a bookmark object. +// ToGetRequestInformation administrative answer in Microsoft Search results for common search queries in an organization. // returns a *RequestInformation when successful func (m *BookmarksBookmarkItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BookmarksBookmarkItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *BookmarksBookmarkItemRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a bookmark object. +// ToPatchRequestInformation update the navigation property bookmarks in search // returns a *RequestInformation when successful func (m *BookmarksBookmarkItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iea48ada8ff44901e797bb459ff00d73b62bd6a3bff0f3314a5377938749128cb.Bookmarkable, requestConfiguration *BookmarksBookmarkItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/search/bookmarks_request_builder.go b/search/bookmarks_request_builder.go index c3e3631bda3..8d4aa994922 100644 --- a/search/bookmarks_request_builder.go +++ b/search/bookmarks_request_builder.go @@ -11,7 +11,7 @@ import ( type BookmarksRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// BookmarksRequestBuilderGetQueryParameters get a list of bookmark objects and their properties. +// BookmarksRequestBuilderGetQueryParameters administrative answer in Microsoft Search results for common search queries in an organization. type BookmarksRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewBookmarksRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee2633 func (m *BookmarksRequestBuilder) Count()(*BookmarksCountRequestBuilder) { return NewBookmarksCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of bookmark objects and their properties. +// Get administrative answer in Microsoft Search results for common search queries in an organization. // returns a BookmarkCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/search-searchentity-list-bookmarks?view=graph-rest-1.0 func (m *BookmarksRequestBuilder) Get(ctx context.Context, requestConfiguration *BookmarksRequestBuilderGetRequestConfiguration)(iea48ada8ff44901e797bb459ff00d73b62bd6a3bff0f3314a5377938749128cb.BookmarkCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *BookmarksRequestBuilder) Get(ctx context.Context, requestConfiguration } return res.(iea48ada8ff44901e797bb459ff00d73b62bd6a3bff0f3314a5377938749128cb.BookmarkCollectionResponseable), nil } -// Post create a new bookmark object. +// Post create new navigation property to bookmarks for search // returns a Bookmarkable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/search-searchentity-post-bookmarks?view=graph-rest-1.0 func (m *BookmarksRequestBuilder) Post(ctx context.Context, body iea48ada8ff44901e797bb459ff00d73b62bd6a3bff0f3314a5377938749128cb.Bookmarkable, requestConfiguration *BookmarksRequestBuilderPostRequestConfiguration)(iea48ada8ff44901e797bb459ff00d73b62bd6a3bff0f3314a5377938749128cb.Bookmarkable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *BookmarksRequestBuilder) Post(ctx context.Context, body iea48ada8ff4490 } return res.(iea48ada8ff44901e797bb459ff00d73b62bd6a3bff0f3314a5377938749128cb.Bookmarkable), nil } -// ToGetRequestInformation get a list of bookmark objects and their properties. +// ToGetRequestInformation administrative answer in Microsoft Search results for common search queries in an organization. // returns a *RequestInformation when successful func (m *BookmarksRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BookmarksRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *BookmarksRequestBuilder) ToGetRequestInformation(ctx context.Context, r requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new bookmark object. +// ToPostRequestInformation create new navigation property to bookmarks for search // returns a *RequestInformation when successful func (m *BookmarksRequestBuilder) ToPostRequestInformation(ctx context.Context, body iea48ada8ff44901e797bb459ff00d73b62bd6a3bff0f3314a5377938749128cb.Bookmarkable, requestConfiguration *BookmarksRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/search/qnas_qna_item_request_builder.go b/search/qnas_qna_item_request_builder.go index 72394b96369..22cb6544f8d 100644 --- a/search/qnas_qna_item_request_builder.go +++ b/search/qnas_qna_item_request_builder.go @@ -18,7 +18,7 @@ type QnasQnaItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// QnasQnaItemRequestBuilderGetQueryParameters read the properties and relationships of a qna object. +// QnasQnaItemRequestBuilderGetQueryParameters administrative answer in Microsoft Search results that provide answers for specific search keywords in an organization. type QnasQnaItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewQnasQnaItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 urlParams["request-raw-url"] = rawUrl return NewQnasQnaItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a qna object. +// Delete delete navigation property qnas for search // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/search-qna-delete?view=graph-rest-1.0 func (m *QnasQnaItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *QnasQnaItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *QnasQnaItemRequestBuilder) Delete(ctx context.Context, requestConfigura } return nil } -// Get read the properties and relationships of a qna object. +// Get administrative answer in Microsoft Search results that provide answers for specific search keywords in an organization. // returns a Qnaable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/search-qna-get?view=graph-rest-1.0 func (m *QnasQnaItemRequestBuilder) Get(ctx context.Context, requestConfiguration *QnasQnaItemRequestBuilderGetRequestConfiguration)(iea48ada8ff44901e797bb459ff00d73b62bd6a3bff0f3314a5377938749128cb.Qnaable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *QnasQnaItemRequestBuilder) Get(ctx context.Context, requestConfiguratio } return res.(iea48ada8ff44901e797bb459ff00d73b62bd6a3bff0f3314a5377938749128cb.Qnaable), nil } -// Patch update the properties of a qna object. +// Patch update the navigation property qnas in search // returns a Qnaable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/search-qna-update?view=graph-rest-1.0 func (m *QnasQnaItemRequestBuilder) Patch(ctx context.Context, body iea48ada8ff44901e797bb459ff00d73b62bd6a3bff0f3314a5377938749128cb.Qnaable, requestConfiguration *QnasQnaItemRequestBuilderPatchRequestConfiguration)(iea48ada8ff44901e797bb459ff00d73b62bd6a3bff0f3314a5377938749128cb.Qnaable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *QnasQnaItemRequestBuilder) Patch(ctx context.Context, body iea48ada8ff4 } return res.(iea48ada8ff44901e797bb459ff00d73b62bd6a3bff0f3314a5377938749128cb.Qnaable), nil } -// ToDeleteRequestInformation delete a qna object. +// ToDeleteRequestInformation delete navigation property qnas for search // returns a *RequestInformation when successful func (m *QnasQnaItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *QnasQnaItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *QnasQnaItemRequestBuilder) ToDeleteRequestInformation(ctx context.Conte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a qna object. +// ToGetRequestInformation administrative answer in Microsoft Search results that provide answers for specific search keywords in an organization. // returns a *RequestInformation when successful func (m *QnasQnaItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *QnasQnaItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *QnasQnaItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a qna object. +// ToPatchRequestInformation update the navigation property qnas in search // returns a *RequestInformation when successful func (m *QnasQnaItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iea48ada8ff44901e797bb459ff00d73b62bd6a3bff0f3314a5377938749128cb.Qnaable, requestConfiguration *QnasQnaItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/search/qnas_request_builder.go b/search/qnas_request_builder.go index 48512df70c3..25984932d53 100644 --- a/search/qnas_request_builder.go +++ b/search/qnas_request_builder.go @@ -11,7 +11,7 @@ import ( type QnasRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// QnasRequestBuilderGetQueryParameters get a list of the qna objects and their properties. +// QnasRequestBuilderGetQueryParameters administrative answer in Microsoft Search results that provide answers for specific search keywords in an organization. type QnasRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewQnasRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1 func (m *QnasRequestBuilder) Count()(*QnasCountRequestBuilder) { return NewQnasCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the qna objects and their properties. +// Get administrative answer in Microsoft Search results that provide answers for specific search keywords in an organization. // returns a QnaCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/search-searchentity-list-qnas?view=graph-rest-1.0 func (m *QnasRequestBuilder) Get(ctx context.Context, requestConfiguration *QnasRequestBuilderGetRequestConfiguration)(iea48ada8ff44901e797bb459ff00d73b62bd6a3bff0f3314a5377938749128cb.QnaCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *QnasRequestBuilder) Get(ctx context.Context, requestConfiguration *Qnas } return res.(iea48ada8ff44901e797bb459ff00d73b62bd6a3bff0f3314a5377938749128cb.QnaCollectionResponseable), nil } -// Post create a new qna object. +// Post create new navigation property to qnas for search // returns a Qnaable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/search-searchentity-post-qnas?view=graph-rest-1.0 func (m *QnasRequestBuilder) Post(ctx context.Context, body iea48ada8ff44901e797bb459ff00d73b62bd6a3bff0f3314a5377938749128cb.Qnaable, requestConfiguration *QnasRequestBuilderPostRequestConfiguration)(iea48ada8ff44901e797bb459ff00d73b62bd6a3bff0f3314a5377938749128cb.Qnaable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *QnasRequestBuilder) Post(ctx context.Context, body iea48ada8ff44901e797 } return res.(iea48ada8ff44901e797bb459ff00d73b62bd6a3bff0f3314a5377938749128cb.Qnaable), nil } -// ToGetRequestInformation get a list of the qna objects and their properties. +// ToGetRequestInformation administrative answer in Microsoft Search results that provide answers for specific search keywords in an organization. // returns a *RequestInformation when successful func (m *QnasRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *QnasRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *QnasRequestBuilder) ToGetRequestInformation(ctx context.Context, reques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new qna object. +// ToPostRequestInformation create new navigation property to qnas for search // returns a *RequestInformation when successful func (m *QnasRequestBuilder) ToPostRequestInformation(ctx context.Context, body iea48ada8ff44901e797bb459ff00d73b62bd6a3bff0f3314a5377938749128cb.Qnaable, requestConfiguration *QnasRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/search/query_request_builder.go b/search/query_request_builder.go index 88156bd6cf1..cddbdceaea6 100644 --- a/search/query_request_builder.go +++ b/search/query_request_builder.go @@ -36,7 +36,7 @@ func NewQueryRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/search-query?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/search-query?view=graph-rest-beta func (m *QueryRequestBuilder) Post(ctx context.Context, body QueryPostRequestBodyable, requestConfiguration *QueryRequestBuilderPostRequestConfiguration)(QueryResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *QueryRequestBuilder) Post(ctx context.Context, body QueryPostRequestBod // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/search-query?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/search-query?view=graph-rest-beta func (m *QueryRequestBuilder) PostAsQueryPostResponse(ctx context.Context, body QueryPostRequestBodyable, requestConfiguration *QueryRequestBuilderPostRequestConfiguration)(QueryPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/security/alerts_alert_item_request_builder.go b/security/alerts_alert_item_request_builder.go index 373df08109c..e90eac29994 100644 --- a/security/alerts_alert_item_request_builder.go +++ b/security/alerts_alert_item_request_builder.go @@ -11,7 +11,7 @@ import ( type AlertsAlertItemRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AlertsAlertItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an alert object. +// AlertsAlertItemRequestBuilderGetQueryParameters notifications for suspicious or potential security issues in a customer’s tenant. type AlertsAlertItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,12 +47,9 @@ func NewAlertsAlertItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7da urlParams["request-raw-url"] = rawUrl return NewAlertsAlertItemRequestBuilderInternal(urlParams, requestAdapter) } -// Get retrieve the properties and relationships of an alert object. +// Get notifications for suspicious or potential security issues in a customer’s tenant. // returns a Alertable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/alert-get?view=graph-rest-1.0 func (m *AlertsAlertItemRequestBuilder) Get(ctx context.Context, requestConfiguration *AlertsAlertItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Alertable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -70,12 +67,9 @@ func (m *AlertsAlertItemRequestBuilder) Get(ctx context.Context, requestConfigur } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Alertable), nil } -// Patch update an editable alert property within any integrated solution to keep alert status and assignments in sync across solutions. This method updates any solution that has a record of the referenced alert ID. +// Patch update the navigation property alerts in security // returns a Alertable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/alert-update?view=graph-rest-1.0 func (m *AlertsAlertItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Alertable, requestConfiguration *AlertsAlertItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Alertable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -93,7 +87,7 @@ func (m *AlertsAlertItemRequestBuilder) Patch(ctx context.Context, body ie233ee7 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Alertable), nil } -// ToGetRequestInformation retrieve the properties and relationships of an alert object. +// ToGetRequestInformation notifications for suspicious or potential security issues in a customer’s tenant. // returns a *RequestInformation when successful func (m *AlertsAlertItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AlertsAlertItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -107,7 +101,7 @@ func (m *AlertsAlertItemRequestBuilder) ToGetRequestInformation(ctx context.Cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update an editable alert property within any integrated solution to keep alert status and assignments in sync across solutions. This method updates any solution that has a record of the referenced alert ID. +// ToPatchRequestInformation update the navigation property alerts in security // returns a *RequestInformation when successful func (m *AlertsAlertItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Alertable, requestConfiguration *AlertsAlertItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/alerts_request_builder.go b/security/alerts_request_builder.go index 3dac1c6ff93..4fda48d1eac 100644 --- a/security/alerts_request_builder.go +++ b/security/alerts_request_builder.go @@ -11,7 +11,7 @@ import ( type AlertsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AlertsRequestBuilderGetQueryParameters retrieve a list of alert objects. +// AlertsRequestBuilderGetQueryParameters notifications for suspicious or potential security issues in a customer’s tenant. type AlertsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewAlertsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371c func (m *AlertsRequestBuilder) Count()(*AlertsCountRequestBuilder) { return NewAlertsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of alert objects. +// Get notifications for suspicious or potential security issues in a customer’s tenant. // returns a AlertCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/alert-list?view=graph-rest-1.0 func (m *AlertsRequestBuilder) Get(ctx context.Context, requestConfiguration *AlertsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AlertCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *AlertsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Alertable), nil } -// ToGetRequestInformation retrieve a list of alert objects. +// ToGetRequestInformation notifications for suspicious or potential security issues in a customer’s tenant. // returns a *RequestInformation when successful func (m *AlertsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AlertsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/alerts_update_alerts_request_builder.go b/security/alerts_update_alerts_request_builder.go index 37c366b15f8..2a1798460a5 100644 --- a/security/alerts_update_alerts_request_builder.go +++ b/security/alerts_update_alerts_request_builder.go @@ -36,7 +36,7 @@ func NewAlertsUpdateAlertsRequestBuilder(rawUrl string, requestAdapter i2ae4187f // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/alert-updatealerts?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/alert-updatealerts?view=graph-rest-beta func (m *AlertsUpdateAlertsRequestBuilder) Post(ctx context.Context, body AlertsUpdateAlertsPostRequestBodyable, requestConfiguration *AlertsUpdateAlertsRequestBuilderPostRequestConfiguration)(AlertsUpdateAlertsResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *AlertsUpdateAlertsRequestBuilder) Post(ctx context.Context, body Alerts // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/alert-updatealerts?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/alert-updatealerts?view=graph-rest-beta func (m *AlertsUpdateAlertsRequestBuilder) PostAsUpdateAlertsPostResponse(ctx context.Context, body AlertsUpdateAlertsPostRequestBodyable, requestConfiguration *AlertsUpdateAlertsRequestBuilderPostRequestConfiguration)(AlertsUpdateAlertsPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/security/alerts_v2_alert_item_request_builder.go b/security/alerts_v2_alert_item_request_builder.go index 2f03cad365d..1668101212f 100644 --- a/security/alerts_v2_alert_item_request_builder.go +++ b/security/alerts_v2_alert_item_request_builder.go @@ -18,7 +18,7 @@ type Alerts_v2AlertItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// Alerts_v2AlertItemRequestBuilderGetQueryParameters get the properties and relationships of an alert object. +// Alerts_v2AlertItemRequestBuilderGetQueryParameters a collection of alerts in Microsoft 365 Defender. type Alerts_v2AlertItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *Alerts_v2AlertItemRequestBuilder) Delete(ctx context.Context, requestCo } return nil } -// Get get the properties and relationships of an alert object. +// Get a collection of alerts in Microsoft 365 Defender. // returns a Alertable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-alert-get?view=graph-rest-1.0 func (m *Alerts_v2AlertItemRequestBuilder) Get(ctx context.Context, requestConfiguration *Alerts_v2AlertItemRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.Alertable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,12 +95,9 @@ func (m *Alerts_v2AlertItemRequestBuilder) Get(ctx context.Context, requestConfi } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.Alertable), nil } -// Patch update the properties of an alert object. +// Patch update the navigation property alerts_v2 in security // returns a Alertable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-alert-update?view=graph-rest-1.0 func (m *Alerts_v2AlertItemRequestBuilder) Patch(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.Alertable, requestConfiguration *Alerts_v2AlertItemRequestBuilderPatchRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.Alertable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -132,7 +126,7 @@ func (m *Alerts_v2AlertItemRequestBuilder) ToDeleteRequestInformation(ctx contex requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties and relationships of an alert object. +// ToGetRequestInformation a collection of alerts in Microsoft 365 Defender. // returns a *RequestInformation when successful func (m *Alerts_v2AlertItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *Alerts_v2AlertItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -146,7 +140,7 @@ func (m *Alerts_v2AlertItemRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an alert object. +// ToPatchRequestInformation update the navigation property alerts_v2 in security // returns a *RequestInformation when successful func (m *Alerts_v2AlertItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.Alertable, requestConfiguration *Alerts_v2AlertItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/alerts_v2_request_builder.go b/security/alerts_v2_request_builder.go index 05c43fe48d3..253e410c9a2 100644 --- a/security/alerts_v2_request_builder.go +++ b/security/alerts_v2_request_builder.go @@ -11,7 +11,7 @@ import ( type Alerts_v2RequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// Alerts_v2RequestBuilderGetQueryParameters get a list of alert resources that were created to track suspicious activities in an organization. This operation lets you filter and sort through alerts to create an informed cyber security response. It exposes a collection of alerts that were flagged in your network, within the time range you specified in your environment retention policy. The most recent alerts are displayed at the top of the list. +// Alerts_v2RequestBuilderGetQueryParameters a collection of alerts in Microsoft 365 Defender. type Alerts_v2RequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewAlerts_v2RequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee2633 func (m *Alerts_v2RequestBuilder) Count()(*Alerts_v2CountRequestBuilder) { return NewAlerts_v2CountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of alert resources that were created to track suspicious activities in an organization. This operation lets you filter and sort through alerts to create an informed cyber security response. It exposes a collection of alerts that were flagged in your network, within the time range you specified in your environment retention policy. The most recent alerts are displayed at the top of the list. +// Get a collection of alerts in Microsoft 365 Defender. // returns a AlertCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-list-alerts_v2?view=graph-rest-1.0 func (m *Alerts_v2RequestBuilder) Get(ctx context.Context, requestConfiguration *Alerts_v2RequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.AlertCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *Alerts_v2RequestBuilder) Post(ctx context.Context, body i084fa7ab3bba80 } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.Alertable), nil } -// ToGetRequestInformation get a list of alert resources that were created to track suspicious activities in an organization. This operation lets you filter and sort through alerts to create an informed cyber security response. It exposes a collection of alerts that were flagged in your network, within the time range you specified in your environment retention policy. The most recent alerts are displayed at the top of the list. +// ToGetRequestInformation a collection of alerts in Microsoft 365 Defender. // returns a *RequestInformation when successful func (m *Alerts_v2RequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *Alerts_v2RequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/attack_simulation_end_user_notifications_request_builder.go b/security/attack_simulation_end_user_notifications_request_builder.go index c68ad6468b7..032236e03a6 100644 --- a/security/attack_simulation_end_user_notifications_request_builder.go +++ b/security/attack_simulation_end_user_notifications_request_builder.go @@ -11,7 +11,7 @@ import ( type AttackSimulationEndUserNotificationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AttackSimulationEndUserNotificationsRequestBuilderGetQueryParameters get a list of endUserNotification objects and their properties. +// AttackSimulationEndUserNotificationsRequestBuilderGetQueryParameters represents an end user's notification for an attack simulation training. type AttackSimulationEndUserNotificationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewAttackSimulationEndUserNotificationsRequestBuilder(rawUrl string, reques func (m *AttackSimulationEndUserNotificationsRequestBuilder) Count()(*AttackSimulationEndUserNotificationsCountRequestBuilder) { return NewAttackSimulationEndUserNotificationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of endUserNotification objects and their properties. +// Get represents an end user's notification for an attack simulation training. // returns a EndUserNotificationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attacksimulationroot-list-endusernotifications?view=graph-rest-1.0 func (m *AttackSimulationEndUserNotificationsRequestBuilder) Get(ctx context.Context, requestConfiguration *AttackSimulationEndUserNotificationsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EndUserNotificationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *AttackSimulationEndUserNotificationsRequestBuilder) Post(ctx context.Co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EndUserNotificationable), nil } -// ToGetRequestInformation get a list of endUserNotification objects and their properties. +// ToGetRequestInformation represents an end user's notification for an attack simulation training. // returns a *RequestInformation when successful func (m *AttackSimulationEndUserNotificationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AttackSimulationEndUserNotificationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/attack_simulation_landing_pages_request_builder.go b/security/attack_simulation_landing_pages_request_builder.go index 47f1107a65c..06dc1c92235 100644 --- a/security/attack_simulation_landing_pages_request_builder.go +++ b/security/attack_simulation_landing_pages_request_builder.go @@ -11,7 +11,7 @@ import ( type AttackSimulationLandingPagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AttackSimulationLandingPagesRequestBuilderGetQueryParameters get a list of the landingPage objects and their properties. +// AttackSimulationLandingPagesRequestBuilderGetQueryParameters represents an attack simulation training landing page. type AttackSimulationLandingPagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewAttackSimulationLandingPagesRequestBuilder(rawUrl string, requestAdapter func (m *AttackSimulationLandingPagesRequestBuilder) Count()(*AttackSimulationLandingPagesCountRequestBuilder) { return NewAttackSimulationLandingPagesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the landingPage objects and their properties. +// Get represents an attack simulation training landing page. // returns a LandingPageCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attacksimulationroot-list-landingpage?view=graph-rest-1.0 func (m *AttackSimulationLandingPagesRequestBuilder) Get(ctx context.Context, requestConfiguration *AttackSimulationLandingPagesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LandingPageCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *AttackSimulationLandingPagesRequestBuilder) Post(ctx context.Context, b } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LandingPageable), nil } -// ToGetRequestInformation get a list of the landingPage objects and their properties. +// ToGetRequestInformation represents an attack simulation training landing page. // returns a *RequestInformation when successful func (m *AttackSimulationLandingPagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AttackSimulationLandingPagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/attack_simulation_login_pages_request_builder.go b/security/attack_simulation_login_pages_request_builder.go index e9de370e7e8..115f0126da8 100644 --- a/security/attack_simulation_login_pages_request_builder.go +++ b/security/attack_simulation_login_pages_request_builder.go @@ -11,7 +11,7 @@ import ( type AttackSimulationLoginPagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AttackSimulationLoginPagesRequestBuilderGetQueryParameters get a list of the loginPage objects and their properties. +// AttackSimulationLoginPagesRequestBuilderGetQueryParameters represents an attack simulation training login page. type AttackSimulationLoginPagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewAttackSimulationLoginPagesRequestBuilder(rawUrl string, requestAdapter i func (m *AttackSimulationLoginPagesRequestBuilder) Count()(*AttackSimulationLoginPagesCountRequestBuilder) { return NewAttackSimulationLoginPagesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the loginPage objects and their properties. +// Get represents an attack simulation training login page. // returns a LoginPageCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attacksimulationroot-list-loginpage?view=graph-rest-1.0 func (m *AttackSimulationLoginPagesRequestBuilder) Get(ctx context.Context, requestConfiguration *AttackSimulationLoginPagesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LoginPageCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *AttackSimulationLoginPagesRequestBuilder) Post(ctx context.Context, bod } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LoginPageable), nil } -// ToGetRequestInformation get a list of the loginPage objects and their properties. +// ToGetRequestInformation represents an attack simulation training login page. // returns a *RequestInformation when successful func (m *AttackSimulationLoginPagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AttackSimulationLoginPagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/attack_simulation_operations_attack_simulation_operation_item_request_builder.go b/security/attack_simulation_operations_attack_simulation_operation_item_request_builder.go index 09fee93b7c4..3632135eda7 100644 --- a/security/attack_simulation_operations_attack_simulation_operation_item_request_builder.go +++ b/security/attack_simulation_operations_attack_simulation_operation_item_request_builder.go @@ -18,7 +18,7 @@ type AttackSimulationOperationsAttackSimulationOperationItemRequestBuilderDelete // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// AttackSimulationOperationsAttackSimulationOperationItemRequestBuilderGetQueryParameters get an attack simulation operation to track a long-running operation request for a tenant. +// AttackSimulationOperationsAttackSimulationOperationItemRequestBuilderGetQueryParameters represents an attack simulation training operation. type AttackSimulationOperationsAttackSimulationOperationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *AttackSimulationOperationsAttackSimulationOperationItemRequestBuilder) } return nil } -// Get get an attack simulation operation to track a long-running operation request for a tenant. +// Get represents an attack simulation training operation. // returns a AttackSimulationOperationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attacksimulationoperation-get?view=graph-rest-1.0 func (m *AttackSimulationOperationsAttackSimulationOperationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *AttackSimulationOperationsAttackSimulationOperationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttackSimulationOperationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *AttackSimulationOperationsAttackSimulationOperationItemRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an attack simulation operation to track a long-running operation request for a tenant. +// ToGetRequestInformation represents an attack simulation training operation. // returns a *RequestInformation when successful func (m *AttackSimulationOperationsAttackSimulationOperationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AttackSimulationOperationsAttackSimulationOperationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/attack_simulation_operations_request_builder.go b/security/attack_simulation_operations_request_builder.go index df8130648b4..c4d6d317d1f 100644 --- a/security/attack_simulation_operations_request_builder.go +++ b/security/attack_simulation_operations_request_builder.go @@ -11,7 +11,7 @@ import ( type AttackSimulationOperationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AttackSimulationOperationsRequestBuilderGetQueryParameters get an attack simulation operation to track a long-running operation request for a tenant. +// AttackSimulationOperationsRequestBuilderGetQueryParameters represents an attack simulation training operation. type AttackSimulationOperationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewAttackSimulationOperationsRequestBuilder(rawUrl string, requestAdapter i func (m *AttackSimulationOperationsRequestBuilder) Count()(*AttackSimulationOperationsCountRequestBuilder) { return NewAttackSimulationOperationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an attack simulation operation to track a long-running operation request for a tenant. +// Get represents an attack simulation training operation. // returns a AttackSimulationOperationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *AttackSimulationOperationsRequestBuilder) Get(ctx context.Context, requestConfiguration *AttackSimulationOperationsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttackSimulationOperationCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *AttackSimulationOperationsRequestBuilder) Post(ctx context.Context, bod } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttackSimulationOperationable), nil } -// ToGetRequestInformation get an attack simulation operation to track a long-running operation request for a tenant. +// ToGetRequestInformation represents an attack simulation training operation. // returns a *RequestInformation when successful func (m *AttackSimulationOperationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AttackSimulationOperationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/attack_simulation_payloads_request_builder.go b/security/attack_simulation_payloads_request_builder.go index 8c0f5faab9c..6b364e5e9e9 100644 --- a/security/attack_simulation_payloads_request_builder.go +++ b/security/attack_simulation_payloads_request_builder.go @@ -11,7 +11,7 @@ import ( type AttackSimulationPayloadsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AttackSimulationPayloadsRequestBuilderGetQueryParameters get a list of payloads for attack simulation campaigns. This operation expects the mandatory parameter source to filter and query the respective data source. +// AttackSimulationPayloadsRequestBuilderGetQueryParameters represents an attack simulation training campaign payload in a tenant. type AttackSimulationPayloadsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewAttackSimulationPayloadsRequestBuilder(rawUrl string, requestAdapter i2a func (m *AttackSimulationPayloadsRequestBuilder) Count()(*AttackSimulationPayloadsCountRequestBuilder) { return NewAttackSimulationPayloadsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of payloads for attack simulation campaigns. This operation expects the mandatory parameter source to filter and query the respective data source. +// Get represents an attack simulation training campaign payload in a tenant. // returns a PayloadCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attacksimulationroot-list-payloads?view=graph-rest-1.0 func (m *AttackSimulationPayloadsRequestBuilder) Get(ctx context.Context, requestConfiguration *AttackSimulationPayloadsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PayloadCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *AttackSimulationPayloadsRequestBuilder) Post(ctx context.Context, body } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Payloadable), nil } -// ToGetRequestInformation get a list of payloads for attack simulation campaigns. This operation expects the mandatory parameter source to filter and query the respective data source. +// ToGetRequestInformation represents an attack simulation training campaign payload in a tenant. // returns a *RequestInformation when successful func (m *AttackSimulationPayloadsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AttackSimulationPayloadsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/attack_simulation_simulation_automations_item_runs_request_builder.go b/security/attack_simulation_simulation_automations_item_runs_request_builder.go index 7ae1aed545c..dc5719725a7 100644 --- a/security/attack_simulation_simulation_automations_item_runs_request_builder.go +++ b/security/attack_simulation_simulation_automations_item_runs_request_builder.go @@ -11,7 +11,7 @@ import ( type AttackSimulationSimulationAutomationsItemRunsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AttackSimulationSimulationAutomationsItemRunsRequestBuilderGetQueryParameters get a list of the attack simulation automation runs for a tenant. +// AttackSimulationSimulationAutomationsItemRunsRequestBuilderGetQueryParameters a collection of simulation automation runs. type AttackSimulationSimulationAutomationsItemRunsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewAttackSimulationSimulationAutomationsItemRunsRequestBuilder(rawUrl strin func (m *AttackSimulationSimulationAutomationsItemRunsRequestBuilder) Count()(*AttackSimulationSimulationAutomationsItemRunsCountRequestBuilder) { return NewAttackSimulationSimulationAutomationsItemRunsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the attack simulation automation runs for a tenant. +// Get a collection of simulation automation runs. // returns a SimulationAutomationRunCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/simulationautomation-list-runs?view=graph-rest-1.0 func (m *AttackSimulationSimulationAutomationsItemRunsRequestBuilder) Get(ctx context.Context, requestConfiguration *AttackSimulationSimulationAutomationsItemRunsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SimulationAutomationRunCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *AttackSimulationSimulationAutomationsItemRunsRequestBuilder) Post(ctx c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SimulationAutomationRunable), nil } -// ToGetRequestInformation get a list of the attack simulation automation runs for a tenant. +// ToGetRequestInformation a collection of simulation automation runs. // returns a *RequestInformation when successful func (m *AttackSimulationSimulationAutomationsItemRunsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AttackSimulationSimulationAutomationsItemRunsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/attack_simulation_simulation_automations_request_builder.go b/security/attack_simulation_simulation_automations_request_builder.go index 6427ea183cf..2c80c1fd8e4 100644 --- a/security/attack_simulation_simulation_automations_request_builder.go +++ b/security/attack_simulation_simulation_automations_request_builder.go @@ -11,7 +11,7 @@ import ( type AttackSimulationSimulationAutomationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AttackSimulationSimulationAutomationsRequestBuilderGetQueryParameters get a list of attack simulation automations for a tenant. +// AttackSimulationSimulationAutomationsRequestBuilderGetQueryParameters represents simulation automation created to run on a tenant. type AttackSimulationSimulationAutomationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewAttackSimulationSimulationAutomationsRequestBuilder(rawUrl string, reque func (m *AttackSimulationSimulationAutomationsRequestBuilder) Count()(*AttackSimulationSimulationAutomationsCountRequestBuilder) { return NewAttackSimulationSimulationAutomationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of attack simulation automations for a tenant. +// Get represents simulation automation created to run on a tenant. // returns a SimulationAutomationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attacksimulationroot-list-simulationautomations?view=graph-rest-1.0 func (m *AttackSimulationSimulationAutomationsRequestBuilder) Get(ctx context.Context, requestConfiguration *AttackSimulationSimulationAutomationsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SimulationAutomationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *AttackSimulationSimulationAutomationsRequestBuilder) Post(ctx context.C } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SimulationAutomationable), nil } -// ToGetRequestInformation get a list of attack simulation automations for a tenant. +// ToGetRequestInformation represents simulation automation created to run on a tenant. // returns a *RequestInformation when successful func (m *AttackSimulationSimulationAutomationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AttackSimulationSimulationAutomationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/attack_simulation_simulation_automations_simulation_automation_item_request_builder.go b/security/attack_simulation_simulation_automations_simulation_automation_item_request_builder.go index 6d3aa74b03a..5e7f616ed31 100644 --- a/security/attack_simulation_simulation_automations_simulation_automation_item_request_builder.go +++ b/security/attack_simulation_simulation_automations_simulation_automation_item_request_builder.go @@ -18,7 +18,7 @@ type AttackSimulationSimulationAutomationsSimulationAutomationItemRequestBuilder // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// AttackSimulationSimulationAutomationsSimulationAutomationItemRequestBuilderGetQueryParameters get an attack simulation automation for a tenant. +// AttackSimulationSimulationAutomationsSimulationAutomationItemRequestBuilderGetQueryParameters represents simulation automation created to run on a tenant. type AttackSimulationSimulationAutomationsSimulationAutomationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *AttackSimulationSimulationAutomationsSimulationAutomationItemRequestBui } return nil } -// Get get an attack simulation automation for a tenant. +// Get represents simulation automation created to run on a tenant. // returns a SimulationAutomationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/simulationautomation-get?view=graph-rest-1.0 func (m *AttackSimulationSimulationAutomationsSimulationAutomationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *AttackSimulationSimulationAutomationsSimulationAutomationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SimulationAutomationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *AttackSimulationSimulationAutomationsSimulationAutomationItemRequestBui requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an attack simulation automation for a tenant. +// ToGetRequestInformation represents simulation automation created to run on a tenant. // returns a *RequestInformation when successful func (m *AttackSimulationSimulationAutomationsSimulationAutomationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AttackSimulationSimulationAutomationsSimulationAutomationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/attack_simulation_simulations_request_builder.go b/security/attack_simulation_simulations_request_builder.go index 610ed1a16ff..22f61e90a5b 100644 --- a/security/attack_simulation_simulations_request_builder.go +++ b/security/attack_simulation_simulations_request_builder.go @@ -11,7 +11,7 @@ import ( type AttackSimulationSimulationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AttackSimulationSimulationsRequestBuilderGetQueryParameters get a list of attack simulation campaigns for a tenant. +// AttackSimulationSimulationsRequestBuilderGetQueryParameters represents an attack simulation training campaign in a tenant. type AttackSimulationSimulationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewAttackSimulationSimulationsRequestBuilder(rawUrl string, requestAdapter func (m *AttackSimulationSimulationsRequestBuilder) Count()(*AttackSimulationSimulationsCountRequestBuilder) { return NewAttackSimulationSimulationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of attack simulation campaigns for a tenant. +// Get represents an attack simulation training campaign in a tenant. // returns a SimulationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attacksimulationroot-list-simulations?view=graph-rest-1.0 func (m *AttackSimulationSimulationsRequestBuilder) Get(ctx context.Context, requestConfiguration *AttackSimulationSimulationsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SimulationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *AttackSimulationSimulationsRequestBuilder) Get(ctx context.Context, req } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SimulationCollectionResponseable), nil } -// Post create an attack simulation campaign for a tenant. +// Post create new navigation property to simulations for security // returns a Simulationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attacksimulationroot-post-simulation?view=graph-rest-1.0 func (m *AttackSimulationSimulationsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Simulationable, requestConfiguration *AttackSimulationSimulationsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Simulationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *AttackSimulationSimulationsRequestBuilder) Post(ctx context.Context, bo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Simulationable), nil } -// ToGetRequestInformation get a list of attack simulation campaigns for a tenant. +// ToGetRequestInformation represents an attack simulation training campaign in a tenant. // returns a *RequestInformation when successful func (m *AttackSimulationSimulationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AttackSimulationSimulationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *AttackSimulationSimulationsRequestBuilder) ToGetRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an attack simulation campaign for a tenant. +// ToPostRequestInformation create new navigation property to simulations for security // returns a *RequestInformation when successful func (m *AttackSimulationSimulationsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Simulationable, requestConfiguration *AttackSimulationSimulationsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/attack_simulation_simulations_simulation_item_request_builder.go b/security/attack_simulation_simulations_simulation_item_request_builder.go index c530fdabca8..31ece0e6aad 100644 --- a/security/attack_simulation_simulations_simulation_item_request_builder.go +++ b/security/attack_simulation_simulations_simulation_item_request_builder.go @@ -18,7 +18,7 @@ type AttackSimulationSimulationsSimulationItemRequestBuilderDeleteRequestConfigu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// AttackSimulationSimulationsSimulationItemRequestBuilderGetQueryParameters get an attack simulation campaign for a tenant. +// AttackSimulationSimulationsSimulationItemRequestBuilderGetQueryParameters represents an attack simulation training campaign in a tenant. type AttackSimulationSimulationsSimulationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewAttackSimulationSimulationsSimulationItemRequestBuilder(rawUrl string, r urlParams["request-raw-url"] = rawUrl return NewAttackSimulationSimulationsSimulationItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an attack simulation campaign for a tenant. +// Delete delete navigation property simulations for security // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/simulation-delete?view=graph-rest-1.0 func (m *AttackSimulationSimulationsSimulationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *AttackSimulationSimulationsSimulationItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *AttackSimulationSimulationsSimulationItemRequestBuilder) Delete(ctx con } return nil } -// Get get an attack simulation campaign for a tenant. +// Get represents an attack simulation training campaign in a tenant. // returns a Simulationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/simulation-get?view=graph-rest-1.0 func (m *AttackSimulationSimulationsSimulationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *AttackSimulationSimulationsSimulationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Simulationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -106,12 +100,9 @@ func (m *AttackSimulationSimulationsSimulationItemRequestBuilder) LandingPage()( func (m *AttackSimulationSimulationsSimulationItemRequestBuilder) LoginPage()(*AttackSimulationSimulationsItemLoginPageRequestBuilder) { return NewAttackSimulationSimulationsItemLoginPageRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update an attack simulation campaign for a tenant. +// Patch update the navigation property simulations in security // returns a Simulationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/simulation-update?view=graph-rest-1.0 func (m *AttackSimulationSimulationsSimulationItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Simulationable, requestConfiguration *AttackSimulationSimulationsSimulationItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Simulationable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -134,7 +125,7 @@ func (m *AttackSimulationSimulationsSimulationItemRequestBuilder) Patch(ctx cont func (m *AttackSimulationSimulationsSimulationItemRequestBuilder) Payload()(*AttackSimulationSimulationsItemPayloadRequestBuilder) { return NewAttackSimulationSimulationsItemPayloadRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete an attack simulation campaign for a tenant. +// ToDeleteRequestInformation delete navigation property simulations for security // returns a *RequestInformation when successful func (m *AttackSimulationSimulationsSimulationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *AttackSimulationSimulationsSimulationItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -145,7 +136,7 @@ func (m *AttackSimulationSimulationsSimulationItemRequestBuilder) ToDeleteReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an attack simulation campaign for a tenant. +// ToGetRequestInformation represents an attack simulation training campaign in a tenant. // returns a *RequestInformation when successful func (m *AttackSimulationSimulationsSimulationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AttackSimulationSimulationsSimulationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -159,7 +150,7 @@ func (m *AttackSimulationSimulationsSimulationItemRequestBuilder) ToGetRequestIn requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update an attack simulation campaign for a tenant. +// ToPatchRequestInformation update the navigation property simulations in security // returns a *RequestInformation when successful func (m *AttackSimulationSimulationsSimulationItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Simulationable, requestConfiguration *AttackSimulationSimulationsSimulationItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/attack_simulation_training_campaigns_request_builder.go b/security/attack_simulation_training_campaigns_request_builder.go index 960ea381397..6f37efc5876 100644 --- a/security/attack_simulation_training_campaigns_request_builder.go +++ b/security/attack_simulation_training_campaigns_request_builder.go @@ -11,7 +11,7 @@ import ( type AttackSimulationTrainingCampaignsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AttackSimulationTrainingCampaignsRequestBuilderGetQueryParameters get a list of trainingCampaign objects and their properties. +// AttackSimulationTrainingCampaignsRequestBuilderGetQueryParameters represents a training campaign in a tenant. type AttackSimulationTrainingCampaignsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewAttackSimulationTrainingCampaignsRequestBuilder(rawUrl string, requestAd func (m *AttackSimulationTrainingCampaignsRequestBuilder) Count()(*AttackSimulationTrainingCampaignsCountRequestBuilder) { return NewAttackSimulationTrainingCampaignsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of trainingCampaign objects and their properties. +// Get represents a training campaign in a tenant. // returns a TrainingCampaignCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attacksimulationroot-list-trainingcampaigns?view=graph-rest-1.0 func (m *AttackSimulationTrainingCampaignsRequestBuilder) Get(ctx context.Context, requestConfiguration *AttackSimulationTrainingCampaignsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TrainingCampaignCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *AttackSimulationTrainingCampaignsRequestBuilder) Get(ctx context.Contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TrainingCampaignCollectionResponseable), nil } -// Post create a new trainingCampaign object. +// Post create new navigation property to trainingCampaigns for security // returns a TrainingCampaignable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attacksimulationroot-post-trainingcampaigns?view=graph-rest-1.0 func (m *AttackSimulationTrainingCampaignsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TrainingCampaignable, requestConfiguration *AttackSimulationTrainingCampaignsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TrainingCampaignable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *AttackSimulationTrainingCampaignsRequestBuilder) Post(ctx context.Conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TrainingCampaignable), nil } -// ToGetRequestInformation get a list of trainingCampaign objects and their properties. +// ToGetRequestInformation represents a training campaign in a tenant. // returns a *RequestInformation when successful func (m *AttackSimulationTrainingCampaignsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AttackSimulationTrainingCampaignsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *AttackSimulationTrainingCampaignsRequestBuilder) ToGetRequestInformatio requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new trainingCampaign object. +// ToPostRequestInformation create new navigation property to trainingCampaigns for security // returns a *RequestInformation when successful func (m *AttackSimulationTrainingCampaignsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TrainingCampaignable, requestConfiguration *AttackSimulationTrainingCampaignsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/attack_simulation_training_campaigns_training_campaign_item_request_builder.go b/security/attack_simulation_training_campaigns_training_campaign_item_request_builder.go index afef8178564..3a04e80fe47 100644 --- a/security/attack_simulation_training_campaigns_training_campaign_item_request_builder.go +++ b/security/attack_simulation_training_campaigns_training_campaign_item_request_builder.go @@ -18,7 +18,7 @@ type AttackSimulationTrainingCampaignsTrainingCampaignItemRequestBuilderDeleteRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// AttackSimulationTrainingCampaignsTrainingCampaignItemRequestBuilderGetQueryParameters read the properties and relationships of a trainingCampaign object. +// AttackSimulationTrainingCampaignsTrainingCampaignItemRequestBuilderGetQueryParameters represents a training campaign in a tenant. type AttackSimulationTrainingCampaignsTrainingCampaignItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewAttackSimulationTrainingCampaignsTrainingCampaignItemRequestBuilder(rawU urlParams["request-raw-url"] = rawUrl return NewAttackSimulationTrainingCampaignsTrainingCampaignItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a trainingCampaign object. +// Delete delete navigation property trainingCampaigns for security // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attacksimulationroot-delete-trainingcampaigns?view=graph-rest-1.0 func (m *AttackSimulationTrainingCampaignsTrainingCampaignItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *AttackSimulationTrainingCampaignsTrainingCampaignItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *AttackSimulationTrainingCampaignsTrainingCampaignItemRequestBuilder) De } return nil } -// Get read the properties and relationships of a trainingCampaign object. +// Get represents a training campaign in a tenant. // returns a TrainingCampaignable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/trainingcampaign-get?view=graph-rest-1.0 func (m *AttackSimulationTrainingCampaignsTrainingCampaignItemRequestBuilder) Get(ctx context.Context, requestConfiguration *AttackSimulationTrainingCampaignsTrainingCampaignItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TrainingCampaignable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *AttackSimulationTrainingCampaignsTrainingCampaignItemRequestBuilder) Ge } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TrainingCampaignable), nil } -// Patch update the properties of a trainingCampaign object. +// Patch update the navigation property trainingCampaigns in security // returns a TrainingCampaignable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/trainingcampaign-update?view=graph-rest-1.0 func (m *AttackSimulationTrainingCampaignsTrainingCampaignItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TrainingCampaignable, requestConfiguration *AttackSimulationTrainingCampaignsTrainingCampaignItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TrainingCampaignable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *AttackSimulationTrainingCampaignsTrainingCampaignItemRequestBuilder) Pa } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TrainingCampaignable), nil } -// ToDeleteRequestInformation delete a trainingCampaign object. +// ToDeleteRequestInformation delete navigation property trainingCampaigns for security // returns a *RequestInformation when successful func (m *AttackSimulationTrainingCampaignsTrainingCampaignItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *AttackSimulationTrainingCampaignsTrainingCampaignItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *AttackSimulationTrainingCampaignsTrainingCampaignItemRequestBuilder) To requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a trainingCampaign object. +// ToGetRequestInformation represents a training campaign in a tenant. // returns a *RequestInformation when successful func (m *AttackSimulationTrainingCampaignsTrainingCampaignItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AttackSimulationTrainingCampaignsTrainingCampaignItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *AttackSimulationTrainingCampaignsTrainingCampaignItemRequestBuilder) To requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a trainingCampaign object. +// ToPatchRequestInformation update the navigation property trainingCampaigns in security // returns a *RequestInformation when successful func (m *AttackSimulationTrainingCampaignsTrainingCampaignItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TrainingCampaignable, requestConfiguration *AttackSimulationTrainingCampaignsTrainingCampaignItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/attack_simulation_trainings_request_builder.go b/security/attack_simulation_trainings_request_builder.go index bb9724ecf90..c5245227258 100644 --- a/security/attack_simulation_trainings_request_builder.go +++ b/security/attack_simulation_trainings_request_builder.go @@ -11,7 +11,7 @@ import ( type AttackSimulationTrainingsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AttackSimulationTrainingsRequestBuilderGetQueryParameters get a list of the training objects and their properties. +// AttackSimulationTrainingsRequestBuilderGetQueryParameters represents details about attack simulation trainings. type AttackSimulationTrainingsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewAttackSimulationTrainingsRequestBuilder(rawUrl string, requestAdapter i2 func (m *AttackSimulationTrainingsRequestBuilder) Count()(*AttackSimulationTrainingsCountRequestBuilder) { return NewAttackSimulationTrainingsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the training objects and their properties. +// Get represents details about attack simulation trainings. // returns a TrainingCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attacksimulationroot-list-trainings?view=graph-rest-1.0 func (m *AttackSimulationTrainingsRequestBuilder) Get(ctx context.Context, requestConfiguration *AttackSimulationTrainingsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TrainingCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *AttackSimulationTrainingsRequestBuilder) Post(ctx context.Context, body } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Trainingable), nil } -// ToGetRequestInformation get a list of the training objects and their properties. +// ToGetRequestInformation represents details about attack simulation trainings. // returns a *RequestInformation when successful func (m *AttackSimulationTrainingsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AttackSimulationTrainingsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/audit_log_queries_audit_log_query_item_request_builder.go b/security/audit_log_queries_audit_log_query_item_request_builder.go index 80e83f33bb4..dad50dd50da 100644 --- a/security/audit_log_queries_audit_log_query_item_request_builder.go +++ b/security/audit_log_queries_audit_log_query_item_request_builder.go @@ -18,7 +18,7 @@ type AuditLogQueriesAuditLogQueryItemRequestBuilderDeleteRequestConfiguration st // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// AuditLogQueriesAuditLogQueryItemRequestBuilderGetQueryParameters read the properties and relationships of an auditLogQuery object. +// AuditLogQueriesAuditLogQueryItemRequestBuilderGetQueryParameters get queries from security type AuditLogQueriesAuditLogQueryItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *AuditLogQueriesAuditLogQueryItemRequestBuilder) Delete(ctx context.Cont } return nil } -// Get read the properties and relationships of an auditLogQuery object. +// Get get queries from security // returns a AuditLogQueryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-auditlogquery-get?view=graph-rest-1.0 func (m *AuditLogQueriesAuditLogQueryItemRequestBuilder) Get(ctx context.Context, requestConfiguration *AuditLogQueriesAuditLogQueryItemRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.AuditLogQueryable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *AuditLogQueriesAuditLogQueryItemRequestBuilder) ToDeleteRequestInformat requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an auditLogQuery object. +// ToGetRequestInformation get queries from security // returns a *RequestInformation when successful func (m *AuditLogQueriesAuditLogQueryItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AuditLogQueriesAuditLogQueryItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/audit_log_queries_item_records_request_builder.go b/security/audit_log_queries_item_records_request_builder.go index 24ca6be5967..9a5e760b0ee 100644 --- a/security/audit_log_queries_item_records_request_builder.go +++ b/security/audit_log_queries_item_records_request_builder.go @@ -11,7 +11,7 @@ import ( type AuditLogQueriesItemRecordsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AuditLogQueriesItemRecordsRequestBuilderGetQueryParameters get a list of the auditLogRecord objects and their properties. +// AuditLogQueriesItemRecordsRequestBuilderGetQueryParameters an individual audit log record. type AuditLogQueriesItemRecordsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewAuditLogQueriesItemRecordsRequestBuilder(rawUrl string, requestAdapter i func (m *AuditLogQueriesItemRecordsRequestBuilder) Count()(*AuditLogQueriesItemRecordsCountRequestBuilder) { return NewAuditLogQueriesItemRecordsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the auditLogRecord objects and their properties. +// Get an individual audit log record. // returns a AuditLogRecordCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-auditlogquery-list-records?view=graph-rest-1.0 func (m *AuditLogQueriesItemRecordsRequestBuilder) Get(ctx context.Context, requestConfiguration *AuditLogQueriesItemRecordsRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.AuditLogRecordCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *AuditLogQueriesItemRecordsRequestBuilder) Post(ctx context.Context, bod } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.AuditLogRecordable), nil } -// ToGetRequestInformation get a list of the auditLogRecord objects and their properties. +// ToGetRequestInformation an individual audit log record. // returns a *RequestInformation when successful func (m *AuditLogQueriesItemRecordsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AuditLogQueriesItemRecordsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/audit_log_queries_request_builder.go b/security/audit_log_queries_request_builder.go index 0e19f057aaf..8093cfbb5dc 100644 --- a/security/audit_log_queries_request_builder.go +++ b/security/audit_log_queries_request_builder.go @@ -11,7 +11,7 @@ import ( type AuditLogQueriesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AuditLogQueriesRequestBuilderGetQueryParameters get a list of auditLogQuery objects and their properties. +// AuditLogQueriesRequestBuilderGetQueryParameters get queries from security type AuditLogQueriesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewAuditLogQueriesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7da func (m *AuditLogQueriesRequestBuilder) Count()(*AuditLogQueriesCountRequestBuilder) { return NewAuditLogQueriesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of auditLogQuery objects and their properties. +// Get get queries from security // returns a AuditLogQueryCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-auditcoreroot-list-auditlogqueries?view=graph-rest-1.0 func (m *AuditLogQueriesRequestBuilder) Get(ctx context.Context, requestConfiguration *AuditLogQueriesRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.AuditLogQueryCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *AuditLogQueriesRequestBuilder) Get(ctx context.Context, requestConfigur } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.AuditLogQueryCollectionResponseable), nil } -// Post create a new auditLogQuery object. +// Post create new navigation property to queries for security // returns a AuditLogQueryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-auditcoreroot-post-auditlogqueries?view=graph-rest-1.0 func (m *AuditLogQueriesRequestBuilder) Post(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.AuditLogQueryable, requestConfiguration *AuditLogQueriesRequestBuilderPostRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.AuditLogQueryable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *AuditLogQueriesRequestBuilder) Post(ctx context.Context, body i084fa7ab } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.AuditLogQueryable), nil } -// ToGetRequestInformation get a list of auditLogQuery objects and their properties. +// ToGetRequestInformation get queries from security // returns a *RequestInformation when successful func (m *AuditLogQueriesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AuditLogQueriesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *AuditLogQueriesRequestBuilder) ToGetRequestInformation(ctx context.Cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new auditLogQuery object. +// ToPostRequestInformation create new navigation property to queries for security // returns a *RequestInformation when successful func (m *AuditLogQueriesRequestBuilder) ToPostRequestInformation(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.AuditLogQueryable, requestConfiguration *AuditLogQueriesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/cases_ediscovery_cases_ediscovery_case_item_request_builder.go b/security/cases_ediscovery_cases_ediscovery_case_item_request_builder.go index 50c2c87c080..2cefb1d38f9 100644 --- a/security/cases_ediscovery_cases_ediscovery_case_item_request_builder.go +++ b/security/cases_ediscovery_cases_ediscovery_case_item_request_builder.go @@ -18,7 +18,7 @@ type CasesEdiscoveryCasesEdiscoveryCaseItemRequestBuilderDeleteRequestConfigurat // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// CasesEdiscoveryCasesEdiscoveryCaseItemRequestBuilderGetQueryParameters read the properties and relationships of an ediscoveryCase object. +// CasesEdiscoveryCasesEdiscoveryCaseItemRequestBuilderGetQueryParameters get ediscoveryCases from security type CasesEdiscoveryCasesEdiscoveryCaseItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewCasesEdiscoveryCasesEdiscoveryCaseItemRequestBuilder(rawUrl string, requ func (m *CasesEdiscoveryCasesEdiscoveryCaseItemRequestBuilder) Custodians()(*CasesEdiscoveryCasesItemCustodiansRequestBuilder) { return NewCasesEdiscoveryCasesItemCustodiansRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Delete delete an ediscoveryCase object. +// Delete delete navigation property ediscoveryCases for security // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-casesroot-delete-ediscoverycases?view=graph-rest-1.0 func (m *CasesEdiscoveryCasesEdiscoveryCaseItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesEdiscoveryCaseItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *CasesEdiscoveryCasesEdiscoveryCaseItemRequestBuilder) Delete(ctx contex } return nil } -// Get read the properties and relationships of an ediscoveryCase object. +// Get get ediscoveryCases from security // returns a EdiscoveryCaseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverycase-get?view=graph-rest-1.0 func (m *CasesEdiscoveryCasesEdiscoveryCaseItemRequestBuilder) Get(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesEdiscoveryCaseItemRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryCaseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -126,12 +120,9 @@ func (m *CasesEdiscoveryCasesEdiscoveryCaseItemRequestBuilder) NoncustodialDataS func (m *CasesEdiscoveryCasesEdiscoveryCaseItemRequestBuilder) Operations()(*CasesEdiscoveryCasesItemOperationsRequestBuilder) { return NewCasesEdiscoveryCasesItemOperationsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of an ediscoveryCase object. +// Patch update the navigation property ediscoveryCases in security // returns a EdiscoveryCaseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverycase-update?view=graph-rest-1.0 func (m *CasesEdiscoveryCasesEdiscoveryCaseItemRequestBuilder) Patch(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryCaseable, requestConfiguration *CasesEdiscoveryCasesEdiscoveryCaseItemRequestBuilderPatchRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryCaseable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -169,7 +160,7 @@ func (m *CasesEdiscoveryCasesEdiscoveryCaseItemRequestBuilder) Settings()(*Cases func (m *CasesEdiscoveryCasesEdiscoveryCaseItemRequestBuilder) Tags()(*CasesEdiscoveryCasesItemTagsRequestBuilder) { return NewCasesEdiscoveryCasesItemTagsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete an ediscoveryCase object. +// ToDeleteRequestInformation delete navigation property ediscoveryCases for security // returns a *RequestInformation when successful func (m *CasesEdiscoveryCasesEdiscoveryCaseItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesEdiscoveryCaseItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -180,7 +171,7 @@ func (m *CasesEdiscoveryCasesEdiscoveryCaseItemRequestBuilder) ToDeleteRequestIn requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an ediscoveryCase object. +// ToGetRequestInformation get ediscoveryCases from security // returns a *RequestInformation when successful func (m *CasesEdiscoveryCasesEdiscoveryCaseItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesEdiscoveryCaseItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -194,7 +185,7 @@ func (m *CasesEdiscoveryCasesEdiscoveryCaseItemRequestBuilder) ToGetRequestInfor requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an ediscoveryCase object. +// ToPatchRequestInformation update the navigation property ediscoveryCases in security // returns a *RequestInformation when successful func (m *CasesEdiscoveryCasesEdiscoveryCaseItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryCaseable, requestConfiguration *CasesEdiscoveryCasesEdiscoveryCaseItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/cases_ediscovery_cases_item_custodians_ediscovery_custodian_item_request_builder.go b/security/cases_ediscovery_cases_item_custodians_ediscovery_custodian_item_request_builder.go index ee0b386ad72..80aae9b31a7 100644 --- a/security/cases_ediscovery_cases_item_custodians_ediscovery_custodian_item_request_builder.go +++ b/security/cases_ediscovery_cases_item_custodians_ediscovery_custodian_item_request_builder.go @@ -18,7 +18,7 @@ type CasesEdiscoveryCasesItemCustodiansEdiscoveryCustodianItemRequestBuilderDele // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// CasesEdiscoveryCasesItemCustodiansEdiscoveryCustodianItemRequestBuilderGetQueryParameters read the properties and relationships of an ediscoveryCustodian object. +// CasesEdiscoveryCasesItemCustodiansEdiscoveryCustodianItemRequestBuilderGetQueryParameters returns a list of case ediscoveryCustodian objects for this case. type CasesEdiscoveryCasesItemCustodiansEdiscoveryCustodianItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *CasesEdiscoveryCasesItemCustodiansEdiscoveryCustodianItemRequestBuilder } return nil } -// Get read the properties and relationships of an ediscoveryCustodian object. +// Get returns a list of case ediscoveryCustodian objects for this case. // returns a EdiscoveryCustodianable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverycustodian-get?view=graph-rest-1.0 func (m *CasesEdiscoveryCasesItemCustodiansEdiscoveryCustodianItemRequestBuilder) Get(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemCustodiansEdiscoveryCustodianItemRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryCustodianable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -159,7 +156,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansEdiscoveryCustodianItemRequestBuilder requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an ediscoveryCustodian object. +// ToGetRequestInformation returns a list of case ediscoveryCustodian objects for this case. // returns a *RequestInformation when successful func (m *CasesEdiscoveryCasesItemCustodiansEdiscoveryCustodianItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemCustodiansEdiscoveryCustodianItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/cases_ediscovery_cases_item_custodians_item_last_index_operation_request_builder.go b/security/cases_ediscovery_cases_item_custodians_item_last_index_operation_request_builder.go index 19802bd3df3..c72ffca8ae1 100644 --- a/security/cases_ediscovery_cases_item_custodians_item_last_index_operation_request_builder.go +++ b/security/cases_ediscovery_cases_item_custodians_item_last_index_operation_request_builder.go @@ -11,7 +11,7 @@ import ( type CasesEdiscoveryCasesItemCustodiansItemLastIndexOperationRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// CasesEdiscoveryCasesItemCustodiansItemLastIndexOperationRequestBuilderGetQueryParameters get a list of the ediscoveryIndexOperation associated with an ediscoveryCustodian. +// CasesEdiscoveryCasesItemCustodiansItemLastIndexOperationRequestBuilderGetQueryParameters operation entity that represents the latest indexing for the custodian. type CasesEdiscoveryCasesItemCustodiansItemLastIndexOperationRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -40,12 +40,9 @@ func NewCasesEdiscoveryCasesItemCustodiansItemLastIndexOperationRequestBuilder(r urlParams["request-raw-url"] = rawUrl return NewCasesEdiscoveryCasesItemCustodiansItemLastIndexOperationRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a list of the ediscoveryIndexOperation associated with an ediscoveryCustodian. +// Get operation entity that represents the latest indexing for the custodian. // returns a EdiscoveryIndexOperationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverycustodian-list-lastindexoperation?view=graph-rest-1.0 func (m *CasesEdiscoveryCasesItemCustodiansItemLastIndexOperationRequestBuilder) Get(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemCustodiansItemLastIndexOperationRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryIndexOperationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -63,7 +60,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansItemLastIndexOperationRequestBuilder) } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryIndexOperationable), nil } -// ToGetRequestInformation get a list of the ediscoveryIndexOperation associated with an ediscoveryCustodian. +// ToGetRequestInformation operation entity that represents the latest indexing for the custodian. // returns a *RequestInformation when successful func (m *CasesEdiscoveryCasesItemCustodiansItemLastIndexOperationRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemCustodiansItemLastIndexOperationRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_activate_request_builder.go b/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_activate_request_builder.go index 306f3c73ff9..a4b2e7a8e63 100644 --- a/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_activate_request_builder.go +++ b/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_activate_request_builder.go @@ -34,7 +34,7 @@ func NewCasesEdiscoveryCasesItemCustodiansItemMicrosoftGraphSecurityActivateRequ // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverycustodian-activate?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverycustodian-activate?view=graph-rest-beta func (m *CasesEdiscoveryCasesItemCustodiansItemMicrosoftGraphSecurityActivateRequestBuilder) Post(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemCustodiansItemMicrosoftGraphSecurityActivateRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_apply_hold_request_builder.go b/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_apply_hold_request_builder.go index de87aeaeacc..39839ba5f66 100644 --- a/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_apply_hold_request_builder.go +++ b/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_apply_hold_request_builder.go @@ -34,7 +34,7 @@ func NewCasesEdiscoveryCasesItemCustodiansItemMicrosoftGraphSecurityApplyHoldReq // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverycustodian-applyhold?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverycustodian-applyhold?view=graph-rest-beta func (m *CasesEdiscoveryCasesItemCustodiansItemMicrosoftGraphSecurityApplyHoldRequestBuilder) Post(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemCustodiansItemMicrosoftGraphSecurityApplyHoldRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_release_request_builder.go b/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_release_request_builder.go index 57abc3997e4..ff7b154cc5f 100644 --- a/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_release_request_builder.go +++ b/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_release_request_builder.go @@ -34,7 +34,7 @@ func NewCasesEdiscoveryCasesItemCustodiansItemMicrosoftGraphSecurityReleaseReque // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverycustodian-release?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverycustodian-release?view=graph-rest-beta func (m *CasesEdiscoveryCasesItemCustodiansItemMicrosoftGraphSecurityReleaseRequestBuilder) Post(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemCustodiansItemMicrosoftGraphSecurityReleaseRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_remove_hold_request_builder.go b/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_remove_hold_request_builder.go index 7f3423e79a3..4f0751c90ec 100644 --- a/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_remove_hold_request_builder.go +++ b/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_remove_hold_request_builder.go @@ -34,7 +34,7 @@ func NewCasesEdiscoveryCasesItemCustodiansItemMicrosoftGraphSecurityRemoveHoldRe // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverycustodian-removehold?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverycustodian-removehold?view=graph-rest-beta func (m *CasesEdiscoveryCasesItemCustodiansItemMicrosoftGraphSecurityRemoveHoldRequestBuilder) Post(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemCustodiansItemMicrosoftGraphSecurityRemoveHoldRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_update_index_request_builder.go b/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_update_index_request_builder.go index 1a7bbf06a46..5fee40756d6 100644 --- a/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_update_index_request_builder.go +++ b/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_update_index_request_builder.go @@ -34,7 +34,7 @@ func NewCasesEdiscoveryCasesItemCustodiansItemMicrosoftGraphSecurityUpdateIndexR // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverycustodian-updateindex?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverycustodian-updateindex?view=graph-rest-beta func (m *CasesEdiscoveryCasesItemCustodiansItemMicrosoftGraphSecurityUpdateIndexRequestBuilder) Post(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemCustodiansItemMicrosoftGraphSecurityUpdateIndexRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/security/cases_ediscovery_cases_item_custodians_item_site_sources_request_builder.go b/security/cases_ediscovery_cases_item_custodians_item_site_sources_request_builder.go index f91e89160ec..e653ed11d94 100644 --- a/security/cases_ediscovery_cases_item_custodians_item_site_sources_request_builder.go +++ b/security/cases_ediscovery_cases_item_custodians_item_site_sources_request_builder.go @@ -11,7 +11,7 @@ import ( type CasesEdiscoveryCasesItemCustodiansItemSiteSourcesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// CasesEdiscoveryCasesItemCustodiansItemSiteSourcesRequestBuilderGetQueryParameters get a list of the siteSource objects associated with an ediscoveryCustodian. +// CasesEdiscoveryCasesItemCustodiansItemSiteSourcesRequestBuilderGetQueryParameters data source entity for SharePoint sites associated with the custodian. type CasesEdiscoveryCasesItemCustodiansItemSiteSourcesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewCasesEdiscoveryCasesItemCustodiansItemSiteSourcesRequestBuilder(rawUrl s func (m *CasesEdiscoveryCasesItemCustodiansItemSiteSourcesRequestBuilder) Count()(*CasesEdiscoveryCasesItemCustodiansItemSiteSourcesCountRequestBuilder) { return NewCasesEdiscoveryCasesItemCustodiansItemSiteSourcesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the siteSource objects associated with an ediscoveryCustodian. +// Get data source entity for SharePoint sites associated with the custodian. // returns a SiteSourceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverycustodian-list-sitesources?view=graph-rest-1.0 func (m *CasesEdiscoveryCasesItemCustodiansItemSiteSourcesRequestBuilder) Get(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemCustodiansItemSiteSourcesRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.SiteSourceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *CasesEdiscoveryCasesItemCustodiansItemSiteSourcesRequestBuilder) Get(ct } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.SiteSourceCollectionResponseable), nil } -// Post create a new siteSource object associated with an eDiscovery custodian. +// Post create new navigation property to siteSources for security // returns a SiteSourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverycustodian-post-sitesources?view=graph-rest-1.0 func (m *CasesEdiscoveryCasesItemCustodiansItemSiteSourcesRequestBuilder) Post(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.SiteSourceable, requestConfiguration *CasesEdiscoveryCasesItemCustodiansItemSiteSourcesRequestBuilderPostRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.SiteSourceable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansItemSiteSourcesRequestBuilder) Post(c } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.SiteSourceable), nil } -// ToGetRequestInformation get a list of the siteSource objects associated with an ediscoveryCustodian. +// ToGetRequestInformation data source entity for SharePoint sites associated with the custodian. // returns a *RequestInformation when successful func (m *CasesEdiscoveryCasesItemCustodiansItemSiteSourcesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemCustodiansItemSiteSourcesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansItemSiteSourcesRequestBuilder) ToGetR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new siteSource object associated with an eDiscovery custodian. +// ToPostRequestInformation create new navigation property to siteSources for security // returns a *RequestInformation when successful func (m *CasesEdiscoveryCasesItemCustodiansItemSiteSourcesRequestBuilder) ToPostRequestInformation(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.SiteSourceable, requestConfiguration *CasesEdiscoveryCasesItemCustodiansItemSiteSourcesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/cases_ediscovery_cases_item_custodians_item_unified_group_sources_request_builder.go b/security/cases_ediscovery_cases_item_custodians_item_unified_group_sources_request_builder.go index bc29fb3e994..f3b905daa0d 100644 --- a/security/cases_ediscovery_cases_item_custodians_item_unified_group_sources_request_builder.go +++ b/security/cases_ediscovery_cases_item_custodians_item_unified_group_sources_request_builder.go @@ -11,7 +11,7 @@ import ( type CasesEdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// CasesEdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesRequestBuilderGetQueryParameters get a list of the unifiedGroupSource objects associated with an ediscoveryCustodian. +// CasesEdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesRequestBuilderGetQueryParameters data source entity for groups associated with the custodian. type CasesEdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewCasesEdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesRequestBuilder( func (m *CasesEdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesRequestBuilder) Count()(*CasesEdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesCountRequestBuilder) { return NewCasesEdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the unifiedGroupSource objects associated with an ediscoveryCustodian. +// Get data source entity for groups associated with the custodian. // returns a UnifiedGroupSourceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverycustodian-list-unifiedgroupsources?view=graph-rest-1.0 func (m *CasesEdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesRequestBuilder) Get(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.UnifiedGroupSourceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *CasesEdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesRequestBuilder } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.UnifiedGroupSourceCollectionResponseable), nil } -// Post create a new unifiedGroupSource object associated with an eDiscovery custodian. +// Post create new navigation property to unifiedGroupSources for security // returns a UnifiedGroupSourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverycustodian-post-unifiedgroupsources?view=graph-rest-1.0 func (m *CasesEdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesRequestBuilder) Post(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.UnifiedGroupSourceable, requestConfiguration *CasesEdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesRequestBuilderPostRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.UnifiedGroupSourceable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesRequestBuilder } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.UnifiedGroupSourceable), nil } -// ToGetRequestInformation get a list of the unifiedGroupSource objects associated with an ediscoveryCustodian. +// ToGetRequestInformation data source entity for groups associated with the custodian. // returns a *RequestInformation when successful func (m *CasesEdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesRequestBuilder requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new unifiedGroupSource object associated with an eDiscovery custodian. +// ToPostRequestInformation create new navigation property to unifiedGroupSources for security // returns a *RequestInformation when successful func (m *CasesEdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesRequestBuilder) ToPostRequestInformation(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.UnifiedGroupSourceable, requestConfiguration *CasesEdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/cases_ediscovery_cases_item_custodians_item_user_sources_request_builder.go b/security/cases_ediscovery_cases_item_custodians_item_user_sources_request_builder.go index e1579438631..9dff4c5b79b 100644 --- a/security/cases_ediscovery_cases_item_custodians_item_user_sources_request_builder.go +++ b/security/cases_ediscovery_cases_item_custodians_item_user_sources_request_builder.go @@ -11,7 +11,7 @@ import ( type CasesEdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// CasesEdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilderGetQueryParameters get a list of the userSource objects associated with an ediscoveryCustodian. +// CasesEdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilderGetQueryParameters data source entity for a custodian. This is the container for a custodian's mailbox and OneDrive for Business site. type CasesEdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewCasesEdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilder(rawUrl s func (m *CasesEdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilder) Count()(*CasesEdiscoveryCasesItemCustodiansItemUserSourcesCountRequestBuilder) { return NewCasesEdiscoveryCasesItemCustodiansItemUserSourcesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the userSource objects associated with an ediscoveryCustodian. +// Get data source entity for a custodian. This is the container for a custodian's mailbox and OneDrive for Business site. // returns a UserSourceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverycustodian-list-usersources?view=graph-rest-1.0 func (m *CasesEdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilder) Get(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.UserSourceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *CasesEdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilder) Get(ct } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.UserSourceCollectionResponseable), nil } -// Post create a new userSource object associated with an eDiscovery custodian. +// Post create new navigation property to userSources for security // returns a UserSourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverycustodian-post-usersources?view=graph-rest-1.0 func (m *CasesEdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilder) Post(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.UserSourceable, requestConfiguration *CasesEdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilderPostRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.UserSourceable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilder) Post(c } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.UserSourceable), nil } -// ToGetRequestInformation get a list of the userSource objects associated with an ediscoveryCustodian. +// ToGetRequestInformation data source entity for a custodian. This is the container for a custodian's mailbox and OneDrive for Business site. // returns a *RequestInformation when successful func (m *CasesEdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilder) ToGetR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new userSource object associated with an eDiscovery custodian. +// ToPostRequestInformation create new navigation property to userSources for security // returns a *RequestInformation when successful func (m *CasesEdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilder) ToPostRequestInformation(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.UserSourceable, requestConfiguration *CasesEdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/cases_ediscovery_cases_item_custodians_microsoft_graph_security_apply_hold_request_builder.go b/security/cases_ediscovery_cases_item_custodians_microsoft_graph_security_apply_hold_request_builder.go index edcfbb3d137..58eb8fb8f19 100644 --- a/security/cases_ediscovery_cases_item_custodians_microsoft_graph_security_apply_hold_request_builder.go +++ b/security/cases_ediscovery_cases_item_custodians_microsoft_graph_security_apply_hold_request_builder.go @@ -34,7 +34,7 @@ func NewCasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityApplyHoldRequest // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverycustodian-applyhold?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverycustodian-applyhold?view=graph-rest-beta func (m *CasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityApplyHoldRequestBuilder) Post(ctx context.Context, body CasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityApplyHoldApplyHoldPostRequestBodyable, requestConfiguration *CasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityApplyHoldRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/security/cases_ediscovery_cases_item_custodians_microsoft_graph_security_remove_hold_request_builder.go b/security/cases_ediscovery_cases_item_custodians_microsoft_graph_security_remove_hold_request_builder.go index ee469d16247..c4239f13915 100644 --- a/security/cases_ediscovery_cases_item_custodians_microsoft_graph_security_remove_hold_request_builder.go +++ b/security/cases_ediscovery_cases_item_custodians_microsoft_graph_security_remove_hold_request_builder.go @@ -34,7 +34,7 @@ func NewCasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityRemoveHoldReques // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverycustodian-removehold?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverycustodian-removehold?view=graph-rest-beta func (m *CasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityRemoveHoldRequestBuilder) Post(ctx context.Context, body CasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityRemoveHoldRemoveHoldPostRequestBodyable, requestConfiguration *CasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityRemoveHoldRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/security/cases_ediscovery_cases_item_custodians_microsoft_graph_security_update_index_request_builder.go b/security/cases_ediscovery_cases_item_custodians_microsoft_graph_security_update_index_request_builder.go index 7622cc35706..fe42eb23d00 100644 --- a/security/cases_ediscovery_cases_item_custodians_microsoft_graph_security_update_index_request_builder.go +++ b/security/cases_ediscovery_cases_item_custodians_microsoft_graph_security_update_index_request_builder.go @@ -34,7 +34,7 @@ func NewCasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityUpdateIndexReque // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverycustodian-updateindex?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverycustodian-updateindex?view=graph-rest-beta func (m *CasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityUpdateIndexRequestBuilder) Post(ctx context.Context, body CasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityUpdateIndexUpdateIndexPostRequestBodyable, requestConfiguration *CasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityUpdateIndexRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/security/cases_ediscovery_cases_item_custodians_request_builder.go b/security/cases_ediscovery_cases_item_custodians_request_builder.go index e53921cd514..86bb5925238 100644 --- a/security/cases_ediscovery_cases_item_custodians_request_builder.go +++ b/security/cases_ediscovery_cases_item_custodians_request_builder.go @@ -11,7 +11,7 @@ import ( type CasesEdiscoveryCasesItemCustodiansRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// CasesEdiscoveryCasesItemCustodiansRequestBuilderGetQueryParameters get a list of the custodian objects and their properties. +// CasesEdiscoveryCasesItemCustodiansRequestBuilderGetQueryParameters returns a list of case ediscoveryCustodian objects for this case. type CasesEdiscoveryCasesItemCustodiansRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewCasesEdiscoveryCasesItemCustodiansRequestBuilder(rawUrl string, requestA func (m *CasesEdiscoveryCasesItemCustodiansRequestBuilder) Count()(*CasesEdiscoveryCasesItemCustodiansCountRequestBuilder) { return NewCasesEdiscoveryCasesItemCustodiansCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the custodian objects and their properties. +// Get returns a list of case ediscoveryCustodian objects for this case. // returns a EdiscoveryCustodianCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverycase-list-custodians?view=graph-rest-1.0 func (m *CasesEdiscoveryCasesItemCustodiansRequestBuilder) Get(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemCustodiansRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryCustodianCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -114,12 +111,9 @@ func (m *CasesEdiscoveryCasesItemCustodiansRequestBuilder) MicrosoftGraphSecurit func (m *CasesEdiscoveryCasesItemCustodiansRequestBuilder) MicrosoftGraphSecurityUpdateIndex()(*CasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityUpdateIndexRequestBuilder) { return NewCasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityUpdateIndexRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Post create a new ediscoveryCustodian object.After the custodian object is created, you will need to create the custodian's userSource to reference their mailbox and OneDrive for Business site. +// Post create new navigation property to custodians for security // returns a EdiscoveryCustodianable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverycase-post-custodians?view=graph-rest-1.0 func (m *CasesEdiscoveryCasesItemCustodiansRequestBuilder) Post(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryCustodianable, requestConfiguration *CasesEdiscoveryCasesItemCustodiansRequestBuilderPostRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryCustodianable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -137,7 +131,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansRequestBuilder) Post(ctx context.Cont } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryCustodianable), nil } -// ToGetRequestInformation get a list of the custodian objects and their properties. +// ToGetRequestInformation returns a list of case ediscoveryCustodian objects for this case. // returns a *RequestInformation when successful func (m *CasesEdiscoveryCasesItemCustodiansRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemCustodiansRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -151,7 +145,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansRequestBuilder) ToGetRequestInformati requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new ediscoveryCustodian object.After the custodian object is created, you will need to create the custodian's userSource to reference their mailbox and OneDrive for Business site. +// ToPostRequestInformation create new navigation property to custodians for security // returns a *RequestInformation when successful func (m *CasesEdiscoveryCasesItemCustodiansRequestBuilder) ToPostRequestInformation(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryCustodianable, requestConfiguration *CasesEdiscoveryCasesItemCustodiansRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/cases_ediscovery_cases_item_legal_holds_item_site_sources_request_builder.go b/security/cases_ediscovery_cases_item_legal_holds_item_site_sources_request_builder.go index 3c15dd914b4..aff90075c58 100644 --- a/security/cases_ediscovery_cases_item_legal_holds_item_site_sources_request_builder.go +++ b/security/cases_ediscovery_cases_item_legal_holds_item_site_sources_request_builder.go @@ -96,12 +96,9 @@ func (m *CasesEdiscoveryCasesItemLegalHoldsItemSiteSourcesRequestBuilder) Get(ct } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.SiteSourceCollectionResponseable), nil } -// Post create a new siteSource object. +// Post create new navigation property to siteSources for security // returns a SiteSourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoveryholdpolicy-post-sitesources?view=graph-rest-1.0 func (m *CasesEdiscoveryCasesItemLegalHoldsItemSiteSourcesRequestBuilder) Post(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.SiteSourceable, requestConfiguration *CasesEdiscoveryCasesItemLegalHoldsItemSiteSourcesRequestBuilderPostRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.SiteSourceable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -133,7 +130,7 @@ func (m *CasesEdiscoveryCasesItemLegalHoldsItemSiteSourcesRequestBuilder) ToGetR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new siteSource object. +// ToPostRequestInformation create new navigation property to siteSources for security // returns a *RequestInformation when successful func (m *CasesEdiscoveryCasesItemLegalHoldsItemSiteSourcesRequestBuilder) ToPostRequestInformation(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.SiteSourceable, requestConfiguration *CasesEdiscoveryCasesItemLegalHoldsItemSiteSourcesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/cases_ediscovery_cases_item_legal_holds_item_user_sources_request_builder.go b/security/cases_ediscovery_cases_item_legal_holds_item_user_sources_request_builder.go index 88c027124b8..f74cde4987b 100644 --- a/security/cases_ediscovery_cases_item_legal_holds_item_user_sources_request_builder.go +++ b/security/cases_ediscovery_cases_item_legal_holds_item_user_sources_request_builder.go @@ -96,12 +96,9 @@ func (m *CasesEdiscoveryCasesItemLegalHoldsItemUserSourcesRequestBuilder) Get(ct } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.UserSourceCollectionResponseable), nil } -// Post create a new userSource object. +// Post create new navigation property to userSources for security // returns a UserSourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoveryholdpolicy-post-usersources?view=graph-rest-1.0 func (m *CasesEdiscoveryCasesItemLegalHoldsItemUserSourcesRequestBuilder) Post(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.UserSourceable, requestConfiguration *CasesEdiscoveryCasesItemLegalHoldsItemUserSourcesRequestBuilderPostRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.UserSourceable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -133,7 +130,7 @@ func (m *CasesEdiscoveryCasesItemLegalHoldsItemUserSourcesRequestBuilder) ToGetR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new userSource object. +// ToPostRequestInformation create new navigation property to userSources for security // returns a *RequestInformation when successful func (m *CasesEdiscoveryCasesItemLegalHoldsItemUserSourcesRequestBuilder) ToPostRequestInformation(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.UserSourceable, requestConfiguration *CasesEdiscoveryCasesItemLegalHoldsItemUserSourcesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/cases_ediscovery_cases_item_legal_holds_request_builder.go b/security/cases_ediscovery_cases_item_legal_holds_request_builder.go index ade5b3c7b18..a55e5f50e50 100644 --- a/security/cases_ediscovery_cases_item_legal_holds_request_builder.go +++ b/security/cases_ediscovery_cases_item_legal_holds_request_builder.go @@ -11,7 +11,7 @@ import ( type CasesEdiscoveryCasesItemLegalHoldsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// CasesEdiscoveryCasesItemLegalHoldsRequestBuilderGetQueryParameters get a list of the ediscoveryHoldPolicy objects and their properties. +// CasesEdiscoveryCasesItemLegalHoldsRequestBuilderGetQueryParameters returns a list of case eDiscoveryHoldPolicy objects for this case. type CasesEdiscoveryCasesItemLegalHoldsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewCasesEdiscoveryCasesItemLegalHoldsRequestBuilder(rawUrl string, requestA func (m *CasesEdiscoveryCasesItemLegalHoldsRequestBuilder) Count()(*CasesEdiscoveryCasesItemLegalHoldsCountRequestBuilder) { return NewCasesEdiscoveryCasesItemLegalHoldsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the ediscoveryHoldPolicy objects and their properties. +// Get returns a list of case eDiscoveryHoldPolicy objects for this case. // returns a EdiscoveryHoldPolicyCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverycase-list-legalholds?view=graph-rest-1.0 func (m *CasesEdiscoveryCasesItemLegalHoldsRequestBuilder) Get(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemLegalHoldsRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryHoldPolicyCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *CasesEdiscoveryCasesItemLegalHoldsRequestBuilder) Get(ctx context.Conte } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryHoldPolicyCollectionResponseable), nil } -// Post create a new ediscoveryHoldPolicy object. +// Post create new navigation property to legalHolds for security // returns a EdiscoveryHoldPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverycase-post-legalholds?view=graph-rest-1.0 func (m *CasesEdiscoveryCasesItemLegalHoldsRequestBuilder) Post(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryHoldPolicyable, requestConfiguration *CasesEdiscoveryCasesItemLegalHoldsRequestBuilderPostRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryHoldPolicyable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *CasesEdiscoveryCasesItemLegalHoldsRequestBuilder) Post(ctx context.Cont } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryHoldPolicyable), nil } -// ToGetRequestInformation get a list of the ediscoveryHoldPolicy objects and their properties. +// ToGetRequestInformation returns a list of case eDiscoveryHoldPolicy objects for this case. // returns a *RequestInformation when successful func (m *CasesEdiscoveryCasesItemLegalHoldsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemLegalHoldsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *CasesEdiscoveryCasesItemLegalHoldsRequestBuilder) ToGetRequestInformati requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new ediscoveryHoldPolicy object. +// ToPostRequestInformation create new navigation property to legalHolds for security // returns a *RequestInformation when successful func (m *CasesEdiscoveryCasesItemLegalHoldsRequestBuilder) ToPostRequestInformation(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryHoldPolicyable, requestConfiguration *CasesEdiscoveryCasesItemLegalHoldsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/cases_ediscovery_cases_item_microsoft_graph_security_close_request_builder.go b/security/cases_ediscovery_cases_item_microsoft_graph_security_close_request_builder.go index 5dd15ce7a0b..ec2925ce8ab 100644 --- a/security/cases_ediscovery_cases_item_microsoft_graph_security_close_request_builder.go +++ b/security/cases_ediscovery_cases_item_microsoft_graph_security_close_request_builder.go @@ -34,7 +34,7 @@ func NewCasesEdiscoveryCasesItemMicrosoftGraphSecurityCloseRequestBuilder(rawUrl // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverycase-close?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverycase-close?view=graph-rest-beta func (m *CasesEdiscoveryCasesItemMicrosoftGraphSecurityCloseRequestBuilder) Post(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemMicrosoftGraphSecurityCloseRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/security/cases_ediscovery_cases_item_microsoft_graph_security_reopen_request_builder.go b/security/cases_ediscovery_cases_item_microsoft_graph_security_reopen_request_builder.go index 8305495113a..02b51d9bbb8 100644 --- a/security/cases_ediscovery_cases_item_microsoft_graph_security_reopen_request_builder.go +++ b/security/cases_ediscovery_cases_item_microsoft_graph_security_reopen_request_builder.go @@ -34,7 +34,7 @@ func NewCasesEdiscoveryCasesItemMicrosoftGraphSecurityReopenRequestBuilder(rawUr // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverycase-reopen?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverycase-reopen?view=graph-rest-beta func (m *CasesEdiscoveryCasesItemMicrosoftGraphSecurityReopenRequestBuilder) Post(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemMicrosoftGraphSecurityReopenRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_security_apply_hold_request_builder.go b/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_security_apply_hold_request_builder.go index 6fde7026a21..90d85a572cc 100644 --- a/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_security_apply_hold_request_builder.go +++ b/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_security_apply_hold_request_builder.go @@ -34,7 +34,7 @@ func NewCasesEdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphSecurit // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverynoncustodialdatasource-applyhold?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverynoncustodialdatasource-applyhold?view=graph-rest-beta func (m *CasesEdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphSecurityApplyHoldRequestBuilder) Post(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphSecurityApplyHoldRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_security_release_request_builder.go b/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_security_release_request_builder.go index 08dffc00828..c0d809fa4de 100644 --- a/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_security_release_request_builder.go +++ b/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_security_release_request_builder.go @@ -34,7 +34,7 @@ func NewCasesEdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphSecurit // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverynoncustodialdatasource-release?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverynoncustodialdatasource-release?view=graph-rest-beta func (m *CasesEdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphSecurityReleaseRequestBuilder) Post(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphSecurityReleaseRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_security_remove_hold_request_builder.go b/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_security_remove_hold_request_builder.go index 7aa5bb5ab74..08d3d0dfcf2 100644 --- a/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_security_remove_hold_request_builder.go +++ b/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_security_remove_hold_request_builder.go @@ -34,7 +34,7 @@ func NewCasesEdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphSecurit // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverynoncustodialdatasource-removehold?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverynoncustodialdatasource-removehold?view=graph-rest-beta func (m *CasesEdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphSecurityRemoveHoldRequestBuilder) Post(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphSecurityRemoveHoldRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_security_update_index_request_builder.go b/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_security_update_index_request_builder.go index eff918d660a..b4f013bff62 100644 --- a/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_security_update_index_request_builder.go +++ b/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_security_update_index_request_builder.go @@ -34,7 +34,7 @@ func NewCasesEdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphSecurit // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverynoncustodialdatasource-updateindex?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverynoncustodialdatasource-updateindex?view=graph-rest-beta func (m *CasesEdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphSecurityUpdateIndexRequestBuilder) Post(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphSecurityUpdateIndexRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/security/cases_ediscovery_cases_item_noncustodial_data_sources_microsoft_graph_security_apply_hold_request_builder.go b/security/cases_ediscovery_cases_item_noncustodial_data_sources_microsoft_graph_security_apply_hold_request_builder.go index cf72f3f0e9a..4c1330e6696 100644 --- a/security/cases_ediscovery_cases_item_noncustodial_data_sources_microsoft_graph_security_apply_hold_request_builder.go +++ b/security/cases_ediscovery_cases_item_noncustodial_data_sources_microsoft_graph_security_apply_hold_request_builder.go @@ -34,7 +34,7 @@ func NewCasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityApp // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverynoncustodialdatasource-applyhold?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverynoncustodialdatasource-applyhold?view=graph-rest-beta func (m *CasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityApplyHoldRequestBuilder) Post(ctx context.Context, body CasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityApplyHoldApplyHoldPostRequestBodyable, requestConfiguration *CasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityApplyHoldRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/security/cases_ediscovery_cases_item_noncustodial_data_sources_microsoft_graph_security_remove_hold_request_builder.go b/security/cases_ediscovery_cases_item_noncustodial_data_sources_microsoft_graph_security_remove_hold_request_builder.go index 327efb9a1b3..eaa1f503993 100644 --- a/security/cases_ediscovery_cases_item_noncustodial_data_sources_microsoft_graph_security_remove_hold_request_builder.go +++ b/security/cases_ediscovery_cases_item_noncustodial_data_sources_microsoft_graph_security_remove_hold_request_builder.go @@ -34,7 +34,7 @@ func NewCasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityRem // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverynoncustodialdatasource-removehold?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverynoncustodialdatasource-removehold?view=graph-rest-beta func (m *CasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityRemoveHoldRequestBuilder) Post(ctx context.Context, body CasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityRemoveHoldRemoveHoldPostRequestBodyable, requestConfiguration *CasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityRemoveHoldRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/security/cases_ediscovery_cases_item_noncustodial_data_sources_request_builder.go b/security/cases_ediscovery_cases_item_noncustodial_data_sources_request_builder.go index 596cbf866cb..a1cc0027108 100644 --- a/security/cases_ediscovery_cases_item_noncustodial_data_sources_request_builder.go +++ b/security/cases_ediscovery_cases_item_noncustodial_data_sources_request_builder.go @@ -111,12 +111,9 @@ func (m *CasesEdiscoveryCasesItemNoncustodialDataSourcesRequestBuilder) Microsof func (m *CasesEdiscoveryCasesItemNoncustodialDataSourcesRequestBuilder) MicrosoftGraphSecurityUpdateIndex()(*CasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityUpdateIndexRequestBuilder) { return NewCasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityUpdateIndexRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Post create a new ediscoveryNoncustodialDataSource object. +// Post create new navigation property to noncustodialDataSources for security // returns a EdiscoveryNoncustodialDataSourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverycase-post-noncustodialdatasources?view=graph-rest-1.0 func (m *CasesEdiscoveryCasesItemNoncustodialDataSourcesRequestBuilder) Post(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryNoncustodialDataSourceable, requestConfiguration *CasesEdiscoveryCasesItemNoncustodialDataSourcesRequestBuilderPostRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryNoncustodialDataSourceable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -148,7 +145,7 @@ func (m *CasesEdiscoveryCasesItemNoncustodialDataSourcesRequestBuilder) ToGetReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new ediscoveryNoncustodialDataSource object. +// ToPostRequestInformation create new navigation property to noncustodialDataSources for security // returns a *RequestInformation when successful func (m *CasesEdiscoveryCasesItemNoncustodialDataSourcesRequestBuilder) ToPostRequestInformation(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryNoncustodialDataSourceable, requestConfiguration *CasesEdiscoveryCasesItemNoncustodialDataSourcesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/cases_ediscovery_cases_item_operations_case_operation_item_request_builder.go b/security/cases_ediscovery_cases_item_operations_case_operation_item_request_builder.go index 2701458f4fa..214f4d159b7 100644 --- a/security/cases_ediscovery_cases_item_operations_case_operation_item_request_builder.go +++ b/security/cases_ediscovery_cases_item_operations_case_operation_item_request_builder.go @@ -18,7 +18,7 @@ type CasesEdiscoveryCasesItemOperationsCaseOperationItemRequestBuilderDeleteRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// CasesEdiscoveryCasesItemOperationsCaseOperationItemRequestBuilderGetQueryParameters read the properties and relationships of a caseOperation object. +// CasesEdiscoveryCasesItemOperationsCaseOperationItemRequestBuilderGetQueryParameters returns a list of case caseOperation objects for this case. type CasesEdiscoveryCasesItemOperationsCaseOperationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *CasesEdiscoveryCasesItemOperationsCaseOperationItemRequestBuilder) Dele } return nil } -// Get read the properties and relationships of a caseOperation object. +// Get returns a list of case caseOperation objects for this case. // returns a CaseOperationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-caseoperation-get?view=graph-rest-1.0 func (m *CasesEdiscoveryCasesItemOperationsCaseOperationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemOperationsCaseOperationItemRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.CaseOperationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *CasesEdiscoveryCasesItemOperationsCaseOperationItemRequestBuilder) ToDe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a caseOperation object. +// ToGetRequestInformation returns a list of case caseOperation objects for this case. // returns a *RequestInformation when successful func (m *CasesEdiscoveryCasesItemOperationsCaseOperationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemOperationsCaseOperationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/cases_ediscovery_cases_item_operations_request_builder.go b/security/cases_ediscovery_cases_item_operations_request_builder.go index 00c0e42ccca..bca4934e392 100644 --- a/security/cases_ediscovery_cases_item_operations_request_builder.go +++ b/security/cases_ediscovery_cases_item_operations_request_builder.go @@ -11,7 +11,7 @@ import ( type CasesEdiscoveryCasesItemOperationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// CasesEdiscoveryCasesItemOperationsRequestBuilderGetQueryParameters get a list of the caseOperation objects and their properties. +// CasesEdiscoveryCasesItemOperationsRequestBuilderGetQueryParameters returns a list of case caseOperation objects for this case. type CasesEdiscoveryCasesItemOperationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewCasesEdiscoveryCasesItemOperationsRequestBuilder(rawUrl string, requestA func (m *CasesEdiscoveryCasesItemOperationsRequestBuilder) Count()(*CasesEdiscoveryCasesItemOperationsCountRequestBuilder) { return NewCasesEdiscoveryCasesItemOperationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the caseOperation objects and their properties. +// Get returns a list of case caseOperation objects for this case. // returns a CaseOperationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverycase-list-operations?view=graph-rest-1.0 func (m *CasesEdiscoveryCasesItemOperationsRequestBuilder) Get(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemOperationsRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.CaseOperationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *CasesEdiscoveryCasesItemOperationsRequestBuilder) Post(ctx context.Cont } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.CaseOperationable), nil } -// ToGetRequestInformation get a list of the caseOperation objects and their properties. +// ToGetRequestInformation returns a list of case caseOperation objects for this case. // returns a *RequestInformation when successful func (m *CasesEdiscoveryCasesItemOperationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemOperationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/cases_ediscovery_cases_item_review_sets_ediscovery_review_set_item_request_builder.go b/security/cases_ediscovery_cases_item_review_sets_ediscovery_review_set_item_request_builder.go index 8358f8da905..6d1fe2880d3 100644 --- a/security/cases_ediscovery_cases_item_review_sets_ediscovery_review_set_item_request_builder.go +++ b/security/cases_ediscovery_cases_item_review_sets_ediscovery_review_set_item_request_builder.go @@ -18,7 +18,7 @@ type CasesEdiscoveryCasesItemReviewSetsEdiscoveryReviewSetItemRequestBuilderDele // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// CasesEdiscoveryCasesItemReviewSetsEdiscoveryReviewSetItemRequestBuilderGetQueryParameters read the properties and relationships of an ediscoveryReviewSet object. +// CasesEdiscoveryCasesItemReviewSetsEdiscoveryReviewSetItemRequestBuilderGetQueryParameters returns a list of eDiscoveryReviewSet objects in the case. type CasesEdiscoveryCasesItemReviewSetsEdiscoveryReviewSetItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *CasesEdiscoveryCasesItemReviewSetsEdiscoveryReviewSetItemRequestBuilder func (m *CasesEdiscoveryCasesItemReviewSetsEdiscoveryReviewSetItemRequestBuilder) Files()(*CasesEdiscoveryCasesItemReviewSetsItemFilesRequestBuilder) { return NewCasesEdiscoveryCasesItemReviewSetsItemFilesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of an ediscoveryReviewSet object. +// Get returns a list of eDiscoveryReviewSet objects in the case. // returns a EdiscoveryReviewSetable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoveryreviewset-get?view=graph-rest-1.0 func (m *CasesEdiscoveryCasesItemReviewSetsEdiscoveryReviewSetItemRequestBuilder) Get(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemReviewSetsEdiscoveryReviewSetItemRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryReviewSetable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -144,7 +141,7 @@ func (m *CasesEdiscoveryCasesItemReviewSetsEdiscoveryReviewSetItemRequestBuilder requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an ediscoveryReviewSet object. +// ToGetRequestInformation returns a list of eDiscoveryReviewSet objects in the case. // returns a *RequestInformation when successful func (m *CasesEdiscoveryCasesItemReviewSetsEdiscoveryReviewSetItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemReviewSetsEdiscoveryReviewSetItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/cases_ediscovery_cases_item_review_sets_item_files_ediscovery_file_item_request_builder.go b/security/cases_ediscovery_cases_item_review_sets_item_files_ediscovery_file_item_request_builder.go index 08c774e9672..b62ed789755 100644 --- a/security/cases_ediscovery_cases_item_review_sets_item_files_ediscovery_file_item_request_builder.go +++ b/security/cases_ediscovery_cases_item_review_sets_item_files_ediscovery_file_item_request_builder.go @@ -18,7 +18,7 @@ type CasesEdiscoveryCasesItemReviewSetsItemFilesEdiscoveryFileItemRequestBuilder // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// CasesEdiscoveryCasesItemReviewSetsItemFilesEdiscoveryFileItemRequestBuilderGetQueryParameters read the properties and relationships of an ediscoveryFile object. +// CasesEdiscoveryCasesItemReviewSetsItemFilesEdiscoveryFileItemRequestBuilderGetQueryParameters represents files within the review set. type CasesEdiscoveryCasesItemReviewSetsItemFilesEdiscoveryFileItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -85,12 +85,9 @@ func (m *CasesEdiscoveryCasesItemReviewSetsItemFilesEdiscoveryFileItemRequestBui func (m *CasesEdiscoveryCasesItemReviewSetsItemFilesEdiscoveryFileItemRequestBuilder) ExtractedTextContent()(*CasesEdiscoveryCasesItemReviewSetsItemFilesItemExtractedTextContentRequestBuilder) { return NewCasesEdiscoveryCasesItemReviewSetsItemFilesItemExtractedTextContentRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of an ediscoveryFile object. +// Get represents files within the review set. // returns a EdiscoveryFileable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoveryfile-get?view=graph-rest-1.0 func (m *CasesEdiscoveryCasesItemReviewSetsItemFilesEdiscoveryFileItemRequestBuilder) Get(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemReviewSetsItemFilesEdiscoveryFileItemRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryFileable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -144,7 +141,7 @@ func (m *CasesEdiscoveryCasesItemReviewSetsItemFilesEdiscoveryFileItemRequestBui requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an ediscoveryFile object. +// ToGetRequestInformation represents files within the review set. // returns a *RequestInformation when successful func (m *CasesEdiscoveryCasesItemReviewSetsItemFilesEdiscoveryFileItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemReviewSetsItemFilesEdiscoveryFileItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/cases_ediscovery_cases_item_review_sets_item_files_item_content_request_builder.go b/security/cases_ediscovery_cases_item_review_sets_item_files_item_content_request_builder.go index c4af37df6b1..c415f164751 100644 --- a/security/cases_ediscovery_cases_item_review_sets_item_files_item_content_request_builder.go +++ b/security/cases_ediscovery_cases_item_review_sets_item_files_item_content_request_builder.go @@ -41,9 +41,6 @@ func NewCasesEdiscoveryCasesItemReviewSetsItemFilesItemContentRequestBuilder(raw // Get get content for the navigation property files from security // 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/security-ediscoveryreviewset-list-files?view=graph-rest-1.0 func (m *CasesEdiscoveryCasesItemReviewSetsItemFilesItemContentRequestBuilder) Get(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemReviewSetsItemFilesItemContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/security/cases_ediscovery_cases_item_review_sets_item_files_item_extracted_text_content_request_builder.go b/security/cases_ediscovery_cases_item_review_sets_item_files_item_extracted_text_content_request_builder.go index dd3f88daade..5169967fa78 100644 --- a/security/cases_ediscovery_cases_item_review_sets_item_files_item_extracted_text_content_request_builder.go +++ b/security/cases_ediscovery_cases_item_review_sets_item_files_item_extracted_text_content_request_builder.go @@ -40,9 +40,6 @@ func NewCasesEdiscoveryCasesItemReviewSetsItemFilesItemExtractedTextContentReque // Get get extractedTextContent for the navigation property files from security // 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/security-ediscoveryreviewset-list-files?view=graph-rest-1.0 func (m *CasesEdiscoveryCasesItemReviewSetsItemFilesItemExtractedTextContentRequestBuilder) Get(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemReviewSetsItemFilesItemExtractedTextContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/security/cases_ediscovery_cases_item_review_sets_item_files_request_builder.go b/security/cases_ediscovery_cases_item_review_sets_item_files_request_builder.go index b174f713a34..8de2a9c524a 100644 --- a/security/cases_ediscovery_cases_item_review_sets_item_files_request_builder.go +++ b/security/cases_ediscovery_cases_item_review_sets_item_files_request_builder.go @@ -11,7 +11,7 @@ import ( type CasesEdiscoveryCasesItemReviewSetsItemFilesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// CasesEdiscoveryCasesItemReviewSetsItemFilesRequestBuilderGetQueryParameters get a list of the ediscoveryFile objects and their properties. +// CasesEdiscoveryCasesItemReviewSetsItemFilesRequestBuilderGetQueryParameters represents files within the review set. type CasesEdiscoveryCasesItemReviewSetsItemFilesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewCasesEdiscoveryCasesItemReviewSetsItemFilesRequestBuilder(rawUrl string, func (m *CasesEdiscoveryCasesItemReviewSetsItemFilesRequestBuilder) Count()(*CasesEdiscoveryCasesItemReviewSetsItemFilesCountRequestBuilder) { return NewCasesEdiscoveryCasesItemReviewSetsItemFilesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the ediscoveryFile objects and their properties. +// Get represents files within the review set. // returns a EdiscoveryFileCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoveryreviewset-list-files?view=graph-rest-1.0 func (m *CasesEdiscoveryCasesItemReviewSetsItemFilesRequestBuilder) Get(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemReviewSetsItemFilesRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryFileCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *CasesEdiscoveryCasesItemReviewSetsItemFilesRequestBuilder) Post(ctx con } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryFileable), nil } -// ToGetRequestInformation get a list of the ediscoveryFile objects and their properties. +// ToGetRequestInformation represents files within the review set. // returns a *RequestInformation when successful func (m *CasesEdiscoveryCasesItemReviewSetsItemFilesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemReviewSetsItemFilesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/cases_ediscovery_cases_item_review_sets_item_microsoft_graph_security_add_to_review_set_request_builder.go b/security/cases_ediscovery_cases_item_review_sets_item_microsoft_graph_security_add_to_review_set_request_builder.go index b06f520f49d..862f3ae600a 100644 --- a/security/cases_ediscovery_cases_item_review_sets_item_microsoft_graph_security_add_to_review_set_request_builder.go +++ b/security/cases_ediscovery_cases_item_review_sets_item_microsoft_graph_security_add_to_review_set_request_builder.go @@ -34,7 +34,7 @@ func NewCasesEdiscoveryCasesItemReviewSetsItemMicrosoftGraphSecurityAddToReviewS // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoveryreviewset-addtoreviewset?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoveryreviewset-addtoreviewset?view=graph-rest-beta func (m *CasesEdiscoveryCasesItemReviewSetsItemMicrosoftGraphSecurityAddToReviewSetRequestBuilder) Post(ctx context.Context, body CasesEdiscoveryCasesItemReviewSetsItemMicrosoftGraphSecurityAddToReviewSetAddToReviewSetPostRequestBodyable, requestConfiguration *CasesEdiscoveryCasesItemReviewSetsItemMicrosoftGraphSecurityAddToReviewSetRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/security/cases_ediscovery_cases_item_review_sets_item_microsoft_graph_security_export_request_builder.go b/security/cases_ediscovery_cases_item_review_sets_item_microsoft_graph_security_export_request_builder.go index b41dd34b7be..ab32612c249 100644 --- a/security/cases_ediscovery_cases_item_review_sets_item_microsoft_graph_security_export_request_builder.go +++ b/security/cases_ediscovery_cases_item_review_sets_item_microsoft_graph_security_export_request_builder.go @@ -34,7 +34,7 @@ func NewCasesEdiscoveryCasesItemReviewSetsItemMicrosoftGraphSecurityExportReques // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoveryreviewset-export?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoveryreviewset-export?view=graph-rest-beta func (m *CasesEdiscoveryCasesItemReviewSetsItemMicrosoftGraphSecurityExportRequestBuilder) Post(ctx context.Context, body CasesEdiscoveryCasesItemReviewSetsItemMicrosoftGraphSecurityExportExportPostRequestBodyable, requestConfiguration *CasesEdiscoveryCasesItemReviewSetsItemMicrosoftGraphSecurityExportRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/security/cases_ediscovery_cases_item_review_sets_item_queries_ediscovery_review_set_query_item_request_builder.go b/security/cases_ediscovery_cases_item_review_sets_item_queries_ediscovery_review_set_query_item_request_builder.go index dfe581a7108..53bd192a7c4 100644 --- a/security/cases_ediscovery_cases_item_review_sets_item_queries_ediscovery_review_set_query_item_request_builder.go +++ b/security/cases_ediscovery_cases_item_review_sets_item_queries_ediscovery_review_set_query_item_request_builder.go @@ -18,7 +18,7 @@ type CasesEdiscoveryCasesItemReviewSetsItemQueriesEdiscoveryReviewSetQueryItemRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// CasesEdiscoveryCasesItemReviewSetsItemQueriesEdiscoveryReviewSetQueryItemRequestBuilderGetQueryParameters read the properties and relationships of an ediscoveryReviewSetQuery object. +// CasesEdiscoveryCasesItemReviewSetsItemQueriesEdiscoveryReviewSetQueryItemRequestBuilderGetQueryParameters represents queries within the review set. type CasesEdiscoveryCasesItemReviewSetsItemQueriesEdiscoveryReviewSetQueryItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewCasesEdiscoveryCasesItemReviewSetsItemQueriesEdiscoveryReviewSetQueryIte urlParams["request-raw-url"] = rawUrl return NewCasesEdiscoveryCasesItemReviewSetsItemQueriesEdiscoveryReviewSetQueryItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an ediscoveryReviewSetQuery object. +// Delete delete navigation property queries for security // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoveryreviewset-delete-queries?view=graph-rest-1.0 func (m *CasesEdiscoveryCasesItemReviewSetsItemQueriesEdiscoveryReviewSetQueryItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemReviewSetsItemQueriesEdiscoveryReviewSetQueryItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *CasesEdiscoveryCasesItemReviewSetsItemQueriesEdiscoveryReviewSetQueryIt } return nil } -// Get read the properties and relationships of an ediscoveryReviewSetQuery object. +// Get represents queries within the review set. // returns a EdiscoveryReviewSetQueryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoveryreviewsetquery-get?view=graph-rest-1.0 func (m *CasesEdiscoveryCasesItemReviewSetsItemQueriesEdiscoveryReviewSetQueryItemRequestBuilder) Get(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemReviewSetsItemQueriesEdiscoveryReviewSetQueryItemRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryReviewSetQueryable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -111,12 +105,9 @@ func (m *CasesEdiscoveryCasesItemReviewSetsItemQueriesEdiscoveryReviewSetQueryIt func (m *CasesEdiscoveryCasesItemReviewSetsItemQueriesEdiscoveryReviewSetQueryItemRequestBuilder) MicrosoftGraphSecurityRun()(*CasesEdiscoveryCasesItemReviewSetsItemQueriesItemMicrosoftGraphSecurityRunRequestBuilder) { return NewCasesEdiscoveryCasesItemReviewSetsItemQueriesItemMicrosoftGraphSecurityRunRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of an ediscoveryReviewSetQuery object. +// Patch update the navigation property queries in security // returns a EdiscoveryReviewSetQueryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoveryreviewsetquery-update?view=graph-rest-1.0 func (m *CasesEdiscoveryCasesItemReviewSetsItemQueriesEdiscoveryReviewSetQueryItemRequestBuilder) Patch(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryReviewSetQueryable, requestConfiguration *CasesEdiscoveryCasesItemReviewSetsItemQueriesEdiscoveryReviewSetQueryItemRequestBuilderPatchRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryReviewSetQueryable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -134,7 +125,7 @@ func (m *CasesEdiscoveryCasesItemReviewSetsItemQueriesEdiscoveryReviewSetQueryIt } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryReviewSetQueryable), nil } -// ToDeleteRequestInformation delete an ediscoveryReviewSetQuery object. +// ToDeleteRequestInformation delete navigation property queries for security // returns a *RequestInformation when successful func (m *CasesEdiscoveryCasesItemReviewSetsItemQueriesEdiscoveryReviewSetQueryItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemReviewSetsItemQueriesEdiscoveryReviewSetQueryItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -145,7 +136,7 @@ func (m *CasesEdiscoveryCasesItemReviewSetsItemQueriesEdiscoveryReviewSetQueryIt requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an ediscoveryReviewSetQuery object. +// ToGetRequestInformation represents queries within the review set. // returns a *RequestInformation when successful func (m *CasesEdiscoveryCasesItemReviewSetsItemQueriesEdiscoveryReviewSetQueryItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemReviewSetsItemQueriesEdiscoveryReviewSetQueryItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -159,7 +150,7 @@ func (m *CasesEdiscoveryCasesItemReviewSetsItemQueriesEdiscoveryReviewSetQueryIt requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an ediscoveryReviewSetQuery object. +// ToPatchRequestInformation update the navigation property queries in security // returns a *RequestInformation when successful func (m *CasesEdiscoveryCasesItemReviewSetsItemQueriesEdiscoveryReviewSetQueryItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryReviewSetQueryable, requestConfiguration *CasesEdiscoveryCasesItemReviewSetsItemQueriesEdiscoveryReviewSetQueryItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/cases_ediscovery_cases_item_review_sets_item_queries_item_microsoft_graph_security_apply_tags_request_builder.go b/security/cases_ediscovery_cases_item_review_sets_item_queries_item_microsoft_graph_security_apply_tags_request_builder.go index f2150af4eea..52f3c200634 100644 --- a/security/cases_ediscovery_cases_item_review_sets_item_queries_item_microsoft_graph_security_apply_tags_request_builder.go +++ b/security/cases_ediscovery_cases_item_review_sets_item_queries_item_microsoft_graph_security_apply_tags_request_builder.go @@ -34,7 +34,7 @@ func NewCasesEdiscoveryCasesItemReviewSetsItemQueriesItemMicrosoftGraphSecurityA // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoveryreviewsetquery-applytags?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoveryreviewsetquery-applytags?view=graph-rest-beta func (m *CasesEdiscoveryCasesItemReviewSetsItemQueriesItemMicrosoftGraphSecurityApplyTagsRequestBuilder) Post(ctx context.Context, body CasesEdiscoveryCasesItemReviewSetsItemQueriesItemMicrosoftGraphSecurityApplyTagsApplyTagsPostRequestBodyable, requestConfiguration *CasesEdiscoveryCasesItemReviewSetsItemQueriesItemMicrosoftGraphSecurityApplyTagsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/security/cases_ediscovery_cases_item_review_sets_item_queries_item_microsoft_graph_security_export_request_builder.go b/security/cases_ediscovery_cases_item_review_sets_item_queries_item_microsoft_graph_security_export_request_builder.go index 1ae7738c082..f0cfcc212e6 100644 --- a/security/cases_ediscovery_cases_item_review_sets_item_queries_item_microsoft_graph_security_export_request_builder.go +++ b/security/cases_ediscovery_cases_item_review_sets_item_queries_item_microsoft_graph_security_export_request_builder.go @@ -34,7 +34,7 @@ func NewCasesEdiscoveryCasesItemReviewSetsItemQueriesItemMicrosoftGraphSecurityE // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoveryreviewsetquery-export?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoveryreviewsetquery-export?view=graph-rest-beta func (m *CasesEdiscoveryCasesItemReviewSetsItemQueriesItemMicrosoftGraphSecurityExportRequestBuilder) Post(ctx context.Context, body CasesEdiscoveryCasesItemReviewSetsItemQueriesItemMicrosoftGraphSecurityExportExportPostRequestBodyable, requestConfiguration *CasesEdiscoveryCasesItemReviewSetsItemQueriesItemMicrosoftGraphSecurityExportRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/security/cases_ediscovery_cases_item_review_sets_item_queries_item_microsoft_graph_security_run_request_builder.go b/security/cases_ediscovery_cases_item_review_sets_item_queries_item_microsoft_graph_security_run_request_builder.go index 4f6001e5f9b..4dc8a401636 100644 --- a/security/cases_ediscovery_cases_item_review_sets_item_queries_item_microsoft_graph_security_run_request_builder.go +++ b/security/cases_ediscovery_cases_item_review_sets_item_queries_item_microsoft_graph_security_run_request_builder.go @@ -10,7 +10,7 @@ import ( type CasesEdiscoveryCasesItemReviewSetsItemQueriesItemMicrosoftGraphSecurityRunRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// CasesEdiscoveryCasesItemReviewSetsItemQueriesItemMicrosoftGraphSecurityRunRequestBuilderGetQueryParameters invoke function run +// CasesEdiscoveryCasesItemReviewSetsItemQueriesItemMicrosoftGraphSecurityRunRequestBuilderGetQueryParameters run reviewset query to get the list of files. type CasesEdiscoveryCasesItemReviewSetsItemQueriesItemMicrosoftGraphSecurityRunRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewCasesEdiscoveryCasesItemReviewSetsItemQueriesItemMicrosoftGraphSecurityR urlParams["request-raw-url"] = rawUrl return NewCasesEdiscoveryCasesItemReviewSetsItemQueriesItemMicrosoftGraphSecurityRunRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function run +// Get run reviewset query to get the list of files. // Deprecated: This method is obsolete. Use GetAsRunGetResponse instead. // returns a CasesEdiscoveryCasesItemReviewSetsItemQueriesItemMicrosoftGraphSecurityRunRunResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoveryreviewsetquery-run?view=graph-rest-beta func (m *CasesEdiscoveryCasesItemReviewSetsItemQueriesItemMicrosoftGraphSecurityRunRequestBuilder) Get(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemReviewSetsItemQueriesItemMicrosoftGraphSecurityRunRequestBuilderGetRequestConfiguration)(CasesEdiscoveryCasesItemReviewSetsItemQueriesItemMicrosoftGraphSecurityRunRunResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *CasesEdiscoveryCasesItemReviewSetsItemQueriesItemMicrosoftGraphSecurity } return res.(CasesEdiscoveryCasesItemReviewSetsItemQueriesItemMicrosoftGraphSecurityRunRunResponseable), nil } -// GetAsRunGetResponse invoke function run +// GetAsRunGetResponse run reviewset query to get the list of files. // returns a CasesEdiscoveryCasesItemReviewSetsItemQueriesItemMicrosoftGraphSecurityRunRunGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoveryreviewsetquery-run?view=graph-rest-beta func (m *CasesEdiscoveryCasesItemReviewSetsItemQueriesItemMicrosoftGraphSecurityRunRequestBuilder) GetAsRunGetResponse(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemReviewSetsItemQueriesItemMicrosoftGraphSecurityRunRequestBuilderGetRequestConfiguration)(CasesEdiscoveryCasesItemReviewSetsItemQueriesItemMicrosoftGraphSecurityRunRunGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *CasesEdiscoveryCasesItemReviewSetsItemQueriesItemMicrosoftGraphSecurity } return res.(CasesEdiscoveryCasesItemReviewSetsItemQueriesItemMicrosoftGraphSecurityRunRunGetResponseable), nil } -// ToGetRequestInformation invoke function run +// ToGetRequestInformation run reviewset query to get the list of files. // returns a *RequestInformation when successful func (m *CasesEdiscoveryCasesItemReviewSetsItemQueriesItemMicrosoftGraphSecurityRunRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemReviewSetsItemQueriesItemMicrosoftGraphSecurityRunRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/cases_ediscovery_cases_item_review_sets_item_queries_request_builder.go b/security/cases_ediscovery_cases_item_review_sets_item_queries_request_builder.go index a5576efce53..90b2f254f0b 100644 --- a/security/cases_ediscovery_cases_item_review_sets_item_queries_request_builder.go +++ b/security/cases_ediscovery_cases_item_review_sets_item_queries_request_builder.go @@ -11,7 +11,7 @@ import ( type CasesEdiscoveryCasesItemReviewSetsItemQueriesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// CasesEdiscoveryCasesItemReviewSetsItemQueriesRequestBuilderGetQueryParameters get the list of queries associated with an eDiscovery review set. +// CasesEdiscoveryCasesItemReviewSetsItemQueriesRequestBuilderGetQueryParameters represents queries within the review set. type CasesEdiscoveryCasesItemReviewSetsItemQueriesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewCasesEdiscoveryCasesItemReviewSetsItemQueriesRequestBuilder(rawUrl strin func (m *CasesEdiscoveryCasesItemReviewSetsItemQueriesRequestBuilder) Count()(*CasesEdiscoveryCasesItemReviewSetsItemQueriesCountRequestBuilder) { return NewCasesEdiscoveryCasesItemReviewSetsItemQueriesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of queries associated with an eDiscovery review set. +// Get represents queries within the review set. // returns a EdiscoveryReviewSetQueryCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoveryreviewset-list-queries?view=graph-rest-1.0 func (m *CasesEdiscoveryCasesItemReviewSetsItemQueriesRequestBuilder) Get(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemReviewSetsItemQueriesRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryReviewSetQueryCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *CasesEdiscoveryCasesItemReviewSetsItemQueriesRequestBuilder) Get(ctx co } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryReviewSetQueryCollectionResponseable), nil } -// Post create a new ediscoveryReviewSetQuery object. +// Post create new navigation property to queries for security // returns a EdiscoveryReviewSetQueryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoveryreviewset-post-queries?view=graph-rest-1.0 func (m *CasesEdiscoveryCasesItemReviewSetsItemQueriesRequestBuilder) Post(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryReviewSetQueryable, requestConfiguration *CasesEdiscoveryCasesItemReviewSetsItemQueriesRequestBuilderPostRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryReviewSetQueryable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *CasesEdiscoveryCasesItemReviewSetsItemQueriesRequestBuilder) Post(ctx c } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryReviewSetQueryable), nil } -// ToGetRequestInformation get the list of queries associated with an eDiscovery review set. +// ToGetRequestInformation represents queries within the review set. // returns a *RequestInformation when successful func (m *CasesEdiscoveryCasesItemReviewSetsItemQueriesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemReviewSetsItemQueriesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *CasesEdiscoveryCasesItemReviewSetsItemQueriesRequestBuilder) ToGetReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new ediscoveryReviewSetQuery object. +// ToPostRequestInformation create new navigation property to queries for security // returns a *RequestInformation when successful func (m *CasesEdiscoveryCasesItemReviewSetsItemQueriesRequestBuilder) ToPostRequestInformation(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryReviewSetQueryable, requestConfiguration *CasesEdiscoveryCasesItemReviewSetsItemQueriesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/cases_ediscovery_cases_item_review_sets_request_builder.go b/security/cases_ediscovery_cases_item_review_sets_request_builder.go index d9edd09cfe4..f91caf0617e 100644 --- a/security/cases_ediscovery_cases_item_review_sets_request_builder.go +++ b/security/cases_ediscovery_cases_item_review_sets_request_builder.go @@ -11,7 +11,7 @@ import ( type CasesEdiscoveryCasesItemReviewSetsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// CasesEdiscoveryCasesItemReviewSetsRequestBuilderGetQueryParameters get a list of ediscoveryReviewSet objects associated with an eDiscovery case. +// CasesEdiscoveryCasesItemReviewSetsRequestBuilderGetQueryParameters returns a list of eDiscoveryReviewSet objects in the case. type CasesEdiscoveryCasesItemReviewSetsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewCasesEdiscoveryCasesItemReviewSetsRequestBuilder(rawUrl string, requestA func (m *CasesEdiscoveryCasesItemReviewSetsRequestBuilder) Count()(*CasesEdiscoveryCasesItemReviewSetsCountRequestBuilder) { return NewCasesEdiscoveryCasesItemReviewSetsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of ediscoveryReviewSet objects associated with an eDiscovery case. +// Get returns a list of eDiscoveryReviewSet objects in the case. // returns a EdiscoveryReviewSetCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverycase-list-reviewsets?view=graph-rest-1.0 func (m *CasesEdiscoveryCasesItemReviewSetsRequestBuilder) Get(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemReviewSetsRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryReviewSetCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *CasesEdiscoveryCasesItemReviewSetsRequestBuilder) Get(ctx context.Conte } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryReviewSetCollectionResponseable), nil } -// Post create a new ediscoveryReviewSet object. +// Post create new navigation property to reviewSets for security // returns a EdiscoveryReviewSetable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverycase-post-reviewsets?view=graph-rest-1.0 func (m *CasesEdiscoveryCasesItemReviewSetsRequestBuilder) Post(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryReviewSetable, requestConfiguration *CasesEdiscoveryCasesItemReviewSetsRequestBuilderPostRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryReviewSetable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *CasesEdiscoveryCasesItemReviewSetsRequestBuilder) Post(ctx context.Cont } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryReviewSetable), nil } -// ToGetRequestInformation get a list of ediscoveryReviewSet objects associated with an eDiscovery case. +// ToGetRequestInformation returns a list of eDiscoveryReviewSet objects in the case. // returns a *RequestInformation when successful func (m *CasesEdiscoveryCasesItemReviewSetsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemReviewSetsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *CasesEdiscoveryCasesItemReviewSetsRequestBuilder) ToGetRequestInformati requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new ediscoveryReviewSet object. +// ToPostRequestInformation create new navigation property to reviewSets for security // returns a *RequestInformation when successful func (m *CasesEdiscoveryCasesItemReviewSetsRequestBuilder) ToPostRequestInformation(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryReviewSetable, requestConfiguration *CasesEdiscoveryCasesItemReviewSetsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/cases_ediscovery_cases_item_searches_ediscovery_search_item_request_builder.go b/security/cases_ediscovery_cases_item_searches_ediscovery_search_item_request_builder.go index 495d0357538..a83af0f35ac 100644 --- a/security/cases_ediscovery_cases_item_searches_ediscovery_search_item_request_builder.go +++ b/security/cases_ediscovery_cases_item_searches_ediscovery_search_item_request_builder.go @@ -18,7 +18,7 @@ type CasesEdiscoveryCasesItemSearchesEdiscoverySearchItemRequestBuilderDeleteReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// CasesEdiscoveryCasesItemSearchesEdiscoverySearchItemRequestBuilderGetQueryParameters read the properties and relationships of an ediscoverySearch object. +// CasesEdiscoveryCasesItemSearchesEdiscoverySearchItemRequestBuilderGetQueryParameters returns a list of eDiscoverySearch objects associated with this case. type CasesEdiscoveryCasesItemSearchesEdiscoverySearchItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -69,11 +69,8 @@ func NewCasesEdiscoveryCasesItemSearchesEdiscoverySearchItemRequestBuilder(rawUr func (m *CasesEdiscoveryCasesItemSearchesEdiscoverySearchItemRequestBuilder) CustodianSources()(*CasesEdiscoveryCasesItemSearchesItemCustodianSourcesRequestBuilder) { return NewCasesEdiscoveryCasesItemSearchesItemCustodianSourcesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Delete delete an ediscoverySearch object. +// Delete delete navigation property searches for security // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverycase-delete-searches?view=graph-rest-1.0 func (m *CasesEdiscoveryCasesItemSearchesEdiscoverySearchItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemSearchesEdiscoverySearchItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -88,12 +85,9 @@ func (m *CasesEdiscoveryCasesItemSearchesEdiscoverySearchItemRequestBuilder) Del } return nil } -// Get read the properties and relationships of an ediscoverySearch object. +// Get returns a list of eDiscoverySearch objects associated with this case. // returns a EdiscoverySearchable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverysearch-get?view=graph-rest-1.0 func (m *CasesEdiscoveryCasesItemSearchesEdiscoverySearchItemRequestBuilder) Get(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemSearchesEdiscoverySearchItemRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoverySearchable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -141,12 +135,9 @@ func (m *CasesEdiscoveryCasesItemSearchesEdiscoverySearchItemRequestBuilder) Mic func (m *CasesEdiscoveryCasesItemSearchesEdiscoverySearchItemRequestBuilder) NoncustodialSources()(*CasesEdiscoveryCasesItemSearchesItemNoncustodialSourcesRequestBuilder) { return NewCasesEdiscoveryCasesItemSearchesItemNoncustodialSourcesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of an ediscoverySearch object. +// Patch update the navigation property searches in security // returns a EdiscoverySearchable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverysearch-update?view=graph-rest-1.0 func (m *CasesEdiscoveryCasesItemSearchesEdiscoverySearchItemRequestBuilder) Patch(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoverySearchable, requestConfiguration *CasesEdiscoveryCasesItemSearchesEdiscoverySearchItemRequestBuilderPatchRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoverySearchable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -164,7 +155,7 @@ func (m *CasesEdiscoveryCasesItemSearchesEdiscoverySearchItemRequestBuilder) Pat } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoverySearchable), nil } -// ToDeleteRequestInformation delete an ediscoverySearch object. +// ToDeleteRequestInformation delete navigation property searches for security // returns a *RequestInformation when successful func (m *CasesEdiscoveryCasesItemSearchesEdiscoverySearchItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemSearchesEdiscoverySearchItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -175,7 +166,7 @@ func (m *CasesEdiscoveryCasesItemSearchesEdiscoverySearchItemRequestBuilder) ToD requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an ediscoverySearch object. +// ToGetRequestInformation returns a list of eDiscoverySearch objects associated with this case. // returns a *RequestInformation when successful func (m *CasesEdiscoveryCasesItemSearchesEdiscoverySearchItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemSearchesEdiscoverySearchItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -189,7 +180,7 @@ func (m *CasesEdiscoveryCasesItemSearchesEdiscoverySearchItemRequestBuilder) ToG requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an ediscoverySearch object. +// ToPatchRequestInformation update the navigation property searches in security // returns a *RequestInformation when successful func (m *CasesEdiscoveryCasesItemSearchesEdiscoverySearchItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoverySearchable, requestConfiguration *CasesEdiscoveryCasesItemSearchesEdiscoverySearchItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/cases_ediscovery_cases_item_searches_item_additional_sources_request_builder.go b/security/cases_ediscovery_cases_item_searches_item_additional_sources_request_builder.go index 10a1f0e98ce..9069bcdb12e 100644 --- a/security/cases_ediscovery_cases_item_searches_item_additional_sources_request_builder.go +++ b/security/cases_ediscovery_cases_item_searches_item_additional_sources_request_builder.go @@ -11,7 +11,7 @@ import ( type CasesEdiscoveryCasesItemSearchesItemAdditionalSourcesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// CasesEdiscoveryCasesItemSearchesItemAdditionalSourcesRequestBuilderGetQueryParameters get the list of additional sources associated with an eDiscovery search. +// CasesEdiscoveryCasesItemSearchesItemAdditionalSourcesRequestBuilderGetQueryParameters adds an additional source to the eDiscovery search. type CasesEdiscoveryCasesItemSearchesItemAdditionalSourcesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewCasesEdiscoveryCasesItemSearchesItemAdditionalSourcesRequestBuilder(rawU func (m *CasesEdiscoveryCasesItemSearchesItemAdditionalSourcesRequestBuilder) Count()(*CasesEdiscoveryCasesItemSearchesItemAdditionalSourcesCountRequestBuilder) { return NewCasesEdiscoveryCasesItemSearchesItemAdditionalSourcesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of additional sources associated with an eDiscovery search. +// Get adds an additional source to the eDiscovery search. // returns a DataSourceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverysearch-list-additionalsources?view=graph-rest-1.0 func (m *CasesEdiscoveryCasesItemSearchesItemAdditionalSourcesRequestBuilder) Get(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemSearchesItemAdditionalSourcesRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.DataSourceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *CasesEdiscoveryCasesItemSearchesItemAdditionalSourcesRequestBuilder) Ge } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.DataSourceCollectionResponseable), nil } -// Post create a new additional source associated with an eDiscovery search. +// Post create new navigation property to additionalSources for security // returns a DataSourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverysearch-post-additionalsources?view=graph-rest-1.0 func (m *CasesEdiscoveryCasesItemSearchesItemAdditionalSourcesRequestBuilder) Post(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.DataSourceable, requestConfiguration *CasesEdiscoveryCasesItemSearchesItemAdditionalSourcesRequestBuilderPostRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.DataSourceable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *CasesEdiscoveryCasesItemSearchesItemAdditionalSourcesRequestBuilder) Po } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.DataSourceable), nil } -// ToGetRequestInformation get the list of additional sources associated with an eDiscovery search. +// ToGetRequestInformation adds an additional source to the eDiscovery search. // returns a *RequestInformation when successful func (m *CasesEdiscoveryCasesItemSearchesItemAdditionalSourcesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemSearchesItemAdditionalSourcesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *CasesEdiscoveryCasesItemSearchesItemAdditionalSourcesRequestBuilder) To requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new additional source associated with an eDiscovery search. +// ToPostRequestInformation create new navigation property to additionalSources for security // returns a *RequestInformation when successful func (m *CasesEdiscoveryCasesItemSearchesItemAdditionalSourcesRequestBuilder) ToPostRequestInformation(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.DataSourceable, requestConfiguration *CasesEdiscoveryCasesItemSearchesItemAdditionalSourcesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/cases_ediscovery_cases_item_searches_item_custodian_sources_request_builder.go b/security/cases_ediscovery_cases_item_searches_item_custodian_sources_request_builder.go index 549707873af..6587d1d293e 100644 --- a/security/cases_ediscovery_cases_item_searches_item_custodian_sources_request_builder.go +++ b/security/cases_ediscovery_cases_item_searches_item_custodian_sources_request_builder.go @@ -11,7 +11,7 @@ import ( type CasesEdiscoveryCasesItemSearchesItemCustodianSourcesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// CasesEdiscoveryCasesItemSearchesItemCustodianSourcesRequestBuilderGetQueryParameters get the list of custodial data sources associated with an eDiscovery search. +// CasesEdiscoveryCasesItemSearchesItemCustodianSourcesRequestBuilderGetQueryParameters custodian sources that are included in the eDiscovery search. type CasesEdiscoveryCasesItemSearchesItemCustodianSourcesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewCasesEdiscoveryCasesItemSearchesItemCustodianSourcesRequestBuilder(rawUr func (m *CasesEdiscoveryCasesItemSearchesItemCustodianSourcesRequestBuilder) Count()(*CasesEdiscoveryCasesItemSearchesItemCustodianSourcesCountRequestBuilder) { return NewCasesEdiscoveryCasesItemSearchesItemCustodianSourcesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of custodial data sources associated with an eDiscovery search. +// Get custodian sources that are included in the eDiscovery search. // returns a DataSourceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverysearch-list-custodiansources?view=graph-rest-1.0 func (m *CasesEdiscoveryCasesItemSearchesItemCustodianSourcesRequestBuilder) Get(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemSearchesItemCustodianSourcesRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.DataSourceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *CasesEdiscoveryCasesItemSearchesItemCustodianSourcesRequestBuilder) Get } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.DataSourceCollectionResponseable), nil } -// ToGetRequestInformation get the list of custodial data sources associated with an eDiscovery search. +// ToGetRequestInformation custodian sources that are included in the eDiscovery search. // returns a *RequestInformation when successful func (m *CasesEdiscoveryCasesItemSearchesItemCustodianSourcesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemSearchesItemCustodianSourcesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/cases_ediscovery_cases_item_searches_item_last_estimate_statistics_operation_request_builder.go b/security/cases_ediscovery_cases_item_searches_item_last_estimate_statistics_operation_request_builder.go index 6f56419bd13..3968c35af3c 100644 --- a/security/cases_ediscovery_cases_item_searches_item_last_estimate_statistics_operation_request_builder.go +++ b/security/cases_ediscovery_cases_item_searches_item_last_estimate_statistics_operation_request_builder.go @@ -11,7 +11,7 @@ import ( type CasesEdiscoveryCasesItemSearchesItemLastEstimateStatisticsOperationRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// CasesEdiscoveryCasesItemSearchesItemLastEstimateStatisticsOperationRequestBuilderGetQueryParameters get the last ediscoveryEstimateOperation objects and their properties. +// CasesEdiscoveryCasesItemSearchesItemLastEstimateStatisticsOperationRequestBuilderGetQueryParameters the last estimate operation associated with the eDiscovery search. type CasesEdiscoveryCasesItemSearchesItemLastEstimateStatisticsOperationRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -40,12 +40,9 @@ func NewCasesEdiscoveryCasesItemSearchesItemLastEstimateStatisticsOperationReque urlParams["request-raw-url"] = rawUrl return NewCasesEdiscoveryCasesItemSearchesItemLastEstimateStatisticsOperationRequestBuilderInternal(urlParams, requestAdapter) } -// Get get the last ediscoveryEstimateOperation objects and their properties. +// Get the last estimate operation associated with the eDiscovery search. // returns a EdiscoveryEstimateOperationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverysearch-list-lastestimatestatisticsoperation?view=graph-rest-1.0 func (m *CasesEdiscoveryCasesItemSearchesItemLastEstimateStatisticsOperationRequestBuilder) Get(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemSearchesItemLastEstimateStatisticsOperationRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryEstimateOperationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -63,7 +60,7 @@ func (m *CasesEdiscoveryCasesItemSearchesItemLastEstimateStatisticsOperationRequ } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryEstimateOperationable), nil } -// ToGetRequestInformation get the last ediscoveryEstimateOperation objects and their properties. +// ToGetRequestInformation the last estimate operation associated with the eDiscovery search. // returns a *RequestInformation when successful func (m *CasesEdiscoveryCasesItemSearchesItemLastEstimateStatisticsOperationRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemSearchesItemLastEstimateStatisticsOperationRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/cases_ediscovery_cases_item_searches_item_microsoft_graph_security_estimate_statistics_request_builder.go b/security/cases_ediscovery_cases_item_searches_item_microsoft_graph_security_estimate_statistics_request_builder.go index c5dcccbebbf..5fdeac828c4 100644 --- a/security/cases_ediscovery_cases_item_searches_item_microsoft_graph_security_estimate_statistics_request_builder.go +++ b/security/cases_ediscovery_cases_item_searches_item_microsoft_graph_security_estimate_statistics_request_builder.go @@ -34,7 +34,7 @@ func NewCasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityEstimateStatis // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverysearch-estimatestatistics?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverysearch-estimatestatistics?view=graph-rest-beta func (m *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityEstimateStatisticsRequestBuilder) Post(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityEstimateStatisticsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/security/cases_ediscovery_cases_item_searches_item_microsoft_graph_security_purge_data_request_builder.go b/security/cases_ediscovery_cases_item_searches_item_microsoft_graph_security_purge_data_request_builder.go index e1ddc201d4d..523bc368892 100644 --- a/security/cases_ediscovery_cases_item_searches_item_microsoft_graph_security_purge_data_request_builder.go +++ b/security/cases_ediscovery_cases_item_searches_item_microsoft_graph_security_purge_data_request_builder.go @@ -34,7 +34,7 @@ func NewCasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityPurgeDataReque // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverysearch-purgedata?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverysearch-purgedata?view=graph-rest-beta func (m *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityPurgeDataRequestBuilder) Post(ctx context.Context, body CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityPurgeDataPurgeDataPostRequestBodyable, requestConfiguration *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityPurgeDataRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/security/cases_ediscovery_cases_item_searches_request_builder.go b/security/cases_ediscovery_cases_item_searches_request_builder.go index ca6a5a8e4ba..a74df8743ed 100644 --- a/security/cases_ediscovery_cases_item_searches_request_builder.go +++ b/security/cases_ediscovery_cases_item_searches_request_builder.go @@ -11,7 +11,7 @@ import ( type CasesEdiscoveryCasesItemSearchesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// CasesEdiscoveryCasesItemSearchesRequestBuilderGetQueryParameters get the list of ediscoverySearch resources from an eDiscoveryCase object. +// CasesEdiscoveryCasesItemSearchesRequestBuilderGetQueryParameters returns a list of eDiscoverySearch objects associated with this case. type CasesEdiscoveryCasesItemSearchesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewCasesEdiscoveryCasesItemSearchesRequestBuilder(rawUrl string, requestAda func (m *CasesEdiscoveryCasesItemSearchesRequestBuilder) Count()(*CasesEdiscoveryCasesItemSearchesCountRequestBuilder) { return NewCasesEdiscoveryCasesItemSearchesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of ediscoverySearch resources from an eDiscoveryCase object. +// Get returns a list of eDiscoverySearch objects associated with this case. // returns a EdiscoverySearchCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverycase-list-searches?view=graph-rest-1.0 func (m *CasesEdiscoveryCasesItemSearchesRequestBuilder) Get(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemSearchesRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoverySearchCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *CasesEdiscoveryCasesItemSearchesRequestBuilder) Get(ctx context.Context } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoverySearchCollectionResponseable), nil } -// Post create a new ediscoverySearch object. +// Post create new navigation property to searches for security // returns a EdiscoverySearchable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverycase-post-searches?view=graph-rest-1.0 func (m *CasesEdiscoveryCasesItemSearchesRequestBuilder) Post(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoverySearchable, requestConfiguration *CasesEdiscoveryCasesItemSearchesRequestBuilderPostRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoverySearchable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *CasesEdiscoveryCasesItemSearchesRequestBuilder) Post(ctx context.Contex } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoverySearchable), nil } -// ToGetRequestInformation get the list of ediscoverySearch resources from an eDiscoveryCase object. +// ToGetRequestInformation returns a list of eDiscoverySearch objects associated with this case. // returns a *RequestInformation when successful func (m *CasesEdiscoveryCasesItemSearchesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemSearchesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *CasesEdiscoveryCasesItemSearchesRequestBuilder) ToGetRequestInformation requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new ediscoverySearch object. +// ToPostRequestInformation create new navigation property to searches for security // returns a *RequestInformation when successful func (m *CasesEdiscoveryCasesItemSearchesRequestBuilder) ToPostRequestInformation(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoverySearchable, requestConfiguration *CasesEdiscoveryCasesItemSearchesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/cases_ediscovery_cases_item_settings_microsoft_graph_security_reset_to_default_request_builder.go b/security/cases_ediscovery_cases_item_settings_microsoft_graph_security_reset_to_default_request_builder.go index 0819255bb23..dfaa3f7a96b 100644 --- a/security/cases_ediscovery_cases_item_settings_microsoft_graph_security_reset_to_default_request_builder.go +++ b/security/cases_ediscovery_cases_item_settings_microsoft_graph_security_reset_to_default_request_builder.go @@ -34,7 +34,7 @@ func NewCasesEdiscoveryCasesItemSettingsMicrosoftGraphSecurityResetToDefaultRequ // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverycasesettings-resettodefault?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverycasesettings-resettodefault?view=graph-rest-beta func (m *CasesEdiscoveryCasesItemSettingsMicrosoftGraphSecurityResetToDefaultRequestBuilder) Post(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemSettingsMicrosoftGraphSecurityResetToDefaultRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/security/cases_ediscovery_cases_item_settings_request_builder.go b/security/cases_ediscovery_cases_item_settings_request_builder.go index 39b307e7b41..6a38466de15 100644 --- a/security/cases_ediscovery_cases_item_settings_request_builder.go +++ b/security/cases_ediscovery_cases_item_settings_request_builder.go @@ -18,7 +18,7 @@ type CasesEdiscoveryCasesItemSettingsRequestBuilderDeleteRequestConfiguration st // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// CasesEdiscoveryCasesItemSettingsRequestBuilderGetQueryParameters read the properties and relationships of an ediscoveryCaseSettings object. +// CasesEdiscoveryCasesItemSettingsRequestBuilderGetQueryParameters returns a list of eDIscoverySettings objects in the case. type CasesEdiscoveryCasesItemSettingsRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *CasesEdiscoveryCasesItemSettingsRequestBuilder) Delete(ctx context.Cont } return nil } -// Get read the properties and relationships of an ediscoveryCaseSettings object. +// Get returns a list of eDIscoverySettings objects in the case. // returns a EdiscoveryCaseSettingsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverycasesettings-get?view=graph-rest-1.0 func (m *CasesEdiscoveryCasesItemSettingsRequestBuilder) Get(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemSettingsRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryCaseSettingsable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,12 +95,9 @@ func (m *CasesEdiscoveryCasesItemSettingsRequestBuilder) Get(ctx context.Context func (m *CasesEdiscoveryCasesItemSettingsRequestBuilder) MicrosoftGraphSecurityResetToDefault()(*CasesEdiscoveryCasesItemSettingsMicrosoftGraphSecurityResetToDefaultRequestBuilder) { return NewCasesEdiscoveryCasesItemSettingsMicrosoftGraphSecurityResetToDefaultRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of an ediscoveryCaseSettings object. +// Patch update the navigation property settings in security // returns a EdiscoveryCaseSettingsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverycasesettings-update?view=graph-rest-1.0 func (m *CasesEdiscoveryCasesItemSettingsRequestBuilder) Patch(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryCaseSettingsable, requestConfiguration *CasesEdiscoveryCasesItemSettingsRequestBuilderPatchRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryCaseSettingsable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -132,7 +126,7 @@ func (m *CasesEdiscoveryCasesItemSettingsRequestBuilder) ToDeleteRequestInformat requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an ediscoveryCaseSettings object. +// ToGetRequestInformation returns a list of eDIscoverySettings objects in the case. // returns a *RequestInformation when successful func (m *CasesEdiscoveryCasesItemSettingsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemSettingsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -146,7 +140,7 @@ func (m *CasesEdiscoveryCasesItemSettingsRequestBuilder) ToGetRequestInformation requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an ediscoveryCaseSettings object. +// ToPatchRequestInformation update the navigation property settings in security // returns a *RequestInformation when successful func (m *CasesEdiscoveryCasesItemSettingsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryCaseSettingsable, requestConfiguration *CasesEdiscoveryCasesItemSettingsRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/cases_ediscovery_cases_item_tags_ediscovery_review_tag_item_request_builder.go b/security/cases_ediscovery_cases_item_tags_ediscovery_review_tag_item_request_builder.go index 6f0dc0302ec..945f13518d7 100644 --- a/security/cases_ediscovery_cases_item_tags_ediscovery_review_tag_item_request_builder.go +++ b/security/cases_ediscovery_cases_item_tags_ediscovery_review_tag_item_request_builder.go @@ -18,7 +18,7 @@ type CasesEdiscoveryCasesItemTagsEdiscoveryReviewTagItemRequestBuilderDeleteRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// CasesEdiscoveryCasesItemTagsEdiscoveryReviewTagItemRequestBuilderGetQueryParameters read the properties and relationships of an ediscoveryReviewTag object. +// CasesEdiscoveryCasesItemTagsEdiscoveryReviewTagItemRequestBuilderGetQueryParameters returns a list of ediscoveryReviewTag objects associated to this case. type CasesEdiscoveryCasesItemTagsEdiscoveryReviewTagItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewCasesEdiscoveryCasesItemTagsEdiscoveryReviewTagItemRequestBuilder(rawUrl urlParams["request-raw-url"] = rawUrl return NewCasesEdiscoveryCasesItemTagsEdiscoveryReviewTagItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove an ediscoveryReviewTag object. +// Delete delete navigation property tags for security // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverycase-delete-tags?view=graph-rest-1.0 func (m *CasesEdiscoveryCasesItemTagsEdiscoveryReviewTagItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemTagsEdiscoveryReviewTagItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *CasesEdiscoveryCasesItemTagsEdiscoveryReviewTagItemRequestBuilder) Dele } return nil } -// Get read the properties and relationships of an ediscoveryReviewTag object. +// Get returns a list of ediscoveryReviewTag objects associated to this case. // returns a EdiscoveryReviewTagable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoveryreviewtag-get?view=graph-rest-1.0 func (m *CasesEdiscoveryCasesItemTagsEdiscoveryReviewTagItemRequestBuilder) Get(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemTagsEdiscoveryReviewTagItemRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryReviewTagable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -106,12 +100,9 @@ func (m *CasesEdiscoveryCasesItemTagsEdiscoveryReviewTagItemRequestBuilder) Get( func (m *CasesEdiscoveryCasesItemTagsEdiscoveryReviewTagItemRequestBuilder) Parent()(*CasesEdiscoveryCasesItemTagsItemParentRequestBuilder) { return NewCasesEdiscoveryCasesItemTagsItemParentRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of an ediscoveryReviewTag object. +// Patch update the navigation property tags in security // returns a EdiscoveryReviewTagable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoveryreviewtag-update?view=graph-rest-1.0 func (m *CasesEdiscoveryCasesItemTagsEdiscoveryReviewTagItemRequestBuilder) Patch(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryReviewTagable, requestConfiguration *CasesEdiscoveryCasesItemTagsEdiscoveryReviewTagItemRequestBuilderPatchRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryReviewTagable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -129,7 +120,7 @@ func (m *CasesEdiscoveryCasesItemTagsEdiscoveryReviewTagItemRequestBuilder) Patc } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryReviewTagable), nil } -// ToDeleteRequestInformation remove an ediscoveryReviewTag object. +// ToDeleteRequestInformation delete navigation property tags for security // returns a *RequestInformation when successful func (m *CasesEdiscoveryCasesItemTagsEdiscoveryReviewTagItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemTagsEdiscoveryReviewTagItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -140,7 +131,7 @@ func (m *CasesEdiscoveryCasesItemTagsEdiscoveryReviewTagItemRequestBuilder) ToDe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an ediscoveryReviewTag object. +// ToGetRequestInformation returns a list of ediscoveryReviewTag objects associated to this case. // returns a *RequestInformation when successful func (m *CasesEdiscoveryCasesItemTagsEdiscoveryReviewTagItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemTagsEdiscoveryReviewTagItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -154,7 +145,7 @@ func (m *CasesEdiscoveryCasesItemTagsEdiscoveryReviewTagItemRequestBuilder) ToGe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an ediscoveryReviewTag object. +// ToPatchRequestInformation update the navigation property tags in security // returns a *RequestInformation when successful func (m *CasesEdiscoveryCasesItemTagsEdiscoveryReviewTagItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryReviewTagable, requestConfiguration *CasesEdiscoveryCasesItemTagsEdiscoveryReviewTagItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/cases_ediscovery_cases_item_tags_microsoft_graph_security_as_hierarchy_request_builder.go b/security/cases_ediscovery_cases_item_tags_microsoft_graph_security_as_hierarchy_request_builder.go index f50e7b24fd6..6e86ad388a1 100644 --- a/security/cases_ediscovery_cases_item_tags_microsoft_graph_security_as_hierarchy_request_builder.go +++ b/security/cases_ediscovery_cases_item_tags_microsoft_graph_security_as_hierarchy_request_builder.go @@ -10,7 +10,7 @@ import ( type CasesEdiscoveryCasesItemTagsMicrosoftGraphSecurityAsHierarchyRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// CasesEdiscoveryCasesItemTagsMicrosoftGraphSecurityAsHierarchyRequestBuilderGetQueryParameters invoke function asHierarchy +// CasesEdiscoveryCasesItemTagsMicrosoftGraphSecurityAsHierarchyRequestBuilderGetQueryParameters list eDiscovery review tags with the tag hierarchy shown. type CasesEdiscoveryCasesItemTagsMicrosoftGraphSecurityAsHierarchyRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewCasesEdiscoveryCasesItemTagsMicrosoftGraphSecurityAsHierarchyRequestBuil urlParams["request-raw-url"] = rawUrl return NewCasesEdiscoveryCasesItemTagsMicrosoftGraphSecurityAsHierarchyRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function asHierarchy +// Get list eDiscovery review tags with the tag hierarchy shown. // Deprecated: This method is obsolete. Use GetAsAsHierarchyGetResponse instead. // returns a CasesEdiscoveryCasesItemTagsMicrosoftGraphSecurityAsHierarchyAsHierarchyResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoveryreviewtag-ashierarchy?view=graph-rest-beta func (m *CasesEdiscoveryCasesItemTagsMicrosoftGraphSecurityAsHierarchyRequestBuilder) Get(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemTagsMicrosoftGraphSecurityAsHierarchyRequestBuilderGetRequestConfiguration)(CasesEdiscoveryCasesItemTagsMicrosoftGraphSecurityAsHierarchyAsHierarchyResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *CasesEdiscoveryCasesItemTagsMicrosoftGraphSecurityAsHierarchyRequestBui } return res.(CasesEdiscoveryCasesItemTagsMicrosoftGraphSecurityAsHierarchyAsHierarchyResponseable), nil } -// GetAsAsHierarchyGetResponse invoke function asHierarchy +// GetAsAsHierarchyGetResponse list eDiscovery review tags with the tag hierarchy shown. // returns a CasesEdiscoveryCasesItemTagsMicrosoftGraphSecurityAsHierarchyAsHierarchyGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoveryreviewtag-ashierarchy?view=graph-rest-beta func (m *CasesEdiscoveryCasesItemTagsMicrosoftGraphSecurityAsHierarchyRequestBuilder) GetAsAsHierarchyGetResponse(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemTagsMicrosoftGraphSecurityAsHierarchyRequestBuilderGetRequestConfiguration)(CasesEdiscoveryCasesItemTagsMicrosoftGraphSecurityAsHierarchyAsHierarchyGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *CasesEdiscoveryCasesItemTagsMicrosoftGraphSecurityAsHierarchyRequestBui } return res.(CasesEdiscoveryCasesItemTagsMicrosoftGraphSecurityAsHierarchyAsHierarchyGetResponseable), nil } -// ToGetRequestInformation invoke function asHierarchy +// ToGetRequestInformation list eDiscovery review tags with the tag hierarchy shown. // returns a *RequestInformation when successful func (m *CasesEdiscoveryCasesItemTagsMicrosoftGraphSecurityAsHierarchyRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemTagsMicrosoftGraphSecurityAsHierarchyRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/cases_ediscovery_cases_item_tags_request_builder.go b/security/cases_ediscovery_cases_item_tags_request_builder.go index f0166a1a166..500607ee5e9 100644 --- a/security/cases_ediscovery_cases_item_tags_request_builder.go +++ b/security/cases_ediscovery_cases_item_tags_request_builder.go @@ -11,7 +11,7 @@ import ( type CasesEdiscoveryCasesItemTagsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// CasesEdiscoveryCasesItemTagsRequestBuilderGetQueryParameters get a list of eDiscoveryReviewTag objects and their properties. +// CasesEdiscoveryCasesItemTagsRequestBuilderGetQueryParameters returns a list of ediscoveryReviewTag objects associated to this case. type CasesEdiscoveryCasesItemTagsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewCasesEdiscoveryCasesItemTagsRequestBuilder(rawUrl string, requestAdapter func (m *CasesEdiscoveryCasesItemTagsRequestBuilder) Count()(*CasesEdiscoveryCasesItemTagsCountRequestBuilder) { return NewCasesEdiscoveryCasesItemTagsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of eDiscoveryReviewTag objects and their properties. +// Get returns a list of ediscoveryReviewTag objects associated to this case. // returns a EdiscoveryReviewTagCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverycase-list-tags?view=graph-rest-1.0 func (m *CasesEdiscoveryCasesItemTagsRequestBuilder) Get(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemTagsRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryReviewTagCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *CasesEdiscoveryCasesItemTagsRequestBuilder) Get(ctx context.Context, re func (m *CasesEdiscoveryCasesItemTagsRequestBuilder) MicrosoftGraphSecurityAsHierarchy()(*CasesEdiscoveryCasesItemTagsMicrosoftGraphSecurityAsHierarchyRequestBuilder) { return NewCasesEdiscoveryCasesItemTagsMicrosoftGraphSecurityAsHierarchyRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Post create a new ediscoveryReviewTag object. +// Post create new navigation property to tags for security // returns a EdiscoveryReviewTagable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-ediscoverycase-post-tags?view=graph-rest-1.0 func (m *CasesEdiscoveryCasesItemTagsRequestBuilder) Post(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryReviewTagable, requestConfiguration *CasesEdiscoveryCasesItemTagsRequestBuilderPostRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryReviewTagable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *CasesEdiscoveryCasesItemTagsRequestBuilder) Post(ctx context.Context, b } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryReviewTagable), nil } -// ToGetRequestInformation get a list of eDiscoveryReviewTag objects and their properties. +// ToGetRequestInformation returns a list of ediscoveryReviewTag objects associated to this case. // returns a *RequestInformation when successful func (m *CasesEdiscoveryCasesItemTagsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesItemTagsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *CasesEdiscoveryCasesItemTagsRequestBuilder) ToGetRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new ediscoveryReviewTag object. +// ToPostRequestInformation create new navigation property to tags for security // returns a *RequestInformation when successful func (m *CasesEdiscoveryCasesItemTagsRequestBuilder) ToPostRequestInformation(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryReviewTagable, requestConfiguration *CasesEdiscoveryCasesItemTagsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/cases_ediscovery_cases_request_builder.go b/security/cases_ediscovery_cases_request_builder.go index 549c872c07a..098edb47e8b 100644 --- a/security/cases_ediscovery_cases_request_builder.go +++ b/security/cases_ediscovery_cases_request_builder.go @@ -11,7 +11,7 @@ import ( type CasesEdiscoveryCasesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// CasesEdiscoveryCasesRequestBuilderGetQueryParameters get a list of the ediscoveryCase objects and their properties. +// CasesEdiscoveryCasesRequestBuilderGetQueryParameters get ediscoveryCases from security type CasesEdiscoveryCasesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewCasesEdiscoveryCasesRequestBuilder(rawUrl string, requestAdapter i2ae418 func (m *CasesEdiscoveryCasesRequestBuilder) Count()(*CasesEdiscoveryCasesCountRequestBuilder) { return NewCasesEdiscoveryCasesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the ediscoveryCase objects and their properties. +// Get get ediscoveryCases from security // returns a EdiscoveryCaseCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-casesroot-list-ediscoverycases?view=graph-rest-1.0 func (m *CasesEdiscoveryCasesRequestBuilder) Get(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryCaseCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *CasesEdiscoveryCasesRequestBuilder) Get(ctx context.Context, requestCon } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryCaseCollectionResponseable), nil } -// Post create a new ediscoveryCase object. +// Post create new navigation property to ediscoveryCases for security // returns a EdiscoveryCaseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-casesroot-post-ediscoverycases?view=graph-rest-1.0 func (m *CasesEdiscoveryCasesRequestBuilder) Post(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryCaseable, requestConfiguration *CasesEdiscoveryCasesRequestBuilderPostRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryCaseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *CasesEdiscoveryCasesRequestBuilder) Post(ctx context.Context, body i084 } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryCaseable), nil } -// ToGetRequestInformation get a list of the ediscoveryCase objects and their properties. +// ToGetRequestInformation get ediscoveryCases from security // returns a *RequestInformation when successful func (m *CasesEdiscoveryCasesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CasesEdiscoveryCasesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *CasesEdiscoveryCasesRequestBuilder) ToGetRequestInformation(ctx context requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new ediscoveryCase object. +// ToPostRequestInformation create new navigation property to ediscoveryCases for security // returns a *RequestInformation when successful func (m *CasesEdiscoveryCasesRequestBuilder) ToPostRequestInformation(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EdiscoveryCaseable, requestConfiguration *CasesEdiscoveryCasesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/collaboration_analyzed_emails_analyzed_email_item_request_builder.go b/security/collaboration_analyzed_emails_analyzed_email_item_request_builder.go index 7301865541a..9fcc3b91323 100644 --- a/security/collaboration_analyzed_emails_analyzed_email_item_request_builder.go +++ b/security/collaboration_analyzed_emails_analyzed_email_item_request_builder.go @@ -18,7 +18,7 @@ type CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilderDeleteRequestConf // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilderGetQueryParameters read the properties and relationships of an analyzedEmail object. +// CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilderGetQueryParameters contains metadata for analyzed emails. type CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilder) Delete(ctx } return nil } -// Get read the properties and relationships of an analyzedEmail object. +// Get contains metadata for analyzed emails. // returns a AnalyzedEmailable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-analyzedemail-get?view=graph-rest-1.0 func (m *CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilder) Get(ctx context.Context, requestConfiguration *CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.AnalyzedEmailable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilder) ToDeleteReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an analyzedEmail object. +// ToGetRequestInformation contains metadata for analyzed emails. // returns a *RequestInformation when successful func (m *CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CollaborationAnalyzedEmailsAnalyzedEmailItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/collaboration_analyzed_emails_microsoft_graph_security_remediate_request_builder.go b/security/collaboration_analyzed_emails_microsoft_graph_security_remediate_request_builder.go index 4d468f686c2..472814f5854 100644 --- a/security/collaboration_analyzed_emails_microsoft_graph_security_remediate_request_builder.go +++ b/security/collaboration_analyzed_emails_microsoft_graph_security_remediate_request_builder.go @@ -34,7 +34,7 @@ func NewCollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRequestBuilder // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/security-analyzedemail-remediate?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/security-analyzedemail-remediate?view=graph-rest-beta func (m *CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRequestBuilder) Post(ctx context.Context, body CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRemediatePostRequestBodyable, requestConfiguration *CollaborationAnalyzedEmailsMicrosoftGraphSecurityRemediateRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/security/collaboration_analyzed_emails_request_builder.go b/security/collaboration_analyzed_emails_request_builder.go index 404e902d4c1..7a6d244f71f 100644 --- a/security/collaboration_analyzed_emails_request_builder.go +++ b/security/collaboration_analyzed_emails_request_builder.go @@ -11,7 +11,7 @@ import ( type CollaborationAnalyzedEmailsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// CollaborationAnalyzedEmailsRequestBuilderGetQueryParameters read the properties and relationships of an analyzedEmail object. +// CollaborationAnalyzedEmailsRequestBuilderGetQueryParameters contains metadata for analyzed emails. type CollaborationAnalyzedEmailsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewCollaborationAnalyzedEmailsRequestBuilder(rawUrl string, requestAdapter func (m *CollaborationAnalyzedEmailsRequestBuilder) Count()(*CollaborationAnalyzedEmailsCountRequestBuilder) { return NewCollaborationAnalyzedEmailsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of an analyzedEmail object. +// Get contains metadata for analyzed emails. // returns a AnalyzedEmailCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *CollaborationAnalyzedEmailsRequestBuilder) Get(ctx context.Context, requestConfiguration *CollaborationAnalyzedEmailsRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.AnalyzedEmailCollectionResponseable, error) { @@ -121,7 +121,7 @@ func (m *CollaborationAnalyzedEmailsRequestBuilder) Post(ctx context.Context, bo } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.AnalyzedEmailable), nil } -// ToGetRequestInformation read the properties and relationships of an analyzedEmail object. +// ToGetRequestInformation contains metadata for analyzed emails. // returns a *RequestInformation when successful func (m *CollaborationAnalyzedEmailsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CollaborationAnalyzedEmailsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/identities_health_issues_health_issue_item_request_builder.go b/security/identities_health_issues_health_issue_item_request_builder.go index 22b5ab3c7b1..b7f1083a2d7 100644 --- a/security/identities_health_issues_health_issue_item_request_builder.go +++ b/security/identities_health_issues_health_issue_item_request_builder.go @@ -18,7 +18,7 @@ type IdentitiesHealthIssuesHealthIssueItemRequestBuilderDeleteRequestConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// IdentitiesHealthIssuesHealthIssueItemRequestBuilderGetQueryParameters read the properties and relationships of a healthIssue object. +// IdentitiesHealthIssuesHealthIssueItemRequestBuilderGetQueryParameters represents potential issues within a customer's Microsoft Defender for Identity configuration that Microsoft Defender for Identity identified. type IdentitiesHealthIssuesHealthIssueItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *IdentitiesHealthIssuesHealthIssueItemRequestBuilder) Delete(ctx context } return nil } -// Get read the properties and relationships of a healthIssue object. +// Get represents potential issues within a customer's Microsoft Defender for Identity configuration that Microsoft Defender for Identity identified. // returns a HealthIssueable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-healthissue-get?view=graph-rest-1.0 func (m *IdentitiesHealthIssuesHealthIssueItemRequestBuilder) Get(ctx context.Context, requestConfiguration *IdentitiesHealthIssuesHealthIssueItemRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HealthIssueable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *IdentitiesHealthIssuesHealthIssueItemRequestBuilder) Get(ctx context.Co } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HealthIssueable), nil } -// Patch update the properties of a healthIssue object. +// Patch update the navigation property healthIssues in security // returns a HealthIssueable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-healthissue-update?view=graph-rest-1.0 func (m *IdentitiesHealthIssuesHealthIssueItemRequestBuilder) Patch(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HealthIssueable, requestConfiguration *IdentitiesHealthIssuesHealthIssueItemRequestBuilderPatchRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HealthIssueable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *IdentitiesHealthIssuesHealthIssueItemRequestBuilder) ToDeleteRequestInf requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a healthIssue object. +// ToGetRequestInformation represents potential issues within a customer's Microsoft Defender for Identity configuration that Microsoft Defender for Identity identified. // returns a *RequestInformation when successful func (m *IdentitiesHealthIssuesHealthIssueItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IdentitiesHealthIssuesHealthIssueItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *IdentitiesHealthIssuesHealthIssueItemRequestBuilder) ToGetRequestInform requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a healthIssue object. +// ToPatchRequestInformation update the navigation property healthIssues in security // returns a *RequestInformation when successful func (m *IdentitiesHealthIssuesHealthIssueItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HealthIssueable, requestConfiguration *IdentitiesHealthIssuesHealthIssueItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/identities_health_issues_request_builder.go b/security/identities_health_issues_request_builder.go index c1e8ae80c2f..4a77143a6f9 100644 --- a/security/identities_health_issues_request_builder.go +++ b/security/identities_health_issues_request_builder.go @@ -11,7 +11,7 @@ import ( type IdentitiesHealthIssuesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// IdentitiesHealthIssuesRequestBuilderGetQueryParameters get a list of health issue objects and their properties. +// IdentitiesHealthIssuesRequestBuilderGetQueryParameters represents potential issues within a customer's Microsoft Defender for Identity configuration that Microsoft Defender for Identity identified. type IdentitiesHealthIssuesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewIdentitiesHealthIssuesRequestBuilder(rawUrl string, requestAdapter i2ae4 func (m *IdentitiesHealthIssuesRequestBuilder) Count()(*IdentitiesHealthIssuesCountRequestBuilder) { return NewIdentitiesHealthIssuesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of health issue objects and their properties. +// Get represents potential issues within a customer's Microsoft Defender for Identity configuration that Microsoft Defender for Identity identified. // returns a HealthIssueCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-identitycontainer-list-healthissues?view=graph-rest-1.0 func (m *IdentitiesHealthIssuesRequestBuilder) Get(ctx context.Context, requestConfiguration *IdentitiesHealthIssuesRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HealthIssueCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *IdentitiesHealthIssuesRequestBuilder) Post(ctx context.Context, body i0 } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HealthIssueable), nil } -// ToGetRequestInformation get a list of health issue objects and their properties. +// ToGetRequestInformation represents potential issues within a customer's Microsoft Defender for Identity configuration that Microsoft Defender for Identity identified. // returns a *RequestInformation when successful func (m *IdentitiesHealthIssuesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IdentitiesHealthIssuesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/incidents_incident_item_request_builder.go b/security/incidents_incident_item_request_builder.go index 826a926d2d6..5ab4026e8c2 100644 --- a/security/incidents_incident_item_request_builder.go +++ b/security/incidents_incident_item_request_builder.go @@ -18,7 +18,7 @@ type IncidentsIncidentItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// IncidentsIncidentItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an incident object. Attacks are typically inflicted on different types of entities, such as devices, users, and mailboxes, resulting in multiple alert objects. Microsoft 365 Defender correlates alerts with the same attack techniques or the same attacker into an incident. +// IncidentsIncidentItemRequestBuilderGetQueryParameters a collection of incidents in Microsoft 365 Defender, each of which is a set of correlated alerts and associated metadata that reflects the story of an attack. type IncidentsIncidentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *IncidentsIncidentItemRequestBuilder) Delete(ctx context.Context, reques } return nil } -// Get retrieve the properties and relationships of an incident object. Attacks are typically inflicted on different types of entities, such as devices, users, and mailboxes, resulting in multiple alert objects. Microsoft 365 Defender correlates alerts with the same attack techniques or the same attacker into an incident. +// Get a collection of incidents in Microsoft 365 Defender, each of which is a set of correlated alerts and associated metadata that reflects the story of an attack. // returns a Incidentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-incident-get?view=graph-rest-1.0 func (m *IncidentsIncidentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *IncidentsIncidentItemRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.Incidentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,12 +95,9 @@ func (m *IncidentsIncidentItemRequestBuilder) Get(ctx context.Context, requestCo } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.Incidentable), nil } -// Patch update the properties of an incident object. +// Patch update the navigation property incidents in security // returns a Incidentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-incident-update?view=graph-rest-1.0 func (m *IncidentsIncidentItemRequestBuilder) Patch(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.Incidentable, requestConfiguration *IncidentsIncidentItemRequestBuilderPatchRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.Incidentable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -132,7 +126,7 @@ func (m *IncidentsIncidentItemRequestBuilder) ToDeleteRequestInformation(ctx con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of an incident object. Attacks are typically inflicted on different types of entities, such as devices, users, and mailboxes, resulting in multiple alert objects. Microsoft 365 Defender correlates alerts with the same attack techniques or the same attacker into an incident. +// ToGetRequestInformation a collection of incidents in Microsoft 365 Defender, each of which is a set of correlated alerts and associated metadata that reflects the story of an attack. // returns a *RequestInformation when successful func (m *IncidentsIncidentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IncidentsIncidentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -146,7 +140,7 @@ func (m *IncidentsIncidentItemRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an incident object. +// ToPatchRequestInformation update the navigation property incidents in security // returns a *RequestInformation when successful func (m *IncidentsIncidentItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.Incidentable, requestConfiguration *IncidentsIncidentItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/incidents_request_builder.go b/security/incidents_request_builder.go index b5e131d7503..1264ae123bb 100644 --- a/security/incidents_request_builder.go +++ b/security/incidents_request_builder.go @@ -11,7 +11,7 @@ import ( type IncidentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// IncidentsRequestBuilderGetQueryParameters get a list of incident objects that Microsoft 365 Defender created to track attacks in an organization. Attacks are typically inflicted on different types of entities, such as devices, users, and mailboxes, resulting in multiple alert objects. Microsoft 365 Defender correlates alerts with the same attack techniques or the same attacker into an incident. This operation allows you to filter and sort through incidents to create an informed cyber security response. It exposes a collection of incidents that were flagged in your network, within the time range you specified in your environment retention policy. The most recent incidents are displayed at the top of the list. +// IncidentsRequestBuilderGetQueryParameters a collection of incidents in Microsoft 365 Defender, each of which is a set of correlated alerts and associated metadata that reflects the story of an attack. type IncidentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewIncidentsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee2633 func (m *IncidentsRequestBuilder) Count()(*IncidentsCountRequestBuilder) { return NewIncidentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of incident objects that Microsoft 365 Defender created to track attacks in an organization. Attacks are typically inflicted on different types of entities, such as devices, users, and mailboxes, resulting in multiple alert objects. Microsoft 365 Defender correlates alerts with the same attack techniques or the same attacker into an incident. This operation allows you to filter and sort through incidents to create an informed cyber security response. It exposes a collection of incidents that were flagged in your network, within the time range you specified in your environment retention policy. The most recent incidents are displayed at the top of the list. +// Get a collection of incidents in Microsoft 365 Defender, each of which is a set of correlated alerts and associated metadata that reflects the story of an attack. // returns a IncidentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-list-incidents?view=graph-rest-1.0 func (m *IncidentsRequestBuilder) Get(ctx context.Context, requestConfiguration *IncidentsRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.IncidentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *IncidentsRequestBuilder) Post(ctx context.Context, body i084fa7ab3bba80 } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.Incidentable), nil } -// ToGetRequestInformation get a list of incident objects that Microsoft 365 Defender created to track attacks in an organization. Attacks are typically inflicted on different types of entities, such as devices, users, and mailboxes, resulting in multiple alert objects. Microsoft 365 Defender correlates alerts with the same attack techniques or the same attacker into an incident. This operation allows you to filter and sort through incidents to create an informed cyber security response. It exposes a collection of incidents that were flagged in your network, within the time range you specified in your environment retention policy. The most recent incidents are displayed at the top of the list. +// ToGetRequestInformation a collection of incidents in Microsoft 365 Defender, each of which is a set of correlated alerts and associated metadata that reflects the story of an attack. // returns a *RequestInformation when successful func (m *IncidentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IncidentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/information_protection_label_policy_settings_request_builder.go b/security/information_protection_label_policy_settings_request_builder.go index ab5bd310212..535bcee1dc9 100644 --- a/security/information_protection_label_policy_settings_request_builder.go +++ b/security/information_protection_label_policy_settings_request_builder.go @@ -18,7 +18,7 @@ type InformationProtectionLabelPolicySettingsRequestBuilderDeleteRequestConfigur // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// InformationProtectionLabelPolicySettingsRequestBuilderGetQueryParameters read the properties and relationships of an informationProtectionPolicySetting object. The settings exposed by this API should be used in applications to populate the moreInfoUrl property for Microsoft Purview Information Protection help, and indicate whether labeling is mandatory for the user and whether justification must be provided on downgrade. +// InformationProtectionLabelPolicySettingsRequestBuilderGetQueryParameters read the Microsoft Purview Information Protection policy settings for the user or organization. type InformationProtectionLabelPolicySettingsRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *InformationProtectionLabelPolicySettingsRequestBuilder) Delete(ctx cont } return nil } -// Get read the properties and relationships of an informationProtectionPolicySetting object. The settings exposed by this API should be used in applications to populate the moreInfoUrl property for Microsoft Purview Information Protection help, and indicate whether labeling is mandatory for the user and whether justification must be provided on downgrade. +// Get read the Microsoft Purview Information Protection policy settings for the user or organization. // returns a InformationProtectionPolicySettingable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-informationprotectionpolicysetting-get?view=graph-rest-1.0 func (m *InformationProtectionLabelPolicySettingsRequestBuilder) Get(ctx context.Context, requestConfiguration *InformationProtectionLabelPolicySettingsRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.InformationProtectionPolicySettingable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *InformationProtectionLabelPolicySettingsRequestBuilder) ToDeleteRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an informationProtectionPolicySetting object. The settings exposed by this API should be used in applications to populate the moreInfoUrl property for Microsoft Purview Information Protection help, and indicate whether labeling is mandatory for the user and whether justification must be provided on downgrade. +// ToGetRequestInformation read the Microsoft Purview Information Protection policy settings for the user or organization. // returns a *RequestInformation when successful func (m *InformationProtectionLabelPolicySettingsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *InformationProtectionLabelPolicySettingsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/information_protection_sensitivity_labels_microsoft_graph_security_evaluate_application_request_builder.go b/security/information_protection_sensitivity_labels_microsoft_graph_security_evaluate_application_request_builder.go index 59d316edfe9..7cb5b644c0d 100644 --- a/security/information_protection_sensitivity_labels_microsoft_graph_security_evaluate_application_request_builder.go +++ b/security/information_protection_sensitivity_labels_microsoft_graph_security_evaluate_application_request_builder.go @@ -36,7 +36,7 @@ func NewInformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateAppl // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/security-sensitivitylabel-evaluateapplication?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/security-sensitivitylabel-evaluateapplication?view=graph-rest-beta func (m *InformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateApplicationRequestBuilder) Post(ctx context.Context, body InformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateApplicationEvaluateApplicationPostRequestBodyable, requestConfiguration *InformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateApplicationRequestBuilderPostRequestConfiguration)(InformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateApplicationEvaluateApplicationResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *InformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateApp // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/security-sensitivitylabel-evaluateapplication?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/security-sensitivitylabel-evaluateapplication?view=graph-rest-beta func (m *InformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateApplicationRequestBuilder) PostAsEvaluateApplicationPostResponse(ctx context.Context, body InformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateApplicationEvaluateApplicationPostRequestBodyable, requestConfiguration *InformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateApplicationRequestBuilderPostRequestConfiguration)(InformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateApplicationEvaluateApplicationPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/security/information_protection_sensitivity_labels_microsoft_graph_security_evaluate_classification_results_request_builder.go b/security/information_protection_sensitivity_labels_microsoft_graph_security_evaluate_classification_results_request_builder.go index cf42d7998c9..c23e7ce3613 100644 --- a/security/information_protection_sensitivity_labels_microsoft_graph_security_evaluate_classification_results_request_builder.go +++ b/security/information_protection_sensitivity_labels_microsoft_graph_security_evaluate_classification_results_request_builder.go @@ -36,7 +36,7 @@ func NewInformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateClas // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/security-sensitivitylabel-evaluateclassificationresults?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/security-sensitivitylabel-evaluateclassificationresults?view=graph-rest-beta func (m *InformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateClassificationResultsRequestBuilder) Post(ctx context.Context, body InformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateClassificationResultsEvaluateClassificationResultsPostRequestBodyable, requestConfiguration *InformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateClassificationResultsRequestBuilderPostRequestConfiguration)(InformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateClassificationResultsEvaluateClassificationResultsResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *InformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateCla // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/security-sensitivitylabel-evaluateclassificationresults?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/security-sensitivitylabel-evaluateclassificationresults?view=graph-rest-beta func (m *InformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateClassificationResultsRequestBuilder) PostAsEvaluateClassificationResultsPostResponse(ctx context.Context, body InformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateClassificationResultsEvaluateClassificationResultsPostRequestBodyable, requestConfiguration *InformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateClassificationResultsRequestBuilderPostRequestConfiguration)(InformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateClassificationResultsEvaluateClassificationResultsPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/security/information_protection_sensitivity_labels_microsoft_graph_security_evaluate_removal_request_builder.go b/security/information_protection_sensitivity_labels_microsoft_graph_security_evaluate_removal_request_builder.go index f52005fd9f8..15641dd9739 100644 --- a/security/information_protection_sensitivity_labels_microsoft_graph_security_evaluate_removal_request_builder.go +++ b/security/information_protection_sensitivity_labels_microsoft_graph_security_evaluate_removal_request_builder.go @@ -36,7 +36,7 @@ func NewInformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateRemo // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/security-sensitivitylabel-evaluateremoval?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/security-sensitivitylabel-evaluateremoval?view=graph-rest-beta func (m *InformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateRemovalRequestBuilder) Post(ctx context.Context, body InformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateRemovalEvaluateRemovalPostRequestBodyable, requestConfiguration *InformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateRemovalRequestBuilderPostRequestConfiguration)(InformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateRemovalEvaluateRemovalResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *InformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateRem // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/security-sensitivitylabel-evaluateremoval?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/security-sensitivitylabel-evaluateremoval?view=graph-rest-beta func (m *InformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateRemovalRequestBuilder) PostAsEvaluateRemovalPostResponse(ctx context.Context, body InformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateRemovalEvaluateRemovalPostRequestBodyable, requestConfiguration *InformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateRemovalRequestBuilderPostRequestConfiguration)(InformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateRemovalEvaluateRemovalPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/security/information_protection_sensitivity_labels_microsoft_graph_security_extract_content_label_request_builder.go b/security/information_protection_sensitivity_labels_microsoft_graph_security_extract_content_label_request_builder.go index 9b7fce84e51..27b9128405c 100644 --- a/security/information_protection_sensitivity_labels_microsoft_graph_security_extract_content_label_request_builder.go +++ b/security/information_protection_sensitivity_labels_microsoft_graph_security_extract_content_label_request_builder.go @@ -36,7 +36,7 @@ func NewInformationProtectionSensitivityLabelsMicrosoftGraphSecurityExtractConte // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/security-sensitivitylabel-extractcontentlabel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/security-sensitivitylabel-extractcontentlabel?view=graph-rest-beta func (m *InformationProtectionSensitivityLabelsMicrosoftGraphSecurityExtractContentLabelRequestBuilder) Post(ctx context.Context, body InformationProtectionSensitivityLabelsMicrosoftGraphSecurityExtractContentLabelExtractContentLabelPostRequestBodyable, requestConfiguration *InformationProtectionSensitivityLabelsMicrosoftGraphSecurityExtractContentLabelRequestBuilderPostRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.ContentLabelable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/security/information_protection_sensitivity_labels_request_builder.go b/security/information_protection_sensitivity_labels_request_builder.go index bedf289a750..876383b5dfc 100644 --- a/security/information_protection_sensitivity_labels_request_builder.go +++ b/security/information_protection_sensitivity_labels_request_builder.go @@ -11,7 +11,7 @@ import ( type InformationProtectionSensitivityLabelsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// InformationProtectionSensitivityLabelsRequestBuilderGetQueryParameters get a list of sensitivityLabel objects associated with a user or organization. +// InformationProtectionSensitivityLabelsRequestBuilderGetQueryParameters read the Microsoft Purview Information Protection labels for the user or organization. type InformationProtectionSensitivityLabelsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewInformationProtectionSensitivityLabelsRequestBuilder(rawUrl string, requ func (m *InformationProtectionSensitivityLabelsRequestBuilder) Count()(*InformationProtectionSensitivityLabelsCountRequestBuilder) { return NewInformationProtectionSensitivityLabelsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of sensitivityLabel objects associated with a user or organization. +// Get read the Microsoft Purview Information Protection labels for the user or organization. // returns a SensitivityLabelCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-informationprotection-list-sensitivitylabels?view=graph-rest-1.0 func (m *InformationProtectionSensitivityLabelsRequestBuilder) Get(ctx context.Context, requestConfiguration *InformationProtectionSensitivityLabelsRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.SensitivityLabelCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -139,7 +136,7 @@ func (m *InformationProtectionSensitivityLabelsRequestBuilder) Post(ctx context. } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.SensitivityLabelable), nil } -// ToGetRequestInformation get a list of sensitivityLabel objects associated with a user or organization. +// ToGetRequestInformation read the Microsoft Purview Information Protection labels for the user or organization. // returns a *RequestInformation when successful func (m *InformationProtectionSensitivityLabelsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *InformationProtectionSensitivityLabelsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/labels_authorities_authority_template_item_request_builder.go b/security/labels_authorities_authority_template_item_request_builder.go index 10e208834e8..170eb82c598 100644 --- a/security/labels_authorities_authority_template_item_request_builder.go +++ b/security/labels_authorities_authority_template_item_request_builder.go @@ -18,7 +18,7 @@ type LabelsAuthoritiesAuthorityTemplateItemRequestBuilderDeleteRequestConfigurat // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// LabelsAuthoritiesAuthorityTemplateItemRequestBuilderGetQueryParameters read the properties and relationships of a authorityTemplate object. +// LabelsAuthoritiesAuthorityTemplateItemRequestBuilderGetQueryParameters specifies the underlying authority that describes the type of content to be retained and its retention schedule. type LabelsAuthoritiesAuthorityTemplateItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *LabelsAuthoritiesAuthorityTemplateItemRequestBuilder) Delete(ctx contex } return nil } -// Get read the properties and relationships of a authorityTemplate object. +// Get specifies the underlying authority that describes the type of content to be retained and its retention schedule. // returns a AuthorityTemplateable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-authoritytemplate-get?view=graph-rest-1.0 func (m *LabelsAuthoritiesAuthorityTemplateItemRequestBuilder) Get(ctx context.Context, requestConfiguration *LabelsAuthoritiesAuthorityTemplateItemRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.AuthorityTemplateable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *LabelsAuthoritiesAuthorityTemplateItemRequestBuilder) ToDeleteRequestIn requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a authorityTemplate object. +// ToGetRequestInformation specifies the underlying authority that describes the type of content to be retained and its retention schedule. // returns a *RequestInformation when successful func (m *LabelsAuthoritiesAuthorityTemplateItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LabelsAuthoritiesAuthorityTemplateItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/labels_authorities_request_builder.go b/security/labels_authorities_request_builder.go index aed94b294ce..f195660bf84 100644 --- a/security/labels_authorities_request_builder.go +++ b/security/labels_authorities_request_builder.go @@ -11,7 +11,7 @@ import ( type LabelsAuthoritiesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LabelsAuthoritiesRequestBuilderGetQueryParameters get a list of the authorityTemplate objects and their properties. +// LabelsAuthoritiesRequestBuilderGetQueryParameters specifies the underlying authority that describes the type of content to be retained and its retention schedule. type LabelsAuthoritiesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewLabelsAuthoritiesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7 func (m *LabelsAuthoritiesRequestBuilder) Count()(*LabelsAuthoritiesCountRequestBuilder) { return NewLabelsAuthoritiesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the authorityTemplate objects and their properties. +// Get specifies the underlying authority that describes the type of content to be retained and its retention schedule. // returns a AuthorityTemplateCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-labelsroot-list-authorities?view=graph-rest-1.0 func (m *LabelsAuthoritiesRequestBuilder) Get(ctx context.Context, requestConfiguration *LabelsAuthoritiesRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.AuthorityTemplateCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *LabelsAuthoritiesRequestBuilder) Get(ctx context.Context, requestConfig } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.AuthorityTemplateCollectionResponseable), nil } -// Post create a new authorityTemplate object. +// Post create new navigation property to authorities for security // returns a AuthorityTemplateable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-labelsroot-post-authorities?view=graph-rest-1.0 func (m *LabelsAuthoritiesRequestBuilder) Post(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.AuthorityTemplateable, requestConfiguration *LabelsAuthoritiesRequestBuilderPostRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.AuthorityTemplateable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *LabelsAuthoritiesRequestBuilder) Post(ctx context.Context, body i084fa7 } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.AuthorityTemplateable), nil } -// ToGetRequestInformation get a list of the authorityTemplate objects and their properties. +// ToGetRequestInformation specifies the underlying authority that describes the type of content to be retained and its retention schedule. // returns a *RequestInformation when successful func (m *LabelsAuthoritiesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LabelsAuthoritiesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *LabelsAuthoritiesRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new authorityTemplate object. +// ToPostRequestInformation create new navigation property to authorities for security // returns a *RequestInformation when successful func (m *LabelsAuthoritiesRequestBuilder) ToPostRequestInformation(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.AuthorityTemplateable, requestConfiguration *LabelsAuthoritiesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/labels_categories_category_template_item_request_builder.go b/security/labels_categories_category_template_item_request_builder.go index 34094203f0e..32e05ca96df 100644 --- a/security/labels_categories_category_template_item_request_builder.go +++ b/security/labels_categories_category_template_item_request_builder.go @@ -18,7 +18,7 @@ type LabelsCategoriesCategoryTemplateItemRequestBuilderDeleteRequestConfiguratio // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// LabelsCategoriesCategoryTemplateItemRequestBuilderGetQueryParameters read the properties and relationships of a categoryTemplate object. +// LabelsCategoriesCategoryTemplateItemRequestBuilderGetQueryParameters specifies a group of similar types of content in a particular department. type LabelsCategoriesCategoryTemplateItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *LabelsCategoriesCategoryTemplateItemRequestBuilder) Delete(ctx context. } return nil } -// Get read the properties and relationships of a categoryTemplate object. +// Get specifies a group of similar types of content in a particular department. // returns a CategoryTemplateable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-categorytemplate-get?view=graph-rest-1.0 func (m *LabelsCategoriesCategoryTemplateItemRequestBuilder) Get(ctx context.Context, requestConfiguration *LabelsCategoriesCategoryTemplateItemRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.CategoryTemplateable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *LabelsCategoriesCategoryTemplateItemRequestBuilder) ToDeleteRequestInfo requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a categoryTemplate object. +// ToGetRequestInformation specifies a group of similar types of content in a particular department. // returns a *RequestInformation when successful func (m *LabelsCategoriesCategoryTemplateItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LabelsCategoriesCategoryTemplateItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/labels_categories_request_builder.go b/security/labels_categories_request_builder.go index de95727960f..b85e9aa0e79 100644 --- a/security/labels_categories_request_builder.go +++ b/security/labels_categories_request_builder.go @@ -11,7 +11,7 @@ import ( type LabelsCategoriesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LabelsCategoriesRequestBuilderGetQueryParameters get a list of the categoryTemplate objects and their properties. +// LabelsCategoriesRequestBuilderGetQueryParameters specifies a group of similar types of content in a particular department. type LabelsCategoriesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewLabelsCategoriesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7d func (m *LabelsCategoriesRequestBuilder) Count()(*LabelsCategoriesCountRequestBuilder) { return NewLabelsCategoriesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the categoryTemplate objects and their properties. +// Get specifies a group of similar types of content in a particular department. // returns a CategoryTemplateCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-labelsroot-list-categories?view=graph-rest-1.0 func (m *LabelsCategoriesRequestBuilder) Get(ctx context.Context, requestConfiguration *LabelsCategoriesRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.CategoryTemplateCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *LabelsCategoriesRequestBuilder) Get(ctx context.Context, requestConfigu } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.CategoryTemplateCollectionResponseable), nil } -// Post create a new categoryTemplate object. +// Post create new navigation property to categories for security // returns a CategoryTemplateable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-labelsroot-post-categories?view=graph-rest-1.0 func (m *LabelsCategoriesRequestBuilder) Post(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.CategoryTemplateable, requestConfiguration *LabelsCategoriesRequestBuilderPostRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.CategoryTemplateable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *LabelsCategoriesRequestBuilder) Post(ctx context.Context, body i084fa7a } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.CategoryTemplateable), nil } -// ToGetRequestInformation get a list of the categoryTemplate objects and their properties. +// ToGetRequestInformation specifies a group of similar types of content in a particular department. // returns a *RequestInformation when successful func (m *LabelsCategoriesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LabelsCategoriesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *LabelsCategoriesRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new categoryTemplate object. +// ToPostRequestInformation create new navigation property to categories for security // returns a *RequestInformation when successful func (m *LabelsCategoriesRequestBuilder) ToPostRequestInformation(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.CategoryTemplateable, requestConfiguration *LabelsCategoriesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/labels_citations_citation_template_item_request_builder.go b/security/labels_citations_citation_template_item_request_builder.go index ab54fe426d3..e58c50b26c6 100644 --- a/security/labels_citations_citation_template_item_request_builder.go +++ b/security/labels_citations_citation_template_item_request_builder.go @@ -18,7 +18,7 @@ type LabelsCitationsCitationTemplateItemRequestBuilderDeleteRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// LabelsCitationsCitationTemplateItemRequestBuilderGetQueryParameters read the properties and relationships of a citationTemplate object. +// LabelsCitationsCitationTemplateItemRequestBuilderGetQueryParameters the specific rule or regulation created by a jurisdiction used to determine whether certain labels and content should be retained or deleted. type LabelsCitationsCitationTemplateItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *LabelsCitationsCitationTemplateItemRequestBuilder) Delete(ctx context.C } return nil } -// Get read the properties and relationships of a citationTemplate object. +// Get the specific rule or regulation created by a jurisdiction used to determine whether certain labels and content should be retained or deleted. // returns a CitationTemplateable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-citationtemplate-get?view=graph-rest-1.0 func (m *LabelsCitationsCitationTemplateItemRequestBuilder) Get(ctx context.Context, requestConfiguration *LabelsCitationsCitationTemplateItemRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.CitationTemplateable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *LabelsCitationsCitationTemplateItemRequestBuilder) ToDeleteRequestInfor requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a citationTemplate object. +// ToGetRequestInformation the specific rule or regulation created by a jurisdiction used to determine whether certain labels and content should be retained or deleted. // returns a *RequestInformation when successful func (m *LabelsCitationsCitationTemplateItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LabelsCitationsCitationTemplateItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/labels_citations_request_builder.go b/security/labels_citations_request_builder.go index ca1461cc849..0bbf2f80bec 100644 --- a/security/labels_citations_request_builder.go +++ b/security/labels_citations_request_builder.go @@ -11,7 +11,7 @@ import ( type LabelsCitationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LabelsCitationsRequestBuilderGetQueryParameters get a list of the citationTemplate objects and their properties. +// LabelsCitationsRequestBuilderGetQueryParameters the specific rule or regulation created by a jurisdiction used to determine whether certain labels and content should be retained or deleted. type LabelsCitationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewLabelsCitationsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7da func (m *LabelsCitationsRequestBuilder) Count()(*LabelsCitationsCountRequestBuilder) { return NewLabelsCitationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the citationTemplate objects and their properties. +// Get the specific rule or regulation created by a jurisdiction used to determine whether certain labels and content should be retained or deleted. // returns a CitationTemplateCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-labelsroot-list-citations?view=graph-rest-1.0 func (m *LabelsCitationsRequestBuilder) Get(ctx context.Context, requestConfiguration *LabelsCitationsRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.CitationTemplateCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *LabelsCitationsRequestBuilder) Get(ctx context.Context, requestConfigur } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.CitationTemplateCollectionResponseable), nil } -// Post create a new citationTemplate object. +// Post create new navigation property to citations for security // returns a CitationTemplateable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-labelsroot-post-citations?view=graph-rest-1.0 func (m *LabelsCitationsRequestBuilder) Post(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.CitationTemplateable, requestConfiguration *LabelsCitationsRequestBuilderPostRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.CitationTemplateable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *LabelsCitationsRequestBuilder) Post(ctx context.Context, body i084fa7ab } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.CitationTemplateable), nil } -// ToGetRequestInformation get a list of the citationTemplate objects and their properties. +// ToGetRequestInformation the specific rule or regulation created by a jurisdiction used to determine whether certain labels and content should be retained or deleted. // returns a *RequestInformation when successful func (m *LabelsCitationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LabelsCitationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *LabelsCitationsRequestBuilder) ToGetRequestInformation(ctx context.Cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new citationTemplate object. +// ToPostRequestInformation create new navigation property to citations for security // returns a *RequestInformation when successful func (m *LabelsCitationsRequestBuilder) ToPostRequestInformation(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.CitationTemplateable, requestConfiguration *LabelsCitationsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/labels_departments_department_template_item_request_builder.go b/security/labels_departments_department_template_item_request_builder.go index 44e62e08484..481a5002e21 100644 --- a/security/labels_departments_department_template_item_request_builder.go +++ b/security/labels_departments_department_template_item_request_builder.go @@ -18,7 +18,7 @@ type LabelsDepartmentsDepartmentTemplateItemRequestBuilderDeleteRequestConfigura // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// LabelsDepartmentsDepartmentTemplateItemRequestBuilderGetQueryParameters read the properties and relationships of a departmentTemplate object. +// LabelsDepartmentsDepartmentTemplateItemRequestBuilderGetQueryParameters specifies the department or business unit of an organization to which a label belongs. type LabelsDepartmentsDepartmentTemplateItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *LabelsDepartmentsDepartmentTemplateItemRequestBuilder) Delete(ctx conte } return nil } -// Get read the properties and relationships of a departmentTemplate object. +// Get specifies the department or business unit of an organization to which a label belongs. // returns a DepartmentTemplateable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-departmenttemplate-get?view=graph-rest-1.0 func (m *LabelsDepartmentsDepartmentTemplateItemRequestBuilder) Get(ctx context.Context, requestConfiguration *LabelsDepartmentsDepartmentTemplateItemRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.DepartmentTemplateable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *LabelsDepartmentsDepartmentTemplateItemRequestBuilder) ToDeleteRequestI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a departmentTemplate object. +// ToGetRequestInformation specifies the department or business unit of an organization to which a label belongs. // returns a *RequestInformation when successful func (m *LabelsDepartmentsDepartmentTemplateItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LabelsDepartmentsDepartmentTemplateItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/labels_departments_request_builder.go b/security/labels_departments_request_builder.go index 2f93fe79136..5c20ca525f5 100644 --- a/security/labels_departments_request_builder.go +++ b/security/labels_departments_request_builder.go @@ -11,7 +11,7 @@ import ( type LabelsDepartmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LabelsDepartmentsRequestBuilderGetQueryParameters get a list of the departmentTemplate objects and their properties. +// LabelsDepartmentsRequestBuilderGetQueryParameters specifies the department or business unit of an organization to which a label belongs. type LabelsDepartmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewLabelsDepartmentsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7 func (m *LabelsDepartmentsRequestBuilder) Count()(*LabelsDepartmentsCountRequestBuilder) { return NewLabelsDepartmentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the departmentTemplate objects and their properties. +// Get specifies the department or business unit of an organization to which a label belongs. // returns a DepartmentTemplateCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-labelsroot-list-departments?view=graph-rest-1.0 func (m *LabelsDepartmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *LabelsDepartmentsRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.DepartmentTemplateCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *LabelsDepartmentsRequestBuilder) Get(ctx context.Context, requestConfig } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.DepartmentTemplateCollectionResponseable), nil } -// Post create a new departmentTemplate object. +// Post create new navigation property to departments for security // returns a DepartmentTemplateable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-labelsroot-post-departments?view=graph-rest-1.0 func (m *LabelsDepartmentsRequestBuilder) Post(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.DepartmentTemplateable, requestConfiguration *LabelsDepartmentsRequestBuilderPostRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.DepartmentTemplateable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *LabelsDepartmentsRequestBuilder) Post(ctx context.Context, body i084fa7 } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.DepartmentTemplateable), nil } -// ToGetRequestInformation get a list of the departmentTemplate objects and their properties. +// ToGetRequestInformation specifies the department or business unit of an organization to which a label belongs. // returns a *RequestInformation when successful func (m *LabelsDepartmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LabelsDepartmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *LabelsDepartmentsRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new departmentTemplate object. +// ToPostRequestInformation create new navigation property to departments for security // returns a *RequestInformation when successful func (m *LabelsDepartmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.DepartmentTemplateable, requestConfiguration *LabelsDepartmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/labels_file_plan_references_file_plan_reference_template_item_request_builder.go b/security/labels_file_plan_references_file_plan_reference_template_item_request_builder.go index f51f57e707e..f448d354a35 100644 --- a/security/labels_file_plan_references_file_plan_reference_template_item_request_builder.go +++ b/security/labels_file_plan_references_file_plan_reference_template_item_request_builder.go @@ -18,7 +18,7 @@ type LabelsFilePlanReferencesFilePlanReferenceTemplateItemRequestBuilderDeleteRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// LabelsFilePlanReferencesFilePlanReferenceTemplateItemRequestBuilderGetQueryParameters read the properties and relationships of a filePlanReferenceTemplate object. +// LabelsFilePlanReferencesFilePlanReferenceTemplateItemRequestBuilderGetQueryParameters specifies a unique alpha-numeric identifier for an organization’s retention schedule. type LabelsFilePlanReferencesFilePlanReferenceTemplateItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *LabelsFilePlanReferencesFilePlanReferenceTemplateItemRequestBuilder) De } return nil } -// Get read the properties and relationships of a filePlanReferenceTemplate object. +// Get specifies a unique alpha-numeric identifier for an organization’s retention schedule. // returns a FilePlanReferenceTemplateable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-fileplanreferencetemplate-get?view=graph-rest-1.0 func (m *LabelsFilePlanReferencesFilePlanReferenceTemplateItemRequestBuilder) Get(ctx context.Context, requestConfiguration *LabelsFilePlanReferencesFilePlanReferenceTemplateItemRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.FilePlanReferenceTemplateable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *LabelsFilePlanReferencesFilePlanReferenceTemplateItemRequestBuilder) To requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a filePlanReferenceTemplate object. +// ToGetRequestInformation specifies a unique alpha-numeric identifier for an organization’s retention schedule. // returns a *RequestInformation when successful func (m *LabelsFilePlanReferencesFilePlanReferenceTemplateItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LabelsFilePlanReferencesFilePlanReferenceTemplateItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/labels_file_plan_references_request_builder.go b/security/labels_file_plan_references_request_builder.go index b6073cb9eac..2932d711816 100644 --- a/security/labels_file_plan_references_request_builder.go +++ b/security/labels_file_plan_references_request_builder.go @@ -11,7 +11,7 @@ import ( type LabelsFilePlanReferencesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LabelsFilePlanReferencesRequestBuilderGetQueryParameters get a list of the filePlanReferenceTemplate objects and their properties. +// LabelsFilePlanReferencesRequestBuilderGetQueryParameters specifies a unique alpha-numeric identifier for an organization’s retention schedule. type LabelsFilePlanReferencesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewLabelsFilePlanReferencesRequestBuilder(rawUrl string, requestAdapter i2a func (m *LabelsFilePlanReferencesRequestBuilder) Count()(*LabelsFilePlanReferencesCountRequestBuilder) { return NewLabelsFilePlanReferencesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the filePlanReferenceTemplate objects and their properties. +// Get specifies a unique alpha-numeric identifier for an organization’s retention schedule. // returns a FilePlanReferenceTemplateCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-labelsroot-list-fileplanreferences?view=graph-rest-1.0 func (m *LabelsFilePlanReferencesRequestBuilder) Get(ctx context.Context, requestConfiguration *LabelsFilePlanReferencesRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.FilePlanReferenceTemplateCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *LabelsFilePlanReferencesRequestBuilder) Get(ctx context.Context, reques } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.FilePlanReferenceTemplateCollectionResponseable), nil } -// Post create a new filePlanReferenceTemplate object. +// Post create new navigation property to filePlanReferences for security // returns a FilePlanReferenceTemplateable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-labelsroot-post-fileplanreferences?view=graph-rest-1.0 func (m *LabelsFilePlanReferencesRequestBuilder) Post(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.FilePlanReferenceTemplateable, requestConfiguration *LabelsFilePlanReferencesRequestBuilderPostRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.FilePlanReferenceTemplateable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *LabelsFilePlanReferencesRequestBuilder) Post(ctx context.Context, body } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.FilePlanReferenceTemplateable), nil } -// ToGetRequestInformation get a list of the filePlanReferenceTemplate objects and their properties. +// ToGetRequestInformation specifies a unique alpha-numeric identifier for an organization’s retention schedule. // returns a *RequestInformation when successful func (m *LabelsFilePlanReferencesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LabelsFilePlanReferencesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *LabelsFilePlanReferencesRequestBuilder) ToGetRequestInformation(ctx con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new filePlanReferenceTemplate object. +// ToPostRequestInformation create new navigation property to filePlanReferences for security // returns a *RequestInformation when successful func (m *LabelsFilePlanReferencesRequestBuilder) ToPostRequestInformation(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.FilePlanReferenceTemplateable, requestConfiguration *LabelsFilePlanReferencesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/labels_retention_labels_request_builder.go b/security/labels_retention_labels_request_builder.go index 9d8e7a3c0f5..bac07ff10be 100644 --- a/security/labels_retention_labels_request_builder.go +++ b/security/labels_retention_labels_request_builder.go @@ -11,7 +11,7 @@ import ( type LabelsRetentionLabelsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LabelsRetentionLabelsRequestBuilderGetQueryParameters get a list of the retentionLabel objects and their properties. +// LabelsRetentionLabelsRequestBuilderGetQueryParameters represents how customers can manage their data, whether and for how long to retain or delete it. type LabelsRetentionLabelsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewLabelsRetentionLabelsRequestBuilder(rawUrl string, requestAdapter i2ae41 func (m *LabelsRetentionLabelsRequestBuilder) Count()(*LabelsRetentionLabelsCountRequestBuilder) { return NewLabelsRetentionLabelsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the retentionLabel objects and their properties. +// Get represents how customers can manage their data, whether and for how long to retain or delete it. // returns a RetentionLabelCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-labelsroot-list-retentionlabel?view=graph-rest-1.0 func (m *LabelsRetentionLabelsRequestBuilder) Get(ctx context.Context, requestConfiguration *LabelsRetentionLabelsRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.RetentionLabelCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *LabelsRetentionLabelsRequestBuilder) Get(ctx context.Context, requestCo } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.RetentionLabelCollectionResponseable), nil } -// Post create a new retentionLabel object. To create a disposition review stage, include the actionAfterRetentionPeriod property in the request body with one of the possible values specified. +// Post create new navigation property to retentionLabels for security // returns a RetentionLabelable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-labelsroot-post-retentionlabel?view=graph-rest-1.0 func (m *LabelsRetentionLabelsRequestBuilder) Post(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.RetentionLabelable, requestConfiguration *LabelsRetentionLabelsRequestBuilderPostRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.RetentionLabelable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *LabelsRetentionLabelsRequestBuilder) Post(ctx context.Context, body i08 } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.RetentionLabelable), nil } -// ToGetRequestInformation get a list of the retentionLabel objects and their properties. +// ToGetRequestInformation represents how customers can manage their data, whether and for how long to retain or delete it. // returns a *RequestInformation when successful func (m *LabelsRetentionLabelsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LabelsRetentionLabelsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *LabelsRetentionLabelsRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new retentionLabel object. To create a disposition review stage, include the actionAfterRetentionPeriod property in the request body with one of the possible values specified. +// ToPostRequestInformation create new navigation property to retentionLabels for security // returns a *RequestInformation when successful func (m *LabelsRetentionLabelsRequestBuilder) ToPostRequestInformation(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.RetentionLabelable, requestConfiguration *LabelsRetentionLabelsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/labels_retention_labels_retention_label_item_request_builder.go b/security/labels_retention_labels_retention_label_item_request_builder.go index 1e79d968776..1b4a1f2a8ed 100644 --- a/security/labels_retention_labels_retention_label_item_request_builder.go +++ b/security/labels_retention_labels_retention_label_item_request_builder.go @@ -54,11 +54,8 @@ func NewLabelsRetentionLabelsRetentionLabelItemRequestBuilder(rawUrl string, req urlParams["request-raw-url"] = rawUrl return NewLabelsRetentionLabelsRetentionLabelItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a retentionLabel object. +// Delete delete navigation property retentionLabels for security // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-retentionlabel-delete?view=graph-rest-1.0 func (m *LabelsRetentionLabelsRetentionLabelItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *LabelsRetentionLabelsRetentionLabelItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -103,12 +100,9 @@ func (m *LabelsRetentionLabelsRetentionLabelItemRequestBuilder) Get(ctx context. } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.RetentionLabelable), nil } -// Patch update the properties of a retentionLabel object. To update a disposition review stage, include the actionAfterRetentionPeriod property in the request body with one of the possible values specified. +// Patch update the navigation property retentionLabels in security // returns a RetentionLabelable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-retentionlabel-update?view=graph-rest-1.0 func (m *LabelsRetentionLabelsRetentionLabelItemRequestBuilder) Patch(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.RetentionLabelable, requestConfiguration *LabelsRetentionLabelsRetentionLabelItemRequestBuilderPatchRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.RetentionLabelable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -131,7 +125,7 @@ func (m *LabelsRetentionLabelsRetentionLabelItemRequestBuilder) Patch(ctx contex func (m *LabelsRetentionLabelsRetentionLabelItemRequestBuilder) RetentionEventType()(*LabelsRetentionLabelsItemRetentionEventTypeRequestBuilder) { return NewLabelsRetentionLabelsItemRetentionEventTypeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a retentionLabel object. +// ToDeleteRequestInformation delete navigation property retentionLabels for security // returns a *RequestInformation when successful func (m *LabelsRetentionLabelsRetentionLabelItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *LabelsRetentionLabelsRetentionLabelItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -156,7 +150,7 @@ func (m *LabelsRetentionLabelsRetentionLabelItemRequestBuilder) ToGetRequestInfo requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a retentionLabel object. To update a disposition review stage, include the actionAfterRetentionPeriod property in the request body with one of the possible values specified. +// ToPatchRequestInformation update the navigation property retentionLabels in security // returns a *RequestInformation when successful func (m *LabelsRetentionLabelsRetentionLabelItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.RetentionLabelable, requestConfiguration *LabelsRetentionLabelsRetentionLabelItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/rules_detection_rules_request_builder.go b/security/rules_detection_rules_request_builder.go index d5bd4f06865..64ed3ffe857 100644 --- a/security/rules_detection_rules_request_builder.go +++ b/security/rules_detection_rules_request_builder.go @@ -11,7 +11,7 @@ import ( type RulesDetectionRulesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// RulesDetectionRulesRequestBuilderGetQueryParameters get a list of custom detection rules.With custom detections, you can proactively monitor for and respond to various events and system states, including suspected breach activity and misconfigured assets in their organization network.Custom detection rules, which are written in Kusto query language (KQL), automatically trigger alerts and response actions once there are events matching their KQL queries. +// RulesDetectionRulesRequestBuilderGetQueryParameters get detectionRules from security type RulesDetectionRulesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewRulesDetectionRulesRequestBuilder(rawUrl string, requestAdapter i2ae4187 func (m *RulesDetectionRulesRequestBuilder) Count()(*RulesDetectionRulesCountRequestBuilder) { return NewRulesDetectionRulesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of custom detection rules.With custom detections, you can proactively monitor for and respond to various events and system states, including suspected breach activity and misconfigured assets in their organization network.Custom detection rules, which are written in Kusto query language (KQL), automatically trigger alerts and response actions once there are events matching their KQL queries. +// Get get detectionRules from security // returns a DetectionRuleCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-detectionrule-list?view=graph-rest-1.0 func (m *RulesDetectionRulesRequestBuilder) Get(ctx context.Context, requestConfiguration *RulesDetectionRulesRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.DetectionRuleCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *RulesDetectionRulesRequestBuilder) Post(ctx context.Context, body i084f } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.DetectionRuleable), nil } -// ToGetRequestInformation get a list of custom detection rules.With custom detections, you can proactively monitor for and respond to various events and system states, including suspected breach activity and misconfigured assets in their organization network.Custom detection rules, which are written in Kusto query language (KQL), automatically trigger alerts and response actions once there are events matching their KQL queries. +// ToGetRequestInformation get detectionRules from security // returns a *RequestInformation when successful func (m *RulesDetectionRulesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RulesDetectionRulesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/secure_score_control_profiles_request_builder.go b/security/secure_score_control_profiles_request_builder.go index a099181a1a2..21b4a9d1273 100644 --- a/security/secure_score_control_profiles_request_builder.go +++ b/security/secure_score_control_profiles_request_builder.go @@ -11,7 +11,7 @@ import ( type SecureScoreControlProfilesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// SecureScoreControlProfilesRequestBuilderGetQueryParameters retrieves a list of secureScoreControlProfile objects for a tenant. +// SecureScoreControlProfilesRequestBuilderGetQueryParameters get secureScoreControlProfiles from security type SecureScoreControlProfilesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewSecureScoreControlProfilesRequestBuilder(rawUrl string, requestAdapter i func (m *SecureScoreControlProfilesRequestBuilder) Count()(*SecureScoreControlProfilesCountRequestBuilder) { return NewSecureScoreControlProfilesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieves a list of secureScoreControlProfile objects for a tenant. +// Get get secureScoreControlProfiles from security // returns a SecureScoreControlProfileCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/securescorecontrolprofiles-list?view=graph-rest-1.0 func (m *SecureScoreControlProfilesRequestBuilder) Get(ctx context.Context, requestConfiguration *SecureScoreControlProfilesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SecureScoreControlProfileCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *SecureScoreControlProfilesRequestBuilder) Post(ctx context.Context, bod } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SecureScoreControlProfileable), nil } -// ToGetRequestInformation retrieves a list of secureScoreControlProfile objects for a tenant. +// ToGetRequestInformation get secureScoreControlProfiles from security // returns a *RequestInformation when successful func (m *SecureScoreControlProfilesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SecureScoreControlProfilesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/secure_score_control_profiles_secure_score_control_profile_item_request_builder.go b/security/secure_score_control_profiles_secure_score_control_profile_item_request_builder.go index ae097bdb455..bfd4cd20950 100644 --- a/security/secure_score_control_profiles_secure_score_control_profile_item_request_builder.go +++ b/security/secure_score_control_profiles_secure_score_control_profile_item_request_builder.go @@ -90,12 +90,9 @@ func (m *SecureScoreControlProfilesSecureScoreControlProfileItemRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SecureScoreControlProfileable), nil } -// Patch update an editable secureScoreControlProfiles property within any integrated solution to change various properties, such as assignedTo or tenantNote. +// Patch update the navigation property secureScoreControlProfiles in security // returns a SecureScoreControlProfileable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/securescorecontrolprofiles-update?view=graph-rest-1.0 func (m *SecureScoreControlProfilesSecureScoreControlProfileItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SecureScoreControlProfileable, requestConfiguration *SecureScoreControlProfilesSecureScoreControlProfileItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SecureScoreControlProfileable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -138,7 +135,7 @@ func (m *SecureScoreControlProfilesSecureScoreControlProfileItemRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update an editable secureScoreControlProfiles property within any integrated solution to change various properties, such as assignedTo or tenantNote. +// ToPatchRequestInformation update the navigation property secureScoreControlProfiles in security // returns a *RequestInformation when successful func (m *SecureScoreControlProfilesSecureScoreControlProfileItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SecureScoreControlProfileable, requestConfiguration *SecureScoreControlProfilesSecureScoreControlProfileItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/secure_scores_request_builder.go b/security/secure_scores_request_builder.go index 8061988875d..2bee9c5be8a 100644 --- a/security/secure_scores_request_builder.go +++ b/security/secure_scores_request_builder.go @@ -11,7 +11,7 @@ import ( type SecureScoresRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// SecureScoresRequestBuilderGetQueryParameters retrieve the properties and relationships of a secureScores object. +// SecureScoresRequestBuilderGetQueryParameters measurements of tenants’ security posture to help protect them from threats. type SecureScoresRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewSecureScoresRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee2 func (m *SecureScoresRequestBuilder) Count()(*SecureScoresCountRequestBuilder) { return NewSecureScoresCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties and relationships of a secureScores object. +// Get measurements of tenants’ security posture to help protect them from threats. // returns a SecureScoreCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/securescores-list?view=graph-rest-1.0 func (m *SecureScoresRequestBuilder) Get(ctx context.Context, requestConfiguration *SecureScoresRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SecureScoreCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *SecureScoresRequestBuilder) Post(ctx context.Context, body ie233ee762e2 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SecureScoreable), nil } -// ToGetRequestInformation retrieve the properties and relationships of a secureScores object. +// ToGetRequestInformation measurements of tenants’ security posture to help protect them from threats. // returns a *RequestInformation when successful func (m *SecureScoresRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SecureScoresRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/security_actions_item_cancel_security_action_request_builder.go b/security/security_actions_item_cancel_security_action_request_builder.go index 71936bf5103..5c23b4d2f48 100644 --- a/security/security_actions_item_cancel_security_action_request_builder.go +++ b/security/security_actions_item_cancel_security_action_request_builder.go @@ -34,7 +34,7 @@ func NewSecurityActionsItemCancelSecurityActionRequestBuilder(rawUrl string, req // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/securityaction-cancelsecurityaction?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/securityaction-cancelsecurityaction?view=graph-rest-beta func (m *SecurityActionsItemCancelSecurityActionRequestBuilder) Post(ctx context.Context, requestConfiguration *SecurityActionsItemCancelSecurityActionRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/security/security_actions_request_builder.go b/security/security_actions_request_builder.go index dee7a17cab7..ae4a7a3d84c 100644 --- a/security/security_actions_request_builder.go +++ b/security/security_actions_request_builder.go @@ -11,7 +11,7 @@ import ( type SecurityActionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// SecurityActionsRequestBuilderGetQueryParameters retrieve a list of securityAction objects. +// SecurityActionsRequestBuilderGetQueryParameters get securityActions from security type SecurityActionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewSecurityActionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7da func (m *SecurityActionsRequestBuilder) Count()(*SecurityActionsCountRequestBuilder) { return NewSecurityActionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of securityAction objects. +// Get get securityActions from security // returns a SecurityActionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/securityactions-list?view=graph-rest-1.0 func (m *SecurityActionsRequestBuilder) Get(ctx context.Context, requestConfiguration *SecurityActionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SecurityActionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *SecurityActionsRequestBuilder) Get(ctx context.Context, requestConfigur } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SecurityActionCollectionResponseable), nil } -// Post create a new securityAction object. +// Post create new navigation property to securityActions for security // returns a SecurityActionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/securityactions-post?view=graph-rest-1.0 func (m *SecurityActionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SecurityActionable, requestConfiguration *SecurityActionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SecurityActionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *SecurityActionsRequestBuilder) Post(ctx context.Context, body ie233ee76 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SecurityActionable), nil } -// ToGetRequestInformation retrieve a list of securityAction objects. +// ToGetRequestInformation get securityActions from security // returns a *RequestInformation when successful func (m *SecurityActionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SecurityActionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *SecurityActionsRequestBuilder) ToGetRequestInformation(ctx context.Cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new securityAction object. +// ToPostRequestInformation create new navigation property to securityActions for security // returns a *RequestInformation when successful func (m *SecurityActionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SecurityActionable, requestConfiguration *SecurityActionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/security_actions_security_action_item_request_builder.go b/security/security_actions_security_action_item_request_builder.go index 68eff71c2a9..7847146378a 100644 --- a/security/security_actions_security_action_item_request_builder.go +++ b/security/security_actions_security_action_item_request_builder.go @@ -18,7 +18,7 @@ type SecurityActionsSecurityActionItemRequestBuilderDeleteRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// SecurityActionsSecurityActionItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a securityAction object. +// SecurityActionsSecurityActionItemRequestBuilderGetQueryParameters get securityActions from security type SecurityActionsSecurityActionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *SecurityActionsSecurityActionItemRequestBuilder) Delete(ctx context.Con } return nil } -// Get retrieve the properties and relationships of a securityAction object. +// Get get securityActions from security // returns a SecurityActionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/securityaction-get?view=graph-rest-1.0 func (m *SecurityActionsSecurityActionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *SecurityActionsSecurityActionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SecurityActionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *SecurityActionsSecurityActionItemRequestBuilder) ToDeleteRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a securityAction object. +// ToGetRequestInformation get securityActions from security // returns a *RequestInformation when successful func (m *SecurityActionsSecurityActionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SecurityActionsSecurityActionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/subject_rights_requests_item_get_final_attachment_request_builder.go b/security/subject_rights_requests_item_get_final_attachment_request_builder.go index 5c9a36ac19b..bbc91bdbf9a 100644 --- a/security/subject_rights_requests_item_get_final_attachment_request_builder.go +++ b/security/subject_rights_requests_item_get_final_attachment_request_builder.go @@ -30,9 +30,12 @@ func NewSubjectRightsRequestsItemGetFinalAttachmentRequestBuilder(rawUrl string, urlParams["request-raw-url"] = rawUrl return NewSubjectRightsRequestsItemGetFinalAttachmentRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getFinalAttachment +// Get get the final attachment for a subject rights request. The attachment is a zip file that contains all the files that were included by the privacy administrator. // 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/subjectrightsrequest-getfinalattachment?view=graph-rest-beta func (m *SubjectRightsRequestsItemGetFinalAttachmentRequestBuilder) Get(ctx context.Context, requestConfiguration *SubjectRightsRequestsItemGetFinalAttachmentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -50,7 +53,7 @@ func (m *SubjectRightsRequestsItemGetFinalAttachmentRequestBuilder) Get(ctx cont } return res.([]byte), nil } -// ToGetRequestInformation invoke function getFinalAttachment +// ToGetRequestInformation get the final attachment for a subject rights request. The attachment is a zip file that contains all the files that were included by the privacy administrator. // returns a *RequestInformation when successful func (m *SubjectRightsRequestsItemGetFinalAttachmentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SubjectRightsRequestsItemGetFinalAttachmentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/subject_rights_requests_item_get_final_report_request_builder.go b/security/subject_rights_requests_item_get_final_report_request_builder.go index e4355f483c4..234d69ba4b9 100644 --- a/security/subject_rights_requests_item_get_final_report_request_builder.go +++ b/security/subject_rights_requests_item_get_final_report_request_builder.go @@ -30,9 +30,12 @@ func NewSubjectRightsRequestsItemGetFinalReportRequestBuilder(rawUrl string, req urlParams["request-raw-url"] = rawUrl return NewSubjectRightsRequestsItemGetFinalReportRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getFinalReport +// Get get the final report for a subject rights request. The report is a text file that contains information about the files that were included by the privacy administrator. // 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/subjectrightsrequest-getfinalreport?view=graph-rest-beta func (m *SubjectRightsRequestsItemGetFinalReportRequestBuilder) Get(ctx context.Context, requestConfiguration *SubjectRightsRequestsItemGetFinalReportRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -50,7 +53,7 @@ func (m *SubjectRightsRequestsItemGetFinalReportRequestBuilder) Get(ctx context. } return res.([]byte), nil } -// ToGetRequestInformation invoke function getFinalReport +// ToGetRequestInformation get the final report for a subject rights request. The report is a text file that contains information about the files that were included by the privacy administrator. // returns a *RequestInformation when successful func (m *SubjectRightsRequestsItemGetFinalReportRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SubjectRightsRequestsItemGetFinalReportRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/subject_rights_requests_item_notes_request_builder.go b/security/subject_rights_requests_item_notes_request_builder.go index 84071a2aeae..1aa7c6c01d4 100644 --- a/security/subject_rights_requests_item_notes_request_builder.go +++ b/security/subject_rights_requests_item_notes_request_builder.go @@ -11,7 +11,7 @@ import ( type SubjectRightsRequestsItemNotesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// SubjectRightsRequestsItemNotesRequestBuilderGetQueryParameters get the list of authored notes associated with a subject rights request. +// SubjectRightsRequestsItemNotesRequestBuilderGetQueryParameters list of notes associated with the request. type SubjectRightsRequestsItemNotesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewSubjectRightsRequestsItemNotesRequestBuilder(rawUrl string, requestAdapt func (m *SubjectRightsRequestsItemNotesRequestBuilder) Count()(*SubjectRightsRequestsItemNotesCountRequestBuilder) { return NewSubjectRightsRequestsItemNotesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of authored notes associated with a subject rights request. +// Get list of notes associated with the request. // returns a AuthoredNoteCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/subjectrightsrequest-list-notes?view=graph-rest-1.0 func (m *SubjectRightsRequestsItemNotesRequestBuilder) Get(ctx context.Context, requestConfiguration *SubjectRightsRequestsItemNotesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthoredNoteCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *SubjectRightsRequestsItemNotesRequestBuilder) Get(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthoredNoteCollectionResponseable), nil } -// Post create a new authoredNote object. +// Post create new navigation property to notes for security // returns a AuthoredNoteable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/subjectrightsrequest-post-notes?view=graph-rest-1.0 func (m *SubjectRightsRequestsItemNotesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthoredNoteable, requestConfiguration *SubjectRightsRequestsItemNotesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthoredNoteable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *SubjectRightsRequestsItemNotesRequestBuilder) Post(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthoredNoteable), nil } -// ToGetRequestInformation get the list of authored notes associated with a subject rights request. +// ToGetRequestInformation list of notes associated with the request. // returns a *RequestInformation when successful func (m *SubjectRightsRequestsItemNotesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SubjectRightsRequestsItemNotesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *SubjectRightsRequestsItemNotesRequestBuilder) ToGetRequestInformation(c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new authoredNote object. +// ToPostRequestInformation create new navigation property to notes for security // returns a *RequestInformation when successful func (m *SubjectRightsRequestsItemNotesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthoredNoteable, requestConfiguration *SubjectRightsRequestsItemNotesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/threat_intelligence_article_indicators_article_indicator_item_request_builder.go b/security/threat_intelligence_article_indicators_article_indicator_item_request_builder.go index b0904c45b1b..e132ca2080b 100644 --- a/security/threat_intelligence_article_indicators_article_indicator_item_request_builder.go +++ b/security/threat_intelligence_article_indicators_article_indicator_item_request_builder.go @@ -18,7 +18,7 @@ type ThreatIntelligenceArticleIndicatorsArticleIndicatorItemRequestBuilderDelete // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ThreatIntelligenceArticleIndicatorsArticleIndicatorItemRequestBuilderGetQueryParameters read the properties and relationships of an articleIndicator object. +// ThreatIntelligenceArticleIndicatorsArticleIndicatorItemRequestBuilderGetQueryParameters refers to indicators of threat or compromise highlighted in an article.Note: List retrieval is not yet supported. type ThreatIntelligenceArticleIndicatorsArticleIndicatorItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *ThreatIntelligenceArticleIndicatorsArticleIndicatorItemRequestBuilder) } return nil } -// Get read the properties and relationships of an articleIndicator object. +// Get refers to indicators of threat or compromise highlighted in an article.Note: List retrieval is not yet supported. // returns a ArticleIndicatorable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-articleindicator-get?view=graph-rest-1.0 func (m *ThreatIntelligenceArticleIndicatorsArticleIndicatorItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceArticleIndicatorsArticleIndicatorItemRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.ArticleIndicatorable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *ThreatIntelligenceArticleIndicatorsArticleIndicatorItemRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an articleIndicator object. +// ToGetRequestInformation refers to indicators of threat or compromise highlighted in an article.Note: List retrieval is not yet supported. // returns a *RequestInformation when successful func (m *ThreatIntelligenceArticleIndicatorsArticleIndicatorItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceArticleIndicatorsArticleIndicatorItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/threat_intelligence_article_indicators_request_builder.go b/security/threat_intelligence_article_indicators_request_builder.go index 5f8a3a81c38..a2f5a3f70e9 100644 --- a/security/threat_intelligence_article_indicators_request_builder.go +++ b/security/threat_intelligence_article_indicators_request_builder.go @@ -11,7 +11,7 @@ import ( type ThreatIntelligenceArticleIndicatorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ThreatIntelligenceArticleIndicatorsRequestBuilderGetQueryParameters read the properties and relationships of an articleIndicator object. +// ThreatIntelligenceArticleIndicatorsRequestBuilderGetQueryParameters refers to indicators of threat or compromise highlighted in an article.Note: List retrieval is not yet supported. type ThreatIntelligenceArticleIndicatorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewThreatIntelligenceArticleIndicatorsRequestBuilder(rawUrl string, request func (m *ThreatIntelligenceArticleIndicatorsRequestBuilder) Count()(*ThreatIntelligenceArticleIndicatorsCountRequestBuilder) { return NewThreatIntelligenceArticleIndicatorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of an articleIndicator object. +// Get refers to indicators of threat or compromise highlighted in an article.Note: List retrieval is not yet supported. // returns a ArticleIndicatorCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ThreatIntelligenceArticleIndicatorsRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceArticleIndicatorsRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.ArticleIndicatorCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *ThreatIntelligenceArticleIndicatorsRequestBuilder) Post(ctx context.Con } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.ArticleIndicatorable), nil } -// ToGetRequestInformation read the properties and relationships of an articleIndicator object. +// ToGetRequestInformation refers to indicators of threat or compromise highlighted in an article.Note: List retrieval is not yet supported. // returns a *RequestInformation when successful func (m *ThreatIntelligenceArticleIndicatorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceArticleIndicatorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/threat_intelligence_articles_article_item_request_builder.go b/security/threat_intelligence_articles_article_item_request_builder.go index c887e30dca5..ac6ed7ba59f 100644 --- a/security/threat_intelligence_articles_article_item_request_builder.go +++ b/security/threat_intelligence_articles_article_item_request_builder.go @@ -18,7 +18,7 @@ type ThreatIntelligenceArticlesArticleItemRequestBuilderDeleteRequestConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ThreatIntelligenceArticlesArticleItemRequestBuilderGetQueryParameters read the properties and relationships of an article object. +// ThreatIntelligenceArticlesArticleItemRequestBuilderGetQueryParameters a list of article objects. type ThreatIntelligenceArticlesArticleItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ThreatIntelligenceArticlesArticleItemRequestBuilder) Delete(ctx context } return nil } -// Get read the properties and relationships of an article object. +// Get a list of article objects. // returns a Articleable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-article-get?view=graph-rest-1.0 func (m *ThreatIntelligenceArticlesArticleItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceArticlesArticleItemRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.Articleable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *ThreatIntelligenceArticlesArticleItemRequestBuilder) ToDeleteRequestInf requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an article object. +// ToGetRequestInformation a list of article objects. // returns a *RequestInformation when successful func (m *ThreatIntelligenceArticlesArticleItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceArticlesArticleItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/threat_intelligence_articles_item_indicators_request_builder.go b/security/threat_intelligence_articles_item_indicators_request_builder.go index 43c94693f9b..dcc1f55862e 100644 --- a/security/threat_intelligence_articles_item_indicators_request_builder.go +++ b/security/threat_intelligence_articles_item_indicators_request_builder.go @@ -11,7 +11,7 @@ import ( type ThreatIntelligenceArticlesItemIndicatorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ThreatIntelligenceArticlesItemIndicatorsRequestBuilderGetQueryParameters get a list of articleIndicator objects that represent indicators of threat or compromise related to the contents of an article. +// ThreatIntelligenceArticlesItemIndicatorsRequestBuilderGetQueryParameters indicators related to this article. type ThreatIntelligenceArticlesItemIndicatorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewThreatIntelligenceArticlesItemIndicatorsRequestBuilder(rawUrl string, re func (m *ThreatIntelligenceArticlesItemIndicatorsRequestBuilder) Count()(*ThreatIntelligenceArticlesItemIndicatorsCountRequestBuilder) { return NewThreatIntelligenceArticlesItemIndicatorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of articleIndicator objects that represent indicators of threat or compromise related to the contents of an article. +// Get indicators related to this article. // returns a ArticleIndicatorCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-article-list-indicators?view=graph-rest-1.0 func (m *ThreatIntelligenceArticlesItemIndicatorsRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceArticlesItemIndicatorsRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.ArticleIndicatorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *ThreatIntelligenceArticlesItemIndicatorsRequestBuilder) Get(ctx context } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.ArticleIndicatorCollectionResponseable), nil } -// ToGetRequestInformation get a list of articleIndicator objects that represent indicators of threat or compromise related to the contents of an article. +// ToGetRequestInformation indicators related to this article. // returns a *RequestInformation when successful func (m *ThreatIntelligenceArticlesItemIndicatorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceArticlesItemIndicatorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/threat_intelligence_articles_request_builder.go b/security/threat_intelligence_articles_request_builder.go index 88ad29bb4e0..40ce292086a 100644 --- a/security/threat_intelligence_articles_request_builder.go +++ b/security/threat_intelligence_articles_request_builder.go @@ -11,7 +11,7 @@ import ( type ThreatIntelligenceArticlesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ThreatIntelligenceArticlesRequestBuilderGetQueryParameters get a list of article objects, including their properties and relationships. +// ThreatIntelligenceArticlesRequestBuilderGetQueryParameters a list of article objects. type ThreatIntelligenceArticlesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewThreatIntelligenceArticlesRequestBuilder(rawUrl string, requestAdapter i func (m *ThreatIntelligenceArticlesRequestBuilder) Count()(*ThreatIntelligenceArticlesCountRequestBuilder) { return NewThreatIntelligenceArticlesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of article objects, including their properties and relationships. +// Get a list of article objects. // returns a ArticleCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-threatintelligence-list-articles?view=graph-rest-1.0 func (m *ThreatIntelligenceArticlesRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceArticlesRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.ArticleCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ThreatIntelligenceArticlesRequestBuilder) Post(ctx context.Context, bod } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.Articleable), nil } -// ToGetRequestInformation get a list of article objects, including their properties and relationships. +// ToGetRequestInformation a list of article objects. // returns a *RequestInformation when successful func (m *ThreatIntelligenceArticlesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceArticlesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/threat_intelligence_host_components_host_component_item_request_builder.go b/security/threat_intelligence_host_components_host_component_item_request_builder.go index 33ca5f7f877..d10a236d05a 100644 --- a/security/threat_intelligence_host_components_host_component_item_request_builder.go +++ b/security/threat_intelligence_host_components_host_component_item_request_builder.go @@ -18,7 +18,7 @@ type ThreatIntelligenceHostComponentsHostComponentItemRequestBuilderDeleteReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ThreatIntelligenceHostComponentsHostComponentItemRequestBuilderGetQueryParameters read the properties and relationships of a hostComponent object. +// ThreatIntelligenceHostComponentsHostComponentItemRequestBuilderGetQueryParameters retrieve details about hostComponent objects.Note: List retrieval is not yet supported. type ThreatIntelligenceHostComponentsHostComponentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ThreatIntelligenceHostComponentsHostComponentItemRequestBuilder) Delete } return nil } -// Get read the properties and relationships of a hostComponent object. +// Get retrieve details about hostComponent objects.Note: List retrieval is not yet supported. // returns a HostComponentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-hostcomponent-get?view=graph-rest-1.0 func (m *ThreatIntelligenceHostComponentsHostComponentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceHostComponentsHostComponentItemRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HostComponentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *ThreatIntelligenceHostComponentsHostComponentItemRequestBuilder) ToDele requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a hostComponent object. +// ToGetRequestInformation retrieve details about hostComponent objects.Note: List retrieval is not yet supported. // returns a *RequestInformation when successful func (m *ThreatIntelligenceHostComponentsHostComponentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceHostComponentsHostComponentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/threat_intelligence_host_components_request_builder.go b/security/threat_intelligence_host_components_request_builder.go index 4ac4f0f94a6..cae60fce0f2 100644 --- a/security/threat_intelligence_host_components_request_builder.go +++ b/security/threat_intelligence_host_components_request_builder.go @@ -11,7 +11,7 @@ import ( type ThreatIntelligenceHostComponentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ThreatIntelligenceHostComponentsRequestBuilderGetQueryParameters read the properties and relationships of a hostComponent object. +// ThreatIntelligenceHostComponentsRequestBuilderGetQueryParameters retrieve details about hostComponent objects.Note: List retrieval is not yet supported. type ThreatIntelligenceHostComponentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewThreatIntelligenceHostComponentsRequestBuilder(rawUrl string, requestAda func (m *ThreatIntelligenceHostComponentsRequestBuilder) Count()(*ThreatIntelligenceHostComponentsCountRequestBuilder) { return NewThreatIntelligenceHostComponentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of a hostComponent object. +// Get retrieve details about hostComponent objects.Note: List retrieval is not yet supported. // returns a HostComponentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ThreatIntelligenceHostComponentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceHostComponentsRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HostComponentCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *ThreatIntelligenceHostComponentsRequestBuilder) Post(ctx context.Contex } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HostComponentable), nil } -// ToGetRequestInformation read the properties and relationships of a hostComponent object. +// ToGetRequestInformation retrieve details about hostComponent objects.Note: List retrieval is not yet supported. // returns a *RequestInformation when successful func (m *ThreatIntelligenceHostComponentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceHostComponentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/threat_intelligence_host_cookies_host_cookie_item_request_builder.go b/security/threat_intelligence_host_cookies_host_cookie_item_request_builder.go index 7c51dc1a7f8..2334cd715d8 100644 --- a/security/threat_intelligence_host_cookies_host_cookie_item_request_builder.go +++ b/security/threat_intelligence_host_cookies_host_cookie_item_request_builder.go @@ -18,7 +18,7 @@ type ThreatIntelligenceHostCookiesHostCookieItemRequestBuilderDeleteRequestConfi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ThreatIntelligenceHostCookiesHostCookieItemRequestBuilderGetQueryParameters read the properties and relationships of a hostCookie object. +// ThreatIntelligenceHostCookiesHostCookieItemRequestBuilderGetQueryParameters retrieve details about hostCookie objects.Note: List retrieval is not yet supported. type ThreatIntelligenceHostCookiesHostCookieItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ThreatIntelligenceHostCookiesHostCookieItemRequestBuilder) Delete(ctx c } return nil } -// Get read the properties and relationships of a hostCookie object. +// Get retrieve details about hostCookie objects.Note: List retrieval is not yet supported. // returns a HostCookieable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-hostcookie-get?view=graph-rest-1.0 func (m *ThreatIntelligenceHostCookiesHostCookieItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceHostCookiesHostCookieItemRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HostCookieable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *ThreatIntelligenceHostCookiesHostCookieItemRequestBuilder) ToDeleteRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a hostCookie object. +// ToGetRequestInformation retrieve details about hostCookie objects.Note: List retrieval is not yet supported. // returns a *RequestInformation when successful func (m *ThreatIntelligenceHostCookiesHostCookieItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceHostCookiesHostCookieItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/threat_intelligence_host_cookies_request_builder.go b/security/threat_intelligence_host_cookies_request_builder.go index 8cf2fc45d72..28448d822b7 100644 --- a/security/threat_intelligence_host_cookies_request_builder.go +++ b/security/threat_intelligence_host_cookies_request_builder.go @@ -11,7 +11,7 @@ import ( type ThreatIntelligenceHostCookiesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ThreatIntelligenceHostCookiesRequestBuilderGetQueryParameters read the properties and relationships of a hostCookie object. +// ThreatIntelligenceHostCookiesRequestBuilderGetQueryParameters retrieve details about hostCookie objects.Note: List retrieval is not yet supported. type ThreatIntelligenceHostCookiesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewThreatIntelligenceHostCookiesRequestBuilder(rawUrl string, requestAdapte func (m *ThreatIntelligenceHostCookiesRequestBuilder) Count()(*ThreatIntelligenceHostCookiesCountRequestBuilder) { return NewThreatIntelligenceHostCookiesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of a hostCookie object. +// Get retrieve details about hostCookie objects.Note: List retrieval is not yet supported. // returns a HostCookieCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ThreatIntelligenceHostCookiesRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceHostCookiesRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HostCookieCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *ThreatIntelligenceHostCookiesRequestBuilder) Post(ctx context.Context, } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HostCookieable), nil } -// ToGetRequestInformation read the properties and relationships of a hostCookie object. +// ToGetRequestInformation retrieve details about hostCookie objects.Note: List retrieval is not yet supported. // returns a *RequestInformation when successful func (m *ThreatIntelligenceHostCookiesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceHostCookiesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/threat_intelligence_host_pairs_host_pair_item_request_builder.go b/security/threat_intelligence_host_pairs_host_pair_item_request_builder.go index 804da6692d5..e70345c4d9e 100644 --- a/security/threat_intelligence_host_pairs_host_pair_item_request_builder.go +++ b/security/threat_intelligence_host_pairs_host_pair_item_request_builder.go @@ -18,7 +18,7 @@ type ThreatIntelligenceHostPairsHostPairItemRequestBuilderDeleteRequestConfigura // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ThreatIntelligenceHostPairsHostPairItemRequestBuilderGetQueryParameters read the properties and relationships of a hostPair object. +// ThreatIntelligenceHostPairsHostPairItemRequestBuilderGetQueryParameters retrieve details about hostTracker objects.Note: List retrieval is not yet supported. type ThreatIntelligenceHostPairsHostPairItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *ThreatIntelligenceHostPairsHostPairItemRequestBuilder) Delete(ctx conte } return nil } -// Get read the properties and relationships of a hostPair object. +// Get retrieve details about hostTracker objects.Note: List retrieval is not yet supported. // returns a HostPairable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-hostpair-get?view=graph-rest-1.0 func (m *ThreatIntelligenceHostPairsHostPairItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceHostPairsHostPairItemRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HostPairable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -134,7 +131,7 @@ func (m *ThreatIntelligenceHostPairsHostPairItemRequestBuilder) ToDeleteRequestI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a hostPair object. +// ToGetRequestInformation retrieve details about hostTracker objects.Note: List retrieval is not yet supported. // returns a *RequestInformation when successful func (m *ThreatIntelligenceHostPairsHostPairItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceHostPairsHostPairItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/threat_intelligence_host_pairs_request_builder.go b/security/threat_intelligence_host_pairs_request_builder.go index a4a86a3cbfd..5daa7892a67 100644 --- a/security/threat_intelligence_host_pairs_request_builder.go +++ b/security/threat_intelligence_host_pairs_request_builder.go @@ -11,7 +11,7 @@ import ( type ThreatIntelligenceHostPairsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ThreatIntelligenceHostPairsRequestBuilderGetQueryParameters read the properties and relationships of a hostPair object. +// ThreatIntelligenceHostPairsRequestBuilderGetQueryParameters retrieve details about hostTracker objects.Note: List retrieval is not yet supported. type ThreatIntelligenceHostPairsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewThreatIntelligenceHostPairsRequestBuilder(rawUrl string, requestAdapter func (m *ThreatIntelligenceHostPairsRequestBuilder) Count()(*ThreatIntelligenceHostPairsCountRequestBuilder) { return NewThreatIntelligenceHostPairsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of a hostPair object. +// Get retrieve details about hostTracker objects.Note: List retrieval is not yet supported. // returns a HostPairCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ThreatIntelligenceHostPairsRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceHostPairsRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HostPairCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *ThreatIntelligenceHostPairsRequestBuilder) Post(ctx context.Context, bo } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HostPairable), nil } -// ToGetRequestInformation read the properties and relationships of a hostPair object. +// ToGetRequestInformation retrieve details about hostTracker objects.Note: List retrieval is not yet supported. // returns a *RequestInformation when successful func (m *ThreatIntelligenceHostPairsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceHostPairsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/threat_intelligence_host_ports_host_port_item_request_builder.go b/security/threat_intelligence_host_ports_host_port_item_request_builder.go index 0583670fb4f..cb949137d19 100644 --- a/security/threat_intelligence_host_ports_host_port_item_request_builder.go +++ b/security/threat_intelligence_host_ports_host_port_item_request_builder.go @@ -18,7 +18,7 @@ type ThreatIntelligenceHostPortsHostPortItemRequestBuilderDeleteRequestConfigura // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ThreatIntelligenceHostPortsHostPortItemRequestBuilderGetQueryParameters read the properties and relationships of a hostPort object. +// ThreatIntelligenceHostPortsHostPortItemRequestBuilderGetQueryParameters retrieve details about hostPort objects.Note: List retrieval is not yet supported. type ThreatIntelligenceHostPortsHostPortItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ThreatIntelligenceHostPortsHostPortItemRequestBuilder) Delete(ctx conte } return nil } -// Get read the properties and relationships of a hostPort object. +// Get retrieve details about hostPort objects.Note: List retrieval is not yet supported. // returns a HostPortable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-hostport-get?view=graph-rest-1.0 func (m *ThreatIntelligenceHostPortsHostPortItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceHostPortsHostPortItemRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HostPortable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -134,7 +131,7 @@ func (m *ThreatIntelligenceHostPortsHostPortItemRequestBuilder) ToDeleteRequestI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a hostPort object. +// ToGetRequestInformation retrieve details about hostPort objects.Note: List retrieval is not yet supported. // returns a *RequestInformation when successful func (m *ThreatIntelligenceHostPortsHostPortItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceHostPortsHostPortItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/threat_intelligence_host_ports_request_builder.go b/security/threat_intelligence_host_ports_request_builder.go index 895a59aa1ba..3ad86a082c9 100644 --- a/security/threat_intelligence_host_ports_request_builder.go +++ b/security/threat_intelligence_host_ports_request_builder.go @@ -11,7 +11,7 @@ import ( type ThreatIntelligenceHostPortsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ThreatIntelligenceHostPortsRequestBuilderGetQueryParameters read the properties and relationships of a hostPort object. +// ThreatIntelligenceHostPortsRequestBuilderGetQueryParameters retrieve details about hostPort objects.Note: List retrieval is not yet supported. type ThreatIntelligenceHostPortsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewThreatIntelligenceHostPortsRequestBuilder(rawUrl string, requestAdapter func (m *ThreatIntelligenceHostPortsRequestBuilder) Count()(*ThreatIntelligenceHostPortsCountRequestBuilder) { return NewThreatIntelligenceHostPortsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of a hostPort object. +// Get retrieve details about hostPort objects.Note: List retrieval is not yet supported. // returns a HostPortCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ThreatIntelligenceHostPortsRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceHostPortsRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HostPortCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *ThreatIntelligenceHostPortsRequestBuilder) Post(ctx context.Context, bo } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HostPortable), nil } -// ToGetRequestInformation read the properties and relationships of a hostPort object. +// ToGetRequestInformation retrieve details about hostPort objects.Note: List retrieval is not yet supported. // returns a *RequestInformation when successful func (m *ThreatIntelligenceHostPortsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceHostPortsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/threat_intelligence_host_ssl_certificates_host_ssl_certificate_item_request_builder.go b/security/threat_intelligence_host_ssl_certificates_host_ssl_certificate_item_request_builder.go index b9de4b22384..6bdcd2a341f 100644 --- a/security/threat_intelligence_host_ssl_certificates_host_ssl_certificate_item_request_builder.go +++ b/security/threat_intelligence_host_ssl_certificates_host_ssl_certificate_item_request_builder.go @@ -18,7 +18,7 @@ type ThreatIntelligenceHostSslCertificatesHostSslCertificateItemRequestBuilderDe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ThreatIntelligenceHostSslCertificatesHostSslCertificateItemRequestBuilderGetQueryParameters get the properties and relationships of a hostSslCertificate object. +// ThreatIntelligenceHostSslCertificatesHostSslCertificateItemRequestBuilderGetQueryParameters retrieve details about hostSslCertificate objects.Note: List retrieval is not yet supported. type ThreatIntelligenceHostSslCertificatesHostSslCertificateItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ThreatIntelligenceHostSslCertificatesHostSslCertificateItemRequestBuild } return nil } -// Get get the properties and relationships of a hostSslCertificate object. +// Get retrieve details about hostSslCertificate objects.Note: List retrieval is not yet supported. // returns a HostSslCertificateable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-hostsslcertificate-get?view=graph-rest-1.0 func (m *ThreatIntelligenceHostSslCertificatesHostSslCertificateItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceHostSslCertificatesHostSslCertificateItemRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HostSslCertificateable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -134,7 +131,7 @@ func (m *ThreatIntelligenceHostSslCertificatesHostSslCertificateItemRequestBuild requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties and relationships of a hostSslCertificate object. +// ToGetRequestInformation retrieve details about hostSslCertificate objects.Note: List retrieval is not yet supported. // returns a *RequestInformation when successful func (m *ThreatIntelligenceHostSslCertificatesHostSslCertificateItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceHostSslCertificatesHostSslCertificateItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/threat_intelligence_host_ssl_certificates_request_builder.go b/security/threat_intelligence_host_ssl_certificates_request_builder.go index ce57e441c93..4e0dcbf5a81 100644 --- a/security/threat_intelligence_host_ssl_certificates_request_builder.go +++ b/security/threat_intelligence_host_ssl_certificates_request_builder.go @@ -11,7 +11,7 @@ import ( type ThreatIntelligenceHostSslCertificatesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ThreatIntelligenceHostSslCertificatesRequestBuilderGetQueryParameters get the properties and relationships of a hostSslCertificate object. +// ThreatIntelligenceHostSslCertificatesRequestBuilderGetQueryParameters retrieve details about hostSslCertificate objects.Note: List retrieval is not yet supported. type ThreatIntelligenceHostSslCertificatesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewThreatIntelligenceHostSslCertificatesRequestBuilder(rawUrl string, reque func (m *ThreatIntelligenceHostSslCertificatesRequestBuilder) Count()(*ThreatIntelligenceHostSslCertificatesCountRequestBuilder) { return NewThreatIntelligenceHostSslCertificatesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the properties and relationships of a hostSslCertificate object. +// Get retrieve details about hostSslCertificate objects.Note: List retrieval is not yet supported. // returns a HostSslCertificateCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ThreatIntelligenceHostSslCertificatesRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceHostSslCertificatesRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HostSslCertificateCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *ThreatIntelligenceHostSslCertificatesRequestBuilder) Post(ctx context.C } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HostSslCertificateable), nil } -// ToGetRequestInformation get the properties and relationships of a hostSslCertificate object. +// ToGetRequestInformation retrieve details about hostSslCertificate objects.Note: List retrieval is not yet supported. // returns a *RequestInformation when successful func (m *ThreatIntelligenceHostSslCertificatesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceHostSslCertificatesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/threat_intelligence_host_trackers_host_tracker_item_request_builder.go b/security/threat_intelligence_host_trackers_host_tracker_item_request_builder.go index e7d95a641c8..dae91bf54e2 100644 --- a/security/threat_intelligence_host_trackers_host_tracker_item_request_builder.go +++ b/security/threat_intelligence_host_trackers_host_tracker_item_request_builder.go @@ -18,7 +18,7 @@ type ThreatIntelligenceHostTrackersHostTrackerItemRequestBuilderDeleteRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ThreatIntelligenceHostTrackersHostTrackerItemRequestBuilderGetQueryParameters read the properties and relationships of a hostTracker object. +// ThreatIntelligenceHostTrackersHostTrackerItemRequestBuilderGetQueryParameters retrieve details about hostTracker objects.Note: List retrieval is not yet supported. type ThreatIntelligenceHostTrackersHostTrackerItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ThreatIntelligenceHostTrackersHostTrackerItemRequestBuilder) Delete(ctx } return nil } -// Get read the properties and relationships of a hostTracker object. +// Get retrieve details about hostTracker objects.Note: List retrieval is not yet supported. // returns a HostTrackerable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-hosttracker-get?view=graph-rest-1.0 func (m *ThreatIntelligenceHostTrackersHostTrackerItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceHostTrackersHostTrackerItemRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HostTrackerable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *ThreatIntelligenceHostTrackersHostTrackerItemRequestBuilder) ToDeleteRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a hostTracker object. +// ToGetRequestInformation retrieve details about hostTracker objects.Note: List retrieval is not yet supported. // returns a *RequestInformation when successful func (m *ThreatIntelligenceHostTrackersHostTrackerItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceHostTrackersHostTrackerItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/threat_intelligence_host_trackers_request_builder.go b/security/threat_intelligence_host_trackers_request_builder.go index 04eaeb70005..7f198addc3a 100644 --- a/security/threat_intelligence_host_trackers_request_builder.go +++ b/security/threat_intelligence_host_trackers_request_builder.go @@ -11,7 +11,7 @@ import ( type ThreatIntelligenceHostTrackersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ThreatIntelligenceHostTrackersRequestBuilderGetQueryParameters read the properties and relationships of a hostTracker object. +// ThreatIntelligenceHostTrackersRequestBuilderGetQueryParameters retrieve details about hostTracker objects.Note: List retrieval is not yet supported. type ThreatIntelligenceHostTrackersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewThreatIntelligenceHostTrackersRequestBuilder(rawUrl string, requestAdapt func (m *ThreatIntelligenceHostTrackersRequestBuilder) Count()(*ThreatIntelligenceHostTrackersCountRequestBuilder) { return NewThreatIntelligenceHostTrackersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of a hostTracker object. +// Get retrieve details about hostTracker objects.Note: List retrieval is not yet supported. // returns a HostTrackerCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ThreatIntelligenceHostTrackersRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceHostTrackersRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HostTrackerCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *ThreatIntelligenceHostTrackersRequestBuilder) Post(ctx context.Context, } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HostTrackerable), nil } -// ToGetRequestInformation read the properties and relationships of a hostTracker object. +// ToGetRequestInformation retrieve details about hostTracker objects.Note: List retrieval is not yet supported. // returns a *RequestInformation when successful func (m *ThreatIntelligenceHostTrackersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceHostTrackersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/threat_intelligence_hosts_host_item_request_builder.go b/security/threat_intelligence_hosts_host_item_request_builder.go index c93132db698..03866034c54 100644 --- a/security/threat_intelligence_hosts_host_item_request_builder.go +++ b/security/threat_intelligence_hosts_host_item_request_builder.go @@ -18,7 +18,7 @@ type ThreatIntelligenceHostsHostItemRequestBuilderDeleteRequestConfiguration str // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ThreatIntelligenceHostsHostItemRequestBuilderGetQueryParameters read the properties and relationships of a host object. The host resource is the abstract base type that returns an implementation. A host can be of one of the following types: +// ThreatIntelligenceHostsHostItemRequestBuilderGetQueryParameters refers to host objects that Microsoft Threat Intelligence has observed.Note: List retrieval is not yet supported. type ThreatIntelligenceHostsHostItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -85,12 +85,9 @@ func (m *ThreatIntelligenceHostsHostItemRequestBuilder) Delete(ctx context.Conte } return nil } -// Get read the properties and relationships of a host object. The host resource is the abstract base type that returns an implementation. A host can be of one of the following types: +// Get refers to host objects that Microsoft Threat Intelligence has observed.Note: List retrieval is not yet supported. // returns a Hostable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-host-get?view=graph-rest-1.0 func (m *ThreatIntelligenceHostsHostItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceHostsHostItemRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.Hostable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -179,7 +176,7 @@ func (m *ThreatIntelligenceHostsHostItemRequestBuilder) ToDeleteRequestInformati requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a host object. The host resource is the abstract base type that returns an implementation. A host can be of one of the following types: +// ToGetRequestInformation refers to host objects that Microsoft Threat Intelligence has observed.Note: List retrieval is not yet supported. // returns a *RequestInformation when successful func (m *ThreatIntelligenceHostsHostItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceHostsHostItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/threat_intelligence_hosts_item_child_host_pairs_request_builder.go b/security/threat_intelligence_hosts_item_child_host_pairs_request_builder.go index 9e7d2b26fea..539ac89ae6e 100644 --- a/security/threat_intelligence_hosts_item_child_host_pairs_request_builder.go +++ b/security/threat_intelligence_hosts_item_child_host_pairs_request_builder.go @@ -11,7 +11,7 @@ import ( type ThreatIntelligenceHostsItemChildHostPairsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ThreatIntelligenceHostsItemChildHostPairsRequestBuilderGetQueryParameters get the list of hostPair resources associated with a specified host, where that host is the *parent* and has an outgoing pairing to a *child*. +// ThreatIntelligenceHostsItemChildHostPairsRequestBuilderGetQueryParameters the hostPairs that are resources associated with a host, where that host is the parentHost and has an outgoing pairing to a cihldHost. type ThreatIntelligenceHostsItemChildHostPairsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewThreatIntelligenceHostsItemChildHostPairsRequestBuilder(rawUrl string, r func (m *ThreatIntelligenceHostsItemChildHostPairsRequestBuilder) Count()(*ThreatIntelligenceHostsItemChildHostPairsCountRequestBuilder) { return NewThreatIntelligenceHostsItemChildHostPairsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of hostPair resources associated with a specified host, where that host is the *parent* and has an outgoing pairing to a *child*. +// Get the hostPairs that are resources associated with a host, where that host is the parentHost and has an outgoing pairing to a cihldHost. // returns a HostPairCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-host-list-childhostpairs?view=graph-rest-1.0 func (m *ThreatIntelligenceHostsItemChildHostPairsRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceHostsItemChildHostPairsRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HostPairCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *ThreatIntelligenceHostsItemChildHostPairsRequestBuilder) Get(ctx contex } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HostPairCollectionResponseable), nil } -// ToGetRequestInformation get the list of hostPair resources associated with a specified host, where that host is the *parent* and has an outgoing pairing to a *child*. +// ToGetRequestInformation the hostPairs that are resources associated with a host, where that host is the parentHost and has an outgoing pairing to a cihldHost. // returns a *RequestInformation when successful func (m *ThreatIntelligenceHostsItemChildHostPairsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceHostsItemChildHostPairsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/threat_intelligence_hosts_item_components_request_builder.go b/security/threat_intelligence_hosts_item_components_request_builder.go index 56d2ea2922b..b7a08bdcb7b 100644 --- a/security/threat_intelligence_hosts_item_components_request_builder.go +++ b/security/threat_intelligence_hosts_item_components_request_builder.go @@ -11,7 +11,7 @@ import ( type ThreatIntelligenceHostsItemComponentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ThreatIntelligenceHostsItemComponentsRequestBuilderGetQueryParameters get a list of hostComponent resources. +// ThreatIntelligenceHostsItemComponentsRequestBuilderGetQueryParameters the hostComponents that are associated with this host. type ThreatIntelligenceHostsItemComponentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewThreatIntelligenceHostsItemComponentsRequestBuilder(rawUrl string, reque func (m *ThreatIntelligenceHostsItemComponentsRequestBuilder) Count()(*ThreatIntelligenceHostsItemComponentsCountRequestBuilder) { return NewThreatIntelligenceHostsItemComponentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of hostComponent resources. +// Get the hostComponents that are associated with this host. // returns a HostComponentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-host-list-components?view=graph-rest-1.0 func (m *ThreatIntelligenceHostsItemComponentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceHostsItemComponentsRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HostComponentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *ThreatIntelligenceHostsItemComponentsRequestBuilder) Get(ctx context.Co } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HostComponentCollectionResponseable), nil } -// ToGetRequestInformation get a list of hostComponent resources. +// ToGetRequestInformation the hostComponents that are associated with this host. // returns a *RequestInformation when successful func (m *ThreatIntelligenceHostsItemComponentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceHostsItemComponentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/threat_intelligence_hosts_item_cookies_request_builder.go b/security/threat_intelligence_hosts_item_cookies_request_builder.go index 96dfaabb9c6..526ca69b775 100644 --- a/security/threat_intelligence_hosts_item_cookies_request_builder.go +++ b/security/threat_intelligence_hosts_item_cookies_request_builder.go @@ -11,7 +11,7 @@ import ( type ThreatIntelligenceHostsItemCookiesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ThreatIntelligenceHostsItemCookiesRequestBuilderGetQueryParameters get a list of hostCookie resources. +// ThreatIntelligenceHostsItemCookiesRequestBuilderGetQueryParameters the hostCookies that are associated with this host. type ThreatIntelligenceHostsItemCookiesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewThreatIntelligenceHostsItemCookiesRequestBuilder(rawUrl string, requestA func (m *ThreatIntelligenceHostsItemCookiesRequestBuilder) Count()(*ThreatIntelligenceHostsItemCookiesCountRequestBuilder) { return NewThreatIntelligenceHostsItemCookiesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of hostCookie resources. +// Get the hostCookies that are associated with this host. // returns a HostCookieCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-host-list-cookies?view=graph-rest-1.0 func (m *ThreatIntelligenceHostsItemCookiesRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceHostsItemCookiesRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HostCookieCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *ThreatIntelligenceHostsItemCookiesRequestBuilder) Get(ctx context.Conte } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HostCookieCollectionResponseable), nil } -// ToGetRequestInformation get a list of hostCookie resources. +// ToGetRequestInformation the hostCookies that are associated with this host. // returns a *RequestInformation when successful func (m *ThreatIntelligenceHostsItemCookiesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceHostsItemCookiesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/threat_intelligence_hosts_item_host_pairs_request_builder.go b/security/threat_intelligence_hosts_item_host_pairs_request_builder.go index cb9ba457cdd..8d8d98c75e2 100644 --- a/security/threat_intelligence_hosts_item_host_pairs_request_builder.go +++ b/security/threat_intelligence_hosts_item_host_pairs_request_builder.go @@ -11,7 +11,7 @@ import ( type ThreatIntelligenceHostsItemHostPairsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ThreatIntelligenceHostsItemHostPairsRequestBuilderGetQueryParameters get the list of hostPair resources associated with a specified host, where that host is *either* the *parent* or the *child*. +// ThreatIntelligenceHostsItemHostPairsRequestBuilderGetQueryParameters the hostPairs that are associated with this host, where this host is either the parentHost or childHost. type ThreatIntelligenceHostsItemHostPairsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewThreatIntelligenceHostsItemHostPairsRequestBuilder(rawUrl string, reques func (m *ThreatIntelligenceHostsItemHostPairsRequestBuilder) Count()(*ThreatIntelligenceHostsItemHostPairsCountRequestBuilder) { return NewThreatIntelligenceHostsItemHostPairsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of hostPair resources associated with a specified host, where that host is *either* the *parent* or the *child*. +// Get the hostPairs that are associated with this host, where this host is either the parentHost or childHost. // returns a HostPairCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-host-list-hostpairs?view=graph-rest-1.0 func (m *ThreatIntelligenceHostsItemHostPairsRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceHostsItemHostPairsRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HostPairCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *ThreatIntelligenceHostsItemHostPairsRequestBuilder) Get(ctx context.Con } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HostPairCollectionResponseable), nil } -// ToGetRequestInformation get the list of hostPair resources associated with a specified host, where that host is *either* the *parent* or the *child*. +// ToGetRequestInformation the hostPairs that are associated with this host, where this host is either the parentHost or childHost. // returns a *RequestInformation when successful func (m *ThreatIntelligenceHostsItemHostPairsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceHostsItemHostPairsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/threat_intelligence_hosts_item_parent_host_pairs_request_builder.go b/security/threat_intelligence_hosts_item_parent_host_pairs_request_builder.go index 1939d22680c..5f3952a76cd 100644 --- a/security/threat_intelligence_hosts_item_parent_host_pairs_request_builder.go +++ b/security/threat_intelligence_hosts_item_parent_host_pairs_request_builder.go @@ -11,7 +11,7 @@ import ( type ThreatIntelligenceHostsItemParentHostPairsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ThreatIntelligenceHostsItemParentHostPairsRequestBuilderGetQueryParameters get the list of hostPair resources associated with a specified host, where that host is the *child* and has an incoming pairing with a *parent*. +// ThreatIntelligenceHostsItemParentHostPairsRequestBuilderGetQueryParameters the hostPairs that are associated with a host, where that host is the childHost and has an incoming pairing with a parentHost. type ThreatIntelligenceHostsItemParentHostPairsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewThreatIntelligenceHostsItemParentHostPairsRequestBuilder(rawUrl string, func (m *ThreatIntelligenceHostsItemParentHostPairsRequestBuilder) Count()(*ThreatIntelligenceHostsItemParentHostPairsCountRequestBuilder) { return NewThreatIntelligenceHostsItemParentHostPairsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of hostPair resources associated with a specified host, where that host is the *child* and has an incoming pairing with a *parent*. +// Get the hostPairs that are associated with a host, where that host is the childHost and has an incoming pairing with a parentHost. // returns a HostPairCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-host-list-parenthostpairs?view=graph-rest-1.0 func (m *ThreatIntelligenceHostsItemParentHostPairsRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceHostsItemParentHostPairsRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HostPairCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *ThreatIntelligenceHostsItemParentHostPairsRequestBuilder) Get(ctx conte } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HostPairCollectionResponseable), nil } -// ToGetRequestInformation get the list of hostPair resources associated with a specified host, where that host is the *child* and has an incoming pairing with a *parent*. +// ToGetRequestInformation the hostPairs that are associated with a host, where that host is the childHost and has an incoming pairing with a parentHost. // returns a *RequestInformation when successful func (m *ThreatIntelligenceHostsItemParentHostPairsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceHostsItemParentHostPairsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/threat_intelligence_hosts_item_passive_dns_request_builder.go b/security/threat_intelligence_hosts_item_passive_dns_request_builder.go index 78a0cc41408..aaf2456ee8a 100644 --- a/security/threat_intelligence_hosts_item_passive_dns_request_builder.go +++ b/security/threat_intelligence_hosts_item_passive_dns_request_builder.go @@ -11,7 +11,7 @@ import ( type ThreatIntelligenceHostsItemPassiveDnsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ThreatIntelligenceHostsItemPassiveDnsRequestBuilderGetQueryParameters get a list of passiveDnsRecord resources associated with a host. This is a forward DNS lookup which queries the IP address of the specified host using its hostname. +// ThreatIntelligenceHostsItemPassiveDnsRequestBuilderGetQueryParameters passive DNS retrieval about this host. type ThreatIntelligenceHostsItemPassiveDnsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewThreatIntelligenceHostsItemPassiveDnsRequestBuilder(rawUrl string, reque func (m *ThreatIntelligenceHostsItemPassiveDnsRequestBuilder) Count()(*ThreatIntelligenceHostsItemPassiveDnsCountRequestBuilder) { return NewThreatIntelligenceHostsItemPassiveDnsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of passiveDnsRecord resources associated with a host. This is a forward DNS lookup which queries the IP address of the specified host using its hostname. +// Get passive DNS retrieval about this host. // returns a PassiveDnsRecordCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-host-list-passivedns?view=graph-rest-1.0 func (m *ThreatIntelligenceHostsItemPassiveDnsRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceHostsItemPassiveDnsRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.PassiveDnsRecordCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *ThreatIntelligenceHostsItemPassiveDnsRequestBuilder) Get(ctx context.Co } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.PassiveDnsRecordCollectionResponseable), nil } -// ToGetRequestInformation get a list of passiveDnsRecord resources associated with a host. This is a forward DNS lookup which queries the IP address of the specified host using its hostname. +// ToGetRequestInformation passive DNS retrieval about this host. // returns a *RequestInformation when successful func (m *ThreatIntelligenceHostsItemPassiveDnsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceHostsItemPassiveDnsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/threat_intelligence_hosts_item_passive_dns_reverse_request_builder.go b/security/threat_intelligence_hosts_item_passive_dns_reverse_request_builder.go index eff1bf21e5e..5d1638044ae 100644 --- a/security/threat_intelligence_hosts_item_passive_dns_reverse_request_builder.go +++ b/security/threat_intelligence_hosts_item_passive_dns_reverse_request_builder.go @@ -11,7 +11,7 @@ import ( type ThreatIntelligenceHostsItemPassiveDnsReverseRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ThreatIntelligenceHostsItemPassiveDnsReverseRequestBuilderGetQueryParameters get a collection of passiveDnsRecord resources from a reverse passive DNS retrieval. A reverse DNS lookup queries the hostname of a host using an IP address. +// ThreatIntelligenceHostsItemPassiveDnsReverseRequestBuilderGetQueryParameters reverse passive DNS retrieval about this host. type ThreatIntelligenceHostsItemPassiveDnsReverseRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewThreatIntelligenceHostsItemPassiveDnsReverseRequestBuilder(rawUrl string func (m *ThreatIntelligenceHostsItemPassiveDnsReverseRequestBuilder) Count()(*ThreatIntelligenceHostsItemPassiveDnsReverseCountRequestBuilder) { return NewThreatIntelligenceHostsItemPassiveDnsReverseCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a collection of passiveDnsRecord resources from a reverse passive DNS retrieval. A reverse DNS lookup queries the hostname of a host using an IP address. +// Get reverse passive DNS retrieval about this host. // returns a PassiveDnsRecordCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-host-list-passivednsreverse?view=graph-rest-1.0 func (m *ThreatIntelligenceHostsItemPassiveDnsReverseRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceHostsItemPassiveDnsReverseRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.PassiveDnsRecordCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *ThreatIntelligenceHostsItemPassiveDnsReverseRequestBuilder) Get(ctx con } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.PassiveDnsRecordCollectionResponseable), nil } -// ToGetRequestInformation get a collection of passiveDnsRecord resources from a reverse passive DNS retrieval. A reverse DNS lookup queries the hostname of a host using an IP address. +// ToGetRequestInformation reverse passive DNS retrieval about this host. // returns a *RequestInformation when successful func (m *ThreatIntelligenceHostsItemPassiveDnsReverseRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceHostsItemPassiveDnsReverseRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/threat_intelligence_hosts_item_ports_request_builder.go b/security/threat_intelligence_hosts_item_ports_request_builder.go index addb8046691..808701c0053 100644 --- a/security/threat_intelligence_hosts_item_ports_request_builder.go +++ b/security/threat_intelligence_hosts_item_ports_request_builder.go @@ -11,7 +11,7 @@ import ( type ThreatIntelligenceHostsItemPortsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ThreatIntelligenceHostsItemPortsRequestBuilderGetQueryParameters get the list of hostPort resources associated with a host. +// ThreatIntelligenceHostsItemPortsRequestBuilderGetQueryParameters the hostPorts associated with a host. type ThreatIntelligenceHostsItemPortsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewThreatIntelligenceHostsItemPortsRequestBuilder(rawUrl string, requestAda func (m *ThreatIntelligenceHostsItemPortsRequestBuilder) Count()(*ThreatIntelligenceHostsItemPortsCountRequestBuilder) { return NewThreatIntelligenceHostsItemPortsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of hostPort resources associated with a host. +// Get the hostPorts associated with a host. // returns a HostPortCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-host-list-ports?view=graph-rest-1.0 func (m *ThreatIntelligenceHostsItemPortsRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceHostsItemPortsRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HostPortCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *ThreatIntelligenceHostsItemPortsRequestBuilder) Get(ctx context.Context } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HostPortCollectionResponseable), nil } -// ToGetRequestInformation get the list of hostPort resources associated with a host. +// ToGetRequestInformation the hostPorts associated with a host. // returns a *RequestInformation when successful func (m *ThreatIntelligenceHostsItemPortsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceHostsItemPortsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/threat_intelligence_hosts_item_reputation_request_builder.go b/security/threat_intelligence_hosts_item_reputation_request_builder.go index 6bcf4461eab..a0d020d58ce 100644 --- a/security/threat_intelligence_hosts_item_reputation_request_builder.go +++ b/security/threat_intelligence_hosts_item_reputation_request_builder.go @@ -18,7 +18,7 @@ type ThreatIntelligenceHostsItemReputationRequestBuilderDeleteRequestConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ThreatIntelligenceHostsItemReputationRequestBuilderGetQueryParameters get the properties and relationships of a hostReputation object. +// ThreatIntelligenceHostsItemReputationRequestBuilderGetQueryParameters represents a calculated reputation of this host. type ThreatIntelligenceHostsItemReputationRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ThreatIntelligenceHostsItemReputationRequestBuilder) Delete(ctx context } return nil } -// Get get the properties and relationships of a hostReputation object. +// Get represents a calculated reputation of this host. // returns a HostReputationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-host-get-reputation?view=graph-rest-1.0 func (m *ThreatIntelligenceHostsItemReputationRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceHostsItemReputationRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HostReputationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ThreatIntelligenceHostsItemReputationRequestBuilder) ToDeleteRequestInf requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties and relationships of a hostReputation object. +// ToGetRequestInformation represents a calculated reputation of this host. // returns a *RequestInformation when successful func (m *ThreatIntelligenceHostsItemReputationRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceHostsItemReputationRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/threat_intelligence_hosts_item_ssl_certificates_request_builder.go b/security/threat_intelligence_hosts_item_ssl_certificates_request_builder.go index d1c7dce74c0..ff5e9ea2233 100644 --- a/security/threat_intelligence_hosts_item_ssl_certificates_request_builder.go +++ b/security/threat_intelligence_hosts_item_ssl_certificates_request_builder.go @@ -11,7 +11,7 @@ import ( type ThreatIntelligenceHostsItemSslCertificatesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ThreatIntelligenceHostsItemSslCertificatesRequestBuilderGetQueryParameters get a list of hostSslCertificate objects from the host navigation property. +// ThreatIntelligenceHostsItemSslCertificatesRequestBuilderGetQueryParameters the hostSslCertificates that are associated with this host. type ThreatIntelligenceHostsItemSslCertificatesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewThreatIntelligenceHostsItemSslCertificatesRequestBuilder(rawUrl string, func (m *ThreatIntelligenceHostsItemSslCertificatesRequestBuilder) Count()(*ThreatIntelligenceHostsItemSslCertificatesCountRequestBuilder) { return NewThreatIntelligenceHostsItemSslCertificatesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of hostSslCertificate objects from the host navigation property. +// Get the hostSslCertificates that are associated with this host. // returns a HostSslCertificateCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-host-list-sslcertificates?view=graph-rest-1.0 func (m *ThreatIntelligenceHostsItemSslCertificatesRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceHostsItemSslCertificatesRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HostSslCertificateCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *ThreatIntelligenceHostsItemSslCertificatesRequestBuilder) Get(ctx conte } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HostSslCertificateCollectionResponseable), nil } -// ToGetRequestInformation get a list of hostSslCertificate objects from the host navigation property. +// ToGetRequestInformation the hostSslCertificates that are associated with this host. // returns a *RequestInformation when successful func (m *ThreatIntelligenceHostsItemSslCertificatesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceHostsItemSslCertificatesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/threat_intelligence_hosts_item_subdomains_request_builder.go b/security/threat_intelligence_hosts_item_subdomains_request_builder.go index 4563f85719b..3f2623c87ec 100644 --- a/security/threat_intelligence_hosts_item_subdomains_request_builder.go +++ b/security/threat_intelligence_hosts_item_subdomains_request_builder.go @@ -11,7 +11,7 @@ import ( type ThreatIntelligenceHostsItemSubdomainsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ThreatIntelligenceHostsItemSubdomainsRequestBuilderGetQueryParameters get the list of subdomain resources associated with a host. +// ThreatIntelligenceHostsItemSubdomainsRequestBuilderGetQueryParameters the subdomains that are associated with this host. type ThreatIntelligenceHostsItemSubdomainsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewThreatIntelligenceHostsItemSubdomainsRequestBuilder(rawUrl string, reque func (m *ThreatIntelligenceHostsItemSubdomainsRequestBuilder) Count()(*ThreatIntelligenceHostsItemSubdomainsCountRequestBuilder) { return NewThreatIntelligenceHostsItemSubdomainsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of subdomain resources associated with a host. +// Get the subdomains that are associated with this host. // returns a SubdomainCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-host-list-subdomains?view=graph-rest-1.0 func (m *ThreatIntelligenceHostsItemSubdomainsRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceHostsItemSubdomainsRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.SubdomainCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *ThreatIntelligenceHostsItemSubdomainsRequestBuilder) Get(ctx context.Co } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.SubdomainCollectionResponseable), nil } -// ToGetRequestInformation get the list of subdomain resources associated with a host. +// ToGetRequestInformation the subdomains that are associated with this host. // returns a *RequestInformation when successful func (m *ThreatIntelligenceHostsItemSubdomainsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceHostsItemSubdomainsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/threat_intelligence_hosts_item_trackers_request_builder.go b/security/threat_intelligence_hosts_item_trackers_request_builder.go index e5f1819827e..14ab20aba62 100644 --- a/security/threat_intelligence_hosts_item_trackers_request_builder.go +++ b/security/threat_intelligence_hosts_item_trackers_request_builder.go @@ -11,7 +11,7 @@ import ( type ThreatIntelligenceHostsItemTrackersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ThreatIntelligenceHostsItemTrackersRequestBuilderGetQueryParameters get a list of hostTracker resources. +// ThreatIntelligenceHostsItemTrackersRequestBuilderGetQueryParameters the hostTrackers that are associated with this host. type ThreatIntelligenceHostsItemTrackersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewThreatIntelligenceHostsItemTrackersRequestBuilder(rawUrl string, request func (m *ThreatIntelligenceHostsItemTrackersRequestBuilder) Count()(*ThreatIntelligenceHostsItemTrackersCountRequestBuilder) { return NewThreatIntelligenceHostsItemTrackersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of hostTracker resources. +// Get the hostTrackers that are associated with this host. // returns a HostTrackerCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-host-list-trackers?view=graph-rest-1.0 func (m *ThreatIntelligenceHostsItemTrackersRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceHostsItemTrackersRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HostTrackerCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *ThreatIntelligenceHostsItemTrackersRequestBuilder) Get(ctx context.Cont } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HostTrackerCollectionResponseable), nil } -// ToGetRequestInformation get a list of hostTracker resources. +// ToGetRequestInformation the hostTrackers that are associated with this host. // returns a *RequestInformation when successful func (m *ThreatIntelligenceHostsItemTrackersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceHostsItemTrackersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/threat_intelligence_hosts_item_whois_request_builder.go b/security/threat_intelligence_hosts_item_whois_request_builder.go index 11a7f10dbd5..884d97c1530 100644 --- a/security/threat_intelligence_hosts_item_whois_request_builder.go +++ b/security/threat_intelligence_hosts_item_whois_request_builder.go @@ -11,7 +11,7 @@ import ( type ThreatIntelligenceHostsItemWhoisRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ThreatIntelligenceHostsItemWhoisRequestBuilderGetQueryParameters get the specified whoisRecord resource. Specify the desired whoisRecord in one of the following two ways:- Identify a host and get its current whoisRecord. - Specify an id value to get the corresponding whoisRecord. +// ThreatIntelligenceHostsItemWhoisRequestBuilderGetQueryParameters the most recent whoisRecord for this host. type ThreatIntelligenceHostsItemWhoisRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -40,12 +40,9 @@ func NewThreatIntelligenceHostsItemWhoisRequestBuilder(rawUrl string, requestAda urlParams["request-raw-url"] = rawUrl return NewThreatIntelligenceHostsItemWhoisRequestBuilderInternal(urlParams, requestAdapter) } -// Get get the specified whoisRecord resource. Specify the desired whoisRecord in one of the following two ways:- Identify a host and get its current whoisRecord. - Specify an id value to get the corresponding whoisRecord. +// Get the most recent whoisRecord for this host. // returns a WhoisRecordable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-whoisrecord-get?view=graph-rest-1.0 func (m *ThreatIntelligenceHostsItemWhoisRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceHostsItemWhoisRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.WhoisRecordable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -63,7 +60,7 @@ func (m *ThreatIntelligenceHostsItemWhoisRequestBuilder) Get(ctx context.Context } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.WhoisRecordable), nil } -// ToGetRequestInformation get the specified whoisRecord resource. Specify the desired whoisRecord in one of the following two ways:- Identify a host and get its current whoisRecord. - Specify an id value to get the corresponding whoisRecord. +// ToGetRequestInformation the most recent whoisRecord for this host. // returns a *RequestInformation when successful func (m *ThreatIntelligenceHostsItemWhoisRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceHostsItemWhoisRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/threat_intelligence_hosts_request_builder.go b/security/threat_intelligence_hosts_request_builder.go index c3e65acf4cf..36f8b3211c7 100644 --- a/security/threat_intelligence_hosts_request_builder.go +++ b/security/threat_intelligence_hosts_request_builder.go @@ -11,7 +11,7 @@ import ( type ThreatIntelligenceHostsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ThreatIntelligenceHostsRequestBuilderGetQueryParameters read the properties and relationships of a host object. The host resource is the abstract base type that returns an implementation. A host can be of one of the following types: +// ThreatIntelligenceHostsRequestBuilderGetQueryParameters refers to host objects that Microsoft Threat Intelligence has observed.Note: List retrieval is not yet supported. type ThreatIntelligenceHostsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewThreatIntelligenceHostsRequestBuilder(rawUrl string, requestAdapter i2ae func (m *ThreatIntelligenceHostsRequestBuilder) Count()(*ThreatIntelligenceHostsCountRequestBuilder) { return NewThreatIntelligenceHostsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of a host object. The host resource is the abstract base type that returns an implementation. A host can be of one of the following types: +// Get refers to host objects that Microsoft Threat Intelligence has observed.Note: List retrieval is not yet supported. // returns a HostCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ThreatIntelligenceHostsRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceHostsRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.HostCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *ThreatIntelligenceHostsRequestBuilder) Post(ctx context.Context, body i } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.Hostable), nil } -// ToGetRequestInformation read the properties and relationships of a host object. The host resource is the abstract base type that returns an implementation. A host can be of one of the following types: +// ToGetRequestInformation refers to host objects that Microsoft Threat Intelligence has observed.Note: List retrieval is not yet supported. // returns a *RequestInformation when successful func (m *ThreatIntelligenceHostsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceHostsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/threat_intelligence_intel_profiles_intelligence_profile_item_request_builder.go b/security/threat_intelligence_intel_profiles_intelligence_profile_item_request_builder.go index ec01dd4f18d..bd906b27376 100644 --- a/security/threat_intelligence_intel_profiles_intelligence_profile_item_request_builder.go +++ b/security/threat_intelligence_intel_profiles_intelligence_profile_item_request_builder.go @@ -18,7 +18,7 @@ type ThreatIntelligenceIntelProfilesIntelligenceProfileItemRequestBuilderDeleteR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ThreatIntelligenceIntelProfilesIntelligenceProfileItemRequestBuilderGetQueryParameters read the properties and relationships of a intelligenceProfile object. +// ThreatIntelligenceIntelProfilesIntelligenceProfileItemRequestBuilderGetQueryParameters a list of intelligenceProfile objects. type ThreatIntelligenceIntelProfilesIntelligenceProfileItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ThreatIntelligenceIntelProfilesIntelligenceProfileItemRequestBuilder) D } return nil } -// Get read the properties and relationships of a intelligenceProfile object. +// Get a list of intelligenceProfile objects. // returns a IntelligenceProfileable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-intelligenceprofile-get?view=graph-rest-1.0 func (m *ThreatIntelligenceIntelProfilesIntelligenceProfileItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceIntelProfilesIntelligenceProfileItemRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.IntelligenceProfileable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *ThreatIntelligenceIntelProfilesIntelligenceProfileItemRequestBuilder) T requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a intelligenceProfile object. +// ToGetRequestInformation a list of intelligenceProfile objects. // returns a *RequestInformation when successful func (m *ThreatIntelligenceIntelProfilesIntelligenceProfileItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceIntelProfilesIntelligenceProfileItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/threat_intelligence_intel_profiles_item_indicators_request_builder.go b/security/threat_intelligence_intel_profiles_item_indicators_request_builder.go index ab6dc6461be..acf7611bd44 100644 --- a/security/threat_intelligence_intel_profiles_item_indicators_request_builder.go +++ b/security/threat_intelligence_intel_profiles_item_indicators_request_builder.go @@ -11,7 +11,7 @@ import ( type ThreatIntelligenceIntelProfilesItemIndicatorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ThreatIntelligenceIntelProfilesItemIndicatorsRequestBuilderGetQueryParameters get the intelligenceProfileIndicator resources from the indicators navigation property of an intelligenceProfile. +// ThreatIntelligenceIntelProfilesItemIndicatorsRequestBuilderGetQueryParameters includes an assemblage of high-fidelity network indicators of compromise. type ThreatIntelligenceIntelProfilesItemIndicatorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewThreatIntelligenceIntelProfilesItemIndicatorsRequestBuilder(rawUrl strin func (m *ThreatIntelligenceIntelProfilesItemIndicatorsRequestBuilder) Count()(*ThreatIntelligenceIntelProfilesItemIndicatorsCountRequestBuilder) { return NewThreatIntelligenceIntelProfilesItemIndicatorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the intelligenceProfileIndicator resources from the indicators navigation property of an intelligenceProfile. +// Get includes an assemblage of high-fidelity network indicators of compromise. // returns a IntelligenceProfileIndicatorCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-intelligenceprofile-list-indicators?view=graph-rest-1.0 func (m *ThreatIntelligenceIntelProfilesItemIndicatorsRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceIntelProfilesItemIndicatorsRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.IntelligenceProfileIndicatorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *ThreatIntelligenceIntelProfilesItemIndicatorsRequestBuilder) Get(ctx co } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.IntelligenceProfileIndicatorCollectionResponseable), nil } -// ToGetRequestInformation get the intelligenceProfileIndicator resources from the indicators navigation property of an intelligenceProfile. +// ToGetRequestInformation includes an assemblage of high-fidelity network indicators of compromise. // returns a *RequestInformation when successful func (m *ThreatIntelligenceIntelProfilesItemIndicatorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceIntelProfilesItemIndicatorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/threat_intelligence_intel_profiles_request_builder.go b/security/threat_intelligence_intel_profiles_request_builder.go index b3491eaabc2..9074774fc3e 100644 --- a/security/threat_intelligence_intel_profiles_request_builder.go +++ b/security/threat_intelligence_intel_profiles_request_builder.go @@ -11,7 +11,7 @@ import ( type ThreatIntelligenceIntelProfilesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ThreatIntelligenceIntelProfilesRequestBuilderGetQueryParameters get a list of the intelligenceProfile objects and their properties. +// ThreatIntelligenceIntelProfilesRequestBuilderGetQueryParameters a list of intelligenceProfile objects. type ThreatIntelligenceIntelProfilesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewThreatIntelligenceIntelProfilesRequestBuilder(rawUrl string, requestAdap func (m *ThreatIntelligenceIntelProfilesRequestBuilder) Count()(*ThreatIntelligenceIntelProfilesCountRequestBuilder) { return NewThreatIntelligenceIntelProfilesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the intelligenceProfile objects and their properties. +// Get a list of intelligenceProfile objects. // returns a IntelligenceProfileCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-threatintelligence-list-intelprofiles?view=graph-rest-1.0 func (m *ThreatIntelligenceIntelProfilesRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceIntelProfilesRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.IntelligenceProfileCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ThreatIntelligenceIntelProfilesRequestBuilder) Post(ctx context.Context } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.IntelligenceProfileable), nil } -// ToGetRequestInformation get a list of the intelligenceProfile objects and their properties. +// ToGetRequestInformation a list of intelligenceProfile objects. // returns a *RequestInformation when successful func (m *ThreatIntelligenceIntelProfilesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceIntelProfilesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/threat_intelligence_intelligence_profile_indicators_intelligence_profile_indicator_item_request_builder.go b/security/threat_intelligence_intelligence_profile_indicators_intelligence_profile_indicator_item_request_builder.go index 4f66b802e75..94b6ec26936 100644 --- a/security/threat_intelligence_intelligence_profile_indicators_intelligence_profile_indicator_item_request_builder.go +++ b/security/threat_intelligence_intelligence_profile_indicators_intelligence_profile_indicator_item_request_builder.go @@ -18,7 +18,7 @@ type ThreatIntelligenceIntelligenceProfileIndicatorsIntelligenceProfileIndicator // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ThreatIntelligenceIntelligenceProfileIndicatorsIntelligenceProfileIndicatorItemRequestBuilderGetQueryParameters read the properties and relationships of a intelligenceProfileIndicator object. +// ThreatIntelligenceIntelligenceProfileIndicatorsIntelligenceProfileIndicatorItemRequestBuilderGetQueryParameters get intelligenceProfileIndicators from security type ThreatIntelligenceIntelligenceProfileIndicatorsIntelligenceProfileIndicatorItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *ThreatIntelligenceIntelligenceProfileIndicatorsIntelligenceProfileIndic } return nil } -// Get read the properties and relationships of a intelligenceProfileIndicator object. +// Get get intelligenceProfileIndicators from security // returns a IntelligenceProfileIndicatorable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-intelligenceprofileindicator-get?view=graph-rest-1.0 func (m *ThreatIntelligenceIntelligenceProfileIndicatorsIntelligenceProfileIndicatorItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceIntelligenceProfileIndicatorsIntelligenceProfileIndicatorItemRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.IntelligenceProfileIndicatorable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *ThreatIntelligenceIntelligenceProfileIndicatorsIntelligenceProfileIndic requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a intelligenceProfileIndicator object. +// ToGetRequestInformation get intelligenceProfileIndicators from security // returns a *RequestInformation when successful func (m *ThreatIntelligenceIntelligenceProfileIndicatorsIntelligenceProfileIndicatorItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceIntelligenceProfileIndicatorsIntelligenceProfileIndicatorItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/threat_intelligence_intelligence_profile_indicators_request_builder.go b/security/threat_intelligence_intelligence_profile_indicators_request_builder.go index 7a6858e4665..0b1d45004fd 100644 --- a/security/threat_intelligence_intelligence_profile_indicators_request_builder.go +++ b/security/threat_intelligence_intelligence_profile_indicators_request_builder.go @@ -11,7 +11,7 @@ import ( type ThreatIntelligenceIntelligenceProfileIndicatorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ThreatIntelligenceIntelligenceProfileIndicatorsRequestBuilderGetQueryParameters read the properties and relationships of a intelligenceProfileIndicator object. +// ThreatIntelligenceIntelligenceProfileIndicatorsRequestBuilderGetQueryParameters get intelligenceProfileIndicators from security type ThreatIntelligenceIntelligenceProfileIndicatorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewThreatIntelligenceIntelligenceProfileIndicatorsRequestBuilder(rawUrl str func (m *ThreatIntelligenceIntelligenceProfileIndicatorsRequestBuilder) Count()(*ThreatIntelligenceIntelligenceProfileIndicatorsCountRequestBuilder) { return NewThreatIntelligenceIntelligenceProfileIndicatorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of a intelligenceProfileIndicator object. +// Get get intelligenceProfileIndicators from security // returns a IntelligenceProfileIndicatorCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ThreatIntelligenceIntelligenceProfileIndicatorsRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceIntelligenceProfileIndicatorsRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.IntelligenceProfileIndicatorCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *ThreatIntelligenceIntelligenceProfileIndicatorsRequestBuilder) Post(ctx } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.IntelligenceProfileIndicatorable), nil } -// ToGetRequestInformation read the properties and relationships of a intelligenceProfileIndicator object. +// ToGetRequestInformation get intelligenceProfileIndicators from security // returns a *RequestInformation when successful func (m *ThreatIntelligenceIntelligenceProfileIndicatorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceIntelligenceProfileIndicatorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/threat_intelligence_passive_dns_records_passive_dns_record_item_request_builder.go b/security/threat_intelligence_passive_dns_records_passive_dns_record_item_request_builder.go index 6c7c4692240..ab0c6732cc7 100644 --- a/security/threat_intelligence_passive_dns_records_passive_dns_record_item_request_builder.go +++ b/security/threat_intelligence_passive_dns_records_passive_dns_record_item_request_builder.go @@ -18,7 +18,7 @@ type ThreatIntelligencePassiveDnsRecordsPassiveDnsRecordItemRequestBuilderDelete // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ThreatIntelligencePassiveDnsRecordsPassiveDnsRecordItemRequestBuilderGetQueryParameters read the properties and relationships of a passiveDnsRecord object. +// ThreatIntelligencePassiveDnsRecordsPassiveDnsRecordItemRequestBuilderGetQueryParameters retrieve details about passiveDnsRecord objects.Note: List retrieval is not yet supported. type ThreatIntelligencePassiveDnsRecordsPassiveDnsRecordItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *ThreatIntelligencePassiveDnsRecordsPassiveDnsRecordItemRequestBuilder) } return nil } -// Get read the properties and relationships of a passiveDnsRecord object. +// Get retrieve details about passiveDnsRecord objects.Note: List retrieval is not yet supported. // returns a PassiveDnsRecordable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-passivednsrecord-get?view=graph-rest-1.0 func (m *ThreatIntelligencePassiveDnsRecordsPassiveDnsRecordItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligencePassiveDnsRecordsPassiveDnsRecordItemRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.PassiveDnsRecordable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -134,7 +131,7 @@ func (m *ThreatIntelligencePassiveDnsRecordsPassiveDnsRecordItemRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a passiveDnsRecord object. +// ToGetRequestInformation retrieve details about passiveDnsRecord objects.Note: List retrieval is not yet supported. // returns a *RequestInformation when successful func (m *ThreatIntelligencePassiveDnsRecordsPassiveDnsRecordItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligencePassiveDnsRecordsPassiveDnsRecordItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/threat_intelligence_passive_dns_records_request_builder.go b/security/threat_intelligence_passive_dns_records_request_builder.go index 66c9a7f5fe5..9cf728b10a8 100644 --- a/security/threat_intelligence_passive_dns_records_request_builder.go +++ b/security/threat_intelligence_passive_dns_records_request_builder.go @@ -11,7 +11,7 @@ import ( type ThreatIntelligencePassiveDnsRecordsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ThreatIntelligencePassiveDnsRecordsRequestBuilderGetQueryParameters read the properties and relationships of a passiveDnsRecord object. +// ThreatIntelligencePassiveDnsRecordsRequestBuilderGetQueryParameters retrieve details about passiveDnsRecord objects.Note: List retrieval is not yet supported. type ThreatIntelligencePassiveDnsRecordsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewThreatIntelligencePassiveDnsRecordsRequestBuilder(rawUrl string, request func (m *ThreatIntelligencePassiveDnsRecordsRequestBuilder) Count()(*ThreatIntelligencePassiveDnsRecordsCountRequestBuilder) { return NewThreatIntelligencePassiveDnsRecordsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of a passiveDnsRecord object. +// Get retrieve details about passiveDnsRecord objects.Note: List retrieval is not yet supported. // returns a PassiveDnsRecordCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ThreatIntelligencePassiveDnsRecordsRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligencePassiveDnsRecordsRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.PassiveDnsRecordCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *ThreatIntelligencePassiveDnsRecordsRequestBuilder) Post(ctx context.Con } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.PassiveDnsRecordable), nil } -// ToGetRequestInformation read the properties and relationships of a passiveDnsRecord object. +// ToGetRequestInformation retrieve details about passiveDnsRecord objects.Note: List retrieval is not yet supported. // returns a *RequestInformation when successful func (m *ThreatIntelligencePassiveDnsRecordsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligencePassiveDnsRecordsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/threat_intelligence_ssl_certificates_request_builder.go b/security/threat_intelligence_ssl_certificates_request_builder.go index f25990faade..eb4e68c520e 100644 --- a/security/threat_intelligence_ssl_certificates_request_builder.go +++ b/security/threat_intelligence_ssl_certificates_request_builder.go @@ -11,7 +11,7 @@ import ( type ThreatIntelligenceSslCertificatesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ThreatIntelligenceSslCertificatesRequestBuilderGetQueryParameters get a list of sslCertificate objects and their properties. +// ThreatIntelligenceSslCertificatesRequestBuilderGetQueryParameters retrieve details about sslCertificate objects.Note: List retrieval is not yet supported. type ThreatIntelligenceSslCertificatesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewThreatIntelligenceSslCertificatesRequestBuilder(rawUrl string, requestAd func (m *ThreatIntelligenceSslCertificatesRequestBuilder) Count()(*ThreatIntelligenceSslCertificatesCountRequestBuilder) { return NewThreatIntelligenceSslCertificatesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of sslCertificate objects and their properties. +// Get retrieve details about sslCertificate objects.Note: List retrieval is not yet supported. // returns a SslCertificateCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-threatintelligence-list-sslcertificates?view=graph-rest-1.0 func (m *ThreatIntelligenceSslCertificatesRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceSslCertificatesRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.SslCertificateCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ThreatIntelligenceSslCertificatesRequestBuilder) Post(ctx context.Conte } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.SslCertificateable), nil } -// ToGetRequestInformation get a list of sslCertificate objects and their properties. +// ToGetRequestInformation retrieve details about sslCertificate objects.Note: List retrieval is not yet supported. // returns a *RequestInformation when successful func (m *ThreatIntelligenceSslCertificatesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceSslCertificatesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/threat_intelligence_ssl_certificates_ssl_certificate_item_request_builder.go b/security/threat_intelligence_ssl_certificates_ssl_certificate_item_request_builder.go index 357c496843e..fe3e6a60679 100644 --- a/security/threat_intelligence_ssl_certificates_ssl_certificate_item_request_builder.go +++ b/security/threat_intelligence_ssl_certificates_ssl_certificate_item_request_builder.go @@ -18,7 +18,7 @@ type ThreatIntelligenceSslCertificatesSslCertificateItemRequestBuilderDeleteRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ThreatIntelligenceSslCertificatesSslCertificateItemRequestBuilderGetQueryParameters get the properties and relationships of an sslCertificate object. +// ThreatIntelligenceSslCertificatesSslCertificateItemRequestBuilderGetQueryParameters retrieve details about sslCertificate objects.Note: List retrieval is not yet supported. type ThreatIntelligenceSslCertificatesSslCertificateItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ThreatIntelligenceSslCertificatesSslCertificateItemRequestBuilder) Dele } return nil } -// Get get the properties and relationships of an sslCertificate object. +// Get retrieve details about sslCertificate objects.Note: List retrieval is not yet supported. // returns a SslCertificateable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-sslcertificate-get?view=graph-rest-1.0 func (m *ThreatIntelligenceSslCertificatesSslCertificateItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceSslCertificatesSslCertificateItemRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.SslCertificateable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *ThreatIntelligenceSslCertificatesSslCertificateItemRequestBuilder) ToDe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties and relationships of an sslCertificate object. +// ToGetRequestInformation retrieve details about sslCertificate objects.Note: List retrieval is not yet supported. // returns a *RequestInformation when successful func (m *ThreatIntelligenceSslCertificatesSslCertificateItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceSslCertificatesSslCertificateItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/threat_intelligence_subdomains_request_builder.go b/security/threat_intelligence_subdomains_request_builder.go index c04da2e878c..4d0bb3e97af 100644 --- a/security/threat_intelligence_subdomains_request_builder.go +++ b/security/threat_intelligence_subdomains_request_builder.go @@ -11,7 +11,7 @@ import ( type ThreatIntelligenceSubdomainsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ThreatIntelligenceSubdomainsRequestBuilderGetQueryParameters read the properties and relationships of a subdomain object. +// ThreatIntelligenceSubdomainsRequestBuilderGetQueryParameters retrieve details about the subdomain.Note: List retrieval is not yet supported. type ThreatIntelligenceSubdomainsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewThreatIntelligenceSubdomainsRequestBuilder(rawUrl string, requestAdapter func (m *ThreatIntelligenceSubdomainsRequestBuilder) Count()(*ThreatIntelligenceSubdomainsCountRequestBuilder) { return NewThreatIntelligenceSubdomainsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of a subdomain object. +// Get retrieve details about the subdomain.Note: List retrieval is not yet supported. // returns a SubdomainCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ThreatIntelligenceSubdomainsRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceSubdomainsRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.SubdomainCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *ThreatIntelligenceSubdomainsRequestBuilder) Post(ctx context.Context, b } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.Subdomainable), nil } -// ToGetRequestInformation read the properties and relationships of a subdomain object. +// ToGetRequestInformation retrieve details about the subdomain.Note: List retrieval is not yet supported. // returns a *RequestInformation when successful func (m *ThreatIntelligenceSubdomainsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceSubdomainsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/threat_intelligence_subdomains_subdomain_item_request_builder.go b/security/threat_intelligence_subdomains_subdomain_item_request_builder.go index af4c54b6787..261bc5c9f46 100644 --- a/security/threat_intelligence_subdomains_subdomain_item_request_builder.go +++ b/security/threat_intelligence_subdomains_subdomain_item_request_builder.go @@ -18,7 +18,7 @@ type ThreatIntelligenceSubdomainsSubdomainItemRequestBuilderDeleteRequestConfigu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ThreatIntelligenceSubdomainsSubdomainItemRequestBuilderGetQueryParameters read the properties and relationships of a subdomain object. +// ThreatIntelligenceSubdomainsSubdomainItemRequestBuilderGetQueryParameters retrieve details about the subdomain.Note: List retrieval is not yet supported. type ThreatIntelligenceSubdomainsSubdomainItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ThreatIntelligenceSubdomainsSubdomainItemRequestBuilder) Delete(ctx con } return nil } -// Get read the properties and relationships of a subdomain object. +// Get retrieve details about the subdomain.Note: List retrieval is not yet supported. // returns a Subdomainable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-subdomain-get?view=graph-rest-1.0 func (m *ThreatIntelligenceSubdomainsSubdomainItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceSubdomainsSubdomainItemRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.Subdomainable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *ThreatIntelligenceSubdomainsSubdomainItemRequestBuilder) ToDeleteReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a subdomain object. +// ToGetRequestInformation retrieve details about the subdomain.Note: List retrieval is not yet supported. // returns a *RequestInformation when successful func (m *ThreatIntelligenceSubdomainsSubdomainItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceSubdomainsSubdomainItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/threat_intelligence_vulnerabilities_item_components_request_builder.go b/security/threat_intelligence_vulnerabilities_item_components_request_builder.go index af71889f69d..d632bd446b9 100644 --- a/security/threat_intelligence_vulnerabilities_item_components_request_builder.go +++ b/security/threat_intelligence_vulnerabilities_item_components_request_builder.go @@ -11,7 +11,7 @@ import ( type ThreatIntelligenceVulnerabilitiesItemComponentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ThreatIntelligenceVulnerabilitiesItemComponentsRequestBuilderGetQueryParameters get a list of vulnerabilityComponent objects related to a known vulnerability. +// ThreatIntelligenceVulnerabilitiesItemComponentsRequestBuilderGetQueryParameters components related to this vulnerability article. type ThreatIntelligenceVulnerabilitiesItemComponentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewThreatIntelligenceVulnerabilitiesItemComponentsRequestBuilder(rawUrl str func (m *ThreatIntelligenceVulnerabilitiesItemComponentsRequestBuilder) Count()(*ThreatIntelligenceVulnerabilitiesItemComponentsCountRequestBuilder) { return NewThreatIntelligenceVulnerabilitiesItemComponentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of vulnerabilityComponent objects related to a known vulnerability. +// Get components related to this vulnerability article. // returns a VulnerabilityComponentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-vulnerability-list-components?view=graph-rest-1.0 func (m *ThreatIntelligenceVulnerabilitiesItemComponentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceVulnerabilitiesItemComponentsRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.VulnerabilityComponentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ThreatIntelligenceVulnerabilitiesItemComponentsRequestBuilder) Post(ctx } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.VulnerabilityComponentable), nil } -// ToGetRequestInformation get a list of vulnerabilityComponent objects related to a known vulnerability. +// ToGetRequestInformation components related to this vulnerability article. // returns a *RequestInformation when successful func (m *ThreatIntelligenceVulnerabilitiesItemComponentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceVulnerabilitiesItemComponentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/threat_intelligence_vulnerabilities_item_components_vulnerability_component_item_request_builder.go b/security/threat_intelligence_vulnerabilities_item_components_vulnerability_component_item_request_builder.go index d5d080055a4..fed1507704c 100644 --- a/security/threat_intelligence_vulnerabilities_item_components_vulnerability_component_item_request_builder.go +++ b/security/threat_intelligence_vulnerabilities_item_components_vulnerability_component_item_request_builder.go @@ -18,7 +18,7 @@ type ThreatIntelligenceVulnerabilitiesItemComponentsVulnerabilityComponentItemRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ThreatIntelligenceVulnerabilitiesItemComponentsVulnerabilityComponentItemRequestBuilderGetQueryParameters read the properties and relationships of a vulnerabilityComponent object. +// ThreatIntelligenceVulnerabilitiesItemComponentsVulnerabilityComponentItemRequestBuilderGetQueryParameters components related to this vulnerability article. type ThreatIntelligenceVulnerabilitiesItemComponentsVulnerabilityComponentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ThreatIntelligenceVulnerabilitiesItemComponentsVulnerabilityComponentIt } return nil } -// Get read the properties and relationships of a vulnerabilityComponent object. +// Get components related to this vulnerability article. // returns a VulnerabilityComponentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-vulnerabilitycomponent-get?view=graph-rest-1.0 func (m *ThreatIntelligenceVulnerabilitiesItemComponentsVulnerabilityComponentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceVulnerabilitiesItemComponentsVulnerabilityComponentItemRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.VulnerabilityComponentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ThreatIntelligenceVulnerabilitiesItemComponentsVulnerabilityComponentIt requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a vulnerabilityComponent object. +// ToGetRequestInformation components related to this vulnerability article. // returns a *RequestInformation when successful func (m *ThreatIntelligenceVulnerabilitiesItemComponentsVulnerabilityComponentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceVulnerabilitiesItemComponentsVulnerabilityComponentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/threat_intelligence_vulnerabilities_request_builder.go b/security/threat_intelligence_vulnerabilities_request_builder.go index 8b2399cce1c..0793451f5e3 100644 --- a/security/threat_intelligence_vulnerabilities_request_builder.go +++ b/security/threat_intelligence_vulnerabilities_request_builder.go @@ -11,7 +11,7 @@ import ( type ThreatIntelligenceVulnerabilitiesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ThreatIntelligenceVulnerabilitiesRequestBuilderGetQueryParameters read the properties and relationships of a vulnerability object. +// ThreatIntelligenceVulnerabilitiesRequestBuilderGetQueryParameters retrieve details about vulnerabilities.Note: List retrieval is not yet supported. type ThreatIntelligenceVulnerabilitiesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewThreatIntelligenceVulnerabilitiesRequestBuilder(rawUrl string, requestAd func (m *ThreatIntelligenceVulnerabilitiesRequestBuilder) Count()(*ThreatIntelligenceVulnerabilitiesCountRequestBuilder) { return NewThreatIntelligenceVulnerabilitiesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of a vulnerability object. +// Get retrieve details about vulnerabilities.Note: List retrieval is not yet supported. // returns a VulnerabilityCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ThreatIntelligenceVulnerabilitiesRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceVulnerabilitiesRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.VulnerabilityCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *ThreatIntelligenceVulnerabilitiesRequestBuilder) Post(ctx context.Conte } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.Vulnerabilityable), nil } -// ToGetRequestInformation read the properties and relationships of a vulnerability object. +// ToGetRequestInformation retrieve details about vulnerabilities.Note: List retrieval is not yet supported. // returns a *RequestInformation when successful func (m *ThreatIntelligenceVulnerabilitiesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceVulnerabilitiesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/threat_intelligence_vulnerabilities_vulnerability_item_request_builder.go b/security/threat_intelligence_vulnerabilities_vulnerability_item_request_builder.go index 9c56c92aa24..4d3862ba0e4 100644 --- a/security/threat_intelligence_vulnerabilities_vulnerability_item_request_builder.go +++ b/security/threat_intelligence_vulnerabilities_vulnerability_item_request_builder.go @@ -18,7 +18,7 @@ type ThreatIntelligenceVulnerabilitiesVulnerabilityItemRequestBuilderDeleteReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ThreatIntelligenceVulnerabilitiesVulnerabilityItemRequestBuilderGetQueryParameters read the properties and relationships of a vulnerability object. +// ThreatIntelligenceVulnerabilitiesVulnerabilityItemRequestBuilderGetQueryParameters retrieve details about vulnerabilities.Note: List retrieval is not yet supported. type ThreatIntelligenceVulnerabilitiesVulnerabilityItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -80,12 +80,9 @@ func (m *ThreatIntelligenceVulnerabilitiesVulnerabilityItemRequestBuilder) Delet } return nil } -// Get read the properties and relationships of a vulnerability object. +// Get retrieve details about vulnerabilities.Note: List retrieval is not yet supported. // returns a Vulnerabilityable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-vulnerability-get?view=graph-rest-1.0 func (m *ThreatIntelligenceVulnerabilitiesVulnerabilityItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceVulnerabilitiesVulnerabilityItemRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.Vulnerabilityable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -134,7 +131,7 @@ func (m *ThreatIntelligenceVulnerabilitiesVulnerabilityItemRequestBuilder) ToDel requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a vulnerability object. +// ToGetRequestInformation retrieve details about vulnerabilities.Note: List retrieval is not yet supported. // returns a *RequestInformation when successful func (m *ThreatIntelligenceVulnerabilitiesVulnerabilityItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceVulnerabilitiesVulnerabilityItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/threat_intelligence_whois_records_item_history_request_builder.go b/security/threat_intelligence_whois_records_item_history_request_builder.go index 2566c4cca2b..d78b00d3e57 100644 --- a/security/threat_intelligence_whois_records_item_history_request_builder.go +++ b/security/threat_intelligence_whois_records_item_history_request_builder.go @@ -11,7 +11,7 @@ import ( type ThreatIntelligenceWhoisRecordsItemHistoryRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ThreatIntelligenceWhoisRecordsItemHistoryRequestBuilderGetQueryParameters get the history for a whoisRecord, as represented by a collection of whoisHistoryRecord resources. +// ThreatIntelligenceWhoisRecordsItemHistoryRequestBuilderGetQueryParameters the collection of historical records associated to this WHOIS object. type ThreatIntelligenceWhoisRecordsItemHistoryRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewThreatIntelligenceWhoisRecordsItemHistoryRequestBuilder(rawUrl string, r func (m *ThreatIntelligenceWhoisRecordsItemHistoryRequestBuilder) Count()(*ThreatIntelligenceWhoisRecordsItemHistoryCountRequestBuilder) { return NewThreatIntelligenceWhoisRecordsItemHistoryCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the history for a whoisRecord, as represented by a collection of whoisHistoryRecord resources. +// Get the collection of historical records associated to this WHOIS object. // returns a WhoisHistoryRecordCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-whoisrecord-list-history?view=graph-rest-1.0 func (m *ThreatIntelligenceWhoisRecordsItemHistoryRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceWhoisRecordsItemHistoryRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.WhoisHistoryRecordCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *ThreatIntelligenceWhoisRecordsItemHistoryRequestBuilder) Get(ctx contex } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.WhoisHistoryRecordCollectionResponseable), nil } -// ToGetRequestInformation get the history for a whoisRecord, as represented by a collection of whoisHistoryRecord resources. +// ToGetRequestInformation the collection of historical records associated to this WHOIS object. // returns a *RequestInformation when successful func (m *ThreatIntelligenceWhoisRecordsItemHistoryRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceWhoisRecordsItemHistoryRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/threat_intelligence_whois_records_request_builder.go b/security/threat_intelligence_whois_records_request_builder.go index 75eb55c1829..98d3435abc4 100644 --- a/security/threat_intelligence_whois_records_request_builder.go +++ b/security/threat_intelligence_whois_records_request_builder.go @@ -11,7 +11,7 @@ import ( type ThreatIntelligenceWhoisRecordsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ThreatIntelligenceWhoisRecordsRequestBuilderGetQueryParameters get a list of whoisRecord objects. +// ThreatIntelligenceWhoisRecordsRequestBuilderGetQueryParameters a list of whoisRecord objects. type ThreatIntelligenceWhoisRecordsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewThreatIntelligenceWhoisRecordsRequestBuilder(rawUrl string, requestAdapt func (m *ThreatIntelligenceWhoisRecordsRequestBuilder) Count()(*ThreatIntelligenceWhoisRecordsCountRequestBuilder) { return NewThreatIntelligenceWhoisRecordsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of whoisRecord objects. +// Get a list of whoisRecord objects. // returns a WhoisRecordCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-threatintelligence-list-whoisrecords?view=graph-rest-1.0 func (m *ThreatIntelligenceWhoisRecordsRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceWhoisRecordsRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.WhoisRecordCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ThreatIntelligenceWhoisRecordsRequestBuilder) Post(ctx context.Context, } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.WhoisRecordable), nil } -// ToGetRequestInformation get a list of whoisRecord objects. +// ToGetRequestInformation a list of whoisRecord objects. // returns a *RequestInformation when successful func (m *ThreatIntelligenceWhoisRecordsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceWhoisRecordsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/threat_intelligence_whois_records_whois_record_item_request_builder.go b/security/threat_intelligence_whois_records_whois_record_item_request_builder.go index 60ba4829f35..f270d3b14a9 100644 --- a/security/threat_intelligence_whois_records_whois_record_item_request_builder.go +++ b/security/threat_intelligence_whois_records_whois_record_item_request_builder.go @@ -18,7 +18,7 @@ type ThreatIntelligenceWhoisRecordsWhoisRecordItemRequestBuilderDeleteRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ThreatIntelligenceWhoisRecordsWhoisRecordItemRequestBuilderGetQueryParameters get the specified whoisRecord resource. Specify the desired whoisRecord in one of the following two ways:- Identify a host and get its current whoisRecord. - Specify an id value to get the corresponding whoisRecord. +// ThreatIntelligenceWhoisRecordsWhoisRecordItemRequestBuilderGetQueryParameters a list of whoisRecord objects. type ThreatIntelligenceWhoisRecordsWhoisRecordItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ThreatIntelligenceWhoisRecordsWhoisRecordItemRequestBuilder) Delete(ctx } return nil } -// Get get the specified whoisRecord resource. Specify the desired whoisRecord in one of the following two ways:- Identify a host and get its current whoisRecord. - Specify an id value to get the corresponding whoisRecord. +// Get a list of whoisRecord objects. // returns a WhoisRecordable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-whoisrecord-get?view=graph-rest-1.0 func (m *ThreatIntelligenceWhoisRecordsWhoisRecordItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatIntelligenceWhoisRecordsWhoisRecordItemRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.WhoisRecordable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -134,7 +131,7 @@ func (m *ThreatIntelligenceWhoisRecordsWhoisRecordItemRequestBuilder) ToDeleteRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the specified whoisRecord resource. Specify the desired whoisRecord in one of the following two ways:- Identify a host and get its current whoisRecord. - Specify an id value to get the corresponding whoisRecord. +// ToGetRequestInformation a list of whoisRecord objects. // returns a *RequestInformation when successful func (m *ThreatIntelligenceWhoisRecordsWhoisRecordItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatIntelligenceWhoisRecordsWhoisRecordItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/threat_submission_email_threat_submission_policies_email_threat_submission_policy_item_request_builder.go b/security/threat_submission_email_threat_submission_policies_email_threat_submission_policy_item_request_builder.go index 6a2cc989b9d..333b09ad52a 100644 --- a/security/threat_submission_email_threat_submission_policies_email_threat_submission_policy_item_request_builder.go +++ b/security/threat_submission_email_threat_submission_policies_email_threat_submission_policy_item_request_builder.go @@ -18,7 +18,7 @@ type ThreatSubmissionEmailThreatSubmissionPoliciesEmailThreatSubmissionPolicyIte // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ThreatSubmissionEmailThreatSubmissionPoliciesEmailThreatSubmissionPolicyItemRequestBuilderGetQueryParameters read the properties and relationships of an emailThreatSubmissionPolicy object. +// ThreatSubmissionEmailThreatSubmissionPoliciesEmailThreatSubmissionPolicyItemRequestBuilderGetQueryParameters get emailThreatSubmissionPolicies from security type ThreatSubmissionEmailThreatSubmissionPoliciesEmailThreatSubmissionPolicyItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ThreatSubmissionEmailThreatSubmissionPoliciesEmailThreatSubmissionPolic } return nil } -// Get read the properties and relationships of an emailThreatSubmissionPolicy object. +// Get get emailThreatSubmissionPolicies from security // returns a EmailThreatSubmissionPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-emailthreatsubmissionpolicy-get?view=graph-rest-1.0 func (m *ThreatSubmissionEmailThreatSubmissionPoliciesEmailThreatSubmissionPolicyItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatSubmissionEmailThreatSubmissionPoliciesEmailThreatSubmissionPolicyItemRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EmailThreatSubmissionPolicyable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ThreatSubmissionEmailThreatSubmissionPoliciesEmailThreatSubmissionPolic requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an emailThreatSubmissionPolicy object. +// ToGetRequestInformation get emailThreatSubmissionPolicies from security // returns a *RequestInformation when successful func (m *ThreatSubmissionEmailThreatSubmissionPoliciesEmailThreatSubmissionPolicyItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatSubmissionEmailThreatSubmissionPoliciesEmailThreatSubmissionPolicyItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/threat_submission_email_threat_submission_policies_request_builder.go b/security/threat_submission_email_threat_submission_policies_request_builder.go index 2ac24bf713b..85db5408f7b 100644 --- a/security/threat_submission_email_threat_submission_policies_request_builder.go +++ b/security/threat_submission_email_threat_submission_policies_request_builder.go @@ -11,7 +11,7 @@ import ( type ThreatSubmissionEmailThreatSubmissionPoliciesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ThreatSubmissionEmailThreatSubmissionPoliciesRequestBuilderGetQueryParameters get a list of the emailThreatSubmissionPolicy objects and their properties. +// ThreatSubmissionEmailThreatSubmissionPoliciesRequestBuilderGetQueryParameters get emailThreatSubmissionPolicies from security type ThreatSubmissionEmailThreatSubmissionPoliciesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewThreatSubmissionEmailThreatSubmissionPoliciesRequestBuilder(rawUrl strin func (m *ThreatSubmissionEmailThreatSubmissionPoliciesRequestBuilder) Count()(*ThreatSubmissionEmailThreatSubmissionPoliciesCountRequestBuilder) { return NewThreatSubmissionEmailThreatSubmissionPoliciesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the emailThreatSubmissionPolicy objects and their properties. +// Get get emailThreatSubmissionPolicies from security // returns a EmailThreatSubmissionPolicyCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-emailthreatsubmissionpolicy-list?view=graph-rest-1.0 func (m *ThreatSubmissionEmailThreatSubmissionPoliciesRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatSubmissionEmailThreatSubmissionPoliciesRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EmailThreatSubmissionPolicyCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ThreatSubmissionEmailThreatSubmissionPoliciesRequestBuilder) Post(ctx c } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EmailThreatSubmissionPolicyable), nil } -// ToGetRequestInformation get a list of the emailThreatSubmissionPolicy objects and their properties. +// ToGetRequestInformation get emailThreatSubmissionPolicies from security // returns a *RequestInformation when successful func (m *ThreatSubmissionEmailThreatSubmissionPoliciesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatSubmissionEmailThreatSubmissionPoliciesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/threat_submission_email_threats_email_threat_submission_item_request_builder.go b/security/threat_submission_email_threats_email_threat_submission_item_request_builder.go index 5aeddc8008f..03bd8ae36d5 100644 --- a/security/threat_submission_email_threats_email_threat_submission_item_request_builder.go +++ b/security/threat_submission_email_threats_email_threat_submission_item_request_builder.go @@ -18,7 +18,7 @@ type ThreatSubmissionEmailThreatsEmailThreatSubmissionItemRequestBuilderDeleteRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ThreatSubmissionEmailThreatsEmailThreatSubmissionItemRequestBuilderGetQueryParameters read the properties and relationships of an emailThreatSubmission object. +// ThreatSubmissionEmailThreatsEmailThreatSubmissionItemRequestBuilderGetQueryParameters get emailThreats from security type ThreatSubmissionEmailThreatsEmailThreatSubmissionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ThreatSubmissionEmailThreatsEmailThreatSubmissionItemRequestBuilder) De } return nil } -// Get read the properties and relationships of an emailThreatSubmission object. +// Get get emailThreats from security // returns a EmailThreatSubmissionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-emailthreatsubmission-get?view=graph-rest-1.0 func (m *ThreatSubmissionEmailThreatsEmailThreatSubmissionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatSubmissionEmailThreatsEmailThreatSubmissionItemRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EmailThreatSubmissionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ThreatSubmissionEmailThreatsEmailThreatSubmissionItemRequestBuilder) To requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an emailThreatSubmission object. +// ToGetRequestInformation get emailThreats from security // returns a *RequestInformation when successful func (m *ThreatSubmissionEmailThreatsEmailThreatSubmissionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatSubmissionEmailThreatsEmailThreatSubmissionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/threat_submission_email_threats_request_builder.go b/security/threat_submission_email_threats_request_builder.go index 9a20c35bb0b..36cbead7ec6 100644 --- a/security/threat_submission_email_threats_request_builder.go +++ b/security/threat_submission_email_threats_request_builder.go @@ -11,7 +11,7 @@ import ( type ThreatSubmissionEmailThreatsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ThreatSubmissionEmailThreatsRequestBuilderGetQueryParameters get a list of the emailThreatSubmission objects and their properties. +// ThreatSubmissionEmailThreatsRequestBuilderGetQueryParameters get emailThreats from security type ThreatSubmissionEmailThreatsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewThreatSubmissionEmailThreatsRequestBuilder(rawUrl string, requestAdapter func (m *ThreatSubmissionEmailThreatsRequestBuilder) Count()(*ThreatSubmissionEmailThreatsCountRequestBuilder) { return NewThreatSubmissionEmailThreatsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the emailThreatSubmission objects and their properties. +// Get get emailThreats from security // returns a EmailThreatSubmissionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-emailthreatsubmission-list?view=graph-rest-1.0 func (m *ThreatSubmissionEmailThreatsRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatSubmissionEmailThreatsRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EmailThreatSubmissionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ThreatSubmissionEmailThreatsRequestBuilder) Get(ctx context.Context, re } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EmailThreatSubmissionCollectionResponseable), nil } -// Post create a new emailThreatSubmission object. +// Post create new navigation property to emailThreats for security // returns a EmailThreatSubmissionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-emailthreatsubmission-post-emailthreats?view=graph-rest-1.0 func (m *ThreatSubmissionEmailThreatsRequestBuilder) Post(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EmailThreatSubmissionable, requestConfiguration *ThreatSubmissionEmailThreatsRequestBuilderPostRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EmailThreatSubmissionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ThreatSubmissionEmailThreatsRequestBuilder) Post(ctx context.Context, b } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EmailThreatSubmissionable), nil } -// ToGetRequestInformation get a list of the emailThreatSubmission objects and their properties. +// ToGetRequestInformation get emailThreats from security // returns a *RequestInformation when successful func (m *ThreatSubmissionEmailThreatsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatSubmissionEmailThreatsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ThreatSubmissionEmailThreatsRequestBuilder) ToGetRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new emailThreatSubmission object. +// ToPostRequestInformation create new navigation property to emailThreats for security // returns a *RequestInformation when successful func (m *ThreatSubmissionEmailThreatsRequestBuilder) ToPostRequestInformation(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EmailThreatSubmissionable, requestConfiguration *ThreatSubmissionEmailThreatsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/threat_submission_file_threats_file_threat_submission_item_request_builder.go b/security/threat_submission_file_threats_file_threat_submission_item_request_builder.go index 2067e1e6da5..169f74d1167 100644 --- a/security/threat_submission_file_threats_file_threat_submission_item_request_builder.go +++ b/security/threat_submission_file_threats_file_threat_submission_item_request_builder.go @@ -18,7 +18,7 @@ type ThreatSubmissionFileThreatsFileThreatSubmissionItemRequestBuilderDeleteRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ThreatSubmissionFileThreatsFileThreatSubmissionItemRequestBuilderGetQueryParameters read the properties and relationships of a fileThreatSubmission object. +// ThreatSubmissionFileThreatsFileThreatSubmissionItemRequestBuilderGetQueryParameters get fileThreats from security type ThreatSubmissionFileThreatsFileThreatSubmissionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ThreatSubmissionFileThreatsFileThreatSubmissionItemRequestBuilder) Dele } return nil } -// Get read the properties and relationships of a fileThreatSubmission object. +// Get get fileThreats from security // returns a FileThreatSubmissionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-filethreatsubmission-get?view=graph-rest-1.0 func (m *ThreatSubmissionFileThreatsFileThreatSubmissionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatSubmissionFileThreatsFileThreatSubmissionItemRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.FileThreatSubmissionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ThreatSubmissionFileThreatsFileThreatSubmissionItemRequestBuilder) ToDe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a fileThreatSubmission object. +// ToGetRequestInformation get fileThreats from security // returns a *RequestInformation when successful func (m *ThreatSubmissionFileThreatsFileThreatSubmissionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatSubmissionFileThreatsFileThreatSubmissionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/threat_submission_file_threats_request_builder.go b/security/threat_submission_file_threats_request_builder.go index 02ce0e6d4fa..769eca19aa7 100644 --- a/security/threat_submission_file_threats_request_builder.go +++ b/security/threat_submission_file_threats_request_builder.go @@ -11,7 +11,7 @@ import ( type ThreatSubmissionFileThreatsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ThreatSubmissionFileThreatsRequestBuilderGetQueryParameters get a list of the fileThreatSubmission objects and their properties. +// ThreatSubmissionFileThreatsRequestBuilderGetQueryParameters get fileThreats from security type ThreatSubmissionFileThreatsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewThreatSubmissionFileThreatsRequestBuilder(rawUrl string, requestAdapter func (m *ThreatSubmissionFileThreatsRequestBuilder) Count()(*ThreatSubmissionFileThreatsCountRequestBuilder) { return NewThreatSubmissionFileThreatsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the fileThreatSubmission objects and their properties. +// Get get fileThreats from security // returns a FileThreatSubmissionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-filethreatsubmission-list?view=graph-rest-1.0 func (m *ThreatSubmissionFileThreatsRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatSubmissionFileThreatsRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.FileThreatSubmissionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ThreatSubmissionFileThreatsRequestBuilder) Post(ctx context.Context, bo } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.FileThreatSubmissionable), nil } -// ToGetRequestInformation get a list of the fileThreatSubmission objects and their properties. +// ToGetRequestInformation get fileThreats from security // returns a *RequestInformation when successful func (m *ThreatSubmissionFileThreatsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatSubmissionFileThreatsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/threat_submission_url_threats_request_builder.go b/security/threat_submission_url_threats_request_builder.go index 86f59698078..6803f82c80d 100644 --- a/security/threat_submission_url_threats_request_builder.go +++ b/security/threat_submission_url_threats_request_builder.go @@ -11,7 +11,7 @@ import ( type ThreatSubmissionUrlThreatsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ThreatSubmissionUrlThreatsRequestBuilderGetQueryParameters get a list of the urlThreatSubmission objects and their properties. +// ThreatSubmissionUrlThreatsRequestBuilderGetQueryParameters get urlThreats from security type ThreatSubmissionUrlThreatsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewThreatSubmissionUrlThreatsRequestBuilder(rawUrl string, requestAdapter i func (m *ThreatSubmissionUrlThreatsRequestBuilder) Count()(*ThreatSubmissionUrlThreatsCountRequestBuilder) { return NewThreatSubmissionUrlThreatsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the urlThreatSubmission objects and their properties. +// Get get urlThreats from security // returns a UrlThreatSubmissionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-urlthreatsubmission-list?view=graph-rest-1.0 func (m *ThreatSubmissionUrlThreatsRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatSubmissionUrlThreatsRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.UrlThreatSubmissionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ThreatSubmissionUrlThreatsRequestBuilder) Get(ctx context.Context, requ } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.UrlThreatSubmissionCollectionResponseable), nil } -// Post create a new urlThreatSubmission object. +// Post create new navigation property to urlThreats for security // returns a UrlThreatSubmissionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-urlthreatsubmission-post-urlthreats?view=graph-rest-1.0 func (m *ThreatSubmissionUrlThreatsRequestBuilder) Post(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.UrlThreatSubmissionable, requestConfiguration *ThreatSubmissionUrlThreatsRequestBuilderPostRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.UrlThreatSubmissionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ThreatSubmissionUrlThreatsRequestBuilder) Post(ctx context.Context, bod } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.UrlThreatSubmissionable), nil } -// ToGetRequestInformation get a list of the urlThreatSubmission objects and their properties. +// ToGetRequestInformation get urlThreats from security // returns a *RequestInformation when successful func (m *ThreatSubmissionUrlThreatsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatSubmissionUrlThreatsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ThreatSubmissionUrlThreatsRequestBuilder) ToGetRequestInformation(ctx c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new urlThreatSubmission object. +// ToPostRequestInformation create new navigation property to urlThreats for security // returns a *RequestInformation when successful func (m *ThreatSubmissionUrlThreatsRequestBuilder) ToPostRequestInformation(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.UrlThreatSubmissionable, requestConfiguration *ThreatSubmissionUrlThreatsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/threat_submission_url_threats_url_threat_submission_item_request_builder.go b/security/threat_submission_url_threats_url_threat_submission_item_request_builder.go index 3e427628ab6..88428b69179 100644 --- a/security/threat_submission_url_threats_url_threat_submission_item_request_builder.go +++ b/security/threat_submission_url_threats_url_threat_submission_item_request_builder.go @@ -18,7 +18,7 @@ type ThreatSubmissionUrlThreatsUrlThreatSubmissionItemRequestBuilderDeleteReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ThreatSubmissionUrlThreatsUrlThreatSubmissionItemRequestBuilderGetQueryParameters read the properties and relationships of an urlThreatSubmission object. +// ThreatSubmissionUrlThreatsUrlThreatSubmissionItemRequestBuilderGetQueryParameters get urlThreats from security type ThreatSubmissionUrlThreatsUrlThreatSubmissionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ThreatSubmissionUrlThreatsUrlThreatSubmissionItemRequestBuilder) Delete } return nil } -// Get read the properties and relationships of an urlThreatSubmission object. +// Get get urlThreats from security // returns a UrlThreatSubmissionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-urlthreatsubmission-get?view=graph-rest-1.0 func (m *ThreatSubmissionUrlThreatsUrlThreatSubmissionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ThreatSubmissionUrlThreatsUrlThreatSubmissionItemRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.UrlThreatSubmissionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ThreatSubmissionUrlThreatsUrlThreatSubmissionItemRequestBuilder) ToDele requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an urlThreatSubmission object. +// ToGetRequestInformation get urlThreats from security // returns a *RequestInformation when successful func (m *ThreatSubmissionUrlThreatsUrlThreatSubmissionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ThreatSubmissionUrlThreatsUrlThreatSubmissionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/ti_indicators_delete_ti_indicators_by_external_id_request_builder.go b/security/ti_indicators_delete_ti_indicators_by_external_id_request_builder.go index 77418788b15..5f141acf92e 100644 --- a/security/ti_indicators_delete_ti_indicators_by_external_id_request_builder.go +++ b/security/ti_indicators_delete_ti_indicators_by_external_id_request_builder.go @@ -36,7 +36,7 @@ func NewTiIndicatorsDeleteTiIndicatorsByExternalIdRequestBuilder(rawUrl string, // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/tiindicator-deletetiindicatorsbyexternalid?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/tiindicator-deletetiindicatorsbyexternalid?view=graph-rest-beta func (m *TiIndicatorsDeleteTiIndicatorsByExternalIdRequestBuilder) Post(ctx context.Context, body TiIndicatorsDeleteTiIndicatorsByExternalIdPostRequestBodyable, requestConfiguration *TiIndicatorsDeleteTiIndicatorsByExternalIdRequestBuilderPostRequestConfiguration)(TiIndicatorsDeleteTiIndicatorsByExternalIdResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *TiIndicatorsDeleteTiIndicatorsByExternalIdRequestBuilder) Post(ctx cont // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/tiindicator-deletetiindicatorsbyexternalid?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/tiindicator-deletetiindicatorsbyexternalid?view=graph-rest-beta func (m *TiIndicatorsDeleteTiIndicatorsByExternalIdRequestBuilder) PostAsDeleteTiIndicatorsByExternalIdPostResponse(ctx context.Context, body TiIndicatorsDeleteTiIndicatorsByExternalIdPostRequestBodyable, requestConfiguration *TiIndicatorsDeleteTiIndicatorsByExternalIdRequestBuilderPostRequestConfiguration)(TiIndicatorsDeleteTiIndicatorsByExternalIdPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/security/ti_indicators_delete_ti_indicators_request_builder.go b/security/ti_indicators_delete_ti_indicators_request_builder.go index 9962ca0d940..71f0eaaf756 100644 --- a/security/ti_indicators_delete_ti_indicators_request_builder.go +++ b/security/ti_indicators_delete_ti_indicators_request_builder.go @@ -36,7 +36,7 @@ func NewTiIndicatorsDeleteTiIndicatorsRequestBuilder(rawUrl string, requestAdapt // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/tiindicator-deletetiindicators?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/tiindicator-deletetiindicators?view=graph-rest-beta func (m *TiIndicatorsDeleteTiIndicatorsRequestBuilder) Post(ctx context.Context, body TiIndicatorsDeleteTiIndicatorsPostRequestBodyable, requestConfiguration *TiIndicatorsDeleteTiIndicatorsRequestBuilderPostRequestConfiguration)(TiIndicatorsDeleteTiIndicatorsResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *TiIndicatorsDeleteTiIndicatorsRequestBuilder) Post(ctx context.Context, // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/tiindicator-deletetiindicators?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/tiindicator-deletetiindicators?view=graph-rest-beta func (m *TiIndicatorsDeleteTiIndicatorsRequestBuilder) PostAsDeleteTiIndicatorsPostResponse(ctx context.Context, body TiIndicatorsDeleteTiIndicatorsPostRequestBodyable, requestConfiguration *TiIndicatorsDeleteTiIndicatorsRequestBuilderPostRequestConfiguration)(TiIndicatorsDeleteTiIndicatorsPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/security/ti_indicators_request_builder.go b/security/ti_indicators_request_builder.go index 73133d05ff0..2429ad0d5b1 100644 --- a/security/ti_indicators_request_builder.go +++ b/security/ti_indicators_request_builder.go @@ -11,7 +11,7 @@ import ( type TiIndicatorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TiIndicatorsRequestBuilderGetQueryParameters retrieve a list of tiIndicator objects. +// TiIndicatorsRequestBuilderGetQueryParameters get tiIndicators from security type TiIndicatorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -86,12 +86,9 @@ func (m *TiIndicatorsRequestBuilder) DeleteTiIndicators()(*TiIndicatorsDeleteTiI func (m *TiIndicatorsRequestBuilder) DeleteTiIndicatorsByExternalId()(*TiIndicatorsDeleteTiIndicatorsByExternalIdRequestBuilder) { return NewTiIndicatorsDeleteTiIndicatorsByExternalIdRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of tiIndicator objects. +// Get get tiIndicators from security // returns a TiIndicatorCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/tiindicators-list?view=graph-rest-1.0 func (m *TiIndicatorsRequestBuilder) Get(ctx context.Context, requestConfiguration *TiIndicatorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TiIndicatorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -109,12 +106,9 @@ func (m *TiIndicatorsRequestBuilder) Get(ctx context.Context, requestConfigurati } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TiIndicatorCollectionResponseable), nil } -// Post create a new tiIndicator object. +// Post create new navigation property to tiIndicators for security // returns a TiIndicatorable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/tiindicators-post?view=graph-rest-1.0 func (m *TiIndicatorsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TiIndicatorable, requestConfiguration *TiIndicatorsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TiIndicatorable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -137,7 +131,7 @@ func (m *TiIndicatorsRequestBuilder) Post(ctx context.Context, body ie233ee762e2 func (m *TiIndicatorsRequestBuilder) SubmitTiIndicators()(*TiIndicatorsSubmitTiIndicatorsRequestBuilder) { return NewTiIndicatorsSubmitTiIndicatorsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation retrieve a list of tiIndicator objects. +// ToGetRequestInformation get tiIndicators from security // returns a *RequestInformation when successful func (m *TiIndicatorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TiIndicatorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -151,7 +145,7 @@ func (m *TiIndicatorsRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new tiIndicator object. +// ToPostRequestInformation create new navigation property to tiIndicators for security // returns a *RequestInformation when successful func (m *TiIndicatorsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TiIndicatorable, requestConfiguration *TiIndicatorsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/ti_indicators_submit_ti_indicators_request_builder.go b/security/ti_indicators_submit_ti_indicators_request_builder.go index 1beaf6dcc27..ac92022f140 100644 --- a/security/ti_indicators_submit_ti_indicators_request_builder.go +++ b/security/ti_indicators_submit_ti_indicators_request_builder.go @@ -36,7 +36,7 @@ func NewTiIndicatorsSubmitTiIndicatorsRequestBuilder(rawUrl string, requestAdapt // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/tiindicator-submittiindicators?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/tiindicator-submittiindicators?view=graph-rest-beta func (m *TiIndicatorsSubmitTiIndicatorsRequestBuilder) Post(ctx context.Context, body TiIndicatorsSubmitTiIndicatorsPostRequestBodyable, requestConfiguration *TiIndicatorsSubmitTiIndicatorsRequestBuilderPostRequestConfiguration)(TiIndicatorsSubmitTiIndicatorsResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *TiIndicatorsSubmitTiIndicatorsRequestBuilder) Post(ctx context.Context, // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/tiindicator-submittiindicators?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/tiindicator-submittiindicators?view=graph-rest-beta func (m *TiIndicatorsSubmitTiIndicatorsRequestBuilder) PostAsSubmitTiIndicatorsPostResponse(ctx context.Context, body TiIndicatorsSubmitTiIndicatorsPostRequestBodyable, requestConfiguration *TiIndicatorsSubmitTiIndicatorsRequestBuilderPostRequestConfiguration)(TiIndicatorsSubmitTiIndicatorsPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/security/ti_indicators_ti_indicator_item_request_builder.go b/security/ti_indicators_ti_indicator_item_request_builder.go index b9d074b7aba..45d04081310 100644 --- a/security/ti_indicators_ti_indicator_item_request_builder.go +++ b/security/ti_indicators_ti_indicator_item_request_builder.go @@ -18,7 +18,7 @@ type TiIndicatorsTiIndicatorItemRequestBuilderDeleteRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TiIndicatorsTiIndicatorItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a tiIndicator object. +// TiIndicatorsTiIndicatorItemRequestBuilderGetQueryParameters get tiIndicators from security type TiIndicatorsTiIndicatorItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewTiIndicatorsTiIndicatorItemRequestBuilder(rawUrl string, requestAdapter urlParams["request-raw-url"] = rawUrl return NewTiIndicatorsTiIndicatorItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a tiIndicator object. +// Delete delete navigation property tiIndicators for security // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/tiindicator-delete?view=graph-rest-1.0 func (m *TiIndicatorsTiIndicatorItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *TiIndicatorsTiIndicatorItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *TiIndicatorsTiIndicatorItemRequestBuilder) Delete(ctx context.Context, } return nil } -// Get retrieve the properties and relationships of a tiIndicator object. +// Get get tiIndicators from security // returns a TiIndicatorable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/tiindicator-get?view=graph-rest-1.0 func (m *TiIndicatorsTiIndicatorItemRequestBuilder) Get(ctx context.Context, requestConfiguration *TiIndicatorsTiIndicatorItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TiIndicatorable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *TiIndicatorsTiIndicatorItemRequestBuilder) Get(ctx context.Context, req } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TiIndicatorable), nil } -// Patch update the properties of a tiIndicator object. +// Patch update the navigation property tiIndicators in security // returns a TiIndicatorable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/tiindicator-update?view=graph-rest-1.0 func (m *TiIndicatorsTiIndicatorItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TiIndicatorable, requestConfiguration *TiIndicatorsTiIndicatorItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TiIndicatorable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *TiIndicatorsTiIndicatorItemRequestBuilder) Patch(ctx context.Context, b } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TiIndicatorable), nil } -// ToDeleteRequestInformation delete a tiIndicator object. +// ToDeleteRequestInformation delete navigation property tiIndicators for security // returns a *RequestInformation when successful func (m *TiIndicatorsTiIndicatorItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *TiIndicatorsTiIndicatorItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *TiIndicatorsTiIndicatorItemRequestBuilder) ToDeleteRequestInformation(c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a tiIndicator object. +// ToGetRequestInformation get tiIndicators from security // returns a *RequestInformation when successful func (m *TiIndicatorsTiIndicatorItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TiIndicatorsTiIndicatorItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *TiIndicatorsTiIndicatorItemRequestBuilder) ToGetRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a tiIndicator object. +// ToPatchRequestInformation update the navigation property tiIndicators in security // returns a *RequestInformation when successful func (m *TiIndicatorsTiIndicatorItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TiIndicatorable, requestConfiguration *TiIndicatorsTiIndicatorItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/ti_indicators_update_ti_indicators_request_builder.go b/security/ti_indicators_update_ti_indicators_request_builder.go index d6c46894b28..e95a47089c9 100644 --- a/security/ti_indicators_update_ti_indicators_request_builder.go +++ b/security/ti_indicators_update_ti_indicators_request_builder.go @@ -36,7 +36,7 @@ func NewTiIndicatorsUpdateTiIndicatorsRequestBuilder(rawUrl string, requestAdapt // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/tiindicator-updatetiindicators?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/tiindicator-updatetiindicators?view=graph-rest-beta func (m *TiIndicatorsUpdateTiIndicatorsRequestBuilder) Post(ctx context.Context, body TiIndicatorsUpdateTiIndicatorsPostRequestBodyable, requestConfiguration *TiIndicatorsUpdateTiIndicatorsRequestBuilderPostRequestConfiguration)(TiIndicatorsUpdateTiIndicatorsResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *TiIndicatorsUpdateTiIndicatorsRequestBuilder) Post(ctx context.Context, // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/tiindicator-updatetiindicators?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/tiindicator-updatetiindicators?view=graph-rest-beta func (m *TiIndicatorsUpdateTiIndicatorsRequestBuilder) PostAsUpdateTiIndicatorsPostResponse(ctx context.Context, body TiIndicatorsUpdateTiIndicatorsPostRequestBodyable, requestConfiguration *TiIndicatorsUpdateTiIndicatorsRequestBuilderPostRequestConfiguration)(TiIndicatorsUpdateTiIndicatorsPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/security/trigger_types_retention_event_types_request_builder.go b/security/trigger_types_retention_event_types_request_builder.go index 0e1233f1e36..955917ff44c 100644 --- a/security/trigger_types_retention_event_types_request_builder.go +++ b/security/trigger_types_retention_event_types_request_builder.go @@ -11,7 +11,7 @@ import ( type TriggerTypesRetentionEventTypesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TriggerTypesRetentionEventTypesRequestBuilderGetQueryParameters get a list of the retentionEventType objects and their properties. +// TriggerTypesRetentionEventTypesRequestBuilderGetQueryParameters get retentionEventTypes from security type TriggerTypesRetentionEventTypesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewTriggerTypesRetentionEventTypesRequestBuilder(rawUrl string, requestAdap func (m *TriggerTypesRetentionEventTypesRequestBuilder) Count()(*TriggerTypesRetentionEventTypesCountRequestBuilder) { return NewTriggerTypesRetentionEventTypesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the retentionEventType objects and their properties. +// Get get retentionEventTypes from security // returns a RetentionEventTypeCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-retentioneventtype-list?view=graph-rest-1.0 func (m *TriggerTypesRetentionEventTypesRequestBuilder) Get(ctx context.Context, requestConfiguration *TriggerTypesRetentionEventTypesRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.RetentionEventTypeCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *TriggerTypesRetentionEventTypesRequestBuilder) Get(ctx context.Context, } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.RetentionEventTypeCollectionResponseable), nil } -// Post create a new retentionEventType object. +// Post create new navigation property to retentionEventTypes for security // returns a RetentionEventTypeable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-retentioneventtype-post?view=graph-rest-1.0 func (m *TriggerTypesRetentionEventTypesRequestBuilder) Post(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.RetentionEventTypeable, requestConfiguration *TriggerTypesRetentionEventTypesRequestBuilderPostRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.RetentionEventTypeable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *TriggerTypesRetentionEventTypesRequestBuilder) Post(ctx context.Context } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.RetentionEventTypeable), nil } -// ToGetRequestInformation get a list of the retentionEventType objects and their properties. +// ToGetRequestInformation get retentionEventTypes from security // returns a *RequestInformation when successful func (m *TriggerTypesRetentionEventTypesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TriggerTypesRetentionEventTypesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *TriggerTypesRetentionEventTypesRequestBuilder) ToGetRequestInformation( requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new retentionEventType object. +// ToPostRequestInformation create new navigation property to retentionEventTypes for security // returns a *RequestInformation when successful func (m *TriggerTypesRetentionEventTypesRequestBuilder) ToPostRequestInformation(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.RetentionEventTypeable, requestConfiguration *TriggerTypesRetentionEventTypesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/trigger_types_retention_event_types_retention_event_type_item_request_builder.go b/security/trigger_types_retention_event_types_retention_event_type_item_request_builder.go index 946f0cbc06a..dfaa45fd5e1 100644 --- a/security/trigger_types_retention_event_types_retention_event_type_item_request_builder.go +++ b/security/trigger_types_retention_event_types_retention_event_type_item_request_builder.go @@ -18,7 +18,7 @@ type TriggerTypesRetentionEventTypesRetentionEventTypeItemRequestBuilderDeleteRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TriggerTypesRetentionEventTypesRetentionEventTypeItemRequestBuilderGetQueryParameters read the properties and relationships of a retentionEventType object. +// TriggerTypesRetentionEventTypesRetentionEventTypeItemRequestBuilderGetQueryParameters get retentionEventTypes from security type TriggerTypesRetentionEventTypesRetentionEventTypeItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewTriggerTypesRetentionEventTypesRetentionEventTypeItemRequestBuilder(rawU urlParams["request-raw-url"] = rawUrl return NewTriggerTypesRetentionEventTypesRetentionEventTypeItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a retentionEventType object. +// Delete delete navigation property retentionEventTypes for security // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-retentioneventtype-delete?view=graph-rest-1.0 func (m *TriggerTypesRetentionEventTypesRetentionEventTypeItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *TriggerTypesRetentionEventTypesRetentionEventTypeItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *TriggerTypesRetentionEventTypesRetentionEventTypeItemRequestBuilder) De } return nil } -// Get read the properties and relationships of a retentionEventType object. +// Get get retentionEventTypes from security // returns a RetentionEventTypeable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-retentioneventtype-get?view=graph-rest-1.0 func (m *TriggerTypesRetentionEventTypesRetentionEventTypeItemRequestBuilder) Get(ctx context.Context, requestConfiguration *TriggerTypesRetentionEventTypesRetentionEventTypeItemRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.RetentionEventTypeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -116,7 +110,7 @@ func (m *TriggerTypesRetentionEventTypesRetentionEventTypeItemRequestBuilder) Pa } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.RetentionEventTypeable), nil } -// ToDeleteRequestInformation delete a retentionEventType object. +// ToDeleteRequestInformation delete navigation property retentionEventTypes for security // returns a *RequestInformation when successful func (m *TriggerTypesRetentionEventTypesRetentionEventTypeItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *TriggerTypesRetentionEventTypesRetentionEventTypeItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -127,7 +121,7 @@ func (m *TriggerTypesRetentionEventTypesRetentionEventTypeItemRequestBuilder) To requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a retentionEventType object. +// ToGetRequestInformation get retentionEventTypes from security // returns a *RequestInformation when successful func (m *TriggerTypesRetentionEventTypesRetentionEventTypeItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TriggerTypesRetentionEventTypesRetentionEventTypeItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/triggers_retention_events_request_builder.go b/security/triggers_retention_events_request_builder.go index 36f4d4935c7..5d2f0328020 100644 --- a/security/triggers_retention_events_request_builder.go +++ b/security/triggers_retention_events_request_builder.go @@ -11,7 +11,7 @@ import ( type TriggersRetentionEventsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TriggersRetentionEventsRequestBuilderGetQueryParameters get a list of the retentionEvent objects and their properties. +// TriggersRetentionEventsRequestBuilderGetQueryParameters get retentionEvents from security type TriggersRetentionEventsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewTriggersRetentionEventsRequestBuilder(rawUrl string, requestAdapter i2ae func (m *TriggersRetentionEventsRequestBuilder) Count()(*TriggersRetentionEventsCountRequestBuilder) { return NewTriggersRetentionEventsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the retentionEvent objects and their properties. +// Get get retentionEvents from security // returns a RetentionEventCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-retentionevent-list?view=graph-rest-1.0 func (m *TriggersRetentionEventsRequestBuilder) Get(ctx context.Context, requestConfiguration *TriggersRetentionEventsRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.RetentionEventCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *TriggersRetentionEventsRequestBuilder) Get(ctx context.Context, request } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.RetentionEventCollectionResponseable), nil } -// Post create a new retentionEvent object. +// Post create new navigation property to retentionEvents for security // returns a RetentionEventable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-retentionevent-post?view=graph-rest-1.0 func (m *TriggersRetentionEventsRequestBuilder) Post(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.RetentionEventable, requestConfiguration *TriggersRetentionEventsRequestBuilderPostRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.RetentionEventable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *TriggersRetentionEventsRequestBuilder) Post(ctx context.Context, body i } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.RetentionEventable), nil } -// ToGetRequestInformation get a list of the retentionEvent objects and their properties. +// ToGetRequestInformation get retentionEvents from security // returns a *RequestInformation when successful func (m *TriggersRetentionEventsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TriggersRetentionEventsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *TriggersRetentionEventsRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new retentionEvent object. +// ToPostRequestInformation create new navigation property to retentionEvents for security // returns a *RequestInformation when successful func (m *TriggersRetentionEventsRequestBuilder) ToPostRequestInformation(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.RetentionEventable, requestConfiguration *TriggersRetentionEventsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/triggers_retention_events_retention_event_item_request_builder.go b/security/triggers_retention_events_retention_event_item_request_builder.go index 91d81cd132d..ed5b4587b4a 100644 --- a/security/triggers_retention_events_retention_event_item_request_builder.go +++ b/security/triggers_retention_events_retention_event_item_request_builder.go @@ -18,7 +18,7 @@ type TriggersRetentionEventsRetentionEventItemRequestBuilderDeleteRequestConfigu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TriggersRetentionEventsRetentionEventItemRequestBuilderGetQueryParameters read the properties and relationships of a retentionEvent object. +// TriggersRetentionEventsRetentionEventItemRequestBuilderGetQueryParameters get retentionEvents from security type TriggersRetentionEventsRetentionEventItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewTriggersRetentionEventsRetentionEventItemRequestBuilder(rawUrl string, r urlParams["request-raw-url"] = rawUrl return NewTriggersRetentionEventsRetentionEventItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a retentionEvent object. +// Delete delete navigation property retentionEvents for security // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-retentionevent-delete?view=graph-rest-1.0 func (m *TriggersRetentionEventsRetentionEventItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *TriggersRetentionEventsRetentionEventItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *TriggersRetentionEventsRetentionEventItemRequestBuilder) Delete(ctx con } return nil } -// Get read the properties and relationships of a retentionEvent object. +// Get get retentionEvents from security // returns a RetentionEventable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-retentionevent-get?view=graph-rest-1.0 func (m *TriggersRetentionEventsRetentionEventItemRequestBuilder) Get(ctx context.Context, requestConfiguration *TriggersRetentionEventsRetentionEventItemRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.RetentionEventable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -121,7 +115,7 @@ func (m *TriggersRetentionEventsRetentionEventItemRequestBuilder) Patch(ctx cont func (m *TriggersRetentionEventsRetentionEventItemRequestBuilder) RetentionEventType()(*TriggersRetentionEventsItemRetentionEventTypeRequestBuilder) { return NewTriggersRetentionEventsItemRetentionEventTypeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a retentionEvent object. +// ToDeleteRequestInformation delete navigation property retentionEvents for security // returns a *RequestInformation when successful func (m *TriggersRetentionEventsRetentionEventItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *TriggersRetentionEventsRetentionEventItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -132,7 +126,7 @@ func (m *TriggersRetentionEventsRetentionEventItemRequestBuilder) ToDeleteReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a retentionEvent object. +// ToGetRequestInformation get retentionEvents from security // returns a *RequestInformation when successful func (m *TriggersRetentionEventsRetentionEventItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TriggersRetentionEventsRetentionEventItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/serviceprincipals/delta_request_builder.go b/serviceprincipals/delta_request_builder.go index 976bd325e3b..bd77b9dac49 100644 --- a/serviceprincipals/delta_request_builder.go +++ b/serviceprincipals/delta_request_builder.go @@ -10,7 +10,7 @@ import ( type DeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeltaRequestBuilderGetQueryParameters invoke function delta +// DeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted service principals without having to perform a full read of the entire resource collection. type DeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb urlParams["request-raw-url"] = rawUrl return NewDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get get newly created, updated, or deleted service principals without having to perform a full read of the entire resource collection. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a DeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-delta?view=graph-rest-beta func (m *DeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(DeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *DeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *Del } return res.(DeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse get newly created, updated, or deleted service principals without having to perform a full read of the entire resource collection. // returns a DeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-delta?view=graph-rest-beta func (m *DeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(DeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *DeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, request } return res.(DeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation get newly created, updated, or deleted service principals without having to perform a full read of the entire resource collection. // returns a *RequestInformation when successful func (m *DeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/serviceprincipals/get_by_ids_request_builder.go b/serviceprincipals/get_by_ids_request_builder.go index b32756099a8..7f89378164d 100644 --- a/serviceprincipals/get_by_ids_request_builder.go +++ b/serviceprincipals/get_by_ids_request_builder.go @@ -36,7 +36,7 @@ func NewGetByIdsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26337 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-beta func (m *GetByIdsRequestBuilder) Post(ctx context.Context, body GetByIdsPostRequestBodyable, requestConfiguration *GetByIdsRequestBuilderPostRequestConfiguration)(GetByIdsResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *GetByIdsRequestBuilder) Post(ctx context.Context, body GetByIdsPostRequ // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-beta func (m *GetByIdsRequestBuilder) PostAsGetByIdsPostResponse(ctx context.Context, body GetByIdsPostRequestBodyable, requestConfiguration *GetByIdsRequestBuilderPostRequestConfiguration)(GetByIdsPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/serviceprincipals/get_user_owned_objects_request_builder.go b/serviceprincipals/get_user_owned_objects_request_builder.go index 5fb1e3d55bc..4729d8a5e6f 100644 --- a/serviceprincipals/get_user_owned_objects_request_builder.go +++ b/serviceprincipals/get_user_owned_objects_request_builder.go @@ -36,7 +36,7 @@ func NewGetUserOwnedObjectsRequestBuilder(rawUrl string, requestAdapter i2ae4187 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directory-deleteditems-getuserownedobjects?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directory-deleteditems-getuserownedobjects?view=graph-rest-beta func (m *GetUserOwnedObjectsRequestBuilder) Post(ctx context.Context, body GetUserOwnedObjectsPostRequestBodyable, requestConfiguration *GetUserOwnedObjectsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/serviceprincipals/item_add_token_signing_certificate_request_builder.go b/serviceprincipals/item_add_token_signing_certificate_request_builder.go index 0d111f608e0..4a390860fd1 100644 --- a/serviceprincipals/item_add_token_signing_certificate_request_builder.go +++ b/serviceprincipals/item_add_token_signing_certificate_request_builder.go @@ -36,7 +36,7 @@ func NewItemAddTokenSigningCertificateRequestBuilder(rawUrl string, requestAdapt // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-addtokensigningcertificate?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-addtokensigningcertificate?view=graph-rest-beta func (m *ItemAddTokenSigningCertificateRequestBuilder) Post(ctx context.Context, body ItemAddTokenSigningCertificatePostRequestBodyable, requestConfiguration *ItemAddTokenSigningCertificateRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SelfSignedCertificateable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/serviceprincipals/item_app_role_assigned_to_app_role_assignment_item_request_builder.go b/serviceprincipals/item_app_role_assigned_to_app_role_assignment_item_request_builder.go index d67c52a6f42..f50dfc09837 100644 --- a/serviceprincipals/item_app_role_assigned_to_app_role_assignment_item_request_builder.go +++ b/serviceprincipals/item_app_role_assigned_to_app_role_assignment_item_request_builder.go @@ -54,11 +54,8 @@ func NewItemAppRoleAssignedToAppRoleAssignmentItemRequestBuilder(rawUrl string, urlParams["request-raw-url"] = rawUrl return NewItemAppRoleAssignedToAppRoleAssignmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes an appRoleAssignment that a user, group, or client service principal has been granted for a resource service principal. +// Delete delete navigation property appRoleAssignedTo for servicePrincipals // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-delete-approleassignedto?view=graph-rest-1.0 func (m *ItemAppRoleAssignedToAppRoleAssignmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemAppRoleAssignedToAppRoleAssignmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -113,7 +110,7 @@ func (m *ItemAppRoleAssignedToAppRoleAssignmentItemRequestBuilder) Patch(ctx con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AppRoleAssignmentable), nil } -// ToDeleteRequestInformation deletes an appRoleAssignment that a user, group, or client service principal has been granted for a resource service principal. +// ToDeleteRequestInformation delete navigation property appRoleAssignedTo for servicePrincipals // returns a *RequestInformation when successful func (m *ItemAppRoleAssignedToAppRoleAssignmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemAppRoleAssignedToAppRoleAssignmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/serviceprincipals/item_app_role_assigned_to_request_builder.go b/serviceprincipals/item_app_role_assigned_to_request_builder.go index 7f5b59e11a5..6e02e3be672 100644 --- a/serviceprincipals/item_app_role_assigned_to_request_builder.go +++ b/serviceprincipals/item_app_role_assigned_to_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemAppRoleAssignedToRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemAppRoleAssignedToRequestBuilderGetQueryParameters retrieve a list of appRoleAssignment that users, groups, or client service principals have been granted for the given resource service principal. For example, if the resource service principal is the service principal for the Microsoft Graph API, this will return all service principals that have been granted any app-only permissions to Microsoft Graph. If the resource service principal is an application that has app roles granted to users and groups, this will return all the users and groups assigned app roles for this application. +// ItemAppRoleAssignedToRequestBuilderGetQueryParameters app role assignments for this app or service, granted to users, groups, and other service principals.Supports $expand. type ItemAppRoleAssignedToRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemAppRoleAssignedToRequestBuilder(rawUrl string, requestAdapter i2ae41 func (m *ItemAppRoleAssignedToRequestBuilder) Count()(*ItemAppRoleAssignedToCountRequestBuilder) { return NewItemAppRoleAssignedToCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of appRoleAssignment that users, groups, or client service principals have been granted for the given resource service principal. For example, if the resource service principal is the service principal for the Microsoft Graph API, this will return all service principals that have been granted any app-only permissions to Microsoft Graph. If the resource service principal is an application that has app roles granted to users and groups, this will return all the users and groups assigned app roles for this application. +// Get app role assignments for this app or service, granted to users, groups, and other service principals.Supports $expand. // returns a AppRoleAssignmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-list-approleassignedto?view=graph-rest-1.0 func (m *ItemAppRoleAssignedToRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAppRoleAssignedToRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AppRoleAssignmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemAppRoleAssignedToRequestBuilder) Get(ctx context.Context, requestCo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AppRoleAssignmentCollectionResponseable), nil } -// Post assign an app role for a resource service principal, to a user, group, or client service principal. App roles that are assigned to service principals are also known as application permissions. Application permissions can be granted directly with app role assignments, or through a consent experience. To grant an app role assignment, you need three identifiers: +// Post create new navigation property to appRoleAssignedTo for servicePrincipals // returns a AppRoleAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-post-approleassignedto?view=graph-rest-1.0 func (m *ItemAppRoleAssignedToRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AppRoleAssignmentable, requestConfiguration *ItemAppRoleAssignedToRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AppRoleAssignmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemAppRoleAssignedToRequestBuilder) Post(ctx context.Context, body ie2 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AppRoleAssignmentable), nil } -// ToGetRequestInformation retrieve a list of appRoleAssignment that users, groups, or client service principals have been granted for the given resource service principal. For example, if the resource service principal is the service principal for the Microsoft Graph API, this will return all service principals that have been granted any app-only permissions to Microsoft Graph. If the resource service principal is an application that has app roles granted to users and groups, this will return all the users and groups assigned app roles for this application. +// ToGetRequestInformation app role assignments for this app or service, granted to users, groups, and other service principals.Supports $expand. // returns a *RequestInformation when successful func (m *ItemAppRoleAssignedToRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAppRoleAssignedToRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemAppRoleAssignedToRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation assign an app role for a resource service principal, to a user, group, or client service principal. App roles that are assigned to service principals are also known as application permissions. Application permissions can be granted directly with app role assignments, or through a consent experience. To grant an app role assignment, you need three identifiers: +// ToPostRequestInformation create new navigation property to appRoleAssignedTo for servicePrincipals // returns a *RequestInformation when successful func (m *ItemAppRoleAssignedToRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AppRoleAssignmentable, requestConfiguration *ItemAppRoleAssignedToRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/serviceprincipals/item_app_role_assignments_app_role_assignment_item_request_builder.go b/serviceprincipals/item_app_role_assignments_app_role_assignment_item_request_builder.go index c367a479393..4bbba0ded2f 100644 --- a/serviceprincipals/item_app_role_assignments_app_role_assignment_item_request_builder.go +++ b/serviceprincipals/item_app_role_assignments_app_role_assignment_item_request_builder.go @@ -54,11 +54,8 @@ func NewItemAppRoleAssignmentsAppRoleAssignmentItemRequestBuilder(rawUrl string, urlParams["request-raw-url"] = rawUrl return NewItemAppRoleAssignmentsAppRoleAssignmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes an appRoleAssignment that a service principal has been granted. App roles that are assigned to service principals are also known as application permissions. Deleting an app role assignment for a service principal is equivalent to revoking the app-only permission grant. +// Delete delete navigation property appRoleAssignments for servicePrincipals // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-delete-approleassignments?view=graph-rest-1.0 func (m *ItemAppRoleAssignmentsAppRoleAssignmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemAppRoleAssignmentsAppRoleAssignmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -113,7 +110,7 @@ func (m *ItemAppRoleAssignmentsAppRoleAssignmentItemRequestBuilder) Patch(ctx co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AppRoleAssignmentable), nil } -// ToDeleteRequestInformation deletes an appRoleAssignment that a service principal has been granted. App roles that are assigned to service principals are also known as application permissions. Deleting an app role assignment for a service principal is equivalent to revoking the app-only permission grant. +// ToDeleteRequestInformation delete navigation property appRoleAssignments for servicePrincipals // 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/serviceprincipals/item_app_role_assignments_request_builder.go b/serviceprincipals/item_app_role_assignments_request_builder.go index 314db0718d4..bda247496c6 100644 --- a/serviceprincipals/item_app_role_assignments_request_builder.go +++ b/serviceprincipals/item_app_role_assignments_request_builder.go @@ -79,9 +79,6 @@ func (m *ItemAppRoleAssignmentsRequestBuilder) Count()(*ItemAppRoleAssignmentsCo // Get app role assignment for another app or service, granted to this service principal. Supports $expand. // returns a AppRoleAssignmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-list-approleassignments?view=graph-rest-1.0 func (m *ItemAppRoleAssignmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAppRoleAssignmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AppRoleAssignmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemAppRoleAssignmentsRequestBuilder) Get(ctx context.Context, requestC } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AppRoleAssignmentCollectionResponseable), nil } -// Post assign an app role to a client service principal. App roles that are assigned to service principals are also known as application permissions. Application permissions can be granted directly with app role assignments, or through a consent experience. To grant an app role assignment to a client service principal, you need three identifiers: +// Post create new navigation property to appRoleAssignments for servicePrincipals // returns a AppRoleAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-post-approleassignments?view=graph-rest-1.0 func (m *ItemAppRoleAssignmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AppRoleAssignmentable, requestConfiguration *ItemAppRoleAssignmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AppRoleAssignmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -136,7 +130,7 @@ func (m *ItemAppRoleAssignmentsRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation assign an app role to a client service principal. App roles that are assigned to service principals are also known as application permissions. Application permissions can be granted directly with app role assignments, or through a consent experience. To grant an app role assignment to a client service principal, you need three identifiers: +// ToPostRequestInformation create new navigation property to appRoleAssignments for servicePrincipals // returns a *RequestInformation when successful func (m *ItemAppRoleAssignmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AppRoleAssignmentable, requestConfiguration *ItemAppRoleAssignmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/serviceprincipals/item_check_member_groups_request_builder.go b/serviceprincipals/item_check_member_groups_request_builder.go index 20613bad571..f77e7555dcf 100644 --- a/serviceprincipals/item_check_member_groups_request_builder.go +++ b/serviceprincipals/item_check_member_groups_request_builder.go @@ -36,7 +36,7 @@ func NewItemCheckMemberGroupsRequestBuilder(rawUrl string, requestAdapter i2ae41 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-beta func (m *ItemCheckMemberGroupsRequestBuilder) Post(ctx context.Context, body ItemCheckMemberGroupsPostRequestBodyable, requestConfiguration *ItemCheckMemberGroupsRequestBuilderPostRequestConfiguration)(ItemCheckMemberGroupsResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ItemCheckMemberGroupsRequestBuilder) Post(ctx context.Context, body Ite // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-beta func (m *ItemCheckMemberGroupsRequestBuilder) PostAsCheckMemberGroupsPostResponse(ctx context.Context, body ItemCheckMemberGroupsPostRequestBodyable, requestConfiguration *ItemCheckMemberGroupsRequestBuilderPostRequestConfiguration)(ItemCheckMemberGroupsPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/serviceprincipals/item_claims_mapping_policies_item_ref_request_builder.go b/serviceprincipals/item_claims_mapping_policies_item_ref_request_builder.go index db0bbae3677..d5508f0225f 100644 --- a/serviceprincipals/item_claims_mapping_policies_item_ref_request_builder.go +++ b/serviceprincipals/item_claims_mapping_policies_item_ref_request_builder.go @@ -30,11 +30,8 @@ func NewItemClaimsMappingPoliciesItemRefRequestBuilder(rawUrl string, requestAda urlParams["request-raw-url"] = rawUrl return NewItemClaimsMappingPoliciesItemRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove a claimsMappingPolicy from a servicePrincipal. +// Delete delete ref of navigation property claimsMappingPolicies for servicePrincipals // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-delete-claimsmappingpolicies?view=graph-rest-1.0 func (m *ItemClaimsMappingPoliciesItemRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemClaimsMappingPoliciesItemRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -49,7 +46,7 @@ func (m *ItemClaimsMappingPoliciesItemRefRequestBuilder) Delete(ctx context.Cont } return nil } -// ToDeleteRequestInformation remove a claimsMappingPolicy from a servicePrincipal. +// ToDeleteRequestInformation delete ref of navigation property claimsMappingPolicies for servicePrincipals // returns a *RequestInformation when successful func (m *ItemClaimsMappingPoliciesItemRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemClaimsMappingPoliciesItemRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/serviceprincipals/item_claims_mapping_policies_ref_request_builder.go b/serviceprincipals/item_claims_mapping_policies_ref_request_builder.go index 7434523c781..75d4140487d 100644 --- a/serviceprincipals/item_claims_mapping_policies_ref_request_builder.go +++ b/serviceprincipals/item_claims_mapping_policies_ref_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemClaimsMappingPoliciesRefRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemClaimsMappingPoliciesRefRequestBuilderDeleteQueryParameters remove a claimsMappingPolicy from a servicePrincipal. +// ItemClaimsMappingPoliciesRefRequestBuilderDeleteQueryParameters delete ref of navigation property claimsMappingPolicies for servicePrincipals type ItemClaimsMappingPoliciesRefRequestBuilderDeleteQueryParameters struct { // The delete Uri Id *string `uriparametername:"%40id"` @@ -25,7 +25,7 @@ type ItemClaimsMappingPoliciesRefRequestBuilderDeleteRequestConfiguration struct // Request query parameters QueryParameters *ItemClaimsMappingPoliciesRefRequestBuilderDeleteQueryParameters } -// ItemClaimsMappingPoliciesRefRequestBuilderGetQueryParameters list the claimsMappingPolicy objects that are assigned to a servicePrincipal. +// ItemClaimsMappingPoliciesRefRequestBuilderGetQueryParameters the claimsMappingPolicies assigned to this service principal. Supports $expand. type ItemClaimsMappingPoliciesRefRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,11 +69,8 @@ func NewItemClaimsMappingPoliciesRefRequestBuilder(rawUrl string, requestAdapter urlParams["request-raw-url"] = rawUrl return NewItemClaimsMappingPoliciesRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove a claimsMappingPolicy from a servicePrincipal. +// Delete delete ref of navigation property claimsMappingPolicies for servicePrincipals // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-delete-claimsmappingpolicies?view=graph-rest-1.0 func (m *ItemClaimsMappingPoliciesRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemClaimsMappingPoliciesRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -88,12 +85,9 @@ func (m *ItemClaimsMappingPoliciesRefRequestBuilder) Delete(ctx context.Context, } return nil } -// Get list the claimsMappingPolicy objects that are assigned to a servicePrincipal. +// Get the claimsMappingPolicies assigned to this service principal. Supports $expand. // returns a StringCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-list-claimsmappingpolicies?view=graph-rest-1.0 func (m *ItemClaimsMappingPoliciesRefRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemClaimsMappingPoliciesRefRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -111,11 +105,8 @@ func (m *ItemClaimsMappingPoliciesRefRequestBuilder) Get(ctx context.Context, re } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable), nil } -// Post assign a claimsMappingPolicy to a servicePrincipal. +// Post create new navigation property ref to claimsMappingPolicies for servicePrincipals // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-post-claimsmappingpolicies?view=graph-rest-1.0 func (m *ItemClaimsMappingPoliciesRefRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *ItemClaimsMappingPoliciesRefRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -130,7 +121,7 @@ func (m *ItemClaimsMappingPoliciesRefRequestBuilder) Post(ctx context.Context, b } return nil } -// ToDeleteRequestInformation remove a claimsMappingPolicy from a servicePrincipal. +// ToDeleteRequestInformation delete ref of navigation property claimsMappingPolicies for servicePrincipals // returns a *RequestInformation when successful func (m *ItemClaimsMappingPoliciesRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemClaimsMappingPoliciesRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/claimsMappingPolicies/$ref?@id={%40id}", m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *ItemClaimsMappingPoliciesRefRequestBuilder) ToDeleteRequestInformation( requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation list the claimsMappingPolicy objects that are assigned to a servicePrincipal. +// ToGetRequestInformation the claimsMappingPolicies assigned to this service principal. Supports $expand. // returns a *RequestInformation when successful func (m *ItemClaimsMappingPoliciesRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemClaimsMappingPoliciesRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/claimsMappingPolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) @@ -158,7 +149,7 @@ func (m *ItemClaimsMappingPoliciesRefRequestBuilder) ToGetRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation assign a claimsMappingPolicy to a servicePrincipal. +// ToPostRequestInformation create new navigation property ref to claimsMappingPolicies for servicePrincipals // returns a *RequestInformation when successful func (m *ItemClaimsMappingPoliciesRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *ItemClaimsMappingPoliciesRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/claimsMappingPolicies/$ref", m.BaseRequestBuilder.PathParameters) diff --git a/serviceprincipals/item_claims_mapping_policies_request_builder.go b/serviceprincipals/item_claims_mapping_policies_request_builder.go index a7e10b99989..7367f2990c7 100644 --- a/serviceprincipals/item_claims_mapping_policies_request_builder.go +++ b/serviceprincipals/item_claims_mapping_policies_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemClaimsMappingPoliciesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemClaimsMappingPoliciesRequestBuilderGetQueryParameters list the claimsMappingPolicy objects that are assigned to a servicePrincipal. +// ItemClaimsMappingPoliciesRequestBuilderGetQueryParameters the claimsMappingPolicies assigned to this service principal. Supports $expand. type ItemClaimsMappingPoliciesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewItemClaimsMappingPoliciesRequestBuilder(rawUrl string, requestAdapter i2 func (m *ItemClaimsMappingPoliciesRequestBuilder) Count()(*ItemClaimsMappingPoliciesCountRequestBuilder) { return NewItemClaimsMappingPoliciesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list the claimsMappingPolicy objects that are assigned to a servicePrincipal. +// Get the claimsMappingPolicies assigned to this service principal. Supports $expand. // returns a ClaimsMappingPolicyCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-list-claimsmappingpolicies?view=graph-rest-1.0 func (m *ItemClaimsMappingPoliciesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemClaimsMappingPoliciesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ClaimsMappingPolicyCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -97,7 +94,7 @@ func (m *ItemClaimsMappingPoliciesRequestBuilder) Get(ctx context.Context, reque func (m *ItemClaimsMappingPoliciesRequestBuilder) Ref()(*ItemClaimsMappingPoliciesRefRequestBuilder) { return NewItemClaimsMappingPoliciesRefRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation list the claimsMappingPolicy objects that are assigned to a servicePrincipal. +// ToGetRequestInformation the claimsMappingPolicies assigned to this service principal. Supports $expand. // returns a *RequestInformation when successful func (m *ItemClaimsMappingPoliciesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemClaimsMappingPoliciesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/serviceprincipals/item_create_password_single_sign_on_credentials_request_builder.go b/serviceprincipals/item_create_password_single_sign_on_credentials_request_builder.go index 1bb2aec71b4..8bf6b7d941b 100644 --- a/serviceprincipals/item_create_password_single_sign_on_credentials_request_builder.go +++ b/serviceprincipals/item_create_password_single_sign_on_credentials_request_builder.go @@ -36,7 +36,7 @@ func NewItemCreatePasswordSingleSignOnCredentialsRequestBuilder(rawUrl string, r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-createpasswordsinglesignoncredentials?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-createpasswordsinglesignoncredentials?view=graph-rest-beta func (m *ItemCreatePasswordSingleSignOnCredentialsRequestBuilder) Post(ctx context.Context, body ItemCreatePasswordSingleSignOnCredentialsPostRequestBodyable, requestConfiguration *ItemCreatePasswordSingleSignOnCredentialsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PasswordSingleSignOnCredentialSetable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/serviceprincipals/item_created_objects_request_builder.go b/serviceprincipals/item_created_objects_request_builder.go index d88910f9b10..359e2f00fe3 100644 --- a/serviceprincipals/item_created_objects_request_builder.go +++ b/serviceprincipals/item_created_objects_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCreatedObjectsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCreatedObjectsRequestBuilderGetQueryParameters retrieve a list of directoryobject objects. +// ItemCreatedObjectsRequestBuilderGetQueryParameters directory objects created by this service principal. Read-only. Nullable. type ItemCreatedObjectsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewItemCreatedObjectsRequestBuilder(rawUrl string, requestAdapter i2ae4187f func (m *ItemCreatedObjectsRequestBuilder) Count()(*ItemCreatedObjectsCountRequestBuilder) { return NewItemCreatedObjectsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of directoryobject objects. +// Get directory objects created by this service principal. Read-only. Nullable. // returns a DirectoryObjectCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-list-createdobjects?view=graph-rest-1.0 func (m *ItemCreatedObjectsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCreatedObjectsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -97,7 +94,7 @@ func (m *ItemCreatedObjectsRequestBuilder) Get(ctx context.Context, requestConfi func (m *ItemCreatedObjectsRequestBuilder) GraphServicePrincipal()(*ItemCreatedObjectsGraphServicePrincipalRequestBuilder) { return NewItemCreatedObjectsGraphServicePrincipalRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation retrieve a list of directoryobject objects. +// ToGetRequestInformation directory objects created by this service principal. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCreatedObjectsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCreatedObjectsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/serviceprincipals/item_delegated_permission_classifications_delegated_permission_classification_item_request_builder.go b/serviceprincipals/item_delegated_permission_classifications_delegated_permission_classification_item_request_builder.go index 5ce661c8fc2..ad883824b45 100644 --- a/serviceprincipals/item_delegated_permission_classifications_delegated_permission_classification_item_request_builder.go +++ b/serviceprincipals/item_delegated_permission_classifications_delegated_permission_classification_item_request_builder.go @@ -54,11 +54,8 @@ func NewItemDelegatedPermissionClassificationsDelegatedPermissionClassificationI urlParams["request-raw-url"] = rawUrl return NewItemDelegatedPermissionClassificationsDelegatedPermissionClassificationItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a delegatedPermissionClassification which had previously been set for a delegated permission. +// Delete delete navigation property delegatedPermissionClassifications for servicePrincipals // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-delete-delegatedpermissionclassifications?view=graph-rest-1.0 func (m *ItemDelegatedPermissionClassificationsDelegatedPermissionClassificationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemDelegatedPermissionClassificationsDelegatedPermissionClassificationItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -113,7 +110,7 @@ func (m *ItemDelegatedPermissionClassificationsDelegatedPermissionClassification } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DelegatedPermissionClassificationable), nil } -// ToDeleteRequestInformation deletes a delegatedPermissionClassification which had previously been set for a delegated permission. +// ToDeleteRequestInformation delete navigation property delegatedPermissionClassifications for servicePrincipals // returns a *RequestInformation when successful func (m *ItemDelegatedPermissionClassificationsDelegatedPermissionClassificationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemDelegatedPermissionClassificationsDelegatedPermissionClassificationItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/serviceprincipals/item_delegated_permission_classifications_request_builder.go b/serviceprincipals/item_delegated_permission_classifications_request_builder.go index 63a25f238c6..9537da03466 100644 --- a/serviceprincipals/item_delegated_permission_classifications_request_builder.go +++ b/serviceprincipals/item_delegated_permission_classifications_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemDelegatedPermissionClassificationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemDelegatedPermissionClassificationsRequestBuilderGetQueryParameters retrieve the list of delegatedPermissionClassification currently configured for the delegated permissions exposed by an API. +// ItemDelegatedPermissionClassificationsRequestBuilderGetQueryParameters the permission classifications for delegated permissions exposed by the app that this service principal represents. Supports $expand. type ItemDelegatedPermissionClassificationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemDelegatedPermissionClassificationsRequestBuilder(rawUrl string, requ func (m *ItemDelegatedPermissionClassificationsRequestBuilder) Count()(*ItemDelegatedPermissionClassificationsCountRequestBuilder) { return NewItemDelegatedPermissionClassificationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of delegatedPermissionClassification currently configured for the delegated permissions exposed by an API. +// Get the permission classifications for delegated permissions exposed by the app that this service principal represents. Supports $expand. // returns a DelegatedPermissionClassificationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-list-delegatedpermissionclassifications?view=graph-rest-1.0 func (m *ItemDelegatedPermissionClassificationsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemDelegatedPermissionClassificationsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DelegatedPermissionClassificationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemDelegatedPermissionClassificationsRequestBuilder) Get(ctx context.C } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DelegatedPermissionClassificationCollectionResponseable), nil } -// Post classify a delegated permission by adding a delegatedPermissionClassification to the servicePrincipal representing the API. +// Post create new navigation property to delegatedPermissionClassifications for servicePrincipals // returns a DelegatedPermissionClassificationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-post-delegatedpermissionclassifications?view=graph-rest-1.0 func (m *ItemDelegatedPermissionClassificationsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DelegatedPermissionClassificationable, requestConfiguration *ItemDelegatedPermissionClassificationsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DelegatedPermissionClassificationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemDelegatedPermissionClassificationsRequestBuilder) Post(ctx context. } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DelegatedPermissionClassificationable), nil } -// ToGetRequestInformation retrieve the list of delegatedPermissionClassification currently configured for the delegated permissions exposed by an API. +// ToGetRequestInformation the permission classifications for delegated permissions exposed by the app that this service principal represents. Supports $expand. // returns a *RequestInformation when successful func (m *ItemDelegatedPermissionClassificationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemDelegatedPermissionClassificationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemDelegatedPermissionClassificationsRequestBuilder) ToGetRequestInfor requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation classify a delegated permission by adding a delegatedPermissionClassification to the servicePrincipal representing the API. +// ToPostRequestInformation create new navigation property to delegatedPermissionClassifications for servicePrincipals // returns a *RequestInformation when successful func (m *ItemDelegatedPermissionClassificationsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DelegatedPermissionClassificationable, requestConfiguration *ItemDelegatedPermissionClassificationsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/serviceprincipals/item_delete_password_single_sign_on_credentials_request_builder.go b/serviceprincipals/item_delete_password_single_sign_on_credentials_request_builder.go index 9353cb4887e..bdc1094ea62 100644 --- a/serviceprincipals/item_delete_password_single_sign_on_credentials_request_builder.go +++ b/serviceprincipals/item_delete_password_single_sign_on_credentials_request_builder.go @@ -34,7 +34,7 @@ func NewItemDeletePasswordSingleSignOnCredentialsRequestBuilder(rawUrl string, r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-deletepasswordsinglesignoncredentials?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-deletepasswordsinglesignoncredentials?view=graph-rest-beta func (m *ItemDeletePasswordSingleSignOnCredentialsRequestBuilder) Post(ctx context.Context, body ItemDeletePasswordSingleSignOnCredentialsPostRequestBodyable, requestConfiguration *ItemDeletePasswordSingleSignOnCredentialsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/serviceprincipals/item_get_member_groups_request_builder.go b/serviceprincipals/item_get_member_groups_request_builder.go index 9c7fca22d7c..42358058e47 100644 --- a/serviceprincipals/item_get_member_groups_request_builder.go +++ b/serviceprincipals/item_get_member_groups_request_builder.go @@ -36,7 +36,7 @@ func NewItemGetMemberGroupsRequestBuilder(rawUrl string, requestAdapter i2ae4187 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-beta func (m *ItemGetMemberGroupsRequestBuilder) Post(ctx context.Context, body ItemGetMemberGroupsPostRequestBodyable, requestConfiguration *ItemGetMemberGroupsRequestBuilderPostRequestConfiguration)(ItemGetMemberGroupsResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ItemGetMemberGroupsRequestBuilder) Post(ctx context.Context, body ItemG // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-beta func (m *ItemGetMemberGroupsRequestBuilder) PostAsGetMemberGroupsPostResponse(ctx context.Context, body ItemGetMemberGroupsPostRequestBodyable, requestConfiguration *ItemGetMemberGroupsRequestBuilderPostRequestConfiguration)(ItemGetMemberGroupsPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/serviceprincipals/item_get_password_single_sign_on_credentials_request_builder.go b/serviceprincipals/item_get_password_single_sign_on_credentials_request_builder.go index 33d3c9e207b..1b4d3dd2081 100644 --- a/serviceprincipals/item_get_password_single_sign_on_credentials_request_builder.go +++ b/serviceprincipals/item_get_password_single_sign_on_credentials_request_builder.go @@ -36,7 +36,7 @@ func NewItemGetPasswordSingleSignOnCredentialsRequestBuilder(rawUrl string, requ // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-getpasswordsinglesignoncredentials?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-getpasswordsinglesignoncredentials?view=graph-rest-beta func (m *ItemGetPasswordSingleSignOnCredentialsRequestBuilder) Post(ctx context.Context, body ItemGetPasswordSingleSignOnCredentialsPostRequestBodyable, requestConfiguration *ItemGetPasswordSingleSignOnCredentialsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PasswordSingleSignOnCredentialSetable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/serviceprincipals/item_home_realm_discovery_policies_item_ref_request_builder.go b/serviceprincipals/item_home_realm_discovery_policies_item_ref_request_builder.go index e6bc5505c22..79ef8751f61 100644 --- a/serviceprincipals/item_home_realm_discovery_policies_item_ref_request_builder.go +++ b/serviceprincipals/item_home_realm_discovery_policies_item_ref_request_builder.go @@ -30,11 +30,8 @@ func NewItemHomeRealmDiscoveryPoliciesItemRefRequestBuilder(rawUrl string, reque urlParams["request-raw-url"] = rawUrl return NewItemHomeRealmDiscoveryPoliciesItemRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove a homeRealmDiscoveryPolicy from a servicePrincipal. +// Delete delete ref of navigation property homeRealmDiscoveryPolicies for servicePrincipals // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-delete-homerealmdiscoverypolicies?view=graph-rest-1.0 func (m *ItemHomeRealmDiscoveryPoliciesItemRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemHomeRealmDiscoveryPoliciesItemRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -49,7 +46,7 @@ func (m *ItemHomeRealmDiscoveryPoliciesItemRefRequestBuilder) Delete(ctx context } return nil } -// ToDeleteRequestInformation remove a homeRealmDiscoveryPolicy from a servicePrincipal. +// ToDeleteRequestInformation delete ref of navigation property homeRealmDiscoveryPolicies for servicePrincipals // returns a *RequestInformation when successful func (m *ItemHomeRealmDiscoveryPoliciesItemRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemHomeRealmDiscoveryPoliciesItemRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/serviceprincipals/item_home_realm_discovery_policies_ref_request_builder.go b/serviceprincipals/item_home_realm_discovery_policies_ref_request_builder.go index 2c211b75af7..de9bd827a33 100644 --- a/serviceprincipals/item_home_realm_discovery_policies_ref_request_builder.go +++ b/serviceprincipals/item_home_realm_discovery_policies_ref_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemHomeRealmDiscoveryPoliciesRefRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemHomeRealmDiscoveryPoliciesRefRequestBuilderDeleteQueryParameters remove a homeRealmDiscoveryPolicy from a servicePrincipal. +// ItemHomeRealmDiscoveryPoliciesRefRequestBuilderDeleteQueryParameters delete ref of navigation property homeRealmDiscoveryPolicies for servicePrincipals type ItemHomeRealmDiscoveryPoliciesRefRequestBuilderDeleteQueryParameters struct { // The delete Uri Id *string `uriparametername:"%40id"` @@ -25,7 +25,7 @@ type ItemHomeRealmDiscoveryPoliciesRefRequestBuilderDeleteRequestConfiguration s // Request query parameters QueryParameters *ItemHomeRealmDiscoveryPoliciesRefRequestBuilderDeleteQueryParameters } -// ItemHomeRealmDiscoveryPoliciesRefRequestBuilderGetQueryParameters list the homeRealmDiscoveryPolicy objects that are assigned to a servicePrincipal. +// ItemHomeRealmDiscoveryPoliciesRefRequestBuilderGetQueryParameters the homeRealmDiscoveryPolicies assigned to this service principal. Supports $expand. type ItemHomeRealmDiscoveryPoliciesRefRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,11 +69,8 @@ func NewItemHomeRealmDiscoveryPoliciesRefRequestBuilder(rawUrl string, requestAd urlParams["request-raw-url"] = rawUrl return NewItemHomeRealmDiscoveryPoliciesRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove a homeRealmDiscoveryPolicy from a servicePrincipal. +// Delete delete ref of navigation property homeRealmDiscoveryPolicies for servicePrincipals // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-delete-homerealmdiscoverypolicies?view=graph-rest-1.0 func (m *ItemHomeRealmDiscoveryPoliciesRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemHomeRealmDiscoveryPoliciesRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -88,12 +85,9 @@ func (m *ItemHomeRealmDiscoveryPoliciesRefRequestBuilder) Delete(ctx context.Con } return nil } -// Get list the homeRealmDiscoveryPolicy objects that are assigned to a servicePrincipal. +// Get the homeRealmDiscoveryPolicies assigned to this service principal. Supports $expand. // returns a StringCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-list-homerealmdiscoverypolicies?view=graph-rest-1.0 func (m *ItemHomeRealmDiscoveryPoliciesRefRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemHomeRealmDiscoveryPoliciesRefRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -111,11 +105,8 @@ func (m *ItemHomeRealmDiscoveryPoliciesRefRequestBuilder) Get(ctx context.Contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable), nil } -// Post assign a homeRealmDiscoveryPolicy to a servicePrincipal. +// Post create new navigation property ref to homeRealmDiscoveryPolicies for servicePrincipals // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-post-homerealmdiscoverypolicies?view=graph-rest-1.0 func (m *ItemHomeRealmDiscoveryPoliciesRefRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *ItemHomeRealmDiscoveryPoliciesRefRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -130,7 +121,7 @@ func (m *ItemHomeRealmDiscoveryPoliciesRefRequestBuilder) Post(ctx context.Conte } return nil } -// ToDeleteRequestInformation remove a homeRealmDiscoveryPolicy from a servicePrincipal. +// ToDeleteRequestInformation delete ref of navigation property homeRealmDiscoveryPolicies for servicePrincipals // returns a *RequestInformation when successful func (m *ItemHomeRealmDiscoveryPoliciesRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemHomeRealmDiscoveryPoliciesRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/homeRealmDiscoveryPolicies/$ref?@id={%40id}", m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *ItemHomeRealmDiscoveryPoliciesRefRequestBuilder) ToDeleteRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation list the homeRealmDiscoveryPolicy objects that are assigned to a servicePrincipal. +// ToGetRequestInformation the homeRealmDiscoveryPolicies assigned to this service principal. Supports $expand. // returns a *RequestInformation when successful func (m *ItemHomeRealmDiscoveryPoliciesRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemHomeRealmDiscoveryPoliciesRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/homeRealmDiscoveryPolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) @@ -158,7 +149,7 @@ func (m *ItemHomeRealmDiscoveryPoliciesRefRequestBuilder) ToGetRequestInformatio requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation assign a homeRealmDiscoveryPolicy to a servicePrincipal. +// ToPostRequestInformation create new navigation property ref to homeRealmDiscoveryPolicies for servicePrincipals // returns a *RequestInformation when successful func (m *ItemHomeRealmDiscoveryPoliciesRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *ItemHomeRealmDiscoveryPoliciesRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/homeRealmDiscoveryPolicies/$ref", m.BaseRequestBuilder.PathParameters) diff --git a/serviceprincipals/item_home_realm_discovery_policies_request_builder.go b/serviceprincipals/item_home_realm_discovery_policies_request_builder.go index 3b8cf292f5b..fc8055580c1 100644 --- a/serviceprincipals/item_home_realm_discovery_policies_request_builder.go +++ b/serviceprincipals/item_home_realm_discovery_policies_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemHomeRealmDiscoveryPoliciesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemHomeRealmDiscoveryPoliciesRequestBuilderGetQueryParameters list the homeRealmDiscoveryPolicy objects that are assigned to a servicePrincipal. +// ItemHomeRealmDiscoveryPoliciesRequestBuilderGetQueryParameters the homeRealmDiscoveryPolicies assigned to this service principal. Supports $expand. type ItemHomeRealmDiscoveryPoliciesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewItemHomeRealmDiscoveryPoliciesRequestBuilder(rawUrl string, requestAdapt func (m *ItemHomeRealmDiscoveryPoliciesRequestBuilder) Count()(*ItemHomeRealmDiscoveryPoliciesCountRequestBuilder) { return NewItemHomeRealmDiscoveryPoliciesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list the homeRealmDiscoveryPolicy objects that are assigned to a servicePrincipal. +// Get the homeRealmDiscoveryPolicies assigned to this service principal. Supports $expand. // returns a HomeRealmDiscoveryPolicyCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-list-homerealmdiscoverypolicies?view=graph-rest-1.0 func (m *ItemHomeRealmDiscoveryPoliciesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemHomeRealmDiscoveryPoliciesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.HomeRealmDiscoveryPolicyCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -97,7 +94,7 @@ func (m *ItemHomeRealmDiscoveryPoliciesRequestBuilder) Get(ctx context.Context, func (m *ItemHomeRealmDiscoveryPoliciesRequestBuilder) Ref()(*ItemHomeRealmDiscoveryPoliciesRefRequestBuilder) { return NewItemHomeRealmDiscoveryPoliciesRefRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation list the homeRealmDiscoveryPolicy objects that are assigned to a servicePrincipal. +// ToGetRequestInformation the homeRealmDiscoveryPolicies assigned to this service principal. Supports $expand. // returns a *RequestInformation when successful func (m *ItemHomeRealmDiscoveryPoliciesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemHomeRealmDiscoveryPoliciesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/serviceprincipals/item_license_details_get_teams_licensing_details_request_builder.go b/serviceprincipals/item_license_details_get_teams_licensing_details_request_builder.go index ef5b14d6036..dbcfc8abb72 100644 --- a/serviceprincipals/item_license_details_get_teams_licensing_details_request_builder.go +++ b/serviceprincipals/item_license_details_get_teams_licensing_details_request_builder.go @@ -31,9 +31,12 @@ func NewItemLicenseDetailsGetTeamsLicensingDetailsRequestBuilder(rawUrl string, urlParams["request-raw-url"] = rawUrl return NewItemLicenseDetailsGetTeamsLicensingDetailsRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getTeamsLicensingDetails +// Get get the license status of a user in Microsoft Teams. // returns a TeamsLicensingDetailsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/licensedetails-getteamslicensingdetails?view=graph-rest-beta func (m *ItemLicenseDetailsGetTeamsLicensingDetailsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemLicenseDetailsGetTeamsLicensingDetailsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsLicensingDetailsable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -51,7 +54,7 @@ func (m *ItemLicenseDetailsGetTeamsLicensingDetailsRequestBuilder) Get(ctx conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsLicensingDetailsable), nil } -// ToGetRequestInformation invoke function getTeamsLicensingDetails +// ToGetRequestInformation get the license status of a user in Microsoft Teams. // returns a *RequestInformation when successful func (m *ItemLicenseDetailsGetTeamsLicensingDetailsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemLicenseDetailsGetTeamsLicensingDetailsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/serviceprincipals/item_member_of_request_builder.go b/serviceprincipals/item_member_of_request_builder.go index be5c71fa6c6..1ddeed6cbe1 100644 --- a/serviceprincipals/item_member_of_request_builder.go +++ b/serviceprincipals/item_member_of_request_builder.go @@ -72,9 +72,6 @@ func (m *ItemMemberOfRequestBuilder) Count()(*ItemMemberOfCountRequestBuilder) { // Get roles that this service principal is a member of. HTTP Methods: GET Read-only. Nullable. Supports $expand. // returns a DirectoryObjectCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-list-memberof?view=graph-rest-1.0 func (m *ItemMemberOfRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMemberOfRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/serviceprincipals/item_oauth2_permission_grants_request_builder.go b/serviceprincipals/item_oauth2_permission_grants_request_builder.go index 4bdf68fc93b..5e13a01e93e 100644 --- a/serviceprincipals/item_oauth2_permission_grants_request_builder.go +++ b/serviceprincipals/item_oauth2_permission_grants_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOauth2PermissionGrantsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOauth2PermissionGrantsRequestBuilderGetQueryParameters retrieve a list of oAuth2PermissionGrant entities, representing delegated permissions granted to the service principal (representing the client application) to access an API on behalf of a user. +// ItemOauth2PermissionGrantsRequestBuilderGetQueryParameters delegated permission grants authorizing this service principal to access an API on behalf of a signed-in user. Read-only. Nullable. type ItemOauth2PermissionGrantsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewItemOauth2PermissionGrantsRequestBuilder(rawUrl string, requestAdapter i func (m *ItemOauth2PermissionGrantsRequestBuilder) Count()(*ItemOauth2PermissionGrantsCountRequestBuilder) { return NewItemOauth2PermissionGrantsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of oAuth2PermissionGrant entities, representing delegated permissions granted to the service principal (representing the client application) to access an API on behalf of a user. +// Get delegated permission grants authorizing this service principal to access an API on behalf of a signed-in user. Read-only. Nullable. // returns a OAuth2PermissionGrantCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-list-oauth2permissiongrants?view=graph-rest-1.0 func (m *ItemOauth2PermissionGrantsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOauth2PermissionGrantsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OAuth2PermissionGrantCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *ItemOauth2PermissionGrantsRequestBuilder) Get(ctx context.Context, requ } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OAuth2PermissionGrantCollectionResponseable), nil } -// ToGetRequestInformation retrieve a list of oAuth2PermissionGrant entities, representing delegated permissions granted to the service principal (representing the client application) to access an API on behalf of a user. +// ToGetRequestInformation delegated permission grants authorizing this service principal to access an API on behalf of a signed-in user. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemOauth2PermissionGrantsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOauth2PermissionGrantsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/serviceprincipals/item_owned_objects_request_builder.go b/serviceprincipals/item_owned_objects_request_builder.go index 041967794e2..fea62674bc5 100644 --- a/serviceprincipals/item_owned_objects_request_builder.go +++ b/serviceprincipals/item_owned_objects_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOwnedObjectsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOwnedObjectsRequestBuilderGetQueryParameters retrieve a list of objects owned by the servicePrincipal. This could include applications or groups. +// ItemOwnedObjectsRequestBuilderGetQueryParameters directory objects that are owned by this service principal. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). type ItemOwnedObjectsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewItemOwnedObjectsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7d func (m *ItemOwnedObjectsRequestBuilder) Count()(*ItemOwnedObjectsCountRequestBuilder) { return NewItemOwnedObjectsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of objects owned by the servicePrincipal. This could include applications or groups. +// Get directory objects that are owned by this service principal. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). // returns a DirectoryObjectCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-list-ownedobjects?view=graph-rest-1.0 func (m *ItemOwnedObjectsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOwnedObjectsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -112,7 +109,7 @@ func (m *ItemOwnedObjectsRequestBuilder) GraphGroup()(*ItemOwnedObjectsGraphGrou func (m *ItemOwnedObjectsRequestBuilder) GraphServicePrincipal()(*ItemOwnedObjectsGraphServicePrincipalRequestBuilder) { return NewItemOwnedObjectsGraphServicePrincipalRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation retrieve a list of objects owned by the servicePrincipal. This could include applications or groups. +// ToGetRequestInformation directory objects that are owned by this service principal. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). // returns a *RequestInformation when successful func (m *ItemOwnedObjectsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOwnedObjectsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/serviceprincipals/item_owners_item_ref_request_builder.go b/serviceprincipals/item_owners_item_ref_request_builder.go index 70238f82739..459ac7b70c7 100644 --- a/serviceprincipals/item_owners_item_ref_request_builder.go +++ b/serviceprincipals/item_owners_item_ref_request_builder.go @@ -30,11 +30,8 @@ func NewItemOwnersItemRefRequestBuilder(rawUrl string, requestAdapter i2ae4187f7 urlParams["request-raw-url"] = rawUrl return NewItemOwnersItemRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove an owner from a servicePrincipal object. As a recommended best practice, service principals should have at least two owners. +// Delete delete ref of navigation property owners for servicePrincipals // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-delete-owners?view=graph-rest-1.0 func (m *ItemOwnersItemRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemOwnersItemRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -49,7 +46,7 @@ func (m *ItemOwnersItemRefRequestBuilder) Delete(ctx context.Context, requestCon } return nil } -// ToDeleteRequestInformation remove an owner from a servicePrincipal object. As a recommended best practice, service principals should have at least two owners. +// ToDeleteRequestInformation delete ref of navigation property owners for servicePrincipals // 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/serviceprincipals/item_owners_ref_request_builder.go b/serviceprincipals/item_owners_ref_request_builder.go index 5db71106bef..d950e5986b9 100644 --- a/serviceprincipals/item_owners_ref_request_builder.go +++ b/serviceprincipals/item_owners_ref_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOwnersRefRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOwnersRefRequestBuilderDeleteQueryParameters remove an owner from a servicePrincipal object. As a recommended best practice, service principals should have at least two owners. +// ItemOwnersRefRequestBuilderDeleteQueryParameters delete ref of navigation property owners for servicePrincipals type ItemOwnersRefRequestBuilderDeleteQueryParameters struct { // The delete Uri Id *string `uriparametername:"%40id"` @@ -69,11 +69,8 @@ func NewItemOwnersRefRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee urlParams["request-raw-url"] = rawUrl return NewItemOwnersRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove an owner from a servicePrincipal object. As a recommended best practice, service principals should have at least two owners. +// Delete delete ref of navigation property owners for servicePrincipals // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-delete-owners?view=graph-rest-1.0 func (m *ItemOwnersRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemOwnersRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -91,9 +88,6 @@ func (m *ItemOwnersRefRequestBuilder) Delete(ctx context.Context, requestConfigu // Get directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). // returns a StringCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-list-owners?view=graph-rest-1.0 func (m *ItemOwnersRefRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOwnersRefRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -111,11 +105,8 @@ func (m *ItemOwnersRefRequestBuilder) Get(ctx context.Context, requestConfigurat } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable), nil } -// Post add an owner for the servicePrincipal. Service principal owners can be users, the service principal itself, or other service principals. +// Post create new navigation property ref to owners for servicePrincipals // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-post-owners?view=graph-rest-1.0 func (m *ItemOwnersRefRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *ItemOwnersRefRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -130,7 +121,7 @@ func (m *ItemOwnersRefRequestBuilder) Post(ctx context.Context, body ie233ee762e } return nil } -// ToDeleteRequestInformation remove an owner from a servicePrincipal object. As a recommended best practice, service principals should have at least two owners. +// ToDeleteRequestInformation delete ref of navigation property owners for servicePrincipals // returns a *RequestInformation when successful func (m *ItemOwnersRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemOwnersRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/owners/$ref?@id={%40id}", m.BaseRequestBuilder.PathParameters) @@ -158,7 +149,7 @@ func (m *ItemOwnersRefRequestBuilder) ToGetRequestInformation(ctx context.Contex requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add an owner for the servicePrincipal. Service principal owners can be users, the service principal itself, or other service principals. +// ToPostRequestInformation create new navigation property ref to owners for servicePrincipals // returns a *RequestInformation when successful func (m *ItemOwnersRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *ItemOwnersRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/owners/$ref", m.BaseRequestBuilder.PathParameters) diff --git a/serviceprincipals/item_owners_request_builder.go b/serviceprincipals/item_owners_request_builder.go index 12e4238142b..508301996d9 100644 --- a/serviceprincipals/item_owners_request_builder.go +++ b/serviceprincipals/item_owners_request_builder.go @@ -72,9 +72,6 @@ func (m *ItemOwnersRequestBuilder) Count()(*ItemOwnersCountRequestBuilder) { // Get directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). // returns a DirectoryObjectCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-list-owners?view=graph-rest-1.0 func (m *ItemOwnersRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOwnersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/serviceprincipals/item_remote_desktop_security_configuration_request_builder.go b/serviceprincipals/item_remote_desktop_security_configuration_request_builder.go index 6242224fd7a..47aeebe7794 100644 --- a/serviceprincipals/item_remote_desktop_security_configuration_request_builder.go +++ b/serviceprincipals/item_remote_desktop_security_configuration_request_builder.go @@ -18,7 +18,7 @@ type ItemRemoteDesktopSecurityConfigurationRequestBuilderDeleteRequestConfigurat // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemRemoteDesktopSecurityConfigurationRequestBuilderGetQueryParameters read the properties and relationships of a remoteDesktopSecurityConfiguration object on a servicePrincipal. Use this configuration to view the Microsoft Entra ID Remote Desktop Services (RDS) authentication protocol to authenticate a user to Microsoft Entra joined or Microsoft Entra hybrid joined devices. Additionally you can view any targetDeviceGroups that have been configured for SSO. +// ItemRemoteDesktopSecurityConfigurationRequestBuilderGetQueryParameters the remoteDesktopSecurityConfiguration object applied to this service principal. Supports $filter (eq) for isRemoteDesktopProtocolEnabled property. type ItemRemoteDesktopSecurityConfigurationRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemRemoteDesktopSecurityConfigurationRequestBuilder(rawUrl string, requ urlParams["request-raw-url"] = rawUrl return NewItemRemoteDesktopSecurityConfigurationRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a remoteDesktopSecurityConfiguration object on a servicePrincipal. Removing remoteDesktopSecurityConfiguration object on the servicePrincipal disables the Microsoft Entra ID Remote Desktop Services (RDS) authentication protocol to authenticate a user to Microsoft Entra joined or Microsoft Entra hybrid joined devices, and removes any target device groups that you configured for SSO. +// Delete delete navigation property remoteDesktopSecurityConfiguration for servicePrincipals // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-delete-remotedesktopsecurityconfiguration?view=graph-rest-1.0 func (m *ItemRemoteDesktopSecurityConfigurationRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemRemoteDesktopSecurityConfigurationRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemRemoteDesktopSecurityConfigurationRequestBuilder) Delete(ctx contex } return nil } -// Get read the properties and relationships of a remoteDesktopSecurityConfiguration object on a servicePrincipal. Use this configuration to view the Microsoft Entra ID Remote Desktop Services (RDS) authentication protocol to authenticate a user to Microsoft Entra joined or Microsoft Entra hybrid joined devices. Additionally you can view any targetDeviceGroups that have been configured for SSO. +// Get the remoteDesktopSecurityConfiguration object applied to this service principal. Supports $filter (eq) for isRemoteDesktopProtocolEnabled property. // returns a RemoteDesktopSecurityConfigurationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/remotedesktopsecurityconfiguration-get?view=graph-rest-1.0 func (m *ItemRemoteDesktopSecurityConfigurationRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemRemoteDesktopSecurityConfigurationRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RemoteDesktopSecurityConfigurationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ItemRemoteDesktopSecurityConfigurationRequestBuilder) Get(ctx context.C } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RemoteDesktopSecurityConfigurationable), nil } -// Patch update the properties of a remoteDesktopSecurityConfiguration object on the servicePrincipal. Use this configuration to enable or disable the Microsoft Entra ID Remote Desktop Services (RDS) authentication protocol to authenticate a user to Microsoft Entra joined or Microsoft Entra hybrid joined devices. +// Patch update the navigation property remoteDesktopSecurityConfiguration in servicePrincipals // returns a RemoteDesktopSecurityConfigurationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/remotedesktopsecurityconfiguration-update?view=graph-rest-1.0 func (m *ItemRemoteDesktopSecurityConfigurationRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RemoteDesktopSecurityConfigurationable, requestConfiguration *ItemRemoteDesktopSecurityConfigurationRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RemoteDesktopSecurityConfigurationable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -124,7 +115,7 @@ func (m *ItemRemoteDesktopSecurityConfigurationRequestBuilder) Patch(ctx context func (m *ItemRemoteDesktopSecurityConfigurationRequestBuilder) TargetDeviceGroups()(*ItemRemoteDesktopSecurityConfigurationTargetDeviceGroupsRequestBuilder) { return NewItemRemoteDesktopSecurityConfigurationTargetDeviceGroupsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a remoteDesktopSecurityConfiguration object on a servicePrincipal. Removing remoteDesktopSecurityConfiguration object on the servicePrincipal disables the Microsoft Entra ID Remote Desktop Services (RDS) authentication protocol to authenticate a user to Microsoft Entra joined or Microsoft Entra hybrid joined devices, and removes any target device groups that you configured for SSO. +// ToDeleteRequestInformation delete navigation property remoteDesktopSecurityConfiguration for servicePrincipals // returns a *RequestInformation when successful func (m *ItemRemoteDesktopSecurityConfigurationRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemRemoteDesktopSecurityConfigurationRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -135,7 +126,7 @@ func (m *ItemRemoteDesktopSecurityConfigurationRequestBuilder) ToDeleteRequestIn requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a remoteDesktopSecurityConfiguration object on a servicePrincipal. Use this configuration to view the Microsoft Entra ID Remote Desktop Services (RDS) authentication protocol to authenticate a user to Microsoft Entra joined or Microsoft Entra hybrid joined devices. Additionally you can view any targetDeviceGroups that have been configured for SSO. +// ToGetRequestInformation the remoteDesktopSecurityConfiguration object applied to this service principal. Supports $filter (eq) for isRemoteDesktopProtocolEnabled property. // returns a *RequestInformation when successful func (m *ItemRemoteDesktopSecurityConfigurationRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemRemoteDesktopSecurityConfigurationRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -149,7 +140,7 @@ func (m *ItemRemoteDesktopSecurityConfigurationRequestBuilder) ToGetRequestInfor requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a remoteDesktopSecurityConfiguration object on the servicePrincipal. Use this configuration to enable or disable the Microsoft Entra ID Remote Desktop Services (RDS) authentication protocol to authenticate a user to Microsoft Entra joined or Microsoft Entra hybrid joined devices. +// ToPatchRequestInformation update the navigation property remoteDesktopSecurityConfiguration in servicePrincipals // returns a *RequestInformation when successful func (m *ItemRemoteDesktopSecurityConfigurationRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RemoteDesktopSecurityConfigurationable, requestConfiguration *ItemRemoteDesktopSecurityConfigurationRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/serviceprincipals/item_remote_desktop_security_configuration_target_device_groups_request_builder.go b/serviceprincipals/item_remote_desktop_security_configuration_target_device_groups_request_builder.go index d853110e7ba..5054636e753 100644 --- a/serviceprincipals/item_remote_desktop_security_configuration_target_device_groups_request_builder.go +++ b/serviceprincipals/item_remote_desktop_security_configuration_target_device_groups_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemRemoteDesktopSecurityConfigurationTargetDeviceGroupsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemRemoteDesktopSecurityConfigurationTargetDeviceGroupsRequestBuilderGetQueryParameters get a list of the targetDeviceGroup objects and their properties on the remoteDesktopSecurityConfiguration resource on the servicePrincipal. Any user authenticating using the Microsoft Entra ID Remote Desktop Services (RDS) authentication protocol to a Microsoft Entra joined or Microsoft Entra hybrid joined device that belongs to the targetDeviceGroup will get SSO. +// ItemRemoteDesktopSecurityConfigurationTargetDeviceGroupsRequestBuilderGetQueryParameters the collection of target device groups that are associated with the RDS security configuration that will be enabled for SSO when a client connects to the target device over RDP using the new Microsoft Entra ID RDS authentication protocol. type ItemRemoteDesktopSecurityConfigurationTargetDeviceGroupsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemRemoteDesktopSecurityConfigurationTargetDeviceGroupsRequestBuilder(r func (m *ItemRemoteDesktopSecurityConfigurationTargetDeviceGroupsRequestBuilder) Count()(*ItemRemoteDesktopSecurityConfigurationTargetDeviceGroupsCountRequestBuilder) { return NewItemRemoteDesktopSecurityConfigurationTargetDeviceGroupsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the targetDeviceGroup objects and their properties on the remoteDesktopSecurityConfiguration resource on the servicePrincipal. Any user authenticating using the Microsoft Entra ID Remote Desktop Services (RDS) authentication protocol to a Microsoft Entra joined or Microsoft Entra hybrid joined device that belongs to the targetDeviceGroup will get SSO. +// Get the collection of target device groups that are associated with the RDS security configuration that will be enabled for SSO when a client connects to the target device over RDP using the new Microsoft Entra ID RDS authentication protocol. // returns a TargetDeviceGroupCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/remotedesktopsecurityconfiguration-list-targetdevicegroups?view=graph-rest-1.0 func (m *ItemRemoteDesktopSecurityConfigurationTargetDeviceGroupsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemRemoteDesktopSecurityConfigurationTargetDeviceGroupsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TargetDeviceGroupCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemRemoteDesktopSecurityConfigurationTargetDeviceGroupsRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TargetDeviceGroupCollectionResponseable), nil } -// Post create a new targetDeviceGroup object for the remoteDesktopSecurityConfiguration object on the servicePrincipal. You can configure a maximum of 10 target device groups for the remoteDesktopSecurityConfiguraiton object on the servicePrincipal. +// Post create new navigation property to targetDeviceGroups for servicePrincipals // returns a TargetDeviceGroupable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/remotedesktopsecurityconfiguration-post-targetdevicegroups?view=graph-rest-1.0 func (m *ItemRemoteDesktopSecurityConfigurationTargetDeviceGroupsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TargetDeviceGroupable, requestConfiguration *ItemRemoteDesktopSecurityConfigurationTargetDeviceGroupsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TargetDeviceGroupable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemRemoteDesktopSecurityConfigurationTargetDeviceGroupsRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TargetDeviceGroupable), nil } -// ToGetRequestInformation get a list of the targetDeviceGroup objects and their properties on the remoteDesktopSecurityConfiguration resource on the servicePrincipal. Any user authenticating using the Microsoft Entra ID Remote Desktop Services (RDS) authentication protocol to a Microsoft Entra joined or Microsoft Entra hybrid joined device that belongs to the targetDeviceGroup will get SSO. +// ToGetRequestInformation the collection of target device groups that are associated with the RDS security configuration that will be enabled for SSO when a client connects to the target device over RDP using the new Microsoft Entra ID RDS authentication protocol. // returns a *RequestInformation when successful func (m *ItemRemoteDesktopSecurityConfigurationTargetDeviceGroupsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemRemoteDesktopSecurityConfigurationTargetDeviceGroupsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemRemoteDesktopSecurityConfigurationTargetDeviceGroupsRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new targetDeviceGroup object for the remoteDesktopSecurityConfiguration object on the servicePrincipal. You can configure a maximum of 10 target device groups for the remoteDesktopSecurityConfiguraiton object on the servicePrincipal. +// ToPostRequestInformation create new navigation property to targetDeviceGroups for servicePrincipals // returns a *RequestInformation when successful func (m *ItemRemoteDesktopSecurityConfigurationTargetDeviceGroupsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TargetDeviceGroupable, requestConfiguration *ItemRemoteDesktopSecurityConfigurationTargetDeviceGroupsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/serviceprincipals/item_remote_desktop_security_configuration_target_device_groups_target_device_group_item_request_builder.go b/serviceprincipals/item_remote_desktop_security_configuration_target_device_groups_target_device_group_item_request_builder.go index c34725caa11..38dd634e952 100644 --- a/serviceprincipals/item_remote_desktop_security_configuration_target_device_groups_target_device_group_item_request_builder.go +++ b/serviceprincipals/item_remote_desktop_security_configuration_target_device_groups_target_device_group_item_request_builder.go @@ -18,7 +18,7 @@ type ItemRemoteDesktopSecurityConfigurationTargetDeviceGroupsTargetDeviceGroupIt // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemRemoteDesktopSecurityConfigurationTargetDeviceGroupsTargetDeviceGroupItemRequestBuilderGetQueryParameters read the properties and relationships of a targetDeviceGroup object for the remoteDesktopSecurityConfiguration object on the servicePrincipal. +// ItemRemoteDesktopSecurityConfigurationTargetDeviceGroupsTargetDeviceGroupItemRequestBuilderGetQueryParameters the collection of target device groups that are associated with the RDS security configuration that will be enabled for SSO when a client connects to the target device over RDP using the new Microsoft Entra ID RDS authentication protocol. type ItemRemoteDesktopSecurityConfigurationTargetDeviceGroupsTargetDeviceGroupItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemRemoteDesktopSecurityConfigurationTargetDeviceGroupsTargetDeviceGrou urlParams["request-raw-url"] = rawUrl return NewItemRemoteDesktopSecurityConfigurationTargetDeviceGroupsTargetDeviceGroupItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a targetDeviceGroup object for the remoteDesktopSecurityConfiguration object on the servicePrincipal. Any user authenticating using the Microsoft Entra ID Remote Desktop Services (RDS) authentication protocol to a Microsoft Entra joined or Microsoft Entra hybrid joined device that's in the removed targetDeviceGroup doesn't get SSO prompts. +// Delete delete navigation property targetDeviceGroups for servicePrincipals // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/remotedesktopsecurityconfiguration-delete-targetdevicegroups?view=graph-rest-1.0 func (m *ItemRemoteDesktopSecurityConfigurationTargetDeviceGroupsTargetDeviceGroupItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemRemoteDesktopSecurityConfigurationTargetDeviceGroupsTargetDeviceGroupItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemRemoteDesktopSecurityConfigurationTargetDeviceGroupsTargetDeviceGro } return nil } -// Get read the properties and relationships of a targetDeviceGroup object for the remoteDesktopSecurityConfiguration object on the servicePrincipal. +// Get the collection of target device groups that are associated with the RDS security configuration that will be enabled for SSO when a client connects to the target device over RDP using the new Microsoft Entra ID RDS authentication protocol. // returns a TargetDeviceGroupable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/targetdevicegroup-get?view=graph-rest-1.0 func (m *ItemRemoteDesktopSecurityConfigurationTargetDeviceGroupsTargetDeviceGroupItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemRemoteDesktopSecurityConfigurationTargetDeviceGroupsTargetDeviceGroupItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TargetDeviceGroupable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ItemRemoteDesktopSecurityConfigurationTargetDeviceGroupsTargetDeviceGro } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TargetDeviceGroupable), nil } -// Patch update the properties of a targetDeviceGroup object for remoteDesktopSecurityConfiguration object on the servicePrincipal. You can configure a maximum of 10 target device groups for the remoteDesktopSecurityConfiguraiton object on the servicePrincipal. +// Patch update the navigation property targetDeviceGroups in servicePrincipals // returns a TargetDeviceGroupable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/targetdevicegroup-update?view=graph-rest-1.0 func (m *ItemRemoteDesktopSecurityConfigurationTargetDeviceGroupsTargetDeviceGroupItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TargetDeviceGroupable, requestConfiguration *ItemRemoteDesktopSecurityConfigurationTargetDeviceGroupsTargetDeviceGroupItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TargetDeviceGroupable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *ItemRemoteDesktopSecurityConfigurationTargetDeviceGroupsTargetDeviceGro } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TargetDeviceGroupable), nil } -// ToDeleteRequestInformation delete a targetDeviceGroup object for the remoteDesktopSecurityConfiguration object on the servicePrincipal. Any user authenticating using the Microsoft Entra ID Remote Desktop Services (RDS) authentication protocol to a Microsoft Entra joined or Microsoft Entra hybrid joined device that's in the removed targetDeviceGroup doesn't get SSO prompts. +// ToDeleteRequestInformation delete navigation property targetDeviceGroups for servicePrincipals // returns a *RequestInformation when successful func (m *ItemRemoteDesktopSecurityConfigurationTargetDeviceGroupsTargetDeviceGroupItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemRemoteDesktopSecurityConfigurationTargetDeviceGroupsTargetDeviceGroupItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *ItemRemoteDesktopSecurityConfigurationTargetDeviceGroupsTargetDeviceGro requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a targetDeviceGroup object for the remoteDesktopSecurityConfiguration object on the servicePrincipal. +// ToGetRequestInformation the collection of target device groups that are associated with the RDS security configuration that will be enabled for SSO when a client connects to the target device over RDP using the new Microsoft Entra ID RDS authentication protocol. // returns a *RequestInformation when successful func (m *ItemRemoteDesktopSecurityConfigurationTargetDeviceGroupsTargetDeviceGroupItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemRemoteDesktopSecurityConfigurationTargetDeviceGroupsTargetDeviceGroupItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *ItemRemoteDesktopSecurityConfigurationTargetDeviceGroupsTargetDeviceGro requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a targetDeviceGroup object for remoteDesktopSecurityConfiguration object on the servicePrincipal. You can configure a maximum of 10 target device groups for the remoteDesktopSecurityConfiguraiton object on the servicePrincipal. +// ToPatchRequestInformation update the navigation property targetDeviceGroups in servicePrincipals // returns a *RequestInformation when successful func (m *ItemRemoteDesktopSecurityConfigurationTargetDeviceGroupsTargetDeviceGroupItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TargetDeviceGroupable, requestConfiguration *ItemRemoteDesktopSecurityConfigurationTargetDeviceGroupsTargetDeviceGroupItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/serviceprincipals/item_restore_request_builder.go b/serviceprincipals/item_restore_request_builder.go index e2d97cb3e5a..4d626c822f0 100644 --- a/serviceprincipals/item_restore_request_builder.go +++ b/serviceprincipals/item_restore_request_builder.go @@ -36,7 +36,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-beta func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemRestoreRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/serviceprincipals/item_synchronization_acquire_access_token_request_builder.go b/serviceprincipals/item_synchronization_acquire_access_token_request_builder.go index f361bfae8b8..a0051983d41 100644 --- a/serviceprincipals/item_synchronization_acquire_access_token_request_builder.go +++ b/serviceprincipals/item_synchronization_acquire_access_token_request_builder.go @@ -34,7 +34,7 @@ func NewItemSynchronizationAcquireAccessTokenRequestBuilder(rawUrl string, reque // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronization-acquireaccesstoken?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronization-acquireaccesstoken?view=graph-rest-beta func (m *ItemSynchronizationAcquireAccessTokenRequestBuilder) Post(ctx context.Context, body ItemSynchronizationAcquireAccessTokenPostRequestBodyable, requestConfiguration *ItemSynchronizationAcquireAccessTokenRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/serviceprincipals/item_synchronization_jobs_item_pause_request_builder.go b/serviceprincipals/item_synchronization_jobs_item_pause_request_builder.go index 9507ee5344c..83dc268a5f9 100644 --- a/serviceprincipals/item_synchronization_jobs_item_pause_request_builder.go +++ b/serviceprincipals/item_synchronization_jobs_item_pause_request_builder.go @@ -34,7 +34,7 @@ func NewItemSynchronizationJobsItemPauseRequestBuilder(rawUrl string, requestAda // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronizationjob-pause?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronizationjob-pause?view=graph-rest-beta func (m *ItemSynchronizationJobsItemPauseRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemSynchronizationJobsItemPauseRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/serviceprincipals/item_synchronization_jobs_item_provision_on_demand_request_builder.go b/serviceprincipals/item_synchronization_jobs_item_provision_on_demand_request_builder.go index 6cefcd86c6b..be6dd347199 100644 --- a/serviceprincipals/item_synchronization_jobs_item_provision_on_demand_request_builder.go +++ b/serviceprincipals/item_synchronization_jobs_item_provision_on_demand_request_builder.go @@ -36,7 +36,7 @@ func NewItemSynchronizationJobsItemProvisionOnDemandRequestBuilder(rawUrl string // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronizationjob-provisionondemand?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronizationjob-provisionondemand?view=graph-rest-beta func (m *ItemSynchronizationJobsItemProvisionOnDemandRequestBuilder) Post(ctx context.Context, body ItemSynchronizationJobsItemProvisionOnDemandPostRequestBodyable, requestConfiguration *ItemSynchronizationJobsItemProvisionOnDemandRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringKeyStringValuePairable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/serviceprincipals/item_synchronization_jobs_item_restart_request_builder.go b/serviceprincipals/item_synchronization_jobs_item_restart_request_builder.go index 462c54282b0..2c55385923c 100644 --- a/serviceprincipals/item_synchronization_jobs_item_restart_request_builder.go +++ b/serviceprincipals/item_synchronization_jobs_item_restart_request_builder.go @@ -34,7 +34,7 @@ func NewItemSynchronizationJobsItemRestartRequestBuilder(rawUrl string, requestA // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronizationjob-restart?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronizationjob-restart?view=graph-rest-beta func (m *ItemSynchronizationJobsItemRestartRequestBuilder) Post(ctx context.Context, body ItemSynchronizationJobsItemRestartPostRequestBodyable, requestConfiguration *ItemSynchronizationJobsItemRestartRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/serviceprincipals/item_synchronization_jobs_item_schema_directories_item_discover_request_builder.go b/serviceprincipals/item_synchronization_jobs_item_schema_directories_item_discover_request_builder.go index 001ba436845..530ad50ddd7 100644 --- a/serviceprincipals/item_synchronization_jobs_item_schema_directories_item_discover_request_builder.go +++ b/serviceprincipals/item_synchronization_jobs_item_schema_directories_item_discover_request_builder.go @@ -36,7 +36,7 @@ func NewItemSynchronizationJobsItemSchemaDirectoriesItemDiscoverRequestBuilder(r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-directorydefinition-discover?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-directorydefinition-discover?view=graph-rest-beta func (m *ItemSynchronizationJobsItemSchemaDirectoriesItemDiscoverRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemSynchronizationJobsItemSchemaDirectoriesItemDiscoverRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryDefinitionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/serviceprincipals/item_synchronization_jobs_item_schema_filter_operators_request_builder.go b/serviceprincipals/item_synchronization_jobs_item_schema_filter_operators_request_builder.go index 1cdf8d4440a..be8c3a87668 100644 --- a/serviceprincipals/item_synchronization_jobs_item_schema_filter_operators_request_builder.go +++ b/serviceprincipals/item_synchronization_jobs_item_schema_filter_operators_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemSynchronizationJobsItemSchemaFilterOperatorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSynchronizationJobsItemSchemaFilterOperatorsRequestBuilderGetQueryParameters invoke function filterOperators +// ItemSynchronizationJobsItemSchemaFilterOperatorsRequestBuilderGetQueryParameters list all operators supported in the scoping filters. type ItemSynchronizationJobsItemSchemaFilterOperatorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewItemSynchronizationJobsItemSchemaFilterOperatorsRequestBuilder(rawUrl st urlParams["request-raw-url"] = rawUrl return NewItemSynchronizationJobsItemSchemaFilterOperatorsRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function filterOperators +// Get list all operators supported in the scoping filters. // Deprecated: This method is obsolete. Use GetAsFilterOperatorsGetResponse instead. // returns a ItemSynchronizationJobsItemSchemaFilterOperatorsResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronizationschema-filteroperators?view=graph-rest-beta func (m *ItemSynchronizationJobsItemSchemaFilterOperatorsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSynchronizationJobsItemSchemaFilterOperatorsRequestBuilderGetRequestConfiguration)(ItemSynchronizationJobsItemSchemaFilterOperatorsResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ItemSynchronizationJobsItemSchemaFilterOperatorsRequestBuilder) Get(ctx } return res.(ItemSynchronizationJobsItemSchemaFilterOperatorsResponseable), nil } -// GetAsFilterOperatorsGetResponse invoke function filterOperators +// GetAsFilterOperatorsGetResponse list all operators supported in the scoping filters. // returns a ItemSynchronizationJobsItemSchemaFilterOperatorsGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronizationschema-filteroperators?view=graph-rest-beta func (m *ItemSynchronizationJobsItemSchemaFilterOperatorsRequestBuilder) GetAsFilterOperatorsGetResponse(ctx context.Context, requestConfiguration *ItemSynchronizationJobsItemSchemaFilterOperatorsRequestBuilderGetRequestConfiguration)(ItemSynchronizationJobsItemSchemaFilterOperatorsGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ItemSynchronizationJobsItemSchemaFilterOperatorsRequestBuilder) GetAsFi } return res.(ItemSynchronizationJobsItemSchemaFilterOperatorsGetResponseable), nil } -// ToGetRequestInformation invoke function filterOperators +// ToGetRequestInformation list all operators supported in the scoping filters. // returns a *RequestInformation when successful func (m *ItemSynchronizationJobsItemSchemaFilterOperatorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSynchronizationJobsItemSchemaFilterOperatorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/serviceprincipals/item_synchronization_jobs_item_schema_functions_request_builder.go b/serviceprincipals/item_synchronization_jobs_item_schema_functions_request_builder.go index 90a27565bbd..b2fbd0abb1f 100644 --- a/serviceprincipals/item_synchronization_jobs_item_schema_functions_request_builder.go +++ b/serviceprincipals/item_synchronization_jobs_item_schema_functions_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemSynchronizationJobsItemSchemaFunctionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSynchronizationJobsItemSchemaFunctionsRequestBuilderGetQueryParameters invoke function functions +// ItemSynchronizationJobsItemSchemaFunctionsRequestBuilderGetQueryParameters list all the functions currently supported in the attributeMappingSource. type ItemSynchronizationJobsItemSchemaFunctionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewItemSynchronizationJobsItemSchemaFunctionsRequestBuilder(rawUrl string, urlParams["request-raw-url"] = rawUrl return NewItemSynchronizationJobsItemSchemaFunctionsRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function functions +// Get list all the functions currently supported in the attributeMappingSource. // Deprecated: This method is obsolete. Use GetAsFunctionsGetResponse instead. // returns a ItemSynchronizationJobsItemSchemaFunctionsResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronizationschema-functions?view=graph-rest-beta func (m *ItemSynchronizationJobsItemSchemaFunctionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSynchronizationJobsItemSchemaFunctionsRequestBuilderGetRequestConfiguration)(ItemSynchronizationJobsItemSchemaFunctionsResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ItemSynchronizationJobsItemSchemaFunctionsRequestBuilder) Get(ctx conte } return res.(ItemSynchronizationJobsItemSchemaFunctionsResponseable), nil } -// GetAsFunctionsGetResponse invoke function functions +// GetAsFunctionsGetResponse list all the functions currently supported in the attributeMappingSource. // returns a ItemSynchronizationJobsItemSchemaFunctionsGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronizationschema-functions?view=graph-rest-beta func (m *ItemSynchronizationJobsItemSchemaFunctionsRequestBuilder) GetAsFunctionsGetResponse(ctx context.Context, requestConfiguration *ItemSynchronizationJobsItemSchemaFunctionsRequestBuilderGetRequestConfiguration)(ItemSynchronizationJobsItemSchemaFunctionsGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ItemSynchronizationJobsItemSchemaFunctionsRequestBuilder) GetAsFunction } return res.(ItemSynchronizationJobsItemSchemaFunctionsGetResponseable), nil } -// ToGetRequestInformation invoke function functions +// ToGetRequestInformation list all the functions currently supported in the attributeMappingSource. // returns a *RequestInformation when successful func (m *ItemSynchronizationJobsItemSchemaFunctionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSynchronizationJobsItemSchemaFunctionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/serviceprincipals/item_synchronization_jobs_item_schema_parse_expression_request_builder.go b/serviceprincipals/item_synchronization_jobs_item_schema_parse_expression_request_builder.go index 453e3640c5b..aec28bfabf9 100644 --- a/serviceprincipals/item_synchronization_jobs_item_schema_parse_expression_request_builder.go +++ b/serviceprincipals/item_synchronization_jobs_item_schema_parse_expression_request_builder.go @@ -36,7 +36,7 @@ func NewItemSynchronizationJobsItemSchemaParseExpressionRequestBuilder(rawUrl st // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronizationschema-parseexpression?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronizationschema-parseexpression?view=graph-rest-beta func (m *ItemSynchronizationJobsItemSchemaParseExpressionRequestBuilder) Post(ctx context.Context, body ItemSynchronizationJobsItemSchemaParseExpressionPostRequestBodyable, requestConfiguration *ItemSynchronizationJobsItemSchemaParseExpressionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ParseExpressionResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/serviceprincipals/item_synchronization_jobs_item_schema_request_builder.go b/serviceprincipals/item_synchronization_jobs_item_schema_request_builder.go index 64e3d6057e5..931b1b005ae 100644 --- a/serviceprincipals/item_synchronization_jobs_item_schema_request_builder.go +++ b/serviceprincipals/item_synchronization_jobs_item_schema_request_builder.go @@ -18,7 +18,7 @@ type ItemSynchronizationJobsItemSchemaRequestBuilderDeleteRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemSynchronizationJobsItemSchemaRequestBuilderGetQueryParameters retrieve the schema for a given synchronization job or template. +// ItemSynchronizationJobsItemSchemaRequestBuilderGetQueryParameters the synchronization schema configured for the job. type ItemSynchronizationJobsItemSchemaRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -85,12 +85,9 @@ func (m *ItemSynchronizationJobsItemSchemaRequestBuilder) FilterOperators()(*Ite func (m *ItemSynchronizationJobsItemSchemaRequestBuilder) Functions()(*ItemSynchronizationJobsItemSchemaFunctionsRequestBuilder) { return NewItemSynchronizationJobsItemSchemaFunctionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the schema for a given synchronization job or template. +// Get the synchronization schema configured for the job. // returns a SynchronizationSchemaable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronizationschema-get?view=graph-rest-1.0 func (m *ItemSynchronizationJobsItemSchemaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSynchronizationJobsItemSchemaRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SynchronizationSchemaable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -113,12 +110,9 @@ func (m *ItemSynchronizationJobsItemSchemaRequestBuilder) Get(ctx context.Contex func (m *ItemSynchronizationJobsItemSchemaRequestBuilder) ParseExpression()(*ItemSynchronizationJobsItemSchemaParseExpressionRequestBuilder) { return NewItemSynchronizationJobsItemSchemaParseExpressionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the synchronization schema for a given job or template. This method fully replaces the current schema with the one provided in the request. To update the schema of a template, make the call on the application object. You must be the owner of the application. +// Patch update the navigation property schema in servicePrincipals // returns a SynchronizationSchemaable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronizationschema-update?view=graph-rest-1.0 func (m *ItemSynchronizationJobsItemSchemaRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SynchronizationSchemaable, requestConfiguration *ItemSynchronizationJobsItemSchemaRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SynchronizationSchemaable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -147,7 +141,7 @@ func (m *ItemSynchronizationJobsItemSchemaRequestBuilder) ToDeleteRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the schema for a given synchronization job or template. +// ToGetRequestInformation the synchronization schema configured for the job. // returns a *RequestInformation when successful func (m *ItemSynchronizationJobsItemSchemaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSynchronizationJobsItemSchemaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -161,7 +155,7 @@ func (m *ItemSynchronizationJobsItemSchemaRequestBuilder) ToGetRequestInformatio requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the synchronization schema for a given job or template. This method fully replaces the current schema with the one provided in the request. To update the schema of a template, make the call on the application object. You must be the owner of the application. +// ToPatchRequestInformation update the navigation property schema in servicePrincipals // returns a *RequestInformation when successful func (m *ItemSynchronizationJobsItemSchemaRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SynchronizationSchemaable, requestConfiguration *ItemSynchronizationJobsItemSchemaRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/serviceprincipals/item_synchronization_jobs_item_start_request_builder.go b/serviceprincipals/item_synchronization_jobs_item_start_request_builder.go index 64bdc78b5f0..224afda980a 100644 --- a/serviceprincipals/item_synchronization_jobs_item_start_request_builder.go +++ b/serviceprincipals/item_synchronization_jobs_item_start_request_builder.go @@ -34,7 +34,7 @@ func NewItemSynchronizationJobsItemStartRequestBuilder(rawUrl string, requestAda // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronizationjob-start?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronizationjob-start?view=graph-rest-beta func (m *ItemSynchronizationJobsItemStartRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemSynchronizationJobsItemStartRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/serviceprincipals/item_synchronization_jobs_item_validate_credentials_request_builder.go b/serviceprincipals/item_synchronization_jobs_item_validate_credentials_request_builder.go index 7dd1f49d9fb..ac2ac1619a9 100644 --- a/serviceprincipals/item_synchronization_jobs_item_validate_credentials_request_builder.go +++ b/serviceprincipals/item_synchronization_jobs_item_validate_credentials_request_builder.go @@ -34,7 +34,7 @@ func NewItemSynchronizationJobsItemValidateCredentialsRequestBuilder(rawUrl stri // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronizationjob-validatecredentials?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronizationjob-validatecredentials?view=graph-rest-beta func (m *ItemSynchronizationJobsItemValidateCredentialsRequestBuilder) Post(ctx context.Context, body ItemSynchronizationJobsItemValidateCredentialsPostRequestBodyable, requestConfiguration *ItemSynchronizationJobsItemValidateCredentialsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/serviceprincipals/item_synchronization_jobs_request_builder.go b/serviceprincipals/item_synchronization_jobs_request_builder.go index fbd7a3e8d59..c7c504966e7 100644 --- a/serviceprincipals/item_synchronization_jobs_request_builder.go +++ b/serviceprincipals/item_synchronization_jobs_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSynchronizationJobsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSynchronizationJobsRequestBuilderGetQueryParameters list existing jobs for a given application instance (service principal). +// ItemSynchronizationJobsRequestBuilderGetQueryParameters performs synchronization by periodically running in the background, polling for changes in one directory, and pushing them to another directory. type ItemSynchronizationJobsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemSynchronizationJobsRequestBuilder(rawUrl string, requestAdapter i2ae func (m *ItemSynchronizationJobsRequestBuilder) Count()(*ItemSynchronizationJobsCountRequestBuilder) { return NewItemSynchronizationJobsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list existing jobs for a given application instance (service principal). +// Get performs synchronization by periodically running in the background, polling for changes in one directory, and pushing them to another directory. // returns a SynchronizationJobCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronization-list-jobs?view=graph-rest-1.0 func (m *ItemSynchronizationJobsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSynchronizationJobsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SynchronizationJobCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemSynchronizationJobsRequestBuilder) Get(ctx context.Context, request } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SynchronizationJobCollectionResponseable), nil } -// Post create new synchronization job with a default synchronization schema. The job is created in a disabled state. Call Start job to start synchronization. +// Post create new navigation property to jobs for servicePrincipals // returns a SynchronizationJobable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronization-post-jobs?view=graph-rest-1.0 func (m *ItemSynchronizationJobsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SynchronizationJobable, requestConfiguration *ItemSynchronizationJobsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SynchronizationJobable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemSynchronizationJobsRequestBuilder) Post(ctx context.Context, body i } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SynchronizationJobable), nil } -// ToGetRequestInformation list existing jobs for a given application instance (service principal). +// ToGetRequestInformation performs synchronization by periodically running in the background, polling for changes in one directory, and pushing them to another directory. // returns a *RequestInformation when successful func (m *ItemSynchronizationJobsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSynchronizationJobsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemSynchronizationJobsRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create new synchronization job with a default synchronization schema. The job is created in a disabled state. Call Start job to start synchronization. +// ToPostRequestInformation create new navigation property to jobs for servicePrincipals // returns a *RequestInformation when successful func (m *ItemSynchronizationJobsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SynchronizationJobable, requestConfiguration *ItemSynchronizationJobsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/serviceprincipals/item_synchronization_jobs_synchronization_job_item_request_builder.go b/serviceprincipals/item_synchronization_jobs_synchronization_job_item_request_builder.go index 15f743b2088..a420bba9d00 100644 --- a/serviceprincipals/item_synchronization_jobs_synchronization_job_item_request_builder.go +++ b/serviceprincipals/item_synchronization_jobs_synchronization_job_item_request_builder.go @@ -18,7 +18,7 @@ type ItemSynchronizationJobsSynchronizationJobItemRequestBuilderDeleteRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemSynchronizationJobsSynchronizationJobItemRequestBuilderGetQueryParameters retrieve the existing synchronization job and its properties. +// ItemSynchronizationJobsSynchronizationJobItemRequestBuilderGetQueryParameters performs synchronization by periodically running in the background, polling for changes in one directory, and pushing them to another directory. type ItemSynchronizationJobsSynchronizationJobItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewItemSynchronizationJobsSynchronizationJobItemRequestBuilder(rawUrl strin urlParams["request-raw-url"] = rawUrl return NewItemSynchronizationJobsSynchronizationJobItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete stop the synchronization job, and permanently delete all the state associated with it. Synchronized accounts are left as-is. +// Delete delete navigation property jobs for servicePrincipals // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronizationjob-delete?view=graph-rest-1.0 func (m *ItemSynchronizationJobsSynchronizationJobItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemSynchronizationJobsSynchronizationJobItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *ItemSynchronizationJobsSynchronizationJobItemRequestBuilder) Delete(ctx } return nil } -// Get retrieve the existing synchronization job and its properties. +// Get performs synchronization by periodically running in the background, polling for changes in one directory, and pushing them to another directory. // returns a SynchronizationJobable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronizationjob-get?view=graph-rest-1.0 func (m *ItemSynchronizationJobsSynchronizationJobItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSynchronizationJobsSynchronizationJobItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SynchronizationJobable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -146,7 +140,7 @@ func (m *ItemSynchronizationJobsSynchronizationJobItemRequestBuilder) Schema()(* func (m *ItemSynchronizationJobsSynchronizationJobItemRequestBuilder) Start()(*ItemSynchronizationJobsItemStartRequestBuilder) { return NewItemSynchronizationJobsItemStartRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation stop the synchronization job, and permanently delete all the state associated with it. Synchronized accounts are left as-is. +// ToDeleteRequestInformation delete navigation property jobs for servicePrincipals // returns a *RequestInformation when successful func (m *ItemSynchronizationJobsSynchronizationJobItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemSynchronizationJobsSynchronizationJobItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -157,7 +151,7 @@ func (m *ItemSynchronizationJobsSynchronizationJobItemRequestBuilder) ToDeleteRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the existing synchronization job and its properties. +// ToGetRequestInformation performs synchronization by periodically running in the background, polling for changes in one directory, and pushing them to another directory. // returns a *RequestInformation when successful func (m *ItemSynchronizationJobsSynchronizationJobItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSynchronizationJobsSynchronizationJobItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/serviceprincipals/item_synchronization_templates_item_schema_directories_item_discover_request_builder.go b/serviceprincipals/item_synchronization_templates_item_schema_directories_item_discover_request_builder.go index c251f419ce1..c524c6740a0 100644 --- a/serviceprincipals/item_synchronization_templates_item_schema_directories_item_discover_request_builder.go +++ b/serviceprincipals/item_synchronization_templates_item_schema_directories_item_discover_request_builder.go @@ -36,7 +36,7 @@ func NewItemSynchronizationTemplatesItemSchemaDirectoriesItemDiscoverRequestBuil // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-directorydefinition-discover?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-directorydefinition-discover?view=graph-rest-beta func (m *ItemSynchronizationTemplatesItemSchemaDirectoriesItemDiscoverRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemSynchronizationTemplatesItemSchemaDirectoriesItemDiscoverRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryDefinitionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/serviceprincipals/item_synchronization_templates_item_schema_filter_operators_request_builder.go b/serviceprincipals/item_synchronization_templates_item_schema_filter_operators_request_builder.go index cb3cd29d896..bd89578899b 100644 --- a/serviceprincipals/item_synchronization_templates_item_schema_filter_operators_request_builder.go +++ b/serviceprincipals/item_synchronization_templates_item_schema_filter_operators_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemSynchronizationTemplatesItemSchemaFilterOperatorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSynchronizationTemplatesItemSchemaFilterOperatorsRequestBuilderGetQueryParameters invoke function filterOperators +// ItemSynchronizationTemplatesItemSchemaFilterOperatorsRequestBuilderGetQueryParameters list all operators supported in the scoping filters. type ItemSynchronizationTemplatesItemSchemaFilterOperatorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewItemSynchronizationTemplatesItemSchemaFilterOperatorsRequestBuilder(rawU urlParams["request-raw-url"] = rawUrl return NewItemSynchronizationTemplatesItemSchemaFilterOperatorsRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function filterOperators +// Get list all operators supported in the scoping filters. // Deprecated: This method is obsolete. Use GetAsFilterOperatorsGetResponse instead. // returns a ItemSynchronizationTemplatesItemSchemaFilterOperatorsResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronizationschema-filteroperators?view=graph-rest-beta func (m *ItemSynchronizationTemplatesItemSchemaFilterOperatorsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSynchronizationTemplatesItemSchemaFilterOperatorsRequestBuilderGetRequestConfiguration)(ItemSynchronizationTemplatesItemSchemaFilterOperatorsResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ItemSynchronizationTemplatesItemSchemaFilterOperatorsRequestBuilder) Ge } return res.(ItemSynchronizationTemplatesItemSchemaFilterOperatorsResponseable), nil } -// GetAsFilterOperatorsGetResponse invoke function filterOperators +// GetAsFilterOperatorsGetResponse list all operators supported in the scoping filters. // returns a ItemSynchronizationTemplatesItemSchemaFilterOperatorsGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronizationschema-filteroperators?view=graph-rest-beta func (m *ItemSynchronizationTemplatesItemSchemaFilterOperatorsRequestBuilder) GetAsFilterOperatorsGetResponse(ctx context.Context, requestConfiguration *ItemSynchronizationTemplatesItemSchemaFilterOperatorsRequestBuilderGetRequestConfiguration)(ItemSynchronizationTemplatesItemSchemaFilterOperatorsGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ItemSynchronizationTemplatesItemSchemaFilterOperatorsRequestBuilder) Ge } return res.(ItemSynchronizationTemplatesItemSchemaFilterOperatorsGetResponseable), nil } -// ToGetRequestInformation invoke function filterOperators +// ToGetRequestInformation list all operators supported in the scoping filters. // returns a *RequestInformation when successful func (m *ItemSynchronizationTemplatesItemSchemaFilterOperatorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSynchronizationTemplatesItemSchemaFilterOperatorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/serviceprincipals/item_synchronization_templates_item_schema_functions_request_builder.go b/serviceprincipals/item_synchronization_templates_item_schema_functions_request_builder.go index d9ca3a3aead..e6edac29fd3 100644 --- a/serviceprincipals/item_synchronization_templates_item_schema_functions_request_builder.go +++ b/serviceprincipals/item_synchronization_templates_item_schema_functions_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemSynchronizationTemplatesItemSchemaFunctionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSynchronizationTemplatesItemSchemaFunctionsRequestBuilderGetQueryParameters invoke function functions +// ItemSynchronizationTemplatesItemSchemaFunctionsRequestBuilderGetQueryParameters list all the functions currently supported in the attributeMappingSource. type ItemSynchronizationTemplatesItemSchemaFunctionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewItemSynchronizationTemplatesItemSchemaFunctionsRequestBuilder(rawUrl str urlParams["request-raw-url"] = rawUrl return NewItemSynchronizationTemplatesItemSchemaFunctionsRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function functions +// Get list all the functions currently supported in the attributeMappingSource. // Deprecated: This method is obsolete. Use GetAsFunctionsGetResponse instead. // returns a ItemSynchronizationTemplatesItemSchemaFunctionsResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronizationschema-functions?view=graph-rest-beta func (m *ItemSynchronizationTemplatesItemSchemaFunctionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSynchronizationTemplatesItemSchemaFunctionsRequestBuilderGetRequestConfiguration)(ItemSynchronizationTemplatesItemSchemaFunctionsResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ItemSynchronizationTemplatesItemSchemaFunctionsRequestBuilder) Get(ctx } return res.(ItemSynchronizationTemplatesItemSchemaFunctionsResponseable), nil } -// GetAsFunctionsGetResponse invoke function functions +// GetAsFunctionsGetResponse list all the functions currently supported in the attributeMappingSource. // returns a ItemSynchronizationTemplatesItemSchemaFunctionsGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronizationschema-functions?view=graph-rest-beta func (m *ItemSynchronizationTemplatesItemSchemaFunctionsRequestBuilder) GetAsFunctionsGetResponse(ctx context.Context, requestConfiguration *ItemSynchronizationTemplatesItemSchemaFunctionsRequestBuilderGetRequestConfiguration)(ItemSynchronizationTemplatesItemSchemaFunctionsGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ItemSynchronizationTemplatesItemSchemaFunctionsRequestBuilder) GetAsFun } return res.(ItemSynchronizationTemplatesItemSchemaFunctionsGetResponseable), nil } -// ToGetRequestInformation invoke function functions +// ToGetRequestInformation list all the functions currently supported in the attributeMappingSource. // returns a *RequestInformation when successful func (m *ItemSynchronizationTemplatesItemSchemaFunctionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSynchronizationTemplatesItemSchemaFunctionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/serviceprincipals/item_synchronization_templates_item_schema_parse_expression_request_builder.go b/serviceprincipals/item_synchronization_templates_item_schema_parse_expression_request_builder.go index cb5132cedc3..b6c9049c7b4 100644 --- a/serviceprincipals/item_synchronization_templates_item_schema_parse_expression_request_builder.go +++ b/serviceprincipals/item_synchronization_templates_item_schema_parse_expression_request_builder.go @@ -36,7 +36,7 @@ func NewItemSynchronizationTemplatesItemSchemaParseExpressionRequestBuilder(rawU // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronizationschema-parseexpression?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronizationschema-parseexpression?view=graph-rest-beta func (m *ItemSynchronizationTemplatesItemSchemaParseExpressionRequestBuilder) Post(ctx context.Context, body ItemSynchronizationTemplatesItemSchemaParseExpressionPostRequestBodyable, requestConfiguration *ItemSynchronizationTemplatesItemSchemaParseExpressionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ParseExpressionResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/serviceprincipals/item_synchronization_templates_request_builder.go b/serviceprincipals/item_synchronization_templates_request_builder.go index 9858c679c6e..e1171239252 100644 --- a/serviceprincipals/item_synchronization_templates_request_builder.go +++ b/serviceprincipals/item_synchronization_templates_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSynchronizationTemplatesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSynchronizationTemplatesRequestBuilderGetQueryParameters list the synchronization templates associated with a given application or service principal. +// ItemSynchronizationTemplatesRequestBuilderGetQueryParameters pre-configured synchronization settings for a particular application. type ItemSynchronizationTemplatesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemSynchronizationTemplatesRequestBuilder(rawUrl string, requestAdapter func (m *ItemSynchronizationTemplatesRequestBuilder) Count()(*ItemSynchronizationTemplatesCountRequestBuilder) { return NewItemSynchronizationTemplatesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list the synchronization templates associated with a given application or service principal. +// Get pre-configured synchronization settings for a particular application. // returns a SynchronizationTemplateCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronization-list-templates?view=graph-rest-1.0 func (m *ItemSynchronizationTemplatesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSynchronizationTemplatesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SynchronizationTemplateCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemSynchronizationTemplatesRequestBuilder) Post(ctx context.Context, b } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SynchronizationTemplateable), nil } -// ToGetRequestInformation list the synchronization templates associated with a given application or service principal. +// ToGetRequestInformation pre-configured synchronization settings for a particular application. // returns a *RequestInformation when successful func (m *ItemSynchronizationTemplatesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSynchronizationTemplatesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/serviceprincipals/item_synchronization_templates_synchronization_template_item_request_builder.go b/serviceprincipals/item_synchronization_templates_synchronization_template_item_request_builder.go index 046e7b110bb..e11889d6435 100644 --- a/serviceprincipals/item_synchronization_templates_synchronization_template_item_request_builder.go +++ b/serviceprincipals/item_synchronization_templates_synchronization_template_item_request_builder.go @@ -90,12 +90,9 @@ func (m *ItemSynchronizationTemplatesSynchronizationTemplateItemRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SynchronizationTemplateable), nil } -// Patch update (override) the synchronization template associated with a given application. +// Patch update the navigation property templates in servicePrincipals // returns a SynchronizationTemplateable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/synchronization-synchronizationtemplate-update?view=graph-rest-1.0 func (m *ItemSynchronizationTemplatesSynchronizationTemplateItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SynchronizationTemplateable, requestConfiguration *ItemSynchronizationTemplatesSynchronizationTemplateItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SynchronizationTemplateable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -143,7 +140,7 @@ func (m *ItemSynchronizationTemplatesSynchronizationTemplateItemRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update (override) the synchronization template associated with a given application. +// ToPatchRequestInformation update the navigation property templates in servicePrincipals // returns a *RequestInformation when successful func (m *ItemSynchronizationTemplatesSynchronizationTemplateItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SynchronizationTemplateable, requestConfiguration *ItemSynchronizationTemplatesSynchronizationTemplateItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/serviceprincipals/item_token_lifetime_policies_request_builder.go b/serviceprincipals/item_token_lifetime_policies_request_builder.go index b0a8681dc0c..13e140c7303 100644 --- a/serviceprincipals/item_token_lifetime_policies_request_builder.go +++ b/serviceprincipals/item_token_lifetime_policies_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTokenLifetimePoliciesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTokenLifetimePoliciesRequestBuilderGetQueryParameters list the tokenLifetimePolicy objects that are assigned to a servicePrincipal. Only one object is returned in the collection because only one tokenLifetimePolicy can be assigned to a service principal. +// ItemTokenLifetimePoliciesRequestBuilderGetQueryParameters the tokenLifetimePolicies assigned to this service principal. Supports $expand. type ItemTokenLifetimePoliciesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewItemTokenLifetimePoliciesRequestBuilder(rawUrl string, requestAdapter i2 func (m *ItemTokenLifetimePoliciesRequestBuilder) Count()(*ItemTokenLifetimePoliciesCountRequestBuilder) { return NewItemTokenLifetimePoliciesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list the tokenLifetimePolicy objects that are assigned to a servicePrincipal. Only one object is returned in the collection because only one tokenLifetimePolicy can be assigned to a service principal. +// Get the tokenLifetimePolicies assigned to this service principal. Supports $expand. // returns a TokenLifetimePolicyCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-list-tokenlifetimepolicies?view=graph-rest-1.0 func (m *ItemTokenLifetimePoliciesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTokenLifetimePoliciesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TokenLifetimePolicyCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *ItemTokenLifetimePoliciesRequestBuilder) Get(ctx context.Context, reque } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TokenLifetimePolicyCollectionResponseable), nil } -// ToGetRequestInformation list the tokenLifetimePolicy objects that are assigned to a servicePrincipal. Only one object is returned in the collection because only one tokenLifetimePolicy can be assigned to a service principal. +// ToGetRequestInformation the tokenLifetimePolicies assigned to this service principal. Supports $expand. // returns a *RequestInformation when successful func (m *ItemTokenLifetimePoliciesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTokenLifetimePoliciesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/serviceprincipals/item_transitive_member_of_request_builder.go b/serviceprincipals/item_transitive_member_of_request_builder.go index 39aa6f3bc74..941e38ac7e3 100644 --- a/serviceprincipals/item_transitive_member_of_request_builder.go +++ b/serviceprincipals/item_transitive_member_of_request_builder.go @@ -72,9 +72,6 @@ func (m *ItemTransitiveMemberOfRequestBuilder) Count()(*ItemTransitiveMemberOfCo // Get get transitiveMemberOf from servicePrincipals // returns a DirectoryObjectCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-list-transitivememberof?view=graph-rest-1.0 func (m *ItemTransitiveMemberOfRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTransitiveMemberOfRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/serviceprincipals/item_update_password_single_sign_on_credentials_request_builder.go b/serviceprincipals/item_update_password_single_sign_on_credentials_request_builder.go index 49072dcdfb3..8e16c8f7d1e 100644 --- a/serviceprincipals/item_update_password_single_sign_on_credentials_request_builder.go +++ b/serviceprincipals/item_update_password_single_sign_on_credentials_request_builder.go @@ -34,7 +34,7 @@ func NewItemUpdatePasswordSingleSignOnCredentialsRequestBuilder(rawUrl string, r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-updatepasswordsinglesignoncredentials?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-updatepasswordsinglesignoncredentials?view=graph-rest-beta func (m *ItemUpdatePasswordSingleSignOnCredentialsRequestBuilder) Post(ctx context.Context, body ItemUpdatePasswordSingleSignOnCredentialsPostRequestBodyable, requestConfiguration *ItemUpdatePasswordSingleSignOnCredentialsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/serviceprincipals/service_principal_item_request_builder.go b/serviceprincipals/service_principal_item_request_builder.go index 1d07e7daa88..415998d4193 100644 --- a/serviceprincipals/service_principal_item_request_builder.go +++ b/serviceprincipals/service_principal_item_request_builder.go @@ -108,7 +108,7 @@ func (m *ServicePrincipalItemRequestBuilder) DelegatedPermissionClassifications( // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-delete?view=graph-rest-beta func (m *ServicePrincipalItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ServicePrincipalItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -148,7 +148,7 @@ func (m *ServicePrincipalItemRequestBuilder) FederatedIdentityCredentialsWithNam // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-get?view=graph-rest-beta func (m *ServicePrincipalItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ServicePrincipalItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServicePrincipalable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -216,7 +216,7 @@ func (m *ServicePrincipalItemRequestBuilder) Owners()(*ItemOwnersRequestBuilder) // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-upsert?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-upsert?view=graph-rest-beta func (m *ServicePrincipalItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServicePrincipalable, requestConfiguration *ServicePrincipalItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServicePrincipalable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/serviceprincipals/service_principals_request_builder.go b/serviceprincipals/service_principals_request_builder.go index 72b4e40a695..122f967bbd7 100644 --- a/serviceprincipals/service_principals_request_builder.go +++ b/serviceprincipals/service_principals_request_builder.go @@ -86,7 +86,7 @@ func (m *ServicePrincipalsRequestBuilder) Delta()(*DeltaRequestBuilder) { // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-list?view=graph-rest-beta func (m *ServicePrincipalsRequestBuilder) Get(ctx context.Context, requestConfiguration *ServicePrincipalsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServicePrincipalCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +119,7 @@ func (m *ServicePrincipalsRequestBuilder) GetUserOwnedObjects()(*GetUserOwnedObj // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-post-serviceprincipals?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-post-serviceprincipals?view=graph-rest-beta func (m *ServicePrincipalsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServicePrincipalable, requestConfiguration *ServicePrincipalsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServicePrincipalable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/serviceprincipals/validate_properties_request_builder.go b/serviceprincipals/validate_properties_request_builder.go index 388b83ffd58..db32fcb9c66 100644 --- a/serviceprincipals/validate_properties_request_builder.go +++ b/serviceprincipals/validate_properties_request_builder.go @@ -34,7 +34,7 @@ func NewValidatePropertiesRequestBuilder(rawUrl string, requestAdapter i2ae4187f // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-validateproperties?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-validateproperties?view=graph-rest-beta func (m *ValidatePropertiesRequestBuilder) Post(ctx context.Context, body ValidatePropertiesPostRequestBodyable, requestConfiguration *ValidatePropertiesRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/serviceprincipalswithappid/service_principals_with_app_id_request_builder.go b/serviceprincipalswithappid/service_principals_with_app_id_request_builder.go index 3d4f37e1a94..417f3ee8a4c 100644 --- a/serviceprincipalswithappid/service_principals_with_app_id_request_builder.go +++ b/serviceprincipalswithappid/service_principals_with_app_id_request_builder.go @@ -61,7 +61,7 @@ func NewServicePrincipalsWithAppIdRequestBuilder(rawUrl string, requestAdapter i // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-delete?view=graph-rest-beta func (m *ServicePrincipalsWithAppIdRequestBuilder) Delete(ctx context.Context, requestConfiguration *ServicePrincipalsWithAppIdRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -81,7 +81,7 @@ func (m *ServicePrincipalsWithAppIdRequestBuilder) Delete(ctx context.Context, r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-get?view=graph-rest-beta func (m *ServicePrincipalsWithAppIdRequestBuilder) Get(ctx context.Context, requestConfiguration *ServicePrincipalsWithAppIdRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServicePrincipalable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,7 +104,7 @@ func (m *ServicePrincipalsWithAppIdRequestBuilder) Get(ctx context.Context, requ // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-upsert?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-upsert?view=graph-rest-beta func (m *ServicePrincipalsWithAppIdRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServicePrincipalable, requestConfiguration *ServicePrincipalsWithAppIdRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServicePrincipalable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/settings/directory_setting_item_request_builder.go b/settings/directory_setting_item_request_builder.go index 072b1157da2..0fde961c4e2 100644 --- a/settings/directory_setting_item_request_builder.go +++ b/settings/directory_setting_item_request_builder.go @@ -58,7 +58,7 @@ func NewDirectorySettingItemRequestBuilder(rawUrl string, requestAdapter i2ae418 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directorysetting-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directorysetting-delete?view=graph-rest-beta func (m *DirectorySettingItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *DirectorySettingItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,7 +78,7 @@ func (m *DirectorySettingItemRequestBuilder) Delete(ctx context.Context, request // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directorysetting-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directorysetting-get?view=graph-rest-beta func (m *DirectorySettingItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DirectorySettingItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectorySettingable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,7 +101,7 @@ func (m *DirectorySettingItemRequestBuilder) Get(ctx context.Context, requestCon // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directorysetting-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directorysetting-update?view=graph-rest-beta func (m *DirectorySettingItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectorySettingable, requestConfiguration *DirectorySettingItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectorySettingable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/settings/settings_request_builder.go b/settings/settings_request_builder.go index 137f4c13100..6ee20464182 100644 --- a/settings/settings_request_builder.go +++ b/settings/settings_request_builder.go @@ -79,7 +79,7 @@ func (m *SettingsRequestBuilder) Count()(*CountRequestBuilder) { // returns a ODataError error 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-list-settings?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/group-list-settings?view=graph-rest-beta func (m *SettingsRequestBuilder) Get(ctx context.Context, requestConfiguration *SettingsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectorySettingCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,7 +102,7 @@ func (m *SettingsRequestBuilder) Get(ctx context.Context, requestConfiguration * // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/group-post-settings?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/group-post-settings?view=graph-rest-beta func (m *SettingsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectorySettingable, requestConfiguration *SettingsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectorySettingable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/shares/item_drive_item_content_request_builder.go b/shares/item_drive_item_content_request_builder.go index 9e28ed4e83e..cdd0a1adcfe 100644 --- a/shares/item_drive_item_content_request_builder.go +++ b/shares/item_drive_item_content_request_builder.go @@ -48,9 +48,6 @@ func NewItemDriveItemContentRequestBuilder(rawUrl string, requestAdapter i2ae418 // Get get content for the navigation property driveItem from shares // 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/shares-get?view=graph-rest-1.0 func (m *ItemDriveItemContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemDriveItemContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/shares/item_drive_item_content_stream_request_builder.go b/shares/item_drive_item_content_stream_request_builder.go index 6e7e3817f96..b14509c470d 100644 --- a/shares/item_drive_item_content_stream_request_builder.go +++ b/shares/item_drive_item_content_stream_request_builder.go @@ -40,9 +40,6 @@ func NewItemDriveItemContentStreamRequestBuilder(rawUrl string, requestAdapter i // Get the content stream, if the item represents a file. // 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/shares-get?view=graph-rest-1.0 func (m *ItemDriveItemContentStreamRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemDriveItemContentStreamRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/shares/item_drive_item_request_builder.go b/shares/item_drive_item_request_builder.go index bf534eb16e0..52d7a1355ce 100644 --- a/shares/item_drive_item_request_builder.go +++ b/shares/item_drive_item_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemDriveItemRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemDriveItemRequestBuilderGetQueryParameters access a shared DriveItem or a collection of shared items by using a shareId or sharing URL. To use a sharing URL with this API, your app needs to transform the URL into a sharing token. +// ItemDriveItemRequestBuilderGetQueryParameters used to access the underlying driveItem type ItemDriveItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -50,12 +50,9 @@ func (m *ItemDriveItemRequestBuilder) Content()(*ItemDriveItemContentRequestBuil func (m *ItemDriveItemRequestBuilder) ContentStream()(*ItemDriveItemContentStreamRequestBuilder) { return NewItemDriveItemContentStreamRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get access a shared DriveItem or a collection of shared items by using a shareId or sharing URL. To use a sharing URL with this API, your app needs to transform the URL into a sharing token. +// Get used to access the underlying driveItem // returns a DriveItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/shares-get?view=graph-rest-1.0 func (m *ItemDriveItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemDriveItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,7 +70,7 @@ func (m *ItemDriveItemRequestBuilder) Get(ctx context.Context, requestConfigurat } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable), nil } -// ToGetRequestInformation access a shared DriveItem or a collection of shared items by using a shareId or sharing URL. To use a sharing URL with this API, your app needs to transform the URL into a sharing token. +// ToGetRequestInformation used to access the underlying driveItem // returns a *RequestInformation when successful func (m *ItemDriveItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemDriveItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/shares/item_list_columns_request_builder.go b/shares/item_list_columns_request_builder.go index b85aa0dc8fa..c3cce137301 100644 --- a/shares/item_list_columns_request_builder.go +++ b/shares/item_list_columns_request_builder.go @@ -79,9 +79,6 @@ func (m *ItemListColumnsRequestBuilder) Count()(*ItemListColumnsCountRequestBuil // Get the collection of field definitions for this list. // returns a ColumnDefinitionCollectionResponseable when successful // returns a ODataError error 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-columns?view=graph-rest-1.0 func (m *ItemListColumnsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListColumnsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemListColumnsRequestBuilder) Get(ctx context.Context, requestConfigur } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionCollectionResponseable), nil } -// Post create columnDefinition +// Post create new navigation property to columns for shares // returns a ColumnDefinitionable when successful // returns a ODataError error 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-post-columns?view=graph-rest-1.0 func (m *ItemListColumnsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, requestConfiguration *ItemListColumnsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -136,7 +130,7 @@ func (m *ItemListColumnsRequestBuilder) ToGetRequestInformation(ctx context.Cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create columnDefinition +// ToPostRequestInformation create new navigation property to columns for shares // returns a *RequestInformation when successful func (m *ItemListColumnsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, requestConfiguration *ItemListColumnsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/shares/item_list_content_types_add_copy_from_content_type_hub_request_builder.go b/shares/item_list_content_types_add_copy_from_content_type_hub_request_builder.go index 04d26717341..75354695652 100644 --- a/shares/item_list_content_types_add_copy_from_content_type_hub_request_builder.go +++ b/shares/item_list_content_types_add_copy_from_content_type_hub_request_builder.go @@ -36,7 +36,7 @@ func NewItemListContentTypesAddCopyFromContentTypeHubRequestBuilder(rawUrl strin // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-addcopyfromcontenttypehub?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-addcopyfromcontenttypehub?view=graph-rest-beta func (m *ItemListContentTypesAddCopyFromContentTypeHubRequestBuilder) Post(ctx context.Context, body ItemListContentTypesAddCopyFromContentTypeHubPostRequestBodyable, requestConfiguration *ItemListContentTypesAddCopyFromContentTypeHubRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContentTypeable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/shares/item_list_content_types_add_copy_request_builder.go b/shares/item_list_content_types_add_copy_request_builder.go index 1a386b6c61b..f9e3dc54d9c 100644 --- a/shares/item_list_content_types_add_copy_request_builder.go +++ b/shares/item_list_content_types_add_copy_request_builder.go @@ -36,7 +36,7 @@ func NewItemListContentTypesAddCopyRequestBuilder(rawUrl string, requestAdapter // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-addcopy?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-addcopy?view=graph-rest-beta func (m *ItemListContentTypesAddCopyRequestBuilder) Post(ctx context.Context, body ItemListContentTypesAddCopyPostRequestBodyable, requestConfiguration *ItemListContentTypesAddCopyRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContentTypeable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/shares/item_list_content_types_get_compatible_hub_content_types_request_builder.go b/shares/item_list_content_types_get_compatible_hub_content_types_request_builder.go index 08e30147eab..4337e438c5c 100644 --- a/shares/item_list_content_types_get_compatible_hub_content_types_request_builder.go +++ b/shares/item_list_content_types_get_compatible_hub_content_types_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemListContentTypesGetCompatibleHubContentTypesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemListContentTypesGetCompatibleHubContentTypesRequestBuilderGetQueryParameters invoke function getCompatibleHubContentTypes +// ItemListContentTypesGetCompatibleHubContentTypesRequestBuilderGetQueryParameters get compatible content types in the content type hub that can be added to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see addCopyFromContentTypeHub and the blog post Syntex Product Updates – August 2021. type ItemListContentTypesGetCompatibleHubContentTypesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewItemListContentTypesGetCompatibleHubContentTypesRequestBuilder(rawUrl st urlParams["request-raw-url"] = rawUrl return NewItemListContentTypesGetCompatibleHubContentTypesRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getCompatibleHubContentTypes +// Get get compatible content types in the content type hub that can be added to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see addCopyFromContentTypeHub and the blog post Syntex Product Updates – August 2021. // Deprecated: This method is obsolete. Use GetAsGetCompatibleHubContentTypesGetResponse instead. // returns a ItemListContentTypesGetCompatibleHubContentTypesResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-getcompatiblehubcontenttypes?view=graph-rest-beta func (m *ItemListContentTypesGetCompatibleHubContentTypesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListContentTypesGetCompatibleHubContentTypesRequestBuilderGetRequestConfiguration)(ItemListContentTypesGetCompatibleHubContentTypesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ItemListContentTypesGetCompatibleHubContentTypesRequestBuilder) Get(ctx } return res.(ItemListContentTypesGetCompatibleHubContentTypesResponseable), nil } -// GetAsGetCompatibleHubContentTypesGetResponse invoke function getCompatibleHubContentTypes +// GetAsGetCompatibleHubContentTypesGetResponse get compatible content types in the content type hub that can be added to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see addCopyFromContentTypeHub and the blog post Syntex Product Updates – August 2021. // returns a ItemListContentTypesGetCompatibleHubContentTypesGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-getcompatiblehubcontenttypes?view=graph-rest-beta func (m *ItemListContentTypesGetCompatibleHubContentTypesRequestBuilder) GetAsGetCompatibleHubContentTypesGetResponse(ctx context.Context, requestConfiguration *ItemListContentTypesGetCompatibleHubContentTypesRequestBuilderGetRequestConfiguration)(ItemListContentTypesGetCompatibleHubContentTypesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ItemListContentTypesGetCompatibleHubContentTypesRequestBuilder) GetAsGe } return res.(ItemListContentTypesGetCompatibleHubContentTypesGetResponseable), nil } -// ToGetRequestInformation invoke function getCompatibleHubContentTypes +// ToGetRequestInformation get compatible content types in the content type hub that can be added to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see addCopyFromContentTypeHub and the blog post Syntex Product Updates – August 2021. // returns a *RequestInformation when successful func (m *ItemListContentTypesGetCompatibleHubContentTypesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListContentTypesGetCompatibleHubContentTypesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/shares/item_list_content_types_item_associate_with_hub_sites_request_builder.go b/shares/item_list_content_types_item_associate_with_hub_sites_request_builder.go index cb6db2beb4e..735c45ac224 100644 --- a/shares/item_list_content_types_item_associate_with_hub_sites_request_builder.go +++ b/shares/item_list_content_types_item_associate_with_hub_sites_request_builder.go @@ -34,7 +34,7 @@ func NewItemListContentTypesItemAssociateWithHubSitesRequestBuilder(rawUrl strin // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-associatewithhubsites?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-associatewithhubsites?view=graph-rest-beta func (m *ItemListContentTypesItemAssociateWithHubSitesRequestBuilder) Post(ctx context.Context, body ItemListContentTypesItemAssociateWithHubSitesPostRequestBodyable, requestConfiguration *ItemListContentTypesItemAssociateWithHubSitesRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/shares/item_list_content_types_item_columns_column_definition_item_request_builder.go b/shares/item_list_content_types_item_columns_column_definition_item_request_builder.go index ae9538642cf..af63331dc25 100644 --- a/shares/item_list_content_types_item_columns_column_definition_item_request_builder.go +++ b/shares/item_list_content_types_item_columns_column_definition_item_request_builder.go @@ -18,7 +18,7 @@ type ItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilderDeleteRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilderGetQueryParameters retrieve the metadata for a [site][], [list][], or [contentType][] [column][columnDefinition]. +// ItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilderGetQueryParameters the collection of column definitions for this content type. type ItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilder(rawUrl urlParams["request-raw-url"] = rawUrl return NewItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete columnDefinition +// Delete delete navigation property columns for shares // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/columndefinition-delete?view=graph-rest-1.0 func (m *ItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilder) Dele } return nil } -// Get retrieve the metadata for a [site][], [list][], or [contentType][] [column][columnDefinition]. +// Get the collection of column definitions for this content type. // returns a ColumnDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/columndefinition-get?view=graph-rest-1.0 func (m *ItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilder) Get( } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable), nil } -// Patch update columnDefinition +// Patch update the navigation property columns in shares // returns a ColumnDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/columndefinition-update?view=graph-rest-1.0 func (m *ItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, requestConfiguration *ItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -124,7 +115,7 @@ func (m *ItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilder) Patc func (m *ItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilder) SourceColumn()(*ItemListContentTypesItemColumnsItemSourceColumnRequestBuilder) { return NewItemListContentTypesItemColumnsItemSourceColumnRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete columnDefinition +// ToDeleteRequestInformation delete navigation property columns for shares // returns a *RequestInformation when successful func (m *ItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -135,7 +126,7 @@ func (m *ItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilder) ToDe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the metadata for a [site][], [list][], or [contentType][] [column][columnDefinition]. +// ToGetRequestInformation the collection of column definitions for this content type. // returns a *RequestInformation when successful func (m *ItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -149,7 +140,7 @@ func (m *ItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilder) ToGe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update columnDefinition +// ToPatchRequestInformation update the navigation property columns in shares // returns a *RequestInformation when successful func (m *ItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, requestConfiguration *ItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/shares/item_list_content_types_item_columns_request_builder.go b/shares/item_list_content_types_item_columns_request_builder.go index 1dc37184269..3662a4f0480 100644 --- a/shares/item_list_content_types_item_columns_request_builder.go +++ b/shares/item_list_content_types_item_columns_request_builder.go @@ -79,9 +79,6 @@ func (m *ItemListContentTypesItemColumnsRequestBuilder) Count()(*ItemListContent // Get the collection of column definitions for this content type. // returns a ColumnDefinitionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-list-columns?view=graph-rest-1.0 func (m *ItemListContentTypesItemColumnsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListContentTypesItemColumnsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemListContentTypesItemColumnsRequestBuilder) Get(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionCollectionResponseable), nil } -// Post create columnDefinition for a content type +// Post create new navigation property to columns for shares // returns a ColumnDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-post-columns?view=graph-rest-1.0 func (m *ItemListContentTypesItemColumnsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, requestConfiguration *ItemListContentTypesItemColumnsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -136,7 +130,7 @@ func (m *ItemListContentTypesItemColumnsRequestBuilder) ToGetRequestInformation( requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create columnDefinition for a content type +// ToPostRequestInformation create new navigation property to columns for shares // returns a *RequestInformation when successful func (m *ItemListContentTypesItemColumnsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, requestConfiguration *ItemListContentTypesItemColumnsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/shares/item_list_content_types_item_copy_to_default_content_location_request_builder.go b/shares/item_list_content_types_item_copy_to_default_content_location_request_builder.go index 83a477b86bc..dbada82e732 100644 --- a/shares/item_list_content_types_item_copy_to_default_content_location_request_builder.go +++ b/shares/item_list_content_types_item_copy_to_default_content_location_request_builder.go @@ -34,7 +34,7 @@ func NewItemListContentTypesItemCopyToDefaultContentLocationRequestBuilder(rawUr // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-copytodefaultcontentlocation?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-copytodefaultcontentlocation?view=graph-rest-beta func (m *ItemListContentTypesItemCopyToDefaultContentLocationRequestBuilder) Post(ctx context.Context, body ItemListContentTypesItemCopyToDefaultContentLocationPostRequestBodyable, requestConfiguration *ItemListContentTypesItemCopyToDefaultContentLocationRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/shares/item_list_content_types_item_is_published_request_builder.go b/shares/item_list_content_types_item_is_published_request_builder.go index 06495cbec9d..b824bc7908e 100644 --- a/shares/item_list_content_types_item_is_published_request_builder.go +++ b/shares/item_list_content_types_item_is_published_request_builder.go @@ -34,6 +34,9 @@ func NewItemListContentTypesItemIsPublishedRequestBuilder(rawUrl string, request // Deprecated: This method is obsolete. Use GetAsIsPublishedGetResponse instead. // returns a ItemListContentTypesItemIsPublishedResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-ispublished?view=graph-rest-beta func (m *ItemListContentTypesItemIsPublishedRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListContentTypesItemIsPublishedRequestBuilderGetRequestConfiguration)(ItemListContentTypesItemIsPublishedResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -54,6 +57,9 @@ func (m *ItemListContentTypesItemIsPublishedRequestBuilder) Get(ctx context.Cont // GetAsIsPublishedGetResponse invoke function isPublished // returns a ItemListContentTypesItemIsPublishedGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-ispublished?view=graph-rest-beta func (m *ItemListContentTypesItemIsPublishedRequestBuilder) GetAsIsPublishedGetResponse(ctx context.Context, requestConfiguration *ItemListContentTypesItemIsPublishedRequestBuilderGetRequestConfiguration)(ItemListContentTypesItemIsPublishedGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/shares/item_list_content_types_item_publish_request_builder.go b/shares/item_list_content_types_item_publish_request_builder.go index 76678b83722..cd2b4722762 100644 --- a/shares/item_list_content_types_item_publish_request_builder.go +++ b/shares/item_list_content_types_item_publish_request_builder.go @@ -34,7 +34,7 @@ func NewItemListContentTypesItemPublishRequestBuilder(rawUrl string, requestAdap // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-publish?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-publish?view=graph-rest-beta func (m *ItemListContentTypesItemPublishRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemListContentTypesItemPublishRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/shares/item_list_content_types_item_unpublish_request_builder.go b/shares/item_list_content_types_item_unpublish_request_builder.go index 6f965610ed7..0b2a923ca7b 100644 --- a/shares/item_list_content_types_item_unpublish_request_builder.go +++ b/shares/item_list_content_types_item_unpublish_request_builder.go @@ -34,7 +34,7 @@ func NewItemListContentTypesItemUnpublishRequestBuilder(rawUrl string, requestAd // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-unpublish?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-unpublish?view=graph-rest-beta func (m *ItemListContentTypesItemUnpublishRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemListContentTypesItemUnpublishRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/shares/item_list_content_types_request_builder.go b/shares/item_list_content_types_request_builder.go index 977b8cc06c7..3ce4065482a 100644 --- a/shares/item_list_content_types_request_builder.go +++ b/shares/item_list_content_types_request_builder.go @@ -89,9 +89,6 @@ func (m *ItemListContentTypesRequestBuilder) Count()(*ItemListContentTypesCountR // Get the collection of content types present in this list. // returns a ContentTypeCollectionResponseable when successful // returns a ODataError error 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-contenttypes?view=graph-rest-1.0 func (m *ItemListContentTypesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListContentTypesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContentTypeCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/shares/item_list_items_delta_request_builder.go b/shares/item_list_items_delta_request_builder.go index 7d4356edbc6..5236d54f179 100644 --- a/shares/item_list_items_delta_request_builder.go +++ b/shares/item_list_items_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemListItemsDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemListItemsDeltaRequestBuilderGetQueryParameters invoke function delta +// ItemListItemsDeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted list items without having to perform a full read of the entire items collection. Your app begins by calling delta without any parameters.The service starts enumerating the hierarchy of the list, returning pages of items, and either an @odata.nextLink or an @odata.deltaLink.Your app should continue calling with the @odata.nextLink until you see an @odata.deltaLink returned. After you received all the changes, you can apply them to your local state.To check for changes in the future, call delta again with the @odata.deltaLink from the previous response. The delta feed shows the latest state for each item, not each change. If an item was renamed twice, it only shows up once, with its latest name.The same item might appear more than once in a delta feed, for various reasons. You should use the last occurrence you see. Deleted items are returned with the deleted facet. Deleted indicates that the item is deleted and can't be restored.Items with this property should be removed from your local state. type ItemListItemsDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewItemListItemsDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f urlParams["request-raw-url"] = rawUrl return NewItemListItemsDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get get newly created, updated, or deleted list items without having to perform a full read of the entire items collection. Your app begins by calling delta without any parameters.The service starts enumerating the hierarchy of the list, returning pages of items, and either an @odata.nextLink or an @odata.deltaLink.Your app should continue calling with the @odata.nextLink until you see an @odata.deltaLink returned. After you received all the changes, you can apply them to your local state.To check for changes in the future, call delta again with the @odata.deltaLink from the previous response. The delta feed shows the latest state for each item, not each change. If an item was renamed twice, it only shows up once, with its latest name.The same item might appear more than once in a delta feed, for various reasons. You should use the last occurrence you see. Deleted items are returned with the deleted facet. Deleted indicates that the item is deleted and can't be restored.Items with this property should be removed from your local state. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemListItemsDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/listitem-delta?view=graph-rest-beta func (m *ItemListItemsDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListItemsDeltaRequestBuilderGetRequestConfiguration)(ItemListItemsDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ItemListItemsDeltaRequestBuilder) Get(ctx context.Context, requestConfi } return res.(ItemListItemsDeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse get newly created, updated, or deleted list items without having to perform a full read of the entire items collection. Your app begins by calling delta without any parameters.The service starts enumerating the hierarchy of the list, returning pages of items, and either an @odata.nextLink or an @odata.deltaLink.Your app should continue calling with the @odata.nextLink until you see an @odata.deltaLink returned. After you received all the changes, you can apply them to your local state.To check for changes in the future, call delta again with the @odata.deltaLink from the previous response. The delta feed shows the latest state for each item, not each change. If an item was renamed twice, it only shows up once, with its latest name.The same item might appear more than once in a delta feed, for various reasons. You should use the last occurrence you see. Deleted items are returned with the deleted facet. Deleted indicates that the item is deleted and can't be restored.Items with this property should be removed from your local state. // returns a ItemListItemsDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/listitem-delta?view=graph-rest-beta func (m *ItemListItemsDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemListItemsDeltaRequestBuilderGetRequestConfiguration)(ItemListItemsDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ItemListItemsDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Con } return res.(ItemListItemsDeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation get newly created, updated, or deleted list items without having to perform a full read of the entire items collection. Your app begins by calling delta without any parameters.The service starts enumerating the hierarchy of the list, returning pages of items, and either an @odata.nextLink or an @odata.deltaLink.Your app should continue calling with the @odata.nextLink until you see an @odata.deltaLink returned. After you received all the changes, you can apply them to your local state.To check for changes in the future, call delta again with the @odata.deltaLink from the previous response. The delta feed shows the latest state for each item, not each change. If an item was renamed twice, it only shows up once, with its latest name.The same item might appear more than once in a delta feed, for various reasons. You should use the last occurrence you see. Deleted items are returned with the deleted facet. Deleted indicates that the item is deleted and can't be restored.Items with this property should be removed from your local state. // returns a *RequestInformation when successful func (m *ItemListItemsDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListItemsDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/shares/item_list_items_item_create_link_request_builder.go b/shares/item_list_items_item_create_link_request_builder.go index 8b1b8c97e20..a75a67a835f 100644 --- a/shares/item_list_items_item_create_link_request_builder.go +++ b/shares/item_list_items_item_create_link_request_builder.go @@ -36,7 +36,7 @@ func NewItemListItemsItemCreateLinkRequestBuilder(rawUrl string, requestAdapter // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/listitem-createlink?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/listitem-createlink?view=graph-rest-beta func (m *ItemListItemsItemCreateLinkRequestBuilder) Post(ctx context.Context, body ItemListItemsItemCreateLinkPostRequestBodyable, requestConfiguration *ItemListItemsItemCreateLinkRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/shares/item_list_items_item_document_set_versions_document_set_version_item_request_builder.go b/shares/item_list_items_item_document_set_versions_document_set_version_item_request_builder.go index 06ef1fbf188..02f0d0ae736 100644 --- a/shares/item_list_items_item_document_set_versions_document_set_version_item_request_builder.go +++ b/shares/item_list_items_item_document_set_versions_document_set_version_item_request_builder.go @@ -18,7 +18,7 @@ type ItemListItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilderDel // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemListItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilderGetQueryParameters read the properties and relationships of a documentSetVersion object. +// ItemListItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilderGetQueryParameters version information for a document set version created by a user. type ItemListItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemListItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilder urlParams["request-raw-url"] = rawUrl return NewItemListItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a version of a document set in a list. +// Delete delete navigation property documentSetVersions for shares // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/documentsetversion-delete?view=graph-rest-1.0 func (m *ItemListItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemListItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *ItemListItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilde func (m *ItemListItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilder) Fields()(*ItemListItemsItemDocumentSetVersionsItemFieldsRequestBuilder) { return NewItemListItemsItemDocumentSetVersionsItemFieldsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of a documentSetVersion object. +// Get version information for a document set version created by a user. // returns a DocumentSetVersionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/documentsetversion-get?view=graph-rest-1.0 func (m *ItemListItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DocumentSetVersionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -126,7 +120,7 @@ func (m *ItemListItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilde func (m *ItemListItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilder) Restore()(*ItemListItemsItemDocumentSetVersionsItemRestoreRequestBuilder) { return NewItemListItemsItemDocumentSetVersionsItemRestoreRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a version of a document set in a list. +// ToDeleteRequestInformation delete navigation property documentSetVersions for shares // returns a *RequestInformation when successful func (m *ItemListItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemListItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -137,7 +131,7 @@ func (m *ItemListItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilde requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a documentSetVersion object. +// ToGetRequestInformation version information for a document set version created by a user. // returns a *RequestInformation when successful func (m *ItemListItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/shares/item_list_items_item_document_set_versions_item_restore_request_builder.go b/shares/item_list_items_item_document_set_versions_item_restore_request_builder.go index d596b67f051..3831194e278 100644 --- a/shares/item_list_items_item_document_set_versions_item_restore_request_builder.go +++ b/shares/item_list_items_item_document_set_versions_item_restore_request_builder.go @@ -34,7 +34,7 @@ func NewItemListItemsItemDocumentSetVersionsItemRestoreRequestBuilder(rawUrl str // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/documentsetversion-restore?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/documentsetversion-restore?view=graph-rest-beta func (m *ItemListItemsItemDocumentSetVersionsItemRestoreRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemListItemsItemDocumentSetVersionsItemRestoreRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/shares/item_list_items_item_document_set_versions_request_builder.go b/shares/item_list_items_item_document_set_versions_request_builder.go index ac1f7792818..2f97677228c 100644 --- a/shares/item_list_items_item_document_set_versions_request_builder.go +++ b/shares/item_list_items_item_document_set_versions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemListItemsItemDocumentSetVersionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemListItemsItemDocumentSetVersionsRequestBuilderGetQueryParameters get a list of the versions of a document set item in a list. +// ItemListItemsItemDocumentSetVersionsRequestBuilderGetQueryParameters version information for a document set version created by a user. type ItemListItemsItemDocumentSetVersionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemListItemsItemDocumentSetVersionsRequestBuilder(rawUrl string, reques func (m *ItemListItemsItemDocumentSetVersionsRequestBuilder) Count()(*ItemListItemsItemDocumentSetVersionsCountRequestBuilder) { return NewItemListItemsItemDocumentSetVersionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the versions of a document set item in a list. +// Get version information for a document set version created by a user. // returns a DocumentSetVersionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/listitem-list-documentsetversions?view=graph-rest-1.0 func (m *ItemListItemsItemDocumentSetVersionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListItemsItemDocumentSetVersionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DocumentSetVersionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemListItemsItemDocumentSetVersionsRequestBuilder) Get(ctx context.Con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DocumentSetVersionCollectionResponseable), nil } -// Post create a new version of a document set item in a list. +// Post create new navigation property to documentSetVersions for shares // returns a DocumentSetVersionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/listitem-post-documentsetversions?view=graph-rest-1.0 func (m *ItemListItemsItemDocumentSetVersionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DocumentSetVersionable, requestConfiguration *ItemListItemsItemDocumentSetVersionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DocumentSetVersionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemListItemsItemDocumentSetVersionsRequestBuilder) Post(ctx context.Co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DocumentSetVersionable), nil } -// ToGetRequestInformation get a list of the versions of a document set item in a list. +// ToGetRequestInformation version information for a document set version created by a user. // returns a *RequestInformation when successful func (m *ItemListItemsItemDocumentSetVersionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListItemsItemDocumentSetVersionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemListItemsItemDocumentSetVersionsRequestBuilder) ToGetRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new version of a document set item in a list. +// ToPostRequestInformation create new navigation property to documentSetVersions for shares // returns a *RequestInformation when successful func (m *ItemListItemsItemDocumentSetVersionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DocumentSetVersionable, requestConfiguration *ItemListItemsItemDocumentSetVersionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/shares/item_list_items_item_drive_item_request_builder.go b/shares/item_list_items_item_drive_item_request_builder.go index 9a48df2ff7e..5db8cec2802 100644 --- a/shares/item_list_items_item_drive_item_request_builder.go +++ b/shares/item_list_items_item_drive_item_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemListItemsItemDriveItemRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemListItemsItemDriveItemRequestBuilderGetQueryParameters for document libraries, the driveItem relationship exposes the listItem as a [driveItem][] +// ItemListItemsItemDriveItemRequestBuilderGetQueryParameters for document libraries, the driveItem relationship exposes the listItem as a driveItem type ItemListItemsItemDriveItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -50,7 +50,7 @@ func (m *ItemListItemsItemDriveItemRequestBuilder) Content()(*ItemListItemsItemD func (m *ItemListItemsItemDriveItemRequestBuilder) ContentStream()(*ItemListItemsItemDriveItemContentStreamRequestBuilder) { return NewItemListItemsItemDriveItemContentStreamRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get for document libraries, the driveItem relationship exposes the listItem as a [driveItem][] +// Get for document libraries, the driveItem relationship exposes the listItem as a driveItem // returns a DriveItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemListItemsItemDriveItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListItemsItemDriveItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable, error) { @@ -70,7 +70,7 @@ func (m *ItemListItemsItemDriveItemRequestBuilder) Get(ctx context.Context, requ } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable), nil } -// ToGetRequestInformation for document libraries, the driveItem relationship exposes the listItem as a [driveItem][] +// ToGetRequestInformation for document libraries, the driveItem relationship exposes the listItem as a driveItem // returns a *RequestInformation when successful func (m *ItemListItemsItemDriveItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListItemsItemDriveItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/shares/item_list_items_item_fields_request_builder.go b/shares/item_list_items_item_fields_request_builder.go index 1560b591dd1..f91d3202ef0 100644 --- a/shares/item_list_items_item_fields_request_builder.go +++ b/shares/item_list_items_item_fields_request_builder.go @@ -90,12 +90,9 @@ func (m *ItemListItemsItemFieldsRequestBuilder) Get(ctx context.Context, request } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FieldValueSetable), nil } -// Patch update the properties on a [listItem][]. +// Patch update the navigation property fields in shares // returns a FieldValueSetable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/listitem-update?view=graph-rest-1.0 func (m *ItemListItemsItemFieldsRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FieldValueSetable, requestConfiguration *ItemListItemsItemFieldsRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FieldValueSetable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -138,7 +135,7 @@ func (m *ItemListItemsItemFieldsRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties on a [listItem][]. +// ToPatchRequestInformation update the navigation property fields in shares // returns a *RequestInformation when successful func (m *ItemListItemsItemFieldsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FieldValueSetable, requestConfiguration *ItemListItemsItemFieldsRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/shares/item_list_items_list_item_item_request_builder.go b/shares/item_list_items_list_item_item_request_builder.go index 74d7ac94d3b..8730a1b380e 100644 --- a/shares/item_list_items_list_item_item_request_builder.go +++ b/shares/item_list_items_list_item_item_request_builder.go @@ -18,7 +18,7 @@ type ItemListItemsListItemItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemListItemsListItemItemRequestBuilderGetQueryParameters returns the metadata for an [item][] in a [list][]. +// ItemListItemsListItemItemRequestBuilderGetQueryParameters all items contained in the list. type ItemListItemsListItemItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -74,11 +74,8 @@ func (m *ItemListItemsListItemItemRequestBuilder) CreatedByUser()(*ItemListItems func (m *ItemListItemsListItemItemRequestBuilder) CreateLink()(*ItemListItemsItemCreateLinkRequestBuilder) { return NewItemListItemsItemCreateLinkRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Delete removes an item from a [list][]. +// Delete delete navigation property items for shares // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/listitem-delete?view=graph-rest-1.0 func (m *ItemListItemsListItemItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemListItemsListItemItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -108,12 +105,9 @@ func (m *ItemListItemsListItemItemRequestBuilder) DriveItem()(*ItemListItemsItem func (m *ItemListItemsListItemItemRequestBuilder) Fields()(*ItemListItemsItemFieldsRequestBuilder) { return NewItemListItemsItemFieldsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get returns the metadata for an [item][] in a [list][]. +// Get all items contained in the list. // returns a ListItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/listitem-get?view=graph-rest-1.0 func (m *ItemListItemsListItemItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListItemsListItemItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ListItemable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -161,7 +155,7 @@ func (m *ItemListItemsListItemItemRequestBuilder) Patch(ctx context.Context, bod } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ListItemable), nil } -// ToDeleteRequestInformation removes an item from a [list][]. +// ToDeleteRequestInformation delete navigation property items for shares // returns a *RequestInformation when successful func (m *ItemListItemsListItemItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemListItemsListItemItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -172,7 +166,7 @@ func (m *ItemListItemsListItemItemRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation returns the metadata for an [item][] in a [list][]. +// ToGetRequestInformation all items contained in the list. // returns a *RequestInformation when successful func (m *ItemListItemsListItemItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListItemsListItemItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/shares/item_list_items_request_builder.go b/shares/item_list_items_request_builder.go index 88602b021ba..0058fa24ecb 100644 --- a/shares/item_list_items_request_builder.go +++ b/shares/item_list_items_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemListItemsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemListItemsRequestBuilderGetQueryParameters get the collection of [items][item] in a [list][]. +// ItemListItemsRequestBuilderGetQueryParameters all items contained in the list. type ItemListItemsRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -79,12 +79,9 @@ func (m *ItemListItemsRequestBuilder) Delta()(*ItemListItemsDeltaRequestBuilder) func (m *ItemListItemsRequestBuilder) DeltaWithToken(token *string)(*ItemListItemsDeltaWithTokenRequestBuilder) { return NewItemListItemsDeltaWithTokenRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, token) } -// Get get the collection of [items][item] in a [list][]. +// Get all items contained in the list. // returns a ListItemCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/listitem-list?view=graph-rest-1.0 func (m *ItemListItemsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListItemsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ListItemCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemListItemsRequestBuilder) Get(ctx context.Context, requestConfigurat } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ListItemCollectionResponseable), nil } -// Post create a new [listItem][] in a [list][]. +// Post create new navigation property to items for shares // returns a ListItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/listitem-create?view=graph-rest-1.0 func (m *ItemListItemsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ListItemable, requestConfiguration *ItemListItemsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ListItemable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemListItemsRequestBuilder) Post(ctx context.Context, body ie233ee762e } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ListItemable), nil } -// ToGetRequestInformation get the collection of [items][item] in a [list][]. +// ToGetRequestInformation all items contained in the list. // returns a *RequestInformation when successful func (m *ItemListItemsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListItemsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemListItemsRequestBuilder) ToGetRequestInformation(ctx context.Contex requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new [listItem][] in a [list][]. +// ToPostRequestInformation create new navigation property to items for shares // returns a *RequestInformation when successful func (m *ItemListItemsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ListItemable, requestConfiguration *ItemListItemsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/shares/item_list_subscriptions_item_reauthorize_request_builder.go b/shares/item_list_subscriptions_item_reauthorize_request_builder.go index bdb2d817f1f..d5314b32d44 100644 --- a/shares/item_list_subscriptions_item_reauthorize_request_builder.go +++ b/shares/item_list_subscriptions_item_reauthorize_request_builder.go @@ -34,7 +34,7 @@ func NewItemListSubscriptionsItemReauthorizeRequestBuilder(rawUrl string, reques // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/subscription-reauthorize?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/subscription-reauthorize?view=graph-rest-beta func (m *ItemListSubscriptionsItemReauthorizeRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemListSubscriptionsItemReauthorizeRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/shares/item_permission_grant_request_builder.go b/shares/item_permission_grant_request_builder.go index 247730a9eca..4ea0e898fb2 100644 --- a/shares/item_permission_grant_request_builder.go +++ b/shares/item_permission_grant_request_builder.go @@ -30,13 +30,13 @@ func NewItemPermissionGrantRequestBuilder(rawUrl string, requestAdapter i2ae4187 urlParams["request-raw-url"] = rawUrl return NewItemPermissionGrantRequestBuilderInternal(urlParams, requestAdapter) } -// Post grant users access to a link represented by a [permission][]. +// Post grant users access to a link represented by a permission. // Deprecated: This method is obsolete. Use PostAsGrantPostResponse instead. // returns a ItemPermissionGrantResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-beta func (m *ItemPermissionGrantRequestBuilder) Post(ctx context.Context, body ItemPermissionGrantPostRequestBodyable, requestConfiguration *ItemPermissionGrantRequestBuilderPostRequestConfiguration)(ItemPermissionGrantResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -54,12 +54,12 @@ func (m *ItemPermissionGrantRequestBuilder) Post(ctx context.Context, body ItemP } return res.(ItemPermissionGrantResponseable), nil } -// PostAsGrantPostResponse grant users access to a link represented by a [permission][]. +// PostAsGrantPostResponse grant users access to a link represented by a permission. // returns a ItemPermissionGrantPostResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-beta func (m *ItemPermissionGrantRequestBuilder) PostAsGrantPostResponse(ctx context.Context, body ItemPermissionGrantPostRequestBodyable, requestConfiguration *ItemPermissionGrantRequestBuilderPostRequestConfiguration)(ItemPermissionGrantPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -77,7 +77,7 @@ func (m *ItemPermissionGrantRequestBuilder) PostAsGrantPostResponse(ctx context. } return res.(ItemPermissionGrantPostResponseable), nil } -// ToPostRequestInformation grant users access to a link represented by a [permission][]. +// ToPostRequestInformation grant users access to a link represented by a permission. // returns a *RequestInformation when successful func (m *ItemPermissionGrantRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemPermissionGrantPostRequestBodyable, requestConfiguration *ItemPermissionGrantRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/shares/item_permission_revoke_grants_request_builder.go b/shares/item_permission_revoke_grants_request_builder.go index ea735e68710..2ed17f524e4 100644 --- a/shares/item_permission_revoke_grants_request_builder.go +++ b/shares/item_permission_revoke_grants_request_builder.go @@ -31,12 +31,12 @@ func NewItemPermissionRevokeGrantsRequestBuilder(rawUrl string, requestAdapter i urlParams["request-raw-url"] = rawUrl return NewItemPermissionRevokeGrantsRequestBuilderInternal(urlParams, requestAdapter) } -// Post revoke access to a [listItem][] or [driveItem][] granted via a sharing link by removing the specified [recipient][] from the link. +// Post revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. // returns a Permissionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-beta func (m *ItemPermissionRevokeGrantsRequestBuilder) Post(ctx context.Context, body ItemPermissionRevokeGrantsPostRequestBodyable, requestConfiguration *ItemPermissionRevokeGrantsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -54,7 +54,7 @@ func (m *ItemPermissionRevokeGrantsRequestBuilder) Post(ctx context.Context, bod } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable), nil } -// ToPostRequestInformation revoke access to a [listItem][] or [driveItem][] granted via a sharing link by removing the specified [recipient][] from the link. +// ToPostRequestInformation revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. // returns a *RequestInformation when successful func (m *ItemPermissionRevokeGrantsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemPermissionRevokeGrantsPostRequestBodyable, requestConfiguration *ItemPermissionRevokeGrantsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/shares/shared_drive_item_item_request_builder.go b/shares/shared_drive_item_item_request_builder.go index 4cc04a5a1f1..60158a23973 100644 --- a/shares/shared_drive_item_item_request_builder.go +++ b/shares/shared_drive_item_item_request_builder.go @@ -85,7 +85,7 @@ func (m *SharedDriveItemItemRequestBuilder) DriveItem()(*ItemDriveItemRequestBui // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/shares-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/shares-get?view=graph-rest-beta func (m *SharedDriveItemItemRequestBuilder) Get(ctx context.Context, requestConfiguration *SharedDriveItemItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharedDriveItemable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/sites/add_request_builder.go b/sites/add_request_builder.go index 2a4e371838b..0e22905537a 100644 --- a/sites/add_request_builder.go +++ b/sites/add_request_builder.go @@ -36,7 +36,7 @@ func NewAddRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/site-follow?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/site-follow?view=graph-rest-beta func (m *AddRequestBuilder) Post(ctx context.Context, body AddPostRequestBodyable, requestConfiguration *AddRequestBuilderPostRequestConfiguration)(AddResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *AddRequestBuilder) Post(ctx context.Context, body AddPostRequestBodyabl // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/site-follow?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/site-follow?view=graph-rest-beta func (m *AddRequestBuilder) PostAsAddPostResponse(ctx context.Context, body AddPostRequestBodyable, requestConfiguration *AddRequestBuilderPostRequestConfiguration)(AddPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/sites/delta_request_builder.go b/sites/delta_request_builder.go index 99cbef807fd..0b5540c447f 100644 --- a/sites/delta_request_builder.go +++ b/sites/delta_request_builder.go @@ -10,7 +10,7 @@ import ( type DeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeltaRequestBuilderGetQueryParameters invoke function delta +// DeltaRequestBuilderGetQueryParameters get a set of newly created, updated, or deleted sites without having to perform a full read of the entire sites collection. A delta function call for sites is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the sites. It allows you to maintain and synchronize a local store of a user's sites without having to fetch all the sites from the server every time.The application calls the API without specifying any parameters.The service begins enumerating sites and returns pages of changes to these sites, accompanied by either an @odata.nextLink or an @odata.deltaLink.Your application should continue making calls using the @odata.nextLink until there's an @odata.deltaLink in the response. After you receive all the changes, you can apply them to your local state.To monitor future changes, call the delta API by using the @odata.deltaLink in the previous response. Any resources marked as deleted should be removed from your local state. type DeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb urlParams["request-raw-url"] = rawUrl return NewDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get get a set of newly created, updated, or deleted sites without having to perform a full read of the entire sites collection. A delta function call for sites is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the sites. It allows you to maintain and synchronize a local store of a user's sites without having to fetch all the sites from the server every time.The application calls the API without specifying any parameters.The service begins enumerating sites and returns pages of changes to these sites, accompanied by either an @odata.nextLink or an @odata.deltaLink.Your application should continue making calls using the @odata.nextLink until there's an @odata.deltaLink in the response. After you receive all the changes, you can apply them to your local state.To monitor future changes, call the delta API by using the @odata.deltaLink in the previous response. Any resources marked as deleted should be removed from your local state. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a DeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/site-delta?view=graph-rest-beta func (m *DeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(DeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *DeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *Del } return res.(DeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse get a set of newly created, updated, or deleted sites without having to perform a full read of the entire sites collection. A delta function call for sites is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the sites. It allows you to maintain and synchronize a local store of a user's sites without having to fetch all the sites from the server every time.The application calls the API without specifying any parameters.The service begins enumerating sites and returns pages of changes to these sites, accompanied by either an @odata.nextLink or an @odata.deltaLink.Your application should continue making calls using the @odata.nextLink until there's an @odata.deltaLink in the response. After you receive all the changes, you can apply them to your local state.To monitor future changes, call the delta API by using the @odata.deltaLink in the previous response. Any resources marked as deleted should be removed from your local state. // returns a DeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/site-delta?view=graph-rest-beta func (m *DeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(DeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *DeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, request } return res.(DeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation get a set of newly created, updated, or deleted sites without having to perform a full read of the entire sites collection. A delta function call for sites is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the sites. It allows you to maintain and synchronize a local store of a user's sites without having to fetch all the sites from the server every time.The application calls the API without specifying any parameters.The service begins enumerating sites and returns pages of changes to these sites, accompanied by either an @odata.nextLink or an @odata.deltaLink.Your application should continue making calls using the @odata.nextLink until there's an @odata.deltaLink in the response. After you receive all the changes, you can apply them to your local state.To monitor future changes, call the delta API by using the @odata.deltaLink in the previous response. Any resources marked as deleted should be removed from your local state. // returns a *RequestInformation when successful func (m *DeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/get_all_sites_request_builder.go b/sites/get_all_sites_request_builder.go index a8bb8cf5049..48140e264d8 100644 --- a/sites/get_all_sites_request_builder.go +++ b/sites/get_all_sites_request_builder.go @@ -10,7 +10,7 @@ import ( type GetAllSitesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// GetAllSitesRequestBuilderGetQueryParameters invoke function getAllSites +// GetAllSitesRequestBuilderGetQueryParameters list sites across geographies in an organization. For more details, see Best practices for discovering files and detecting changes at scale. type GetAllSitesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewGetAllSitesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 urlParams["request-raw-url"] = rawUrl return NewGetAllSitesRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getAllSites +// Get list sites across geographies in an organization. For more details, see Best practices for discovering files and detecting changes at scale. // Deprecated: This method is obsolete. Use GetAsGetAllSitesGetResponse instead. // returns a GetAllSitesResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/site-getallsites?view=graph-rest-beta func (m *GetAllSitesRequestBuilder) Get(ctx context.Context, requestConfiguration *GetAllSitesRequestBuilderGetRequestConfiguration)(GetAllSitesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *GetAllSitesRequestBuilder) Get(ctx context.Context, requestConfiguratio } return res.(GetAllSitesResponseable), nil } -// GetAsGetAllSitesGetResponse invoke function getAllSites +// GetAsGetAllSitesGetResponse list sites across geographies in an organization. For more details, see Best practices for discovering files and detecting changes at scale. // returns a GetAllSitesGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/site-getallsites?view=graph-rest-beta func (m *GetAllSitesRequestBuilder) GetAsGetAllSitesGetResponse(ctx context.Context, requestConfiguration *GetAllSitesRequestBuilderGetRequestConfiguration)(GetAllSitesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *GetAllSitesRequestBuilder) GetAsGetAllSitesGetResponse(ctx context.Cont } return res.(GetAllSitesGetResponseable), nil } -// ToGetRequestInformation invoke function getAllSites +// ToGetRequestInformation list sites across geographies in an organization. For more details, see Best practices for discovering files and detecting changes at scale. // returns a *RequestInformation when successful func (m *GetAllSitesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *GetAllSitesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_columns_request_builder.go b/sites/item_columns_request_builder.go index 03287150b67..47cd4878587 100644 --- a/sites/item_columns_request_builder.go +++ b/sites/item_columns_request_builder.go @@ -79,9 +79,6 @@ func (m *ItemColumnsRequestBuilder) Count()(*ItemColumnsCountRequestBuilder) { // Get the collection of column definitions reusable across lists under this site. // returns a ColumnDefinitionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/site-list-columns?view=graph-rest-1.0 func (m *ItemColumnsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemColumnsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemColumnsRequestBuilder) Get(ctx context.Context, requestConfiguratio } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionCollectionResponseable), nil } -// Post create columnDefinition for a site +// Post create new navigation property to columns for sites // returns a ColumnDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/site-post-columns?view=graph-rest-1.0 func (m *ItemColumnsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, requestConfiguration *ItemColumnsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -136,7 +130,7 @@ func (m *ItemColumnsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create columnDefinition for a site +// ToPostRequestInformation create new navigation property to columns for sites // returns a *RequestInformation when successful func (m *ItemColumnsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, requestConfiguration *ItemColumnsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_content_types_add_copy_from_content_type_hub_request_builder.go b/sites/item_content_types_add_copy_from_content_type_hub_request_builder.go index 70ef8b4b8c5..2d2f9112dbf 100644 --- a/sites/item_content_types_add_copy_from_content_type_hub_request_builder.go +++ b/sites/item_content_types_add_copy_from_content_type_hub_request_builder.go @@ -36,7 +36,7 @@ func NewItemContentTypesAddCopyFromContentTypeHubRequestBuilder(rawUrl string, r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-addcopyfromcontenttypehub?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-addcopyfromcontenttypehub?view=graph-rest-beta func (m *ItemContentTypesAddCopyFromContentTypeHubRequestBuilder) Post(ctx context.Context, body ItemContentTypesAddCopyFromContentTypeHubPostRequestBodyable, requestConfiguration *ItemContentTypesAddCopyFromContentTypeHubRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContentTypeable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/sites/item_content_types_add_copy_request_builder.go b/sites/item_content_types_add_copy_request_builder.go index 75f684f2712..9df5f714c0b 100644 --- a/sites/item_content_types_add_copy_request_builder.go +++ b/sites/item_content_types_add_copy_request_builder.go @@ -36,7 +36,7 @@ func NewItemContentTypesAddCopyRequestBuilder(rawUrl string, requestAdapter i2ae // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-addcopy?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-addcopy?view=graph-rest-beta func (m *ItemContentTypesAddCopyRequestBuilder) Post(ctx context.Context, body ItemContentTypesAddCopyPostRequestBodyable, requestConfiguration *ItemContentTypesAddCopyRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContentTypeable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/sites/item_content_types_content_type_item_request_builder.go b/sites/item_content_types_content_type_item_request_builder.go index 64ebfa30762..841493ef8d5 100644 --- a/sites/item_content_types_content_type_item_request_builder.go +++ b/sites/item_content_types_content_type_item_request_builder.go @@ -18,7 +18,7 @@ type ItemContentTypesContentTypeItemRequestBuilderDeleteRequestConfiguration str // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemContentTypesContentTypeItemRequestBuilderGetQueryParameters retrieve the metadata for a [content type][contentType] in a [site][] or a [list][]. +// ItemContentTypesContentTypeItemRequestBuilderGetQueryParameters the collection of content types defined for this site. type ItemContentTypesContentTypeItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -89,11 +89,8 @@ func NewItemContentTypesContentTypeItemRequestBuilder(rawUrl string, requestAdap func (m *ItemContentTypesContentTypeItemRequestBuilder) CopyToDefaultContentLocation()(*ItemContentTypesItemCopyToDefaultContentLocationRequestBuilder) { return NewItemContentTypesItemCopyToDefaultContentLocationRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Delete remove a [content type][contentType] from a [list][] or a [site][]. +// Delete delete navigation property contentTypes for sites // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-delete?view=graph-rest-1.0 func (m *ItemContentTypesContentTypeItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemContentTypesContentTypeItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -108,12 +105,9 @@ func (m *ItemContentTypesContentTypeItemRequestBuilder) Delete(ctx context.Conte } return nil } -// Get retrieve the metadata for a [content type][contentType] in a [site][] or a [list][]. +// Get the collection of content types defined for this site. // returns a ContentTypeable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-get?view=graph-rest-1.0 func (m *ItemContentTypesContentTypeItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemContentTypesContentTypeItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContentTypeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -136,12 +130,9 @@ func (m *ItemContentTypesContentTypeItemRequestBuilder) Get(ctx context.Context, func (m *ItemContentTypesContentTypeItemRequestBuilder) IsPublished()(*ItemContentTypesItemIsPublishedRequestBuilder) { return NewItemContentTypesItemIsPublishedRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update contentType +// Patch update the navigation property contentTypes in sites // returns a ContentTypeable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-update?view=graph-rest-1.0 func (m *ItemContentTypesContentTypeItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContentTypeable, requestConfiguration *ItemContentTypesContentTypeItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContentTypeable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -164,7 +155,7 @@ func (m *ItemContentTypesContentTypeItemRequestBuilder) Patch(ctx context.Contex func (m *ItemContentTypesContentTypeItemRequestBuilder) Publish()(*ItemContentTypesItemPublishRequestBuilder) { return NewItemContentTypesItemPublishRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation remove a [content type][contentType] from a [list][] or a [site][]. +// ToDeleteRequestInformation delete navigation property contentTypes for sites // returns a *RequestInformation when successful func (m *ItemContentTypesContentTypeItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemContentTypesContentTypeItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -175,7 +166,7 @@ func (m *ItemContentTypesContentTypeItemRequestBuilder) ToDeleteRequestInformati requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the metadata for a [content type][contentType] in a [site][] or a [list][]. +// ToGetRequestInformation the collection of content types defined for this site. // returns a *RequestInformation when successful func (m *ItemContentTypesContentTypeItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemContentTypesContentTypeItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -189,7 +180,7 @@ func (m *ItemContentTypesContentTypeItemRequestBuilder) ToGetRequestInformation( requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update contentType +// ToPatchRequestInformation update the navigation property contentTypes in sites // returns a *RequestInformation when successful func (m *ItemContentTypesContentTypeItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContentTypeable, requestConfiguration *ItemContentTypesContentTypeItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_content_types_get_compatible_hub_content_types_request_builder.go b/sites/item_content_types_get_compatible_hub_content_types_request_builder.go index 21f58009628..285a691dd68 100644 --- a/sites/item_content_types_get_compatible_hub_content_types_request_builder.go +++ b/sites/item_content_types_get_compatible_hub_content_types_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemContentTypesGetCompatibleHubContentTypesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemContentTypesGetCompatibleHubContentTypesRequestBuilderGetQueryParameters invoke function getCompatibleHubContentTypes +// ItemContentTypesGetCompatibleHubContentTypesRequestBuilderGetQueryParameters get compatible content types in the content type hub that can be added to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see addCopyFromContentTypeHub and the blog post Syntex Product Updates – August 2021. type ItemContentTypesGetCompatibleHubContentTypesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewItemContentTypesGetCompatibleHubContentTypesRequestBuilder(rawUrl string urlParams["request-raw-url"] = rawUrl return NewItemContentTypesGetCompatibleHubContentTypesRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getCompatibleHubContentTypes +// Get get compatible content types in the content type hub that can be added to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see addCopyFromContentTypeHub and the blog post Syntex Product Updates – August 2021. // Deprecated: This method is obsolete. Use GetAsGetCompatibleHubContentTypesGetResponse instead. // returns a ItemContentTypesGetCompatibleHubContentTypesResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-getcompatiblehubcontenttypes?view=graph-rest-beta func (m *ItemContentTypesGetCompatibleHubContentTypesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemContentTypesGetCompatibleHubContentTypesRequestBuilderGetRequestConfiguration)(ItemContentTypesGetCompatibleHubContentTypesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ItemContentTypesGetCompatibleHubContentTypesRequestBuilder) Get(ctx con } return res.(ItemContentTypesGetCompatibleHubContentTypesResponseable), nil } -// GetAsGetCompatibleHubContentTypesGetResponse invoke function getCompatibleHubContentTypes +// GetAsGetCompatibleHubContentTypesGetResponse get compatible content types in the content type hub that can be added to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see addCopyFromContentTypeHub and the blog post Syntex Product Updates – August 2021. // returns a ItemContentTypesGetCompatibleHubContentTypesGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-getcompatiblehubcontenttypes?view=graph-rest-beta func (m *ItemContentTypesGetCompatibleHubContentTypesRequestBuilder) GetAsGetCompatibleHubContentTypesGetResponse(ctx context.Context, requestConfiguration *ItemContentTypesGetCompatibleHubContentTypesRequestBuilderGetRequestConfiguration)(ItemContentTypesGetCompatibleHubContentTypesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ItemContentTypesGetCompatibleHubContentTypesRequestBuilder) GetAsGetCom } return res.(ItemContentTypesGetCompatibleHubContentTypesGetResponseable), nil } -// ToGetRequestInformation invoke function getCompatibleHubContentTypes +// ToGetRequestInformation get compatible content types in the content type hub that can be added to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see addCopyFromContentTypeHub and the blog post Syntex Product Updates – August 2021. // returns a *RequestInformation when successful func (m *ItemContentTypesGetCompatibleHubContentTypesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemContentTypesGetCompatibleHubContentTypesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_content_types_item_associate_with_hub_sites_request_builder.go b/sites/item_content_types_item_associate_with_hub_sites_request_builder.go index 78077c14d98..9365e7b8b89 100644 --- a/sites/item_content_types_item_associate_with_hub_sites_request_builder.go +++ b/sites/item_content_types_item_associate_with_hub_sites_request_builder.go @@ -34,7 +34,7 @@ func NewItemContentTypesItemAssociateWithHubSitesRequestBuilder(rawUrl string, r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-associatewithhubsites?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-associatewithhubsites?view=graph-rest-beta func (m *ItemContentTypesItemAssociateWithHubSitesRequestBuilder) Post(ctx context.Context, body ItemContentTypesItemAssociateWithHubSitesPostRequestBodyable, requestConfiguration *ItemContentTypesItemAssociateWithHubSitesRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/sites/item_content_types_item_columns_column_definition_item_request_builder.go b/sites/item_content_types_item_columns_column_definition_item_request_builder.go index bfbdfdfc2e7..9687aa24b40 100644 --- a/sites/item_content_types_item_columns_column_definition_item_request_builder.go +++ b/sites/item_content_types_item_columns_column_definition_item_request_builder.go @@ -18,7 +18,7 @@ type ItemContentTypesItemColumnsColumnDefinitionItemRequestBuilderDeleteRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemContentTypesItemColumnsColumnDefinitionItemRequestBuilderGetQueryParameters retrieve the metadata for a [site][], [list][], or [contentType][] [column][columnDefinition]. +// ItemContentTypesItemColumnsColumnDefinitionItemRequestBuilderGetQueryParameters the collection of column definitions for this content type. type ItemContentTypesItemColumnsColumnDefinitionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder(rawUrl str urlParams["request-raw-url"] = rawUrl return NewItemContentTypesItemColumnsColumnDefinitionItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete columnDefinition +// Delete delete navigation property columns for sites // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/columndefinition-delete?view=graph-rest-1.0 func (m *ItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemContentTypesItemColumnsColumnDefinitionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) Delete(c } return nil } -// Get retrieve the metadata for a [site][], [list][], or [contentType][] [column][columnDefinition]. +// Get the collection of column definitions for this content type. // returns a ColumnDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/columndefinition-get?view=graph-rest-1.0 func (m *ItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemContentTypesItemColumnsColumnDefinitionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) Get(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable), nil } -// Patch update columnDefinition +// Patch update the navigation property columns in sites // returns a ColumnDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/columndefinition-update?view=graph-rest-1.0 func (m *ItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, requestConfiguration *ItemContentTypesItemColumnsColumnDefinitionItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -124,7 +115,7 @@ func (m *ItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) Patch(ct func (m *ItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) SourceColumn()(*ItemContentTypesItemColumnsItemSourceColumnRequestBuilder) { return NewItemContentTypesItemColumnsItemSourceColumnRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete columnDefinition +// ToDeleteRequestInformation delete navigation property columns for sites // returns a *RequestInformation when successful func (m *ItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemContentTypesItemColumnsColumnDefinitionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -135,7 +126,7 @@ func (m *ItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) ToDelete requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the metadata for a [site][], [list][], or [contentType][] [column][columnDefinition]. +// ToGetRequestInformation the collection of column definitions for this content type. // returns a *RequestInformation when successful func (m *ItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemContentTypesItemColumnsColumnDefinitionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -149,7 +140,7 @@ func (m *ItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) ToGetReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update columnDefinition +// ToPatchRequestInformation update the navigation property columns in sites // returns a *RequestInformation when successful func (m *ItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, requestConfiguration *ItemContentTypesItemColumnsColumnDefinitionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_content_types_item_columns_request_builder.go b/sites/item_content_types_item_columns_request_builder.go index 19e68b49c62..313e8cb8a9a 100644 --- a/sites/item_content_types_item_columns_request_builder.go +++ b/sites/item_content_types_item_columns_request_builder.go @@ -79,9 +79,6 @@ func (m *ItemContentTypesItemColumnsRequestBuilder) Count()(*ItemContentTypesIte // Get the collection of column definitions for this content type. // returns a ColumnDefinitionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-list-columns?view=graph-rest-1.0 func (m *ItemContentTypesItemColumnsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemContentTypesItemColumnsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemContentTypesItemColumnsRequestBuilder) Get(ctx context.Context, req } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionCollectionResponseable), nil } -// Post create columnDefinition for a content type +// Post create new navigation property to columns for sites // returns a ColumnDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-post-columns?view=graph-rest-1.0 func (m *ItemContentTypesItemColumnsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, requestConfiguration *ItemContentTypesItemColumnsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -136,7 +130,7 @@ func (m *ItemContentTypesItemColumnsRequestBuilder) ToGetRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create columnDefinition for a content type +// ToPostRequestInformation create new navigation property to columns for sites // returns a *RequestInformation when successful func (m *ItemContentTypesItemColumnsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, requestConfiguration *ItemContentTypesItemColumnsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_content_types_item_copy_to_default_content_location_request_builder.go b/sites/item_content_types_item_copy_to_default_content_location_request_builder.go index dafac439a3a..7f23e90f730 100644 --- a/sites/item_content_types_item_copy_to_default_content_location_request_builder.go +++ b/sites/item_content_types_item_copy_to_default_content_location_request_builder.go @@ -34,7 +34,7 @@ func NewItemContentTypesItemCopyToDefaultContentLocationRequestBuilder(rawUrl st // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-copytodefaultcontentlocation?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-copytodefaultcontentlocation?view=graph-rest-beta func (m *ItemContentTypesItemCopyToDefaultContentLocationRequestBuilder) Post(ctx context.Context, body ItemContentTypesItemCopyToDefaultContentLocationPostRequestBodyable, requestConfiguration *ItemContentTypesItemCopyToDefaultContentLocationRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/sites/item_content_types_item_is_published_request_builder.go b/sites/item_content_types_item_is_published_request_builder.go index 2633acdf696..2384f5dbea7 100644 --- a/sites/item_content_types_item_is_published_request_builder.go +++ b/sites/item_content_types_item_is_published_request_builder.go @@ -34,6 +34,9 @@ func NewItemContentTypesItemIsPublishedRequestBuilder(rawUrl string, requestAdap // Deprecated: This method is obsolete. Use GetAsIsPublishedGetResponse instead. // returns a ItemContentTypesItemIsPublishedResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-ispublished?view=graph-rest-beta func (m *ItemContentTypesItemIsPublishedRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemContentTypesItemIsPublishedRequestBuilderGetRequestConfiguration)(ItemContentTypesItemIsPublishedResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -54,6 +57,9 @@ func (m *ItemContentTypesItemIsPublishedRequestBuilder) Get(ctx context.Context, // GetAsIsPublishedGetResponse invoke function isPublished // returns a ItemContentTypesItemIsPublishedGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-ispublished?view=graph-rest-beta func (m *ItemContentTypesItemIsPublishedRequestBuilder) GetAsIsPublishedGetResponse(ctx context.Context, requestConfiguration *ItemContentTypesItemIsPublishedRequestBuilderGetRequestConfiguration)(ItemContentTypesItemIsPublishedGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/sites/item_content_types_item_publish_request_builder.go b/sites/item_content_types_item_publish_request_builder.go index 10bdf1aafa1..67197b0c1a4 100644 --- a/sites/item_content_types_item_publish_request_builder.go +++ b/sites/item_content_types_item_publish_request_builder.go @@ -34,7 +34,7 @@ func NewItemContentTypesItemPublishRequestBuilder(rawUrl string, requestAdapter // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-publish?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-publish?view=graph-rest-beta func (m *ItemContentTypesItemPublishRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemContentTypesItemPublishRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/sites/item_content_types_item_unpublish_request_builder.go b/sites/item_content_types_item_unpublish_request_builder.go index 40ddefc3ea5..aefb3ffc7df 100644 --- a/sites/item_content_types_item_unpublish_request_builder.go +++ b/sites/item_content_types_item_unpublish_request_builder.go @@ -34,7 +34,7 @@ func NewItemContentTypesItemUnpublishRequestBuilder(rawUrl string, requestAdapte // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-unpublish?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-unpublish?view=graph-rest-beta func (m *ItemContentTypesItemUnpublishRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemContentTypesItemUnpublishRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/sites/item_content_types_request_builder.go b/sites/item_content_types_request_builder.go index 8b1ac234d01..c8d09581141 100644 --- a/sites/item_content_types_request_builder.go +++ b/sites/item_content_types_request_builder.go @@ -89,9 +89,6 @@ func (m *ItemContentTypesRequestBuilder) Count()(*ItemContentTypesCountRequestBu // Get the collection of content types defined for this site. // returns a ContentTypeCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/site-list-contenttypes?view=graph-rest-1.0 func (m *ItemContentTypesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemContentTypesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContentTypeCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -114,12 +111,9 @@ func (m *ItemContentTypesRequestBuilder) Get(ctx context.Context, requestConfigu func (m *ItemContentTypesRequestBuilder) GetCompatibleHubContentTypes()(*ItemContentTypesGetCompatibleHubContentTypesRequestBuilder) { return NewItemContentTypesGetCompatibleHubContentTypesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Post create a new [contentType][] for a [site][]. +// Post create new navigation property to contentTypes for sites // returns a ContentTypeable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/site-post-contenttypes?view=graph-rest-1.0 func (m *ItemContentTypesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContentTypeable, requestConfiguration *ItemContentTypesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContentTypeable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -151,7 +145,7 @@ func (m *ItemContentTypesRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new [contentType][] for a [site][]. +// ToPostRequestInformation create new navigation property to contentTypes for sites // returns a *RequestInformation when successful func (m *ItemContentTypesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContentTypeable, requestConfiguration *ItemContentTypesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_get_applicable_content_types_for_list_with_list_id_request_builder.go b/sites/item_get_applicable_content_types_for_list_with_list_id_request_builder.go index c901d6d1ed9..eac250216b5 100644 --- a/sites/item_get_applicable_content_types_for_list_with_list_id_request_builder.go +++ b/sites/item_get_applicable_content_types_for_list_with_list_id_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemGetApplicableContentTypesForListWithListIdRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemGetApplicableContentTypesForListWithListIdRequestBuilderGetQueryParameters invoke function getApplicableContentTypesForList +// ItemGetApplicableContentTypesForListWithListIdRequestBuilderGetQueryParameters get site contentTypes that can be added to a list. type ItemGetApplicableContentTypesForListWithListIdRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewItemGetApplicableContentTypesForListWithListIdRequestBuilder(rawUrl stri urlParams["request-raw-url"] = rawUrl return NewItemGetApplicableContentTypesForListWithListIdRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function getApplicableContentTypesForList +// Get get site contentTypes that can be added to a list. // Deprecated: This method is obsolete. Use GetAsGetApplicableContentTypesForListWithListIdGetResponse instead. // returns a ItemGetApplicableContentTypesForListWithListIdResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/site-getapplicablecontenttypesforlist?view=graph-rest-beta func (m *ItemGetApplicableContentTypesForListWithListIdRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGetApplicableContentTypesForListWithListIdRequestBuilderGetRequestConfiguration)(ItemGetApplicableContentTypesForListWithListIdResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *ItemGetApplicableContentTypesForListWithListIdRequestBuilder) Get(ctx c } return res.(ItemGetApplicableContentTypesForListWithListIdResponseable), nil } -// GetAsGetApplicableContentTypesForListWithListIdGetResponse invoke function getApplicableContentTypesForList +// GetAsGetApplicableContentTypesForListWithListIdGetResponse get site contentTypes that can be added to a list. // returns a ItemGetApplicableContentTypesForListWithListIdGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/site-getapplicablecontenttypesforlist?view=graph-rest-beta func (m *ItemGetApplicableContentTypesForListWithListIdRequestBuilder) GetAsGetApplicableContentTypesForListWithListIdGetResponse(ctx context.Context, requestConfiguration *ItemGetApplicableContentTypesForListWithListIdRequestBuilderGetRequestConfiguration)(ItemGetApplicableContentTypesForListWithListIdGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *ItemGetApplicableContentTypesForListWithListIdRequestBuilder) GetAsGetA } return res.(ItemGetApplicableContentTypesForListWithListIdGetResponseable), nil } -// ToGetRequestInformation invoke function getApplicableContentTypesForList +// ToGetRequestInformation get site contentTypes that can be added to a list. // returns a *RequestInformation when successful func (m *ItemGetApplicableContentTypesForListWithListIdRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGetApplicableContentTypesForListWithListIdRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_get_by_path_with_path_columns_request_builder.go b/sites/item_get_by_path_with_path_columns_request_builder.go index faf2840fbe9..f24a58f5e10 100644 --- a/sites/item_get_by_path_with_path_columns_request_builder.go +++ b/sites/item_get_by_path_with_path_columns_request_builder.go @@ -62,9 +62,6 @@ func NewItemGetByPathWithPathColumnsRequestBuilder(rawUrl string, requestAdapter // Get the collection of column definitions reusable across lists under this site. // returns a ColumnDefinitionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/site-list-columns?view=graph-rest-1.0 func (m *ItemGetByPathWithPathColumnsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGetByPathWithPathColumnsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -82,12 +79,9 @@ func (m *ItemGetByPathWithPathColumnsRequestBuilder) Get(ctx context.Context, re } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionCollectionResponseable), nil } -// Post create columnDefinition for a site +// Post create new navigation property to columns for sites // returns a ColumnDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/site-post-columns?view=graph-rest-1.0 func (m *ItemGetByPathWithPathColumnsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, requestConfiguration *ItemGetByPathWithPathColumnsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +113,7 @@ func (m *ItemGetByPathWithPathColumnsRequestBuilder) ToGetRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create columnDefinition for a site +// ToPostRequestInformation create new navigation property to columns for sites // returns a *RequestInformation when successful func (m *ItemGetByPathWithPathColumnsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, requestConfiguration *ItemGetByPathWithPathColumnsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_get_by_path_with_path_content_types_request_builder.go b/sites/item_get_by_path_with_path_content_types_request_builder.go index 1d5f20e99d4..7c1418ee4b7 100644 --- a/sites/item_get_by_path_with_path_content_types_request_builder.go +++ b/sites/item_get_by_path_with_path_content_types_request_builder.go @@ -62,9 +62,6 @@ func NewItemGetByPathWithPathContentTypesRequestBuilder(rawUrl string, requestAd // Get the collection of content types defined for this site. // returns a ContentTypeCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/site-list-contenttypes?view=graph-rest-1.0 func (m *ItemGetByPathWithPathContentTypesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGetByPathWithPathContentTypesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContentTypeCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -82,12 +79,9 @@ func (m *ItemGetByPathWithPathContentTypesRequestBuilder) Get(ctx context.Contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContentTypeCollectionResponseable), nil } -// Post create a new [contentType][] for a [site][]. +// Post create new navigation property to contentTypes for sites // returns a ContentTypeable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/site-post-contenttypes?view=graph-rest-1.0 func (m *ItemGetByPathWithPathContentTypesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContentTypeable, requestConfiguration *ItemGetByPathWithPathContentTypesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContentTypeable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +113,7 @@ func (m *ItemGetByPathWithPathContentTypesRequestBuilder) ToGetRequestInformatio requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new [contentType][] for a [site][]. +// ToPostRequestInformation create new navigation property to contentTypes for sites // returns a *RequestInformation when successful func (m *ItemGetByPathWithPathContentTypesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContentTypeable, requestConfiguration *ItemGetByPathWithPathContentTypesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_get_by_path_with_path_get_applicable_content_types_for_list_with_list_id_request_builder.go b/sites/item_get_by_path_with_path_get_applicable_content_types_for_list_with_list_id_request_builder.go index bc4eca41fb0..bee80240b4d 100644 --- a/sites/item_get_by_path_with_path_get_applicable_content_types_for_list_with_list_id_request_builder.go +++ b/sites/item_get_by_path_with_path_get_applicable_content_types_for_list_with_list_id_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemGetByPathWithPathGetApplicableContentTypesForListWithListIdRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemGetByPathWithPathGetApplicableContentTypesForListWithListIdRequestBuilderGetQueryParameters invoke function getApplicableContentTypesForList +// ItemGetByPathWithPathGetApplicableContentTypesForListWithListIdRequestBuilderGetQueryParameters get site contentTypes that can be added to a list. type ItemGetByPathWithPathGetApplicableContentTypesForListWithListIdRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewItemGetByPathWithPathGetApplicableContentTypesForListWithListIdRequestBu urlParams["request-raw-url"] = rawUrl return NewItemGetByPathWithPathGetApplicableContentTypesForListWithListIdRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function getApplicableContentTypesForList +// Get get site contentTypes that can be added to a list. // Deprecated: This method is obsolete. Use GetAsGetApplicableContentTypesForListWithListIdGetResponse instead. // returns a ItemGetByPathWithPathGetApplicableContentTypesForListWithListIdResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/site-getapplicablecontenttypesforlist?view=graph-rest-beta func (m *ItemGetByPathWithPathGetApplicableContentTypesForListWithListIdRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGetByPathWithPathGetApplicableContentTypesForListWithListIdRequestBuilderGetRequestConfiguration)(ItemGetByPathWithPathGetApplicableContentTypesForListWithListIdResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *ItemGetByPathWithPathGetApplicableContentTypesForListWithListIdRequestB } return res.(ItemGetByPathWithPathGetApplicableContentTypesForListWithListIdResponseable), nil } -// GetAsGetApplicableContentTypesForListWithListIdGetResponse invoke function getApplicableContentTypesForList +// GetAsGetApplicableContentTypesForListWithListIdGetResponse get site contentTypes that can be added to a list. // returns a ItemGetByPathWithPathGetApplicableContentTypesForListWithListIdGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/site-getapplicablecontenttypesforlist?view=graph-rest-beta func (m *ItemGetByPathWithPathGetApplicableContentTypesForListWithListIdRequestBuilder) GetAsGetApplicableContentTypesForListWithListIdGetResponse(ctx context.Context, requestConfiguration *ItemGetByPathWithPathGetApplicableContentTypesForListWithListIdRequestBuilderGetRequestConfiguration)(ItemGetByPathWithPathGetApplicableContentTypesForListWithListIdGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *ItemGetByPathWithPathGetApplicableContentTypesForListWithListIdRequestB } return res.(ItemGetByPathWithPathGetApplicableContentTypesForListWithListIdGetResponseable), nil } -// ToGetRequestInformation invoke function getApplicableContentTypesForList +// ToGetRequestInformation get site contentTypes that can be added to a list. // returns a *RequestInformation when successful func (m *ItemGetByPathWithPathGetApplicableContentTypesForListWithListIdRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGetByPathWithPathGetApplicableContentTypesForListWithListIdRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_get_by_path_with_path_get_by_path_with_path1_columns_request_builder.go b/sites/item_get_by_path_with_path_get_by_path_with_path1_columns_request_builder.go index 1b193d4f0e7..2590d919b34 100644 --- a/sites/item_get_by_path_with_path_get_by_path_with_path1_columns_request_builder.go +++ b/sites/item_get_by_path_with_path_get_by_path_with_path1_columns_request_builder.go @@ -62,9 +62,6 @@ func NewItemGetByPathWithPathGetByPathWithPath1ColumnsRequestBuilder(rawUrl stri // Get the collection of column definitions reusable across lists under this site. // returns a ColumnDefinitionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/site-list-columns?view=graph-rest-1.0 func (m *ItemGetByPathWithPathGetByPathWithPath1ColumnsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGetByPathWithPathGetByPathWithPath1ColumnsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -82,12 +79,9 @@ func (m *ItemGetByPathWithPathGetByPathWithPath1ColumnsRequestBuilder) Get(ctx c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionCollectionResponseable), nil } -// Post create columnDefinition for a site +// Post create new navigation property to columns for sites // returns a ColumnDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/site-post-columns?view=graph-rest-1.0 func (m *ItemGetByPathWithPathGetByPathWithPath1ColumnsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, requestConfiguration *ItemGetByPathWithPathGetByPathWithPath1ColumnsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +113,7 @@ func (m *ItemGetByPathWithPathGetByPathWithPath1ColumnsRequestBuilder) ToGetRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create columnDefinition for a site +// ToPostRequestInformation create new navigation property to columns for sites // returns a *RequestInformation when successful func (m *ItemGetByPathWithPathGetByPathWithPath1ColumnsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, requestConfiguration *ItemGetByPathWithPathGetByPathWithPath1ColumnsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_get_by_path_with_path_get_by_path_with_path1_content_types_request_builder.go b/sites/item_get_by_path_with_path_get_by_path_with_path1_content_types_request_builder.go index b7df08bd479..96547e5586c 100644 --- a/sites/item_get_by_path_with_path_get_by_path_with_path1_content_types_request_builder.go +++ b/sites/item_get_by_path_with_path_get_by_path_with_path1_content_types_request_builder.go @@ -62,9 +62,6 @@ func NewItemGetByPathWithPathGetByPathWithPath1ContentTypesRequestBuilder(rawUrl // Get the collection of content types defined for this site. // returns a ContentTypeCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/site-list-contenttypes?view=graph-rest-1.0 func (m *ItemGetByPathWithPathGetByPathWithPath1ContentTypesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGetByPathWithPathGetByPathWithPath1ContentTypesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContentTypeCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -82,12 +79,9 @@ func (m *ItemGetByPathWithPathGetByPathWithPath1ContentTypesRequestBuilder) Get( } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContentTypeCollectionResponseable), nil } -// Post create a new [contentType][] for a [site][]. +// Post create new navigation property to contentTypes for sites // returns a ContentTypeable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/site-post-contenttypes?view=graph-rest-1.0 func (m *ItemGetByPathWithPathGetByPathWithPath1ContentTypesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContentTypeable, requestConfiguration *ItemGetByPathWithPathGetByPathWithPath1ContentTypesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContentTypeable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +113,7 @@ func (m *ItemGetByPathWithPathGetByPathWithPath1ContentTypesRequestBuilder) ToGe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new [contentType][] for a [site][]. +// ToPostRequestInformation create new navigation property to contentTypes for sites // returns a *RequestInformation when successful func (m *ItemGetByPathWithPathGetByPathWithPath1ContentTypesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContentTypeable, requestConfiguration *ItemGetByPathWithPathGetByPathWithPath1ContentTypesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_get_by_path_with_path_get_by_path_with_path1_lists_request_builder.go b/sites/item_get_by_path_with_path_get_by_path_with_path1_lists_request_builder.go index 800aea1b872..00a490aa924 100644 --- a/sites/item_get_by_path_with_path_get_by_path_with_path1_lists_request_builder.go +++ b/sites/item_get_by_path_with_path_get_by_path_with_path1_lists_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemGetByPathWithPathGetByPathWithPath1ListsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemGetByPathWithPathGetByPathWithPath1ListsRequestBuilderGetQueryParameters get the collection of [lists][] for a [site][]. Lists with the [system][] facet are hidden by default.To list them, include system in your $select statement. +// ItemGetByPathWithPathGetByPathWithPath1ListsRequestBuilderGetQueryParameters the collection of lists under this site. type ItemGetByPathWithPathGetByPathWithPath1ListsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -59,12 +59,9 @@ func NewItemGetByPathWithPathGetByPathWithPath1ListsRequestBuilder(rawUrl string urlParams["request-raw-url"] = rawUrl return NewItemGetByPathWithPathGetByPathWithPath1ListsRequestBuilderInternal(urlParams, requestAdapter) } -// Get get the collection of [lists][] for a [site][]. Lists with the [system][] facet are hidden by default.To list them, include system in your $select statement. +// Get the collection of lists under this site. // returns a ListCollectionResponseable when successful // returns a ODataError error 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?view=graph-rest-1.0 func (m *ItemGetByPathWithPathGetByPathWithPath1ListsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGetByPathWithPathGetByPathWithPath1ListsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ListCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -82,12 +79,9 @@ func (m *ItemGetByPathWithPathGetByPathWithPath1ListsRequestBuilder) Get(ctx con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ListCollectionResponseable), nil } -// Post create a new [list][] in a [site][]. +// Post create new navigation property to lists for sites // 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-create?view=graph-rest-1.0 func (m *ItemGetByPathWithPathGetByPathWithPath1ListsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Listable, requestConfiguration *ItemGetByPathWithPathGetByPathWithPath1ListsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Listable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -105,7 +99,7 @@ func (m *ItemGetByPathWithPathGetByPathWithPath1ListsRequestBuilder) Post(ctx co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Listable), nil } -// ToGetRequestInformation get the collection of [lists][] for a [site][]. Lists with the [system][] facet are hidden by default.To list them, include system in your $select statement. +// ToGetRequestInformation the collection of lists under this site. // returns a *RequestInformation when successful func (m *ItemGetByPathWithPathGetByPathWithPath1ListsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGetByPathWithPathGetByPathWithPath1ListsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -119,7 +113,7 @@ func (m *ItemGetByPathWithPathGetByPathWithPath1ListsRequestBuilder) ToGetReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new [list][] in a [site][]. +// ToPostRequestInformation create new navigation property to lists for sites // returns a *RequestInformation when successful func (m *ItemGetByPathWithPathGetByPathWithPath1ListsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Listable, requestConfiguration *ItemGetByPathWithPathGetByPathWithPath1ListsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_get_by_path_with_path_get_by_path_with_path1_operations_request_builder.go b/sites/item_get_by_path_with_path_get_by_path_with_path1_operations_request_builder.go index ec6074665b9..cb97f656b2f 100644 --- a/sites/item_get_by_path_with_path_get_by_path_with_path1_operations_request_builder.go +++ b/sites/item_get_by_path_with_path_get_by_path_with_path1_operations_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemGetByPathWithPathGetByPathWithPath1OperationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemGetByPathWithPathGetByPathWithPath1OperationsRequestBuilderGetQueryParameters get the list of richLongRunningOperations associated with a site. +// ItemGetByPathWithPathGetByPathWithPath1OperationsRequestBuilderGetQueryParameters the collection of long running operations for the site. type ItemGetByPathWithPathGetByPathWithPath1OperationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -59,12 +59,9 @@ func NewItemGetByPathWithPathGetByPathWithPath1OperationsRequestBuilder(rawUrl s urlParams["request-raw-url"] = rawUrl return NewItemGetByPathWithPathGetByPathWithPath1OperationsRequestBuilderInternal(urlParams, requestAdapter) } -// Get get the list of richLongRunningOperations associated with a site. +// Get the collection of long running operations for the site. // returns a RichLongRunningOperationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/site-list-operations?view=graph-rest-1.0 func (m *ItemGetByPathWithPathGetByPathWithPath1OperationsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGetByPathWithPathGetByPathWithPath1OperationsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RichLongRunningOperationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,7 +99,7 @@ func (m *ItemGetByPathWithPathGetByPathWithPath1OperationsRequestBuilder) Post(c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RichLongRunningOperationable), nil } -// ToGetRequestInformation get the list of richLongRunningOperations associated with a site. +// ToGetRequestInformation the collection of long running operations for the site. // returns a *RequestInformation when successful func (m *ItemGetByPathWithPathGetByPathWithPath1OperationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGetByPathWithPathGetByPathWithPath1OperationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_get_by_path_with_path_get_by_path_with_path1_pages_request_builder.go b/sites/item_get_by_path_with_path_get_by_path_with_path1_pages_request_builder.go index b42b7adbedf..a4c0e57af4a 100644 --- a/sites/item_get_by_path_with_path_get_by_path_with_path1_pages_request_builder.go +++ b/sites/item_get_by_path_with_path_get_by_path_with_path1_pages_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemGetByPathWithPathGetByPathWithPath1PagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemGetByPathWithPathGetByPathWithPath1PagesRequestBuilderGetQueryParameters get the collection of [baseSitePage][] objects from the site pages [list][] in a [site][]. All pages in the site are returned (with pagination). Sort alphabetically by name in ascending order. The following table lists the available subtypes. +// ItemGetByPathWithPathGetByPathWithPath1PagesRequestBuilderGetQueryParameters the collection of pages in the baseSitePages list on this site. type ItemGetByPathWithPathGetByPathWithPath1PagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -59,12 +59,9 @@ func NewItemGetByPathWithPathGetByPathWithPath1PagesRequestBuilder(rawUrl string urlParams["request-raw-url"] = rawUrl return NewItemGetByPathWithPathGetByPathWithPath1PagesRequestBuilderInternal(urlParams, requestAdapter) } -// Get get the collection of [baseSitePage][] objects from the site pages [list][] in a [site][]. All pages in the site are returned (with pagination). Sort alphabetically by name in ascending order. The following table lists the available subtypes. +// Get the collection of pages in the baseSitePages list on this site. // returns a BaseSitePageCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/basesitepage-list?view=graph-rest-1.0 func (m *ItemGetByPathWithPathGetByPathWithPath1PagesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGetByPathWithPathGetByPathWithPath1PagesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseSitePageCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -82,12 +79,9 @@ func (m *ItemGetByPathWithPathGetByPathWithPath1PagesRequestBuilder) Get(ctx con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseSitePageCollectionResponseable), nil } -// Post create a new [sitePage][] in the site pages [list][] in a [site][]. +// Post create new navigation property to pages for sites // 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-1.0 func (m *ItemGetByPathWithPathGetByPathWithPath1PagesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseSitePageable, requestConfiguration *ItemGetByPathWithPathGetByPathWithPath1PagesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseSitePageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -105,7 +99,7 @@ func (m *ItemGetByPathWithPathGetByPathWithPath1PagesRequestBuilder) Post(ctx co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseSitePageable), nil } -// ToGetRequestInformation get the collection of [baseSitePage][] objects from the site pages [list][] in a [site][]. All pages in the site are returned (with pagination). Sort alphabetically by name in ascending order. The following table lists the available subtypes. +// ToGetRequestInformation the collection of pages in the baseSitePages list on this site. // returns a *RequestInformation when successful func (m *ItemGetByPathWithPathGetByPathWithPath1PagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGetByPathWithPathGetByPathWithPath1PagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -119,7 +113,7 @@ func (m *ItemGetByPathWithPathGetByPathWithPath1PagesRequestBuilder) ToGetReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new [sitePage][] in the site pages [list][] in a [site][]. +// ToPostRequestInformation create new navigation property to pages for sites // returns a *RequestInformation when successful func (m *ItemGetByPathWithPathGetByPathWithPath1PagesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseSitePageable, requestConfiguration *ItemGetByPathWithPathGetByPathWithPath1PagesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_get_by_path_with_path_get_by_path_with_path1_permissions_request_builder.go b/sites/item_get_by_path_with_path_get_by_path_with_path1_permissions_request_builder.go index 93e49952ef4..c06c0f72953 100644 --- a/sites/item_get_by_path_with_path_get_by_path_with_path1_permissions_request_builder.go +++ b/sites/item_get_by_path_with_path_get_by_path_with_path1_permissions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemGetByPathWithPathGetByPathWithPath1PermissionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemGetByPathWithPathGetByPathWithPath1PermissionsRequestBuilderGetQueryParameters get the permission resources from the permissions navigation property on a site. +// ItemGetByPathWithPathGetByPathWithPath1PermissionsRequestBuilderGetQueryParameters the permissions associated with the site. Nullable. type ItemGetByPathWithPathGetByPathWithPath1PermissionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -59,12 +59,9 @@ func NewItemGetByPathWithPathGetByPathWithPath1PermissionsRequestBuilder(rawUrl urlParams["request-raw-url"] = rawUrl return NewItemGetByPathWithPathGetByPathWithPath1PermissionsRequestBuilderInternal(urlParams, requestAdapter) } -// Get get the permission resources from the permissions navigation property on a site. +// Get the permissions associated with the site. Nullable. // returns a PermissionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/site-list-permissions?view=graph-rest-1.0 func (m *ItemGetByPathWithPathGetByPathWithPath1PermissionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGetByPathWithPathGetByPathWithPath1PermissionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -82,12 +79,9 @@ func (m *ItemGetByPathWithPathGetByPathWithPath1PermissionsRequestBuilder) Get(c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionCollectionResponseable), nil } -// Post create a new permission object on a site. +// Post create new navigation property to permissions for sites // returns a Permissionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/site-post-permissions?view=graph-rest-1.0 func (m *ItemGetByPathWithPathGetByPathWithPath1PermissionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *ItemGetByPathWithPathGetByPathWithPath1PermissionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -105,7 +99,7 @@ func (m *ItemGetByPathWithPathGetByPathWithPath1PermissionsRequestBuilder) Post( } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable), nil } -// ToGetRequestInformation get the permission resources from the permissions navigation property on a site. +// ToGetRequestInformation the permissions associated with the site. Nullable. // returns a *RequestInformation when successful func (m *ItemGetByPathWithPathGetByPathWithPath1PermissionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGetByPathWithPathGetByPathWithPath1PermissionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -119,7 +113,7 @@ func (m *ItemGetByPathWithPathGetByPathWithPath1PermissionsRequestBuilder) ToGet requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new permission object on a site. +// ToPostRequestInformation create new navigation property to permissions for sites // returns a *RequestInformation when successful func (m *ItemGetByPathWithPathGetByPathWithPath1PermissionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *ItemGetByPathWithPathGetByPathWithPath1PermissionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_get_by_path_with_path_get_by_path_with_path1_sites_request_builder.go b/sites/item_get_by_path_with_path_get_by_path_with_path1_sites_request_builder.go index 4b6cf23fd43..6b22930cf09 100644 --- a/sites/item_get_by_path_with_path_get_by_path_with_path1_sites_request_builder.go +++ b/sites/item_get_by_path_with_path_get_by_path_with_path1_sites_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemGetByPathWithPathGetByPathWithPath1SitesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemGetByPathWithPathGetByPathWithPath1SitesRequestBuilderGetQueryParameters get a collection of subsites defined for a [site][]. +// ItemGetByPathWithPathGetByPathWithPath1SitesRequestBuilderGetQueryParameters the collection of the sub-sites under this site. type ItemGetByPathWithPathGetByPathWithPath1SitesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -52,12 +52,9 @@ func NewItemGetByPathWithPathGetByPathWithPath1SitesRequestBuilder(rawUrl string urlParams["request-raw-url"] = rawUrl return NewItemGetByPathWithPathGetByPathWithPath1SitesRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a collection of subsites defined for a [site][]. +// Get the collection of the sub-sites under this site. // returns a SiteCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/site-list-subsites?view=graph-rest-1.0 func (m *ItemGetByPathWithPathGetByPathWithPath1SitesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGetByPathWithPathGetByPathWithPath1SitesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +72,7 @@ func (m *ItemGetByPathWithPathGetByPathWithPath1SitesRequestBuilder) Get(ctx con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteCollectionResponseable), nil } -// ToGetRequestInformation get a collection of subsites defined for a [site][]. +// ToGetRequestInformation the collection of the sub-sites under this site. // returns a *RequestInformation when successful func (m *ItemGetByPathWithPathGetByPathWithPath1SitesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGetByPathWithPathGetByPathWithPath1SitesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_get_by_path_with_path_get_by_path_with_path1_term_store_request_builder.go b/sites/item_get_by_path_with_path_get_by_path_with_path1_term_store_request_builder.go index ced7ec5a7ff..f829f5a4350 100644 --- a/sites/item_get_by_path_with_path_get_by_path_with_path1_term_store_request_builder.go +++ b/sites/item_get_by_path_with_path_get_by_path_with_path1_term_store_request_builder.go @@ -18,7 +18,7 @@ type ItemGetByPathWithPathGetByPathWithPath1TermStoreRequestBuilderDeleteRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemGetByPathWithPathGetByPathWithPath1TermStoreRequestBuilderGetQueryParameters read the properties and relationships of a store object. +// ItemGetByPathWithPathGetByPathWithPath1TermStoreRequestBuilderGetQueryParameters the termStore under this site. type ItemGetByPathWithPathGetByPathWithPath1TermStoreRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemGetByPathWithPathGetByPathWithPath1TermStoreRequestBuilder) Delete( } return nil } -// Get read the properties and relationships of a store object. +// Get the termStore under this site. // returns a Storeable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-store-get?view=graph-rest-1.0 func (m *ItemGetByPathWithPathGetByPathWithPath1TermStoreRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGetByPathWithPathGetByPathWithPath1TermStoreRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Storeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemGetByPathWithPathGetByPathWithPath1TermStoreRequestBuilder) ToDelet requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a store object. +// ToGetRequestInformation the termStore under this site. // returns a *RequestInformation when successful func (m *ItemGetByPathWithPathGetByPathWithPath1TermStoreRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGetByPathWithPathGetByPathWithPath1TermStoreRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_get_by_path_with_path_lists_request_builder.go b/sites/item_get_by_path_with_path_lists_request_builder.go index cd09bdbfbf2..58692a43cfc 100644 --- a/sites/item_get_by_path_with_path_lists_request_builder.go +++ b/sites/item_get_by_path_with_path_lists_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemGetByPathWithPathListsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemGetByPathWithPathListsRequestBuilderGetQueryParameters get the collection of [lists][] for a [site][]. Lists with the [system][] facet are hidden by default.To list them, include system in your $select statement. +// ItemGetByPathWithPathListsRequestBuilderGetQueryParameters the collection of lists under this site. type ItemGetByPathWithPathListsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -59,12 +59,9 @@ func NewItemGetByPathWithPathListsRequestBuilder(rawUrl string, requestAdapter i urlParams["request-raw-url"] = rawUrl return NewItemGetByPathWithPathListsRequestBuilderInternal(urlParams, requestAdapter) } -// Get get the collection of [lists][] for a [site][]. Lists with the [system][] facet are hidden by default.To list them, include system in your $select statement. +// Get the collection of lists under this site. // returns a ListCollectionResponseable when successful // returns a ODataError error 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?view=graph-rest-1.0 func (m *ItemGetByPathWithPathListsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGetByPathWithPathListsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ListCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -82,12 +79,9 @@ func (m *ItemGetByPathWithPathListsRequestBuilder) Get(ctx context.Context, requ } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ListCollectionResponseable), nil } -// Post create a new [list][] in a [site][]. +// Post create new navigation property to lists for sites // 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-create?view=graph-rest-1.0 func (m *ItemGetByPathWithPathListsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Listable, requestConfiguration *ItemGetByPathWithPathListsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Listable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -105,7 +99,7 @@ func (m *ItemGetByPathWithPathListsRequestBuilder) Post(ctx context.Context, bod } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Listable), nil } -// ToGetRequestInformation get the collection of [lists][] for a [site][]. Lists with the [system][] facet are hidden by default.To list them, include system in your $select statement. +// ToGetRequestInformation the collection of lists under this site. // returns a *RequestInformation when successful func (m *ItemGetByPathWithPathListsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGetByPathWithPathListsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -119,7 +113,7 @@ func (m *ItemGetByPathWithPathListsRequestBuilder) ToGetRequestInformation(ctx c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new [list][] in a [site][]. +// ToPostRequestInformation create new navigation property to lists for sites // returns a *RequestInformation when successful func (m *ItemGetByPathWithPathListsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Listable, requestConfiguration *ItemGetByPathWithPathListsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_get_by_path_with_path_operations_request_builder.go b/sites/item_get_by_path_with_path_operations_request_builder.go index 76719ab87ba..46969be54ed 100644 --- a/sites/item_get_by_path_with_path_operations_request_builder.go +++ b/sites/item_get_by_path_with_path_operations_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemGetByPathWithPathOperationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemGetByPathWithPathOperationsRequestBuilderGetQueryParameters get the list of richLongRunningOperations associated with a site. +// ItemGetByPathWithPathOperationsRequestBuilderGetQueryParameters the collection of long running operations for the site. type ItemGetByPathWithPathOperationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -59,12 +59,9 @@ func NewItemGetByPathWithPathOperationsRequestBuilder(rawUrl string, requestAdap urlParams["request-raw-url"] = rawUrl return NewItemGetByPathWithPathOperationsRequestBuilderInternal(urlParams, requestAdapter) } -// Get get the list of richLongRunningOperations associated with a site. +// Get the collection of long running operations for the site. // returns a RichLongRunningOperationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/site-list-operations?view=graph-rest-1.0 func (m *ItemGetByPathWithPathOperationsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGetByPathWithPathOperationsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RichLongRunningOperationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,7 +99,7 @@ func (m *ItemGetByPathWithPathOperationsRequestBuilder) Post(ctx context.Context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RichLongRunningOperationable), nil } -// ToGetRequestInformation get the list of richLongRunningOperations associated with a site. +// ToGetRequestInformation the collection of long running operations for the site. // returns a *RequestInformation when successful func (m *ItemGetByPathWithPathOperationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGetByPathWithPathOperationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_get_by_path_with_path_pages_request_builder.go b/sites/item_get_by_path_with_path_pages_request_builder.go index 9b22703139b..56cf339fa58 100644 --- a/sites/item_get_by_path_with_path_pages_request_builder.go +++ b/sites/item_get_by_path_with_path_pages_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemGetByPathWithPathPagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemGetByPathWithPathPagesRequestBuilderGetQueryParameters get the collection of [baseSitePage][] objects from the site pages [list][] in a [site][]. All pages in the site are returned (with pagination). Sort alphabetically by name in ascending order. The following table lists the available subtypes. +// ItemGetByPathWithPathPagesRequestBuilderGetQueryParameters the collection of pages in the baseSitePages list on this site. type ItemGetByPathWithPathPagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -59,12 +59,9 @@ func NewItemGetByPathWithPathPagesRequestBuilder(rawUrl string, requestAdapter i urlParams["request-raw-url"] = rawUrl return NewItemGetByPathWithPathPagesRequestBuilderInternal(urlParams, requestAdapter) } -// Get get the collection of [baseSitePage][] objects from the site pages [list][] in a [site][]. All pages in the site are returned (with pagination). Sort alphabetically by name in ascending order. The following table lists the available subtypes. +// Get the collection of pages in the baseSitePages list on this site. // returns a BaseSitePageCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/basesitepage-list?view=graph-rest-1.0 func (m *ItemGetByPathWithPathPagesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGetByPathWithPathPagesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseSitePageCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -82,12 +79,9 @@ func (m *ItemGetByPathWithPathPagesRequestBuilder) Get(ctx context.Context, requ } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseSitePageCollectionResponseable), nil } -// Post create a new [sitePage][] in the site pages [list][] in a [site][]. +// Post create new navigation property to pages for sites // 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-1.0 func (m *ItemGetByPathWithPathPagesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseSitePageable, requestConfiguration *ItemGetByPathWithPathPagesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseSitePageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -105,7 +99,7 @@ func (m *ItemGetByPathWithPathPagesRequestBuilder) Post(ctx context.Context, bod } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseSitePageable), nil } -// ToGetRequestInformation get the collection of [baseSitePage][] objects from the site pages [list][] in a [site][]. All pages in the site are returned (with pagination). Sort alphabetically by name in ascending order. The following table lists the available subtypes. +// ToGetRequestInformation the collection of pages in the baseSitePages list on this site. // returns a *RequestInformation when successful func (m *ItemGetByPathWithPathPagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGetByPathWithPathPagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -119,7 +113,7 @@ func (m *ItemGetByPathWithPathPagesRequestBuilder) ToGetRequestInformation(ctx c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new [sitePage][] in the site pages [list][] in a [site][]. +// ToPostRequestInformation create new navigation property to pages for sites // returns a *RequestInformation when successful func (m *ItemGetByPathWithPathPagesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseSitePageable, requestConfiguration *ItemGetByPathWithPathPagesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_get_by_path_with_path_permissions_request_builder.go b/sites/item_get_by_path_with_path_permissions_request_builder.go index e3e3358d42d..d27ba4a6ff1 100644 --- a/sites/item_get_by_path_with_path_permissions_request_builder.go +++ b/sites/item_get_by_path_with_path_permissions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemGetByPathWithPathPermissionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemGetByPathWithPathPermissionsRequestBuilderGetQueryParameters get the permission resources from the permissions navigation property on a site. +// ItemGetByPathWithPathPermissionsRequestBuilderGetQueryParameters the permissions associated with the site. Nullable. type ItemGetByPathWithPathPermissionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -59,12 +59,9 @@ func NewItemGetByPathWithPathPermissionsRequestBuilder(rawUrl string, requestAda urlParams["request-raw-url"] = rawUrl return NewItemGetByPathWithPathPermissionsRequestBuilderInternal(urlParams, requestAdapter) } -// Get get the permission resources from the permissions navigation property on a site. +// Get the permissions associated with the site. Nullable. // returns a PermissionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/site-list-permissions?view=graph-rest-1.0 func (m *ItemGetByPathWithPathPermissionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGetByPathWithPathPermissionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -82,12 +79,9 @@ func (m *ItemGetByPathWithPathPermissionsRequestBuilder) Get(ctx context.Context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionCollectionResponseable), nil } -// Post create a new permission object on a site. +// Post create new navigation property to permissions for sites // returns a Permissionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/site-post-permissions?view=graph-rest-1.0 func (m *ItemGetByPathWithPathPermissionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *ItemGetByPathWithPathPermissionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -105,7 +99,7 @@ func (m *ItemGetByPathWithPathPermissionsRequestBuilder) Post(ctx context.Contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable), nil } -// ToGetRequestInformation get the permission resources from the permissions navigation property on a site. +// ToGetRequestInformation the permissions associated with the site. Nullable. // returns a *RequestInformation when successful func (m *ItemGetByPathWithPathPermissionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGetByPathWithPathPermissionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -119,7 +113,7 @@ func (m *ItemGetByPathWithPathPermissionsRequestBuilder) ToGetRequestInformation requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new permission object on a site. +// ToPostRequestInformation create new navigation property to permissions for sites // returns a *RequestInformation when successful func (m *ItemGetByPathWithPathPermissionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *ItemGetByPathWithPathPermissionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_get_by_path_with_path_sites_request_builder.go b/sites/item_get_by_path_with_path_sites_request_builder.go index 781f2e6af9a..bca04308e3f 100644 --- a/sites/item_get_by_path_with_path_sites_request_builder.go +++ b/sites/item_get_by_path_with_path_sites_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemGetByPathWithPathSitesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemGetByPathWithPathSitesRequestBuilderGetQueryParameters get a collection of subsites defined for a [site][]. +// ItemGetByPathWithPathSitesRequestBuilderGetQueryParameters the collection of the sub-sites under this site. type ItemGetByPathWithPathSitesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -52,12 +52,9 @@ func NewItemGetByPathWithPathSitesRequestBuilder(rawUrl string, requestAdapter i urlParams["request-raw-url"] = rawUrl return NewItemGetByPathWithPathSitesRequestBuilderInternal(urlParams, requestAdapter) } -// Get get a collection of subsites defined for a [site][]. +// Get the collection of the sub-sites under this site. // returns a SiteCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/site-list-subsites?view=graph-rest-1.0 func (m *ItemGetByPathWithPathSitesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGetByPathWithPathSitesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +72,7 @@ func (m *ItemGetByPathWithPathSitesRequestBuilder) Get(ctx context.Context, requ } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteCollectionResponseable), nil } -// ToGetRequestInformation get a collection of subsites defined for a [site][]. +// ToGetRequestInformation the collection of the sub-sites under this site. // returns a *RequestInformation when successful func (m *ItemGetByPathWithPathSitesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGetByPathWithPathSitesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_get_by_path_with_path_term_store_request_builder.go b/sites/item_get_by_path_with_path_term_store_request_builder.go index f612604918f..b73694c86e5 100644 --- a/sites/item_get_by_path_with_path_term_store_request_builder.go +++ b/sites/item_get_by_path_with_path_term_store_request_builder.go @@ -18,7 +18,7 @@ type ItemGetByPathWithPathTermStoreRequestBuilderDeleteRequestConfiguration stru // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemGetByPathWithPathTermStoreRequestBuilderGetQueryParameters read the properties and relationships of a store object. +// ItemGetByPathWithPathTermStoreRequestBuilderGetQueryParameters the termStore under this site. type ItemGetByPathWithPathTermStoreRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemGetByPathWithPathTermStoreRequestBuilder) Delete(ctx context.Contex } return nil } -// Get read the properties and relationships of a store object. +// Get the termStore under this site. // returns a Storeable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-store-get?view=graph-rest-1.0 func (m *ItemGetByPathWithPathTermStoreRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGetByPathWithPathTermStoreRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Storeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemGetByPathWithPathTermStoreRequestBuilder) ToDeleteRequestInformatio requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a store object. +// ToGetRequestInformation the termStore under this site. // returns a *RequestInformation when successful func (m *ItemGetByPathWithPathTermStoreRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGetByPathWithPathTermStoreRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_information_protection_bitlocker_recovery_keys_bitlocker_recovery_key_item_request_builder.go b/sites/item_information_protection_bitlocker_recovery_keys_bitlocker_recovery_key_item_request_builder.go index 02167f1556a..b005a23bdd9 100644 --- a/sites/item_information_protection_bitlocker_recovery_keys_bitlocker_recovery_key_item_request_builder.go +++ b/sites/item_information_protection_bitlocker_recovery_keys_bitlocker_recovery_key_item_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemInformationProtectionBitlockerRecoveryKeysBitlockerRecoveryKeyItemRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemInformationProtectionBitlockerRecoveryKeysBitlockerRecoveryKeyItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a bitlockerRecoveryKey object. By default, this operation does not return the key property that represents the actual recovery key. To include the key property in the response, use the $select OData query parameter. Including the $select query parameter triggers a Microsoft Entra audit of the operation and generates an audit log. You can find the log in Microsoft Entra audit logs under the KeyManagement category. +// ItemInformationProtectionBitlockerRecoveryKeysBitlockerRecoveryKeyItemRequestBuilderGetQueryParameters the recovery keys associated with the bitlocker entity. type ItemInformationProtectionBitlockerRecoveryKeysBitlockerRecoveryKeyItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -40,12 +40,9 @@ func NewItemInformationProtectionBitlockerRecoveryKeysBitlockerRecoveryKeyItemRe urlParams["request-raw-url"] = rawUrl return NewItemInformationProtectionBitlockerRecoveryKeysBitlockerRecoveryKeyItemRequestBuilderInternal(urlParams, requestAdapter) } -// Get retrieve the properties and relationships of a bitlockerRecoveryKey object. By default, this operation does not return the key property that represents the actual recovery key. To include the key property in the response, use the $select OData query parameter. Including the $select query parameter triggers a Microsoft Entra audit of the operation and generates an audit log. You can find the log in Microsoft Entra audit logs under the KeyManagement category. +// Get the recovery keys associated with the bitlocker entity. // returns a BitlockerRecoveryKeyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/bitlockerrecoverykey-get?view=graph-rest-1.0 func (m *ItemInformationProtectionBitlockerRecoveryKeysBitlockerRecoveryKeyItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemInformationProtectionBitlockerRecoveryKeysBitlockerRecoveryKeyItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BitlockerRecoveryKeyable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -63,7 +60,7 @@ func (m *ItemInformationProtectionBitlockerRecoveryKeysBitlockerRecoveryKeyItemR } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BitlockerRecoveryKeyable), nil } -// ToGetRequestInformation retrieve the properties and relationships of a bitlockerRecoveryKey object. By default, this operation does not return the key property that represents the actual recovery key. To include the key property in the response, use the $select OData query parameter. Including the $select query parameter triggers a Microsoft Entra audit of the operation and generates an audit log. You can find the log in Microsoft Entra audit logs under the KeyManagement category. +// ToGetRequestInformation the recovery keys associated with the bitlocker entity. // returns a *RequestInformation when successful func (m *ItemInformationProtectionBitlockerRecoveryKeysBitlockerRecoveryKeyItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemInformationProtectionBitlockerRecoveryKeysBitlockerRecoveryKeyItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_information_protection_bitlocker_recovery_keys_request_builder.go b/sites/item_information_protection_bitlocker_recovery_keys_request_builder.go index 239d9fc331f..e37cf9e6fb2 100644 --- a/sites/item_information_protection_bitlocker_recovery_keys_request_builder.go +++ b/sites/item_information_protection_bitlocker_recovery_keys_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemInformationProtectionBitlockerRecoveryKeysRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemInformationProtectionBitlockerRecoveryKeysRequestBuilderGetQueryParameters 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. +// ItemInformationProtectionBitlockerRecoveryKeysRequestBuilderGetQueryParameters the recovery keys associated with the bitlocker entity. type ItemInformationProtectionBitlockerRecoveryKeysRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewItemInformationProtectionBitlockerRecoveryKeysRequestBuilder(rawUrl stri func (m *ItemInformationProtectionBitlockerRecoveryKeysRequestBuilder) Count()(*ItemInformationProtectionBitlockerRecoveryKeysCountRequestBuilder) { return NewItemInformationProtectionBitlockerRecoveryKeysCountRequestBuilderInternal(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 the recovery keys associated with the bitlocker entity. // returns a BitlockerRecoveryKeyCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/bitlocker-list-recoverykeys?view=graph-rest-1.0 func (m *ItemInformationProtectionBitlockerRecoveryKeysRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemInformationProtectionBitlockerRecoveryKeysRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BitlockerRecoveryKeyCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *ItemInformationProtectionBitlockerRecoveryKeysRequestBuilder) Get(ctx c } 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 the recovery keys associated with the bitlocker entity. // returns a *RequestInformation when successful func (m *ItemInformationProtectionBitlockerRecoveryKeysRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemInformationProtectionBitlockerRecoveryKeysRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_information_protection_policy_labels_evaluate_application_request_builder.go b/sites/item_information_protection_policy_labels_evaluate_application_request_builder.go index cf8e17431d0..3b323e4596f 100644 --- a/sites/item_information_protection_policy_labels_evaluate_application_request_builder.go +++ b/sites/item_information_protection_policy_labels_evaluate_application_request_builder.go @@ -36,7 +36,7 @@ func NewItemInformationProtectionPolicyLabelsEvaluateApplicationRequestBuilder(r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionlabel-evaluateapplication?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionlabel-evaluateapplication?view=graph-rest-beta func (m *ItemInformationProtectionPolicyLabelsEvaluateApplicationRequestBuilder) Post(ctx context.Context, body ItemInformationProtectionPolicyLabelsEvaluateApplicationPostRequestBodyable, requestConfiguration *ItemInformationProtectionPolicyLabelsEvaluateApplicationRequestBuilderPostRequestConfiguration)(ItemInformationProtectionPolicyLabelsEvaluateApplicationResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -60,7 +60,7 @@ func (m *ItemInformationProtectionPolicyLabelsEvaluateApplicationRequestBuilder) // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionlabel-evaluateapplication?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionlabel-evaluateapplication?view=graph-rest-beta func (m *ItemInformationProtectionPolicyLabelsEvaluateApplicationRequestBuilder) PostAsEvaluateApplicationPostResponse(ctx context.Context, body ItemInformationProtectionPolicyLabelsEvaluateApplicationPostRequestBodyable, requestConfiguration *ItemInformationProtectionPolicyLabelsEvaluateApplicationRequestBuilderPostRequestConfiguration)(ItemInformationProtectionPolicyLabelsEvaluateApplicationPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/sites/item_information_protection_policy_labels_evaluate_classification_results_request_builder.go b/sites/item_information_protection_policy_labels_evaluate_classification_results_request_builder.go index 771e1d0207b..10bf8ca28f3 100644 --- a/sites/item_information_protection_policy_labels_evaluate_classification_results_request_builder.go +++ b/sites/item_information_protection_policy_labels_evaluate_classification_results_request_builder.go @@ -36,7 +36,7 @@ func NewItemInformationProtectionPolicyLabelsEvaluateClassificationResultsReques // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionlabel-evaluateclassificationresults?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionlabel-evaluateclassificationresults?view=graph-rest-beta func (m *ItemInformationProtectionPolicyLabelsEvaluateClassificationResultsRequestBuilder) Post(ctx context.Context, body ItemInformationProtectionPolicyLabelsEvaluateClassificationResultsPostRequestBodyable, requestConfiguration *ItemInformationProtectionPolicyLabelsEvaluateClassificationResultsRequestBuilderPostRequestConfiguration)(ItemInformationProtectionPolicyLabelsEvaluateClassificationResultsResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -60,7 +60,7 @@ func (m *ItemInformationProtectionPolicyLabelsEvaluateClassificationResultsReque // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionlabel-evaluateclassificationresults?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionlabel-evaluateclassificationresults?view=graph-rest-beta func (m *ItemInformationProtectionPolicyLabelsEvaluateClassificationResultsRequestBuilder) PostAsEvaluateClassificationResultsPostResponse(ctx context.Context, body ItemInformationProtectionPolicyLabelsEvaluateClassificationResultsPostRequestBodyable, requestConfiguration *ItemInformationProtectionPolicyLabelsEvaluateClassificationResultsRequestBuilderPostRequestConfiguration)(ItemInformationProtectionPolicyLabelsEvaluateClassificationResultsPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/sites/item_information_protection_policy_labels_evaluate_removal_request_builder.go b/sites/item_information_protection_policy_labels_evaluate_removal_request_builder.go index 5519a41477d..674a841cc8f 100644 --- a/sites/item_information_protection_policy_labels_evaluate_removal_request_builder.go +++ b/sites/item_information_protection_policy_labels_evaluate_removal_request_builder.go @@ -36,7 +36,7 @@ func NewItemInformationProtectionPolicyLabelsEvaluateRemovalRequestBuilder(rawUr // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionlabel-evaluateremoval?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionlabel-evaluateremoval?view=graph-rest-beta func (m *ItemInformationProtectionPolicyLabelsEvaluateRemovalRequestBuilder) Post(ctx context.Context, body ItemInformationProtectionPolicyLabelsEvaluateRemovalPostRequestBodyable, requestConfiguration *ItemInformationProtectionPolicyLabelsEvaluateRemovalRequestBuilderPostRequestConfiguration)(ItemInformationProtectionPolicyLabelsEvaluateRemovalResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -60,7 +60,7 @@ func (m *ItemInformationProtectionPolicyLabelsEvaluateRemovalRequestBuilder) Pos // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionlabel-evaluateremoval?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionlabel-evaluateremoval?view=graph-rest-beta func (m *ItemInformationProtectionPolicyLabelsEvaluateRemovalRequestBuilder) PostAsEvaluateRemovalPostResponse(ctx context.Context, body ItemInformationProtectionPolicyLabelsEvaluateRemovalPostRequestBodyable, requestConfiguration *ItemInformationProtectionPolicyLabelsEvaluateRemovalRequestBuilderPostRequestConfiguration)(ItemInformationProtectionPolicyLabelsEvaluateRemovalPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/sites/item_information_protection_policy_labels_extract_label_request_builder.go b/sites/item_information_protection_policy_labels_extract_label_request_builder.go index b43e9aec93c..7a5831b3fcc 100644 --- a/sites/item_information_protection_policy_labels_extract_label_request_builder.go +++ b/sites/item_information_protection_policy_labels_extract_label_request_builder.go @@ -37,7 +37,7 @@ func NewItemInformationProtectionPolicyLabelsExtractLabelRequestBuilder(rawUrl s // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionlabel-extractlabel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionlabel-extractlabel?view=graph-rest-beta func (m *ItemInformationProtectionPolicyLabelsExtractLabelRequestBuilder) Post(ctx context.Context, body ItemInformationProtectionPolicyLabelsExtractLabelPostRequestBodyable, requestConfiguration *ItemInformationProtectionPolicyLabelsExtractLabelRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InformationProtectionContentLabelable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/sites/item_information_protection_policy_labels_information_protection_label_item_request_builder.go b/sites/item_information_protection_policy_labels_information_protection_label_item_request_builder.go index 89923736bfb..1e02d96e059 100644 --- a/sites/item_information_protection_policy_labels_information_protection_label_item_request_builder.go +++ b/sites/item_information_protection_policy_labels_information_protection_label_item_request_builder.go @@ -18,7 +18,7 @@ type ItemInformationProtectionPolicyLabelsInformationProtectionLabelItemRequestB // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemInformationProtectionPolicyLabelsInformationProtectionLabelItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an informationProtectionLabel object. +// ItemInformationProtectionPolicyLabelsInformationProtectionLabelItemRequestBuilderGetQueryParameters get labels from sites type ItemInformationProtectionPolicyLabelsInformationProtectionLabelItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -71,13 +71,10 @@ func (m *ItemInformationProtectionPolicyLabelsInformationProtectionLabelItemRequ } return nil } -// Get retrieve the properties and relationships of an informationProtectionLabel object. +// Get get labels from sites // Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels // returns a InformationProtectionLabelable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionlabel-get?view=graph-rest-1.0 func (m *ItemInformationProtectionPolicyLabelsInformationProtectionLabelItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemInformationProtectionPolicyLabelsInformationProtectionLabelItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InformationProtectionLabelable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -128,7 +125,7 @@ func (m *ItemInformationProtectionPolicyLabelsInformationProtectionLabelItemRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of an informationProtectionLabel object. +// ToGetRequestInformation get labels from sites // Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels // returns a *RequestInformation when successful func (m *ItemInformationProtectionPolicyLabelsInformationProtectionLabelItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemInformationProtectionPolicyLabelsInformationProtectionLabelItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/sites/item_information_protection_policy_labels_request_builder.go b/sites/item_information_protection_policy_labels_request_builder.go index 137e1fb9dbe..9b563e236d6 100644 --- a/sites/item_information_protection_policy_labels_request_builder.go +++ b/sites/item_information_protection_policy_labels_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemInformationProtectionPolicyLabelsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemInformationProtectionPolicyLabelsRequestBuilderGetQueryParameters get a collection of information protection labels available to the user or to the organization. +// ItemInformationProtectionPolicyLabelsRequestBuilderGetQueryParameters get labels from sites type ItemInformationProtectionPolicyLabelsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -97,13 +97,10 @@ func (m *ItemInformationProtectionPolicyLabelsRequestBuilder) EvaluateRemoval()( func (m *ItemInformationProtectionPolicyLabelsRequestBuilder) ExtractLabel()(*ItemInformationProtectionPolicyLabelsExtractLabelRequestBuilder) { return NewItemInformationProtectionPolicyLabelsExtractLabelRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a collection of information protection labels available to the user or to the organization. +// Get get labels from sites // Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels // returns a InformationProtectionLabelCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionpolicy-list-labels?view=graph-rest-1.0 func (m *ItemInformationProtectionPolicyLabelsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemInformationProtectionPolicyLabelsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InformationProtectionLabelCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -142,7 +139,7 @@ func (m *ItemInformationProtectionPolicyLabelsRequestBuilder) Post(ctx context.C } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InformationProtectionLabelable), nil } -// ToGetRequestInformation get a collection of information protection labels available to the user or to the organization. +// ToGetRequestInformation get labels from sites // Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels // returns a *RequestInformation when successful func (m *ItemInformationProtectionPolicyLabelsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemInformationProtectionPolicyLabelsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/sites/item_information_protection_threat_assessment_requests_request_builder.go b/sites/item_information_protection_threat_assessment_requests_request_builder.go index 3e2b5433e64..40cbcedefba 100644 --- a/sites/item_information_protection_threat_assessment_requests_request_builder.go +++ b/sites/item_information_protection_threat_assessment_requests_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemInformationProtectionThreatAssessmentRequestsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemInformationProtectionThreatAssessmentRequestsRequestBuilderGetQueryParameters retrieve a list of threatAssessmentRequest objects. A threat assessment request can be one of the following types: +// ItemInformationProtectionThreatAssessmentRequestsRequestBuilderGetQueryParameters get threatAssessmentRequests from sites type ItemInformationProtectionThreatAssessmentRequestsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemInformationProtectionThreatAssessmentRequestsRequestBuilder(rawUrl s func (m *ItemInformationProtectionThreatAssessmentRequestsRequestBuilder) Count()(*ItemInformationProtectionThreatAssessmentRequestsCountRequestBuilder) { return NewItemInformationProtectionThreatAssessmentRequestsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of threatAssessmentRequest objects. A threat assessment request can be one of the following types: +// Get get threatAssessmentRequests from sites // returns a ThreatAssessmentRequestCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotection-list-threatassessmentrequests?view=graph-rest-1.0 func (m *ItemInformationProtectionThreatAssessmentRequestsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemInformationProtectionThreatAssessmentRequestsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ThreatAssessmentRequestCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemInformationProtectionThreatAssessmentRequestsRequestBuilder) Get(ct } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ThreatAssessmentRequestCollectionResponseable), nil } -// Post create a new threat assessment request. A threat assessment request can be one of the following types: +// Post create new navigation property to threatAssessmentRequests for sites // returns a ThreatAssessmentRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotection-post-threatassessmentrequests?view=graph-rest-1.0 func (m *ItemInformationProtectionThreatAssessmentRequestsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ThreatAssessmentRequestable, requestConfiguration *ItemInformationProtectionThreatAssessmentRequestsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ThreatAssessmentRequestable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemInformationProtectionThreatAssessmentRequestsRequestBuilder) Post(c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ThreatAssessmentRequestable), nil } -// ToGetRequestInformation retrieve a list of threatAssessmentRequest objects. A threat assessment request can be one of the following types: +// ToGetRequestInformation get threatAssessmentRequests from sites // returns a *RequestInformation when successful func (m *ItemInformationProtectionThreatAssessmentRequestsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemInformationProtectionThreatAssessmentRequestsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemInformationProtectionThreatAssessmentRequestsRequestBuilder) ToGetR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new threat assessment request. A threat assessment request can be one of the following types: +// ToPostRequestInformation create new navigation property to threatAssessmentRequests for sites // returns a *RequestInformation when successful func (m *ItemInformationProtectionThreatAssessmentRequestsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ThreatAssessmentRequestable, requestConfiguration *ItemInformationProtectionThreatAssessmentRequestsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_information_protection_threat_assessment_requests_threat_assessment_request_item_request_builder.go b/sites/item_information_protection_threat_assessment_requests_threat_assessment_request_item_request_builder.go index b7aad6fab3c..441eeadfa64 100644 --- a/sites/item_information_protection_threat_assessment_requests_threat_assessment_request_item_request_builder.go +++ b/sites/item_information_protection_threat_assessment_requests_threat_assessment_request_item_request_builder.go @@ -18,7 +18,7 @@ type ItemInformationProtectionThreatAssessmentRequestsThreatAssessmentRequestIte // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemInformationProtectionThreatAssessmentRequestsThreatAssessmentRequestItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a specified threatAssessmentRequest object. A threat assessment request can be one of the following types: +// ItemInformationProtectionThreatAssessmentRequestsThreatAssessmentRequestItemRequestBuilderGetQueryParameters get threatAssessmentRequests from sites type ItemInformationProtectionThreatAssessmentRequestsThreatAssessmentRequestItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemInformationProtectionThreatAssessmentRequestsThreatAssessmentReques } return nil } -// Get retrieve the properties and relationships of a specified threatAssessmentRequest object. A threat assessment request can be one of the following types: +// Get get threatAssessmentRequests from sites // returns a ThreatAssessmentRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/threatassessmentrequest-get?view=graph-rest-1.0 func (m *ItemInformationProtectionThreatAssessmentRequestsThreatAssessmentRequestItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemInformationProtectionThreatAssessmentRequestsThreatAssessmentRequestItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ThreatAssessmentRequestable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *ItemInformationProtectionThreatAssessmentRequestsThreatAssessmentReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a specified threatAssessmentRequest object. A threat assessment request can be one of the following types: +// ToGetRequestInformation get threatAssessmentRequests from sites // returns a *RequestInformation when successful func (m *ItemInformationProtectionThreatAssessmentRequestsThreatAssessmentRequestItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemInformationProtectionThreatAssessmentRequestsThreatAssessmentRequestItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_lists_item_columns_request_builder.go b/sites/item_lists_item_columns_request_builder.go index e65270c927f..76a9b8d8258 100644 --- a/sites/item_lists_item_columns_request_builder.go +++ b/sites/item_lists_item_columns_request_builder.go @@ -79,9 +79,6 @@ func (m *ItemListsItemColumnsRequestBuilder) Count()(*ItemListsItemColumnsCountR // Get the collection of field definitions for this list. // returns a ColumnDefinitionCollectionResponseable when successful // returns a ODataError error 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-columns?view=graph-rest-1.0 func (m *ItemListsItemColumnsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListsItemColumnsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemListsItemColumnsRequestBuilder) Get(ctx context.Context, requestCon } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionCollectionResponseable), nil } -// Post create columnDefinition +// Post create new navigation property to columns for sites // returns a ColumnDefinitionable when successful // returns a ODataError error 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-post-columns?view=graph-rest-1.0 func (m *ItemListsItemColumnsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, requestConfiguration *ItemListsItemColumnsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -136,7 +130,7 @@ func (m *ItemListsItemColumnsRequestBuilder) ToGetRequestInformation(ctx context requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create columnDefinition +// ToPostRequestInformation create new navigation property to columns for sites // returns a *RequestInformation when successful func (m *ItemListsItemColumnsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, requestConfiguration *ItemListsItemColumnsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_lists_item_content_types_add_copy_from_content_type_hub_request_builder.go b/sites/item_lists_item_content_types_add_copy_from_content_type_hub_request_builder.go index 984c53386da..6921b54272a 100644 --- a/sites/item_lists_item_content_types_add_copy_from_content_type_hub_request_builder.go +++ b/sites/item_lists_item_content_types_add_copy_from_content_type_hub_request_builder.go @@ -36,7 +36,7 @@ func NewItemListsItemContentTypesAddCopyFromContentTypeHubRequestBuilder(rawUrl // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-addcopyfromcontenttypehub?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-addcopyfromcontenttypehub?view=graph-rest-beta func (m *ItemListsItemContentTypesAddCopyFromContentTypeHubRequestBuilder) Post(ctx context.Context, body ItemListsItemContentTypesAddCopyFromContentTypeHubPostRequestBodyable, requestConfiguration *ItemListsItemContentTypesAddCopyFromContentTypeHubRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContentTypeable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/sites/item_lists_item_content_types_add_copy_request_builder.go b/sites/item_lists_item_content_types_add_copy_request_builder.go index 184fe8e8c1e..2ce21fa66ed 100644 --- a/sites/item_lists_item_content_types_add_copy_request_builder.go +++ b/sites/item_lists_item_content_types_add_copy_request_builder.go @@ -36,7 +36,7 @@ func NewItemListsItemContentTypesAddCopyRequestBuilder(rawUrl string, requestAda // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-addcopy?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-addcopy?view=graph-rest-beta func (m *ItemListsItemContentTypesAddCopyRequestBuilder) Post(ctx context.Context, body ItemListsItemContentTypesAddCopyPostRequestBodyable, requestConfiguration *ItemListsItemContentTypesAddCopyRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContentTypeable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/sites/item_lists_item_content_types_get_compatible_hub_content_types_request_builder.go b/sites/item_lists_item_content_types_get_compatible_hub_content_types_request_builder.go index f9a0179b809..749e01b1296 100644 --- a/sites/item_lists_item_content_types_get_compatible_hub_content_types_request_builder.go +++ b/sites/item_lists_item_content_types_get_compatible_hub_content_types_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemListsItemContentTypesGetCompatibleHubContentTypesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemListsItemContentTypesGetCompatibleHubContentTypesRequestBuilderGetQueryParameters invoke function getCompatibleHubContentTypes +// ItemListsItemContentTypesGetCompatibleHubContentTypesRequestBuilderGetQueryParameters get compatible content types in the content type hub that can be added to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see addCopyFromContentTypeHub and the blog post Syntex Product Updates – August 2021. type ItemListsItemContentTypesGetCompatibleHubContentTypesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewItemListsItemContentTypesGetCompatibleHubContentTypesRequestBuilder(rawU urlParams["request-raw-url"] = rawUrl return NewItemListsItemContentTypesGetCompatibleHubContentTypesRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getCompatibleHubContentTypes +// Get get compatible content types in the content type hub that can be added to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see addCopyFromContentTypeHub and the blog post Syntex Product Updates – August 2021. // Deprecated: This method is obsolete. Use GetAsGetCompatibleHubContentTypesGetResponse instead. // returns a ItemListsItemContentTypesGetCompatibleHubContentTypesResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-getcompatiblehubcontenttypes?view=graph-rest-beta func (m *ItemListsItemContentTypesGetCompatibleHubContentTypesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListsItemContentTypesGetCompatibleHubContentTypesRequestBuilderGetRequestConfiguration)(ItemListsItemContentTypesGetCompatibleHubContentTypesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ItemListsItemContentTypesGetCompatibleHubContentTypesRequestBuilder) Ge } return res.(ItemListsItemContentTypesGetCompatibleHubContentTypesResponseable), nil } -// GetAsGetCompatibleHubContentTypesGetResponse invoke function getCompatibleHubContentTypes +// GetAsGetCompatibleHubContentTypesGetResponse get compatible content types in the content type hub that can be added to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see addCopyFromContentTypeHub and the blog post Syntex Product Updates – August 2021. // returns a ItemListsItemContentTypesGetCompatibleHubContentTypesGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-getcompatiblehubcontenttypes?view=graph-rest-beta func (m *ItemListsItemContentTypesGetCompatibleHubContentTypesRequestBuilder) GetAsGetCompatibleHubContentTypesGetResponse(ctx context.Context, requestConfiguration *ItemListsItemContentTypesGetCompatibleHubContentTypesRequestBuilderGetRequestConfiguration)(ItemListsItemContentTypesGetCompatibleHubContentTypesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ItemListsItemContentTypesGetCompatibleHubContentTypesRequestBuilder) Ge } return res.(ItemListsItemContentTypesGetCompatibleHubContentTypesGetResponseable), nil } -// ToGetRequestInformation invoke function getCompatibleHubContentTypes +// ToGetRequestInformation get compatible content types in the content type hub that can be added to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see addCopyFromContentTypeHub and the blog post Syntex Product Updates – August 2021. // returns a *RequestInformation when successful func (m *ItemListsItemContentTypesGetCompatibleHubContentTypesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListsItemContentTypesGetCompatibleHubContentTypesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_lists_item_content_types_item_associate_with_hub_sites_request_builder.go b/sites/item_lists_item_content_types_item_associate_with_hub_sites_request_builder.go index 3dbbb698181..5c4d9a26901 100644 --- a/sites/item_lists_item_content_types_item_associate_with_hub_sites_request_builder.go +++ b/sites/item_lists_item_content_types_item_associate_with_hub_sites_request_builder.go @@ -34,7 +34,7 @@ func NewItemListsItemContentTypesItemAssociateWithHubSitesRequestBuilder(rawUrl // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-associatewithhubsites?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-associatewithhubsites?view=graph-rest-beta func (m *ItemListsItemContentTypesItemAssociateWithHubSitesRequestBuilder) Post(ctx context.Context, body ItemListsItemContentTypesItemAssociateWithHubSitesPostRequestBodyable, requestConfiguration *ItemListsItemContentTypesItemAssociateWithHubSitesRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/sites/item_lists_item_content_types_item_columns_column_definition_item_request_builder.go b/sites/item_lists_item_content_types_item_columns_column_definition_item_request_builder.go index d56b7c4ddeb..e9c53a373f2 100644 --- a/sites/item_lists_item_content_types_item_columns_column_definition_item_request_builder.go +++ b/sites/item_lists_item_content_types_item_columns_column_definition_item_request_builder.go @@ -18,7 +18,7 @@ type ItemListsItemContentTypesItemColumnsColumnDefinitionItemRequestBuilderDelet // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemListsItemContentTypesItemColumnsColumnDefinitionItemRequestBuilderGetQueryParameters retrieve the metadata for a [site][], [list][], or [contentType][] [column][columnDefinition]. +// ItemListsItemContentTypesItemColumnsColumnDefinitionItemRequestBuilderGetQueryParameters the collection of column definitions for this content type. type ItemListsItemContentTypesItemColumnsColumnDefinitionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemListsItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder(r urlParams["request-raw-url"] = rawUrl return NewItemListsItemContentTypesItemColumnsColumnDefinitionItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete columnDefinition +// Delete delete navigation property columns for sites // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/columndefinition-delete?view=graph-rest-1.0 func (m *ItemListsItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemListsItemContentTypesItemColumnsColumnDefinitionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemListsItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) } return nil } -// Get retrieve the metadata for a [site][], [list][], or [contentType][] [column][columnDefinition]. +// Get the collection of column definitions for this content type. // returns a ColumnDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/columndefinition-get?view=graph-rest-1.0 func (m *ItemListsItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListsItemContentTypesItemColumnsColumnDefinitionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ItemListsItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable), nil } -// Patch update columnDefinition +// Patch update the navigation property columns in sites // returns a ColumnDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/columndefinition-update?view=graph-rest-1.0 func (m *ItemListsItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, requestConfiguration *ItemListsItemContentTypesItemColumnsColumnDefinitionItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -124,7 +115,7 @@ func (m *ItemListsItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) func (m *ItemListsItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) SourceColumn()(*ItemListsItemContentTypesItemColumnsItemSourceColumnRequestBuilder) { return NewItemListsItemContentTypesItemColumnsItemSourceColumnRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete columnDefinition +// ToDeleteRequestInformation delete navigation property columns for sites // returns a *RequestInformation when successful func (m *ItemListsItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemListsItemContentTypesItemColumnsColumnDefinitionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -135,7 +126,7 @@ func (m *ItemListsItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the metadata for a [site][], [list][], or [contentType][] [column][columnDefinition]. +// ToGetRequestInformation the collection of column definitions for this content type. // returns a *RequestInformation when successful func (m *ItemListsItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListsItemContentTypesItemColumnsColumnDefinitionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -149,7 +140,7 @@ func (m *ItemListsItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update columnDefinition +// ToPatchRequestInformation update the navigation property columns in sites // returns a *RequestInformation when successful func (m *ItemListsItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, requestConfiguration *ItemListsItemContentTypesItemColumnsColumnDefinitionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_lists_item_content_types_item_columns_request_builder.go b/sites/item_lists_item_content_types_item_columns_request_builder.go index bcf5b7027f2..756b16c708a 100644 --- a/sites/item_lists_item_content_types_item_columns_request_builder.go +++ b/sites/item_lists_item_content_types_item_columns_request_builder.go @@ -79,9 +79,6 @@ func (m *ItemListsItemContentTypesItemColumnsRequestBuilder) Count()(*ItemListsI // Get the collection of column definitions for this content type. // returns a ColumnDefinitionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-list-columns?view=graph-rest-1.0 func (m *ItemListsItemContentTypesItemColumnsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListsItemContentTypesItemColumnsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemListsItemContentTypesItemColumnsRequestBuilder) Get(ctx context.Con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionCollectionResponseable), nil } -// Post create columnDefinition for a content type +// Post create new navigation property to columns for sites // returns a ColumnDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-post-columns?view=graph-rest-1.0 func (m *ItemListsItemContentTypesItemColumnsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, requestConfiguration *ItemListsItemContentTypesItemColumnsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -136,7 +130,7 @@ func (m *ItemListsItemContentTypesItemColumnsRequestBuilder) ToGetRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create columnDefinition for a content type +// ToPostRequestInformation create new navigation property to columns for sites // returns a *RequestInformation when successful func (m *ItemListsItemContentTypesItemColumnsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ColumnDefinitionable, requestConfiguration *ItemListsItemContentTypesItemColumnsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_lists_item_content_types_item_copy_to_default_content_location_request_builder.go b/sites/item_lists_item_content_types_item_copy_to_default_content_location_request_builder.go index 6daab458013..8bde4a0d3f6 100644 --- a/sites/item_lists_item_content_types_item_copy_to_default_content_location_request_builder.go +++ b/sites/item_lists_item_content_types_item_copy_to_default_content_location_request_builder.go @@ -34,7 +34,7 @@ func NewItemListsItemContentTypesItemCopyToDefaultContentLocationRequestBuilder( // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-copytodefaultcontentlocation?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-copytodefaultcontentlocation?view=graph-rest-beta func (m *ItemListsItemContentTypesItemCopyToDefaultContentLocationRequestBuilder) Post(ctx context.Context, body ItemListsItemContentTypesItemCopyToDefaultContentLocationPostRequestBodyable, requestConfiguration *ItemListsItemContentTypesItemCopyToDefaultContentLocationRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/sites/item_lists_item_content_types_item_is_published_request_builder.go b/sites/item_lists_item_content_types_item_is_published_request_builder.go index bf02a925d64..32b36ade773 100644 --- a/sites/item_lists_item_content_types_item_is_published_request_builder.go +++ b/sites/item_lists_item_content_types_item_is_published_request_builder.go @@ -34,6 +34,9 @@ func NewItemListsItemContentTypesItemIsPublishedRequestBuilder(rawUrl string, re // Deprecated: This method is obsolete. Use GetAsIsPublishedGetResponse instead. // returns a ItemListsItemContentTypesItemIsPublishedResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-ispublished?view=graph-rest-beta func (m *ItemListsItemContentTypesItemIsPublishedRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListsItemContentTypesItemIsPublishedRequestBuilderGetRequestConfiguration)(ItemListsItemContentTypesItemIsPublishedResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -54,6 +57,9 @@ func (m *ItemListsItemContentTypesItemIsPublishedRequestBuilder) Get(ctx context // GetAsIsPublishedGetResponse invoke function isPublished // returns a ItemListsItemContentTypesItemIsPublishedGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-ispublished?view=graph-rest-beta func (m *ItemListsItemContentTypesItemIsPublishedRequestBuilder) GetAsIsPublishedGetResponse(ctx context.Context, requestConfiguration *ItemListsItemContentTypesItemIsPublishedRequestBuilderGetRequestConfiguration)(ItemListsItemContentTypesItemIsPublishedGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/sites/item_lists_item_content_types_item_publish_request_builder.go b/sites/item_lists_item_content_types_item_publish_request_builder.go index dd1d935cbb5..acdab57d9b0 100644 --- a/sites/item_lists_item_content_types_item_publish_request_builder.go +++ b/sites/item_lists_item_content_types_item_publish_request_builder.go @@ -34,7 +34,7 @@ func NewItemListsItemContentTypesItemPublishRequestBuilder(rawUrl string, reques // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-publish?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-publish?view=graph-rest-beta func (m *ItemListsItemContentTypesItemPublishRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemListsItemContentTypesItemPublishRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/sites/item_lists_item_content_types_item_unpublish_request_builder.go b/sites/item_lists_item_content_types_item_unpublish_request_builder.go index 35a7c65a630..be8eb55dc97 100644 --- a/sites/item_lists_item_content_types_item_unpublish_request_builder.go +++ b/sites/item_lists_item_content_types_item_unpublish_request_builder.go @@ -34,7 +34,7 @@ func NewItemListsItemContentTypesItemUnpublishRequestBuilder(rawUrl string, requ // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-unpublish?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/contenttype-unpublish?view=graph-rest-beta func (m *ItemListsItemContentTypesItemUnpublishRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemListsItemContentTypesItemUnpublishRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/sites/item_lists_item_content_types_request_builder.go b/sites/item_lists_item_content_types_request_builder.go index e3e39bc4d64..1e4b22b7b71 100644 --- a/sites/item_lists_item_content_types_request_builder.go +++ b/sites/item_lists_item_content_types_request_builder.go @@ -89,9 +89,6 @@ func (m *ItemListsItemContentTypesRequestBuilder) Count()(*ItemListsItemContentT // Get the collection of content types present in this list. // returns a ContentTypeCollectionResponseable when successful // returns a ODataError error 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-contenttypes?view=graph-rest-1.0 func (m *ItemListsItemContentTypesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListsItemContentTypesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContentTypeCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/sites/item_lists_item_items_delta_request_builder.go b/sites/item_lists_item_items_delta_request_builder.go index 3f6132bc721..5e235d85410 100644 --- a/sites/item_lists_item_items_delta_request_builder.go +++ b/sites/item_lists_item_items_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemListsItemItemsDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemListsItemItemsDeltaRequestBuilderGetQueryParameters invoke function delta +// ItemListsItemItemsDeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted list items without having to perform a full read of the entire items collection. Your app begins by calling delta without any parameters.The service starts enumerating the hierarchy of the list, returning pages of items, and either an @odata.nextLink or an @odata.deltaLink.Your app should continue calling with the @odata.nextLink until you see an @odata.deltaLink returned. After you received all the changes, you can apply them to your local state.To check for changes in the future, call delta again with the @odata.deltaLink from the previous response. The delta feed shows the latest state for each item, not each change. If an item was renamed twice, it only shows up once, with its latest name.The same item might appear more than once in a delta feed, for various reasons. You should use the last occurrence you see. Deleted items are returned with the deleted facet. Deleted indicates that the item is deleted and can't be restored.Items with this property should be removed from your local state. type ItemListsItemItemsDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewItemListsItemItemsDeltaRequestBuilder(rawUrl string, requestAdapter i2ae urlParams["request-raw-url"] = rawUrl return NewItemListsItemItemsDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get get newly created, updated, or deleted list items without having to perform a full read of the entire items collection. Your app begins by calling delta without any parameters.The service starts enumerating the hierarchy of the list, returning pages of items, and either an @odata.nextLink or an @odata.deltaLink.Your app should continue calling with the @odata.nextLink until you see an @odata.deltaLink returned. After you received all the changes, you can apply them to your local state.To check for changes in the future, call delta again with the @odata.deltaLink from the previous response. The delta feed shows the latest state for each item, not each change. If an item was renamed twice, it only shows up once, with its latest name.The same item might appear more than once in a delta feed, for various reasons. You should use the last occurrence you see. Deleted items are returned with the deleted facet. Deleted indicates that the item is deleted and can't be restored.Items with this property should be removed from your local state. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemListsItemItemsDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/listitem-delta?view=graph-rest-beta func (m *ItemListsItemItemsDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListsItemItemsDeltaRequestBuilderGetRequestConfiguration)(ItemListsItemItemsDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ItemListsItemItemsDeltaRequestBuilder) Get(ctx context.Context, request } return res.(ItemListsItemItemsDeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse get newly created, updated, or deleted list items without having to perform a full read of the entire items collection. Your app begins by calling delta without any parameters.The service starts enumerating the hierarchy of the list, returning pages of items, and either an @odata.nextLink or an @odata.deltaLink.Your app should continue calling with the @odata.nextLink until you see an @odata.deltaLink returned. After you received all the changes, you can apply them to your local state.To check for changes in the future, call delta again with the @odata.deltaLink from the previous response. The delta feed shows the latest state for each item, not each change. If an item was renamed twice, it only shows up once, with its latest name.The same item might appear more than once in a delta feed, for various reasons. You should use the last occurrence you see. Deleted items are returned with the deleted facet. Deleted indicates that the item is deleted and can't be restored.Items with this property should be removed from your local state. // returns a ItemListsItemItemsDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/listitem-delta?view=graph-rest-beta func (m *ItemListsItemItemsDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemListsItemItemsDeltaRequestBuilderGetRequestConfiguration)(ItemListsItemItemsDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ItemListsItemItemsDeltaRequestBuilder) GetAsDeltaGetResponse(ctx contex } return res.(ItemListsItemItemsDeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation get newly created, updated, or deleted list items without having to perform a full read of the entire items collection. Your app begins by calling delta without any parameters.The service starts enumerating the hierarchy of the list, returning pages of items, and either an @odata.nextLink or an @odata.deltaLink.Your app should continue calling with the @odata.nextLink until you see an @odata.deltaLink returned. After you received all the changes, you can apply them to your local state.To check for changes in the future, call delta again with the @odata.deltaLink from the previous response. The delta feed shows the latest state for each item, not each change. If an item was renamed twice, it only shows up once, with its latest name.The same item might appear more than once in a delta feed, for various reasons. You should use the last occurrence you see. Deleted items are returned with the deleted facet. Deleted indicates that the item is deleted and can't be restored.Items with this property should be removed from your local state. // returns a *RequestInformation when successful func (m *ItemListsItemItemsDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListsItemItemsDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_lists_item_items_item_create_link_request_builder.go b/sites/item_lists_item_items_item_create_link_request_builder.go index a4507994d95..55ea4d3aa97 100644 --- a/sites/item_lists_item_items_item_create_link_request_builder.go +++ b/sites/item_lists_item_items_item_create_link_request_builder.go @@ -36,7 +36,7 @@ func NewItemListsItemItemsItemCreateLinkRequestBuilder(rawUrl string, requestAda // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/listitem-createlink?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/listitem-createlink?view=graph-rest-beta func (m *ItemListsItemItemsItemCreateLinkRequestBuilder) Post(ctx context.Context, body ItemListsItemItemsItemCreateLinkPostRequestBodyable, requestConfiguration *ItemListsItemItemsItemCreateLinkRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/sites/item_lists_item_items_item_document_set_versions_document_set_version_item_request_builder.go b/sites/item_lists_item_items_item_document_set_versions_document_set_version_item_request_builder.go index e3c7b66c38d..2cc95eba6ba 100644 --- a/sites/item_lists_item_items_item_document_set_versions_document_set_version_item_request_builder.go +++ b/sites/item_lists_item_items_item_document_set_versions_document_set_version_item_request_builder.go @@ -18,7 +18,7 @@ type ItemListsItemItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuild // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemListsItemItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilderGetQueryParameters read the properties and relationships of a documentSetVersion object. +// ItemListsItemItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilderGetQueryParameters version information for a document set version created by a user. type ItemListsItemItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemListsItemItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBu urlParams["request-raw-url"] = rawUrl return NewItemListsItemItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a version of a document set in a list. +// Delete delete navigation property documentSetVersions for sites // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/documentsetversion-delete?view=graph-rest-1.0 func (m *ItemListsItemItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemListsItemItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *ItemListsItemItemsItemDocumentSetVersionsDocumentSetVersionItemRequestB func (m *ItemListsItemItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilder) Fields()(*ItemListsItemItemsItemDocumentSetVersionsItemFieldsRequestBuilder) { return NewItemListsItemItemsItemDocumentSetVersionsItemFieldsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of a documentSetVersion object. +// Get version information for a document set version created by a user. // returns a DocumentSetVersionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/documentsetversion-get?view=graph-rest-1.0 func (m *ItemListsItemItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListsItemItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DocumentSetVersionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -126,7 +120,7 @@ func (m *ItemListsItemItemsItemDocumentSetVersionsDocumentSetVersionItemRequestB func (m *ItemListsItemItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilder) Restore()(*ItemListsItemItemsItemDocumentSetVersionsItemRestoreRequestBuilder) { return NewItemListsItemItemsItemDocumentSetVersionsItemRestoreRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a version of a document set in a list. +// ToDeleteRequestInformation delete navigation property documentSetVersions for sites // returns a *RequestInformation when successful func (m *ItemListsItemItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemListsItemItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -137,7 +131,7 @@ func (m *ItemListsItemItemsItemDocumentSetVersionsDocumentSetVersionItemRequestB requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a documentSetVersion object. +// ToGetRequestInformation version information for a document set version created by a user. // returns a *RequestInformation when successful func (m *ItemListsItemItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListsItemItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_lists_item_items_item_document_set_versions_item_restore_request_builder.go b/sites/item_lists_item_items_item_document_set_versions_item_restore_request_builder.go index 5a4a673ae24..bcebb804448 100644 --- a/sites/item_lists_item_items_item_document_set_versions_item_restore_request_builder.go +++ b/sites/item_lists_item_items_item_document_set_versions_item_restore_request_builder.go @@ -34,7 +34,7 @@ func NewItemListsItemItemsItemDocumentSetVersionsItemRestoreRequestBuilder(rawUr // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/documentsetversion-restore?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/documentsetversion-restore?view=graph-rest-beta func (m *ItemListsItemItemsItemDocumentSetVersionsItemRestoreRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemListsItemItemsItemDocumentSetVersionsItemRestoreRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/sites/item_lists_item_items_item_document_set_versions_request_builder.go b/sites/item_lists_item_items_item_document_set_versions_request_builder.go index 4c23b79f2e9..e22c2fba9ed 100644 --- a/sites/item_lists_item_items_item_document_set_versions_request_builder.go +++ b/sites/item_lists_item_items_item_document_set_versions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemListsItemItemsItemDocumentSetVersionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemListsItemItemsItemDocumentSetVersionsRequestBuilderGetQueryParameters get a list of the versions of a document set item in a list. +// ItemListsItemItemsItemDocumentSetVersionsRequestBuilderGetQueryParameters version information for a document set version created by a user. type ItemListsItemItemsItemDocumentSetVersionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemListsItemItemsItemDocumentSetVersionsRequestBuilder(rawUrl string, r func (m *ItemListsItemItemsItemDocumentSetVersionsRequestBuilder) Count()(*ItemListsItemItemsItemDocumentSetVersionsCountRequestBuilder) { return NewItemListsItemItemsItemDocumentSetVersionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the versions of a document set item in a list. +// Get version information for a document set version created by a user. // returns a DocumentSetVersionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/listitem-list-documentsetversions?view=graph-rest-1.0 func (m *ItemListsItemItemsItemDocumentSetVersionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListsItemItemsItemDocumentSetVersionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DocumentSetVersionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemListsItemItemsItemDocumentSetVersionsRequestBuilder) Get(ctx contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DocumentSetVersionCollectionResponseable), nil } -// Post create a new version of a document set item in a list. +// Post create new navigation property to documentSetVersions for sites // returns a DocumentSetVersionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/listitem-post-documentsetversions?view=graph-rest-1.0 func (m *ItemListsItemItemsItemDocumentSetVersionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DocumentSetVersionable, requestConfiguration *ItemListsItemItemsItemDocumentSetVersionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DocumentSetVersionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemListsItemItemsItemDocumentSetVersionsRequestBuilder) Post(ctx conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DocumentSetVersionable), nil } -// ToGetRequestInformation get a list of the versions of a document set item in a list. +// ToGetRequestInformation version information for a document set version created by a user. // returns a *RequestInformation when successful func (m *ItemListsItemItemsItemDocumentSetVersionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListsItemItemsItemDocumentSetVersionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemListsItemItemsItemDocumentSetVersionsRequestBuilder) ToGetRequestIn requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new version of a document set item in a list. +// ToPostRequestInformation create new navigation property to documentSetVersions for sites // returns a *RequestInformation when successful func (m *ItemListsItemItemsItemDocumentSetVersionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DocumentSetVersionable, requestConfiguration *ItemListsItemItemsItemDocumentSetVersionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_lists_item_items_item_drive_item_request_builder.go b/sites/item_lists_item_items_item_drive_item_request_builder.go index fd9c53b9abe..8e94354dc4b 100644 --- a/sites/item_lists_item_items_item_drive_item_request_builder.go +++ b/sites/item_lists_item_items_item_drive_item_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemListsItemItemsItemDriveItemRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemListsItemItemsItemDriveItemRequestBuilderGetQueryParameters for document libraries, the driveItem relationship exposes the listItem as a [driveItem][] +// ItemListsItemItemsItemDriveItemRequestBuilderGetQueryParameters for document libraries, the driveItem relationship exposes the listItem as a driveItem type ItemListsItemItemsItemDriveItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -50,7 +50,7 @@ func (m *ItemListsItemItemsItemDriveItemRequestBuilder) Content()(*ItemListsItem func (m *ItemListsItemItemsItemDriveItemRequestBuilder) ContentStream()(*ItemListsItemItemsItemDriveItemContentStreamRequestBuilder) { return NewItemListsItemItemsItemDriveItemContentStreamRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get for document libraries, the driveItem relationship exposes the listItem as a [driveItem][] +// Get for document libraries, the driveItem relationship exposes the listItem as a driveItem // returns a DriveItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemListsItemItemsItemDriveItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListsItemItemsItemDriveItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable, error) { @@ -70,7 +70,7 @@ func (m *ItemListsItemItemsItemDriveItemRequestBuilder) Get(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable), nil } -// ToGetRequestInformation for document libraries, the driveItem relationship exposes the listItem as a [driveItem][] +// ToGetRequestInformation for document libraries, the driveItem relationship exposes the listItem as a driveItem // returns a *RequestInformation when successful func (m *ItemListsItemItemsItemDriveItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListsItemItemsItemDriveItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_lists_item_items_item_fields_request_builder.go b/sites/item_lists_item_items_item_fields_request_builder.go index 0d8099b0eaa..642411e40c5 100644 --- a/sites/item_lists_item_items_item_fields_request_builder.go +++ b/sites/item_lists_item_items_item_fields_request_builder.go @@ -90,12 +90,9 @@ func (m *ItemListsItemItemsItemFieldsRequestBuilder) Get(ctx context.Context, re } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FieldValueSetable), nil } -// Patch update the properties on a [listItem][]. +// Patch update the navigation property fields in sites // returns a FieldValueSetable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/listitem-update?view=graph-rest-1.0 func (m *ItemListsItemItemsItemFieldsRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FieldValueSetable, requestConfiguration *ItemListsItemItemsItemFieldsRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FieldValueSetable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -138,7 +135,7 @@ func (m *ItemListsItemItemsItemFieldsRequestBuilder) ToGetRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties on a [listItem][]. +// ToPatchRequestInformation update the navigation property fields in sites // returns a *RequestInformation when successful func (m *ItemListsItemItemsItemFieldsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FieldValueSetable, requestConfiguration *ItemListsItemItemsItemFieldsRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_lists_item_items_list_item_item_request_builder.go b/sites/item_lists_item_items_list_item_item_request_builder.go index 3dd7468b330..e752d66f9c1 100644 --- a/sites/item_lists_item_items_list_item_item_request_builder.go +++ b/sites/item_lists_item_items_list_item_item_request_builder.go @@ -18,7 +18,7 @@ type ItemListsItemItemsListItemItemRequestBuilderDeleteRequestConfiguration stru // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemListsItemItemsListItemItemRequestBuilderGetQueryParameters returns the metadata for an [item][] in a [list][]. +// ItemListsItemItemsListItemItemRequestBuilderGetQueryParameters all items contained in the list. type ItemListsItemItemsListItemItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -74,11 +74,8 @@ func (m *ItemListsItemItemsListItemItemRequestBuilder) CreatedByUser()(*ItemList func (m *ItemListsItemItemsListItemItemRequestBuilder) CreateLink()(*ItemListsItemItemsItemCreateLinkRequestBuilder) { return NewItemListsItemItemsItemCreateLinkRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Delete removes an item from a [list][]. +// Delete delete navigation property items for sites // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/listitem-delete?view=graph-rest-1.0 func (m *ItemListsItemItemsListItemItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemListsItemItemsListItemItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -108,12 +105,9 @@ func (m *ItemListsItemItemsListItemItemRequestBuilder) DriveItem()(*ItemListsIte func (m *ItemListsItemItemsListItemItemRequestBuilder) Fields()(*ItemListsItemItemsItemFieldsRequestBuilder) { return NewItemListsItemItemsItemFieldsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get returns the metadata for an [item][] in a [list][]. +// Get all items contained in the list. // returns a ListItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/listitem-get?view=graph-rest-1.0 func (m *ItemListsItemItemsListItemItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListsItemItemsListItemItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ListItemable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -161,7 +155,7 @@ func (m *ItemListsItemItemsListItemItemRequestBuilder) Patch(ctx context.Context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ListItemable), nil } -// ToDeleteRequestInformation removes an item from a [list][]. +// ToDeleteRequestInformation delete navigation property items for sites // returns a *RequestInformation when successful func (m *ItemListsItemItemsListItemItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemListsItemItemsListItemItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -172,7 +166,7 @@ func (m *ItemListsItemItemsListItemItemRequestBuilder) ToDeleteRequestInformatio requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation returns the metadata for an [item][] in a [list][]. +// ToGetRequestInformation all items contained in the list. // returns a *RequestInformation when successful func (m *ItemListsItemItemsListItemItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListsItemItemsListItemItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_lists_item_items_request_builder.go b/sites/item_lists_item_items_request_builder.go index 1d59f2247e6..b94f79f46a0 100644 --- a/sites/item_lists_item_items_request_builder.go +++ b/sites/item_lists_item_items_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemListsItemItemsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemListsItemItemsRequestBuilderGetQueryParameters get the collection of [items][item] in a [list][]. +// ItemListsItemItemsRequestBuilderGetQueryParameters all items contained in the list. type ItemListsItemItemsRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -79,12 +79,9 @@ func (m *ItemListsItemItemsRequestBuilder) Delta()(*ItemListsItemItemsDeltaReque func (m *ItemListsItemItemsRequestBuilder) DeltaWithToken(token *string)(*ItemListsItemItemsDeltaWithTokenRequestBuilder) { return NewItemListsItemItemsDeltaWithTokenRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, token) } -// Get get the collection of [items][item] in a [list][]. +// Get all items contained in the list. // returns a ListItemCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/listitem-list?view=graph-rest-1.0 func (m *ItemListsItemItemsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListsItemItemsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ListItemCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemListsItemItemsRequestBuilder) Get(ctx context.Context, requestConfi } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ListItemCollectionResponseable), nil } -// Post create a new [listItem][] in a [list][]. +// Post create new navigation property to items for sites // returns a ListItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/listitem-create?view=graph-rest-1.0 func (m *ItemListsItemItemsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ListItemable, requestConfiguration *ItemListsItemItemsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ListItemable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemListsItemItemsRequestBuilder) Post(ctx context.Context, body ie233e } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ListItemable), nil } -// ToGetRequestInformation get the collection of [items][item] in a [list][]. +// ToGetRequestInformation all items contained in the list. // returns a *RequestInformation when successful func (m *ItemListsItemItemsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListsItemItemsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemListsItemItemsRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new [listItem][] in a [list][]. +// ToPostRequestInformation create new navigation property to items for sites // returns a *RequestInformation when successful func (m *ItemListsItemItemsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ListItemable, requestConfiguration *ItemListsItemItemsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_lists_item_subscriptions_item_reauthorize_request_builder.go b/sites/item_lists_item_subscriptions_item_reauthorize_request_builder.go index efde4dcf3c0..b4996a8e440 100644 --- a/sites/item_lists_item_subscriptions_item_reauthorize_request_builder.go +++ b/sites/item_lists_item_subscriptions_item_reauthorize_request_builder.go @@ -34,7 +34,7 @@ func NewItemListsItemSubscriptionsItemReauthorizeRequestBuilder(rawUrl string, r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/subscription-reauthorize?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/subscription-reauthorize?view=graph-rest-beta func (m *ItemListsItemSubscriptionsItemReauthorizeRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemListsItemSubscriptionsItemReauthorizeRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/sites/item_lists_list_item_request_builder.go b/sites/item_lists_list_item_request_builder.go index 3bc6ad472b3..aeba1d088bf 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 the collection of lists under this site. type ItemListsListItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -95,12 +95,9 @@ 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 the collection of lists under this site. // returns a Listable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/list-list-operations?view=graph-rest-1.0 func (m *ItemListsListItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListsListItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Listable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -169,7 +166,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 the collection of lists under this site. // 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_lists_request_builder.go b/sites/item_lists_request_builder.go index 0131c669eb7..1465b41c0fd 100644 --- a/sites/item_lists_request_builder.go +++ b/sites/item_lists_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemListsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemListsRequestBuilderGetQueryParameters get the collection of [lists][] for a [site][]. Lists with the [system][] facet are hidden by default.To list them, include system in your $select statement. +// ItemListsRequestBuilderGetQueryParameters the collection of lists under this site. type ItemListsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemListsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee2633 func (m *ItemListsRequestBuilder) Count()(*ItemListsCountRequestBuilder) { return NewItemListsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the collection of [lists][] for a [site][]. Lists with the [system][] facet are hidden by default.To list them, include system in your $select statement. +// Get the collection of lists under this site. // returns a ListCollectionResponseable when successful // returns a ODataError error 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?view=graph-rest-1.0 func (m *ItemListsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ListCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemListsRequestBuilder) Get(ctx context.Context, requestConfiguration } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ListCollectionResponseable), nil } -// Post create a new [list][] in a [site][]. +// Post create new navigation property to lists for sites // 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-create?view=graph-rest-1.0 func (m *ItemListsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Listable, requestConfiguration *ItemListsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Listable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemListsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Listable), nil } -// ToGetRequestInformation get the collection of [lists][] for a [site][]. Lists with the [system][] facet are hidden by default.To list them, include system in your $select statement. +// ToGetRequestInformation the collection of lists under this site. // returns a *RequestInformation when successful func (m *ItemListsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemListsRequestBuilder) ToGetRequestInformation(ctx context.Context, r requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new [list][] in a [site][]. +// ToPostRequestInformation create new navigation property to lists for sites // returns a *RequestInformation when successful func (m *ItemListsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Listable, requestConfiguration *ItemListsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_onenote_notebooks_get_notebook_from_web_url_request_builder.go b/sites/item_onenote_notebooks_get_notebook_from_web_url_request_builder.go index d29afe70946..0f01120bbe0 100644 --- a/sites/item_onenote_notebooks_get_notebook_from_web_url_request_builder.go +++ b/sites/item_onenote_notebooks_get_notebook_from_web_url_request_builder.go @@ -36,7 +36,7 @@ func NewItemOnenoteNotebooksGetNotebookFromWebUrlRequestBuilder(rawUrl string, r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/notebook-getnotebookfromweburl?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/notebook-getnotebookfromweburl?view=graph-rest-beta func (m *ItemOnenoteNotebooksGetNotebookFromWebUrlRequestBuilder) Post(ctx context.Context, body ItemOnenoteNotebooksGetNotebookFromWebUrlPostRequestBodyable, requestConfiguration *ItemOnenoteNotebooksGetNotebookFromWebUrlRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CopyNotebookModelable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/sites/item_onenote_notebooks_get_recent_notebooks_with_include_personal_notebooks_request_builder.go b/sites/item_onenote_notebooks_get_recent_notebooks_with_include_personal_notebooks_request_builder.go index 8e45cc3f73d..fac1c5addc2 100644 --- a/sites/item_onenote_notebooks_get_recent_notebooks_with_include_personal_notebooks_request_builder.go +++ b/sites/item_onenote_notebooks_get_recent_notebooks_with_include_personal_notebooks_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilderGetQueryParameters invoke function getRecentNotebooks +// ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilderGetQueryParameters get a list of recentNotebook instances that have been accessed by the signed-in user. type ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -49,10 +49,13 @@ func NewItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksReques urlParams["request-raw-url"] = rawUrl return NewItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function getRecentNotebooks +// Get get a list of recentNotebook instances that have been accessed by the signed-in user. // Deprecated: This method is obsolete. Use GetAsGetRecentNotebooksWithIncludePersonalNotebooksGetResponse instead. // returns a ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/notebook-getrecentnotebooks?view=graph-rest-beta func (m *ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilderGetRequestConfiguration)(ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -70,9 +73,12 @@ func (m *ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksReque } return res.(ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksResponseable), nil } -// GetAsGetRecentNotebooksWithIncludePersonalNotebooksGetResponse invoke function getRecentNotebooks +// GetAsGetRecentNotebooksWithIncludePersonalNotebooksGetResponse get a list of recentNotebook instances that have been accessed by the signed-in user. // returns a ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/notebook-getrecentnotebooks?view=graph-rest-beta func (m *ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder) GetAsGetRecentNotebooksWithIncludePersonalNotebooksGetResponse(ctx context.Context, requestConfiguration *ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilderGetRequestConfiguration)(ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -90,7 +96,7 @@ func (m *ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksReque } return res.(ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksGetResponseable), nil } -// ToGetRequestInformation invoke function getRecentNotebooks +// ToGetRequestInformation get a list of recentNotebook instances that have been accessed by the signed-in user. // returns a *RequestInformation when successful func (m *ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_onenote_notebooks_item_copy_notebook_request_builder.go b/sites/item_onenote_notebooks_item_copy_notebook_request_builder.go index d4dd189a604..167198afce9 100644 --- a/sites/item_onenote_notebooks_item_copy_notebook_request_builder.go +++ b/sites/item_onenote_notebooks_item_copy_notebook_request_builder.go @@ -36,7 +36,7 @@ func NewItemOnenoteNotebooksItemCopyNotebookRequestBuilder(rawUrl string, reques // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/notebook-copynotebook?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/notebook-copynotebook?view=graph-rest-beta func (m *ItemOnenoteNotebooksItemCopyNotebookRequestBuilder) Post(ctx context.Context, body ItemOnenoteNotebooksItemCopyNotebookPostRequestBodyable, requestConfiguration *ItemOnenoteNotebooksItemCopyNotebookRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/sites/item_onenote_notebooks_item_section_groups_item_section_groups_request_builder.go b/sites/item_onenote_notebooks_item_section_groups_item_section_groups_request_builder.go index 720d9b3f8f2..8d4140ff69c 100644 --- a/sites/item_onenote_notebooks_item_section_groups_item_section_groups_request_builder.go +++ b/sites/item_onenote_notebooks_item_section_groups_item_section_groups_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilderGetQueryParameters retrieve a list of section groups from the specified section group. +// ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilderGetQueryParameters the section groups in the section. Read-only. Nullable. type ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilder(raw func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilder) Count()(*ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsCountRequestBuilder) { return NewItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of section groups from the specified section group. +// Get the section groups in the section. Read-only. Nullable. // returns a SectionGroupCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sectiongroup-list-sectiongroups?view=graph-rest-1.0 func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilder) G } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupCollectionResponseable), nil } -// ToGetRequestInformation retrieve a list of section groups from the specified section group. +// ToGetRequestInformation the section groups in the section. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_notebook_request_builder.go b/sites/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_notebook_request_builder.go index f51d5686614..063729c1416 100644 --- a/sites/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_notebook_request_builder.go +++ b/sites/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_notebook_request_builder.go @@ -36,7 +36,7 @@ func NewItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookReque // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytonotebook?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytonotebook?view=graph-rest-beta func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookRequestBuilder) Post(ctx context.Context, body ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookPostRequestBodyable, requestConfiguration *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/sites/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_section_group_request_builder.go b/sites/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_section_group_request_builder.go index 1d5d8e9a9a8..036895807d7 100644 --- a/sites/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_section_group_request_builder.go +++ b/sites/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_section_group_request_builder.go @@ -36,7 +36,7 @@ func NewItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupR // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytosectiongroup?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytosectiongroup?view=graph-rest-beta func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupRequestBuilder) Post(ctx context.Context, body ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBodyable, requestConfiguration *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go b/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go index b568bed1db0..ab64590ac8c 100644 --- a/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go +++ b/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go @@ -36,7 +36,7 @@ func NewItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSect // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/page-copytosection?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/page-copytosection?view=graph-rest-beta func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionRequestBuilder) Post(ctx context.Context, body ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBodyable, requestConfiguration *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/sites/item_onenote_notebooks_item_section_groups_item_sections_request_builder.go b/sites/item_onenote_notebooks_item_section_groups_item_sections_request_builder.go index b029ddd32e5..203e2816358 100644 --- a/sites/item_onenote_notebooks_item_section_groups_item_sections_request_builder.go +++ b/sites/item_onenote_notebooks_item_section_groups_item_sections_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilderGetQueryParameters retrieve a list of onenoteSection objects from the specified section group. +// ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilderGetQueryParameters the sections in the section group. Read-only. Nullable. type ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder(rawUrl s func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder) Count()(*ItemOnenoteNotebooksItemSectionGroupsItemSectionsCountRequestBuilder) { return NewItemOnenoteNotebooksItemSectionGroupsItemSectionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of onenoteSection objects from the specified section group. +// Get the sections in the section group. Read-only. Nullable. // returns a OnenoteSectionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sectiongroup-list-sections?view=graph-rest-1.0 func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder) Get(ct } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionCollectionResponseable), nil } -// Post create a new section in the specified section group. +// Post create new navigation property to sections for sites // returns a OnenoteSectionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sectiongroup-post-sections?view=graph-rest-1.0 func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable, requestConfiguration *ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder) Post(c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable), nil } -// ToGetRequestInformation retrieve a list of onenoteSection objects from the specified section group. +// ToGetRequestInformation the sections in the section group. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder) ToGetR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new section in the specified section group. +// ToPostRequestInformation create new navigation property to sections for sites // returns a *RequestInformation when successful func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable, requestConfiguration *ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_onenote_notebooks_item_section_groups_request_builder.go b/sites/item_onenote_notebooks_item_section_groups_request_builder.go index a948950561d..02e6277582f 100644 --- a/sites/item_onenote_notebooks_item_section_groups_request_builder.go +++ b/sites/item_onenote_notebooks_item_section_groups_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOnenoteNotebooksItemSectionGroupsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOnenoteNotebooksItemSectionGroupsRequestBuilderGetQueryParameters retrieve a list of section groups from the specified notebook. +// ItemOnenoteNotebooksItemSectionGroupsRequestBuilderGetQueryParameters the section groups in the notebook. Read-only. Nullable. type ItemOnenoteNotebooksItemSectionGroupsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemOnenoteNotebooksItemSectionGroupsRequestBuilder(rawUrl string, reque func (m *ItemOnenoteNotebooksItemSectionGroupsRequestBuilder) Count()(*ItemOnenoteNotebooksItemSectionGroupsCountRequestBuilder) { return NewItemOnenoteNotebooksItemSectionGroupsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of section groups from the specified notebook. +// Get the section groups in the notebook. Read-only. Nullable. // returns a SectionGroupCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/notebook-list-sectiongroups?view=graph-rest-1.0 func (m *ItemOnenoteNotebooksItemSectionGroupsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteNotebooksItemSectionGroupsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsRequestBuilder) Get(ctx context.Co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupCollectionResponseable), nil } -// Post create a new section group in the specified notebook. +// Post create new navigation property to sectionGroups for sites // returns a SectionGroupable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/notebook-post-sectiongroups?view=graph-rest-1.0 func (m *ItemOnenoteNotebooksItemSectionGroupsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupable, requestConfiguration *ItemOnenoteNotebooksItemSectionGroupsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsRequestBuilder) Post(ctx context.C } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupable), nil } -// ToGetRequestInformation retrieve a list of section groups from the specified notebook. +// ToGetRequestInformation the section groups in the notebook. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemOnenoteNotebooksItemSectionGroupsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnenoteNotebooksItemSectionGroupsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsRequestBuilder) ToGetRequestInform requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new section group in the specified notebook. +// ToPostRequestInformation create new navigation property to sectionGroups for sites // returns a *RequestInformation when successful func (m *ItemOnenoteNotebooksItemSectionGroupsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupable, requestConfiguration *ItemOnenoteNotebooksItemSectionGroupsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_onenote_notebooks_item_sections_item_copy_to_notebook_request_builder.go b/sites/item_onenote_notebooks_item_sections_item_copy_to_notebook_request_builder.go index 99d912763c7..8c400692d54 100644 --- a/sites/item_onenote_notebooks_item_sections_item_copy_to_notebook_request_builder.go +++ b/sites/item_onenote_notebooks_item_sections_item_copy_to_notebook_request_builder.go @@ -36,7 +36,7 @@ func NewItemOnenoteNotebooksItemSectionsItemCopyToNotebookRequestBuilder(rawUrl // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytonotebook?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytonotebook?view=graph-rest-beta func (m *ItemOnenoteNotebooksItemSectionsItemCopyToNotebookRequestBuilder) Post(ctx context.Context, body ItemOnenoteNotebooksItemSectionsItemCopyToNotebookPostRequestBodyable, requestConfiguration *ItemOnenoteNotebooksItemSectionsItemCopyToNotebookRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/sites/item_onenote_notebooks_item_sections_item_copy_to_section_group_request_builder.go b/sites/item_onenote_notebooks_item_sections_item_copy_to_section_group_request_builder.go index 921a45f78d3..16b78771f11 100644 --- a/sites/item_onenote_notebooks_item_sections_item_copy_to_section_group_request_builder.go +++ b/sites/item_onenote_notebooks_item_sections_item_copy_to_section_group_request_builder.go @@ -36,7 +36,7 @@ func NewItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupRequestBuilder(raw // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytosectiongroup?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytosectiongroup?view=graph-rest-beta func (m *ItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupRequestBuilder) Post(ctx context.Context, body ItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupPostRequestBodyable, requestConfiguration *ItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/sites/item_onenote_notebooks_item_sections_item_pages_item_copy_to_section_request_builder.go b/sites/item_onenote_notebooks_item_sections_item_pages_item_copy_to_section_request_builder.go index c240078d8fe..f3bb2c0f696 100644 --- a/sites/item_onenote_notebooks_item_sections_item_pages_item_copy_to_section_request_builder.go +++ b/sites/item_onenote_notebooks_item_sections_item_pages_item_copy_to_section_request_builder.go @@ -36,7 +36,7 @@ func NewItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionRequestBuilder // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/page-copytosection?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/page-copytosection?view=graph-rest-beta func (m *ItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionRequestBuilder) Post(ctx context.Context, body ItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionPostRequestBodyable, requestConfiguration *ItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/sites/item_onenote_notebooks_item_sections_request_builder.go b/sites/item_onenote_notebooks_item_sections_request_builder.go index b872a161a41..b468fce6f26 100644 --- a/sites/item_onenote_notebooks_item_sections_request_builder.go +++ b/sites/item_onenote_notebooks_item_sections_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOnenoteNotebooksItemSectionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOnenoteNotebooksItemSectionsRequestBuilderGetQueryParameters retrieve a list of section objects from the specified notebook. +// ItemOnenoteNotebooksItemSectionsRequestBuilderGetQueryParameters the sections in the notebook. Read-only. Nullable. type ItemOnenoteNotebooksItemSectionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemOnenoteNotebooksItemSectionsRequestBuilder(rawUrl string, requestAda func (m *ItemOnenoteNotebooksItemSectionsRequestBuilder) Count()(*ItemOnenoteNotebooksItemSectionsCountRequestBuilder) { return NewItemOnenoteNotebooksItemSectionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of section objects from the specified notebook. +// Get the sections in the notebook. Read-only. Nullable. // returns a OnenoteSectionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/notebook-list-sections?view=graph-rest-1.0 func (m *ItemOnenoteNotebooksItemSectionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteNotebooksItemSectionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemOnenoteNotebooksItemSectionsRequestBuilder) Get(ctx context.Context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionCollectionResponseable), nil } -// Post create a new section in the specified notebook. +// Post create new navigation property to sections for sites // returns a OnenoteSectionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/notebook-post-sections?view=graph-rest-1.0 func (m *ItemOnenoteNotebooksItemSectionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable, requestConfiguration *ItemOnenoteNotebooksItemSectionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemOnenoteNotebooksItemSectionsRequestBuilder) Post(ctx context.Contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable), nil } -// ToGetRequestInformation retrieve a list of section objects from the specified notebook. +// ToGetRequestInformation the sections in the notebook. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemOnenoteNotebooksItemSectionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnenoteNotebooksItemSectionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemOnenoteNotebooksItemSectionsRequestBuilder) ToGetRequestInformation requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new section in the specified notebook. +// ToPostRequestInformation create new navigation property to sections for sites // returns a *RequestInformation when successful func (m *ItemOnenoteNotebooksItemSectionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable, requestConfiguration *ItemOnenoteNotebooksItemSectionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, 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 33563542bb8..f49636443b4 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 retrieve the properties and relationships of a notebook object. +// ItemOnenoteNotebooksNotebookItemRequestBuilderGetQueryParameters the collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable. type ItemOnenoteNotebooksNotebookItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *ItemOnenoteNotebooksNotebookItemRequestBuilder) Delete(ctx context.Cont } return nil } -// Get retrieve the properties and relationships of a notebook object. +// Get the collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable. // returns a Notebookable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/notebook-get?view=graph-rest-1.0 func (m *ItemOnenoteNotebooksNotebookItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteNotebooksNotebookItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Notebookable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -139,7 +136,7 @@ func (m *ItemOnenoteNotebooksNotebookItemRequestBuilder) ToDeleteRequestInformat requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a notebook object. +// ToGetRequestInformation the collection of OneNote notebooks that are owned by the user or group. 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 9fd754cf01f..43add191759 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 retrieve a list of notebook objects. +// ItemOnenoteNotebooksRequestBuilderGetQueryParameters the collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable. type ItemOnenoteNotebooksRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemOnenoteNotebooksRequestBuilder(rawUrl string, requestAdapter i2ae418 func (m *ItemOnenoteNotebooksRequestBuilder) Count()(*ItemOnenoteNotebooksCountRequestBuilder) { return NewItemOnenoteNotebooksCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of notebook objects. +// Get the collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable. // returns a NotebookCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/onenote-list-notebooks?view=graph-rest-1.0 func (m *ItemOnenoteNotebooksRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteNotebooksRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NotebookCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -109,12 +106,9 @@ func (m *ItemOnenoteNotebooksRequestBuilder) GetNotebookFromWebUrl()(*ItemOnenot func (m *ItemOnenoteNotebooksRequestBuilder) GetRecentNotebooksWithIncludePersonalNotebooks(includePersonalNotebooks *bool)(*ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder) { return NewItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, includePersonalNotebooks) } -// Post create a new OneNote notebook. +// Post create new navigation property to notebooks for sites // returns a Notebookable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/onenote-post-notebooks?view=graph-rest-1.0 func (m *ItemOnenoteNotebooksRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Notebookable, requestConfiguration *ItemOnenoteNotebooksRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Notebookable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -132,7 +126,7 @@ func (m *ItemOnenoteNotebooksRequestBuilder) Post(ctx context.Context, body ie23 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Notebookable), nil } -// ToGetRequestInformation retrieve a list of notebook objects. +// ToGetRequestInformation the collection of OneNote notebooks that are owned by the user or group. 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) @@ -146,7 +140,7 @@ func (m *ItemOnenoteNotebooksRequestBuilder) ToGetRequestInformation(ctx context requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new OneNote notebook. +// ToPostRequestInformation create new navigation property to notebooks for sites // returns a *RequestInformation when successful func (m *ItemOnenoteNotebooksRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Notebookable, requestConfiguration *ItemOnenoteNotebooksRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_onenote_operations_onenote_operation_item_request_builder.go b/sites/item_onenote_operations_onenote_operation_item_request_builder.go index a1d3a462513..0fd41d7c2f2 100644 --- a/sites/item_onenote_operations_onenote_operation_item_request_builder.go +++ b/sites/item_onenote_operations_onenote_operation_item_request_builder.go @@ -18,7 +18,7 @@ type ItemOnenoteOperationsOnenoteOperationItemRequestBuilderDeleteRequestConfigu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemOnenoteOperationsOnenoteOperationItemRequestBuilderGetQueryParameters get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. +// ItemOnenoteOperationsOnenoteOperationItemRequestBuilderGetQueryParameters the status of OneNote operations. Getting an operations collection isn't supported, but you can get the status of long-running operations if the Operation-Location header is returned in the response. Read-only. Nullable. type ItemOnenoteOperationsOnenoteOperationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemOnenoteOperationsOnenoteOperationItemRequestBuilder) Delete(ctx con } return nil } -// Get get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. +// Get the status of OneNote operations. Getting an operations collection isn't supported, but you can get the status of long-running operations if the Operation-Location header is returned in the response. Read-only. Nullable. // returns a OnenoteOperationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/onenoteoperation-get?view=graph-rest-1.0 func (m *ItemOnenoteOperationsOnenoteOperationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteOperationsOnenoteOperationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemOnenoteOperationsOnenoteOperationItemRequestBuilder) ToDeleteReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. +// ToGetRequestInformation the status of OneNote operations. Getting an operations collection isn't supported, but you can get the status of long-running operations if the Operation-Location header is returned in the response. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemOnenoteOperationsOnenoteOperationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnenoteOperationsOnenoteOperationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_onenote_operations_request_builder.go b/sites/item_onenote_operations_request_builder.go index ed76bbf6bd7..564a8338736 100644 --- a/sites/item_onenote_operations_request_builder.go +++ b/sites/item_onenote_operations_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOnenoteOperationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOnenoteOperationsRequestBuilderGetQueryParameters get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. +// ItemOnenoteOperationsRequestBuilderGetQueryParameters the status of OneNote operations. Getting an operations collection isn't supported, but you can get the status of long-running operations if the Operation-Location header is returned in the response. Read-only. Nullable. type ItemOnenoteOperationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewItemOnenoteOperationsRequestBuilder(rawUrl string, requestAdapter i2ae41 func (m *ItemOnenoteOperationsRequestBuilder) Count()(*ItemOnenoteOperationsCountRequestBuilder) { return NewItemOnenoteOperationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. +// Get the status of OneNote operations. Getting an operations collection isn't supported, but you can get the status of long-running operations if the Operation-Location header is returned in the response. Read-only. Nullable. // returns a OnenoteOperationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemOnenoteOperationsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteOperationsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *ItemOnenoteOperationsRequestBuilder) Post(ctx context.Context, body ie2 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable), nil } -// ToGetRequestInformation get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. +// ToGetRequestInformation the status of OneNote operations. Getting an operations collection isn't supported, but you can get the status of long-running operations if the Operation-Location header is returned in the response. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemOnenoteOperationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnenoteOperationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_onenote_pages_item_copy_to_section_request_builder.go b/sites/item_onenote_pages_item_copy_to_section_request_builder.go index a6e86eb2e28..81311dd5f2c 100644 --- a/sites/item_onenote_pages_item_copy_to_section_request_builder.go +++ b/sites/item_onenote_pages_item_copy_to_section_request_builder.go @@ -36,7 +36,7 @@ func NewItemOnenotePagesItemCopyToSectionRequestBuilder(rawUrl string, requestAd // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/page-copytosection?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/page-copytosection?view=graph-rest-beta func (m *ItemOnenotePagesItemCopyToSectionRequestBuilder) Post(ctx context.Context, body ItemOnenotePagesItemCopyToSectionPostRequestBodyable, requestConfiguration *ItemOnenotePagesItemCopyToSectionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { 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 36749a51ba8..f4e1e4fddaa 100644 --- a/sites/item_onenote_pages_onenote_page_item_request_builder.go +++ b/sites/item_onenote_pages_onenote_page_item_request_builder.go @@ -64,11 +64,8 @@ func (m *ItemOnenotePagesOnenotePageItemRequestBuilder) Content()(*ItemOnenotePa func (m *ItemOnenotePagesOnenotePageItemRequestBuilder) CopyToSection()(*ItemOnenotePagesItemCopyToSectionRequestBuilder) { return NewItemOnenotePagesItemCopyToSectionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Delete delete a OneNote page. +// Delete delete navigation property pages for sites // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/page-delete?view=graph-rest-1.0 func (m *ItemOnenotePagesOnenotePageItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemOnenotePagesOnenotePageItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -143,7 +140,7 @@ func (m *ItemOnenotePagesOnenotePageItemRequestBuilder) Patch(ctx context.Contex func (m *ItemOnenotePagesOnenotePageItemRequestBuilder) Preview()(*ItemOnenotePagesItemPreviewRequestBuilder) { return NewItemOnenotePagesItemPreviewRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a OneNote page. +// ToDeleteRequestInformation delete navigation property pages for sites // returns a *RequestInformation when successful func (m *ItemOnenotePagesOnenotePageItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemOnenotePagesOnenotePageItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_onenote_section_groups_item_section_groups_request_builder.go b/sites/item_onenote_section_groups_item_section_groups_request_builder.go index 16cd2d5fda6..eb1d62f27a3 100644 --- a/sites/item_onenote_section_groups_item_section_groups_request_builder.go +++ b/sites/item_onenote_section_groups_item_section_groups_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOnenoteSectionGroupsItemSectionGroupsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOnenoteSectionGroupsItemSectionGroupsRequestBuilderGetQueryParameters retrieve a list of section groups from the specified section group. +// ItemOnenoteSectionGroupsItemSectionGroupsRequestBuilderGetQueryParameters the section groups in the section. Read-only. Nullable. type ItemOnenoteSectionGroupsItemSectionGroupsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewItemOnenoteSectionGroupsItemSectionGroupsRequestBuilder(rawUrl string, r func (m *ItemOnenoteSectionGroupsItemSectionGroupsRequestBuilder) Count()(*ItemOnenoteSectionGroupsItemSectionGroupsCountRequestBuilder) { return NewItemOnenoteSectionGroupsItemSectionGroupsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of section groups from the specified section group. +// Get the section groups in the section. Read-only. Nullable. // returns a SectionGroupCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sectiongroup-list-sectiongroups?view=graph-rest-1.0 func (m *ItemOnenoteSectionGroupsItemSectionGroupsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteSectionGroupsItemSectionGroupsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionGroupsRequestBuilder) Get(ctx contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupCollectionResponseable), nil } -// ToGetRequestInformation retrieve a list of section groups from the specified section group. +// ToGetRequestInformation the section groups in the section. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemOnenoteSectionGroupsItemSectionGroupsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnenoteSectionGroupsItemSectionGroupsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_onenote_section_groups_item_sections_item_copy_to_notebook_request_builder.go b/sites/item_onenote_section_groups_item_sections_item_copy_to_notebook_request_builder.go index 7c70fb157ee..c513f163e73 100644 --- a/sites/item_onenote_section_groups_item_sections_item_copy_to_notebook_request_builder.go +++ b/sites/item_onenote_section_groups_item_sections_item_copy_to_notebook_request_builder.go @@ -36,7 +36,7 @@ func NewItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookRequestBuilder(raw // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytonotebook?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytonotebook?view=graph-rest-beta func (m *ItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookRequestBuilder) Post(ctx context.Context, body ItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookPostRequestBodyable, requestConfiguration *ItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/sites/item_onenote_section_groups_item_sections_item_copy_to_section_group_request_builder.go b/sites/item_onenote_section_groups_item_sections_item_copy_to_section_group_request_builder.go index c64d6b8ffa5..e1bd475165e 100644 --- a/sites/item_onenote_section_groups_item_sections_item_copy_to_section_group_request_builder.go +++ b/sites/item_onenote_section_groups_item_sections_item_copy_to_section_group_request_builder.go @@ -36,7 +36,7 @@ func NewItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupRequestBuilder // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytosectiongroup?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytosectiongroup?view=graph-rest-beta func (m *ItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupRequestBuilder) Post(ctx context.Context, body ItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBodyable, requestConfiguration *ItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/sites/item_onenote_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go b/sites/item_onenote_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go index 31390702ce6..9fd5ac64443 100644 --- a/sites/item_onenote_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go +++ b/sites/item_onenote_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go @@ -36,7 +36,7 @@ func NewItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionRequestBui // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/page-copytosection?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/page-copytosection?view=graph-rest-beta func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionRequestBuilder) Post(ctx context.Context, body ItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBodyable, requestConfiguration *ItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/sites/item_onenote_section_groups_item_sections_request_builder.go b/sites/item_onenote_section_groups_item_sections_request_builder.go index b278573e84f..c907f4cc3b1 100644 --- a/sites/item_onenote_section_groups_item_sections_request_builder.go +++ b/sites/item_onenote_section_groups_item_sections_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOnenoteSectionGroupsItemSectionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOnenoteSectionGroupsItemSectionsRequestBuilderGetQueryParameters retrieve a list of onenoteSection objects from the specified section group. +// ItemOnenoteSectionGroupsItemSectionsRequestBuilderGetQueryParameters the sections in the section group. Read-only. Nullable. type ItemOnenoteSectionGroupsItemSectionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemOnenoteSectionGroupsItemSectionsRequestBuilder(rawUrl string, reques func (m *ItemOnenoteSectionGroupsItemSectionsRequestBuilder) Count()(*ItemOnenoteSectionGroupsItemSectionsCountRequestBuilder) { return NewItemOnenoteSectionGroupsItemSectionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of onenoteSection objects from the specified section group. +// Get the sections in the section group. Read-only. Nullable. // returns a OnenoteSectionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sectiongroup-list-sections?view=graph-rest-1.0 func (m *ItemOnenoteSectionGroupsItemSectionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteSectionGroupsItemSectionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemOnenoteSectionGroupsItemSectionsRequestBuilder) Get(ctx context.Con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionCollectionResponseable), nil } -// Post create a new section in the specified section group. +// Post create new navigation property to sections for sites // returns a OnenoteSectionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sectiongroup-post-sections?view=graph-rest-1.0 func (m *ItemOnenoteSectionGroupsItemSectionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable, requestConfiguration *ItemOnenoteSectionGroupsItemSectionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsRequestBuilder) Post(ctx context.Co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable), nil } -// ToGetRequestInformation retrieve a list of onenoteSection objects from the specified section group. +// ToGetRequestInformation the sections in the section group. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemOnenoteSectionGroupsItemSectionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnenoteSectionGroupsItemSectionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsRequestBuilder) ToGetRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new section in the specified section group. +// ToPostRequestInformation create new navigation property to sections for sites // returns a *RequestInformation when successful func (m *ItemOnenoteSectionGroupsItemSectionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable, requestConfiguration *ItemOnenoteSectionGroupsItemSectionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, 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 f911486cbd3..46ef319c362 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 retrieve a list of sectionGroup objects. +// ItemOnenoteSectionGroupsRequestBuilderGetQueryParameters the section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. type ItemOnenoteSectionGroupsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemOnenoteSectionGroupsRequestBuilder(rawUrl string, requestAdapter i2a func (m *ItemOnenoteSectionGroupsRequestBuilder) Count()(*ItemOnenoteSectionGroupsCountRequestBuilder) { return NewItemOnenoteSectionGroupsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of sectionGroup objects. +// Get the section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. // returns a SectionGroupCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/onenote-list-sectiongroups?view=graph-rest-1.0 func (m *ItemOnenoteSectionGroupsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteSectionGroupsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemOnenoteSectionGroupsRequestBuilder) Post(ctx context.Context, body } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupable), nil } -// ToGetRequestInformation retrieve a list of sectionGroup objects. +// ToGetRequestInformation the section groups in all OneNote notebooks that are owned by the user or group. 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 0e247463265..a360f3b2562 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 retrieve the properties and relationships of a sectionGroup object. +// ItemOnenoteSectionGroupsSectionGroupItemRequestBuilderGetQueryParameters the section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. type ItemOnenoteSectionGroupsSectionGroupItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemOnenoteSectionGroupsSectionGroupItemRequestBuilder) Delete(ctx cont } return nil } -// Get retrieve the properties and relationships of a sectionGroup object. +// Get the section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. // returns a SectionGroupable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sectiongroup-get?view=graph-rest-1.0 func (m *ItemOnenoteSectionGroupsSectionGroupItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteSectionGroupsSectionGroupItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -144,7 +141,7 @@ func (m *ItemOnenoteSectionGroupsSectionGroupItemRequestBuilder) ToDeleteRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a sectionGroup object. +// ToGetRequestInformation the section groups in all OneNote notebooks that are owned by the user or group. 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_item_copy_to_notebook_request_builder.go b/sites/item_onenote_sections_item_copy_to_notebook_request_builder.go index bfad9745342..ea5e242fd61 100644 --- a/sites/item_onenote_sections_item_copy_to_notebook_request_builder.go +++ b/sites/item_onenote_sections_item_copy_to_notebook_request_builder.go @@ -36,7 +36,7 @@ func NewItemOnenoteSectionsItemCopyToNotebookRequestBuilder(rawUrl string, reque // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytonotebook?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytonotebook?view=graph-rest-beta func (m *ItemOnenoteSectionsItemCopyToNotebookRequestBuilder) Post(ctx context.Context, body ItemOnenoteSectionsItemCopyToNotebookPostRequestBodyable, requestConfiguration *ItemOnenoteSectionsItemCopyToNotebookRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/sites/item_onenote_sections_item_copy_to_section_group_request_builder.go b/sites/item_onenote_sections_item_copy_to_section_group_request_builder.go index 981d233d03e..ae7c0a05c33 100644 --- a/sites/item_onenote_sections_item_copy_to_section_group_request_builder.go +++ b/sites/item_onenote_sections_item_copy_to_section_group_request_builder.go @@ -36,7 +36,7 @@ func NewItemOnenoteSectionsItemCopyToSectionGroupRequestBuilder(rawUrl string, r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytosectiongroup?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytosectiongroup?view=graph-rest-beta func (m *ItemOnenoteSectionsItemCopyToSectionGroupRequestBuilder) Post(ctx context.Context, body ItemOnenoteSectionsItemCopyToSectionGroupPostRequestBodyable, requestConfiguration *ItemOnenoteSectionsItemCopyToSectionGroupRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/sites/item_onenote_sections_item_pages_item_copy_to_section_request_builder.go b/sites/item_onenote_sections_item_pages_item_copy_to_section_request_builder.go index b04480197f8..f4385a387b1 100644 --- a/sites/item_onenote_sections_item_pages_item_copy_to_section_request_builder.go +++ b/sites/item_onenote_sections_item_pages_item_copy_to_section_request_builder.go @@ -36,7 +36,7 @@ func NewItemOnenoteSectionsItemPagesItemCopyToSectionRequestBuilder(rawUrl strin // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/page-copytosection?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/page-copytosection?view=graph-rest-beta func (m *ItemOnenoteSectionsItemPagesItemCopyToSectionRequestBuilder) Post(ctx context.Context, body ItemOnenoteSectionsItemPagesItemCopyToSectionPostRequestBodyable, requestConfiguration *ItemOnenoteSectionsItemPagesItemCopyToSectionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { 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 1d4e7148e2f..897b64af662 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 retrieve the properties and relationships of a section object. +// ItemOnenoteSectionsOnenoteSectionItemRequestBuilderGetQueryParameters the sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. type ItemOnenoteSectionsOnenoteSectionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -80,12 +80,9 @@ func (m *ItemOnenoteSectionsOnenoteSectionItemRequestBuilder) Delete(ctx context } return nil } -// Get retrieve the properties and relationships of a section object. +// Get the sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. // returns a OnenoteSectionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/section-get?view=graph-rest-1.0 func (m *ItemOnenoteSectionsOnenoteSectionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteSectionsOnenoteSectionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -149,7 +146,7 @@ func (m *ItemOnenoteSectionsOnenoteSectionItemRequestBuilder) ToDeleteRequestInf requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a section object. +// ToGetRequestInformation the sections in all OneNote notebooks that are owned by the user or group. 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 c293b0eebee..ba058e0f025 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 retrieve a list of section objects. +// ItemOnenoteSectionsRequestBuilderGetQueryParameters the sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. type ItemOnenoteSectionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemOnenoteSectionsRequestBuilder(rawUrl string, requestAdapter i2ae4187 func (m *ItemOnenoteSectionsRequestBuilder) Count()(*ItemOnenoteSectionsCountRequestBuilder) { return NewItemOnenoteSectionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of section objects. +// Get the sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. // returns a OnenoteSectionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/onenote-list-sections?view=graph-rest-1.0 func (m *ItemOnenoteSectionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteSectionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemOnenoteSectionsRequestBuilder) Post(ctx context.Context, body ie233 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable), nil } -// ToGetRequestInformation retrieve a list of section objects. +// ToGetRequestInformation the sections in all OneNote notebooks that are owned by the user or group. 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_operations_request_builder.go b/sites/item_operations_request_builder.go index f483ad7deff..9752f4769dc 100644 --- a/sites/item_operations_request_builder.go +++ b/sites/item_operations_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOperationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOperationsRequestBuilderGetQueryParameters get the list of richLongRunningOperations associated with a site. +// ItemOperationsRequestBuilderGetQueryParameters the collection of long running operations for the site. type ItemOperationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemOperationsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7dae func (m *ItemOperationsRequestBuilder) Count()(*ItemOperationsCountRequestBuilder) { return NewItemOperationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of richLongRunningOperations associated with a site. +// Get the collection of long running operations for the site. // returns a RichLongRunningOperationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/site-list-operations?view=graph-rest-1.0 func (m *ItemOperationsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOperationsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RichLongRunningOperationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemOperationsRequestBuilder) Post(ctx context.Context, body ie233ee762 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RichLongRunningOperationable), nil } -// ToGetRequestInformation get the list of richLongRunningOperations associated with a site. +// ToGetRequestInformation the collection of long running operations for the site. // returns a *RequestInformation when successful func (m *ItemOperationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOperationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_operations_rich_long_running_operation_item_request_builder.go b/sites/item_operations_rich_long_running_operation_item_request_builder.go index cdaf73c625f..e354c112b95 100644 --- a/sites/item_operations_rich_long_running_operation_item_request_builder.go +++ b/sites/item_operations_rich_long_running_operation_item_request_builder.go @@ -18,7 +18,7 @@ type ItemOperationsRichLongRunningOperationItemRequestBuilderDeleteRequestConfig // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemOperationsRichLongRunningOperationItemRequestBuilderGetQueryParameters read the properties of a richLongRunningOperation object. +// ItemOperationsRichLongRunningOperationItemRequestBuilderGetQueryParameters the collection of long running operations for the site. type ItemOperationsRichLongRunningOperationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemOperationsRichLongRunningOperationItemRequestBuilder) Delete(ctx co } return nil } -// Get read the properties of a richLongRunningOperation object. +// Get the collection of long running operations for the site. // returns a RichLongRunningOperationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/richlongrunningoperation-get?view=graph-rest-1.0 func (m *ItemOperationsRichLongRunningOperationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOperationsRichLongRunningOperationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RichLongRunningOperationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemOperationsRichLongRunningOperationItemRequestBuilder) ToDeleteReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties of a richLongRunningOperation object. +// ToGetRequestInformation the collection of long running operations for the site. // returns a *RequestInformation when successful func (m *ItemOperationsRichLongRunningOperationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOperationsRichLongRunningOperationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_pages_base_site_page_item_request_builder.go b/sites/item_pages_base_site_page_item_request_builder.go index af60e2b3476..cde63d9ae5c 100644 --- a/sites/item_pages_base_site_page_item_request_builder.go +++ b/sites/item_pages_base_site_page_item_request_builder.go @@ -18,7 +18,7 @@ type ItemPagesBaseSitePageItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemPagesBaseSitePageItemRequestBuilderGetQueryParameters get the metadata for a [baseSitePage][] in the site pages [list][] in a [site][]. +// ItemPagesBaseSitePageItemRequestBuilderGetQueryParameters the collection of pages in the baseSitePages list on this site. type ItemPagesBaseSitePageItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *ItemPagesBaseSitePageItemRequestBuilder) Delete(ctx context.Context, re } return nil } -// Get get the metadata for a [baseSitePage][] in the site pages [list][] in a [site][]. +// Get the collection of pages in the baseSitePages list on this 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/basesitepage-get?view=graph-rest-1.0 func (m *ItemPagesBaseSitePageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPagesBaseSitePageItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseSitePageable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -139,7 +136,7 @@ func (m *ItemPagesBaseSitePageItemRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the metadata for a [baseSitePage][] in the site pages [list][] in a [site][]. +// ToGetRequestInformation the collection of pages in the baseSitePages list on this site. // returns a *RequestInformation when successful func (m *ItemPagesBaseSitePageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPagesBaseSitePageItemRequestBuilderGetRequestConfiguration)(*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 1be7a8ee1dc..27329c98ae0 100644 --- a/sites/item_pages_request_builder.go +++ b/sites/item_pages_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemPagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemPagesRequestBuilderGetQueryParameters get the collection of [baseSitePage][] objects from the site pages [list][] in a [site][]. All pages in the site are returned (with pagination). Sort alphabetically by name in ascending order. The following table lists the available subtypes. +// ItemPagesRequestBuilderGetQueryParameters the collection of pages in the baseSitePages list on this site. type ItemPagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemPagesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee2633 func (m *ItemPagesRequestBuilder) Count()(*ItemPagesCountRequestBuilder) { return NewItemPagesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the collection of [baseSitePage][] objects from the site pages [list][] in a [site][]. All pages in the site are returned (with pagination). Sort alphabetically by name in ascending order. The following table lists the available subtypes. +// Get the collection of pages in the baseSitePages list on this site. // returns a BaseSitePageCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/basesitepage-list?view=graph-rest-1.0 func (m *ItemPagesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPagesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseSitePageCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ 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 new navigation property to pages for sites // 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-1.0 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 { @@ -127,7 +121,7 @@ func (m *ItemPagesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseSitePageable), nil } -// ToGetRequestInformation get the collection of [baseSitePage][] objects from the site pages [list][] in a [site][]. All pages in the site are returned (with pagination). Sort alphabetically by name in ascending order. The following table lists the available subtypes. +// ToGetRequestInformation the collection of pages in the baseSitePages list on this site. // returns a *RequestInformation when successful func (m *ItemPagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,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 new navigation property to pages for sites // 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/sites/item_permissions_item_grant_request_builder.go b/sites/item_permissions_item_grant_request_builder.go index ee0b592df06..ab07ffa43ca 100644 --- a/sites/item_permissions_item_grant_request_builder.go +++ b/sites/item_permissions_item_grant_request_builder.go @@ -30,13 +30,13 @@ func NewItemPermissionsItemGrantRequestBuilder(rawUrl string, requestAdapter i2a urlParams["request-raw-url"] = rawUrl return NewItemPermissionsItemGrantRequestBuilderInternal(urlParams, requestAdapter) } -// Post grant users access to a link represented by a [permission][]. +// Post grant users access to a link represented by a permission. // Deprecated: This method is obsolete. Use PostAsGrantPostResponse instead. // returns a ItemPermissionsItemGrantResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-beta func (m *ItemPermissionsItemGrantRequestBuilder) Post(ctx context.Context, body ItemPermissionsItemGrantPostRequestBodyable, requestConfiguration *ItemPermissionsItemGrantRequestBuilderPostRequestConfiguration)(ItemPermissionsItemGrantResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -54,12 +54,12 @@ func (m *ItemPermissionsItemGrantRequestBuilder) Post(ctx context.Context, body } return res.(ItemPermissionsItemGrantResponseable), nil } -// PostAsGrantPostResponse grant users access to a link represented by a [permission][]. +// PostAsGrantPostResponse grant users access to a link represented by a permission. // returns a ItemPermissionsItemGrantPostResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-beta func (m *ItemPermissionsItemGrantRequestBuilder) PostAsGrantPostResponse(ctx context.Context, body ItemPermissionsItemGrantPostRequestBodyable, requestConfiguration *ItemPermissionsItemGrantRequestBuilderPostRequestConfiguration)(ItemPermissionsItemGrantPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -77,7 +77,7 @@ func (m *ItemPermissionsItemGrantRequestBuilder) PostAsGrantPostResponse(ctx con } return res.(ItemPermissionsItemGrantPostResponseable), nil } -// ToPostRequestInformation grant users access to a link represented by a [permission][]. +// ToPostRequestInformation grant users access to a link represented by a permission. // returns a *RequestInformation when successful func (m *ItemPermissionsItemGrantRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemPermissionsItemGrantPostRequestBodyable, requestConfiguration *ItemPermissionsItemGrantRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_permissions_item_revoke_grants_request_builder.go b/sites/item_permissions_item_revoke_grants_request_builder.go index bc3e0ec6cbf..dcbf6520927 100644 --- a/sites/item_permissions_item_revoke_grants_request_builder.go +++ b/sites/item_permissions_item_revoke_grants_request_builder.go @@ -31,12 +31,12 @@ func NewItemPermissionsItemRevokeGrantsRequestBuilder(rawUrl string, requestAdap urlParams["request-raw-url"] = rawUrl return NewItemPermissionsItemRevokeGrantsRequestBuilderInternal(urlParams, requestAdapter) } -// Post revoke access to a [listItem][] or [driveItem][] granted via a sharing link by removing the specified [recipient][] from the link. +// Post revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. // returns a Permissionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-beta func (m *ItemPermissionsItemRevokeGrantsRequestBuilder) Post(ctx context.Context, body ItemPermissionsItemRevokeGrantsPostRequestBodyable, requestConfiguration *ItemPermissionsItemRevokeGrantsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -54,7 +54,7 @@ func (m *ItemPermissionsItemRevokeGrantsRequestBuilder) Post(ctx context.Context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable), nil } -// ToPostRequestInformation revoke access to a [listItem][] or [driveItem][] granted via a sharing link by removing the specified [recipient][] from the link. +// ToPostRequestInformation revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. // returns a *RequestInformation when successful func (m *ItemPermissionsItemRevokeGrantsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemPermissionsItemRevokeGrantsPostRequestBodyable, requestConfiguration *ItemPermissionsItemRevokeGrantsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_permissions_permission_item_request_builder.go b/sites/item_permissions_permission_item_request_builder.go index 98d06abf42d..33f18f87149 100644 --- a/sites/item_permissions_permission_item_request_builder.go +++ b/sites/item_permissions_permission_item_request_builder.go @@ -18,7 +18,7 @@ type ItemPermissionsPermissionItemRequestBuilderDeleteRequestConfiguration struc // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemPermissionsPermissionItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a permission object on a site. +// ItemPermissionsPermissionItemRequestBuilderGetQueryParameters the permissions associated with the site. Nullable. type ItemPermissionsPermissionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemPermissionsPermissionItemRequestBuilder) Delete(ctx context.Context } return nil } -// Get retrieve the properties and relationships of a permission object on a site. +// Get the permissions associated with the site. Nullable. // returns a Permissionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/site-get-permission?view=graph-rest-1.0 func (m *ItemPermissionsPermissionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPermissionsPermissionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,12 +95,9 @@ func (m *ItemPermissionsPermissionItemRequestBuilder) Get(ctx context.Context, r func (m *ItemPermissionsPermissionItemRequestBuilder) Grant()(*ItemPermissionsItemGrantRequestBuilder) { return NewItemPermissionsItemGrantRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the permission object on a site. +// Patch update the navigation property permissions in sites // returns a Permissionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/site-update-permission?view=graph-rest-1.0 func (m *ItemPermissionsPermissionItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *ItemPermissionsPermissionItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -137,7 +131,7 @@ func (m *ItemPermissionsPermissionItemRequestBuilder) ToDeleteRequestInformation requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a permission object on a site. +// ToGetRequestInformation the permissions associated with the site. Nullable. // returns a *RequestInformation when successful func (m *ItemPermissionsPermissionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPermissionsPermissionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -151,7 +145,7 @@ func (m *ItemPermissionsPermissionItemRequestBuilder) ToGetRequestInformation(ct requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the permission object on a site. +// ToPatchRequestInformation update the navigation property permissions in sites // returns a *RequestInformation when successful func (m *ItemPermissionsPermissionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *ItemPermissionsPermissionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_permissions_request_builder.go b/sites/item_permissions_request_builder.go index 92a8c8b3a23..36748bdc903 100644 --- a/sites/item_permissions_request_builder.go +++ b/sites/item_permissions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemPermissionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemPermissionsRequestBuilderGetQueryParameters get the permission resources from the permissions navigation property on a site. +// ItemPermissionsRequestBuilderGetQueryParameters the permissions associated with the site. Nullable. type ItemPermissionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemPermissionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7da func (m *ItemPermissionsRequestBuilder) Count()(*ItemPermissionsCountRequestBuilder) { return NewItemPermissionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the permission resources from the permissions navigation property on a site. +// Get the permissions associated with the site. Nullable. // returns a PermissionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/site-list-permissions?view=graph-rest-1.0 func (m *ItemPermissionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPermissionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemPermissionsRequestBuilder) Get(ctx context.Context, requestConfigur } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PermissionCollectionResponseable), nil } -// Post create a new permission object on a site. +// Post create new navigation property to permissions for sites // returns a Permissionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/site-post-permissions?view=graph-rest-1.0 func (m *ItemPermissionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *ItemPermissionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemPermissionsRequestBuilder) Post(ctx context.Context, body ie233ee76 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable), nil } -// ToGetRequestInformation get the permission resources from the permissions navigation property on a site. +// ToGetRequestInformation the permissions associated with the site. Nullable. // returns a *RequestInformation when successful func (m *ItemPermissionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPermissionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemPermissionsRequestBuilder) ToGetRequestInformation(ctx context.Cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new permission object on a site. +// ToPostRequestInformation create new navigation property to permissions for sites // returns a *RequestInformation when successful func (m *ItemPermissionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Permissionable, requestConfiguration *ItemPermissionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_recycle_bin_items_request_builder.go b/sites/item_recycle_bin_items_request_builder.go index 2e38008c56a..4e2508cfe9d 100644 --- a/sites/item_recycle_bin_items_request_builder.go +++ b/sites/item_recycle_bin_items_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemRecycleBinItemsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemRecycleBinItemsRequestBuilderGetQueryParameters get a collection of recycleBinItem resources in the recycleBin of the specified SharePoint site. +// ItemRecycleBinItemsRequestBuilderGetQueryParameters list of the recycleBinItems deleted by a user. type ItemRecycleBinItemsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemRecycleBinItemsRequestBuilder(rawUrl string, requestAdapter i2ae4187 func (m *ItemRecycleBinItemsRequestBuilder) Count()(*ItemRecycleBinItemsCountRequestBuilder) { return NewItemRecycleBinItemsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a collection of recycleBinItem resources in the recycleBin of the specified SharePoint site. +// Get list of the recycleBinItems deleted by a user. // returns a RecycleBinItemCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/recyclebin-list-items?view=graph-rest-1.0 func (m *ItemRecycleBinItemsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemRecycleBinItemsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RecycleBinItemCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemRecycleBinItemsRequestBuilder) Post(ctx context.Context, body ie233 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RecycleBinItemable), nil } -// ToGetRequestInformation get a collection of recycleBinItem resources in the recycleBin of the specified SharePoint site. +// ToGetRequestInformation list of the recycleBinItems deleted by a user. // returns a *RequestInformation when successful func (m *ItemRecycleBinItemsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemRecycleBinItemsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_sites_request_builder.go b/sites/item_sites_request_builder.go index 373359d9467..06e48f60b57 100644 --- a/sites/item_sites_request_builder.go +++ b/sites/item_sites_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSitesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesRequestBuilderGetQueryParameters get a collection of subsites defined for a [site][]. +// ItemSitesRequestBuilderGetQueryParameters the collection of the sub-sites under this site. type ItemSitesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewItemSitesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee2633 func (m *ItemSitesRequestBuilder) Count()(*ItemSitesCountRequestBuilder) { return NewItemSitesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a collection of subsites defined for a [site][]. +// Get the collection of the sub-sites under this site. // returns a SiteCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/site-list-subsites?view=graph-rest-1.0 func (m *ItemSitesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *ItemSitesRequestBuilder) Get(ctx context.Context, requestConfiguration } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteCollectionResponseable), nil } -// ToGetRequestInformation get a collection of subsites defined for a [site][]. +// ToGetRequestInformation the collection of the sub-sites under this site. // returns a *RequestInformation when successful func (m *ItemSitesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_term_store_groups_group_item_request_builder.go b/sites/item_term_store_groups_group_item_request_builder.go index f991a023f18..1f3186a0c88 100644 --- a/sites/item_term_store_groups_group_item_request_builder.go +++ b/sites/item_term_store_groups_group_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTermStoreGroupsGroupItemRequestBuilderDeleteRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTermStoreGroupsGroupItemRequestBuilderGetQueryParameters read the properties and relationships of a term store group object. +// ItemTermStoreGroupsGroupItemRequestBuilderGetQueryParameters collection of all groups available in the term store. type ItemTermStoreGroupsGroupItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemTermStoreGroupsGroupItemRequestBuilder(rawUrl string, requestAdapter urlParams["request-raw-url"] = rawUrl return NewItemTermStoreGroupsGroupItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a group object in a term [store]. +// Delete delete navigation property groups for sites // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-group-delete?view=graph-rest-1.0 func (m *ItemTermStoreGroupsGroupItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTermStoreGroupsGroupItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemTermStoreGroupsGroupItemRequestBuilder) Delete(ctx context.Context, } return nil } -// Get read the properties and relationships of a term store group object. +// Get collection of all groups available in the term store. // 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/termstore-group-get?view=graph-rest-1.0 func (m *ItemTermStoreGroupsGroupItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTermStoreGroupsGroupItemRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Groupable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -121,7 +115,7 @@ func (m *ItemTermStoreGroupsGroupItemRequestBuilder) Patch(ctx context.Context, func (m *ItemTermStoreGroupsGroupItemRequestBuilder) Sets()(*ItemTermStoreGroupsItemSetsRequestBuilder) { return NewItemTermStoreGroupsItemSetsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a group object in a term [store]. +// ToDeleteRequestInformation delete navigation property groups for sites // returns a *RequestInformation when successful func (m *ItemTermStoreGroupsGroupItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTermStoreGroupsGroupItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -132,7 +126,7 @@ func (m *ItemTermStoreGroupsGroupItemRequestBuilder) ToDeleteRequestInformation( requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a term store group object. +// ToGetRequestInformation collection of all groups available in the term store. // returns a *RequestInformation when successful func (m *ItemTermStoreGroupsGroupItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTermStoreGroupsGroupItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_term_store_groups_item_sets_item_children_request_builder.go b/sites/item_term_store_groups_item_sets_item_children_request_builder.go index 9f3424b43db..cd672dfbc04 100644 --- a/sites/item_term_store_groups_item_sets_item_children_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_children_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTermStoreGroupsItemSetsItemChildrenRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTermStoreGroupsItemSetsItemChildrenRequestBuilderGetQueryParameters get the first level children of a [set] or [term] resource using the children navigation property. +// ItemTermStoreGroupsItemSetsItemChildrenRequestBuilderGetQueryParameters children terms of set in term [store]. type ItemTermStoreGroupsItemSetsItemChildrenRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemTermStoreGroupsItemSetsItemChildrenRequestBuilder(rawUrl string, req func (m *ItemTermStoreGroupsItemSetsItemChildrenRequestBuilder) Count()(*ItemTermStoreGroupsItemSetsItemChildrenCountRequestBuilder) { return NewItemTermStoreGroupsItemSetsItemChildrenCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the first level children of a [set] or [term] resource using the children navigation property. +// Get children terms of set in term [store]. // returns a TermCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-term-list-children?view=graph-rest-1.0 func (m *ItemTermStoreGroupsItemSetsItemChildrenRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTermStoreGroupsItemSetsItemChildrenRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.TermCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemTermStoreGroupsItemSetsItemChildrenRequestBuilder) Get(ctx context. } return res.(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.TermCollectionResponseable), nil } -// Post create a new term object. +// Post create new navigation property to children for sites // returns a Termable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-term-post?view=graph-rest-1.0 func (m *ItemTermStoreGroupsItemSetsItemChildrenRequestBuilder) Post(ctx context.Context, body i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, requestConfiguration *ItemTermStoreGroupsItemSetsItemChildrenRequestBuilderPostRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemTermStoreGroupsItemSetsItemChildrenRequestBuilder) Post(ctx context } return res.(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable), nil } -// ToGetRequestInformation get the first level children of a [set] or [term] resource using the children navigation property. +// ToGetRequestInformation children terms of set in term [store]. // returns a *RequestInformation when successful func (m *ItemTermStoreGroupsItemSetsItemChildrenRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTermStoreGroupsItemSetsItemChildrenRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemTermStoreGroupsItemSetsItemChildrenRequestBuilder) ToGetRequestInfo requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new term object. +// ToPostRequestInformation create new navigation property to children for sites // returns a *RequestInformation when successful func (m *ItemTermStoreGroupsItemSetsItemChildrenRequestBuilder) ToPostRequestInformation(ctx context.Context, body i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, requestConfiguration *ItemTermStoreGroupsItemSetsItemChildrenRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_term_store_groups_item_sets_item_relations_request_builder.go b/sites/item_term_store_groups_item_sets_item_relations_request_builder.go index 2681c9203b0..85b661ced6c 100644 --- a/sites/item_term_store_groups_item_sets_item_relations_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_relations_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTermStoreGroupsItemSetsItemRelationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTermStoreGroupsItemSetsItemRelationsRequestBuilderGetQueryParameters get the different relation of a [term] or [set] from the relations navigation property. +// ItemTermStoreGroupsItemSetsItemRelationsRequestBuilderGetQueryParameters indicates which terms have been pinned or reused directly under the set. type ItemTermStoreGroupsItemSetsItemRelationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemTermStoreGroupsItemSetsItemRelationsRequestBuilder(rawUrl string, re func (m *ItemTermStoreGroupsItemSetsItemRelationsRequestBuilder) Count()(*ItemTermStoreGroupsItemSetsItemRelationsCountRequestBuilder) { return NewItemTermStoreGroupsItemSetsItemRelationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the different relation of a [term] or [set] from the relations navigation property. +// Get indicates which terms have been pinned or reused directly under the set. // returns a RelationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-term-list-relations?view=graph-rest-1.0 func (m *ItemTermStoreGroupsItemSetsItemRelationsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTermStoreGroupsItemSetsItemRelationsRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.RelationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemTermStoreGroupsItemSetsItemRelationsRequestBuilder) Post(ctx contex } return res.(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Relationable), nil } -// ToGetRequestInformation get the different relation of a [term] or [set] from the relations navigation property. +// ToGetRequestInformation indicates which terms have been pinned or reused directly under the set. // returns a *RequestInformation when successful func (m *ItemTermStoreGroupsItemSetsItemRelationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTermStoreGroupsItemSetsItemRelationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_term_store_groups_item_sets_item_terms_request_builder.go b/sites/item_term_store_groups_item_sets_item_terms_request_builder.go index bffb8a6705b..ae181f95493 100644 --- a/sites/item_term_store_groups_item_sets_item_terms_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_terms_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTermStoreGroupsItemSetsItemTermsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTermStoreGroupsItemSetsItemTermsRequestBuilderGetQueryParameters read the properties and relationships of a term object. +// ItemTermStoreGroupsItemSetsItemTermsRequestBuilderGetQueryParameters all the terms under the set. type ItemTermStoreGroupsItemSetsItemTermsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewItemTermStoreGroupsItemSetsItemTermsRequestBuilder(rawUrl string, reques func (m *ItemTermStoreGroupsItemSetsItemTermsRequestBuilder) Count()(*ItemTermStoreGroupsItemSetsItemTermsCountRequestBuilder) { return NewItemTermStoreGroupsItemSetsItemTermsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of a term object. +// Get all the terms under the set. // returns a TermCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemTermStoreGroupsItemSetsItemTermsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTermStoreGroupsItemSetsItemTermsRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.TermCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *ItemTermStoreGroupsItemSetsItemTermsRequestBuilder) Post(ctx context.Co } return res.(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable), nil } -// ToGetRequestInformation read the properties and relationships of a term object. +// ToGetRequestInformation all the terms under the set. // returns a *RequestInformation when successful func (m *ItemTermStoreGroupsItemSetsItemTermsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTermStoreGroupsItemSetsItemTermsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_term_store_groups_item_sets_item_terms_term_item_request_builder.go b/sites/item_term_store_groups_item_sets_item_terms_term_item_request_builder.go index 61385a61e07..60cf24574b7 100644 --- a/sites/item_term_store_groups_item_sets_item_terms_term_item_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_terms_term_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilderDeleteRequestConf // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilderGetQueryParameters read the properties and relationships of a term object. +// ItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilderGetQueryParameters all the terms under the set. type ItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilder(rawUrl string urlParams["request-raw-url"] = rawUrl return NewItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a term object. +// Delete delete navigation property terms for sites // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-term-delete?view=graph-rest-1.0 func (m *ItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *ItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilder) Delete(ctx } return nil } -// Get read the properties and relationships of a term object. +// Get all the terms under the set. // returns a Termable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-term-get?view=graph-rest-1.0 func (m *ItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,12 +95,9 @@ func (m *ItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilder) Get(ctx con } return res.(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable), nil } -// Patch update the properties of a term object. +// Patch update the navigation property terms in sites // returns a Termable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-term-update?view=graph-rest-1.0 func (m *ItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilder) Patch(ctx context.Context, body i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, requestConfiguration *ItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilderPatchRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -134,7 +125,7 @@ func (m *ItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilder) Relations() func (m *ItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilder) Set()(*ItemTermStoreGroupsItemSetsItemTermsItemSetRequestBuilder) { return NewItemTermStoreGroupsItemSetsItemTermsItemSetRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a term object. +// ToDeleteRequestInformation delete navigation property terms for sites // returns a *RequestInformation when successful func (m *ItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -145,7 +136,7 @@ func (m *ItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilder) ToDeleteReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a term object. +// ToGetRequestInformation all the terms under the set. // returns a *RequestInformation when successful func (m *ItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -159,7 +150,7 @@ func (m *ItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilder) ToGetReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a term object. +// ToPatchRequestInformation update the navigation property terms in sites // returns a *RequestInformation when successful func (m *ItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, requestConfiguration *ItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_term_store_groups_item_sets_request_builder.go b/sites/item_term_store_groups_item_sets_request_builder.go index bf59e293cb1..7f375d5ecf9 100644 --- a/sites/item_term_store_groups_item_sets_request_builder.go +++ b/sites/item_term_store_groups_item_sets_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTermStoreGroupsItemSetsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTermStoreGroupsItemSetsRequestBuilderGetQueryParameters get a list of the set objects and their properties. +// ItemTermStoreGroupsItemSetsRequestBuilderGetQueryParameters all sets under the group in a term [store]. type ItemTermStoreGroupsItemSetsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemTermStoreGroupsItemSetsRequestBuilder(rawUrl string, requestAdapter func (m *ItemTermStoreGroupsItemSetsRequestBuilder) Count()(*ItemTermStoreGroupsItemSetsCountRequestBuilder) { return NewItemTermStoreGroupsItemSetsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the set objects and their properties. +// Get all sets under the group in a term [store]. // returns a SetCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-group-list-sets?view=graph-rest-1.0 func (m *ItemTermStoreGroupsItemSetsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTermStoreGroupsItemSetsRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.SetCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemTermStoreGroupsItemSetsRequestBuilder) Post(ctx context.Context, bo } return res.(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Setable), nil } -// ToGetRequestInformation get a list of the set objects and their properties. +// ToGetRequestInformation all sets under the group in a term [store]. // returns a *RequestInformation when successful func (m *ItemTermStoreGroupsItemSetsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTermStoreGroupsItemSetsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_term_store_groups_request_builder.go b/sites/item_term_store_groups_request_builder.go index b99f626a32f..e507652dd25 100644 --- a/sites/item_term_store_groups_request_builder.go +++ b/sites/item_term_store_groups_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTermStoreGroupsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTermStoreGroupsRequestBuilderGetQueryParameters read the properties and relationships of a term store group object. +// ItemTermStoreGroupsRequestBuilderGetQueryParameters collection of all groups available in the term store. type ItemTermStoreGroupsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemTermStoreGroupsRequestBuilder(rawUrl string, requestAdapter i2ae4187 func (m *ItemTermStoreGroupsRequestBuilder) Count()(*ItemTermStoreGroupsCountRequestBuilder) { return NewItemTermStoreGroupsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of a term store group object. +// Get collection of all groups available in the term store. // returns a GroupCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-list-groups?view=graph-rest-1.0 func (m *ItemTermStoreGroupsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTermStoreGroupsRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.GroupCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemTermStoreGroupsRequestBuilder) Get(ctx context.Context, requestConf } return res.(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.GroupCollectionResponseable), nil } -// Post create a new group object. +// Post create new navigation property to groups for sites // 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/termstore-group-post?view=graph-rest-1.0 func (m *ItemTermStoreGroupsRequestBuilder) Post(ctx context.Context, body i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Groupable, requestConfiguration *ItemTermStoreGroupsRequestBuilderPostRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Groupable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemTermStoreGroupsRequestBuilder) Post(ctx context.Context, body i45fc } return res.(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Groupable), nil } -// ToGetRequestInformation read the properties and relationships of a term store group object. +// ToGetRequestInformation collection of all groups available in the term store. // returns a *RequestInformation when successful func (m *ItemTermStoreGroupsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTermStoreGroupsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemTermStoreGroupsRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new group object. +// ToPostRequestInformation create new navigation property to groups for sites // returns a *RequestInformation when successful func (m *ItemTermStoreGroupsRequestBuilder) ToPostRequestInformation(ctx context.Context, body i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Groupable, requestConfiguration *ItemTermStoreGroupsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_term_store_request_builder.go b/sites/item_term_store_request_builder.go index 83e3fa77bbe..d6dea1a29ca 100644 --- a/sites/item_term_store_request_builder.go +++ b/sites/item_term_store_request_builder.go @@ -18,7 +18,7 @@ type ItemTermStoreRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTermStoreRequestBuilderGetQueryParameters read the properties and relationships of a store object. +// ItemTermStoreRequestBuilderGetQueryParameters the termStore under this site. type ItemTermStoreRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemTermStoreRequestBuilder) Delete(ctx context.Context, requestConfigu } return nil } -// Get read the properties and relationships of a store object. +// Get the termStore under this site. // returns a Storeable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-store-get?view=graph-rest-1.0 func (m *ItemTermStoreRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTermStoreRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Storeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -134,7 +131,7 @@ func (m *ItemTermStoreRequestBuilder) ToDeleteRequestInformation(ctx context.Con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a store object. +// ToGetRequestInformation the termStore under this site. // returns a *RequestInformation when successful func (m *ItemTermStoreRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTermStoreRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_term_store_sets_item_children_request_builder.go b/sites/item_term_store_sets_item_children_request_builder.go index 81950de4c5c..04e3205fc80 100644 --- a/sites/item_term_store_sets_item_children_request_builder.go +++ b/sites/item_term_store_sets_item_children_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTermStoreSetsItemChildrenRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTermStoreSetsItemChildrenRequestBuilderGetQueryParameters get the first level children of a [set] or [term] resource using the children navigation property. +// ItemTermStoreSetsItemChildrenRequestBuilderGetQueryParameters children terms of set in term [store]. type ItemTermStoreSetsItemChildrenRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemTermStoreSetsItemChildrenRequestBuilder(rawUrl string, requestAdapte func (m *ItemTermStoreSetsItemChildrenRequestBuilder) Count()(*ItemTermStoreSetsItemChildrenCountRequestBuilder) { return NewItemTermStoreSetsItemChildrenCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the first level children of a [set] or [term] resource using the children navigation property. +// Get children terms of set in term [store]. // returns a TermCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-term-list-children?view=graph-rest-1.0 func (m *ItemTermStoreSetsItemChildrenRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTermStoreSetsItemChildrenRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.TermCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemTermStoreSetsItemChildrenRequestBuilder) Get(ctx context.Context, r } return res.(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.TermCollectionResponseable), nil } -// Post create a new term object. +// Post create new navigation property to children for sites // returns a Termable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-term-post?view=graph-rest-1.0 func (m *ItemTermStoreSetsItemChildrenRequestBuilder) Post(ctx context.Context, body i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, requestConfiguration *ItemTermStoreSetsItemChildrenRequestBuilderPostRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemTermStoreSetsItemChildrenRequestBuilder) Post(ctx context.Context, } return res.(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable), nil } -// ToGetRequestInformation get the first level children of a [set] or [term] resource using the children navigation property. +// ToGetRequestInformation children terms of set in term [store]. // returns a *RequestInformation when successful func (m *ItemTermStoreSetsItemChildrenRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTermStoreSetsItemChildrenRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemTermStoreSetsItemChildrenRequestBuilder) ToGetRequestInformation(ct requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new term object. +// ToPostRequestInformation create new navigation property to children for sites // returns a *RequestInformation when successful func (m *ItemTermStoreSetsItemChildrenRequestBuilder) ToPostRequestInformation(ctx context.Context, body i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, requestConfiguration *ItemTermStoreSetsItemChildrenRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_children_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_children_request_builder.go index 9b32e51145b..0bb8286b459 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_children_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_children_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTermStoreSetsItemParentGroupSetsItemChildrenRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTermStoreSetsItemParentGroupSetsItemChildrenRequestBuilderGetQueryParameters get the first level children of a [set] or [term] resource using the children navigation property. +// ItemTermStoreSetsItemParentGroupSetsItemChildrenRequestBuilderGetQueryParameters children terms of set in term [store]. type ItemTermStoreSetsItemParentGroupSetsItemChildrenRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemTermStoreSetsItemParentGroupSetsItemChildrenRequestBuilder(rawUrl st func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenRequestBuilder) Count()(*ItemTermStoreSetsItemParentGroupSetsItemChildrenCountRequestBuilder) { return NewItemTermStoreSetsItemParentGroupSetsItemChildrenCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the first level children of a [set] or [term] resource using the children navigation property. +// Get children terms of set in term [store]. // returns a TermCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-term-list-children?view=graph-rest-1.0 func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTermStoreSetsItemParentGroupSetsItemChildrenRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.TermCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenRequestBuilder) Get(ctx } return res.(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.TermCollectionResponseable), nil } -// Post create a new term object. +// Post create new navigation property to children for sites // returns a Termable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-term-post?view=graph-rest-1.0 func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenRequestBuilder) Post(ctx context.Context, body i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, requestConfiguration *ItemTermStoreSetsItemParentGroupSetsItemChildrenRequestBuilderPostRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenRequestBuilder) Post(ct } return res.(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable), nil } -// ToGetRequestInformation get the first level children of a [set] or [term] resource using the children navigation property. +// ToGetRequestInformation children terms of set in term [store]. // returns a *RequestInformation when successful func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTermStoreSetsItemParentGroupSetsItemChildrenRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenRequestBuilder) ToGetRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new term object. +// ToPostRequestInformation create new navigation property to children for sites // returns a *RequestInformation when successful func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenRequestBuilder) ToPostRequestInformation(ctx context.Context, body i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, requestConfiguration *ItemTermStoreSetsItemParentGroupSetsItemChildrenRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_relations_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_relations_request_builder.go index b4ec8e386d7..74f309f75ea 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_relations_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_relations_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTermStoreSetsItemParentGroupSetsItemRelationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTermStoreSetsItemParentGroupSetsItemRelationsRequestBuilderGetQueryParameters get the different relation of a [term] or [set] from the relations navigation property. +// ItemTermStoreSetsItemParentGroupSetsItemRelationsRequestBuilderGetQueryParameters indicates which terms have been pinned or reused directly under the set. type ItemTermStoreSetsItemParentGroupSetsItemRelationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemTermStoreSetsItemParentGroupSetsItemRelationsRequestBuilder(rawUrl s func (m *ItemTermStoreSetsItemParentGroupSetsItemRelationsRequestBuilder) Count()(*ItemTermStoreSetsItemParentGroupSetsItemRelationsCountRequestBuilder) { return NewItemTermStoreSetsItemParentGroupSetsItemRelationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the different relation of a [term] or [set] from the relations navigation property. +// Get indicates which terms have been pinned or reused directly under the set. // returns a RelationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-term-list-relations?view=graph-rest-1.0 func (m *ItemTermStoreSetsItemParentGroupSetsItemRelationsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTermStoreSetsItemParentGroupSetsItemRelationsRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.RelationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemRelationsRequestBuilder) Post(c } return res.(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Relationable), nil } -// ToGetRequestInformation get the different relation of a [term] or [set] from the relations navigation property. +// ToGetRequestInformation indicates which terms have been pinned or reused directly under the set. // returns a *RequestInformation when successful func (m *ItemTermStoreSetsItemParentGroupSetsItemRelationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTermStoreSetsItemParentGroupSetsItemRelationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_terms_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_terms_request_builder.go index 1d5c6de51cd..3b1b0a2a051 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_terms_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_terms_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTermStoreSetsItemParentGroupSetsItemTermsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTermStoreSetsItemParentGroupSetsItemTermsRequestBuilderGetQueryParameters read the properties and relationships of a term object. +// ItemTermStoreSetsItemParentGroupSetsItemTermsRequestBuilderGetQueryParameters all the terms under the set. type ItemTermStoreSetsItemParentGroupSetsItemTermsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewItemTermStoreSetsItemParentGroupSetsItemTermsRequestBuilder(rawUrl strin func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsRequestBuilder) Count()(*ItemTermStoreSetsItemParentGroupSetsItemTermsCountRequestBuilder) { return NewItemTermStoreSetsItemParentGroupSetsItemTermsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of a term object. +// Get all the terms under the set. // returns a TermCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTermStoreSetsItemParentGroupSetsItemTermsRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.TermCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsRequestBuilder) Post(ctx c } return res.(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable), nil } -// ToGetRequestInformation read the properties and relationships of a term object. +// ToGetRequestInformation all the terms under the set. // returns a *RequestInformation when successful func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTermStoreSetsItemParentGroupSetsItemTermsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_terms_term_item_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_terms_term_item_request_builder.go index 3b6e953ed39..c60ec0b6843 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_terms_term_item_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_terms_term_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBuilderDeleteRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBuilderGetQueryParameters read the properties and relationships of a term object. +// ItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBuilderGetQueryParameters all the terms under the set. type ItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBuilder(rawU urlParams["request-raw-url"] = rawUrl return NewItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a term object. +// Delete delete navigation property terms for sites // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-term-delete?view=graph-rest-1.0 func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBuilder) De } return nil } -// Get read the properties and relationships of a term object. +// Get all the terms under the set. // returns a Termable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-term-get?view=graph-rest-1.0 func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,12 +95,9 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBuilder) Ge } return res.(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable), nil } -// Patch update the properties of a term object. +// Patch update the navigation property terms in sites // returns a Termable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-term-update?view=graph-rest-1.0 func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBuilder) Patch(ctx context.Context, body i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, requestConfiguration *ItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBuilderPatchRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -134,7 +125,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBuilder) Re func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBuilder) Set()(*ItemTermStoreSetsItemParentGroupSetsItemTermsItemSetRequestBuilder) { return NewItemTermStoreSetsItemParentGroupSetsItemTermsItemSetRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a term object. +// ToDeleteRequestInformation delete navigation property terms for sites // returns a *RequestInformation when successful func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -145,7 +136,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBuilder) To requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a term object. +// ToGetRequestInformation all the terms under the set. // returns a *RequestInformation when successful func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -159,7 +150,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBuilder) To requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a term object. +// ToPatchRequestInformation update the navigation property terms in sites // returns a *RequestInformation when successful func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, requestConfiguration *ItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_term_store_sets_item_parent_group_sets_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_request_builder.go index f43b4955fef..53fb885c7ca 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTermStoreSetsItemParentGroupSetsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTermStoreSetsItemParentGroupSetsRequestBuilderGetQueryParameters get a list of the set objects and their properties. +// ItemTermStoreSetsItemParentGroupSetsRequestBuilderGetQueryParameters all sets under the group in a term [store]. type ItemTermStoreSetsItemParentGroupSetsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemTermStoreSetsItemParentGroupSetsRequestBuilder(rawUrl string, reques func (m *ItemTermStoreSetsItemParentGroupSetsRequestBuilder) Count()(*ItemTermStoreSetsItemParentGroupSetsCountRequestBuilder) { return NewItemTermStoreSetsItemParentGroupSetsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the set objects and their properties. +// Get all sets under the group in a term [store]. // returns a SetCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-group-list-sets?view=graph-rest-1.0 func (m *ItemTermStoreSetsItemParentGroupSetsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTermStoreSetsItemParentGroupSetsRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.SetCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsRequestBuilder) Post(ctx context.Co } return res.(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Setable), nil } -// ToGetRequestInformation get a list of the set objects and their properties. +// ToGetRequestInformation all sets under the group in a term [store]. // returns a *RequestInformation when successful func (m *ItemTermStoreSetsItemParentGroupSetsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTermStoreSetsItemParentGroupSetsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_term_store_sets_item_relations_request_builder.go b/sites/item_term_store_sets_item_relations_request_builder.go index 25847ca3815..9c909f8f902 100644 --- a/sites/item_term_store_sets_item_relations_request_builder.go +++ b/sites/item_term_store_sets_item_relations_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTermStoreSetsItemRelationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTermStoreSetsItemRelationsRequestBuilderGetQueryParameters get the different relation of a [term] or [set] from the relations navigation property. +// ItemTermStoreSetsItemRelationsRequestBuilderGetQueryParameters indicates which terms have been pinned or reused directly under the set. type ItemTermStoreSetsItemRelationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemTermStoreSetsItemRelationsRequestBuilder(rawUrl string, requestAdapt func (m *ItemTermStoreSetsItemRelationsRequestBuilder) Count()(*ItemTermStoreSetsItemRelationsCountRequestBuilder) { return NewItemTermStoreSetsItemRelationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the different relation of a [term] or [set] from the relations navigation property. +// Get indicates which terms have been pinned or reused directly under the set. // returns a RelationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-term-list-relations?view=graph-rest-1.0 func (m *ItemTermStoreSetsItemRelationsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTermStoreSetsItemRelationsRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.RelationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemTermStoreSetsItemRelationsRequestBuilder) Post(ctx context.Context, } return res.(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Relationable), nil } -// ToGetRequestInformation get the different relation of a [term] or [set] from the relations navigation property. +// ToGetRequestInformation indicates which terms have been pinned or reused directly under the set. // returns a *RequestInformation when successful func (m *ItemTermStoreSetsItemRelationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTermStoreSetsItemRelationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_term_store_sets_item_terms_request_builder.go b/sites/item_term_store_sets_item_terms_request_builder.go index 560a32ff873..49ef14ad5b5 100644 --- a/sites/item_term_store_sets_item_terms_request_builder.go +++ b/sites/item_term_store_sets_item_terms_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTermStoreSetsItemTermsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTermStoreSetsItemTermsRequestBuilderGetQueryParameters read the properties and relationships of a term object. +// ItemTermStoreSetsItemTermsRequestBuilderGetQueryParameters all the terms under the set. type ItemTermStoreSetsItemTermsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewItemTermStoreSetsItemTermsRequestBuilder(rawUrl string, requestAdapter i func (m *ItemTermStoreSetsItemTermsRequestBuilder) Count()(*ItemTermStoreSetsItemTermsCountRequestBuilder) { return NewItemTermStoreSetsItemTermsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of a term object. +// Get all the terms under the set. // returns a TermCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemTermStoreSetsItemTermsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTermStoreSetsItemTermsRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.TermCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *ItemTermStoreSetsItemTermsRequestBuilder) Post(ctx context.Context, bod } return res.(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable), nil } -// ToGetRequestInformation read the properties and relationships of a term object. +// ToGetRequestInformation all the terms under the set. // returns a *RequestInformation when successful func (m *ItemTermStoreSetsItemTermsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTermStoreSetsItemTermsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_term_store_sets_item_terms_term_item_request_builder.go b/sites/item_term_store_sets_item_terms_term_item_request_builder.go index 5f7cfc37836..b0743b5518c 100644 --- a/sites/item_term_store_sets_item_terms_term_item_request_builder.go +++ b/sites/item_term_store_sets_item_terms_term_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTermStoreSetsItemTermsTermItemRequestBuilderDeleteRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTermStoreSetsItemTermsTermItemRequestBuilderGetQueryParameters read the properties and relationships of a term object. +// ItemTermStoreSetsItemTermsTermItemRequestBuilderGetQueryParameters all the terms under the set. type ItemTermStoreSetsItemTermsTermItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewItemTermStoreSetsItemTermsTermItemRequestBuilder(rawUrl string, requestA urlParams["request-raw-url"] = rawUrl return NewItemTermStoreSetsItemTermsTermItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a term object. +// Delete delete navigation property terms for sites // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-term-delete?view=graph-rest-1.0 func (m *ItemTermStoreSetsItemTermsTermItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTermStoreSetsItemTermsTermItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *ItemTermStoreSetsItemTermsTermItemRequestBuilder) Delete(ctx context.Co } return nil } -// Get read the properties and relationships of a term object. +// Get all the terms under the set. // returns a Termable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-term-get?view=graph-rest-1.0 func (m *ItemTermStoreSetsItemTermsTermItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTermStoreSetsItemTermsTermItemRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,12 +95,9 @@ func (m *ItemTermStoreSetsItemTermsTermItemRequestBuilder) Get(ctx context.Conte } return res.(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable), nil } -// Patch update the properties of a term object. +// Patch update the navigation property terms in sites // returns a Termable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-term-update?view=graph-rest-1.0 func (m *ItemTermStoreSetsItemTermsTermItemRequestBuilder) Patch(ctx context.Context, body i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, requestConfiguration *ItemTermStoreSetsItemTermsTermItemRequestBuilderPatchRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -134,7 +125,7 @@ func (m *ItemTermStoreSetsItemTermsTermItemRequestBuilder) Relations()(*ItemTerm func (m *ItemTermStoreSetsItemTermsTermItemRequestBuilder) Set()(*ItemTermStoreSetsItemTermsItemSetRequestBuilder) { return NewItemTermStoreSetsItemTermsItemSetRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a term object. +// ToDeleteRequestInformation delete navigation property terms for sites // returns a *RequestInformation when successful func (m *ItemTermStoreSetsItemTermsTermItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTermStoreSetsItemTermsTermItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -145,7 +136,7 @@ func (m *ItemTermStoreSetsItemTermsTermItemRequestBuilder) ToDeleteRequestInform requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a term object. +// ToGetRequestInformation all the terms under the set. // returns a *RequestInformation when successful func (m *ItemTermStoreSetsItemTermsTermItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTermStoreSetsItemTermsTermItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -159,7 +150,7 @@ func (m *ItemTermStoreSetsItemTermsTermItemRequestBuilder) ToGetRequestInformati requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a term object. +// ToPatchRequestInformation update the navigation property terms in sites // returns a *RequestInformation when successful func (m *ItemTermStoreSetsItemTermsTermItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, requestConfiguration *ItemTermStoreSetsItemTermsTermItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_term_store_sets_request_builder.go b/sites/item_term_store_sets_request_builder.go index 58919ff4cca..ad79eafde3e 100644 --- a/sites/item_term_store_sets_request_builder.go +++ b/sites/item_term_store_sets_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTermStoreSetsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTermStoreSetsRequestBuilderGetQueryParameters read the properties and relationships of a set object. +// ItemTermStoreSetsRequestBuilderGetQueryParameters collection of all sets available in the term store. type ItemTermStoreSetsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewItemTermStoreSetsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7 func (m *ItemTermStoreSetsRequestBuilder) Count()(*ItemTermStoreSetsCountRequestBuilder) { return NewItemTermStoreSetsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of a set object. +// Get collection of all sets available in the term store. // returns a SetCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemTermStoreSetsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTermStoreSetsRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.SetCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *ItemTermStoreSetsRequestBuilder) Post(ctx context.Context, body i45fc41 } return res.(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Setable), nil } -// ToGetRequestInformation read the properties and relationships of a set object. +// ToGetRequestInformation collection of all sets available in the term store. // returns a *RequestInformation when successful func (m *ItemTermStoreSetsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTermStoreSetsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_term_store_sets_set_item_request_builder.go b/sites/item_term_store_sets_set_item_request_builder.go index c7cd7cc308f..6f127d69225 100644 --- a/sites/item_term_store_sets_set_item_request_builder.go +++ b/sites/item_term_store_sets_set_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTermStoreSetsSetItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTermStoreSetsSetItemRequestBuilderGetQueryParameters read the properties and relationships of a set object. +// ItemTermStoreSetsSetItemRequestBuilderGetQueryParameters collection of all sets available in the term store. type ItemTermStoreSetsSetItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewItemTermStoreSetsSetItemRequestBuilder(rawUrl string, requestAdapter i2a urlParams["request-raw-url"] = rawUrl return NewItemTermStoreSetsSetItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a set object. +// Delete delete navigation property sets for sites // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-set-delete?view=graph-rest-1.0 func (m *ItemTermStoreSetsSetItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTermStoreSetsSetItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *ItemTermStoreSetsSetItemRequestBuilder) Delete(ctx context.Context, req } return nil } -// Get read the properties and relationships of a set object. +// Get collection of all sets available in the term store. // returns a Setable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-set-get?view=graph-rest-1.0 func (m *ItemTermStoreSetsSetItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTermStoreSetsSetItemRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Setable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -106,12 +100,9 @@ func (m *ItemTermStoreSetsSetItemRequestBuilder) Get(ctx context.Context, reques func (m *ItemTermStoreSetsSetItemRequestBuilder) ParentGroup()(*ItemTermStoreSetsItemParentGroupRequestBuilder) { return NewItemTermStoreSetsItemParentGroupRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of a set object. +// Patch update the navigation property sets in sites // returns a Setable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-set-update?view=graph-rest-1.0 func (m *ItemTermStoreSetsSetItemRequestBuilder) Patch(ctx context.Context, body i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Setable, requestConfiguration *ItemTermStoreSetsSetItemRequestBuilderPatchRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Setable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -139,7 +130,7 @@ func (m *ItemTermStoreSetsSetItemRequestBuilder) Relations()(*ItemTermStoreSetsI func (m *ItemTermStoreSetsSetItemRequestBuilder) Terms()(*ItemTermStoreSetsItemTermsRequestBuilder) { return NewItemTermStoreSetsItemTermsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a set object. +// ToDeleteRequestInformation delete navigation property sets for sites // returns a *RequestInformation when successful func (m *ItemTermStoreSetsSetItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTermStoreSetsSetItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -150,7 +141,7 @@ func (m *ItemTermStoreSetsSetItemRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a set object. +// ToGetRequestInformation collection of all sets available in the term store. // returns a *RequestInformation when successful func (m *ItemTermStoreSetsSetItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTermStoreSetsSetItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -164,7 +155,7 @@ func (m *ItemTermStoreSetsSetItemRequestBuilder) ToGetRequestInformation(ctx con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a set object. +// ToPatchRequestInformation update the navigation property sets in sites // returns a *RequestInformation when successful func (m *ItemTermStoreSetsSetItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Setable, requestConfiguration *ItemTermStoreSetsSetItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/remove_request_builder.go b/sites/remove_request_builder.go index d19c122be92..0e73d3f6fee 100644 --- a/sites/remove_request_builder.go +++ b/sites/remove_request_builder.go @@ -36,7 +36,7 @@ func NewRemoveRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371c // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/site-unfollow?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/site-unfollow?view=graph-rest-beta func (m *RemoveRequestBuilder) Post(ctx context.Context, body RemovePostRequestBodyable, requestConfiguration *RemoveRequestBuilderPostRequestConfiguration)(RemoveResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *RemoveRequestBuilder) Post(ctx context.Context, body RemovePostRequestB // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/site-unfollow?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/site-unfollow?view=graph-rest-beta func (m *RemoveRequestBuilder) PostAsRemovePostResponse(ctx context.Context, body RemovePostRequestBodyable, requestConfiguration *RemoveRequestBuilderPostRequestConfiguration)(RemovePostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/sites/site_item_request_builder.go b/sites/site_item_request_builder.go index 47e4340971f..702ab23fa95 100644 --- a/sites/site_item_request_builder.go +++ b/sites/site_item_request_builder.go @@ -11,7 +11,7 @@ import ( type SiteItemRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// SiteItemRequestBuilderGetQueryParameters retrieve properties and relationships for a [site][] resource.A site resource represents a team site in SharePoint. +// SiteItemRequestBuilderGetQueryParameters retrieve properties and relationships for a site resource.A site resource represents a team site in SharePoint. type SiteItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -82,12 +82,12 @@ func (m *SiteItemRequestBuilder) Drives()(*ItemDrivesRequestBuilder) { func (m *SiteItemRequestBuilder) ExternalColumns()(*ItemExternalColumnsRequestBuilder) { return NewItemExternalColumnsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve properties and relationships for a [site][] resource.A site resource represents a team site in SharePoint. +// Get retrieve properties and relationships for a site resource.A site resource represents a team site in SharePoint. // returns a Siteable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/site-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/site-get?view=graph-rest-beta func (m *SiteItemRequestBuilder) Get(ctx context.Context, requestConfiguration *SiteItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Siteable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -195,7 +195,7 @@ func (m *SiteItemRequestBuilder) Sites()(*ItemSitesRequestBuilder) { func (m *SiteItemRequestBuilder) TermStore()(*ItemTermStoreRequestBuilder) { return NewItemTermStoreRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation retrieve properties and relationships for a [site][] resource.A site resource represents a team site in SharePoint. +// ToGetRequestInformation retrieve properties and relationships for a site resource.A site resource represents a team site in SharePoint. // returns a *RequestInformation when successful func (m *SiteItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SiteItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/sites_request_builder.go b/sites/sites_request_builder.go index 7e8dc15fa10..b75bd303970 100644 --- a/sites/sites_request_builder.go +++ b/sites/sites_request_builder.go @@ -11,7 +11,7 @@ import ( type SitesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// SitesRequestBuilderGetQueryParameters search across a SharePoint tenant for [sites][] that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. +// SitesRequestBuilderGetQueryParameters search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. type SitesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,12 @@ func (m *SitesRequestBuilder) Count()(*CountRequestBuilder) { func (m *SitesRequestBuilder) Delta()(*DeltaRequestBuilder) { return NewDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get search across a SharePoint tenant for [sites][] that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. +// Get search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. // returns a SiteCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/site-search?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/site-search?view=graph-rest-beta func (m *SitesRequestBuilder) Get(ctx context.Context, requestConfiguration *SitesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -112,7 +112,7 @@ func (m *SitesRequestBuilder) GetAllSites()(*GetAllSitesRequestBuilder) { func (m *SitesRequestBuilder) Remove()(*RemoveRequestBuilder) { return NewRemoveRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation search across a SharePoint tenant for [sites][] that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. +// ToGetRequestInformation search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. // returns a *RequestInformation when successful func (m *SitesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SitesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/booking_businesses_booking_business_item_request_builder.go b/solutions/booking_businesses_booking_business_item_request_builder.go index dac0e6ac821..d06abb9de71 100644 --- a/solutions/booking_businesses_booking_business_item_request_builder.go +++ b/solutions/booking_businesses_booking_business_item_request_builder.go @@ -74,11 +74,8 @@ func (m *BookingBusinessesBookingBusinessItemRequestBuilder) Customers()(*Bookin func (m *BookingBusinessesBookingBusinessItemRequestBuilder) CustomQuestions()(*BookingBusinessesItemCustomQuestionsRequestBuilder) { return NewBookingBusinessesItemCustomQuestionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Delete delete a bookingBusiness object. +// Delete delete navigation property bookingBusinesses for solutions // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingbusiness-delete?view=graph-rest-1.0 func (m *BookingBusinessesBookingBusinessItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *BookingBusinessesBookingBusinessItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -153,7 +150,7 @@ func (m *BookingBusinessesBookingBusinessItemRequestBuilder) Services()(*Booking func (m *BookingBusinessesBookingBusinessItemRequestBuilder) StaffMembers()(*BookingBusinessesItemStaffMembersRequestBuilder) { return NewBookingBusinessesItemStaffMembersRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a bookingBusiness object. +// ToDeleteRequestInformation delete navigation property bookingBusinesses for solutions // returns a *RequestInformation when successful func (m *BookingBusinessesBookingBusinessItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *BookingBusinessesBookingBusinessItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/booking_businesses_item_appointments_booking_appointment_item_request_builder.go b/solutions/booking_businesses_item_appointments_booking_appointment_item_request_builder.go index 3c8e0be4e07..c1f2cce9b86 100644 --- a/solutions/booking_businesses_item_appointments_booking_appointment_item_request_builder.go +++ b/solutions/booking_businesses_item_appointments_booking_appointment_item_request_builder.go @@ -18,7 +18,7 @@ type BookingBusinessesItemAppointmentsBookingAppointmentItemRequestBuilderDelete // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BookingBusinessesItemAppointmentsBookingAppointmentItemRequestBuilderGetQueryParameters get the properties and relationships of a bookingAppointment object in the specified bookingBusiness. The start and end properties are always returned in UTC. +// BookingBusinessesItemAppointmentsBookingAppointmentItemRequestBuilderGetQueryParameters all the appointments of this business. Read-only. Nullable. type BookingBusinessesItemAppointmentsBookingAppointmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewBookingBusinessesItemAppointmentsBookingAppointmentItemRequestBuilder(ra urlParams["request-raw-url"] = rawUrl return NewBookingBusinessesItemAppointmentsBookingAppointmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a bookingAppointment in the specified bookingBusiness. +// Delete delete navigation property appointments for solutions // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingappointment-delete?view=graph-rest-1.0 func (m *BookingBusinessesItemAppointmentsBookingAppointmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *BookingBusinessesItemAppointmentsBookingAppointmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *BookingBusinessesItemAppointmentsBookingAppointmentItemRequestBuilder) } return nil } -// Get get the properties and relationships of a bookingAppointment object in the specified bookingBusiness. The start and end properties are always returned in UTC. +// Get all the appointments of this business. Read-only. Nullable. // returns a BookingAppointmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingappointment-get?view=graph-rest-1.0 func (m *BookingBusinessesItemAppointmentsBookingAppointmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *BookingBusinessesItemAppointmentsBookingAppointmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingAppointmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,12 +95,9 @@ func (m *BookingBusinessesItemAppointmentsBookingAppointmentItemRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingAppointmentable), nil } -// Patch update the properties of a bookingAppointment object in the specified bookingBusiness. +// Patch update the navigation property appointments in solutions // returns a BookingAppointmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingappointment-update?view=graph-rest-1.0 func (m *BookingBusinessesItemAppointmentsBookingAppointmentItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingAppointmentable, requestConfiguration *BookingBusinessesItemAppointmentsBookingAppointmentItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingAppointmentable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -124,7 +115,7 @@ func (m *BookingBusinessesItemAppointmentsBookingAppointmentItemRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingAppointmentable), nil } -// ToDeleteRequestInformation delete a bookingAppointment in the specified bookingBusiness. +// ToDeleteRequestInformation delete navigation property appointments for solutions // returns a *RequestInformation when successful func (m *BookingBusinessesItemAppointmentsBookingAppointmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *BookingBusinessesItemAppointmentsBookingAppointmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -135,7 +126,7 @@ func (m *BookingBusinessesItemAppointmentsBookingAppointmentItemRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties and relationships of a bookingAppointment object in the specified bookingBusiness. The start and end properties are always returned in UTC. +// ToGetRequestInformation all the appointments of this business. Read-only. Nullable. // returns a *RequestInformation when successful func (m *BookingBusinessesItemAppointmentsBookingAppointmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BookingBusinessesItemAppointmentsBookingAppointmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -149,7 +140,7 @@ func (m *BookingBusinessesItemAppointmentsBookingAppointmentItemRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a bookingAppointment object in the specified bookingBusiness. +// ToPatchRequestInformation update the navigation property appointments in solutions // returns a *RequestInformation when successful func (m *BookingBusinessesItemAppointmentsBookingAppointmentItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingAppointmentable, requestConfiguration *BookingBusinessesItemAppointmentsBookingAppointmentItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/booking_businesses_item_appointments_item_cancel_request_builder.go b/solutions/booking_businesses_item_appointments_item_cancel_request_builder.go index a689c48d3ba..298601eabd0 100644 --- a/solutions/booking_businesses_item_appointments_item_cancel_request_builder.go +++ b/solutions/booking_businesses_item_appointments_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewBookingBusinessesItemAppointmentsItemCancelRequestBuilder(rawUrl string, // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingappointment-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/bookingappointment-cancel?view=graph-rest-beta func (m *BookingBusinessesItemAppointmentsItemCancelRequestBuilder) Post(ctx context.Context, body BookingBusinessesItemAppointmentsItemCancelPostRequestBodyable, requestConfiguration *BookingBusinessesItemAppointmentsItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/solutions/booking_businesses_item_appointments_request_builder.go b/solutions/booking_businesses_item_appointments_request_builder.go index e853a9af51d..d45b0d5afb7 100644 --- a/solutions/booking_businesses_item_appointments_request_builder.go +++ b/solutions/booking_businesses_item_appointments_request_builder.go @@ -11,7 +11,7 @@ import ( type BookingBusinessesItemAppointmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// BookingBusinessesItemAppointmentsRequestBuilderGetQueryParameters get a list of bookingAppointment objects for the specified bookingBusiness. +// BookingBusinessesItemAppointmentsRequestBuilderGetQueryParameters all the appointments of this business. Read-only. Nullable. type BookingBusinessesItemAppointmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewBookingBusinessesItemAppointmentsRequestBuilder(rawUrl string, requestAd func (m *BookingBusinessesItemAppointmentsRequestBuilder) Count()(*BookingBusinessesItemAppointmentsCountRequestBuilder) { return NewBookingBusinessesItemAppointmentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of bookingAppointment objects for the specified bookingBusiness. +// Get all the appointments of this business. Read-only. Nullable. // returns a BookingAppointmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingbusiness-list-appointments?view=graph-rest-1.0 func (m *BookingBusinessesItemAppointmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *BookingBusinessesItemAppointmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingAppointmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *BookingBusinessesItemAppointmentsRequestBuilder) Get(ctx context.Contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingAppointmentCollectionResponseable), nil } -// Post create a new bookingAppointment for the specified bookingBusiness. +// Post create new navigation property to appointments for solutions // returns a BookingAppointmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingbusiness-post-appointments?view=graph-rest-1.0 func (m *BookingBusinessesItemAppointmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingAppointmentable, requestConfiguration *BookingBusinessesItemAppointmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingAppointmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *BookingBusinessesItemAppointmentsRequestBuilder) Post(ctx context.Conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingAppointmentable), nil } -// ToGetRequestInformation get a list of bookingAppointment objects for the specified bookingBusiness. +// ToGetRequestInformation all the appointments of this business. Read-only. Nullable. // returns a *RequestInformation when successful func (m *BookingBusinessesItemAppointmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BookingBusinessesItemAppointmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *BookingBusinessesItemAppointmentsRequestBuilder) ToGetRequestInformatio requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new bookingAppointment for the specified bookingBusiness. +// ToPostRequestInformation create new navigation property to appointments for solutions // returns a *RequestInformation when successful func (m *BookingBusinessesItemAppointmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingAppointmentable, requestConfiguration *BookingBusinessesItemAppointmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/booking_businesses_item_calendar_view_item_cancel_request_builder.go b/solutions/booking_businesses_item_calendar_view_item_cancel_request_builder.go index a8f1d1b95ce..f37beaabfdf 100644 --- a/solutions/booking_businesses_item_calendar_view_item_cancel_request_builder.go +++ b/solutions/booking_businesses_item_calendar_view_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewBookingBusinessesItemCalendarViewItemCancelRequestBuilder(rawUrl string, // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingappointment-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/bookingappointment-cancel?view=graph-rest-beta func (m *BookingBusinessesItemCalendarViewItemCancelRequestBuilder) Post(ctx context.Context, body BookingBusinessesItemCalendarViewItemCancelPostRequestBodyable, requestConfiguration *BookingBusinessesItemCalendarViewItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/solutions/booking_businesses_item_calendar_view_request_builder.go b/solutions/booking_businesses_item_calendar_view_request_builder.go index 997e5f71996..7dc658eb215 100644 --- a/solutions/booking_businesses_item_calendar_view_request_builder.go +++ b/solutions/booking_businesses_item_calendar_view_request_builder.go @@ -83,9 +83,6 @@ func (m *BookingBusinessesItemCalendarViewRequestBuilder) Count()(*BookingBusine // Get the set of appointments of this business in a specified date range. Read-only. Nullable. // returns a BookingAppointmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingbusiness-list-calendarview?view=graph-rest-1.0 func (m *BookingBusinessesItemCalendarViewRequestBuilder) Get(ctx context.Context, requestConfiguration *BookingBusinessesItemCalendarViewRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingAppointmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/solutions/booking_businesses_item_custom_questions_booking_custom_question_item_request_builder.go b/solutions/booking_businesses_item_custom_questions_booking_custom_question_item_request_builder.go index 5c56a06d908..62d06a925fd 100644 --- a/solutions/booking_businesses_item_custom_questions_booking_custom_question_item_request_builder.go +++ b/solutions/booking_businesses_item_custom_questions_booking_custom_question_item_request_builder.go @@ -18,7 +18,7 @@ type BookingBusinessesItemCustomQuestionsBookingCustomQuestionItemRequestBuilder // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BookingBusinessesItemCustomQuestionsBookingCustomQuestionItemRequestBuilderGetQueryParameters read the properties and relationships of a bookingCustomQuestion object. +// BookingBusinessesItemCustomQuestionsBookingCustomQuestionItemRequestBuilderGetQueryParameters all custom questions of this business. type BookingBusinessesItemCustomQuestionsBookingCustomQuestionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewBookingBusinessesItemCustomQuestionsBookingCustomQuestionItemRequestBuil urlParams["request-raw-url"] = rawUrl return NewBookingBusinessesItemCustomQuestionsBookingCustomQuestionItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete the specified bookingCustomQuestion object. +// Delete delete navigation property customQuestions for solutions // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingcustomquestion-delete?view=graph-rest-1.0 func (m *BookingBusinessesItemCustomQuestionsBookingCustomQuestionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *BookingBusinessesItemCustomQuestionsBookingCustomQuestionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *BookingBusinessesItemCustomQuestionsBookingCustomQuestionItemRequestBui } return nil } -// Get read the properties and relationships of a bookingCustomQuestion object. +// Get all custom questions of this business. // returns a BookingCustomQuestionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingcustomquestion-get?view=graph-rest-1.0 func (m *BookingBusinessesItemCustomQuestionsBookingCustomQuestionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *BookingBusinessesItemCustomQuestionsBookingCustomQuestionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingCustomQuestionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *BookingBusinessesItemCustomQuestionsBookingCustomQuestionItemRequestBui } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingCustomQuestionable), nil } -// Patch update the properties of a bookingCustomQuestion object. +// Patch update the navigation property customQuestions in solutions // returns a BookingCustomQuestionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingcustomquestion-update?view=graph-rest-1.0 func (m *BookingBusinessesItemCustomQuestionsBookingCustomQuestionItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingCustomQuestionable, requestConfiguration *BookingBusinessesItemCustomQuestionsBookingCustomQuestionItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingCustomQuestionable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *BookingBusinessesItemCustomQuestionsBookingCustomQuestionItemRequestBui } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingCustomQuestionable), nil } -// ToDeleteRequestInformation delete the specified bookingCustomQuestion object. +// ToDeleteRequestInformation delete navigation property customQuestions for solutions // returns a *RequestInformation when successful func (m *BookingBusinessesItemCustomQuestionsBookingCustomQuestionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *BookingBusinessesItemCustomQuestionsBookingCustomQuestionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *BookingBusinessesItemCustomQuestionsBookingCustomQuestionItemRequestBui requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a bookingCustomQuestion object. +// ToGetRequestInformation all custom questions of this business. // returns a *RequestInformation when successful func (m *BookingBusinessesItemCustomQuestionsBookingCustomQuestionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BookingBusinessesItemCustomQuestionsBookingCustomQuestionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *BookingBusinessesItemCustomQuestionsBookingCustomQuestionItemRequestBui requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a bookingCustomQuestion object. +// ToPatchRequestInformation update the navigation property customQuestions in solutions // returns a *RequestInformation when successful func (m *BookingBusinessesItemCustomQuestionsBookingCustomQuestionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingCustomQuestionable, requestConfiguration *BookingBusinessesItemCustomQuestionsBookingCustomQuestionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/booking_businesses_item_custom_questions_request_builder.go b/solutions/booking_businesses_item_custom_questions_request_builder.go index 5c1ba804282..1a44b254767 100644 --- a/solutions/booking_businesses_item_custom_questions_request_builder.go +++ b/solutions/booking_businesses_item_custom_questions_request_builder.go @@ -11,7 +11,7 @@ import ( type BookingBusinessesItemCustomQuestionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// BookingBusinessesItemCustomQuestionsRequestBuilderGetQueryParameters get the bookingCustomQuestion resources associated with a bookingBusiness. +// BookingBusinessesItemCustomQuestionsRequestBuilderGetQueryParameters all custom questions of this business. type BookingBusinessesItemCustomQuestionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewBookingBusinessesItemCustomQuestionsRequestBuilder(rawUrl string, reques func (m *BookingBusinessesItemCustomQuestionsRequestBuilder) Count()(*BookingBusinessesItemCustomQuestionsCountRequestBuilder) { return NewBookingBusinessesItemCustomQuestionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the bookingCustomQuestion resources associated with a bookingBusiness. +// Get all custom questions of this business. // returns a BookingCustomQuestionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingbusiness-list-customquestions?view=graph-rest-1.0 func (m *BookingBusinessesItemCustomQuestionsRequestBuilder) Get(ctx context.Context, requestConfiguration *BookingBusinessesItemCustomQuestionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingCustomQuestionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *BookingBusinessesItemCustomQuestionsRequestBuilder) Get(ctx context.Con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingCustomQuestionCollectionResponseable), nil } -// Post create a new bookingCustomQuestion object. +// Post create new navigation property to customQuestions for solutions // returns a BookingCustomQuestionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingbusiness-post-customquestions?view=graph-rest-1.0 func (m *BookingBusinessesItemCustomQuestionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingCustomQuestionable, requestConfiguration *BookingBusinessesItemCustomQuestionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingCustomQuestionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *BookingBusinessesItemCustomQuestionsRequestBuilder) Post(ctx context.Co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingCustomQuestionable), nil } -// ToGetRequestInformation get the bookingCustomQuestion resources associated with a bookingBusiness. +// ToGetRequestInformation all custom questions of this business. // returns a *RequestInformation when successful func (m *BookingBusinessesItemCustomQuestionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BookingBusinessesItemCustomQuestionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *BookingBusinessesItemCustomQuestionsRequestBuilder) ToGetRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new bookingCustomQuestion object. +// ToPostRequestInformation create new navigation property to customQuestions for solutions // returns a *RequestInformation when successful func (m *BookingBusinessesItemCustomQuestionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingCustomQuestionable, requestConfiguration *BookingBusinessesItemCustomQuestionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/booking_businesses_item_customers_booking_customer_item_request_builder.go b/solutions/booking_businesses_item_customers_booking_customer_item_request_builder.go index b479563cb5c..1aa597d5417 100644 --- a/solutions/booking_businesses_item_customers_booking_customer_item_request_builder.go +++ b/solutions/booking_businesses_item_customers_booking_customer_item_request_builder.go @@ -18,7 +18,7 @@ type BookingBusinessesItemCustomersBookingCustomerItemRequestBuilderDeleteReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BookingBusinessesItemCustomersBookingCustomerItemRequestBuilderGetQueryParameters get the properties and relationships of a bookingCustomer object. +// BookingBusinessesItemCustomersBookingCustomerItemRequestBuilderGetQueryParameters all the customers of this business. Read-only. Nullable. type BookingBusinessesItemCustomersBookingCustomerItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewBookingBusinessesItemCustomersBookingCustomerItemRequestBuilder(rawUrl s urlParams["request-raw-url"] = rawUrl return NewBookingBusinessesItemCustomersBookingCustomerItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete the specified bookingCustomer object. +// Delete delete navigation property customers for solutions // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingcustomer-delete?view=graph-rest-1.0 func (m *BookingBusinessesItemCustomersBookingCustomerItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *BookingBusinessesItemCustomersBookingCustomerItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *BookingBusinessesItemCustomersBookingCustomerItemRequestBuilder) Delete } return nil } -// Get get the properties and relationships of a bookingCustomer object. +// Get all the customers of this business. Read-only. Nullable. // returns a BookingCustomerable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingcustomer-get?view=graph-rest-1.0 func (m *BookingBusinessesItemCustomersBookingCustomerItemRequestBuilder) Get(ctx context.Context, requestConfiguration *BookingBusinessesItemCustomersBookingCustomerItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingCustomerable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *BookingBusinessesItemCustomersBookingCustomerItemRequestBuilder) Get(ct } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingCustomerable), nil } -// Patch update the properties of a bookingCustomer object. +// Patch update the navigation property customers in solutions // returns a BookingCustomerable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingcustomer-update?view=graph-rest-1.0 func (m *BookingBusinessesItemCustomersBookingCustomerItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingCustomerable, requestConfiguration *BookingBusinessesItemCustomersBookingCustomerItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingCustomerable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *BookingBusinessesItemCustomersBookingCustomerItemRequestBuilder) Patch( } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingCustomerable), nil } -// ToDeleteRequestInformation delete the specified bookingCustomer object. +// ToDeleteRequestInformation delete navigation property customers for solutions // returns a *RequestInformation when successful func (m *BookingBusinessesItemCustomersBookingCustomerItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *BookingBusinessesItemCustomersBookingCustomerItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *BookingBusinessesItemCustomersBookingCustomerItemRequestBuilder) ToDele requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties and relationships of a bookingCustomer object. +// ToGetRequestInformation all the customers of this business. Read-only. Nullable. // returns a *RequestInformation when successful func (m *BookingBusinessesItemCustomersBookingCustomerItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BookingBusinessesItemCustomersBookingCustomerItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *BookingBusinessesItemCustomersBookingCustomerItemRequestBuilder) ToGetR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a bookingCustomer object. +// ToPatchRequestInformation update the navigation property customers in solutions // returns a *RequestInformation when successful func (m *BookingBusinessesItemCustomersBookingCustomerItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingCustomerable, requestConfiguration *BookingBusinessesItemCustomersBookingCustomerItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/booking_businesses_item_customers_request_builder.go b/solutions/booking_businesses_item_customers_request_builder.go index c1a8016eab6..14343051723 100644 --- a/solutions/booking_businesses_item_customers_request_builder.go +++ b/solutions/booking_businesses_item_customers_request_builder.go @@ -11,7 +11,7 @@ import ( type BookingBusinessesItemCustomersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// BookingBusinessesItemCustomersRequestBuilderGetQueryParameters get a list of bookingCustomer objects. +// BookingBusinessesItemCustomersRequestBuilderGetQueryParameters all the customers of this business. Read-only. Nullable. type BookingBusinessesItemCustomersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewBookingBusinessesItemCustomersRequestBuilder(rawUrl string, requestAdapt func (m *BookingBusinessesItemCustomersRequestBuilder) Count()(*BookingBusinessesItemCustomersCountRequestBuilder) { return NewBookingBusinessesItemCustomersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of bookingCustomer objects. +// Get all the customers of this business. Read-only. Nullable. // returns a BookingCustomerCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingbusiness-list-customers?view=graph-rest-1.0 func (m *BookingBusinessesItemCustomersRequestBuilder) Get(ctx context.Context, requestConfiguration *BookingBusinessesItemCustomersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingCustomerCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *BookingBusinessesItemCustomersRequestBuilder) Get(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingCustomerCollectionResponseable), nil } -// Post create a new bookingCustomer object. +// Post create new navigation property to customers for solutions // returns a BookingCustomerable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingbusiness-post-customers?view=graph-rest-1.0 func (m *BookingBusinessesItemCustomersRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingCustomerable, requestConfiguration *BookingBusinessesItemCustomersRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingCustomerable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *BookingBusinessesItemCustomersRequestBuilder) Post(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingCustomerable), nil } -// ToGetRequestInformation get a list of bookingCustomer objects. +// ToGetRequestInformation all the customers of this business. Read-only. Nullable. // returns a *RequestInformation when successful func (m *BookingBusinessesItemCustomersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BookingBusinessesItemCustomersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *BookingBusinessesItemCustomersRequestBuilder) ToGetRequestInformation(c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new bookingCustomer object. +// ToPostRequestInformation create new navigation property to customers for solutions // returns a *RequestInformation when successful func (m *BookingBusinessesItemCustomersRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingCustomerable, requestConfiguration *BookingBusinessesItemCustomersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/booking_businesses_item_get_staff_availability_request_builder.go b/solutions/booking_businesses_item_get_staff_availability_request_builder.go index 588cfb5006d..45edd72bcd6 100644 --- a/solutions/booking_businesses_item_get_staff_availability_request_builder.go +++ b/solutions/booking_businesses_item_get_staff_availability_request_builder.go @@ -36,7 +36,7 @@ func NewBookingBusinessesItemGetStaffAvailabilityRequestBuilder(rawUrl string, r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingbusiness-getstaffavailability?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/bookingbusiness-getstaffavailability?view=graph-rest-beta func (m *BookingBusinessesItemGetStaffAvailabilityRequestBuilder) Post(ctx context.Context, body BookingBusinessesItemGetStaffAvailabilityPostRequestBodyable, requestConfiguration *BookingBusinessesItemGetStaffAvailabilityRequestBuilderPostRequestConfiguration)(BookingBusinessesItemGetStaffAvailabilityResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *BookingBusinessesItemGetStaffAvailabilityRequestBuilder) Post(ctx conte // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingbusiness-getstaffavailability?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/bookingbusiness-getstaffavailability?view=graph-rest-beta func (m *BookingBusinessesItemGetStaffAvailabilityRequestBuilder) PostAsGetStaffAvailabilityPostResponse(ctx context.Context, body BookingBusinessesItemGetStaffAvailabilityPostRequestBodyable, requestConfiguration *BookingBusinessesItemGetStaffAvailabilityRequestBuilderPostRequestConfiguration)(BookingBusinessesItemGetStaffAvailabilityPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/solutions/booking_businesses_item_publish_request_builder.go b/solutions/booking_businesses_item_publish_request_builder.go index 1468fbfa2a8..310da5287f6 100644 --- a/solutions/booking_businesses_item_publish_request_builder.go +++ b/solutions/booking_businesses_item_publish_request_builder.go @@ -34,7 +34,7 @@ func NewBookingBusinessesItemPublishRequestBuilder(rawUrl string, requestAdapter // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingbusiness-publish?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/bookingbusiness-publish?view=graph-rest-beta func (m *BookingBusinessesItemPublishRequestBuilder) Post(ctx context.Context, requestConfiguration *BookingBusinessesItemPublishRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/solutions/booking_businesses_item_services_booking_service_item_request_builder.go b/solutions/booking_businesses_item_services_booking_service_item_request_builder.go index 14bbd1adaf5..a7239f7d8ef 100644 --- a/solutions/booking_businesses_item_services_booking_service_item_request_builder.go +++ b/solutions/booking_businesses_item_services_booking_service_item_request_builder.go @@ -18,7 +18,7 @@ type BookingBusinessesItemServicesBookingServiceItemRequestBuilderDeleteRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BookingBusinessesItemServicesBookingServiceItemRequestBuilderGetQueryParameters get the properties and relationships of a bookingService object in the specified bookingBusiness. +// BookingBusinessesItemServicesBookingServiceItemRequestBuilderGetQueryParameters all the services offered by this business. Read-only. Nullable. type BookingBusinessesItemServicesBookingServiceItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewBookingBusinessesItemServicesBookingServiceItemRequestBuilder(rawUrl str urlParams["request-raw-url"] = rawUrl return NewBookingBusinessesItemServicesBookingServiceItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a bookingService object in the specified bookingBusiness. +// Delete delete navigation property services for solutions // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingservice-delete?view=graph-rest-1.0 func (m *BookingBusinessesItemServicesBookingServiceItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *BookingBusinessesItemServicesBookingServiceItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *BookingBusinessesItemServicesBookingServiceItemRequestBuilder) Delete(c } return nil } -// Get get the properties and relationships of a bookingService object in the specified bookingBusiness. +// Get all the services offered by this business. Read-only. Nullable. // returns a BookingServiceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingservice-get?view=graph-rest-1.0 func (m *BookingBusinessesItemServicesBookingServiceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *BookingBusinessesItemServicesBookingServiceItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingServiceable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *BookingBusinessesItemServicesBookingServiceItemRequestBuilder) Get(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingServiceable), nil } -// Patch update the properties of a bookingService object in the specified bookingBusiness. The following are some examples you can customize for a service:- Price- Typical length of an appointment- Reminders- Any, time buffer to set up before or finish up after the service- Scheduling policy parameters such as minimum notice to book or cancel, and whether customers can select specific staff members for an appointment. +// Patch update the navigation property services in solutions // returns a BookingServiceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingservice-update?view=graph-rest-1.0 func (m *BookingBusinessesItemServicesBookingServiceItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingServiceable, requestConfiguration *BookingBusinessesItemServicesBookingServiceItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingServiceable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *BookingBusinessesItemServicesBookingServiceItemRequestBuilder) Patch(ct } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingServiceable), nil } -// ToDeleteRequestInformation delete a bookingService object in the specified bookingBusiness. +// ToDeleteRequestInformation delete navigation property services for solutions // returns a *RequestInformation when successful func (m *BookingBusinessesItemServicesBookingServiceItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *BookingBusinessesItemServicesBookingServiceItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *BookingBusinessesItemServicesBookingServiceItemRequestBuilder) ToDelete requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties and relationships of a bookingService object in the specified bookingBusiness. +// ToGetRequestInformation all the services offered by this business. Read-only. Nullable. // returns a *RequestInformation when successful func (m *BookingBusinessesItemServicesBookingServiceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BookingBusinessesItemServicesBookingServiceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *BookingBusinessesItemServicesBookingServiceItemRequestBuilder) ToGetReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a bookingService object in the specified bookingBusiness. The following are some examples you can customize for a service:- Price- Typical length of an appointment- Reminders- Any, time buffer to set up before or finish up after the service- Scheduling policy parameters such as minimum notice to book or cancel, and whether customers can select specific staff members for an appointment. +// ToPatchRequestInformation update the navigation property services in solutions // returns a *RequestInformation when successful func (m *BookingBusinessesItemServicesBookingServiceItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingServiceable, requestConfiguration *BookingBusinessesItemServicesBookingServiceItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/booking_businesses_item_services_request_builder.go b/solutions/booking_businesses_item_services_request_builder.go index efecb0ccaba..8a846f89abe 100644 --- a/solutions/booking_businesses_item_services_request_builder.go +++ b/solutions/booking_businesses_item_services_request_builder.go @@ -11,7 +11,7 @@ import ( type BookingBusinessesItemServicesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// BookingBusinessesItemServicesRequestBuilderGetQueryParameters get a list of bookingService objects in the specified bookingBusiness. +// BookingBusinessesItemServicesRequestBuilderGetQueryParameters all the services offered by this business. Read-only. Nullable. type BookingBusinessesItemServicesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewBookingBusinessesItemServicesRequestBuilder(rawUrl string, requestAdapte func (m *BookingBusinessesItemServicesRequestBuilder) Count()(*BookingBusinessesItemServicesCountRequestBuilder) { return NewBookingBusinessesItemServicesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of bookingService objects in the specified bookingBusiness. +// Get all the services offered by this business. Read-only. Nullable. // returns a BookingServiceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingbusiness-list-services?view=graph-rest-1.0 func (m *BookingBusinessesItemServicesRequestBuilder) Get(ctx context.Context, requestConfiguration *BookingBusinessesItemServicesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingServiceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *BookingBusinessesItemServicesRequestBuilder) Get(ctx context.Context, r } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingServiceCollectionResponseable), nil } -// Post create a new bookingService for the specified bookingBusiness. +// Post create new navigation property to services for solutions // returns a BookingServiceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingbusiness-post-services?view=graph-rest-1.0 func (m *BookingBusinessesItemServicesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingServiceable, requestConfiguration *BookingBusinessesItemServicesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingServiceable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *BookingBusinessesItemServicesRequestBuilder) Post(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingServiceable), nil } -// ToGetRequestInformation get a list of bookingService objects in the specified bookingBusiness. +// ToGetRequestInformation all the services offered by this business. Read-only. Nullable. // returns a *RequestInformation when successful func (m *BookingBusinessesItemServicesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BookingBusinessesItemServicesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *BookingBusinessesItemServicesRequestBuilder) ToGetRequestInformation(ct requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new bookingService for the specified bookingBusiness. +// ToPostRequestInformation create new navigation property to services for solutions // returns a *RequestInformation when successful func (m *BookingBusinessesItemServicesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingServiceable, requestConfiguration *BookingBusinessesItemServicesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/booking_businesses_item_staff_members_booking_staff_member_item_request_builder.go b/solutions/booking_businesses_item_staff_members_booking_staff_member_item_request_builder.go index b9512a74d40..93a4e0c108d 100644 --- a/solutions/booking_businesses_item_staff_members_booking_staff_member_item_request_builder.go +++ b/solutions/booking_businesses_item_staff_members_booking_staff_member_item_request_builder.go @@ -18,7 +18,7 @@ type BookingBusinessesItemStaffMembersBookingStaffMemberItemRequestBuilderDelete // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BookingBusinessesItemStaffMembersBookingStaffMemberItemRequestBuilderGetQueryParameters get the properties and relationships of a bookingStaffMember in the specified bookingBusiness. +// BookingBusinessesItemStaffMembersBookingStaffMemberItemRequestBuilderGetQueryParameters all the staff members that provide services in this business. Read-only. Nullable. type BookingBusinessesItemStaffMembersBookingStaffMemberItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewBookingBusinessesItemStaffMembersBookingStaffMemberItemRequestBuilder(ra urlParams["request-raw-url"] = rawUrl return NewBookingBusinessesItemStaffMembersBookingStaffMemberItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a staff member in the specified bookingbusiness. +// Delete delete navigation property staffMembers for solutions // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingstaffmember-delete?view=graph-rest-1.0 func (m *BookingBusinessesItemStaffMembersBookingStaffMemberItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *BookingBusinessesItemStaffMembersBookingStaffMemberItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *BookingBusinessesItemStaffMembersBookingStaffMemberItemRequestBuilder) } return nil } -// Get get the properties and relationships of a bookingStaffMember in the specified bookingBusiness. +// Get all the staff members that provide services in this business. Read-only. Nullable. // returns a BookingStaffMemberable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingstaffmember-get?view=graph-rest-1.0 func (m *BookingBusinessesItemStaffMembersBookingStaffMemberItemRequestBuilder) Get(ctx context.Context, requestConfiguration *BookingBusinessesItemStaffMembersBookingStaffMemberItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingStaffMemberable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *BookingBusinessesItemStaffMembersBookingStaffMemberItemRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingStaffMemberable), nil } -// Patch update the properties of a bookingStaffMember in the specified bookingBusiness. +// Patch update the navigation property staffMembers in solutions // returns a BookingStaffMemberable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingstaffmember-update?view=graph-rest-1.0 func (m *BookingBusinessesItemStaffMembersBookingStaffMemberItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingStaffMemberable, requestConfiguration *BookingBusinessesItemStaffMembersBookingStaffMemberItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingStaffMemberable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *BookingBusinessesItemStaffMembersBookingStaffMemberItemRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingStaffMemberable), nil } -// ToDeleteRequestInformation delete a staff member in the specified bookingbusiness. +// ToDeleteRequestInformation delete navigation property staffMembers for solutions // returns a *RequestInformation when successful func (m *BookingBusinessesItemStaffMembersBookingStaffMemberItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *BookingBusinessesItemStaffMembersBookingStaffMemberItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *BookingBusinessesItemStaffMembersBookingStaffMemberItemRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties and relationships of a bookingStaffMember in the specified bookingBusiness. +// ToGetRequestInformation all the staff members that provide services in this business. Read-only. Nullable. // returns a *RequestInformation when successful func (m *BookingBusinessesItemStaffMembersBookingStaffMemberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BookingBusinessesItemStaffMembersBookingStaffMemberItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *BookingBusinessesItemStaffMembersBookingStaffMemberItemRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a bookingStaffMember in the specified bookingBusiness. +// ToPatchRequestInformation update the navigation property staffMembers in solutions // returns a *RequestInformation when successful func (m *BookingBusinessesItemStaffMembersBookingStaffMemberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingStaffMemberable, requestConfiguration *BookingBusinessesItemStaffMembersBookingStaffMemberItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/booking_businesses_item_staff_members_request_builder.go b/solutions/booking_businesses_item_staff_members_request_builder.go index e7c18b4b351..a2dbd9c8f85 100644 --- a/solutions/booking_businesses_item_staff_members_request_builder.go +++ b/solutions/booking_businesses_item_staff_members_request_builder.go @@ -11,7 +11,7 @@ import ( type BookingBusinessesItemStaffMembersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// BookingBusinessesItemStaffMembersRequestBuilderGetQueryParameters get a list of bookingStaffMember objects in the specified bookingBusiness. +// BookingBusinessesItemStaffMembersRequestBuilderGetQueryParameters all the staff members that provide services in this business. Read-only. Nullable. type BookingBusinessesItemStaffMembersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewBookingBusinessesItemStaffMembersRequestBuilder(rawUrl string, requestAd func (m *BookingBusinessesItemStaffMembersRequestBuilder) Count()(*BookingBusinessesItemStaffMembersCountRequestBuilder) { return NewBookingBusinessesItemStaffMembersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of bookingStaffMember objects in the specified bookingBusiness. +// Get all the staff members that provide services in this business. Read-only. Nullable. // returns a BookingStaffMemberCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingbusiness-list-staffmembers?view=graph-rest-1.0 func (m *BookingBusinessesItemStaffMembersRequestBuilder) Get(ctx context.Context, requestConfiguration *BookingBusinessesItemStaffMembersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingStaffMemberCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *BookingBusinessesItemStaffMembersRequestBuilder) Get(ctx context.Contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingStaffMemberCollectionResponseable), nil } -// Post create a new staff member in the specified bookingBusiness. +// Post create new navigation property to staffMembers for solutions // returns a BookingStaffMemberable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingbusiness-post-staffmembers?view=graph-rest-1.0 func (m *BookingBusinessesItemStaffMembersRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingStaffMemberable, requestConfiguration *BookingBusinessesItemStaffMembersRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingStaffMemberable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *BookingBusinessesItemStaffMembersRequestBuilder) Post(ctx context.Conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingStaffMemberable), nil } -// ToGetRequestInformation get a list of bookingStaffMember objects in the specified bookingBusiness. +// ToGetRequestInformation all the staff members that provide services in this business. Read-only. Nullable. // returns a *RequestInformation when successful func (m *BookingBusinessesItemStaffMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BookingBusinessesItemStaffMembersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *BookingBusinessesItemStaffMembersRequestBuilder) ToGetRequestInformatio requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new staff member in the specified bookingBusiness. +// ToPostRequestInformation create new navigation property to staffMembers for solutions // returns a *RequestInformation when successful func (m *BookingBusinessesItemStaffMembersRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingStaffMemberable, requestConfiguration *BookingBusinessesItemStaffMembersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/booking_businesses_item_unpublish_request_builder.go b/solutions/booking_businesses_item_unpublish_request_builder.go index df535b0ce2e..5be93899966 100644 --- a/solutions/booking_businesses_item_unpublish_request_builder.go +++ b/solutions/booking_businesses_item_unpublish_request_builder.go @@ -34,7 +34,7 @@ func NewBookingBusinessesItemUnpublishRequestBuilder(rawUrl string, requestAdapt // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingbusiness-unpublish?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/bookingbusiness-unpublish?view=graph-rest-beta func (m *BookingBusinessesItemUnpublishRequestBuilder) Post(ctx context.Context, requestConfiguration *BookingBusinessesItemUnpublishRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/solutions/booking_currencies_booking_currency_item_request_builder.go b/solutions/booking_currencies_booking_currency_item_request_builder.go index f8cbe6044a6..c28004a75b0 100644 --- a/solutions/booking_currencies_booking_currency_item_request_builder.go +++ b/solutions/booking_currencies_booking_currency_item_request_builder.go @@ -18,7 +18,7 @@ type BookingCurrenciesBookingCurrencyItemRequestBuilderDeleteRequestConfiguratio // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BookingCurrenciesBookingCurrencyItemRequestBuilderGetQueryParameters get the properties of a bookingCurrency object that is available to a Microsoft Bookings business. Use the id property, which is the currency code, to specify the currency. +// BookingCurrenciesBookingCurrencyItemRequestBuilderGetQueryParameters get bookingCurrencies from solutions type BookingCurrenciesBookingCurrencyItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *BookingCurrenciesBookingCurrencyItemRequestBuilder) Delete(ctx context. } return nil } -// Get get the properties of a bookingCurrency object that is available to a Microsoft Bookings business. Use the id property, which is the currency code, to specify the currency. +// Get get bookingCurrencies from solutions // returns a BookingCurrencyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingcurrency-get?view=graph-rest-1.0 func (m *BookingCurrenciesBookingCurrencyItemRequestBuilder) Get(ctx context.Context, requestConfiguration *BookingCurrenciesBookingCurrencyItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingCurrencyable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *BookingCurrenciesBookingCurrencyItemRequestBuilder) ToDeleteRequestInfo requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties of a bookingCurrency object that is available to a Microsoft Bookings business. Use the id property, which is the currency code, to specify the currency. +// ToGetRequestInformation get bookingCurrencies from solutions // returns a *RequestInformation when successful func (m *BookingCurrenciesBookingCurrencyItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BookingCurrenciesBookingCurrencyItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/booking_currencies_request_builder.go b/solutions/booking_currencies_request_builder.go index 8d46b6d89f3..2924045b16a 100644 --- a/solutions/booking_currencies_request_builder.go +++ b/solutions/booking_currencies_request_builder.go @@ -11,7 +11,7 @@ import ( type BookingCurrenciesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// BookingCurrenciesRequestBuilderGetQueryParameters get a list of bookingCurrency objects available to a Microsoft Bookings business. +// BookingCurrenciesRequestBuilderGetQueryParameters get bookingCurrencies from solutions type BookingCurrenciesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewBookingCurrenciesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7 func (m *BookingCurrenciesRequestBuilder) Count()(*BookingCurrenciesCountRequestBuilder) { return NewBookingCurrenciesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of bookingCurrency objects available to a Microsoft Bookings business. +// Get get bookingCurrencies from solutions // returns a BookingCurrencyCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/bookingcurrency-list?view=graph-rest-1.0 func (m *BookingCurrenciesRequestBuilder) Get(ctx context.Context, requestConfiguration *BookingCurrenciesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingCurrencyCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *BookingCurrenciesRequestBuilder) Post(ctx context.Context, body ie233ee } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BookingCurrencyable), nil } -// ToGetRequestInformation get a list of bookingCurrency objects available to a Microsoft Bookings business. +// ToGetRequestInformation get bookingCurrencies from solutions // returns a *RequestInformation when successful func (m *BookingCurrenciesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BookingCurrenciesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/business_scenarios_business_scenario_item_request_builder.go b/solutions/business_scenarios_business_scenario_item_request_builder.go index 1c7f54978e5..b61a74eff96 100644 --- a/solutions/business_scenarios_business_scenario_item_request_builder.go +++ b/solutions/business_scenarios_business_scenario_item_request_builder.go @@ -18,7 +18,7 @@ type BusinessScenariosBusinessScenarioItemRequestBuilderDeleteRequestConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BusinessScenariosBusinessScenarioItemRequestBuilderGetQueryParameters read the properties and relationships of a businessScenario object. +// BusinessScenariosBusinessScenarioItemRequestBuilderGetQueryParameters get businessScenarios from solutions type BusinessScenariosBusinessScenarioItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewBusinessScenariosBusinessScenarioItemRequestBuilder(rawUrl string, reque urlParams["request-raw-url"] = rawUrl return NewBusinessScenariosBusinessScenarioItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a businessScenario object. The deletion of a scenario causes all data associated with the scenario to be deleted. +// Delete delete navigation property businessScenarios for solutions // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/businessscenario-delete?view=graph-rest-1.0 func (m *BusinessScenariosBusinessScenarioItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *BusinessScenariosBusinessScenarioItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *BusinessScenariosBusinessScenarioItemRequestBuilder) Delete(ctx context } return nil } -// Get read the properties and relationships of a businessScenario object. +// Get get businessScenarios from solutions // returns a BusinessScenarioable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/businessscenario-get?view=graph-rest-1.0 func (m *BusinessScenariosBusinessScenarioItemRequestBuilder) Get(ctx context.Context, requestConfiguration *BusinessScenariosBusinessScenarioItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BusinessScenarioable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *BusinessScenariosBusinessScenarioItemRequestBuilder) Get(ctx context.Co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BusinessScenarioable), nil } -// Patch update the properties of a businessScenario object. +// Patch update the navigation property businessScenarios in solutions // returns a BusinessScenarioable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/businessscenario-update?view=graph-rest-1.0 func (m *BusinessScenariosBusinessScenarioItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BusinessScenarioable, requestConfiguration *BusinessScenariosBusinessScenarioItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BusinessScenarioable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -124,7 +115,7 @@ func (m *BusinessScenariosBusinessScenarioItemRequestBuilder) Patch(ctx context. func (m *BusinessScenariosBusinessScenarioItemRequestBuilder) Planner()(*BusinessScenariosItemPlannerRequestBuilder) { return NewBusinessScenariosItemPlannerRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a businessScenario object. The deletion of a scenario causes all data associated with the scenario to be deleted. +// ToDeleteRequestInformation delete navigation property businessScenarios for solutions // returns a *RequestInformation when successful func (m *BusinessScenariosBusinessScenarioItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *BusinessScenariosBusinessScenarioItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -135,7 +126,7 @@ func (m *BusinessScenariosBusinessScenarioItemRequestBuilder) ToDeleteRequestInf requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a businessScenario object. +// ToGetRequestInformation get businessScenarios from solutions // returns a *RequestInformation when successful func (m *BusinessScenariosBusinessScenarioItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BusinessScenariosBusinessScenarioItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -149,7 +140,7 @@ func (m *BusinessScenariosBusinessScenarioItemRequestBuilder) ToGetRequestInform requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a businessScenario object. +// ToPatchRequestInformation update the navigation property businessScenarios in solutions // returns a *RequestInformation when successful func (m *BusinessScenariosBusinessScenarioItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BusinessScenarioable, requestConfiguration *BusinessScenariosBusinessScenarioItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/business_scenarios_item_planner_get_plan_request_builder.go b/solutions/business_scenarios_item_planner_get_plan_request_builder.go index 2bd7a43d5ac..1e45e826b69 100644 --- a/solutions/business_scenarios_item_planner_get_plan_request_builder.go +++ b/solutions/business_scenarios_item_planner_get_plan_request_builder.go @@ -36,7 +36,7 @@ func NewBusinessScenariosItemPlannerGetPlanRequestBuilder(rawUrl string, request // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/businessscenarioplanner-getplan?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/businessscenarioplanner-getplan?view=graph-rest-beta func (m *BusinessScenariosItemPlannerGetPlanRequestBuilder) Post(ctx context.Context, body BusinessScenariosItemPlannerGetPlanPostRequestBodyable, requestConfiguration *BusinessScenariosItemPlannerGetPlanRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BusinessScenarioPlanReferenceable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/solutions/business_scenarios_item_planner_plan_configuration_localizations_planner_plan_configuration_localization_item_request_builder.go b/solutions/business_scenarios_item_planner_plan_configuration_localizations_planner_plan_configuration_localization_item_request_builder.go index 91c83e48e80..d6b5e0f6936 100644 --- a/solutions/business_scenarios_item_planner_plan_configuration_localizations_planner_plan_configuration_localization_item_request_builder.go +++ b/solutions/business_scenarios_item_planner_plan_configuration_localizations_planner_plan_configuration_localization_item_request_builder.go @@ -18,7 +18,7 @@ type BusinessScenariosItemPlannerPlanConfigurationLocalizationsPlannerPlanConfig // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BusinessScenariosItemPlannerPlanConfigurationLocalizationsPlannerPlanConfigurationLocalizationItemRequestBuilderGetQueryParameters read the properties and relationships of a plannerPlanConfigurationLocalization object. +// BusinessScenariosItemPlannerPlanConfigurationLocalizationsPlannerPlanConfigurationLocalizationItemRequestBuilderGetQueryParameters localized names for the plan configuration. type BusinessScenariosItemPlannerPlanConfigurationLocalizationsPlannerPlanConfigurationLocalizationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewBusinessScenariosItemPlannerPlanConfigurationLocalizationsPlannerPlanCon urlParams["request-raw-url"] = rawUrl return NewBusinessScenariosItemPlannerPlanConfigurationLocalizationsPlannerPlanConfigurationLocalizationItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a plannerPlanConfigurationLocalization object. +// Delete delete navigation property localizations for solutions // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerplanconfiguration-delete-localizations?view=graph-rest-1.0 func (m *BusinessScenariosItemPlannerPlanConfigurationLocalizationsPlannerPlanConfigurationLocalizationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *BusinessScenariosItemPlannerPlanConfigurationLocalizationsPlannerPlanConfigurationLocalizationItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *BusinessScenariosItemPlannerPlanConfigurationLocalizationsPlannerPlanCo } return nil } -// Get read the properties and relationships of a plannerPlanConfigurationLocalization object. +// Get localized names for the plan configuration. // returns a PlannerPlanConfigurationLocalizationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerplanconfigurationlocalization-get?view=graph-rest-1.0 func (m *BusinessScenariosItemPlannerPlanConfigurationLocalizationsPlannerPlanConfigurationLocalizationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *BusinessScenariosItemPlannerPlanConfigurationLocalizationsPlannerPlanConfigurationLocalizationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanConfigurationLocalizationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *BusinessScenariosItemPlannerPlanConfigurationLocalizationsPlannerPlanCo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanConfigurationLocalizationable), nil } -// Patch update the properties of a plannerPlanConfigurationLocalization object. +// Patch update the navigation property localizations in solutions // returns a PlannerPlanConfigurationLocalizationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerplanconfigurationlocalization-update?view=graph-rest-1.0 func (m *BusinessScenariosItemPlannerPlanConfigurationLocalizationsPlannerPlanConfigurationLocalizationItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanConfigurationLocalizationable, requestConfiguration *BusinessScenariosItemPlannerPlanConfigurationLocalizationsPlannerPlanConfigurationLocalizationItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanConfigurationLocalizationable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *BusinessScenariosItemPlannerPlanConfigurationLocalizationsPlannerPlanCo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanConfigurationLocalizationable), nil } -// ToDeleteRequestInformation delete a plannerPlanConfigurationLocalization object. +// ToDeleteRequestInformation delete navigation property localizations for solutions // returns a *RequestInformation when successful func (m *BusinessScenariosItemPlannerPlanConfigurationLocalizationsPlannerPlanConfigurationLocalizationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *BusinessScenariosItemPlannerPlanConfigurationLocalizationsPlannerPlanConfigurationLocalizationItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *BusinessScenariosItemPlannerPlanConfigurationLocalizationsPlannerPlanCo requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a plannerPlanConfigurationLocalization object. +// ToGetRequestInformation localized names for the plan configuration. // returns a *RequestInformation when successful func (m *BusinessScenariosItemPlannerPlanConfigurationLocalizationsPlannerPlanConfigurationLocalizationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BusinessScenariosItemPlannerPlanConfigurationLocalizationsPlannerPlanConfigurationLocalizationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *BusinessScenariosItemPlannerPlanConfigurationLocalizationsPlannerPlanCo requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a plannerPlanConfigurationLocalization object. +// ToPatchRequestInformation update the navigation property localizations in solutions // returns a *RequestInformation when successful func (m *BusinessScenariosItemPlannerPlanConfigurationLocalizationsPlannerPlanConfigurationLocalizationItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanConfigurationLocalizationable, requestConfiguration *BusinessScenariosItemPlannerPlanConfigurationLocalizationsPlannerPlanConfigurationLocalizationItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/business_scenarios_item_planner_plan_configuration_localizations_request_builder.go b/solutions/business_scenarios_item_planner_plan_configuration_localizations_request_builder.go index 46176ccf0df..a020404b17d 100644 --- a/solutions/business_scenarios_item_planner_plan_configuration_localizations_request_builder.go +++ b/solutions/business_scenarios_item_planner_plan_configuration_localizations_request_builder.go @@ -11,7 +11,7 @@ import ( type BusinessScenariosItemPlannerPlanConfigurationLocalizationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// BusinessScenariosItemPlannerPlanConfigurationLocalizationsRequestBuilderGetQueryParameters get a list of the plannerPlanConfigurationLocalization objects and their properties. +// BusinessScenariosItemPlannerPlanConfigurationLocalizationsRequestBuilderGetQueryParameters localized names for the plan configuration. type BusinessScenariosItemPlannerPlanConfigurationLocalizationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewBusinessScenariosItemPlannerPlanConfigurationLocalizationsRequestBuilder func (m *BusinessScenariosItemPlannerPlanConfigurationLocalizationsRequestBuilder) Count()(*BusinessScenariosItemPlannerPlanConfigurationLocalizationsCountRequestBuilder) { return NewBusinessScenariosItemPlannerPlanConfigurationLocalizationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the plannerPlanConfigurationLocalization objects and their properties. +// Get localized names for the plan configuration. // returns a PlannerPlanConfigurationLocalizationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerplanconfiguration-list-localizations?view=graph-rest-1.0 func (m *BusinessScenariosItemPlannerPlanConfigurationLocalizationsRequestBuilder) Get(ctx context.Context, requestConfiguration *BusinessScenariosItemPlannerPlanConfigurationLocalizationsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanConfigurationLocalizationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *BusinessScenariosItemPlannerPlanConfigurationLocalizationsRequestBuilde } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanConfigurationLocalizationCollectionResponseable), nil } -// Post create a new plannerPlanConfigurationLocalization object. +// Post create new navigation property to localizations for solutions // returns a PlannerPlanConfigurationLocalizationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerplanconfiguration-post-localizations?view=graph-rest-1.0 func (m *BusinessScenariosItemPlannerPlanConfigurationLocalizationsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanConfigurationLocalizationable, requestConfiguration *BusinessScenariosItemPlannerPlanConfigurationLocalizationsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanConfigurationLocalizationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *BusinessScenariosItemPlannerPlanConfigurationLocalizationsRequestBuilde } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanConfigurationLocalizationable), nil } -// ToGetRequestInformation get a list of the plannerPlanConfigurationLocalization objects and their properties. +// ToGetRequestInformation localized names for the plan configuration. // returns a *RequestInformation when successful func (m *BusinessScenariosItemPlannerPlanConfigurationLocalizationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BusinessScenariosItemPlannerPlanConfigurationLocalizationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *BusinessScenariosItemPlannerPlanConfigurationLocalizationsRequestBuilde requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new plannerPlanConfigurationLocalization object. +// ToPostRequestInformation create new navigation property to localizations for solutions // returns a *RequestInformation when successful func (m *BusinessScenariosItemPlannerPlanConfigurationLocalizationsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanConfigurationLocalizationable, requestConfiguration *BusinessScenariosItemPlannerPlanConfigurationLocalizationsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/business_scenarios_item_planner_plan_configuration_request_builder.go b/solutions/business_scenarios_item_planner_plan_configuration_request_builder.go index d594ad55adb..407e4d848ba 100644 --- a/solutions/business_scenarios_item_planner_plan_configuration_request_builder.go +++ b/solutions/business_scenarios_item_planner_plan_configuration_request_builder.go @@ -18,7 +18,7 @@ type BusinessScenariosItemPlannerPlanConfigurationRequestBuilderDeleteRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BusinessScenariosItemPlannerPlanConfigurationRequestBuilderGetQueryParameters read the properties and relationships of a plannerPlanConfiguration object. +// BusinessScenariosItemPlannerPlanConfigurationRequestBuilderGetQueryParameters the configuration of Planner plans that will be created for the scenario. type BusinessScenariosItemPlannerPlanConfigurationRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *BusinessScenariosItemPlannerPlanConfigurationRequestBuilder) Delete(ctx } return nil } -// Get read the properties and relationships of a plannerPlanConfiguration object. +// Get the configuration of Planner plans that will be created for the scenario. // returns a PlannerPlanConfigurationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerplanconfiguration-get?view=graph-rest-1.0 func (m *BusinessScenariosItemPlannerPlanConfigurationRequestBuilder) Get(ctx context.Context, requestConfiguration *BusinessScenariosItemPlannerPlanConfigurationRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanConfigurationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,12 +95,9 @@ func (m *BusinessScenariosItemPlannerPlanConfigurationRequestBuilder) Get(ctx co func (m *BusinessScenariosItemPlannerPlanConfigurationRequestBuilder) Localizations()(*BusinessScenariosItemPlannerPlanConfigurationLocalizationsRequestBuilder) { return NewBusinessScenariosItemPlannerPlanConfigurationLocalizationsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of a plannerPlanConfiguration object for a businessScenario. +// Patch update the navigation property planConfiguration in solutions // returns a PlannerPlanConfigurationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerplanconfiguration-update?view=graph-rest-1.0 func (m *BusinessScenariosItemPlannerPlanConfigurationRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanConfigurationable, requestConfiguration *BusinessScenariosItemPlannerPlanConfigurationRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanConfigurationable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -132,7 +126,7 @@ func (m *BusinessScenariosItemPlannerPlanConfigurationRequestBuilder) ToDeleteRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a plannerPlanConfiguration object. +// ToGetRequestInformation the configuration of Planner plans that will be created for the scenario. // returns a *RequestInformation when successful func (m *BusinessScenariosItemPlannerPlanConfigurationRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BusinessScenariosItemPlannerPlanConfigurationRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -146,7 +140,7 @@ func (m *BusinessScenariosItemPlannerPlanConfigurationRequestBuilder) ToGetReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a plannerPlanConfiguration object for a businessScenario. +// ToPatchRequestInformation update the navigation property planConfiguration in solutions // returns a *RequestInformation when successful func (m *BusinessScenariosItemPlannerPlanConfigurationRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanConfigurationable, requestConfiguration *BusinessScenariosItemPlannerPlanConfigurationRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/business_scenarios_item_planner_request_builder.go b/solutions/business_scenarios_item_planner_request_builder.go index cd30291e1b5..d0153afa2fe 100644 --- a/solutions/business_scenarios_item_planner_request_builder.go +++ b/solutions/business_scenarios_item_planner_request_builder.go @@ -18,7 +18,7 @@ type BusinessScenariosItemPlannerRequestBuilderDeleteRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BusinessScenariosItemPlannerRequestBuilderGetQueryParameters read the properties and relationships of a businessScenarioPlanner object. +// BusinessScenariosItemPlannerRequestBuilderGetQueryParameters planner content related to the scenario. type BusinessScenariosItemPlannerRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *BusinessScenariosItemPlannerRequestBuilder) Delete(ctx context.Context, } return nil } -// Get read the properties and relationships of a businessScenarioPlanner object. +// Get planner content related to the scenario. // returns a BusinessScenarioPlannerable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/businessscenarioplanner-get?view=graph-rest-1.0 func (m *BusinessScenariosItemPlannerRequestBuilder) Get(ctx context.Context, requestConfiguration *BusinessScenariosItemPlannerRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BusinessScenarioPlannerable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -144,7 +141,7 @@ func (m *BusinessScenariosItemPlannerRequestBuilder) ToDeleteRequestInformation( requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a businessScenarioPlanner object. +// ToGetRequestInformation planner content related to the scenario. // returns a *RequestInformation when successful func (m *BusinessScenariosItemPlannerRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BusinessScenariosItemPlannerRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/business_scenarios_item_planner_task_configuration_request_builder.go b/solutions/business_scenarios_item_planner_task_configuration_request_builder.go index 191d03832ac..e47e4c91272 100644 --- a/solutions/business_scenarios_item_planner_task_configuration_request_builder.go +++ b/solutions/business_scenarios_item_planner_task_configuration_request_builder.go @@ -18,7 +18,7 @@ type BusinessScenariosItemPlannerTaskConfigurationRequestBuilderDeleteRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BusinessScenariosItemPlannerTaskConfigurationRequestBuilderGetQueryParameters read the properties and relationships of a plannerTaskConfiguration object. +// BusinessScenariosItemPlannerTaskConfigurationRequestBuilderGetQueryParameters the configuration of Planner tasks that will be created for the scenario. type BusinessScenariosItemPlannerTaskConfigurationRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *BusinessScenariosItemPlannerTaskConfigurationRequestBuilder) Delete(ctx } return nil } -// Get read the properties and relationships of a plannerTaskConfiguration object. +// Get the configuration of Planner tasks that will be created for the scenario. // returns a PlannerTaskConfigurationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannertaskconfiguration-get?view=graph-rest-1.0 func (m *BusinessScenariosItemPlannerTaskConfigurationRequestBuilder) Get(ctx context.Context, requestConfiguration *BusinessScenariosItemPlannerTaskConfigurationRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskConfigurationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *BusinessScenariosItemPlannerTaskConfigurationRequestBuilder) Get(ctx co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskConfigurationable), nil } -// Patch update the properties of a plannerTaskConfiguration object. +// Patch update the navigation property taskConfiguration in solutions // returns a PlannerTaskConfigurationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannertaskconfiguration-update?view=graph-rest-1.0 func (m *BusinessScenariosItemPlannerTaskConfigurationRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskConfigurationable, requestConfiguration *BusinessScenariosItemPlannerTaskConfigurationRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskConfigurationable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *BusinessScenariosItemPlannerTaskConfigurationRequestBuilder) ToDeleteRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a plannerTaskConfiguration object. +// ToGetRequestInformation the configuration of Planner tasks that will be created for the scenario. // returns a *RequestInformation when successful func (m *BusinessScenariosItemPlannerTaskConfigurationRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BusinessScenariosItemPlannerTaskConfigurationRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *BusinessScenariosItemPlannerTaskConfigurationRequestBuilder) ToGetReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a plannerTaskConfiguration object. +// ToPatchRequestInformation update the navigation property taskConfiguration in solutions // returns a *RequestInformation when successful func (m *BusinessScenariosItemPlannerTaskConfigurationRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskConfigurationable, requestConfiguration *BusinessScenariosItemPlannerTaskConfigurationRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/business_scenarios_item_planner_tasks_business_scenario_task_item_request_builder.go b/solutions/business_scenarios_item_planner_tasks_business_scenario_task_item_request_builder.go index 8f5fd2244bd..4668688e744 100644 --- a/solutions/business_scenarios_item_planner_tasks_business_scenario_task_item_request_builder.go +++ b/solutions/business_scenarios_item_planner_tasks_business_scenario_task_item_request_builder.go @@ -18,7 +18,7 @@ type BusinessScenariosItemPlannerTasksBusinessScenarioTaskItemRequestBuilderDele // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BusinessScenariosItemPlannerTasksBusinessScenarioTaskItemRequestBuilderGetQueryParameters read the properties and relationships of a businessScenarioTask object. +// BusinessScenariosItemPlannerTasksBusinessScenarioTaskItemRequestBuilderGetQueryParameters the Planner tasks for the scenario. type BusinessScenariosItemPlannerTasksBusinessScenarioTaskItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -64,11 +64,8 @@ func NewBusinessScenariosItemPlannerTasksBusinessScenarioTaskItemRequestBuilder( urlParams["request-raw-url"] = rawUrl return NewBusinessScenariosItemPlannerTasksBusinessScenarioTaskItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a businessScenarioTask object. +// Delete delete navigation property tasks for solutions // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/businessscenarioplanner-delete-tasks?view=graph-rest-1.0 func (m *BusinessScenariosItemPlannerTasksBusinessScenarioTaskItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *BusinessScenariosItemPlannerTasksBusinessScenarioTaskItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -88,12 +85,9 @@ func (m *BusinessScenariosItemPlannerTasksBusinessScenarioTaskItemRequestBuilder func (m *BusinessScenariosItemPlannerTasksBusinessScenarioTaskItemRequestBuilder) Details()(*BusinessScenariosItemPlannerTasksItemDetailsRequestBuilder) { return NewBusinessScenariosItemPlannerTasksItemDetailsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of a businessScenarioTask object. +// Get the Planner tasks for the scenario. // returns a BusinessScenarioTaskable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/businessscenariotask-get?view=graph-rest-1.0 func (m *BusinessScenariosItemPlannerTasksBusinessScenarioTaskItemRequestBuilder) Get(ctx context.Context, requestConfiguration *BusinessScenariosItemPlannerTasksBusinessScenarioTaskItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BusinessScenarioTaskable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -111,12 +105,9 @@ func (m *BusinessScenariosItemPlannerTasksBusinessScenarioTaskItemRequestBuilder } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BusinessScenarioTaskable), nil } -// Patch update the properties of a businessScenarioTask object. +// Patch update the navigation property tasks in solutions // returns a BusinessScenarioTaskable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/businessscenariotask-update?view=graph-rest-1.0 func (m *BusinessScenariosItemPlannerTasksBusinessScenarioTaskItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BusinessScenarioTaskable, requestConfiguration *BusinessScenariosItemPlannerTasksBusinessScenarioTaskItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BusinessScenarioTaskable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -139,7 +130,7 @@ func (m *BusinessScenariosItemPlannerTasksBusinessScenarioTaskItemRequestBuilder func (m *BusinessScenariosItemPlannerTasksBusinessScenarioTaskItemRequestBuilder) ProgressTaskBoardFormat()(*BusinessScenariosItemPlannerTasksItemProgressTaskBoardFormatRequestBuilder) { return NewBusinessScenariosItemPlannerTasksItemProgressTaskBoardFormatRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a businessScenarioTask object. +// ToDeleteRequestInformation delete navigation property tasks for solutions // returns a *RequestInformation when successful func (m *BusinessScenariosItemPlannerTasksBusinessScenarioTaskItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *BusinessScenariosItemPlannerTasksBusinessScenarioTaskItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -150,7 +141,7 @@ func (m *BusinessScenariosItemPlannerTasksBusinessScenarioTaskItemRequestBuilder requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a businessScenarioTask object. +// ToGetRequestInformation the Planner tasks for the scenario. // returns a *RequestInformation when successful func (m *BusinessScenariosItemPlannerTasksBusinessScenarioTaskItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BusinessScenariosItemPlannerTasksBusinessScenarioTaskItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -164,7 +155,7 @@ func (m *BusinessScenariosItemPlannerTasksBusinessScenarioTaskItemRequestBuilder requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a businessScenarioTask object. +// ToPatchRequestInformation update the navigation property tasks in solutions // returns a *RequestInformation when successful func (m *BusinessScenariosItemPlannerTasksBusinessScenarioTaskItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BusinessScenarioTaskable, requestConfiguration *BusinessScenariosItemPlannerTasksBusinessScenarioTaskItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/business_scenarios_item_planner_tasks_item_assigned_to_task_board_format_request_builder.go b/solutions/business_scenarios_item_planner_tasks_item_assigned_to_task_board_format_request_builder.go index a518ea8ce84..a66522859df 100644 --- a/solutions/business_scenarios_item_planner_tasks_item_assigned_to_task_board_format_request_builder.go +++ b/solutions/business_scenarios_item_planner_tasks_item_assigned_to_task_board_format_request_builder.go @@ -18,7 +18,7 @@ type BusinessScenariosItemPlannerTasksItemAssignedToTaskBoardFormatRequestBuilde // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BusinessScenariosItemPlannerTasksItemAssignedToTaskBoardFormatRequestBuilderGetQueryParameters retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. +// BusinessScenariosItemPlannerTasksItemAssignedToTaskBoardFormatRequestBuilderGetQueryParameters read-only. Nullable. Used to render the task correctly in the task board view when grouped by assignedTo. type BusinessScenariosItemPlannerTasksItemAssignedToTaskBoardFormatRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *BusinessScenariosItemPlannerTasksItemAssignedToTaskBoardFormatRequestBu } return nil } -// Get retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. +// Get read-only. Nullable. Used to render the task correctly in the task board view when grouped by assignedTo. // returns a PlannerAssignedToTaskBoardTaskFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerassignedtotaskboardtaskformat-get?view=graph-rest-1.0 func (m *BusinessScenariosItemPlannerTasksItemAssignedToTaskBoardFormatRequestBuilder) Get(ctx context.Context, requestConfiguration *BusinessScenariosItemPlannerTasksItemAssignedToTaskBoardFormatRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerAssignedToTaskBoardTaskFormatable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,9 +93,6 @@ func (m *BusinessScenariosItemPlannerTasksItemAssignedToTaskBoardFormatRequestBu // Patch update the navigation property assignedToTaskBoardFormat in solutions // returns a PlannerAssignedToTaskBoardTaskFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerassignedtotaskboardtaskformat-update?view=graph-rest-1.0 func (m *BusinessScenariosItemPlannerTasksItemAssignedToTaskBoardFormatRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerAssignedToTaskBoardTaskFormatable, requestConfiguration *BusinessScenariosItemPlannerTasksItemAssignedToTaskBoardFormatRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerAssignedToTaskBoardTaskFormatable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *BusinessScenariosItemPlannerTasksItemAssignedToTaskBoardFormatRequestBu requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. +// ToGetRequestInformation read-only. Nullable. Used to render the task correctly in the task board view when grouped by assignedTo. // returns a *RequestInformation when successful func (m *BusinessScenariosItemPlannerTasksItemAssignedToTaskBoardFormatRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BusinessScenariosItemPlannerTasksItemAssignedToTaskBoardFormatRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/business_scenarios_item_planner_tasks_item_bucket_task_board_format_request_builder.go b/solutions/business_scenarios_item_planner_tasks_item_bucket_task_board_format_request_builder.go index a44e996e78a..bd144c0c9f8 100644 --- a/solutions/business_scenarios_item_planner_tasks_item_bucket_task_board_format_request_builder.go +++ b/solutions/business_scenarios_item_planner_tasks_item_bucket_task_board_format_request_builder.go @@ -18,7 +18,7 @@ type BusinessScenariosItemPlannerTasksItemBucketTaskBoardFormatRequestBuilderDel // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BusinessScenariosItemPlannerTasksItemBucketTaskBoardFormatRequestBuilderGetQueryParameters retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. +// BusinessScenariosItemPlannerTasksItemBucketTaskBoardFormatRequestBuilderGetQueryParameters read-only. Nullable. Used to render the task correctly in the task board view when grouped by bucket. type BusinessScenariosItemPlannerTasksItemBucketTaskBoardFormatRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *BusinessScenariosItemPlannerTasksItemBucketTaskBoardFormatRequestBuilde } return nil } -// Get retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. +// Get read-only. Nullable. Used to render the task correctly in the task board view when grouped by bucket. // returns a PlannerBucketTaskBoardTaskFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerbuckettaskboardtaskformat-get?view=graph-rest-1.0 func (m *BusinessScenariosItemPlannerTasksItemBucketTaskBoardFormatRequestBuilder) Get(ctx context.Context, requestConfiguration *BusinessScenariosItemPlannerTasksItemBucketTaskBoardFormatRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerBucketTaskBoardTaskFormatable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,9 +93,6 @@ func (m *BusinessScenariosItemPlannerTasksItemBucketTaskBoardFormatRequestBuilde // Patch update the navigation property bucketTaskBoardFormat in solutions // returns a PlannerBucketTaskBoardTaskFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerbuckettaskboardtaskformat-update?view=graph-rest-1.0 func (m *BusinessScenariosItemPlannerTasksItemBucketTaskBoardFormatRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerBucketTaskBoardTaskFormatable, requestConfiguration *BusinessScenariosItemPlannerTasksItemBucketTaskBoardFormatRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerBucketTaskBoardTaskFormatable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *BusinessScenariosItemPlannerTasksItemBucketTaskBoardFormatRequestBuilde requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. +// ToGetRequestInformation read-only. Nullable. Used to render the task correctly in the task board view when grouped by bucket. // returns a *RequestInformation when successful func (m *BusinessScenariosItemPlannerTasksItemBucketTaskBoardFormatRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BusinessScenariosItemPlannerTasksItemBucketTaskBoardFormatRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/business_scenarios_item_planner_tasks_item_details_request_builder.go b/solutions/business_scenarios_item_planner_tasks_item_details_request_builder.go index 5b67e2f254d..97325e580b5 100644 --- a/solutions/business_scenarios_item_planner_tasks_item_details_request_builder.go +++ b/solutions/business_scenarios_item_planner_tasks_item_details_request_builder.go @@ -18,7 +18,7 @@ type BusinessScenariosItemPlannerTasksItemDetailsRequestBuilderDeleteRequestConf // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BusinessScenariosItemPlannerTasksItemDetailsRequestBuilderGetQueryParameters retrieve the properties and relationships of a plannerTaskDetails object. +// BusinessScenariosItemPlannerTasksItemDetailsRequestBuilderGetQueryParameters read-only. Nullable. More details about the task. type BusinessScenariosItemPlannerTasksItemDetailsRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *BusinessScenariosItemPlannerTasksItemDetailsRequestBuilder) Delete(ctx } return nil } -// Get retrieve the properties and relationships of a plannerTaskDetails object. +// Get read-only. Nullable. More details about the task. // returns a PlannerTaskDetailsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannertaskdetails-get?view=graph-rest-1.0 func (m *BusinessScenariosItemPlannerTasksItemDetailsRequestBuilder) Get(ctx context.Context, requestConfiguration *BusinessScenariosItemPlannerTasksItemDetailsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskDetailsable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,9 +93,6 @@ func (m *BusinessScenariosItemPlannerTasksItemDetailsRequestBuilder) Get(ctx con // Patch update the navigation property details in solutions // returns a PlannerTaskDetailsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannertaskdetails-update?view=graph-rest-1.0 func (m *BusinessScenariosItemPlannerTasksItemDetailsRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskDetailsable, requestConfiguration *BusinessScenariosItemPlannerTasksItemDetailsRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskDetailsable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *BusinessScenariosItemPlannerTasksItemDetailsRequestBuilder) ToDeleteReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a plannerTaskDetails object. +// ToGetRequestInformation read-only. Nullable. More details about the task. // returns a *RequestInformation when successful func (m *BusinessScenariosItemPlannerTasksItemDetailsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BusinessScenariosItemPlannerTasksItemDetailsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/business_scenarios_item_planner_tasks_item_progress_task_board_format_request_builder.go b/solutions/business_scenarios_item_planner_tasks_item_progress_task_board_format_request_builder.go index 7d89e0e7d43..c8712ca386a 100644 --- a/solutions/business_scenarios_item_planner_tasks_item_progress_task_board_format_request_builder.go +++ b/solutions/business_scenarios_item_planner_tasks_item_progress_task_board_format_request_builder.go @@ -18,7 +18,7 @@ type BusinessScenariosItemPlannerTasksItemProgressTaskBoardFormatRequestBuilderD // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BusinessScenariosItemPlannerTasksItemProgressTaskBoardFormatRequestBuilderGetQueryParameters retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. +// BusinessScenariosItemPlannerTasksItemProgressTaskBoardFormatRequestBuilderGetQueryParameters read-only. Nullable. Used to render the task correctly in the task board view when grouped by progress. type BusinessScenariosItemPlannerTasksItemProgressTaskBoardFormatRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *BusinessScenariosItemPlannerTasksItemProgressTaskBoardFormatRequestBuil } return nil } -// Get retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. +// Get read-only. Nullable. Used to render the task correctly in the task board view when grouped by progress. // returns a PlannerProgressTaskBoardTaskFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerprogresstaskboardtaskformat-get?view=graph-rest-1.0 func (m *BusinessScenariosItemPlannerTasksItemProgressTaskBoardFormatRequestBuilder) Get(ctx context.Context, requestConfiguration *BusinessScenariosItemPlannerTasksItemProgressTaskBoardFormatRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerProgressTaskBoardTaskFormatable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,9 +93,6 @@ func (m *BusinessScenariosItemPlannerTasksItemProgressTaskBoardFormatRequestBuil // Patch update the navigation property progressTaskBoardFormat in solutions // returns a PlannerProgressTaskBoardTaskFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerprogresstaskboardtaskformat-update?view=graph-rest-1.0 func (m *BusinessScenariosItemPlannerTasksItemProgressTaskBoardFormatRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerProgressTaskBoardTaskFormatable, requestConfiguration *BusinessScenariosItemPlannerTasksItemProgressTaskBoardFormatRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerProgressTaskBoardTaskFormatable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *BusinessScenariosItemPlannerTasksItemProgressTaskBoardFormatRequestBuil requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. +// ToGetRequestInformation read-only. Nullable. Used to render the task correctly in the task board view when grouped by progress. // returns a *RequestInformation when successful func (m *BusinessScenariosItemPlannerTasksItemProgressTaskBoardFormatRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BusinessScenariosItemPlannerTasksItemProgressTaskBoardFormatRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/business_scenarios_item_planner_tasks_request_builder.go b/solutions/business_scenarios_item_planner_tasks_request_builder.go index 0c1d27481c6..5f2442e80e7 100644 --- a/solutions/business_scenarios_item_planner_tasks_request_builder.go +++ b/solutions/business_scenarios_item_planner_tasks_request_builder.go @@ -11,7 +11,7 @@ import ( type BusinessScenariosItemPlannerTasksRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// BusinessScenariosItemPlannerTasksRequestBuilderGetQueryParameters get a list of the businessScenarioTask objects and their properties. +// BusinessScenariosItemPlannerTasksRequestBuilderGetQueryParameters the Planner tasks for the scenario. type BusinessScenariosItemPlannerTasksRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewBusinessScenariosItemPlannerTasksRequestBuilder(rawUrl string, requestAd func (m *BusinessScenariosItemPlannerTasksRequestBuilder) Count()(*BusinessScenariosItemPlannerTasksCountRequestBuilder) { return NewBusinessScenariosItemPlannerTasksCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the businessScenarioTask objects and their properties. +// Get the Planner tasks for the scenario. // returns a BusinessScenarioTaskCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/businessscenarioplanner-list-tasks?view=graph-rest-1.0 func (m *BusinessScenariosItemPlannerTasksRequestBuilder) Get(ctx context.Context, requestConfiguration *BusinessScenariosItemPlannerTasksRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BusinessScenarioTaskCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *BusinessScenariosItemPlannerTasksRequestBuilder) Get(ctx context.Contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BusinessScenarioTaskCollectionResponseable), nil } -// Post create a new businessScenarioTask object. +// Post create new navigation property to tasks for solutions // returns a BusinessScenarioTaskable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/businessscenarioplanner-post-tasks?view=graph-rest-1.0 func (m *BusinessScenariosItemPlannerTasksRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BusinessScenarioTaskable, requestConfiguration *BusinessScenariosItemPlannerTasksRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BusinessScenarioTaskable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *BusinessScenariosItemPlannerTasksRequestBuilder) Post(ctx context.Conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BusinessScenarioTaskable), nil } -// ToGetRequestInformation get a list of the businessScenarioTask objects and their properties. +// ToGetRequestInformation the Planner tasks for the scenario. // returns a *RequestInformation when successful func (m *BusinessScenariosItemPlannerTasksRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BusinessScenariosItemPlannerTasksRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *BusinessScenariosItemPlannerTasksRequestBuilder) ToGetRequestInformatio requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new businessScenarioTask object. +// ToPostRequestInformation create new navigation property to tasks for solutions // returns a *RequestInformation when successful func (m *BusinessScenariosItemPlannerTasksRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BusinessScenarioTaskable, requestConfiguration *BusinessScenariosItemPlannerTasksRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/business_scenarios_request_builder.go b/solutions/business_scenarios_request_builder.go index 4f989297fcf..4eb1ad91440 100644 --- a/solutions/business_scenarios_request_builder.go +++ b/solutions/business_scenarios_request_builder.go @@ -11,7 +11,7 @@ import ( type BusinessScenariosRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// BusinessScenariosRequestBuilderGetQueryParameters get a list of all businessScenario objects in an organization. +// BusinessScenariosRequestBuilderGetQueryParameters get businessScenarios from solutions type BusinessScenariosRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewBusinessScenariosRequestBuilder(rawUrl string, requestAdapter i2ae4187f7 func (m *BusinessScenariosRequestBuilder) Count()(*BusinessScenariosCountRequestBuilder) { return NewBusinessScenariosCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of all businessScenario objects in an organization. +// Get get businessScenarios from solutions // returns a BusinessScenarioCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/solutionsroot-list-businessscenarios?view=graph-rest-1.0 func (m *BusinessScenariosRequestBuilder) Get(ctx context.Context, requestConfiguration *BusinessScenariosRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BusinessScenarioCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *BusinessScenariosRequestBuilder) Get(ctx context.Context, requestConfig } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BusinessScenarioCollectionResponseable), nil } -// Post create a new businessScenario object. +// Post create new navigation property to businessScenarios for solutions // returns a BusinessScenarioable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/solutionsroot-post-businessscenarios?view=graph-rest-1.0 func (m *BusinessScenariosRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BusinessScenarioable, requestConfiguration *BusinessScenariosRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BusinessScenarioable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *BusinessScenariosRequestBuilder) Post(ctx context.Context, body ie233ee } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BusinessScenarioable), nil } -// ToGetRequestInformation get a list of all businessScenario objects in an organization. +// ToGetRequestInformation get businessScenarios from solutions // returns a *RequestInformation when successful func (m *BusinessScenariosRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BusinessScenariosRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *BusinessScenariosRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new businessScenario object. +// ToPostRequestInformation create new navigation property to businessScenarios for solutions // returns a *RequestInformation when successful func (m *BusinessScenariosRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BusinessScenarioable, requestConfiguration *BusinessScenariosRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/business_scenarios_with_unique_name_request_builder.go b/solutions/business_scenarios_with_unique_name_request_builder.go index 8bd36b158c1..8812f0706ad 100644 --- a/solutions/business_scenarios_with_unique_name_request_builder.go +++ b/solutions/business_scenarios_with_unique_name_request_builder.go @@ -18,7 +18,7 @@ type BusinessScenariosWithUniqueNameRequestBuilderDeleteRequestConfiguration str // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BusinessScenariosWithUniqueNameRequestBuilderGetQueryParameters read the properties and relationships of a businessScenario object. +// BusinessScenariosWithUniqueNameRequestBuilderGetQueryParameters get businessScenarios from solutions type BusinessScenariosWithUniqueNameRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,11 +57,8 @@ func NewBusinessScenariosWithUniqueNameRequestBuilder(rawUrl string, requestAdap urlParams["request-raw-url"] = rawUrl return NewBusinessScenariosWithUniqueNameRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Delete delete a businessScenario object. The deletion of a scenario causes all data associated with the scenario to be deleted. +// Delete delete navigation property businessScenarios for solutions // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/businessscenario-delete?view=graph-rest-1.0 func (m *BusinessScenariosWithUniqueNameRequestBuilder) Delete(ctx context.Context, requestConfiguration *BusinessScenariosWithUniqueNameRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -76,12 +73,9 @@ func (m *BusinessScenariosWithUniqueNameRequestBuilder) Delete(ctx context.Conte } return nil } -// Get read the properties and relationships of a businessScenario object. +// Get get businessScenarios from solutions // returns a BusinessScenarioable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/businessscenario-get?view=graph-rest-1.0 func (m *BusinessScenariosWithUniqueNameRequestBuilder) Get(ctx context.Context, requestConfiguration *BusinessScenariosWithUniqueNameRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BusinessScenarioable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +93,9 @@ func (m *BusinessScenariosWithUniqueNameRequestBuilder) Get(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BusinessScenarioable), nil } -// Patch update the properties of a businessScenario object. +// Patch update the navigation property businessScenarios in solutions // returns a BusinessScenarioable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/businessscenario-update?view=graph-rest-1.0 func (m *BusinessScenariosWithUniqueNameRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BusinessScenarioable, requestConfiguration *BusinessScenariosWithUniqueNameRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BusinessScenarioable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +113,7 @@ func (m *BusinessScenariosWithUniqueNameRequestBuilder) Patch(ctx context.Contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BusinessScenarioable), nil } -// ToDeleteRequestInformation delete a businessScenario object. The deletion of a scenario causes all data associated with the scenario to be deleted. +// ToDeleteRequestInformation delete navigation property businessScenarios for solutions // returns a *RequestInformation when successful func (m *BusinessScenariosWithUniqueNameRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *BusinessScenariosWithUniqueNameRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +124,7 @@ func (m *BusinessScenariosWithUniqueNameRequestBuilder) ToDeleteRequestInformati requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a businessScenario object. +// ToGetRequestInformation get businessScenarios from solutions // returns a *RequestInformation when successful func (m *BusinessScenariosWithUniqueNameRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BusinessScenariosWithUniqueNameRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -147,7 +138,7 @@ func (m *BusinessScenariosWithUniqueNameRequestBuilder) ToGetRequestInformation( requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a businessScenario object. +// ToPatchRequestInformation update the navigation property businessScenarios in solutions // returns a *RequestInformation when successful func (m *BusinessScenariosWithUniqueNameRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BusinessScenarioable, requestConfiguration *BusinessScenariosWithUniqueNameRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/virtual_events_events_item_sessions_item_attendance_reports_item_attendance_records_request_builder.go b/solutions/virtual_events_events_item_sessions_item_attendance_reports_item_attendance_records_request_builder.go index 1ff0b2e307a..57ab7b74f4a 100644 --- a/solutions/virtual_events_events_item_sessions_item_attendance_reports_item_attendance_records_request_builder.go +++ b/solutions/virtual_events_events_item_sessions_item_attendance_reports_item_attendance_records_request_builder.go @@ -11,7 +11,7 @@ import ( type VirtualEventsEventsItemSessionsItemAttendanceReportsItemAttendanceRecordsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// VirtualEventsEventsItemSessionsItemAttendanceReportsItemAttendanceRecordsRequestBuilderGetQueryParameters get a list of attendanceRecord objects and their properties. +// VirtualEventsEventsItemSessionsItemAttendanceReportsItemAttendanceRecordsRequestBuilderGetQueryParameters list of attendance records of an attendance report. Read-only. type VirtualEventsEventsItemSessionsItemAttendanceReportsItemAttendanceRecordsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewVirtualEventsEventsItemSessionsItemAttendanceReportsItemAttendanceRecord func (m *VirtualEventsEventsItemSessionsItemAttendanceReportsItemAttendanceRecordsRequestBuilder) Count()(*VirtualEventsEventsItemSessionsItemAttendanceReportsItemAttendanceRecordsCountRequestBuilder) { return NewVirtualEventsEventsItemSessionsItemAttendanceReportsItemAttendanceRecordsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of attendanceRecord objects and their properties. +// Get list of attendance records of an attendance report. Read-only. // returns a AttendanceRecordCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attendancerecord-list?view=graph-rest-1.0 func (m *VirtualEventsEventsItemSessionsItemAttendanceReportsItemAttendanceRecordsRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemAttendanceReportsItemAttendanceRecordsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttendanceRecordCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *VirtualEventsEventsItemSessionsItemAttendanceReportsItemAttendanceRecor } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttendanceRecordable), nil } -// ToGetRequestInformation get a list of attendanceRecord objects and their properties. +// ToGetRequestInformation list of attendance records of an attendance report. Read-only. // returns a *RequestInformation when successful func (m *VirtualEventsEventsItemSessionsItemAttendanceReportsItemAttendanceRecordsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemAttendanceReportsItemAttendanceRecordsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/virtual_events_townhalls_item_sessions_item_attendance_reports_item_attendance_records_request_builder.go b/solutions/virtual_events_townhalls_item_sessions_item_attendance_reports_item_attendance_records_request_builder.go index 6acba6994b1..90ef96c8bf6 100644 --- a/solutions/virtual_events_townhalls_item_sessions_item_attendance_reports_item_attendance_records_request_builder.go +++ b/solutions/virtual_events_townhalls_item_sessions_item_attendance_reports_item_attendance_records_request_builder.go @@ -11,7 +11,7 @@ import ( type VirtualEventsTownhallsItemSessionsItemAttendanceReportsItemAttendanceRecordsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// VirtualEventsTownhallsItemSessionsItemAttendanceReportsItemAttendanceRecordsRequestBuilderGetQueryParameters get a list of attendanceRecord objects and their properties. +// VirtualEventsTownhallsItemSessionsItemAttendanceReportsItemAttendanceRecordsRequestBuilderGetQueryParameters list of attendance records of an attendance report. Read-only. type VirtualEventsTownhallsItemSessionsItemAttendanceReportsItemAttendanceRecordsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewVirtualEventsTownhallsItemSessionsItemAttendanceReportsItemAttendanceRec func (m *VirtualEventsTownhallsItemSessionsItemAttendanceReportsItemAttendanceRecordsRequestBuilder) Count()(*VirtualEventsTownhallsItemSessionsItemAttendanceReportsItemAttendanceRecordsCountRequestBuilder) { return NewVirtualEventsTownhallsItemSessionsItemAttendanceReportsItemAttendanceRecordsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of attendanceRecord objects and their properties. +// Get list of attendance records of an attendance report. Read-only. // returns a AttendanceRecordCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attendancerecord-list?view=graph-rest-1.0 func (m *VirtualEventsTownhallsItemSessionsItemAttendanceReportsItemAttendanceRecordsRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsTownhallsItemSessionsItemAttendanceReportsItemAttendanceRecordsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttendanceRecordCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *VirtualEventsTownhallsItemSessionsItemAttendanceReportsItemAttendanceRe } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttendanceRecordable), nil } -// ToGetRequestInformation get a list of attendanceRecord objects and their properties. +// ToGetRequestInformation list of attendance records of an attendance report. Read-only. // returns a *RequestInformation when successful func (m *VirtualEventsTownhallsItemSessionsItemAttendanceReportsItemAttendanceRecordsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsTownhallsItemSessionsItemAttendanceReportsItemAttendanceRecordsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/virtual_events_webinars_get_by_user_id_and_role_with_user_id_with_role_request_builder.go b/solutions/virtual_events_webinars_get_by_user_id_and_role_with_user_id_with_role_request_builder.go index c4cdf4c23d8..a66a9f33e0b 100644 --- a/solutions/virtual_events_webinars_get_by_user_id_and_role_with_user_id_with_role_request_builder.go +++ b/solutions/virtual_events_webinars_get_by_user_id_and_role_with_user_id_with_role_request_builder.go @@ -10,7 +10,7 @@ import ( type VirtualEventsWebinarsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// VirtualEventsWebinarsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetQueryParameters invoke function getByUserIdAndRole +// VirtualEventsWebinarsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetQueryParameters get a virtualEventWebinar collection where the specified user is either the organizer or a coorganizer. type VirtualEventsWebinarsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -57,10 +57,13 @@ func NewVirtualEventsWebinarsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilder( urlParams["request-raw-url"] = rawUrl return NewVirtualEventsWebinarsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilderInternal(urlParams, requestAdapter, nil, nil) } -// Get invoke function getByUserIdAndRole +// Get get a virtualEventWebinar collection where the specified user is either the organizer or a coorganizer. // Deprecated: This method is obsolete. Use GetAsGetByUserIdAndRoleWithUserIdWithRoleGetResponse instead. // returns a VirtualEventsWebinarsGetByUserIdAndRoleWithUserIdWithRoleResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/virtualeventwebinar-getbyuseridandrole?view=graph-rest-beta func (m *VirtualEventsWebinarsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsWebinarsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetRequestConfiguration)(VirtualEventsWebinarsGetByUserIdAndRoleWithUserIdWithRoleResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,9 +81,12 @@ func (m *VirtualEventsWebinarsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilder } return res.(VirtualEventsWebinarsGetByUserIdAndRoleWithUserIdWithRoleResponseable), nil } -// GetAsGetByUserIdAndRoleWithUserIdWithRoleGetResponse invoke function getByUserIdAndRole +// GetAsGetByUserIdAndRoleWithUserIdWithRoleGetResponse get a virtualEventWebinar collection where the specified user is either the organizer or a coorganizer. // returns a VirtualEventsWebinarsGetByUserIdAndRoleWithUserIdWithRoleGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/virtualeventwebinar-getbyuseridandrole?view=graph-rest-beta func (m *VirtualEventsWebinarsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilder) GetAsGetByUserIdAndRoleWithUserIdWithRoleGetResponse(ctx context.Context, requestConfiguration *VirtualEventsWebinarsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetRequestConfiguration)(VirtualEventsWebinarsGetByUserIdAndRoleWithUserIdWithRoleGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,7 +104,7 @@ func (m *VirtualEventsWebinarsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilder } return res.(VirtualEventsWebinarsGetByUserIdAndRoleWithUserIdWithRoleGetResponseable), nil } -// ToGetRequestInformation invoke function getByUserIdAndRole +// ToGetRequestInformation get a virtualEventWebinar collection where the specified user is either the organizer or a coorganizer. // returns a *RequestInformation when successful func (m *VirtualEventsWebinarsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/virtual_events_webinars_get_by_user_role_with_role_request_builder.go b/solutions/virtual_events_webinars_get_by_user_role_with_role_request_builder.go index 4c486435475..5c1a87c9294 100644 --- a/solutions/virtual_events_webinars_get_by_user_role_with_role_request_builder.go +++ b/solutions/virtual_events_webinars_get_by_user_role_with_role_request_builder.go @@ -10,7 +10,7 @@ import ( type VirtualEventsWebinarsGetByUserRoleWithRoleRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// VirtualEventsWebinarsGetByUserRoleWithRoleRequestBuilderGetQueryParameters invoke function getByUserRole +// VirtualEventsWebinarsGetByUserRoleWithRoleRequestBuilderGetQueryParameters get a virtualEventWebinar collection where the signed-in user is either the organizer or a coorganizer. type VirtualEventsWebinarsGetByUserRoleWithRoleRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewVirtualEventsWebinarsGetByUserRoleWithRoleRequestBuilder(rawUrl string, urlParams["request-raw-url"] = rawUrl return NewVirtualEventsWebinarsGetByUserRoleWithRoleRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function getByUserRole +// Get get a virtualEventWebinar collection where the signed-in user is either the organizer or a coorganizer. // Deprecated: This method is obsolete. Use GetAsGetByUserRoleWithRoleGetResponse instead. // returns a VirtualEventsWebinarsGetByUserRoleWithRoleResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/virtualeventwebinar-getbyuserrole?view=graph-rest-beta func (m *VirtualEventsWebinarsGetByUserRoleWithRoleRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsWebinarsGetByUserRoleWithRoleRequestBuilderGetRequestConfiguration)(VirtualEventsWebinarsGetByUserRoleWithRoleResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *VirtualEventsWebinarsGetByUserRoleWithRoleRequestBuilder) Get(ctx conte } return res.(VirtualEventsWebinarsGetByUserRoleWithRoleResponseable), nil } -// GetAsGetByUserRoleWithRoleGetResponse invoke function getByUserRole +// GetAsGetByUserRoleWithRoleGetResponse get a virtualEventWebinar collection where the signed-in user is either the organizer or a coorganizer. // returns a VirtualEventsWebinarsGetByUserRoleWithRoleGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/virtualeventwebinar-getbyuserrole?view=graph-rest-beta func (m *VirtualEventsWebinarsGetByUserRoleWithRoleRequestBuilder) GetAsGetByUserRoleWithRoleGetResponse(ctx context.Context, requestConfiguration *VirtualEventsWebinarsGetByUserRoleWithRoleRequestBuilderGetRequestConfiguration)(VirtualEventsWebinarsGetByUserRoleWithRoleGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *VirtualEventsWebinarsGetByUserRoleWithRoleRequestBuilder) GetAsGetByUse } return res.(VirtualEventsWebinarsGetByUserRoleWithRoleGetResponseable), nil } -// ToGetRequestInformation invoke function getByUserRole +// ToGetRequestInformation get a virtualEventWebinar collection where the signed-in user is either the organizer or a coorganizer. // returns a *RequestInformation when successful func (m *VirtualEventsWebinarsGetByUserRoleWithRoleRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsGetByUserRoleWithRoleRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/virtual_events_webinars_item_registrations_request_builder.go b/solutions/virtual_events_webinars_item_registrations_request_builder.go index ed7c00c5cf0..ed5c1b42dec 100644 --- a/solutions/virtual_events_webinars_item_registrations_request_builder.go +++ b/solutions/virtual_events_webinars_item_registrations_request_builder.go @@ -11,7 +11,7 @@ import ( type VirtualEventsWebinarsItemRegistrationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// VirtualEventsWebinarsItemRegistrationsRequestBuilderGetQueryParameters get a list of all registration records of a webinar. +// VirtualEventsWebinarsItemRegistrationsRequestBuilderGetQueryParameters registration records of the webinar. type VirtualEventsWebinarsItemRegistrationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewVirtualEventsWebinarsItemRegistrationsRequestBuilder(rawUrl string, requ func (m *VirtualEventsWebinarsItemRegistrationsRequestBuilder) Count()(*VirtualEventsWebinarsItemRegistrationsCountRequestBuilder) { return NewVirtualEventsWebinarsItemRegistrationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of all registration records of a webinar. +// Get registration records of the webinar. // returns a VirtualEventRegistrationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/virtualeventregistration-list?view=graph-rest-1.0 func (m *VirtualEventsWebinarsItemRegistrationsRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemRegistrationsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.VirtualEventRegistrationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *VirtualEventsWebinarsItemRegistrationsRequestBuilder) Post(ctx context. } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.VirtualEventRegistrationable), nil } -// ToGetRequestInformation get a list of all registration records of a webinar. +// ToGetRequestInformation registration records of the webinar. // returns a *RequestInformation when successful func (m *VirtualEventsWebinarsItemRegistrationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemRegistrationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/virtual_events_webinars_item_registrations_virtual_event_registration_item_request_builder.go b/solutions/virtual_events_webinars_item_registrations_virtual_event_registration_item_request_builder.go index 23f2f4a7c38..70960067fdb 100644 --- a/solutions/virtual_events_webinars_item_registrations_virtual_event_registration_item_request_builder.go +++ b/solutions/virtual_events_webinars_item_registrations_virtual_event_registration_item_request_builder.go @@ -18,7 +18,7 @@ type VirtualEventsWebinarsItemRegistrationsVirtualEventRegistrationItemRequestBu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// VirtualEventsWebinarsItemRegistrationsVirtualEventRegistrationItemRequestBuilderGetQueryParameters get the properties and relationships of a virtualEventRegistration object. +// VirtualEventsWebinarsItemRegistrationsVirtualEventRegistrationItemRequestBuilderGetQueryParameters registration records of the webinar. type VirtualEventsWebinarsItemRegistrationsVirtualEventRegistrationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *VirtualEventsWebinarsItemRegistrationsVirtualEventRegistrationItemReque } return nil } -// Get get the properties and relationships of a virtualEventRegistration object. +// Get registration records of the webinar. // returns a VirtualEventRegistrationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/virtualeventregistration-get?view=graph-rest-1.0 func (m *VirtualEventsWebinarsItemRegistrationsVirtualEventRegistrationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemRegistrationsVirtualEventRegistrationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.VirtualEventRegistrationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -134,7 +131,7 @@ func (m *VirtualEventsWebinarsItemRegistrationsVirtualEventRegistrationItemReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties and relationships of a virtualEventRegistration object. +// ToGetRequestInformation registration records of the webinar. // returns a *RequestInformation when successful func (m *VirtualEventsWebinarsItemRegistrationsVirtualEventRegistrationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemRegistrationsVirtualEventRegistrationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/virtual_events_webinars_item_registrations_with_email_request_builder.go b/solutions/virtual_events_webinars_item_registrations_with_email_request_builder.go index d11329ad8dc..063e6c6830c 100644 --- a/solutions/virtual_events_webinars_item_registrations_with_email_request_builder.go +++ b/solutions/virtual_events_webinars_item_registrations_with_email_request_builder.go @@ -18,7 +18,7 @@ type VirtualEventsWebinarsItemRegistrationsWithEmailRequestBuilderDeleteRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// VirtualEventsWebinarsItemRegistrationsWithEmailRequestBuilderGetQueryParameters get the properties and relationships of a virtualEventRegistration object. +// VirtualEventsWebinarsItemRegistrationsWithEmailRequestBuilderGetQueryParameters registration records of the webinar. type VirtualEventsWebinarsItemRegistrationsWithEmailRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,12 +73,9 @@ func (m *VirtualEventsWebinarsItemRegistrationsWithEmailRequestBuilder) Delete(c } return nil } -// Get get the properties and relationships of a virtualEventRegistration object. +// Get registration records of the webinar. // returns a VirtualEventRegistrationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/virtualeventregistration-get?view=graph-rest-1.0 func (m *VirtualEventsWebinarsItemRegistrationsWithEmailRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemRegistrationsWithEmailRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.VirtualEventRegistrationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -127,7 +124,7 @@ func (m *VirtualEventsWebinarsItemRegistrationsWithEmailRequestBuilder) ToDelete requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties and relationships of a virtualEventRegistration object. +// ToGetRequestInformation registration records of the webinar. // returns a *RequestInformation when successful func (m *VirtualEventsWebinarsItemRegistrationsWithEmailRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemRegistrationsWithEmailRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/virtual_events_webinars_item_registrations_with_user_id_request_builder.go b/solutions/virtual_events_webinars_item_registrations_with_user_id_request_builder.go index 5cc08aac095..ba5d840e991 100644 --- a/solutions/virtual_events_webinars_item_registrations_with_user_id_request_builder.go +++ b/solutions/virtual_events_webinars_item_registrations_with_user_id_request_builder.go @@ -18,7 +18,7 @@ type VirtualEventsWebinarsItemRegistrationsWithUserIdRequestBuilderDeleteRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// VirtualEventsWebinarsItemRegistrationsWithUserIdRequestBuilderGetQueryParameters get the properties and relationships of a virtualEventRegistration object. +// VirtualEventsWebinarsItemRegistrationsWithUserIdRequestBuilderGetQueryParameters registration records of the webinar. type VirtualEventsWebinarsItemRegistrationsWithUserIdRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,12 +73,9 @@ func (m *VirtualEventsWebinarsItemRegistrationsWithUserIdRequestBuilder) Delete( } return nil } -// Get get the properties and relationships of a virtualEventRegistration object. +// Get registration records of the webinar. // returns a VirtualEventRegistrationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/virtualeventregistration-get?view=graph-rest-1.0 func (m *VirtualEventsWebinarsItemRegistrationsWithUserIdRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemRegistrationsWithUserIdRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.VirtualEventRegistrationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -127,7 +124,7 @@ func (m *VirtualEventsWebinarsItemRegistrationsWithUserIdRequestBuilder) ToDelet requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties and relationships of a virtualEventRegistration object. +// ToGetRequestInformation registration records of the webinar. // returns a *RequestInformation when successful func (m *VirtualEventsWebinarsItemRegistrationsWithUserIdRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemRegistrationsWithUserIdRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/virtual_events_webinars_item_sessions_item_attendance_reports_item_attendance_records_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_attendance_reports_item_attendance_records_request_builder.go index 278d28b2771..6aa9c7a3832 100644 --- a/solutions/virtual_events_webinars_item_sessions_item_attendance_reports_item_attendance_records_request_builder.go +++ b/solutions/virtual_events_webinars_item_sessions_item_attendance_reports_item_attendance_records_request_builder.go @@ -11,7 +11,7 @@ import ( type VirtualEventsWebinarsItemSessionsItemAttendanceReportsItemAttendanceRecordsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// VirtualEventsWebinarsItemSessionsItemAttendanceReportsItemAttendanceRecordsRequestBuilderGetQueryParameters get a list of attendanceRecord objects and their properties. +// VirtualEventsWebinarsItemSessionsItemAttendanceReportsItemAttendanceRecordsRequestBuilderGetQueryParameters list of attendance records of an attendance report. Read-only. type VirtualEventsWebinarsItemSessionsItemAttendanceReportsItemAttendanceRecordsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewVirtualEventsWebinarsItemSessionsItemAttendanceReportsItemAttendanceReco func (m *VirtualEventsWebinarsItemSessionsItemAttendanceReportsItemAttendanceRecordsRequestBuilder) Count()(*VirtualEventsWebinarsItemSessionsItemAttendanceReportsItemAttendanceRecordsCountRequestBuilder) { return NewVirtualEventsWebinarsItemSessionsItemAttendanceReportsItemAttendanceRecordsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of attendanceRecord objects and their properties. +// Get list of attendance records of an attendance report. Read-only. // returns a AttendanceRecordCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attendancerecord-list?view=graph-rest-1.0 func (m *VirtualEventsWebinarsItemSessionsItemAttendanceReportsItemAttendanceRecordsRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemAttendanceReportsItemAttendanceRecordsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttendanceRecordCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *VirtualEventsWebinarsItemSessionsItemAttendanceReportsItemAttendanceRec } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttendanceRecordable), nil } -// ToGetRequestInformation get a list of attendanceRecord objects and their properties. +// ToGetRequestInformation list of attendance records of an attendance report. Read-only. // returns a *RequestInformation when successful func (m *VirtualEventsWebinarsItemSessionsItemAttendanceReportsItemAttendanceRecordsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemAttendanceReportsItemAttendanceRecordsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/virtual_events_webinars_request_builder.go b/solutions/virtual_events_webinars_request_builder.go index 2c654d4a809..56a02aabda8 100644 --- a/solutions/virtual_events_webinars_request_builder.go +++ b/solutions/virtual_events_webinars_request_builder.go @@ -11,7 +11,7 @@ import ( type VirtualEventsWebinarsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// VirtualEventsWebinarsRequestBuilderGetQueryParameters get the list of all virtualEventWebinar objects created in the tenant. +// VirtualEventsWebinarsRequestBuilderGetQueryParameters get webinars from solutions type VirtualEventsWebinarsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewVirtualEventsWebinarsRequestBuilder(rawUrl string, requestAdapter i2ae41 func (m *VirtualEventsWebinarsRequestBuilder) Count()(*VirtualEventsWebinarsCountRequestBuilder) { return NewVirtualEventsWebinarsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of all virtualEventWebinar objects created in the tenant. +// Get get webinars from solutions // returns a VirtualEventWebinarCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/virtualeventsroot-list-webinars?view=graph-rest-1.0 func (m *VirtualEventsWebinarsRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsWebinarsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.VirtualEventWebinarCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *VirtualEventsWebinarsRequestBuilder) Post(ctx context.Context, body ie2 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.VirtualEventWebinarable), nil } -// ToGetRequestInformation get the list of all virtualEventWebinar objects created in the tenant. +// ToGetRequestInformation get webinars from solutions // returns a *RequestInformation when successful func (m *VirtualEventsWebinarsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/virtual_events_webinars_virtual_event_webinar_item_request_builder.go b/solutions/virtual_events_webinars_virtual_event_webinar_item_request_builder.go index 507b80f9d00..f71daf5e0f8 100644 --- a/solutions/virtual_events_webinars_virtual_event_webinar_item_request_builder.go +++ b/solutions/virtual_events_webinars_virtual_event_webinar_item_request_builder.go @@ -18,7 +18,7 @@ type VirtualEventsWebinarsVirtualEventWebinarItemRequestBuilderDeleteRequestConf // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// VirtualEventsWebinarsVirtualEventWebinarItemRequestBuilderGetQueryParameters read the properties and relationships of a virtualEventWebinar object. +// VirtualEventsWebinarsVirtualEventWebinarItemRequestBuilderGetQueryParameters get webinars from solutions type VirtualEventsWebinarsVirtualEventWebinarItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *VirtualEventsWebinarsVirtualEventWebinarItemRequestBuilder) Delete(ctx } return nil } -// Get read the properties and relationships of a virtualEventWebinar object. +// Get get webinars from solutions // returns a VirtualEventWebinarable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/virtualeventwebinar-get?view=graph-rest-1.0 func (m *VirtualEventsWebinarsVirtualEventWebinarItemRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsWebinarsVirtualEventWebinarItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.VirtualEventWebinarable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -159,7 +156,7 @@ func (m *VirtualEventsWebinarsVirtualEventWebinarItemRequestBuilder) ToDeleteReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a virtualEventWebinar object. +// ToGetRequestInformation get webinars from solutions // returns a *RequestInformation when successful func (m *VirtualEventsWebinarsVirtualEventWebinarItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsVirtualEventWebinarItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/subscribedskus/subscribed_sku_item_request_builder.go b/subscribedskus/subscribed_sku_item_request_builder.go index 41171ff6aa5..6f6b5edf29a 100644 --- a/subscribedskus/subscribed_sku_item_request_builder.go +++ b/subscribedskus/subscribed_sku_item_request_builder.go @@ -73,7 +73,7 @@ func (m *SubscribedSkuItemRequestBuilder) Delete(ctx context.Context, requestCon // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/subscribedsku-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/subscribedsku-get?view=graph-rest-beta func (m *SubscribedSkuItemRequestBuilder) Get(ctx context.Context, requestConfiguration *SubscribedSkuItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SubscribedSkuable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/subscribedskus/subscribed_skus_request_builder.go b/subscribedskus/subscribed_skus_request_builder.go index f34f7b2c1e1..12e78cdee2b 100644 --- a/subscribedskus/subscribed_skus_request_builder.go +++ b/subscribedskus/subscribed_skus_request_builder.go @@ -66,7 +66,7 @@ func NewSubscribedSkusRequestBuilder(rawUrl string, requestAdapter i2ae4187f7dae // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/subscribedsku-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/subscribedsku-list?view=graph-rest-beta func (m *SubscribedSkusRequestBuilder) Get(ctx context.Context, requestConfiguration *SubscribedSkusRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SubscribedSkuCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/subscriptions/item_reauthorize_request_builder.go b/subscriptions/item_reauthorize_request_builder.go index aa772f212a5..aade9d8181e 100644 --- a/subscriptions/item_reauthorize_request_builder.go +++ b/subscriptions/item_reauthorize_request_builder.go @@ -34,7 +34,7 @@ func NewItemReauthorizeRequestBuilder(rawUrl string, requestAdapter i2ae4187f7da // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/subscription-reauthorize?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/subscription-reauthorize?view=graph-rest-beta func (m *ItemReauthorizeRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemReauthorizeRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/subscriptions/subscription_item_request_builder.go b/subscriptions/subscription_item_request_builder.go index 407609ba99a..2d036691c8c 100644 --- a/subscriptions/subscription_item_request_builder.go +++ b/subscriptions/subscription_item_request_builder.go @@ -56,7 +56,7 @@ func NewSubscriptionItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7d // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/subscription-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/subscription-delete?view=graph-rest-beta func (m *SubscriptionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *SubscriptionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -76,7 +76,7 @@ func (m *SubscriptionItemRequestBuilder) Delete(ctx context.Context, requestConf // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/subscription-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/subscription-get?view=graph-rest-beta func (m *SubscriptionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *SubscriptionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Subscriptionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,7 +99,7 @@ func (m *SubscriptionItemRequestBuilder) Get(ctx context.Context, requestConfigu // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/subscription-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/subscription-update?view=graph-rest-beta func (m *SubscriptionItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Subscriptionable, requestConfiguration *SubscriptionItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Subscriptionable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/subscriptions/subscriptions_request_builder.go b/subscriptions/subscriptions_request_builder.go index ac1a39a542a..2e3b6e437d8 100644 --- a/subscriptions/subscriptions_request_builder.go +++ b/subscriptions/subscriptions_request_builder.go @@ -64,7 +64,7 @@ func NewSubscriptionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/subscription-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/subscription-list?view=graph-rest-beta func (m *SubscriptionsRequestBuilder) Get(ctx context.Context, requestConfiguration *SubscriptionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SubscriptionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -87,7 +87,7 @@ func (m *SubscriptionsRequestBuilder) Get(ctx context.Context, requestConfigurat // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/subscription-post-subscriptions?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/subscription-post-subscriptions?view=graph-rest-beta func (m *SubscriptionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Subscriptionable, requestConfiguration *SubscriptionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Subscriptionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/teams/get_open_shifts_request_builder.go b/teams/get_open_shifts_request_builder.go index 16b9a9801b2..e13c3135b9e 100644 --- a/teams/get_open_shifts_request_builder.go +++ b/teams/get_open_shifts_request_builder.go @@ -10,7 +10,7 @@ import ( type GetOpenShiftsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// GetOpenShiftsRequestBuilderGetQueryParameters invoke function getOpenShifts +// GetOpenShiftsRequestBuilderGetQueryParameters get all openShift objects across all teams a user is a direct member of. type GetOpenShiftsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewGetOpenShiftsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee urlParams["request-raw-url"] = rawUrl return NewGetOpenShiftsRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getOpenShifts +// Get get all openShift objects across all teams a user is a direct member of. // Deprecated: This method is obsolete. Use GetAsGetOpenShiftsGetResponse instead. // returns a GetOpenShiftsResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/team-getopenshifts?view=graph-rest-beta func (m *GetOpenShiftsRequestBuilder) Get(ctx context.Context, requestConfiguration *GetOpenShiftsRequestBuilderGetRequestConfiguration)(GetOpenShiftsResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *GetOpenShiftsRequestBuilder) Get(ctx context.Context, requestConfigurat } return res.(GetOpenShiftsResponseable), nil } -// GetAsGetOpenShiftsGetResponse invoke function getOpenShifts +// GetAsGetOpenShiftsGetResponse get all openShift objects across all teams a user is a direct member of. // returns a GetOpenShiftsGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/team-getopenshifts?view=graph-rest-beta func (m *GetOpenShiftsRequestBuilder) GetAsGetOpenShiftsGetResponse(ctx context.Context, requestConfiguration *GetOpenShiftsRequestBuilderGetRequestConfiguration)(GetOpenShiftsGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *GetOpenShiftsRequestBuilder) GetAsGetOpenShiftsGetResponse(ctx context. } return res.(GetOpenShiftsGetResponseable), nil } -// ToGetRequestInformation invoke function getOpenShifts +// ToGetRequestInformation get all openShift objects across all teams a user is a direct member of. // returns a *RequestInformation when successful func (m *GetOpenShiftsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *GetOpenShiftsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/get_shifts_request_builder.go b/teams/get_shifts_request_builder.go index 51aa94745a9..2ec1a9dad1b 100644 --- a/teams/get_shifts_request_builder.go +++ b/teams/get_shifts_request_builder.go @@ -10,7 +10,7 @@ import ( type GetShiftsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// GetShiftsRequestBuilderGetQueryParameters invoke function getShifts +// GetShiftsRequestBuilderGetQueryParameters get all shift objects across all teams to which a user is a direct member. type GetShiftsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewGetShiftsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee2633 urlParams["request-raw-url"] = rawUrl return NewGetShiftsRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getShifts +// Get get all shift objects across all teams to which a user is a direct member. // Deprecated: This method is obsolete. Use GetAsGetShiftsGetResponse instead. // returns a GetShiftsResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/team-getshifts?view=graph-rest-beta func (m *GetShiftsRequestBuilder) Get(ctx context.Context, requestConfiguration *GetShiftsRequestBuilderGetRequestConfiguration)(GetShiftsResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *GetShiftsRequestBuilder) Get(ctx context.Context, requestConfiguration } return res.(GetShiftsResponseable), nil } -// GetAsGetShiftsGetResponse invoke function getShifts +// GetAsGetShiftsGetResponse get all shift objects across all teams to which a user is a direct member. // returns a GetShiftsGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/team-getshifts?view=graph-rest-beta func (m *GetShiftsRequestBuilder) GetAsGetShiftsGetResponse(ctx context.Context, requestConfiguration *GetShiftsRequestBuilderGetRequestConfiguration)(GetShiftsGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *GetShiftsRequestBuilder) GetAsGetShiftsGetResponse(ctx context.Context, } return res.(GetShiftsGetResponseable), nil } -// ToGetRequestInformation invoke function getShifts +// ToGetRequestInformation get all shift objects across all teams to which a user is a direct member. // returns a *RequestInformation when successful func (m *GetShiftsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *GetShiftsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/get_times_off_request_builder.go b/teams/get_times_off_request_builder.go index 6efc23be050..a6468624c56 100644 --- a/teams/get_times_off_request_builder.go +++ b/teams/get_times_off_request_builder.go @@ -10,7 +10,7 @@ import ( type GetTimesOffRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// GetTimesOffRequestBuilderGetQueryParameters invoke function getTimesOff +// GetTimesOffRequestBuilderGetQueryParameters get all time off objects across all teams to which a user is a direct member. type GetTimesOffRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewGetTimesOffRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 urlParams["request-raw-url"] = rawUrl return NewGetTimesOffRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getTimesOff +// Get get all time off objects across all teams to which a user is a direct member. // Deprecated: This method is obsolete. Use GetAsGetTimesOffGetResponse instead. // returns a GetTimesOffResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/team-gettimesoff?view=graph-rest-beta func (m *GetTimesOffRequestBuilder) Get(ctx context.Context, requestConfiguration *GetTimesOffRequestBuilderGetRequestConfiguration)(GetTimesOffResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *GetTimesOffRequestBuilder) Get(ctx context.Context, requestConfiguratio } return res.(GetTimesOffResponseable), nil } -// GetAsGetTimesOffGetResponse invoke function getTimesOff +// GetAsGetTimesOffGetResponse get all time off objects across all teams to which a user is a direct member. // returns a GetTimesOffGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/team-gettimesoff?view=graph-rest-beta func (m *GetTimesOffRequestBuilder) GetAsGetTimesOffGetResponse(ctx context.Context, requestConfiguration *GetTimesOffRequestBuilderGetRequestConfiguration)(GetTimesOffGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *GetTimesOffRequestBuilder) GetAsGetTimesOffGetResponse(ctx context.Cont } return res.(GetTimesOffGetResponseable), nil } -// ToGetRequestInformation invoke function getTimesOff +// ToGetRequestInformation get all time off objects across all teams to which a user is a direct member. // returns a *RequestInformation when successful func (m *GetTimesOffRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *GetTimesOffRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_all_channels_request_builder.go b/teams/item_all_channels_request_builder.go index f1b1e665ff1..500e76e4df1 100644 --- a/teams/item_all_channels_request_builder.go +++ b/teams/item_all_channels_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemAllChannelsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemAllChannelsRequestBuilderGetQueryParameters get the list of channels either in this team or shared with this team (incoming channels). +// ItemAllChannelsRequestBuilderGetQueryParameters list of channels either hosted in or shared with the team (incoming channels). type ItemAllChannelsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewItemAllChannelsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7da func (m *ItemAllChannelsRequestBuilder) Count()(*ItemAllChannelsCountRequestBuilder) { return NewItemAllChannelsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of channels either in this team or shared with this team (incoming channels). +// Get list of channels either hosted in or shared with the team (incoming channels). // returns a ChannelCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/team-list-allchannels?view=graph-rest-1.0 func (m *ItemAllChannelsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAllChannelsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChannelCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *ItemAllChannelsRequestBuilder) Get(ctx context.Context, requestConfigur } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChannelCollectionResponseable), nil } -// ToGetRequestInformation get the list of channels either in this team or shared with this team (incoming channels). +// ToGetRequestInformation list of channels either hosted in or shared with the team (incoming channels). // returns a *RequestInformation when successful func (m *ItemAllChannelsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAllChannelsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_archive_request_builder.go b/teams/item_archive_request_builder.go index 580841631e8..a2e8315ed50 100644 --- a/teams/item_archive_request_builder.go +++ b/teams/item_archive_request_builder.go @@ -34,7 +34,7 @@ func NewItemArchiveRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/team-archive?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/team-archive?view=graph-rest-beta func (m *ItemArchiveRequestBuilder) Post(ctx context.Context, body ItemArchivePostRequestBodyable, requestConfiguration *ItemArchiveRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/teams/item_channels_channel_item_request_builder.go b/teams/item_channels_channel_item_request_builder.go index 43600dd86b0..1b59a8deeb0 100644 --- a/teams/item_channels_channel_item_request_builder.go +++ b/teams/item_channels_channel_item_request_builder.go @@ -18,7 +18,7 @@ type ItemChannelsChannelItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemChannelsChannelItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information. +// ItemChannelsChannelItemRequestBuilderGetQueryParameters the collection of channels and messages associated with the team. type ItemChannelsChannelItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -64,11 +64,8 @@ func NewItemChannelsChannelItemRequestBuilder(rawUrl string, requestAdapter i2ae urlParams["request-raw-url"] = rawUrl return NewItemChannelsChannelItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete the channel. +// Delete delete navigation property channels for teams // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/channel-delete?view=graph-rest-1.0 func (m *ItemChannelsChannelItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemChannelsChannelItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *ItemChannelsChannelItemRequestBuilder) DoesUserHaveAccessuserIdUserIdTe func (m *ItemChannelsChannelItemRequestBuilder) FilesFolder()(*ItemChannelsItemFilesFolderRequestBuilder) { return NewItemChannelsItemFilesFolderRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information. +// Get the collection of channels and messages associated with the team. // returns a Channelable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemChannelsChannelItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChannelsChannelItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -126,12 +120,9 @@ func (m *ItemChannelsChannelItemRequestBuilder) Members()(*ItemChannelsItemMembe func (m *ItemChannelsChannelItemRequestBuilder) Messages()(*ItemChannelsItemMessagesRequestBuilder) { return NewItemChannelsItemMessagesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of the specified channel. +// Patch update the navigation property channels in teams // returns a Channelable when successful // returns a ODataError error 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-patch?view=graph-rest-1.0 func (m *ItemChannelsChannelItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable, requestConfiguration *ItemChannelsChannelItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -169,7 +160,7 @@ func (m *ItemChannelsChannelItemRequestBuilder) SharedWithTeams()(*ItemChannelsI func (m *ItemChannelsChannelItemRequestBuilder) Tabs()(*ItemChannelsItemTabsRequestBuilder) { return NewItemChannelsItemTabsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete the channel. +// ToDeleteRequestInformation delete navigation property channels for teams // returns a *RequestInformation when successful func (m *ItemChannelsChannelItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemChannelsChannelItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -180,7 +171,7 @@ func (m *ItemChannelsChannelItemRequestBuilder) ToDeleteRequestInformation(ctx c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information. +// ToGetRequestInformation the collection of channels and messages associated with the team. // returns a *RequestInformation when successful func (m *ItemChannelsChannelItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChannelsChannelItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -194,7 +185,7 @@ func (m *ItemChannelsChannelItemRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of the specified channel. +// ToPatchRequestInformation update the navigation property channels in teams // returns a *RequestInformation when successful func (m *ItemChannelsChannelItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable, requestConfiguration *ItemChannelsChannelItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_channels_get_all_messages_request_builder.go b/teams/item_channels_get_all_messages_request_builder.go index 5937e881670..eec0c9cfe70 100644 --- a/teams/item_channels_get_all_messages_request_builder.go +++ b/teams/item_channels_get_all_messages_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemChannelsGetAllMessagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemChannelsGetAllMessagesRequestBuilderGetQueryParameters invoke function getAllMessages +// ItemChannelsGetAllMessagesRequestBuilderGetQueryParameters retrieve messages across all channels in a team, including text, audio, and video conversations. To learn more about using the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. type ItemChannelsGetAllMessagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -53,10 +53,13 @@ func NewItemChannelsGetAllMessagesRequestBuilder(rawUrl string, requestAdapter i urlParams["request-raw-url"] = rawUrl return NewItemChannelsGetAllMessagesRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getAllMessages +// Get retrieve messages across all channels in a team, including text, audio, and video conversations. To learn more about using the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. // Deprecated: This method is obsolete. Use GetAsGetAllMessagesGetResponse instead. // returns a ItemChannelsGetAllMessagesResponseable when successful // returns a ODataError error 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-getallmessages?view=graph-rest-beta func (m *ItemChannelsGetAllMessagesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChannelsGetAllMessagesRequestBuilderGetRequestConfiguration)(ItemChannelsGetAllMessagesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -74,9 +77,12 @@ func (m *ItemChannelsGetAllMessagesRequestBuilder) Get(ctx context.Context, requ } return res.(ItemChannelsGetAllMessagesResponseable), nil } -// GetAsGetAllMessagesGetResponse invoke function getAllMessages +// GetAsGetAllMessagesGetResponse retrieve messages across all channels in a team, including text, audio, and video conversations. To learn more about using the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. // returns a ItemChannelsGetAllMessagesGetResponseable when successful // returns a ODataError error 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-getallmessages?view=graph-rest-beta func (m *ItemChannelsGetAllMessagesRequestBuilder) GetAsGetAllMessagesGetResponse(ctx context.Context, requestConfiguration *ItemChannelsGetAllMessagesRequestBuilderGetRequestConfiguration)(ItemChannelsGetAllMessagesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -94,7 +100,7 @@ func (m *ItemChannelsGetAllMessagesRequestBuilder) GetAsGetAllMessagesGetRespons } return res.(ItemChannelsGetAllMessagesGetResponseable), nil } -// ToGetRequestInformation invoke function getAllMessages +// ToGetRequestInformation retrieve messages across all channels in a team, including text, audio, and video conversations. To learn more about using the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. // returns a *RequestInformation when successful func (m *ItemChannelsGetAllMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChannelsGetAllMessagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_channels_get_all_retained_messages_request_builder.go b/teams/item_channels_get_all_retained_messages_request_builder.go index ac504739a4b..0b5fdb7a28a 100644 --- a/teams/item_channels_get_all_retained_messages_request_builder.go +++ b/teams/item_channels_get_all_retained_messages_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemChannelsGetAllRetainedMessagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemChannelsGetAllRetainedMessagesRequestBuilderGetQueryParameters invoke function getAllRetainedMessages +// ItemChannelsGetAllRetainedMessagesRequestBuilderGetQueryParameters get retained messages across all channels in a team. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. type ItemChannelsGetAllRetainedMessagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewItemChannelsGetAllRetainedMessagesRequestBuilder(rawUrl string, requestA urlParams["request-raw-url"] = rawUrl return NewItemChannelsGetAllRetainedMessagesRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getAllRetainedMessages +// Get get retained messages across all channels in a team. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. // Deprecated: This method is obsolete. Use GetAsGetAllRetainedMessagesGetResponse instead. // returns a ItemChannelsGetAllRetainedMessagesResponseable when successful // returns a ODataError error 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-getallretainedmessages?view=graph-rest-beta func (m *ItemChannelsGetAllRetainedMessagesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChannelsGetAllRetainedMessagesRequestBuilderGetRequestConfiguration)(ItemChannelsGetAllRetainedMessagesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ItemChannelsGetAllRetainedMessagesRequestBuilder) Get(ctx context.Conte } return res.(ItemChannelsGetAllRetainedMessagesResponseable), nil } -// GetAsGetAllRetainedMessagesGetResponse invoke function getAllRetainedMessages +// GetAsGetAllRetainedMessagesGetResponse get retained messages across all channels in a team. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. // returns a ItemChannelsGetAllRetainedMessagesGetResponseable when successful // returns a ODataError error 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-getallretainedmessages?view=graph-rest-beta func (m *ItemChannelsGetAllRetainedMessagesRequestBuilder) GetAsGetAllRetainedMessagesGetResponse(ctx context.Context, requestConfiguration *ItemChannelsGetAllRetainedMessagesRequestBuilderGetRequestConfiguration)(ItemChannelsGetAllRetainedMessagesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ItemChannelsGetAllRetainedMessagesRequestBuilder) GetAsGetAllRetainedMe } return res.(ItemChannelsGetAllRetainedMessagesGetResponseable), nil } -// ToGetRequestInformation invoke function getAllRetainedMessages +// ToGetRequestInformation get retained messages across all channels in a team. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. // returns a *RequestInformation when successful func (m *ItemChannelsGetAllRetainedMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChannelsGetAllRetainedMessagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_channels_item_archive_request_builder.go b/teams/item_channels_item_archive_request_builder.go index ca2c9a2d87c..ef6b865cd82 100644 --- a/teams/item_channels_item_archive_request_builder.go +++ b/teams/item_channels_item_archive_request_builder.go @@ -34,7 +34,7 @@ func NewItemChannelsItemArchiveRequestBuilder(rawUrl string, requestAdapter i2ae // returns a ODataError error 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-archive?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-archive?view=graph-rest-beta func (m *ItemChannelsItemArchiveRequestBuilder) Post(ctx context.Context, body ItemChannelsItemArchivePostRequestBodyable, requestConfiguration *ItemChannelsItemArchiveRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/teams/item_channels_item_complete_migration_request_builder.go b/teams/item_channels_item_complete_migration_request_builder.go index 38009237d2b..ff3674bb4a8 100644 --- a/teams/item_channels_item_complete_migration_request_builder.go +++ b/teams/item_channels_item_complete_migration_request_builder.go @@ -34,7 +34,7 @@ func NewItemChannelsItemCompleteMigrationRequestBuilder(rawUrl string, requestAd // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/channel-completemigration?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-completemigration?view=graph-rest-beta func (m *ItemChannelsItemCompleteMigrationRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemChannelsItemCompleteMigrationRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teams/item_channels_item_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go b/teams/item_channels_item_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go index 723e2797a33..70de25de226 100644 --- a/teams/item_channels_item_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go +++ b/teams/item_channels_item_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters invoke function doesUserHaveAccess +// ItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters determine whether a user has access to a shared channel. type ItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters struct { // Usage: tenantId='@tenantId' TenantId *string `uriparametername:"tenantId"` @@ -41,10 +41,13 @@ func NewItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrinci urlParams["request-raw-url"] = rawUrl return NewItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function doesUserHaveAccess +// Get determine whether a user has access to a shared channel. // Deprecated: This method is obsolete. Use GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse instead. // returns a ItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponseable when successful // returns a ODataError error 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-doesuserhaveaccess?view=graph-rest-beta func (m *ItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetRequestConfiguration)(ItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -62,9 +65,12 @@ func (m *ItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrinc } return res.(ItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponseable), nil } -// GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse invoke function doesUserHaveAccess +// GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse determine whether a user has access to a shared channel. // returns a ItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponseable when successful // returns a ODataError error 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-doesuserhaveaccess?view=graph-rest-beta func (m *ItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder) GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse(ctx context.Context, requestConfiguration *ItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetRequestConfiguration)(ItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -82,7 +88,7 @@ func (m *ItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrinc } return res.(ItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponseable), nil } -// ToGetRequestInformation invoke function doesUserHaveAccess +// ToGetRequestInformation determine whether a user has access to a shared channel. // returns a *RequestInformation when successful func (m *ItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_channels_item_files_folder_content_request_builder.go b/teams/item_channels_item_files_folder_content_request_builder.go index 723e8f8572d..c25c9d5d5a9 100644 --- a/teams/item_channels_item_files_folder_content_request_builder.go +++ b/teams/item_channels_item_files_folder_content_request_builder.go @@ -48,9 +48,6 @@ func NewItemChannelsItemFilesFolderContentRequestBuilder(rawUrl string, requestA // Get get content for the navigation property filesFolder from teams // 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/channel-get-filesfolder?view=graph-rest-1.0 func (m *ItemChannelsItemFilesFolderContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChannelsItemFilesFolderContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teams/item_channels_item_files_folder_content_stream_request_builder.go b/teams/item_channels_item_files_folder_content_stream_request_builder.go index 424ae59462b..12917b32782 100644 --- a/teams/item_channels_item_files_folder_content_stream_request_builder.go +++ b/teams/item_channels_item_files_folder_content_stream_request_builder.go @@ -40,9 +40,6 @@ func NewItemChannelsItemFilesFolderContentStreamRequestBuilder(rawUrl string, re // Get the content stream, if the item represents a file. // 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/channel-get-filesfolder?view=graph-rest-1.0 func (m *ItemChannelsItemFilesFolderContentStreamRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChannelsItemFilesFolderContentStreamRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teams/item_channels_item_files_folder_request_builder.go b/teams/item_channels_item_files_folder_request_builder.go index 9626d426966..9507525783f 100644 --- a/teams/item_channels_item_files_folder_request_builder.go +++ b/teams/item_channels_item_files_folder_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemChannelsItemFilesFolderRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemChannelsItemFilesFolderRequestBuilderGetQueryParameters get the metadata for the location where the files of a channel are stored. +// ItemChannelsItemFilesFolderRequestBuilderGetQueryParameters metadata for the location where the channel's files are stored. type ItemChannelsItemFilesFolderRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -50,12 +50,9 @@ func (m *ItemChannelsItemFilesFolderRequestBuilder) Content()(*ItemChannelsItemF func (m *ItemChannelsItemFilesFolderRequestBuilder) ContentStream()(*ItemChannelsItemFilesFolderContentStreamRequestBuilder) { return NewItemChannelsItemFilesFolderContentStreamRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the metadata for the location where the files of a channel are stored. +// Get metadata for the location where the channel's files are stored. // returns a DriveItemable when successful // returns a ODataError error 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-get-filesfolder?view=graph-rest-1.0 func (m *ItemChannelsItemFilesFolderRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChannelsItemFilesFolderRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,7 +70,7 @@ func (m *ItemChannelsItemFilesFolderRequestBuilder) Get(ctx context.Context, req } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable), nil } -// ToGetRequestInformation get the metadata for the location where the files of a channel are stored. +// ToGetRequestInformation metadata for the location where the channel's files are stored. // returns a *RequestInformation when successful func (m *ItemChannelsItemFilesFolderRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChannelsItemFilesFolderRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_channels_item_members_add_request_builder.go b/teams/item_channels_item_members_add_request_builder.go index 286c0b302b4..6865c624c36 100644 --- a/teams/item_channels_item_members_add_request_builder.go +++ b/teams/item_channels_item_members_add_request_builder.go @@ -36,7 +36,7 @@ func NewItemChannelsItemMembersAddRequestBuilder(rawUrl string, requestAdapter i // returns a ODataError error 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-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-beta func (m *ItemChannelsItemMembersAddRequestBuilder) Post(ctx context.Context, body ItemChannelsItemMembersAddPostRequestBodyable, requestConfiguration *ItemChannelsItemMembersAddRequestBuilderPostRequestConfiguration)(ItemChannelsItemMembersAddResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ItemChannelsItemMembersAddRequestBuilder) Post(ctx context.Context, bod // returns a ODataError error 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-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-beta func (m *ItemChannelsItemMembersAddRequestBuilder) PostAsAddPostResponse(ctx context.Context, body ItemChannelsItemMembersAddPostRequestBodyable, requestConfiguration *ItemChannelsItemMembersAddRequestBuilderPostRequestConfiguration)(ItemChannelsItemMembersAddPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { 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 8e09366f61d..ff04ded4991 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 @@ -18,7 +18,7 @@ type ItemChannelsItemMembersConversationMemberItemRequestBuilderDeleteRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemChannelsItemMembersConversationMemberItemRequestBuilderGetQueryParameters get a conversationMember from a channel. +// ItemChannelsItemMembersConversationMemberItemRequestBuilderGetQueryParameters a collection of membership records associated with the channel. type ItemChannelsItemMembersConversationMemberItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemChannelsItemMembersConversationMemberItemRequestBuilder(rawUrl strin urlParams["request-raw-url"] = rawUrl return NewItemChannelsItemMembersConversationMemberItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. +// Delete delete navigation property members for teams // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/channel-delete-members?view=graph-rest-1.0 func (m *ItemChannelsItemMembersConversationMemberItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemChannelsItemMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemChannelsItemMembersConversationMemberItemRequestBuilder) Delete(ctx } return nil } -// Get get a conversationMember from a channel. +// Get a collection of membership records associated with the 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-get-members?view=graph-rest-1.0 func (m *ItemChannelsItemMembersConversationMemberItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChannelsItemMembersConversationMemberItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ItemChannelsItemMembersConversationMemberItemRequestBuilder) Get(ctx co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil } -// Patch update the role of a conversationMember in a team.or channel. +// Patch update the navigation property members in teams // returns a ConversationMemberable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0 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 { @@ -119,7 +110,7 @@ func (m *ItemChannelsItemMembersConversationMemberItemRequestBuilder) Patch(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil } -// ToDeleteRequestInformation delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. +// ToDeleteRequestInformation delete navigation property members for teams // returns a *RequestInformation when successful func (m *ItemChannelsItemMembersConversationMemberItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemChannelsItemMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *ItemChannelsItemMembersConversationMemberItemRequestBuilder) ToDeleteRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a conversationMember from a channel. +// ToGetRequestInformation a collection of membership records associated with the channel. // returns a *RequestInformation when successful func (m *ItemChannelsItemMembersConversationMemberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChannelsItemMembersConversationMemberItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *ItemChannelsItemMembersConversationMemberItemRequestBuilder) ToGetReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the role of a conversationMember in a team.or channel. +// ToPatchRequestInformation update the navigation property members in teams // 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_channels_item_members_request_builder.go b/teams/item_channels_item_members_request_builder.go index 6d4e7761ef4..b6f74102696 100644 --- a/teams/item_channels_item_members_request_builder.go +++ b/teams/item_channels_item_members_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemChannelsItemMembersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemChannelsItemMembersRequestBuilderGetQueryParameters retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. +// ItemChannelsItemMembersRequestBuilderGetQueryParameters a collection of membership records associated with the channel. type ItemChannelsItemMembersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func NewItemChannelsItemMembersRequestBuilder(rawUrl string, requestAdapter i2ae func (m *ItemChannelsItemMembersRequestBuilder) Count()(*ItemChannelsItemMembersCountRequestBuilder) { return NewItemChannelsItemMembersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. +// Get a collection of membership records associated with the channel. // returns a ConversationMemberCollectionResponseable when successful // returns a ODataError error 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-list-members?view=graph-rest-1.0 func (m *ItemChannelsItemMembersRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChannelsItemMembersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *ItemChannelsItemMembersRequestBuilder) Get(ctx context.Context, request } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable), nil } -// Post add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. +// Post create new navigation property to members for teams // returns a ConversationMemberable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/channel-post-members?view=graph-rest-1.0 func (m *ItemChannelsItemMembersRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemChannelsItemMembersRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemChannelsItemMembersRequestBuilder) Post(ctx context.Context, body i } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil } -// ToGetRequestInformation retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. +// ToGetRequestInformation a collection of membership records associated with the channel. // returns a *RequestInformation when successful func (m *ItemChannelsItemMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChannelsItemMembersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ItemChannelsItemMembersRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. +// ToPostRequestInformation create new navigation property to members for teams // returns a *RequestInformation when successful func (m *ItemChannelsItemMembersRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemChannelsItemMembersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_channels_item_messages_chat_message_item_request_builder.go b/teams/item_channels_item_messages_chat_message_item_request_builder.go index a18525253f2..3b4e72ee62e 100644 --- a/teams/item_channels_item_messages_chat_message_item_request_builder.go +++ b/teams/item_channels_item_messages_chat_message_item_request_builder.go @@ -18,7 +18,7 @@ type ItemChannelsItemMessagesChatMessageItemRequestBuilderDeleteRequestConfigura // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemChannelsItemMessagesChatMessageItemRequestBuilderGetQueryParameters retrieve a single message or a message reply in a channel or a chat. +// ItemChannelsItemMessagesChatMessageItemRequestBuilderGetQueryParameters a collection of all the messages in the channel. A navigation property. Nullable. type ItemChannelsItemMessagesChatMessageItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemChannelsItemMessagesChatMessageItemRequestBuilder) Delete(ctx conte } return nil } -// Get retrieve a single message or a message reply in a channel or a chat. +// Get a collection of all the messages in the channel. A navigation property. Nullable. // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-get?view=graph-rest-1.0 func (m *ItemChannelsItemMessagesChatMessageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChannelsItemMessagesChatMessageItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,12 +95,9 @@ func (m *ItemChannelsItemMessagesChatMessageItemRequestBuilder) Get(ctx context. func (m *ItemChannelsItemMessagesChatMessageItemRequestBuilder) HostedContents()(*ItemChannelsItemMessagesItemHostedContentsRequestBuilder) { return NewItemChannelsItemMessagesItemHostedContentsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method doesn't support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. +// Patch update the navigation property messages in teams // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-update?view=graph-rest-1.0 func (m *ItemChannelsItemMessagesChatMessageItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemChannelsItemMessagesChatMessageItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -147,7 +141,7 @@ func (m *ItemChannelsItemMessagesChatMessageItemRequestBuilder) ToDeleteRequestI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a single message or a message reply in a channel or a chat. +// ToGetRequestInformation a collection of all the messages in the channel. A navigation property. Nullable. // returns a *RequestInformation when successful func (m *ItemChannelsItemMessagesChatMessageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChannelsItemMessagesChatMessageItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -161,7 +155,7 @@ func (m *ItemChannelsItemMessagesChatMessageItemRequestBuilder) ToGetRequestInfo requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method doesn't support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. +// ToPatchRequestInformation update the navigation property messages in teams // returns a *RequestInformation when successful func (m *ItemChannelsItemMessagesChatMessageItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemChannelsItemMessagesChatMessageItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_channels_item_messages_delta_request_builder.go b/teams/item_channels_item_messages_delta_request_builder.go index fd9ed850312..1d5528e40f0 100644 --- a/teams/item_channels_item_messages_delta_request_builder.go +++ b/teams/item_channels_item_messages_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemChannelsItemMessagesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemChannelsItemMessagesDeltaRequestBuilderGetQueryParameters invoke function delta +// ItemChannelsItemMessagesDeltaRequestBuilderGetQueryParameters retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. type ItemChannelsItemMessagesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewItemChannelsItemMessagesDeltaRequestBuilder(rawUrl string, requestAdapte urlParams["request-raw-url"] = rawUrl return NewItemChannelsItemMessagesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemChannelsItemMessagesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-beta func (m *ItemChannelsItemMessagesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChannelsItemMessagesDeltaRequestBuilderGetRequestConfiguration)(ItemChannelsItemMessagesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ItemChannelsItemMessagesDeltaRequestBuilder) Get(ctx context.Context, r } return res.(ItemChannelsItemMessagesDeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // returns a ItemChannelsItemMessagesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-beta func (m *ItemChannelsItemMessagesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemChannelsItemMessagesDeltaRequestBuilderGetRequestConfiguration)(ItemChannelsItemMessagesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ItemChannelsItemMessagesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx } return res.(ItemChannelsItemMessagesDeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // returns a *RequestInformation when successful func (m *ItemChannelsItemMessagesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChannelsItemMessagesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_channels_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/teams/item_channels_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index a7f1c7049d4..a69da79768d 100644 --- a/teams/item_channels_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/teams/item_channels_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -18,7 +18,7 @@ type ItemChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters retrieve the properties and relationships of chatMessageHostedContent object. +// ItemChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters content in a message hosted by Microsoft Teams - for example, images or code snippets. type ItemChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *ItemChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemR } return nil } -// Get retrieve the properties and relationships of chatMessageHostedContent object. +// Get content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a ChatMessageHostedContentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessagehostedcontent-get?view=graph-rest-1.0 func (m *ItemChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *ItemChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of chatMessageHostedContent object. +// ToGetRequestInformation content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a *RequestInformation when successful func (m *ItemChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_channels_item_messages_item_hosted_contents_item_value_content_request_builder.go b/teams/item_channels_item_messages_item_hosted_contents_item_value_content_request_builder.go index 562854f4d5d..1c234ae7372 100644 --- a/teams/item_channels_item_messages_item_hosted_contents_item_value_content_request_builder.go +++ b/teams/item_channels_item_messages_item_hosted_contents_item_value_content_request_builder.go @@ -40,9 +40,6 @@ func NewItemChannelsItemMessagesItemHostedContentsItemValueContentRequestBuilder // Get get media content for the navigation property hostedContents from teams // 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/chatmessage-list-hostedcontents?view=graph-rest-1.0 func (m *ItemChannelsItemMessagesItemHostedContentsItemValueContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChannelsItemMessagesItemHostedContentsItemValueContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teams/item_channels_item_messages_item_hosted_contents_request_builder.go b/teams/item_channels_item_messages_item_hosted_contents_request_builder.go index b906a64d3f8..dc7b38895f0 100644 --- a/teams/item_channels_item_messages_item_hosted_contents_request_builder.go +++ b/teams/item_channels_item_messages_item_hosted_contents_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemChannelsItemMessagesItemHostedContentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemChannelsItemMessagesItemHostedContentsRequestBuilderGetQueryParameters retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// ItemChannelsItemMessagesItemHostedContentsRequestBuilderGetQueryParameters content in a message hosted by Microsoft Teams - for example, images or code snippets. type ItemChannelsItemMessagesItemHostedContentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemChannelsItemMessagesItemHostedContentsRequestBuilder(rawUrl string, func (m *ItemChannelsItemMessagesItemHostedContentsRequestBuilder) Count()(*ItemChannelsItemMessagesItemHostedContentsCountRequestBuilder) { return NewItemChannelsItemMessagesItemHostedContentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// Get content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a ChatMessageHostedContentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0 func (m *ItemChannelsItemMessagesItemHostedContentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChannelsItemMessagesItemHostedContentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemChannelsItemMessagesItemHostedContentsRequestBuilder) Post(ctx cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentable), nil } -// ToGetRequestInformation retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// ToGetRequestInformation content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a *RequestInformation when successful func (m *ItemChannelsItemMessagesItemHostedContentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChannelsItemMessagesItemHostedContentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_channels_item_messages_item_replies_chat_message_item_request_builder.go b/teams/item_channels_item_messages_item_replies_chat_message_item_request_builder.go index ee3777f375e..f7a2678c49d 100644 --- a/teams/item_channels_item_messages_item_replies_chat_message_item_request_builder.go +++ b/teams/item_channels_item_messages_item_replies_chat_message_item_request_builder.go @@ -18,7 +18,7 @@ type ItemChannelsItemMessagesItemRepliesChatMessageItemRequestBuilderDeleteReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemChannelsItemMessagesItemRepliesChatMessageItemRequestBuilderGetQueryParameters retrieve a single message or a message reply in a channel or a chat. +// ItemChannelsItemMessagesItemRepliesChatMessageItemRequestBuilderGetQueryParameters replies for a specified message. Supports $expand for channel messages. type ItemChannelsItemMessagesItemRepliesChatMessageItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemChannelsItemMessagesItemRepliesChatMessageItemRequestBuilder) Delet } return nil } -// Get retrieve a single message or a message reply in a channel or a chat. +// Get replies for a specified message. Supports $expand for channel messages. // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-get?view=graph-rest-1.0 func (m *ItemChannelsItemMessagesItemRepliesChatMessageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChannelsItemMessagesItemRepliesChatMessageItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -139,7 +136,7 @@ func (m *ItemChannelsItemMessagesItemRepliesChatMessageItemRequestBuilder) ToDel requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a single message or a message reply in a channel or a chat. +// ToGetRequestInformation replies for a specified message. Supports $expand for channel messages. // returns a *RequestInformation when successful func (m *ItemChannelsItemMessagesItemRepliesChatMessageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChannelsItemMessagesItemRepliesChatMessageItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_channels_item_messages_item_replies_delta_request_builder.go b/teams/item_channels_item_messages_item_replies_delta_request_builder.go index b48d63cdee9..c3ad950c781 100644 --- a/teams/item_channels_item_messages_item_replies_delta_request_builder.go +++ b/teams/item_channels_item_messages_item_replies_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemChannelsItemMessagesItemRepliesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemChannelsItemMessagesItemRepliesDeltaRequestBuilderGetQueryParameters invoke function delta +// ItemChannelsItemMessagesItemRepliesDeltaRequestBuilderGetQueryParameters retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. type ItemChannelsItemMessagesItemRepliesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewItemChannelsItemMessagesItemRepliesDeltaRequestBuilder(rawUrl string, re urlParams["request-raw-url"] = rawUrl return NewItemChannelsItemMessagesItemRepliesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemChannelsItemMessagesItemRepliesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-beta func (m *ItemChannelsItemMessagesItemRepliesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChannelsItemMessagesItemRepliesDeltaRequestBuilderGetRequestConfiguration)(ItemChannelsItemMessagesItemRepliesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ItemChannelsItemMessagesItemRepliesDeltaRequestBuilder) Get(ctx context } return res.(ItemChannelsItemMessagesItemRepliesDeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // returns a ItemChannelsItemMessagesItemRepliesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-beta func (m *ItemChannelsItemMessagesItemRepliesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemChannelsItemMessagesItemRepliesDeltaRequestBuilderGetRequestConfiguration)(ItemChannelsItemMessagesItemRepliesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ItemChannelsItemMessagesItemRepliesDeltaRequestBuilder) GetAsDeltaGetRe } return res.(ItemChannelsItemMessagesItemRepliesDeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // returns a *RequestInformation when successful func (m *ItemChannelsItemMessagesItemRepliesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChannelsItemMessagesItemRepliesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_channels_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/teams/item_channels_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index 82ff68dfe64..6592ec714b4 100644 --- a/teams/item_channels_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/teams/item_channels_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -18,7 +18,7 @@ type ItemChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedConte // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters retrieve the properties and relationships of chatMessageHostedContent object. +// ItemChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters content in a message hosted by Microsoft Teams - for example, images or code snippets. type ItemChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *ItemChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedC } return nil } -// Get retrieve the properties and relationships of chatMessageHostedContent object. +// Get content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a ChatMessageHostedContentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessagehostedcontent-get?view=graph-rest-1.0 func (m *ItemChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *ItemChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedC requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of chatMessageHostedContent object. +// ToGetRequestInformation content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a *RequestInformation when successful func (m *ItemChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_channels_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go b/teams/item_channels_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go index 53bfdc0b0f0..9531b61049b 100644 --- a/teams/item_channels_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go +++ b/teams/item_channels_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go @@ -40,9 +40,6 @@ func NewItemChannelsItemMessagesItemRepliesItemHostedContentsItemValueContentReq // Get get media content for the navigation property hostedContents from teams // 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/chatmessage-list-hostedcontents?view=graph-rest-1.0 func (m *ItemChannelsItemMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChannelsItemMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teams/item_channels_item_messages_item_replies_item_hosted_contents_request_builder.go b/teams/item_channels_item_messages_item_replies_item_hosted_contents_request_builder.go index 75341520da1..f0bdbaab09e 100644 --- a/teams/item_channels_item_messages_item_replies_item_hosted_contents_request_builder.go +++ b/teams/item_channels_item_messages_item_replies_item_hosted_contents_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilderGetQueryParameters retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// ItemChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilderGetQueryParameters content in a message hosted by Microsoft Teams - for example, images or code snippets. type ItemChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilder(rawU func (m *ItemChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilder) Count()(*ItemChannelsItemMessagesItemRepliesItemHostedContentsCountRequestBuilder) { return NewItemChannelsItemMessagesItemRepliesItemHostedContentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// Get content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a ChatMessageHostedContentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0 func (m *ItemChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilder) Po } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentable), nil } -// ToGetRequestInformation retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// ToGetRequestInformation content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a *RequestInformation when successful func (m *ItemChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_channels_item_messages_item_replies_item_soft_delete_request_builder.go b/teams/item_channels_item_messages_item_replies_item_soft_delete_request_builder.go index beec041f466..f3db0c9b370 100644 --- a/teams/item_channels_item_messages_item_replies_item_soft_delete_request_builder.go +++ b/teams/item_channels_item_messages_item_replies_item_soft_delete_request_builder.go @@ -34,7 +34,7 @@ func NewItemChannelsItemMessagesItemRepliesItemSoftDeleteRequestBuilder(rawUrl s // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-beta func (m *ItemChannelsItemMessagesItemRepliesItemSoftDeleteRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemChannelsItemMessagesItemRepliesItemSoftDeleteRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teams/item_channels_item_messages_item_replies_item_undo_soft_delete_request_builder.go b/teams/item_channels_item_messages_item_replies_item_undo_soft_delete_request_builder.go index 42b937a63c4..74af0d565eb 100644 --- a/teams/item_channels_item_messages_item_replies_item_undo_soft_delete_request_builder.go +++ b/teams/item_channels_item_messages_item_replies_item_undo_soft_delete_request_builder.go @@ -34,7 +34,7 @@ func NewItemChannelsItemMessagesItemRepliesItemUndoSoftDeleteRequestBuilder(rawU // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-beta func (m *ItemChannelsItemMessagesItemRepliesItemUndoSoftDeleteRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemChannelsItemMessagesItemRepliesItemUndoSoftDeleteRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teams/item_channels_item_messages_item_replies_request_builder.go b/teams/item_channels_item_messages_item_replies_request_builder.go index aab282f82f0..722569a4b96 100644 --- a/teams/item_channels_item_messages_item_replies_request_builder.go +++ b/teams/item_channels_item_messages_item_replies_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemChannelsItemMessagesItemRepliesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemChannelsItemMessagesItemRepliesRequestBuilderGetQueryParameters list all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, call get channel message. +// ItemChannelsItemMessagesItemRepliesRequestBuilderGetQueryParameters replies for a specified message. Supports $expand for channel messages. type ItemChannelsItemMessagesItemRepliesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *ItemChannelsItemMessagesItemRepliesRequestBuilder) Count()(*ItemChannel func (m *ItemChannelsItemMessagesItemRepliesRequestBuilder) Delta()(*ItemChannelsItemMessagesItemRepliesDeltaRequestBuilder) { return NewItemChannelsItemMessagesItemRepliesDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, call get channel message. +// Get replies for a specified message. Supports $expand for channel messages. // returns a ChatMessageCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-list-replies?view=graph-rest-1.0 func (m *ItemChannelsItemMessagesItemRepliesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChannelsItemMessagesItemRepliesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *ItemChannelsItemMessagesItemRepliesRequestBuilder) Get(ctx context.Cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageCollectionResponseable), nil } -// Post send a new reply to a chatMessage in a specified channel. +// Post create new navigation property to replies for teams // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0 func (m *ItemChannelsItemMessagesItemRepliesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemChannelsItemMessagesItemRepliesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemChannelsItemMessagesItemRepliesRequestBuilder) Post(ctx context.Con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable), nil } -// ToGetRequestInformation list all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, call get channel message. +// ToGetRequestInformation replies for a specified message. Supports $expand for channel messages. // returns a *RequestInformation when successful func (m *ItemChannelsItemMessagesItemRepliesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChannelsItemMessagesItemRepliesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ItemChannelsItemMessagesItemRepliesRequestBuilder) ToGetRequestInformat requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation send a new reply to a chatMessage in a specified channel. +// ToPostRequestInformation create new navigation property to replies for teams // returns a *RequestInformation when successful func (m *ItemChannelsItemMessagesItemRepliesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemChannelsItemMessagesItemRepliesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_channels_item_messages_item_soft_delete_request_builder.go b/teams/item_channels_item_messages_item_soft_delete_request_builder.go index 3d35e1a633b..40366fbb599 100644 --- a/teams/item_channels_item_messages_item_soft_delete_request_builder.go +++ b/teams/item_channels_item_messages_item_soft_delete_request_builder.go @@ -34,7 +34,7 @@ func NewItemChannelsItemMessagesItemSoftDeleteRequestBuilder(rawUrl string, requ // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-beta func (m *ItemChannelsItemMessagesItemSoftDeleteRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemChannelsItemMessagesItemSoftDeleteRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teams/item_channels_item_messages_item_undo_soft_delete_request_builder.go b/teams/item_channels_item_messages_item_undo_soft_delete_request_builder.go index 1c74e25db74..166e2eceab2 100644 --- a/teams/item_channels_item_messages_item_undo_soft_delete_request_builder.go +++ b/teams/item_channels_item_messages_item_undo_soft_delete_request_builder.go @@ -34,7 +34,7 @@ func NewItemChannelsItemMessagesItemUndoSoftDeleteRequestBuilder(rawUrl string, // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-beta func (m *ItemChannelsItemMessagesItemUndoSoftDeleteRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemChannelsItemMessagesItemUndoSoftDeleteRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teams/item_channels_item_messages_request_builder.go b/teams/item_channels_item_messages_request_builder.go index 30a52b2d817..8931027823f 100644 --- a/teams/item_channels_item_messages_request_builder.go +++ b/teams/item_channels_item_messages_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemChannelsItemMessagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemChannelsItemMessagesRequestBuilderGetQueryParameters retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). +// ItemChannelsItemMessagesRequestBuilderGetQueryParameters a collection of all the messages in the channel. A navigation property. Nullable. type ItemChannelsItemMessagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *ItemChannelsItemMessagesRequestBuilder) Count()(*ItemChannelsItemMessag func (m *ItemChannelsItemMessagesRequestBuilder) Delta()(*ItemChannelsItemMessagesDeltaRequestBuilder) { return NewItemChannelsItemMessagesDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). +// Get a collection of all the messages in the channel. A navigation property. Nullable. // returns a ChatMessageCollectionResponseable when successful // returns a ODataError error 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-list-messages?view=graph-rest-1.0 func (m *ItemChannelsItemMessagesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChannelsItemMessagesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *ItemChannelsItemMessagesRequestBuilder) Get(ctx context.Context, reques } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageCollectionResponseable), nil } -// Post send a new chatMessage in the specified channel. +// Post create new navigation property to messages for teams // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/channel-post-messages?view=graph-rest-1.0 func (m *ItemChannelsItemMessagesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemChannelsItemMessagesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemChannelsItemMessagesRequestBuilder) Post(ctx context.Context, body } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable), nil } -// ToGetRequestInformation retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). +// ToGetRequestInformation a collection of all the messages in the channel. A navigation property. Nullable. // returns a *RequestInformation when successful func (m *ItemChannelsItemMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChannelsItemMessagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ItemChannelsItemMessagesRequestBuilder) ToGetRequestInformation(ctx con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation send a new chatMessage in the specified channel. +// ToPostRequestInformation create new navigation property to messages for teams // returns a *RequestInformation when successful func (m *ItemChannelsItemMessagesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemChannelsItemMessagesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_channels_item_provision_email_request_builder.go b/teams/item_channels_item_provision_email_request_builder.go index 205db0523c4..1f2ed748c01 100644 --- a/teams/item_channels_item_provision_email_request_builder.go +++ b/teams/item_channels_item_provision_email_request_builder.go @@ -36,7 +36,7 @@ func NewItemChannelsItemProvisionEmailRequestBuilder(rawUrl string, requestAdapt // returns a ODataError error 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-provisionemail?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-provisionemail?view=graph-rest-beta func (m *ItemChannelsItemProvisionEmailRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemChannelsItemProvisionEmailRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProvisionChannelEmailResultable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teams/item_channels_item_remove_email_request_builder.go b/teams/item_channels_item_remove_email_request_builder.go index 5eb6b1a0bb5..c0737a33300 100644 --- a/teams/item_channels_item_remove_email_request_builder.go +++ b/teams/item_channels_item_remove_email_request_builder.go @@ -34,7 +34,7 @@ func NewItemChannelsItemRemoveEmailRequestBuilder(rawUrl string, requestAdapter // returns a ODataError error 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-removeemail?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-removeemail?view=graph-rest-beta func (m *ItemChannelsItemRemoveEmailRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemChannelsItemRemoveEmailRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teams/item_channels_item_shared_with_teams_item_allowed_members_request_builder.go b/teams/item_channels_item_shared_with_teams_item_allowed_members_request_builder.go index 5d386f9b8de..29a7816c8da 100644 --- a/teams/item_channels_item_shared_with_teams_item_allowed_members_request_builder.go +++ b/teams/item_channels_item_shared_with_teams_item_allowed_members_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilderGetQueryParameters get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant +// ItemChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilderGetQueryParameters a collection of team members who have access to the shared channel. type ItemChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewItemChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilder(rawUrl s func (m *ItemChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilder) Count()(*ItemChannelsItemSharedWithTeamsItemAllowedMembersCountRequestBuilder) { return NewItemChannelsItemSharedWithTeamsItemAllowedMembersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant +// Get a collection of team members who have access to the shared channel. // returns a ConversationMemberCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-list-allowedmembers?view=graph-rest-1.0 func (m *ItemChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *ItemChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilder) Get(ct } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable), nil } -// ToGetRequestInformation get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant +// ToGetRequestInformation a collection of team members who have access to the shared channel. // returns a *RequestInformation when successful func (m *ItemChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_channels_item_shared_with_teams_request_builder.go b/teams/item_channels_item_shared_with_teams_request_builder.go index 7f24a83d5f9..d5b812d5001 100644 --- a/teams/item_channels_item_shared_with_teams_request_builder.go +++ b/teams/item_channels_item_shared_with_teams_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemChannelsItemSharedWithTeamsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemChannelsItemSharedWithTeamsRequestBuilderGetQueryParameters get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. +// ItemChannelsItemSharedWithTeamsRequestBuilderGetQueryParameters a collection of teams with which a channel is shared. type ItemChannelsItemSharedWithTeamsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemChannelsItemSharedWithTeamsRequestBuilder(rawUrl string, requestAdap func (m *ItemChannelsItemSharedWithTeamsRequestBuilder) Count()(*ItemChannelsItemSharedWithTeamsCountRequestBuilder) { return NewItemChannelsItemSharedWithTeamsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. +// Get a collection of teams with which a channel is shared. // returns a SharedWithChannelTeamInfoCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-list?view=graph-rest-1.0 func (m *ItemChannelsItemSharedWithTeamsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChannelsItemSharedWithTeamsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharedWithChannelTeamInfoCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemChannelsItemSharedWithTeamsRequestBuilder) Post(ctx context.Context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharedWithChannelTeamInfoable), nil } -// ToGetRequestInformation get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. +// ToGetRequestInformation a collection of teams with which a channel is shared. // returns a *RequestInformation when successful func (m *ItemChannelsItemSharedWithTeamsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChannelsItemSharedWithTeamsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_channels_item_shared_with_teams_shared_with_channel_team_info_item_request_builder.go b/teams/item_channels_item_shared_with_teams_shared_with_channel_team_info_item_request_builder.go index d6733dec51a..7dd0e9b381d 100644 --- a/teams/item_channels_item_shared_with_teams_shared_with_channel_team_info_item_request_builder.go +++ b/teams/item_channels_item_shared_with_teams_shared_with_channel_team_info_item_request_builder.go @@ -18,7 +18,7 @@ type ItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderD // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. +// ItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters a collection of teams with which a channel is shared. type ItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuild urlParams["request-raw-url"] = rawUrl return NewItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. +// Delete delete navigation property sharedWithTeams for teams // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-delete?view=graph-rest-1.0 func (m *ItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *ItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuil } return nil } -// Get get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. +// Get a collection of teams with which a channel is shared. // returns a SharedWithChannelTeamInfoable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-get?view=graph-rest-1.0 func (m *ItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharedWithChannelTeamInfoable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -126,7 +120,7 @@ func (m *ItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuil func (m *ItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) Team()(*ItemChannelsItemSharedWithTeamsItemTeamRequestBuilder) { return NewItemChannelsItemSharedWithTeamsItemTeamRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. +// ToDeleteRequestInformation delete navigation property sharedWithTeams for teams // returns a *RequestInformation when successful func (m *ItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -137,7 +131,7 @@ func (m *ItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuil requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. +// ToGetRequestInformation a collection of teams with which a channel is shared. // returns a *RequestInformation when successful func (m *ItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_channels_item_tabs_request_builder.go b/teams/item_channels_item_tabs_request_builder.go index 3c125d1c477..1ba4d00177f 100644 --- a/teams/item_channels_item_tabs_request_builder.go +++ b/teams/item_channels_item_tabs_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemChannelsItemTabsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemChannelsItemTabsRequestBuilderGetQueryParameters retrieve the list of tabs in the specified channel within a team. +// ItemChannelsItemTabsRequestBuilderGetQueryParameters a collection of all the tabs in the channel. A navigation property. type ItemChannelsItemTabsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemChannelsItemTabsRequestBuilder(rawUrl string, requestAdapter i2ae418 func (m *ItemChannelsItemTabsRequestBuilder) Count()(*ItemChannelsItemTabsCountRequestBuilder) { return NewItemChannelsItemTabsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of tabs in the specified channel within a team. +// Get a collection of all the tabs in the channel. A navigation property. // returns a TeamsTabCollectionResponseable when successful // returns a ODataError error 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-list-tabs?view=graph-rest-1.0 func (m *ItemChannelsItemTabsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChannelsItemTabsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsTabCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemChannelsItemTabsRequestBuilder) Post(ctx context.Context, body ie23 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsTabable), nil } -// ToGetRequestInformation retrieve the list of tabs in the specified channel within a team. +// ToGetRequestInformation a collection of all the tabs in the channel. A navigation property. // returns a *RequestInformation when successful func (m *ItemChannelsItemTabsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChannelsItemTabsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_channels_item_unarchive_request_builder.go b/teams/item_channels_item_unarchive_request_builder.go index b84ab5fc0d4..532792322f2 100644 --- a/teams/item_channels_item_unarchive_request_builder.go +++ b/teams/item_channels_item_unarchive_request_builder.go @@ -34,7 +34,7 @@ func NewItemChannelsItemUnarchiveRequestBuilder(rawUrl string, requestAdapter i2 // returns a ODataError error 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-unarchive?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-unarchive?view=graph-rest-beta func (m *ItemChannelsItemUnarchiveRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemChannelsItemUnarchiveRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teams/item_channels_request_builder.go b/teams/item_channels_request_builder.go index 87dff1712f1..a8e41a17009 100644 --- a/teams/item_channels_request_builder.go +++ b/teams/item_channels_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemChannelsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemChannelsRequestBuilderGetQueryParameters retrieve the list of channels in this team. +// ItemChannelsRequestBuilderGetQueryParameters the collection of channels and messages associated with the team. type ItemChannelsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func NewItemChannelsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee2 func (m *ItemChannelsRequestBuilder) Count()(*ItemChannelsCountRequestBuilder) { return NewItemChannelsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of channels in this team. +// Get the collection of channels and messages associated with the team. // returns a ChannelCollectionResponseable when successful // returns a ODataError error 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-list?view=graph-rest-1.0 func (m *ItemChannelsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChannelsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChannelCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -114,12 +111,9 @@ func (m *ItemChannelsRequestBuilder) GetAllMessages()(*ItemChannelsGetAllMessage func (m *ItemChannelsRequestBuilder) GetAllRetainedMessages()(*ItemChannelsGetAllRetainedMessagesRequestBuilder) { return NewItemChannelsGetAllRetainedMessagesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Post create a new channel in a team, as specified in the request body. When you create a channel, the maximum length of the channel's displayName is 50 characters. This display name appears to the user in Microsoft Teams. You can add a maximum of 200 members when you create a private channel. +// Post create new navigation property to channels for teams // returns a Channelable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/channel-post?view=graph-rest-1.0 func (m *ItemChannelsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable, requestConfiguration *ItemChannelsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -137,7 +131,7 @@ func (m *ItemChannelsRequestBuilder) Post(ctx context.Context, body ie233ee762e2 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable), nil } -// ToGetRequestInformation retrieve the list of channels in this team. +// ToGetRequestInformation the collection of channels and messages associated with the team. // returns a *RequestInformation when successful func (m *ItemChannelsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChannelsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -151,7 +145,7 @@ func (m *ItemChannelsRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new channel in a team, as specified in the request body. When you create a channel, the maximum length of the channel's displayName is 50 characters. This display name appears to the user in Microsoft Teams. You can add a maximum of 200 members when you create a private channel. +// ToPostRequestInformation create new navigation property to channels for teams // returns a *RequestInformation when successful func (m *ItemChannelsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable, requestConfiguration *ItemChannelsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_clone_request_builder.go b/teams/item_clone_request_builder.go index 7d43bcf74dd..cbb1e3c5250 100644 --- a/teams/item_clone_request_builder.go +++ b/teams/item_clone_request_builder.go @@ -34,7 +34,7 @@ func NewItemCloneRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee2633 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/team-clone?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/team-clone?view=graph-rest-beta func (m *ItemCloneRequestBuilder) Post(ctx context.Context, body ItemClonePostRequestBodyable, requestConfiguration *ItemCloneRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/teams/item_complete_migration_request_builder.go b/teams/item_complete_migration_request_builder.go index e260e3e723d..4e978d71cc1 100644 --- a/teams/item_complete_migration_request_builder.go +++ b/teams/item_complete_migration_request_builder.go @@ -34,7 +34,7 @@ func NewItemCompleteMigrationRequestBuilder(rawUrl string, requestAdapter i2ae41 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/team-completemigration?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/team-completemigration?view=graph-rest-beta func (m *ItemCompleteMigrationRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCompleteMigrationRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teams/item_incoming_channels_request_builder.go b/teams/item_incoming_channels_request_builder.go index b2ce3292954..79b3add88c4 100644 --- a/teams/item_incoming_channels_request_builder.go +++ b/teams/item_incoming_channels_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemIncomingChannelsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemIncomingChannelsRequestBuilderGetQueryParameters get the list of incoming channels (channels shared with a team). +// ItemIncomingChannelsRequestBuilderGetQueryParameters list of channels shared with the team. type ItemIncomingChannelsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewItemIncomingChannelsRequestBuilder(rawUrl string, requestAdapter i2ae418 func (m *ItemIncomingChannelsRequestBuilder) Count()(*ItemIncomingChannelsCountRequestBuilder) { return NewItemIncomingChannelsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of incoming channels (channels shared with a team). +// Get list of channels shared with the team. // returns a ChannelCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/team-list-incomingchannels?view=graph-rest-1.0 func (m *ItemIncomingChannelsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemIncomingChannelsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChannelCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *ItemIncomingChannelsRequestBuilder) Get(ctx context.Context, requestCon } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChannelCollectionResponseable), nil } -// ToGetRequestInformation get the list of incoming channels (channels shared with a team). +// ToGetRequestInformation list of channels shared with the team. // returns a *RequestInformation when successful func (m *ItemIncomingChannelsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemIncomingChannelsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_installed_apps_item_upgrade_request_builder.go b/teams/item_installed_apps_item_upgrade_request_builder.go index c87661ba61d..ef76c94d9bd 100644 --- a/teams/item_installed_apps_item_upgrade_request_builder.go +++ b/teams/item_installed_apps_item_upgrade_request_builder.go @@ -34,7 +34,7 @@ func NewItemInstalledAppsItemUpgradeRequestBuilder(rawUrl string, requestAdapter // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-teamsappinstallation-upgrade?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chat-teamsappinstallation-upgrade?view=graph-rest-beta func (m *ItemInstalledAppsItemUpgradeRequestBuilder) Post(ctx context.Context, body ItemInstalledAppsItemUpgradePostRequestBodyable, requestConfiguration *ItemInstalledAppsItemUpgradeRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/teams/item_installed_apps_request_builder.go b/teams/item_installed_apps_request_builder.go index 1646ad26a85..2d2025ea86d 100644 --- a/teams/item_installed_apps_request_builder.go +++ b/teams/item_installed_apps_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemInstalledAppsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemInstalledAppsRequestBuilderGetQueryParameters retrieve the list of apps installed in the specified team. +// ItemInstalledAppsRequestBuilderGetQueryParameters the apps installed in this team. type ItemInstalledAppsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemInstalledAppsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7 func (m *ItemInstalledAppsRequestBuilder) Count()(*ItemInstalledAppsCountRequestBuilder) { return NewItemInstalledAppsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of apps installed in the specified team. +// Get the apps installed in this team. // returns a TeamsAppInstallationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/team-list-installedapps?view=graph-rest-1.0 func (m *ItemInstalledAppsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemInstalledAppsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppInstallationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemInstalledAppsRequestBuilder) Get(ctx context.Context, requestConfig } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppInstallationCollectionResponseable), nil } -// Post install an app to the specified team. +// Post create new navigation property to installedApps for teams // returns a TeamsAppInstallationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/team-post-installedapps?view=graph-rest-1.0 func (m *ItemInstalledAppsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppInstallationable, requestConfiguration *ItemInstalledAppsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppInstallationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemInstalledAppsRequestBuilder) Post(ctx context.Context, body ie233ee } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppInstallationable), nil } -// ToGetRequestInformation retrieve the list of apps installed in the specified team. +// ToGetRequestInformation the apps installed in this team. // returns a *RequestInformation when successful func (m *ItemInstalledAppsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemInstalledAppsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemInstalledAppsRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation install an app to the specified team. +// ToPostRequestInformation create new navigation property to installedApps for teams // returns a *RequestInformation when successful func (m *ItemInstalledAppsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppInstallationable, requestConfiguration *ItemInstalledAppsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_installed_apps_teams_app_installation_item_request_builder.go b/teams/item_installed_apps_teams_app_installation_item_request_builder.go index 9f29c16a517..9b621b67a44 100644 --- a/teams/item_installed_apps_teams_app_installation_item_request_builder.go +++ b/teams/item_installed_apps_teams_app_installation_item_request_builder.go @@ -18,7 +18,7 @@ type ItemInstalledAppsTeamsAppInstallationItemRequestBuilderDeleteRequestConfigu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemInstalledAppsTeamsAppInstallationItemRequestBuilderGetQueryParameters retrieve the app installed in the specified team. +// ItemInstalledAppsTeamsAppInstallationItemRequestBuilderGetQueryParameters the apps installed in this team. type ItemInstalledAppsTeamsAppInstallationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemInstalledAppsTeamsAppInstallationItemRequestBuilder(rawUrl string, r urlParams["request-raw-url"] = rawUrl return NewItemInstalledAppsTeamsAppInstallationItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete uninstalls an app from the specified team. +// Delete delete navigation property installedApps for teams // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/team-delete-installedapps?view=graph-rest-1.0 func (m *ItemInstalledAppsTeamsAppInstallationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemInstalledAppsTeamsAppInstallationItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemInstalledAppsTeamsAppInstallationItemRequestBuilder) Delete(ctx con } return nil } -// Get retrieve the app installed in the specified team. +// Get the apps installed in this team. // returns a TeamsAppInstallationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/team-get-installedapps?view=graph-rest-1.0 func (m *ItemInstalledAppsTeamsAppInstallationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemInstalledAppsTeamsAppInstallationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppInstallationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -126,7 +120,7 @@ func (m *ItemInstalledAppsTeamsAppInstallationItemRequestBuilder) TeamsApp()(*It func (m *ItemInstalledAppsTeamsAppInstallationItemRequestBuilder) TeamsAppDefinition()(*ItemInstalledAppsItemTeamsAppDefinitionRequestBuilder) { return NewItemInstalledAppsItemTeamsAppDefinitionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation uninstalls an app from the specified team. +// ToDeleteRequestInformation delete navigation property installedApps for teams // returns a *RequestInformation when successful func (m *ItemInstalledAppsTeamsAppInstallationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemInstalledAppsTeamsAppInstallationItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -137,7 +131,7 @@ func (m *ItemInstalledAppsTeamsAppInstallationItemRequestBuilder) ToDeleteReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the app installed in the specified team. +// ToGetRequestInformation the apps installed in this team. // returns a *RequestInformation when successful func (m *ItemInstalledAppsTeamsAppInstallationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemInstalledAppsTeamsAppInstallationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_members_add_request_builder.go b/teams/item_members_add_request_builder.go index c4292bf429e..85ad53f91aa 100644 --- a/teams/item_members_add_request_builder.go +++ b/teams/item_members_add_request_builder.go @@ -36,7 +36,7 @@ func NewItemMembersAddRequestBuilder(rawUrl string, requestAdapter i2ae4187f7dae // returns a ODataError error 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-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-beta func (m *ItemMembersAddRequestBuilder) Post(ctx context.Context, body ItemMembersAddPostRequestBodyable, requestConfiguration *ItemMembersAddRequestBuilderPostRequestConfiguration)(ItemMembersAddResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ItemMembersAddRequestBuilder) Post(ctx context.Context, body ItemMember // returns a ODataError error 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-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-beta func (m *ItemMembersAddRequestBuilder) PostAsAddPostResponse(ctx context.Context, body ItemMembersAddPostRequestBodyable, requestConfiguration *ItemMembersAddRequestBuilderPostRequestConfiguration)(ItemMembersAddPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/teams/item_members_conversation_member_item_request_builder.go b/teams/item_members_conversation_member_item_request_builder.go index 03a047a3cd2..270bd52abcb 100644 --- a/teams/item_members_conversation_member_item_request_builder.go +++ b/teams/item_members_conversation_member_item_request_builder.go @@ -18,7 +18,7 @@ type ItemMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemMembersConversationMemberItemRequestBuilderGetQueryParameters get a conversationMember from a team. +// ItemMembersConversationMemberItemRequestBuilderGetQueryParameters members and owners of the team. type ItemMembersConversationMemberItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemMembersConversationMemberItemRequestBuilder(rawUrl string, requestAd urlParams["request-raw-url"] = rawUrl return NewItemMembersConversationMemberItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove a conversationMember from a team. +// Delete delete navigation property members for teams // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/team-delete-members?view=graph-rest-1.0 func (m *ItemMembersConversationMemberItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemMembersConversationMemberItemRequestBuilder) Delete(ctx context.Con } return nil } -// Get get a conversationMember from a team. +// Get members and owners of the team. // 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/team-get-members?view=graph-rest-1.0 func (m *ItemMembersConversationMemberItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMembersConversationMemberItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ItemMembersConversationMemberItemRequestBuilder) Get(ctx context.Contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil } -// Patch update the role of a conversationMember in a team. +// Patch update the navigation property members in teams // 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/team-update-members?view=graph-rest-1.0 func (m *ItemMembersConversationMemberItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *ItemMembersConversationMemberItemRequestBuilder) Patch(ctx context.Cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil } -// ToDeleteRequestInformation remove a conversationMember from a team. +// ToDeleteRequestInformation delete navigation property members for teams // returns a *RequestInformation when successful func (m *ItemMembersConversationMemberItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *ItemMembersConversationMemberItemRequestBuilder) ToDeleteRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a conversationMember from a team. +// ToGetRequestInformation members and owners of the team. // returns a *RequestInformation when successful func (m *ItemMembersConversationMemberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMembersConversationMemberItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *ItemMembersConversationMemberItemRequestBuilder) ToGetRequestInformatio requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the role of a conversationMember in a team. +// ToPatchRequestInformation update the navigation property members in teams // returns a *RequestInformation when successful func (m *ItemMembersConversationMemberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_members_request_builder.go b/teams/item_members_request_builder.go index 43546813811..48a31924826 100644 --- a/teams/item_members_request_builder.go +++ b/teams/item_members_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemMembersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemMembersRequestBuilderGetQueryParameters get the conversationMember collection of a team. The membership IDs returned by the server must be treated as opaque strings. The client should not try to parse or make assumptions about these resource IDs. In the future, membership results may include users from various tenants, as indicated in the response. Clients should avoid assuming that all members exclusively belong to the current tenant. +// ItemMembersRequestBuilderGetQueryParameters members and owners of the team. type ItemMembersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func NewItemMembersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 func (m *ItemMembersRequestBuilder) Count()(*ItemMembersCountRequestBuilder) { return NewItemMembersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the conversationMember collection of a team. The membership IDs returned by the server must be treated as opaque strings. The client should not try to parse or make assumptions about these resource IDs. In the future, membership results may include users from various tenants, as indicated in the response. Clients should avoid assuming that all members exclusively belong to the current tenant. +// Get members and owners of the team. // returns a ConversationMemberCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/team-list-members?view=graph-rest-1.0 func (m *ItemMembersRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMembersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *ItemMembersRequestBuilder) Get(ctx context.Context, requestConfiguratio } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable), nil } -// Post add a new conversation member to a team. +// Post create new navigation property to members for teams // 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/team-post-members?view=graph-rest-1.0 func (m *ItemMembersRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemMembersRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemMembersRequestBuilder) Post(ctx context.Context, body ie233ee762e29 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil } -// ToGetRequestInformation get the conversationMember collection of a team. The membership IDs returned by the server must be treated as opaque strings. The client should not try to parse or make assumptions about these resource IDs. In the future, membership results may include users from various tenants, as indicated in the response. Clients should avoid assuming that all members exclusively belong to the current tenant. +// ToGetRequestInformation members and owners of the team. // returns a *RequestInformation when successful func (m *ItemMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMembersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ItemMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add a new conversation member to a team. +// ToPostRequestInformation create new navigation property to members for teams // returns a *RequestInformation when successful func (m *ItemMembersRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemMembersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_permission_grants_request_builder.go b/teams/item_permission_grants_request_builder.go index 515887d5f44..27ac788fdf3 100644 --- a/teams/item_permission_grants_request_builder.go +++ b/teams/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 team. This list specifies the Microsoft Entra apps that have access to the team, along with the corresponding kind of resource-specific access that each app has. +// ItemPermissionGrantsRequestBuilderGetQueryParameters a collection of permissions granted to apps to access the team. type ItemPermissionGrantsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ 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 team. This list specifies the Microsoft Entra apps that have access to the team, along with the corresponding kind of resource-specific access that each app has. +// Get a collection of permissions granted to apps to access the team. // returns a ResourceSpecificPermissionGrantCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/team-list-permissiongrants?view=graph-rest-1.0 func (m *ItemPermissionGrantsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPermissionGrantsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ResourceSpecificPermissionGrantCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemPermissionGrantsRequestBuilder) Post(ctx context.Context, body ie23 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ResourceSpecificPermissionGrantable), nil } -// ToGetRequestInformation list all resource-specific permission grants on the team. This list specifies the Microsoft Entra apps that have access to the team, along with the corresponding kind of resource-specific access that each app has. +// ToGetRequestInformation a collection of permissions granted to apps to access the team. // 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/teams/item_primary_channel_archive_request_builder.go b/teams/item_primary_channel_archive_request_builder.go index 818e53ae21f..21156c57356 100644 --- a/teams/item_primary_channel_archive_request_builder.go +++ b/teams/item_primary_channel_archive_request_builder.go @@ -34,7 +34,7 @@ func NewItemPrimaryChannelArchiveRequestBuilder(rawUrl string, requestAdapter i2 // returns a ODataError error 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-archive?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-archive?view=graph-rest-beta func (m *ItemPrimaryChannelArchiveRequestBuilder) Post(ctx context.Context, body ItemPrimaryChannelArchivePostRequestBodyable, requestConfiguration *ItemPrimaryChannelArchiveRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/teams/item_primary_channel_complete_migration_request_builder.go b/teams/item_primary_channel_complete_migration_request_builder.go index f66b1c2f57c..f60f0b72dc5 100644 --- a/teams/item_primary_channel_complete_migration_request_builder.go +++ b/teams/item_primary_channel_complete_migration_request_builder.go @@ -34,7 +34,7 @@ func NewItemPrimaryChannelCompleteMigrationRequestBuilder(rawUrl string, request // returns a ODataError error 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-completemigration?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-completemigration?view=graph-rest-beta func (m *ItemPrimaryChannelCompleteMigrationRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemPrimaryChannelCompleteMigrationRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teams/item_primary_channel_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go b/teams/item_primary_channel_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go index ac934df2b41..00ef5d2e0f4 100644 --- a/teams/item_primary_channel_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go +++ b/teams/item_primary_channel_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters invoke function doesUserHaveAccess +// ItemPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters determine whether a user has access to a shared channel. type ItemPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters struct { // Usage: tenantId='@tenantId' TenantId *string `uriparametername:"tenantId"` @@ -41,10 +41,13 @@ func NewItemPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrin urlParams["request-raw-url"] = rawUrl return NewItemPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function doesUserHaveAccess +// Get determine whether a user has access to a shared channel. // Deprecated: This method is obsolete. Use GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse instead. // returns a ItemPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponseable when successful // returns a ODataError error 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-doesuserhaveaccess?view=graph-rest-beta func (m *ItemPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetRequestConfiguration)(ItemPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -62,9 +65,12 @@ func (m *ItemPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPri } return res.(ItemPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponseable), nil } -// GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse invoke function doesUserHaveAccess +// GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse determine whether a user has access to a shared channel. // returns a ItemPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponseable when successful // returns a ODataError error 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-doesuserhaveaccess?view=graph-rest-beta func (m *ItemPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder) GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse(ctx context.Context, requestConfiguration *ItemPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetRequestConfiguration)(ItemPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -82,7 +88,7 @@ func (m *ItemPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPri } return res.(ItemPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponseable), nil } -// ToGetRequestInformation invoke function doesUserHaveAccess +// ToGetRequestInformation determine whether a user has access to a shared channel. // returns a *RequestInformation when successful func (m *ItemPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_primary_channel_files_folder_content_request_builder.go b/teams/item_primary_channel_files_folder_content_request_builder.go index 07487855e04..8b3de77e816 100644 --- a/teams/item_primary_channel_files_folder_content_request_builder.go +++ b/teams/item_primary_channel_files_folder_content_request_builder.go @@ -48,9 +48,6 @@ func NewItemPrimaryChannelFilesFolderContentRequestBuilder(rawUrl string, reques // Get get content for the navigation property filesFolder from teams // 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/channel-get-filesfolder?view=graph-rest-1.0 func (m *ItemPrimaryChannelFilesFolderContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPrimaryChannelFilesFolderContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teams/item_primary_channel_files_folder_content_stream_request_builder.go b/teams/item_primary_channel_files_folder_content_stream_request_builder.go index c834e290ec7..7da4220ad6d 100644 --- a/teams/item_primary_channel_files_folder_content_stream_request_builder.go +++ b/teams/item_primary_channel_files_folder_content_stream_request_builder.go @@ -40,9 +40,6 @@ func NewItemPrimaryChannelFilesFolderContentStreamRequestBuilder(rawUrl string, // Get the content stream, if the item represents a file. // 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/channel-get-filesfolder?view=graph-rest-1.0 func (m *ItemPrimaryChannelFilesFolderContentStreamRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPrimaryChannelFilesFolderContentStreamRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teams/item_primary_channel_files_folder_request_builder.go b/teams/item_primary_channel_files_folder_request_builder.go index 6b24eb0bad4..21ab49f1336 100644 --- a/teams/item_primary_channel_files_folder_request_builder.go +++ b/teams/item_primary_channel_files_folder_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemPrimaryChannelFilesFolderRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemPrimaryChannelFilesFolderRequestBuilderGetQueryParameters get the metadata for the location where the files of a channel are stored. +// ItemPrimaryChannelFilesFolderRequestBuilderGetQueryParameters metadata for the location where the channel's files are stored. type ItemPrimaryChannelFilesFolderRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -50,12 +50,9 @@ func (m *ItemPrimaryChannelFilesFolderRequestBuilder) Content()(*ItemPrimaryChan func (m *ItemPrimaryChannelFilesFolderRequestBuilder) ContentStream()(*ItemPrimaryChannelFilesFolderContentStreamRequestBuilder) { return NewItemPrimaryChannelFilesFolderContentStreamRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the metadata for the location where the files of a channel are stored. +// Get metadata for the location where the channel's files are stored. // returns a DriveItemable when successful // returns a ODataError error 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-get-filesfolder?view=graph-rest-1.0 func (m *ItemPrimaryChannelFilesFolderRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPrimaryChannelFilesFolderRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,7 +70,7 @@ func (m *ItemPrimaryChannelFilesFolderRequestBuilder) Get(ctx context.Context, r } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable), nil } -// ToGetRequestInformation get the metadata for the location where the files of a channel are stored. +// ToGetRequestInformation metadata for the location where the channel's files are stored. // returns a *RequestInformation when successful func (m *ItemPrimaryChannelFilesFolderRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPrimaryChannelFilesFolderRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_primary_channel_members_add_request_builder.go b/teams/item_primary_channel_members_add_request_builder.go index a923a62fadc..358142b73a9 100644 --- a/teams/item_primary_channel_members_add_request_builder.go +++ b/teams/item_primary_channel_members_add_request_builder.go @@ -36,7 +36,7 @@ func NewItemPrimaryChannelMembersAddRequestBuilder(rawUrl string, requestAdapter // returns a ODataError error 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-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-beta func (m *ItemPrimaryChannelMembersAddRequestBuilder) Post(ctx context.Context, body ItemPrimaryChannelMembersAddPostRequestBodyable, requestConfiguration *ItemPrimaryChannelMembersAddRequestBuilderPostRequestConfiguration)(ItemPrimaryChannelMembersAddResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ItemPrimaryChannelMembersAddRequestBuilder) Post(ctx context.Context, b // returns a ODataError error 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-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-beta func (m *ItemPrimaryChannelMembersAddRequestBuilder) PostAsAddPostResponse(ctx context.Context, body ItemPrimaryChannelMembersAddPostRequestBodyable, requestConfiguration *ItemPrimaryChannelMembersAddRequestBuilderPostRequestConfiguration)(ItemPrimaryChannelMembersAddPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/teams/item_primary_channel_members_conversation_member_item_request_builder.go b/teams/item_primary_channel_members_conversation_member_item_request_builder.go index b14bf51c0a2..f866257a356 100644 --- a/teams/item_primary_channel_members_conversation_member_item_request_builder.go +++ b/teams/item_primary_channel_members_conversation_member_item_request_builder.go @@ -18,7 +18,7 @@ type ItemPrimaryChannelMembersConversationMemberItemRequestBuilderDeleteRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemPrimaryChannelMembersConversationMemberItemRequestBuilderGetQueryParameters get a conversationMember from a channel. +// ItemPrimaryChannelMembersConversationMemberItemRequestBuilderGetQueryParameters a collection of membership records associated with the channel. type ItemPrimaryChannelMembersConversationMemberItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemPrimaryChannelMembersConversationMemberItemRequestBuilder(rawUrl str urlParams["request-raw-url"] = rawUrl return NewItemPrimaryChannelMembersConversationMemberItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. +// Delete delete navigation property members for teams // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/channel-delete-members?view=graph-rest-1.0 func (m *ItemPrimaryChannelMembersConversationMemberItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemPrimaryChannelMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemPrimaryChannelMembersConversationMemberItemRequestBuilder) Delete(c } return nil } -// Get get a conversationMember from a channel. +// Get a collection of membership records associated with the 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-get-members?view=graph-rest-1.0 func (m *ItemPrimaryChannelMembersConversationMemberItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPrimaryChannelMembersConversationMemberItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ItemPrimaryChannelMembersConversationMemberItemRequestBuilder) Get(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil } -// Patch update the role of a conversationMember in a team.or channel. +// Patch update the navigation property members in teams // returns a ConversationMemberable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0 func (m *ItemPrimaryChannelMembersConversationMemberItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemPrimaryChannelMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *ItemPrimaryChannelMembersConversationMemberItemRequestBuilder) Patch(ct } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil } -// ToDeleteRequestInformation delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. +// ToDeleteRequestInformation delete navigation property members for teams // returns a *RequestInformation when successful func (m *ItemPrimaryChannelMembersConversationMemberItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemPrimaryChannelMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *ItemPrimaryChannelMembersConversationMemberItemRequestBuilder) ToDelete requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a conversationMember from a channel. +// ToGetRequestInformation a collection of membership records associated with the channel. // returns a *RequestInformation when successful func (m *ItemPrimaryChannelMembersConversationMemberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPrimaryChannelMembersConversationMemberItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *ItemPrimaryChannelMembersConversationMemberItemRequestBuilder) ToGetReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the role of a conversationMember in a team.or channel. +// ToPatchRequestInformation update the navigation property members in teams // returns a *RequestInformation when successful func (m *ItemPrimaryChannelMembersConversationMemberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemPrimaryChannelMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_primary_channel_members_request_builder.go b/teams/item_primary_channel_members_request_builder.go index b867d1b8ba1..ebb13300c6d 100644 --- a/teams/item_primary_channel_members_request_builder.go +++ b/teams/item_primary_channel_members_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemPrimaryChannelMembersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemPrimaryChannelMembersRequestBuilderGetQueryParameters retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. +// ItemPrimaryChannelMembersRequestBuilderGetQueryParameters a collection of membership records associated with the channel. type ItemPrimaryChannelMembersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func NewItemPrimaryChannelMembersRequestBuilder(rawUrl string, requestAdapter i2 func (m *ItemPrimaryChannelMembersRequestBuilder) Count()(*ItemPrimaryChannelMembersCountRequestBuilder) { return NewItemPrimaryChannelMembersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. +// Get a collection of membership records associated with the channel. // returns a ConversationMemberCollectionResponseable when successful // returns a ODataError error 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-list-members?view=graph-rest-1.0 func (m *ItemPrimaryChannelMembersRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPrimaryChannelMembersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *ItemPrimaryChannelMembersRequestBuilder) Get(ctx context.Context, reque } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable), nil } -// Post add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. +// Post create new navigation property to members for teams // returns a ConversationMemberable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/channel-post-members?view=graph-rest-1.0 func (m *ItemPrimaryChannelMembersRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemPrimaryChannelMembersRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemPrimaryChannelMembersRequestBuilder) Post(ctx context.Context, body } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil } -// ToGetRequestInformation retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. +// ToGetRequestInformation a collection of membership records associated with the channel. // returns a *RequestInformation when successful func (m *ItemPrimaryChannelMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPrimaryChannelMembersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ItemPrimaryChannelMembersRequestBuilder) ToGetRequestInformation(ctx co requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. +// ToPostRequestInformation create new navigation property to members for teams // returns a *RequestInformation when successful func (m *ItemPrimaryChannelMembersRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemPrimaryChannelMembersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_primary_channel_messages_chat_message_item_request_builder.go b/teams/item_primary_channel_messages_chat_message_item_request_builder.go index bd558e6e48d..89c1ca30feb 100644 --- a/teams/item_primary_channel_messages_chat_message_item_request_builder.go +++ b/teams/item_primary_channel_messages_chat_message_item_request_builder.go @@ -18,7 +18,7 @@ type ItemPrimaryChannelMessagesChatMessageItemRequestBuilderDeleteRequestConfigu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemPrimaryChannelMessagesChatMessageItemRequestBuilderGetQueryParameters retrieve a single message or a message reply in a channel or a chat. +// ItemPrimaryChannelMessagesChatMessageItemRequestBuilderGetQueryParameters a collection of all the messages in the channel. A navigation property. Nullable. type ItemPrimaryChannelMessagesChatMessageItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemPrimaryChannelMessagesChatMessageItemRequestBuilder) Delete(ctx con } return nil } -// Get retrieve a single message or a message reply in a channel or a chat. +// Get a collection of all the messages in the channel. A navigation property. Nullable. // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-get?view=graph-rest-1.0 func (m *ItemPrimaryChannelMessagesChatMessageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPrimaryChannelMessagesChatMessageItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,12 +95,9 @@ func (m *ItemPrimaryChannelMessagesChatMessageItemRequestBuilder) Get(ctx contex func (m *ItemPrimaryChannelMessagesChatMessageItemRequestBuilder) HostedContents()(*ItemPrimaryChannelMessagesItemHostedContentsRequestBuilder) { return NewItemPrimaryChannelMessagesItemHostedContentsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method doesn't support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. +// Patch update the navigation property messages in teams // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-update?view=graph-rest-1.0 func (m *ItemPrimaryChannelMessagesChatMessageItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemPrimaryChannelMessagesChatMessageItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -147,7 +141,7 @@ func (m *ItemPrimaryChannelMessagesChatMessageItemRequestBuilder) ToDeleteReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a single message or a message reply in a channel or a chat. +// ToGetRequestInformation a collection of all the messages in the channel. A navigation property. Nullable. // returns a *RequestInformation when successful func (m *ItemPrimaryChannelMessagesChatMessageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPrimaryChannelMessagesChatMessageItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -161,7 +155,7 @@ func (m *ItemPrimaryChannelMessagesChatMessageItemRequestBuilder) ToGetRequestIn requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method doesn't support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. +// ToPatchRequestInformation update the navigation property messages in teams // returns a *RequestInformation when successful func (m *ItemPrimaryChannelMessagesChatMessageItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemPrimaryChannelMessagesChatMessageItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_primary_channel_messages_delta_request_builder.go b/teams/item_primary_channel_messages_delta_request_builder.go index 456f849ed67..ab8e00a7e7d 100644 --- a/teams/item_primary_channel_messages_delta_request_builder.go +++ b/teams/item_primary_channel_messages_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemPrimaryChannelMessagesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemPrimaryChannelMessagesDeltaRequestBuilderGetQueryParameters invoke function delta +// ItemPrimaryChannelMessagesDeltaRequestBuilderGetQueryParameters retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. type ItemPrimaryChannelMessagesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewItemPrimaryChannelMessagesDeltaRequestBuilder(rawUrl string, requestAdap urlParams["request-raw-url"] = rawUrl return NewItemPrimaryChannelMessagesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemPrimaryChannelMessagesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-beta func (m *ItemPrimaryChannelMessagesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPrimaryChannelMessagesDeltaRequestBuilderGetRequestConfiguration)(ItemPrimaryChannelMessagesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ItemPrimaryChannelMessagesDeltaRequestBuilder) Get(ctx context.Context, } return res.(ItemPrimaryChannelMessagesDeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // returns a ItemPrimaryChannelMessagesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-beta func (m *ItemPrimaryChannelMessagesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemPrimaryChannelMessagesDeltaRequestBuilderGetRequestConfiguration)(ItemPrimaryChannelMessagesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ItemPrimaryChannelMessagesDeltaRequestBuilder) GetAsDeltaGetResponse(ct } return res.(ItemPrimaryChannelMessagesDeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // returns a *RequestInformation when successful func (m *ItemPrimaryChannelMessagesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPrimaryChannelMessagesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_primary_channel_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/teams/item_primary_channel_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index 78cefb7c188..8015c21aed5 100644 --- a/teams/item_primary_channel_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/teams/item_primary_channel_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -18,7 +18,7 @@ type ItemPrimaryChannelMessagesItemHostedContentsChatMessageHostedContentItemReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemPrimaryChannelMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters retrieve the properties and relationships of chatMessageHostedContent object. +// ItemPrimaryChannelMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters content in a message hosted by Microsoft Teams - for example, images or code snippets. type ItemPrimaryChannelMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *ItemPrimaryChannelMessagesItemHostedContentsChatMessageHostedContentIte } return nil } -// Get retrieve the properties and relationships of chatMessageHostedContent object. +// Get content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a ChatMessageHostedContentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessagehostedcontent-get?view=graph-rest-1.0 func (m *ItemPrimaryChannelMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPrimaryChannelMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *ItemPrimaryChannelMessagesItemHostedContentsChatMessageHostedContentIte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of chatMessageHostedContent object. +// ToGetRequestInformation content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a *RequestInformation when successful func (m *ItemPrimaryChannelMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPrimaryChannelMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_primary_channel_messages_item_hosted_contents_item_value_content_request_builder.go b/teams/item_primary_channel_messages_item_hosted_contents_item_value_content_request_builder.go index de2a9ade51a..3293cc645c2 100644 --- a/teams/item_primary_channel_messages_item_hosted_contents_item_value_content_request_builder.go +++ b/teams/item_primary_channel_messages_item_hosted_contents_item_value_content_request_builder.go @@ -40,9 +40,6 @@ func NewItemPrimaryChannelMessagesItemHostedContentsItemValueContentRequestBuild // Get get media content for the navigation property hostedContents from teams // 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/chatmessage-list-hostedcontents?view=graph-rest-1.0 func (m *ItemPrimaryChannelMessagesItemHostedContentsItemValueContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPrimaryChannelMessagesItemHostedContentsItemValueContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teams/item_primary_channel_messages_item_hosted_contents_request_builder.go b/teams/item_primary_channel_messages_item_hosted_contents_request_builder.go index b691d17df48..32e130189c5 100644 --- a/teams/item_primary_channel_messages_item_hosted_contents_request_builder.go +++ b/teams/item_primary_channel_messages_item_hosted_contents_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemPrimaryChannelMessagesItemHostedContentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemPrimaryChannelMessagesItemHostedContentsRequestBuilderGetQueryParameters retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// ItemPrimaryChannelMessagesItemHostedContentsRequestBuilderGetQueryParameters content in a message hosted by Microsoft Teams - for example, images or code snippets. type ItemPrimaryChannelMessagesItemHostedContentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemPrimaryChannelMessagesItemHostedContentsRequestBuilder(rawUrl string func (m *ItemPrimaryChannelMessagesItemHostedContentsRequestBuilder) Count()(*ItemPrimaryChannelMessagesItemHostedContentsCountRequestBuilder) { return NewItemPrimaryChannelMessagesItemHostedContentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// Get content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a ChatMessageHostedContentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0 func (m *ItemPrimaryChannelMessagesItemHostedContentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPrimaryChannelMessagesItemHostedContentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemPrimaryChannelMessagesItemHostedContentsRequestBuilder) Post(ctx co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentable), nil } -// ToGetRequestInformation retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// ToGetRequestInformation content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a *RequestInformation when successful func (m *ItemPrimaryChannelMessagesItemHostedContentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPrimaryChannelMessagesItemHostedContentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_primary_channel_messages_item_replies_chat_message_item_request_builder.go b/teams/item_primary_channel_messages_item_replies_chat_message_item_request_builder.go index 6c2a741cda9..a5b9420355f 100644 --- a/teams/item_primary_channel_messages_item_replies_chat_message_item_request_builder.go +++ b/teams/item_primary_channel_messages_item_replies_chat_message_item_request_builder.go @@ -18,7 +18,7 @@ type ItemPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilderDeleteReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilderGetQueryParameters retrieve a single message or a message reply in a channel or a chat. +// ItemPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilderGetQueryParameters replies for a specified message. Supports $expand for channel messages. type ItemPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilder) Del } return nil } -// Get retrieve a single message or a message reply in a channel or a chat. +// Get replies for a specified message. Supports $expand for channel messages. // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-get?view=graph-rest-1.0 func (m *ItemPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -139,7 +136,7 @@ func (m *ItemPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilder) ToD requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a single message or a message reply in a channel or a chat. +// ToGetRequestInformation replies for a specified message. Supports $expand for channel messages. // returns a *RequestInformation when successful func (m *ItemPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_primary_channel_messages_item_replies_delta_request_builder.go b/teams/item_primary_channel_messages_item_replies_delta_request_builder.go index 8b9254136f7..e86b78025bf 100644 --- a/teams/item_primary_channel_messages_item_replies_delta_request_builder.go +++ b/teams/item_primary_channel_messages_item_replies_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemPrimaryChannelMessagesItemRepliesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemPrimaryChannelMessagesItemRepliesDeltaRequestBuilderGetQueryParameters invoke function delta +// ItemPrimaryChannelMessagesItemRepliesDeltaRequestBuilderGetQueryParameters retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. type ItemPrimaryChannelMessagesItemRepliesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewItemPrimaryChannelMessagesItemRepliesDeltaRequestBuilder(rawUrl string, urlParams["request-raw-url"] = rawUrl return NewItemPrimaryChannelMessagesItemRepliesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemPrimaryChannelMessagesItemRepliesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-beta func (m *ItemPrimaryChannelMessagesItemRepliesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPrimaryChannelMessagesItemRepliesDeltaRequestBuilderGetRequestConfiguration)(ItemPrimaryChannelMessagesItemRepliesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ItemPrimaryChannelMessagesItemRepliesDeltaRequestBuilder) Get(ctx conte } return res.(ItemPrimaryChannelMessagesItemRepliesDeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // returns a ItemPrimaryChannelMessagesItemRepliesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-beta func (m *ItemPrimaryChannelMessagesItemRepliesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemPrimaryChannelMessagesItemRepliesDeltaRequestBuilderGetRequestConfiguration)(ItemPrimaryChannelMessagesItemRepliesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ItemPrimaryChannelMessagesItemRepliesDeltaRequestBuilder) GetAsDeltaGet } return res.(ItemPrimaryChannelMessagesItemRepliesDeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // returns a *RequestInformation when successful func (m *ItemPrimaryChannelMessagesItemRepliesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPrimaryChannelMessagesItemRepliesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_primary_channel_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/teams/item_primary_channel_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index 7b96d8bc843..e3dedbaa918 100644 --- a/teams/item_primary_channel_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/teams/item_primary_channel_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -18,7 +18,7 @@ type ItemPrimaryChannelMessagesItemRepliesItemHostedContentsChatMessageHostedCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemPrimaryChannelMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters retrieve the properties and relationships of chatMessageHostedContent object. +// ItemPrimaryChannelMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters content in a message hosted by Microsoft Teams - for example, images or code snippets. type ItemPrimaryChannelMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *ItemPrimaryChannelMessagesItemRepliesItemHostedContentsChatMessageHoste } return nil } -// Get retrieve the properties and relationships of chatMessageHostedContent object. +// Get content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a ChatMessageHostedContentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessagehostedcontent-get?view=graph-rest-1.0 func (m *ItemPrimaryChannelMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPrimaryChannelMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *ItemPrimaryChannelMessagesItemRepliesItemHostedContentsChatMessageHoste requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of chatMessageHostedContent object. +// ToGetRequestInformation content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a *RequestInformation when successful func (m *ItemPrimaryChannelMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPrimaryChannelMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_primary_channel_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go b/teams/item_primary_channel_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go index 63d8d113096..98f01b24b11 100644 --- a/teams/item_primary_channel_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go +++ b/teams/item_primary_channel_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go @@ -40,9 +40,6 @@ func NewItemPrimaryChannelMessagesItemRepliesItemHostedContentsItemValueContentR // Get get media content for the navigation property hostedContents from teams // 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/chatmessage-list-hostedcontents?view=graph-rest-1.0 func (m *ItemPrimaryChannelMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPrimaryChannelMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teams/item_primary_channel_messages_item_replies_item_hosted_contents_request_builder.go b/teams/item_primary_channel_messages_item_replies_item_hosted_contents_request_builder.go index 7a647fb982b..5a4d7e1f44f 100644 --- a/teams/item_primary_channel_messages_item_replies_item_hosted_contents_request_builder.go +++ b/teams/item_primary_channel_messages_item_replies_item_hosted_contents_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilderGetQueryParameters retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// ItemPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilderGetQueryParameters content in a message hosted by Microsoft Teams - for example, images or code snippets. type ItemPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilder(ra func (m *ItemPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilder) Count()(*ItemPrimaryChannelMessagesItemRepliesItemHostedContentsCountRequestBuilder) { return NewItemPrimaryChannelMessagesItemRepliesItemHostedContentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// Get content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a ChatMessageHostedContentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0 func (m *ItemPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentable), nil } -// ToGetRequestInformation retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// ToGetRequestInformation content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a *RequestInformation when successful func (m *ItemPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_primary_channel_messages_item_replies_item_soft_delete_request_builder.go b/teams/item_primary_channel_messages_item_replies_item_soft_delete_request_builder.go index 7a02a76db5e..f963bad5073 100644 --- a/teams/item_primary_channel_messages_item_replies_item_soft_delete_request_builder.go +++ b/teams/item_primary_channel_messages_item_replies_item_soft_delete_request_builder.go @@ -34,7 +34,7 @@ func NewItemPrimaryChannelMessagesItemRepliesItemSoftDeleteRequestBuilder(rawUrl // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-beta func (m *ItemPrimaryChannelMessagesItemRepliesItemSoftDeleteRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemPrimaryChannelMessagesItemRepliesItemSoftDeleteRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teams/item_primary_channel_messages_item_replies_item_undo_soft_delete_request_builder.go b/teams/item_primary_channel_messages_item_replies_item_undo_soft_delete_request_builder.go index 60935a9abd5..39eb06e0620 100644 --- a/teams/item_primary_channel_messages_item_replies_item_undo_soft_delete_request_builder.go +++ b/teams/item_primary_channel_messages_item_replies_item_undo_soft_delete_request_builder.go @@ -34,7 +34,7 @@ func NewItemPrimaryChannelMessagesItemRepliesItemUndoSoftDeleteRequestBuilder(ra // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-beta func (m *ItemPrimaryChannelMessagesItemRepliesItemUndoSoftDeleteRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemPrimaryChannelMessagesItemRepliesItemUndoSoftDeleteRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teams/item_primary_channel_messages_item_replies_request_builder.go b/teams/item_primary_channel_messages_item_replies_request_builder.go index 1a6c9906bf9..a3e63a406f0 100644 --- a/teams/item_primary_channel_messages_item_replies_request_builder.go +++ b/teams/item_primary_channel_messages_item_replies_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemPrimaryChannelMessagesItemRepliesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemPrimaryChannelMessagesItemRepliesRequestBuilderGetQueryParameters list all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, call get channel message. +// ItemPrimaryChannelMessagesItemRepliesRequestBuilderGetQueryParameters replies for a specified message. Supports $expand for channel messages. type ItemPrimaryChannelMessagesItemRepliesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *ItemPrimaryChannelMessagesItemRepliesRequestBuilder) Count()(*ItemPrima func (m *ItemPrimaryChannelMessagesItemRepliesRequestBuilder) Delta()(*ItemPrimaryChannelMessagesItemRepliesDeltaRequestBuilder) { return NewItemPrimaryChannelMessagesItemRepliesDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, call get channel message. +// Get replies for a specified message. Supports $expand for channel messages. // returns a ChatMessageCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-list-replies?view=graph-rest-1.0 func (m *ItemPrimaryChannelMessagesItemRepliesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPrimaryChannelMessagesItemRepliesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *ItemPrimaryChannelMessagesItemRepliesRequestBuilder) Get(ctx context.Co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageCollectionResponseable), nil } -// Post send a new reply to a chatMessage in a specified channel. +// Post create new navigation property to replies for teams // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0 func (m *ItemPrimaryChannelMessagesItemRepliesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemPrimaryChannelMessagesItemRepliesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemPrimaryChannelMessagesItemRepliesRequestBuilder) Post(ctx context.C } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable), nil } -// ToGetRequestInformation list all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, call get channel message. +// ToGetRequestInformation replies for a specified message. Supports $expand for channel messages. // returns a *RequestInformation when successful func (m *ItemPrimaryChannelMessagesItemRepliesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPrimaryChannelMessagesItemRepliesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ItemPrimaryChannelMessagesItemRepliesRequestBuilder) ToGetRequestInform requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation send a new reply to a chatMessage in a specified channel. +// ToPostRequestInformation create new navigation property to replies for teams // returns a *RequestInformation when successful func (m *ItemPrimaryChannelMessagesItemRepliesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemPrimaryChannelMessagesItemRepliesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_primary_channel_messages_item_soft_delete_request_builder.go b/teams/item_primary_channel_messages_item_soft_delete_request_builder.go index 1bab0aa35ef..06bb7ec419f 100644 --- a/teams/item_primary_channel_messages_item_soft_delete_request_builder.go +++ b/teams/item_primary_channel_messages_item_soft_delete_request_builder.go @@ -34,7 +34,7 @@ func NewItemPrimaryChannelMessagesItemSoftDeleteRequestBuilder(rawUrl string, re // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-beta func (m *ItemPrimaryChannelMessagesItemSoftDeleteRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemPrimaryChannelMessagesItemSoftDeleteRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teams/item_primary_channel_messages_item_undo_soft_delete_request_builder.go b/teams/item_primary_channel_messages_item_undo_soft_delete_request_builder.go index 0e9e9444207..4ae6112e2f7 100644 --- a/teams/item_primary_channel_messages_item_undo_soft_delete_request_builder.go +++ b/teams/item_primary_channel_messages_item_undo_soft_delete_request_builder.go @@ -34,7 +34,7 @@ func NewItemPrimaryChannelMessagesItemUndoSoftDeleteRequestBuilder(rawUrl string // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-beta func (m *ItemPrimaryChannelMessagesItemUndoSoftDeleteRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemPrimaryChannelMessagesItemUndoSoftDeleteRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teams/item_primary_channel_messages_request_builder.go b/teams/item_primary_channel_messages_request_builder.go index 287938f1e62..b5c1c39b147 100644 --- a/teams/item_primary_channel_messages_request_builder.go +++ b/teams/item_primary_channel_messages_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemPrimaryChannelMessagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemPrimaryChannelMessagesRequestBuilderGetQueryParameters retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). +// ItemPrimaryChannelMessagesRequestBuilderGetQueryParameters a collection of all the messages in the channel. A navigation property. Nullable. type ItemPrimaryChannelMessagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *ItemPrimaryChannelMessagesRequestBuilder) Count()(*ItemPrimaryChannelMe func (m *ItemPrimaryChannelMessagesRequestBuilder) Delta()(*ItemPrimaryChannelMessagesDeltaRequestBuilder) { return NewItemPrimaryChannelMessagesDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). +// Get a collection of all the messages in the channel. A navigation property. Nullable. // returns a ChatMessageCollectionResponseable when successful // returns a ODataError error 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-list-messages?view=graph-rest-1.0 func (m *ItemPrimaryChannelMessagesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPrimaryChannelMessagesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *ItemPrimaryChannelMessagesRequestBuilder) Get(ctx context.Context, requ } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageCollectionResponseable), nil } -// Post send a new chatMessage in the specified channel. +// Post create new navigation property to messages for teams // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/channel-post-messages?view=graph-rest-1.0 func (m *ItemPrimaryChannelMessagesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemPrimaryChannelMessagesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemPrimaryChannelMessagesRequestBuilder) Post(ctx context.Context, bod } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable), nil } -// ToGetRequestInformation retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). +// ToGetRequestInformation a collection of all the messages in the channel. A navigation property. Nullable. // returns a *RequestInformation when successful func (m *ItemPrimaryChannelMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPrimaryChannelMessagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ItemPrimaryChannelMessagesRequestBuilder) ToGetRequestInformation(ctx c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation send a new chatMessage in the specified channel. +// ToPostRequestInformation create new navigation property to messages for teams // returns a *RequestInformation when successful func (m *ItemPrimaryChannelMessagesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemPrimaryChannelMessagesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_primary_channel_provision_email_request_builder.go b/teams/item_primary_channel_provision_email_request_builder.go index 6164e4057e8..41bac5e4e56 100644 --- a/teams/item_primary_channel_provision_email_request_builder.go +++ b/teams/item_primary_channel_provision_email_request_builder.go @@ -36,7 +36,7 @@ func NewItemPrimaryChannelProvisionEmailRequestBuilder(rawUrl string, requestAda // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/channel-provisionemail?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-provisionemail?view=graph-rest-beta func (m *ItemPrimaryChannelProvisionEmailRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemPrimaryChannelProvisionEmailRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProvisionChannelEmailResultable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teams/item_primary_channel_remove_email_request_builder.go b/teams/item_primary_channel_remove_email_request_builder.go index a8750dd3cdc..98686b41d39 100644 --- a/teams/item_primary_channel_remove_email_request_builder.go +++ b/teams/item_primary_channel_remove_email_request_builder.go @@ -34,7 +34,7 @@ func NewItemPrimaryChannelRemoveEmailRequestBuilder(rawUrl string, requestAdapte // returns a ODataError error 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-removeemail?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-removeemail?view=graph-rest-beta func (m *ItemPrimaryChannelRemoveEmailRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemPrimaryChannelRemoveEmailRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teams/item_primary_channel_request_builder.go b/teams/item_primary_channel_request_builder.go index 7a29620f61b..aff8edc60cd 100644 --- a/teams/item_primary_channel_request_builder.go +++ b/teams/item_primary_channel_request_builder.go @@ -18,7 +18,7 @@ type ItemPrimaryChannelRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemPrimaryChannelRequestBuilderGetQueryParameters get the default channel, General, of a team. +// ItemPrimaryChannelRequestBuilderGetQueryParameters the general channel for the team. type ItemPrimaryChannelRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -90,12 +90,9 @@ func (m *ItemPrimaryChannelRequestBuilder) DoesUserHaveAccessuserIdUserIdTenantI func (m *ItemPrimaryChannelRequestBuilder) FilesFolder()(*ItemPrimaryChannelFilesFolderRequestBuilder) { return NewItemPrimaryChannelFilesFolderRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the default channel, General, of a team. +// Get the general channel for the team. // returns a Channelable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/team-get-primarychannel?view=graph-rest-1.0 func (m *ItemPrimaryChannelRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPrimaryChannelRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -174,7 +171,7 @@ func (m *ItemPrimaryChannelRequestBuilder) ToDeleteRequestInformation(ctx contex requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the default channel, General, of a team. +// ToGetRequestInformation the general channel for the team. // returns a *RequestInformation when successful func (m *ItemPrimaryChannelRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPrimaryChannelRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_primary_channel_shared_with_teams_item_allowed_members_request_builder.go b/teams/item_primary_channel_shared_with_teams_item_allowed_members_request_builder.go index 4538ece8388..47f4412d550 100644 --- a/teams/item_primary_channel_shared_with_teams_item_allowed_members_request_builder.go +++ b/teams/item_primary_channel_shared_with_teams_item_allowed_members_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilderGetQueryParameters get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant +// ItemPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilderGetQueryParameters a collection of team members who have access to the shared channel. type ItemPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewItemPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilder(rawUrl func (m *ItemPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilder) Count()(*ItemPrimaryChannelSharedWithTeamsItemAllowedMembersCountRequestBuilder) { return NewItemPrimaryChannelSharedWithTeamsItemAllowedMembersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant +// Get a collection of team members who have access to the shared channel. // returns a ConversationMemberCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-list-allowedmembers?view=graph-rest-1.0 func (m *ItemPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *ItemPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilder) Get( } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable), nil } -// ToGetRequestInformation get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant +// ToGetRequestInformation a collection of team members who have access to the shared channel. // returns a *RequestInformation when successful func (m *ItemPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_primary_channel_shared_with_teams_request_builder.go b/teams/item_primary_channel_shared_with_teams_request_builder.go index 5148ac18567..ba2aad16a56 100644 --- a/teams/item_primary_channel_shared_with_teams_request_builder.go +++ b/teams/item_primary_channel_shared_with_teams_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemPrimaryChannelSharedWithTeamsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemPrimaryChannelSharedWithTeamsRequestBuilderGetQueryParameters get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. +// ItemPrimaryChannelSharedWithTeamsRequestBuilderGetQueryParameters a collection of teams with which a channel is shared. type ItemPrimaryChannelSharedWithTeamsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemPrimaryChannelSharedWithTeamsRequestBuilder(rawUrl string, requestAd func (m *ItemPrimaryChannelSharedWithTeamsRequestBuilder) Count()(*ItemPrimaryChannelSharedWithTeamsCountRequestBuilder) { return NewItemPrimaryChannelSharedWithTeamsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. +// Get a collection of teams with which a channel is shared. // returns a SharedWithChannelTeamInfoCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-list?view=graph-rest-1.0 func (m *ItemPrimaryChannelSharedWithTeamsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPrimaryChannelSharedWithTeamsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharedWithChannelTeamInfoCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemPrimaryChannelSharedWithTeamsRequestBuilder) Post(ctx context.Conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharedWithChannelTeamInfoable), nil } -// ToGetRequestInformation get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. +// ToGetRequestInformation a collection of teams with which a channel is shared. // returns a *RequestInformation when successful func (m *ItemPrimaryChannelSharedWithTeamsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPrimaryChannelSharedWithTeamsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_primary_channel_shared_with_teams_shared_with_channel_team_info_item_request_builder.go b/teams/item_primary_channel_shared_with_teams_shared_with_channel_team_info_item_request_builder.go index 7aeab82dac9..9c39e8a51fc 100644 --- a/teams/item_primary_channel_shared_with_teams_shared_with_channel_team_info_item_request_builder.go +++ b/teams/item_primary_channel_shared_with_teams_shared_with_channel_team_info_item_request_builder.go @@ -18,7 +18,7 @@ type ItemPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilde // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. +// ItemPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters a collection of teams with which a channel is shared. type ItemPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewItemPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBui urlParams["request-raw-url"] = rawUrl return NewItemPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. +// Delete delete navigation property sharedWithTeams for teams // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-delete?view=graph-rest-1.0 func (m *ItemPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *ItemPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBu } return nil } -// Get get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. +// Get a collection of teams with which a channel is shared. // returns a SharedWithChannelTeamInfoable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-get?view=graph-rest-1.0 func (m *ItemPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharedWithChannelTeamInfoable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -126,7 +120,7 @@ func (m *ItemPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBu func (m *ItemPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) Team()(*ItemPrimaryChannelSharedWithTeamsItemTeamRequestBuilder) { return NewItemPrimaryChannelSharedWithTeamsItemTeamRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. +// ToDeleteRequestInformation delete navigation property sharedWithTeams for teams // returns a *RequestInformation when successful func (m *ItemPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -137,7 +131,7 @@ func (m *ItemPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBu requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. +// ToGetRequestInformation a collection of teams with which a channel is shared. // returns a *RequestInformation when successful func (m *ItemPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_primary_channel_tabs_request_builder.go b/teams/item_primary_channel_tabs_request_builder.go index 75abcfe136a..c085dc686c2 100644 --- a/teams/item_primary_channel_tabs_request_builder.go +++ b/teams/item_primary_channel_tabs_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemPrimaryChannelTabsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemPrimaryChannelTabsRequestBuilderGetQueryParameters retrieve the list of tabs in the specified channel within a team. +// ItemPrimaryChannelTabsRequestBuilderGetQueryParameters a collection of all the tabs in the channel. A navigation property. type ItemPrimaryChannelTabsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemPrimaryChannelTabsRequestBuilder(rawUrl string, requestAdapter i2ae4 func (m *ItemPrimaryChannelTabsRequestBuilder) Count()(*ItemPrimaryChannelTabsCountRequestBuilder) { return NewItemPrimaryChannelTabsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of tabs in the specified channel within a team. +// Get a collection of all the tabs in the channel. A navigation property. // returns a TeamsTabCollectionResponseable when successful // returns a ODataError error 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-list-tabs?view=graph-rest-1.0 func (m *ItemPrimaryChannelTabsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPrimaryChannelTabsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsTabCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemPrimaryChannelTabsRequestBuilder) Post(ctx context.Context, body ie } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsTabable), nil } -// ToGetRequestInformation retrieve the list of tabs in the specified channel within a team. +// ToGetRequestInformation a collection of all the tabs in the channel. A navigation property. // returns a *RequestInformation when successful func (m *ItemPrimaryChannelTabsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPrimaryChannelTabsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_primary_channel_unarchive_request_builder.go b/teams/item_primary_channel_unarchive_request_builder.go index c1d32725fc0..6d30e3e3938 100644 --- a/teams/item_primary_channel_unarchive_request_builder.go +++ b/teams/item_primary_channel_unarchive_request_builder.go @@ -34,7 +34,7 @@ func NewItemPrimaryChannelUnarchiveRequestBuilder(rawUrl string, requestAdapter // returns a ODataError error 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-unarchive?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-unarchive?view=graph-rest-beta func (m *ItemPrimaryChannelUnarchiveRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemPrimaryChannelUnarchiveRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teams/item_schedule_day_notes_day_note_item_request_builder.go b/teams/item_schedule_day_notes_day_note_item_request_builder.go index 1803dab43f5..78fe1a87f5a 100644 --- a/teams/item_schedule_day_notes_day_note_item_request_builder.go +++ b/teams/item_schedule_day_notes_day_note_item_request_builder.go @@ -90,12 +90,9 @@ func (m *ItemScheduleDayNotesDayNoteItemRequestBuilder) Get(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteable), nil } -// Patch update the properties of a day note. +// Patch update the navigation property dayNotes in teams // returns a DayNoteable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/daynote-update?view=graph-rest-1.0 func (m *ItemScheduleDayNotesDayNoteItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteable, requestConfiguration *ItemScheduleDayNotesDayNoteItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -138,7 +135,7 @@ func (m *ItemScheduleDayNotesDayNoteItemRequestBuilder) ToGetRequestInformation( requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a day note. +// ToPatchRequestInformation update the navigation property dayNotes in teams // returns a *RequestInformation when successful func (m *ItemScheduleDayNotesDayNoteItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteable, requestConfiguration *ItemScheduleDayNotesDayNoteItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_schedule_offer_shift_requests_offer_shift_request_item_request_builder.go b/teams/item_schedule_offer_shift_requests_offer_shift_request_item_request_builder.go index c816c19624f..b601da4a4b1 100644 --- a/teams/item_schedule_offer_shift_requests_offer_shift_request_item_request_builder.go +++ b/teams/item_schedule_offer_shift_requests_offer_shift_request_item_request_builder.go @@ -18,7 +18,7 @@ type ItemScheduleOfferShiftRequestsOfferShiftRequestItemRequestBuilderDeleteRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemScheduleOfferShiftRequestsOfferShiftRequestItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an offerShiftRequest object. +// ItemScheduleOfferShiftRequestsOfferShiftRequestItemRequestBuilderGetQueryParameters the offer requests for shifts in the schedule. type ItemScheduleOfferShiftRequestsOfferShiftRequestItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemScheduleOfferShiftRequestsOfferShiftRequestItemRequestBuilder) Dele } return nil } -// Get retrieve the properties and relationships of an offerShiftRequest object. +// Get the offer requests for shifts in the schedule. // returns a OfferShiftRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/offershiftrequest-get?view=graph-rest-1.0 func (m *ItemScheduleOfferShiftRequestsOfferShiftRequestItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemScheduleOfferShiftRequestsOfferShiftRequestItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OfferShiftRequestable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemScheduleOfferShiftRequestsOfferShiftRequestItemRequestBuilder) ToDe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of an offerShiftRequest object. +// ToGetRequestInformation the offer requests for shifts in the schedule. // returns a *RequestInformation when successful func (m *ItemScheduleOfferShiftRequestsOfferShiftRequestItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemScheduleOfferShiftRequestsOfferShiftRequestItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_schedule_offer_shift_requests_request_builder.go b/teams/item_schedule_offer_shift_requests_request_builder.go index 333a21f48fa..bfd914623a2 100644 --- a/teams/item_schedule_offer_shift_requests_request_builder.go +++ b/teams/item_schedule_offer_shift_requests_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemScheduleOfferShiftRequestsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemScheduleOfferShiftRequestsRequestBuilderGetQueryParameters retrieve the properties and relationships of all offerShiftRequest objects in a team. +// ItemScheduleOfferShiftRequestsRequestBuilderGetQueryParameters the offer requests for shifts in the schedule. type ItemScheduleOfferShiftRequestsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemScheduleOfferShiftRequestsRequestBuilder(rawUrl string, requestAdapt func (m *ItemScheduleOfferShiftRequestsRequestBuilder) Count()(*ItemScheduleOfferShiftRequestsCountRequestBuilder) { return NewItemScheduleOfferShiftRequestsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties and relationships of all offerShiftRequest objects in a team. +// Get the offer requests for shifts in the schedule. // returns a OfferShiftRequestCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/offershiftrequest-list?view=graph-rest-1.0 func (m *ItemScheduleOfferShiftRequestsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemScheduleOfferShiftRequestsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OfferShiftRequestCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemScheduleOfferShiftRequestsRequestBuilder) Get(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OfferShiftRequestCollectionResponseable), nil } -// Post create an instance of an offerShiftRequest. +// Post create new navigation property to offerShiftRequests for teams // returns a OfferShiftRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/offershiftrequest-post?view=graph-rest-1.0 func (m *ItemScheduleOfferShiftRequestsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OfferShiftRequestable, requestConfiguration *ItemScheduleOfferShiftRequestsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OfferShiftRequestable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemScheduleOfferShiftRequestsRequestBuilder) Post(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OfferShiftRequestable), nil } -// ToGetRequestInformation retrieve the properties and relationships of all offerShiftRequest objects in a team. +// ToGetRequestInformation the offer requests for shifts in the schedule. // returns a *RequestInformation when successful func (m *ItemScheduleOfferShiftRequestsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemScheduleOfferShiftRequestsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemScheduleOfferShiftRequestsRequestBuilder) ToGetRequestInformation(c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an instance of an offerShiftRequest. +// ToPostRequestInformation create new navigation property to offerShiftRequests for teams // returns a *RequestInformation when successful func (m *ItemScheduleOfferShiftRequestsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OfferShiftRequestable, requestConfiguration *ItemScheduleOfferShiftRequestsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_schedule_open_shift_change_requests_open_shift_change_request_item_request_builder.go b/teams/item_schedule_open_shift_change_requests_open_shift_change_request_item_request_builder.go index a5c2f056f71..3d65d9034f7 100644 --- a/teams/item_schedule_open_shift_change_requests_open_shift_change_request_item_request_builder.go +++ b/teams/item_schedule_open_shift_change_requests_open_shift_change_request_item_request_builder.go @@ -18,7 +18,7 @@ type ItemScheduleOpenShiftChangeRequestsOpenShiftChangeRequestItemRequestBuilder // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemScheduleOpenShiftChangeRequestsOpenShiftChangeRequestItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an openShiftChangeRequest object. +// ItemScheduleOpenShiftChangeRequestsOpenShiftChangeRequestItemRequestBuilderGetQueryParameters the open shift requests in the schedule. type ItemScheduleOpenShiftChangeRequestsOpenShiftChangeRequestItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemScheduleOpenShiftChangeRequestsOpenShiftChangeRequestItemRequestBui } return nil } -// Get retrieve the properties and relationships of an openShiftChangeRequest object. +// Get the open shift requests in the schedule. // returns a OpenShiftChangeRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/openshiftchangerequest-get?view=graph-rest-1.0 func (m *ItemScheduleOpenShiftChangeRequestsOpenShiftChangeRequestItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemScheduleOpenShiftChangeRequestsOpenShiftChangeRequestItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftChangeRequestable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemScheduleOpenShiftChangeRequestsOpenShiftChangeRequestItemRequestBui requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of an openShiftChangeRequest object. +// ToGetRequestInformation the open shift requests in the schedule. // returns a *RequestInformation when successful func (m *ItemScheduleOpenShiftChangeRequestsOpenShiftChangeRequestItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemScheduleOpenShiftChangeRequestsOpenShiftChangeRequestItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_schedule_open_shift_change_requests_request_builder.go b/teams/item_schedule_open_shift_change_requests_request_builder.go index 6c3595a81d3..7ef27d5d986 100644 --- a/teams/item_schedule_open_shift_change_requests_request_builder.go +++ b/teams/item_schedule_open_shift_change_requests_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemScheduleOpenShiftChangeRequestsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemScheduleOpenShiftChangeRequestsRequestBuilderGetQueryParameters retrieve a list of openShiftChangeRequest objects in a team. +// ItemScheduleOpenShiftChangeRequestsRequestBuilderGetQueryParameters the open shift requests in the schedule. type ItemScheduleOpenShiftChangeRequestsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemScheduleOpenShiftChangeRequestsRequestBuilder(rawUrl string, request func (m *ItemScheduleOpenShiftChangeRequestsRequestBuilder) Count()(*ItemScheduleOpenShiftChangeRequestsCountRequestBuilder) { return NewItemScheduleOpenShiftChangeRequestsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of openShiftChangeRequest objects in a team. +// Get the open shift requests in the schedule. // returns a OpenShiftChangeRequestCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/openshiftchangerequest-list?view=graph-rest-1.0 func (m *ItemScheduleOpenShiftChangeRequestsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemScheduleOpenShiftChangeRequestsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftChangeRequestCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemScheduleOpenShiftChangeRequestsRequestBuilder) Get(ctx context.Cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftChangeRequestCollectionResponseable), nil } -// Post create instance of an openShiftChangeRequest object. +// Post create new navigation property to openShiftChangeRequests for teams // returns a OpenShiftChangeRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/openshiftchangerequest-post?view=graph-rest-1.0 func (m *ItemScheduleOpenShiftChangeRequestsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftChangeRequestable, requestConfiguration *ItemScheduleOpenShiftChangeRequestsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftChangeRequestable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemScheduleOpenShiftChangeRequestsRequestBuilder) Post(ctx context.Con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftChangeRequestable), nil } -// ToGetRequestInformation retrieve a list of openShiftChangeRequest objects in a team. +// ToGetRequestInformation the open shift requests in the schedule. // returns a *RequestInformation when successful func (m *ItemScheduleOpenShiftChangeRequestsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemScheduleOpenShiftChangeRequestsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemScheduleOpenShiftChangeRequestsRequestBuilder) ToGetRequestInformat requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create instance of an openShiftChangeRequest object. +// ToPostRequestInformation create new navigation property to openShiftChangeRequests for teams // returns a *RequestInformation when successful func (m *ItemScheduleOpenShiftChangeRequestsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftChangeRequestable, requestConfiguration *ItemScheduleOpenShiftChangeRequestsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_schedule_open_shifts_open_shift_item_request_builder.go b/teams/item_schedule_open_shifts_open_shift_item_request_builder.go index 993e80a38bb..b6b2759dbea 100644 --- a/teams/item_schedule_open_shifts_open_shift_item_request_builder.go +++ b/teams/item_schedule_open_shifts_open_shift_item_request_builder.go @@ -18,7 +18,7 @@ type ItemScheduleOpenShiftsOpenShiftItemRequestBuilderDeleteRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemScheduleOpenShiftsOpenShiftItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an openshift object. +// ItemScheduleOpenShiftsOpenShiftItemRequestBuilderGetQueryParameters the set of open shifts in a scheduling group in the schedule. type ItemScheduleOpenShiftsOpenShiftItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemScheduleOpenShiftsOpenShiftItemRequestBuilder(rawUrl string, request urlParams["request-raw-url"] = rawUrl return NewItemScheduleOpenShiftsOpenShiftItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an openShift object. +// Delete delete navigation property openShifts for teams // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/openshift-delete?view=graph-rest-1.0 func (m *ItemScheduleOpenShiftsOpenShiftItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemScheduleOpenShiftsOpenShiftItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemScheduleOpenShiftsOpenShiftItemRequestBuilder) Delete(ctx context.C } return nil } -// Get retrieve the properties and relationships of an openshift object. +// Get the set of open shifts in a scheduling group in the schedule. // returns a OpenShiftable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/openshift-get?view=graph-rest-1.0 func (m *ItemScheduleOpenShiftsOpenShiftItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemScheduleOpenShiftsOpenShiftItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ItemScheduleOpenShiftsOpenShiftItemRequestBuilder) Get(ctx context.Cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftable), nil } -// Patch update the properties of an openShift object. +// Patch update the navigation property openShifts in teams // returns a OpenShiftable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/openshift-update?view=graph-rest-1.0 func (m *ItemScheduleOpenShiftsOpenShiftItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftable, requestConfiguration *ItemScheduleOpenShiftsOpenShiftItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *ItemScheduleOpenShiftsOpenShiftItemRequestBuilder) Patch(ctx context.Co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftable), nil } -// ToDeleteRequestInformation delete an openShift object. +// ToDeleteRequestInformation delete navigation property openShifts for teams // returns a *RequestInformation when successful func (m *ItemScheduleOpenShiftsOpenShiftItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemScheduleOpenShiftsOpenShiftItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *ItemScheduleOpenShiftsOpenShiftItemRequestBuilder) ToDeleteRequestInfor requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of an openshift object. +// ToGetRequestInformation the set of open shifts in a scheduling group in the schedule. // returns a *RequestInformation when successful func (m *ItemScheduleOpenShiftsOpenShiftItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemScheduleOpenShiftsOpenShiftItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *ItemScheduleOpenShiftsOpenShiftItemRequestBuilder) ToGetRequestInformat requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an openShift object. +// ToPatchRequestInformation update the navigation property openShifts in teams // returns a *RequestInformation when successful func (m *ItemScheduleOpenShiftsOpenShiftItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftable, requestConfiguration *ItemScheduleOpenShiftsOpenShiftItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_schedule_open_shifts_request_builder.go b/teams/item_schedule_open_shifts_request_builder.go index 40d55391a1e..fea05017cc6 100644 --- a/teams/item_schedule_open_shifts_request_builder.go +++ b/teams/item_schedule_open_shifts_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemScheduleOpenShiftsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemScheduleOpenShiftsRequestBuilderGetQueryParameters list openshift objects in a team. +// ItemScheduleOpenShiftsRequestBuilderGetQueryParameters the set of open shifts in a scheduling group in the schedule. type ItemScheduleOpenShiftsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemScheduleOpenShiftsRequestBuilder(rawUrl string, requestAdapter i2ae4 func (m *ItemScheduleOpenShiftsRequestBuilder) Count()(*ItemScheduleOpenShiftsCountRequestBuilder) { return NewItemScheduleOpenShiftsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list openshift objects in a team. +// Get the set of open shifts in a scheduling group in the schedule. // returns a OpenShiftCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/openshift-list?view=graph-rest-1.0 func (m *ItemScheduleOpenShiftsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemScheduleOpenShiftsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemScheduleOpenShiftsRequestBuilder) Get(ctx context.Context, requestC } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftCollectionResponseable), nil } -// Post create an instance of an openshift object. +// Post create new navigation property to openShifts for teams // returns a OpenShiftable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/openshift-post?view=graph-rest-1.0 func (m *ItemScheduleOpenShiftsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftable, requestConfiguration *ItemScheduleOpenShiftsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemScheduleOpenShiftsRequestBuilder) Post(ctx context.Context, body ie } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftable), nil } -// ToGetRequestInformation list openshift objects in a team. +// ToGetRequestInformation the set of open shifts in a scheduling group in the schedule. // returns a *RequestInformation when successful func (m *ItemScheduleOpenShiftsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemScheduleOpenShiftsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,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 new navigation property to openShifts for teams // 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/teams/item_schedule_request_builder.go b/teams/item_schedule_request_builder.go index 2cb0ca71e04..0619b44aaf2 100644 --- a/teams/item_schedule_request_builder.go +++ b/teams/item_schedule_request_builder.go @@ -18,7 +18,7 @@ type ItemScheduleRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemScheduleRequestBuilderGetQueryParameters retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).When clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule. +// ItemScheduleRequestBuilderGetQueryParameters the schedule of shifts for this team. type ItemScheduleRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *ItemScheduleRequestBuilder) Delete(ctx context.Context, requestConfigur } return nil } -// Get retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).When clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule. +// Get the schedule of shifts for this team. // returns a Scheduleable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/schedule-get?view=graph-rest-1.0 func (m *ItemScheduleRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemScheduleRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Scheduleable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -189,7 +186,7 @@ func (m *ItemScheduleRequestBuilder) ToDeleteRequestInformation(ctx context.Cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).When clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule. +// ToGetRequestInformation the schedule of shifts for this team. // returns a *RequestInformation when successful func (m *ItemScheduleRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemScheduleRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_schedule_scheduling_groups_request_builder.go b/teams/item_schedule_scheduling_groups_request_builder.go index 8e5049ba3d7..8d392a949ac 100644 --- a/teams/item_schedule_scheduling_groups_request_builder.go +++ b/teams/item_schedule_scheduling_groups_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemScheduleSchedulingGroupsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemScheduleSchedulingGroupsRequestBuilderGetQueryParameters get the list of schedulingGroups in this schedule. +// ItemScheduleSchedulingGroupsRequestBuilderGetQueryParameters the logical grouping of users in the schedule (usually by role). type ItemScheduleSchedulingGroupsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,12 +74,9 @@ func NewItemScheduleSchedulingGroupsRequestBuilder(rawUrl string, requestAdapter func (m *ItemScheduleSchedulingGroupsRequestBuilder) Count()(*ItemScheduleSchedulingGroupsCountRequestBuilder) { return NewItemScheduleSchedulingGroupsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of schedulingGroups in this schedule. +// Get the logical grouping of users in the schedule (usually by role). // returns a SchedulingGroupCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/schedule-list-schedulinggroups?view=graph-rest-1.0 func (m *ItemScheduleSchedulingGroupsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemScheduleSchedulingGroupsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SchedulingGroupCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -97,12 +94,9 @@ func (m *ItemScheduleSchedulingGroupsRequestBuilder) Get(ctx context.Context, re } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SchedulingGroupCollectionResponseable), nil } -// Post create a new schedulingGroup. +// Post create new navigation property to schedulingGroups for teams // returns a SchedulingGroupable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/schedule-post-schedulinggroups?view=graph-rest-1.0 func (m *ItemScheduleSchedulingGroupsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SchedulingGroupable, requestConfiguration *ItemScheduleSchedulingGroupsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SchedulingGroupable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -120,7 +114,7 @@ func (m *ItemScheduleSchedulingGroupsRequestBuilder) Post(ctx context.Context, b } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SchedulingGroupable), nil } -// ToGetRequestInformation get the list of schedulingGroups in this schedule. +// ToGetRequestInformation the logical grouping of users in the schedule (usually by role). // returns a *RequestInformation when successful func (m *ItemScheduleSchedulingGroupsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemScheduleSchedulingGroupsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -134,7 +128,7 @@ func (m *ItemScheduleSchedulingGroupsRequestBuilder) ToGetRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new schedulingGroup. +// ToPostRequestInformation create new navigation property to schedulingGroups for teams // returns a *RequestInformation when successful func (m *ItemScheduleSchedulingGroupsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SchedulingGroupable, requestConfiguration *ItemScheduleSchedulingGroupsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_schedule_scheduling_groups_scheduling_group_item_request_builder.go b/teams/item_schedule_scheduling_groups_scheduling_group_item_request_builder.go index eb3d6d4b1be..95761e68e43 100644 --- a/teams/item_schedule_scheduling_groups_scheduling_group_item_request_builder.go +++ b/teams/item_schedule_scheduling_groups_scheduling_group_item_request_builder.go @@ -18,7 +18,7 @@ type ItemScheduleSchedulingGroupsSchedulingGroupItemRequestBuilderDeleteRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemScheduleSchedulingGroupsSchedulingGroupItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a schedulingGroup by ID. +// ItemScheduleSchedulingGroupsSchedulingGroupItemRequestBuilderGetQueryParameters the logical grouping of users in the schedule (usually by role). type ItemScheduleSchedulingGroupsSchedulingGroupItemRequestBuilderGetQueryParameters struct { // Select properties to be returned Select []string `uriparametername:"%24select"` @@ -52,11 +52,8 @@ func NewItemScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder(rawUrl str urlParams["request-raw-url"] = rawUrl return NewItemScheduleSchedulingGroupsSchedulingGroupItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete mark a schedulingGroup as inactive by setting its isActive property.This method does not remove the schedulingGroup from the schedule. Existing shift instances assigned to the scheduling group remain part of the group. +// Delete delete navigation property schedulingGroups for teams // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/schedulinggroup-delete?view=graph-rest-1.0 func (m *ItemScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemScheduleSchedulingGroupsSchedulingGroupItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -71,12 +68,9 @@ func (m *ItemScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder) Delete(c } return nil } -// Get retrieve the properties and relationships of a schedulingGroup by ID. +// Get the logical grouping of users in the schedule (usually by role). // returns a SchedulingGroupable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/schedulinggroup-get?view=graph-rest-1.0 func (m *ItemScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemScheduleSchedulingGroupsSchedulingGroupItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SchedulingGroupable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -94,12 +88,9 @@ func (m *ItemScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder) Get(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SchedulingGroupable), nil } -// Patch replace an existing schedulingGroup. If the specified schedulingGroup doesn't exist, this method returns 404 Not found. +// Patch update the navigation property schedulingGroups in teams // returns a SchedulingGroupable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/schedulinggroup-put?view=graph-rest-1.0 func (m *ItemScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SchedulingGroupable, requestConfiguration *ItemScheduleSchedulingGroupsSchedulingGroupItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SchedulingGroupable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +108,7 @@ func (m *ItemScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder) Patch(ct } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SchedulingGroupable), nil } -// ToDeleteRequestInformation mark a schedulingGroup as inactive by setting its isActive property.This method does not remove the schedulingGroup from the schedule. Existing shift instances assigned to the scheduling group remain part of the group. +// ToDeleteRequestInformation delete navigation property schedulingGroups for teams // returns a *RequestInformation when successful func (m *ItemScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemScheduleSchedulingGroupsSchedulingGroupItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -128,7 +119,7 @@ func (m *ItemScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder) ToDelete requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a schedulingGroup by ID. +// ToGetRequestInformation the logical grouping of users in the schedule (usually by role). // returns a *RequestInformation when successful func (m *ItemScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemScheduleSchedulingGroupsSchedulingGroupItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -142,7 +133,7 @@ func (m *ItemScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder) ToGetReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation replace an existing schedulingGroup. If the specified schedulingGroup doesn't exist, this method returns 404 Not found. +// ToPatchRequestInformation update the navigation property schedulingGroups in teams // returns a *RequestInformation when successful func (m *ItemScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SchedulingGroupable, requestConfiguration *ItemScheduleSchedulingGroupsSchedulingGroupItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_schedule_share_request_builder.go b/teams/item_schedule_share_request_builder.go index 656e65272b2..ec347caadf6 100644 --- a/teams/item_schedule_share_request_builder.go +++ b/teams/item_schedule_share_request_builder.go @@ -34,7 +34,7 @@ func NewItemScheduleShareRequestBuilder(rawUrl string, requestAdapter i2ae4187f7 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/schedule-share?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/schedule-share?view=graph-rest-beta func (m *ItemScheduleShareRequestBuilder) Post(ctx context.Context, body ItemScheduleSharePostRequestBodyable, requestConfiguration *ItemScheduleShareRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/teams/item_schedule_shifts_request_builder.go b/teams/item_schedule_shifts_request_builder.go index d6961e00533..7d3f10890d8 100644 --- a/teams/item_schedule_shifts_request_builder.go +++ b/teams/item_schedule_shifts_request_builder.go @@ -77,9 +77,6 @@ func (m *ItemScheduleShiftsRequestBuilder) Count()(*ItemScheduleShiftsCountReque // Get the shifts in the schedule. // returns a ShiftCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/schedule-list-shifts?view=graph-rest-1.0 func (m *ItemScheduleShiftsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemScheduleShiftsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ShiftCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -97,12 +94,9 @@ func (m *ItemScheduleShiftsRequestBuilder) Get(ctx context.Context, requestConfi } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ShiftCollectionResponseable), nil } -// Post create a new shift instance in a schedule. The duration of a shift cannot be less than 1 minute or longer than 24 hours. +// Post create new navigation property to shifts for teams // returns a Shiftable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/schedule-post-shifts?view=graph-rest-1.0 func (m *ItemScheduleShiftsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Shiftable, requestConfiguration *ItemScheduleShiftsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Shiftable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -134,7 +128,7 @@ func (m *ItemScheduleShiftsRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new shift instance in a schedule. The duration of a shift cannot be less than 1 minute or longer than 24 hours. +// ToPostRequestInformation create new navigation property to shifts for teams // returns a *RequestInformation when successful func (m *ItemScheduleShiftsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Shiftable, requestConfiguration *ItemScheduleShiftsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_schedule_shifts_shift_item_request_builder.go b/teams/item_schedule_shifts_shift_item_request_builder.go index 9380b0317fe..4fa895bd977 100644 --- a/teams/item_schedule_shifts_shift_item_request_builder.go +++ b/teams/item_schedule_shifts_shift_item_request_builder.go @@ -18,7 +18,7 @@ type ItemScheduleShiftsShiftItemRequestBuilderDeleteRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemScheduleShiftsShiftItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a shift object by ID. +// ItemScheduleShiftsShiftItemRequestBuilderGetQueryParameters the shifts in the schedule. type ItemScheduleShiftsShiftItemRequestBuilderGetQueryParameters struct { // Select properties to be returned Select []string `uriparametername:"%24select"` @@ -52,11 +52,8 @@ func NewItemScheduleShiftsShiftItemRequestBuilder(rawUrl string, requestAdapter urlParams["request-raw-url"] = rawUrl return NewItemScheduleShiftsShiftItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a shift from the schedule. +// Delete delete navigation property shifts for teams // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/shift-delete?view=graph-rest-1.0 func (m *ItemScheduleShiftsShiftItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemScheduleShiftsShiftItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -71,12 +68,9 @@ func (m *ItemScheduleShiftsShiftItemRequestBuilder) Delete(ctx context.Context, } return nil } -// Get retrieve the properties and relationships of a shift object by ID. +// Get the shifts in the schedule. // returns a Shiftable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/shift-get?view=graph-rest-1.0 func (m *ItemScheduleShiftsShiftItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemScheduleShiftsShiftItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Shiftable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -94,12 +88,9 @@ func (m *ItemScheduleShiftsShiftItemRequestBuilder) Get(ctx context.Context, req } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Shiftable), nil } -// Patch replace an existing shift. If the specified shift doesn't exist, this method returns 404 Not found. The duration of a shift can't be less than 1 minute or longer than 24 hours. +// Patch update the navigation property shifts in teams // returns a Shiftable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/shift-put?view=graph-rest-1.0 func (m *ItemScheduleShiftsShiftItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Shiftable, requestConfiguration *ItemScheduleShiftsShiftItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Shiftable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +108,7 @@ func (m *ItemScheduleShiftsShiftItemRequestBuilder) Patch(ctx context.Context, b } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Shiftable), nil } -// ToDeleteRequestInformation delete a shift from the schedule. +// ToDeleteRequestInformation delete navigation property shifts for teams // returns a *RequestInformation when successful func (m *ItemScheduleShiftsShiftItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemScheduleShiftsShiftItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -128,7 +119,7 @@ func (m *ItemScheduleShiftsShiftItemRequestBuilder) ToDeleteRequestInformation(c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a shift object by ID. +// ToGetRequestInformation the shifts in the schedule. // returns a *RequestInformation when successful func (m *ItemScheduleShiftsShiftItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemScheduleShiftsShiftItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -142,7 +133,7 @@ func (m *ItemScheduleShiftsShiftItemRequestBuilder) ToGetRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation replace an existing shift. If the specified shift doesn't exist, this method returns 404 Not found. The duration of a shift can't be less than 1 minute or longer than 24 hours. +// ToPatchRequestInformation update the navigation property shifts in teams // returns a *RequestInformation when successful func (m *ItemScheduleShiftsShiftItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Shiftable, requestConfiguration *ItemScheduleShiftsShiftItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_schedule_swap_shifts_change_requests_request_builder.go b/teams/item_schedule_swap_shifts_change_requests_request_builder.go index 398c65075cb..eec86678e95 100644 --- a/teams/item_schedule_swap_shifts_change_requests_request_builder.go +++ b/teams/item_schedule_swap_shifts_change_requests_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemScheduleSwapShiftsChangeRequestsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemScheduleSwapShiftsChangeRequestsRequestBuilderGetQueryParameters retrieve a list of swapShiftsChangeRequest objects in a team. +// ItemScheduleSwapShiftsChangeRequestsRequestBuilderGetQueryParameters the swap requests for shifts in the schedule. type ItemScheduleSwapShiftsChangeRequestsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemScheduleSwapShiftsChangeRequestsRequestBuilder(rawUrl string, reques func (m *ItemScheduleSwapShiftsChangeRequestsRequestBuilder) Count()(*ItemScheduleSwapShiftsChangeRequestsCountRequestBuilder) { return NewItemScheduleSwapShiftsChangeRequestsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of swapShiftsChangeRequest objects in a team. +// Get the swap requests for shifts in the schedule. // returns a SwapShiftsChangeRequestCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/swapshiftschangerequest-list?view=graph-rest-1.0 func (m *ItemScheduleSwapShiftsChangeRequestsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemScheduleSwapShiftsChangeRequestsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SwapShiftsChangeRequestCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemScheduleSwapShiftsChangeRequestsRequestBuilder) Get(ctx context.Con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SwapShiftsChangeRequestCollectionResponseable), nil } -// Post create an instance of a swapShiftsChangeRequest object. +// Post create new navigation property to swapShiftsChangeRequests for teams // returns a SwapShiftsChangeRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/swapshiftschangerequest-post?view=graph-rest-1.0 func (m *ItemScheduleSwapShiftsChangeRequestsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SwapShiftsChangeRequestable, requestConfiguration *ItemScheduleSwapShiftsChangeRequestsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SwapShiftsChangeRequestable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemScheduleSwapShiftsChangeRequestsRequestBuilder) Post(ctx context.Co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SwapShiftsChangeRequestable), nil } -// ToGetRequestInformation retrieve a list of swapShiftsChangeRequest objects in a team. +// ToGetRequestInformation the swap requests for shifts in the schedule. // returns a *RequestInformation when successful func (m *ItemScheduleSwapShiftsChangeRequestsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemScheduleSwapShiftsChangeRequestsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemScheduleSwapShiftsChangeRequestsRequestBuilder) ToGetRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an instance of a swapShiftsChangeRequest object. +// ToPostRequestInformation create new navigation property to swapShiftsChangeRequests for teams // returns a *RequestInformation when successful func (m *ItemScheduleSwapShiftsChangeRequestsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SwapShiftsChangeRequestable, requestConfiguration *ItemScheduleSwapShiftsChangeRequestsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_schedule_swap_shifts_change_requests_swap_shifts_change_request_item_request_builder.go b/teams/item_schedule_swap_shifts_change_requests_swap_shifts_change_request_item_request_builder.go index bde801a4a99..6331f602872 100644 --- a/teams/item_schedule_swap_shifts_change_requests_swap_shifts_change_request_item_request_builder.go +++ b/teams/item_schedule_swap_shifts_change_requests_swap_shifts_change_request_item_request_builder.go @@ -18,7 +18,7 @@ type ItemScheduleSwapShiftsChangeRequestsSwapShiftsChangeRequestItemRequestBuild // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemScheduleSwapShiftsChangeRequestsSwapShiftsChangeRequestItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a swapShiftsChangeRequest object. +// ItemScheduleSwapShiftsChangeRequestsSwapShiftsChangeRequestItemRequestBuilderGetQueryParameters the swap requests for shifts in the schedule. type ItemScheduleSwapShiftsChangeRequestsSwapShiftsChangeRequestItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemScheduleSwapShiftsChangeRequestsSwapShiftsChangeRequestItemRequestB } return nil } -// Get retrieve the properties and relationships of a swapShiftsChangeRequest object. +// Get the swap requests for shifts in the schedule. // returns a SwapShiftsChangeRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/swapshiftschangerequest-get?view=graph-rest-1.0 func (m *ItemScheduleSwapShiftsChangeRequestsSwapShiftsChangeRequestItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemScheduleSwapShiftsChangeRequestsSwapShiftsChangeRequestItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SwapShiftsChangeRequestable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemScheduleSwapShiftsChangeRequestsSwapShiftsChangeRequestItemRequestB requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a swapShiftsChangeRequest object. +// ToGetRequestInformation the swap requests for shifts in the schedule. // returns a *RequestInformation when successful func (m *ItemScheduleSwapShiftsChangeRequestsSwapShiftsChangeRequestItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemScheduleSwapShiftsChangeRequestsSwapShiftsChangeRequestItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_schedule_time_cards_clock_in_request_builder.go b/teams/item_schedule_time_cards_clock_in_request_builder.go index 7c171e14947..67ae02f5a15 100644 --- a/teams/item_schedule_time_cards_clock_in_request_builder.go +++ b/teams/item_schedule_time_cards_clock_in_request_builder.go @@ -36,7 +36,7 @@ func NewItemScheduleTimeCardsClockInRequestBuilder(rawUrl string, requestAdapter // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/timecard-clockin?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/timecard-clockin?view=graph-rest-beta func (m *ItemScheduleTimeCardsClockInRequestBuilder) Post(ctx context.Context, body ItemScheduleTimeCardsClockInPostRequestBodyable, requestConfiguration *ItemScheduleTimeCardsClockInRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/teams/item_schedule_time_cards_item_clock_out_request_builder.go b/teams/item_schedule_time_cards_item_clock_out_request_builder.go index 2c38a92d19c..e139b4c2410 100644 --- a/teams/item_schedule_time_cards_item_clock_out_request_builder.go +++ b/teams/item_schedule_time_cards_item_clock_out_request_builder.go @@ -36,7 +36,7 @@ func NewItemScheduleTimeCardsItemClockOutRequestBuilder(rawUrl string, requestAd // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/timecard-clockout?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/timecard-clockout?view=graph-rest-beta func (m *ItemScheduleTimeCardsItemClockOutRequestBuilder) Post(ctx context.Context, body ItemScheduleTimeCardsItemClockOutPostRequestBodyable, requestConfiguration *ItemScheduleTimeCardsItemClockOutRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/teams/item_schedule_time_cards_item_confirm_request_builder.go b/teams/item_schedule_time_cards_item_confirm_request_builder.go index e72b3be950a..15dba843ba1 100644 --- a/teams/item_schedule_time_cards_item_confirm_request_builder.go +++ b/teams/item_schedule_time_cards_item_confirm_request_builder.go @@ -36,7 +36,7 @@ func NewItemScheduleTimeCardsItemConfirmRequestBuilder(rawUrl string, requestAda // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/timecard-confirm?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/timecard-confirm?view=graph-rest-beta func (m *ItemScheduleTimeCardsItemConfirmRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemScheduleTimeCardsItemConfirmRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teams/item_schedule_time_cards_item_end_break_request_builder.go b/teams/item_schedule_time_cards_item_end_break_request_builder.go index 6c37733a545..c4c6f85b906 100644 --- a/teams/item_schedule_time_cards_item_end_break_request_builder.go +++ b/teams/item_schedule_time_cards_item_end_break_request_builder.go @@ -36,7 +36,7 @@ func NewItemScheduleTimeCardsItemEndBreakRequestBuilder(rawUrl string, requestAd // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/timecard-endbreak?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/timecard-endbreak?view=graph-rest-beta func (m *ItemScheduleTimeCardsItemEndBreakRequestBuilder) Post(ctx context.Context, body ItemScheduleTimeCardsItemEndBreakPostRequestBodyable, requestConfiguration *ItemScheduleTimeCardsItemEndBreakRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/teams/item_schedule_time_cards_item_start_break_request_builder.go b/teams/item_schedule_time_cards_item_start_break_request_builder.go index 45db2715304..887bfe20d73 100644 --- a/teams/item_schedule_time_cards_item_start_break_request_builder.go +++ b/teams/item_schedule_time_cards_item_start_break_request_builder.go @@ -36,7 +36,7 @@ func NewItemScheduleTimeCardsItemStartBreakRequestBuilder(rawUrl string, request // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/timecard-startbreak?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/timecard-startbreak?view=graph-rest-beta func (m *ItemScheduleTimeCardsItemStartBreakRequestBuilder) Post(ctx context.Context, body ItemScheduleTimeCardsItemStartBreakPostRequestBodyable, requestConfiguration *ItemScheduleTimeCardsItemStartBreakRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/teams/item_schedule_time_cards_request_builder.go b/teams/item_schedule_time_cards_request_builder.go index 586859e57f9..4f9c9cd1264 100644 --- a/teams/item_schedule_time_cards_request_builder.go +++ b/teams/item_schedule_time_cards_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemScheduleTimeCardsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemScheduleTimeCardsRequestBuilderGetQueryParameters retrieve a list of timeCard entries in a schedule. +// ItemScheduleTimeCardsRequestBuilderGetQueryParameters the time cards in the schedule. type ItemScheduleTimeCardsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func NewItemScheduleTimeCardsRequestBuilder(rawUrl string, requestAdapter i2ae41 func (m *ItemScheduleTimeCardsRequestBuilder) Count()(*ItemScheduleTimeCardsCountRequestBuilder) { return NewItemScheduleTimeCardsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of timeCard entries in a schedule. +// Get the time cards in the schedule. // returns a TimeCardCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/timecard-list?view=graph-rest-1.0 func (m *ItemScheduleTimeCardsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemScheduleTimeCardsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *ItemScheduleTimeCardsRequestBuilder) Get(ctx context.Context, requestCo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardCollectionResponseable), nil } -// Post create a timeCard instance in a schedule. +// Post create new navigation property to timeCards for teams // returns a TimeCardable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/timecard-post?view=graph-rest-1.0 func (m *ItemScheduleTimeCardsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardable, requestConfiguration *ItemScheduleTimeCardsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemScheduleTimeCardsRequestBuilder) Post(ctx context.Context, body ie2 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardable), nil } -// ToGetRequestInformation retrieve a list of timeCard entries in a schedule. +// ToGetRequestInformation the time cards in the schedule. // returns a *RequestInformation when successful func (m *ItemScheduleTimeCardsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemScheduleTimeCardsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ItemScheduleTimeCardsRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a timeCard instance in a schedule. +// ToPostRequestInformation create new navigation property to timeCards for teams // returns a *RequestInformation when successful func (m *ItemScheduleTimeCardsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardable, requestConfiguration *ItemScheduleTimeCardsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_schedule_time_cards_time_card_item_request_builder.go b/teams/item_schedule_time_cards_time_card_item_request_builder.go index 7c6940faa7a..68a4fb759bd 100644 --- a/teams/item_schedule_time_cards_time_card_item_request_builder.go +++ b/teams/item_schedule_time_cards_time_card_item_request_builder.go @@ -18,7 +18,7 @@ type ItemScheduleTimeCardsTimeCardItemRequestBuilderDeleteRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemScheduleTimeCardsTimeCardItemRequestBuilderGetQueryParameters get the properties and relationships of a timeCard object by ID. +// ItemScheduleTimeCardsTimeCardItemRequestBuilderGetQueryParameters the time cards in the schedule. type ItemScheduleTimeCardsTimeCardItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -64,11 +64,8 @@ func NewItemScheduleTimeCardsTimeCardItemRequestBuilder(rawUrl string, requestAd urlParams["request-raw-url"] = rawUrl return NewItemScheduleTimeCardsTimeCardItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a timeCard instance in a schedule. +// Delete delete navigation property timeCards for teams // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/timecard-delete?view=graph-rest-1.0 func (m *ItemScheduleTimeCardsTimeCardItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemScheduleTimeCardsTimeCardItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -88,12 +85,9 @@ func (m *ItemScheduleTimeCardsTimeCardItemRequestBuilder) Delete(ctx context.Con func (m *ItemScheduleTimeCardsTimeCardItemRequestBuilder) EndBreak()(*ItemScheduleTimeCardsItemEndBreakRequestBuilder) { return NewItemScheduleTimeCardsItemEndBreakRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the properties and relationships of a timeCard object by ID. +// Get the time cards in the schedule. // returns a TimeCardable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/timecard-get?view=graph-rest-1.0 func (m *ItemScheduleTimeCardsTimeCardItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemScheduleTimeCardsTimeCardItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -111,12 +105,9 @@ func (m *ItemScheduleTimeCardsTimeCardItemRequestBuilder) Get(ctx context.Contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardable), nil } -// Patch replace an existing timeCard with updated values. +// Patch update the navigation property timeCards in teams // returns a TimeCardable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/timecard-replace?view=graph-rest-1.0 func (m *ItemScheduleTimeCardsTimeCardItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardable, requestConfiguration *ItemScheduleTimeCardsTimeCardItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -139,7 +130,7 @@ func (m *ItemScheduleTimeCardsTimeCardItemRequestBuilder) Patch(ctx context.Cont func (m *ItemScheduleTimeCardsTimeCardItemRequestBuilder) StartBreak()(*ItemScheduleTimeCardsItemStartBreakRequestBuilder) { return NewItemScheduleTimeCardsItemStartBreakRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a timeCard instance in a schedule. +// ToDeleteRequestInformation delete navigation property timeCards for teams // returns a *RequestInformation when successful func (m *ItemScheduleTimeCardsTimeCardItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemScheduleTimeCardsTimeCardItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -150,7 +141,7 @@ func (m *ItemScheduleTimeCardsTimeCardItemRequestBuilder) ToDeleteRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties and relationships of a timeCard object by ID. +// ToGetRequestInformation the time cards in the schedule. // returns a *RequestInformation when successful func (m *ItemScheduleTimeCardsTimeCardItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemScheduleTimeCardsTimeCardItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -164,7 +155,7 @@ func (m *ItemScheduleTimeCardsTimeCardItemRequestBuilder) ToGetRequestInformatio requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation replace an existing timeCard with updated values. +// ToPatchRequestInformation update the navigation property timeCards in teams // returns a *RequestInformation when successful func (m *ItemScheduleTimeCardsTimeCardItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardable, requestConfiguration *ItemScheduleTimeCardsTimeCardItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_schedule_time_off_reasons_request_builder.go b/teams/item_schedule_time_off_reasons_request_builder.go index 888fc30625a..7644cb7f623 100644 --- a/teams/item_schedule_time_off_reasons_request_builder.go +++ b/teams/item_schedule_time_off_reasons_request_builder.go @@ -77,9 +77,6 @@ func (m *ItemScheduleTimeOffReasonsRequestBuilder) Count()(*ItemScheduleTimeOffR // Get the set of reasons for a time off in the schedule. // returns a TimeOffReasonCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/schedule-list-timeoffreasons?view=graph-rest-1.0 func (m *ItemScheduleTimeOffReasonsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemScheduleTimeOffReasonsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffReasonCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -97,12 +94,9 @@ func (m *ItemScheduleTimeOffReasonsRequestBuilder) Get(ctx context.Context, requ } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffReasonCollectionResponseable), nil } -// Post create a new timeOffReason. +// Post create new navigation property to timeOffReasons for teams // returns a TimeOffReasonable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/schedule-post-timeoffreasons?view=graph-rest-1.0 func (m *ItemScheduleTimeOffReasonsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffReasonable, requestConfiguration *ItemScheduleTimeOffReasonsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffReasonable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -134,7 +128,7 @@ func (m *ItemScheduleTimeOffReasonsRequestBuilder) ToGetRequestInformation(ctx c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new timeOffReason. +// ToPostRequestInformation create new navigation property to timeOffReasons for teams // returns a *RequestInformation when successful func (m *ItemScheduleTimeOffReasonsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffReasonable, requestConfiguration *ItemScheduleTimeOffReasonsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_schedule_time_off_reasons_time_off_reason_item_request_builder.go b/teams/item_schedule_time_off_reasons_time_off_reason_item_request_builder.go index 6b2f465cec4..9304ea6d4fe 100644 --- a/teams/item_schedule_time_off_reasons_time_off_reason_item_request_builder.go +++ b/teams/item_schedule_time_off_reasons_time_off_reason_item_request_builder.go @@ -18,7 +18,7 @@ type ItemScheduleTimeOffReasonsTimeOffReasonItemRequestBuilderDeleteRequestConfi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemScheduleTimeOffReasonsTimeOffReasonItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a timeOffReason object by ID. +// ItemScheduleTimeOffReasonsTimeOffReasonItemRequestBuilderGetQueryParameters the set of reasons for a time off in the schedule. type ItemScheduleTimeOffReasonsTimeOffReasonItemRequestBuilderGetQueryParameters struct { // Select properties to be returned Select []string `uriparametername:"%24select"` @@ -52,11 +52,8 @@ func NewItemScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder(rawUrl string, urlParams["request-raw-url"] = rawUrl return NewItemScheduleTimeOffReasonsTimeOffReasonItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete mark a timeOffReason as inactive by setting the isActive property. Every team must include at least one timeOffReason. This method doesn't remove the specified timeOffReason instance. timeOffItem instances that were assigned this reason remain assigned to this reason. +// Delete delete navigation property timeOffReasons for teams // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/timeoffreason-delete?view=graph-rest-1.0 func (m *ItemScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemScheduleTimeOffReasonsTimeOffReasonItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -71,12 +68,9 @@ func (m *ItemScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder) Delete(ctx c } return nil } -// Get retrieve the properties and relationships of a timeOffReason object by ID. +// Get the set of reasons for a time off in the schedule. // returns a TimeOffReasonable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/timeoffreason-get?view=graph-rest-1.0 func (m *ItemScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemScheduleTimeOffReasonsTimeOffReasonItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffReasonable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -94,12 +88,9 @@ func (m *ItemScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder) Get(ctx cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffReasonable), nil } -// Patch replace an existing timeOffReason. If the specified timeOffReason doesn't exist, this method returns 404 Not found. +// Patch update the navigation property timeOffReasons in teams // returns a TimeOffReasonable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/timeoffreason-put?view=graph-rest-1.0 func (m *ItemScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffReasonable, requestConfiguration *ItemScheduleTimeOffReasonsTimeOffReasonItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffReasonable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +108,7 @@ func (m *ItemScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder) Patch(ctx co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffReasonable), nil } -// ToDeleteRequestInformation mark a timeOffReason as inactive by setting the isActive property. Every team must include at least one timeOffReason. This method doesn't remove the specified timeOffReason instance. timeOffItem instances that were assigned this reason remain assigned to this reason. +// ToDeleteRequestInformation delete navigation property timeOffReasons for teams // returns a *RequestInformation when successful func (m *ItemScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemScheduleTimeOffReasonsTimeOffReasonItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -128,7 +119,7 @@ func (m *ItemScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder) ToDeleteRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a timeOffReason object by ID. +// ToGetRequestInformation the set of reasons for a time off in the schedule. // returns a *RequestInformation when successful func (m *ItemScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemScheduleTimeOffReasonsTimeOffReasonItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -142,7 +133,7 @@ func (m *ItemScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder) ToGetRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation replace an existing timeOffReason. If the specified timeOffReason doesn't exist, this method returns 404 Not found. +// ToPatchRequestInformation update the navigation property timeOffReasons in teams // returns a *RequestInformation when successful func (m *ItemScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffReasonable, requestConfiguration *ItemScheduleTimeOffReasonsTimeOffReasonItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_schedule_time_off_requests_request_builder.go b/teams/item_schedule_time_off_requests_request_builder.go index 6434e66b5d1..b5b9b6c05c1 100644 --- a/teams/item_schedule_time_off_requests_request_builder.go +++ b/teams/item_schedule_time_off_requests_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemScheduleTimeOffRequestsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemScheduleTimeOffRequestsRequestBuilderGetQueryParameters retrieve a list of timeoffrequest objects in the team. +// ItemScheduleTimeOffRequestsRequestBuilderGetQueryParameters the time off requests in the schedule. type ItemScheduleTimeOffRequestsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,12 +74,9 @@ func NewItemScheduleTimeOffRequestsRequestBuilder(rawUrl string, requestAdapter func (m *ItemScheduleTimeOffRequestsRequestBuilder) Count()(*ItemScheduleTimeOffRequestsCountRequestBuilder) { return NewItemScheduleTimeOffRequestsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of timeoffrequest objects in the team. +// Get the time off requests in the schedule. // returns a TimeOffRequestCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/timeoffrequest-list?view=graph-rest-1.0 func (m *ItemScheduleTimeOffRequestsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemScheduleTimeOffRequestsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffRequestCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemScheduleTimeOffRequestsRequestBuilder) Post(ctx context.Context, bo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffRequestable), nil } -// ToGetRequestInformation retrieve a list of timeoffrequest objects in the team. +// ToGetRequestInformation the time off requests in the schedule. // returns a *RequestInformation when successful func (m *ItemScheduleTimeOffRequestsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemScheduleTimeOffRequestsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_schedule_time_off_requests_time_off_request_item_request_builder.go b/teams/item_schedule_time_off_requests_time_off_request_item_request_builder.go index 5388f450ca3..1f90ab3c028 100644 --- a/teams/item_schedule_time_off_requests_time_off_request_item_request_builder.go +++ b/teams/item_schedule_time_off_requests_time_off_request_item_request_builder.go @@ -18,7 +18,7 @@ type ItemScheduleTimeOffRequestsTimeOffRequestItemRequestBuilderDeleteRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemScheduleTimeOffRequestsTimeOffRequestItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a timeoffrequest object. +// ItemScheduleTimeOffRequestsTimeOffRequestItemRequestBuilderGetQueryParameters the time off requests in the schedule. type ItemScheduleTimeOffRequestsTimeOffRequestItemRequestBuilderGetQueryParameters struct { // Select properties to be returned Select []string `uriparametername:"%24select"` @@ -52,11 +52,8 @@ func NewItemScheduleTimeOffRequestsTimeOffRequestItemRequestBuilder(rawUrl strin urlParams["request-raw-url"] = rawUrl return NewItemScheduleTimeOffRequestsTimeOffRequestItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a timeOffRequest object. +// Delete delete navigation property timeOffRequests for teams // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/timeoffrequest-delete?view=graph-rest-1.0 func (m *ItemScheduleTimeOffRequestsTimeOffRequestItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemScheduleTimeOffRequestsTimeOffRequestItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -71,12 +68,9 @@ func (m *ItemScheduleTimeOffRequestsTimeOffRequestItemRequestBuilder) Delete(ctx } return nil } -// Get retrieve the properties and relationships of a timeoffrequest object. +// Get the time off requests in the schedule. // returns a TimeOffRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/timeoffrequest-get?view=graph-rest-1.0 func (m *ItemScheduleTimeOffRequestsTimeOffRequestItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemScheduleTimeOffRequestsTimeOffRequestItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffRequestable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -114,7 +108,7 @@ func (m *ItemScheduleTimeOffRequestsTimeOffRequestItemRequestBuilder) Patch(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffRequestable), nil } -// ToDeleteRequestInformation delete a timeOffRequest object. +// ToDeleteRequestInformation delete navigation property timeOffRequests for teams // returns a *RequestInformation when successful func (m *ItemScheduleTimeOffRequestsTimeOffRequestItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemScheduleTimeOffRequestsTimeOffRequestItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -125,7 +119,7 @@ func (m *ItemScheduleTimeOffRequestsTimeOffRequestItemRequestBuilder) ToDeleteRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a timeoffrequest object. +// ToGetRequestInformation the time off requests in the schedule. // returns a *RequestInformation when successful func (m *ItemScheduleTimeOffRequestsTimeOffRequestItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemScheduleTimeOffRequestsTimeOffRequestItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_schedule_times_off_request_builder.go b/teams/item_schedule_times_off_request_builder.go index 70ac8bd5134..6c5413f55ad 100644 --- a/teams/item_schedule_times_off_request_builder.go +++ b/teams/item_schedule_times_off_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemScheduleTimesOffRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemScheduleTimesOffRequestBuilderGetQueryParameters get the list of timeOff instances in a schedule. +// ItemScheduleTimesOffRequestBuilderGetQueryParameters the instances of times off in the schedule. type ItemScheduleTimesOffRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,12 +74,9 @@ func NewItemScheduleTimesOffRequestBuilder(rawUrl string, requestAdapter i2ae418 func (m *ItemScheduleTimesOffRequestBuilder) Count()(*ItemScheduleTimesOffCountRequestBuilder) { return NewItemScheduleTimesOffCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of timeOff instances in a schedule. +// Get the instances of times off in the schedule. // returns a TimeOffCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/schedule-list-timesoff?view=graph-rest-1.0 func (m *ItemScheduleTimesOffRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemScheduleTimesOffRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -97,12 +94,9 @@ func (m *ItemScheduleTimesOffRequestBuilder) Get(ctx context.Context, requestCon } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffCollectionResponseable), nil } -// Post create a new timeOff instance in a schedule. +// Post create new navigation property to timesOff for teams // returns a TimeOffable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/schedule-post-timesoff?view=graph-rest-1.0 func (m *ItemScheduleTimesOffRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffable, requestConfiguration *ItemScheduleTimesOffRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -120,7 +114,7 @@ func (m *ItemScheduleTimesOffRequestBuilder) Post(ctx context.Context, body ie23 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffable), nil } -// ToGetRequestInformation get the list of timeOff instances in a schedule. +// ToGetRequestInformation the instances of times off in the schedule. // returns a *RequestInformation when successful func (m *ItemScheduleTimesOffRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemScheduleTimesOffRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -134,7 +128,7 @@ func (m *ItemScheduleTimesOffRequestBuilder) ToGetRequestInformation(ctx context requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new timeOff instance in a schedule. +// ToPostRequestInformation create new navigation property to timesOff for teams // returns a *RequestInformation when successful func (m *ItemScheduleTimesOffRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffable, requestConfiguration *ItemScheduleTimesOffRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_schedule_times_off_time_off_item_request_builder.go b/teams/item_schedule_times_off_time_off_item_request_builder.go index 9e4eda9ead7..39cd79eff40 100644 --- a/teams/item_schedule_times_off_time_off_item_request_builder.go +++ b/teams/item_schedule_times_off_time_off_item_request_builder.go @@ -18,7 +18,7 @@ type ItemScheduleTimesOffTimeOffItemRequestBuilderDeleteRequestConfiguration str // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemScheduleTimesOffTimeOffItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a timeOff object by ID. +// ItemScheduleTimesOffTimeOffItemRequestBuilderGetQueryParameters the instances of times off in the schedule. type ItemScheduleTimesOffTimeOffItemRequestBuilderGetQueryParameters struct { // Select properties to be returned Select []string `uriparametername:"%24select"` @@ -52,11 +52,8 @@ func NewItemScheduleTimesOffTimeOffItemRequestBuilder(rawUrl string, requestAdap urlParams["request-raw-url"] = rawUrl return NewItemScheduleTimesOffTimeOffItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a timeOff instance from a schedule. +// Delete delete navigation property timesOff for teams // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/timeoff-delete?view=graph-rest-1.0 func (m *ItemScheduleTimesOffTimeOffItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemScheduleTimesOffTimeOffItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -71,12 +68,9 @@ func (m *ItemScheduleTimesOffTimeOffItemRequestBuilder) Delete(ctx context.Conte } return nil } -// Get retrieve the properties and relationships of a timeOff object by ID. +// Get the instances of times off in the schedule. // returns a TimeOffable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/timeoff-get?view=graph-rest-1.0 func (m *ItemScheduleTimesOffTimeOffItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemScheduleTimesOffTimeOffItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -94,12 +88,9 @@ func (m *ItemScheduleTimesOffTimeOffItemRequestBuilder) Get(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffable), nil } -// Patch replace an existing timeOff. If the specified timeOff doesn't exist, this method returns 404 Not found. +// Patch update the navigation property timesOff in teams // returns a TimeOffable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/timeoff-put?view=graph-rest-1.0 func (m *ItemScheduleTimesOffTimeOffItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffable, requestConfiguration *ItemScheduleTimesOffTimeOffItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +108,7 @@ func (m *ItemScheduleTimesOffTimeOffItemRequestBuilder) Patch(ctx context.Contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffable), nil } -// ToDeleteRequestInformation delete a timeOff instance from a schedule. +// ToDeleteRequestInformation delete navigation property timesOff for teams // returns a *RequestInformation when successful func (m *ItemScheduleTimesOffTimeOffItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemScheduleTimesOffTimeOffItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -128,7 +119,7 @@ func (m *ItemScheduleTimesOffTimeOffItemRequestBuilder) ToDeleteRequestInformati requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a timeOff object by ID. +// ToGetRequestInformation the instances of times off in the schedule. // returns a *RequestInformation when successful func (m *ItemScheduleTimesOffTimeOffItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemScheduleTimesOffTimeOffItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -142,7 +133,7 @@ func (m *ItemScheduleTimesOffTimeOffItemRequestBuilder) ToGetRequestInformation( requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation replace an existing timeOff. If the specified timeOff doesn't exist, this method returns 404 Not found. +// ToPatchRequestInformation update the navigation property timesOff in teams // returns a *RequestInformation when successful func (m *ItemScheduleTimesOffTimeOffItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffable, requestConfiguration *ItemScheduleTimesOffTimeOffItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_send_activity_notification_request_builder.go b/teams/item_send_activity_notification_request_builder.go index 1e807d7ec38..b5616d1d5eb 100644 --- a/teams/item_send_activity_notification_request_builder.go +++ b/teams/item_send_activity_notification_request_builder.go @@ -34,7 +34,7 @@ func NewItemSendActivityNotificationRequestBuilder(rawUrl string, requestAdapter // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/team-sendactivitynotification?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/team-sendactivitynotification?view=graph-rest-beta func (m *ItemSendActivityNotificationRequestBuilder) Post(ctx context.Context, body ItemSendActivityNotificationPostRequestBodyable, requestConfiguration *ItemSendActivityNotificationRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/teams/item_tags_item_members_request_builder.go b/teams/item_tags_item_members_request_builder.go index 3d853e72dcb..db1ddd6383d 100644 --- a/teams/item_tags_item_members_request_builder.go +++ b/teams/item_tags_item_members_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTagsItemMembersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTagsItemMembersRequestBuilderGetQueryParameters get a list of the members of a standard tag in a team and their properties. +// ItemTagsItemMembersRequestBuilderGetQueryParameters users assigned to the tag. type ItemTagsItemMembersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemTagsItemMembersRequestBuilder(rawUrl string, requestAdapter i2ae4187 func (m *ItemTagsItemMembersRequestBuilder) Count()(*ItemTagsItemMembersCountRequestBuilder) { return NewItemTagsItemMembersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the members of a standard tag in a team and their properties. +// Get users assigned to the tag. // returns a TeamworkTagMemberCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/teamworktagmember-list?view=graph-rest-1.0 func (m *ItemTagsItemMembersRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTagsItemMembersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagMemberCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemTagsItemMembersRequestBuilder) Get(ctx context.Context, requestConf } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagMemberCollectionResponseable), nil } -// Post create a new teamworkTagMember object in a team. +// Post create new navigation property to members for teams // returns a TeamworkTagMemberable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/teamworktagmember-post?view=graph-rest-1.0 func (m *ItemTagsItemMembersRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagMemberable, requestConfiguration *ItemTagsItemMembersRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagMemberable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemTagsItemMembersRequestBuilder) Post(ctx context.Context, body ie233 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagMemberable), nil } -// ToGetRequestInformation get a list of the members of a standard tag in a team and their properties. +// ToGetRequestInformation users assigned to the tag. // returns a *RequestInformation when successful func (m *ItemTagsItemMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTagsItemMembersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemTagsItemMembersRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new teamworkTagMember object in a team. +// ToPostRequestInformation create new navigation property to members for teams // returns a *RequestInformation when successful func (m *ItemTagsItemMembersRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagMemberable, requestConfiguration *ItemTagsItemMembersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_tags_item_members_teamwork_tag_member_item_request_builder.go b/teams/item_tags_item_members_teamwork_tag_member_item_request_builder.go index 8405113c5c4..395b2466100 100644 --- a/teams/item_tags_item_members_teamwork_tag_member_item_request_builder.go +++ b/teams/item_tags_item_members_teamwork_tag_member_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTagsItemMembersTeamworkTagMemberItemRequestBuilderDeleteRequestConfigur // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTagsItemMembersTeamworkTagMemberItemRequestBuilderGetQueryParameters get the properties and relationships of a member of a standard tag in a team. +// ItemTagsItemMembersTeamworkTagMemberItemRequestBuilderGetQueryParameters users assigned to the tag. type ItemTagsItemMembersTeamworkTagMemberItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemTagsItemMembersTeamworkTagMemberItemRequestBuilder(rawUrl string, re urlParams["request-raw-url"] = rawUrl return NewItemTagsItemMembersTeamworkTagMemberItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a member from a standard tag in a team. +// Delete delete navigation property members for teams // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/teamworktagmember-delete?view=graph-rest-1.0 func (m *ItemTagsItemMembersTeamworkTagMemberItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTagsItemMembersTeamworkTagMemberItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemTagsItemMembersTeamworkTagMemberItemRequestBuilder) Delete(ctx cont } return nil } -// Get get the properties and relationships of a member of a standard tag in a team. +// Get users assigned to the tag. // returns a TeamworkTagMemberable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/teamworktagmember-get?view=graph-rest-1.0 func (m *ItemTagsItemMembersTeamworkTagMemberItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTagsItemMembersTeamworkTagMemberItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagMemberable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -116,7 +110,7 @@ func (m *ItemTagsItemMembersTeamworkTagMemberItemRequestBuilder) Patch(ctx conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagMemberable), nil } -// ToDeleteRequestInformation delete a member from a standard tag in a team. +// ToDeleteRequestInformation delete navigation property members for teams // returns a *RequestInformation when successful func (m *ItemTagsItemMembersTeamworkTagMemberItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTagsItemMembersTeamworkTagMemberItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -127,7 +121,7 @@ func (m *ItemTagsItemMembersTeamworkTagMemberItemRequestBuilder) ToDeleteRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties and relationships of a member of a standard tag in a team. +// ToGetRequestInformation users assigned to the tag. // returns a *RequestInformation when successful func (m *ItemTagsItemMembersTeamworkTagMemberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTagsItemMembersTeamworkTagMemberItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_tags_request_builder.go b/teams/item_tags_request_builder.go index 5169a53f586..8e71e8f3d95 100644 --- a/teams/item_tags_request_builder.go +++ b/teams/item_tags_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTagsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTagsRequestBuilderGetQueryParameters get a list of the tag objects and their properties. +// ItemTagsRequestBuilderGetQueryParameters the tags associated with the team. type ItemTagsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemTagsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26337 func (m *ItemTagsRequestBuilder) Count()(*ItemTagsCountRequestBuilder) { return NewItemTagsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the tag objects and their properties. +// Get the tags associated with the team. // returns a TeamworkTagCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/teamworktag-list?view=graph-rest-1.0 func (m *ItemTagsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTagsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemTagsRequestBuilder) Get(ctx context.Context, requestConfiguration * } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagCollectionResponseable), nil } -// Post create a standard tag for members in the team. +// Post create new navigation property to tags for teams // returns a TeamworkTagable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/teamworktag-post?view=graph-rest-1.0 func (m *ItemTagsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagable, requestConfiguration *ItemTagsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemTagsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4b } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagable), nil } -// ToGetRequestInformation get a list of the tag objects and their properties. +// ToGetRequestInformation the tags associated with the team. // returns a *RequestInformation when successful func (m *ItemTagsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTagsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemTagsRequestBuilder) ToGetRequestInformation(ctx context.Context, re requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a standard tag for members in the team. +// ToPostRequestInformation create new navigation property to tags for teams // returns a *RequestInformation when successful func (m *ItemTagsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagable, requestConfiguration *ItemTagsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_tags_teamwork_tag_item_request_builder.go b/teams/item_tags_teamwork_tag_item_request_builder.go index eb378ac6920..29d666450b3 100644 --- a/teams/item_tags_teamwork_tag_item_request_builder.go +++ b/teams/item_tags_teamwork_tag_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTagsTeamworkTagItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTagsTeamworkTagItemRequestBuilderGetQueryParameters read the properties and relationships of a tag object. +// ItemTagsTeamworkTagItemRequestBuilderGetQueryParameters the tags associated with the team. type ItemTagsTeamworkTagItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemTagsTeamworkTagItemRequestBuilder(rawUrl string, requestAdapter i2ae urlParams["request-raw-url"] = rawUrl return NewItemTagsTeamworkTagItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a tag object permanently. +// Delete delete navigation property tags for teams // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/teamworktag-delete?view=graph-rest-1.0 func (m *ItemTagsTeamworkTagItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTagsTeamworkTagItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemTagsTeamworkTagItemRequestBuilder) Delete(ctx context.Context, requ } return nil } -// Get read the properties and relationships of a tag object. +// Get the tags associated with the team. // returns a TeamworkTagable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/teamworktag-get?view=graph-rest-1.0 func (m *ItemTagsTeamworkTagItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTagsTeamworkTagItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,12 +95,9 @@ func (m *ItemTagsTeamworkTagItemRequestBuilder) Get(ctx context.Context, request func (m *ItemTagsTeamworkTagItemRequestBuilder) Members()(*ItemTagsItemMembersRequestBuilder) { return NewItemTagsItemMembersRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of a teamworkTag object. +// Patch update the navigation property tags in teams // returns a TeamworkTagable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/teamworktag-update?view=graph-rest-1.0 func (m *ItemTagsTeamworkTagItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagable, requestConfiguration *ItemTagsTeamworkTagItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -124,7 +115,7 @@ func (m *ItemTagsTeamworkTagItemRequestBuilder) Patch(ctx context.Context, body } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagable), nil } -// ToDeleteRequestInformation delete a tag object permanently. +// ToDeleteRequestInformation delete navigation property tags for teams // returns a *RequestInformation when successful func (m *ItemTagsTeamworkTagItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTagsTeamworkTagItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -135,7 +126,7 @@ func (m *ItemTagsTeamworkTagItemRequestBuilder) ToDeleteRequestInformation(ctx c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a tag object. +// ToGetRequestInformation the tags associated with the team. // returns a *RequestInformation when successful func (m *ItemTagsTeamworkTagItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTagsTeamworkTagItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -149,7 +140,7 @@ func (m *ItemTagsTeamworkTagItemRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a teamworkTag object. +// ToPatchRequestInformation update the navigation property tags in teams // returns a *RequestInformation when successful func (m *ItemTagsTeamworkTagItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagable, requestConfiguration *ItemTagsTeamworkTagItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_unarchive_request_builder.go b/teams/item_unarchive_request_builder.go index b0a6c1c166d..d3938a9d580 100644 --- a/teams/item_unarchive_request_builder.go +++ b/teams/item_unarchive_request_builder.go @@ -34,7 +34,7 @@ func NewItemUnarchiveRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/team-unarchive?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/team-unarchive?view=graph-rest-beta func (m *ItemUnarchiveRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemUnarchiveRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teams/team_item_request_builder.go b/teams/team_item_request_builder.go index 3be524c26d6..72a042633a0 100644 --- a/teams/team_item_request_builder.go +++ b/teams/team_item_request_builder.go @@ -100,7 +100,7 @@ func (m *TeamItemRequestBuilder) Delete(ctx context.Context, requestConfiguratio // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/team-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/team-get?view=graph-rest-beta func (m *TeamItemRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Teamable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -153,7 +153,7 @@ func (m *TeamItemRequestBuilder) Owners()(*ItemOwnersRequestBuilder) { // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/team-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/team-update?view=graph-rest-beta func (m *TeamItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Teamable, requestConfiguration *TeamItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Teamable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/teams/teams_request_builder.go b/teams/teams_request_builder.go index bd3c85103b6..8827d4fecc8 100644 --- a/teams/teams_request_builder.go +++ b/teams/teams_request_builder.go @@ -86,7 +86,7 @@ func (m *TeamsRequestBuilder) Count()(*CountRequestBuilder) { // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/teams-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/teams-list?view=graph-rest-beta func (m *TeamsRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +129,7 @@ func (m *TeamsRequestBuilder) GetTimesOff()(*GetTimesOffRequestBuilder) { // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/team-post?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/team-post?view=graph-rest-beta func (m *TeamsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Teamable, requestConfiguration *TeamsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Teamable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/teamtemplatedefinition/item_team_definition_all_channels_request_builder.go b/teamtemplatedefinition/item_team_definition_all_channels_request_builder.go index e506738bce2..5e584bc82bb 100644 --- a/teamtemplatedefinition/item_team_definition_all_channels_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_all_channels_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamDefinitionAllChannelsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamDefinitionAllChannelsRequestBuilderGetQueryParameters get the list of channels either in this team or shared with this team (incoming channels). +// ItemTeamDefinitionAllChannelsRequestBuilderGetQueryParameters list of channels either hosted in or shared with the team (incoming channels). type ItemTeamDefinitionAllChannelsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewItemTeamDefinitionAllChannelsRequestBuilder(rawUrl string, requestAdapte func (m *ItemTeamDefinitionAllChannelsRequestBuilder) Count()(*ItemTeamDefinitionAllChannelsCountRequestBuilder) { return NewItemTeamDefinitionAllChannelsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of channels either in this team or shared with this team (incoming channels). +// Get list of channels either hosted in or shared with the team (incoming channels). // returns a ChannelCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/team-list-allchannels?view=graph-rest-1.0 func (m *ItemTeamDefinitionAllChannelsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionAllChannelsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChannelCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *ItemTeamDefinitionAllChannelsRequestBuilder) Get(ctx context.Context, r } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChannelCollectionResponseable), nil } -// ToGetRequestInformation get the list of channels either in this team or shared with this team (incoming channels). +// ToGetRequestInformation list of channels either hosted in or shared with the team (incoming channels). // returns a *RequestInformation when successful func (m *ItemTeamDefinitionAllChannelsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionAllChannelsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_archive_request_builder.go b/teamtemplatedefinition/item_team_definition_archive_request_builder.go index a63dbb57221..0c5cdaf7bfd 100644 --- a/teamtemplatedefinition/item_team_definition_archive_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_archive_request_builder.go @@ -34,7 +34,7 @@ func NewItemTeamDefinitionArchiveRequestBuilder(rawUrl string, requestAdapter i2 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/team-archive?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/team-archive?view=graph-rest-beta func (m *ItemTeamDefinitionArchiveRequestBuilder) Post(ctx context.Context, body ItemTeamDefinitionArchivePostRequestBodyable, requestConfiguration *ItemTeamDefinitionArchiveRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { 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 166f1735493..953052d6cad 100644 --- a/teamtemplatedefinition/item_team_definition_channels_channel_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_channel_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamDefinitionChannelsChannelItemRequestBuilderDeleteRequestConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamDefinitionChannelsChannelItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information. +// ItemTeamDefinitionChannelsChannelItemRequestBuilderGetQueryParameters the collection of channels and messages associated with the team. type ItemTeamDefinitionChannelsChannelItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -64,11 +64,8 @@ func NewItemTeamDefinitionChannelsChannelItemRequestBuilder(rawUrl string, reque urlParams["request-raw-url"] = rawUrl return NewItemTeamDefinitionChannelsChannelItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete the channel. +// Delete delete navigation property channels for teamTemplateDefinition // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/channel-delete?view=graph-rest-1.0 func (m *ItemTeamDefinitionChannelsChannelItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsChannelItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *ItemTeamDefinitionChannelsChannelItemRequestBuilder) DoesUserHaveAccess func (m *ItemTeamDefinitionChannelsChannelItemRequestBuilder) FilesFolder()(*ItemTeamDefinitionChannelsItemFilesFolderRequestBuilder) { return NewItemTeamDefinitionChannelsItemFilesFolderRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information. +// Get the collection of channels and messages associated with the team. // returns a Channelable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemTeamDefinitionChannelsChannelItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsChannelItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -126,12 +120,9 @@ func (m *ItemTeamDefinitionChannelsChannelItemRequestBuilder) Members()(*ItemTea func (m *ItemTeamDefinitionChannelsChannelItemRequestBuilder) Messages()(*ItemTeamDefinitionChannelsItemMessagesRequestBuilder) { return NewItemTeamDefinitionChannelsItemMessagesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of the specified channel. +// Patch update the navigation property channels in teamTemplateDefinition // returns a Channelable when successful // returns a ODataError error 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-patch?view=graph-rest-1.0 func (m *ItemTeamDefinitionChannelsChannelItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable, requestConfiguration *ItemTeamDefinitionChannelsChannelItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -169,7 +160,7 @@ func (m *ItemTeamDefinitionChannelsChannelItemRequestBuilder) SharedWithTeams()( func (m *ItemTeamDefinitionChannelsChannelItemRequestBuilder) Tabs()(*ItemTeamDefinitionChannelsItemTabsRequestBuilder) { return NewItemTeamDefinitionChannelsItemTabsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete the channel. +// ToDeleteRequestInformation delete navigation property channels for teamTemplateDefinition // returns a *RequestInformation when successful func (m *ItemTeamDefinitionChannelsChannelItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsChannelItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -180,7 +171,7 @@ func (m *ItemTeamDefinitionChannelsChannelItemRequestBuilder) ToDeleteRequestInf requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information. +// ToGetRequestInformation the collection of channels and messages associated with the team. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionChannelsChannelItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsChannelItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -194,7 +185,7 @@ func (m *ItemTeamDefinitionChannelsChannelItemRequestBuilder) ToGetRequestInform requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of the specified channel. +// ToPatchRequestInformation update the navigation property channels in teamTemplateDefinition // returns a *RequestInformation when successful func (m *ItemTeamDefinitionChannelsChannelItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable, requestConfiguration *ItemTeamDefinitionChannelsChannelItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_channels_get_all_messages_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_get_all_messages_request_builder.go index de74f9df9c4..35d0ff84666 100644 --- a/teamtemplatedefinition/item_team_definition_channels_get_all_messages_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_get_all_messages_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemTeamDefinitionChannelsGetAllMessagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamDefinitionChannelsGetAllMessagesRequestBuilderGetQueryParameters invoke function getAllMessages +// ItemTeamDefinitionChannelsGetAllMessagesRequestBuilderGetQueryParameters retrieve messages across all channels in a team, including text, audio, and video conversations. To learn more about using the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. type ItemTeamDefinitionChannelsGetAllMessagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -53,10 +53,13 @@ func NewItemTeamDefinitionChannelsGetAllMessagesRequestBuilder(rawUrl string, re urlParams["request-raw-url"] = rawUrl return NewItemTeamDefinitionChannelsGetAllMessagesRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getAllMessages +// Get retrieve messages across all channels in a team, including text, audio, and video conversations. To learn more about using the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. // Deprecated: This method is obsolete. Use GetAsGetAllMessagesGetResponse instead. // returns a ItemTeamDefinitionChannelsGetAllMessagesResponseable when successful // returns a ODataError error 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-getallmessages?view=graph-rest-beta func (m *ItemTeamDefinitionChannelsGetAllMessagesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsGetAllMessagesRequestBuilderGetRequestConfiguration)(ItemTeamDefinitionChannelsGetAllMessagesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -74,9 +77,12 @@ func (m *ItemTeamDefinitionChannelsGetAllMessagesRequestBuilder) Get(ctx context } return res.(ItemTeamDefinitionChannelsGetAllMessagesResponseable), nil } -// GetAsGetAllMessagesGetResponse invoke function getAllMessages +// GetAsGetAllMessagesGetResponse retrieve messages across all channels in a team, including text, audio, and video conversations. To learn more about using the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. // returns a ItemTeamDefinitionChannelsGetAllMessagesGetResponseable when successful // returns a ODataError error 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-getallmessages?view=graph-rest-beta func (m *ItemTeamDefinitionChannelsGetAllMessagesRequestBuilder) GetAsGetAllMessagesGetResponse(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsGetAllMessagesRequestBuilderGetRequestConfiguration)(ItemTeamDefinitionChannelsGetAllMessagesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -94,7 +100,7 @@ func (m *ItemTeamDefinitionChannelsGetAllMessagesRequestBuilder) GetAsGetAllMess } return res.(ItemTeamDefinitionChannelsGetAllMessagesGetResponseable), nil } -// ToGetRequestInformation invoke function getAllMessages +// ToGetRequestInformation retrieve messages across all channels in a team, including text, audio, and video conversations. To learn more about using the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionChannelsGetAllMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsGetAllMessagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_channels_get_all_retained_messages_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_get_all_retained_messages_request_builder.go index 6eeb7962266..b3d3f8384fe 100644 --- a/teamtemplatedefinition/item_team_definition_channels_get_all_retained_messages_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_get_all_retained_messages_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemTeamDefinitionChannelsGetAllRetainedMessagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamDefinitionChannelsGetAllRetainedMessagesRequestBuilderGetQueryParameters invoke function getAllRetainedMessages +// ItemTeamDefinitionChannelsGetAllRetainedMessagesRequestBuilderGetQueryParameters get retained messages across all channels in a team. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. type ItemTeamDefinitionChannelsGetAllRetainedMessagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewItemTeamDefinitionChannelsGetAllRetainedMessagesRequestBuilder(rawUrl st urlParams["request-raw-url"] = rawUrl return NewItemTeamDefinitionChannelsGetAllRetainedMessagesRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getAllRetainedMessages +// Get get retained messages across all channels in a team. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. // Deprecated: This method is obsolete. Use GetAsGetAllRetainedMessagesGetResponse instead. // returns a ItemTeamDefinitionChannelsGetAllRetainedMessagesResponseable when successful // returns a ODataError error 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-getallretainedmessages?view=graph-rest-beta func (m *ItemTeamDefinitionChannelsGetAllRetainedMessagesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsGetAllRetainedMessagesRequestBuilderGetRequestConfiguration)(ItemTeamDefinitionChannelsGetAllRetainedMessagesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ItemTeamDefinitionChannelsGetAllRetainedMessagesRequestBuilder) Get(ctx } return res.(ItemTeamDefinitionChannelsGetAllRetainedMessagesResponseable), nil } -// GetAsGetAllRetainedMessagesGetResponse invoke function getAllRetainedMessages +// GetAsGetAllRetainedMessagesGetResponse get retained messages across all channels in a team. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. // returns a ItemTeamDefinitionChannelsGetAllRetainedMessagesGetResponseable when successful // returns a ODataError error 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-getallretainedmessages?view=graph-rest-beta func (m *ItemTeamDefinitionChannelsGetAllRetainedMessagesRequestBuilder) GetAsGetAllRetainedMessagesGetResponse(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsGetAllRetainedMessagesRequestBuilderGetRequestConfiguration)(ItemTeamDefinitionChannelsGetAllRetainedMessagesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ItemTeamDefinitionChannelsGetAllRetainedMessagesRequestBuilder) GetAsGe } return res.(ItemTeamDefinitionChannelsGetAllRetainedMessagesGetResponseable), nil } -// ToGetRequestInformation invoke function getAllRetainedMessages +// ToGetRequestInformation get retained messages across all channels in a team. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionChannelsGetAllRetainedMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsGetAllRetainedMessagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_channels_item_archive_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_archive_request_builder.go index 4cdb26c048a..044873db205 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_archive_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_archive_request_builder.go @@ -34,7 +34,7 @@ func NewItemTeamDefinitionChannelsItemArchiveRequestBuilder(rawUrl string, reque // returns a ODataError error 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-archive?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-archive?view=graph-rest-beta func (m *ItemTeamDefinitionChannelsItemArchiveRequestBuilder) Post(ctx context.Context, body ItemTeamDefinitionChannelsItemArchivePostRequestBodyable, requestConfiguration *ItemTeamDefinitionChannelsItemArchiveRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/teamtemplatedefinition/item_team_definition_channels_item_complete_migration_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_complete_migration_request_builder.go index 05ac96353e8..029b4ddbd2a 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_complete_migration_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_complete_migration_request_builder.go @@ -34,7 +34,7 @@ func NewItemTeamDefinitionChannelsItemCompleteMigrationRequestBuilder(rawUrl str // returns a ODataError error 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-completemigration?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-completemigration?view=graph-rest-beta func (m *ItemTeamDefinitionChannelsItemCompleteMigrationRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemCompleteMigrationRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamtemplatedefinition/item_team_definition_channels_item_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go index 4000c5fd38b..b6bc2ca66a6 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemTeamDefinitionChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamDefinitionChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters invoke function doesUserHaveAccess +// ItemTeamDefinitionChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters determine whether a user has access to a shared channel. type ItemTeamDefinitionChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters struct { // Usage: tenantId='@tenantId' TenantId *string `uriparametername:"tenantId"` @@ -41,10 +41,13 @@ func NewItemTeamDefinitionChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTena urlParams["request-raw-url"] = rawUrl return NewItemTeamDefinitionChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function doesUserHaveAccess +// Get determine whether a user has access to a shared channel. // Deprecated: This method is obsolete. Use GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse instead. // returns a ItemTeamDefinitionChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponseable when successful // returns a ODataError error 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-doesuserhaveaccess?view=graph-rest-beta func (m *ItemTeamDefinitionChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetRequestConfiguration)(ItemTeamDefinitionChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -62,9 +65,12 @@ func (m *ItemTeamDefinitionChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTen } return res.(ItemTeamDefinitionChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponseable), nil } -// GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse invoke function doesUserHaveAccess +// GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse determine whether a user has access to a shared channel. // returns a ItemTeamDefinitionChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponseable when successful // returns a ODataError error 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-doesuserhaveaccess?view=graph-rest-beta func (m *ItemTeamDefinitionChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder) GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetRequestConfiguration)(ItemTeamDefinitionChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -82,7 +88,7 @@ func (m *ItemTeamDefinitionChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTen } return res.(ItemTeamDefinitionChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponseable), nil } -// ToGetRequestInformation invoke function doesUserHaveAccess +// ToGetRequestInformation determine whether a user has access to a shared channel. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_channels_item_files_folder_content_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_files_folder_content_request_builder.go index e2b3c272722..fe21b978fa2 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_files_folder_content_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_files_folder_content_request_builder.go @@ -48,9 +48,6 @@ func NewItemTeamDefinitionChannelsItemFilesFolderContentRequestBuilder(rawUrl st // Get get content for the navigation property filesFolder from teamTemplateDefinition // 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/channel-get-filesfolder?view=graph-rest-1.0 func (m *ItemTeamDefinitionChannelsItemFilesFolderContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemFilesFolderContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamtemplatedefinition/item_team_definition_channels_item_files_folder_content_stream_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_files_folder_content_stream_request_builder.go index cbb92a1b456..8a57f361b8f 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_files_folder_content_stream_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_files_folder_content_stream_request_builder.go @@ -40,9 +40,6 @@ func NewItemTeamDefinitionChannelsItemFilesFolderContentStreamRequestBuilder(raw // Get the content stream, if the item represents a file. // 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/channel-get-filesfolder?view=graph-rest-1.0 func (m *ItemTeamDefinitionChannelsItemFilesFolderContentStreamRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemFilesFolderContentStreamRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamtemplatedefinition/item_team_definition_channels_item_files_folder_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_files_folder_request_builder.go index 7b078717492..bbbc0b8058f 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_files_folder_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_files_folder_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamDefinitionChannelsItemFilesFolderRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamDefinitionChannelsItemFilesFolderRequestBuilderGetQueryParameters get the metadata for the location where the files of a channel are stored. +// ItemTeamDefinitionChannelsItemFilesFolderRequestBuilderGetQueryParameters metadata for the location where the channel's files are stored. type ItemTeamDefinitionChannelsItemFilesFolderRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -50,12 +50,9 @@ func (m *ItemTeamDefinitionChannelsItemFilesFolderRequestBuilder) Content()(*Ite func (m *ItemTeamDefinitionChannelsItemFilesFolderRequestBuilder) ContentStream()(*ItemTeamDefinitionChannelsItemFilesFolderContentStreamRequestBuilder) { return NewItemTeamDefinitionChannelsItemFilesFolderContentStreamRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the metadata for the location where the files of a channel are stored. +// Get metadata for the location where the channel's files are stored. // returns a DriveItemable when successful // returns a ODataError error 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-get-filesfolder?view=graph-rest-1.0 func (m *ItemTeamDefinitionChannelsItemFilesFolderRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemFilesFolderRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,7 +70,7 @@ func (m *ItemTeamDefinitionChannelsItemFilesFolderRequestBuilder) Get(ctx contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable), nil } -// ToGetRequestInformation get the metadata for the location where the files of a channel are stored. +// ToGetRequestInformation metadata for the location where the channel's files are stored. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionChannelsItemFilesFolderRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemFilesFolderRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_channels_item_members_add_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_members_add_request_builder.go index 60d8d1150fe..47227612642 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_members_add_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_members_add_request_builder.go @@ -36,7 +36,7 @@ func NewItemTeamDefinitionChannelsItemMembersAddRequestBuilder(rawUrl string, re // returns a ODataError error 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-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-beta func (m *ItemTeamDefinitionChannelsItemMembersAddRequestBuilder) Post(ctx context.Context, body ItemTeamDefinitionChannelsItemMembersAddPostRequestBodyable, requestConfiguration *ItemTeamDefinitionChannelsItemMembersAddRequestBuilderPostRequestConfiguration)(ItemTeamDefinitionChannelsItemMembersAddResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ItemTeamDefinitionChannelsItemMembersAddRequestBuilder) Post(ctx contex // returns a ODataError error 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-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-beta func (m *ItemTeamDefinitionChannelsItemMembersAddRequestBuilder) PostAsAddPostResponse(ctx context.Context, body ItemTeamDefinitionChannelsItemMembersAddPostRequestBodyable, requestConfiguration *ItemTeamDefinitionChannelsItemMembersAddRequestBuilderPostRequestConfiguration)(ItemTeamDefinitionChannelsItemMembersAddPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/teamtemplatedefinition/item_team_definition_channels_item_members_conversation_member_item_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_members_conversation_member_item_request_builder.go index f0f142f98e9..5ed5ec729a3 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_members_conversation_member_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_members_conversation_member_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamDefinitionChannelsItemMembersConversationMemberItemRequestBuilderDe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamDefinitionChannelsItemMembersConversationMemberItemRequestBuilderGetQueryParameters get a conversationMember from a channel. +// ItemTeamDefinitionChannelsItemMembersConversationMemberItemRequestBuilderGetQueryParameters a collection of membership records associated with the channel. type ItemTeamDefinitionChannelsItemMembersConversationMemberItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemTeamDefinitionChannelsItemMembersConversationMemberItemRequestBuilde urlParams["request-raw-url"] = rawUrl return NewItemTeamDefinitionChannelsItemMembersConversationMemberItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. +// Delete delete navigation property members for teamTemplateDefinition // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/channel-delete-members?view=graph-rest-1.0 func (m *ItemTeamDefinitionChannelsItemMembersConversationMemberItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemTeamDefinitionChannelsItemMembersConversationMemberItemRequestBuild } return nil } -// Get get a conversationMember from a channel. +// Get a collection of membership records associated with the 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-get-members?view=graph-rest-1.0 func (m *ItemTeamDefinitionChannelsItemMembersConversationMemberItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemMembersConversationMemberItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ItemTeamDefinitionChannelsItemMembersConversationMemberItemRequestBuild } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil } -// Patch update the role of a conversationMember in a team.or channel. +// Patch update the navigation property members in teamTemplateDefinition // returns a ConversationMemberable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0 func (m *ItemTeamDefinitionChannelsItemMembersConversationMemberItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemTeamDefinitionChannelsItemMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *ItemTeamDefinitionChannelsItemMembersConversationMemberItemRequestBuild } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil } -// ToDeleteRequestInformation delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. +// ToDeleteRequestInformation delete navigation property members for teamTemplateDefinition // returns a *RequestInformation when successful func (m *ItemTeamDefinitionChannelsItemMembersConversationMemberItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *ItemTeamDefinitionChannelsItemMembersConversationMemberItemRequestBuild requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a conversationMember from a channel. +// ToGetRequestInformation a collection of membership records associated with the channel. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionChannelsItemMembersConversationMemberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemMembersConversationMemberItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *ItemTeamDefinitionChannelsItemMembersConversationMemberItemRequestBuild requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the role of a conversationMember in a team.or channel. +// ToPatchRequestInformation update the navigation property members in teamTemplateDefinition // returns a *RequestInformation when successful func (m *ItemTeamDefinitionChannelsItemMembersConversationMemberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemTeamDefinitionChannelsItemMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_channels_item_members_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_members_request_builder.go index 73175918590..fea8c28f644 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_members_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_members_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamDefinitionChannelsItemMembersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamDefinitionChannelsItemMembersRequestBuilderGetQueryParameters retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. +// ItemTeamDefinitionChannelsItemMembersRequestBuilderGetQueryParameters a collection of membership records associated with the channel. type ItemTeamDefinitionChannelsItemMembersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func NewItemTeamDefinitionChannelsItemMembersRequestBuilder(rawUrl string, reque func (m *ItemTeamDefinitionChannelsItemMembersRequestBuilder) Count()(*ItemTeamDefinitionChannelsItemMembersCountRequestBuilder) { return NewItemTeamDefinitionChannelsItemMembersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. +// Get a collection of membership records associated with the channel. // returns a ConversationMemberCollectionResponseable when successful // returns a ODataError error 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-list-members?view=graph-rest-1.0 func (m *ItemTeamDefinitionChannelsItemMembersRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemMembersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *ItemTeamDefinitionChannelsItemMembersRequestBuilder) Get(ctx context.Co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable), nil } -// Post add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. +// Post create new navigation property to members for teamTemplateDefinition // returns a ConversationMemberable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/channel-post-members?view=graph-rest-1.0 func (m *ItemTeamDefinitionChannelsItemMembersRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemTeamDefinitionChannelsItemMembersRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemTeamDefinitionChannelsItemMembersRequestBuilder) Post(ctx context.C } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil } -// ToGetRequestInformation retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. +// ToGetRequestInformation a collection of membership records associated with the channel. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionChannelsItemMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemMembersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ItemTeamDefinitionChannelsItemMembersRequestBuilder) ToGetRequestInform requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. +// ToPostRequestInformation create new navigation property to members for teamTemplateDefinition // returns a *RequestInformation when successful func (m *ItemTeamDefinitionChannelsItemMembersRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemTeamDefinitionChannelsItemMembersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_channels_item_messages_chat_message_item_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_messages_chat_message_item_request_builder.go index 1acf1f59286..e696fc9cfe9 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_messages_chat_message_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_messages_chat_message_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamDefinitionChannelsItemMessagesChatMessageItemRequestBuilderDeleteRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamDefinitionChannelsItemMessagesChatMessageItemRequestBuilderGetQueryParameters retrieve a single message or a message reply in a channel or a chat. +// ItemTeamDefinitionChannelsItemMessagesChatMessageItemRequestBuilderGetQueryParameters a collection of all the messages in the channel. A navigation property. Nullable. type ItemTeamDefinitionChannelsItemMessagesChatMessageItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemTeamDefinitionChannelsItemMessagesChatMessageItemRequestBuilder) De } return nil } -// Get retrieve a single message or a message reply in a channel or a chat. +// Get a collection of all the messages in the channel. A navigation property. Nullable. // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-get?view=graph-rest-1.0 func (m *ItemTeamDefinitionChannelsItemMessagesChatMessageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemMessagesChatMessageItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,12 +95,9 @@ func (m *ItemTeamDefinitionChannelsItemMessagesChatMessageItemRequestBuilder) Ge func (m *ItemTeamDefinitionChannelsItemMessagesChatMessageItemRequestBuilder) HostedContents()(*ItemTeamDefinitionChannelsItemMessagesItemHostedContentsRequestBuilder) { return NewItemTeamDefinitionChannelsItemMessagesItemHostedContentsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method doesn't support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. +// Patch update the navigation property messages in teamTemplateDefinition // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-update?view=graph-rest-1.0 func (m *ItemTeamDefinitionChannelsItemMessagesChatMessageItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemTeamDefinitionChannelsItemMessagesChatMessageItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -147,7 +141,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesChatMessageItemRequestBuilder) To requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a single message or a message reply in a channel or a chat. +// ToGetRequestInformation a collection of all the messages in the channel. A navigation property. Nullable. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionChannelsItemMessagesChatMessageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemMessagesChatMessageItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -161,7 +155,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesChatMessageItemRequestBuilder) To requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method doesn't support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. +// ToPatchRequestInformation update the navigation property messages in teamTemplateDefinition // returns a *RequestInformation when successful func (m *ItemTeamDefinitionChannelsItemMessagesChatMessageItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemTeamDefinitionChannelsItemMessagesChatMessageItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_channels_item_messages_delta_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_messages_delta_request_builder.go index 6d67268d974..4749053855d 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_messages_delta_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_messages_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemTeamDefinitionChannelsItemMessagesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamDefinitionChannelsItemMessagesDeltaRequestBuilderGetQueryParameters invoke function delta +// ItemTeamDefinitionChannelsItemMessagesDeltaRequestBuilderGetQueryParameters retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. type ItemTeamDefinitionChannelsItemMessagesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewItemTeamDefinitionChannelsItemMessagesDeltaRequestBuilder(rawUrl string, urlParams["request-raw-url"] = rawUrl return NewItemTeamDefinitionChannelsItemMessagesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemTeamDefinitionChannelsItemMessagesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-beta func (m *ItemTeamDefinitionChannelsItemMessagesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemMessagesDeltaRequestBuilderGetRequestConfiguration)(ItemTeamDefinitionChannelsItemMessagesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ItemTeamDefinitionChannelsItemMessagesDeltaRequestBuilder) Get(ctx cont } return res.(ItemTeamDefinitionChannelsItemMessagesDeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // returns a ItemTeamDefinitionChannelsItemMessagesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-beta func (m *ItemTeamDefinitionChannelsItemMessagesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemMessagesDeltaRequestBuilderGetRequestConfiguration)(ItemTeamDefinitionChannelsItemMessagesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesDeltaRequestBuilder) GetAsDeltaGe } return res.(ItemTeamDefinitionChannelsItemMessagesDeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionChannelsItemMessagesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemMessagesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index eea6ef5d70d..b9b283a21d5 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamDefinitionChannelsItemMessagesItemHostedContentsChatMessageHostedCo // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamDefinitionChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters retrieve the properties and relationships of chatMessageHostedContent object. +// ItemTeamDefinitionChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters content in a message hosted by Microsoft Teams - for example, images or code snippets. type ItemTeamDefinitionChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *ItemTeamDefinitionChannelsItemMessagesItemHostedContentsChatMessageHost } return nil } -// Get retrieve the properties and relationships of chatMessageHostedContent object. +// Get content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a ChatMessageHostedContentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessagehostedcontent-get?view=graph-rest-1.0 func (m *ItemTeamDefinitionChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesItemHostedContentsChatMessageHost requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of chatMessageHostedContent object. +// ToGetRequestInformation content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_hosted_contents_item_value_content_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_hosted_contents_item_value_content_request_builder.go index 970af5e694e..f06ac7438c6 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_hosted_contents_item_value_content_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_hosted_contents_item_value_content_request_builder.go @@ -40,9 +40,6 @@ func NewItemTeamDefinitionChannelsItemMessagesItemHostedContentsItemValueContent // Get get media content for the navigation property hostedContents from teamTemplateDefinition // 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/chatmessage-list-hostedcontents?view=graph-rest-1.0 func (m *ItemTeamDefinitionChannelsItemMessagesItemHostedContentsItemValueContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemMessagesItemHostedContentsItemValueContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_hosted_contents_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_hosted_contents_request_builder.go index ae6b0269eb5..236f32478ee 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_hosted_contents_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_hosted_contents_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamDefinitionChannelsItemMessagesItemHostedContentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamDefinitionChannelsItemMessagesItemHostedContentsRequestBuilderGetQueryParameters retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// ItemTeamDefinitionChannelsItemMessagesItemHostedContentsRequestBuilderGetQueryParameters content in a message hosted by Microsoft Teams - for example, images or code snippets. type ItemTeamDefinitionChannelsItemMessagesItemHostedContentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemTeamDefinitionChannelsItemMessagesItemHostedContentsRequestBuilder(r func (m *ItemTeamDefinitionChannelsItemMessagesItemHostedContentsRequestBuilder) Count()(*ItemTeamDefinitionChannelsItemMessagesItemHostedContentsCountRequestBuilder) { return NewItemTeamDefinitionChannelsItemMessagesItemHostedContentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// Get content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a ChatMessageHostedContentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0 func (m *ItemTeamDefinitionChannelsItemMessagesItemHostedContentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemMessagesItemHostedContentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesItemHostedContentsRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentable), nil } -// ToGetRequestInformation retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// ToGetRequestInformation content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionChannelsItemMessagesItemHostedContentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemMessagesItemHostedContentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_chat_message_item_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_chat_message_item_request_builder.go index ba02a184f72..7bb028e611c 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_chat_message_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_chat_message_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamDefinitionChannelsItemMessagesItemRepliesChatMessageItemRequestBuil // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamDefinitionChannelsItemMessagesItemRepliesChatMessageItemRequestBuilderGetQueryParameters retrieve a single message or a message reply in a channel or a chat. +// ItemTeamDefinitionChannelsItemMessagesItemRepliesChatMessageItemRequestBuilderGetQueryParameters replies for a specified message. Supports $expand for channel messages. type ItemTeamDefinitionChannelsItemMessagesItemRepliesChatMessageItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesChatMessageItemRequest } return nil } -// Get retrieve a single message or a message reply in a channel or a chat. +// Get replies for a specified message. Supports $expand for channel messages. // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-get?view=graph-rest-1.0 func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesChatMessageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemMessagesItemRepliesChatMessageItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -139,7 +136,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesChatMessageItemRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a single message or a message reply in a channel or a chat. +// ToGetRequestInformation replies for a specified message. Supports $expand for channel messages. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesChatMessageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemMessagesItemRepliesChatMessageItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_delta_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_delta_request_builder.go index e6990137c27..7bacae6f5c1 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_delta_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemTeamDefinitionChannelsItemMessagesItemRepliesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamDefinitionChannelsItemMessagesItemRepliesDeltaRequestBuilderGetQueryParameters invoke function delta +// ItemTeamDefinitionChannelsItemMessagesItemRepliesDeltaRequestBuilderGetQueryParameters retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. type ItemTeamDefinitionChannelsItemMessagesItemRepliesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewItemTeamDefinitionChannelsItemMessagesItemRepliesDeltaRequestBuilder(raw urlParams["request-raw-url"] = rawUrl return NewItemTeamDefinitionChannelsItemMessagesItemRepliesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemTeamDefinitionChannelsItemMessagesItemRepliesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-beta func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemMessagesItemRepliesDeltaRequestBuilderGetRequestConfiguration)(ItemTeamDefinitionChannelsItemMessagesItemRepliesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesDeltaRequestBuilder) G } return res.(ItemTeamDefinitionChannelsItemMessagesItemRepliesDeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // returns a ItemTeamDefinitionChannelsItemMessagesItemRepliesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-beta func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemMessagesItemRepliesDeltaRequestBuilderGetRequestConfiguration)(ItemTeamDefinitionChannelsItemMessagesItemRepliesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesDeltaRequestBuilder) G } return res.(ItemTeamDefinitionChannelsItemMessagesItemRepliesDeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemMessagesItemRepliesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index 5c5e16d9bc9..cc386b4193e 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsChatMess // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters retrieve the properties and relationships of chatMessageHostedContent object. +// ItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters content in a message hosted by Microsoft Teams - for example, images or code snippets. type ItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsChat } return nil } -// Get retrieve the properties and relationships of chatMessageHostedContent object. +// Get content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a ChatMessageHostedContentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessagehostedcontent-get?view=graph-rest-1.0 func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsChat requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of chatMessageHostedContent object. +// ToGetRequestInformation content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go index 13fc422bea5..ced3c4472d6 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go @@ -40,9 +40,6 @@ func NewItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsItemV // Get get media content for the navigation property hostedContents from teamTemplateDefinition // 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/chatmessage-list-hostedcontents?view=graph-rest-1.0 func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_hosted_contents_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_hosted_contents_request_builder.go index ff9981931fe..d0aa01237fa 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_hosted_contents_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_hosted_contents_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilderGetQueryParameters retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// ItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilderGetQueryParameters content in a message hosted by Microsoft Teams - for example, images or code snippets. type ItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsReque func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilder) Count()(*ItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsCountRequestBuilder) { return NewItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// Get content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a ChatMessageHostedContentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0 func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsRequ } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentable), nil } -// ToGetRequestInformation retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// ToGetRequestInformation content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_soft_delete_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_soft_delete_request_builder.go index 48351f2b6ed..9496d37f1bf 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_soft_delete_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_soft_delete_request_builder.go @@ -34,7 +34,7 @@ func NewItemTeamDefinitionChannelsItemMessagesItemRepliesItemSoftDeleteRequestBu // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-beta func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesItemSoftDeleteRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemMessagesItemRepliesItemSoftDeleteRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_undo_soft_delete_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_undo_soft_delete_request_builder.go index 2afdcfa42d3..d196f919885 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_undo_soft_delete_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_undo_soft_delete_request_builder.go @@ -34,7 +34,7 @@ func NewItemTeamDefinitionChannelsItemMessagesItemRepliesItemUndoSoftDeleteReque // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-beta func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesItemUndoSoftDeleteRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemMessagesItemRepliesItemUndoSoftDeleteRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_request_builder.go index 35f2366f153..dff880c2212 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamDefinitionChannelsItemMessagesItemRepliesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamDefinitionChannelsItemMessagesItemRepliesRequestBuilderGetQueryParameters list all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, call get channel message. +// ItemTeamDefinitionChannelsItemMessagesItemRepliesRequestBuilderGetQueryParameters replies for a specified message. Supports $expand for channel messages. type ItemTeamDefinitionChannelsItemMessagesItemRepliesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesRequestBuilder) Count( func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesRequestBuilder) Delta()(*ItemTeamDefinitionChannelsItemMessagesItemRepliesDeltaRequestBuilder) { return NewItemTeamDefinitionChannelsItemMessagesItemRepliesDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, call get channel message. +// Get replies for a specified message. Supports $expand for channel messages. // returns a ChatMessageCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-list-replies?view=graph-rest-1.0 func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemMessagesItemRepliesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesRequestBuilder) Get(ct } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageCollectionResponseable), nil } -// Post send a new reply to a chatMessage in a specified channel. +// Post create new navigation property to replies for teamTemplateDefinition // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0 func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemTeamDefinitionChannelsItemMessagesItemRepliesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesRequestBuilder) Post(c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable), nil } -// ToGetRequestInformation list all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, call get channel message. +// ToGetRequestInformation replies for a specified message. Supports $expand for channel messages. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemMessagesItemRepliesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesRequestBuilder) ToGetR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation send a new reply to a chatMessage in a specified channel. +// ToPostRequestInformation create new navigation property to replies for teamTemplateDefinition // returns a *RequestInformation when successful func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemTeamDefinitionChannelsItemMessagesItemRepliesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_soft_delete_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_soft_delete_request_builder.go index ea7df81cd50..5b1c4b754e3 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_soft_delete_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_soft_delete_request_builder.go @@ -34,7 +34,7 @@ func NewItemTeamDefinitionChannelsItemMessagesItemSoftDeleteRequestBuilder(rawUr // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-beta func (m *ItemTeamDefinitionChannelsItemMessagesItemSoftDeleteRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemMessagesItemSoftDeleteRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_undo_soft_delete_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_undo_soft_delete_request_builder.go index 93191cc5a9a..edda8196189 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_undo_soft_delete_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_undo_soft_delete_request_builder.go @@ -34,7 +34,7 @@ func NewItemTeamDefinitionChannelsItemMessagesItemUndoSoftDeleteRequestBuilder(r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-beta func (m *ItemTeamDefinitionChannelsItemMessagesItemUndoSoftDeleteRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemMessagesItemUndoSoftDeleteRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamtemplatedefinition/item_team_definition_channels_item_messages_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_messages_request_builder.go index 94fef56a6c0..b8ec6645550 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_messages_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_messages_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamDefinitionChannelsItemMessagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamDefinitionChannelsItemMessagesRequestBuilderGetQueryParameters retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). +// ItemTeamDefinitionChannelsItemMessagesRequestBuilderGetQueryParameters a collection of all the messages in the channel. A navigation property. Nullable. type ItemTeamDefinitionChannelsItemMessagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *ItemTeamDefinitionChannelsItemMessagesRequestBuilder) Count()(*ItemTeam func (m *ItemTeamDefinitionChannelsItemMessagesRequestBuilder) Delta()(*ItemTeamDefinitionChannelsItemMessagesDeltaRequestBuilder) { return NewItemTeamDefinitionChannelsItemMessagesDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). +// Get a collection of all the messages in the channel. A navigation property. Nullable. // returns a ChatMessageCollectionResponseable when successful // returns a ODataError error 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-list-messages?view=graph-rest-1.0 func (m *ItemTeamDefinitionChannelsItemMessagesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemMessagesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *ItemTeamDefinitionChannelsItemMessagesRequestBuilder) Get(ctx context.C } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageCollectionResponseable), nil } -// Post send a new chatMessage in the specified channel. +// Post create new navigation property to messages for teamTemplateDefinition // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/channel-post-messages?view=graph-rest-1.0 func (m *ItemTeamDefinitionChannelsItemMessagesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemTeamDefinitionChannelsItemMessagesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesRequestBuilder) Post(ctx context. } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable), nil } -// ToGetRequestInformation retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). +// ToGetRequestInformation a collection of all the messages in the channel. A navigation property. Nullable. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionChannelsItemMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemMessagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesRequestBuilder) ToGetRequestInfor requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation send a new chatMessage in the specified channel. +// ToPostRequestInformation create new navigation property to messages for teamTemplateDefinition // returns a *RequestInformation when successful func (m *ItemTeamDefinitionChannelsItemMessagesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemTeamDefinitionChannelsItemMessagesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_channels_item_provision_email_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_provision_email_request_builder.go index 80ff2608fe7..a2dd8e23441 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_provision_email_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_provision_email_request_builder.go @@ -36,7 +36,7 @@ func NewItemTeamDefinitionChannelsItemProvisionEmailRequestBuilder(rawUrl string // returns a ODataError error 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-provisionemail?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-provisionemail?view=graph-rest-beta func (m *ItemTeamDefinitionChannelsItemProvisionEmailRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemProvisionEmailRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProvisionChannelEmailResultable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamtemplatedefinition/item_team_definition_channels_item_remove_email_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_remove_email_request_builder.go index a1884120dfd..9f01db2dcc9 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_remove_email_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_remove_email_request_builder.go @@ -34,7 +34,7 @@ func NewItemTeamDefinitionChannelsItemRemoveEmailRequestBuilder(rawUrl string, r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/channel-removeemail?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-removeemail?view=graph-rest-beta func (m *ItemTeamDefinitionChannelsItemRemoveEmailRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemRemoveEmailRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamtemplatedefinition/item_team_definition_channels_item_shared_with_teams_item_allowed_members_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_shared_with_teams_item_allowed_members_request_builder.go index 06f6bd6aafa..6ed1518ed5c 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_shared_with_teams_item_allowed_members_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_shared_with_teams_item_allowed_members_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamDefinitionChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamDefinitionChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilderGetQueryParameters get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant +// ItemTeamDefinitionChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilderGetQueryParameters a collection of team members who have access to the shared channel. type ItemTeamDefinitionChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewItemTeamDefinitionChannelsItemSharedWithTeamsItemAllowedMembersRequestBu func (m *ItemTeamDefinitionChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilder) Count()(*ItemTeamDefinitionChannelsItemSharedWithTeamsItemAllowedMembersCountRequestBuilder) { return NewItemTeamDefinitionChannelsItemSharedWithTeamsItemAllowedMembersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant +// Get a collection of team members who have access to the shared channel. // returns a ConversationMemberCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-list-allowedmembers?view=graph-rest-1.0 func (m *ItemTeamDefinitionChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *ItemTeamDefinitionChannelsItemSharedWithTeamsItemAllowedMembersRequestB } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable), nil } -// ToGetRequestInformation get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant +// ToGetRequestInformation a collection of team members who have access to the shared channel. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_channels_item_shared_with_teams_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_shared_with_teams_request_builder.go index 12dd89f4b1e..06cbec6181f 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_shared_with_teams_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_shared_with_teams_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamDefinitionChannelsItemSharedWithTeamsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamDefinitionChannelsItemSharedWithTeamsRequestBuilderGetQueryParameters get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. +// ItemTeamDefinitionChannelsItemSharedWithTeamsRequestBuilderGetQueryParameters a collection of teams with which a channel is shared. type ItemTeamDefinitionChannelsItemSharedWithTeamsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemTeamDefinitionChannelsItemSharedWithTeamsRequestBuilder(rawUrl strin func (m *ItemTeamDefinitionChannelsItemSharedWithTeamsRequestBuilder) Count()(*ItemTeamDefinitionChannelsItemSharedWithTeamsCountRequestBuilder) { return NewItemTeamDefinitionChannelsItemSharedWithTeamsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. +// Get a collection of teams with which a channel is shared. // returns a SharedWithChannelTeamInfoCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-list?view=graph-rest-1.0 func (m *ItemTeamDefinitionChannelsItemSharedWithTeamsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemSharedWithTeamsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharedWithChannelTeamInfoCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemTeamDefinitionChannelsItemSharedWithTeamsRequestBuilder) Post(ctx c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharedWithChannelTeamInfoable), nil } -// ToGetRequestInformation get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. +// ToGetRequestInformation a collection of teams with which a channel is shared. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionChannelsItemSharedWithTeamsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemSharedWithTeamsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_channels_item_shared_with_teams_shared_with_channel_team_info_item_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_shared_with_teams_shared_with_channel_team_info_item_request_builder.go index 53bc69e9207..de06e2299d2 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_shared_with_teams_shared_with_channel_team_info_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_shared_with_teams_shared_with_channel_team_info_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamDefinitionChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamDefinitionChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. +// ItemTeamDefinitionChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters a collection of teams with which a channel is shared. type ItemTeamDefinitionChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewItemTeamDefinitionChannelsItemSharedWithTeamsSharedWithChannelTeamInfoIt urlParams["request-raw-url"] = rawUrl return NewItemTeamDefinitionChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. +// Delete delete navigation property sharedWithTeams for teamTemplateDefinition // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-delete?view=graph-rest-1.0 func (m *ItemTeamDefinitionChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *ItemTeamDefinitionChannelsItemSharedWithTeamsSharedWithChannelTeamInfoI } return nil } -// Get get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. +// Get a collection of teams with which a channel is shared. // returns a SharedWithChannelTeamInfoable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-get?view=graph-rest-1.0 func (m *ItemTeamDefinitionChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharedWithChannelTeamInfoable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -126,7 +120,7 @@ func (m *ItemTeamDefinitionChannelsItemSharedWithTeamsSharedWithChannelTeamInfoI func (m *ItemTeamDefinitionChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) Team()(*ItemTeamDefinitionChannelsItemSharedWithTeamsItemTeamRequestBuilder) { return NewItemTeamDefinitionChannelsItemSharedWithTeamsItemTeamRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. +// ToDeleteRequestInformation delete navigation property sharedWithTeams for teamTemplateDefinition // returns a *RequestInformation when successful func (m *ItemTeamDefinitionChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -137,7 +131,7 @@ func (m *ItemTeamDefinitionChannelsItemSharedWithTeamsSharedWithChannelTeamInfoI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. +// ToGetRequestInformation a collection of teams with which a channel is shared. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_channels_item_tabs_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_tabs_request_builder.go index 0231ec40109..7de5dcacec6 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_tabs_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_tabs_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamDefinitionChannelsItemTabsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamDefinitionChannelsItemTabsRequestBuilderGetQueryParameters retrieve the list of tabs in the specified channel within a team. +// ItemTeamDefinitionChannelsItemTabsRequestBuilderGetQueryParameters a collection of all the tabs in the channel. A navigation property. type ItemTeamDefinitionChannelsItemTabsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemTeamDefinitionChannelsItemTabsRequestBuilder(rawUrl string, requestA func (m *ItemTeamDefinitionChannelsItemTabsRequestBuilder) Count()(*ItemTeamDefinitionChannelsItemTabsCountRequestBuilder) { return NewItemTeamDefinitionChannelsItemTabsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of tabs in the specified channel within a team. +// Get a collection of all the tabs in the channel. A navigation property. // returns a TeamsTabCollectionResponseable when successful // returns a ODataError error 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-list-tabs?view=graph-rest-1.0 func (m *ItemTeamDefinitionChannelsItemTabsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemTabsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsTabCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemTeamDefinitionChannelsItemTabsRequestBuilder) Post(ctx context.Cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsTabable), nil } -// ToGetRequestInformation retrieve the list of tabs in the specified channel within a team. +// ToGetRequestInformation a collection of all the tabs in the channel. A navigation property. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionChannelsItemTabsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemTabsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_channels_item_unarchive_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_unarchive_request_builder.go index b5d11820fc9..c9ceac34d2d 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_unarchive_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_unarchive_request_builder.go @@ -34,7 +34,7 @@ func NewItemTeamDefinitionChannelsItemUnarchiveRequestBuilder(rawUrl string, req // returns a ODataError error 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-unarchive?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-unarchive?view=graph-rest-beta func (m *ItemTeamDefinitionChannelsItemUnarchiveRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsItemUnarchiveRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamtemplatedefinition/item_team_definition_channels_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_request_builder.go index ffd05d8528f..bf9d33bab35 100644 --- a/teamtemplatedefinition/item_team_definition_channels_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamDefinitionChannelsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamDefinitionChannelsRequestBuilderGetQueryParameters retrieve the list of channels in this team. +// ItemTeamDefinitionChannelsRequestBuilderGetQueryParameters the collection of channels and messages associated with the team. type ItemTeamDefinitionChannelsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func NewItemTeamDefinitionChannelsRequestBuilder(rawUrl string, requestAdapter i func (m *ItemTeamDefinitionChannelsRequestBuilder) Count()(*ItemTeamDefinitionChannelsCountRequestBuilder) { return NewItemTeamDefinitionChannelsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of channels in this team. +// Get the collection of channels and messages associated with the team. // returns a ChannelCollectionResponseable when successful // returns a ODataError error 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-list?view=graph-rest-1.0 func (m *ItemTeamDefinitionChannelsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChannelCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -114,12 +111,9 @@ func (m *ItemTeamDefinitionChannelsRequestBuilder) GetAllMessages()(*ItemTeamDef func (m *ItemTeamDefinitionChannelsRequestBuilder) GetAllRetainedMessages()(*ItemTeamDefinitionChannelsGetAllRetainedMessagesRequestBuilder) { return NewItemTeamDefinitionChannelsGetAllRetainedMessagesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Post create a new channel in a team, as specified in the request body. When you create a channel, the maximum length of the channel's displayName is 50 characters. This display name appears to the user in Microsoft Teams. You can add a maximum of 200 members when you create a private channel. +// Post create new navigation property to channels for teamTemplateDefinition // returns a Channelable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/channel-post?view=graph-rest-1.0 func (m *ItemTeamDefinitionChannelsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable, requestConfiguration *ItemTeamDefinitionChannelsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -137,7 +131,7 @@ func (m *ItemTeamDefinitionChannelsRequestBuilder) Post(ctx context.Context, bod } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable), nil } -// ToGetRequestInformation retrieve the list of channels in this team. +// ToGetRequestInformation the collection of channels and messages associated with the team. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionChannelsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionChannelsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -151,7 +145,7 @@ func (m *ItemTeamDefinitionChannelsRequestBuilder) ToGetRequestInformation(ctx c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new channel in a team, as specified in the request body. When you create a channel, the maximum length of the channel's displayName is 50 characters. This display name appears to the user in Microsoft Teams. You can add a maximum of 200 members when you create a private channel. +// ToPostRequestInformation create new navigation property to channels for teamTemplateDefinition // returns a *RequestInformation when successful func (m *ItemTeamDefinitionChannelsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable, requestConfiguration *ItemTeamDefinitionChannelsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_clone_request_builder.go b/teamtemplatedefinition/item_team_definition_clone_request_builder.go index 984bedf6394..2e5e039033e 100644 --- a/teamtemplatedefinition/item_team_definition_clone_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_clone_request_builder.go @@ -34,7 +34,7 @@ func NewItemTeamDefinitionCloneRequestBuilder(rawUrl string, requestAdapter i2ae // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/team-clone?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/team-clone?view=graph-rest-beta func (m *ItemTeamDefinitionCloneRequestBuilder) Post(ctx context.Context, body ItemTeamDefinitionClonePostRequestBodyable, requestConfiguration *ItemTeamDefinitionCloneRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/teamtemplatedefinition/item_team_definition_complete_migration_request_builder.go b/teamtemplatedefinition/item_team_definition_complete_migration_request_builder.go index d64a8eccd32..addd08d699d 100644 --- a/teamtemplatedefinition/item_team_definition_complete_migration_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_complete_migration_request_builder.go @@ -34,7 +34,7 @@ func NewItemTeamDefinitionCompleteMigrationRequestBuilder(rawUrl string, request // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/team-completemigration?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/team-completemigration?view=graph-rest-beta func (m *ItemTeamDefinitionCompleteMigrationRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemTeamDefinitionCompleteMigrationRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamtemplatedefinition/item_team_definition_incoming_channels_request_builder.go b/teamtemplatedefinition/item_team_definition_incoming_channels_request_builder.go index 50d007b6780..73586c70103 100644 --- a/teamtemplatedefinition/item_team_definition_incoming_channels_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_incoming_channels_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamDefinitionIncomingChannelsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamDefinitionIncomingChannelsRequestBuilderGetQueryParameters get the list of incoming channels (channels shared with a team). +// ItemTeamDefinitionIncomingChannelsRequestBuilderGetQueryParameters list of channels shared with the team. type ItemTeamDefinitionIncomingChannelsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewItemTeamDefinitionIncomingChannelsRequestBuilder(rawUrl string, requestA func (m *ItemTeamDefinitionIncomingChannelsRequestBuilder) Count()(*ItemTeamDefinitionIncomingChannelsCountRequestBuilder) { return NewItemTeamDefinitionIncomingChannelsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of incoming channels (channels shared with a team). +// Get list of channels shared with the team. // returns a ChannelCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/team-list-incomingchannels?view=graph-rest-1.0 func (m *ItemTeamDefinitionIncomingChannelsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionIncomingChannelsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChannelCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *ItemTeamDefinitionIncomingChannelsRequestBuilder) Get(ctx context.Conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChannelCollectionResponseable), nil } -// ToGetRequestInformation get the list of incoming channels (channels shared with a team). +// ToGetRequestInformation list of channels shared with the team. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionIncomingChannelsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionIncomingChannelsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_installed_apps_item_upgrade_request_builder.go b/teamtemplatedefinition/item_team_definition_installed_apps_item_upgrade_request_builder.go index 024014e4f7e..a87274d5f92 100644 --- a/teamtemplatedefinition/item_team_definition_installed_apps_item_upgrade_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_installed_apps_item_upgrade_request_builder.go @@ -34,7 +34,7 @@ func NewItemTeamDefinitionInstalledAppsItemUpgradeRequestBuilder(rawUrl string, // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-teamsappinstallation-upgrade?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chat-teamsappinstallation-upgrade?view=graph-rest-beta func (m *ItemTeamDefinitionInstalledAppsItemUpgradeRequestBuilder) Post(ctx context.Context, body ItemTeamDefinitionInstalledAppsItemUpgradePostRequestBodyable, requestConfiguration *ItemTeamDefinitionInstalledAppsItemUpgradeRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/teamtemplatedefinition/item_team_definition_installed_apps_request_builder.go b/teamtemplatedefinition/item_team_definition_installed_apps_request_builder.go index e06195ee592..fcddaff1c7f 100644 --- a/teamtemplatedefinition/item_team_definition_installed_apps_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_installed_apps_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamDefinitionInstalledAppsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamDefinitionInstalledAppsRequestBuilderGetQueryParameters retrieve the list of apps installed in the specified team. +// ItemTeamDefinitionInstalledAppsRequestBuilderGetQueryParameters the apps installed in this team. type ItemTeamDefinitionInstalledAppsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemTeamDefinitionInstalledAppsRequestBuilder(rawUrl string, requestAdap func (m *ItemTeamDefinitionInstalledAppsRequestBuilder) Count()(*ItemTeamDefinitionInstalledAppsCountRequestBuilder) { return NewItemTeamDefinitionInstalledAppsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of apps installed in the specified team. +// Get the apps installed in this team. // returns a TeamsAppInstallationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/team-list-installedapps?view=graph-rest-1.0 func (m *ItemTeamDefinitionInstalledAppsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionInstalledAppsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppInstallationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemTeamDefinitionInstalledAppsRequestBuilder) Get(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppInstallationCollectionResponseable), nil } -// Post install an app to the specified team. +// Post create new navigation property to installedApps for teamTemplateDefinition // returns a TeamsAppInstallationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/team-post-installedapps?view=graph-rest-1.0 func (m *ItemTeamDefinitionInstalledAppsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppInstallationable, requestConfiguration *ItemTeamDefinitionInstalledAppsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppInstallationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemTeamDefinitionInstalledAppsRequestBuilder) Post(ctx context.Context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppInstallationable), nil } -// ToGetRequestInformation retrieve the list of apps installed in the specified team. +// ToGetRequestInformation the apps installed in this team. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionInstalledAppsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionInstalledAppsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemTeamDefinitionInstalledAppsRequestBuilder) ToGetRequestInformation( requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation install an app to the specified team. +// ToPostRequestInformation create new navigation property to installedApps for teamTemplateDefinition // returns a *RequestInformation when successful func (m *ItemTeamDefinitionInstalledAppsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppInstallationable, requestConfiguration *ItemTeamDefinitionInstalledAppsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_installed_apps_teams_app_installation_item_request_builder.go b/teamtemplatedefinition/item_team_definition_installed_apps_teams_app_installation_item_request_builder.go index f3c42bba118..4e12c57c23d 100644 --- a/teamtemplatedefinition/item_team_definition_installed_apps_teams_app_installation_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_installed_apps_teams_app_installation_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamDefinitionInstalledAppsTeamsAppInstallationItemRequestBuilderDelete // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamDefinitionInstalledAppsTeamsAppInstallationItemRequestBuilderGetQueryParameters retrieve the app installed in the specified team. +// ItemTeamDefinitionInstalledAppsTeamsAppInstallationItemRequestBuilderGetQueryParameters the apps installed in this team. type ItemTeamDefinitionInstalledAppsTeamsAppInstallationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemTeamDefinitionInstalledAppsTeamsAppInstallationItemRequestBuilder(ra urlParams["request-raw-url"] = rawUrl return NewItemTeamDefinitionInstalledAppsTeamsAppInstallationItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete uninstalls an app from the specified team. +// Delete delete navigation property installedApps for teamTemplateDefinition // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/team-delete-installedapps?view=graph-rest-1.0 func (m *ItemTeamDefinitionInstalledAppsTeamsAppInstallationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTeamDefinitionInstalledAppsTeamsAppInstallationItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemTeamDefinitionInstalledAppsTeamsAppInstallationItemRequestBuilder) } return nil } -// Get retrieve the app installed in the specified team. +// Get the apps installed in this team. // returns a TeamsAppInstallationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/team-get-installedapps?view=graph-rest-1.0 func (m *ItemTeamDefinitionInstalledAppsTeamsAppInstallationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionInstalledAppsTeamsAppInstallationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppInstallationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -126,7 +120,7 @@ func (m *ItemTeamDefinitionInstalledAppsTeamsAppInstallationItemRequestBuilder) func (m *ItemTeamDefinitionInstalledAppsTeamsAppInstallationItemRequestBuilder) TeamsAppDefinition()(*ItemTeamDefinitionInstalledAppsItemTeamsAppDefinitionRequestBuilder) { return NewItemTeamDefinitionInstalledAppsItemTeamsAppDefinitionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation uninstalls an app from the specified team. +// ToDeleteRequestInformation delete navigation property installedApps for teamTemplateDefinition // returns a *RequestInformation when successful func (m *ItemTeamDefinitionInstalledAppsTeamsAppInstallationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionInstalledAppsTeamsAppInstallationItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -137,7 +131,7 @@ func (m *ItemTeamDefinitionInstalledAppsTeamsAppInstallationItemRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the app installed in the specified team. +// ToGetRequestInformation the apps installed in this team. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionInstalledAppsTeamsAppInstallationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionInstalledAppsTeamsAppInstallationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_members_add_request_builder.go b/teamtemplatedefinition/item_team_definition_members_add_request_builder.go index 15aa54ae71e..7df604502cb 100644 --- a/teamtemplatedefinition/item_team_definition_members_add_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_members_add_request_builder.go @@ -36,7 +36,7 @@ func NewItemTeamDefinitionMembersAddRequestBuilder(rawUrl string, requestAdapter // returns a ODataError error 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-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-beta func (m *ItemTeamDefinitionMembersAddRequestBuilder) Post(ctx context.Context, body ItemTeamDefinitionMembersAddPostRequestBodyable, requestConfiguration *ItemTeamDefinitionMembersAddRequestBuilderPostRequestConfiguration)(ItemTeamDefinitionMembersAddResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ItemTeamDefinitionMembersAddRequestBuilder) Post(ctx context.Context, b // returns a ODataError error 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-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-beta func (m *ItemTeamDefinitionMembersAddRequestBuilder) PostAsAddPostResponse(ctx context.Context, body ItemTeamDefinitionMembersAddPostRequestBodyable, requestConfiguration *ItemTeamDefinitionMembersAddRequestBuilderPostRequestConfiguration)(ItemTeamDefinitionMembersAddPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/teamtemplatedefinition/item_team_definition_members_conversation_member_item_request_builder.go b/teamtemplatedefinition/item_team_definition_members_conversation_member_item_request_builder.go index b40316a954b..966cde1b245 100644 --- a/teamtemplatedefinition/item_team_definition_members_conversation_member_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_members_conversation_member_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamDefinitionMembersConversationMemberItemRequestBuilderDeleteRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamDefinitionMembersConversationMemberItemRequestBuilderGetQueryParameters get a conversationMember from a team. +// ItemTeamDefinitionMembersConversationMemberItemRequestBuilderGetQueryParameters members and owners of the team. type ItemTeamDefinitionMembersConversationMemberItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemTeamDefinitionMembersConversationMemberItemRequestBuilder(rawUrl str urlParams["request-raw-url"] = rawUrl return NewItemTeamDefinitionMembersConversationMemberItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove a conversationMember from a team. +// Delete delete navigation property members for teamTemplateDefinition // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/team-delete-members?view=graph-rest-1.0 func (m *ItemTeamDefinitionMembersConversationMemberItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTeamDefinitionMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemTeamDefinitionMembersConversationMemberItemRequestBuilder) Delete(c } return nil } -// Get get a conversationMember from a team. +// Get members and owners of the team. // 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/team-get-members?view=graph-rest-1.0 func (m *ItemTeamDefinitionMembersConversationMemberItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionMembersConversationMemberItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ItemTeamDefinitionMembersConversationMemberItemRequestBuilder) Get(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil } -// Patch update the role of a conversationMember in a team. +// Patch update the navigation property members in teamTemplateDefinition // 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/team-update-members?view=graph-rest-1.0 func (m *ItemTeamDefinitionMembersConversationMemberItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemTeamDefinitionMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *ItemTeamDefinitionMembersConversationMemberItemRequestBuilder) Patch(ct } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil } -// ToDeleteRequestInformation remove a conversationMember from a team. +// ToDeleteRequestInformation delete navigation property members for teamTemplateDefinition // returns a *RequestInformation when successful func (m *ItemTeamDefinitionMembersConversationMemberItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *ItemTeamDefinitionMembersConversationMemberItemRequestBuilder) ToDelete requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a conversationMember from a team. +// ToGetRequestInformation members and owners of the team. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionMembersConversationMemberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionMembersConversationMemberItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *ItemTeamDefinitionMembersConversationMemberItemRequestBuilder) ToGetReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the role of a conversationMember in a team. +// ToPatchRequestInformation update the navigation property members in teamTemplateDefinition // returns a *RequestInformation when successful func (m *ItemTeamDefinitionMembersConversationMemberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemTeamDefinitionMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_members_request_builder.go b/teamtemplatedefinition/item_team_definition_members_request_builder.go index 4364077cf01..4b8e5a063ef 100644 --- a/teamtemplatedefinition/item_team_definition_members_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_members_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamDefinitionMembersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamDefinitionMembersRequestBuilderGetQueryParameters get the conversationMember collection of a team. The membership IDs returned by the server must be treated as opaque strings. The client should not try to parse or make assumptions about these resource IDs. In the future, membership results may include users from various tenants, as indicated in the response. Clients should avoid assuming that all members exclusively belong to the current tenant. +// ItemTeamDefinitionMembersRequestBuilderGetQueryParameters members and owners of the team. type ItemTeamDefinitionMembersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func NewItemTeamDefinitionMembersRequestBuilder(rawUrl string, requestAdapter i2 func (m *ItemTeamDefinitionMembersRequestBuilder) Count()(*ItemTeamDefinitionMembersCountRequestBuilder) { return NewItemTeamDefinitionMembersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the conversationMember collection of a team. The membership IDs returned by the server must be treated as opaque strings. The client should not try to parse or make assumptions about these resource IDs. In the future, membership results may include users from various tenants, as indicated in the response. Clients should avoid assuming that all members exclusively belong to the current tenant. +// Get members and owners of the team. // returns a ConversationMemberCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/team-list-members?view=graph-rest-1.0 func (m *ItemTeamDefinitionMembersRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionMembersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *ItemTeamDefinitionMembersRequestBuilder) Get(ctx context.Context, reque } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable), nil } -// Post add a new conversation member to a team. +// Post create new navigation property to members for teamTemplateDefinition // 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/team-post-members?view=graph-rest-1.0 func (m *ItemTeamDefinitionMembersRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemTeamDefinitionMembersRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemTeamDefinitionMembersRequestBuilder) Post(ctx context.Context, body } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil } -// ToGetRequestInformation get the conversationMember collection of a team. The membership IDs returned by the server must be treated as opaque strings. The client should not try to parse or make assumptions about these resource IDs. In the future, membership results may include users from various tenants, as indicated in the response. Clients should avoid assuming that all members exclusively belong to the current tenant. +// ToGetRequestInformation members and owners of the team. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionMembersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ItemTeamDefinitionMembersRequestBuilder) ToGetRequestInformation(ctx co requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add a new conversation member to a team. +// ToPostRequestInformation create new navigation property to members for teamTemplateDefinition // returns a *RequestInformation when successful func (m *ItemTeamDefinitionMembersRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemTeamDefinitionMembersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_permission_grants_request_builder.go b/teamtemplatedefinition/item_team_definition_permission_grants_request_builder.go index 05e7520f4cc..18389a7217a 100644 --- a/teamtemplatedefinition/item_team_definition_permission_grants_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_permission_grants_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamDefinitionPermissionGrantsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamDefinitionPermissionGrantsRequestBuilderGetQueryParameters list all resource-specific permission grants on the team. This list specifies the Microsoft Entra apps that have access to the team, along with the corresponding kind of resource-specific access that each app has. +// ItemTeamDefinitionPermissionGrantsRequestBuilderGetQueryParameters a collection of permissions granted to apps to access the team. type ItemTeamDefinitionPermissionGrantsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemTeamDefinitionPermissionGrantsRequestBuilder(rawUrl string, requestA func (m *ItemTeamDefinitionPermissionGrantsRequestBuilder) Count()(*ItemTeamDefinitionPermissionGrantsCountRequestBuilder) { return NewItemTeamDefinitionPermissionGrantsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list all resource-specific permission grants on the team. This list specifies the Microsoft Entra apps that have access to the team, along with the corresponding kind of resource-specific access that each app has. +// Get a collection of permissions granted to apps to access the team. // returns a ResourceSpecificPermissionGrantCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/team-list-permissiongrants?view=graph-rest-1.0 func (m *ItemTeamDefinitionPermissionGrantsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionPermissionGrantsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ResourceSpecificPermissionGrantCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemTeamDefinitionPermissionGrantsRequestBuilder) Post(ctx context.Cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ResourceSpecificPermissionGrantable), nil } -// ToGetRequestInformation list all resource-specific permission grants on the team. This list specifies the Microsoft Entra apps that have access to the team, along with the corresponding kind of resource-specific access that each app has. +// ToGetRequestInformation a collection of permissions granted to apps to access the team. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionPermissionGrantsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionPermissionGrantsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_archive_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_archive_request_builder.go index 0f7eabf520a..a59369d5d8b 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_archive_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_archive_request_builder.go @@ -34,7 +34,7 @@ func NewItemTeamDefinitionPrimaryChannelArchiveRequestBuilder(rawUrl string, req // returns a ODataError error 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-archive?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-archive?view=graph-rest-beta func (m *ItemTeamDefinitionPrimaryChannelArchiveRequestBuilder) Post(ctx context.Context, body ItemTeamDefinitionPrimaryChannelArchivePostRequestBodyable, requestConfiguration *ItemTeamDefinitionPrimaryChannelArchiveRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_complete_migration_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_complete_migration_request_builder.go index ec0af0b34a4..01ea8bd56d9 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_complete_migration_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_complete_migration_request_builder.go @@ -34,7 +34,7 @@ func NewItemTeamDefinitionPrimaryChannelCompleteMigrationRequestBuilder(rawUrl s // returns a ODataError error 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-completemigration?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-completemigration?view=graph-rest-beta func (m *ItemTeamDefinitionPrimaryChannelCompleteMigrationRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelCompleteMigrationRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go index d4b3e244c16..b0c3c428dd9 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemTeamDefinitionPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamDefinitionPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters invoke function doesUserHaveAccess +// ItemTeamDefinitionPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters determine whether a user has access to a shared channel. type ItemTeamDefinitionPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters struct { // Usage: tenantId='@tenantId' TenantId *string `uriparametername:"tenantId"` @@ -41,10 +41,13 @@ func NewItemTeamDefinitionPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTe urlParams["request-raw-url"] = rawUrl return NewItemTeamDefinitionPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function doesUserHaveAccess +// Get determine whether a user has access to a shared channel. // Deprecated: This method is obsolete. Use GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse instead. // returns a ItemTeamDefinitionPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponseable when successful // returns a ODataError error 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-doesuserhaveaccess?view=graph-rest-beta func (m *ItemTeamDefinitionPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetRequestConfiguration)(ItemTeamDefinitionPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -62,9 +65,12 @@ func (m *ItemTeamDefinitionPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdT } return res.(ItemTeamDefinitionPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponseable), nil } -// GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse invoke function doesUserHaveAccess +// GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse determine whether a user has access to a shared channel. // returns a ItemTeamDefinitionPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponseable when successful // returns a ODataError error 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-doesuserhaveaccess?view=graph-rest-beta func (m *ItemTeamDefinitionPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder) GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetRequestConfiguration)(ItemTeamDefinitionPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -82,7 +88,7 @@ func (m *ItemTeamDefinitionPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdT } return res.(ItemTeamDefinitionPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponseable), nil } -// ToGetRequestInformation invoke function doesUserHaveAccess +// ToGetRequestInformation determine whether a user has access to a shared channel. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_files_folder_content_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_files_folder_content_request_builder.go index b0b0a60bcd3..2013ccdc6cb 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_files_folder_content_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_files_folder_content_request_builder.go @@ -48,9 +48,6 @@ func NewItemTeamDefinitionPrimaryChannelFilesFolderContentRequestBuilder(rawUrl // Get get content for the navigation property filesFolder from teamTemplateDefinition // 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/channel-get-filesfolder?view=graph-rest-1.0 func (m *ItemTeamDefinitionPrimaryChannelFilesFolderContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelFilesFolderContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_files_folder_content_stream_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_files_folder_content_stream_request_builder.go index c2bacfa676b..85cf5b37959 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_files_folder_content_stream_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_files_folder_content_stream_request_builder.go @@ -40,9 +40,6 @@ func NewItemTeamDefinitionPrimaryChannelFilesFolderContentStreamRequestBuilder(r // Get the content stream, if the item represents a file. // 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/channel-get-filesfolder?view=graph-rest-1.0 func (m *ItemTeamDefinitionPrimaryChannelFilesFolderContentStreamRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelFilesFolderContentStreamRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_files_folder_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_files_folder_request_builder.go index f60c59c2bb2..d80d418f2b6 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_files_folder_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_files_folder_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamDefinitionPrimaryChannelFilesFolderRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamDefinitionPrimaryChannelFilesFolderRequestBuilderGetQueryParameters get the metadata for the location where the files of a channel are stored. +// ItemTeamDefinitionPrimaryChannelFilesFolderRequestBuilderGetQueryParameters metadata for the location where the channel's files are stored. type ItemTeamDefinitionPrimaryChannelFilesFolderRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -50,12 +50,9 @@ func (m *ItemTeamDefinitionPrimaryChannelFilesFolderRequestBuilder) Content()(*I func (m *ItemTeamDefinitionPrimaryChannelFilesFolderRequestBuilder) ContentStream()(*ItemTeamDefinitionPrimaryChannelFilesFolderContentStreamRequestBuilder) { return NewItemTeamDefinitionPrimaryChannelFilesFolderContentStreamRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the metadata for the location where the files of a channel are stored. +// Get metadata for the location where the channel's files are stored. // returns a DriveItemable when successful // returns a ODataError error 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-get-filesfolder?view=graph-rest-1.0 func (m *ItemTeamDefinitionPrimaryChannelFilesFolderRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelFilesFolderRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,7 +70,7 @@ func (m *ItemTeamDefinitionPrimaryChannelFilesFolderRequestBuilder) Get(ctx cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable), nil } -// ToGetRequestInformation get the metadata for the location where the files of a channel are stored. +// ToGetRequestInformation metadata for the location where the channel's files are stored. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionPrimaryChannelFilesFolderRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelFilesFolderRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_members_add_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_members_add_request_builder.go index d9d91d946ab..4f8cc55cc03 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_members_add_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_members_add_request_builder.go @@ -36,7 +36,7 @@ func NewItemTeamDefinitionPrimaryChannelMembersAddRequestBuilder(rawUrl string, // returns a ODataError error 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-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-beta func (m *ItemTeamDefinitionPrimaryChannelMembersAddRequestBuilder) Post(ctx context.Context, body ItemTeamDefinitionPrimaryChannelMembersAddPostRequestBodyable, requestConfiguration *ItemTeamDefinitionPrimaryChannelMembersAddRequestBuilderPostRequestConfiguration)(ItemTeamDefinitionPrimaryChannelMembersAddResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMembersAddRequestBuilder) Post(ctx cont // returns a ODataError error 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-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-beta func (m *ItemTeamDefinitionPrimaryChannelMembersAddRequestBuilder) PostAsAddPostResponse(ctx context.Context, body ItemTeamDefinitionPrimaryChannelMembersAddPostRequestBodyable, requestConfiguration *ItemTeamDefinitionPrimaryChannelMembersAddRequestBuilderPostRequestConfiguration)(ItemTeamDefinitionPrimaryChannelMembersAddPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_members_conversation_member_item_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_members_conversation_member_item_request_builder.go index ad160b17763..3228cae2b64 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_members_conversation_member_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_members_conversation_member_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamDefinitionPrimaryChannelMembersConversationMemberItemRequestBuilder // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamDefinitionPrimaryChannelMembersConversationMemberItemRequestBuilderGetQueryParameters get a conversationMember from a channel. +// ItemTeamDefinitionPrimaryChannelMembersConversationMemberItemRequestBuilderGetQueryParameters a collection of membership records associated with the channel. type ItemTeamDefinitionPrimaryChannelMembersConversationMemberItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemTeamDefinitionPrimaryChannelMembersConversationMemberItemRequestBuil urlParams["request-raw-url"] = rawUrl return NewItemTeamDefinitionPrimaryChannelMembersConversationMemberItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. +// Delete delete navigation property members for teamTemplateDefinition // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/channel-delete-members?view=graph-rest-1.0 func (m *ItemTeamDefinitionPrimaryChannelMembersConversationMemberItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemTeamDefinitionPrimaryChannelMembersConversationMemberItemRequestBui } return nil } -// Get get a conversationMember from a channel. +// Get a collection of membership records associated with the 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-get-members?view=graph-rest-1.0 func (m *ItemTeamDefinitionPrimaryChannelMembersConversationMemberItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelMembersConversationMemberItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ItemTeamDefinitionPrimaryChannelMembersConversationMemberItemRequestBui } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil } -// Patch update the role of a conversationMember in a team.or channel. +// Patch update the navigation property members in teamTemplateDefinition // returns a ConversationMemberable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0 func (m *ItemTeamDefinitionPrimaryChannelMembersConversationMemberItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemTeamDefinitionPrimaryChannelMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMembersConversationMemberItemRequestBui } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil } -// ToDeleteRequestInformation delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. +// ToDeleteRequestInformation delete navigation property members for teamTemplateDefinition // returns a *RequestInformation when successful func (m *ItemTeamDefinitionPrimaryChannelMembersConversationMemberItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMembersConversationMemberItemRequestBui requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a conversationMember from a channel. +// ToGetRequestInformation a collection of membership records associated with the channel. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionPrimaryChannelMembersConversationMemberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelMembersConversationMemberItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMembersConversationMemberItemRequestBui requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the role of a conversationMember in a team.or channel. +// ToPatchRequestInformation update the navigation property members in teamTemplateDefinition // returns a *RequestInformation when successful func (m *ItemTeamDefinitionPrimaryChannelMembersConversationMemberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemTeamDefinitionPrimaryChannelMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_members_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_members_request_builder.go index 6b5610bc733..9fe6ae7bd45 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_members_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_members_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamDefinitionPrimaryChannelMembersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamDefinitionPrimaryChannelMembersRequestBuilderGetQueryParameters retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. +// ItemTeamDefinitionPrimaryChannelMembersRequestBuilderGetQueryParameters a collection of membership records associated with the channel. type ItemTeamDefinitionPrimaryChannelMembersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func NewItemTeamDefinitionPrimaryChannelMembersRequestBuilder(rawUrl string, req func (m *ItemTeamDefinitionPrimaryChannelMembersRequestBuilder) Count()(*ItemTeamDefinitionPrimaryChannelMembersCountRequestBuilder) { return NewItemTeamDefinitionPrimaryChannelMembersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. +// Get a collection of membership records associated with the channel. // returns a ConversationMemberCollectionResponseable when successful // returns a ODataError error 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-list-members?view=graph-rest-1.0 func (m *ItemTeamDefinitionPrimaryChannelMembersRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelMembersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *ItemTeamDefinitionPrimaryChannelMembersRequestBuilder) Get(ctx context. } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable), nil } -// Post add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. +// Post create new navigation property to members for teamTemplateDefinition // returns a ConversationMemberable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/channel-post-members?view=graph-rest-1.0 func (m *ItemTeamDefinitionPrimaryChannelMembersRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemTeamDefinitionPrimaryChannelMembersRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMembersRequestBuilder) Post(ctx context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil } -// ToGetRequestInformation retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. +// ToGetRequestInformation a collection of membership records associated with the channel. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionPrimaryChannelMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelMembersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMembersRequestBuilder) ToGetRequestInfo requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. +// ToPostRequestInformation create new navigation property to members for teamTemplateDefinition // returns a *RequestInformation when successful func (m *ItemTeamDefinitionPrimaryChannelMembersRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemTeamDefinitionPrimaryChannelMembersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_messages_chat_message_item_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_messages_chat_message_item_request_builder.go index 5b6d77d3506..c96a0c530ca 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_messages_chat_message_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_messages_chat_message_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamDefinitionPrimaryChannelMessagesChatMessageItemRequestBuilderDelete // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamDefinitionPrimaryChannelMessagesChatMessageItemRequestBuilderGetQueryParameters retrieve a single message or a message reply in a channel or a chat. +// ItemTeamDefinitionPrimaryChannelMessagesChatMessageItemRequestBuilderGetQueryParameters a collection of all the messages in the channel. A navigation property. Nullable. type ItemTeamDefinitionPrimaryChannelMessagesChatMessageItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesChatMessageItemRequestBuilder) } return nil } -// Get retrieve a single message or a message reply in a channel or a chat. +// Get a collection of all the messages in the channel. A navigation property. Nullable. // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-get?view=graph-rest-1.0 func (m *ItemTeamDefinitionPrimaryChannelMessagesChatMessageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelMessagesChatMessageItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,12 +95,9 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesChatMessageItemRequestBuilder) func (m *ItemTeamDefinitionPrimaryChannelMessagesChatMessageItemRequestBuilder) HostedContents()(*ItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsRequestBuilder) { return NewItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method doesn't support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. +// Patch update the navigation property messages in teamTemplateDefinition // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-update?view=graph-rest-1.0 func (m *ItemTeamDefinitionPrimaryChannelMessagesChatMessageItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemTeamDefinitionPrimaryChannelMessagesChatMessageItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -147,7 +141,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesChatMessageItemRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a single message or a message reply in a channel or a chat. +// ToGetRequestInformation a collection of all the messages in the channel. A navigation property. Nullable. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionPrimaryChannelMessagesChatMessageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelMessagesChatMessageItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -161,7 +155,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesChatMessageItemRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method doesn't support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. +// ToPatchRequestInformation update the navigation property messages in teamTemplateDefinition // returns a *RequestInformation when successful func (m *ItemTeamDefinitionPrimaryChannelMessagesChatMessageItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemTeamDefinitionPrimaryChannelMessagesChatMessageItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_messages_delta_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_messages_delta_request_builder.go index 023467c6de6..9bd3f8eae37 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_messages_delta_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_messages_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemTeamDefinitionPrimaryChannelMessagesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamDefinitionPrimaryChannelMessagesDeltaRequestBuilderGetQueryParameters invoke function delta +// ItemTeamDefinitionPrimaryChannelMessagesDeltaRequestBuilderGetQueryParameters retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. type ItemTeamDefinitionPrimaryChannelMessagesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewItemTeamDefinitionPrimaryChannelMessagesDeltaRequestBuilder(rawUrl strin urlParams["request-raw-url"] = rawUrl return NewItemTeamDefinitionPrimaryChannelMessagesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemTeamDefinitionPrimaryChannelMessagesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-beta func (m *ItemTeamDefinitionPrimaryChannelMessagesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelMessagesDeltaRequestBuilderGetRequestConfiguration)(ItemTeamDefinitionPrimaryChannelMessagesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesDeltaRequestBuilder) Get(ctx co } return res.(ItemTeamDefinitionPrimaryChannelMessagesDeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // returns a ItemTeamDefinitionPrimaryChannelMessagesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-beta func (m *ItemTeamDefinitionPrimaryChannelMessagesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelMessagesDeltaRequestBuilderGetRequestConfiguration)(ItemTeamDefinitionPrimaryChannelMessagesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesDeltaRequestBuilder) GetAsDelta } return res.(ItemTeamDefinitionPrimaryChannelMessagesDeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionPrimaryChannelMessagesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelMessagesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index 0062c795ac3..c043c834f78 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsChatMessageHosted // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters retrieve the properties and relationships of chatMessageHostedContent object. +// ItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters content in a message hosted by Microsoft Teams - for example, images or code snippets. type ItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsChatMessageHo } return nil } -// Get retrieve the properties and relationships of chatMessageHostedContent object. +// Get content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a ChatMessageHostedContentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessagehostedcontent-get?view=graph-rest-1.0 func (m *ItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsChatMessageHo requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of chatMessageHostedContent object. +// ToGetRequestInformation content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_hosted_contents_item_value_content_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_hosted_contents_item_value_content_request_builder.go index 02fd80b7753..418894cb8a4 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_hosted_contents_item_value_content_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_hosted_contents_item_value_content_request_builder.go @@ -40,9 +40,6 @@ func NewItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsItemValueConte // Get get media content for the navigation property hostedContents from teamTemplateDefinition // 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/chatmessage-list-hostedcontents?view=graph-rest-1.0 func (m *ItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsItemValueContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsItemValueContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_hosted_contents_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_hosted_contents_request_builder.go index 4113ef65a85..3940913c788 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_hosted_contents_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_hosted_contents_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsRequestBuilderGetQueryParameters retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// ItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsRequestBuilderGetQueryParameters content in a message hosted by Microsoft Teams - for example, images or code snippets. type ItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsRequestBuilder func (m *ItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsRequestBuilder) Count()(*ItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsCountRequestBuilder) { return NewItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// Get content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a ChatMessageHostedContentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0 func (m *ItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsRequestBuilde } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentable), nil } -// ToGetRequestInformation retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// ToGetRequestInformation content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_chat_message_item_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_chat_message_item_request_builder.go index 015f672b985..3dcc90e9f66 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_chat_message_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_chat_message_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamDefinitionPrimaryChannelMessagesItemRepliesChatMessageItemRequestBu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamDefinitionPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilderGetQueryParameters retrieve a single message or a message reply in a channel or a chat. +// ItemTeamDefinitionPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilderGetQueryParameters replies for a specified message. Supports $expand for channel messages. type ItemTeamDefinitionPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesChatMessageItemReque } return nil } -// Get retrieve a single message or a message reply in a channel or a chat. +// Get replies for a specified message. Supports $expand for channel messages. // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-get?view=graph-rest-1.0 func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -139,7 +136,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesChatMessageItemReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a single message or a message reply in a channel or a chat. +// ToGetRequestInformation replies for a specified message. Supports $expand for channel messages. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_delta_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_delta_request_builder.go index 5aaa7ee339b..add0982e151 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_delta_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemTeamDefinitionPrimaryChannelMessagesItemRepliesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamDefinitionPrimaryChannelMessagesItemRepliesDeltaRequestBuilderGetQueryParameters invoke function delta +// ItemTeamDefinitionPrimaryChannelMessagesItemRepliesDeltaRequestBuilderGetQueryParameters retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. type ItemTeamDefinitionPrimaryChannelMessagesItemRepliesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewItemTeamDefinitionPrimaryChannelMessagesItemRepliesDeltaRequestBuilder(r urlParams["request-raw-url"] = rawUrl return NewItemTeamDefinitionPrimaryChannelMessagesItemRepliesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemTeamDefinitionPrimaryChannelMessagesItemRepliesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-beta func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesDeltaRequestBuilderGetRequestConfiguration)(ItemTeamDefinitionPrimaryChannelMessagesItemRepliesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesDeltaRequestBuilder) } return res.(ItemTeamDefinitionPrimaryChannelMessagesItemRepliesDeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // returns a ItemTeamDefinitionPrimaryChannelMessagesItemRepliesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-beta func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesDeltaRequestBuilderGetRequestConfiguration)(ItemTeamDefinitionPrimaryChannelMessagesItemRepliesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesDeltaRequestBuilder) } return res.(ItemTeamDefinitionPrimaryChannelMessagesItemRepliesDeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index 723bea8f3a9..3f7324736f2 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsChatMe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters retrieve the properties and relationships of chatMessageHostedContent object. +// ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters content in a message hosted by Microsoft Teams - for example, images or code snippets. type ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsCh } return nil } -// Get retrieve the properties and relationships of chatMessageHostedContent object. +// Get content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a ChatMessageHostedContentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessagehostedcontent-get?view=graph-rest-1.0 func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsCh requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of chatMessageHostedContent object. +// ToGetRequestInformation content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go index a9a70a93904..4e3370c6f51 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go @@ -40,9 +40,6 @@ func NewItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsIte // Get get media content for the navigation property hostedContents from teamTemplateDefinition // 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/chatmessage-list-hostedcontents?view=graph-rest-1.0 func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_request_builder.go index a3f6e79db2c..74d8c2e1e1e 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilderGetQueryParameters retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilderGetQueryParameters content in a message hosted by Microsoft Teams - for example, images or code snippets. type ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsReq func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilder) Count()(*ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsCountRequestBuilder) { return NewItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// Get content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a ChatMessageHostedContentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0 func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsRe } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentable), nil } -// ToGetRequestInformation retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// ToGetRequestInformation content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_soft_delete_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_soft_delete_request_builder.go index fc9753395a4..fcb238b02d5 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_soft_delete_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_soft_delete_request_builder.go @@ -34,7 +34,7 @@ func NewItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemSoftDeleteRequest // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-beta func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemSoftDeleteRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemSoftDeleteRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_undo_soft_delete_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_undo_soft_delete_request_builder.go index 272a6014410..f8151048722 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_undo_soft_delete_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_undo_soft_delete_request_builder.go @@ -34,7 +34,7 @@ func NewItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemUndoSoftDeleteReq // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-beta func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemUndoSoftDeleteRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemUndoSoftDeleteRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_request_builder.go index e32b9e40ba2..8ba87523687 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamDefinitionPrimaryChannelMessagesItemRepliesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamDefinitionPrimaryChannelMessagesItemRepliesRequestBuilderGetQueryParameters list all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, call get channel message. +// ItemTeamDefinitionPrimaryChannelMessagesItemRepliesRequestBuilderGetQueryParameters replies for a specified message. Supports $expand for channel messages. type ItemTeamDefinitionPrimaryChannelMessagesItemRepliesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesRequestBuilder) Coun func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesRequestBuilder) Delta()(*ItemTeamDefinitionPrimaryChannelMessagesItemRepliesDeltaRequestBuilder) { return NewItemTeamDefinitionPrimaryChannelMessagesItemRepliesDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, call get channel message. +// Get replies for a specified message. Supports $expand for channel messages. // returns a ChatMessageCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-list-replies?view=graph-rest-1.0 func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesRequestBuilder) Get( } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageCollectionResponseable), nil } -// Post send a new reply to a chatMessage in a specified channel. +// Post create new navigation property to replies for teamTemplateDefinition // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0 func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesRequestBuilder) Post } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable), nil } -// ToGetRequestInformation list all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, call get channel message. +// ToGetRequestInformation replies for a specified message. Supports $expand for channel messages. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesRequestBuilder) ToGe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation send a new reply to a chatMessage in a specified channel. +// ToPostRequestInformation create new navigation property to replies for teamTemplateDefinition // returns a *RequestInformation when successful func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_soft_delete_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_soft_delete_request_builder.go index cebdf227fbc..e57245de4da 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_soft_delete_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_soft_delete_request_builder.go @@ -34,7 +34,7 @@ func NewItemTeamDefinitionPrimaryChannelMessagesItemSoftDeleteRequestBuilder(raw // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-beta func (m *ItemTeamDefinitionPrimaryChannelMessagesItemSoftDeleteRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelMessagesItemSoftDeleteRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_undo_soft_delete_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_undo_soft_delete_request_builder.go index 085419bb1b1..faf5e470cf0 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_undo_soft_delete_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_undo_soft_delete_request_builder.go @@ -34,7 +34,7 @@ func NewItemTeamDefinitionPrimaryChannelMessagesItemUndoSoftDeleteRequestBuilder // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-beta func (m *ItemTeamDefinitionPrimaryChannelMessagesItemUndoSoftDeleteRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelMessagesItemUndoSoftDeleteRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_messages_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_messages_request_builder.go index dae8fe07b16..f070ae72f09 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_messages_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_messages_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamDefinitionPrimaryChannelMessagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamDefinitionPrimaryChannelMessagesRequestBuilderGetQueryParameters retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). +// ItemTeamDefinitionPrimaryChannelMessagesRequestBuilderGetQueryParameters a collection of all the messages in the channel. A navigation property. Nullable. type ItemTeamDefinitionPrimaryChannelMessagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesRequestBuilder) Count()(*ItemTe func (m *ItemTeamDefinitionPrimaryChannelMessagesRequestBuilder) Delta()(*ItemTeamDefinitionPrimaryChannelMessagesDeltaRequestBuilder) { return NewItemTeamDefinitionPrimaryChannelMessagesDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). +// Get a collection of all the messages in the channel. A navigation property. Nullable. // returns a ChatMessageCollectionResponseable when successful // returns a ODataError error 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-list-messages?view=graph-rest-1.0 func (m *ItemTeamDefinitionPrimaryChannelMessagesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelMessagesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesRequestBuilder) Get(ctx context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageCollectionResponseable), nil } -// Post send a new chatMessage in the specified channel. +// Post create new navigation property to messages for teamTemplateDefinition // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/channel-post-messages?view=graph-rest-1.0 func (m *ItemTeamDefinitionPrimaryChannelMessagesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemTeamDefinitionPrimaryChannelMessagesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesRequestBuilder) Post(ctx contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable), nil } -// ToGetRequestInformation retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). +// ToGetRequestInformation a collection of all the messages in the channel. A navigation property. Nullable. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionPrimaryChannelMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelMessagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesRequestBuilder) ToGetRequestInf requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation send a new chatMessage in the specified channel. +// ToPostRequestInformation create new navigation property to messages for teamTemplateDefinition // returns a *RequestInformation when successful func (m *ItemTeamDefinitionPrimaryChannelMessagesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemTeamDefinitionPrimaryChannelMessagesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_provision_email_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_provision_email_request_builder.go index 151e4bcae65..e41c2bb0f91 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_provision_email_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_provision_email_request_builder.go @@ -36,7 +36,7 @@ func NewItemTeamDefinitionPrimaryChannelProvisionEmailRequestBuilder(rawUrl stri // returns a ODataError error 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-provisionemail?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-provisionemail?view=graph-rest-beta func (m *ItemTeamDefinitionPrimaryChannelProvisionEmailRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelProvisionEmailRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProvisionChannelEmailResultable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_remove_email_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_remove_email_request_builder.go index 4a24094cd43..7f18037b18d 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_remove_email_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_remove_email_request_builder.go @@ -34,7 +34,7 @@ func NewItemTeamDefinitionPrimaryChannelRemoveEmailRequestBuilder(rawUrl string, // returns a ODataError error 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-removeemail?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-removeemail?view=graph-rest-beta func (m *ItemTeamDefinitionPrimaryChannelRemoveEmailRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelRemoveEmailRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_request_builder.go index 291aae3b97f..dc6540e2fa6 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamDefinitionPrimaryChannelRequestBuilderDeleteRequestConfiguration st // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamDefinitionPrimaryChannelRequestBuilderGetQueryParameters get the default channel, General, of a team. +// ItemTeamDefinitionPrimaryChannelRequestBuilderGetQueryParameters the general channel for the team. type ItemTeamDefinitionPrimaryChannelRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -90,12 +90,9 @@ func (m *ItemTeamDefinitionPrimaryChannelRequestBuilder) DoesUserHaveAccessuserI func (m *ItemTeamDefinitionPrimaryChannelRequestBuilder) FilesFolder()(*ItemTeamDefinitionPrimaryChannelFilesFolderRequestBuilder) { return NewItemTeamDefinitionPrimaryChannelFilesFolderRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the default channel, General, of a team. +// Get the general channel for the team. // returns a Channelable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/team-get-primarychannel?view=graph-rest-1.0 func (m *ItemTeamDefinitionPrimaryChannelRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -174,7 +171,7 @@ func (m *ItemTeamDefinitionPrimaryChannelRequestBuilder) ToDeleteRequestInformat requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the default channel, General, of a team. +// ToGetRequestInformation the general channel for the team. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionPrimaryChannelRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_shared_with_teams_item_allowed_members_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_shared_with_teams_item_allowed_members_request_builder.go index 6b91ccb1f46..7833bb4bdeb 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_shared_with_teams_item_allowed_members_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_shared_with_teams_item_allowed_members_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamDefinitionPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamDefinitionPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilderGetQueryParameters get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant +// ItemTeamDefinitionPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilderGetQueryParameters a collection of team members who have access to the shared channel. type ItemTeamDefinitionPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewItemTeamDefinitionPrimaryChannelSharedWithTeamsItemAllowedMembersRequest func (m *ItemTeamDefinitionPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilder) Count()(*ItemTeamDefinitionPrimaryChannelSharedWithTeamsItemAllowedMembersCountRequestBuilder) { return NewItemTeamDefinitionPrimaryChannelSharedWithTeamsItemAllowedMembersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant +// Get a collection of team members who have access to the shared channel. // returns a ConversationMemberCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-list-allowedmembers?view=graph-rest-1.0 func (m *ItemTeamDefinitionPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *ItemTeamDefinitionPrimaryChannelSharedWithTeamsItemAllowedMembersReques } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable), nil } -// ToGetRequestInformation get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant +// ToGetRequestInformation a collection of team members who have access to the shared channel. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_shared_with_teams_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_shared_with_teams_request_builder.go index 649adb202b4..fd100615406 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_shared_with_teams_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_shared_with_teams_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamDefinitionPrimaryChannelSharedWithTeamsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamDefinitionPrimaryChannelSharedWithTeamsRequestBuilderGetQueryParameters get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. +// ItemTeamDefinitionPrimaryChannelSharedWithTeamsRequestBuilderGetQueryParameters a collection of teams with which a channel is shared. type ItemTeamDefinitionPrimaryChannelSharedWithTeamsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemTeamDefinitionPrimaryChannelSharedWithTeamsRequestBuilder(rawUrl str func (m *ItemTeamDefinitionPrimaryChannelSharedWithTeamsRequestBuilder) Count()(*ItemTeamDefinitionPrimaryChannelSharedWithTeamsCountRequestBuilder) { return NewItemTeamDefinitionPrimaryChannelSharedWithTeamsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. +// Get a collection of teams with which a channel is shared. // returns a SharedWithChannelTeamInfoCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-list?view=graph-rest-1.0 func (m *ItemTeamDefinitionPrimaryChannelSharedWithTeamsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelSharedWithTeamsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharedWithChannelTeamInfoCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemTeamDefinitionPrimaryChannelSharedWithTeamsRequestBuilder) Post(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharedWithChannelTeamInfoable), nil } -// ToGetRequestInformation get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. +// ToGetRequestInformation a collection of teams with which a channel is shared. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionPrimaryChannelSharedWithTeamsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelSharedWithTeamsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_shared_with_teams_shared_with_channel_team_info_item_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_shared_with_teams_shared_with_channel_team_info_item_request_builder.go index 1ab98f42e80..e7d5f65a996 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_shared_with_teams_shared_with_channel_team_info_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_shared_with_teams_shared_with_channel_team_info_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamDefinitionPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoIte // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamDefinitionPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. +// ItemTeamDefinitionPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters a collection of teams with which a channel is shared. type ItemTeamDefinitionPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewItemTeamDefinitionPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfo urlParams["request-raw-url"] = rawUrl return NewItemTeamDefinitionPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. +// Delete delete navigation property sharedWithTeams for teamTemplateDefinition // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-delete?view=graph-rest-1.0 func (m *ItemTeamDefinitionPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *ItemTeamDefinitionPrimaryChannelSharedWithTeamsSharedWithChannelTeamInf } return nil } -// Get get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. +// Get a collection of teams with which a channel is shared. // returns a SharedWithChannelTeamInfoable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-get?view=graph-rest-1.0 func (m *ItemTeamDefinitionPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharedWithChannelTeamInfoable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -126,7 +120,7 @@ func (m *ItemTeamDefinitionPrimaryChannelSharedWithTeamsSharedWithChannelTeamInf func (m *ItemTeamDefinitionPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) Team()(*ItemTeamDefinitionPrimaryChannelSharedWithTeamsItemTeamRequestBuilder) { return NewItemTeamDefinitionPrimaryChannelSharedWithTeamsItemTeamRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. +// ToDeleteRequestInformation delete navigation property sharedWithTeams for teamTemplateDefinition // returns a *RequestInformation when successful func (m *ItemTeamDefinitionPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -137,7 +131,7 @@ func (m *ItemTeamDefinitionPrimaryChannelSharedWithTeamsSharedWithChannelTeamInf requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. +// ToGetRequestInformation a collection of teams with which a channel is shared. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_tabs_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_tabs_request_builder.go index 764f2a959b9..f31016817f9 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_tabs_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_tabs_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamDefinitionPrimaryChannelTabsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamDefinitionPrimaryChannelTabsRequestBuilderGetQueryParameters retrieve the list of tabs in the specified channel within a team. +// ItemTeamDefinitionPrimaryChannelTabsRequestBuilderGetQueryParameters a collection of all the tabs in the channel. A navigation property. type ItemTeamDefinitionPrimaryChannelTabsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemTeamDefinitionPrimaryChannelTabsRequestBuilder(rawUrl string, reques func (m *ItemTeamDefinitionPrimaryChannelTabsRequestBuilder) Count()(*ItemTeamDefinitionPrimaryChannelTabsCountRequestBuilder) { return NewItemTeamDefinitionPrimaryChannelTabsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of tabs in the specified channel within a team. +// Get a collection of all the tabs in the channel. A navigation property. // returns a TeamsTabCollectionResponseable when successful // returns a ODataError error 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-list-tabs?view=graph-rest-1.0 func (m *ItemTeamDefinitionPrimaryChannelTabsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelTabsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsTabCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemTeamDefinitionPrimaryChannelTabsRequestBuilder) Post(ctx context.Co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsTabable), nil } -// ToGetRequestInformation retrieve the list of tabs in the specified channel within a team. +// ToGetRequestInformation a collection of all the tabs in the channel. A navigation property. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionPrimaryChannelTabsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelTabsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_unarchive_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_unarchive_request_builder.go index f73240bc553..bf8c58af0da 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_unarchive_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_unarchive_request_builder.go @@ -34,7 +34,7 @@ func NewItemTeamDefinitionPrimaryChannelUnarchiveRequestBuilder(rawUrl string, r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/channel-unarchive?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-unarchive?view=graph-rest-beta func (m *ItemTeamDefinitionPrimaryChannelUnarchiveRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemTeamDefinitionPrimaryChannelUnarchiveRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamtemplatedefinition/item_team_definition_request_builder.go b/teamtemplatedefinition/item_team_definition_request_builder.go index ece063b30fa..fc9e53d4798 100644 --- a/teamtemplatedefinition/item_team_definition_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamDefinitionRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamDefinitionRequestBuilderGetQueryParameters get the properties of the team associated with a teamTemplateDefinition object. +// ItemTeamDefinitionRequestBuilderGetQueryParameters collection of channel objects. A channel represents a topic, and therefore a logical isolation of discussion, within a team. type ItemTeamDefinitionRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -95,12 +95,9 @@ func (m *ItemTeamDefinitionRequestBuilder) Delete(ctx context.Context, requestCo } return nil } -// Get get the properties of the team associated with a teamTemplateDefinition object. +// Get collection of channel objects. A channel represents a topic, and therefore a logical isolation of discussion, within a team. // returns a Teamable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/teamtemplatedefinition-get-teamdefinition?view=graph-rest-1.0 func (m *ItemTeamDefinitionRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Teamable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -219,7 +216,7 @@ func (m *ItemTeamDefinitionRequestBuilder) ToDeleteRequestInformation(ctx contex requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties of the team associated with a teamTemplateDefinition object. +// ToGetRequestInformation collection of channel objects. A channel represents a topic, and therefore a logical isolation of discussion, within a team. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_schedule_day_notes_day_note_item_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_day_notes_day_note_item_request_builder.go index 19772de1a88..59e23b4f909 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_day_notes_day_note_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_day_notes_day_note_item_request_builder.go @@ -90,12 +90,9 @@ func (m *ItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilder) Get(ctx co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteable), nil } -// Patch update the properties of a day note. +// Patch update the navigation property dayNotes in teamTemplateDefinition // returns a DayNoteable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/daynote-update?view=graph-rest-1.0 func (m *ItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteable, requestConfiguration *ItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -138,7 +135,7 @@ func (m *ItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilder) ToGetReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a day note. +// ToPatchRequestInformation update the navigation property dayNotes in teamTemplateDefinition // returns a *RequestInformation when successful func (m *ItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteable, requestConfiguration *ItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_schedule_offer_shift_requests_offer_shift_request_item_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_offer_shift_requests_offer_shift_request_item_request_builder.go index a3e5496982c..6e81ef300c6 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_offer_shift_requests_offer_shift_request_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_offer_shift_requests_offer_shift_request_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamDefinitionScheduleOfferShiftRequestsOfferShiftRequestItemRequestBui // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamDefinitionScheduleOfferShiftRequestsOfferShiftRequestItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an offerShiftRequest object. +// ItemTeamDefinitionScheduleOfferShiftRequestsOfferShiftRequestItemRequestBuilderGetQueryParameters the offer requests for shifts in the schedule. type ItemTeamDefinitionScheduleOfferShiftRequestsOfferShiftRequestItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemTeamDefinitionScheduleOfferShiftRequestsOfferShiftRequestItemReques } return nil } -// Get retrieve the properties and relationships of an offerShiftRequest object. +// Get the offer requests for shifts in the schedule. // returns a OfferShiftRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/offershiftrequest-get?view=graph-rest-1.0 func (m *ItemTeamDefinitionScheduleOfferShiftRequestsOfferShiftRequestItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleOfferShiftRequestsOfferShiftRequestItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OfferShiftRequestable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemTeamDefinitionScheduleOfferShiftRequestsOfferShiftRequestItemReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of an offerShiftRequest object. +// ToGetRequestInformation the offer requests for shifts in the schedule. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionScheduleOfferShiftRequestsOfferShiftRequestItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleOfferShiftRequestsOfferShiftRequestItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_schedule_offer_shift_requests_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_offer_shift_requests_request_builder.go index cb01ae2ef55..35aee87103f 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_offer_shift_requests_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_offer_shift_requests_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamDefinitionScheduleOfferShiftRequestsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamDefinitionScheduleOfferShiftRequestsRequestBuilderGetQueryParameters retrieve the properties and relationships of all offerShiftRequest objects in a team. +// ItemTeamDefinitionScheduleOfferShiftRequestsRequestBuilderGetQueryParameters the offer requests for shifts in the schedule. type ItemTeamDefinitionScheduleOfferShiftRequestsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemTeamDefinitionScheduleOfferShiftRequestsRequestBuilder(rawUrl string func (m *ItemTeamDefinitionScheduleOfferShiftRequestsRequestBuilder) Count()(*ItemTeamDefinitionScheduleOfferShiftRequestsCountRequestBuilder) { return NewItemTeamDefinitionScheduleOfferShiftRequestsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties and relationships of all offerShiftRequest objects in a team. +// Get the offer requests for shifts in the schedule. // returns a OfferShiftRequestCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/offershiftrequest-list?view=graph-rest-1.0 func (m *ItemTeamDefinitionScheduleOfferShiftRequestsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleOfferShiftRequestsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OfferShiftRequestCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemTeamDefinitionScheduleOfferShiftRequestsRequestBuilder) Get(ctx con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OfferShiftRequestCollectionResponseable), nil } -// Post create an instance of an offerShiftRequest. +// Post create new navigation property to offerShiftRequests for teamTemplateDefinition // returns a OfferShiftRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/offershiftrequest-post?view=graph-rest-1.0 func (m *ItemTeamDefinitionScheduleOfferShiftRequestsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OfferShiftRequestable, requestConfiguration *ItemTeamDefinitionScheduleOfferShiftRequestsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OfferShiftRequestable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemTeamDefinitionScheduleOfferShiftRequestsRequestBuilder) Post(ctx co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OfferShiftRequestable), nil } -// ToGetRequestInformation retrieve the properties and relationships of all offerShiftRequest objects in a team. +// ToGetRequestInformation the offer requests for shifts in the schedule. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionScheduleOfferShiftRequestsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleOfferShiftRequestsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemTeamDefinitionScheduleOfferShiftRequestsRequestBuilder) ToGetReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an instance of an offerShiftRequest. +// ToPostRequestInformation create new navigation property to offerShiftRequests for teamTemplateDefinition // returns a *RequestInformation when successful func (m *ItemTeamDefinitionScheduleOfferShiftRequestsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OfferShiftRequestable, requestConfiguration *ItemTeamDefinitionScheduleOfferShiftRequestsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_schedule_open_shift_change_requests_open_shift_change_request_item_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_open_shift_change_requests_open_shift_change_request_item_request_builder.go index 75ce229cb56..313c3e4eff1 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_open_shift_change_requests_open_shift_change_request_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_open_shift_change_requests_open_shift_change_request_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamDefinitionScheduleOpenShiftChangeRequestsOpenShiftChangeRequestItem // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamDefinitionScheduleOpenShiftChangeRequestsOpenShiftChangeRequestItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an openShiftChangeRequest object. +// ItemTeamDefinitionScheduleOpenShiftChangeRequestsOpenShiftChangeRequestItemRequestBuilderGetQueryParameters the open shift requests in the schedule. type ItemTeamDefinitionScheduleOpenShiftChangeRequestsOpenShiftChangeRequestItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemTeamDefinitionScheduleOpenShiftChangeRequestsOpenShiftChangeRequest } return nil } -// Get retrieve the properties and relationships of an openShiftChangeRequest object. +// Get the open shift requests in the schedule. // returns a OpenShiftChangeRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/openshiftchangerequest-get?view=graph-rest-1.0 func (m *ItemTeamDefinitionScheduleOpenShiftChangeRequestsOpenShiftChangeRequestItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleOpenShiftChangeRequestsOpenShiftChangeRequestItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftChangeRequestable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemTeamDefinitionScheduleOpenShiftChangeRequestsOpenShiftChangeRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of an openShiftChangeRequest object. +// ToGetRequestInformation the open shift requests in the schedule. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionScheduleOpenShiftChangeRequestsOpenShiftChangeRequestItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleOpenShiftChangeRequestsOpenShiftChangeRequestItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_schedule_open_shift_change_requests_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_open_shift_change_requests_request_builder.go index 2b34dadf558..71a1383545d 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_open_shift_change_requests_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_open_shift_change_requests_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamDefinitionScheduleOpenShiftChangeRequestsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamDefinitionScheduleOpenShiftChangeRequestsRequestBuilderGetQueryParameters retrieve a list of openShiftChangeRequest objects in a team. +// ItemTeamDefinitionScheduleOpenShiftChangeRequestsRequestBuilderGetQueryParameters the open shift requests in the schedule. type ItemTeamDefinitionScheduleOpenShiftChangeRequestsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemTeamDefinitionScheduleOpenShiftChangeRequestsRequestBuilder(rawUrl s func (m *ItemTeamDefinitionScheduleOpenShiftChangeRequestsRequestBuilder) Count()(*ItemTeamDefinitionScheduleOpenShiftChangeRequestsCountRequestBuilder) { return NewItemTeamDefinitionScheduleOpenShiftChangeRequestsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of openShiftChangeRequest objects in a team. +// Get the open shift requests in the schedule. // returns a OpenShiftChangeRequestCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/openshiftchangerequest-list?view=graph-rest-1.0 func (m *ItemTeamDefinitionScheduleOpenShiftChangeRequestsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleOpenShiftChangeRequestsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftChangeRequestCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemTeamDefinitionScheduleOpenShiftChangeRequestsRequestBuilder) Get(ct } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftChangeRequestCollectionResponseable), nil } -// Post create instance of an openShiftChangeRequest object. +// Post create new navigation property to openShiftChangeRequests for teamTemplateDefinition // returns a OpenShiftChangeRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/openshiftchangerequest-post?view=graph-rest-1.0 func (m *ItemTeamDefinitionScheduleOpenShiftChangeRequestsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftChangeRequestable, requestConfiguration *ItemTeamDefinitionScheduleOpenShiftChangeRequestsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftChangeRequestable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemTeamDefinitionScheduleOpenShiftChangeRequestsRequestBuilder) Post(c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftChangeRequestable), nil } -// ToGetRequestInformation retrieve a list of openShiftChangeRequest objects in a team. +// ToGetRequestInformation the open shift requests in the schedule. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionScheduleOpenShiftChangeRequestsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleOpenShiftChangeRequestsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemTeamDefinitionScheduleOpenShiftChangeRequestsRequestBuilder) ToGetR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create instance of an openShiftChangeRequest object. +// ToPostRequestInformation create new navigation property to openShiftChangeRequests for teamTemplateDefinition // returns a *RequestInformation when successful func (m *ItemTeamDefinitionScheduleOpenShiftChangeRequestsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftChangeRequestable, requestConfiguration *ItemTeamDefinitionScheduleOpenShiftChangeRequestsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_schedule_open_shifts_open_shift_item_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_open_shifts_open_shift_item_request_builder.go index 38fa0bba9ec..e9acbf816d1 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_open_shifts_open_shift_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_open_shifts_open_shift_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamDefinitionScheduleOpenShiftsOpenShiftItemRequestBuilderDeleteReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamDefinitionScheduleOpenShiftsOpenShiftItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an openshift object. +// ItemTeamDefinitionScheduleOpenShiftsOpenShiftItemRequestBuilderGetQueryParameters the set of open shifts in a scheduling group in the schedule. type ItemTeamDefinitionScheduleOpenShiftsOpenShiftItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemTeamDefinitionScheduleOpenShiftsOpenShiftItemRequestBuilder(rawUrl s urlParams["request-raw-url"] = rawUrl return NewItemTeamDefinitionScheduleOpenShiftsOpenShiftItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an openShift object. +// Delete delete navigation property openShifts for teamTemplateDefinition // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/openshift-delete?view=graph-rest-1.0 func (m *ItemTeamDefinitionScheduleOpenShiftsOpenShiftItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleOpenShiftsOpenShiftItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemTeamDefinitionScheduleOpenShiftsOpenShiftItemRequestBuilder) Delete } return nil } -// Get retrieve the properties and relationships of an openshift object. +// Get the set of open shifts in a scheduling group in the schedule. // returns a OpenShiftable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/openshift-get?view=graph-rest-1.0 func (m *ItemTeamDefinitionScheduleOpenShiftsOpenShiftItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleOpenShiftsOpenShiftItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ItemTeamDefinitionScheduleOpenShiftsOpenShiftItemRequestBuilder) Get(ct } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftable), nil } -// Patch update the properties of an openShift object. +// Patch update the navigation property openShifts in teamTemplateDefinition // returns a OpenShiftable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/openshift-update?view=graph-rest-1.0 func (m *ItemTeamDefinitionScheduleOpenShiftsOpenShiftItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftable, requestConfiguration *ItemTeamDefinitionScheduleOpenShiftsOpenShiftItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *ItemTeamDefinitionScheduleOpenShiftsOpenShiftItemRequestBuilder) Patch( } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftable), nil } -// ToDeleteRequestInformation delete an openShift object. +// ToDeleteRequestInformation delete navigation property openShifts for teamTemplateDefinition // returns a *RequestInformation when successful func (m *ItemTeamDefinitionScheduleOpenShiftsOpenShiftItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleOpenShiftsOpenShiftItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *ItemTeamDefinitionScheduleOpenShiftsOpenShiftItemRequestBuilder) ToDele requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of an openshift object. +// ToGetRequestInformation the set of open shifts in a scheduling group in the schedule. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionScheduleOpenShiftsOpenShiftItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleOpenShiftsOpenShiftItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *ItemTeamDefinitionScheduleOpenShiftsOpenShiftItemRequestBuilder) ToGetR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an openShift object. +// ToPatchRequestInformation update the navigation property openShifts in teamTemplateDefinition // returns a *RequestInformation when successful func (m *ItemTeamDefinitionScheduleOpenShiftsOpenShiftItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftable, requestConfiguration *ItemTeamDefinitionScheduleOpenShiftsOpenShiftItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_schedule_open_shifts_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_open_shifts_request_builder.go index 14eebe858e1..e467f79d526 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_open_shifts_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_open_shifts_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamDefinitionScheduleOpenShiftsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamDefinitionScheduleOpenShiftsRequestBuilderGetQueryParameters list openshift objects in a team. +// ItemTeamDefinitionScheduleOpenShiftsRequestBuilderGetQueryParameters the set of open shifts in a scheduling group in the schedule. type ItemTeamDefinitionScheduleOpenShiftsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemTeamDefinitionScheduleOpenShiftsRequestBuilder(rawUrl string, reques func (m *ItemTeamDefinitionScheduleOpenShiftsRequestBuilder) Count()(*ItemTeamDefinitionScheduleOpenShiftsCountRequestBuilder) { return NewItemTeamDefinitionScheduleOpenShiftsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list openshift objects in a team. +// Get the set of open shifts in a scheduling group in the schedule. // returns a OpenShiftCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/openshift-list?view=graph-rest-1.0 func (m *ItemTeamDefinitionScheduleOpenShiftsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleOpenShiftsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemTeamDefinitionScheduleOpenShiftsRequestBuilder) Get(ctx context.Con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftCollectionResponseable), nil } -// Post create an instance of an openshift object. +// Post create new navigation property to openShifts for teamTemplateDefinition // returns a OpenShiftable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/openshift-post?view=graph-rest-1.0 func (m *ItemTeamDefinitionScheduleOpenShiftsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftable, requestConfiguration *ItemTeamDefinitionScheduleOpenShiftsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemTeamDefinitionScheduleOpenShiftsRequestBuilder) Post(ctx context.Co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftable), nil } -// ToGetRequestInformation list openshift objects in a team. +// ToGetRequestInformation the set of open shifts in a scheduling group in the schedule. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionScheduleOpenShiftsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleOpenShiftsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemTeamDefinitionScheduleOpenShiftsRequestBuilder) ToGetRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an instance of an openshift object. +// ToPostRequestInformation create new navigation property to openShifts for teamTemplateDefinition // returns a *RequestInformation when successful func (m *ItemTeamDefinitionScheduleOpenShiftsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftable, requestConfiguration *ItemTeamDefinitionScheduleOpenShiftsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_schedule_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_request_builder.go index 4d00c9043c9..4a3a719edb3 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamDefinitionScheduleRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamDefinitionScheduleRequestBuilderGetQueryParameters retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).When clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule. +// ItemTeamDefinitionScheduleRequestBuilderGetQueryParameters the schedule of shifts for this team. type ItemTeamDefinitionScheduleRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *ItemTeamDefinitionScheduleRequestBuilder) Delete(ctx context.Context, r } return nil } -// Get retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).When clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule. +// Get the schedule of shifts for this team. // returns a Scheduleable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/schedule-get?view=graph-rest-1.0 func (m *ItemTeamDefinitionScheduleRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Scheduleable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -189,7 +186,7 @@ func (m *ItemTeamDefinitionScheduleRequestBuilder) ToDeleteRequestInformation(ct requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).When clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule. +// ToGetRequestInformation the schedule of shifts for this team. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionScheduleRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_schedule_scheduling_groups_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_scheduling_groups_request_builder.go index f5ecc3b9b97..b65f2a2d68f 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_scheduling_groups_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_scheduling_groups_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamDefinitionScheduleSchedulingGroupsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamDefinitionScheduleSchedulingGroupsRequestBuilderGetQueryParameters get the list of schedulingGroups in this schedule. +// ItemTeamDefinitionScheduleSchedulingGroupsRequestBuilderGetQueryParameters the logical grouping of users in the schedule (usually by role). type ItemTeamDefinitionScheduleSchedulingGroupsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,12 +74,9 @@ func NewItemTeamDefinitionScheduleSchedulingGroupsRequestBuilder(rawUrl string, func (m *ItemTeamDefinitionScheduleSchedulingGroupsRequestBuilder) Count()(*ItemTeamDefinitionScheduleSchedulingGroupsCountRequestBuilder) { return NewItemTeamDefinitionScheduleSchedulingGroupsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of schedulingGroups in this schedule. +// Get the logical grouping of users in the schedule (usually by role). // returns a SchedulingGroupCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/schedule-list-schedulinggroups?view=graph-rest-1.0 func (m *ItemTeamDefinitionScheduleSchedulingGroupsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleSchedulingGroupsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SchedulingGroupCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -97,12 +94,9 @@ func (m *ItemTeamDefinitionScheduleSchedulingGroupsRequestBuilder) Get(ctx conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SchedulingGroupCollectionResponseable), nil } -// Post create a new schedulingGroup. +// Post create new navigation property to schedulingGroups for teamTemplateDefinition // returns a SchedulingGroupable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/schedule-post-schedulinggroups?view=graph-rest-1.0 func (m *ItemTeamDefinitionScheduleSchedulingGroupsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SchedulingGroupable, requestConfiguration *ItemTeamDefinitionScheduleSchedulingGroupsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SchedulingGroupable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -120,7 +114,7 @@ func (m *ItemTeamDefinitionScheduleSchedulingGroupsRequestBuilder) Post(ctx cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SchedulingGroupable), nil } -// ToGetRequestInformation get the list of schedulingGroups in this schedule. +// ToGetRequestInformation the logical grouping of users in the schedule (usually by role). // returns a *RequestInformation when successful func (m *ItemTeamDefinitionScheduleSchedulingGroupsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleSchedulingGroupsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -134,7 +128,7 @@ func (m *ItemTeamDefinitionScheduleSchedulingGroupsRequestBuilder) ToGetRequestI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new schedulingGroup. +// ToPostRequestInformation create new navigation property to schedulingGroups for teamTemplateDefinition // returns a *RequestInformation when successful func (m *ItemTeamDefinitionScheduleSchedulingGroupsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SchedulingGroupable, requestConfiguration *ItemTeamDefinitionScheduleSchedulingGroupsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_schedule_scheduling_groups_scheduling_group_item_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_scheduling_groups_scheduling_group_item_request_builder.go index 8e09ee33b38..e992f96e862 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_scheduling_groups_scheduling_group_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_scheduling_groups_scheduling_group_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamDefinitionScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamDefinitionScheduleSchedulingGroupsSchedulingGroupItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a schedulingGroup by ID. +// ItemTeamDefinitionScheduleSchedulingGroupsSchedulingGroupItemRequestBuilderGetQueryParameters the logical grouping of users in the schedule (usually by role). type ItemTeamDefinitionScheduleSchedulingGroupsSchedulingGroupItemRequestBuilderGetQueryParameters struct { // Select properties to be returned Select []string `uriparametername:"%24select"` @@ -52,11 +52,8 @@ func NewItemTeamDefinitionScheduleSchedulingGroupsSchedulingGroupItemRequestBuil urlParams["request-raw-url"] = rawUrl return NewItemTeamDefinitionScheduleSchedulingGroupsSchedulingGroupItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete mark a schedulingGroup as inactive by setting its isActive property.This method does not remove the schedulingGroup from the schedule. Existing shift instances assigned to the scheduling group remain part of the group. +// Delete delete navigation property schedulingGroups for teamTemplateDefinition // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/schedulinggroup-delete?view=graph-rest-1.0 func (m *ItemTeamDefinitionScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleSchedulingGroupsSchedulingGroupItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -71,12 +68,9 @@ func (m *ItemTeamDefinitionScheduleSchedulingGroupsSchedulingGroupItemRequestBui } return nil } -// Get retrieve the properties and relationships of a schedulingGroup by ID. +// Get the logical grouping of users in the schedule (usually by role). // returns a SchedulingGroupable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/schedulinggroup-get?view=graph-rest-1.0 func (m *ItemTeamDefinitionScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleSchedulingGroupsSchedulingGroupItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SchedulingGroupable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -94,12 +88,9 @@ func (m *ItemTeamDefinitionScheduleSchedulingGroupsSchedulingGroupItemRequestBui } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SchedulingGroupable), nil } -// Patch replace an existing schedulingGroup. If the specified schedulingGroup doesn't exist, this method returns 404 Not found. +// Patch update the navigation property schedulingGroups in teamTemplateDefinition // returns a SchedulingGroupable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/schedulinggroup-put?view=graph-rest-1.0 func (m *ItemTeamDefinitionScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SchedulingGroupable, requestConfiguration *ItemTeamDefinitionScheduleSchedulingGroupsSchedulingGroupItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SchedulingGroupable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +108,7 @@ func (m *ItemTeamDefinitionScheduleSchedulingGroupsSchedulingGroupItemRequestBui } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SchedulingGroupable), nil } -// ToDeleteRequestInformation mark a schedulingGroup as inactive by setting its isActive property.This method does not remove the schedulingGroup from the schedule. Existing shift instances assigned to the scheduling group remain part of the group. +// ToDeleteRequestInformation delete navigation property schedulingGroups for teamTemplateDefinition // returns a *RequestInformation when successful func (m *ItemTeamDefinitionScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleSchedulingGroupsSchedulingGroupItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -128,7 +119,7 @@ func (m *ItemTeamDefinitionScheduleSchedulingGroupsSchedulingGroupItemRequestBui requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a schedulingGroup by ID. +// ToGetRequestInformation the logical grouping of users in the schedule (usually by role). // returns a *RequestInformation when successful func (m *ItemTeamDefinitionScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleSchedulingGroupsSchedulingGroupItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -142,7 +133,7 @@ func (m *ItemTeamDefinitionScheduleSchedulingGroupsSchedulingGroupItemRequestBui requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation replace an existing schedulingGroup. If the specified schedulingGroup doesn't exist, this method returns 404 Not found. +// ToPatchRequestInformation update the navigation property schedulingGroups in teamTemplateDefinition // returns a *RequestInformation when successful func (m *ItemTeamDefinitionScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SchedulingGroupable, requestConfiguration *ItemTeamDefinitionScheduleSchedulingGroupsSchedulingGroupItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_schedule_share_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_share_request_builder.go index 5b28934b2b4..4dabfc58aba 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_share_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_share_request_builder.go @@ -34,7 +34,7 @@ func NewItemTeamDefinitionScheduleShareRequestBuilder(rawUrl string, requestAdap // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/schedule-share?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/schedule-share?view=graph-rest-beta func (m *ItemTeamDefinitionScheduleShareRequestBuilder) Post(ctx context.Context, body ItemTeamDefinitionScheduleSharePostRequestBodyable, requestConfiguration *ItemTeamDefinitionScheduleShareRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/teamtemplatedefinition/item_team_definition_schedule_shifts_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_shifts_request_builder.go index fac59ee96e3..d33801c3c20 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_shifts_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_shifts_request_builder.go @@ -77,9 +77,6 @@ func (m *ItemTeamDefinitionScheduleShiftsRequestBuilder) Count()(*ItemTeamDefini // Get the shifts in the schedule. // returns a ShiftCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/schedule-list-shifts?view=graph-rest-1.0 func (m *ItemTeamDefinitionScheduleShiftsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleShiftsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ShiftCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -97,12 +94,9 @@ func (m *ItemTeamDefinitionScheduleShiftsRequestBuilder) Get(ctx context.Context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ShiftCollectionResponseable), nil } -// Post create a new shift instance in a schedule. The duration of a shift cannot be less than 1 minute or longer than 24 hours. +// Post create new navigation property to shifts for teamTemplateDefinition // returns a Shiftable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/schedule-post-shifts?view=graph-rest-1.0 func (m *ItemTeamDefinitionScheduleShiftsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Shiftable, requestConfiguration *ItemTeamDefinitionScheduleShiftsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Shiftable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -134,7 +128,7 @@ func (m *ItemTeamDefinitionScheduleShiftsRequestBuilder) ToGetRequestInformation requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new shift instance in a schedule. The duration of a shift cannot be less than 1 minute or longer than 24 hours. +// ToPostRequestInformation create new navigation property to shifts for teamTemplateDefinition // returns a *RequestInformation when successful func (m *ItemTeamDefinitionScheduleShiftsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Shiftable, requestConfiguration *ItemTeamDefinitionScheduleShiftsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_schedule_shifts_shift_item_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_shifts_shift_item_request_builder.go index 88bbe58dc7f..fceea7446ab 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_shifts_shift_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_shifts_shift_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamDefinitionScheduleShiftsShiftItemRequestBuilderDeleteRequestConfigu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamDefinitionScheduleShiftsShiftItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a shift object by ID. +// ItemTeamDefinitionScheduleShiftsShiftItemRequestBuilderGetQueryParameters the shifts in the schedule. type ItemTeamDefinitionScheduleShiftsShiftItemRequestBuilderGetQueryParameters struct { // Select properties to be returned Select []string `uriparametername:"%24select"` @@ -52,11 +52,8 @@ func NewItemTeamDefinitionScheduleShiftsShiftItemRequestBuilder(rawUrl string, r urlParams["request-raw-url"] = rawUrl return NewItemTeamDefinitionScheduleShiftsShiftItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a shift from the schedule. +// Delete delete navigation property shifts for teamTemplateDefinition // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/shift-delete?view=graph-rest-1.0 func (m *ItemTeamDefinitionScheduleShiftsShiftItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleShiftsShiftItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -71,12 +68,9 @@ func (m *ItemTeamDefinitionScheduleShiftsShiftItemRequestBuilder) Delete(ctx con } return nil } -// Get retrieve the properties and relationships of a shift object by ID. +// Get the shifts in the schedule. // returns a Shiftable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/shift-get?view=graph-rest-1.0 func (m *ItemTeamDefinitionScheduleShiftsShiftItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleShiftsShiftItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Shiftable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -94,12 +88,9 @@ func (m *ItemTeamDefinitionScheduleShiftsShiftItemRequestBuilder) Get(ctx contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Shiftable), nil } -// Patch replace an existing shift. If the specified shift doesn't exist, this method returns 404 Not found. The duration of a shift can't be less than 1 minute or longer than 24 hours. +// Patch update the navigation property shifts in teamTemplateDefinition // returns a Shiftable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/shift-put?view=graph-rest-1.0 func (m *ItemTeamDefinitionScheduleShiftsShiftItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Shiftable, requestConfiguration *ItemTeamDefinitionScheduleShiftsShiftItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Shiftable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +108,7 @@ func (m *ItemTeamDefinitionScheduleShiftsShiftItemRequestBuilder) Patch(ctx cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Shiftable), nil } -// ToDeleteRequestInformation delete a shift from the schedule. +// ToDeleteRequestInformation delete navigation property shifts for teamTemplateDefinition // returns a *RequestInformation when successful func (m *ItemTeamDefinitionScheduleShiftsShiftItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleShiftsShiftItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -128,7 +119,7 @@ func (m *ItemTeamDefinitionScheduleShiftsShiftItemRequestBuilder) ToDeleteReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a shift object by ID. +// ToGetRequestInformation the shifts in the schedule. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionScheduleShiftsShiftItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleShiftsShiftItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -142,7 +133,7 @@ func (m *ItemTeamDefinitionScheduleShiftsShiftItemRequestBuilder) ToGetRequestIn requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation replace an existing shift. If the specified shift doesn't exist, this method returns 404 Not found. The duration of a shift can't be less than 1 minute or longer than 24 hours. +// ToPatchRequestInformation update the navigation property shifts in teamTemplateDefinition // returns a *RequestInformation when successful func (m *ItemTeamDefinitionScheduleShiftsShiftItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Shiftable, requestConfiguration *ItemTeamDefinitionScheduleShiftsShiftItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_schedule_swap_shifts_change_requests_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_swap_shifts_change_requests_request_builder.go index 6858d359ddb..c673beb48e6 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_swap_shifts_change_requests_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_swap_shifts_change_requests_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamDefinitionScheduleSwapShiftsChangeRequestsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamDefinitionScheduleSwapShiftsChangeRequestsRequestBuilderGetQueryParameters retrieve a list of swapShiftsChangeRequest objects in a team. +// ItemTeamDefinitionScheduleSwapShiftsChangeRequestsRequestBuilderGetQueryParameters the swap requests for shifts in the schedule. type ItemTeamDefinitionScheduleSwapShiftsChangeRequestsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemTeamDefinitionScheduleSwapShiftsChangeRequestsRequestBuilder(rawUrl func (m *ItemTeamDefinitionScheduleSwapShiftsChangeRequestsRequestBuilder) Count()(*ItemTeamDefinitionScheduleSwapShiftsChangeRequestsCountRequestBuilder) { return NewItemTeamDefinitionScheduleSwapShiftsChangeRequestsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of swapShiftsChangeRequest objects in a team. +// Get the swap requests for shifts in the schedule. // returns a SwapShiftsChangeRequestCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/swapshiftschangerequest-list?view=graph-rest-1.0 func (m *ItemTeamDefinitionScheduleSwapShiftsChangeRequestsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleSwapShiftsChangeRequestsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SwapShiftsChangeRequestCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemTeamDefinitionScheduleSwapShiftsChangeRequestsRequestBuilder) Get(c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SwapShiftsChangeRequestCollectionResponseable), nil } -// Post create an instance of a swapShiftsChangeRequest object. +// Post create new navigation property to swapShiftsChangeRequests for teamTemplateDefinition // returns a SwapShiftsChangeRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/swapshiftschangerequest-post?view=graph-rest-1.0 func (m *ItemTeamDefinitionScheduleSwapShiftsChangeRequestsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SwapShiftsChangeRequestable, requestConfiguration *ItemTeamDefinitionScheduleSwapShiftsChangeRequestsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SwapShiftsChangeRequestable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemTeamDefinitionScheduleSwapShiftsChangeRequestsRequestBuilder) Post( } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SwapShiftsChangeRequestable), nil } -// ToGetRequestInformation retrieve a list of swapShiftsChangeRequest objects in a team. +// ToGetRequestInformation the swap requests for shifts in the schedule. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionScheduleSwapShiftsChangeRequestsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleSwapShiftsChangeRequestsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemTeamDefinitionScheduleSwapShiftsChangeRequestsRequestBuilder) ToGet requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an instance of a swapShiftsChangeRequest object. +// ToPostRequestInformation create new navigation property to swapShiftsChangeRequests for teamTemplateDefinition // returns a *RequestInformation when successful func (m *ItemTeamDefinitionScheduleSwapShiftsChangeRequestsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SwapShiftsChangeRequestable, requestConfiguration *ItemTeamDefinitionScheduleSwapShiftsChangeRequestsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_schedule_swap_shifts_change_requests_swap_shifts_change_request_item_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_swap_shifts_change_requests_swap_shifts_change_request_item_request_builder.go index 60756ab63a8..eb517a73678 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_swap_shifts_change_requests_swap_shifts_change_request_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_swap_shifts_change_requests_swap_shifts_change_request_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamDefinitionScheduleSwapShiftsChangeRequestsSwapShiftsChangeRequestIt // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamDefinitionScheduleSwapShiftsChangeRequestsSwapShiftsChangeRequestItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a swapShiftsChangeRequest object. +// ItemTeamDefinitionScheduleSwapShiftsChangeRequestsSwapShiftsChangeRequestItemRequestBuilderGetQueryParameters the swap requests for shifts in the schedule. type ItemTeamDefinitionScheduleSwapShiftsChangeRequestsSwapShiftsChangeRequestItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemTeamDefinitionScheduleSwapShiftsChangeRequestsSwapShiftsChangeReque } return nil } -// Get retrieve the properties and relationships of a swapShiftsChangeRequest object. +// Get the swap requests for shifts in the schedule. // returns a SwapShiftsChangeRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/swapshiftschangerequest-get?view=graph-rest-1.0 func (m *ItemTeamDefinitionScheduleSwapShiftsChangeRequestsSwapShiftsChangeRequestItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleSwapShiftsChangeRequestsSwapShiftsChangeRequestItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SwapShiftsChangeRequestable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemTeamDefinitionScheduleSwapShiftsChangeRequestsSwapShiftsChangeReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a swapShiftsChangeRequest object. +// ToGetRequestInformation the swap requests for shifts in the schedule. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionScheduleSwapShiftsChangeRequestsSwapShiftsChangeRequestItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleSwapShiftsChangeRequestsSwapShiftsChangeRequestItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_schedule_time_cards_clock_in_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_time_cards_clock_in_request_builder.go index 2eaa6a0505f..ca466b30c6c 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_time_cards_clock_in_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_time_cards_clock_in_request_builder.go @@ -36,7 +36,7 @@ func NewItemTeamDefinitionScheduleTimeCardsClockInRequestBuilder(rawUrl string, // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/timecard-clockin?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/timecard-clockin?view=graph-rest-beta func (m *ItemTeamDefinitionScheduleTimeCardsClockInRequestBuilder) Post(ctx context.Context, body ItemTeamDefinitionScheduleTimeCardsClockInPostRequestBodyable, requestConfiguration *ItemTeamDefinitionScheduleTimeCardsClockInRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/teamtemplatedefinition/item_team_definition_schedule_time_cards_item_clock_out_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_time_cards_item_clock_out_request_builder.go index 982ffbf9da0..c357d8f434d 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_time_cards_item_clock_out_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_time_cards_item_clock_out_request_builder.go @@ -36,7 +36,7 @@ func NewItemTeamDefinitionScheduleTimeCardsItemClockOutRequestBuilder(rawUrl str // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/timecard-clockout?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/timecard-clockout?view=graph-rest-beta func (m *ItemTeamDefinitionScheduleTimeCardsItemClockOutRequestBuilder) Post(ctx context.Context, body ItemTeamDefinitionScheduleTimeCardsItemClockOutPostRequestBodyable, requestConfiguration *ItemTeamDefinitionScheduleTimeCardsItemClockOutRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/teamtemplatedefinition/item_team_definition_schedule_time_cards_item_confirm_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_time_cards_item_confirm_request_builder.go index 05629733a58..ba1a5d1cc41 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_time_cards_item_confirm_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_time_cards_item_confirm_request_builder.go @@ -36,7 +36,7 @@ func NewItemTeamDefinitionScheduleTimeCardsItemConfirmRequestBuilder(rawUrl stri // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/timecard-confirm?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/timecard-confirm?view=graph-rest-beta func (m *ItemTeamDefinitionScheduleTimeCardsItemConfirmRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleTimeCardsItemConfirmRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamtemplatedefinition/item_team_definition_schedule_time_cards_item_end_break_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_time_cards_item_end_break_request_builder.go index 85eebc12254..f54536ef74a 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_time_cards_item_end_break_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_time_cards_item_end_break_request_builder.go @@ -36,7 +36,7 @@ func NewItemTeamDefinitionScheduleTimeCardsItemEndBreakRequestBuilder(rawUrl str // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/timecard-endbreak?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/timecard-endbreak?view=graph-rest-beta func (m *ItemTeamDefinitionScheduleTimeCardsItemEndBreakRequestBuilder) Post(ctx context.Context, body ItemTeamDefinitionScheduleTimeCardsItemEndBreakPostRequestBodyable, requestConfiguration *ItemTeamDefinitionScheduleTimeCardsItemEndBreakRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/teamtemplatedefinition/item_team_definition_schedule_time_cards_item_start_break_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_time_cards_item_start_break_request_builder.go index a5365cce2f1..d6bd160e2a3 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_time_cards_item_start_break_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_time_cards_item_start_break_request_builder.go @@ -36,7 +36,7 @@ func NewItemTeamDefinitionScheduleTimeCardsItemStartBreakRequestBuilder(rawUrl s // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/timecard-startbreak?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/timecard-startbreak?view=graph-rest-beta func (m *ItemTeamDefinitionScheduleTimeCardsItemStartBreakRequestBuilder) Post(ctx context.Context, body ItemTeamDefinitionScheduleTimeCardsItemStartBreakPostRequestBodyable, requestConfiguration *ItemTeamDefinitionScheduleTimeCardsItemStartBreakRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/teamtemplatedefinition/item_team_definition_schedule_time_cards_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_time_cards_request_builder.go index d4a81305241..7fa59b12673 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_time_cards_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_time_cards_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamDefinitionScheduleTimeCardsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamDefinitionScheduleTimeCardsRequestBuilderGetQueryParameters retrieve a list of timeCard entries in a schedule. +// ItemTeamDefinitionScheduleTimeCardsRequestBuilderGetQueryParameters the time cards in the schedule. type ItemTeamDefinitionScheduleTimeCardsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func NewItemTeamDefinitionScheduleTimeCardsRequestBuilder(rawUrl string, request func (m *ItemTeamDefinitionScheduleTimeCardsRequestBuilder) Count()(*ItemTeamDefinitionScheduleTimeCardsCountRequestBuilder) { return NewItemTeamDefinitionScheduleTimeCardsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of timeCard entries in a schedule. +// Get the time cards in the schedule. // returns a TimeCardCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/timecard-list?view=graph-rest-1.0 func (m *ItemTeamDefinitionScheduleTimeCardsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleTimeCardsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *ItemTeamDefinitionScheduleTimeCardsRequestBuilder) Get(ctx context.Cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardCollectionResponseable), nil } -// Post create a timeCard instance in a schedule. +// Post create new navigation property to timeCards for teamTemplateDefinition // returns a TimeCardable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/timecard-post?view=graph-rest-1.0 func (m *ItemTeamDefinitionScheduleTimeCardsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardable, requestConfiguration *ItemTeamDefinitionScheduleTimeCardsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemTeamDefinitionScheduleTimeCardsRequestBuilder) Post(ctx context.Con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardable), nil } -// ToGetRequestInformation retrieve a list of timeCard entries in a schedule. +// ToGetRequestInformation the time cards in the schedule. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionScheduleTimeCardsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleTimeCardsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ItemTeamDefinitionScheduleTimeCardsRequestBuilder) ToGetRequestInformat requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a timeCard instance in a schedule. +// ToPostRequestInformation create new navigation property to timeCards for teamTemplateDefinition // returns a *RequestInformation when successful func (m *ItemTeamDefinitionScheduleTimeCardsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardable, requestConfiguration *ItemTeamDefinitionScheduleTimeCardsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_schedule_time_cards_time_card_item_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_time_cards_time_card_item_request_builder.go index b6de560f550..f7ef92a2c0c 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_time_cards_time_card_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_time_cards_time_card_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamDefinitionScheduleTimeCardsTimeCardItemRequestBuilderDeleteRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamDefinitionScheduleTimeCardsTimeCardItemRequestBuilderGetQueryParameters get the properties and relationships of a timeCard object by ID. +// ItemTeamDefinitionScheduleTimeCardsTimeCardItemRequestBuilderGetQueryParameters the time cards in the schedule. type ItemTeamDefinitionScheduleTimeCardsTimeCardItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -64,11 +64,8 @@ func NewItemTeamDefinitionScheduleTimeCardsTimeCardItemRequestBuilder(rawUrl str urlParams["request-raw-url"] = rawUrl return NewItemTeamDefinitionScheduleTimeCardsTimeCardItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a timeCard instance in a schedule. +// Delete delete navigation property timeCards for teamTemplateDefinition // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/timecard-delete?view=graph-rest-1.0 func (m *ItemTeamDefinitionScheduleTimeCardsTimeCardItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleTimeCardsTimeCardItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -88,12 +85,9 @@ func (m *ItemTeamDefinitionScheduleTimeCardsTimeCardItemRequestBuilder) Delete(c func (m *ItemTeamDefinitionScheduleTimeCardsTimeCardItemRequestBuilder) EndBreak()(*ItemTeamDefinitionScheduleTimeCardsItemEndBreakRequestBuilder) { return NewItemTeamDefinitionScheduleTimeCardsItemEndBreakRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the properties and relationships of a timeCard object by ID. +// Get the time cards in the schedule. // returns a TimeCardable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/timecard-get?view=graph-rest-1.0 func (m *ItemTeamDefinitionScheduleTimeCardsTimeCardItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleTimeCardsTimeCardItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -111,12 +105,9 @@ func (m *ItemTeamDefinitionScheduleTimeCardsTimeCardItemRequestBuilder) Get(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardable), nil } -// Patch replace an existing timeCard with updated values. +// Patch update the navigation property timeCards in teamTemplateDefinition // returns a TimeCardable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/timecard-replace?view=graph-rest-1.0 func (m *ItemTeamDefinitionScheduleTimeCardsTimeCardItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardable, requestConfiguration *ItemTeamDefinitionScheduleTimeCardsTimeCardItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -139,7 +130,7 @@ func (m *ItemTeamDefinitionScheduleTimeCardsTimeCardItemRequestBuilder) Patch(ct func (m *ItemTeamDefinitionScheduleTimeCardsTimeCardItemRequestBuilder) StartBreak()(*ItemTeamDefinitionScheduleTimeCardsItemStartBreakRequestBuilder) { return NewItemTeamDefinitionScheduleTimeCardsItemStartBreakRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a timeCard instance in a schedule. +// ToDeleteRequestInformation delete navigation property timeCards for teamTemplateDefinition // returns a *RequestInformation when successful func (m *ItemTeamDefinitionScheduleTimeCardsTimeCardItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleTimeCardsTimeCardItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -150,7 +141,7 @@ func (m *ItemTeamDefinitionScheduleTimeCardsTimeCardItemRequestBuilder) ToDelete requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties and relationships of a timeCard object by ID. +// ToGetRequestInformation the time cards in the schedule. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionScheduleTimeCardsTimeCardItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleTimeCardsTimeCardItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -164,7 +155,7 @@ func (m *ItemTeamDefinitionScheduleTimeCardsTimeCardItemRequestBuilder) ToGetReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation replace an existing timeCard with updated values. +// ToPatchRequestInformation update the navigation property timeCards in teamTemplateDefinition // returns a *RequestInformation when successful func (m *ItemTeamDefinitionScheduleTimeCardsTimeCardItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardable, requestConfiguration *ItemTeamDefinitionScheduleTimeCardsTimeCardItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_schedule_time_off_reasons_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_time_off_reasons_request_builder.go index eafc904463d..60a102a4e33 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_time_off_reasons_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_time_off_reasons_request_builder.go @@ -77,9 +77,6 @@ func (m *ItemTeamDefinitionScheduleTimeOffReasonsRequestBuilder) Count()(*ItemTe // Get the set of reasons for a time off in the schedule. // returns a TimeOffReasonCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/schedule-list-timeoffreasons?view=graph-rest-1.0 func (m *ItemTeamDefinitionScheduleTimeOffReasonsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleTimeOffReasonsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffReasonCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -97,12 +94,9 @@ func (m *ItemTeamDefinitionScheduleTimeOffReasonsRequestBuilder) Get(ctx context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffReasonCollectionResponseable), nil } -// Post create a new timeOffReason. +// Post create new navigation property to timeOffReasons for teamTemplateDefinition // returns a TimeOffReasonable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/schedule-post-timeoffreasons?view=graph-rest-1.0 func (m *ItemTeamDefinitionScheduleTimeOffReasonsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffReasonable, requestConfiguration *ItemTeamDefinitionScheduleTimeOffReasonsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffReasonable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -134,7 +128,7 @@ func (m *ItemTeamDefinitionScheduleTimeOffReasonsRequestBuilder) ToGetRequestInf requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new timeOffReason. +// ToPostRequestInformation create new navigation property to timeOffReasons for teamTemplateDefinition // returns a *RequestInformation when successful func (m *ItemTeamDefinitionScheduleTimeOffReasonsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffReasonable, requestConfiguration *ItemTeamDefinitionScheduleTimeOffReasonsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_schedule_time_off_reasons_time_off_reason_item_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_time_off_reasons_time_off_reason_item_request_builder.go index a75c674a700..ffcda983d20 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_time_off_reasons_time_off_reason_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_time_off_reasons_time_off_reason_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamDefinitionScheduleTimeOffReasonsTimeOffReasonItemRequestBuilderDele // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamDefinitionScheduleTimeOffReasonsTimeOffReasonItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a timeOffReason object by ID. +// ItemTeamDefinitionScheduleTimeOffReasonsTimeOffReasonItemRequestBuilderGetQueryParameters the set of reasons for a time off in the schedule. type ItemTeamDefinitionScheduleTimeOffReasonsTimeOffReasonItemRequestBuilderGetQueryParameters struct { // Select properties to be returned Select []string `uriparametername:"%24select"` @@ -52,11 +52,8 @@ func NewItemTeamDefinitionScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder( urlParams["request-raw-url"] = rawUrl return NewItemTeamDefinitionScheduleTimeOffReasonsTimeOffReasonItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete mark a timeOffReason as inactive by setting the isActive property. Every team must include at least one timeOffReason. This method doesn't remove the specified timeOffReason instance. timeOffItem instances that were assigned this reason remain assigned to this reason. +// Delete delete navigation property timeOffReasons for teamTemplateDefinition // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/timeoffreason-delete?view=graph-rest-1.0 func (m *ItemTeamDefinitionScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleTimeOffReasonsTimeOffReasonItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -71,12 +68,9 @@ func (m *ItemTeamDefinitionScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder } return nil } -// Get retrieve the properties and relationships of a timeOffReason object by ID. +// Get the set of reasons for a time off in the schedule. // returns a TimeOffReasonable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/timeoffreason-get?view=graph-rest-1.0 func (m *ItemTeamDefinitionScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleTimeOffReasonsTimeOffReasonItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffReasonable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -94,12 +88,9 @@ func (m *ItemTeamDefinitionScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffReasonable), nil } -// Patch replace an existing timeOffReason. If the specified timeOffReason doesn't exist, this method returns 404 Not found. +// Patch update the navigation property timeOffReasons in teamTemplateDefinition // returns a TimeOffReasonable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/timeoffreason-put?view=graph-rest-1.0 func (m *ItemTeamDefinitionScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffReasonable, requestConfiguration *ItemTeamDefinitionScheduleTimeOffReasonsTimeOffReasonItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffReasonable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +108,7 @@ func (m *ItemTeamDefinitionScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffReasonable), nil } -// ToDeleteRequestInformation mark a timeOffReason as inactive by setting the isActive property. Every team must include at least one timeOffReason. This method doesn't remove the specified timeOffReason instance. timeOffItem instances that were assigned this reason remain assigned to this reason. +// ToDeleteRequestInformation delete navigation property timeOffReasons for teamTemplateDefinition // returns a *RequestInformation when successful func (m *ItemTeamDefinitionScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleTimeOffReasonsTimeOffReasonItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -128,7 +119,7 @@ func (m *ItemTeamDefinitionScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a timeOffReason object by ID. +// ToGetRequestInformation the set of reasons for a time off in the schedule. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleTimeOffReasonsTimeOffReasonItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -142,7 +133,7 @@ func (m *ItemTeamDefinitionScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation replace an existing timeOffReason. If the specified timeOffReason doesn't exist, this method returns 404 Not found. +// ToPatchRequestInformation update the navigation property timeOffReasons in teamTemplateDefinition // returns a *RequestInformation when successful func (m *ItemTeamDefinitionScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffReasonable, requestConfiguration *ItemTeamDefinitionScheduleTimeOffReasonsTimeOffReasonItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_schedule_time_off_requests_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_time_off_requests_request_builder.go index 33588b80c6a..5c6ae706b6d 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_time_off_requests_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_time_off_requests_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamDefinitionScheduleTimeOffRequestsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamDefinitionScheduleTimeOffRequestsRequestBuilderGetQueryParameters retrieve a list of timeoffrequest objects in the team. +// ItemTeamDefinitionScheduleTimeOffRequestsRequestBuilderGetQueryParameters the time off requests in the schedule. type ItemTeamDefinitionScheduleTimeOffRequestsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,12 +74,9 @@ func NewItemTeamDefinitionScheduleTimeOffRequestsRequestBuilder(rawUrl string, r func (m *ItemTeamDefinitionScheduleTimeOffRequestsRequestBuilder) Count()(*ItemTeamDefinitionScheduleTimeOffRequestsCountRequestBuilder) { return NewItemTeamDefinitionScheduleTimeOffRequestsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of timeoffrequest objects in the team. +// Get the time off requests in the schedule. // returns a TimeOffRequestCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/timeoffrequest-list?view=graph-rest-1.0 func (m *ItemTeamDefinitionScheduleTimeOffRequestsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleTimeOffRequestsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffRequestCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemTeamDefinitionScheduleTimeOffRequestsRequestBuilder) Post(ctx conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffRequestable), nil } -// ToGetRequestInformation retrieve a list of timeoffrequest objects in the team. +// ToGetRequestInformation the time off requests in the schedule. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionScheduleTimeOffRequestsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleTimeOffRequestsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_schedule_time_off_requests_time_off_request_item_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_time_off_requests_time_off_request_item_request_builder.go index 7222cdca868..cd1b5a4c152 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_time_off_requests_time_off_request_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_time_off_requests_time_off_request_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamDefinitionScheduleTimeOffRequestsTimeOffRequestItemRequestBuilderDe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamDefinitionScheduleTimeOffRequestsTimeOffRequestItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a timeoffrequest object. +// ItemTeamDefinitionScheduleTimeOffRequestsTimeOffRequestItemRequestBuilderGetQueryParameters the time off requests in the schedule. type ItemTeamDefinitionScheduleTimeOffRequestsTimeOffRequestItemRequestBuilderGetQueryParameters struct { // Select properties to be returned Select []string `uriparametername:"%24select"` @@ -52,11 +52,8 @@ func NewItemTeamDefinitionScheduleTimeOffRequestsTimeOffRequestItemRequestBuilde urlParams["request-raw-url"] = rawUrl return NewItemTeamDefinitionScheduleTimeOffRequestsTimeOffRequestItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a timeOffRequest object. +// Delete delete navigation property timeOffRequests for teamTemplateDefinition // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/timeoffrequest-delete?view=graph-rest-1.0 func (m *ItemTeamDefinitionScheduleTimeOffRequestsTimeOffRequestItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleTimeOffRequestsTimeOffRequestItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -71,12 +68,9 @@ func (m *ItemTeamDefinitionScheduleTimeOffRequestsTimeOffRequestItemRequestBuild } return nil } -// Get retrieve the properties and relationships of a timeoffrequest object. +// Get the time off requests in the schedule. // returns a TimeOffRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/timeoffrequest-get?view=graph-rest-1.0 func (m *ItemTeamDefinitionScheduleTimeOffRequestsTimeOffRequestItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleTimeOffRequestsTimeOffRequestItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffRequestable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -114,7 +108,7 @@ func (m *ItemTeamDefinitionScheduleTimeOffRequestsTimeOffRequestItemRequestBuild } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffRequestable), nil } -// ToDeleteRequestInformation delete a timeOffRequest object. +// ToDeleteRequestInformation delete navigation property timeOffRequests for teamTemplateDefinition // returns a *RequestInformation when successful func (m *ItemTeamDefinitionScheduleTimeOffRequestsTimeOffRequestItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleTimeOffRequestsTimeOffRequestItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -125,7 +119,7 @@ func (m *ItemTeamDefinitionScheduleTimeOffRequestsTimeOffRequestItemRequestBuild requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a timeoffrequest object. +// ToGetRequestInformation the time off requests in the schedule. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionScheduleTimeOffRequestsTimeOffRequestItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleTimeOffRequestsTimeOffRequestItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_schedule_times_off_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_times_off_request_builder.go index c3f54246c7c..530a7724039 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_times_off_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_times_off_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamDefinitionScheduleTimesOffRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamDefinitionScheduleTimesOffRequestBuilderGetQueryParameters get the list of timeOff instances in a schedule. +// ItemTeamDefinitionScheduleTimesOffRequestBuilderGetQueryParameters the instances of times off in the schedule. type ItemTeamDefinitionScheduleTimesOffRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,12 +74,9 @@ func NewItemTeamDefinitionScheduleTimesOffRequestBuilder(rawUrl string, requestA func (m *ItemTeamDefinitionScheduleTimesOffRequestBuilder) Count()(*ItemTeamDefinitionScheduleTimesOffCountRequestBuilder) { return NewItemTeamDefinitionScheduleTimesOffCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of timeOff instances in a schedule. +// Get the instances of times off in the schedule. // returns a TimeOffCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/schedule-list-timesoff?view=graph-rest-1.0 func (m *ItemTeamDefinitionScheduleTimesOffRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleTimesOffRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -97,12 +94,9 @@ func (m *ItemTeamDefinitionScheduleTimesOffRequestBuilder) Get(ctx context.Conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffCollectionResponseable), nil } -// Post create a new timeOff instance in a schedule. +// Post create new navigation property to timesOff for teamTemplateDefinition // returns a TimeOffable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/schedule-post-timesoff?view=graph-rest-1.0 func (m *ItemTeamDefinitionScheduleTimesOffRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffable, requestConfiguration *ItemTeamDefinitionScheduleTimesOffRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -120,7 +114,7 @@ func (m *ItemTeamDefinitionScheduleTimesOffRequestBuilder) Post(ctx context.Cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffable), nil } -// ToGetRequestInformation get the list of timeOff instances in a schedule. +// ToGetRequestInformation the instances of times off in the schedule. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionScheduleTimesOffRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleTimesOffRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -134,7 +128,7 @@ func (m *ItemTeamDefinitionScheduleTimesOffRequestBuilder) ToGetRequestInformati requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new timeOff instance in a schedule. +// ToPostRequestInformation create new navigation property to timesOff for teamTemplateDefinition // returns a *RequestInformation when successful func (m *ItemTeamDefinitionScheduleTimesOffRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffable, requestConfiguration *ItemTeamDefinitionScheduleTimesOffRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_schedule_times_off_time_off_item_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_times_off_time_off_item_request_builder.go index 65db8d78f5d..60e1ac4eda6 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_times_off_time_off_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_times_off_time_off_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamDefinitionScheduleTimesOffTimeOffItemRequestBuilderDeleteRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamDefinitionScheduleTimesOffTimeOffItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a timeOff object by ID. +// ItemTeamDefinitionScheduleTimesOffTimeOffItemRequestBuilderGetQueryParameters the instances of times off in the schedule. type ItemTeamDefinitionScheduleTimesOffTimeOffItemRequestBuilderGetQueryParameters struct { // Select properties to be returned Select []string `uriparametername:"%24select"` @@ -52,11 +52,8 @@ func NewItemTeamDefinitionScheduleTimesOffTimeOffItemRequestBuilder(rawUrl strin urlParams["request-raw-url"] = rawUrl return NewItemTeamDefinitionScheduleTimesOffTimeOffItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a timeOff instance from a schedule. +// Delete delete navigation property timesOff for teamTemplateDefinition // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/timeoff-delete?view=graph-rest-1.0 func (m *ItemTeamDefinitionScheduleTimesOffTimeOffItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleTimesOffTimeOffItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -71,12 +68,9 @@ func (m *ItemTeamDefinitionScheduleTimesOffTimeOffItemRequestBuilder) Delete(ctx } return nil } -// Get retrieve the properties and relationships of a timeOff object by ID. +// Get the instances of times off in the schedule. // returns a TimeOffable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/timeoff-get?view=graph-rest-1.0 func (m *ItemTeamDefinitionScheduleTimesOffTimeOffItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleTimesOffTimeOffItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -94,12 +88,9 @@ func (m *ItemTeamDefinitionScheduleTimesOffTimeOffItemRequestBuilder) Get(ctx co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffable), nil } -// Patch replace an existing timeOff. If the specified timeOff doesn't exist, this method returns 404 Not found. +// Patch update the navigation property timesOff in teamTemplateDefinition // returns a TimeOffable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/timeoff-put?view=graph-rest-1.0 func (m *ItemTeamDefinitionScheduleTimesOffTimeOffItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffable, requestConfiguration *ItemTeamDefinitionScheduleTimesOffTimeOffItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +108,7 @@ func (m *ItemTeamDefinitionScheduleTimesOffTimeOffItemRequestBuilder) Patch(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffable), nil } -// ToDeleteRequestInformation delete a timeOff instance from a schedule. +// ToDeleteRequestInformation delete navigation property timesOff for teamTemplateDefinition // returns a *RequestInformation when successful func (m *ItemTeamDefinitionScheduleTimesOffTimeOffItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleTimesOffTimeOffItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -128,7 +119,7 @@ func (m *ItemTeamDefinitionScheduleTimesOffTimeOffItemRequestBuilder) ToDeleteRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a timeOff object by ID. +// ToGetRequestInformation the instances of times off in the schedule. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionScheduleTimesOffTimeOffItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleTimesOffTimeOffItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -142,7 +133,7 @@ func (m *ItemTeamDefinitionScheduleTimesOffTimeOffItemRequestBuilder) ToGetReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation replace an existing timeOff. If the specified timeOff doesn't exist, this method returns 404 Not found. +// ToPatchRequestInformation update the navigation property timesOff in teamTemplateDefinition // returns a *RequestInformation when successful func (m *ItemTeamDefinitionScheduleTimesOffTimeOffItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffable, requestConfiguration *ItemTeamDefinitionScheduleTimesOffTimeOffItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_send_activity_notification_request_builder.go b/teamtemplatedefinition/item_team_definition_send_activity_notification_request_builder.go index 940b35f4934..01126d20d27 100644 --- a/teamtemplatedefinition/item_team_definition_send_activity_notification_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_send_activity_notification_request_builder.go @@ -34,7 +34,7 @@ func NewItemTeamDefinitionSendActivityNotificationRequestBuilder(rawUrl string, // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/team-sendactivitynotification?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/team-sendactivitynotification?view=graph-rest-beta func (m *ItemTeamDefinitionSendActivityNotificationRequestBuilder) Post(ctx context.Context, body ItemTeamDefinitionSendActivityNotificationPostRequestBodyable, requestConfiguration *ItemTeamDefinitionSendActivityNotificationRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/teamtemplatedefinition/item_team_definition_tags_item_members_request_builder.go b/teamtemplatedefinition/item_team_definition_tags_item_members_request_builder.go index bc8d834c03d..29c09eed8bd 100644 --- a/teamtemplatedefinition/item_team_definition_tags_item_members_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_tags_item_members_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamDefinitionTagsItemMembersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamDefinitionTagsItemMembersRequestBuilderGetQueryParameters get a list of the members of a standard tag in a team and their properties. +// ItemTeamDefinitionTagsItemMembersRequestBuilderGetQueryParameters users assigned to the tag. type ItemTeamDefinitionTagsItemMembersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemTeamDefinitionTagsItemMembersRequestBuilder(rawUrl string, requestAd func (m *ItemTeamDefinitionTagsItemMembersRequestBuilder) Count()(*ItemTeamDefinitionTagsItemMembersCountRequestBuilder) { return NewItemTeamDefinitionTagsItemMembersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the members of a standard tag in a team and their properties. +// Get users assigned to the tag. // returns a TeamworkTagMemberCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/teamworktagmember-list?view=graph-rest-1.0 func (m *ItemTeamDefinitionTagsItemMembersRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionTagsItemMembersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagMemberCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemTeamDefinitionTagsItemMembersRequestBuilder) Get(ctx context.Contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagMemberCollectionResponseable), nil } -// Post create a new teamworkTagMember object in a team. +// Post create new navigation property to members for teamTemplateDefinition // returns a TeamworkTagMemberable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/teamworktagmember-post?view=graph-rest-1.0 func (m *ItemTeamDefinitionTagsItemMembersRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagMemberable, requestConfiguration *ItemTeamDefinitionTagsItemMembersRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagMemberable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemTeamDefinitionTagsItemMembersRequestBuilder) Post(ctx context.Conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagMemberable), nil } -// ToGetRequestInformation get a list of the members of a standard tag in a team and their properties. +// ToGetRequestInformation users assigned to the tag. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionTagsItemMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionTagsItemMembersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemTeamDefinitionTagsItemMembersRequestBuilder) ToGetRequestInformatio requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new teamworkTagMember object in a team. +// ToPostRequestInformation create new navigation property to members for teamTemplateDefinition // returns a *RequestInformation when successful func (m *ItemTeamDefinitionTagsItemMembersRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagMemberable, requestConfiguration *ItemTeamDefinitionTagsItemMembersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_tags_item_members_teamwork_tag_member_item_request_builder.go b/teamtemplatedefinition/item_team_definition_tags_item_members_teamwork_tag_member_item_request_builder.go index e3c8d7d6bd7..18f639e1133 100644 --- a/teamtemplatedefinition/item_team_definition_tags_item_members_teamwork_tag_member_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_tags_item_members_teamwork_tag_member_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamDefinitionTagsItemMembersTeamworkTagMemberItemRequestBuilderDeleteR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamDefinitionTagsItemMembersTeamworkTagMemberItemRequestBuilderGetQueryParameters get the properties and relationships of a member of a standard tag in a team. +// ItemTeamDefinitionTagsItemMembersTeamworkTagMemberItemRequestBuilderGetQueryParameters users assigned to the tag. type ItemTeamDefinitionTagsItemMembersTeamworkTagMemberItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemTeamDefinitionTagsItemMembersTeamworkTagMemberItemRequestBuilder(raw urlParams["request-raw-url"] = rawUrl return NewItemTeamDefinitionTagsItemMembersTeamworkTagMemberItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a member from a standard tag in a team. +// Delete delete navigation property members for teamTemplateDefinition // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/teamworktagmember-delete?view=graph-rest-1.0 func (m *ItemTeamDefinitionTagsItemMembersTeamworkTagMemberItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTeamDefinitionTagsItemMembersTeamworkTagMemberItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemTeamDefinitionTagsItemMembersTeamworkTagMemberItemRequestBuilder) D } return nil } -// Get get the properties and relationships of a member of a standard tag in a team. +// Get users assigned to the tag. // returns a TeamworkTagMemberable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/teamworktagmember-get?view=graph-rest-1.0 func (m *ItemTeamDefinitionTagsItemMembersTeamworkTagMemberItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionTagsItemMembersTeamworkTagMemberItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagMemberable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -116,7 +110,7 @@ func (m *ItemTeamDefinitionTagsItemMembersTeamworkTagMemberItemRequestBuilder) P } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagMemberable), nil } -// ToDeleteRequestInformation delete a member from a standard tag in a team. +// ToDeleteRequestInformation delete navigation property members for teamTemplateDefinition // returns a *RequestInformation when successful func (m *ItemTeamDefinitionTagsItemMembersTeamworkTagMemberItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionTagsItemMembersTeamworkTagMemberItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -127,7 +121,7 @@ func (m *ItemTeamDefinitionTagsItemMembersTeamworkTagMemberItemRequestBuilder) T requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties and relationships of a member of a standard tag in a team. +// ToGetRequestInformation users assigned to the tag. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionTagsItemMembersTeamworkTagMemberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionTagsItemMembersTeamworkTagMemberItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_tags_request_builder.go b/teamtemplatedefinition/item_team_definition_tags_request_builder.go index 0ecc856a162..29525e2366c 100644 --- a/teamtemplatedefinition/item_team_definition_tags_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_tags_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamDefinitionTagsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamDefinitionTagsRequestBuilderGetQueryParameters get a list of the tag objects and their properties. +// ItemTeamDefinitionTagsRequestBuilderGetQueryParameters the tags associated with the team. type ItemTeamDefinitionTagsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemTeamDefinitionTagsRequestBuilder(rawUrl string, requestAdapter i2ae4 func (m *ItemTeamDefinitionTagsRequestBuilder) Count()(*ItemTeamDefinitionTagsCountRequestBuilder) { return NewItemTeamDefinitionTagsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the tag objects and their properties. +// Get the tags associated with the team. // returns a TeamworkTagCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/teamworktag-list?view=graph-rest-1.0 func (m *ItemTeamDefinitionTagsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionTagsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemTeamDefinitionTagsRequestBuilder) Get(ctx context.Context, requestC } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagCollectionResponseable), nil } -// Post create a standard tag for members in the team. +// Post create new navigation property to tags for teamTemplateDefinition // returns a TeamworkTagable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/teamworktag-post?view=graph-rest-1.0 func (m *ItemTeamDefinitionTagsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagable, requestConfiguration *ItemTeamDefinitionTagsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemTeamDefinitionTagsRequestBuilder) Post(ctx context.Context, body ie } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagable), nil } -// ToGetRequestInformation get a list of the tag objects and their properties. +// ToGetRequestInformation the tags associated with the team. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionTagsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionTagsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemTeamDefinitionTagsRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a standard tag for members in the team. +// ToPostRequestInformation create new navigation property to tags for teamTemplateDefinition // returns a *RequestInformation when successful func (m *ItemTeamDefinitionTagsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagable, requestConfiguration *ItemTeamDefinitionTagsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_tags_teamwork_tag_item_request_builder.go b/teamtemplatedefinition/item_team_definition_tags_teamwork_tag_item_request_builder.go index 02121a36118..830bf259dd4 100644 --- a/teamtemplatedefinition/item_team_definition_tags_teamwork_tag_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_tags_teamwork_tag_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamDefinitionTagsTeamworkTagItemRequestBuilderDeleteRequestConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamDefinitionTagsTeamworkTagItemRequestBuilderGetQueryParameters read the properties and relationships of a tag object. +// ItemTeamDefinitionTagsTeamworkTagItemRequestBuilderGetQueryParameters the tags associated with the team. type ItemTeamDefinitionTagsTeamworkTagItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemTeamDefinitionTagsTeamworkTagItemRequestBuilder(rawUrl string, reque urlParams["request-raw-url"] = rawUrl return NewItemTeamDefinitionTagsTeamworkTagItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a tag object permanently. +// Delete delete navigation property tags for teamTemplateDefinition // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/teamworktag-delete?view=graph-rest-1.0 func (m *ItemTeamDefinitionTagsTeamworkTagItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTeamDefinitionTagsTeamworkTagItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemTeamDefinitionTagsTeamworkTagItemRequestBuilder) Delete(ctx context } return nil } -// Get read the properties and relationships of a tag object. +// Get the tags associated with the team. // returns a TeamworkTagable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/teamworktag-get?view=graph-rest-1.0 func (m *ItemTeamDefinitionTagsTeamworkTagItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionTagsTeamworkTagItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,12 +95,9 @@ func (m *ItemTeamDefinitionTagsTeamworkTagItemRequestBuilder) Get(ctx context.Co func (m *ItemTeamDefinitionTagsTeamworkTagItemRequestBuilder) Members()(*ItemTeamDefinitionTagsItemMembersRequestBuilder) { return NewItemTeamDefinitionTagsItemMembersRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of a teamworkTag object. +// Patch update the navigation property tags in teamTemplateDefinition // returns a TeamworkTagable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/teamworktag-update?view=graph-rest-1.0 func (m *ItemTeamDefinitionTagsTeamworkTagItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagable, requestConfiguration *ItemTeamDefinitionTagsTeamworkTagItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -124,7 +115,7 @@ func (m *ItemTeamDefinitionTagsTeamworkTagItemRequestBuilder) Patch(ctx context. } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagable), nil } -// ToDeleteRequestInformation delete a tag object permanently. +// ToDeleteRequestInformation delete navigation property tags for teamTemplateDefinition // returns a *RequestInformation when successful func (m *ItemTeamDefinitionTagsTeamworkTagItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionTagsTeamworkTagItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -135,7 +126,7 @@ func (m *ItemTeamDefinitionTagsTeamworkTagItemRequestBuilder) ToDeleteRequestInf requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a tag object. +// ToGetRequestInformation the tags associated with the team. // returns a *RequestInformation when successful func (m *ItemTeamDefinitionTagsTeamworkTagItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionTagsTeamworkTagItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -149,7 +140,7 @@ func (m *ItemTeamDefinitionTagsTeamworkTagItemRequestBuilder) ToGetRequestInform requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a teamworkTag object. +// ToPatchRequestInformation update the navigation property tags in teamTemplateDefinition // returns a *RequestInformation when successful func (m *ItemTeamDefinitionTagsTeamworkTagItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagable, requestConfiguration *ItemTeamDefinitionTagsTeamworkTagItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamtemplatedefinition/item_team_definition_unarchive_request_builder.go b/teamtemplatedefinition/item_team_definition_unarchive_request_builder.go index 230cf77a065..15c38de48b2 100644 --- a/teamtemplatedefinition/item_team_definition_unarchive_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_unarchive_request_builder.go @@ -34,7 +34,7 @@ func NewItemTeamDefinitionUnarchiveRequestBuilder(rawUrl string, requestAdapter // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/team-unarchive?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/team-unarchive?view=graph-rest-beta func (m *ItemTeamDefinitionUnarchiveRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemTeamDefinitionUnarchiveRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamwork/deleted_chats_deleted_chat_item_request_builder.go b/teamwork/deleted_chats_deleted_chat_item_request_builder.go index 5edbcb6747f..a83e6c0b24a 100644 --- a/teamwork/deleted_chats_deleted_chat_item_request_builder.go +++ b/teamwork/deleted_chats_deleted_chat_item_request_builder.go @@ -18,7 +18,7 @@ type DeletedChatsDeletedChatItemRequestBuilderDeleteRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DeletedChatsDeletedChatItemRequestBuilderGetQueryParameters read the properties and relationships of a deletedChat object. +// DeletedChatsDeletedChatItemRequestBuilderGetQueryParameters a collection of deleted chats. type DeletedChatsDeletedChatItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *DeletedChatsDeletedChatItemRequestBuilder) Delete(ctx context.Context, } return nil } -// Get read the properties and relationships of a deletedChat object. +// Get a collection of deleted chats. // returns a DeletedChatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/deletedchat-get?view=graph-rest-1.0 func (m *DeletedChatsDeletedChatItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DeletedChatsDeletedChatItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeletedChatable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *DeletedChatsDeletedChatItemRequestBuilder) ToDeleteRequestInformation(c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a deletedChat object. +// ToGetRequestInformation a collection of deleted chats. // returns a *RequestInformation when successful func (m *DeletedChatsDeletedChatItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeletedChatsDeletedChatItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/deleted_chats_item_undo_delete_request_builder.go b/teamwork/deleted_chats_item_undo_delete_request_builder.go index 71e6f242156..cb7dedab647 100644 --- a/teamwork/deleted_chats_item_undo_delete_request_builder.go +++ b/teamwork/deleted_chats_item_undo_delete_request_builder.go @@ -34,7 +34,7 @@ func NewDeletedChatsItemUndoDeleteRequestBuilder(rawUrl string, requestAdapter i // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/deletedchat-undodelete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/deletedchat-undodelete?view=graph-rest-beta func (m *DeletedChatsItemUndoDeleteRequestBuilder) Post(ctx context.Context, requestConfiguration *DeletedChatsItemUndoDeleteRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamwork/deleted_chats_request_builder.go b/teamwork/deleted_chats_request_builder.go index 282f0410a4f..6c2ee774776 100644 --- a/teamwork/deleted_chats_request_builder.go +++ b/teamwork/deleted_chats_request_builder.go @@ -11,7 +11,7 @@ import ( type DeletedChatsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeletedChatsRequestBuilderGetQueryParameters read the properties and relationships of a deletedChat object. +// DeletedChatsRequestBuilderGetQueryParameters a collection of deleted chats. type DeletedChatsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewDeletedChatsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee2 func (m *DeletedChatsRequestBuilder) Count()(*DeletedChatsCountRequestBuilder) { return NewDeletedChatsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of a deletedChat object. +// Get a collection of deleted chats. // returns a DeletedChatCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *DeletedChatsRequestBuilder) Get(ctx context.Context, requestConfiguration *DeletedChatsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeletedChatCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *DeletedChatsRequestBuilder) Post(ctx context.Context, body ie233ee762e2 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeletedChatable), nil } -// ToGetRequestInformation read the properties and relationships of a deletedChat object. +// ToGetRequestInformation a collection of deleted chats. // returns a *RequestInformation when successful func (m *DeletedChatsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeletedChatsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/deleted_teams_item_channels_get_all_messages_request_builder.go b/teamwork/deleted_teams_item_channels_get_all_messages_request_builder.go index 84cf97afba9..bbe5e35ba36 100644 --- a/teamwork/deleted_teams_item_channels_get_all_messages_request_builder.go +++ b/teamwork/deleted_teams_item_channels_get_all_messages_request_builder.go @@ -10,7 +10,7 @@ import ( type DeletedTeamsItemChannelsGetAllMessagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeletedTeamsItemChannelsGetAllMessagesRequestBuilderGetQueryParameters invoke function getAllMessages +// DeletedTeamsItemChannelsGetAllMessagesRequestBuilderGetQueryParameters retrieve messages across all channels in a team, including text, audio, and video conversations. To learn more about using the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. type DeletedTeamsItemChannelsGetAllMessagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -53,10 +53,13 @@ func NewDeletedTeamsItemChannelsGetAllMessagesRequestBuilder(rawUrl string, requ urlParams["request-raw-url"] = rawUrl return NewDeletedTeamsItemChannelsGetAllMessagesRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getAllMessages +// Get retrieve messages across all channels in a team, including text, audio, and video conversations. To learn more about using the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. // Deprecated: This method is obsolete. Use GetAsGetAllMessagesGetResponse instead. // returns a DeletedTeamsItemChannelsGetAllMessagesResponseable when successful // returns a ODataError error 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-getallmessages?view=graph-rest-beta func (m *DeletedTeamsItemChannelsGetAllMessagesRequestBuilder) Get(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsGetAllMessagesRequestBuilderGetRequestConfiguration)(DeletedTeamsItemChannelsGetAllMessagesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -74,9 +77,12 @@ func (m *DeletedTeamsItemChannelsGetAllMessagesRequestBuilder) Get(ctx context.C } return res.(DeletedTeamsItemChannelsGetAllMessagesResponseable), nil } -// GetAsGetAllMessagesGetResponse invoke function getAllMessages +// GetAsGetAllMessagesGetResponse retrieve messages across all channels in a team, including text, audio, and video conversations. To learn more about using the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. // returns a DeletedTeamsItemChannelsGetAllMessagesGetResponseable when successful // returns a ODataError error 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-getallmessages?view=graph-rest-beta func (m *DeletedTeamsItemChannelsGetAllMessagesRequestBuilder) GetAsGetAllMessagesGetResponse(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsGetAllMessagesRequestBuilderGetRequestConfiguration)(DeletedTeamsItemChannelsGetAllMessagesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -94,7 +100,7 @@ func (m *DeletedTeamsItemChannelsGetAllMessagesRequestBuilder) GetAsGetAllMessag } return res.(DeletedTeamsItemChannelsGetAllMessagesGetResponseable), nil } -// ToGetRequestInformation invoke function getAllMessages +// ToGetRequestInformation retrieve messages across all channels in a team, including text, audio, and video conversations. To learn more about using the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. // returns a *RequestInformation when successful func (m *DeletedTeamsItemChannelsGetAllMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsGetAllMessagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/deleted_teams_item_channels_get_all_retained_messages_request_builder.go b/teamwork/deleted_teams_item_channels_get_all_retained_messages_request_builder.go index ab66749de35..04cff4e3f0a 100644 --- a/teamwork/deleted_teams_item_channels_get_all_retained_messages_request_builder.go +++ b/teamwork/deleted_teams_item_channels_get_all_retained_messages_request_builder.go @@ -10,7 +10,7 @@ import ( type DeletedTeamsItemChannelsGetAllRetainedMessagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeletedTeamsItemChannelsGetAllRetainedMessagesRequestBuilderGetQueryParameters invoke function getAllRetainedMessages +// DeletedTeamsItemChannelsGetAllRetainedMessagesRequestBuilderGetQueryParameters get retained messages across all channels in a team. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. type DeletedTeamsItemChannelsGetAllRetainedMessagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewDeletedTeamsItemChannelsGetAllRetainedMessagesRequestBuilder(rawUrl stri urlParams["request-raw-url"] = rawUrl return NewDeletedTeamsItemChannelsGetAllRetainedMessagesRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getAllRetainedMessages +// Get get retained messages across all channels in a team. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. // Deprecated: This method is obsolete. Use GetAsGetAllRetainedMessagesGetResponse instead. // returns a DeletedTeamsItemChannelsGetAllRetainedMessagesResponseable when successful // returns a ODataError error 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-getallretainedmessages?view=graph-rest-beta func (m *DeletedTeamsItemChannelsGetAllRetainedMessagesRequestBuilder) Get(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsGetAllRetainedMessagesRequestBuilderGetRequestConfiguration)(DeletedTeamsItemChannelsGetAllRetainedMessagesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *DeletedTeamsItemChannelsGetAllRetainedMessagesRequestBuilder) Get(ctx c } return res.(DeletedTeamsItemChannelsGetAllRetainedMessagesResponseable), nil } -// GetAsGetAllRetainedMessagesGetResponse invoke function getAllRetainedMessages +// GetAsGetAllRetainedMessagesGetResponse get retained messages across all channels in a team. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. // returns a DeletedTeamsItemChannelsGetAllRetainedMessagesGetResponseable when successful // returns a ODataError error 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-getallretainedmessages?view=graph-rest-beta func (m *DeletedTeamsItemChannelsGetAllRetainedMessagesRequestBuilder) GetAsGetAllRetainedMessagesGetResponse(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsGetAllRetainedMessagesRequestBuilderGetRequestConfiguration)(DeletedTeamsItemChannelsGetAllRetainedMessagesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *DeletedTeamsItemChannelsGetAllRetainedMessagesRequestBuilder) GetAsGetA } return res.(DeletedTeamsItemChannelsGetAllRetainedMessagesGetResponseable), nil } -// ToGetRequestInformation invoke function getAllRetainedMessages +// ToGetRequestInformation get retained messages across all channels in a team. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. // returns a *RequestInformation when successful func (m *DeletedTeamsItemChannelsGetAllRetainedMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsGetAllRetainedMessagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/deleted_teams_item_channels_item_archive_request_builder.go b/teamwork/deleted_teams_item_channels_item_archive_request_builder.go index 3164e17dcaf..ec217171650 100644 --- a/teamwork/deleted_teams_item_channels_item_archive_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_archive_request_builder.go @@ -34,7 +34,7 @@ func NewDeletedTeamsItemChannelsItemArchiveRequestBuilder(rawUrl string, request // returns a ODataError error 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-archive?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-archive?view=graph-rest-beta func (m *DeletedTeamsItemChannelsItemArchiveRequestBuilder) Post(ctx context.Context, body DeletedTeamsItemChannelsItemArchivePostRequestBodyable, requestConfiguration *DeletedTeamsItemChannelsItemArchiveRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/teamwork/deleted_teams_item_channels_item_complete_migration_request_builder.go b/teamwork/deleted_teams_item_channels_item_complete_migration_request_builder.go index e074c98e3ef..25bb6549114 100644 --- a/teamwork/deleted_teams_item_channels_item_complete_migration_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_complete_migration_request_builder.go @@ -34,7 +34,7 @@ func NewDeletedTeamsItemChannelsItemCompleteMigrationRequestBuilder(rawUrl strin // returns a ODataError error 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-completemigration?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-completemigration?view=graph-rest-beta func (m *DeletedTeamsItemChannelsItemCompleteMigrationRequestBuilder) Post(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemCompleteMigrationRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamwork/deleted_teams_item_channels_item_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go b/teamwork/deleted_teams_item_channels_item_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go index bc81d6f0097..e7c91aceee3 100644 --- a/teamwork/deleted_teams_item_channels_item_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go @@ -10,7 +10,7 @@ import ( type DeletedTeamsItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeletedTeamsItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters invoke function doesUserHaveAccess +// DeletedTeamsItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters determine whether a user has access to a shared channel. type DeletedTeamsItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters struct { // Usage: tenantId='@tenantId' TenantId *string `uriparametername:"tenantId"` @@ -41,10 +41,13 @@ func NewDeletedTeamsItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenant urlParams["request-raw-url"] = rawUrl return NewDeletedTeamsItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function doesUserHaveAccess +// Get determine whether a user has access to a shared channel. // Deprecated: This method is obsolete. Use GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse instead. // returns a DeletedTeamsItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponseable when successful // returns a ODataError error 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-doesuserhaveaccess?view=graph-rest-beta func (m *DeletedTeamsItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder) Get(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetRequestConfiguration)(DeletedTeamsItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -62,9 +65,12 @@ func (m *DeletedTeamsItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenan } return res.(DeletedTeamsItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponseable), nil } -// GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse invoke function doesUserHaveAccess +// GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse determine whether a user has access to a shared channel. // returns a DeletedTeamsItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponseable when successful // returns a ODataError error 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-doesuserhaveaccess?view=graph-rest-beta func (m *DeletedTeamsItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder) GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetRequestConfiguration)(DeletedTeamsItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -82,7 +88,7 @@ func (m *DeletedTeamsItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenan } return res.(DeletedTeamsItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponseable), nil } -// ToGetRequestInformation invoke function doesUserHaveAccess +// ToGetRequestInformation determine whether a user has access to a shared channel. // returns a *RequestInformation when successful func (m *DeletedTeamsItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/deleted_teams_item_channels_item_files_folder_content_request_builder.go b/teamwork/deleted_teams_item_channels_item_files_folder_content_request_builder.go index b81a39bd5e4..7ec1708ca9d 100644 --- a/teamwork/deleted_teams_item_channels_item_files_folder_content_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_files_folder_content_request_builder.go @@ -48,9 +48,6 @@ func NewDeletedTeamsItemChannelsItemFilesFolderContentRequestBuilder(rawUrl stri // Get get content for the navigation property filesFolder from teamwork // 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/channel-get-filesfolder?view=graph-rest-1.0 func (m *DeletedTeamsItemChannelsItemFilesFolderContentRequestBuilder) Get(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemFilesFolderContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamwork/deleted_teams_item_channels_item_files_folder_content_stream_request_builder.go b/teamwork/deleted_teams_item_channels_item_files_folder_content_stream_request_builder.go index f0c3ab5eb32..d139cc8e9c1 100644 --- a/teamwork/deleted_teams_item_channels_item_files_folder_content_stream_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_files_folder_content_stream_request_builder.go @@ -40,9 +40,6 @@ func NewDeletedTeamsItemChannelsItemFilesFolderContentStreamRequestBuilder(rawUr // Get the content stream, if the item represents a file. // 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/channel-get-filesfolder?view=graph-rest-1.0 func (m *DeletedTeamsItemChannelsItemFilesFolderContentStreamRequestBuilder) Get(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemFilesFolderContentStreamRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamwork/deleted_teams_item_channels_item_files_folder_request_builder.go b/teamwork/deleted_teams_item_channels_item_files_folder_request_builder.go index 5e6149d495a..0d6c8600b70 100644 --- a/teamwork/deleted_teams_item_channels_item_files_folder_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_files_folder_request_builder.go @@ -11,7 +11,7 @@ import ( type DeletedTeamsItemChannelsItemFilesFolderRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeletedTeamsItemChannelsItemFilesFolderRequestBuilderGetQueryParameters get the metadata for the location where the files of a channel are stored. +// DeletedTeamsItemChannelsItemFilesFolderRequestBuilderGetQueryParameters metadata for the location where the channel's files are stored. type DeletedTeamsItemChannelsItemFilesFolderRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -50,12 +50,9 @@ func (m *DeletedTeamsItemChannelsItemFilesFolderRequestBuilder) Content()(*Delet func (m *DeletedTeamsItemChannelsItemFilesFolderRequestBuilder) ContentStream()(*DeletedTeamsItemChannelsItemFilesFolderContentStreamRequestBuilder) { return NewDeletedTeamsItemChannelsItemFilesFolderContentStreamRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the metadata for the location where the files of a channel are stored. +// Get metadata for the location where the channel's files are stored. // returns a DriveItemable when successful // returns a ODataError error 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-get-filesfolder?view=graph-rest-1.0 func (m *DeletedTeamsItemChannelsItemFilesFolderRequestBuilder) Get(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemFilesFolderRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,7 +70,7 @@ func (m *DeletedTeamsItemChannelsItemFilesFolderRequestBuilder) Get(ctx context. } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable), nil } -// ToGetRequestInformation get the metadata for the location where the files of a channel are stored. +// ToGetRequestInformation metadata for the location where the channel's files are stored. // returns a *RequestInformation when successful func (m *DeletedTeamsItemChannelsItemFilesFolderRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemFilesFolderRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/deleted_teams_item_channels_item_members_add_request_builder.go b/teamwork/deleted_teams_item_channels_item_members_add_request_builder.go index e993150d277..cec188818b7 100644 --- a/teamwork/deleted_teams_item_channels_item_members_add_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_members_add_request_builder.go @@ -36,7 +36,7 @@ func NewDeletedTeamsItemChannelsItemMembersAddRequestBuilder(rawUrl string, requ // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-beta func (m *DeletedTeamsItemChannelsItemMembersAddRequestBuilder) Post(ctx context.Context, body DeletedTeamsItemChannelsItemMembersAddPostRequestBodyable, requestConfiguration *DeletedTeamsItemChannelsItemMembersAddRequestBuilderPostRequestConfiguration)(DeletedTeamsItemChannelsItemMembersAddResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *DeletedTeamsItemChannelsItemMembersAddRequestBuilder) Post(ctx context. // returns a ODataError error 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-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-beta func (m *DeletedTeamsItemChannelsItemMembersAddRequestBuilder) PostAsAddPostResponse(ctx context.Context, body DeletedTeamsItemChannelsItemMembersAddPostRequestBodyable, requestConfiguration *DeletedTeamsItemChannelsItemMembersAddRequestBuilderPostRequestConfiguration)(DeletedTeamsItemChannelsItemMembersAddPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/teamwork/deleted_teams_item_channels_item_members_conversation_member_item_request_builder.go b/teamwork/deleted_teams_item_channels_item_members_conversation_member_item_request_builder.go index 96fb68a8ce8..9cde304e448 100644 --- a/teamwork/deleted_teams_item_channels_item_members_conversation_member_item_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_members_conversation_member_item_request_builder.go @@ -18,7 +18,7 @@ type DeletedTeamsItemChannelsItemMembersConversationMemberItemRequestBuilderDele // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DeletedTeamsItemChannelsItemMembersConversationMemberItemRequestBuilderGetQueryParameters get a conversationMember from a channel. +// DeletedTeamsItemChannelsItemMembersConversationMemberItemRequestBuilderGetQueryParameters a collection of membership records associated with the channel. type DeletedTeamsItemChannelsItemMembersConversationMemberItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewDeletedTeamsItemChannelsItemMembersConversationMemberItemRequestBuilder( urlParams["request-raw-url"] = rawUrl return NewDeletedTeamsItemChannelsItemMembersConversationMemberItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. +// Delete delete navigation property members for teamwork // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/channel-delete-members?view=graph-rest-1.0 func (m *DeletedTeamsItemChannelsItemMembersConversationMemberItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *DeletedTeamsItemChannelsItemMembersConversationMemberItemRequestBuilder } return nil } -// Get get a conversationMember from a channel. +// Get a collection of membership records associated with the 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-get-members?view=graph-rest-1.0 func (m *DeletedTeamsItemChannelsItemMembersConversationMemberItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemMembersConversationMemberItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *DeletedTeamsItemChannelsItemMembersConversationMemberItemRequestBuilder } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil } -// Patch update the role of a conversationMember in a team.or channel. +// Patch update the navigation property members in teamwork // returns a ConversationMemberable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0 func (m *DeletedTeamsItemChannelsItemMembersConversationMemberItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *DeletedTeamsItemChannelsItemMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *DeletedTeamsItemChannelsItemMembersConversationMemberItemRequestBuilder } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil } -// ToDeleteRequestInformation delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. +// ToDeleteRequestInformation delete navigation property members for teamwork // returns a *RequestInformation when successful func (m *DeletedTeamsItemChannelsItemMembersConversationMemberItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *DeletedTeamsItemChannelsItemMembersConversationMemberItemRequestBuilder requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a conversationMember from a channel. +// ToGetRequestInformation a collection of membership records associated with the channel. // returns a *RequestInformation when successful func (m *DeletedTeamsItemChannelsItemMembersConversationMemberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemMembersConversationMemberItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *DeletedTeamsItemChannelsItemMembersConversationMemberItemRequestBuilder requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the role of a conversationMember in a team.or channel. +// ToPatchRequestInformation update the navigation property members in teamwork // returns a *RequestInformation when successful func (m *DeletedTeamsItemChannelsItemMembersConversationMemberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *DeletedTeamsItemChannelsItemMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/deleted_teams_item_channels_item_members_request_builder.go b/teamwork/deleted_teams_item_channels_item_members_request_builder.go index 309ab52c8da..e92f211206c 100644 --- a/teamwork/deleted_teams_item_channels_item_members_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_members_request_builder.go @@ -11,7 +11,7 @@ import ( type DeletedTeamsItemChannelsItemMembersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeletedTeamsItemChannelsItemMembersRequestBuilderGetQueryParameters retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. +// DeletedTeamsItemChannelsItemMembersRequestBuilderGetQueryParameters a collection of membership records associated with the channel. type DeletedTeamsItemChannelsItemMembersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func NewDeletedTeamsItemChannelsItemMembersRequestBuilder(rawUrl string, request func (m *DeletedTeamsItemChannelsItemMembersRequestBuilder) Count()(*DeletedTeamsItemChannelsItemMembersCountRequestBuilder) { return NewDeletedTeamsItemChannelsItemMembersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. +// Get a collection of membership records associated with the channel. // returns a ConversationMemberCollectionResponseable when successful // returns a ODataError error 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-list-members?view=graph-rest-1.0 func (m *DeletedTeamsItemChannelsItemMembersRequestBuilder) Get(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemMembersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *DeletedTeamsItemChannelsItemMembersRequestBuilder) Get(ctx context.Cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable), nil } -// Post add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. +// Post create new navigation property to members for teamwork // returns a ConversationMemberable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/channel-post-members?view=graph-rest-1.0 func (m *DeletedTeamsItemChannelsItemMembersRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *DeletedTeamsItemChannelsItemMembersRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *DeletedTeamsItemChannelsItemMembersRequestBuilder) Post(ctx context.Con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil } -// ToGetRequestInformation retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. +// ToGetRequestInformation a collection of membership records associated with the channel. // returns a *RequestInformation when successful func (m *DeletedTeamsItemChannelsItemMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemMembersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *DeletedTeamsItemChannelsItemMembersRequestBuilder) ToGetRequestInformat requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. +// ToPostRequestInformation create new navigation property to members for teamwork // returns a *RequestInformation when successful func (m *DeletedTeamsItemChannelsItemMembersRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *DeletedTeamsItemChannelsItemMembersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/deleted_teams_item_channels_item_messages_chat_message_item_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_chat_message_item_request_builder.go index b106ed25e86..08d01d967f8 100644 --- a/teamwork/deleted_teams_item_channels_item_messages_chat_message_item_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_messages_chat_message_item_request_builder.go @@ -18,7 +18,7 @@ type DeletedTeamsItemChannelsItemMessagesChatMessageItemRequestBuilderDeleteRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DeletedTeamsItemChannelsItemMessagesChatMessageItemRequestBuilderGetQueryParameters retrieve a single message or a message reply in a channel or a chat. +// DeletedTeamsItemChannelsItemMessagesChatMessageItemRequestBuilderGetQueryParameters a collection of all the messages in the channel. A navigation property. Nullable. type DeletedTeamsItemChannelsItemMessagesChatMessageItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *DeletedTeamsItemChannelsItemMessagesChatMessageItemRequestBuilder) Dele } return nil } -// Get retrieve a single message or a message reply in a channel or a chat. +// Get a collection of all the messages in the channel. A navigation property. Nullable. // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-get?view=graph-rest-1.0 func (m *DeletedTeamsItemChannelsItemMessagesChatMessageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemMessagesChatMessageItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,12 +95,9 @@ func (m *DeletedTeamsItemChannelsItemMessagesChatMessageItemRequestBuilder) Get( func (m *DeletedTeamsItemChannelsItemMessagesChatMessageItemRequestBuilder) HostedContents()(*DeletedTeamsItemChannelsItemMessagesItemHostedContentsRequestBuilder) { return NewDeletedTeamsItemChannelsItemMessagesItemHostedContentsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method doesn't support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. +// Patch update the navigation property messages in teamwork // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-update?view=graph-rest-1.0 func (m *DeletedTeamsItemChannelsItemMessagesChatMessageItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *DeletedTeamsItemChannelsItemMessagesChatMessageItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -147,7 +141,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesChatMessageItemRequestBuilder) ToDe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a single message or a message reply in a channel or a chat. +// ToGetRequestInformation a collection of all the messages in the channel. A navigation property. Nullable. // returns a *RequestInformation when successful func (m *DeletedTeamsItemChannelsItemMessagesChatMessageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemMessagesChatMessageItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -161,7 +155,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesChatMessageItemRequestBuilder) ToGe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method doesn't support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. +// ToPatchRequestInformation update the navigation property messages in teamwork // returns a *RequestInformation when successful func (m *DeletedTeamsItemChannelsItemMessagesChatMessageItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *DeletedTeamsItemChannelsItemMessagesChatMessageItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/deleted_teams_item_channels_item_messages_delta_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_delta_request_builder.go index 5d69b1c4c4a..981fa512b8c 100644 --- a/teamwork/deleted_teams_item_channels_item_messages_delta_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_messages_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type DeletedTeamsItemChannelsItemMessagesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeletedTeamsItemChannelsItemMessagesDeltaRequestBuilderGetQueryParameters invoke function delta +// DeletedTeamsItemChannelsItemMessagesDeltaRequestBuilderGetQueryParameters retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. type DeletedTeamsItemChannelsItemMessagesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewDeletedTeamsItemChannelsItemMessagesDeltaRequestBuilder(rawUrl string, r urlParams["request-raw-url"] = rawUrl return NewDeletedTeamsItemChannelsItemMessagesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a DeletedTeamsItemChannelsItemMessagesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-beta func (m *DeletedTeamsItemChannelsItemMessagesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemMessagesDeltaRequestBuilderGetRequestConfiguration)(DeletedTeamsItemChannelsItemMessagesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *DeletedTeamsItemChannelsItemMessagesDeltaRequestBuilder) Get(ctx contex } return res.(DeletedTeamsItemChannelsItemMessagesDeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // returns a DeletedTeamsItemChannelsItemMessagesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-beta func (m *DeletedTeamsItemChannelsItemMessagesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemMessagesDeltaRequestBuilderGetRequestConfiguration)(DeletedTeamsItemChannelsItemMessagesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesDeltaRequestBuilder) GetAsDeltaGetR } return res.(DeletedTeamsItemChannelsItemMessagesDeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // returns a *RequestInformation when successful func (m *DeletedTeamsItemChannelsItemMessagesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemMessagesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/deleted_teams_item_channels_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index 8cacb94c430..e6bfde5bd4f 100644 --- a/teamwork/deleted_teams_item_channels_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -18,7 +18,7 @@ type DeletedTeamsItemChannelsItemMessagesItemHostedContentsChatMessageHostedCont // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DeletedTeamsItemChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters retrieve the properties and relationships of chatMessageHostedContent object. +// DeletedTeamsItemChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters content in a message hosted by Microsoft Teams - for example, images or code snippets. type DeletedTeamsItemChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *DeletedTeamsItemChannelsItemMessagesItemHostedContentsChatMessageHosted } return nil } -// Get retrieve the properties and relationships of chatMessageHostedContent object. +// Get content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a ChatMessageHostedContentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessagehostedcontent-get?view=graph-rest-1.0 func (m *DeletedTeamsItemChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesItemHostedContentsChatMessageHosted requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of chatMessageHostedContent object. +// ToGetRequestInformation content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a *RequestInformation when successful func (m *DeletedTeamsItemChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/deleted_teams_item_channels_item_messages_item_hosted_contents_item_value_content_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_item_hosted_contents_item_value_content_request_builder.go index 3d7fb00761d..a44f740290c 100644 --- a/teamwork/deleted_teams_item_channels_item_messages_item_hosted_contents_item_value_content_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_messages_item_hosted_contents_item_value_content_request_builder.go @@ -40,9 +40,6 @@ func NewDeletedTeamsItemChannelsItemMessagesItemHostedContentsItemValueContentRe // Get get media content for the navigation property hostedContents from teamwork // 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/chatmessage-list-hostedcontents?view=graph-rest-1.0 func (m *DeletedTeamsItemChannelsItemMessagesItemHostedContentsItemValueContentRequestBuilder) Get(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemMessagesItemHostedContentsItemValueContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamwork/deleted_teams_item_channels_item_messages_item_hosted_contents_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_item_hosted_contents_request_builder.go index 2ac12c8a0ba..9217901eca3 100644 --- a/teamwork/deleted_teams_item_channels_item_messages_item_hosted_contents_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_messages_item_hosted_contents_request_builder.go @@ -11,7 +11,7 @@ import ( type DeletedTeamsItemChannelsItemMessagesItemHostedContentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeletedTeamsItemChannelsItemMessagesItemHostedContentsRequestBuilderGetQueryParameters retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// DeletedTeamsItemChannelsItemMessagesItemHostedContentsRequestBuilderGetQueryParameters content in a message hosted by Microsoft Teams - for example, images or code snippets. type DeletedTeamsItemChannelsItemMessagesItemHostedContentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewDeletedTeamsItemChannelsItemMessagesItemHostedContentsRequestBuilder(raw func (m *DeletedTeamsItemChannelsItemMessagesItemHostedContentsRequestBuilder) Count()(*DeletedTeamsItemChannelsItemMessagesItemHostedContentsCountRequestBuilder) { return NewDeletedTeamsItemChannelsItemMessagesItemHostedContentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// Get content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a ChatMessageHostedContentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0 func (m *DeletedTeamsItemChannelsItemMessagesItemHostedContentsRequestBuilder) Get(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemMessagesItemHostedContentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesItemHostedContentsRequestBuilder) P } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentable), nil } -// ToGetRequestInformation retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// ToGetRequestInformation content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a *RequestInformation when successful func (m *DeletedTeamsItemChannelsItemMessagesItemHostedContentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemMessagesItemHostedContentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/deleted_teams_item_channels_item_messages_item_replies_chat_message_item_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_item_replies_chat_message_item_request_builder.go index f300cd63665..b92d7fedc69 100644 --- a/teamwork/deleted_teams_item_channels_item_messages_item_replies_chat_message_item_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_messages_item_replies_chat_message_item_request_builder.go @@ -18,7 +18,7 @@ type DeletedTeamsItemChannelsItemMessagesItemRepliesChatMessageItemRequestBuilde // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DeletedTeamsItemChannelsItemMessagesItemRepliesChatMessageItemRequestBuilderGetQueryParameters retrieve a single message or a message reply in a channel or a chat. +// DeletedTeamsItemChannelsItemMessagesItemRepliesChatMessageItemRequestBuilderGetQueryParameters replies for a specified message. Supports $expand for channel messages. type DeletedTeamsItemChannelsItemMessagesItemRepliesChatMessageItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesChatMessageItemRequestBu } return nil } -// Get retrieve a single message or a message reply in a channel or a chat. +// Get replies for a specified message. Supports $expand for channel messages. // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-get?view=graph-rest-1.0 func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesChatMessageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemMessagesItemRepliesChatMessageItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -139,7 +136,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesChatMessageItemRequestBu requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a single message or a message reply in a channel or a chat. +// ToGetRequestInformation replies for a specified message. Supports $expand for channel messages. // returns a *RequestInformation when successful func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesChatMessageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemMessagesItemRepliesChatMessageItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/deleted_teams_item_channels_item_messages_item_replies_delta_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_item_replies_delta_request_builder.go index e7636dd57ae..b55885105eb 100644 --- a/teamwork/deleted_teams_item_channels_item_messages_item_replies_delta_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_messages_item_replies_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type DeletedTeamsItemChannelsItemMessagesItemRepliesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeletedTeamsItemChannelsItemMessagesItemRepliesDeltaRequestBuilderGetQueryParameters invoke function delta +// DeletedTeamsItemChannelsItemMessagesItemRepliesDeltaRequestBuilderGetQueryParameters retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. type DeletedTeamsItemChannelsItemMessagesItemRepliesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewDeletedTeamsItemChannelsItemMessagesItemRepliesDeltaRequestBuilder(rawUr urlParams["request-raw-url"] = rawUrl return NewDeletedTeamsItemChannelsItemMessagesItemRepliesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a DeletedTeamsItemChannelsItemMessagesItemRepliesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-beta func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemMessagesItemRepliesDeltaRequestBuilderGetRequestConfiguration)(DeletedTeamsItemChannelsItemMessagesItemRepliesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesDeltaRequestBuilder) Get } return res.(DeletedTeamsItemChannelsItemMessagesItemRepliesDeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // returns a DeletedTeamsItemChannelsItemMessagesItemRepliesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-beta func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemMessagesItemRepliesDeltaRequestBuilderGetRequestConfiguration)(DeletedTeamsItemChannelsItemMessagesItemRepliesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesDeltaRequestBuilder) Get } return res.(DeletedTeamsItemChannelsItemMessagesItemRepliesDeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // returns a *RequestInformation when successful func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemMessagesItemRepliesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index 4f0a81ad2f7..0f571d40322 100644 --- a/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -18,7 +18,7 @@ type DeletedTeamsItemChannelsItemMessagesItemRepliesItemHostedContentsChatMessag // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DeletedTeamsItemChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters retrieve the properties and relationships of chatMessageHostedContent object. +// DeletedTeamsItemChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters content in a message hosted by Microsoft Teams - for example, images or code snippets. type DeletedTeamsItemChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesItemHostedContentsChatMe } return nil } -// Get retrieve the properties and relationships of chatMessageHostedContent object. +// Get content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a ChatMessageHostedContentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessagehostedcontent-get?view=graph-rest-1.0 func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesItemHostedContentsChatMe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of chatMessageHostedContent object. +// ToGetRequestInformation content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a *RequestInformation when successful func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go index d005500ffd8..8f6f612fcf6 100644 --- a/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go @@ -40,9 +40,6 @@ func NewDeletedTeamsItemChannelsItemMessagesItemRepliesItemHostedContentsItemVal // Get get media content for the navigation property hostedContents from teamwork // 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/chatmessage-list-hostedcontents?view=graph-rest-1.0 func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder) Get(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_hosted_contents_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_hosted_contents_request_builder.go index 3a1bcfe8c8e..bc479866113 100644 --- a/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_hosted_contents_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_hosted_contents_request_builder.go @@ -11,7 +11,7 @@ import ( type DeletedTeamsItemChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeletedTeamsItemChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilderGetQueryParameters retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// DeletedTeamsItemChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilderGetQueryParameters content in a message hosted by Microsoft Teams - for example, images or code snippets. type DeletedTeamsItemChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewDeletedTeamsItemChannelsItemMessagesItemRepliesItemHostedContentsRequest func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilder) Count()(*DeletedTeamsItemChannelsItemMessagesItemRepliesItemHostedContentsCountRequestBuilder) { return NewDeletedTeamsItemChannelsItemMessagesItemRepliesItemHostedContentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// Get content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a ChatMessageHostedContentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0 func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilder) Get(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesItemHostedContentsReques } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentable), nil } -// ToGetRequestInformation retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// ToGetRequestInformation content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a *RequestInformation when successful func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_soft_delete_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_soft_delete_request_builder.go index 956ef5a7a4a..fd1900957ff 100644 --- a/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_soft_delete_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_soft_delete_request_builder.go @@ -34,7 +34,7 @@ func NewDeletedTeamsItemChannelsItemMessagesItemRepliesItemSoftDeleteRequestBuil // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-beta func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesItemSoftDeleteRequestBuilder) Post(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemMessagesItemRepliesItemSoftDeleteRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_undo_soft_delete_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_undo_soft_delete_request_builder.go index 480c62b5f13..ce4ba336cec 100644 --- a/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_undo_soft_delete_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_undo_soft_delete_request_builder.go @@ -34,7 +34,7 @@ func NewDeletedTeamsItemChannelsItemMessagesItemRepliesItemUndoSoftDeleteRequest // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-beta func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesItemUndoSoftDeleteRequestBuilder) Post(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemMessagesItemRepliesItemUndoSoftDeleteRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamwork/deleted_teams_item_channels_item_messages_item_replies_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_item_replies_request_builder.go index 23c60fa7612..abcc0d0c30c 100644 --- a/teamwork/deleted_teams_item_channels_item_messages_item_replies_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_messages_item_replies_request_builder.go @@ -11,7 +11,7 @@ import ( type DeletedTeamsItemChannelsItemMessagesItemRepliesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeletedTeamsItemChannelsItemMessagesItemRepliesRequestBuilderGetQueryParameters list all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, call get channel message. +// DeletedTeamsItemChannelsItemMessagesItemRepliesRequestBuilderGetQueryParameters replies for a specified message. Supports $expand for channel messages. type DeletedTeamsItemChannelsItemMessagesItemRepliesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesRequestBuilder) Count()( func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesRequestBuilder) Delta()(*DeletedTeamsItemChannelsItemMessagesItemRepliesDeltaRequestBuilder) { return NewDeletedTeamsItemChannelsItemMessagesItemRepliesDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, call get channel message. +// Get replies for a specified message. Supports $expand for channel messages. // returns a ChatMessageCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-list-replies?view=graph-rest-1.0 func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesRequestBuilder) Get(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemMessagesItemRepliesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesRequestBuilder) Get(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageCollectionResponseable), nil } -// Post send a new reply to a chatMessage in a specified channel. +// Post create new navigation property to replies for teamwork // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0 func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *DeletedTeamsItemChannelsItemMessagesItemRepliesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesRequestBuilder) Post(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable), nil } -// ToGetRequestInformation list all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, call get channel message. +// ToGetRequestInformation replies for a specified message. Supports $expand for channel messages. // returns a *RequestInformation when successful func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemMessagesItemRepliesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesRequestBuilder) ToGetReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation send a new reply to a chatMessage in a specified channel. +// ToPostRequestInformation create new navigation property to replies for teamwork // returns a *RequestInformation when successful func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *DeletedTeamsItemChannelsItemMessagesItemRepliesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/deleted_teams_item_channels_item_messages_item_soft_delete_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_item_soft_delete_request_builder.go index e7170434772..146a7072261 100644 --- a/teamwork/deleted_teams_item_channels_item_messages_item_soft_delete_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_messages_item_soft_delete_request_builder.go @@ -34,7 +34,7 @@ func NewDeletedTeamsItemChannelsItemMessagesItemSoftDeleteRequestBuilder(rawUrl // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-beta func (m *DeletedTeamsItemChannelsItemMessagesItemSoftDeleteRequestBuilder) Post(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemMessagesItemSoftDeleteRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamwork/deleted_teams_item_channels_item_messages_item_undo_soft_delete_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_item_undo_soft_delete_request_builder.go index 26dd82cdb6c..79c3ef0a391 100644 --- a/teamwork/deleted_teams_item_channels_item_messages_item_undo_soft_delete_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_messages_item_undo_soft_delete_request_builder.go @@ -34,7 +34,7 @@ func NewDeletedTeamsItemChannelsItemMessagesItemUndoSoftDeleteRequestBuilder(raw // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-beta func (m *DeletedTeamsItemChannelsItemMessagesItemUndoSoftDeleteRequestBuilder) Post(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemMessagesItemUndoSoftDeleteRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamwork/deleted_teams_item_channels_item_messages_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_request_builder.go index ff4a47c04fe..8c49c3d79bc 100644 --- a/teamwork/deleted_teams_item_channels_item_messages_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_messages_request_builder.go @@ -11,7 +11,7 @@ import ( type DeletedTeamsItemChannelsItemMessagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeletedTeamsItemChannelsItemMessagesRequestBuilderGetQueryParameters retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). +// DeletedTeamsItemChannelsItemMessagesRequestBuilderGetQueryParameters a collection of all the messages in the channel. A navigation property. Nullable. type DeletedTeamsItemChannelsItemMessagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *DeletedTeamsItemChannelsItemMessagesRequestBuilder) Count()(*DeletedTea func (m *DeletedTeamsItemChannelsItemMessagesRequestBuilder) Delta()(*DeletedTeamsItemChannelsItemMessagesDeltaRequestBuilder) { return NewDeletedTeamsItemChannelsItemMessagesDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). +// Get a collection of all the messages in the channel. A navigation property. Nullable. // returns a ChatMessageCollectionResponseable when successful // returns a ODataError error 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-list-messages?view=graph-rest-1.0 func (m *DeletedTeamsItemChannelsItemMessagesRequestBuilder) Get(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemMessagesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *DeletedTeamsItemChannelsItemMessagesRequestBuilder) Get(ctx context.Con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageCollectionResponseable), nil } -// Post send a new chatMessage in the specified channel. +// Post create new navigation property to messages for teamwork // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/channel-post-messages?view=graph-rest-1.0 func (m *DeletedTeamsItemChannelsItemMessagesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *DeletedTeamsItemChannelsItemMessagesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesRequestBuilder) Post(ctx context.Co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable), nil } -// ToGetRequestInformation retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). +// ToGetRequestInformation a collection of all the messages in the channel. A navigation property. Nullable. // returns a *RequestInformation when successful func (m *DeletedTeamsItemChannelsItemMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemMessagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesRequestBuilder) ToGetRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation send a new chatMessage in the specified channel. +// ToPostRequestInformation create new navigation property to messages for teamwork // returns a *RequestInformation when successful func (m *DeletedTeamsItemChannelsItemMessagesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *DeletedTeamsItemChannelsItemMessagesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/deleted_teams_item_channels_item_provision_email_request_builder.go b/teamwork/deleted_teams_item_channels_item_provision_email_request_builder.go index 8567e273403..a68296922d4 100644 --- a/teamwork/deleted_teams_item_channels_item_provision_email_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_provision_email_request_builder.go @@ -36,7 +36,7 @@ func NewDeletedTeamsItemChannelsItemProvisionEmailRequestBuilder(rawUrl string, // returns a ODataError error 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-provisionemail?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-provisionemail?view=graph-rest-beta func (m *DeletedTeamsItemChannelsItemProvisionEmailRequestBuilder) Post(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemProvisionEmailRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProvisionChannelEmailResultable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamwork/deleted_teams_item_channels_item_remove_email_request_builder.go b/teamwork/deleted_teams_item_channels_item_remove_email_request_builder.go index b6a3609e5bc..8cff6a234ea 100644 --- a/teamwork/deleted_teams_item_channels_item_remove_email_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_remove_email_request_builder.go @@ -34,7 +34,7 @@ func NewDeletedTeamsItemChannelsItemRemoveEmailRequestBuilder(rawUrl string, req // returns a ODataError error 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-removeemail?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-removeemail?view=graph-rest-beta func (m *DeletedTeamsItemChannelsItemRemoveEmailRequestBuilder) Post(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemRemoveEmailRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamwork/deleted_teams_item_channels_item_shared_with_teams_item_allowed_members_request_builder.go b/teamwork/deleted_teams_item_channels_item_shared_with_teams_item_allowed_members_request_builder.go index 9fec6d55094..731de4d0955 100644 --- a/teamwork/deleted_teams_item_channels_item_shared_with_teams_item_allowed_members_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_shared_with_teams_item_allowed_members_request_builder.go @@ -11,7 +11,7 @@ import ( type DeletedTeamsItemChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeletedTeamsItemChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilderGetQueryParameters get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant +// DeletedTeamsItemChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilderGetQueryParameters a collection of team members who have access to the shared channel. type DeletedTeamsItemChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewDeletedTeamsItemChannelsItemSharedWithTeamsItemAllowedMembersRequestBuil func (m *DeletedTeamsItemChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilder) Count()(*DeletedTeamsItemChannelsItemSharedWithTeamsItemAllowedMembersCountRequestBuilder) { return NewDeletedTeamsItemChannelsItemSharedWithTeamsItemAllowedMembersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant +// Get a collection of team members who have access to the shared channel. // returns a ConversationMemberCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-list-allowedmembers?view=graph-rest-1.0 func (m *DeletedTeamsItemChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilder) Get(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *DeletedTeamsItemChannelsItemSharedWithTeamsItemAllowedMembersRequestBui } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable), nil } -// ToGetRequestInformation get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant +// ToGetRequestInformation a collection of team members who have access to the shared channel. // returns a *RequestInformation when successful func (m *DeletedTeamsItemChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/deleted_teams_item_channels_item_shared_with_teams_request_builder.go b/teamwork/deleted_teams_item_channels_item_shared_with_teams_request_builder.go index 411f3cb6617..126a7a6226d 100644 --- a/teamwork/deleted_teams_item_channels_item_shared_with_teams_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_shared_with_teams_request_builder.go @@ -11,7 +11,7 @@ import ( type DeletedTeamsItemChannelsItemSharedWithTeamsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeletedTeamsItemChannelsItemSharedWithTeamsRequestBuilderGetQueryParameters get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. +// DeletedTeamsItemChannelsItemSharedWithTeamsRequestBuilderGetQueryParameters a collection of teams with which a channel is shared. type DeletedTeamsItemChannelsItemSharedWithTeamsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewDeletedTeamsItemChannelsItemSharedWithTeamsRequestBuilder(rawUrl string, func (m *DeletedTeamsItemChannelsItemSharedWithTeamsRequestBuilder) Count()(*DeletedTeamsItemChannelsItemSharedWithTeamsCountRequestBuilder) { return NewDeletedTeamsItemChannelsItemSharedWithTeamsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. +// Get a collection of teams with which a channel is shared. // returns a SharedWithChannelTeamInfoCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-list?view=graph-rest-1.0 func (m *DeletedTeamsItemChannelsItemSharedWithTeamsRequestBuilder) Get(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemSharedWithTeamsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharedWithChannelTeamInfoCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *DeletedTeamsItemChannelsItemSharedWithTeamsRequestBuilder) Post(ctx con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharedWithChannelTeamInfoable), nil } -// ToGetRequestInformation get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. +// ToGetRequestInformation a collection of teams with which a channel is shared. // returns a *RequestInformation when successful func (m *DeletedTeamsItemChannelsItemSharedWithTeamsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemSharedWithTeamsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/deleted_teams_item_channels_item_shared_with_teams_shared_with_channel_team_info_item_request_builder.go b/teamwork/deleted_teams_item_channels_item_shared_with_teams_shared_with_channel_team_info_item_request_builder.go index fe0a3383e5c..6a8db9b499b 100644 --- a/teamwork/deleted_teams_item_channels_item_shared_with_teams_shared_with_channel_team_info_item_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_shared_with_teams_shared_with_channel_team_info_item_request_builder.go @@ -18,7 +18,7 @@ type DeletedTeamsItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DeletedTeamsItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. +// DeletedTeamsItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters a collection of teams with which a channel is shared. type DeletedTeamsItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewDeletedTeamsItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItem urlParams["request-raw-url"] = rawUrl return NewDeletedTeamsItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. +// Delete delete navigation property sharedWithTeams for teamwork // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-delete?view=graph-rest-1.0 func (m *DeletedTeamsItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *DeletedTeamsItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoIte } return nil } -// Get get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. +// Get a collection of teams with which a channel is shared. // returns a SharedWithChannelTeamInfoable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-get?view=graph-rest-1.0 func (m *DeletedTeamsItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharedWithChannelTeamInfoable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -126,7 +120,7 @@ func (m *DeletedTeamsItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoIte func (m *DeletedTeamsItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) Team()(*DeletedTeamsItemChannelsItemSharedWithTeamsItemTeamRequestBuilder) { return NewDeletedTeamsItemChannelsItemSharedWithTeamsItemTeamRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. +// ToDeleteRequestInformation delete navigation property sharedWithTeams for teamwork // returns a *RequestInformation when successful func (m *DeletedTeamsItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -137,7 +131,7 @@ func (m *DeletedTeamsItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoIte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. +// ToGetRequestInformation a collection of teams with which a channel is shared. // returns a *RequestInformation when successful func (m *DeletedTeamsItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/deleted_teams_item_channels_item_tabs_request_builder.go b/teamwork/deleted_teams_item_channels_item_tabs_request_builder.go index 27a089fd0e6..aefb52fa137 100644 --- a/teamwork/deleted_teams_item_channels_item_tabs_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_tabs_request_builder.go @@ -11,7 +11,7 @@ import ( type DeletedTeamsItemChannelsItemTabsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeletedTeamsItemChannelsItemTabsRequestBuilderGetQueryParameters retrieve the list of tabs in the specified channel within a team. +// DeletedTeamsItemChannelsItemTabsRequestBuilderGetQueryParameters a collection of all the tabs in the channel. A navigation property. type DeletedTeamsItemChannelsItemTabsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewDeletedTeamsItemChannelsItemTabsRequestBuilder(rawUrl string, requestAda func (m *DeletedTeamsItemChannelsItemTabsRequestBuilder) Count()(*DeletedTeamsItemChannelsItemTabsCountRequestBuilder) { return NewDeletedTeamsItemChannelsItemTabsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of tabs in the specified channel within a team. +// Get a collection of all the tabs in the channel. A navigation property. // returns a TeamsTabCollectionResponseable when successful // returns a ODataError error 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-list-tabs?view=graph-rest-1.0 func (m *DeletedTeamsItemChannelsItemTabsRequestBuilder) Get(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemTabsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsTabCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *DeletedTeamsItemChannelsItemTabsRequestBuilder) Post(ctx context.Contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsTabable), nil } -// ToGetRequestInformation retrieve the list of tabs in the specified channel within a team. +// ToGetRequestInformation a collection of all the tabs in the channel. A navigation property. // returns a *RequestInformation when successful func (m *DeletedTeamsItemChannelsItemTabsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemTabsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/deleted_teams_item_channels_item_unarchive_request_builder.go b/teamwork/deleted_teams_item_channels_item_unarchive_request_builder.go index 4fb78a79f99..6031db00920 100644 --- a/teamwork/deleted_teams_item_channels_item_unarchive_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_unarchive_request_builder.go @@ -34,7 +34,7 @@ func NewDeletedTeamsItemChannelsItemUnarchiveRequestBuilder(rawUrl string, reque // returns a ODataError error 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-unarchive?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-unarchive?view=graph-rest-beta func (m *DeletedTeamsItemChannelsItemUnarchiveRequestBuilder) Post(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemUnarchiveRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamwork/deleted_teams_request_builder.go b/teamwork/deleted_teams_request_builder.go index ec1ea4ef222..d8fdc3d79b6 100644 --- a/teamwork/deleted_teams_request_builder.go +++ b/teamwork/deleted_teams_request_builder.go @@ -11,7 +11,7 @@ import ( type DeletedTeamsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeletedTeamsRequestBuilderGetQueryParameters get a list of the deletedTeam objects and their properties. +// DeletedTeamsRequestBuilderGetQueryParameters a collection of deleted teams. type DeletedTeamsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewDeletedTeamsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee2 func (m *DeletedTeamsRequestBuilder) Count()(*DeletedTeamsCountRequestBuilder) { return NewDeletedTeamsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the deletedTeam objects and their properties. +// Get a collection of deleted teams. // returns a DeletedTeamCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/teamwork-list-deletedteams?view=graph-rest-1.0 func (m *DeletedTeamsRequestBuilder) Get(ctx context.Context, requestConfiguration *DeletedTeamsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeletedTeamCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *DeletedTeamsRequestBuilder) Post(ctx context.Context, body ie233ee762e2 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeletedTeamable), nil } -// ToGetRequestInformation get a list of the deletedTeam objects and their properties. +// ToGetRequestInformation a collection of deleted teams. // returns a *RequestInformation when successful func (m *DeletedTeamsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeletedTeamsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/devices_item_activity_request_builder.go b/teamwork/devices_item_activity_request_builder.go index 82917b9134a..89a6ab0ab42 100644 --- a/teamwork/devices_item_activity_request_builder.go +++ b/teamwork/devices_item_activity_request_builder.go @@ -18,7 +18,7 @@ type DevicesItemActivityRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DevicesItemActivityRequestBuilderGetQueryParameters get the activity status of a Microsoft Teams-enabled device. +// DevicesItemActivityRequestBuilderGetQueryParameters the activity properties that change based on the device usage. type DevicesItemActivityRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *DevicesItemActivityRequestBuilder) Delete(ctx context.Context, requestC } return nil } -// Get get the activity status of a Microsoft Teams-enabled device. +// Get the activity properties that change based on the device usage. // returns a TeamworkDeviceActivityable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/teamworkdeviceactivity-get?view=graph-rest-1.0 func (m *DevicesItemActivityRequestBuilder) Get(ctx context.Context, requestConfiguration *DevicesItemActivityRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkDeviceActivityable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *DevicesItemActivityRequestBuilder) ToDeleteRequestInformation(ctx conte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the activity status of a Microsoft Teams-enabled device. +// ToGetRequestInformation the activity properties that change based on the device usage. // returns a *RequestInformation when successful func (m *DevicesItemActivityRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DevicesItemActivityRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/devices_item_configuration_request_builder.go b/teamwork/devices_item_configuration_request_builder.go index b95a4efdaac..519aff76652 100644 --- a/teamwork/devices_item_configuration_request_builder.go +++ b/teamwork/devices_item_configuration_request_builder.go @@ -18,7 +18,7 @@ type DevicesItemConfigurationRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DevicesItemConfigurationRequestBuilderGetQueryParameters get the configuration details of a Microsoft Teams-enabled device, including software versions, peripheral device configuration (for example, camera, display, microphone, and speaker), hardware configuration, and Microsoft Teams client configuration. +// DevicesItemConfigurationRequestBuilderGetQueryParameters the configuration properties of the device. type DevicesItemConfigurationRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *DevicesItemConfigurationRequestBuilder) Delete(ctx context.Context, req } return nil } -// Get get the configuration details of a Microsoft Teams-enabled device, including software versions, peripheral device configuration (for example, camera, display, microphone, and speaker), hardware configuration, and Microsoft Teams client configuration. +// Get the configuration properties of the device. // returns a TeamworkDeviceConfigurationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/teamworkdeviceconfiguration-get?view=graph-rest-1.0 func (m *DevicesItemConfigurationRequestBuilder) Get(ctx context.Context, requestConfiguration *DevicesItemConfigurationRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkDeviceConfigurationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *DevicesItemConfigurationRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the configuration details of a Microsoft Teams-enabled device, including software versions, peripheral device configuration (for example, camera, display, microphone, and speaker), hardware configuration, and Microsoft Teams client configuration. +// ToGetRequestInformation the configuration properties of the device. // returns a *RequestInformation when successful func (m *DevicesItemConfigurationRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DevicesItemConfigurationRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/devices_item_health_request_builder.go b/teamwork/devices_item_health_request_builder.go index ed2f99fbf41..07f7b25a104 100644 --- a/teamwork/devices_item_health_request_builder.go +++ b/teamwork/devices_item_health_request_builder.go @@ -18,7 +18,7 @@ type DevicesItemHealthRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DevicesItemHealthRequestBuilderGetQueryParameters get the health details of a Microsoft Teams-enabled device. Device health is calculated based on the device configuration and other device parameters. +// DevicesItemHealthRequestBuilderGetQueryParameters the health properties of the device. type DevicesItemHealthRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *DevicesItemHealthRequestBuilder) Delete(ctx context.Context, requestCon } return nil } -// Get get the health details of a Microsoft Teams-enabled device. Device health is calculated based on the device configuration and other device parameters. +// Get the health properties of the device. // returns a TeamworkDeviceHealthable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/teamworkdevicehealth-get?view=graph-rest-1.0 func (m *DevicesItemHealthRequestBuilder) Get(ctx context.Context, requestConfiguration *DevicesItemHealthRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkDeviceHealthable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *DevicesItemHealthRequestBuilder) ToDeleteRequestInformation(ctx context requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the health details of a Microsoft Teams-enabled device. Device health is calculated based on the device configuration and other device parameters. +// ToGetRequestInformation the health properties of the device. // returns a *RequestInformation when successful func (m *DevicesItemHealthRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DevicesItemHealthRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/devices_item_operations_request_builder.go b/teamwork/devices_item_operations_request_builder.go index 8f9d6eea908..c328f191de0 100644 --- a/teamwork/devices_item_operations_request_builder.go +++ b/teamwork/devices_item_operations_request_builder.go @@ -11,7 +11,7 @@ import ( type DevicesItemOperationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DevicesItemOperationsRequestBuilderGetQueryParameters get a list of the operations that are running on a Microsoft Teams-enabled device. +// DevicesItemOperationsRequestBuilderGetQueryParameters the async operations on the device. type DevicesItemOperationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewDevicesItemOperationsRequestBuilder(rawUrl string, requestAdapter i2ae41 func (m *DevicesItemOperationsRequestBuilder) Count()(*DevicesItemOperationsCountRequestBuilder) { return NewDevicesItemOperationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the operations that are running on a Microsoft Teams-enabled device. +// Get the async operations on the device. // returns a TeamworkDeviceOperationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/teamworkdeviceoperation-list?view=graph-rest-1.0 func (m *DevicesItemOperationsRequestBuilder) Get(ctx context.Context, requestConfiguration *DevicesItemOperationsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkDeviceOperationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *DevicesItemOperationsRequestBuilder) Post(ctx context.Context, body ie2 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkDeviceOperationable), nil } -// ToGetRequestInformation get a list of the operations that are running on a Microsoft Teams-enabled device. +// ToGetRequestInformation the async operations on the device. // returns a *RequestInformation when successful func (m *DevicesItemOperationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DevicesItemOperationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/devices_item_operations_teamwork_device_operation_item_request_builder.go b/teamwork/devices_item_operations_teamwork_device_operation_item_request_builder.go index 288e61b710e..ac020661134 100644 --- a/teamwork/devices_item_operations_teamwork_device_operation_item_request_builder.go +++ b/teamwork/devices_item_operations_teamwork_device_operation_item_request_builder.go @@ -18,7 +18,7 @@ type DevicesItemOperationsTeamworkDeviceOperationItemRequestBuilderDeleteRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DevicesItemOperationsTeamworkDeviceOperationItemRequestBuilderGetQueryParameters get the details of an async, long-running operation on a Microsoft Teams-enabled device. +// DevicesItemOperationsTeamworkDeviceOperationItemRequestBuilderGetQueryParameters the async operations on the device. type DevicesItemOperationsTeamworkDeviceOperationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *DevicesItemOperationsTeamworkDeviceOperationItemRequestBuilder) Delete( } return nil } -// Get get the details of an async, long-running operation on a Microsoft Teams-enabled device. +// Get the async operations on the device. // returns a TeamworkDeviceOperationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/teamworkdeviceoperation-get?view=graph-rest-1.0 func (m *DevicesItemOperationsTeamworkDeviceOperationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DevicesItemOperationsTeamworkDeviceOperationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkDeviceOperationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *DevicesItemOperationsTeamworkDeviceOperationItemRequestBuilder) ToDelet requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the details of an async, long-running operation on a Microsoft Teams-enabled device. +// ToGetRequestInformation the async operations on the device. // returns a *RequestInformation when successful func (m *DevicesItemOperationsTeamworkDeviceOperationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DevicesItemOperationsTeamworkDeviceOperationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/devices_item_restart_request_builder.go b/teamwork/devices_item_restart_request_builder.go index b11822985b3..9c927e5329b 100644 --- a/teamwork/devices_item_restart_request_builder.go +++ b/teamwork/devices_item_restart_request_builder.go @@ -34,7 +34,7 @@ func NewDevicesItemRestartRequestBuilder(rawUrl string, requestAdapter i2ae4187f // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/teamworkdevice-restart?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/teamworkdevice-restart?view=graph-rest-beta func (m *DevicesItemRestartRequestBuilder) Post(ctx context.Context, requestConfiguration *DevicesItemRestartRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamwork/devices_item_run_diagnostics_request_builder.go b/teamwork/devices_item_run_diagnostics_request_builder.go index 4395030834e..ad8a5612f9d 100644 --- a/teamwork/devices_item_run_diagnostics_request_builder.go +++ b/teamwork/devices_item_run_diagnostics_request_builder.go @@ -34,7 +34,7 @@ func NewDevicesItemRunDiagnosticsRequestBuilder(rawUrl string, requestAdapter i2 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/teamworkdevice-rundiagnostics?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/teamworkdevice-rundiagnostics?view=graph-rest-beta func (m *DevicesItemRunDiagnosticsRequestBuilder) Post(ctx context.Context, requestConfiguration *DevicesItemRunDiagnosticsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamwork/devices_item_update_software_request_builder.go b/teamwork/devices_item_update_software_request_builder.go index 624e1fb3ee3..aa337c8bb5f 100644 --- a/teamwork/devices_item_update_software_request_builder.go +++ b/teamwork/devices_item_update_software_request_builder.go @@ -34,7 +34,7 @@ func NewDevicesItemUpdateSoftwareRequestBuilder(rawUrl string, requestAdapter i2 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/teamworkdevice-updatesoftware?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/teamworkdevice-updatesoftware?view=graph-rest-beta func (m *DevicesItemUpdateSoftwareRequestBuilder) Post(ctx context.Context, body DevicesItemUpdateSoftwarePostRequestBodyable, requestConfiguration *DevicesItemUpdateSoftwareRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/teamwork/devices_request_builder.go b/teamwork/devices_request_builder.go index 59836179ace..7af3f06f172 100644 --- a/teamwork/devices_request_builder.go +++ b/teamwork/devices_request_builder.go @@ -11,7 +11,7 @@ import ( type DevicesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DevicesRequestBuilderGetQueryParameters get a list of all Microsoft Teams-enabled devices provisioned for a tenant. +// DevicesRequestBuilderGetQueryParameters the Teams devices provisioned for the tenant. type DevicesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewDevicesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371 func (m *DevicesRequestBuilder) Count()(*DevicesCountRequestBuilder) { return NewDevicesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of all Microsoft Teams-enabled devices provisioned for a tenant. +// Get the Teams devices provisioned for the tenant. // returns a TeamworkDeviceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/teamworkdevice-list?view=graph-rest-1.0 func (m *DevicesRequestBuilder) Get(ctx context.Context, requestConfiguration *DevicesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkDeviceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *DevicesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkDeviceable), nil } -// ToGetRequestInformation get a list of all Microsoft Teams-enabled devices provisioned for a tenant. +// ToGetRequestInformation the Teams devices provisioned for the tenant. // returns a *RequestInformation when successful func (m *DevicesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DevicesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/devices_teamwork_device_item_request_builder.go b/teamwork/devices_teamwork_device_item_request_builder.go index 89001fe2a1f..a89c2a65039 100644 --- a/teamwork/devices_teamwork_device_item_request_builder.go +++ b/teamwork/devices_teamwork_device_item_request_builder.go @@ -18,7 +18,7 @@ type DevicesTeamworkDeviceItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DevicesTeamworkDeviceItemRequestBuilderGetQueryParameters get the properties of a Microsoft Teams-enabled device. For example, you can use this method to get the device type, hardware detail, activity state, and health status information for a device that's enabled for Teams. +// DevicesTeamworkDeviceItemRequestBuilderGetQueryParameters the Teams devices provisioned for the tenant. type DevicesTeamworkDeviceItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -80,12 +80,9 @@ func (m *DevicesTeamworkDeviceItemRequestBuilder) Delete(ctx context.Context, re } return nil } -// Get get the properties of a Microsoft Teams-enabled device. For example, you can use this method to get the device type, hardware detail, activity state, and health status information for a device that's enabled for Teams. +// Get the Teams devices provisioned for the tenant. // returns a TeamworkDeviceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/teamworkdevice-get?view=graph-rest-1.0 func (m *DevicesTeamworkDeviceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DevicesTeamworkDeviceItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkDeviceable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -154,7 +151,7 @@ func (m *DevicesTeamworkDeviceItemRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties of a Microsoft Teams-enabled device. For example, you can use this method to get the device type, hardware detail, activity state, and health status information for a device that's enabled for Teams. +// ToGetRequestInformation the Teams devices provisioned for the tenant. // returns a *RequestInformation when successful func (m *DevicesTeamworkDeviceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DevicesTeamworkDeviceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/send_activity_notification_to_recipients_request_builder.go b/teamwork/send_activity_notification_to_recipients_request_builder.go index 84ff8364528..84878ac18d8 100644 --- a/teamwork/send_activity_notification_to_recipients_request_builder.go +++ b/teamwork/send_activity_notification_to_recipients_request_builder.go @@ -34,7 +34,7 @@ func NewSendActivityNotificationToRecipientsRequestBuilder(rawUrl string, reques // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/teamwork-sendactivitynotificationtorecipients?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/teamwork-sendactivitynotificationtorecipients?view=graph-rest-beta func (m *SendActivityNotificationToRecipientsRequestBuilder) Post(ctx context.Context, body SendActivityNotificationToRecipientsPostRequestBodyable, requestConfiguration *SendActivityNotificationToRecipientsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/teamwork/team_templates_item_definitions_item_team_definition_all_channels_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_all_channels_request_builder.go index 5b15bf201a0..19dbfacc6f4 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_all_channels_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_all_channels_request_builder.go @@ -11,7 +11,7 @@ import ( type TeamTemplatesItemDefinitionsItemTeamDefinitionAllChannelsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TeamTemplatesItemDefinitionsItemTeamDefinitionAllChannelsRequestBuilderGetQueryParameters get the list of channels either in this team or shared with this team (incoming channels). +// TeamTemplatesItemDefinitionsItemTeamDefinitionAllChannelsRequestBuilderGetQueryParameters list of channels either hosted in or shared with the team (incoming channels). type TeamTemplatesItemDefinitionsItemTeamDefinitionAllChannelsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionAllChannelsRequestBuilder( func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionAllChannelsRequestBuilder) Count()(*TeamTemplatesItemDefinitionsItemTeamDefinitionAllChannelsCountRequestBuilder) { return NewTeamTemplatesItemDefinitionsItemTeamDefinitionAllChannelsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of channels either in this team or shared with this team (incoming channels). +// Get list of channels either hosted in or shared with the team (incoming channels). // returns a ChannelCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/team-list-allchannels?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionAllChannelsRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionAllChannelsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChannelCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionAllChannelsRequestBuilder } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChannelCollectionResponseable), nil } -// ToGetRequestInformation get the list of channels either in this team or shared with this team (incoming channels). +// ToGetRequestInformation list of channels either hosted in or shared with the team (incoming channels). // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionAllChannelsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionAllChannelsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_archive_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_archive_request_builder.go index 452fa66648d..e687ffc28ad 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_archive_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_archive_request_builder.go @@ -34,7 +34,7 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionArchiveRequestBuilder(rawU // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/team-archive?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/team-archive?view=graph-rest-beta func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionArchiveRequestBuilder) Post(ctx context.Context, body TeamTemplatesItemDefinitionsItemTeamDefinitionArchivePostRequestBodyable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionArchiveRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { 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 8f7420749b0..778789f7139 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 @@ -18,7 +18,7 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsChannelItemRequestBui // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsChannelItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information. +// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsChannelItemRequestBuilderGetQueryParameters the collection of channels and messages associated with the team. type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsChannelItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -64,11 +64,8 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsChannelItemRequest urlParams["request-raw-url"] = rawUrl return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsChannelItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete the channel. +// Delete delete navigation property channels for teamwork // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/channel-delete?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsChannelItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsChannelItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsChannelItemReques func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsChannelItemRequestBuilder) FilesFolder()(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemFilesFolderRequestBuilder) { return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemFilesFolderRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information. +// Get the collection of channels and messages associated with the team. // returns a Channelable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsChannelItemRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsChannelItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -126,12 +120,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsChannelItemReques func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsChannelItemRequestBuilder) Messages()(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesRequestBuilder) { return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of the specified channel. +// Patch update the navigation property channels in teamwork // returns a Channelable when successful // returns a ODataError error 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-patch?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsChannelItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsChannelItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -169,7 +160,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsChannelItemReques func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsChannelItemRequestBuilder) Tabs()(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemTabsRequestBuilder) { return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemTabsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete the channel. +// ToDeleteRequestInformation delete navigation property channels for teamwork // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsChannelItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsChannelItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -180,7 +171,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsChannelItemReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information. +// ToGetRequestInformation the collection of channels and messages associated with the team. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsChannelItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsChannelItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -194,7 +185,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsChannelItemReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of the specified channel. +// ToPatchRequestInformation update the navigation property channels in teamwork // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsChannelItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsChannelItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_get_all_messages_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_get_all_messages_request_builder.go index 886d2c039b3..b0373c0561b 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_get_all_messages_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_get_all_messages_request_builder.go @@ -10,7 +10,7 @@ import ( type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsGetAllMessagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsGetAllMessagesRequestBuilderGetQueryParameters invoke function getAllMessages +// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsGetAllMessagesRequestBuilderGetQueryParameters retrieve messages across all channels in a team, including text, audio, and video conversations. To learn more about using the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsGetAllMessagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -53,10 +53,13 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsGetAllMessagesRequ urlParams["request-raw-url"] = rawUrl return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsGetAllMessagesRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getAllMessages +// Get retrieve messages across all channels in a team, including text, audio, and video conversations. To learn more about using the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. // Deprecated: This method is obsolete. Use GetAsGetAllMessagesGetResponse instead. // returns a TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsGetAllMessagesResponseable when successful // returns a ODataError error 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-getallmessages?view=graph-rest-beta func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsGetAllMessagesRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsGetAllMessagesRequestBuilderGetRequestConfiguration)(TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsGetAllMessagesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -74,9 +77,12 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsGetAllMessagesReq } return res.(TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsGetAllMessagesResponseable), nil } -// GetAsGetAllMessagesGetResponse invoke function getAllMessages +// GetAsGetAllMessagesGetResponse retrieve messages across all channels in a team, including text, audio, and video conversations. To learn more about using the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. // returns a TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsGetAllMessagesGetResponseable when successful // returns a ODataError error 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-getallmessages?view=graph-rest-beta func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsGetAllMessagesRequestBuilder) GetAsGetAllMessagesGetResponse(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsGetAllMessagesRequestBuilderGetRequestConfiguration)(TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsGetAllMessagesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -94,7 +100,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsGetAllMessagesReq } return res.(TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsGetAllMessagesGetResponseable), nil } -// ToGetRequestInformation invoke function getAllMessages +// ToGetRequestInformation retrieve messages across all channels in a team, including text, audio, and video conversations. To learn more about using the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsGetAllMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsGetAllMessagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_get_all_retained_messages_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_get_all_retained_messages_request_builder.go index 0eb28e69d9b..d2ea3e3e2af 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_get_all_retained_messages_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_get_all_retained_messages_request_builder.go @@ -10,7 +10,7 @@ import ( type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsGetAllRetainedMessagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsGetAllRetainedMessagesRequestBuilderGetQueryParameters invoke function getAllRetainedMessages +// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsGetAllRetainedMessagesRequestBuilderGetQueryParameters get retained messages across all channels in a team. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsGetAllRetainedMessagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsGetAllRetainedMess urlParams["request-raw-url"] = rawUrl return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsGetAllRetainedMessagesRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getAllRetainedMessages +// Get get retained messages across all channels in a team. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. // Deprecated: This method is obsolete. Use GetAsGetAllRetainedMessagesGetResponse instead. // returns a TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsGetAllRetainedMessagesResponseable when successful // returns a ODataError error 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-getallretainedmessages?view=graph-rest-beta func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsGetAllRetainedMessagesRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsGetAllRetainedMessagesRequestBuilderGetRequestConfiguration)(TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsGetAllRetainedMessagesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsGetAllRetainedMes } return res.(TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsGetAllRetainedMessagesResponseable), nil } -// GetAsGetAllRetainedMessagesGetResponse invoke function getAllRetainedMessages +// GetAsGetAllRetainedMessagesGetResponse get retained messages across all channels in a team. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. // returns a TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsGetAllRetainedMessagesGetResponseable when successful // returns a ODataError error 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-getallretainedmessages?view=graph-rest-beta func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsGetAllRetainedMessagesRequestBuilder) GetAsGetAllRetainedMessagesGetResponse(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsGetAllRetainedMessagesRequestBuilderGetRequestConfiguration)(TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsGetAllRetainedMessagesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsGetAllRetainedMes } return res.(TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsGetAllRetainedMessagesGetResponseable), nil } -// ToGetRequestInformation invoke function getAllRetainedMessages +// ToGetRequestInformation get retained messages across all channels in a team. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsGetAllRetainedMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsGetAllRetainedMessagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_archive_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_archive_request_builder.go index 59d9d1e997c..2933c59b692 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_archive_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_archive_request_builder.go @@ -34,7 +34,7 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemArchiveRequest // returns a ODataError error 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-archive?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-archive?view=graph-rest-beta func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemArchiveRequestBuilder) Post(ctx context.Context, body TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemArchivePostRequestBodyable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemArchiveRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_complete_migration_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_complete_migration_request_builder.go index a94d9d2dba4..fb8a054316c 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_complete_migration_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_complete_migration_request_builder.go @@ -34,7 +34,7 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemCompleteMigrat // returns a ODataError error 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-completemigration?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-completemigration?view=graph-rest-beta func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemCompleteMigrationRequestBuilder) Post(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemCompleteMigrationRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go index df6e9218d38..d5b54c5fc58 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go @@ -10,7 +10,7 @@ import ( type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters invoke function doesUserHaveAccess +// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters determine whether a user has access to a shared channel. type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters struct { // Usage: tenantId='@tenantId' TenantId *string `uriparametername:"tenantId"` @@ -41,10 +41,13 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemDoesUserHaveAc urlParams["request-raw-url"] = rawUrl return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function doesUserHaveAccess +// Get determine whether a user has access to a shared channel. // Deprecated: This method is obsolete. Use GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse instead. // returns a TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponseable when successful // returns a ODataError error 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-doesuserhaveaccess?view=graph-rest-beta func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetRequestConfiguration)(TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -62,9 +65,12 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemDoesUserHaveA } return res.(TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponseable), nil } -// GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse invoke function doesUserHaveAccess +// GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse determine whether a user has access to a shared channel. // returns a TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponseable when successful // returns a ODataError error 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-doesuserhaveaccess?view=graph-rest-beta func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder) GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetRequestConfiguration)(TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -82,7 +88,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemDoesUserHaveA } return res.(TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponseable), nil } -// ToGetRequestInformation invoke function doesUserHaveAccess +// ToGetRequestInformation determine whether a user has access to a shared channel. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_files_folder_content_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_files_folder_content_request_builder.go index f75388ba48a..95c33fd6a34 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_files_folder_content_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_files_folder_content_request_builder.go @@ -48,9 +48,6 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemFilesFolderCon // Get get content for the navigation property filesFolder from teamwork // 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/channel-get-filesfolder?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemFilesFolderContentRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemFilesFolderContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_files_folder_content_stream_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_files_folder_content_stream_request_builder.go index 50b929fa3a3..19961fe5900 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_files_folder_content_stream_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_files_folder_content_stream_request_builder.go @@ -40,9 +40,6 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemFilesFolderCon // Get the content stream, if the item represents a file. // 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/channel-get-filesfolder?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemFilesFolderContentStreamRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemFilesFolderContentStreamRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_files_folder_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_files_folder_request_builder.go index 4d7a362e3b1..a6143cabe17 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_files_folder_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_files_folder_request_builder.go @@ -11,7 +11,7 @@ import ( type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemFilesFolderRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemFilesFolderRequestBuilderGetQueryParameters get the metadata for the location where the files of a channel are stored. +// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemFilesFolderRequestBuilderGetQueryParameters metadata for the location where the channel's files are stored. type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemFilesFolderRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -50,12 +50,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemFilesFolderRe func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemFilesFolderRequestBuilder) ContentStream()(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemFilesFolderContentStreamRequestBuilder) { return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemFilesFolderContentStreamRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the metadata for the location where the files of a channel are stored. +// Get metadata for the location where the channel's files are stored. // returns a DriveItemable when successful // returns a ODataError error 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-get-filesfolder?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemFilesFolderRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemFilesFolderRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,7 +70,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemFilesFolderRe } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable), nil } -// ToGetRequestInformation get the metadata for the location where the files of a channel are stored. +// ToGetRequestInformation metadata for the location where the channel's files are stored. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemFilesFolderRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemFilesFolderRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_members_add_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_members_add_request_builder.go index 80b5cea72a9..09342351435 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_members_add_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_members_add_request_builder.go @@ -36,7 +36,7 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersAddRequ // returns a ODataError error 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-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-beta func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersAddRequestBuilder) Post(ctx context.Context, body TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersAddPostRequestBodyable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersAddRequestBuilderPostRequestConfiguration)(TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersAddResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersAddReq // returns a ODataError error 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-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-beta func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersAddRequestBuilder) PostAsAddPostResponse(ctx context.Context, body TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersAddPostRequestBodyable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersAddRequestBuilderPostRequestConfiguration)(TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersAddPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_members_conversation_member_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_members_conversation_member_item_request_builder.go index b77fd075610..aa7f645bc7a 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_members_conversation_member_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_members_conversation_member_item_request_builder.go @@ -18,7 +18,7 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersConversati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersConversationMemberItemRequestBuilderGetQueryParameters get a conversationMember from a channel. +// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersConversationMemberItemRequestBuilderGetQueryParameters a collection of membership records associated with the channel. type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersConversationMemberItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersConvers urlParams["request-raw-url"] = rawUrl return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersConversationMemberItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. +// Delete delete navigation property members for teamwork // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/channel-delete-members?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersConversationMemberItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersConver } return nil } -// Get get a conversationMember from a channel. +// Get a collection of membership records associated with the 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-get-members?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersConversationMemberItemRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersConversationMemberItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersConver } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil } -// Patch update the role of a conversationMember in a team.or channel. +// Patch update the navigation property members in teamwork // returns a ConversationMemberable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersConversationMemberItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersConver } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil } -// ToDeleteRequestInformation delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. +// ToDeleteRequestInformation delete navigation property members for teamwork // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersConversationMemberItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersConver requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a conversationMember from a channel. +// ToGetRequestInformation a collection of membership records associated with the channel. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersConversationMemberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersConversationMemberItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersConver requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the role of a conversationMember in a team.or channel. +// ToPatchRequestInformation update the navigation property members in teamwork // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersConversationMemberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_members_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_members_request_builder.go index 5897bb5973e..5cd253c2b0c 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_members_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_members_request_builder.go @@ -11,7 +11,7 @@ import ( type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersRequestBuilderGetQueryParameters retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. +// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersRequestBuilderGetQueryParameters a collection of membership records associated with the channel. type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersRequest func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersRequestBuilder) Count()(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersCountRequestBuilder) { return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. +// Get a collection of membership records associated with the channel. // returns a ConversationMemberCollectionResponseable when successful // returns a ODataError error 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-list-members?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersReques } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable), nil } -// Post add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. +// Post create new navigation property to members for teamwork // returns a ConversationMemberable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/channel-post-members?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersReques } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil } -// ToGetRequestInformation retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. +// ToGetRequestInformation a collection of membership records associated with the channel. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. +// ToPostRequestInformation create new navigation property to members for teamwork // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_chat_message_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_chat_message_item_request_builder.go index b114d4b333a..2b65efe09cf 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_chat_message_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_chat_message_item_request_builder.go @@ -18,7 +18,7 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesChatMessa // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesChatMessageItemRequestBuilderGetQueryParameters retrieve a single message or a message reply in a channel or a chat. +// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesChatMessageItemRequestBuilderGetQueryParameters a collection of all the messages in the channel. A navigation property. Nullable. type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesChatMessageItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesChatM } return nil } -// Get retrieve a single message or a message reply in a channel or a chat. +// Get a collection of all the messages in the channel. A navigation property. Nullable. // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-get?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesChatMessageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesChatMessageItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,12 +95,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesChatM func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesChatMessageItemRequestBuilder) HostedContents()(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemHostedContentsRequestBuilder) { return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemHostedContentsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method doesn't support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. +// Patch update the navigation property messages in teamwork // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-update?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesChatMessageItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesChatMessageItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -147,7 +141,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesChatM requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a single message or a message reply in a channel or a chat. +// ToGetRequestInformation a collection of all the messages in the channel. A navigation property. Nullable. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesChatMessageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesChatMessageItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -161,7 +155,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesChatM requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method doesn't support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. +// ToPatchRequestInformation update the navigation property messages in teamwork // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesChatMessageItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesChatMessageItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_delta_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_delta_request_builder.go index 60f04411738..689c5638754 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_delta_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesDeltaRequestBuilderGetQueryParameters invoke function delta +// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesDeltaRequestBuilderGetQueryParameters retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesDeltaR urlParams["request-raw-url"] = rawUrl return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-beta func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesDeltaRequestBuilderGetRequestConfiguration)(TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesDelta } return res.(TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesDeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // returns a TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-beta func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesDeltaRequestBuilderGetRequestConfiguration)(TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesDelta } return res.(TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesDeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index 73a3a74b9a1..40d148b24a5 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -18,7 +18,7 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemHoste // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters retrieve the properties and relationships of chatMessageHostedContent object. +// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters content in a message hosted by Microsoft Teams - for example, images or code snippets. type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemH } return nil } -// Get retrieve the properties and relationships of chatMessageHostedContent object. +// Get content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a ChatMessageHostedContentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessagehostedcontent-get?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemH requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of chatMessageHostedContent object. +// ToGetRequestInformation content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_hosted_contents_item_value_content_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_hosted_contents_item_value_content_request_builder.go index f7e67f6ea0b..8f5e04a245c 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_hosted_contents_item_value_content_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_hosted_contents_item_value_content_request_builder.go @@ -40,9 +40,6 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemHo // Get get media content for the navigation property hostedContents from teamwork // 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/chatmessage-list-hostedcontents?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemHostedContentsItemValueContentRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemHostedContentsItemValueContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_hosted_contents_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_hosted_contents_request_builder.go index 0c7b493569a..5314a7bb1ae 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_hosted_contents_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_hosted_contents_request_builder.go @@ -11,7 +11,7 @@ import ( type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemHostedContentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemHostedContentsRequestBuilderGetQueryParameters retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemHostedContentsRequestBuilderGetQueryParameters content in a message hosted by Microsoft Teams - for example, images or code snippets. type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemHostedContentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemHo func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemHostedContentsRequestBuilder) Count()(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemHostedContentsCountRequestBuilder) { return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemHostedContentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// Get content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a ChatMessageHostedContentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemHostedContentsRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemHostedContentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemH } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentable), nil } -// ToGetRequestInformation retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// ToGetRequestInformation content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemHostedContentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemHostedContentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_chat_message_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_chat_message_item_request_builder.go index dd29cd2d5a4..fadfb9e9a52 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_chat_message_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_chat_message_item_request_builder.go @@ -18,7 +18,7 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepli // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesChatMessageItemRequestBuilderGetQueryParameters retrieve a single message or a message reply in a channel or a chat. +// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesChatMessageItemRequestBuilderGetQueryParameters replies for a specified message. Supports $expand for channel messages. type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesChatMessageItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemR } return nil } -// Get retrieve a single message or a message reply in a channel or a chat. +// Get replies for a specified message. Supports $expand for channel messages. // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-get?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesChatMessageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesChatMessageItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -139,7 +136,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a single message or a message reply in a channel or a chat. +// ToGetRequestInformation replies for a specified message. Supports $expand for channel messages. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesChatMessageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesChatMessageItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_delta_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_delta_request_builder.go index f4546aa9a64..5bc2090c8f9 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_delta_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesDeltaRequestBuilderGetQueryParameters invoke function delta +// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesDeltaRequestBuilderGetQueryParameters retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRe urlParams["request-raw-url"] = rawUrl return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-beta func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesDeltaRequestBuilderGetRequestConfiguration)(TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemR } return res.(TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesDeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // returns a TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-beta func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesDeltaRequestBuilderGetRequestConfiguration)(TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemR } return res.(TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesDeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index 25dca1b4c46..fcab0124073 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -18,7 +18,7 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepli // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters retrieve the properties and relationships of chatMessageHostedContent object. +// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters content in a message hosted by Microsoft Teams - for example, images or code snippets. type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemR } return nil } -// Get retrieve the properties and relationships of chatMessageHostedContent object. +// Get content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a ChatMessageHostedContentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessagehostedcontent-get?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of chatMessageHostedContent object. +// ToGetRequestInformation content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go index 620b67e08cf..41818b0dce6 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go @@ -40,9 +40,6 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRe // Get get media content for the navigation property hostedContents from teamwork // 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/chatmessage-list-hostedcontents?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_hosted_contents_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_hosted_contents_request_builder.go index 1f1736d1529..67e0215ecda 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_hosted_contents_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_hosted_contents_request_builder.go @@ -11,7 +11,7 @@ import ( type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilderGetQueryParameters retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilderGetQueryParameters content in a message hosted by Microsoft Teams - for example, images or code snippets. type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRe func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilder) Count()(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsCountRequestBuilder) { return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// Get content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a ChatMessageHostedContentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemR } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentable), nil } -// ToGetRequestInformation retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// ToGetRequestInformation content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_soft_delete_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_soft_delete_request_builder.go index f0495c069da..5c40d9166aa 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_soft_delete_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_soft_delete_request_builder.go @@ -34,7 +34,7 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRe // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-beta func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesItemSoftDeleteRequestBuilder) Post(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesItemSoftDeleteRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_undo_soft_delete_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_undo_soft_delete_request_builder.go index e63bd6eb15a..227d0b24589 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_undo_soft_delete_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_undo_soft_delete_request_builder.go @@ -34,7 +34,7 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRe // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-beta func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesItemUndoSoftDeleteRequestBuilder) Post(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesItemUndoSoftDeleteRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_request_builder.go index eaee313e6a6..cecddefd46d 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_request_builder.go @@ -11,7 +11,7 @@ import ( type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesRequestBuilderGetQueryParameters list all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, call get channel message. +// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesRequestBuilderGetQueryParameters replies for a specified message. Supports $expand for channel messages. type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemR func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesRequestBuilder) Delta()(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesDeltaRequestBuilder) { return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, call get channel message. +// Get replies for a specified message. Supports $expand for channel messages. // returns a ChatMessageCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-list-replies?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemR } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageCollectionResponseable), nil } -// Post send a new reply to a chatMessage in a specified channel. +// Post create new navigation property to replies for teamwork // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemR } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable), nil } -// ToGetRequestInformation list all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, call get channel message. +// ToGetRequestInformation replies for a specified message. Supports $expand for channel messages. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation send a new reply to a chatMessage in a specified channel. +// ToPostRequestInformation create new navigation property to replies for teamwork // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemRepliesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_soft_delete_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_soft_delete_request_builder.go index 9c80fe2afd6..41d6fa2532b 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_soft_delete_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_soft_delete_request_builder.go @@ -34,7 +34,7 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemSo // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-beta func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemSoftDeleteRequestBuilder) Post(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemSoftDeleteRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_undo_soft_delete_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_undo_soft_delete_request_builder.go index d20b019d00f..a440723b858 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_undo_soft_delete_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_undo_soft_delete_request_builder.go @@ -34,7 +34,7 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemUn // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-beta func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemUndoSoftDeleteRequestBuilder) Post(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemUndoSoftDeleteRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_request_builder.go index b28cf6175a3..999f3ae23f7 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_request_builder.go @@ -11,7 +11,7 @@ import ( type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesRequestBuilderGetQueryParameters retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). +// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesRequestBuilderGetQueryParameters a collection of all the messages in the channel. A navigation property. Nullable. type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesReque func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesRequestBuilder) Delta()(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesDeltaRequestBuilder) { return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). +// Get a collection of all the messages in the channel. A navigation property. Nullable. // returns a ChatMessageCollectionResponseable when successful // returns a ODataError error 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-list-messages?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesReque } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageCollectionResponseable), nil } -// Post send a new chatMessage in the specified channel. +// Post create new navigation property to messages for teamwork // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/channel-post-messages?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesReque } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable), nil } -// ToGetRequestInformation retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). +// ToGetRequestInformation a collection of all the messages in the channel. A navigation property. Nullable. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation send a new chatMessage in the specified channel. +// ToPostRequestInformation create new navigation property to messages for teamwork // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_provision_email_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_provision_email_request_builder.go index 38968ab4491..dec61cefc15 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_provision_email_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_provision_email_request_builder.go @@ -36,7 +36,7 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemProvisionEmail // returns a ODataError error 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-provisionemail?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-provisionemail?view=graph-rest-beta func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemProvisionEmailRequestBuilder) Post(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemProvisionEmailRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProvisionChannelEmailResultable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_remove_email_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_remove_email_request_builder.go index 84463bb58f1..1f38f3b330a 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_remove_email_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_remove_email_request_builder.go @@ -34,7 +34,7 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemRemoveEmailReq // returns a ODataError error 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-removeemail?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-removeemail?view=graph-rest-beta func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemRemoveEmailRequestBuilder) Post(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemRemoveEmailRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_shared_with_teams_item_allowed_members_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_shared_with_teams_item_allowed_members_request_builder.go index 5c83a17878b..103b50cb219 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_shared_with_teams_item_allowed_members_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_shared_with_teams_item_allowed_members_request_builder.go @@ -11,7 +11,7 @@ import ( type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilderGetQueryParameters get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant +// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilderGetQueryParameters a collection of team members who have access to the shared channel. type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeam func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilder) Count()(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsItemAllowedMembersCountRequestBuilder) { return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsItemAllowedMembersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant +// Get a collection of team members who have access to the shared channel. // returns a ConversationMemberCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-list-allowedmembers?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTea } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable), nil } -// ToGetRequestInformation get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant +// ToGetRequestInformation a collection of team members who have access to the shared channel. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_shared_with_teams_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_shared_with_teams_request_builder.go index f664cd97570..b66dadd8c4b 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_shared_with_teams_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_shared_with_teams_request_builder.go @@ -11,7 +11,7 @@ import ( type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsRequestBuilderGetQueryParameters get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. +// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsRequestBuilderGetQueryParameters a collection of teams with which a channel is shared. type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeam func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsRequestBuilder) Count()(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsCountRequestBuilder) { return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. +// Get a collection of teams with which a channel is shared. // returns a SharedWithChannelTeamInfoCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-list?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharedWithChannelTeamInfoCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTea } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharedWithChannelTeamInfoable), nil } -// ToGetRequestInformation get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. +// ToGetRequestInformation a collection of teams with which a channel is shared. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_shared_with_teams_shared_with_channel_team_info_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_shared_with_teams_shared_with_channel_team_info_item_request_builder.go index ebc056a032f..918578a0973 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_shared_with_teams_shared_with_channel_team_info_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_shared_with_teams_shared_with_channel_team_info_item_request_builder.go @@ -18,7 +18,7 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsSh // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. +// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters a collection of teams with which a channel is shared. type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeam urlParams["request-raw-url"] = rawUrl return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. +// Delete delete navigation property sharedWithTeams for teamwork // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-delete?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTea } return nil } -// Get get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. +// Get a collection of teams with which a channel is shared. // returns a SharedWithChannelTeamInfoable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-get?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharedWithChannelTeamInfoable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -126,7 +120,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTea func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) Team()(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsItemTeamRequestBuilder) { return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsItemTeamRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. +// ToDeleteRequestInformation delete navigation property sharedWithTeams for teamwork // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -137,7 +131,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTea requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. +// ToGetRequestInformation a collection of teams with which a channel is shared. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_tabs_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_tabs_request_builder.go index 3081d6cac33..ac186359833 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_tabs_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_tabs_request_builder.go @@ -11,7 +11,7 @@ import ( type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemTabsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemTabsRequestBuilderGetQueryParameters retrieve the list of tabs in the specified channel within a team. +// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemTabsRequestBuilderGetQueryParameters a collection of all the tabs in the channel. A navigation property. type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemTabsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemTabsRequestBui func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemTabsRequestBuilder) Count()(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemTabsCountRequestBuilder) { return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemTabsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of tabs in the specified channel within a team. +// Get a collection of all the tabs in the channel. A navigation property. // returns a TeamsTabCollectionResponseable when successful // returns a ODataError error 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-list-tabs?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemTabsRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemTabsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsTabCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemTabsRequestBu } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsTabable), nil } -// ToGetRequestInformation retrieve the list of tabs in the specified channel within a team. +// ToGetRequestInformation a collection of all the tabs in the channel. A navigation property. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemTabsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemTabsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_unarchive_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_unarchive_request_builder.go index 31771cf31e6..6a3b638a887 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_unarchive_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_unarchive_request_builder.go @@ -34,7 +34,7 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemUnarchiveReque // returns a ODataError error 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-unarchive?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-unarchive?view=graph-rest-beta func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemUnarchiveRequestBuilder) Post(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemUnarchiveRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_request_builder.go index 1bafda5c78b..ebedca7c14e 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_request_builder.go @@ -11,7 +11,7 @@ import ( type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsRequestBuilderGetQueryParameters retrieve the list of channels in this team. +// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsRequestBuilderGetQueryParameters the collection of channels and messages associated with the team. type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsRequestBuilder(raw func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsRequestBuilder) Count()(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsCountRequestBuilder) { return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of channels in this team. +// Get the collection of channels and messages associated with the team. // returns a ChannelCollectionResponseable when successful // returns a ODataError error 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-list?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChannelCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -114,12 +111,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsRequestBuilder) G func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsRequestBuilder) GetAllRetainedMessages()(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsGetAllRetainedMessagesRequestBuilder) { return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsGetAllRetainedMessagesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Post create a new channel in a team, as specified in the request body. When you create a channel, the maximum length of the channel's displayName is 50 characters. This display name appears to the user in Microsoft Teams. You can add a maximum of 200 members when you create a private channel. +// Post create new navigation property to channels for teamwork // returns a Channelable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/channel-post?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -137,7 +131,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsRequestBuilder) P } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable), nil } -// ToGetRequestInformation retrieve the list of channels in this team. +// ToGetRequestInformation the collection of channels and messages associated with the team. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -151,7 +145,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsRequestBuilder) T requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new channel in a team, as specified in the request body. When you create a channel, the maximum length of the channel's displayName is 50 characters. This display name appears to the user in Microsoft Teams. You can add a maximum of 200 members when you create a private channel. +// ToPostRequestInformation create new navigation property to channels for teamwork // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_clone_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_clone_request_builder.go index 928d1619b5c..10af2c08033 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_clone_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_clone_request_builder.go @@ -34,7 +34,7 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionCloneRequestBuilder(rawUrl // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/team-clone?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/team-clone?view=graph-rest-beta func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionCloneRequestBuilder) Post(ctx context.Context, body TeamTemplatesItemDefinitionsItemTeamDefinitionClonePostRequestBodyable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionCloneRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/teamwork/team_templates_item_definitions_item_team_definition_complete_migration_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_complete_migration_request_builder.go index e2d0befab48..c9d772772ad 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_complete_migration_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_complete_migration_request_builder.go @@ -34,7 +34,7 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionCompleteMigrationRequestBu // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/team-completemigration?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/team-completemigration?view=graph-rest-beta func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionCompleteMigrationRequestBuilder) Post(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionCompleteMigrationRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamwork/team_templates_item_definitions_item_team_definition_incoming_channels_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_incoming_channels_request_builder.go index 807bd10f12b..ace2f49645e 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_incoming_channels_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_incoming_channels_request_builder.go @@ -11,7 +11,7 @@ import ( type TeamTemplatesItemDefinitionsItemTeamDefinitionIncomingChannelsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TeamTemplatesItemDefinitionsItemTeamDefinitionIncomingChannelsRequestBuilderGetQueryParameters get the list of incoming channels (channels shared with a team). +// TeamTemplatesItemDefinitionsItemTeamDefinitionIncomingChannelsRequestBuilderGetQueryParameters list of channels shared with the team. type TeamTemplatesItemDefinitionsItemTeamDefinitionIncomingChannelsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionIncomingChannelsRequestBui func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionIncomingChannelsRequestBuilder) Count()(*TeamTemplatesItemDefinitionsItemTeamDefinitionIncomingChannelsCountRequestBuilder) { return NewTeamTemplatesItemDefinitionsItemTeamDefinitionIncomingChannelsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of incoming channels (channels shared with a team). +// Get list of channels shared with the team. // returns a ChannelCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/team-list-incomingchannels?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionIncomingChannelsRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionIncomingChannelsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChannelCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionIncomingChannelsRequestBu } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChannelCollectionResponseable), nil } -// ToGetRequestInformation get the list of incoming channels (channels shared with a team). +// ToGetRequestInformation list of channels shared with the team. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionIncomingChannelsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionIncomingChannelsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_installed_apps_item_upgrade_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_installed_apps_item_upgrade_request_builder.go index 3c81f991865..f8a7829f82c 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_installed_apps_item_upgrade_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_installed_apps_item_upgrade_request_builder.go @@ -34,7 +34,7 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsItemUpgradeRe // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-teamsappinstallation-upgrade?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chat-teamsappinstallation-upgrade?view=graph-rest-beta func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsItemUpgradeRequestBuilder) Post(ctx context.Context, body TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsItemUpgradePostRequestBodyable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsItemUpgradeRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/teamwork/team_templates_item_definitions_item_team_definition_installed_apps_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_installed_apps_request_builder.go index 3dd6957dcf1..6723bd2b9f2 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_installed_apps_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_installed_apps_request_builder.go @@ -11,7 +11,7 @@ import ( type TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsRequestBuilderGetQueryParameters retrieve the list of apps installed in the specified team. +// TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsRequestBuilderGetQueryParameters the apps installed in this team. type TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsRequestBuilde func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsRequestBuilder) Count()(*TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsCountRequestBuilder) { return NewTeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of apps installed in the specified team. +// Get the apps installed in this team. // returns a TeamsAppInstallationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/team-list-installedapps?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppInstallationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsRequestBuild } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppInstallationCollectionResponseable), nil } -// Post install an app to the specified team. +// Post create new navigation property to installedApps for teamwork // returns a TeamsAppInstallationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/team-post-installedapps?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppInstallationable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppInstallationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsRequestBuild } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppInstallationable), nil } -// ToGetRequestInformation retrieve the list of apps installed in the specified team. +// ToGetRequestInformation the apps installed in this team. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsRequestBuild requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation install an app to the specified team. +// ToPostRequestInformation create new navigation property to installedApps for teamwork // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppInstallationable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_installed_apps_teams_app_installation_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_installed_apps_teams_app_installation_item_request_builder.go index 7d9031a985d..79fcafcd53c 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_installed_apps_teams_app_installation_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_installed_apps_teams_app_installation_item_request_builder.go @@ -18,7 +18,7 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsTeamsAppInstalla // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsTeamsAppInstallationItemRequestBuilderGetQueryParameters retrieve the app installed in the specified team. +// TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsTeamsAppInstallationItemRequestBuilderGetQueryParameters the apps installed in this team. type TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsTeamsAppInstallationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsTeamsAppInsta urlParams["request-raw-url"] = rawUrl return NewTeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsTeamsAppInstallationItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete uninstalls an app from the specified team. +// Delete delete navigation property installedApps for teamwork // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/team-delete-installedapps?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsTeamsAppInstallationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsTeamsAppInstallationItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsTeamsAppInst } return nil } -// Get retrieve the app installed in the specified team. +// Get the apps installed in this team. // returns a TeamsAppInstallationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/team-get-installedapps?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsTeamsAppInstallationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsTeamsAppInstallationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppInstallationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -126,7 +120,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsTeamsAppInst func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsTeamsAppInstallationItemRequestBuilder) TeamsAppDefinition()(*TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsItemTeamsAppDefinitionRequestBuilder) { return NewTeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsItemTeamsAppDefinitionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation uninstalls an app from the specified team. +// ToDeleteRequestInformation delete navigation property installedApps for teamwork // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsTeamsAppInstallationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsTeamsAppInstallationItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -137,7 +131,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsTeamsAppInst requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the app installed in the specified team. +// ToGetRequestInformation the apps installed in this team. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsTeamsAppInstallationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsTeamsAppInstallationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_members_add_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_members_add_request_builder.go index 49357812f9d..bd1b0ea85c1 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_members_add_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_members_add_request_builder.go @@ -36,7 +36,7 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionMembersAddRequestBuilder(r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-beta func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionMembersAddRequestBuilder) Post(ctx context.Context, body TeamTemplatesItemDefinitionsItemTeamDefinitionMembersAddPostRequestBodyable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionMembersAddRequestBuilderPostRequestConfiguration)(TeamTemplatesItemDefinitionsItemTeamDefinitionMembersAddResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionMembersAddRequestBuilder) // returns a ODataError error 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-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-beta func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionMembersAddRequestBuilder) PostAsAddPostResponse(ctx context.Context, body TeamTemplatesItemDefinitionsItemTeamDefinitionMembersAddPostRequestBodyable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionMembersAddRequestBuilderPostRequestConfiguration)(TeamTemplatesItemDefinitionsItemTeamDefinitionMembersAddPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/teamwork/team_templates_item_definitions_item_team_definition_members_conversation_member_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_members_conversation_member_item_request_builder.go index 3c83b698ac2..74f59ba7b2e 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_members_conversation_member_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_members_conversation_member_item_request_builder.go @@ -18,7 +18,7 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionMembersConversationMemberItem // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TeamTemplatesItemDefinitionsItemTeamDefinitionMembersConversationMemberItemRequestBuilderGetQueryParameters get a conversationMember from a team. +// TeamTemplatesItemDefinitionsItemTeamDefinitionMembersConversationMemberItemRequestBuilderGetQueryParameters members and owners of the team. type TeamTemplatesItemDefinitionsItemTeamDefinitionMembersConversationMemberItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionMembersConversationMemberI urlParams["request-raw-url"] = rawUrl return NewTeamTemplatesItemDefinitionsItemTeamDefinitionMembersConversationMemberItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove a conversationMember from a team. +// Delete delete navigation property members for teamwork // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/team-delete-members?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionMembersConversationMemberItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionMembersConversationMember } return nil } -// Get get a conversationMember from a team. +// Get members and owners of the team. // 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/team-get-members?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionMembersConversationMemberItemRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionMembersConversationMemberItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionMembersConversationMember } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil } -// Patch update the role of a conversationMember in a team. +// Patch update the navigation property members in teamwork // 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/team-update-members?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionMembersConversationMemberItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionMembersConversationMember } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil } -// ToDeleteRequestInformation remove a conversationMember from a team. +// ToDeleteRequestInformation delete navigation property members for teamwork // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionMembersConversationMemberItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionMembersConversationMember requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a conversationMember from a team. +// ToGetRequestInformation members and owners of the team. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionMembersConversationMemberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionMembersConversationMemberItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionMembersConversationMember requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the role of a conversationMember in a team. +// ToPatchRequestInformation update the navigation property members in teamwork // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionMembersConversationMemberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_members_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_members_request_builder.go index 16550087a0c..74945c8b129 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_members_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_members_request_builder.go @@ -11,7 +11,7 @@ import ( type TeamTemplatesItemDefinitionsItemTeamDefinitionMembersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TeamTemplatesItemDefinitionsItemTeamDefinitionMembersRequestBuilderGetQueryParameters get the conversationMember collection of a team. The membership IDs returned by the server must be treated as opaque strings. The client should not try to parse or make assumptions about these resource IDs. In the future, membership results may include users from various tenants, as indicated in the response. Clients should avoid assuming that all members exclusively belong to the current tenant. +// TeamTemplatesItemDefinitionsItemTeamDefinitionMembersRequestBuilderGetQueryParameters members and owners of the team. type TeamTemplatesItemDefinitionsItemTeamDefinitionMembersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionMembersRequestBuilder(rawU func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionMembersRequestBuilder) Count()(*TeamTemplatesItemDefinitionsItemTeamDefinitionMembersCountRequestBuilder) { return NewTeamTemplatesItemDefinitionsItemTeamDefinitionMembersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the conversationMember collection of a team. The membership IDs returned by the server must be treated as opaque strings. The client should not try to parse or make assumptions about these resource IDs. In the future, membership results may include users from various tenants, as indicated in the response. Clients should avoid assuming that all members exclusively belong to the current tenant. +// Get members and owners of the team. // returns a ConversationMemberCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/team-list-members?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionMembersRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionMembersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionMembersRequestBuilder) Ge } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable), nil } -// Post add a new conversation member to a team. +// Post create new navigation property to members for teamwork // 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/team-post-members?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionMembersRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionMembersRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionMembersRequestBuilder) Po } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil } -// ToGetRequestInformation get the conversationMember collection of a team. The membership IDs returned by the server must be treated as opaque strings. The client should not try to parse or make assumptions about these resource IDs. In the future, membership results may include users from various tenants, as indicated in the response. Clients should avoid assuming that all members exclusively belong to the current tenant. +// ToGetRequestInformation members and owners of the team. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionMembersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionMembersRequestBuilder) To requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add a new conversation member to a team. +// ToPostRequestInformation create new navigation property to members for teamwork // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionMembersRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionMembersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_permission_grants_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_permission_grants_request_builder.go index e3c1cc53e36..57efe18a8de 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_permission_grants_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_permission_grants_request_builder.go @@ -11,7 +11,7 @@ import ( type TeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsRequestBuilderGetQueryParameters list all resource-specific permission grants on the team. This list specifies the Microsoft Entra apps that have access to the team, along with the corresponding kind of resource-specific access that each app has. +// TeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsRequestBuilderGetQueryParameters a collection of permissions granted to apps to access the team. type TeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsRequestBui func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsRequestBuilder) Count()(*TeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsCountRequestBuilder) { return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list all resource-specific permission grants on the team. This list specifies the Microsoft Entra apps that have access to the team, along with the corresponding kind of resource-specific access that each app has. +// Get a collection of permissions granted to apps to access the team. // returns a ResourceSpecificPermissionGrantCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/team-list-permissiongrants?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ResourceSpecificPermissionGrantCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsRequestBu } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ResourceSpecificPermissionGrantable), nil } -// ToGetRequestInformation list all resource-specific permission grants on the team. This list specifies the Microsoft Entra apps that have access to the team, along with the corresponding kind of resource-specific access that each app has. +// ToGetRequestInformation a collection of permissions granted to apps to access the team. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_archive_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_archive_request_builder.go index 037e1c40098..03dfdb746e2 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_archive_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_archive_request_builder.go @@ -34,7 +34,7 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelArchiveReque // returns a ODataError error 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-archive?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-archive?view=graph-rest-beta func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelArchiveRequestBuilder) Post(ctx context.Context, body TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelArchivePostRequestBodyable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelArchiveRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_complete_migration_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_complete_migration_request_builder.go index 2078a7c9654..53f80558ac7 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_complete_migration_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_complete_migration_request_builder.go @@ -34,7 +34,7 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelCompleteMigr // returns a ODataError error 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-completemigration?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-completemigration?view=graph-rest-beta func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelCompleteMigrationRequestBuilder) Post(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelCompleteMigrationRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go index 9da1d292b91..2c876fc6078 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go @@ -10,7 +10,7 @@ import ( type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters invoke function doesUserHaveAccess +// TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters determine whether a user has access to a shared channel. type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetQueryParameters struct { // Usage: tenantId='@tenantId' TenantId *string `uriparametername:"tenantId"` @@ -41,10 +41,13 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelDoesUserHave urlParams["request-raw-url"] = rawUrl return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function doesUserHaveAccess +// Get determine whether a user has access to a shared channel. // Deprecated: This method is obsolete. Use GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse instead. // returns a TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponseable when successful // returns a ODataError error 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-doesuserhaveaccess?view=graph-rest-beta func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetRequestConfiguration)(TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -62,9 +65,12 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelDoesUserHav } return res.(TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponseable), nil } -// GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse invoke function doesUserHaveAccess +// GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse determine whether a user has access to a shared channel. // returns a TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponseable when successful // returns a ODataError error 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-doesuserhaveaccess?view=graph-rest-beta func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder) GetAsDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetRequestConfiguration)(TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -82,7 +88,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelDoesUserHav } return res.(TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponseable), nil } -// ToGetRequestInformation invoke function doesUserHaveAccess +// ToGetRequestInformation determine whether a user has access to a shared channel. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_files_folder_content_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_files_folder_content_request_builder.go index 6ba3533942e..5e9b787519b 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_files_folder_content_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_files_folder_content_request_builder.go @@ -48,9 +48,6 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelFilesFolderC // Get get content for the navigation property filesFolder from teamwork // 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/channel-get-filesfolder?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelFilesFolderContentRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelFilesFolderContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_files_folder_content_stream_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_files_folder_content_stream_request_builder.go index 5fc03c9bc78..bcb12d32a30 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_files_folder_content_stream_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_files_folder_content_stream_request_builder.go @@ -40,9 +40,6 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelFilesFolderC // Get the content stream, if the item represents a file. // 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/channel-get-filesfolder?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelFilesFolderContentStreamRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelFilesFolderContentStreamRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_files_folder_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_files_folder_request_builder.go index 38595f1a2f3..6e1b95c55f9 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_files_folder_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_files_folder_request_builder.go @@ -11,7 +11,7 @@ import ( type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelFilesFolderRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelFilesFolderRequestBuilderGetQueryParameters get the metadata for the location where the files of a channel are stored. +// TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelFilesFolderRequestBuilderGetQueryParameters metadata for the location where the channel's files are stored. type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelFilesFolderRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -50,12 +50,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelFilesFolder func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelFilesFolderRequestBuilder) ContentStream()(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelFilesFolderContentStreamRequestBuilder) { return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelFilesFolderContentStreamRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the metadata for the location where the files of a channel are stored. +// Get metadata for the location where the channel's files are stored. // returns a DriveItemable when successful // returns a ODataError error 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-get-filesfolder?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelFilesFolderRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelFilesFolderRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,7 +70,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelFilesFolder } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveItemable), nil } -// ToGetRequestInformation get the metadata for the location where the files of a channel are stored. +// ToGetRequestInformation metadata for the location where the channel's files are stored. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelFilesFolderRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelFilesFolderRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_members_add_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_members_add_request_builder.go index 3f02239f6ab..44e2b7ef864 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_members_add_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_members_add_request_builder.go @@ -36,7 +36,7 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersAddRe // returns a ODataError error 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-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-beta func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersAddRequestBuilder) Post(ctx context.Context, body TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersAddPostRequestBodyable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersAddRequestBuilderPostRequestConfiguration)(TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersAddResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersAddR // returns a ODataError error 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-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-beta func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersAddRequestBuilder) PostAsAddPostResponse(ctx context.Context, body TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersAddPostRequestBodyable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersAddRequestBuilderPostRequestConfiguration)(TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersAddPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_members_conversation_member_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_members_conversation_member_item_request_builder.go index 74d57905734..c0b0181f4cc 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_members_conversation_member_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_members_conversation_member_item_request_builder.go @@ -18,7 +18,7 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersConversa // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersConversationMemberItemRequestBuilderGetQueryParameters get a conversationMember from a channel. +// TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersConversationMemberItemRequestBuilderGetQueryParameters a collection of membership records associated with the channel. type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersConversationMemberItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersConve urlParams["request-raw-url"] = rawUrl return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersConversationMemberItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. +// Delete delete navigation property members for teamwork // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/channel-delete-members?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersConversationMemberItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersConv } return nil } -// Get get a conversationMember from a channel. +// Get a collection of membership records associated with the 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-get-members?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersConversationMemberItemRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersConversationMemberItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersConv } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil } -// Patch update the role of a conversationMember in a team.or channel. +// Patch update the navigation property members in teamwork // returns a ConversationMemberable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersConversationMemberItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersConv } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil } -// ToDeleteRequestInformation delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. +// ToDeleteRequestInformation delete navigation property members for teamwork // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersConversationMemberItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersConv requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a conversationMember from a channel. +// ToGetRequestInformation a collection of membership records associated with the channel. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersConversationMemberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersConversationMemberItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersConv requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the role of a conversationMember in a team.or channel. +// ToPatchRequestInformation update the navigation property members in teamwork // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersConversationMemberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_members_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_members_request_builder.go index 6e2c0bea6c9..466f8d611f0 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_members_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_members_request_builder.go @@ -11,7 +11,7 @@ import ( type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersRequestBuilderGetQueryParameters retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. +// TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersRequestBuilderGetQueryParameters a collection of membership records associated with the channel. type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersReque func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersRequestBuilder) Count()(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersCountRequestBuilder) { return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. +// Get a collection of membership records associated with the channel. // returns a ConversationMemberCollectionResponseable when successful // returns a ODataError error 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-list-members?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersRequ } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable), nil } -// Post add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. +// Post create new navigation property to members for teamwork // returns a ConversationMemberable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/channel-post-members?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersRequ } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil } -// ToGetRequestInformation retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. +// ToGetRequestInformation a collection of membership records associated with the channel. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. +// ToPostRequestInformation create new navigation property to members for teamwork // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_chat_message_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_chat_message_item_request_builder.go index a87d048fc5e..536c9df5649 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_chat_message_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_chat_message_item_request_builder.go @@ -18,7 +18,7 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesChatMes // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesChatMessageItemRequestBuilderGetQueryParameters retrieve a single message or a message reply in a channel or a chat. +// TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesChatMessageItemRequestBuilderGetQueryParameters a collection of all the messages in the channel. A navigation property. Nullable. type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesChatMessageItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesCha } return nil } -// Get retrieve a single message or a message reply in a channel or a chat. +// Get a collection of all the messages in the channel. A navigation property. Nullable. // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-get?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesChatMessageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesChatMessageItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,12 +95,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesCha func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesChatMessageItemRequestBuilder) HostedContents()(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsRequestBuilder) { return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method doesn't support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. +// Patch update the navigation property messages in teamwork // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-update?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesChatMessageItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesChatMessageItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -147,7 +141,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesCha requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a single message or a message reply in a channel or a chat. +// ToGetRequestInformation a collection of all the messages in the channel. A navigation property. Nullable. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesChatMessageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesChatMessageItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -161,7 +155,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesCha requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method doesn't support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. +// ToPatchRequestInformation update the navigation property messages in teamwork // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesChatMessageItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesChatMessageItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_delta_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_delta_request_builder.go index f57604a5755..e3e2d4f8000 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_delta_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesDeltaRequestBuilderGetQueryParameters invoke function delta +// TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesDeltaRequestBuilderGetQueryParameters retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesDelt urlParams["request-raw-url"] = rawUrl return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-beta func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesDeltaRequestBuilderGetRequestConfiguration)(TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesDel } return res.(TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesDeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // returns a TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-beta func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesDeltaRequestBuilderGetRequestConfiguration)(TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesDel } return res.(TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesDeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index d72a0679327..4f5cd1a9d1d 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -18,7 +18,7 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemHos // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters retrieve the properties and relationships of chatMessageHostedContent object. +// TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters content in a message hosted by Microsoft Teams - for example, images or code snippets. type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesIte } return nil } -// Get retrieve the properties and relationships of chatMessageHostedContent object. +// Get content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a ChatMessageHostedContentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessagehostedcontent-get?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesIte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of chatMessageHostedContent object. +// ToGetRequestInformation content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_hosted_contents_item_value_content_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_hosted_contents_item_value_content_request_builder.go index a6bf6bc03ea..b0f29920285 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_hosted_contents_item_value_content_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_hosted_contents_item_value_content_request_builder.go @@ -40,9 +40,6 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItem // Get get media content for the navigation property hostedContents from teamwork // 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/chatmessage-list-hostedcontents?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsItemValueContentRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsItemValueContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_hosted_contents_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_hosted_contents_request_builder.go index 70d46b05846..e10dac1a76d 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_hosted_contents_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_hosted_contents_request_builder.go @@ -11,7 +11,7 @@ import ( type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsRequestBuilderGetQueryParameters retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsRequestBuilderGetQueryParameters content in a message hosted by Microsoft Teams - for example, images or code snippets. type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItem func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsRequestBuilder) Count()(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsCountRequestBuilder) { return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// Get content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a ChatMessageHostedContentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesIte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentable), nil } -// ToGetRequestInformation retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// ToGetRequestInformation content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_chat_message_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_chat_message_item_request_builder.go index 80fac9eb851..11df1f7c3ac 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_chat_message_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_chat_message_item_request_builder.go @@ -18,7 +18,7 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRep // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilderGetQueryParameters retrieve a single message or a message reply in a channel or a chat. +// TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilderGetQueryParameters replies for a specified message. Supports $expand for channel messages. type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesIte } return nil } -// Get retrieve a single message or a message reply in a channel or a chat. +// Get replies for a specified message. Supports $expand for channel messages. // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-get?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -139,7 +136,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesIte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a single message or a message reply in a channel or a chat. +// ToGetRequestInformation replies for a specified message. Supports $expand for channel messages. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_delta_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_delta_request_builder.go index fd4232b504d..581063ab0a9 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_delta_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesDeltaRequestBuilderGetQueryParameters invoke function delta +// TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesDeltaRequestBuilderGetQueryParameters retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItem urlParams["request-raw-url"] = rawUrl return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-beta func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesDeltaRequestBuilderGetRequestConfiguration)(TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesIte } return res.(TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesDeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // returns a TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-beta func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesDeltaRequestBuilderGetRequestConfiguration)(TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesIte } return res.(TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesDeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index a8936f6175e..3a66e1e4313 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -18,7 +18,7 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRep // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters retrieve the properties and relationships of chatMessageHostedContent object. +// TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters content in a message hosted by Microsoft Teams - for example, images or code snippets. type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesIte } return nil } -// Get retrieve the properties and relationships of chatMessageHostedContent object. +// Get content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a ChatMessageHostedContentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessagehostedcontent-get?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesIte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of chatMessageHostedContent object. +// ToGetRequestInformation content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go index 1cbc84e57ce..3ec27ceac4d 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go @@ -40,9 +40,6 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItem // Get get media content for the navigation property hostedContents from teamwork // 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/chatmessage-list-hostedcontents?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_request_builder.go index 6ffd0d8e027..870df390f45 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_request_builder.go @@ -11,7 +11,7 @@ import ( type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilderGetQueryParameters retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilderGetQueryParameters content in a message hosted by Microsoft Teams - for example, images or code snippets. type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItem func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilder) Count()(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsCountRequestBuilder) { return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// Get content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a ChatMessageHostedContentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesIte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentable), nil } -// ToGetRequestInformation retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// ToGetRequestInformation content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_soft_delete_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_soft_delete_request_builder.go index 269795a4f92..e9925cc26c7 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_soft_delete_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_soft_delete_request_builder.go @@ -34,7 +34,7 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItem // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-beta func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemSoftDeleteRequestBuilder) Post(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemSoftDeleteRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_undo_soft_delete_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_undo_soft_delete_request_builder.go index 670960a6c7d..2d65e8ff7eb 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_undo_soft_delete_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_undo_soft_delete_request_builder.go @@ -34,7 +34,7 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItem // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-beta func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemUndoSoftDeleteRequestBuilder) Post(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemUndoSoftDeleteRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_request_builder.go index 67e593e6a2c..38b8befd554 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_request_builder.go @@ -11,7 +11,7 @@ import ( type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesRequestBuilderGetQueryParameters list all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, call get channel message. +// TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesRequestBuilderGetQueryParameters replies for a specified message. Supports $expand for channel messages. type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesIte func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesRequestBuilder) Delta()(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesDeltaRequestBuilder) { return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, call get channel message. +// Get replies for a specified message. Supports $expand for channel messages. // returns a ChatMessageCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-list-replies?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesIte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageCollectionResponseable), nil } -// Post send a new reply to a chatMessage in a specified channel. +// Post create new navigation property to replies for teamwork // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesIte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable), nil } -// ToGetRequestInformation list all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, call get channel message. +// ToGetRequestInformation replies for a specified message. Supports $expand for channel messages. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesIte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation send a new reply to a chatMessage in a specified channel. +// ToPostRequestInformation create new navigation property to replies for teamwork // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemRepliesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_soft_delete_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_soft_delete_request_builder.go index fbb51901138..f880c3cf5a6 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_soft_delete_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_soft_delete_request_builder.go @@ -34,7 +34,7 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItem // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-beta func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemSoftDeleteRequestBuilder) Post(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemSoftDeleteRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_undo_soft_delete_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_undo_soft_delete_request_builder.go index 70ec8ccd6ba..7fea6ba35c1 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_undo_soft_delete_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_undo_soft_delete_request_builder.go @@ -34,7 +34,7 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItem // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-beta func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemUndoSoftDeleteRequestBuilder) Post(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesItemUndoSoftDeleteRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_request_builder.go index b6ffb019216..bfbf60f2640 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_request_builder.go @@ -11,7 +11,7 @@ import ( type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesRequestBuilderGetQueryParameters retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). +// TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesRequestBuilderGetQueryParameters a collection of all the messages in the channel. A navigation property. Nullable. type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesReq func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesRequestBuilder) Delta()(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesDeltaRequestBuilder) { return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). +// Get a collection of all the messages in the channel. A navigation property. Nullable. // returns a ChatMessageCollectionResponseable when successful // returns a ODataError error 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-list-messages?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesReq } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageCollectionResponseable), nil } -// Post send a new chatMessage in the specified channel. +// Post create new navigation property to messages for teamwork // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/channel-post-messages?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesReq } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable), nil } -// ToGetRequestInformation retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). +// ToGetRequestInformation a collection of all the messages in the channel. A navigation property. Nullable. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation send a new chatMessage in the specified channel. +// ToPostRequestInformation create new navigation property to messages for teamwork // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_provision_email_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_provision_email_request_builder.go index ebfe83d10f7..3bb615c7e6d 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_provision_email_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_provision_email_request_builder.go @@ -36,7 +36,7 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelProvisionEma // returns a ODataError error 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-provisionemail?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-provisionemail?view=graph-rest-beta func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelProvisionEmailRequestBuilder) Post(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelProvisionEmailRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProvisionChannelEmailResultable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_remove_email_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_remove_email_request_builder.go index b441d25a0e5..c14e8fff659 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_remove_email_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_remove_email_request_builder.go @@ -34,7 +34,7 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelRemoveEmailR // returns a ODataError error 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-removeemail?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-removeemail?view=graph-rest-beta func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelRemoveEmailRequestBuilder) Post(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelRemoveEmailRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { 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 bdb6074eead..471c9c7825f 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 @@ -18,7 +18,7 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelRequestBuilderD // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelRequestBuilderGetQueryParameters get the default channel, General, of a team. +// TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelRequestBuilderGetQueryParameters the general channel for the team. type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -90,12 +90,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelRequestBuil func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelRequestBuilder) FilesFolder()(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelFilesFolderRequestBuilder) { return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelFilesFolderRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the default channel, General, of a team. +// Get the general channel for the team. // returns a Channelable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/team-get-primarychannel?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Channelable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -174,7 +171,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelRequestBuil requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the default channel, General, of a team. +// ToGetRequestInformation the general channel for the team. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_shared_with_teams_item_allowed_members_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_shared_with_teams_item_allowed_members_request_builder.go index 7a7fcc5b516..b148b3aab68 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_shared_with_teams_item_allowed_members_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_shared_with_teams_item_allowed_members_request_builder.go @@ -11,7 +11,7 @@ import ( type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilderGetQueryParameters get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant +// TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilderGetQueryParameters a collection of team members who have access to the shared channel. type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTe func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilder) Count()(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsItemAllowedMembersCountRequestBuilder) { return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsItemAllowedMembersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant +// Get a collection of team members who have access to the shared channel. // returns a ConversationMemberCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-list-allowedmembers?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithT } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable), nil } -// ToGetRequestInformation get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant +// ToGetRequestInformation a collection of team members who have access to the shared channel. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_shared_with_teams_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_shared_with_teams_request_builder.go index dfef6de6851..1d6cbd2ffbe 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_shared_with_teams_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_shared_with_teams_request_builder.go @@ -11,7 +11,7 @@ import ( type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsRequestBuilderGetQueryParameters get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. +// TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsRequestBuilderGetQueryParameters a collection of teams with which a channel is shared. type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTe func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsRequestBuilder) Count()(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsCountRequestBuilder) { return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. +// Get a collection of teams with which a channel is shared. // returns a SharedWithChannelTeamInfoCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-list?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharedWithChannelTeamInfoCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithT } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharedWithChannelTeamInfoable), nil } -// ToGetRequestInformation get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. +// ToGetRequestInformation a collection of teams with which a channel is shared. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_shared_with_teams_shared_with_channel_team_info_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_shared_with_teams_shared_with_channel_team_info_item_request_builder.go index d65e54d5e65..72d8cad4fdb 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_shared_with_teams_shared_with_channel_team_info_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_shared_with_teams_shared_with_channel_team_info_item_request_builder.go @@ -18,7 +18,7 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeams // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. +// TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters a collection of teams with which a channel is shared. type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTe urlParams["request-raw-url"] = rawUrl return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. +// Delete delete navigation property sharedWithTeams for teamwork // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-delete?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithT } return nil } -// Get get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. +// Get a collection of teams with which a channel is shared. // returns a SharedWithChannelTeamInfoable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-get?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharedWithChannelTeamInfoable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -126,7 +120,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithT func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) Team()(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsItemTeamRequestBuilder) { return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsItemTeamRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. +// ToDeleteRequestInformation delete navigation property sharedWithTeams for teamwork // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -137,7 +131,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithT requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. +// ToGetRequestInformation a collection of teams with which a channel is shared. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_tabs_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_tabs_request_builder.go index 62e22718149..d1524e09e39 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_tabs_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_tabs_request_builder.go @@ -11,7 +11,7 @@ import ( type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelTabsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelTabsRequestBuilderGetQueryParameters retrieve the list of tabs in the specified channel within a team. +// TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelTabsRequestBuilderGetQueryParameters a collection of all the tabs in the channel. A navigation property. type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelTabsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelTabsRequestB func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelTabsRequestBuilder) Count()(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelTabsCountRequestBuilder) { return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelTabsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of tabs in the specified channel within a team. +// Get a collection of all the tabs in the channel. A navigation property. // returns a TeamsTabCollectionResponseable when successful // returns a ODataError error 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-list-tabs?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelTabsRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelTabsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsTabCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelTabsRequest } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsTabable), nil } -// ToGetRequestInformation retrieve the list of tabs in the specified channel within a team. +// ToGetRequestInformation a collection of all the tabs in the channel. A navigation property. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelTabsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelTabsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_unarchive_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_unarchive_request_builder.go index a379f48ed2b..6b243ca7dda 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_unarchive_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_unarchive_request_builder.go @@ -34,7 +34,7 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelUnarchiveReq // returns a ODataError error 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-unarchive?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-unarchive?view=graph-rest-beta func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelUnarchiveRequestBuilder) Post(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelUnarchiveRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamwork/team_templates_item_definitions_item_team_definition_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_request_builder.go index d88838fd773..a54905c444b 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_request_builder.go @@ -18,7 +18,7 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionRequestBuilderDeleteRequestCo // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TeamTemplatesItemDefinitionsItemTeamDefinitionRequestBuilderGetQueryParameters get the properties of the team associated with a teamTemplateDefinition object. +// TeamTemplatesItemDefinitionsItemTeamDefinitionRequestBuilderGetQueryParameters collection of channel objects. A channel represents a topic, and therefore a logical isolation of discussion, within a team. type TeamTemplatesItemDefinitionsItemTeamDefinitionRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -95,12 +95,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionRequestBuilder) Delete(ct } return nil } -// Get get the properties of the team associated with a teamTemplateDefinition object. +// Get collection of channel objects. A channel represents a topic, and therefore a logical isolation of discussion, within a team. // returns a Teamable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/teamtemplatedefinition-get-teamdefinition?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Teamable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -219,7 +216,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionRequestBuilder) ToDeleteR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties of the team associated with a teamTemplateDefinition object. +// ToGetRequestInformation collection of channel objects. A channel represents a topic, and therefore a logical isolation of discussion, within a team. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_day_notes_day_note_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_day_notes_day_note_item_request_builder.go index c6613b93470..10fd78520ba 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_day_notes_day_note_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_day_notes_day_note_item_request_builder.go @@ -90,12 +90,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesDayNoteIt } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteable), nil } -// Patch update the properties of a day note. +// Patch update the navigation property dayNotes in teamwork // returns a DayNoteable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/daynote-update?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -138,7 +135,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesDayNoteIt requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a day note. +// ToPatchRequestInformation update the navigation property dayNotes in teamwork // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_offer_shift_requests_offer_shift_request_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_offer_shift_requests_offer_shift_request_item_request_builder.go index 1b48da6fb55..9bb3ad908bd 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_offer_shift_requests_offer_shift_request_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_offer_shift_requests_offer_shift_request_item_request_builder.go @@ -18,7 +18,7 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOfferShiftRequestsOff // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOfferShiftRequestsOfferShiftRequestItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an offerShiftRequest object. +// TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOfferShiftRequestsOfferShiftRequestItemRequestBuilderGetQueryParameters the offer requests for shifts in the schedule. type TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOfferShiftRequestsOfferShiftRequestItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOfferShiftRequest } return nil } -// Get retrieve the properties and relationships of an offerShiftRequest object. +// Get the offer requests for shifts in the schedule. // returns a OfferShiftRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/offershiftrequest-get?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOfferShiftRequestsOfferShiftRequestItemRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOfferShiftRequestsOfferShiftRequestItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OfferShiftRequestable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOfferShiftRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of an offerShiftRequest object. +// ToGetRequestInformation the offer requests for shifts in the schedule. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOfferShiftRequestsOfferShiftRequestItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOfferShiftRequestsOfferShiftRequestItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_offer_shift_requests_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_offer_shift_requests_request_builder.go index 81570514f74..e7927daa626 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_offer_shift_requests_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_offer_shift_requests_request_builder.go @@ -11,7 +11,7 @@ import ( type TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOfferShiftRequestsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOfferShiftRequestsRequestBuilderGetQueryParameters retrieve the properties and relationships of all offerShiftRequest objects in a team. +// TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOfferShiftRequestsRequestBuilderGetQueryParameters the offer requests for shifts in the schedule. type TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOfferShiftRequestsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOfferShiftRequests func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOfferShiftRequestsRequestBuilder) Count()(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOfferShiftRequestsCountRequestBuilder) { return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOfferShiftRequestsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties and relationships of all offerShiftRequest objects in a team. +// Get the offer requests for shifts in the schedule. // returns a OfferShiftRequestCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/offershiftrequest-list?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOfferShiftRequestsRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOfferShiftRequestsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OfferShiftRequestCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOfferShiftRequest } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OfferShiftRequestCollectionResponseable), nil } -// Post create an instance of an offerShiftRequest. +// Post create new navigation property to offerShiftRequests for teamwork // returns a OfferShiftRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/offershiftrequest-post?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOfferShiftRequestsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OfferShiftRequestable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOfferShiftRequestsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OfferShiftRequestable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOfferShiftRequest } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OfferShiftRequestable), nil } -// ToGetRequestInformation retrieve the properties and relationships of all offerShiftRequest objects in a team. +// ToGetRequestInformation the offer requests for shifts in the schedule. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOfferShiftRequestsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOfferShiftRequestsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOfferShiftRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an instance of an offerShiftRequest. +// ToPostRequestInformation create new navigation property to offerShiftRequests for teamwork // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOfferShiftRequestsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OfferShiftRequestable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOfferShiftRequestsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_open_shift_change_requests_open_shift_change_request_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_open_shift_change_requests_open_shift_change_request_item_request_builder.go index 4f338bac8a8..202d8da9e40 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_open_shift_change_requests_open_shift_change_request_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_open_shift_change_requests_open_shift_change_request_item_request_builder.go @@ -18,7 +18,7 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftChangeReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftChangeRequestsOpenShiftChangeRequestItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an openShiftChangeRequest object. +// TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftChangeRequestsOpenShiftChangeRequestItemRequestBuilderGetQueryParameters the open shift requests in the schedule. type TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftChangeRequestsOpenShiftChangeRequestItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftChangeRe } return nil } -// Get retrieve the properties and relationships of an openShiftChangeRequest object. +// Get the open shift requests in the schedule. // returns a OpenShiftChangeRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/openshiftchangerequest-get?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftChangeRequestsOpenShiftChangeRequestItemRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftChangeRequestsOpenShiftChangeRequestItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftChangeRequestable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftChangeRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of an openShiftChangeRequest object. +// ToGetRequestInformation the open shift requests in the schedule. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftChangeRequestsOpenShiftChangeRequestItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftChangeRequestsOpenShiftChangeRequestItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_open_shift_change_requests_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_open_shift_change_requests_request_builder.go index 809d87d7a11..b8689e4df6c 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_open_shift_change_requests_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_open_shift_change_requests_request_builder.go @@ -11,7 +11,7 @@ import ( type TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftChangeRequestsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftChangeRequestsRequestBuilderGetQueryParameters retrieve a list of openShiftChangeRequest objects in a team. +// TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftChangeRequestsRequestBuilderGetQueryParameters the open shift requests in the schedule. type TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftChangeRequestsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftChangeReq func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftChangeRequestsRequestBuilder) Count()(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftChangeRequestsCountRequestBuilder) { return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftChangeRequestsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of openShiftChangeRequest objects in a team. +// Get the open shift requests in the schedule. // returns a OpenShiftChangeRequestCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/openshiftchangerequest-list?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftChangeRequestsRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftChangeRequestsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftChangeRequestCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftChangeRe } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftChangeRequestCollectionResponseable), nil } -// Post create instance of an openShiftChangeRequest object. +// Post create new navigation property to openShiftChangeRequests for teamwork // returns a OpenShiftChangeRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/openshiftchangerequest-post?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftChangeRequestsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftChangeRequestable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftChangeRequestsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftChangeRequestable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftChangeRe } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftChangeRequestable), nil } -// ToGetRequestInformation retrieve a list of openShiftChangeRequest objects in a team. +// ToGetRequestInformation the open shift requests in the schedule. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftChangeRequestsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftChangeRequestsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftChangeRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create instance of an openShiftChangeRequest object. +// ToPostRequestInformation create new navigation property to openShiftChangeRequests for teamwork // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftChangeRequestsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftChangeRequestable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftChangeRequestsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_open_shifts_open_shift_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_open_shifts_open_shift_item_request_builder.go index 563a8d7baf5..95616b9be90 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_open_shifts_open_shift_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_open_shifts_open_shift_item_request_builder.go @@ -18,7 +18,7 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsOpenShiftIt // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsOpenShiftItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an openshift object. +// TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsOpenShiftItemRequestBuilderGetQueryParameters the set of open shifts in a scheduling group in the schedule. type TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsOpenShiftItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsOpenShif urlParams["request-raw-url"] = rawUrl return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsOpenShiftItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an openShift object. +// Delete delete navigation property openShifts for teamwork // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/openshift-delete?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsOpenShiftItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsOpenShiftItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsOpenShi } return nil } -// Get retrieve the properties and relationships of an openshift object. +// Get the set of open shifts in a scheduling group in the schedule. // returns a OpenShiftable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/openshift-get?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsOpenShiftItemRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsOpenShiftItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsOpenShi } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftable), nil } -// Patch update the properties of an openShift object. +// Patch update the navigation property openShifts in teamwork // returns a OpenShiftable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/openshift-update?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsOpenShiftItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsOpenShiftItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsOpenShi } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftable), nil } -// ToDeleteRequestInformation delete an openShift object. +// ToDeleteRequestInformation delete navigation property openShifts for teamwork // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsOpenShiftItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsOpenShiftItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsOpenShi requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of an openshift object. +// ToGetRequestInformation the set of open shifts in a scheduling group in the schedule. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsOpenShiftItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsOpenShiftItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsOpenShi requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an openShift object. +// ToPatchRequestInformation update the navigation property openShifts in teamwork // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsOpenShiftItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsOpenShiftItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_open_shifts_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_open_shifts_request_builder.go index f01a875e13d..aad81ceab55 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_open_shifts_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_open_shifts_request_builder.go @@ -11,7 +11,7 @@ import ( type TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsRequestBuilderGetQueryParameters list openshift objects in a team. +// TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsRequestBuilderGetQueryParameters the set of open shifts in a scheduling group in the schedule. type TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsRequestB func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsRequestBuilder) Count()(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsCountRequestBuilder) { return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list openshift objects in a team. +// Get the set of open shifts in a scheduling group in the schedule. // returns a OpenShiftCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/openshift-list?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsRequest } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftCollectionResponseable), nil } -// Post create an instance of an openshift object. +// Post create new navigation property to openShifts for teamwork // returns a OpenShiftable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/openshift-post?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsRequest } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftable), nil } -// ToGetRequestInformation list openshift objects in a team. +// ToGetRequestInformation the set of open shifts in a scheduling group in the schedule. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an instance of an openshift object. +// ToPostRequestInformation create new navigation property to openShifts for teamwork // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OpenShiftable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_request_builder.go index cc5b120f2b1..99a3710f16a 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_request_builder.go @@ -18,7 +18,7 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleRequestBuilderDeleteR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleRequestBuilderGetQueryParameters retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).When clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule. +// TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleRequestBuilderGetQueryParameters the schedule of shifts for this team. type TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleRequestBuilder) D } return nil } -// Get retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).When clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule. +// Get the schedule of shifts for this team. // returns a Scheduleable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/schedule-get?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Scheduleable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -189,7 +186,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleRequestBuilder) T requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).When clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule. +// ToGetRequestInformation the schedule of shifts for this team. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_scheduling_groups_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_scheduling_groups_request_builder.go index eeb27783863..8e6fafab345 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_scheduling_groups_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_scheduling_groups_request_builder.go @@ -11,7 +11,7 @@ import ( type TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsRequestBuilderGetQueryParameters get the list of schedulingGroups in this schedule. +// TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsRequestBuilderGetQueryParameters the logical grouping of users in the schedule (usually by role). type TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,12 +74,9 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsRe func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsRequestBuilder) Count()(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsCountRequestBuilder) { return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of schedulingGroups in this schedule. +// Get the logical grouping of users in the schedule (usually by role). // returns a SchedulingGroupCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/schedule-list-schedulinggroups?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SchedulingGroupCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -97,12 +94,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsR } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SchedulingGroupCollectionResponseable), nil } -// Post create a new schedulingGroup. +// Post create new navigation property to schedulingGroups for teamwork // returns a SchedulingGroupable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/schedule-post-schedulinggroups?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SchedulingGroupable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SchedulingGroupable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -120,7 +114,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsR } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SchedulingGroupable), nil } -// ToGetRequestInformation get the list of schedulingGroups in this schedule. +// ToGetRequestInformation the logical grouping of users in the schedule (usually by role). // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -134,7 +128,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new schedulingGroup. +// ToPostRequestInformation create new navigation property to schedulingGroups for teamwork // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SchedulingGroupable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_scheduling_groups_scheduling_group_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_scheduling_groups_scheduling_group_item_request_builder.go index 69d6e595fe3..cca7007e6c6 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_scheduling_groups_scheduling_group_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_scheduling_groups_scheduling_group_item_request_builder.go @@ -18,7 +18,7 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsSched // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsSchedulingGroupItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a schedulingGroup by ID. +// TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsSchedulingGroupItemRequestBuilderGetQueryParameters the logical grouping of users in the schedule (usually by role). type TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsSchedulingGroupItemRequestBuilderGetQueryParameters struct { // Select properties to be returned Select []string `uriparametername:"%24select"` @@ -52,11 +52,8 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsSc urlParams["request-raw-url"] = rawUrl return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsSchedulingGroupItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete mark a schedulingGroup as inactive by setting its isActive property.This method does not remove the schedulingGroup from the schedule. Existing shift instances assigned to the scheduling group remain part of the group. +// Delete delete navigation property schedulingGroups for teamwork // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/schedulinggroup-delete?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsSchedulingGroupItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -71,12 +68,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsS } return nil } -// Get retrieve the properties and relationships of a schedulingGroup by ID. +// Get the logical grouping of users in the schedule (usually by role). // returns a SchedulingGroupable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/schedulinggroup-get?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsSchedulingGroupItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SchedulingGroupable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -94,12 +88,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsS } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SchedulingGroupable), nil } -// Patch replace an existing schedulingGroup. If the specified schedulingGroup doesn't exist, this method returns 404 Not found. +// Patch update the navigation property schedulingGroups in teamwork // returns a SchedulingGroupable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/schedulinggroup-put?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SchedulingGroupable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsSchedulingGroupItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SchedulingGroupable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +108,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsS } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SchedulingGroupable), nil } -// ToDeleteRequestInformation mark a schedulingGroup as inactive by setting its isActive property.This method does not remove the schedulingGroup from the schedule. Existing shift instances assigned to the scheduling group remain part of the group. +// ToDeleteRequestInformation delete navigation property schedulingGroups for teamwork // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsSchedulingGroupItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -128,7 +119,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsS requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a schedulingGroup by ID. +// ToGetRequestInformation the logical grouping of users in the schedule (usually by role). // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsSchedulingGroupItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -142,7 +133,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsS requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation replace an existing schedulingGroup. If the specified schedulingGroup doesn't exist, this method returns 404 Not found. +// ToPatchRequestInformation update the navigation property schedulingGroups in teamwork // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SchedulingGroupable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsSchedulingGroupItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_share_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_share_request_builder.go index 3360b94c8da..e5bc7d6ef98 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_share_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_share_request_builder.go @@ -34,7 +34,7 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShareRequestBuilde // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/schedule-share?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/schedule-share?view=graph-rest-beta func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShareRequestBuilder) Post(ctx context.Context, body TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSharePostRequestBodyable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShareRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_shifts_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_shifts_request_builder.go index ae4110f8a21..8cfc71600da 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_shifts_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_shifts_request_builder.go @@ -77,9 +77,6 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShiftsRequestBuil // Get the shifts in the schedule. // returns a ShiftCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/schedule-list-shifts?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShiftsRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShiftsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ShiftCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -97,12 +94,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShiftsRequestBuil } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ShiftCollectionResponseable), nil } -// Post create a new shift instance in a schedule. The duration of a shift cannot be less than 1 minute or longer than 24 hours. +// Post create new navigation property to shifts for teamwork // returns a Shiftable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/schedule-post-shifts?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShiftsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Shiftable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShiftsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Shiftable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -134,7 +128,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShiftsRequestBuil requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new shift instance in a schedule. The duration of a shift cannot be less than 1 minute or longer than 24 hours. +// ToPostRequestInformation create new navigation property to shifts for teamwork // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShiftsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Shiftable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShiftsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_shifts_shift_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_shifts_shift_item_request_builder.go index b46f6b65c05..90ed1e8db4f 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_shifts_shift_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_shifts_shift_item_request_builder.go @@ -18,7 +18,7 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShiftsShiftItemReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShiftsShiftItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a shift object by ID. +// TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShiftsShiftItemRequestBuilderGetQueryParameters the shifts in the schedule. type TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShiftsShiftItemRequestBuilderGetQueryParameters struct { // Select properties to be returned Select []string `uriparametername:"%24select"` @@ -52,11 +52,8 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShiftsShiftItemReq urlParams["request-raw-url"] = rawUrl return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShiftsShiftItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a shift from the schedule. +// Delete delete navigation property shifts for teamwork // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/shift-delete?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShiftsShiftItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShiftsShiftItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -71,12 +68,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShiftsShiftItemRe } return nil } -// Get retrieve the properties and relationships of a shift object by ID. +// Get the shifts in the schedule. // returns a Shiftable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/shift-get?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShiftsShiftItemRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShiftsShiftItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Shiftable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -94,12 +88,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShiftsShiftItemRe } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Shiftable), nil } -// Patch replace an existing shift. If the specified shift doesn't exist, this method returns 404 Not found. The duration of a shift can't be less than 1 minute or longer than 24 hours. +// Patch update the navigation property shifts in teamwork // returns a Shiftable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/shift-put?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShiftsShiftItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Shiftable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShiftsShiftItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Shiftable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +108,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShiftsShiftItemRe } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Shiftable), nil } -// ToDeleteRequestInformation delete a shift from the schedule. +// ToDeleteRequestInformation delete navigation property shifts for teamwork // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShiftsShiftItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShiftsShiftItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -128,7 +119,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShiftsShiftItemRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a shift object by ID. +// ToGetRequestInformation the shifts in the schedule. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShiftsShiftItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShiftsShiftItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -142,7 +133,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShiftsShiftItemRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation replace an existing shift. If the specified shift doesn't exist, this method returns 404 Not found. The duration of a shift can't be less than 1 minute or longer than 24 hours. +// ToPatchRequestInformation update the navigation property shifts in teamwork // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShiftsShiftItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Shiftable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShiftsShiftItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_swap_shifts_change_requests_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_swap_shifts_change_requests_request_builder.go index c5fc33f090f..e6d7c50def2 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_swap_shifts_change_requests_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_swap_shifts_change_requests_request_builder.go @@ -11,7 +11,7 @@ import ( type TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSwapShiftsChangeRequestsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSwapShiftsChangeRequestsRequestBuilderGetQueryParameters retrieve a list of swapShiftsChangeRequest objects in a team. +// TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSwapShiftsChangeRequestsRequestBuilderGetQueryParameters the swap requests for shifts in the schedule. type TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSwapShiftsChangeRequestsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSwapShiftsChangeRe func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSwapShiftsChangeRequestsRequestBuilder) Count()(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSwapShiftsChangeRequestsCountRequestBuilder) { return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSwapShiftsChangeRequestsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of swapShiftsChangeRequest objects in a team. +// Get the swap requests for shifts in the schedule. // returns a SwapShiftsChangeRequestCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/swapshiftschangerequest-list?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSwapShiftsChangeRequestsRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSwapShiftsChangeRequestsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SwapShiftsChangeRequestCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSwapShiftsChangeR } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SwapShiftsChangeRequestCollectionResponseable), nil } -// Post create an instance of a swapShiftsChangeRequest object. +// Post create new navigation property to swapShiftsChangeRequests for teamwork // returns a SwapShiftsChangeRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/swapshiftschangerequest-post?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSwapShiftsChangeRequestsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SwapShiftsChangeRequestable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSwapShiftsChangeRequestsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SwapShiftsChangeRequestable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSwapShiftsChangeR } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SwapShiftsChangeRequestable), nil } -// ToGetRequestInformation retrieve a list of swapShiftsChangeRequest objects in a team. +// ToGetRequestInformation the swap requests for shifts in the schedule. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSwapShiftsChangeRequestsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSwapShiftsChangeRequestsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSwapShiftsChangeR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an instance of a swapShiftsChangeRequest object. +// ToPostRequestInformation create new navigation property to swapShiftsChangeRequests for teamwork // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSwapShiftsChangeRequestsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SwapShiftsChangeRequestable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSwapShiftsChangeRequestsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_swap_shifts_change_requests_swap_shifts_change_request_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_swap_shifts_change_requests_swap_shifts_change_request_item_request_builder.go index 1cd90f502e6..9d801aafe95 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_swap_shifts_change_requests_swap_shifts_change_request_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_swap_shifts_change_requests_swap_shifts_change_request_item_request_builder.go @@ -18,7 +18,7 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSwapShiftsChangeReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSwapShiftsChangeRequestsSwapShiftsChangeRequestItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a swapShiftsChangeRequest object. +// TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSwapShiftsChangeRequestsSwapShiftsChangeRequestItemRequestBuilderGetQueryParameters the swap requests for shifts in the schedule. type TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSwapShiftsChangeRequestsSwapShiftsChangeRequestItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSwapShiftsChangeR } return nil } -// Get retrieve the properties and relationships of a swapShiftsChangeRequest object. +// Get the swap requests for shifts in the schedule. // returns a SwapShiftsChangeRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/swapshiftschangerequest-get?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSwapShiftsChangeRequestsSwapShiftsChangeRequestItemRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSwapShiftsChangeRequestsSwapShiftsChangeRequestItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SwapShiftsChangeRequestable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSwapShiftsChangeR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a swapShiftsChangeRequest object. +// ToGetRequestInformation the swap requests for shifts in the schedule. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSwapShiftsChangeRequestsSwapShiftsChangeRequestItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSwapShiftsChangeRequestsSwapShiftsChangeRequestItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_clock_in_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_clock_in_request_builder.go index da632de12c8..167876303c9 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_clock_in_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_clock_in_request_builder.go @@ -36,7 +36,7 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsClockInRe // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/timecard-clockin?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/timecard-clockin?view=graph-rest-beta func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsClockInRequestBuilder) Post(ctx context.Context, body TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsClockInPostRequestBodyable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsClockInRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_item_clock_out_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_item_clock_out_request_builder.go index 946407519e1..31eef5da73d 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_item_clock_out_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_item_clock_out_request_builder.go @@ -36,7 +36,7 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsItemClock // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/timecard-clockout?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/timecard-clockout?view=graph-rest-beta func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsItemClockOutRequestBuilder) Post(ctx context.Context, body TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsItemClockOutPostRequestBodyable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsItemClockOutRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_item_confirm_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_item_confirm_request_builder.go index 1548f9c6140..d8b44c53071 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_item_confirm_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_item_confirm_request_builder.go @@ -36,7 +36,7 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsItemConfi // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/timecard-confirm?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/timecard-confirm?view=graph-rest-beta func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsItemConfirmRequestBuilder) Post(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsItemConfirmRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_item_end_break_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_item_end_break_request_builder.go index 6cc71874352..af3d6caa151 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_item_end_break_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_item_end_break_request_builder.go @@ -36,7 +36,7 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsItemEndBr // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/timecard-endbreak?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/timecard-endbreak?view=graph-rest-beta func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsItemEndBreakRequestBuilder) Post(ctx context.Context, body TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsItemEndBreakPostRequestBodyable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsItemEndBreakRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_item_start_break_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_item_start_break_request_builder.go index 485fa10ebcc..19118859dcf 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_item_start_break_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_item_start_break_request_builder.go @@ -36,7 +36,7 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsItemStart // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/timecard-startbreak?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/timecard-startbreak?view=graph-rest-beta func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsItemStartBreakRequestBuilder) Post(ctx context.Context, body TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsItemStartBreakPostRequestBodyable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsItemStartBreakRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_request_builder.go index ea7121a634d..323b5ae02ac 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_request_builder.go @@ -11,7 +11,7 @@ import ( type TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsRequestBuilderGetQueryParameters retrieve a list of timeCard entries in a schedule. +// TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsRequestBuilderGetQueryParameters the time cards in the schedule. type TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsRequestBu func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsRequestBuilder) Count()(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsCountRequestBuilder) { return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of timeCard entries in a schedule. +// Get the time cards in the schedule. // returns a TimeCardCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/timecard-list?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsRequestB } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardCollectionResponseable), nil } -// Post create a timeCard instance in a schedule. +// Post create new navigation property to timeCards for teamwork // returns a TimeCardable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/timecard-post?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsRequestB } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardable), nil } -// ToGetRequestInformation retrieve a list of timeCard entries in a schedule. +// ToGetRequestInformation the time cards in the schedule. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsRequestB requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a timeCard instance in a schedule. +// ToPostRequestInformation create new navigation property to timeCards for teamwork // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_time_card_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_time_card_item_request_builder.go index 1bc6b975427..b76ab09e711 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_time_card_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_time_card_item_request_builder.go @@ -18,7 +18,7 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsTimeCardItem // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsTimeCardItemRequestBuilderGetQueryParameters get the properties and relationships of a timeCard object by ID. +// TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsTimeCardItemRequestBuilderGetQueryParameters the time cards in the schedule. type TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsTimeCardItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -64,11 +64,8 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsTimeCardI urlParams["request-raw-url"] = rawUrl return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsTimeCardItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a timeCard instance in a schedule. +// Delete delete navigation property timeCards for teamwork // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/timecard-delete?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsTimeCardItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsTimeCardItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -88,12 +85,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsTimeCard func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsTimeCardItemRequestBuilder) EndBreak()(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsItemEndBreakRequestBuilder) { return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsItemEndBreakRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the properties and relationships of a timeCard object by ID. +// Get the time cards in the schedule. // returns a TimeCardable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/timecard-get?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsTimeCardItemRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsTimeCardItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -111,12 +105,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsTimeCard } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardable), nil } -// Patch replace an existing timeCard with updated values. +// Patch update the navigation property timeCards in teamwork // returns a TimeCardable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/timecard-replace?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsTimeCardItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsTimeCardItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -139,7 +130,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsTimeCard func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsTimeCardItemRequestBuilder) StartBreak()(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsItemStartBreakRequestBuilder) { return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsItemStartBreakRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a timeCard instance in a schedule. +// ToDeleteRequestInformation delete navigation property timeCards for teamwork // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsTimeCardItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsTimeCardItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -150,7 +141,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsTimeCard requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties and relationships of a timeCard object by ID. +// ToGetRequestInformation the time cards in the schedule. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsTimeCardItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsTimeCardItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -164,7 +155,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsTimeCard requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation replace an existing timeCard with updated values. +// ToPatchRequestInformation update the navigation property timeCards in teamwork // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsTimeCardItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeCardable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsTimeCardItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_off_reasons_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_off_reasons_request_builder.go index b10c4ab52a1..3642f5edf2e 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_off_reasons_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_off_reasons_request_builder.go @@ -77,9 +77,6 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffReasonsReq // Get the set of reasons for a time off in the schedule. // returns a TimeOffReasonCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/schedule-list-timeoffreasons?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffReasonsRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffReasonsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffReasonCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -97,12 +94,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffReasonsReq } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffReasonCollectionResponseable), nil } -// Post create a new timeOffReason. +// Post create new navigation property to timeOffReasons for teamwork // returns a TimeOffReasonable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/schedule-post-timeoffreasons?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffReasonsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffReasonable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffReasonsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffReasonable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -134,7 +128,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffReasonsReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new timeOffReason. +// ToPostRequestInformation create new navigation property to timeOffReasons for teamwork // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffReasonsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffReasonable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffReasonsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_off_reasons_time_off_reason_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_off_reasons_time_off_reason_item_request_builder.go index 337f41fc23c..b55a5747759 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_off_reasons_time_off_reason_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_off_reasons_time_off_reason_item_request_builder.go @@ -18,7 +18,7 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffReasonsTimeOff // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffReasonsTimeOffReasonItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a timeOffReason object by ID. +// TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffReasonsTimeOffReasonItemRequestBuilderGetQueryParameters the set of reasons for a time off in the schedule. type TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffReasonsTimeOffReasonItemRequestBuilderGetQueryParameters struct { // Select properties to be returned Select []string `uriparametername:"%24select"` @@ -52,11 +52,8 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffReasonsTime urlParams["request-raw-url"] = rawUrl return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffReasonsTimeOffReasonItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete mark a timeOffReason as inactive by setting the isActive property. Every team must include at least one timeOffReason. This method doesn't remove the specified timeOffReason instance. timeOffItem instances that were assigned this reason remain assigned to this reason. +// Delete delete navigation property timeOffReasons for teamwork // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/timeoffreason-delete?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffReasonsTimeOffReasonItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -71,12 +68,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffReasonsTim } return nil } -// Get retrieve the properties and relationships of a timeOffReason object by ID. +// Get the set of reasons for a time off in the schedule. // returns a TimeOffReasonable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/timeoffreason-get?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffReasonsTimeOffReasonItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffReasonable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -94,12 +88,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffReasonsTim } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffReasonable), nil } -// Patch replace an existing timeOffReason. If the specified timeOffReason doesn't exist, this method returns 404 Not found. +// Patch update the navigation property timeOffReasons in teamwork // returns a TimeOffReasonable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/timeoffreason-put?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffReasonable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffReasonsTimeOffReasonItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffReasonable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +108,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffReasonsTim } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffReasonable), nil } -// ToDeleteRequestInformation mark a timeOffReason as inactive by setting the isActive property. Every team must include at least one timeOffReason. This method doesn't remove the specified timeOffReason instance. timeOffItem instances that were assigned this reason remain assigned to this reason. +// ToDeleteRequestInformation delete navigation property timeOffReasons for teamwork // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffReasonsTimeOffReasonItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -128,7 +119,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffReasonsTim requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a timeOffReason object by ID. +// ToGetRequestInformation the set of reasons for a time off in the schedule. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffReasonsTimeOffReasonItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -142,7 +133,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffReasonsTim requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation replace an existing timeOffReason. If the specified timeOffReason doesn't exist, this method returns 404 Not found. +// ToPatchRequestInformation update the navigation property timeOffReasons in teamwork // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffReasonable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffReasonsTimeOffReasonItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_off_requests_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_off_requests_request_builder.go index 138336274d4..37716cf8ea3 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_off_requests_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_off_requests_request_builder.go @@ -11,7 +11,7 @@ import ( type TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffRequestsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffRequestsRequestBuilderGetQueryParameters retrieve a list of timeoffrequest objects in the team. +// TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffRequestsRequestBuilderGetQueryParameters the time off requests in the schedule. type TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffRequestsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,12 +74,9 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffRequestsReq func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffRequestsRequestBuilder) Count()(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffRequestsCountRequestBuilder) { return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffRequestsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of timeoffrequest objects in the team. +// Get the time off requests in the schedule. // returns a TimeOffRequestCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/timeoffrequest-list?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffRequestsRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffRequestsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffRequestCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffRequestsRe } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffRequestable), nil } -// ToGetRequestInformation retrieve a list of timeoffrequest objects in the team. +// ToGetRequestInformation the time off requests in the schedule. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffRequestsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffRequestsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_off_requests_time_off_request_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_off_requests_time_off_request_item_request_builder.go index f5573b6dd3e..643120bf9dc 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_off_requests_time_off_request_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_off_requests_time_off_request_item_request_builder.go @@ -18,7 +18,7 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffRequestsTimeOf // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffRequestsTimeOffRequestItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a timeoffrequest object. +// TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffRequestsTimeOffRequestItemRequestBuilderGetQueryParameters the time off requests in the schedule. type TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffRequestsTimeOffRequestItemRequestBuilderGetQueryParameters struct { // Select properties to be returned Select []string `uriparametername:"%24select"` @@ -52,11 +52,8 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffRequestsTim urlParams["request-raw-url"] = rawUrl return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffRequestsTimeOffRequestItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a timeOffRequest object. +// Delete delete navigation property timeOffRequests for teamwork // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/timeoffrequest-delete?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffRequestsTimeOffRequestItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffRequestsTimeOffRequestItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -71,12 +68,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffRequestsTi } return nil } -// Get retrieve the properties and relationships of a timeoffrequest object. +// Get the time off requests in the schedule. // returns a TimeOffRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/timeoffrequest-get?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffRequestsTimeOffRequestItemRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffRequestsTimeOffRequestItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffRequestable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -114,7 +108,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffRequestsTi } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffRequestable), nil } -// ToDeleteRequestInformation delete a timeOffRequest object. +// ToDeleteRequestInformation delete navigation property timeOffRequests for teamwork // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffRequestsTimeOffRequestItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffRequestsTimeOffRequestItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -125,7 +119,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffRequestsTi requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a timeoffrequest object. +// ToGetRequestInformation the time off requests in the schedule. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffRequestsTimeOffRequestItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffRequestsTimeOffRequestItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_times_off_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_times_off_request_builder.go index f6992346167..6ceb22a289a 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_times_off_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_times_off_request_builder.go @@ -11,7 +11,7 @@ import ( type TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffRequestBuilderGetQueryParameters get the list of timeOff instances in a schedule. +// TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffRequestBuilderGetQueryParameters the instances of times off in the schedule. type TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,12 +74,9 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffRequestBui func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffRequestBuilder) Count()(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffCountRequestBuilder) { return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of timeOff instances in a schedule. +// Get the instances of times off in the schedule. // returns a TimeOffCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/schedule-list-timesoff?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -97,12 +94,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffRequestBu } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffCollectionResponseable), nil } -// Post create a new timeOff instance in a schedule. +// Post create new navigation property to timesOff for teamwork // returns a TimeOffable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/schedule-post-timesoff?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -120,7 +114,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffRequestBu } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffable), nil } -// ToGetRequestInformation get the list of timeOff instances in a schedule. +// ToGetRequestInformation the instances of times off in the schedule. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -134,7 +128,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffRequestBu requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new timeOff instance in a schedule. +// ToPostRequestInformation create new navigation property to timesOff for teamwork // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_times_off_time_off_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_times_off_time_off_item_request_builder.go index f821852ccab..9fc13beb89e 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_times_off_time_off_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_times_off_time_off_item_request_builder.go @@ -18,7 +18,7 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffTimeOffItemRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffTimeOffItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a timeOff object by ID. +// TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffTimeOffItemRequestBuilderGetQueryParameters the instances of times off in the schedule. type TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffTimeOffItemRequestBuilderGetQueryParameters struct { // Select properties to be returned Select []string `uriparametername:"%24select"` @@ -52,11 +52,8 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffTimeOffIte urlParams["request-raw-url"] = rawUrl return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffTimeOffItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a timeOff instance from a schedule. +// Delete delete navigation property timesOff for teamwork // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/timeoff-delete?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffTimeOffItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffTimeOffItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -71,12 +68,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffTimeOffIt } return nil } -// Get retrieve the properties and relationships of a timeOff object by ID. +// Get the instances of times off in the schedule. // returns a TimeOffable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/timeoff-get?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffTimeOffItemRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffTimeOffItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -94,12 +88,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffTimeOffIt } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffable), nil } -// Patch replace an existing timeOff. If the specified timeOff doesn't exist, this method returns 404 Not found. +// Patch update the navigation property timesOff in teamwork // returns a TimeOffable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/timeoff-put?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffTimeOffItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffTimeOffItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +108,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffTimeOffIt } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffable), nil } -// ToDeleteRequestInformation delete a timeOff instance from a schedule. +// ToDeleteRequestInformation delete navigation property timesOff for teamwork // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffTimeOffItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffTimeOffItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -128,7 +119,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffTimeOffIt requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a timeOff object by ID. +// ToGetRequestInformation the instances of times off in the schedule. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffTimeOffItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffTimeOffItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -142,7 +133,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffTimeOffIt requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation replace an existing timeOff. If the specified timeOff doesn't exist, this method returns 404 Not found. +// ToPatchRequestInformation update the navigation property timesOff in teamwork // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffTimeOffItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TimeOffable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffTimeOffItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_send_activity_notification_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_send_activity_notification_request_builder.go index 6c53a987497..02742bc22d4 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_send_activity_notification_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_send_activity_notification_request_builder.go @@ -34,7 +34,7 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionSendActivityNotificationRe // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/team-sendactivitynotification?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/team-sendactivitynotification?view=graph-rest-beta func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionSendActivityNotificationRequestBuilder) Post(ctx context.Context, body TeamTemplatesItemDefinitionsItemTeamDefinitionSendActivityNotificationPostRequestBodyable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionSendActivityNotificationRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/teamwork/team_templates_item_definitions_item_team_definition_tags_item_members_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_tags_item_members_request_builder.go index 9036c430089..eb27832c001 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_tags_item_members_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_tags_item_members_request_builder.go @@ -11,7 +11,7 @@ import ( type TeamTemplatesItemDefinitionsItemTeamDefinitionTagsItemMembersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TeamTemplatesItemDefinitionsItemTeamDefinitionTagsItemMembersRequestBuilderGetQueryParameters get a list of the members of a standard tag in a team and their properties. +// TeamTemplatesItemDefinitionsItemTeamDefinitionTagsItemMembersRequestBuilderGetQueryParameters users assigned to the tag. type TeamTemplatesItemDefinitionsItemTeamDefinitionTagsItemMembersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionTagsItemMembersRequestBuil func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsItemMembersRequestBuilder) Count()(*TeamTemplatesItemDefinitionsItemTeamDefinitionTagsItemMembersCountRequestBuilder) { return NewTeamTemplatesItemDefinitionsItemTeamDefinitionTagsItemMembersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the members of a standard tag in a team and their properties. +// Get users assigned to the tag. // returns a TeamworkTagMemberCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/teamworktagmember-list?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsItemMembersRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsItemMembersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagMemberCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsItemMembersRequestBui } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagMemberCollectionResponseable), nil } -// Post create a new teamworkTagMember object in a team. +// Post create new navigation property to members for teamwork // returns a TeamworkTagMemberable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/teamworktagmember-post?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsItemMembersRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagMemberable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsItemMembersRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagMemberable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsItemMembersRequestBui } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagMemberable), nil } -// ToGetRequestInformation get a list of the members of a standard tag in a team and their properties. +// ToGetRequestInformation users assigned to the tag. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsItemMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsItemMembersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsItemMembersRequestBui requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new teamworkTagMember object in a team. +// ToPostRequestInformation create new navigation property to members for teamwork // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsItemMembersRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagMemberable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsItemMembersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_tags_item_members_teamwork_tag_member_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_tags_item_members_teamwork_tag_member_item_request_builder.go index 91a1415d773..238f3b10bcd 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_tags_item_members_teamwork_tag_member_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_tags_item_members_teamwork_tag_member_item_request_builder.go @@ -18,7 +18,7 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionTagsItemMembersTeamworkTagMem // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TeamTemplatesItemDefinitionsItemTeamDefinitionTagsItemMembersTeamworkTagMemberItemRequestBuilderGetQueryParameters get the properties and relationships of a member of a standard tag in a team. +// TeamTemplatesItemDefinitionsItemTeamDefinitionTagsItemMembersTeamworkTagMemberItemRequestBuilderGetQueryParameters users assigned to the tag. type TeamTemplatesItemDefinitionsItemTeamDefinitionTagsItemMembersTeamworkTagMemberItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionTagsItemMembersTeamworkTag urlParams["request-raw-url"] = rawUrl return NewTeamTemplatesItemDefinitionsItemTeamDefinitionTagsItemMembersTeamworkTagMemberItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a member from a standard tag in a team. +// Delete delete navigation property members for teamwork // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/teamworktagmember-delete?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsItemMembersTeamworkTagMemberItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsItemMembersTeamworkTagMemberItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsItemMembersTeamworkTa } return nil } -// Get get the properties and relationships of a member of a standard tag in a team. +// Get users assigned to the tag. // returns a TeamworkTagMemberable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/teamworktagmember-get?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsItemMembersTeamworkTagMemberItemRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsItemMembersTeamworkTagMemberItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagMemberable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -116,7 +110,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsItemMembersTeamworkTa } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagMemberable), nil } -// ToDeleteRequestInformation delete a member from a standard tag in a team. +// ToDeleteRequestInformation delete navigation property members for teamwork // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsItemMembersTeamworkTagMemberItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsItemMembersTeamworkTagMemberItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -127,7 +121,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsItemMembersTeamworkTa requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties and relationships of a member of a standard tag in a team. +// ToGetRequestInformation users assigned to the tag. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsItemMembersTeamworkTagMemberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsItemMembersTeamworkTagMemberItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_tags_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_tags_request_builder.go index 75419b0a212..863f41d38d7 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_tags_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_tags_request_builder.go @@ -11,7 +11,7 @@ import ( type TeamTemplatesItemDefinitionsItemTeamDefinitionTagsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TeamTemplatesItemDefinitionsItemTeamDefinitionTagsRequestBuilderGetQueryParameters get a list of the tag objects and their properties. +// TeamTemplatesItemDefinitionsItemTeamDefinitionTagsRequestBuilderGetQueryParameters the tags associated with the team. type TeamTemplatesItemDefinitionsItemTeamDefinitionTagsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionTagsRequestBuilder(rawUrl func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsRequestBuilder) Count()(*TeamTemplatesItemDefinitionsItemTeamDefinitionTagsCountRequestBuilder) { return NewTeamTemplatesItemDefinitionsItemTeamDefinitionTagsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the tag objects and their properties. +// Get the tags associated with the team. // returns a TeamworkTagCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/teamworktag-list?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsRequestBuilder) Get(c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagCollectionResponseable), nil } -// Post create a standard tag for members in the team. +// Post create new navigation property to tags for teamwork // returns a TeamworkTagable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/teamworktag-post?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsRequestBuilder) Post( } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagable), nil } -// ToGetRequestInformation get a list of the tag objects and their properties. +// ToGetRequestInformation the tags associated with the team. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsRequestBuilder) ToGet requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a standard tag for members in the team. +// ToPostRequestInformation create new navigation property to tags for teamwork // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_tags_teamwork_tag_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_tags_teamwork_tag_item_request_builder.go index 562f9cca886..aa82549c62e 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_tags_teamwork_tag_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_tags_teamwork_tag_item_request_builder.go @@ -18,7 +18,7 @@ type TeamTemplatesItemDefinitionsItemTeamDefinitionTagsTeamworkTagItemRequestBui // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TeamTemplatesItemDefinitionsItemTeamDefinitionTagsTeamworkTagItemRequestBuilderGetQueryParameters read the properties and relationships of a tag object. +// TeamTemplatesItemDefinitionsItemTeamDefinitionTagsTeamworkTagItemRequestBuilderGetQueryParameters the tags associated with the team. type TeamTemplatesItemDefinitionsItemTeamDefinitionTagsTeamworkTagItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionTagsTeamworkTagItemRequest urlParams["request-raw-url"] = rawUrl return NewTeamTemplatesItemDefinitionsItemTeamDefinitionTagsTeamworkTagItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a tag object permanently. +// Delete delete navigation property tags for teamwork // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/teamworktag-delete?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsTeamworkTagItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsTeamworkTagItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsTeamworkTagItemReques } return nil } -// Get read the properties and relationships of a tag object. +// Get the tags associated with the team. // returns a TeamworkTagable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/teamworktag-get?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsTeamworkTagItemRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsTeamworkTagItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,12 +95,9 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsTeamworkTagItemReques func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsTeamworkTagItemRequestBuilder) Members()(*TeamTemplatesItemDefinitionsItemTeamDefinitionTagsItemMembersRequestBuilder) { return NewTeamTemplatesItemDefinitionsItemTeamDefinitionTagsItemMembersRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of a teamworkTag object. +// Patch update the navigation property tags in teamwork // returns a TeamworkTagable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/teamworktag-update?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsTeamworkTagItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsTeamworkTagItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -124,7 +115,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsTeamworkTagItemReques } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagable), nil } -// ToDeleteRequestInformation delete a tag object permanently. +// ToDeleteRequestInformation delete navigation property tags for teamwork // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsTeamworkTagItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsTeamworkTagItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -135,7 +126,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsTeamworkTagItemReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a tag object. +// ToGetRequestInformation the tags associated with the team. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsTeamworkTagItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsTeamworkTagItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -149,7 +140,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsTeamworkTagItemReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a teamworkTag object. +// ToPatchRequestInformation update the navigation property tags in teamwork // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsTeamworkTagItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkTagable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsTeamworkTagItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_item_team_definition_unarchive_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_unarchive_request_builder.go index 8e86ea5d183..0cd3894371a 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_unarchive_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_unarchive_request_builder.go @@ -34,7 +34,7 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionUnarchiveRequestBuilder(ra // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/team-unarchive?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/team-unarchive?view=graph-rest-beta func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionUnarchiveRequestBuilder) Post(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionUnarchiveRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamwork/team_templates_item_definitions_request_builder.go b/teamwork/team_templates_item_definitions_request_builder.go index 50d69f76eec..4a0b2ae0e30 100644 --- a/teamwork/team_templates_item_definitions_request_builder.go +++ b/teamwork/team_templates_item_definitions_request_builder.go @@ -11,7 +11,7 @@ import ( type TeamTemplatesItemDefinitionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TeamTemplatesItemDefinitionsRequestBuilderGetQueryParameters read the properties and relationships of a teamTemplateDefinition object. +// TeamTemplatesItemDefinitionsRequestBuilderGetQueryParameters a generic representation of a team template definition for a team with a specific structure and configuration. type TeamTemplatesItemDefinitionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewTeamTemplatesItemDefinitionsRequestBuilder(rawUrl string, requestAdapter func (m *TeamTemplatesItemDefinitionsRequestBuilder) Count()(*TeamTemplatesItemDefinitionsCountRequestBuilder) { return NewTeamTemplatesItemDefinitionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of a teamTemplateDefinition object. +// Get a generic representation of a team template definition for a team with a specific structure and configuration. // returns a TeamTemplateDefinitionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *TeamTemplatesItemDefinitionsRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamTemplateDefinitionCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *TeamTemplatesItemDefinitionsRequestBuilder) Post(ctx context.Context, b } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamTemplateDefinitionable), nil } -// ToGetRequestInformation read the properties and relationships of a teamTemplateDefinition object. +// ToGetRequestInformation a generic representation of a team template definition for a team with a specific structure and configuration. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_item_definitions_team_template_definition_item_request_builder.go b/teamwork/team_templates_item_definitions_team_template_definition_item_request_builder.go index 8fe920aad44..6262bd2aa60 100644 --- a/teamwork/team_templates_item_definitions_team_template_definition_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_team_template_definition_item_request_builder.go @@ -18,7 +18,7 @@ type TeamTemplatesItemDefinitionsTeamTemplateDefinitionItemRequestBuilderDeleteR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TeamTemplatesItemDefinitionsTeamTemplateDefinitionItemRequestBuilderGetQueryParameters read the properties and relationships of a teamTemplateDefinition object. +// TeamTemplatesItemDefinitionsTeamTemplateDefinitionItemRequestBuilderGetQueryParameters a generic representation of a team template definition for a team with a specific structure and configuration. type TeamTemplatesItemDefinitionsTeamTemplateDefinitionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *TeamTemplatesItemDefinitionsTeamTemplateDefinitionItemRequestBuilder) D } return nil } -// Get read the properties and relationships of a teamTemplateDefinition object. +// Get a generic representation of a team template definition for a team with a specific structure and configuration. // returns a TeamTemplateDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/teamtemplatedefinition-get?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsTeamTemplateDefinitionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsTeamTemplateDefinitionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamTemplateDefinitionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *TeamTemplatesItemDefinitionsTeamTemplateDefinitionItemRequestBuilder) T requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a teamTemplateDefinition object. +// ToGetRequestInformation a generic representation of a team template definition for a team with a specific structure and configuration. // returns a *RequestInformation when successful func (m *TeamTemplatesItemDefinitionsTeamTemplateDefinitionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsTeamTemplateDefinitionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/team_templates_request_builder.go b/teamwork/team_templates_request_builder.go index 696c809b7ab..08b49215ae9 100644 --- a/teamwork/team_templates_request_builder.go +++ b/teamwork/team_templates_request_builder.go @@ -11,7 +11,7 @@ import ( type TeamTemplatesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TeamTemplatesRequestBuilderGetQueryParameters list the teamTemplateDefinition objects associated with a teamTemplate. +// TeamTemplatesRequestBuilderGetQueryParameters the templates associated with a team. type TeamTemplatesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewTeamTemplatesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee func (m *TeamTemplatesRequestBuilder) Count()(*TeamTemplatesCountRequestBuilder) { return NewTeamTemplatesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list the teamTemplateDefinition objects associated with a teamTemplate. +// Get the templates associated with a team. // returns a TeamTemplateCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/teamtemplate-list-definitions?view=graph-rest-1.0 func (m *TeamTemplatesRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamTemplateCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *TeamTemplatesRequestBuilder) Post(ctx context.Context, body ie233ee762e } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamTemplateable), nil } -// ToGetRequestInformation list the teamTemplateDefinition objects associated with a teamTemplate. +// ToGetRequestInformation the templates associated with a team. // returns a *RequestInformation when successful func (m *TeamTemplatesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/teams_app_settings_request_builder.go b/teamwork/teams_app_settings_request_builder.go index 870a9d3fdd5..ecb5f5ae68e 100644 --- a/teamwork/teams_app_settings_request_builder.go +++ b/teamwork/teams_app_settings_request_builder.go @@ -18,7 +18,7 @@ type TeamsAppSettingsRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TeamsAppSettingsRequestBuilderGetQueryParameters read the properties and relationships of a teamsAppSettings object. +// TeamsAppSettingsRequestBuilderGetQueryParameters represents tenant-wide settings for all Teams apps in the tenant. type TeamsAppSettingsRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *TeamsAppSettingsRequestBuilder) Delete(ctx context.Context, requestConf } return nil } -// Get read the properties and relationships of a teamsAppSettings object. +// Get represents tenant-wide settings for all Teams apps in the tenant. // returns a TeamsAppSettingsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/teamsappsettings-get?view=graph-rest-1.0 func (m *TeamsAppSettingsRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamsAppSettingsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppSettingsable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *TeamsAppSettingsRequestBuilder) Get(ctx context.Context, requestConfigu } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppSettingsable), nil } -// Patch update the properties of a teamsAppSettings object. +// Patch update the navigation property teamsAppSettings in teamwork // returns a TeamsAppSettingsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/teamsappsettings-update?view=graph-rest-1.0 func (m *TeamsAppSettingsRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppSettingsable, requestConfiguration *TeamsAppSettingsRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppSettingsable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *TeamsAppSettingsRequestBuilder) ToDeleteRequestInformation(ctx context. requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a teamsAppSettings object. +// ToGetRequestInformation represents tenant-wide settings for all Teams apps in the tenant. // returns a *RequestInformation when successful func (m *TeamsAppSettingsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamsAppSettingsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *TeamsAppSettingsRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a teamsAppSettings object. +// ToPatchRequestInformation update the navigation property teamsAppSettings in teamwork // returns a *RequestInformation when successful func (m *TeamsAppSettingsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppSettingsable, requestConfiguration *TeamsAppSettingsRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/teamwork_request_builder.go b/teamwork/teamwork_request_builder.go index e9eeac8babf..5cfc1202426 100644 --- a/teamwork/teamwork_request_builder.go +++ b/teamwork/teamwork_request_builder.go @@ -67,7 +67,7 @@ func (m *TeamworkRequestBuilder) Devices()(*DevicesRequestBuilder) { // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/teamwork-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/teamwork-get?view=graph-rest-beta func (m *TeamworkRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamworkRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Teamworkable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/teamwork/workforce_integrations_request_builder.go b/teamwork/workforce_integrations_request_builder.go index bc115331288..b8846c3dfad 100644 --- a/teamwork/workforce_integrations_request_builder.go +++ b/teamwork/workforce_integrations_request_builder.go @@ -11,7 +11,7 @@ import ( type WorkforceIntegrationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// WorkforceIntegrationsRequestBuilderGetQueryParameters retrieve a list of workforceIntegration objects. +// WorkforceIntegrationsRequestBuilderGetQueryParameters a workforce integration with shifts. type WorkforceIntegrationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewWorkforceIntegrationsRequestBuilder(rawUrl string, requestAdapter i2ae41 func (m *WorkforceIntegrationsRequestBuilder) Count()(*WorkforceIntegrationsCountRequestBuilder) { return NewWorkforceIntegrationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of workforceIntegration objects. +// Get a workforce integration with shifts. // returns a WorkforceIntegrationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/workforceintegration-list?view=graph-rest-1.0 func (m *WorkforceIntegrationsRequestBuilder) Get(ctx context.Context, requestConfiguration *WorkforceIntegrationsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkforceIntegrationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *WorkforceIntegrationsRequestBuilder) Get(ctx context.Context, requestCo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkforceIntegrationCollectionResponseable), nil } -// Post create a new workforceIntegration object. +// Post create new navigation property to workforceIntegrations for teamwork // returns a WorkforceIntegrationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/workforceintegration-post?view=graph-rest-1.0 func (m *WorkforceIntegrationsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkforceIntegrationable, requestConfiguration *WorkforceIntegrationsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkforceIntegrationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *WorkforceIntegrationsRequestBuilder) Post(ctx context.Context, body ie2 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkforceIntegrationable), nil } -// ToGetRequestInformation retrieve a list of workforceIntegration objects. +// ToGetRequestInformation a workforce integration with shifts. // returns a *RequestInformation when successful func (m *WorkforceIntegrationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WorkforceIntegrationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *WorkforceIntegrationsRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new workforceIntegration object. +// ToPostRequestInformation create new navigation property to workforceIntegrations for teamwork // returns a *RequestInformation when successful func (m *WorkforceIntegrationsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkforceIntegrationable, requestConfiguration *WorkforceIntegrationsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teamwork/workforce_integrations_workforce_integration_item_request_builder.go b/teamwork/workforce_integrations_workforce_integration_item_request_builder.go index 381fa03f59d..8639842d2e6 100644 --- a/teamwork/workforce_integrations_workforce_integration_item_request_builder.go +++ b/teamwork/workforce_integrations_workforce_integration_item_request_builder.go @@ -18,7 +18,7 @@ type WorkforceIntegrationsWorkforceIntegrationItemRequestBuilderDeleteRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// WorkforceIntegrationsWorkforceIntegrationItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a workforceintegration object. +// WorkforceIntegrationsWorkforceIntegrationItemRequestBuilderGetQueryParameters a workforce integration with shifts. type WorkforceIntegrationsWorkforceIntegrationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewWorkforceIntegrationsWorkforceIntegrationItemRequestBuilder(rawUrl strin urlParams["request-raw-url"] = rawUrl return NewWorkforceIntegrationsWorkforceIntegrationItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an instance of a workforceIntegration. +// Delete delete navigation property workforceIntegrations for teamwork // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/workforceintegration-delete?view=graph-rest-1.0 func (m *WorkforceIntegrationsWorkforceIntegrationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *WorkforceIntegrationsWorkforceIntegrationItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *WorkforceIntegrationsWorkforceIntegrationItemRequestBuilder) Delete(ctx } return nil } -// Get retrieve the properties and relationships of a workforceintegration object. +// Get a workforce integration with shifts. // returns a WorkforceIntegrationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/workforceintegration-get?view=graph-rest-1.0 func (m *WorkforceIntegrationsWorkforceIntegrationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *WorkforceIntegrationsWorkforceIntegrationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkforceIntegrationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *WorkforceIntegrationsWorkforceIntegrationItemRequestBuilder) Get(ctx co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkforceIntegrationable), nil } -// Patch update the properties of a workforceintegration object. +// Patch update the navigation property workforceIntegrations in teamwork // returns a WorkforceIntegrationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/workforceintegration-update?view=graph-rest-1.0 func (m *WorkforceIntegrationsWorkforceIntegrationItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkforceIntegrationable, requestConfiguration *WorkforceIntegrationsWorkforceIntegrationItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkforceIntegrationable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *WorkforceIntegrationsWorkforceIntegrationItemRequestBuilder) Patch(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkforceIntegrationable), nil } -// ToDeleteRequestInformation delete an instance of a workforceIntegration. +// ToDeleteRequestInformation delete navigation property workforceIntegrations for teamwork // returns a *RequestInformation when successful func (m *WorkforceIntegrationsWorkforceIntegrationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *WorkforceIntegrationsWorkforceIntegrationItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *WorkforceIntegrationsWorkforceIntegrationItemRequestBuilder) ToDeleteRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a workforceintegration object. +// ToGetRequestInformation a workforce integration with shifts. // returns a *RequestInformation when successful func (m *WorkforceIntegrationsWorkforceIntegrationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WorkforceIntegrationsWorkforceIntegrationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *WorkforceIntegrationsWorkforceIntegrationItemRequestBuilder) ToGetReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a workforceintegration object. +// ToPatchRequestInformation update the navigation property workforceIntegrations in teamwork // returns a *RequestInformation when successful func (m *WorkforceIntegrationsWorkforceIntegrationItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkforceIntegrationable, requestConfiguration *WorkforceIntegrationsWorkforceIntegrationItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/tenantrelationships/delegated_admin_customers_delegated_admin_customer_item_request_builder.go b/tenantrelationships/delegated_admin_customers_delegated_admin_customer_item_request_builder.go index 95c5d4df6c8..d4236dce999 100644 --- a/tenantrelationships/delegated_admin_customers_delegated_admin_customer_item_request_builder.go +++ b/tenantrelationships/delegated_admin_customers_delegated_admin_customer_item_request_builder.go @@ -18,7 +18,7 @@ type DelegatedAdminCustomersDelegatedAdminCustomerItemRequestBuilderDeleteReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DelegatedAdminCustomersDelegatedAdminCustomerItemRequestBuilderGetQueryParameters read the properties of a delegatedAdminCustomer object. +// DelegatedAdminCustomersDelegatedAdminCustomerItemRequestBuilderGetQueryParameters the customer who has a delegated admin relationship with a Microsoft partner. type DelegatedAdminCustomersDelegatedAdminCustomerItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *DelegatedAdminCustomersDelegatedAdminCustomerItemRequestBuilder) Delete } return nil } -// Get read the properties of a delegatedAdminCustomer object. +// Get the customer who has a delegated admin relationship with a Microsoft partner. // returns a DelegatedAdminCustomerable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/delegatedadmincustomer-get?view=graph-rest-1.0 func (m *DelegatedAdminCustomersDelegatedAdminCustomerItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DelegatedAdminCustomersDelegatedAdminCustomerItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DelegatedAdminCustomerable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *DelegatedAdminCustomersDelegatedAdminCustomerItemRequestBuilder) ToDele requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties of a delegatedAdminCustomer object. +// ToGetRequestInformation the customer who has a delegated admin relationship with a Microsoft partner. // returns a *RequestInformation when successful func (m *DelegatedAdminCustomersDelegatedAdminCustomerItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DelegatedAdminCustomersDelegatedAdminCustomerItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/tenantrelationships/delegated_admin_customers_item_service_management_details_request_builder.go b/tenantrelationships/delegated_admin_customers_item_service_management_details_request_builder.go index 39378990a75..26ac106781b 100644 --- a/tenantrelationships/delegated_admin_customers_item_service_management_details_request_builder.go +++ b/tenantrelationships/delegated_admin_customers_item_service_management_details_request_builder.go @@ -11,7 +11,7 @@ import ( type DelegatedAdminCustomersItemServiceManagementDetailsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DelegatedAdminCustomersItemServiceManagementDetailsRequestBuilderGetQueryParameters get a list of the delegatedAdminServiceManagementDetail objects and their properties. +// DelegatedAdminCustomersItemServiceManagementDetailsRequestBuilderGetQueryParameters contains the management details of a service in the customer tenant that's managed by delegated administration. type DelegatedAdminCustomersItemServiceManagementDetailsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewDelegatedAdminCustomersItemServiceManagementDetailsRequestBuilder(rawUrl func (m *DelegatedAdminCustomersItemServiceManagementDetailsRequestBuilder) Count()(*DelegatedAdminCustomersItemServiceManagementDetailsCountRequestBuilder) { return NewDelegatedAdminCustomersItemServiceManagementDetailsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the delegatedAdminServiceManagementDetail objects and their properties. +// Get contains the management details of a service in the customer tenant that's managed by delegated administration. // returns a DelegatedAdminServiceManagementDetailCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/delegatedadmincustomer-list-servicemanagementdetails?view=graph-rest-1.0 func (m *DelegatedAdminCustomersItemServiceManagementDetailsRequestBuilder) Get(ctx context.Context, requestConfiguration *DelegatedAdminCustomersItemServiceManagementDetailsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DelegatedAdminServiceManagementDetailCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *DelegatedAdminCustomersItemServiceManagementDetailsRequestBuilder) Post } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DelegatedAdminServiceManagementDetailable), nil } -// ToGetRequestInformation get a list of the delegatedAdminServiceManagementDetail objects and their properties. +// ToGetRequestInformation contains the management details of a service in the customer tenant that's managed by delegated administration. // returns a *RequestInformation when successful func (m *DelegatedAdminCustomersItemServiceManagementDetailsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DelegatedAdminCustomersItemServiceManagementDetailsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/tenantrelationships/delegated_admin_customers_request_builder.go b/tenantrelationships/delegated_admin_customers_request_builder.go index 8995b562738..6b5fb8755b6 100644 --- a/tenantrelationships/delegated_admin_customers_request_builder.go +++ b/tenantrelationships/delegated_admin_customers_request_builder.go @@ -11,7 +11,7 @@ import ( type DelegatedAdminCustomersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DelegatedAdminCustomersRequestBuilderGetQueryParameters get a list of the delegatedAdminCustomer objects and their properties. +// DelegatedAdminCustomersRequestBuilderGetQueryParameters the customer who has a delegated admin relationship with a Microsoft partner. type DelegatedAdminCustomersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewDelegatedAdminCustomersRequestBuilder(rawUrl string, requestAdapter i2ae func (m *DelegatedAdminCustomersRequestBuilder) Count()(*DelegatedAdminCustomersCountRequestBuilder) { return NewDelegatedAdminCustomersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the delegatedAdminCustomer objects and their properties. +// Get the customer who has a delegated admin relationship with a Microsoft partner. // returns a DelegatedAdminCustomerCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/tenantrelationship-list-delegatedadmincustomers?view=graph-rest-1.0 func (m *DelegatedAdminCustomersRequestBuilder) Get(ctx context.Context, requestConfiguration *DelegatedAdminCustomersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DelegatedAdminCustomerCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *DelegatedAdminCustomersRequestBuilder) Post(ctx context.Context, body i } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DelegatedAdminCustomerable), nil } -// ToGetRequestInformation get a list of the delegatedAdminCustomer objects and their properties. +// ToGetRequestInformation the customer who has a delegated admin relationship with a Microsoft partner. // returns a *RequestInformation when successful func (m *DelegatedAdminCustomersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DelegatedAdminCustomersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/tenantrelationships/delegated_admin_relationships_delegated_admin_relationship_item_request_builder.go b/tenantrelationships/delegated_admin_relationships_delegated_admin_relationship_item_request_builder.go index f644e3a4052..64a8955773f 100644 --- a/tenantrelationships/delegated_admin_relationships_delegated_admin_relationship_item_request_builder.go +++ b/tenantrelationships/delegated_admin_relationships_delegated_admin_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type DelegatedAdminRelationshipsDelegatedAdminRelationshipItemRequestBuilderDele // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DelegatedAdminRelationshipsDelegatedAdminRelationshipItemRequestBuilderGetQueryParameters read the properties of a delegatedAdminRelationship object. +// DelegatedAdminRelationshipsDelegatedAdminRelationshipItemRequestBuilderGetQueryParameters the details of the delegated administrative privileges that a Microsoft partner has in a customer tenant. type DelegatedAdminRelationshipsDelegatedAdminRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewDelegatedAdminRelationshipsDelegatedAdminRelationshipItemRequestBuilder( urlParams["request-raw-url"] = rawUrl return NewDelegatedAdminRelationshipsDelegatedAdminRelationshipItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a delegatedAdminRelationship object. A relationship can only be deleted if it's in the 'created' status. +// Delete delete navigation property delegatedAdminRelationships for tenantRelationships // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/delegatedadminrelationship-delete?view=graph-rest-1.0 func (m *DelegatedAdminRelationshipsDelegatedAdminRelationshipItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *DelegatedAdminRelationshipsDelegatedAdminRelationshipItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *DelegatedAdminRelationshipsDelegatedAdminRelationshipItemRequestBuilder } return nil } -// Get read the properties of a delegatedAdminRelationship object. +// Get the details of the delegated administrative privileges that a Microsoft partner has in a customer tenant. // returns a DelegatedAdminRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/delegatedadminrelationship-get?view=graph-rest-1.0 func (m *DelegatedAdminRelationshipsDelegatedAdminRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DelegatedAdminRelationshipsDelegatedAdminRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DelegatedAdminRelationshipable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -106,12 +100,9 @@ func (m *DelegatedAdminRelationshipsDelegatedAdminRelationshipItemRequestBuilder func (m *DelegatedAdminRelationshipsDelegatedAdminRelationshipItemRequestBuilder) Operations()(*DelegatedAdminRelationshipsItemOperationsRequestBuilder) { return NewDelegatedAdminRelationshipsItemOperationsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of a delegatedAdminRelationship object. You can only update a relationship when it's in the created status. However, you can update the autoExtendDuration property when the relationship is in either the created or active status. +// Patch update the navigation property delegatedAdminRelationships in tenantRelationships // returns a DelegatedAdminRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/delegatedadminrelationship-update?view=graph-rest-1.0 func (m *DelegatedAdminRelationshipsDelegatedAdminRelationshipItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DelegatedAdminRelationshipable, requestConfiguration *DelegatedAdminRelationshipsDelegatedAdminRelationshipItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DelegatedAdminRelationshipable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -134,7 +125,7 @@ func (m *DelegatedAdminRelationshipsDelegatedAdminRelationshipItemRequestBuilder func (m *DelegatedAdminRelationshipsDelegatedAdminRelationshipItemRequestBuilder) Requests()(*DelegatedAdminRelationshipsItemRequestsRequestBuilder) { return NewDelegatedAdminRelationshipsItemRequestsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a delegatedAdminRelationship object. A relationship can only be deleted if it's in the 'created' status. +// ToDeleteRequestInformation delete navigation property delegatedAdminRelationships for tenantRelationships // returns a *RequestInformation when successful func (m *DelegatedAdminRelationshipsDelegatedAdminRelationshipItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *DelegatedAdminRelationshipsDelegatedAdminRelationshipItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -145,7 +136,7 @@ func (m *DelegatedAdminRelationshipsDelegatedAdminRelationshipItemRequestBuilder requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties of a delegatedAdminRelationship object. +// ToGetRequestInformation the details of the delegated administrative privileges that a Microsoft partner has in a customer tenant. // returns a *RequestInformation when successful func (m *DelegatedAdminRelationshipsDelegatedAdminRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DelegatedAdminRelationshipsDelegatedAdminRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -159,7 +150,7 @@ func (m *DelegatedAdminRelationshipsDelegatedAdminRelationshipItemRequestBuilder requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a delegatedAdminRelationship object. You can only update a relationship when it's in the created status. However, you can update the autoExtendDuration property when the relationship is in either the created or active status. +// ToPatchRequestInformation update the navigation property delegatedAdminRelationships in tenantRelationships // returns a *RequestInformation when successful func (m *DelegatedAdminRelationshipsDelegatedAdminRelationshipItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DelegatedAdminRelationshipable, requestConfiguration *DelegatedAdminRelationshipsDelegatedAdminRelationshipItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/tenantrelationships/delegated_admin_relationships_item_access_assignments_delegated_admin_access_assignment_item_request_builder.go b/tenantrelationships/delegated_admin_relationships_item_access_assignments_delegated_admin_access_assignment_item_request_builder.go index 086ad9a2116..887f255811d 100644 --- a/tenantrelationships/delegated_admin_relationships_item_access_assignments_delegated_admin_access_assignment_item_request_builder.go +++ b/tenantrelationships/delegated_admin_relationships_item_access_assignments_delegated_admin_access_assignment_item_request_builder.go @@ -18,7 +18,7 @@ type DelegatedAdminRelationshipsItemAccessAssignmentsDelegatedAdminAccessAssignm // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DelegatedAdminRelationshipsItemAccessAssignmentsDelegatedAdminAccessAssignmentItemRequestBuilderGetQueryParameters read the properties of a delegatedAdminAccessAssignment object. +// DelegatedAdminRelationshipsItemAccessAssignmentsDelegatedAdminAccessAssignmentItemRequestBuilderGetQueryParameters the access assignments associated with the delegated admin relationship. type DelegatedAdminRelationshipsItemAccessAssignmentsDelegatedAdminAccessAssignmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewDelegatedAdminRelationshipsItemAccessAssignmentsDelegatedAdminAccessAssi urlParams["request-raw-url"] = rawUrl return NewDelegatedAdminRelationshipsItemAccessAssignmentsDelegatedAdminAccessAssignmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a delegatedAdminAccessAssignment object. +// Delete delete navigation property accessAssignments for tenantRelationships // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/delegatedadminaccessassignment-delete?view=graph-rest-1.0 func (m *DelegatedAdminRelationshipsItemAccessAssignmentsDelegatedAdminAccessAssignmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *DelegatedAdminRelationshipsItemAccessAssignmentsDelegatedAdminAccessAssignmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *DelegatedAdminRelationshipsItemAccessAssignmentsDelegatedAdminAccessAss } return nil } -// Get read the properties of a delegatedAdminAccessAssignment object. +// Get the access assignments associated with the delegated admin relationship. // returns a DelegatedAdminAccessAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/delegatedadminaccessassignment-get?view=graph-rest-1.0 func (m *DelegatedAdminRelationshipsItemAccessAssignmentsDelegatedAdminAccessAssignmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DelegatedAdminRelationshipsItemAccessAssignmentsDelegatedAdminAccessAssignmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DelegatedAdminAccessAssignmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *DelegatedAdminRelationshipsItemAccessAssignmentsDelegatedAdminAccessAss } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DelegatedAdminAccessAssignmentable), nil } -// Patch update the properties of a delegatedAdminAccessAssignment object. +// Patch update the navigation property accessAssignments in tenantRelationships // returns a DelegatedAdminAccessAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/delegatedadminaccessassignment-update?view=graph-rest-1.0 func (m *DelegatedAdminRelationshipsItemAccessAssignmentsDelegatedAdminAccessAssignmentItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DelegatedAdminAccessAssignmentable, requestConfiguration *DelegatedAdminRelationshipsItemAccessAssignmentsDelegatedAdminAccessAssignmentItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DelegatedAdminAccessAssignmentable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *DelegatedAdminRelationshipsItemAccessAssignmentsDelegatedAdminAccessAss } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DelegatedAdminAccessAssignmentable), nil } -// ToDeleteRequestInformation delete a delegatedAdminAccessAssignment object. +// ToDeleteRequestInformation delete navigation property accessAssignments for tenantRelationships // returns a *RequestInformation when successful func (m *DelegatedAdminRelationshipsItemAccessAssignmentsDelegatedAdminAccessAssignmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *DelegatedAdminRelationshipsItemAccessAssignmentsDelegatedAdminAccessAssignmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *DelegatedAdminRelationshipsItemAccessAssignmentsDelegatedAdminAccessAss requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties of a delegatedAdminAccessAssignment object. +// ToGetRequestInformation the access assignments associated with the delegated admin relationship. // returns a *RequestInformation when successful func (m *DelegatedAdminRelationshipsItemAccessAssignmentsDelegatedAdminAccessAssignmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DelegatedAdminRelationshipsItemAccessAssignmentsDelegatedAdminAccessAssignmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *DelegatedAdminRelationshipsItemAccessAssignmentsDelegatedAdminAccessAss requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a delegatedAdminAccessAssignment object. +// ToPatchRequestInformation update the navigation property accessAssignments in tenantRelationships // returns a *RequestInformation when successful func (m *DelegatedAdminRelationshipsItemAccessAssignmentsDelegatedAdminAccessAssignmentItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DelegatedAdminAccessAssignmentable, requestConfiguration *DelegatedAdminRelationshipsItemAccessAssignmentsDelegatedAdminAccessAssignmentItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/tenantrelationships/delegated_admin_relationships_item_access_assignments_request_builder.go b/tenantrelationships/delegated_admin_relationships_item_access_assignments_request_builder.go index 7f7677ed887..a4c8d6970d7 100644 --- a/tenantrelationships/delegated_admin_relationships_item_access_assignments_request_builder.go +++ b/tenantrelationships/delegated_admin_relationships_item_access_assignments_request_builder.go @@ -11,7 +11,7 @@ import ( type DelegatedAdminRelationshipsItemAccessAssignmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DelegatedAdminRelationshipsItemAccessAssignmentsRequestBuilderGetQueryParameters get a list of the delegatedAdminAccessAssignment objects and their properties. +// DelegatedAdminRelationshipsItemAccessAssignmentsRequestBuilderGetQueryParameters the access assignments associated with the delegated admin relationship. type DelegatedAdminRelationshipsItemAccessAssignmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewDelegatedAdminRelationshipsItemAccessAssignmentsRequestBuilder(rawUrl st func (m *DelegatedAdminRelationshipsItemAccessAssignmentsRequestBuilder) Count()(*DelegatedAdminRelationshipsItemAccessAssignmentsCountRequestBuilder) { return NewDelegatedAdminRelationshipsItemAccessAssignmentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the delegatedAdminAccessAssignment objects and their properties. +// Get the access assignments associated with the delegated admin relationship. // returns a DelegatedAdminAccessAssignmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/delegatedadminrelationship-list-accessassignments?view=graph-rest-1.0 func (m *DelegatedAdminRelationshipsItemAccessAssignmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *DelegatedAdminRelationshipsItemAccessAssignmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DelegatedAdminAccessAssignmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *DelegatedAdminRelationshipsItemAccessAssignmentsRequestBuilder) Get(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DelegatedAdminAccessAssignmentCollectionResponseable), nil } -// Post create a new delegatedAdminAccessAssignment object. +// Post create new navigation property to accessAssignments for tenantRelationships // returns a DelegatedAdminAccessAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/delegatedadminrelationship-post-accessassignments?view=graph-rest-1.0 func (m *DelegatedAdminRelationshipsItemAccessAssignmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DelegatedAdminAccessAssignmentable, requestConfiguration *DelegatedAdminRelationshipsItemAccessAssignmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DelegatedAdminAccessAssignmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *DelegatedAdminRelationshipsItemAccessAssignmentsRequestBuilder) Post(ct } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DelegatedAdminAccessAssignmentable), nil } -// ToGetRequestInformation get a list of the delegatedAdminAccessAssignment objects and their properties. +// ToGetRequestInformation the access assignments associated with the delegated admin relationship. // returns a *RequestInformation when successful func (m *DelegatedAdminRelationshipsItemAccessAssignmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DelegatedAdminRelationshipsItemAccessAssignmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *DelegatedAdminRelationshipsItemAccessAssignmentsRequestBuilder) ToGetRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new delegatedAdminAccessAssignment object. +// ToPostRequestInformation create new navigation property to accessAssignments for tenantRelationships // returns a *RequestInformation when successful func (m *DelegatedAdminRelationshipsItemAccessAssignmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DelegatedAdminAccessAssignmentable, requestConfiguration *DelegatedAdminRelationshipsItemAccessAssignmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/tenantrelationships/delegated_admin_relationships_item_operations_delegated_admin_relationship_operation_item_request_builder.go b/tenantrelationships/delegated_admin_relationships_item_operations_delegated_admin_relationship_operation_item_request_builder.go index b61c3586583..89b3c03349d 100644 --- a/tenantrelationships/delegated_admin_relationships_item_operations_delegated_admin_relationship_operation_item_request_builder.go +++ b/tenantrelationships/delegated_admin_relationships_item_operations_delegated_admin_relationship_operation_item_request_builder.go @@ -18,7 +18,7 @@ type DelegatedAdminRelationshipsItemOperationsDelegatedAdminRelationshipOperatio // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DelegatedAdminRelationshipsItemOperationsDelegatedAdminRelationshipOperationItemRequestBuilderGetQueryParameters read the properties of a delegatedAdminRelationshipOperation object. +// DelegatedAdminRelationshipsItemOperationsDelegatedAdminRelationshipOperationItemRequestBuilderGetQueryParameters the long running operations associated with the delegated admin relationship. type DelegatedAdminRelationshipsItemOperationsDelegatedAdminRelationshipOperationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *DelegatedAdminRelationshipsItemOperationsDelegatedAdminRelationshipOper } return nil } -// Get read the properties of a delegatedAdminRelationshipOperation object. +// Get the long running operations associated with the delegated admin relationship. // returns a DelegatedAdminRelationshipOperationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/delegatedadminrelationshipoperation-get?view=graph-rest-1.0 func (m *DelegatedAdminRelationshipsItemOperationsDelegatedAdminRelationshipOperationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DelegatedAdminRelationshipsItemOperationsDelegatedAdminRelationshipOperationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DelegatedAdminRelationshipOperationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *DelegatedAdminRelationshipsItemOperationsDelegatedAdminRelationshipOper requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties of a delegatedAdminRelationshipOperation object. +// ToGetRequestInformation the long running operations associated with the delegated admin relationship. // returns a *RequestInformation when successful func (m *DelegatedAdminRelationshipsItemOperationsDelegatedAdminRelationshipOperationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DelegatedAdminRelationshipsItemOperationsDelegatedAdminRelationshipOperationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/tenantrelationships/delegated_admin_relationships_item_operations_request_builder.go b/tenantrelationships/delegated_admin_relationships_item_operations_request_builder.go index 77ec3f2dc39..1d09502c3a6 100644 --- a/tenantrelationships/delegated_admin_relationships_item_operations_request_builder.go +++ b/tenantrelationships/delegated_admin_relationships_item_operations_request_builder.go @@ -11,7 +11,7 @@ import ( type DelegatedAdminRelationshipsItemOperationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DelegatedAdminRelationshipsItemOperationsRequestBuilderGetQueryParameters get a list of the delegatedAdminRelationshipOperation objects and their properties. +// DelegatedAdminRelationshipsItemOperationsRequestBuilderGetQueryParameters the long running operations associated with the delegated admin relationship. type DelegatedAdminRelationshipsItemOperationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewDelegatedAdminRelationshipsItemOperationsRequestBuilder(rawUrl string, r func (m *DelegatedAdminRelationshipsItemOperationsRequestBuilder) Count()(*DelegatedAdminRelationshipsItemOperationsCountRequestBuilder) { return NewDelegatedAdminRelationshipsItemOperationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the delegatedAdminRelationshipOperation objects and their properties. +// Get the long running operations associated with the delegated admin relationship. // returns a DelegatedAdminRelationshipOperationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/delegatedadminrelationship-list-operations?view=graph-rest-1.0 func (m *DelegatedAdminRelationshipsItemOperationsRequestBuilder) Get(ctx context.Context, requestConfiguration *DelegatedAdminRelationshipsItemOperationsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DelegatedAdminRelationshipOperationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *DelegatedAdminRelationshipsItemOperationsRequestBuilder) Post(ctx conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DelegatedAdminRelationshipOperationable), nil } -// ToGetRequestInformation get a list of the delegatedAdminRelationshipOperation objects and their properties. +// ToGetRequestInformation the long running operations associated with the delegated admin relationship. // returns a *RequestInformation when successful func (m *DelegatedAdminRelationshipsItemOperationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DelegatedAdminRelationshipsItemOperationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/tenantrelationships/delegated_admin_relationships_item_requests_delegated_admin_relationship_request_item_request_builder.go b/tenantrelationships/delegated_admin_relationships_item_requests_delegated_admin_relationship_request_item_request_builder.go index 414a9a64a15..9ea59ee13c8 100644 --- a/tenantrelationships/delegated_admin_relationships_item_requests_delegated_admin_relationship_request_item_request_builder.go +++ b/tenantrelationships/delegated_admin_relationships_item_requests_delegated_admin_relationship_request_item_request_builder.go @@ -18,7 +18,7 @@ type DelegatedAdminRelationshipsItemRequestsDelegatedAdminRelationshipRequestIte // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DelegatedAdminRelationshipsItemRequestsDelegatedAdminRelationshipRequestItemRequestBuilderGetQueryParameters read the properties and relationships of a delegatedAdminRelationshipRequest object. +// DelegatedAdminRelationshipsItemRequestsDelegatedAdminRelationshipRequestItemRequestBuilderGetQueryParameters the requests associated with the delegated admin relationship. type DelegatedAdminRelationshipsItemRequestsDelegatedAdminRelationshipRequestItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *DelegatedAdminRelationshipsItemRequestsDelegatedAdminRelationshipReques } return nil } -// Get read the properties and relationships of a delegatedAdminRelationshipRequest object. +// Get the requests associated with the delegated admin relationship. // returns a DelegatedAdminRelationshipRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/delegatedadminrelationshiprequest-get?view=graph-rest-1.0 func (m *DelegatedAdminRelationshipsItemRequestsDelegatedAdminRelationshipRequestItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DelegatedAdminRelationshipsItemRequestsDelegatedAdminRelationshipRequestItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DelegatedAdminRelationshipRequestable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *DelegatedAdminRelationshipsItemRequestsDelegatedAdminRelationshipReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a delegatedAdminRelationshipRequest object. +// ToGetRequestInformation the requests associated with the delegated admin relationship. // returns a *RequestInformation when successful func (m *DelegatedAdminRelationshipsItemRequestsDelegatedAdminRelationshipRequestItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DelegatedAdminRelationshipsItemRequestsDelegatedAdminRelationshipRequestItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/tenantrelationships/delegated_admin_relationships_item_requests_request_builder.go b/tenantrelationships/delegated_admin_relationships_item_requests_request_builder.go index d69489b95d2..a592c8804e2 100644 --- a/tenantrelationships/delegated_admin_relationships_item_requests_request_builder.go +++ b/tenantrelationships/delegated_admin_relationships_item_requests_request_builder.go @@ -11,7 +11,7 @@ import ( type DelegatedAdminRelationshipsItemRequestsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DelegatedAdminRelationshipsItemRequestsRequestBuilderGetQueryParameters get a list of the delegatedAdminRelationshipRequest objects and their properties. +// DelegatedAdminRelationshipsItemRequestsRequestBuilderGetQueryParameters the requests associated with the delegated admin relationship. type DelegatedAdminRelationshipsItemRequestsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewDelegatedAdminRelationshipsItemRequestsRequestBuilder(rawUrl string, req func (m *DelegatedAdminRelationshipsItemRequestsRequestBuilder) Count()(*DelegatedAdminRelationshipsItemRequestsCountRequestBuilder) { return NewDelegatedAdminRelationshipsItemRequestsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the delegatedAdminRelationshipRequest objects and their properties. +// Get the requests associated with the delegated admin relationship. // returns a DelegatedAdminRelationshipRequestCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/delegatedadminrelationship-list-requests?view=graph-rest-1.0 func (m *DelegatedAdminRelationshipsItemRequestsRequestBuilder) Get(ctx context.Context, requestConfiguration *DelegatedAdminRelationshipsItemRequestsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DelegatedAdminRelationshipRequestCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *DelegatedAdminRelationshipsItemRequestsRequestBuilder) Get(ctx context. } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DelegatedAdminRelationshipRequestCollectionResponseable), nil } -// Post create a new delegatedAdminRelationshipRequest object. +// Post create new navigation property to requests for tenantRelationships // returns a DelegatedAdminRelationshipRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/delegatedadminrelationship-post-requests?view=graph-rest-1.0 func (m *DelegatedAdminRelationshipsItemRequestsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DelegatedAdminRelationshipRequestable, requestConfiguration *DelegatedAdminRelationshipsItemRequestsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DelegatedAdminRelationshipRequestable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *DelegatedAdminRelationshipsItemRequestsRequestBuilder) Post(ctx context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DelegatedAdminRelationshipRequestable), nil } -// ToGetRequestInformation get a list of the delegatedAdminRelationshipRequest objects and their properties. +// ToGetRequestInformation the requests associated with the delegated admin relationship. // returns a *RequestInformation when successful func (m *DelegatedAdminRelationshipsItemRequestsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DelegatedAdminRelationshipsItemRequestsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *DelegatedAdminRelationshipsItemRequestsRequestBuilder) ToGetRequestInfo requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new delegatedAdminRelationshipRequest object. +// ToPostRequestInformation create new navigation property to requests for tenantRelationships // returns a *RequestInformation when successful func (m *DelegatedAdminRelationshipsItemRequestsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DelegatedAdminRelationshipRequestable, requestConfiguration *DelegatedAdminRelationshipsItemRequestsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/tenantrelationships/delegated_admin_relationships_request_builder.go b/tenantrelationships/delegated_admin_relationships_request_builder.go index e9c28ee2f76..1188ed17ccc 100644 --- a/tenantrelationships/delegated_admin_relationships_request_builder.go +++ b/tenantrelationships/delegated_admin_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type DelegatedAdminRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DelegatedAdminRelationshipsRequestBuilderGetQueryParameters get a list of the delegatedAdminRelationship objects and their properties. +// DelegatedAdminRelationshipsRequestBuilderGetQueryParameters the details of the delegated administrative privileges that a Microsoft partner has in a customer tenant. type DelegatedAdminRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewDelegatedAdminRelationshipsRequestBuilder(rawUrl string, requestAdapter func (m *DelegatedAdminRelationshipsRequestBuilder) Count()(*DelegatedAdminRelationshipsCountRequestBuilder) { return NewDelegatedAdminRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the delegatedAdminRelationship objects and their properties. +// Get the details of the delegated administrative privileges that a Microsoft partner has in a customer tenant. // returns a DelegatedAdminRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/tenantrelationship-list-delegatedadminrelationships?view=graph-rest-1.0 func (m *DelegatedAdminRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *DelegatedAdminRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DelegatedAdminRelationshipCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *DelegatedAdminRelationshipsRequestBuilder) Get(ctx context.Context, req } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DelegatedAdminRelationshipCollectionResponseable), nil } -// Post create a new delegatedAdminRelationship object. +// Post create new navigation property to delegatedAdminRelationships for tenantRelationships // returns a DelegatedAdminRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/tenantrelationship-post-delegatedadminrelationships?view=graph-rest-1.0 func (m *DelegatedAdminRelationshipsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DelegatedAdminRelationshipable, requestConfiguration *DelegatedAdminRelationshipsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DelegatedAdminRelationshipable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *DelegatedAdminRelationshipsRequestBuilder) Post(ctx context.Context, bo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DelegatedAdminRelationshipable), nil } -// ToGetRequestInformation get a list of the delegatedAdminRelationship objects and their properties. +// ToGetRequestInformation the details of the delegated administrative privileges that a Microsoft partner has in a customer tenant. // returns a *RequestInformation when successful func (m *DelegatedAdminRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DelegatedAdminRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *DelegatedAdminRelationshipsRequestBuilder) ToGetRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new delegatedAdminRelationship object. +// ToPostRequestInformation create new navigation property to delegatedAdminRelationships for tenantRelationships // returns a *RequestInformation when successful func (m *DelegatedAdminRelationshipsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DelegatedAdminRelationshipable, requestConfiguration *DelegatedAdminRelationshipsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/tenantrelationships/find_tenant_information_by_domain_name_with_domain_name_request_builder.go b/tenantrelationships/find_tenant_information_by_domain_name_with_domain_name_request_builder.go index 071a8f6d919..c1dbf51146a 100644 --- a/tenantrelationships/find_tenant_information_by_domain_name_with_domain_name_request_builder.go +++ b/tenantrelationships/find_tenant_information_by_domain_name_with_domain_name_request_builder.go @@ -34,9 +34,12 @@ func NewFindTenantInformationByDomainNameWithDomainNameRequestBuilder(rawUrl str urlParams["request-raw-url"] = rawUrl return NewFindTenantInformationByDomainNameWithDomainNameRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function findTenantInformationByDomainName +// Get given a domain name, search for a tenant and read its tenantInformation. You can use this API to validate tenant information and use their tenantId to configure cross-tenant access settings between you and the tenant. // returns a TenantInformationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/tenantrelationship-findtenantinformationbydomainname?view=graph-rest-beta func (m *FindTenantInformationByDomainNameWithDomainNameRequestBuilder) Get(ctx context.Context, requestConfiguration *FindTenantInformationByDomainNameWithDomainNameRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TenantInformationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -54,7 +57,7 @@ func (m *FindTenantInformationByDomainNameWithDomainNameRequestBuilder) Get(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TenantInformationable), nil } -// ToGetRequestInformation invoke function findTenantInformationByDomainName +// ToGetRequestInformation given a domain name, search for a tenant and read its tenantInformation. You can use this API to validate tenant information and use their tenantId to configure cross-tenant access settings between you and the tenant. // returns a *RequestInformation when successful func (m *FindTenantInformationByDomainNameWithDomainNameRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FindTenantInformationByDomainNameWithDomainNameRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/tenantrelationships/find_tenant_information_by_tenant_id_with_tenant_id_request_builder.go b/tenantrelationships/find_tenant_information_by_tenant_id_with_tenant_id_request_builder.go index 75ae3ab6b25..bce6bc5b3d6 100644 --- a/tenantrelationships/find_tenant_information_by_tenant_id_with_tenant_id_request_builder.go +++ b/tenantrelationships/find_tenant_information_by_tenant_id_with_tenant_id_request_builder.go @@ -34,9 +34,12 @@ func NewFindTenantInformationByTenantIdWithTenantIdRequestBuilder(rawUrl string, urlParams["request-raw-url"] = rawUrl return NewFindTenantInformationByTenantIdWithTenantIdRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function findTenantInformationByTenantId +// Get given a tenant ID, search for a tenant and read its tenantInformation. You can use this API to validate tenant information and use their tenantId to configure cross-tenant cross-tenant access settings between you and the tenant. // returns a TenantInformationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/tenantrelationship-findtenantinformationbytenantid?view=graph-rest-beta func (m *FindTenantInformationByTenantIdWithTenantIdRequestBuilder) Get(ctx context.Context, requestConfiguration *FindTenantInformationByTenantIdWithTenantIdRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TenantInformationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -54,7 +57,7 @@ func (m *FindTenantInformationByTenantIdWithTenantIdRequestBuilder) Get(ctx cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TenantInformationable), nil } -// ToGetRequestInformation invoke function findTenantInformationByTenantId +// ToGetRequestInformation given a tenant ID, search for a tenant and read its tenantInformation. You can use this API to validate tenant information and use their tenantId to configure cross-tenant cross-tenant access settings between you and the tenant. // returns a *RequestInformation when successful func (m *FindTenantInformationByTenantIdWithTenantIdRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FindTenantInformationByTenantIdWithTenantIdRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/tenantrelationships/managed_tenants_aggregated_policy_compliances_request_builder.go b/tenantrelationships/managed_tenants_aggregated_policy_compliances_request_builder.go index 21011ee176f..55aa2efb8d8 100644 --- a/tenantrelationships/managed_tenants_aggregated_policy_compliances_request_builder.go +++ b/tenantrelationships/managed_tenants_aggregated_policy_compliances_request_builder.go @@ -11,7 +11,7 @@ import ( type ManagedTenantsAggregatedPolicyCompliancesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ManagedTenantsAggregatedPolicyCompliancesRequestBuilderGetQueryParameters get a list of the aggregatedPolicyCompliance objects and their properties. +// ManagedTenantsAggregatedPolicyCompliancesRequestBuilderGetQueryParameters aggregate view of device compliance policies across managed tenants. type ManagedTenantsAggregatedPolicyCompliancesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewManagedTenantsAggregatedPolicyCompliancesRequestBuilder(rawUrl string, r func (m *ManagedTenantsAggregatedPolicyCompliancesRequestBuilder) Count()(*ManagedTenantsAggregatedPolicyCompliancesCountRequestBuilder) { return NewManagedTenantsAggregatedPolicyCompliancesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the aggregatedPolicyCompliance objects and their properties. +// Get aggregate view of device compliance policies across managed tenants. // returns a AggregatedPolicyComplianceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/managedtenants-managedtenant-list-aggregatedpolicycompliances?view=graph-rest-1.0 func (m *ManagedTenantsAggregatedPolicyCompliancesRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedTenantsAggregatedPolicyCompliancesRequestBuilderGetRequestConfiguration)(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.AggregatedPolicyComplianceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ManagedTenantsAggregatedPolicyCompliancesRequestBuilder) Post(ctx conte } return res.(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.AggregatedPolicyComplianceable), nil } -// ToGetRequestInformation get a list of the aggregatedPolicyCompliance objects and their properties. +// ToGetRequestInformation aggregate view of device compliance policies across managed tenants. // returns a *RequestInformation when successful func (m *ManagedTenantsAggregatedPolicyCompliancesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedTenantsAggregatedPolicyCompliancesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/tenantrelationships/managed_tenants_audit_events_audit_event_item_request_builder.go b/tenantrelationships/managed_tenants_audit_events_audit_event_item_request_builder.go index 4e1202eea4f..6d00a24227b 100644 --- a/tenantrelationships/managed_tenants_audit_events_audit_event_item_request_builder.go +++ b/tenantrelationships/managed_tenants_audit_events_audit_event_item_request_builder.go @@ -18,7 +18,7 @@ type ManagedTenantsAuditEventsAuditEventItemRequestBuilderDeleteRequestConfigura // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ManagedTenantsAuditEventsAuditEventItemRequestBuilderGetQueryParameters read the properties and relationships of an auditEvent object. +// ManagedTenantsAuditEventsAuditEventItemRequestBuilderGetQueryParameters the collection of audit events across managed tenants. type ManagedTenantsAuditEventsAuditEventItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ManagedTenantsAuditEventsAuditEventItemRequestBuilder) Delete(ctx conte } return nil } -// Get read the properties and relationships of an auditEvent object. +// Get the collection of audit events across managed tenants. // returns a AuditEventable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/managedtenants-auditevent-get?view=graph-rest-1.0 func (m *ManagedTenantsAuditEventsAuditEventItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedTenantsAuditEventsAuditEventItemRequestBuilderGetRequestConfiguration)(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.AuditEventable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ManagedTenantsAuditEventsAuditEventItemRequestBuilder) ToDeleteRequestI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an auditEvent object. +// ToGetRequestInformation the collection of audit events across managed tenants. // returns a *RequestInformation when successful func (m *ManagedTenantsAuditEventsAuditEventItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedTenantsAuditEventsAuditEventItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/tenantrelationships/managed_tenants_audit_events_request_builder.go b/tenantrelationships/managed_tenants_audit_events_request_builder.go index 254d0e15a30..f8c108b905b 100644 --- a/tenantrelationships/managed_tenants_audit_events_request_builder.go +++ b/tenantrelationships/managed_tenants_audit_events_request_builder.go @@ -11,7 +11,7 @@ import ( type ManagedTenantsAuditEventsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ManagedTenantsAuditEventsRequestBuilderGetQueryParameters get a list of the auditEvent objects and their properties. +// ManagedTenantsAuditEventsRequestBuilderGetQueryParameters the collection of audit events across managed tenants. type ManagedTenantsAuditEventsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewManagedTenantsAuditEventsRequestBuilder(rawUrl string, requestAdapter i2 func (m *ManagedTenantsAuditEventsRequestBuilder) Count()(*ManagedTenantsAuditEventsCountRequestBuilder) { return NewManagedTenantsAuditEventsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the auditEvent objects and their properties. +// Get the collection of audit events across managed tenants. // returns a AuditEventCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/managedtenants-managedtenant-list-auditevents?view=graph-rest-1.0 func (m *ManagedTenantsAuditEventsRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedTenantsAuditEventsRequestBuilderGetRequestConfiguration)(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.AuditEventCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ManagedTenantsAuditEventsRequestBuilder) Post(ctx context.Context, body } return res.(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.AuditEventable), nil } -// ToGetRequestInformation get a list of the auditEvent objects and their properties. +// ToGetRequestInformation the collection of audit events across managed tenants. // returns a *RequestInformation when successful func (m *ManagedTenantsAuditEventsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedTenantsAuditEventsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/tenantrelationships/managed_tenants_cloud_pc_connections_cloud_pc_connection_item_request_builder.go b/tenantrelationships/managed_tenants_cloud_pc_connections_cloud_pc_connection_item_request_builder.go index 11019ccbbeb..b880841ff7b 100644 --- a/tenantrelationships/managed_tenants_cloud_pc_connections_cloud_pc_connection_item_request_builder.go +++ b/tenantrelationships/managed_tenants_cloud_pc_connections_cloud_pc_connection_item_request_builder.go @@ -18,7 +18,7 @@ type ManagedTenantsCloudPcConnectionsCloudPcConnectionItemRequestBuilderDeleteRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ManagedTenantsCloudPcConnectionsCloudPcConnectionItemRequestBuilderGetQueryParameters read the properties and relationships of a cloudPcConnection object. +// ManagedTenantsCloudPcConnectionsCloudPcConnectionItemRequestBuilderGetQueryParameters the collection of cloud PC connections across managed tenants. type ManagedTenantsCloudPcConnectionsCloudPcConnectionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ManagedTenantsCloudPcConnectionsCloudPcConnectionItemRequestBuilder) De } return nil } -// Get read the properties and relationships of a cloudPcConnection object. +// Get the collection of cloud PC connections across managed tenants. // returns a CloudPcConnectionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/managedtenants-cloudpcconnection-get?view=graph-rest-1.0 func (m *ManagedTenantsCloudPcConnectionsCloudPcConnectionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedTenantsCloudPcConnectionsCloudPcConnectionItemRequestBuilderGetRequestConfiguration)(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.CloudPcConnectionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ManagedTenantsCloudPcConnectionsCloudPcConnectionItemRequestBuilder) To requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a cloudPcConnection object. +// ToGetRequestInformation the collection of cloud PC connections across managed tenants. // returns a *RequestInformation when successful func (m *ManagedTenantsCloudPcConnectionsCloudPcConnectionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedTenantsCloudPcConnectionsCloudPcConnectionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/tenantrelationships/managed_tenants_cloud_pc_connections_request_builder.go b/tenantrelationships/managed_tenants_cloud_pc_connections_request_builder.go index 1e96a23ab05..52c5cbe7d55 100644 --- a/tenantrelationships/managed_tenants_cloud_pc_connections_request_builder.go +++ b/tenantrelationships/managed_tenants_cloud_pc_connections_request_builder.go @@ -11,7 +11,7 @@ import ( type ManagedTenantsCloudPcConnectionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ManagedTenantsCloudPcConnectionsRequestBuilderGetQueryParameters get a list of the cloudPcConnection objects and their properties. +// ManagedTenantsCloudPcConnectionsRequestBuilderGetQueryParameters the collection of cloud PC connections across managed tenants. type ManagedTenantsCloudPcConnectionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewManagedTenantsCloudPcConnectionsRequestBuilder(rawUrl string, requestAda func (m *ManagedTenantsCloudPcConnectionsRequestBuilder) Count()(*ManagedTenantsCloudPcConnectionsCountRequestBuilder) { return NewManagedTenantsCloudPcConnectionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the cloudPcConnection objects and their properties. +// Get the collection of cloud PC connections across managed tenants. // returns a CloudPcConnectionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/managedtenants-managedtenant-list-cloudpcconnections?view=graph-rest-1.0 func (m *ManagedTenantsCloudPcConnectionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedTenantsCloudPcConnectionsRequestBuilderGetRequestConfiguration)(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.CloudPcConnectionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ManagedTenantsCloudPcConnectionsRequestBuilder) Post(ctx context.Contex } return res.(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.CloudPcConnectionable), nil } -// ToGetRequestInformation get a list of the cloudPcConnection objects and their properties. +// ToGetRequestInformation the collection of cloud PC connections across managed tenants. // returns a *RequestInformation when successful func (m *ManagedTenantsCloudPcConnectionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedTenantsCloudPcConnectionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/tenantrelationships/managed_tenants_cloud_pc_devices_cloud_pc_device_item_request_builder.go b/tenantrelationships/managed_tenants_cloud_pc_devices_cloud_pc_device_item_request_builder.go index 54d9036693e..99062ae62e2 100644 --- a/tenantrelationships/managed_tenants_cloud_pc_devices_cloud_pc_device_item_request_builder.go +++ b/tenantrelationships/managed_tenants_cloud_pc_devices_cloud_pc_device_item_request_builder.go @@ -18,7 +18,7 @@ type ManagedTenantsCloudPcDevicesCloudPcDeviceItemRequestBuilderDeleteRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ManagedTenantsCloudPcDevicesCloudPcDeviceItemRequestBuilderGetQueryParameters read the properties and relationships of a cloudPcDevice object. +// ManagedTenantsCloudPcDevicesCloudPcDeviceItemRequestBuilderGetQueryParameters the collection of cloud PC devices across managed tenants. type ManagedTenantsCloudPcDevicesCloudPcDeviceItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ManagedTenantsCloudPcDevicesCloudPcDeviceItemRequestBuilder) Delete(ctx } return nil } -// Get read the properties and relationships of a cloudPcDevice object. +// Get the collection of cloud PC devices across managed tenants. // returns a CloudPcDeviceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/managedtenants-cloudpcdevice-get?view=graph-rest-1.0 func (m *ManagedTenantsCloudPcDevicesCloudPcDeviceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedTenantsCloudPcDevicesCloudPcDeviceItemRequestBuilderGetRequestConfiguration)(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.CloudPcDeviceable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ManagedTenantsCloudPcDevicesCloudPcDeviceItemRequestBuilder) ToDeleteRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a cloudPcDevice object. +// ToGetRequestInformation the collection of cloud PC devices across managed tenants. // returns a *RequestInformation when successful func (m *ManagedTenantsCloudPcDevicesCloudPcDeviceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedTenantsCloudPcDevicesCloudPcDeviceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/tenantrelationships/managed_tenants_cloud_pc_devices_request_builder.go b/tenantrelationships/managed_tenants_cloud_pc_devices_request_builder.go index e9ec0ac9f5f..216daa969c6 100644 --- a/tenantrelationships/managed_tenants_cloud_pc_devices_request_builder.go +++ b/tenantrelationships/managed_tenants_cloud_pc_devices_request_builder.go @@ -11,7 +11,7 @@ import ( type ManagedTenantsCloudPcDevicesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ManagedTenantsCloudPcDevicesRequestBuilderGetQueryParameters get a list of the cloudPcDevice objects and their properties. +// ManagedTenantsCloudPcDevicesRequestBuilderGetQueryParameters the collection of cloud PC devices across managed tenants. type ManagedTenantsCloudPcDevicesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewManagedTenantsCloudPcDevicesRequestBuilder(rawUrl string, requestAdapter func (m *ManagedTenantsCloudPcDevicesRequestBuilder) Count()(*ManagedTenantsCloudPcDevicesCountRequestBuilder) { return NewManagedTenantsCloudPcDevicesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the cloudPcDevice objects and their properties. +// Get the collection of cloud PC devices across managed tenants. // returns a CloudPcDeviceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/managedtenants-managedtenant-list-cloudpcdevices?view=graph-rest-1.0 func (m *ManagedTenantsCloudPcDevicesRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedTenantsCloudPcDevicesRequestBuilderGetRequestConfiguration)(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.CloudPcDeviceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ManagedTenantsCloudPcDevicesRequestBuilder) Post(ctx context.Context, b } return res.(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.CloudPcDeviceable), nil } -// ToGetRequestInformation get a list of the cloudPcDevice objects and their properties. +// ToGetRequestInformation the collection of cloud PC devices across managed tenants. // returns a *RequestInformation when successful func (m *ManagedTenantsCloudPcDevicesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedTenantsCloudPcDevicesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/tenantrelationships/managed_tenants_cloud_pcs_overview_cloud_pc_overview_tenant_item_request_builder.go b/tenantrelationships/managed_tenants_cloud_pcs_overview_cloud_pc_overview_tenant_item_request_builder.go index b380ed2335e..573e3efc5bc 100644 --- a/tenantrelationships/managed_tenants_cloud_pcs_overview_cloud_pc_overview_tenant_item_request_builder.go +++ b/tenantrelationships/managed_tenants_cloud_pcs_overview_cloud_pc_overview_tenant_item_request_builder.go @@ -18,7 +18,7 @@ type ManagedTenantsCloudPcsOverviewCloudPcOverviewTenantItemRequestBuilderDelete // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ManagedTenantsCloudPcsOverviewCloudPcOverviewTenantItemRequestBuilderGetQueryParameters read the properties and relationships of a cloudPcOverview object. +// ManagedTenantsCloudPcsOverviewCloudPcOverviewTenantItemRequestBuilderGetQueryParameters overview of cloud PC information across managed tenants. type ManagedTenantsCloudPcsOverviewCloudPcOverviewTenantItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ManagedTenantsCloudPcsOverviewCloudPcOverviewTenantItemRequestBuilder) } return nil } -// Get read the properties and relationships of a cloudPcOverview object. +// Get overview of cloud PC information across managed tenants. // returns a CloudPcOverviewable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/managedtenants-cloudpcoverview-get?view=graph-rest-1.0 func (m *ManagedTenantsCloudPcsOverviewCloudPcOverviewTenantItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedTenantsCloudPcsOverviewCloudPcOverviewTenantItemRequestBuilderGetRequestConfiguration)(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.CloudPcOverviewable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ManagedTenantsCloudPcsOverviewCloudPcOverviewTenantItemRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a cloudPcOverview object. +// ToGetRequestInformation overview of cloud PC information across managed tenants. // returns a *RequestInformation when successful func (m *ManagedTenantsCloudPcsOverviewCloudPcOverviewTenantItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedTenantsCloudPcsOverviewCloudPcOverviewTenantItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/tenantrelationships/managed_tenants_cloud_pcs_overview_request_builder.go b/tenantrelationships/managed_tenants_cloud_pcs_overview_request_builder.go index 0b1826580ad..350c0991a7c 100644 --- a/tenantrelationships/managed_tenants_cloud_pcs_overview_request_builder.go +++ b/tenantrelationships/managed_tenants_cloud_pcs_overview_request_builder.go @@ -11,7 +11,7 @@ import ( type ManagedTenantsCloudPcsOverviewRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ManagedTenantsCloudPcsOverviewRequestBuilderGetQueryParameters get a list of the cloudPcOverview objects and their properties. +// ManagedTenantsCloudPcsOverviewRequestBuilderGetQueryParameters overview of cloud PC information across managed tenants. type ManagedTenantsCloudPcsOverviewRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewManagedTenantsCloudPcsOverviewRequestBuilder(rawUrl string, requestAdapt func (m *ManagedTenantsCloudPcsOverviewRequestBuilder) Count()(*ManagedTenantsCloudPcsOverviewCountRequestBuilder) { return NewManagedTenantsCloudPcsOverviewCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the cloudPcOverview objects and their properties. +// Get overview of cloud PC information across managed tenants. // returns a CloudPcOverviewCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/managedtenants-managedtenant-list-cloudpcsoverview?view=graph-rest-1.0 func (m *ManagedTenantsCloudPcsOverviewRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedTenantsCloudPcsOverviewRequestBuilderGetRequestConfiguration)(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.CloudPcOverviewCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ManagedTenantsCloudPcsOverviewRequestBuilder) Post(ctx context.Context, } return res.(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.CloudPcOverviewable), nil } -// ToGetRequestInformation get a list of the cloudPcOverview objects and their properties. +// ToGetRequestInformation overview of cloud PC information across managed tenants. // returns a *RequestInformation when successful func (m *ManagedTenantsCloudPcsOverviewRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedTenantsCloudPcsOverviewRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/tenantrelationships/managed_tenants_conditional_access_policy_coverages_conditional_access_policy_coverage_item_request_builder.go b/tenantrelationships/managed_tenants_conditional_access_policy_coverages_conditional_access_policy_coverage_item_request_builder.go index 6a6ea162fca..81d0394f902 100644 --- a/tenantrelationships/managed_tenants_conditional_access_policy_coverages_conditional_access_policy_coverage_item_request_builder.go +++ b/tenantrelationships/managed_tenants_conditional_access_policy_coverages_conditional_access_policy_coverage_item_request_builder.go @@ -18,7 +18,7 @@ type ManagedTenantsConditionalAccessPolicyCoveragesConditionalAccessPolicyCovera // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ManagedTenantsConditionalAccessPolicyCoveragesConditionalAccessPolicyCoverageItemRequestBuilderGetQueryParameters read the properties and relationships of a conditionalAccessPolicyCoverage object. +// ManagedTenantsConditionalAccessPolicyCoveragesConditionalAccessPolicyCoverageItemRequestBuilderGetQueryParameters aggregate view of conditional access policy coverage across managed tenants. type ManagedTenantsConditionalAccessPolicyCoveragesConditionalAccessPolicyCoverageItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ManagedTenantsConditionalAccessPolicyCoveragesConditionalAccessPolicyCo } return nil } -// Get read the properties and relationships of a conditionalAccessPolicyCoverage object. +// Get aggregate view of conditional access policy coverage across managed tenants. // returns a ConditionalAccessPolicyCoverageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/managedtenants-conditionalaccesspolicycoverage-get?view=graph-rest-1.0 func (m *ManagedTenantsConditionalAccessPolicyCoveragesConditionalAccessPolicyCoverageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedTenantsConditionalAccessPolicyCoveragesConditionalAccessPolicyCoverageItemRequestBuilderGetRequestConfiguration)(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.ConditionalAccessPolicyCoverageable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ManagedTenantsConditionalAccessPolicyCoveragesConditionalAccessPolicyCo requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a conditionalAccessPolicyCoverage object. +// ToGetRequestInformation aggregate view of conditional access policy coverage across managed tenants. // returns a *RequestInformation when successful func (m *ManagedTenantsConditionalAccessPolicyCoveragesConditionalAccessPolicyCoverageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedTenantsConditionalAccessPolicyCoveragesConditionalAccessPolicyCoverageItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/tenantrelationships/managed_tenants_conditional_access_policy_coverages_request_builder.go b/tenantrelationships/managed_tenants_conditional_access_policy_coverages_request_builder.go index 84dd5d3d5ab..0f25f6adfb2 100644 --- a/tenantrelationships/managed_tenants_conditional_access_policy_coverages_request_builder.go +++ b/tenantrelationships/managed_tenants_conditional_access_policy_coverages_request_builder.go @@ -11,7 +11,7 @@ import ( type ManagedTenantsConditionalAccessPolicyCoveragesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ManagedTenantsConditionalAccessPolicyCoveragesRequestBuilderGetQueryParameters get a list of the conditionalAccessPolicyCoverage objects and their properties. Use this operation to list Microsoft Entra Conditional Access policy coverage for all tenants that are being managed by the multi-tenant management platform. +// ManagedTenantsConditionalAccessPolicyCoveragesRequestBuilderGetQueryParameters aggregate view of conditional access policy coverage across managed tenants. type ManagedTenantsConditionalAccessPolicyCoveragesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewManagedTenantsConditionalAccessPolicyCoveragesRequestBuilder(rawUrl stri func (m *ManagedTenantsConditionalAccessPolicyCoveragesRequestBuilder) Count()(*ManagedTenantsConditionalAccessPolicyCoveragesCountRequestBuilder) { return NewManagedTenantsConditionalAccessPolicyCoveragesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the conditionalAccessPolicyCoverage objects and their properties. Use this operation to list Microsoft Entra Conditional Access policy coverage for all tenants that are being managed by the multi-tenant management platform. +// Get aggregate view of conditional access policy coverage across managed tenants. // returns a ConditionalAccessPolicyCoverageCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/managedtenants-managedtenant-list-conditionalaccesspolicycoverages?view=graph-rest-1.0 func (m *ManagedTenantsConditionalAccessPolicyCoveragesRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedTenantsConditionalAccessPolicyCoveragesRequestBuilderGetRequestConfiguration)(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.ConditionalAccessPolicyCoverageCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ManagedTenantsConditionalAccessPolicyCoveragesRequestBuilder) Post(ctx } return res.(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.ConditionalAccessPolicyCoverageable), nil } -// ToGetRequestInformation get a list of the conditionalAccessPolicyCoverage objects and their properties. Use this operation to list Microsoft Entra Conditional Access policy coverage for all tenants that are being managed by the multi-tenant management platform. +// ToGetRequestInformation aggregate view of conditional access policy coverage across managed tenants. // returns a *RequestInformation when successful func (m *ManagedTenantsConditionalAccessPolicyCoveragesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedTenantsConditionalAccessPolicyCoveragesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/tenantrelationships/managed_tenants_credential_user_registrations_summaries_credential_user_registrations_summary_item_request_builder.go b/tenantrelationships/managed_tenants_credential_user_registrations_summaries_credential_user_registrations_summary_item_request_builder.go index d89a33341cf..3746131fdb8 100644 --- a/tenantrelationships/managed_tenants_credential_user_registrations_summaries_credential_user_registrations_summary_item_request_builder.go +++ b/tenantrelationships/managed_tenants_credential_user_registrations_summaries_credential_user_registrations_summary_item_request_builder.go @@ -18,7 +18,7 @@ type ManagedTenantsCredentialUserRegistrationsSummariesCredentialUserRegistratio // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ManagedTenantsCredentialUserRegistrationsSummariesCredentialUserRegistrationsSummaryItemRequestBuilderGetQueryParameters read the properties and relationships of a credentialUserRegistrationsSummary object. +// ManagedTenantsCredentialUserRegistrationsSummariesCredentialUserRegistrationsSummaryItemRequestBuilderGetQueryParameters summary information for user registration for multi-factor authentication and self service password reset across managed tenants. type ManagedTenantsCredentialUserRegistrationsSummariesCredentialUserRegistrationsSummaryItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ManagedTenantsCredentialUserRegistrationsSummariesCredentialUserRegistr } return nil } -// Get read the properties and relationships of a credentialUserRegistrationsSummary object. +// Get summary information for user registration for multi-factor authentication and self service password reset across managed tenants. // returns a CredentialUserRegistrationsSummaryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/managedtenants-credentialuserregistrationssummary-get?view=graph-rest-1.0 func (m *ManagedTenantsCredentialUserRegistrationsSummariesCredentialUserRegistrationsSummaryItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedTenantsCredentialUserRegistrationsSummariesCredentialUserRegistrationsSummaryItemRequestBuilderGetRequestConfiguration)(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.CredentialUserRegistrationsSummaryable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ManagedTenantsCredentialUserRegistrationsSummariesCredentialUserRegistr requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a credentialUserRegistrationsSummary object. +// ToGetRequestInformation summary information for user registration for multi-factor authentication and self service password reset across managed tenants. // returns a *RequestInformation when successful func (m *ManagedTenantsCredentialUserRegistrationsSummariesCredentialUserRegistrationsSummaryItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedTenantsCredentialUserRegistrationsSummariesCredentialUserRegistrationsSummaryItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/tenantrelationships/managed_tenants_credential_user_registrations_summaries_request_builder.go b/tenantrelationships/managed_tenants_credential_user_registrations_summaries_request_builder.go index df4701dcf35..86df470e128 100644 --- a/tenantrelationships/managed_tenants_credential_user_registrations_summaries_request_builder.go +++ b/tenantrelationships/managed_tenants_credential_user_registrations_summaries_request_builder.go @@ -11,7 +11,7 @@ import ( type ManagedTenantsCredentialUserRegistrationsSummariesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ManagedTenantsCredentialUserRegistrationsSummariesRequestBuilderGetQueryParameters get a list of the credentialUserRegistrationsSummary objects and their properties. +// ManagedTenantsCredentialUserRegistrationsSummariesRequestBuilderGetQueryParameters summary information for user registration for multi-factor authentication and self service password reset across managed tenants. type ManagedTenantsCredentialUserRegistrationsSummariesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewManagedTenantsCredentialUserRegistrationsSummariesRequestBuilder(rawUrl func (m *ManagedTenantsCredentialUserRegistrationsSummariesRequestBuilder) Count()(*ManagedTenantsCredentialUserRegistrationsSummariesCountRequestBuilder) { return NewManagedTenantsCredentialUserRegistrationsSummariesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the credentialUserRegistrationsSummary objects and their properties. +// Get summary information for user registration for multi-factor authentication and self service password reset across managed tenants. // returns a CredentialUserRegistrationsSummaryCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/managedtenants-managedtenant-list-credentialuserregistrationssummaries?view=graph-rest-1.0 func (m *ManagedTenantsCredentialUserRegistrationsSummariesRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedTenantsCredentialUserRegistrationsSummariesRequestBuilderGetRequestConfiguration)(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.CredentialUserRegistrationsSummaryCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ManagedTenantsCredentialUserRegistrationsSummariesRequestBuilder) Post( } return res.(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.CredentialUserRegistrationsSummaryable), nil } -// ToGetRequestInformation get a list of the credentialUserRegistrationsSummary objects and their properties. +// ToGetRequestInformation summary information for user registration for multi-factor authentication and self service password reset across managed tenants. // returns a *RequestInformation when successful func (m *ManagedTenantsCredentialUserRegistrationsSummariesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedTenantsCredentialUserRegistrationsSummariesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/tenantrelationships/managed_tenants_device_compliance_policy_setting_state_summaries_device_compliance_policy_setting_state_summary_item_request_builder.go b/tenantrelationships/managed_tenants_device_compliance_policy_setting_state_summaries_device_compliance_policy_setting_state_summary_item_request_builder.go index 41371138cc6..2f3b45a9161 100644 --- a/tenantrelationships/managed_tenants_device_compliance_policy_setting_state_summaries_device_compliance_policy_setting_state_summary_item_request_builder.go +++ b/tenantrelationships/managed_tenants_device_compliance_policy_setting_state_summaries_device_compliance_policy_setting_state_summary_item_request_builder.go @@ -18,7 +18,7 @@ type ManagedTenantsDeviceCompliancePolicySettingStateSummariesDeviceCompliancePo // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ManagedTenantsDeviceCompliancePolicySettingStateSummariesDeviceCompliancePolicySettingStateSummaryItemRequestBuilderGetQueryParameters read the properties and relationships of a deviceCompliancePolicySettingStateSummary object. +// ManagedTenantsDeviceCompliancePolicySettingStateSummariesDeviceCompliancePolicySettingStateSummaryItemRequestBuilderGetQueryParameters summary information for device compliance policy setting states across managed tenants. type ManagedTenantsDeviceCompliancePolicySettingStateSummariesDeviceCompliancePolicySettingStateSummaryItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ManagedTenantsDeviceCompliancePolicySettingStateSummariesDeviceComplian } return nil } -// Get read the properties and relationships of a deviceCompliancePolicySettingStateSummary object. +// Get summary information for device compliance policy setting states across managed tenants. // returns a DeviceCompliancePolicySettingStateSummaryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/managedtenants-devicecompliancepolicysettingstatesummary-get?view=graph-rest-1.0 func (m *ManagedTenantsDeviceCompliancePolicySettingStateSummariesDeviceCompliancePolicySettingStateSummaryItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedTenantsDeviceCompliancePolicySettingStateSummariesDeviceCompliancePolicySettingStateSummaryItemRequestBuilderGetRequestConfiguration)(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.DeviceCompliancePolicySettingStateSummaryable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ManagedTenantsDeviceCompliancePolicySettingStateSummariesDeviceComplian requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a deviceCompliancePolicySettingStateSummary object. +// ToGetRequestInformation summary information for device compliance policy setting states across managed tenants. // returns a *RequestInformation when successful func (m *ManagedTenantsDeviceCompliancePolicySettingStateSummariesDeviceCompliancePolicySettingStateSummaryItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedTenantsDeviceCompliancePolicySettingStateSummariesDeviceCompliancePolicySettingStateSummaryItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/tenantrelationships/managed_tenants_device_compliance_policy_setting_state_summaries_request_builder.go b/tenantrelationships/managed_tenants_device_compliance_policy_setting_state_summaries_request_builder.go index ded7e7b173e..3f4e410fd28 100644 --- a/tenantrelationships/managed_tenants_device_compliance_policy_setting_state_summaries_request_builder.go +++ b/tenantrelationships/managed_tenants_device_compliance_policy_setting_state_summaries_request_builder.go @@ -11,7 +11,7 @@ import ( type ManagedTenantsDeviceCompliancePolicySettingStateSummariesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ManagedTenantsDeviceCompliancePolicySettingStateSummariesRequestBuilderGetQueryParameters get a list of the deviceCompliancePolicySettingStateSummary objects and their properties. +// ManagedTenantsDeviceCompliancePolicySettingStateSummariesRequestBuilderGetQueryParameters summary information for device compliance policy setting states across managed tenants. type ManagedTenantsDeviceCompliancePolicySettingStateSummariesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewManagedTenantsDeviceCompliancePolicySettingStateSummariesRequestBuilder( func (m *ManagedTenantsDeviceCompliancePolicySettingStateSummariesRequestBuilder) Count()(*ManagedTenantsDeviceCompliancePolicySettingStateSummariesCountRequestBuilder) { return NewManagedTenantsDeviceCompliancePolicySettingStateSummariesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the deviceCompliancePolicySettingStateSummary objects and their properties. +// Get summary information for device compliance policy setting states across managed tenants. // returns a DeviceCompliancePolicySettingStateSummaryCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/managedtenants-managedtenant-list-devicecompliancepolicysettingstatesummary?view=graph-rest-1.0 func (m *ManagedTenantsDeviceCompliancePolicySettingStateSummariesRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedTenantsDeviceCompliancePolicySettingStateSummariesRequestBuilderGetRequestConfiguration)(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.DeviceCompliancePolicySettingStateSummaryCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ManagedTenantsDeviceCompliancePolicySettingStateSummariesRequestBuilder } return res.(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.DeviceCompliancePolicySettingStateSummaryable), nil } -// ToGetRequestInformation get a list of the deviceCompliancePolicySettingStateSummary objects and their properties. +// ToGetRequestInformation summary information for device compliance policy setting states across managed tenants. // returns a *RequestInformation when successful func (m *ManagedTenantsDeviceCompliancePolicySettingStateSummariesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedTenantsDeviceCompliancePolicySettingStateSummariesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/tenantrelationships/managed_tenants_managed_device_compliance_trends_managed_device_compliance_trend_item_request_builder.go b/tenantrelationships/managed_tenants_managed_device_compliance_trends_managed_device_compliance_trend_item_request_builder.go index e093fd454d1..c238e42233e 100644 --- a/tenantrelationships/managed_tenants_managed_device_compliance_trends_managed_device_compliance_trend_item_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_device_compliance_trends_managed_device_compliance_trend_item_request_builder.go @@ -18,7 +18,7 @@ type ManagedTenantsManagedDeviceComplianceTrendsManagedDeviceComplianceTrendItem // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ManagedTenantsManagedDeviceComplianceTrendsManagedDeviceComplianceTrendItemRequestBuilderGetQueryParameters read the properties and relationships of a managedDeviceComplianceTrend object. +// ManagedTenantsManagedDeviceComplianceTrendsManagedDeviceComplianceTrendItemRequestBuilderGetQueryParameters trend insights for device compliance across managed tenants. type ManagedTenantsManagedDeviceComplianceTrendsManagedDeviceComplianceTrendItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ManagedTenantsManagedDeviceComplianceTrendsManagedDeviceComplianceTrend } return nil } -// Get read the properties and relationships of a managedDeviceComplianceTrend object. +// Get trend insights for device compliance across managed tenants. // returns a ManagedDeviceComplianceTrendable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/managedtenants-manageddevicecompliancetrend-get?view=graph-rest-1.0 func (m *ManagedTenantsManagedDeviceComplianceTrendsManagedDeviceComplianceTrendItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedTenantsManagedDeviceComplianceTrendsManagedDeviceComplianceTrendItemRequestBuilderGetRequestConfiguration)(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.ManagedDeviceComplianceTrendable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ManagedTenantsManagedDeviceComplianceTrendsManagedDeviceComplianceTrend requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a managedDeviceComplianceTrend object. +// ToGetRequestInformation trend insights for device compliance across managed tenants. // returns a *RequestInformation when successful func (m *ManagedTenantsManagedDeviceComplianceTrendsManagedDeviceComplianceTrendItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedTenantsManagedDeviceComplianceTrendsManagedDeviceComplianceTrendItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/tenantrelationships/managed_tenants_managed_device_compliance_trends_request_builder.go b/tenantrelationships/managed_tenants_managed_device_compliance_trends_request_builder.go index bccf43bdc5a..874a7a3846e 100644 --- a/tenantrelationships/managed_tenants_managed_device_compliance_trends_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_device_compliance_trends_request_builder.go @@ -11,7 +11,7 @@ import ( type ManagedTenantsManagedDeviceComplianceTrendsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ManagedTenantsManagedDeviceComplianceTrendsRequestBuilderGetQueryParameters get a list of the managedDeviceComplianceTrend objects and their properties. +// ManagedTenantsManagedDeviceComplianceTrendsRequestBuilderGetQueryParameters trend insights for device compliance across managed tenants. type ManagedTenantsManagedDeviceComplianceTrendsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewManagedTenantsManagedDeviceComplianceTrendsRequestBuilder(rawUrl string, func (m *ManagedTenantsManagedDeviceComplianceTrendsRequestBuilder) Count()(*ManagedTenantsManagedDeviceComplianceTrendsCountRequestBuilder) { return NewManagedTenantsManagedDeviceComplianceTrendsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the managedDeviceComplianceTrend objects and their properties. +// Get trend insights for device compliance across managed tenants. // returns a ManagedDeviceComplianceTrendCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/managedtenants-managedtenant-list-manageddevicecompliancetrends?view=graph-rest-1.0 func (m *ManagedTenantsManagedDeviceComplianceTrendsRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedTenantsManagedDeviceComplianceTrendsRequestBuilderGetRequestConfiguration)(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.ManagedDeviceComplianceTrendCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ManagedTenantsManagedDeviceComplianceTrendsRequestBuilder) Post(ctx con } return res.(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.ManagedDeviceComplianceTrendable), nil } -// ToGetRequestInformation get a list of the managedDeviceComplianceTrend objects and their properties. +// ToGetRequestInformation trend insights for device compliance across managed tenants. // returns a *RequestInformation when successful func (m *ManagedTenantsManagedDeviceComplianceTrendsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedTenantsManagedDeviceComplianceTrendsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/tenantrelationships/managed_tenants_managed_device_compliances_managed_device_compliance_item_request_builder.go b/tenantrelationships/managed_tenants_managed_device_compliances_managed_device_compliance_item_request_builder.go index 0f3813de008..895746422b4 100644 --- a/tenantrelationships/managed_tenants_managed_device_compliances_managed_device_compliance_item_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_device_compliances_managed_device_compliance_item_request_builder.go @@ -18,7 +18,7 @@ type ManagedTenantsManagedDeviceCompliancesManagedDeviceComplianceItemRequestBui // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ManagedTenantsManagedDeviceCompliancesManagedDeviceComplianceItemRequestBuilderGetQueryParameters read the properties and relationships of a managedDeviceCompliance object. +// ManagedTenantsManagedDeviceCompliancesManagedDeviceComplianceItemRequestBuilderGetQueryParameters the collection of compliance for managed devices across managed tenants. type ManagedTenantsManagedDeviceCompliancesManagedDeviceComplianceItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ManagedTenantsManagedDeviceCompliancesManagedDeviceComplianceItemReques } return nil } -// Get read the properties and relationships of a managedDeviceCompliance object. +// Get the collection of compliance for managed devices across managed tenants. // returns a ManagedDeviceComplianceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/managedtenants-manageddevicecompliance-get?view=graph-rest-1.0 func (m *ManagedTenantsManagedDeviceCompliancesManagedDeviceComplianceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedTenantsManagedDeviceCompliancesManagedDeviceComplianceItemRequestBuilderGetRequestConfiguration)(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.ManagedDeviceComplianceable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ManagedTenantsManagedDeviceCompliancesManagedDeviceComplianceItemReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a managedDeviceCompliance object. +// ToGetRequestInformation the collection of compliance for managed devices across managed tenants. // returns a *RequestInformation when successful func (m *ManagedTenantsManagedDeviceCompliancesManagedDeviceComplianceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedTenantsManagedDeviceCompliancesManagedDeviceComplianceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/tenantrelationships/managed_tenants_managed_device_compliances_request_builder.go b/tenantrelationships/managed_tenants_managed_device_compliances_request_builder.go index 6af295dfbe8..3ae6355d4a5 100644 --- a/tenantrelationships/managed_tenants_managed_device_compliances_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_device_compliances_request_builder.go @@ -11,7 +11,7 @@ import ( type ManagedTenantsManagedDeviceCompliancesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ManagedTenantsManagedDeviceCompliancesRequestBuilderGetQueryParameters get a list of the managedDeviceCompliance objects and their properties. +// ManagedTenantsManagedDeviceCompliancesRequestBuilderGetQueryParameters the collection of compliance for managed devices across managed tenants. type ManagedTenantsManagedDeviceCompliancesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewManagedTenantsManagedDeviceCompliancesRequestBuilder(rawUrl string, requ func (m *ManagedTenantsManagedDeviceCompliancesRequestBuilder) Count()(*ManagedTenantsManagedDeviceCompliancesCountRequestBuilder) { return NewManagedTenantsManagedDeviceCompliancesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the managedDeviceCompliance objects and their properties. +// Get the collection of compliance for managed devices across managed tenants. // returns a ManagedDeviceComplianceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/managedtenants-managedtenant-list-manageddevicecompliances?view=graph-rest-1.0 func (m *ManagedTenantsManagedDeviceCompliancesRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedTenantsManagedDeviceCompliancesRequestBuilderGetRequestConfiguration)(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.ManagedDeviceComplianceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ManagedTenantsManagedDeviceCompliancesRequestBuilder) Post(ctx context. } return res.(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.ManagedDeviceComplianceable), nil } -// ToGetRequestInformation get a list of the managedDeviceCompliance objects and their properties. +// ToGetRequestInformation the collection of compliance for managed devices across managed tenants. // returns a *RequestInformation when successful func (m *ManagedTenantsManagedDeviceCompliancesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedTenantsManagedDeviceCompliancesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/tenantrelationships/managed_tenants_management_action_tenant_deployment_statuses_management_action_tenant_deployment_status_item_request_builder.go b/tenantrelationships/managed_tenants_management_action_tenant_deployment_statuses_management_action_tenant_deployment_status_item_request_builder.go index 9bb44103512..6622ce5a9e5 100644 --- a/tenantrelationships/managed_tenants_management_action_tenant_deployment_statuses_management_action_tenant_deployment_status_item_request_builder.go +++ b/tenantrelationships/managed_tenants_management_action_tenant_deployment_statuses_management_action_tenant_deployment_status_item_request_builder.go @@ -18,7 +18,7 @@ type ManagedTenantsManagementActionTenantDeploymentStatusesManagementActionTenan // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ManagedTenantsManagementActionTenantDeploymentStatusesManagementActionTenantDeploymentStatusItemRequestBuilderGetQueryParameters read the properties and relationships of a managementActionTenantDeploymentStatus object. +// ManagedTenantsManagementActionTenantDeploymentStatusesManagementActionTenantDeploymentStatusItemRequestBuilderGetQueryParameters the tenant level status of management actions across managed tenants. type ManagedTenantsManagementActionTenantDeploymentStatusesManagementActionTenantDeploymentStatusItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ManagedTenantsManagementActionTenantDeploymentStatusesManagementActionT } return nil } -// Get read the properties and relationships of a managementActionTenantDeploymentStatus object. +// Get the tenant level status of management actions across managed tenants. // returns a ManagementActionTenantDeploymentStatusable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/managedtenants-managementactiontenantdeploymentstatus-get?view=graph-rest-1.0 func (m *ManagedTenantsManagementActionTenantDeploymentStatusesManagementActionTenantDeploymentStatusItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedTenantsManagementActionTenantDeploymentStatusesManagementActionTenantDeploymentStatusItemRequestBuilderGetRequestConfiguration)(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.ManagementActionTenantDeploymentStatusable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ManagedTenantsManagementActionTenantDeploymentStatusesManagementActionT requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a managementActionTenantDeploymentStatus object. +// ToGetRequestInformation the tenant level status of management actions across managed tenants. // returns a *RequestInformation when successful func (m *ManagedTenantsManagementActionTenantDeploymentStatusesManagementActionTenantDeploymentStatusItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedTenantsManagementActionTenantDeploymentStatusesManagementActionTenantDeploymentStatusItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/tenantrelationships/managed_tenants_management_action_tenant_deployment_statuses_request_builder.go b/tenantrelationships/managed_tenants_management_action_tenant_deployment_statuses_request_builder.go index 29da06ead78..e112dc6a740 100644 --- a/tenantrelationships/managed_tenants_management_action_tenant_deployment_statuses_request_builder.go +++ b/tenantrelationships/managed_tenants_management_action_tenant_deployment_statuses_request_builder.go @@ -11,7 +11,7 @@ import ( type ManagedTenantsManagementActionTenantDeploymentStatusesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ManagedTenantsManagementActionTenantDeploymentStatusesRequestBuilderGetQueryParameters get a list of the managementActionTenantDeploymentStatus objects and their properties. +// ManagedTenantsManagementActionTenantDeploymentStatusesRequestBuilderGetQueryParameters the tenant level status of management actions across managed tenants. type ManagedTenantsManagementActionTenantDeploymentStatusesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewManagedTenantsManagementActionTenantDeploymentStatusesRequestBuilder(raw func (m *ManagedTenantsManagementActionTenantDeploymentStatusesRequestBuilder) Count()(*ManagedTenantsManagementActionTenantDeploymentStatusesCountRequestBuilder) { return NewManagedTenantsManagementActionTenantDeploymentStatusesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the managementActionTenantDeploymentStatus objects and their properties. +// Get the tenant level status of management actions across managed tenants. // returns a ManagementActionTenantDeploymentStatusCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/managedtenants-managedtenant-list-managementactiontenantdeploymentstatuses?view=graph-rest-1.0 func (m *ManagedTenantsManagementActionTenantDeploymentStatusesRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedTenantsManagementActionTenantDeploymentStatusesRequestBuilderGetRequestConfiguration)(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.ManagementActionTenantDeploymentStatusCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ManagedTenantsManagementActionTenantDeploymentStatusesRequestBuilder) P } return res.(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.ManagementActionTenantDeploymentStatusable), nil } -// ToGetRequestInformation get a list of the managementActionTenantDeploymentStatus objects and their properties. +// ToGetRequestInformation the tenant level status of management actions across managed tenants. // returns a *RequestInformation when successful func (m *ManagedTenantsManagementActionTenantDeploymentStatusesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedTenantsManagementActionTenantDeploymentStatusesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) 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 17fb73fe0da..efd0491a236 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 @@ -36,7 +36,7 @@ func NewManagedTenantsManagementActionsItemMicrosoftGraphManagedTenantsApplyRequ // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/managedtenants-managementaction-apply?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/managedtenants-managementaction-apply?view=graph-rest-beta func (m *ManagedTenantsManagementActionsItemMicrosoftGraphManagedTenantsApplyRequestBuilder) Post(ctx context.Context, body ManagedTenantsManagementActionsItemMicrosoftGraphManagedTenantsApplyApplyPostRequestBodyable, requestConfiguration *ManagedTenantsManagementActionsItemMicrosoftGraphManagedTenantsApplyRequestBuilderPostRequestConfiguration)(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.ManagementActionDeploymentStatusable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/tenantrelationships/managed_tenants_management_actions_management_action_item_request_builder.go b/tenantrelationships/managed_tenants_management_actions_management_action_item_request_builder.go index bc0cbb013f5..c68923cbc11 100644 --- a/tenantrelationships/managed_tenants_management_actions_management_action_item_request_builder.go +++ b/tenantrelationships/managed_tenants_management_actions_management_action_item_request_builder.go @@ -18,7 +18,7 @@ type ManagedTenantsManagementActionsManagementActionItemRequestBuilderDeleteRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ManagedTenantsManagementActionsManagementActionItemRequestBuilderGetQueryParameters read the properties and relationships of a managementAction object. +// ManagedTenantsManagementActionsManagementActionItemRequestBuilderGetQueryParameters the collection of baseline management actions across managed tenants. type ManagedTenantsManagementActionsManagementActionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ManagedTenantsManagementActionsManagementActionItemRequestBuilder) Dele } return nil } -// Get read the properties and relationships of a managementAction object. +// Get the collection of baseline management actions across managed tenants. // returns a ManagementActionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/managedtenants-managementaction-get?view=graph-rest-1.0 func (m *ManagedTenantsManagementActionsManagementActionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedTenantsManagementActionsManagementActionItemRequestBuilderGetRequestConfiguration)(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.ManagementActionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *ManagedTenantsManagementActionsManagementActionItemRequestBuilder) ToDe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a managementAction object. +// ToGetRequestInformation the collection of baseline management actions across managed tenants. // returns a *RequestInformation when successful func (m *ManagedTenantsManagementActionsManagementActionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedTenantsManagementActionsManagementActionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/tenantrelationships/managed_tenants_management_actions_request_builder.go b/tenantrelationships/managed_tenants_management_actions_request_builder.go index bad54dc01e0..277731c2fd5 100644 --- a/tenantrelationships/managed_tenants_management_actions_request_builder.go +++ b/tenantrelationships/managed_tenants_management_actions_request_builder.go @@ -11,7 +11,7 @@ import ( type ManagedTenantsManagementActionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ManagedTenantsManagementActionsRequestBuilderGetQueryParameters get a list of the managementAction objects and their properties. +// ManagedTenantsManagementActionsRequestBuilderGetQueryParameters the collection of baseline management actions across managed tenants. type ManagedTenantsManagementActionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewManagedTenantsManagementActionsRequestBuilder(rawUrl string, requestAdap func (m *ManagedTenantsManagementActionsRequestBuilder) Count()(*ManagedTenantsManagementActionsCountRequestBuilder) { return NewManagedTenantsManagementActionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the managementAction objects and their properties. +// Get the collection of baseline management actions across managed tenants. // returns a ManagementActionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/managedtenants-managedtenant-list-managementactions?view=graph-rest-1.0 func (m *ManagedTenantsManagementActionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedTenantsManagementActionsRequestBuilderGetRequestConfiguration)(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.ManagementActionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ManagedTenantsManagementActionsRequestBuilder) Post(ctx context.Context } return res.(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.ManagementActionable), nil } -// ToGetRequestInformation get a list of the managementAction objects and their properties. +// ToGetRequestInformation the collection of baseline management actions across managed tenants. // returns a *RequestInformation when successful func (m *ManagedTenantsManagementActionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedTenantsManagementActionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/tenantrelationships/managed_tenants_management_intents_management_intent_item_request_builder.go b/tenantrelationships/managed_tenants_management_intents_management_intent_item_request_builder.go index a6de004df56..f4eb22a85c6 100644 --- a/tenantrelationships/managed_tenants_management_intents_management_intent_item_request_builder.go +++ b/tenantrelationships/managed_tenants_management_intents_management_intent_item_request_builder.go @@ -18,7 +18,7 @@ type ManagedTenantsManagementIntentsManagementIntentItemRequestBuilderDeleteRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ManagedTenantsManagementIntentsManagementIntentItemRequestBuilderGetQueryParameters read the properties and relationships of a managementIntent object. +// ManagedTenantsManagementIntentsManagementIntentItemRequestBuilderGetQueryParameters the collection of baseline management intents across managed tenants. type ManagedTenantsManagementIntentsManagementIntentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ManagedTenantsManagementIntentsManagementIntentItemRequestBuilder) Dele } return nil } -// Get read the properties and relationships of a managementIntent object. +// Get the collection of baseline management intents across managed tenants. // returns a ManagementIntentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/managedtenants-managementintent-get?view=graph-rest-1.0 func (m *ManagedTenantsManagementIntentsManagementIntentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedTenantsManagementIntentsManagementIntentItemRequestBuilderGetRequestConfiguration)(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.ManagementIntentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ManagedTenantsManagementIntentsManagementIntentItemRequestBuilder) ToDe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a managementIntent object. +// ToGetRequestInformation the collection of baseline management intents across managed tenants. // returns a *RequestInformation when successful func (m *ManagedTenantsManagementIntentsManagementIntentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedTenantsManagementIntentsManagementIntentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/tenantrelationships/managed_tenants_management_intents_request_builder.go b/tenantrelationships/managed_tenants_management_intents_request_builder.go index 575be3b21bf..a2dc4edb93b 100644 --- a/tenantrelationships/managed_tenants_management_intents_request_builder.go +++ b/tenantrelationships/managed_tenants_management_intents_request_builder.go @@ -11,7 +11,7 @@ import ( type ManagedTenantsManagementIntentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ManagedTenantsManagementIntentsRequestBuilderGetQueryParameters get a list of the managementIntent objects and their properties. +// ManagedTenantsManagementIntentsRequestBuilderGetQueryParameters the collection of baseline management intents across managed tenants. type ManagedTenantsManagementIntentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewManagedTenantsManagementIntentsRequestBuilder(rawUrl string, requestAdap func (m *ManagedTenantsManagementIntentsRequestBuilder) Count()(*ManagedTenantsManagementIntentsCountRequestBuilder) { return NewManagedTenantsManagementIntentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the managementIntent objects and their properties. +// Get the collection of baseline management intents across managed tenants. // returns a ManagementIntentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/managedtenants-managedtenant-list-managementintents?view=graph-rest-1.0 func (m *ManagedTenantsManagementIntentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedTenantsManagementIntentsRequestBuilderGetRequestConfiguration)(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.ManagementIntentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ManagedTenantsManagementIntentsRequestBuilder) Post(ctx context.Context } return res.(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.ManagementIntentable), nil } -// ToGetRequestInformation get a list of the managementIntent objects and their properties. +// ToGetRequestInformation the collection of baseline management intents across managed tenants. // returns a *RequestInformation when successful func (m *ManagedTenantsManagementIntentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedTenantsManagementIntentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/tenantrelationships/managed_tenants_management_templates_management_template_item_request_builder.go b/tenantrelationships/managed_tenants_management_templates_management_template_item_request_builder.go index 1907f1a7135..79d0c07b07d 100644 --- a/tenantrelationships/managed_tenants_management_templates_management_template_item_request_builder.go +++ b/tenantrelationships/managed_tenants_management_templates_management_template_item_request_builder.go @@ -18,7 +18,7 @@ type ManagedTenantsManagementTemplatesManagementTemplateItemRequestBuilderDelete // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ManagedTenantsManagementTemplatesManagementTemplateItemRequestBuilderGetQueryParameters read the properties and relationships of a managementTemplate object. +// ManagedTenantsManagementTemplatesManagementTemplateItemRequestBuilderGetQueryParameters the collection of baseline management templates across managed tenants. type ManagedTenantsManagementTemplatesManagementTemplateItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ManagedTenantsManagementTemplatesManagementTemplateItemRequestBuilder) } return nil } -// Get read the properties and relationships of a managementTemplate object. +// Get the collection of baseline management templates across managed tenants. // returns a ManagementTemplateable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/managedtenants-managementtemplate-get?view=graph-rest-1.0 func (m *ManagedTenantsManagementTemplatesManagementTemplateItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedTenantsManagementTemplatesManagementTemplateItemRequestBuilderGetRequestConfiguration)(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.ManagementTemplateable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -134,7 +131,7 @@ func (m *ManagedTenantsManagementTemplatesManagementTemplateItemRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a managementTemplate object. +// ToGetRequestInformation the collection of baseline management templates across managed tenants. // returns a *RequestInformation when successful func (m *ManagedTenantsManagementTemplatesManagementTemplateItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedTenantsManagementTemplatesManagementTemplateItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/tenantrelationships/managed_tenants_management_templates_request_builder.go b/tenantrelationships/managed_tenants_management_templates_request_builder.go index b92fb765756..d67856d15ac 100644 --- a/tenantrelationships/managed_tenants_management_templates_request_builder.go +++ b/tenantrelationships/managed_tenants_management_templates_request_builder.go @@ -11,7 +11,7 @@ import ( type ManagedTenantsManagementTemplatesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ManagedTenantsManagementTemplatesRequestBuilderGetQueryParameters get a list of the managementTemplate objects and their properties. +// ManagedTenantsManagementTemplatesRequestBuilderGetQueryParameters the collection of baseline management templates across managed tenants. type ManagedTenantsManagementTemplatesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewManagedTenantsManagementTemplatesRequestBuilder(rawUrl string, requestAd func (m *ManagedTenantsManagementTemplatesRequestBuilder) Count()(*ManagedTenantsManagementTemplatesCountRequestBuilder) { return NewManagedTenantsManagementTemplatesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the managementTemplate objects and their properties. +// Get the collection of baseline management templates across managed tenants. // returns a ManagementTemplateCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/managedtenants-managedtenant-list-managementtemplates?view=graph-rest-1.0 func (m *ManagedTenantsManagementTemplatesRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedTenantsManagementTemplatesRequestBuilderGetRequestConfiguration)(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.ManagementTemplateCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ManagedTenantsManagementTemplatesRequestBuilder) Post(ctx context.Conte } return res.(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.ManagementTemplateable), nil } -// ToGetRequestInformation get a list of the managementTemplate objects and their properties. +// ToGetRequestInformation the collection of baseline management templates across managed tenants. // returns a *RequestInformation when successful func (m *ManagedTenantsManagementTemplatesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedTenantsManagementTemplatesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/tenantrelationships/managed_tenants_my_roles_request_builder.go b/tenantrelationships/managed_tenants_my_roles_request_builder.go index 07a02014e9b..74972f3e46d 100644 --- a/tenantrelationships/managed_tenants_my_roles_request_builder.go +++ b/tenantrelationships/managed_tenants_my_roles_request_builder.go @@ -11,7 +11,7 @@ import ( type ManagedTenantsMyRolesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ManagedTenantsMyRolesRequestBuilderGetQueryParameters get the roles that a signed-in user has through a delegated relationship across managed tenants. For information on the types of delegated relationships between a Managed Service Provider (MSP) who uses Microsoft 365 Lighthouse, and their business customers with Microsoft 365 Business Premium tenants, see the following articles on the Partner Center:- Delegated administration privileges (DAP)- Granular delegated admin privileges (GDAP) +// ManagedTenantsMyRolesRequestBuilderGetQueryParameters the collection of role assignments to a signed-in user for a managed tenant. type ManagedTenantsMyRolesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewManagedTenantsMyRolesRequestBuilder(rawUrl string, requestAdapter i2ae41 func (m *ManagedTenantsMyRolesRequestBuilder) Count()(*ManagedTenantsMyRolesCountRequestBuilder) { return NewManagedTenantsMyRolesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the roles that a signed-in user has through a delegated relationship across managed tenants. For information on the types of delegated relationships between a Managed Service Provider (MSP) who uses Microsoft 365 Lighthouse, and their business customers with Microsoft 365 Business Premium tenants, see the following articles on the Partner Center:- Delegated administration privileges (DAP)- Granular delegated admin privileges (GDAP) +// Get the collection of role assignments to a signed-in user for a managed tenant. // returns a MyRoleCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/managedtenants-managedtenant-list-myroles?view=graph-rest-1.0 func (m *ManagedTenantsMyRolesRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedTenantsMyRolesRequestBuilderGetRequestConfiguration)(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.MyRoleCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ManagedTenantsMyRolesRequestBuilder) Post(ctx context.Context, body i72 } return res.(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.MyRoleable), nil } -// ToGetRequestInformation get the roles that a signed-in user has through a delegated relationship across managed tenants. For information on the types of delegated relationships between a Managed Service Provider (MSP) who uses Microsoft 365 Lighthouse, and their business customers with Microsoft 365 Business Premium tenants, see the following articles on the Partner Center:- Delegated administration privileges (DAP)- Granular delegated admin privileges (GDAP) +// ToGetRequestInformation the collection of role assignments to a signed-in user for a managed tenant. // returns a *RequestInformation when successful func (m *ManagedTenantsMyRolesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedTenantsMyRolesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/tenantrelationships/managed_tenants_tenant_groups_request_builder.go b/tenantrelationships/managed_tenants_tenant_groups_request_builder.go index 33a4e3b32da..87391bbb488 100644 --- a/tenantrelationships/managed_tenants_tenant_groups_request_builder.go +++ b/tenantrelationships/managed_tenants_tenant_groups_request_builder.go @@ -11,7 +11,7 @@ import ( type ManagedTenantsTenantGroupsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ManagedTenantsTenantGroupsRequestBuilderGetQueryParameters get a list of the tenantGroup objects and their properties. +// ManagedTenantsTenantGroupsRequestBuilderGetQueryParameters the collection of a logical grouping of managed tenants used by the multi-tenant management platform. type ManagedTenantsTenantGroupsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewManagedTenantsTenantGroupsRequestBuilder(rawUrl string, requestAdapter i func (m *ManagedTenantsTenantGroupsRequestBuilder) Count()(*ManagedTenantsTenantGroupsCountRequestBuilder) { return NewManagedTenantsTenantGroupsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the tenantGroup objects and their properties. +// Get the collection of a logical grouping of managed tenants used by the multi-tenant management platform. // returns a TenantGroupCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/managedtenants-managedtenant-list-tenantgroups?view=graph-rest-1.0 func (m *ManagedTenantsTenantGroupsRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedTenantsTenantGroupsRequestBuilderGetRequestConfiguration)(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.TenantGroupCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ManagedTenantsTenantGroupsRequestBuilder) Post(ctx context.Context, bod } return res.(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.TenantGroupable), nil } -// ToGetRequestInformation get a list of the tenantGroup objects and their properties. +// ToGetRequestInformation the collection of a logical grouping of managed tenants used by the multi-tenant management platform. // returns a *RequestInformation when successful func (m *ManagedTenantsTenantGroupsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedTenantsTenantGroupsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/tenantrelationships/managed_tenants_tenant_groups_tenant_group_item_request_builder.go b/tenantrelationships/managed_tenants_tenant_groups_tenant_group_item_request_builder.go index 772ed568d56..73c6f4f15a7 100644 --- a/tenantrelationships/managed_tenants_tenant_groups_tenant_group_item_request_builder.go +++ b/tenantrelationships/managed_tenants_tenant_groups_tenant_group_item_request_builder.go @@ -18,7 +18,7 @@ type ManagedTenantsTenantGroupsTenantGroupItemRequestBuilderDeleteRequestConfigu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ManagedTenantsTenantGroupsTenantGroupItemRequestBuilderGetQueryParameters read the properties and relationships of a tenantGroup object. +// ManagedTenantsTenantGroupsTenantGroupItemRequestBuilderGetQueryParameters the collection of a logical grouping of managed tenants used by the multi-tenant management platform. type ManagedTenantsTenantGroupsTenantGroupItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ManagedTenantsTenantGroupsTenantGroupItemRequestBuilder) Delete(ctx con } return nil } -// Get read the properties and relationships of a tenantGroup object. +// Get the collection of a logical grouping of managed tenants used by the multi-tenant management platform. // returns a TenantGroupable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/managedtenants-tenantgroup-get?view=graph-rest-1.0 func (m *ManagedTenantsTenantGroupsTenantGroupItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedTenantsTenantGroupsTenantGroupItemRequestBuilderGetRequestConfiguration)(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.TenantGroupable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ManagedTenantsTenantGroupsTenantGroupItemRequestBuilder) ToDeleteReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a tenantGroup object. +// ToGetRequestInformation the collection of a logical grouping of managed tenants used by the multi-tenant management platform. // returns a *RequestInformation when successful func (m *ManagedTenantsTenantGroupsTenantGroupItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedTenantsTenantGroupsTenantGroupItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/tenantrelationships/managed_tenants_tenant_tags_item_microsoft_graph_managed_tenants_assign_tag_request_builder.go b/tenantrelationships/managed_tenants_tenant_tags_item_microsoft_graph_managed_tenants_assign_tag_request_builder.go index 783284b50d2..2acd9ec766e 100644 --- a/tenantrelationships/managed_tenants_tenant_tags_item_microsoft_graph_managed_tenants_assign_tag_request_builder.go +++ b/tenantrelationships/managed_tenants_tenant_tags_item_microsoft_graph_managed_tenants_assign_tag_request_builder.go @@ -36,7 +36,7 @@ func NewManagedTenantsTenantTagsItemMicrosoftGraphManagedTenantsAssignTagRequest // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/managedtenants-tenanttag-assigntag?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/managedtenants-tenanttag-assigntag?view=graph-rest-beta func (m *ManagedTenantsTenantTagsItemMicrosoftGraphManagedTenantsAssignTagRequestBuilder) Post(ctx context.Context, body ManagedTenantsTenantTagsItemMicrosoftGraphManagedTenantsAssignTagAssignTagPostRequestBodyable, requestConfiguration *ManagedTenantsTenantTagsItemMicrosoftGraphManagedTenantsAssignTagRequestBuilderPostRequestConfiguration)(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.TenantTagable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/tenantrelationships/managed_tenants_tenant_tags_item_microsoft_graph_managed_tenants_unassign_tag_request_builder.go b/tenantrelationships/managed_tenants_tenant_tags_item_microsoft_graph_managed_tenants_unassign_tag_request_builder.go index d3f9f764895..9a810fb7902 100644 --- a/tenantrelationships/managed_tenants_tenant_tags_item_microsoft_graph_managed_tenants_unassign_tag_request_builder.go +++ b/tenantrelationships/managed_tenants_tenant_tags_item_microsoft_graph_managed_tenants_unassign_tag_request_builder.go @@ -36,7 +36,7 @@ func NewManagedTenantsTenantTagsItemMicrosoftGraphManagedTenantsUnassignTagReque // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/managedtenants-tenanttag-unassigntag?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/managedtenants-tenanttag-unassigntag?view=graph-rest-beta func (m *ManagedTenantsTenantTagsItemMicrosoftGraphManagedTenantsUnassignTagRequestBuilder) Post(ctx context.Context, body ManagedTenantsTenantTagsItemMicrosoftGraphManagedTenantsUnassignTagUnassignTagPostRequestBodyable, requestConfiguration *ManagedTenantsTenantTagsItemMicrosoftGraphManagedTenantsUnassignTagRequestBuilderPostRequestConfiguration)(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.TenantTagable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/tenantrelationships/managed_tenants_tenant_tags_request_builder.go b/tenantrelationships/managed_tenants_tenant_tags_request_builder.go index 450705a3c6a..c0ec4495b85 100644 --- a/tenantrelationships/managed_tenants_tenant_tags_request_builder.go +++ b/tenantrelationships/managed_tenants_tenant_tags_request_builder.go @@ -11,7 +11,7 @@ import ( type ManagedTenantsTenantTagsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ManagedTenantsTenantTagsRequestBuilderGetQueryParameters get a list of the tenantTag objects and their properties. +// ManagedTenantsTenantTagsRequestBuilderGetQueryParameters the collection of tenant tags across managed tenants. type ManagedTenantsTenantTagsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewManagedTenantsTenantTagsRequestBuilder(rawUrl string, requestAdapter i2a func (m *ManagedTenantsTenantTagsRequestBuilder) Count()(*ManagedTenantsTenantTagsCountRequestBuilder) { return NewManagedTenantsTenantTagsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the tenantTag objects and their properties. +// Get the collection of tenant tags across managed tenants. // returns a TenantTagCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/managedtenants-managedtenant-list-tenanttags?view=graph-rest-1.0 func (m *ManagedTenantsTenantTagsRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedTenantsTenantTagsRequestBuilderGetRequestConfiguration)(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.TenantTagCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ManagedTenantsTenantTagsRequestBuilder) Get(ctx context.Context, reques } return res.(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.TenantTagCollectionResponseable), nil } -// Post create a new tenantTag object. +// Post create new navigation property to tenantTags for tenantRelationships // returns a TenantTagable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/managedtenants-managedtenant-post-tenanttags?view=graph-rest-1.0 func (m *ManagedTenantsTenantTagsRequestBuilder) Post(ctx context.Context, body i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.TenantTagable, requestConfiguration *ManagedTenantsTenantTagsRequestBuilderPostRequestConfiguration)(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.TenantTagable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ManagedTenantsTenantTagsRequestBuilder) Post(ctx context.Context, body } return res.(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.TenantTagable), nil } -// ToGetRequestInformation get a list of the tenantTag objects and their properties. +// ToGetRequestInformation the collection of tenant tags across managed tenants. // returns a *RequestInformation when successful func (m *ManagedTenantsTenantTagsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedTenantsTenantTagsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ManagedTenantsTenantTagsRequestBuilder) ToGetRequestInformation(ctx con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new tenantTag object. +// ToPostRequestInformation create new navigation property to tenantTags for tenantRelationships // returns a *RequestInformation when successful func (m *ManagedTenantsTenantTagsRequestBuilder) ToPostRequestInformation(ctx context.Context, body i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.TenantTagable, requestConfiguration *ManagedTenantsTenantTagsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/tenantrelationships/managed_tenants_tenant_tags_tenant_tag_item_request_builder.go b/tenantrelationships/managed_tenants_tenant_tags_tenant_tag_item_request_builder.go index 77ba4f84925..1d1be62fd94 100644 --- a/tenantrelationships/managed_tenants_tenant_tags_tenant_tag_item_request_builder.go +++ b/tenantrelationships/managed_tenants_tenant_tags_tenant_tag_item_request_builder.go @@ -18,7 +18,7 @@ type ManagedTenantsTenantTagsTenantTagItemRequestBuilderDeleteRequestConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ManagedTenantsTenantTagsTenantTagItemRequestBuilderGetQueryParameters read the properties and relationships of a tenantTag object. +// ManagedTenantsTenantTagsTenantTagItemRequestBuilderGetQueryParameters the collection of tenant tags across managed tenants. type ManagedTenantsTenantTagsTenantTagItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewManagedTenantsTenantTagsTenantTagItemRequestBuilder(rawUrl string, reque urlParams["request-raw-url"] = rawUrl return NewManagedTenantsTenantTagsTenantTagItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a tenantTag object. +// Delete delete navigation property tenantTags for tenantRelationships // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/managedtenants-tenanttag-delete?view=graph-rest-1.0 func (m *ManagedTenantsTenantTagsTenantTagItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ManagedTenantsTenantTagsTenantTagItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ManagedTenantsTenantTagsTenantTagItemRequestBuilder) Delete(ctx context } return nil } -// Get read the properties and relationships of a tenantTag object. +// Get the collection of tenant tags across managed tenants. // returns a TenantTagable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/managedtenants-tenanttag-get?view=graph-rest-1.0 func (m *ManagedTenantsTenantTagsTenantTagItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedTenantsTenantTagsTenantTagItemRequestBuilderGetRequestConfiguration)(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.TenantTagable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -106,12 +100,9 @@ func (m *ManagedTenantsTenantTagsTenantTagItemRequestBuilder) MicrosoftGraphMana func (m *ManagedTenantsTenantTagsTenantTagItemRequestBuilder) MicrosoftGraphManagedTenantsUnassignTag()(*ManagedTenantsTenantTagsItemMicrosoftGraphManagedTenantsUnassignTagRequestBuilder) { return NewManagedTenantsTenantTagsItemMicrosoftGraphManagedTenantsUnassignTagRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of a tenantTag object. +// Patch update the navigation property tenantTags in tenantRelationships // returns a TenantTagable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/managedtenants-tenanttag-update?view=graph-rest-1.0 func (m *ManagedTenantsTenantTagsTenantTagItemRequestBuilder) Patch(ctx context.Context, body i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.TenantTagable, requestConfiguration *ManagedTenantsTenantTagsTenantTagItemRequestBuilderPatchRequestConfiguration)(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.TenantTagable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -129,7 +120,7 @@ func (m *ManagedTenantsTenantTagsTenantTagItemRequestBuilder) Patch(ctx context. } return res.(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.TenantTagable), nil } -// ToDeleteRequestInformation delete a tenantTag object. +// ToDeleteRequestInformation delete navigation property tenantTags for tenantRelationships // returns a *RequestInformation when successful func (m *ManagedTenantsTenantTagsTenantTagItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ManagedTenantsTenantTagsTenantTagItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -140,7 +131,7 @@ func (m *ManagedTenantsTenantTagsTenantTagItemRequestBuilder) ToDeleteRequestInf requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a tenantTag object. +// ToGetRequestInformation the collection of tenant tags across managed tenants. // returns a *RequestInformation when successful func (m *ManagedTenantsTenantTagsTenantTagItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedTenantsTenantTagsTenantTagItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -154,7 +145,7 @@ func (m *ManagedTenantsTenantTagsTenantTagItemRequestBuilder) ToGetRequestInform requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a tenantTag object. +// ToPatchRequestInformation update the navigation property tenantTags in tenantRelationships // returns a *RequestInformation when successful func (m *ManagedTenantsTenantTagsTenantTagItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.TenantTagable, requestConfiguration *ManagedTenantsTenantTagsTenantTagItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/tenantrelationships/managed_tenants_tenants_customized_information_request_builder.go b/tenantrelationships/managed_tenants_tenants_customized_information_request_builder.go index ae8198efbc9..ff7ed52e822 100644 --- a/tenantrelationships/managed_tenants_tenants_customized_information_request_builder.go +++ b/tenantrelationships/managed_tenants_tenants_customized_information_request_builder.go @@ -11,7 +11,7 @@ import ( type ManagedTenantsTenantsCustomizedInformationRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ManagedTenantsTenantsCustomizedInformationRequestBuilderGetQueryParameters get a list of the tenantCustomizedInformation objects and their properties. +// ManagedTenantsTenantsCustomizedInformationRequestBuilderGetQueryParameters the collection of tenant level customized information across managed tenants. type ManagedTenantsTenantsCustomizedInformationRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewManagedTenantsTenantsCustomizedInformationRequestBuilder(rawUrl string, func (m *ManagedTenantsTenantsCustomizedInformationRequestBuilder) Count()(*ManagedTenantsTenantsCustomizedInformationCountRequestBuilder) { return NewManagedTenantsTenantsCustomizedInformationCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the tenantCustomizedInformation objects and their properties. +// Get the collection of tenant level customized information across managed tenants. // returns a TenantCustomizedInformationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/managedtenants-managedtenant-list-tenantscustomizedinformation?view=graph-rest-1.0 func (m *ManagedTenantsTenantsCustomizedInformationRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedTenantsTenantsCustomizedInformationRequestBuilderGetRequestConfiguration)(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.TenantCustomizedInformationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ManagedTenantsTenantsCustomizedInformationRequestBuilder) Post(ctx cont } return res.(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.TenantCustomizedInformationable), nil } -// ToGetRequestInformation get a list of the tenantCustomizedInformation objects and their properties. +// ToGetRequestInformation the collection of tenant level customized information across managed tenants. // returns a *RequestInformation when successful func (m *ManagedTenantsTenantsCustomizedInformationRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedTenantsTenantsCustomizedInformationRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/tenantrelationships/managed_tenants_tenants_customized_information_tenant_customized_information_item_request_builder.go b/tenantrelationships/managed_tenants_tenants_customized_information_tenant_customized_information_item_request_builder.go index 76adeb6b972..2957722886b 100644 --- a/tenantrelationships/managed_tenants_tenants_customized_information_tenant_customized_information_item_request_builder.go +++ b/tenantrelationships/managed_tenants_tenants_customized_information_tenant_customized_information_item_request_builder.go @@ -18,7 +18,7 @@ type ManagedTenantsTenantsCustomizedInformationTenantCustomizedInformationItemRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ManagedTenantsTenantsCustomizedInformationTenantCustomizedInformationItemRequestBuilderGetQueryParameters read the properties and relationships of a tenantCustomizedInformation object. +// ManagedTenantsTenantsCustomizedInformationTenantCustomizedInformationItemRequestBuilderGetQueryParameters the collection of tenant level customized information across managed tenants. type ManagedTenantsTenantsCustomizedInformationTenantCustomizedInformationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ManagedTenantsTenantsCustomizedInformationTenantCustomizedInformationIt } return nil } -// Get read the properties and relationships of a tenantCustomizedInformation object. +// Get the collection of tenant level customized information across managed tenants. // returns a TenantCustomizedInformationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/managedtenants-tenantcustomizedinformation-get?view=graph-rest-1.0 func (m *ManagedTenantsTenantsCustomizedInformationTenantCustomizedInformationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedTenantsTenantsCustomizedInformationTenantCustomizedInformationItemRequestBuilderGetRequestConfiguration)(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.TenantCustomizedInformationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *ManagedTenantsTenantsCustomizedInformationTenantCustomizedInformationIt } return res.(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.TenantCustomizedInformationable), nil } -// Patch update the properties of a tenantCustomizedInformation object. +// Patch update the navigation property tenantsCustomizedInformation in tenantRelationships // returns a TenantCustomizedInformationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/managedtenants-tenantcustomizedinformation-update?view=graph-rest-1.0 func (m *ManagedTenantsTenantsCustomizedInformationTenantCustomizedInformationItemRequestBuilder) Patch(ctx context.Context, body i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.TenantCustomizedInformationable, requestConfiguration *ManagedTenantsTenantsCustomizedInformationTenantCustomizedInformationItemRequestBuilderPatchRequestConfiguration)(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.TenantCustomizedInformationable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ManagedTenantsTenantsCustomizedInformationTenantCustomizedInformationIt requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a tenantCustomizedInformation object. +// ToGetRequestInformation the collection of tenant level customized information across managed tenants. // returns a *RequestInformation when successful func (m *ManagedTenantsTenantsCustomizedInformationTenantCustomizedInformationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedTenantsTenantsCustomizedInformationTenantCustomizedInformationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ManagedTenantsTenantsCustomizedInformationTenantCustomizedInformationIt requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a tenantCustomizedInformation object. +// ToPatchRequestInformation update the navigation property tenantsCustomizedInformation in tenantRelationships // returns a *RequestInformation when successful func (m *ManagedTenantsTenantsCustomizedInformationTenantCustomizedInformationItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.TenantCustomizedInformationable, requestConfiguration *ManagedTenantsTenantsCustomizedInformationTenantCustomizedInformationItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/tenantrelationships/managed_tenants_tenants_detailed_information_request_builder.go b/tenantrelationships/managed_tenants_tenants_detailed_information_request_builder.go index 24bcbf6a4aa..9dd912a0cac 100644 --- a/tenantrelationships/managed_tenants_tenants_detailed_information_request_builder.go +++ b/tenantrelationships/managed_tenants_tenants_detailed_information_request_builder.go @@ -11,7 +11,7 @@ import ( type ManagedTenantsTenantsDetailedInformationRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ManagedTenantsTenantsDetailedInformationRequestBuilderGetQueryParameters get a list of the tenantDetailedInformation objects and their properties. +// ManagedTenantsTenantsDetailedInformationRequestBuilderGetQueryParameters the collection tenant level detailed information across managed tenants. type ManagedTenantsTenantsDetailedInformationRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewManagedTenantsTenantsDetailedInformationRequestBuilder(rawUrl string, re func (m *ManagedTenantsTenantsDetailedInformationRequestBuilder) Count()(*ManagedTenantsTenantsDetailedInformationCountRequestBuilder) { return NewManagedTenantsTenantsDetailedInformationCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the tenantDetailedInformation objects and their properties. +// Get the collection tenant level detailed information across managed tenants. // returns a TenantDetailedInformationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/managedtenants-managedtenant-list-tenantsdetailedinformation?view=graph-rest-1.0 func (m *ManagedTenantsTenantsDetailedInformationRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedTenantsTenantsDetailedInformationRequestBuilderGetRequestConfiguration)(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.TenantDetailedInformationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ManagedTenantsTenantsDetailedInformationRequestBuilder) Post(ctx contex } return res.(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.TenantDetailedInformationable), nil } -// ToGetRequestInformation get a list of the tenantDetailedInformation objects and their properties. +// ToGetRequestInformation the collection tenant level detailed information across managed tenants. // returns a *RequestInformation when successful func (m *ManagedTenantsTenantsDetailedInformationRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedTenantsTenantsDetailedInformationRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/tenantrelationships/managed_tenants_tenants_detailed_information_tenant_detailed_information_item_request_builder.go b/tenantrelationships/managed_tenants_tenants_detailed_information_tenant_detailed_information_item_request_builder.go index 8d09be4017e..04a9fe08580 100644 --- a/tenantrelationships/managed_tenants_tenants_detailed_information_tenant_detailed_information_item_request_builder.go +++ b/tenantrelationships/managed_tenants_tenants_detailed_information_tenant_detailed_information_item_request_builder.go @@ -18,7 +18,7 @@ type ManagedTenantsTenantsDetailedInformationTenantDetailedInformationItemReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ManagedTenantsTenantsDetailedInformationTenantDetailedInformationItemRequestBuilderGetQueryParameters read the properties and relationships of a tenantDetailedInformation object. +// ManagedTenantsTenantsDetailedInformationTenantDetailedInformationItemRequestBuilderGetQueryParameters the collection tenant level detailed information across managed tenants. type ManagedTenantsTenantsDetailedInformationTenantDetailedInformationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ManagedTenantsTenantsDetailedInformationTenantDetailedInformationItemRe } return nil } -// Get read the properties and relationships of a tenantDetailedInformation object. +// Get the collection tenant level detailed information across managed tenants. // returns a TenantDetailedInformationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/managedtenants-tenantdetailedinformation-get?view=graph-rest-1.0 func (m *ManagedTenantsTenantsDetailedInformationTenantDetailedInformationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedTenantsTenantsDetailedInformationTenantDetailedInformationItemRequestBuilderGetRequestConfiguration)(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.TenantDetailedInformationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ManagedTenantsTenantsDetailedInformationTenantDetailedInformationItemRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a tenantDetailedInformation object. +// ToGetRequestInformation the collection tenant level detailed information across managed tenants. // returns a *RequestInformation when successful func (m *ManagedTenantsTenantsDetailedInformationTenantDetailedInformationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedTenantsTenantsDetailedInformationTenantDetailedInformationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/tenantrelationships/managed_tenants_tenants_item_microsoft_graph_managed_tenants_offboard_tenant_request_builder.go b/tenantrelationships/managed_tenants_tenants_item_microsoft_graph_managed_tenants_offboard_tenant_request_builder.go index 722ac45cbd4..65750da93c6 100644 --- a/tenantrelationships/managed_tenants_tenants_item_microsoft_graph_managed_tenants_offboard_tenant_request_builder.go +++ b/tenantrelationships/managed_tenants_tenants_item_microsoft_graph_managed_tenants_offboard_tenant_request_builder.go @@ -36,7 +36,7 @@ func NewManagedTenantsTenantsItemMicrosoftGraphManagedTenantsOffboardTenantReque // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/managedtenants-tenant-offboardtenant?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/managedtenants-tenant-offboardtenant?view=graph-rest-beta func (m *ManagedTenantsTenantsItemMicrosoftGraphManagedTenantsOffboardTenantRequestBuilder) Post(ctx context.Context, requestConfiguration *ManagedTenantsTenantsItemMicrosoftGraphManagedTenantsOffboardTenantRequestBuilderPostRequestConfiguration)(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.Tenantable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/tenantrelationships/managed_tenants_tenants_item_microsoft_graph_managed_tenants_reset_tenant_onboarding_status_request_builder.go b/tenantrelationships/managed_tenants_tenants_item_microsoft_graph_managed_tenants_reset_tenant_onboarding_status_request_builder.go index 6c93af88cd0..eb5e0f000de 100644 --- a/tenantrelationships/managed_tenants_tenants_item_microsoft_graph_managed_tenants_reset_tenant_onboarding_status_request_builder.go +++ b/tenantrelationships/managed_tenants_tenants_item_microsoft_graph_managed_tenants_reset_tenant_onboarding_status_request_builder.go @@ -36,7 +36,7 @@ func NewManagedTenantsTenantsItemMicrosoftGraphManagedTenantsResetTenantOnboardi // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/managedtenants-tenant-resettenantonboardingstatus?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/managedtenants-tenant-resettenantonboardingstatus?view=graph-rest-beta func (m *ManagedTenantsTenantsItemMicrosoftGraphManagedTenantsResetTenantOnboardingStatusRequestBuilder) Post(ctx context.Context, requestConfiguration *ManagedTenantsTenantsItemMicrosoftGraphManagedTenantsResetTenantOnboardingStatusRequestBuilderPostRequestConfiguration)(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.Tenantable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/tenantrelationships/managed_tenants_tenants_request_builder.go b/tenantrelationships/managed_tenants_tenants_request_builder.go index 0715b03bf2f..40bc4366a2f 100644 --- a/tenantrelationships/managed_tenants_tenants_request_builder.go +++ b/tenantrelationships/managed_tenants_tenants_request_builder.go @@ -11,7 +11,7 @@ import ( type ManagedTenantsTenantsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ManagedTenantsTenantsRequestBuilderGetQueryParameters get a list of the tenant objects and their properties. +// ManagedTenantsTenantsRequestBuilderGetQueryParameters the collection of tenants associated with the managing entity. type ManagedTenantsTenantsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewManagedTenantsTenantsRequestBuilder(rawUrl string, requestAdapter i2ae41 func (m *ManagedTenantsTenantsRequestBuilder) Count()(*ManagedTenantsTenantsCountRequestBuilder) { return NewManagedTenantsTenantsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the tenant objects and their properties. +// Get the collection of tenants associated with the managing entity. // returns a TenantCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/managedtenants-managedtenant-list-tenants?view=graph-rest-1.0 func (m *ManagedTenantsTenantsRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedTenantsTenantsRequestBuilderGetRequestConfiguration)(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.TenantCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ManagedTenantsTenantsRequestBuilder) Post(ctx context.Context, body i72 } return res.(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.Tenantable), nil } -// ToGetRequestInformation get a list of the tenant objects and their properties. +// ToGetRequestInformation the collection of tenants associated with the managing entity. // returns a *RequestInformation when successful func (m *ManagedTenantsTenantsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedTenantsTenantsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/tenantrelationships/managed_tenants_tenants_tenant_item_request_builder.go b/tenantrelationships/managed_tenants_tenants_tenant_item_request_builder.go index ca98220515a..30aeddbad74 100644 --- a/tenantrelationships/managed_tenants_tenants_tenant_item_request_builder.go +++ b/tenantrelationships/managed_tenants_tenants_tenant_item_request_builder.go @@ -18,7 +18,7 @@ type ManagedTenantsTenantsTenantItemRequestBuilderDeleteRequestConfiguration str // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ManagedTenantsTenantsTenantItemRequestBuilderGetQueryParameters read the properties and relationships of a tenant object. +// ManagedTenantsTenantsTenantItemRequestBuilderGetQueryParameters the collection of tenants associated with the managing entity. type ManagedTenantsTenantsTenantItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ManagedTenantsTenantsTenantItemRequestBuilder) Delete(ctx context.Conte } return nil } -// Get read the properties and relationships of a tenant object. +// Get the collection of tenants associated with the managing entity. // returns a Tenantable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/managedtenants-tenant-get?view=graph-rest-1.0 func (m *ManagedTenantsTenantsTenantItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedTenantsTenantsTenantItemRequestBuilderGetRequestConfiguration)(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.Tenantable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -134,7 +131,7 @@ func (m *ManagedTenantsTenantsTenantItemRequestBuilder) ToDeleteRequestInformati requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a tenant object. +// ToGetRequestInformation the collection of tenants associated with the managing entity. // returns a *RequestInformation when successful func (m *ManagedTenantsTenantsTenantItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedTenantsTenantsTenantItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/tenantrelationships/managed_tenants_windows_device_malware_states_request_builder.go b/tenantrelationships/managed_tenants_windows_device_malware_states_request_builder.go index c5d58c8da15..1a23263a771 100644 --- a/tenantrelationships/managed_tenants_windows_device_malware_states_request_builder.go +++ b/tenantrelationships/managed_tenants_windows_device_malware_states_request_builder.go @@ -11,7 +11,7 @@ import ( type ManagedTenantsWindowsDeviceMalwareStatesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ManagedTenantsWindowsDeviceMalwareStatesRequestBuilderGetQueryParameters get a list of the windowsDeviceMalwareState objects and their properties. +// ManagedTenantsWindowsDeviceMalwareStatesRequestBuilderGetQueryParameters the state of malware for Windows devices, registered with Microsoft Endpoint Manager, across managed tenants. type ManagedTenantsWindowsDeviceMalwareStatesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewManagedTenantsWindowsDeviceMalwareStatesRequestBuilder(rawUrl string, re func (m *ManagedTenantsWindowsDeviceMalwareStatesRequestBuilder) Count()(*ManagedTenantsWindowsDeviceMalwareStatesCountRequestBuilder) { return NewManagedTenantsWindowsDeviceMalwareStatesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the windowsDeviceMalwareState objects and their properties. +// Get the state of malware for Windows devices, registered with Microsoft Endpoint Manager, across managed tenants. // returns a WindowsDeviceMalwareStateCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/managedtenants-managedtenant-list-windowsdevicemalwarestates?view=graph-rest-1.0 func (m *ManagedTenantsWindowsDeviceMalwareStatesRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedTenantsWindowsDeviceMalwareStatesRequestBuilderGetRequestConfiguration)(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.WindowsDeviceMalwareStateCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ManagedTenantsWindowsDeviceMalwareStatesRequestBuilder) Post(ctx contex } return res.(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.WindowsDeviceMalwareStateable), nil } -// ToGetRequestInformation get a list of the windowsDeviceMalwareState objects and their properties. +// ToGetRequestInformation the state of malware for Windows devices, registered with Microsoft Endpoint Manager, across managed tenants. // returns a *RequestInformation when successful func (m *ManagedTenantsWindowsDeviceMalwareStatesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedTenantsWindowsDeviceMalwareStatesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/tenantrelationships/managed_tenants_windows_device_malware_states_windows_device_malware_state_item_request_builder.go b/tenantrelationships/managed_tenants_windows_device_malware_states_windows_device_malware_state_item_request_builder.go index 67aab69d013..53e14f03083 100644 --- a/tenantrelationships/managed_tenants_windows_device_malware_states_windows_device_malware_state_item_request_builder.go +++ b/tenantrelationships/managed_tenants_windows_device_malware_states_windows_device_malware_state_item_request_builder.go @@ -18,7 +18,7 @@ type ManagedTenantsWindowsDeviceMalwareStatesWindowsDeviceMalwareStateItemReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ManagedTenantsWindowsDeviceMalwareStatesWindowsDeviceMalwareStateItemRequestBuilderGetQueryParameters read the properties and relationships of a windowsDeviceMalwareState object. +// ManagedTenantsWindowsDeviceMalwareStatesWindowsDeviceMalwareStateItemRequestBuilderGetQueryParameters the state of malware for Windows devices, registered with Microsoft Endpoint Manager, across managed tenants. type ManagedTenantsWindowsDeviceMalwareStatesWindowsDeviceMalwareStateItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ManagedTenantsWindowsDeviceMalwareStatesWindowsDeviceMalwareStateItemRe } return nil } -// Get read the properties and relationships of a windowsDeviceMalwareState object. +// Get the state of malware for Windows devices, registered with Microsoft Endpoint Manager, across managed tenants. // returns a WindowsDeviceMalwareStateable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/managedtenants-windowsdevicemalwarestate-get?view=graph-rest-1.0 func (m *ManagedTenantsWindowsDeviceMalwareStatesWindowsDeviceMalwareStateItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedTenantsWindowsDeviceMalwareStatesWindowsDeviceMalwareStateItemRequestBuilderGetRequestConfiguration)(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.WindowsDeviceMalwareStateable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ManagedTenantsWindowsDeviceMalwareStatesWindowsDeviceMalwareStateItemRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a windowsDeviceMalwareState object. +// ToGetRequestInformation the state of malware for Windows devices, registered with Microsoft Endpoint Manager, across managed tenants. // returns a *RequestInformation when successful func (m *ManagedTenantsWindowsDeviceMalwareStatesWindowsDeviceMalwareStateItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedTenantsWindowsDeviceMalwareStatesWindowsDeviceMalwareStateItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/tenantrelationships/managed_tenants_windows_protection_states_request_builder.go b/tenantrelationships/managed_tenants_windows_protection_states_request_builder.go index 723f9aef61a..27caa1660d3 100644 --- a/tenantrelationships/managed_tenants_windows_protection_states_request_builder.go +++ b/tenantrelationships/managed_tenants_windows_protection_states_request_builder.go @@ -11,7 +11,7 @@ import ( type ManagedTenantsWindowsProtectionStatesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ManagedTenantsWindowsProtectionStatesRequestBuilderGetQueryParameters get a list of the windowsProtectionState objects and their properties. +// ManagedTenantsWindowsProtectionStatesRequestBuilderGetQueryParameters the protection state for Windows devices, registered with Microsoft Endpoint Manager, across managed tenants. type ManagedTenantsWindowsProtectionStatesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewManagedTenantsWindowsProtectionStatesRequestBuilder(rawUrl string, reque func (m *ManagedTenantsWindowsProtectionStatesRequestBuilder) Count()(*ManagedTenantsWindowsProtectionStatesCountRequestBuilder) { return NewManagedTenantsWindowsProtectionStatesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the windowsProtectionState objects and their properties. +// Get the protection state for Windows devices, registered with Microsoft Endpoint Manager, across managed tenants. // returns a WindowsProtectionStateCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/managedtenants-managedtenant-list-windowsprotectionstates?view=graph-rest-1.0 func (m *ManagedTenantsWindowsProtectionStatesRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedTenantsWindowsProtectionStatesRequestBuilderGetRequestConfiguration)(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.WindowsProtectionStateCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ManagedTenantsWindowsProtectionStatesRequestBuilder) Post(ctx context.C } return res.(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.WindowsProtectionStateable), nil } -// ToGetRequestInformation get a list of the windowsProtectionState objects and their properties. +// ToGetRequestInformation the protection state for Windows devices, registered with Microsoft Endpoint Manager, across managed tenants. // returns a *RequestInformation when successful func (m *ManagedTenantsWindowsProtectionStatesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedTenantsWindowsProtectionStatesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/tenantrelationships/managed_tenants_windows_protection_states_windows_protection_state_item_request_builder.go b/tenantrelationships/managed_tenants_windows_protection_states_windows_protection_state_item_request_builder.go index 113a147fef4..26e48ea2a6d 100644 --- a/tenantrelationships/managed_tenants_windows_protection_states_windows_protection_state_item_request_builder.go +++ b/tenantrelationships/managed_tenants_windows_protection_states_windows_protection_state_item_request_builder.go @@ -18,7 +18,7 @@ type ManagedTenantsWindowsProtectionStatesWindowsProtectionStateItemRequestBuild // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ManagedTenantsWindowsProtectionStatesWindowsProtectionStateItemRequestBuilderGetQueryParameters read the properties and relationships of a windowsProtectionState object. +// ManagedTenantsWindowsProtectionStatesWindowsProtectionStateItemRequestBuilderGetQueryParameters the protection state for Windows devices, registered with Microsoft Endpoint Manager, across managed tenants. type ManagedTenantsWindowsProtectionStatesWindowsProtectionStateItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ManagedTenantsWindowsProtectionStatesWindowsProtectionStateItemRequestB } return nil } -// Get read the properties and relationships of a windowsProtectionState object. +// Get the protection state for Windows devices, registered with Microsoft Endpoint Manager, across managed tenants. // returns a WindowsProtectionStateable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/managedtenants-windowsprotectionstate-get?view=graph-rest-1.0 func (m *ManagedTenantsWindowsProtectionStatesWindowsProtectionStateItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedTenantsWindowsProtectionStatesWindowsProtectionStateItemRequestBuilderGetRequestConfiguration)(i72d786f54cc0bb289c971b085dd642b2fc3af6394328682e69783fd7e229b582.WindowsProtectionStateable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ManagedTenantsWindowsProtectionStatesWindowsProtectionStateItemRequestB requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a windowsProtectionState object. +// ToGetRequestInformation the protection state for Windows devices, registered with Microsoft Endpoint Manager, across managed tenants. // returns a *RequestInformation when successful func (m *ManagedTenantsWindowsProtectionStatesWindowsProtectionStateItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedTenantsWindowsProtectionStatesWindowsProtectionStateItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, 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 95356b2f21d..0818a605cf5 100644 --- a/tenantrelationships/multi_tenant_organization_join_request_request_builder.go +++ b/tenantrelationships/multi_tenant_organization_join_request_request_builder.go @@ -11,7 +11,7 @@ import ( type MultiTenantOrganizationJoinRequestRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MultiTenantOrganizationJoinRequestRequestBuilderGetQueryParameters get the status of a tenant joining a multi-tenant organization. +// MultiTenantOrganizationJoinRequestRequestBuilderGetQueryParameters defines the status of a tenant joining a multitenant organization. type MultiTenantOrganizationJoinRequestRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,12 +47,9 @@ func NewMultiTenantOrganizationJoinRequestRequestBuilder(rawUrl string, requestA urlParams["request-raw-url"] = rawUrl return NewMultiTenantOrganizationJoinRequestRequestBuilderInternal(urlParams, requestAdapter) } -// Get get the status of a tenant joining a multi-tenant organization. +// Get defines the status of a tenant joining a multitenant organization. // returns a MultiTenantOrganizationJoinRequestRecordable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/multitenantorganizationjoinrequestrecord-get?view=graph-rest-1.0 func (m *MultiTenantOrganizationJoinRequestRequestBuilder) Get(ctx context.Context, requestConfiguration *MultiTenantOrganizationJoinRequestRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MultiTenantOrganizationJoinRequestRecordable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -70,12 +67,9 @@ 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 update the navigation property joinRequest in tenantRelationships // returns a MultiTenantOrganizationJoinRequestRecordable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/multitenantorganizationjoinrequestrecord-update?view=graph-rest-1.0 func (m *MultiTenantOrganizationJoinRequestRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MultiTenantOrganizationJoinRequestRecordable, requestConfiguration *MultiTenantOrganizationJoinRequestRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MultiTenantOrganizationJoinRequestRecordable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -93,7 +87,7 @@ func (m *MultiTenantOrganizationJoinRequestRequestBuilder) Patch(ctx context.Con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MultiTenantOrganizationJoinRequestRecordable), nil } -// ToGetRequestInformation get the status of a tenant joining a multi-tenant organization. +// ToGetRequestInformation defines the status of a tenant joining a multitenant organization. // returns a *RequestInformation when successful func (m *MultiTenantOrganizationJoinRequestRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MultiTenantOrganizationJoinRequestRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -107,7 +101,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 update the navigation property joinRequest in tenantRelationships // 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 63b2b8e0779..18305fde479 100644 --- a/tenantrelationships/multi_tenant_organization_request_builder.go +++ b/tenantrelationships/multi_tenant_organization_request_builder.go @@ -11,7 +11,7 @@ import ( type MultiTenantOrganizationRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MultiTenantOrganizationRequestBuilderGetQueryParameters get properties of the multitenant organization. +// MultiTenantOrganizationRequestBuilderGetQueryParameters defines an organization with more than one instance of Microsoft Entra ID. type MultiTenantOrganizationRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -27,8 +27,8 @@ type MultiTenantOrganizationRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *MultiTenantOrganizationRequestBuilderGetQueryParameters } -// MultiTenantOrganizationRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type MultiTenantOrganizationRequestBuilderPatchRequestConfiguration struct { +// MultiTenantOrganizationRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MultiTenantOrganizationRequestBuilderPutRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options @@ -47,12 +47,9 @@ func NewMultiTenantOrganizationRequestBuilder(rawUrl string, requestAdapter i2ae urlParams["request-raw-url"] = rawUrl return NewMultiTenantOrganizationRequestBuilderInternal(urlParams, requestAdapter) } -// Get get properties of the multitenant organization. +// Get defines an organization with more than one instance of Microsoft Entra ID. // 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-get?view=graph-rest-1.0 func (m *MultiTenantOrganizationRequestBuilder) Get(ctx context.Context, requestConfiguration *MultiTenantOrganizationRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MultiTenantOrganizationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,14 +72,11 @@ func (m *MultiTenantOrganizationRequestBuilder) Get(ctx context.Context, request func (m *MultiTenantOrganizationRequestBuilder) JoinRequest()(*MultiTenantOrganizationJoinRequestRequestBuilder) { return NewMultiTenantOrganizationJoinRequestRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// 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. +// Put update the navigation property multiTenantOrganization in tenantRelationships // 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/tenantrelationship-put-multitenantorganization?view=graph-rest-1.0 -func (m *MultiTenantOrganizationRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MultiTenantOrganizationable, requestConfiguration *MultiTenantOrganizationRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MultiTenantOrganizationable, error) { - requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); +func (m *MultiTenantOrganizationRequestBuilder) Put(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MultiTenantOrganizationable, requestConfiguration *MultiTenantOrganizationRequestBuilderPutRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MultiTenantOrganizationable, error) { + requestInfo, err := m.ToPutRequestInformation(ctx, body, requestConfiguration); if err != nil { return nil, err } @@ -103,7 +97,7 @@ func (m *MultiTenantOrganizationRequestBuilder) Patch(ctx context.Context, body func (m *MultiTenantOrganizationRequestBuilder) Tenants()(*MultiTenantOrganizationTenantsRequestBuilder) { return NewMultiTenantOrganizationTenantsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation get properties of the multitenant organization. +// ToGetRequestInformation defines an organization with more than one instance of Microsoft Entra ID. // returns a *RequestInformation when successful func (m *MultiTenantOrganizationRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MultiTenantOrganizationRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -117,10 +111,10 @@ func (m *MultiTenantOrganizationRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// 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. +// ToPutRequestInformation update the navigation property multiTenantOrganization in tenantRelationships // 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) +func (m *MultiTenantOrganizationRequestBuilder) ToPutRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MultiTenantOrganizationable, requestConfiguration *MultiTenantOrganizationRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) if requestConfiguration != nil { requestInfo.Headers.AddAll(requestConfiguration.Headers) requestInfo.AddRequestOptions(requestConfiguration.Options) diff --git a/tenantrelationships/multi_tenant_organization_tenants_multi_tenant_organization_member_item_request_builder.go b/tenantrelationships/multi_tenant_organization_tenants_multi_tenant_organization_member_item_request_builder.go index bed83e2047a..2e2ec5b3d66 100644 --- a/tenantrelationships/multi_tenant_organization_tenants_multi_tenant_organization_member_item_request_builder.go +++ b/tenantrelationships/multi_tenant_organization_tenants_multi_tenant_organization_member_item_request_builder.go @@ -18,7 +18,7 @@ type MultiTenantOrganizationTenantsMultiTenantOrganizationMemberItemRequestBuild // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MultiTenantOrganizationTenantsMultiTenantOrganizationMemberItemRequestBuilderGetQueryParameters get a tenant and its properties in the multi-tenant organization. +// MultiTenantOrganizationTenantsMultiTenantOrganizationMemberItemRequestBuilderGetQueryParameters defines tenants added to a multitenant organization. type MultiTenantOrganizationTenantsMultiTenantOrganizationMemberItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewMultiTenantOrganizationTenantsMultiTenantOrganizationMemberItemRequestBu urlParams["request-raw-url"] = rawUrl return NewMultiTenantOrganizationTenantsMultiTenantOrganizationMemberItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove a tenant from a multitenant organization. A tenant can be removed in the following scenarios: To allow for asynchronous processing, you must wait for up to 2 hours before removal of a tenant is completed. +// Delete delete navigation property tenants for tenantRelationships // returns a ODataError error 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-delete-tenants?view=graph-rest-1.0 func (m *MultiTenantOrganizationTenantsMultiTenantOrganizationMemberItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *MultiTenantOrganizationTenantsMultiTenantOrganizationMemberItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *MultiTenantOrganizationTenantsMultiTenantOrganizationMemberItemRequestB } return nil } -// Get get a tenant and its properties in the multi-tenant organization. +// Get defines tenants added to a multitenant organization. // returns a MultiTenantOrganizationMemberable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/multitenantorganizationmember-get?view=graph-rest-1.0 func (m *MultiTenantOrganizationTenantsMultiTenantOrganizationMemberItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MultiTenantOrganizationTenantsMultiTenantOrganizationMemberItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MultiTenantOrganizationMemberable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -116,7 +110,7 @@ func (m *MultiTenantOrganizationTenantsMultiTenantOrganizationMemberItemRequestB } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MultiTenantOrganizationMemberable), nil } -// ToDeleteRequestInformation remove a tenant from a multitenant organization. A tenant can be removed in the following scenarios: To allow for asynchronous processing, you must wait for up to 2 hours before removal of a tenant is completed. +// ToDeleteRequestInformation delete navigation property tenants for tenantRelationships // returns a *RequestInformation when successful func (m *MultiTenantOrganizationTenantsMultiTenantOrganizationMemberItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *MultiTenantOrganizationTenantsMultiTenantOrganizationMemberItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -127,7 +121,7 @@ func (m *MultiTenantOrganizationTenantsMultiTenantOrganizationMemberItemRequestB requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a tenant and its properties in the multi-tenant organization. +// ToGetRequestInformation defines tenants added to a multitenant organization. // returns a *RequestInformation when successful func (m *MultiTenantOrganizationTenantsMultiTenantOrganizationMemberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MultiTenantOrganizationTenantsMultiTenantOrganizationMemberItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/tenantrelationships/multi_tenant_organization_tenants_request_builder.go b/tenantrelationships/multi_tenant_organization_tenants_request_builder.go index 597c6695c03..648a93e3b40 100644 --- a/tenantrelationships/multi_tenant_organization_tenants_request_builder.go +++ b/tenantrelationships/multi_tenant_organization_tenants_request_builder.go @@ -11,7 +11,7 @@ import ( type MultiTenantOrganizationTenantsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MultiTenantOrganizationTenantsRequestBuilderGetQueryParameters list the tenants and their properties in the multi-tenant organization. +// MultiTenantOrganizationTenantsRequestBuilderGetQueryParameters defines tenants added to a multitenant organization. type MultiTenantOrganizationTenantsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewMultiTenantOrganizationTenantsRequestBuilder(rawUrl string, requestAdapt func (m *MultiTenantOrganizationTenantsRequestBuilder) Count()(*MultiTenantOrganizationTenantsCountRequestBuilder) { return NewMultiTenantOrganizationTenantsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list the tenants and their properties in the multi-tenant organization. +// Get defines tenants added to a multitenant organization. // returns a MultiTenantOrganizationMemberCollectionResponseable when successful // returns a ODataError error 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-list-tenants?view=graph-rest-1.0 func (m *MultiTenantOrganizationTenantsRequestBuilder) Get(ctx context.Context, requestConfiguration *MultiTenantOrganizationTenantsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MultiTenantOrganizationMemberCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *MultiTenantOrganizationTenantsRequestBuilder) Get(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MultiTenantOrganizationMemberCollectionResponseable), nil } -// Post add a tenant to a multitenant organization. The administrator of an owner tenant has the permissions to add tenants to the multitenant organization. The added tenant is in the pending state until the administrator of the added tenant joins the multitenant organization by submitting a join request. A tenant can be part of only one multitenant organization. +// Post create new navigation property to tenants for tenantRelationships // returns a MultiTenantOrganizationMemberable when successful // returns a ODataError error 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-post-tenants?view=graph-rest-1.0 func (m *MultiTenantOrganizationTenantsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MultiTenantOrganizationMemberable, requestConfiguration *MultiTenantOrganizationTenantsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MultiTenantOrganizationMemberable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *MultiTenantOrganizationTenantsRequestBuilder) Post(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MultiTenantOrganizationMemberable), nil } -// ToGetRequestInformation list the tenants and their properties in the multi-tenant organization. +// ToGetRequestInformation defines tenants added to a multitenant organization. // returns a *RequestInformation when successful func (m *MultiTenantOrganizationTenantsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MultiTenantOrganizationTenantsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *MultiTenantOrganizationTenantsRequestBuilder) ToGetRequestInformation(c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add a tenant to a multitenant organization. The administrator of an owner tenant has the permissions to add tenants to the multitenant organization. The added tenant is in the pending state until the administrator of the added tenant joins the multitenant organization by submitting a join request. A tenant can be part of only one multitenant organization. +// ToPostRequestInformation create new navigation property to tenants for tenantRelationships // returns a *RequestInformation when successful func (m *MultiTenantOrganizationTenantsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MultiTenantOrganizationMemberable, requestConfiguration *MultiTenantOrganizationTenantsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/termstore/groups_group_item_request_builder.go b/termstore/groups_group_item_request_builder.go index f5900313644..278b63e28a7 100644 --- a/termstore/groups_group_item_request_builder.go +++ b/termstore/groups_group_item_request_builder.go @@ -18,7 +18,7 @@ type GroupsGroupItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// GroupsGroupItemRequestBuilderGetQueryParameters read the properties and relationships of a term store group object. +// GroupsGroupItemRequestBuilderGetQueryParameters collection of all groups available in the term store. type GroupsGroupItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewGroupsGroupItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7da urlParams["request-raw-url"] = rawUrl return NewGroupsGroupItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a group object in a term [store]. +// Delete delete navigation property groups for termStore // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-group-delete?view=graph-rest-1.0 func (m *GroupsGroupItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *GroupsGroupItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *GroupsGroupItemRequestBuilder) Delete(ctx context.Context, requestConfi } return nil } -// Get read the properties and relationships of a term store group object. +// Get collection of all groups available in the term store. // 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/termstore-group-get?view=graph-rest-1.0 func (m *GroupsGroupItemRequestBuilder) Get(ctx context.Context, requestConfiguration *GroupsGroupItemRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Groupable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -121,7 +115,7 @@ func (m *GroupsGroupItemRequestBuilder) Patch(ctx context.Context, body i45fc416 func (m *GroupsGroupItemRequestBuilder) Sets()(*GroupsItemSetsRequestBuilder) { return NewGroupsItemSetsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a group object in a term [store]. +// ToDeleteRequestInformation delete navigation property groups for termStore // returns a *RequestInformation when successful func (m *GroupsGroupItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *GroupsGroupItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -132,7 +126,7 @@ func (m *GroupsGroupItemRequestBuilder) ToDeleteRequestInformation(ctx context.C requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a term store group object. +// ToGetRequestInformation collection of all groups available in the term store. // returns a *RequestInformation when successful func (m *GroupsGroupItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *GroupsGroupItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/termstore/groups_item_sets_item_children_request_builder.go b/termstore/groups_item_sets_item_children_request_builder.go index 5cdaa490181..e6fbde9b2e9 100644 --- a/termstore/groups_item_sets_item_children_request_builder.go +++ b/termstore/groups_item_sets_item_children_request_builder.go @@ -11,7 +11,7 @@ import ( type GroupsItemSetsItemChildrenRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// GroupsItemSetsItemChildrenRequestBuilderGetQueryParameters get the first level children of a [set] or [term] resource using the children navigation property. +// GroupsItemSetsItemChildrenRequestBuilderGetQueryParameters children terms of set in term [store]. type GroupsItemSetsItemChildrenRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewGroupsItemSetsItemChildrenRequestBuilder(rawUrl string, requestAdapter i func (m *GroupsItemSetsItemChildrenRequestBuilder) Count()(*GroupsItemSetsItemChildrenCountRequestBuilder) { return NewGroupsItemSetsItemChildrenCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the first level children of a [set] or [term] resource using the children navigation property. +// Get children terms of set in term [store]. // returns a TermCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-term-list-children?view=graph-rest-1.0 func (m *GroupsItemSetsItemChildrenRequestBuilder) Get(ctx context.Context, requestConfiguration *GroupsItemSetsItemChildrenRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.TermCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *GroupsItemSetsItemChildrenRequestBuilder) Get(ctx context.Context, requ } return res.(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.TermCollectionResponseable), nil } -// Post create a new term object. +// Post create new navigation property to children for termStore // returns a Termable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-term-post?view=graph-rest-1.0 func (m *GroupsItemSetsItemChildrenRequestBuilder) Post(ctx context.Context, body i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, requestConfiguration *GroupsItemSetsItemChildrenRequestBuilderPostRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *GroupsItemSetsItemChildrenRequestBuilder) Post(ctx context.Context, bod } return res.(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable), nil } -// ToGetRequestInformation get the first level children of a [set] or [term] resource using the children navigation property. +// ToGetRequestInformation children terms of set in term [store]. // returns a *RequestInformation when successful func (m *GroupsItemSetsItemChildrenRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *GroupsItemSetsItemChildrenRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *GroupsItemSetsItemChildrenRequestBuilder) ToGetRequestInformation(ctx c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new term object. +// ToPostRequestInformation create new navigation property to children for termStore // returns a *RequestInformation when successful func (m *GroupsItemSetsItemChildrenRequestBuilder) ToPostRequestInformation(ctx context.Context, body i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, requestConfiguration *GroupsItemSetsItemChildrenRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/termstore/groups_item_sets_item_relations_request_builder.go b/termstore/groups_item_sets_item_relations_request_builder.go index ed8281ff041..8902146c797 100644 --- a/termstore/groups_item_sets_item_relations_request_builder.go +++ b/termstore/groups_item_sets_item_relations_request_builder.go @@ -11,7 +11,7 @@ import ( type GroupsItemSetsItemRelationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// GroupsItemSetsItemRelationsRequestBuilderGetQueryParameters get the different relation of a [term] or [set] from the relations navigation property. +// GroupsItemSetsItemRelationsRequestBuilderGetQueryParameters indicates which terms have been pinned or reused directly under the set. type GroupsItemSetsItemRelationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewGroupsItemSetsItemRelationsRequestBuilder(rawUrl string, requestAdapter func (m *GroupsItemSetsItemRelationsRequestBuilder) Count()(*GroupsItemSetsItemRelationsCountRequestBuilder) { return NewGroupsItemSetsItemRelationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the different relation of a [term] or [set] from the relations navigation property. +// Get indicates which terms have been pinned or reused directly under the set. // returns a RelationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-term-list-relations?view=graph-rest-1.0 func (m *GroupsItemSetsItemRelationsRequestBuilder) Get(ctx context.Context, requestConfiguration *GroupsItemSetsItemRelationsRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.RelationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *GroupsItemSetsItemRelationsRequestBuilder) Post(ctx context.Context, bo } return res.(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Relationable), nil } -// ToGetRequestInformation get the different relation of a [term] or [set] from the relations navigation property. +// ToGetRequestInformation indicates which terms have been pinned or reused directly under the set. // returns a *RequestInformation when successful func (m *GroupsItemSetsItemRelationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *GroupsItemSetsItemRelationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/termstore/groups_item_sets_item_terms_request_builder.go b/termstore/groups_item_sets_item_terms_request_builder.go index b5068fa788f..4eba50f40f4 100644 --- a/termstore/groups_item_sets_item_terms_request_builder.go +++ b/termstore/groups_item_sets_item_terms_request_builder.go @@ -11,7 +11,7 @@ import ( type GroupsItemSetsItemTermsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// GroupsItemSetsItemTermsRequestBuilderGetQueryParameters read the properties and relationships of a term object. +// GroupsItemSetsItemTermsRequestBuilderGetQueryParameters all the terms under the set. type GroupsItemSetsItemTermsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewGroupsItemSetsItemTermsRequestBuilder(rawUrl string, requestAdapter i2ae func (m *GroupsItemSetsItemTermsRequestBuilder) Count()(*GroupsItemSetsItemTermsCountRequestBuilder) { return NewGroupsItemSetsItemTermsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of a term object. +// Get all the terms under the set. // returns a TermCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *GroupsItemSetsItemTermsRequestBuilder) Get(ctx context.Context, requestConfiguration *GroupsItemSetsItemTermsRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.TermCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *GroupsItemSetsItemTermsRequestBuilder) Post(ctx context.Context, body i } return res.(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable), nil } -// ToGetRequestInformation read the properties and relationships of a term object. +// ToGetRequestInformation all the terms under the set. // returns a *RequestInformation when successful func (m *GroupsItemSetsItemTermsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *GroupsItemSetsItemTermsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/termstore/groups_item_sets_item_terms_term_item_request_builder.go b/termstore/groups_item_sets_item_terms_term_item_request_builder.go index 1c1edad5f41..60c82758337 100644 --- a/termstore/groups_item_sets_item_terms_term_item_request_builder.go +++ b/termstore/groups_item_sets_item_terms_term_item_request_builder.go @@ -18,7 +18,7 @@ type GroupsItemSetsItemTermsTermItemRequestBuilderDeleteRequestConfiguration str // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// GroupsItemSetsItemTermsTermItemRequestBuilderGetQueryParameters read the properties and relationships of a term object. +// GroupsItemSetsItemTermsTermItemRequestBuilderGetQueryParameters all the terms under the set. type GroupsItemSetsItemTermsTermItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewGroupsItemSetsItemTermsTermItemRequestBuilder(rawUrl string, requestAdap urlParams["request-raw-url"] = rawUrl return NewGroupsItemSetsItemTermsTermItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a term object. +// Delete delete navigation property terms for termStore // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-term-delete?view=graph-rest-1.0 func (m *GroupsItemSetsItemTermsTermItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *GroupsItemSetsItemTermsTermItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *GroupsItemSetsItemTermsTermItemRequestBuilder) Delete(ctx context.Conte } return nil } -// Get read the properties and relationships of a term object. +// Get all the terms under the set. // returns a Termable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-term-get?view=graph-rest-1.0 func (m *GroupsItemSetsItemTermsTermItemRequestBuilder) Get(ctx context.Context, requestConfiguration *GroupsItemSetsItemTermsTermItemRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,12 +95,9 @@ func (m *GroupsItemSetsItemTermsTermItemRequestBuilder) Get(ctx context.Context, } return res.(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable), nil } -// Patch update the properties of a term object. +// Patch update the navigation property terms in termStore // returns a Termable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-term-update?view=graph-rest-1.0 func (m *GroupsItemSetsItemTermsTermItemRequestBuilder) Patch(ctx context.Context, body i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, requestConfiguration *GroupsItemSetsItemTermsTermItemRequestBuilderPatchRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -134,7 +125,7 @@ func (m *GroupsItemSetsItemTermsTermItemRequestBuilder) Relations()(*GroupsItemS func (m *GroupsItemSetsItemTermsTermItemRequestBuilder) Set()(*GroupsItemSetsItemTermsItemSetRequestBuilder) { return NewGroupsItemSetsItemTermsItemSetRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a term object. +// ToDeleteRequestInformation delete navigation property terms for termStore // returns a *RequestInformation when successful func (m *GroupsItemSetsItemTermsTermItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *GroupsItemSetsItemTermsTermItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -145,7 +136,7 @@ func (m *GroupsItemSetsItemTermsTermItemRequestBuilder) ToDeleteRequestInformati requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a term object. +// ToGetRequestInformation all the terms under the set. // returns a *RequestInformation when successful func (m *GroupsItemSetsItemTermsTermItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *GroupsItemSetsItemTermsTermItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -159,7 +150,7 @@ func (m *GroupsItemSetsItemTermsTermItemRequestBuilder) ToGetRequestInformation( requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a term object. +// ToPatchRequestInformation update the navigation property terms in termStore // returns a *RequestInformation when successful func (m *GroupsItemSetsItemTermsTermItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, requestConfiguration *GroupsItemSetsItemTermsTermItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/termstore/groups_item_sets_request_builder.go b/termstore/groups_item_sets_request_builder.go index 32464eafabe..b8385644501 100644 --- a/termstore/groups_item_sets_request_builder.go +++ b/termstore/groups_item_sets_request_builder.go @@ -11,7 +11,7 @@ import ( type GroupsItemSetsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// GroupsItemSetsRequestBuilderGetQueryParameters get a list of the set objects and their properties. +// GroupsItemSetsRequestBuilderGetQueryParameters all sets under the group in a term [store]. type GroupsItemSetsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewGroupsItemSetsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7dae func (m *GroupsItemSetsRequestBuilder) Count()(*GroupsItemSetsCountRequestBuilder) { return NewGroupsItemSetsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the set objects and their properties. +// Get all sets under the group in a term [store]. // returns a SetCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-group-list-sets?view=graph-rest-1.0 func (m *GroupsItemSetsRequestBuilder) Get(ctx context.Context, requestConfiguration *GroupsItemSetsRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.SetCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *GroupsItemSetsRequestBuilder) Post(ctx context.Context, body i45fc41673 } return res.(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Setable), nil } -// ToGetRequestInformation get a list of the set objects and their properties. +// ToGetRequestInformation all sets under the group in a term [store]. // returns a *RequestInformation when successful func (m *GroupsItemSetsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *GroupsItemSetsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/termstore/groups_request_builder.go b/termstore/groups_request_builder.go index 4e7eaaedfbe..702785d0f1c 100644 --- a/termstore/groups_request_builder.go +++ b/termstore/groups_request_builder.go @@ -11,7 +11,7 @@ import ( type GroupsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// GroupsRequestBuilderGetQueryParameters read the properties and relationships of a term store group object. +// GroupsRequestBuilderGetQueryParameters collection of all groups available in the term store. type GroupsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewGroupsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371c func (m *GroupsRequestBuilder) Count()(*GroupsCountRequestBuilder) { return NewGroupsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of a term store group object. +// Get collection of all groups available in the term store. // returns a GroupCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-list-groups?view=graph-rest-1.0 func (m *GroupsRequestBuilder) Get(ctx context.Context, requestConfiguration *GroupsRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.GroupCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *GroupsRequestBuilder) Get(ctx context.Context, requestConfiguration *Gr } return res.(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.GroupCollectionResponseable), nil } -// Post create a new group object. +// Post create new navigation property to groups for termStore // 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/termstore-group-post?view=graph-rest-1.0 func (m *GroupsRequestBuilder) Post(ctx context.Context, body i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Groupable, requestConfiguration *GroupsRequestBuilderPostRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Groupable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *GroupsRequestBuilder) Post(ctx context.Context, body i45fc41673b99130d8 } return res.(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Groupable), nil } -// ToGetRequestInformation read the properties and relationships of a term store group object. +// ToGetRequestInformation collection of all groups available in the term store. // returns a *RequestInformation when successful func (m *GroupsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *GroupsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *GroupsRequestBuilder) ToGetRequestInformation(ctx context.Context, requ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new group object. +// ToPostRequestInformation create new navigation property to groups for termStore // returns a *RequestInformation when successful func (m *GroupsRequestBuilder) ToPostRequestInformation(ctx context.Context, body i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Groupable, requestConfiguration *GroupsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/termstore/sets_item_children_request_builder.go b/termstore/sets_item_children_request_builder.go index 6c0b3767f6f..330b947d643 100644 --- a/termstore/sets_item_children_request_builder.go +++ b/termstore/sets_item_children_request_builder.go @@ -11,7 +11,7 @@ import ( type SetsItemChildrenRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// SetsItemChildrenRequestBuilderGetQueryParameters get the first level children of a [set] or [term] resource using the children navigation property. +// SetsItemChildrenRequestBuilderGetQueryParameters children terms of set in term [store]. type SetsItemChildrenRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewSetsItemChildrenRequestBuilder(rawUrl string, requestAdapter i2ae4187f7d func (m *SetsItemChildrenRequestBuilder) Count()(*SetsItemChildrenCountRequestBuilder) { return NewSetsItemChildrenCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the first level children of a [set] or [term] resource using the children navigation property. +// Get children terms of set in term [store]. // returns a TermCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-term-list-children?view=graph-rest-1.0 func (m *SetsItemChildrenRequestBuilder) Get(ctx context.Context, requestConfiguration *SetsItemChildrenRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.TermCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *SetsItemChildrenRequestBuilder) Get(ctx context.Context, requestConfigu } return res.(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.TermCollectionResponseable), nil } -// Post create a new term object. +// Post create new navigation property to children for termStore // returns a Termable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-term-post?view=graph-rest-1.0 func (m *SetsItemChildrenRequestBuilder) Post(ctx context.Context, body i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, requestConfiguration *SetsItemChildrenRequestBuilderPostRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *SetsItemChildrenRequestBuilder) Post(ctx context.Context, body i45fc416 } return res.(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable), nil } -// ToGetRequestInformation get the first level children of a [set] or [term] resource using the children navigation property. +// ToGetRequestInformation children terms of set in term [store]. // returns a *RequestInformation when successful func (m *SetsItemChildrenRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SetsItemChildrenRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *SetsItemChildrenRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new term object. +// ToPostRequestInformation create new navigation property to children for termStore // returns a *RequestInformation when successful func (m *SetsItemChildrenRequestBuilder) ToPostRequestInformation(ctx context.Context, body i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, requestConfiguration *SetsItemChildrenRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/termstore/sets_item_parent_group_sets_item_children_request_builder.go b/termstore/sets_item_parent_group_sets_item_children_request_builder.go index c40ed540fac..7e65976c8dc 100644 --- a/termstore/sets_item_parent_group_sets_item_children_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_children_request_builder.go @@ -11,7 +11,7 @@ import ( type SetsItemParentGroupSetsItemChildrenRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// SetsItemParentGroupSetsItemChildrenRequestBuilderGetQueryParameters get the first level children of a [set] or [term] resource using the children navigation property. +// SetsItemParentGroupSetsItemChildrenRequestBuilderGetQueryParameters children terms of set in term [store]. type SetsItemParentGroupSetsItemChildrenRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewSetsItemParentGroupSetsItemChildrenRequestBuilder(rawUrl string, request func (m *SetsItemParentGroupSetsItemChildrenRequestBuilder) Count()(*SetsItemParentGroupSetsItemChildrenCountRequestBuilder) { return NewSetsItemParentGroupSetsItemChildrenCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the first level children of a [set] or [term] resource using the children navigation property. +// Get children terms of set in term [store]. // returns a TermCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-term-list-children?view=graph-rest-1.0 func (m *SetsItemParentGroupSetsItemChildrenRequestBuilder) Get(ctx context.Context, requestConfiguration *SetsItemParentGroupSetsItemChildrenRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.TermCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *SetsItemParentGroupSetsItemChildrenRequestBuilder) Get(ctx context.Cont } return res.(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.TermCollectionResponseable), nil } -// Post create a new term object. +// Post create new navigation property to children for termStore // returns a Termable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-term-post?view=graph-rest-1.0 func (m *SetsItemParentGroupSetsItemChildrenRequestBuilder) Post(ctx context.Context, body i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, requestConfiguration *SetsItemParentGroupSetsItemChildrenRequestBuilderPostRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *SetsItemParentGroupSetsItemChildrenRequestBuilder) Post(ctx context.Con } return res.(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable), nil } -// ToGetRequestInformation get the first level children of a [set] or [term] resource using the children navigation property. +// ToGetRequestInformation children terms of set in term [store]. // returns a *RequestInformation when successful func (m *SetsItemParentGroupSetsItemChildrenRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SetsItemParentGroupSetsItemChildrenRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *SetsItemParentGroupSetsItemChildrenRequestBuilder) ToGetRequestInformat requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new term object. +// ToPostRequestInformation create new navigation property to children for termStore // returns a *RequestInformation when successful func (m *SetsItemParentGroupSetsItemChildrenRequestBuilder) ToPostRequestInformation(ctx context.Context, body i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, requestConfiguration *SetsItemParentGroupSetsItemChildrenRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/termstore/sets_item_parent_group_sets_item_relations_request_builder.go b/termstore/sets_item_parent_group_sets_item_relations_request_builder.go index 5fa3b5f034e..24473cb58f4 100644 --- a/termstore/sets_item_parent_group_sets_item_relations_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_relations_request_builder.go @@ -11,7 +11,7 @@ import ( type SetsItemParentGroupSetsItemRelationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// SetsItemParentGroupSetsItemRelationsRequestBuilderGetQueryParameters get the different relation of a [term] or [set] from the relations navigation property. +// SetsItemParentGroupSetsItemRelationsRequestBuilderGetQueryParameters indicates which terms have been pinned or reused directly under the set. type SetsItemParentGroupSetsItemRelationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewSetsItemParentGroupSetsItemRelationsRequestBuilder(rawUrl string, reques func (m *SetsItemParentGroupSetsItemRelationsRequestBuilder) Count()(*SetsItemParentGroupSetsItemRelationsCountRequestBuilder) { return NewSetsItemParentGroupSetsItemRelationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the different relation of a [term] or [set] from the relations navigation property. +// Get indicates which terms have been pinned or reused directly under the set. // returns a RelationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-term-list-relations?view=graph-rest-1.0 func (m *SetsItemParentGroupSetsItemRelationsRequestBuilder) Get(ctx context.Context, requestConfiguration *SetsItemParentGroupSetsItemRelationsRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.RelationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *SetsItemParentGroupSetsItemRelationsRequestBuilder) Post(ctx context.Co } return res.(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Relationable), nil } -// ToGetRequestInformation get the different relation of a [term] or [set] from the relations navigation property. +// ToGetRequestInformation indicates which terms have been pinned or reused directly under the set. // returns a *RequestInformation when successful func (m *SetsItemParentGroupSetsItemRelationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SetsItemParentGroupSetsItemRelationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/termstore/sets_item_parent_group_sets_item_terms_request_builder.go b/termstore/sets_item_parent_group_sets_item_terms_request_builder.go index 5fc9e87d890..0b6bb0b3414 100644 --- a/termstore/sets_item_parent_group_sets_item_terms_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_terms_request_builder.go @@ -11,7 +11,7 @@ import ( type SetsItemParentGroupSetsItemTermsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// SetsItemParentGroupSetsItemTermsRequestBuilderGetQueryParameters read the properties and relationships of a term object. +// SetsItemParentGroupSetsItemTermsRequestBuilderGetQueryParameters all the terms under the set. type SetsItemParentGroupSetsItemTermsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewSetsItemParentGroupSetsItemTermsRequestBuilder(rawUrl string, requestAda func (m *SetsItemParentGroupSetsItemTermsRequestBuilder) Count()(*SetsItemParentGroupSetsItemTermsCountRequestBuilder) { return NewSetsItemParentGroupSetsItemTermsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of a term object. +// Get all the terms under the set. // returns a TermCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *SetsItemParentGroupSetsItemTermsRequestBuilder) Get(ctx context.Context, requestConfiguration *SetsItemParentGroupSetsItemTermsRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.TermCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *SetsItemParentGroupSetsItemTermsRequestBuilder) Post(ctx context.Contex } return res.(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable), nil } -// ToGetRequestInformation read the properties and relationships of a term object. +// ToGetRequestInformation all the terms under the set. // returns a *RequestInformation when successful func (m *SetsItemParentGroupSetsItemTermsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SetsItemParentGroupSetsItemTermsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/termstore/sets_item_parent_group_sets_item_terms_term_item_request_builder.go b/termstore/sets_item_parent_group_sets_item_terms_term_item_request_builder.go index 25ff298be40..41935c41be5 100644 --- a/termstore/sets_item_parent_group_sets_item_terms_term_item_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_terms_term_item_request_builder.go @@ -18,7 +18,7 @@ type SetsItemParentGroupSetsItemTermsTermItemRequestBuilderDeleteRequestConfigur // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// SetsItemParentGroupSetsItemTermsTermItemRequestBuilderGetQueryParameters read the properties and relationships of a term object. +// SetsItemParentGroupSetsItemTermsTermItemRequestBuilderGetQueryParameters all the terms under the set. type SetsItemParentGroupSetsItemTermsTermItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewSetsItemParentGroupSetsItemTermsTermItemRequestBuilder(rawUrl string, re urlParams["request-raw-url"] = rawUrl return NewSetsItemParentGroupSetsItemTermsTermItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a term object. +// Delete delete navigation property terms for termStore // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-term-delete?view=graph-rest-1.0 func (m *SetsItemParentGroupSetsItemTermsTermItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *SetsItemParentGroupSetsItemTermsTermItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *SetsItemParentGroupSetsItemTermsTermItemRequestBuilder) Delete(ctx cont } return nil } -// Get read the properties and relationships of a term object. +// Get all the terms under the set. // returns a Termable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-term-get?view=graph-rest-1.0 func (m *SetsItemParentGroupSetsItemTermsTermItemRequestBuilder) Get(ctx context.Context, requestConfiguration *SetsItemParentGroupSetsItemTermsTermItemRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,12 +95,9 @@ func (m *SetsItemParentGroupSetsItemTermsTermItemRequestBuilder) Get(ctx context } return res.(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable), nil } -// Patch update the properties of a term object. +// Patch update the navigation property terms in termStore // returns a Termable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-term-update?view=graph-rest-1.0 func (m *SetsItemParentGroupSetsItemTermsTermItemRequestBuilder) Patch(ctx context.Context, body i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, requestConfiguration *SetsItemParentGroupSetsItemTermsTermItemRequestBuilderPatchRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -134,7 +125,7 @@ func (m *SetsItemParentGroupSetsItemTermsTermItemRequestBuilder) Relations()(*Se func (m *SetsItemParentGroupSetsItemTermsTermItemRequestBuilder) Set()(*SetsItemParentGroupSetsItemTermsItemSetRequestBuilder) { return NewSetsItemParentGroupSetsItemTermsItemSetRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a term object. +// ToDeleteRequestInformation delete navigation property terms for termStore // returns a *RequestInformation when successful func (m *SetsItemParentGroupSetsItemTermsTermItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *SetsItemParentGroupSetsItemTermsTermItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -145,7 +136,7 @@ func (m *SetsItemParentGroupSetsItemTermsTermItemRequestBuilder) ToDeleteRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a term object. +// ToGetRequestInformation all the terms under the set. // returns a *RequestInformation when successful func (m *SetsItemParentGroupSetsItemTermsTermItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SetsItemParentGroupSetsItemTermsTermItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -159,7 +150,7 @@ func (m *SetsItemParentGroupSetsItemTermsTermItemRequestBuilder) ToGetRequestInf requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a term object. +// ToPatchRequestInformation update the navigation property terms in termStore // returns a *RequestInformation when successful func (m *SetsItemParentGroupSetsItemTermsTermItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, requestConfiguration *SetsItemParentGroupSetsItemTermsTermItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/termstore/sets_item_parent_group_sets_request_builder.go b/termstore/sets_item_parent_group_sets_request_builder.go index 7ff786ca57e..6a204312a5c 100644 --- a/termstore/sets_item_parent_group_sets_request_builder.go +++ b/termstore/sets_item_parent_group_sets_request_builder.go @@ -11,7 +11,7 @@ import ( type SetsItemParentGroupSetsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// SetsItemParentGroupSetsRequestBuilderGetQueryParameters get a list of the set objects and their properties. +// SetsItemParentGroupSetsRequestBuilderGetQueryParameters all sets under the group in a term [store]. type SetsItemParentGroupSetsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewSetsItemParentGroupSetsRequestBuilder(rawUrl string, requestAdapter i2ae func (m *SetsItemParentGroupSetsRequestBuilder) Count()(*SetsItemParentGroupSetsCountRequestBuilder) { return NewSetsItemParentGroupSetsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the set objects and their properties. +// Get all sets under the group in a term [store]. // returns a SetCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-group-list-sets?view=graph-rest-1.0 func (m *SetsItemParentGroupSetsRequestBuilder) Get(ctx context.Context, requestConfiguration *SetsItemParentGroupSetsRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.SetCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *SetsItemParentGroupSetsRequestBuilder) Post(ctx context.Context, body i } return res.(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Setable), nil } -// ToGetRequestInformation get a list of the set objects and their properties. +// ToGetRequestInformation all sets under the group in a term [store]. // returns a *RequestInformation when successful func (m *SetsItemParentGroupSetsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SetsItemParentGroupSetsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/termstore/sets_item_relations_request_builder.go b/termstore/sets_item_relations_request_builder.go index 5125762a7ec..09f2229ef68 100644 --- a/termstore/sets_item_relations_request_builder.go +++ b/termstore/sets_item_relations_request_builder.go @@ -11,7 +11,7 @@ import ( type SetsItemRelationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// SetsItemRelationsRequestBuilderGetQueryParameters get the different relation of a [term] or [set] from the relations navigation property. +// SetsItemRelationsRequestBuilderGetQueryParameters indicates which terms have been pinned or reused directly under the set. type SetsItemRelationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewSetsItemRelationsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7 func (m *SetsItemRelationsRequestBuilder) Count()(*SetsItemRelationsCountRequestBuilder) { return NewSetsItemRelationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the different relation of a [term] or [set] from the relations navigation property. +// Get indicates which terms have been pinned or reused directly under the set. // returns a RelationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-term-list-relations?view=graph-rest-1.0 func (m *SetsItemRelationsRequestBuilder) Get(ctx context.Context, requestConfiguration *SetsItemRelationsRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.RelationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *SetsItemRelationsRequestBuilder) Post(ctx context.Context, body i45fc41 } return res.(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Relationable), nil } -// ToGetRequestInformation get the different relation of a [term] or [set] from the relations navigation property. +// ToGetRequestInformation indicates which terms have been pinned or reused directly under the set. // returns a *RequestInformation when successful func (m *SetsItemRelationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SetsItemRelationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/termstore/sets_item_terms_request_builder.go b/termstore/sets_item_terms_request_builder.go index ea4ecc95426..fcbd47f11c8 100644 --- a/termstore/sets_item_terms_request_builder.go +++ b/termstore/sets_item_terms_request_builder.go @@ -11,7 +11,7 @@ import ( type SetsItemTermsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// SetsItemTermsRequestBuilderGetQueryParameters read the properties and relationships of a term object. +// SetsItemTermsRequestBuilderGetQueryParameters all the terms under the set. type SetsItemTermsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewSetsItemTermsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee func (m *SetsItemTermsRequestBuilder) Count()(*SetsItemTermsCountRequestBuilder) { return NewSetsItemTermsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of a term object. +// Get all the terms under the set. // returns a TermCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *SetsItemTermsRequestBuilder) Get(ctx context.Context, requestConfiguration *SetsItemTermsRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.TermCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *SetsItemTermsRequestBuilder) Post(ctx context.Context, body i45fc41673b } return res.(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable), nil } -// ToGetRequestInformation read the properties and relationships of a term object. +// ToGetRequestInformation all the terms under the set. // returns a *RequestInformation when successful func (m *SetsItemTermsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SetsItemTermsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/termstore/sets_item_terms_term_item_request_builder.go b/termstore/sets_item_terms_term_item_request_builder.go index 23634e84e50..bdbe5b17e48 100644 --- a/termstore/sets_item_terms_term_item_request_builder.go +++ b/termstore/sets_item_terms_term_item_request_builder.go @@ -18,7 +18,7 @@ type SetsItemTermsTermItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// SetsItemTermsTermItemRequestBuilderGetQueryParameters read the properties and relationships of a term object. +// SetsItemTermsTermItemRequestBuilderGetQueryParameters all the terms under the set. type SetsItemTermsTermItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewSetsItemTermsTermItemRequestBuilder(rawUrl string, requestAdapter i2ae41 urlParams["request-raw-url"] = rawUrl return NewSetsItemTermsTermItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a term object. +// Delete delete navigation property terms for termStore // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-term-delete?view=graph-rest-1.0 func (m *SetsItemTermsTermItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *SetsItemTermsTermItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *SetsItemTermsTermItemRequestBuilder) Delete(ctx context.Context, reques } return nil } -// Get read the properties and relationships of a term object. +// Get all the terms under the set. // returns a Termable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-term-get?view=graph-rest-1.0 func (m *SetsItemTermsTermItemRequestBuilder) Get(ctx context.Context, requestConfiguration *SetsItemTermsTermItemRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,12 +95,9 @@ func (m *SetsItemTermsTermItemRequestBuilder) Get(ctx context.Context, requestCo } return res.(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable), nil } -// Patch update the properties of a term object. +// Patch update the navigation property terms in termStore // returns a Termable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-term-update?view=graph-rest-1.0 func (m *SetsItemTermsTermItemRequestBuilder) Patch(ctx context.Context, body i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, requestConfiguration *SetsItemTermsTermItemRequestBuilderPatchRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -134,7 +125,7 @@ func (m *SetsItemTermsTermItemRequestBuilder) Relations()(*SetsItemTermsItemRela func (m *SetsItemTermsTermItemRequestBuilder) Set()(*SetsItemTermsItemSetRequestBuilder) { return NewSetsItemTermsItemSetRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a term object. +// ToDeleteRequestInformation delete navigation property terms for termStore // returns a *RequestInformation when successful func (m *SetsItemTermsTermItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *SetsItemTermsTermItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -145,7 +136,7 @@ func (m *SetsItemTermsTermItemRequestBuilder) ToDeleteRequestInformation(ctx con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a term object. +// ToGetRequestInformation all the terms under the set. // returns a *RequestInformation when successful func (m *SetsItemTermsTermItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SetsItemTermsTermItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -159,7 +150,7 @@ func (m *SetsItemTermsTermItemRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a term object. +// ToPatchRequestInformation update the navigation property terms in termStore // returns a *RequestInformation when successful func (m *SetsItemTermsTermItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Termable, requestConfiguration *SetsItemTermsTermItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/termstore/sets_request_builder.go b/termstore/sets_request_builder.go index c052cc1216a..d42713e6eac 100644 --- a/termstore/sets_request_builder.go +++ b/termstore/sets_request_builder.go @@ -11,7 +11,7 @@ import ( type SetsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// SetsRequestBuilderGetQueryParameters read the properties and relationships of a set object. +// SetsRequestBuilderGetQueryParameters collection of all sets available in the term store. type SetsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewSetsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1 func (m *SetsRequestBuilder) Count()(*SetsCountRequestBuilder) { return NewSetsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of a set object. +// Get collection of all sets available in the term store. // returns a SetCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *SetsRequestBuilder) Get(ctx context.Context, requestConfiguration *SetsRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.SetCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *SetsRequestBuilder) Post(ctx context.Context, body i45fc41673b99130d86c } return res.(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Setable), nil } -// ToGetRequestInformation read the properties and relationships of a set object. +// ToGetRequestInformation collection of all sets available in the term store. // returns a *RequestInformation when successful func (m *SetsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SetsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/termstore/sets_set_item_request_builder.go b/termstore/sets_set_item_request_builder.go index 6b656c927c0..e9dc1722e98 100644 --- a/termstore/sets_set_item_request_builder.go +++ b/termstore/sets_set_item_request_builder.go @@ -18,7 +18,7 @@ type SetsSetItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// SetsSetItemRequestBuilderGetQueryParameters read the properties and relationships of a set object. +// SetsSetItemRequestBuilderGetQueryParameters collection of all sets available in the term store. type SetsSetItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewSetsSetItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 urlParams["request-raw-url"] = rawUrl return NewSetsSetItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a set object. +// Delete delete navigation property sets for termStore // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-set-delete?view=graph-rest-1.0 func (m *SetsSetItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *SetsSetItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *SetsSetItemRequestBuilder) Delete(ctx context.Context, requestConfigura } return nil } -// Get read the properties and relationships of a set object. +// Get collection of all sets available in the term store. // returns a Setable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-set-get?view=graph-rest-1.0 func (m *SetsSetItemRequestBuilder) Get(ctx context.Context, requestConfiguration *SetsSetItemRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Setable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -106,12 +100,9 @@ func (m *SetsSetItemRequestBuilder) Get(ctx context.Context, requestConfiguratio func (m *SetsSetItemRequestBuilder) ParentGroup()(*SetsItemParentGroupRequestBuilder) { return NewSetsItemParentGroupRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of a set object. +// Patch update the navigation property sets in termStore // returns a Setable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-set-update?view=graph-rest-1.0 func (m *SetsSetItemRequestBuilder) Patch(ctx context.Context, body i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Setable, requestConfiguration *SetsSetItemRequestBuilderPatchRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Setable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -139,7 +130,7 @@ func (m *SetsSetItemRequestBuilder) Relations()(*SetsItemRelationsRequestBuilder func (m *SetsSetItemRequestBuilder) Terms()(*SetsItemTermsRequestBuilder) { return NewSetsItemTermsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a set object. +// ToDeleteRequestInformation delete navigation property sets for termStore // returns a *RequestInformation when successful func (m *SetsSetItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *SetsSetItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -150,7 +141,7 @@ func (m *SetsSetItemRequestBuilder) ToDeleteRequestInformation(ctx context.Conte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a set object. +// ToGetRequestInformation collection of all sets available in the term store. // returns a *RequestInformation when successful func (m *SetsSetItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SetsSetItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -164,7 +155,7 @@ func (m *SetsSetItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a set object. +// ToPatchRequestInformation update the navigation property sets in termStore // returns a *RequestInformation when successful func (m *SetsSetItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Setable, requestConfiguration *SetsSetItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/termstore/term_store_request_builder.go b/termstore/term_store_request_builder.go index f719fc1b19e..3fe37448b0e 100644 --- a/termstore/term_store_request_builder.go +++ b/termstore/term_store_request_builder.go @@ -52,7 +52,7 @@ func NewTermStoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee2633 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-store-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-store-get?view=graph-rest-beta func (m *TermStoreRequestBuilder) Get(ctx context.Context, requestConfiguration *TermStoreRequestBuilderGetRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Storeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -80,7 +80,7 @@ func (m *TermStoreRequestBuilder) Groups()(*GroupsRequestBuilder) { // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-store-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/termstore-store-update?view=graph-rest-beta func (m *TermStoreRequestBuilder) Patch(ctx context.Context, body i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Storeable, requestConfiguration *TermStoreRequestBuilderPatchRequestConfiguration)(i45fc41673b99130d86c1854da651a8f416ed902eef3acbecd5738f9ef72690a8.Storeable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/threatsubmission/email_threat_submission_policies_email_threat_submission_policy_item_request_builder.go b/threatsubmission/email_threat_submission_policies_email_threat_submission_policy_item_request_builder.go index e6714159b8a..1eaaa63f608 100644 --- a/threatsubmission/email_threat_submission_policies_email_threat_submission_policy_item_request_builder.go +++ b/threatsubmission/email_threat_submission_policies_email_threat_submission_policy_item_request_builder.go @@ -18,7 +18,7 @@ type EmailThreatSubmissionPoliciesEmailThreatSubmissionPolicyItemRequestBuilderD // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EmailThreatSubmissionPoliciesEmailThreatSubmissionPolicyItemRequestBuilderGetQueryParameters read the properties and relationships of an emailThreatSubmissionPolicy object. +// EmailThreatSubmissionPoliciesEmailThreatSubmissionPolicyItemRequestBuilderGetQueryParameters get emailThreatSubmissionPolicies from threatSubmission type EmailThreatSubmissionPoliciesEmailThreatSubmissionPolicyItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *EmailThreatSubmissionPoliciesEmailThreatSubmissionPolicyItemRequestBuil } return nil } -// Get read the properties and relationships of an emailThreatSubmissionPolicy object. +// Get get emailThreatSubmissionPolicies from threatSubmission // returns a EmailThreatSubmissionPolicyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-emailthreatsubmissionpolicy-get?view=graph-rest-1.0 func (m *EmailThreatSubmissionPoliciesEmailThreatSubmissionPolicyItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EmailThreatSubmissionPoliciesEmailThreatSubmissionPolicyItemRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EmailThreatSubmissionPolicyable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *EmailThreatSubmissionPoliciesEmailThreatSubmissionPolicyItemRequestBuil requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an emailThreatSubmissionPolicy object. +// ToGetRequestInformation get emailThreatSubmissionPolicies from threatSubmission // returns a *RequestInformation when successful func (m *EmailThreatSubmissionPoliciesEmailThreatSubmissionPolicyItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EmailThreatSubmissionPoliciesEmailThreatSubmissionPolicyItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/threatsubmission/email_threat_submission_policies_request_builder.go b/threatsubmission/email_threat_submission_policies_request_builder.go index 24ba91ec9a9..4e2c8faa090 100644 --- a/threatsubmission/email_threat_submission_policies_request_builder.go +++ b/threatsubmission/email_threat_submission_policies_request_builder.go @@ -11,7 +11,7 @@ import ( type EmailThreatSubmissionPoliciesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EmailThreatSubmissionPoliciesRequestBuilderGetQueryParameters get a list of the emailThreatSubmissionPolicy objects and their properties. +// EmailThreatSubmissionPoliciesRequestBuilderGetQueryParameters get emailThreatSubmissionPolicies from threatSubmission type EmailThreatSubmissionPoliciesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewEmailThreatSubmissionPoliciesRequestBuilder(rawUrl string, requestAdapte func (m *EmailThreatSubmissionPoliciesRequestBuilder) Count()(*EmailThreatSubmissionPoliciesCountRequestBuilder) { return NewEmailThreatSubmissionPoliciesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the emailThreatSubmissionPolicy objects and their properties. +// Get get emailThreatSubmissionPolicies from threatSubmission // returns a EmailThreatSubmissionPolicyCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-emailthreatsubmissionpolicy-list?view=graph-rest-1.0 func (m *EmailThreatSubmissionPoliciesRequestBuilder) Get(ctx context.Context, requestConfiguration *EmailThreatSubmissionPoliciesRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EmailThreatSubmissionPolicyCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *EmailThreatSubmissionPoliciesRequestBuilder) Post(ctx context.Context, } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EmailThreatSubmissionPolicyable), nil } -// ToGetRequestInformation get a list of the emailThreatSubmissionPolicy objects and their properties. +// ToGetRequestInformation get emailThreatSubmissionPolicies from threatSubmission // returns a *RequestInformation when successful func (m *EmailThreatSubmissionPoliciesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EmailThreatSubmissionPoliciesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/threatsubmission/email_threats_email_threat_submission_item_request_builder.go b/threatsubmission/email_threats_email_threat_submission_item_request_builder.go index 61d1f208001..36bf280ca88 100644 --- a/threatsubmission/email_threats_email_threat_submission_item_request_builder.go +++ b/threatsubmission/email_threats_email_threat_submission_item_request_builder.go @@ -18,7 +18,7 @@ type EmailThreatsEmailThreatSubmissionItemRequestBuilderDeleteRequestConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EmailThreatsEmailThreatSubmissionItemRequestBuilderGetQueryParameters read the properties and relationships of an emailThreatSubmission object. +// EmailThreatsEmailThreatSubmissionItemRequestBuilderGetQueryParameters get emailThreats from threatSubmission type EmailThreatsEmailThreatSubmissionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *EmailThreatsEmailThreatSubmissionItemRequestBuilder) Delete(ctx context } return nil } -// Get read the properties and relationships of an emailThreatSubmission object. +// Get get emailThreats from threatSubmission // returns a EmailThreatSubmissionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-emailthreatsubmission-get?view=graph-rest-1.0 func (m *EmailThreatsEmailThreatSubmissionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EmailThreatsEmailThreatSubmissionItemRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EmailThreatSubmissionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *EmailThreatsEmailThreatSubmissionItemRequestBuilder) ToDeleteRequestInf requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an emailThreatSubmission object. +// ToGetRequestInformation get emailThreats from threatSubmission // returns a *RequestInformation when successful func (m *EmailThreatsEmailThreatSubmissionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EmailThreatsEmailThreatSubmissionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/threatsubmission/email_threats_request_builder.go b/threatsubmission/email_threats_request_builder.go index a29673b2d4c..13d19235bd0 100644 --- a/threatsubmission/email_threats_request_builder.go +++ b/threatsubmission/email_threats_request_builder.go @@ -11,7 +11,7 @@ import ( type EmailThreatsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EmailThreatsRequestBuilderGetQueryParameters get a list of the emailThreatSubmission objects and their properties. +// EmailThreatsRequestBuilderGetQueryParameters get emailThreats from threatSubmission type EmailThreatsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewEmailThreatsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee2 func (m *EmailThreatsRequestBuilder) Count()(*EmailThreatsCountRequestBuilder) { return NewEmailThreatsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the emailThreatSubmission objects and their properties. +// Get get emailThreats from threatSubmission // returns a EmailThreatSubmissionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-emailthreatsubmission-list?view=graph-rest-1.0 func (m *EmailThreatsRequestBuilder) Get(ctx context.Context, requestConfiguration *EmailThreatsRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EmailThreatSubmissionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *EmailThreatsRequestBuilder) Get(ctx context.Context, requestConfigurati } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EmailThreatSubmissionCollectionResponseable), nil } -// Post create a new emailThreatSubmission object. +// Post create new navigation property to emailThreats for threatSubmission // returns a EmailThreatSubmissionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-emailthreatsubmission-post-emailthreats?view=graph-rest-1.0 func (m *EmailThreatsRequestBuilder) Post(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EmailThreatSubmissionable, requestConfiguration *EmailThreatsRequestBuilderPostRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EmailThreatSubmissionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *EmailThreatsRequestBuilder) Post(ctx context.Context, body i084fa7ab3bb } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EmailThreatSubmissionable), nil } -// ToGetRequestInformation get a list of the emailThreatSubmission objects and their properties. +// ToGetRequestInformation get emailThreats from threatSubmission // returns a *RequestInformation when successful func (m *EmailThreatsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EmailThreatsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *EmailThreatsRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new emailThreatSubmission object. +// ToPostRequestInformation create new navigation property to emailThreats for threatSubmission // returns a *RequestInformation when successful func (m *EmailThreatsRequestBuilder) ToPostRequestInformation(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EmailThreatSubmissionable, requestConfiguration *EmailThreatsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/threatsubmission/file_threats_file_threat_submission_item_request_builder.go b/threatsubmission/file_threats_file_threat_submission_item_request_builder.go index 2e729f1238d..db548e20562 100644 --- a/threatsubmission/file_threats_file_threat_submission_item_request_builder.go +++ b/threatsubmission/file_threats_file_threat_submission_item_request_builder.go @@ -18,7 +18,7 @@ type FileThreatsFileThreatSubmissionItemRequestBuilderDeleteRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// FileThreatsFileThreatSubmissionItemRequestBuilderGetQueryParameters read the properties and relationships of a fileThreatSubmission object. +// FileThreatsFileThreatSubmissionItemRequestBuilderGetQueryParameters get fileThreats from threatSubmission type FileThreatsFileThreatSubmissionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *FileThreatsFileThreatSubmissionItemRequestBuilder) Delete(ctx context.C } return nil } -// Get read the properties and relationships of a fileThreatSubmission object. +// Get get fileThreats from threatSubmission // returns a FileThreatSubmissionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-filethreatsubmission-get?view=graph-rest-1.0 func (m *FileThreatsFileThreatSubmissionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *FileThreatsFileThreatSubmissionItemRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.FileThreatSubmissionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *FileThreatsFileThreatSubmissionItemRequestBuilder) ToDeleteRequestInfor requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a fileThreatSubmission object. +// ToGetRequestInformation get fileThreats from threatSubmission // returns a *RequestInformation when successful func (m *FileThreatsFileThreatSubmissionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileThreatsFileThreatSubmissionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/threatsubmission/file_threats_request_builder.go b/threatsubmission/file_threats_request_builder.go index e7f893ebf23..81e60f57287 100644 --- a/threatsubmission/file_threats_request_builder.go +++ b/threatsubmission/file_threats_request_builder.go @@ -11,7 +11,7 @@ import ( type FileThreatsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// FileThreatsRequestBuilderGetQueryParameters get a list of the fileThreatSubmission objects and their properties. +// FileThreatsRequestBuilderGetQueryParameters get fileThreats from threatSubmission type FileThreatsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewFileThreatsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 func (m *FileThreatsRequestBuilder) Count()(*FileThreatsCountRequestBuilder) { return NewFileThreatsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the fileThreatSubmission objects and their properties. +// Get get fileThreats from threatSubmission // returns a FileThreatSubmissionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-filethreatsubmission-list?view=graph-rest-1.0 func (m *FileThreatsRequestBuilder) Get(ctx context.Context, requestConfiguration *FileThreatsRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.FileThreatSubmissionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *FileThreatsRequestBuilder) Post(ctx context.Context, body i084fa7ab3bba } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.FileThreatSubmissionable), nil } -// ToGetRequestInformation get a list of the fileThreatSubmission objects and their properties. +// ToGetRequestInformation get fileThreats from threatSubmission // returns a *RequestInformation when successful func (m *FileThreatsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileThreatsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/threatsubmission/url_threats_request_builder.go b/threatsubmission/url_threats_request_builder.go index 6b730741a8c..671b288128e 100644 --- a/threatsubmission/url_threats_request_builder.go +++ b/threatsubmission/url_threats_request_builder.go @@ -11,7 +11,7 @@ import ( type UrlThreatsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// UrlThreatsRequestBuilderGetQueryParameters get a list of the urlThreatSubmission objects and their properties. +// UrlThreatsRequestBuilderGetQueryParameters get urlThreats from threatSubmission type UrlThreatsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewUrlThreatsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263 func (m *UrlThreatsRequestBuilder) Count()(*UrlThreatsCountRequestBuilder) { return NewUrlThreatsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the urlThreatSubmission objects and their properties. +// Get get urlThreats from threatSubmission // returns a UrlThreatSubmissionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-urlthreatsubmission-list?view=graph-rest-1.0 func (m *UrlThreatsRequestBuilder) Get(ctx context.Context, requestConfiguration *UrlThreatsRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.UrlThreatSubmissionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *UrlThreatsRequestBuilder) Get(ctx context.Context, requestConfiguration } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.UrlThreatSubmissionCollectionResponseable), nil } -// Post create a new urlThreatSubmission object. +// Post create new navigation property to urlThreats for threatSubmission // returns a UrlThreatSubmissionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-urlthreatsubmission-post-urlthreats?view=graph-rest-1.0 func (m *UrlThreatsRequestBuilder) Post(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.UrlThreatSubmissionable, requestConfiguration *UrlThreatsRequestBuilderPostRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.UrlThreatSubmissionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *UrlThreatsRequestBuilder) Post(ctx context.Context, body i084fa7ab3bba8 } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.UrlThreatSubmissionable), nil } -// ToGetRequestInformation get a list of the urlThreatSubmission objects and their properties. +// ToGetRequestInformation get urlThreats from threatSubmission // returns a *RequestInformation when successful func (m *UrlThreatsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UrlThreatsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *UrlThreatsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new urlThreatSubmission object. +// ToPostRequestInformation create new navigation property to urlThreats for threatSubmission // returns a *RequestInformation when successful func (m *UrlThreatsRequestBuilder) ToPostRequestInformation(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.UrlThreatSubmissionable, requestConfiguration *UrlThreatsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/threatsubmission/url_threats_url_threat_submission_item_request_builder.go b/threatsubmission/url_threats_url_threat_submission_item_request_builder.go index 1c6d6947558..bb230698c11 100644 --- a/threatsubmission/url_threats_url_threat_submission_item_request_builder.go +++ b/threatsubmission/url_threats_url_threat_submission_item_request_builder.go @@ -18,7 +18,7 @@ type UrlThreatsUrlThreatSubmissionItemRequestBuilderDeleteRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// UrlThreatsUrlThreatSubmissionItemRequestBuilderGetQueryParameters read the properties and relationships of an urlThreatSubmission object. +// UrlThreatsUrlThreatSubmissionItemRequestBuilderGetQueryParameters get urlThreats from threatSubmission type UrlThreatsUrlThreatSubmissionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *UrlThreatsUrlThreatSubmissionItemRequestBuilder) Delete(ctx context.Con } return nil } -// Get read the properties and relationships of an urlThreatSubmission object. +// Get get urlThreats from threatSubmission // returns a UrlThreatSubmissionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-urlthreatsubmission-get?view=graph-rest-1.0 func (m *UrlThreatsUrlThreatSubmissionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *UrlThreatsUrlThreatSubmissionItemRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.UrlThreatSubmissionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *UrlThreatsUrlThreatSubmissionItemRequestBuilder) ToDeleteRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an urlThreatSubmission object. +// ToGetRequestInformation get urlThreats from threatSubmission // returns a *RequestInformation when successful func (m *UrlThreatsUrlThreatSubmissionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UrlThreatsUrlThreatSubmissionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/trustframework/key_sets_item_generate_key_request_builder.go b/trustframework/key_sets_item_generate_key_request_builder.go index 943a41d0bb0..240df15ac01 100644 --- a/trustframework/key_sets_item_generate_key_request_builder.go +++ b/trustframework/key_sets_item_generate_key_request_builder.go @@ -36,7 +36,7 @@ func NewKeySetsItemGenerateKeyRequestBuilder(rawUrl string, requestAdapter i2ae4 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/trustframeworkkeyset-generatekey?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/trustframeworkkeyset-generatekey?view=graph-rest-beta func (m *KeySetsItemGenerateKeyRequestBuilder) Post(ctx context.Context, body KeySetsItemGenerateKeyPostRequestBodyable, requestConfiguration *KeySetsItemGenerateKeyRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TrustFrameworkKeyable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/trustframework/key_sets_item_get_active_key_request_builder.go b/trustframework/key_sets_item_get_active_key_request_builder.go index 8818cd5ec8f..d3b65dffd00 100644 --- a/trustframework/key_sets_item_get_active_key_request_builder.go +++ b/trustframework/key_sets_item_get_active_key_request_builder.go @@ -31,9 +31,12 @@ func NewKeySetsItemGetActiveKeyRequestBuilder(rawUrl string, requestAdapter i2ae urlParams["request-raw-url"] = rawUrl return NewKeySetsItemGetActiveKeyRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getActiveKey +// Get get the currently active trustFrameworkKey in a trustFrameworkKeySet. Only one key is active in the keyset at a time. // returns a TrustFrameworkKeyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/trustframeworkkeyset-getactivekey?view=graph-rest-beta func (m *KeySetsItemGetActiveKeyRequestBuilder) Get(ctx context.Context, requestConfiguration *KeySetsItemGetActiveKeyRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TrustFrameworkKeyable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -51,7 +54,7 @@ func (m *KeySetsItemGetActiveKeyRequestBuilder) Get(ctx context.Context, request } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TrustFrameworkKeyable), nil } -// ToGetRequestInformation invoke function getActiveKey +// ToGetRequestInformation get the currently active trustFrameworkKey in a trustFrameworkKeySet. Only one key is active in the keyset at a time. // returns a *RequestInformation when successful func (m *KeySetsItemGetActiveKeyRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *KeySetsItemGetActiveKeyRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/trustframework/key_sets_item_upload_certificate_request_builder.go b/trustframework/key_sets_item_upload_certificate_request_builder.go index 929c952de3b..28142d1e089 100644 --- a/trustframework/key_sets_item_upload_certificate_request_builder.go +++ b/trustframework/key_sets_item_upload_certificate_request_builder.go @@ -36,7 +36,7 @@ func NewKeySetsItemUploadCertificateRequestBuilder(rawUrl string, requestAdapter // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/trustframeworkkeyset-uploadcertificate?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/trustframeworkkeyset-uploadcertificate?view=graph-rest-beta func (m *KeySetsItemUploadCertificateRequestBuilder) Post(ctx context.Context, body KeySetsItemUploadCertificatePostRequestBodyable, requestConfiguration *KeySetsItemUploadCertificateRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TrustFrameworkKeyable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/trustframework/key_sets_item_upload_pkcs12_request_builder.go b/trustframework/key_sets_item_upload_pkcs12_request_builder.go index b2abdc30803..44c14d51551 100644 --- a/trustframework/key_sets_item_upload_pkcs12_request_builder.go +++ b/trustframework/key_sets_item_upload_pkcs12_request_builder.go @@ -36,7 +36,7 @@ func NewKeySetsItemUploadPkcs12RequestBuilder(rawUrl string, requestAdapter i2ae // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/trustframeworkkeyset-uploadpkcs12?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/trustframeworkkeyset-uploadpkcs12?view=graph-rest-beta func (m *KeySetsItemUploadPkcs12RequestBuilder) Post(ctx context.Context, body KeySetsItemUploadPkcs12PostRequestBodyable, requestConfiguration *KeySetsItemUploadPkcs12RequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TrustFrameworkKeyable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/trustframework/key_sets_item_upload_secret_request_builder.go b/trustframework/key_sets_item_upload_secret_request_builder.go index 7fc85465d48..e93c0bc43d1 100644 --- a/trustframework/key_sets_item_upload_secret_request_builder.go +++ b/trustframework/key_sets_item_upload_secret_request_builder.go @@ -36,7 +36,7 @@ func NewKeySetsItemUploadSecretRequestBuilder(rawUrl string, requestAdapter i2ae // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/trustframeworkkeyset-uploadsecret?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/trustframeworkkeyset-uploadsecret?view=graph-rest-beta func (m *KeySetsItemUploadSecretRequestBuilder) Post(ctx context.Context, body KeySetsItemUploadSecretPostRequestBodyable, requestConfiguration *KeySetsItemUploadSecretRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TrustFrameworkKeyable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/trustframework/key_sets_request_builder.go b/trustframework/key_sets_request_builder.go index 078d29b55d8..7c03f82fd68 100644 --- a/trustframework/key_sets_request_builder.go +++ b/trustframework/key_sets_request_builder.go @@ -11,7 +11,7 @@ import ( type KeySetsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// KeySetsRequestBuilderGetQueryParameters retrieve a list of trustFrameworkKeySets. +// KeySetsRequestBuilderGetQueryParameters get keySets from trustFramework type KeySetsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewKeySetsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371 func (m *KeySetsRequestBuilder) Count()(*KeySetsCountRequestBuilder) { return NewKeySetsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of trustFrameworkKeySets. +// Get get keySets from trustFramework // returns a TrustFrameworkKeySetCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/trustframework-list-keysets?view=graph-rest-1.0 func (m *KeySetsRequestBuilder) Get(ctx context.Context, requestConfiguration *KeySetsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TrustFrameworkKeySetCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *KeySetsRequestBuilder) Get(ctx context.Context, requestConfiguration *K } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TrustFrameworkKeySetCollectionResponseable), nil } -// Post create a new trustFrameworkKeySet. The ID of the trustFrameworkKeySet is expected in the create request; however, it can be modified by the service. The modified ID will be available in the response and in the location header. +// Post create new navigation property to keySets for trustFramework // returns a TrustFrameworkKeySetable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/trustframework-post-keysets?view=graph-rest-1.0 func (m *KeySetsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TrustFrameworkKeySetable, requestConfiguration *KeySetsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TrustFrameworkKeySetable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *KeySetsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TrustFrameworkKeySetable), nil } -// ToGetRequestInformation retrieve a list of trustFrameworkKeySets. +// ToGetRequestInformation get keySets from trustFramework // returns a *RequestInformation when successful func (m *KeySetsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *KeySetsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *KeySetsRequestBuilder) ToGetRequestInformation(ctx context.Context, req requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new trustFrameworkKeySet. The ID of the trustFrameworkKeySet is expected in the create request; however, it can be modified by the service. The modified ID will be available in the response and in the location header. +// ToPostRequestInformation create new navigation property to keySets for trustFramework // returns a *RequestInformation when successful func (m *KeySetsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TrustFrameworkKeySetable, requestConfiguration *KeySetsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/trustframework/key_sets_trust_framework_key_set_item_request_builder.go b/trustframework/key_sets_trust_framework_key_set_item_request_builder.go index fce0fbb0dac..bee51e5566e 100644 --- a/trustframework/key_sets_trust_framework_key_set_item_request_builder.go +++ b/trustframework/key_sets_trust_framework_key_set_item_request_builder.go @@ -18,7 +18,7 @@ type KeySetsTrustFrameworkKeySetItemRequestBuilderDeleteRequestConfiguration str // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// KeySetsTrustFrameworkKeySetItemRequestBuilderGetQueryParameters retrieve the properties and associations for a Trustframeworkkeyset. +// KeySetsTrustFrameworkKeySetItemRequestBuilderGetQueryParameters get keySets from trustFramework type KeySetsTrustFrameworkKeySetItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewKeySetsTrustFrameworkKeySetItemRequestBuilder(rawUrl string, requestAdap urlParams["request-raw-url"] = rawUrl return NewKeySetsTrustFrameworkKeySetItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a trustFrameworkKeySet. +// Delete delete navigation property keySets for trustFramework // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/trustframeworkkeyset-delete?view=graph-rest-1.0 func (m *KeySetsTrustFrameworkKeySetItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *KeySetsTrustFrameworkKeySetItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *KeySetsTrustFrameworkKeySetItemRequestBuilder) Delete(ctx context.Conte func (m *KeySetsTrustFrameworkKeySetItemRequestBuilder) GenerateKey()(*KeySetsItemGenerateKeyRequestBuilder) { return NewKeySetsItemGenerateKeyRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties and associations for a Trustframeworkkeyset. +// Get get keySets from trustFramework // returns a TrustFrameworkKeySetable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/trustframeworkkeyset-get?view=graph-rest-1.0 func (m *KeySetsTrustFrameworkKeySetItemRequestBuilder) Get(ctx context.Context, requestConfiguration *KeySetsTrustFrameworkKeySetItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TrustFrameworkKeySetable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -106,12 +100,9 @@ func (m *KeySetsTrustFrameworkKeySetItemRequestBuilder) Get(ctx context.Context, func (m *KeySetsTrustFrameworkKeySetItemRequestBuilder) GetActiveKey()(*KeySetsItemGetActiveKeyRequestBuilder) { return NewKeySetsItemGetActiveKeyRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of a trustFrameworkKeyset. This operation will replace the content of an existing keyset. Specifying the ID in the request payload is optional. +// Patch update the navigation property keySets in trustFramework // returns a TrustFrameworkKeySetable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/trustframeworkkeyset-update?view=graph-rest-1.0 func (m *KeySetsTrustFrameworkKeySetItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TrustFrameworkKeySetable, requestConfiguration *KeySetsTrustFrameworkKeySetItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TrustFrameworkKeySetable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -129,7 +120,7 @@ func (m *KeySetsTrustFrameworkKeySetItemRequestBuilder) Patch(ctx context.Contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TrustFrameworkKeySetable), nil } -// ToDeleteRequestInformation delete a trustFrameworkKeySet. +// ToDeleteRequestInformation delete navigation property keySets for trustFramework // returns a *RequestInformation when successful func (m *KeySetsTrustFrameworkKeySetItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *KeySetsTrustFrameworkKeySetItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -140,7 +131,7 @@ func (m *KeySetsTrustFrameworkKeySetItemRequestBuilder) ToDeleteRequestInformati requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and associations for a Trustframeworkkeyset. +// ToGetRequestInformation get keySets from trustFramework // returns a *RequestInformation when successful func (m *KeySetsTrustFrameworkKeySetItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *KeySetsTrustFrameworkKeySetItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -154,7 +145,7 @@ func (m *KeySetsTrustFrameworkKeySetItemRequestBuilder) ToGetRequestInformation( requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a trustFrameworkKeyset. This operation will replace the content of an existing keyset. Specifying the ID in the request payload is optional. +// ToPatchRequestInformation update the navigation property keySets in trustFramework // returns a *RequestInformation when successful func (m *KeySetsTrustFrameworkKeySetItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TrustFrameworkKeySetable, requestConfiguration *KeySetsTrustFrameworkKeySetItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/trustframework/policies_item_value_content_request_builder.go b/trustframework/policies_item_value_content_request_builder.go index a5ba6cabd8a..b47821566dd 100644 --- a/trustframework/policies_item_value_content_request_builder.go +++ b/trustframework/policies_item_value_content_request_builder.go @@ -40,9 +40,6 @@ func NewPoliciesItemValueContentRequestBuilder(rawUrl string, requestAdapter i2a // Get get media content for the navigation property policies from trustFramework // 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/trustframework-list-trustframeworkpolicies?view=graph-rest-1.0 func (m *PoliciesItemValueContentRequestBuilder) Get(ctx context.Context, requestConfiguration *PoliciesItemValueContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/trustframework/policies_request_builder.go b/trustframework/policies_request_builder.go index 69446398ead..ec548af5e82 100644 --- a/trustframework/policies_request_builder.go +++ b/trustframework/policies_request_builder.go @@ -11,7 +11,7 @@ import ( type PoliciesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// PoliciesRequestBuilderGetQueryParameters retrieve a list of trustFrameworkPolicies in the tenant/directory. +// PoliciesRequestBuilderGetQueryParameters get policies from trustFramework type PoliciesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewPoliciesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26337 func (m *PoliciesRequestBuilder) Count()(*PoliciesCountRequestBuilder) { return NewPoliciesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of trustFrameworkPolicies in the tenant/directory. +// Get get policies from trustFramework // returns a TrustFrameworkPolicyCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/trustframework-list-trustframeworkpolicies?view=graph-rest-1.0 func (m *PoliciesRequestBuilder) Get(ctx context.Context, requestConfiguration *PoliciesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TrustFrameworkPolicyCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *PoliciesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4b } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TrustFrameworkPolicyable), nil } -// ToGetRequestInformation retrieve a list of trustFrameworkPolicies in the tenant/directory. +// ToGetRequestInformation get policies from trustFramework // returns a *RequestInformation when successful func (m *PoliciesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PoliciesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/trustframework/policies_trust_framework_policy_item_request_builder.go b/trustframework/policies_trust_framework_policy_item_request_builder.go index 06cf3a0ec4e..63659be3cc3 100644 --- a/trustframework/policies_trust_framework_policy_item_request_builder.go +++ b/trustframework/policies_trust_framework_policy_item_request_builder.go @@ -59,11 +59,8 @@ func NewPoliciesTrustFrameworkPolicyItemRequestBuilder(rawUrl string, requestAda func (m *PoliciesTrustFrameworkPolicyItemRequestBuilder) Content()(*PoliciesItemValueContentRequestBuilder) { return NewPoliciesItemValueContentRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Delete delete an existing trustFrameworkPolicy. +// Delete delete navigation property policies for trustFramework // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/trustframeworkpolicy-delete?view=graph-rest-1.0 func (m *PoliciesTrustFrameworkPolicyItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *PoliciesTrustFrameworkPolicyItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -118,7 +115,7 @@ func (m *PoliciesTrustFrameworkPolicyItemRequestBuilder) Patch(ctx context.Conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TrustFrameworkPolicyable), nil } -// ToDeleteRequestInformation delete an existing trustFrameworkPolicy. +// ToDeleteRequestInformation delete navigation property policies for trustFramework // returns a *RequestInformation when successful func (m *PoliciesTrustFrameworkPolicyItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *PoliciesTrustFrameworkPolicyItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/delta_request_builder.go b/users/delta_request_builder.go index 04f5f56656e..6428e426ef9 100644 --- a/users/delta_request_builder.go +++ b/users/delta_request_builder.go @@ -10,7 +10,7 @@ import ( type DeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeltaRequestBuilderGetQueryParameters invoke function delta +// DeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted users without having to perform a full read of the entire user collection. See change tracking for details. type DeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb urlParams["request-raw-url"] = rawUrl return NewDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get get newly created, updated, or deleted users without having to perform a full read of the entire user collection. See change tracking for details. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a DeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/user-delta?view=graph-rest-beta func (m *DeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(DeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *DeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *Del } return res.(DeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse get newly created, updated, or deleted users without having to perform a full read of the entire user collection. See change tracking for details. // returns a DeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/user-delta?view=graph-rest-beta func (m *DeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(DeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *DeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, request } return res.(DeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation get newly created, updated, or deleted users without having to perform a full read of the entire user collection. See change tracking for details. // returns a *RequestInformation when successful func (m *DeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/get_by_ids_request_builder.go b/users/get_by_ids_request_builder.go index eb15c279b5b..07cb317f119 100644 --- a/users/get_by_ids_request_builder.go +++ b/users/get_by_ids_request_builder.go @@ -36,7 +36,7 @@ func NewGetByIdsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26337 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-beta func (m *GetByIdsRequestBuilder) Post(ctx context.Context, body GetByIdsPostRequestBodyable, requestConfiguration *GetByIdsRequestBuilderPostRequestConfiguration)(GetByIdsResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *GetByIdsRequestBuilder) Post(ctx context.Context, body GetByIdsPostRequ // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-beta func (m *GetByIdsRequestBuilder) PostAsGetByIdsPostResponse(ctx context.Context, body GetByIdsPostRequestBodyable, requestConfiguration *GetByIdsRequestBuilderPostRequestConfiguration)(GetByIdsPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/get_user_owned_objects_request_builder.go b/users/get_user_owned_objects_request_builder.go index 321c1252915..762c8e81faa 100644 --- a/users/get_user_owned_objects_request_builder.go +++ b/users/get_user_owned_objects_request_builder.go @@ -36,7 +36,7 @@ func NewGetUserOwnedObjectsRequestBuilder(rawUrl string, requestAdapter i2ae4187 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directory-deleteditems-getuserownedobjects?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directory-deleteditems-getuserownedobjects?view=graph-rest-beta func (m *GetUserOwnedObjectsRequestBuilder) Post(ctx context.Context, body GetUserOwnedObjectsPostRequestBodyable, requestConfiguration *GetUserOwnedObjectsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_activities_item_history_items_activity_history_item_item_request_builder.go b/users/item_activities_item_history_items_activity_history_item_item_request_builder.go index 83904697951..8febb633aac 100644 --- a/users/item_activities_item_history_items_activity_history_item_item_request_builder.go +++ b/users/item_activities_item_history_items_activity_history_item_item_request_builder.go @@ -95,12 +95,9 @@ func (m *ItemActivitiesItemHistoryItemsActivityHistoryItemItemRequestBuilder) Ge } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActivityHistoryItemable), nil } -// Patch delete an existing history item for an existing user activity. +// Patch update the navigation property historyItems in users // returns a ActivityHistoryItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/projectrome-delete-historyitem?view=graph-rest-1.0 func (m *ItemActivitiesItemHistoryItemsActivityHistoryItemItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActivityHistoryItemable, requestConfiguration *ItemActivitiesItemHistoryItemsActivityHistoryItemItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActivityHistoryItemable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -143,7 +140,7 @@ func (m *ItemActivitiesItemHistoryItemsActivityHistoryItemItemRequestBuilder) To requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation delete an existing history item for an existing user activity. +// ToPatchRequestInformation update the navigation property historyItems in users // returns a *RequestInformation when successful func (m *ItemActivitiesItemHistoryItemsActivityHistoryItemItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ActivityHistoryItemable, requestConfiguration *ItemActivitiesItemHistoryItemsActivityHistoryItemItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_activities_user_activity_item_request_builder.go b/users/item_activities_user_activity_item_request_builder.go index 9b0e21f4973..ac1f177488a 100644 --- a/users/item_activities_user_activity_item_request_builder.go +++ b/users/item_activities_user_activity_item_request_builder.go @@ -54,11 +54,8 @@ func NewItemActivitiesUserActivityItemRequestBuilder(rawUrl string, requestAdapt urlParams["request-raw-url"] = rawUrl return NewItemActivitiesUserActivityItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an existing user activity for your app. +// Delete delete navigation property activities for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/projectrome-delete-activity?view=graph-rest-1.0 func (m *ItemActivitiesUserActivityItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemActivitiesUserActivityItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -118,7 +115,7 @@ func (m *ItemActivitiesUserActivityItemRequestBuilder) Patch(ctx context.Context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserActivityable), nil } -// ToDeleteRequestInformation delete an existing user activity for your app. +// ToDeleteRequestInformation delete navigation property activities for users // returns a *RequestInformation when successful func (m *ItemActivitiesUserActivityItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemActivitiesUserActivityItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_agreement_acceptances_request_builder.go b/users/item_agreement_acceptances_request_builder.go index 934c20484bc..37d8bdaa0ea 100644 --- a/users/item_agreement_acceptances_request_builder.go +++ b/users/item_agreement_acceptances_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemAgreementAcceptancesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemAgreementAcceptancesRequestBuilderGetQueryParameters retrieve a user's agreementAcceptance objects. +// ItemAgreementAcceptancesRequestBuilderGetQueryParameters the user's terms of use acceptance statuses. Read-only. Nullable. type ItemAgreementAcceptancesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewItemAgreementAcceptancesRequestBuilder(rawUrl string, requestAdapter i2a func (m *ItemAgreementAcceptancesRequestBuilder) Count()(*ItemAgreementAcceptancesCountRequestBuilder) { return NewItemAgreementAcceptancesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a user's agreementAcceptance objects. +// Get the user's terms of use acceptance statuses. Read-only. Nullable. // returns a AgreementAcceptanceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/user-list-agreementacceptances?view=graph-rest-1.0 func (m *ItemAgreementAcceptancesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAgreementAcceptancesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AgreementAcceptanceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *ItemAgreementAcceptancesRequestBuilder) Get(ctx context.Context, reques } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AgreementAcceptanceCollectionResponseable), nil } -// ToGetRequestInformation retrieve a user's agreementAcceptance objects. +// ToGetRequestInformation the user's terms of use acceptance statuses. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemAgreementAcceptancesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAgreementAcceptancesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_app_consent_requests_for_approval_filter_by_current_user_with_on_request_builder.go b/users/item_app_consent_requests_for_approval_filter_by_current_user_with_on_request_builder.go index b0d750d6f61..d3b2fdb28b5 100644 --- a/users/item_app_consent_requests_for_approval_filter_by_current_user_with_on_request_builder.go +++ b/users/item_app_consent_requests_for_approval_filter_by_current_user_with_on_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemAppConsentRequestsForApprovalFilterByCurrentUserWithOnRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemAppConsentRequestsForApprovalFilterByCurrentUserWithOnRequestBuilderGetQueryParameters invoke function filterByCurrentUser +// ItemAppConsentRequestsForApprovalFilterByCurrentUserWithOnRequestBuilderGetQueryParameters retrieve a collection of appConsentRequest objects for which the current user is the reviewer and the status of the userConsentRequest for accessing the specified app is InProgress. type ItemAppConsentRequestsForApprovalFilterByCurrentUserWithOnRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewItemAppConsentRequestsForApprovalFilterByCurrentUserWithOnRequestBuilder urlParams["request-raw-url"] = rawUrl return NewItemAppConsentRequestsForApprovalFilterByCurrentUserWithOnRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function filterByCurrentUser +// Get retrieve a collection of appConsentRequest objects for which the current user is the reviewer and the status of the userConsentRequest for accessing the specified app is InProgress. // Deprecated: This method is obsolete. Use GetAsFilterByCurrentUserWithOnGetResponse instead. // returns a ItemAppConsentRequestsForApprovalFilterByCurrentUserWithOnResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/appconsentrequest-filterByCurrentUser?view=graph-rest-beta func (m *ItemAppConsentRequestsForApprovalFilterByCurrentUserWithOnRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAppConsentRequestsForApprovalFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(ItemAppConsentRequestsForApprovalFilterByCurrentUserWithOnResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *ItemAppConsentRequestsForApprovalFilterByCurrentUserWithOnRequestBuilde } return res.(ItemAppConsentRequestsForApprovalFilterByCurrentUserWithOnResponseable), nil } -// GetAsFilterByCurrentUserWithOnGetResponse invoke function filterByCurrentUser +// GetAsFilterByCurrentUserWithOnGetResponse retrieve a collection of appConsentRequest objects for which the current user is the reviewer and the status of the userConsentRequest for accessing the specified app is InProgress. // returns a ItemAppConsentRequestsForApprovalFilterByCurrentUserWithOnGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/appconsentrequest-filterByCurrentUser?view=graph-rest-beta func (m *ItemAppConsentRequestsForApprovalFilterByCurrentUserWithOnRequestBuilder) GetAsFilterByCurrentUserWithOnGetResponse(ctx context.Context, requestConfiguration *ItemAppConsentRequestsForApprovalFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(ItemAppConsentRequestsForApprovalFilterByCurrentUserWithOnGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *ItemAppConsentRequestsForApprovalFilterByCurrentUserWithOnRequestBuilde } return res.(ItemAppConsentRequestsForApprovalFilterByCurrentUserWithOnGetResponseable), nil } -// ToGetRequestInformation invoke function filterByCurrentUser +// ToGetRequestInformation retrieve a collection of appConsentRequest objects for which the current user is the reviewer and the status of the userConsentRequest for accessing the specified app is InProgress. // returns a *RequestInformation when successful func (m *ItemAppConsentRequestsForApprovalFilterByCurrentUserWithOnRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAppConsentRequestsForApprovalFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_app_consent_requests_for_approval_item_user_consent_requests_filter_by_current_user_with_on_request_builder.go b/users/item_app_consent_requests_for_approval_item_user_consent_requests_filter_by_current_user_with_on_request_builder.go index 3963214235a..8cab0378c42 100644 --- a/users/item_app_consent_requests_for_approval_item_user_consent_requests_filter_by_current_user_with_on_request_builder.go +++ b/users/item_app_consent_requests_for_approval_item_user_consent_requests_filter_by_current_user_with_on_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemAppConsentRequestsForApprovalItemUserConsentRequestsFilterByCurrentUserWithOnRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemAppConsentRequestsForApprovalItemUserConsentRequestsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters invoke function filterByCurrentUser +// ItemAppConsentRequestsForApprovalItemUserConsentRequestsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters retrieve a collection of userConsentRequest objects for accessing a specified app, for which the current user is the reviewer. type ItemAppConsentRequestsForApprovalItemUserConsentRequestsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewItemAppConsentRequestsForApprovalItemUserConsentRequestsFilterByCurrentU urlParams["request-raw-url"] = rawUrl return NewItemAppConsentRequestsForApprovalItemUserConsentRequestsFilterByCurrentUserWithOnRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function filterByCurrentUser +// Get retrieve a collection of userConsentRequest objects for accessing a specified app, for which the current user is the reviewer. // Deprecated: This method is obsolete. Use GetAsFilterByCurrentUserWithOnGetResponse instead. // returns a ItemAppConsentRequestsForApprovalItemUserConsentRequestsFilterByCurrentUserWithOnResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/userconsentrequest-filterByCurrentUser?view=graph-rest-beta func (m *ItemAppConsentRequestsForApprovalItemUserConsentRequestsFilterByCurrentUserWithOnRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAppConsentRequestsForApprovalItemUserConsentRequestsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(ItemAppConsentRequestsForApprovalItemUserConsentRequestsFilterByCurrentUserWithOnResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *ItemAppConsentRequestsForApprovalItemUserConsentRequestsFilterByCurrent } return res.(ItemAppConsentRequestsForApprovalItemUserConsentRequestsFilterByCurrentUserWithOnResponseable), nil } -// GetAsFilterByCurrentUserWithOnGetResponse invoke function filterByCurrentUser +// GetAsFilterByCurrentUserWithOnGetResponse retrieve a collection of userConsentRequest objects for accessing a specified app, for which the current user is the reviewer. // returns a ItemAppConsentRequestsForApprovalItemUserConsentRequestsFilterByCurrentUserWithOnGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/userconsentrequest-filterByCurrentUser?view=graph-rest-beta func (m *ItemAppConsentRequestsForApprovalItemUserConsentRequestsFilterByCurrentUserWithOnRequestBuilder) GetAsFilterByCurrentUserWithOnGetResponse(ctx context.Context, requestConfiguration *ItemAppConsentRequestsForApprovalItemUserConsentRequestsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(ItemAppConsentRequestsForApprovalItemUserConsentRequestsFilterByCurrentUserWithOnGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *ItemAppConsentRequestsForApprovalItemUserConsentRequestsFilterByCurrent } return res.(ItemAppConsentRequestsForApprovalItemUserConsentRequestsFilterByCurrentUserWithOnGetResponseable), nil } -// ToGetRequestInformation invoke function filterByCurrentUser +// ToGetRequestInformation retrieve a collection of userConsentRequest objects for accessing a specified app, for which the current user is the reviewer. // returns a *RequestInformation when successful func (m *ItemAppConsentRequestsForApprovalItemUserConsentRequestsFilterByCurrentUserWithOnRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAppConsentRequestsForApprovalItemUserConsentRequestsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_app_consent_requests_for_approval_item_user_consent_requests_item_approval_steps_approval_step_item_request_builder.go b/users/item_app_consent_requests_for_approval_item_user_consent_requests_item_approval_steps_approval_step_item_request_builder.go index c6c38aec604..94ec286cfab 100644 --- a/users/item_app_consent_requests_for_approval_item_user_consent_requests_item_approval_steps_approval_step_item_request_builder.go +++ b/users/item_app_consent_requests_for_approval_item_user_consent_requests_item_approval_steps_approval_step_item_request_builder.go @@ -18,7 +18,7 @@ type ItemAppConsentRequestsForApprovalItemUserConsentRequestsItemApprovalStepsAp // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemAppConsentRequestsForApprovalItemUserConsentRequestsItemApprovalStepsApprovalStepItemRequestBuilderGetQueryParameters retrieve the properties of an approvalStep object. +// ItemAppConsentRequestsForApprovalItemUserConsentRequestsItemApprovalStepsApprovalStepItemRequestBuilderGetQueryParameters used to represent the decision associated with a single step in the approval process configured in approvalStage. type ItemAppConsentRequestsForApprovalItemUserConsentRequestsItemApprovalStepsApprovalStepItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemAppConsentRequestsForApprovalItemUserConsentRequestsItemApprovalSte } return nil } -// Get retrieve the properties of an approvalStep object. +// Get used to represent the decision associated with a single step in the approval process configured in approvalStage. // returns a ApprovalStepable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/approvalstep-get?view=graph-rest-1.0 func (m *ItemAppConsentRequestsForApprovalItemUserConsentRequestsItemApprovalStepsApprovalStepItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAppConsentRequestsForApprovalItemUserConsentRequestsItemApprovalStepsApprovalStepItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalStepable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *ItemAppConsentRequestsForApprovalItemUserConsentRequestsItemApprovalSte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalStepable), nil } -// Patch apply approve or deny decision on an approvalStep object. +// Patch update the navigation property steps in users // returns a ApprovalStepable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/approvalstep-update?view=graph-rest-1.0 func (m *ItemAppConsentRequestsForApprovalItemUserConsentRequestsItemApprovalStepsApprovalStepItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalStepable, requestConfiguration *ItemAppConsentRequestsForApprovalItemUserConsentRequestsItemApprovalStepsApprovalStepItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalStepable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemAppConsentRequestsForApprovalItemUserConsentRequestsItemApprovalSte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties of an approvalStep object. +// ToGetRequestInformation used to represent the decision associated with a single step in the approval process configured in approvalStage. // returns a *RequestInformation when successful func (m *ItemAppConsentRequestsForApprovalItemUserConsentRequestsItemApprovalStepsApprovalStepItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAppConsentRequestsForApprovalItemUserConsentRequestsItemApprovalStepsApprovalStepItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ItemAppConsentRequestsForApprovalItemUserConsentRequestsItemApprovalSte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation apply approve or deny decision on an approvalStep object. +// ToPatchRequestInformation update the navigation property steps in users // returns a *RequestInformation when successful func (m *ItemAppConsentRequestsForApprovalItemUserConsentRequestsItemApprovalStepsApprovalStepItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalStepable, requestConfiguration *ItemAppConsentRequestsForApprovalItemUserConsentRequestsItemApprovalStepsApprovalStepItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_app_consent_requests_for_approval_item_user_consent_requests_item_approval_steps_request_builder.go b/users/item_app_consent_requests_for_approval_item_user_consent_requests_item_approval_steps_request_builder.go index c9993316d0b..7b57363526e 100644 --- a/users/item_app_consent_requests_for_approval_item_user_consent_requests_item_approval_steps_request_builder.go +++ b/users/item_app_consent_requests_for_approval_item_user_consent_requests_item_approval_steps_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemAppConsentRequestsForApprovalItemUserConsentRequestsItemApprovalStepsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemAppConsentRequestsForApprovalItemUserConsentRequestsItemApprovalStepsRequestBuilderGetQueryParameters list the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: +// ItemAppConsentRequestsForApprovalItemUserConsentRequestsItemApprovalStepsRequestBuilderGetQueryParameters used to represent the decision associated with a single step in the approval process configured in approvalStage. type ItemAppConsentRequestsForApprovalItemUserConsentRequestsItemApprovalStepsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemAppConsentRequestsForApprovalItemUserConsentRequestsItemApprovalStep func (m *ItemAppConsentRequestsForApprovalItemUserConsentRequestsItemApprovalStepsRequestBuilder) Count()(*ItemAppConsentRequestsForApprovalItemUserConsentRequestsItemApprovalStepsCountRequestBuilder) { return NewItemAppConsentRequestsForApprovalItemUserConsentRequestsItemApprovalStepsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: +// Get used to represent the decision associated with a single step in the approval process configured in approvalStage. // returns a ApprovalStepCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/approval-list-steps?view=graph-rest-1.0 func (m *ItemAppConsentRequestsForApprovalItemUserConsentRequestsItemApprovalStepsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAppConsentRequestsForApprovalItemUserConsentRequestsItemApprovalStepsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalStepCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemAppConsentRequestsForApprovalItemUserConsentRequestsItemApprovalSte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalStepable), nil } -// ToGetRequestInformation list the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: +// ToGetRequestInformation used to represent the decision associated with a single step in the approval process configured in approvalStage. // returns a *RequestInformation when successful func (m *ItemAppConsentRequestsForApprovalItemUserConsentRequestsItemApprovalStepsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAppConsentRequestsForApprovalItemUserConsentRequestsItemApprovalStepsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_app_consent_requests_for_approval_item_user_consent_requests_request_builder.go b/users/item_app_consent_requests_for_approval_item_user_consent_requests_request_builder.go index 3cf06f605c6..531c0969195 100644 --- a/users/item_app_consent_requests_for_approval_item_user_consent_requests_request_builder.go +++ b/users/item_app_consent_requests_for_approval_item_user_consent_requests_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemAppConsentRequestsForApprovalItemUserConsentRequestsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemAppConsentRequestsForApprovalItemUserConsentRequestsRequestBuilderGetQueryParameters retrieve a collection of userConsentRequest objects and their properties. +// ItemAppConsentRequestsForApprovalItemUserConsentRequestsRequestBuilderGetQueryParameters a list of pending user consent requests. Supports $filter (eq). type ItemAppConsentRequestsForApprovalItemUserConsentRequestsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *ItemAppConsentRequestsForApprovalItemUserConsentRequestsRequestBuilder) func (m *ItemAppConsentRequestsForApprovalItemUserConsentRequestsRequestBuilder) FilterByCurrentUserWithOn(on *string)(*ItemAppConsentRequestsForApprovalItemUserConsentRequestsFilterByCurrentUserWithOnRequestBuilder) { return NewItemAppConsentRequestsForApprovalItemUserConsentRequestsFilterByCurrentUserWithOnRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, on) } -// Get retrieve a collection of userConsentRequest objects and their properties. +// Get a list of pending user consent requests. Supports $filter (eq). // returns a UserConsentRequestCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/appconsentrequest-list-userconsentrequests?view=graph-rest-1.0 func (m *ItemAppConsentRequestsForApprovalItemUserConsentRequestsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAppConsentRequestsForApprovalItemUserConsentRequestsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserConsentRequestCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemAppConsentRequestsForApprovalItemUserConsentRequestsRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserConsentRequestable), nil } -// ToGetRequestInformation retrieve a collection of userConsentRequest objects and their properties. +// ToGetRequestInformation a list of pending user consent requests. Supports $filter (eq). // returns a *RequestInformation when successful func (m *ItemAppConsentRequestsForApprovalItemUserConsentRequestsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAppConsentRequestsForApprovalItemUserConsentRequestsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_app_consent_requests_for_approval_item_user_consent_requests_user_consent_request_item_request_builder.go b/users/item_app_consent_requests_for_approval_item_user_consent_requests_user_consent_request_item_request_builder.go index ccef4ca635c..bcddc395c4c 100644 --- a/users/item_app_consent_requests_for_approval_item_user_consent_requests_user_consent_request_item_request_builder.go +++ b/users/item_app_consent_requests_for_approval_item_user_consent_requests_user_consent_request_item_request_builder.go @@ -18,7 +18,7 @@ type ItemAppConsentRequestsForApprovalItemUserConsentRequestsUserConsentRequestI // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemAppConsentRequestsForApprovalItemUserConsentRequestsUserConsentRequestItemRequestBuilderGetQueryParameters read the properties and relationships of a userConsentRequest object. +// ItemAppConsentRequestsForApprovalItemUserConsentRequestsUserConsentRequestItemRequestBuilderGetQueryParameters a list of pending user consent requests. Supports $filter (eq). type ItemAppConsentRequestsForApprovalItemUserConsentRequestsUserConsentRequestItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *ItemAppConsentRequestsForApprovalItemUserConsentRequestsUserConsentRequ } return nil } -// Get read the properties and relationships of a userConsentRequest object. +// Get a list of pending user consent requests. Supports $filter (eq). // returns a UserConsentRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/userconsentrequest-get?view=graph-rest-1.0 func (m *ItemAppConsentRequestsForApprovalItemUserConsentRequestsUserConsentRequestItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAppConsentRequestsForApprovalItemUserConsentRequestsUserConsentRequestItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserConsentRequestable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *ItemAppConsentRequestsForApprovalItemUserConsentRequestsUserConsentRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a userConsentRequest object. +// ToGetRequestInformation a list of pending user consent requests. Supports $filter (eq). // returns a *RequestInformation when successful func (m *ItemAppConsentRequestsForApprovalItemUserConsentRequestsUserConsentRequestItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAppConsentRequestsForApprovalItemUserConsentRequestsUserConsentRequestItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_app_role_assigned_resources_request_builder.go b/users/item_app_role_assigned_resources_request_builder.go index 79073bbee91..eeb5ff5c883 100644 --- a/users/item_app_role_assigned_resources_request_builder.go +++ b/users/item_app_role_assigned_resources_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemAppRoleAssignedResourcesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemAppRoleAssignedResourcesRequestBuilderGetQueryParameters get the service principals to which the user has an app role assignment either directly or through group membership. +// ItemAppRoleAssignedResourcesRequestBuilderGetQueryParameters get appRoleAssignedResources from users type ItemAppRoleAssignedResourcesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewItemAppRoleAssignedResourcesRequestBuilder(rawUrl string, requestAdapter func (m *ItemAppRoleAssignedResourcesRequestBuilder) Count()(*ItemAppRoleAssignedResourcesCountRequestBuilder) { return NewItemAppRoleAssignedResourcesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the service principals to which the user has an app role assignment either directly or through group membership. +// Get get appRoleAssignedResources from users // returns a ServicePrincipalCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/user-list-approleassignedresources?view=graph-rest-1.0 func (m *ItemAppRoleAssignedResourcesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAppRoleAssignedResourcesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServicePrincipalCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *ItemAppRoleAssignedResourcesRequestBuilder) Get(ctx context.Context, re } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServicePrincipalCollectionResponseable), nil } -// ToGetRequestInformation get the service principals to which the user has an app role assignment either directly or through group membership. +// ToGetRequestInformation get appRoleAssignedResources from users // returns a *RequestInformation when successful func (m *ItemAppRoleAssignedResourcesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAppRoleAssignedResourcesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_app_role_assignments_app_role_assignment_item_request_builder.go b/users/item_app_role_assignments_app_role_assignment_item_request_builder.go index 1c796a6e99c..bbe6cf3b731 100644 --- a/users/item_app_role_assignments_app_role_assignment_item_request_builder.go +++ b/users/item_app_role_assignments_app_role_assignment_item_request_builder.go @@ -54,11 +54,8 @@ func NewItemAppRoleAssignmentsAppRoleAssignmentItemRequestBuilder(rawUrl string, urlParams["request-raw-url"] = rawUrl return NewItemAppRoleAssignmentsAppRoleAssignmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an appRoleAssignment that has been granted to a user. +// Delete delete navigation property appRoleAssignments for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/user-delete-approleassignments?view=graph-rest-1.0 func (m *ItemAppRoleAssignmentsAppRoleAssignmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemAppRoleAssignmentsAppRoleAssignmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -113,7 +110,7 @@ func (m *ItemAppRoleAssignmentsAppRoleAssignmentItemRequestBuilder) Patch(ctx co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AppRoleAssignmentable), nil } -// ToDeleteRequestInformation delete an appRoleAssignment that has been granted to a user. +// ToDeleteRequestInformation delete navigation property appRoleAssignments for users // 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/users/item_app_role_assignments_request_builder.go b/users/item_app_role_assignments_request_builder.go index f81b15181e8..62694916d4e 100644 --- a/users/item_app_role_assignments_request_builder.go +++ b/users/item_app_role_assignments_request_builder.go @@ -79,9 +79,6 @@ func (m *ItemAppRoleAssignmentsRequestBuilder) Count()(*ItemAppRoleAssignmentsCo // Get represents the app roles a user has been granted for an application. Supports $expand. // returns a AppRoleAssignmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/user-list-approleassignments?view=graph-rest-1.0 func (m *ItemAppRoleAssignmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAppRoleAssignmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AppRoleAssignmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemAppRoleAssignmentsRequestBuilder) Get(ctx context.Context, requestC } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AppRoleAssignmentCollectionResponseable), nil } -// Post use this API to assign an app role to a user. To grant an app role assignment to a user, you need three identifiers: +// Post create new navigation property to appRoleAssignments for users // returns a AppRoleAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/user-post-approleassignments?view=graph-rest-1.0 func (m *ItemAppRoleAssignmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AppRoleAssignmentable, requestConfiguration *ItemAppRoleAssignmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AppRoleAssignmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -136,7 +130,7 @@ func (m *ItemAppRoleAssignmentsRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to assign an app role to a user. To grant an app role assignment to a user, you need three identifiers: +// ToPostRequestInformation create new navigation property to appRoleAssignments for users // returns a *RequestInformation when successful func (m *ItemAppRoleAssignmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AppRoleAssignmentable, requestConfiguration *ItemAppRoleAssignmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_approvals_filter_by_current_user_with_on_request_builder.go b/users/item_approvals_filter_by_current_user_with_on_request_builder.go index a6123c3fd3c..26546ea7eb0 100644 --- a/users/item_approvals_filter_by_current_user_with_on_request_builder.go +++ b/users/item_approvals_filter_by_current_user_with_on_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemApprovalsFilterByCurrentUserWithOnRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemApprovalsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters invoke function filterByCurrentUser +// ItemApprovalsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters in Microsoft Entra entitlement management, return a collection of access package assignment approvals. The objects returned are those that are in scope for approval by the calling user. In PIM for groups, return a collection of assignment approvals. The objects returned are those that are in scope for approval by the calling user. type ItemApprovalsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewItemApprovalsFilterByCurrentUserWithOnRequestBuilder(rawUrl string, requ urlParams["request-raw-url"] = rawUrl return NewItemApprovalsFilterByCurrentUserWithOnRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function filterByCurrentUser +// Get in Microsoft Entra entitlement management, return a collection of access package assignment approvals. The objects returned are those that are in scope for approval by the calling user. In PIM for groups, return a collection of assignment approvals. The objects returned are those that are in scope for approval by the calling user. // Deprecated: This method is obsolete. Use GetAsFilterByCurrentUserWithOnGetResponse instead. // returns a ItemApprovalsFilterByCurrentUserWithOnResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/approval-filterbycurrentuser?view=graph-rest-beta func (m *ItemApprovalsFilterByCurrentUserWithOnRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemApprovalsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(ItemApprovalsFilterByCurrentUserWithOnResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *ItemApprovalsFilterByCurrentUserWithOnRequestBuilder) Get(ctx context.C } return res.(ItemApprovalsFilterByCurrentUserWithOnResponseable), nil } -// GetAsFilterByCurrentUserWithOnGetResponse invoke function filterByCurrentUser +// GetAsFilterByCurrentUserWithOnGetResponse in Microsoft Entra entitlement management, return a collection of access package assignment approvals. The objects returned are those that are in scope for approval by the calling user. In PIM for groups, return a collection of assignment approvals. The objects returned are those that are in scope for approval by the calling user. // returns a ItemApprovalsFilterByCurrentUserWithOnGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/approval-filterbycurrentuser?view=graph-rest-beta func (m *ItemApprovalsFilterByCurrentUserWithOnRequestBuilder) GetAsFilterByCurrentUserWithOnGetResponse(ctx context.Context, requestConfiguration *ItemApprovalsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(ItemApprovalsFilterByCurrentUserWithOnGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *ItemApprovalsFilterByCurrentUserWithOnRequestBuilder) GetAsFilterByCurr } return res.(ItemApprovalsFilterByCurrentUserWithOnGetResponseable), nil } -// ToGetRequestInformation invoke function filterByCurrentUser +// ToGetRequestInformation in Microsoft Entra entitlement management, return a collection of access package assignment approvals. The objects returned are those that are in scope for approval by the calling user. In PIM for groups, return a collection of assignment approvals. The objects returned are those that are in scope for approval by the calling user. // returns a *RequestInformation when successful func (m *ItemApprovalsFilterByCurrentUserWithOnRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemApprovalsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_approvals_item_steps_approval_step_item_request_builder.go b/users/item_approvals_item_steps_approval_step_item_request_builder.go index 4e0a1e43236..89e2b8f830b 100644 --- a/users/item_approvals_item_steps_approval_step_item_request_builder.go +++ b/users/item_approvals_item_steps_approval_step_item_request_builder.go @@ -18,7 +18,7 @@ type ItemApprovalsItemStepsApprovalStepItemRequestBuilderDeleteRequestConfigurat // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemApprovalsItemStepsApprovalStepItemRequestBuilderGetQueryParameters retrieve the properties of an approvalStep object. +// ItemApprovalsItemStepsApprovalStepItemRequestBuilderGetQueryParameters used to represent the decision associated with a single step in the approval process configured in approvalStage. type ItemApprovalsItemStepsApprovalStepItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemApprovalsItemStepsApprovalStepItemRequestBuilder) Delete(ctx contex } return nil } -// Get retrieve the properties of an approvalStep object. +// Get used to represent the decision associated with a single step in the approval process configured in approvalStage. // returns a ApprovalStepable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/approvalstep-get?view=graph-rest-1.0 func (m *ItemApprovalsItemStepsApprovalStepItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemApprovalsItemStepsApprovalStepItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalStepable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *ItemApprovalsItemStepsApprovalStepItemRequestBuilder) Get(ctx context.C } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalStepable), nil } -// Patch apply approve or deny decision on an approvalStep object. +// Patch update the navigation property steps in users // returns a ApprovalStepable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/approvalstep-update?view=graph-rest-1.0 func (m *ItemApprovalsItemStepsApprovalStepItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalStepable, requestConfiguration *ItemApprovalsItemStepsApprovalStepItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalStepable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemApprovalsItemStepsApprovalStepItemRequestBuilder) ToDeleteRequestIn requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties of an approvalStep object. +// ToGetRequestInformation used to represent the decision associated with a single step in the approval process configured in approvalStage. // returns a *RequestInformation when successful func (m *ItemApprovalsItemStepsApprovalStepItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemApprovalsItemStepsApprovalStepItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ItemApprovalsItemStepsApprovalStepItemRequestBuilder) ToGetRequestInfor requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation apply approve or deny decision on an approvalStep object. +// ToPatchRequestInformation update the navigation property steps in users // returns a *RequestInformation when successful func (m *ItemApprovalsItemStepsApprovalStepItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalStepable, requestConfiguration *ItemApprovalsItemStepsApprovalStepItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_approvals_item_steps_request_builder.go b/users/item_approvals_item_steps_request_builder.go index fe8258cc9f1..eb8527ab316 100644 --- a/users/item_approvals_item_steps_request_builder.go +++ b/users/item_approvals_item_steps_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemApprovalsItemStepsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemApprovalsItemStepsRequestBuilderGetQueryParameters list the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: +// ItemApprovalsItemStepsRequestBuilderGetQueryParameters used to represent the decision associated with a single step in the approval process configured in approvalStage. type ItemApprovalsItemStepsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemApprovalsItemStepsRequestBuilder(rawUrl string, requestAdapter i2ae4 func (m *ItemApprovalsItemStepsRequestBuilder) Count()(*ItemApprovalsItemStepsCountRequestBuilder) { return NewItemApprovalsItemStepsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: +// Get used to represent the decision associated with a single step in the approval process configured in approvalStage. // returns a ApprovalStepCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/approval-list-steps?view=graph-rest-1.0 func (m *ItemApprovalsItemStepsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemApprovalsItemStepsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalStepCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemApprovalsItemStepsRequestBuilder) Post(ctx context.Context, body ie } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ApprovalStepable), nil } -// ToGetRequestInformation list the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: +// ToGetRequestInformation used to represent the decision associated with a single step in the approval process configured in approvalStage. // returns a *RequestInformation when successful func (m *ItemApprovalsItemStepsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemApprovalsItemStepsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_assign_license_request_builder.go b/users/item_assign_license_request_builder.go index 381e8df61dd..cc4aea0a448 100644 --- a/users/item_assign_license_request_builder.go +++ b/users/item_assign_license_request_builder.go @@ -36,7 +36,7 @@ func NewItemAssignLicenseRequestBuilder(rawUrl string, requestAdapter i2ae4187f7 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/user-assignlicense?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/user-assignlicense?view=graph-rest-beta func (m *ItemAssignLicenseRequestBuilder) Post(ctx context.Context, body ItemAssignLicensePostRequestBodyable, requestConfiguration *ItemAssignLicenseRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Userable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_authentication_email_methods_email_authentication_method_item_request_builder.go b/users/item_authentication_email_methods_email_authentication_method_item_request_builder.go index f35228ae089..3ca194f93ff 100644 --- a/users/item_authentication_email_methods_email_authentication_method_item_request_builder.go +++ b/users/item_authentication_email_methods_email_authentication_method_item_request_builder.go @@ -18,7 +18,7 @@ type ItemAuthenticationEmailMethodsEmailAuthenticationMethodItemRequestBuilderDe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemAuthenticationEmailMethodsEmailAuthenticationMethodItemRequestBuilderGetQueryParameters retrieve a user's single email Authentication Method object. +// ItemAuthenticationEmailMethodsEmailAuthenticationMethodItemRequestBuilderGetQueryParameters represents the email addresses registered to a user for authentication. type ItemAuthenticationEmailMethodsEmailAuthenticationMethodItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemAuthenticationEmailMethodsEmailAuthenticationMethodItemRequestBuilde urlParams["request-raw-url"] = rawUrl return NewItemAuthenticationEmailMethodsEmailAuthenticationMethodItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a user's email Authentication Method object. +// Delete delete navigation property emailMethods for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/emailauthenticationmethod-delete?view=graph-rest-1.0 func (m *ItemAuthenticationEmailMethodsEmailAuthenticationMethodItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemAuthenticationEmailMethodsEmailAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemAuthenticationEmailMethodsEmailAuthenticationMethodItemRequestBuild } return nil } -// Get retrieve a user's single email Authentication Method object. +// Get represents the email addresses registered to a user for authentication. // returns a EmailAuthenticationMethodable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/emailauthenticationmethod-get?view=graph-rest-1.0 func (m *ItemAuthenticationEmailMethodsEmailAuthenticationMethodItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAuthenticationEmailMethodsEmailAuthenticationMethodItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EmailAuthenticationMethodable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ItemAuthenticationEmailMethodsEmailAuthenticationMethodItemRequestBuild } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EmailAuthenticationMethodable), nil } -// Patch update a user's email address associated with an email Authentication Method object. +// Patch update the navigation property emailMethods in users // returns a EmailAuthenticationMethodable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/emailauthenticationmethod-update?view=graph-rest-1.0 func (m *ItemAuthenticationEmailMethodsEmailAuthenticationMethodItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EmailAuthenticationMethodable, requestConfiguration *ItemAuthenticationEmailMethodsEmailAuthenticationMethodItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EmailAuthenticationMethodable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *ItemAuthenticationEmailMethodsEmailAuthenticationMethodItemRequestBuild } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EmailAuthenticationMethodable), nil } -// ToDeleteRequestInformation deletes a user's email Authentication Method object. +// ToDeleteRequestInformation delete navigation property emailMethods for users // returns a *RequestInformation when successful func (m *ItemAuthenticationEmailMethodsEmailAuthenticationMethodItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemAuthenticationEmailMethodsEmailAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *ItemAuthenticationEmailMethodsEmailAuthenticationMethodItemRequestBuild requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a user's single email Authentication Method object. +// ToGetRequestInformation represents the email addresses registered to a user for authentication. // returns a *RequestInformation when successful func (m *ItemAuthenticationEmailMethodsEmailAuthenticationMethodItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAuthenticationEmailMethodsEmailAuthenticationMethodItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *ItemAuthenticationEmailMethodsEmailAuthenticationMethodItemRequestBuild requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update a user's email address associated with an email Authentication Method object. +// ToPatchRequestInformation update the navigation property emailMethods in users // returns a *RequestInformation when successful func (m *ItemAuthenticationEmailMethodsEmailAuthenticationMethodItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EmailAuthenticationMethodable, requestConfiguration *ItemAuthenticationEmailMethodsEmailAuthenticationMethodItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_authentication_email_methods_request_builder.go b/users/item_authentication_email_methods_request_builder.go index 22670889e7e..7594c6046e0 100644 --- a/users/item_authentication_email_methods_request_builder.go +++ b/users/item_authentication_email_methods_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemAuthenticationEmailMethodsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemAuthenticationEmailMethodsRequestBuilderGetQueryParameters retrieve a list of a user's email Authentication Method objects and their properties. This call will only return a single object as only one email method can be set on users. +// ItemAuthenticationEmailMethodsRequestBuilderGetQueryParameters represents the email addresses registered to a user for authentication. type ItemAuthenticationEmailMethodsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemAuthenticationEmailMethodsRequestBuilder(rawUrl string, requestAdapt func (m *ItemAuthenticationEmailMethodsRequestBuilder) Count()(*ItemAuthenticationEmailMethodsCountRequestBuilder) { return NewItemAuthenticationEmailMethodsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of a user's email Authentication Method objects and their properties. This call will only return a single object as only one email method can be set on users. +// Get represents the email addresses registered to a user for authentication. // returns a EmailAuthenticationMethodCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/authentication-list-emailmethods?view=graph-rest-1.0 func (m *ItemAuthenticationEmailMethodsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAuthenticationEmailMethodsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EmailAuthenticationMethodCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemAuthenticationEmailMethodsRequestBuilder) Get(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EmailAuthenticationMethodCollectionResponseable), nil } -// Post set a user's emailAuthenticationMethod object. Email authentication is a self-service password reset method. A user may only have one email authentication method. +// Post create new navigation property to emailMethods for users // returns a EmailAuthenticationMethodable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/authentication-post-emailmethods?view=graph-rest-1.0 func (m *ItemAuthenticationEmailMethodsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EmailAuthenticationMethodable, requestConfiguration *ItemAuthenticationEmailMethodsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EmailAuthenticationMethodable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemAuthenticationEmailMethodsRequestBuilder) Post(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EmailAuthenticationMethodable), nil } -// ToGetRequestInformation retrieve a list of a user's email Authentication Method objects and their properties. This call will only return a single object as only one email method can be set on users. +// ToGetRequestInformation represents the email addresses registered to a user for authentication. // returns a *RequestInformation when successful func (m *ItemAuthenticationEmailMethodsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAuthenticationEmailMethodsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemAuthenticationEmailMethodsRequestBuilder) ToGetRequestInformation(c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation set a user's emailAuthenticationMethod object. Email authentication is a self-service password reset method. A user may only have one email authentication method. +// ToPostRequestInformation create new navigation property to emailMethods for users // returns a *RequestInformation when successful func (m *ItemAuthenticationEmailMethodsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EmailAuthenticationMethodable, requestConfiguration *ItemAuthenticationEmailMethodsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_authentication_fido2_methods_fido2_authentication_method_item_request_builder.go b/users/item_authentication_fido2_methods_fido2_authentication_method_item_request_builder.go index 916e2b884db..0970b03218f 100644 --- a/users/item_authentication_fido2_methods_fido2_authentication_method_item_request_builder.go +++ b/users/item_authentication_fido2_methods_fido2_authentication_method_item_request_builder.go @@ -18,7 +18,7 @@ type ItemAuthenticationFido2MethodsFido2AuthenticationMethodItemRequestBuilderDe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemAuthenticationFido2MethodsFido2AuthenticationMethodItemRequestBuilderGetQueryParameters retrieve a user's single FIDO2 Security Key Authentication Method object. +// ItemAuthenticationFido2MethodsFido2AuthenticationMethodItemRequestBuilderGetQueryParameters represents the FIDO2 security keys registered to a user for authentication. type ItemAuthenticationFido2MethodsFido2AuthenticationMethodItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemAuthenticationFido2MethodsFido2AuthenticationMethodItemRequestBuilde urlParams["request-raw-url"] = rawUrl return NewItemAuthenticationFido2MethodsFido2AuthenticationMethodItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a user's FIDO2 Security Key Authentication Method object. +// Delete delete navigation property fido2Methods for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/fido2authenticationmethod-delete?view=graph-rest-1.0 func (m *ItemAuthenticationFido2MethodsFido2AuthenticationMethodItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemAuthenticationFido2MethodsFido2AuthenticationMethodItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemAuthenticationFido2MethodsFido2AuthenticationMethodItemRequestBuild } return nil } -// Get retrieve a user's single FIDO2 Security Key Authentication Method object. +// Get represents the FIDO2 security keys registered to a user for authentication. // returns a Fido2AuthenticationMethodable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/fido2authenticationmethod-get?view=graph-rest-1.0 func (m *ItemAuthenticationFido2MethodsFido2AuthenticationMethodItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAuthenticationFido2MethodsFido2AuthenticationMethodItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Fido2AuthenticationMethodable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemAuthenticationFido2MethodsFido2AuthenticationMethodItemRequestBuild } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Fido2AuthenticationMethodable), nil } -// ToDeleteRequestInformation deletes a user's FIDO2 Security Key Authentication Method object. +// ToDeleteRequestInformation delete navigation property fido2Methods for users // returns a *RequestInformation when successful func (m *ItemAuthenticationFido2MethodsFido2AuthenticationMethodItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemAuthenticationFido2MethodsFido2AuthenticationMethodItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemAuthenticationFido2MethodsFido2AuthenticationMethodItemRequestBuild requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a user's single FIDO2 Security Key Authentication Method object. +// ToGetRequestInformation represents the FIDO2 security keys registered to a user for authentication. // returns a *RequestInformation when successful func (m *ItemAuthenticationFido2MethodsFido2AuthenticationMethodItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAuthenticationFido2MethodsFido2AuthenticationMethodItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_authentication_fido2_methods_request_builder.go b/users/item_authentication_fido2_methods_request_builder.go index 51513d3187e..33bd6a8d661 100644 --- a/users/item_authentication_fido2_methods_request_builder.go +++ b/users/item_authentication_fido2_methods_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemAuthenticationFido2MethodsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemAuthenticationFido2MethodsRequestBuilderGetQueryParameters retrieve a list of a user's FIDO2 Security Key Authentication Method objects and their properties. +// ItemAuthenticationFido2MethodsRequestBuilderGetQueryParameters represents the FIDO2 security keys registered to a user for authentication. type ItemAuthenticationFido2MethodsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewItemAuthenticationFido2MethodsRequestBuilder(rawUrl string, requestAdapt func (m *ItemAuthenticationFido2MethodsRequestBuilder) Count()(*ItemAuthenticationFido2MethodsCountRequestBuilder) { return NewItemAuthenticationFido2MethodsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of a user's FIDO2 Security Key Authentication Method objects and their properties. +// Get represents the FIDO2 security keys registered to a user for authentication. // returns a Fido2AuthenticationMethodCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/fido2authenticationmethod-list?view=graph-rest-1.0 func (m *ItemAuthenticationFido2MethodsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAuthenticationFido2MethodsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Fido2AuthenticationMethodCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *ItemAuthenticationFido2MethodsRequestBuilder) Get(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Fido2AuthenticationMethodCollectionResponseable), nil } -// ToGetRequestInformation retrieve a list of a user's FIDO2 Security Key Authentication Method objects and their properties. +// ToGetRequestInformation represents the FIDO2 security keys registered to a user for authentication. // returns a *RequestInformation when successful func (m *ItemAuthenticationFido2MethodsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAuthenticationFido2MethodsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_authentication_methods_authentication_method_item_request_builder.go b/users/item_authentication_methods_authentication_method_item_request_builder.go index b6cc8637f80..fb190f9552b 100644 --- a/users/item_authentication_methods_authentication_method_item_request_builder.go +++ b/users/item_authentication_methods_authentication_method_item_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemAuthenticationMethodsAuthenticationMethodItemRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemAuthenticationMethodsAuthenticationMethodItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an authenticationMethod object. +// ItemAuthenticationMethodsAuthenticationMethodItemRequestBuilderGetQueryParameters represents all authentication methods registered to a user. type ItemAuthenticationMethodsAuthenticationMethodItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,12 +57,9 @@ func (m *ItemAuthenticationMethodsAuthenticationMethodItemRequestBuilder) Disabl func (m *ItemAuthenticationMethodsAuthenticationMethodItemRequestBuilder) EnableSmsSignIn()(*ItemAuthenticationMethodsItemEnableSmsSignInRequestBuilder) { return NewItemAuthenticationMethodsItemEnableSmsSignInRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties and relationships of an authenticationMethod object. +// Get represents all authentication methods registered to a user. // returns a AuthenticationMethodable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationmethod-get?view=graph-rest-1.0 func (m *ItemAuthenticationMethodsAuthenticationMethodItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAuthenticationMethodsAuthenticationMethodItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationMethodable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -105,7 +102,7 @@ func (m *ItemAuthenticationMethodsAuthenticationMethodItemRequestBuilder) Patch( func (m *ItemAuthenticationMethodsAuthenticationMethodItemRequestBuilder) ResetPassword()(*ItemAuthenticationMethodsItemResetPasswordRequestBuilder) { return NewItemAuthenticationMethodsItemResetPasswordRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation retrieve the properties and relationships of an authenticationMethod object. +// ToGetRequestInformation represents all authentication methods registered to a user. // returns a *RequestInformation when successful func (m *ItemAuthenticationMethodsAuthenticationMethodItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAuthenticationMethodsAuthenticationMethodItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_authentication_methods_item_reset_password_request_builder.go b/users/item_authentication_methods_item_reset_password_request_builder.go index e70bad5eb53..e8c0a328614 100644 --- a/users/item_authentication_methods_item_reset_password_request_builder.go +++ b/users/item_authentication_methods_item_reset_password_request_builder.go @@ -36,7 +36,7 @@ func NewItemAuthenticationMethodsItemResetPasswordRequestBuilder(rawUrl string, // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationmethod-resetpassword?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationmethod-resetpassword?view=graph-rest-beta func (m *ItemAuthenticationMethodsItemResetPasswordRequestBuilder) Post(ctx context.Context, body ItemAuthenticationMethodsItemResetPasswordPostRequestBodyable, requestConfiguration *ItemAuthenticationMethodsItemResetPasswordRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PasswordResetResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_authentication_methods_request_builder.go b/users/item_authentication_methods_request_builder.go index a7456eb5b58..ca62aeeb253 100644 --- a/users/item_authentication_methods_request_builder.go +++ b/users/item_authentication_methods_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemAuthenticationMethodsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemAuthenticationMethodsRequestBuilderGetQueryParameters retrieve a list of authentication methods registered to a user. The authentication methods are defined by the types derived from the authenticationMethod resource type, and only the methods supported on this API version. See Microsoft Entra authentication methods API overview for a list of currently supported methods. We don't recommend using the authentication methods APIs for scenarios where you need to iterate over your entire user population for auditing or security check purposes. For these types of scenarios, we recommend using the authentication method registration and usage reporting APIs. +// ItemAuthenticationMethodsRequestBuilderGetQueryParameters represents all authentication methods registered to a user. type ItemAuthenticationMethodsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemAuthenticationMethodsRequestBuilder(rawUrl string, requestAdapter i2 func (m *ItemAuthenticationMethodsRequestBuilder) Count()(*ItemAuthenticationMethodsCountRequestBuilder) { return NewItemAuthenticationMethodsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of authentication methods registered to a user. The authentication methods are defined by the types derived from the authenticationMethod resource type, and only the methods supported on this API version. See Microsoft Entra authentication methods API overview for a list of currently supported methods. We don't recommend using the authentication methods APIs for scenarios where you need to iterate over your entire user population for auditing or security check purposes. For these types of scenarios, we recommend using the authentication method registration and usage reporting APIs. +// Get represents all authentication methods registered to a user. // returns a AuthenticationMethodCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/authentication-list-methods?view=graph-rest-1.0 func (m *ItemAuthenticationMethodsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAuthenticationMethodsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationMethodCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemAuthenticationMethodsRequestBuilder) Post(ctx context.Context, body } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationMethodable), nil } -// ToGetRequestInformation retrieve a list of authentication methods registered to a user. The authentication methods are defined by the types derived from the authenticationMethod resource type, and only the methods supported on this API version. See Microsoft Entra authentication methods API overview for a list of currently supported methods. We don't recommend using the authentication methods APIs for scenarios where you need to iterate over your entire user population for auditing or security check purposes. For these types of scenarios, we recommend using the authentication method registration and usage reporting APIs. +// ToGetRequestInformation represents all authentication methods registered to a user. // returns a *RequestInformation when successful func (m *ItemAuthenticationMethodsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAuthenticationMethodsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_authentication_microsoft_authenticator_methods_microsoft_authenticator_authentication_method_item_request_builder.go b/users/item_authentication_microsoft_authenticator_methods_microsoft_authenticator_authentication_method_item_request_builder.go index 41c08274421..96ddb23b319 100644 --- a/users/item_authentication_microsoft_authenticator_methods_microsoft_authenticator_authentication_method_item_request_builder.go +++ b/users/item_authentication_microsoft_authenticator_methods_microsoft_authenticator_authentication_method_item_request_builder.go @@ -18,7 +18,7 @@ type ItemAuthenticationMicrosoftAuthenticatorMethodsMicrosoftAuthenticatorAuthen // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemAuthenticationMicrosoftAuthenticatorMethodsMicrosoftAuthenticatorAuthenticationMethodItemRequestBuilderGetQueryParameters read the properties and relationships of a microsoftAuthenticatorAuthenticationMethod object. +// ItemAuthenticationMicrosoftAuthenticatorMethodsMicrosoftAuthenticatorAuthenticationMethodItemRequestBuilderGetQueryParameters the details of the Microsoft Authenticator app registered to a user for authentication. type ItemAuthenticationMicrosoftAuthenticatorMethodsMicrosoftAuthenticatorAuthenticationMethodItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemAuthenticationMicrosoftAuthenticatorMethodsMicrosoftAuthenticatorAut urlParams["request-raw-url"] = rawUrl return NewItemAuthenticationMicrosoftAuthenticatorMethodsMicrosoftAuthenticatorAuthenticationMethodItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a microsoftAuthenticatorAuthenticationMethod object. +// Delete delete navigation property microsoftAuthenticatorMethods for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/microsoftauthenticatorauthenticationmethod-delete?view=graph-rest-1.0 func (m *ItemAuthenticationMicrosoftAuthenticatorMethodsMicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemAuthenticationMicrosoftAuthenticatorMethodsMicrosoftAuthenticatorAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -71,12 +68,9 @@ func (m *ItemAuthenticationMicrosoftAuthenticatorMethodsMicrosoftAuthenticatorAu func (m *ItemAuthenticationMicrosoftAuthenticatorMethodsMicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder) Device()(*ItemAuthenticationMicrosoftAuthenticatorMethodsItemDeviceRequestBuilder) { return NewItemAuthenticationMicrosoftAuthenticatorMethodsItemDeviceRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of a microsoftAuthenticatorAuthenticationMethod object. +// Get the details of the Microsoft Authenticator app registered to a user for authentication. // returns a MicrosoftAuthenticatorAuthenticationMethodable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/microsoftauthenticatorauthenticationmethod-get?view=graph-rest-1.0 func (m *ItemAuthenticationMicrosoftAuthenticatorMethodsMicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAuthenticationMicrosoftAuthenticatorMethodsMicrosoftAuthenticatorAuthenticationMethodItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MicrosoftAuthenticatorAuthenticationMethodable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -94,7 +88,7 @@ func (m *ItemAuthenticationMicrosoftAuthenticatorMethodsMicrosoftAuthenticatorAu } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MicrosoftAuthenticatorAuthenticationMethodable), nil } -// ToDeleteRequestInformation deletes a microsoftAuthenticatorAuthenticationMethod object. +// ToDeleteRequestInformation delete navigation property microsoftAuthenticatorMethods for users // returns a *RequestInformation when successful func (m *ItemAuthenticationMicrosoftAuthenticatorMethodsMicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemAuthenticationMicrosoftAuthenticatorMethodsMicrosoftAuthenticatorAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -105,7 +99,7 @@ func (m *ItemAuthenticationMicrosoftAuthenticatorMethodsMicrosoftAuthenticatorAu requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a microsoftAuthenticatorAuthenticationMethod object. +// ToGetRequestInformation the details of the Microsoft Authenticator app registered to a user for authentication. // returns a *RequestInformation when successful func (m *ItemAuthenticationMicrosoftAuthenticatorMethodsMicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAuthenticationMicrosoftAuthenticatorMethodsMicrosoftAuthenticatorAuthenticationMethodItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_authentication_microsoft_authenticator_methods_request_builder.go b/users/item_authentication_microsoft_authenticator_methods_request_builder.go index fdcbf481150..1bbad3606c2 100644 --- a/users/item_authentication_microsoft_authenticator_methods_request_builder.go +++ b/users/item_authentication_microsoft_authenticator_methods_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemAuthenticationMicrosoftAuthenticatorMethodsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemAuthenticationMicrosoftAuthenticatorMethodsRequestBuilderGetQueryParameters get a list of the microsoftAuthenticatorAuthenticationMethod objects and their properties. +// ItemAuthenticationMicrosoftAuthenticatorMethodsRequestBuilderGetQueryParameters the details of the Microsoft Authenticator app registered to a user for authentication. type ItemAuthenticationMicrosoftAuthenticatorMethodsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewItemAuthenticationMicrosoftAuthenticatorMethodsRequestBuilder(rawUrl str func (m *ItemAuthenticationMicrosoftAuthenticatorMethodsRequestBuilder) Count()(*ItemAuthenticationMicrosoftAuthenticatorMethodsCountRequestBuilder) { return NewItemAuthenticationMicrosoftAuthenticatorMethodsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the microsoftAuthenticatorAuthenticationMethod objects and their properties. +// Get the details of the Microsoft Authenticator app registered to a user for authentication. // returns a MicrosoftAuthenticatorAuthenticationMethodCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/microsoftauthenticatorauthenticationmethod-list?view=graph-rest-1.0 func (m *ItemAuthenticationMicrosoftAuthenticatorMethodsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAuthenticationMicrosoftAuthenticatorMethodsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MicrosoftAuthenticatorAuthenticationMethodCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *ItemAuthenticationMicrosoftAuthenticatorMethodsRequestBuilder) Get(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MicrosoftAuthenticatorAuthenticationMethodCollectionResponseable), nil } -// ToGetRequestInformation get a list of the microsoftAuthenticatorAuthenticationMethod objects and their properties. +// ToGetRequestInformation the details of the Microsoft Authenticator app registered to a user for authentication. // returns a *RequestInformation when successful func (m *ItemAuthenticationMicrosoftAuthenticatorMethodsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAuthenticationMicrosoftAuthenticatorMethodsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_authentication_operations_long_running_operation_item_request_builder.go b/users/item_authentication_operations_long_running_operation_item_request_builder.go index 765bc977dd9..7b9643670ea 100644 --- a/users/item_authentication_operations_long_running_operation_item_request_builder.go +++ b/users/item_authentication_operations_long_running_operation_item_request_builder.go @@ -18,7 +18,7 @@ type ItemAuthenticationOperationsLongRunningOperationItemRequestBuilderDeleteReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemAuthenticationOperationsLongRunningOperationItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an operation object. Currently these operations are generated by initiating a password reset using the reset password method. An operation object tells the caller about the current state of that password reset operation. Possible states include: Succeeded and Failed are terminal states. +// ItemAuthenticationOperationsLongRunningOperationItemRequestBuilderGetQueryParameters get operations from users type ItemAuthenticationOperationsLongRunningOperationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemAuthenticationOperationsLongRunningOperationItemRequestBuilder) Del } return nil } -// Get retrieve the properties and relationships of an operation object. Currently these operations are generated by initiating a password reset using the reset password method. An operation object tells the caller about the current state of that password reset operation. Possible states include: Succeeded and Failed are terminal states. +// Get get operations from users // returns a LongRunningOperationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationoperation-get?view=graph-rest-1.0 func (m *ItemAuthenticationOperationsLongRunningOperationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAuthenticationOperationsLongRunningOperationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LongRunningOperationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemAuthenticationOperationsLongRunningOperationItemRequestBuilder) ToD requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of an operation object. Currently these operations are generated by initiating a password reset using the reset password method. An operation object tells the caller about the current state of that password reset operation. Possible states include: Succeeded and Failed are terminal states. +// ToGetRequestInformation get operations from users // returns a *RequestInformation when successful func (m *ItemAuthenticationOperationsLongRunningOperationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAuthenticationOperationsLongRunningOperationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_authentication_operations_request_builder.go b/users/item_authentication_operations_request_builder.go index ef3d7f4d01c..b8bd9c16065 100644 --- a/users/item_authentication_operations_request_builder.go +++ b/users/item_authentication_operations_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemAuthenticationOperationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemAuthenticationOperationsRequestBuilderGetQueryParameters retrieve the properties and relationships of an operation object. Currently these operations are generated by initiating a password reset using the reset password method. An operation object tells the caller about the current state of that password reset operation. Possible states include: Succeeded and Failed are terminal states. +// ItemAuthenticationOperationsRequestBuilderGetQueryParameters get operations from users type ItemAuthenticationOperationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewItemAuthenticationOperationsRequestBuilder(rawUrl string, requestAdapter func (m *ItemAuthenticationOperationsRequestBuilder) Count()(*ItemAuthenticationOperationsCountRequestBuilder) { return NewItemAuthenticationOperationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties and relationships of an operation object. Currently these operations are generated by initiating a password reset using the reset password method. An operation object tells the caller about the current state of that password reset operation. Possible states include: Succeeded and Failed are terminal states. +// Get get operations from users // returns a LongRunningOperationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemAuthenticationOperationsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAuthenticationOperationsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LongRunningOperationCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *ItemAuthenticationOperationsRequestBuilder) Post(ctx context.Context, b } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LongRunningOperationable), nil } -// ToGetRequestInformation retrieve the properties and relationships of an operation object. Currently these operations are generated by initiating a password reset using the reset password method. An operation object tells the caller about the current state of that password reset operation. Possible states include: Succeeded and Failed are terminal states. +// ToGetRequestInformation get operations from users // returns a *RequestInformation when successful func (m *ItemAuthenticationOperationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAuthenticationOperationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_authentication_password_methods_password_authentication_method_item_request_builder.go b/users/item_authentication_password_methods_password_authentication_method_item_request_builder.go index 70b562647af..e738eef4d71 100644 --- a/users/item_authentication_password_methods_password_authentication_method_item_request_builder.go +++ b/users/item_authentication_password_methods_password_authentication_method_item_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemAuthenticationPasswordMethodsPasswordAuthenticationMethodItemRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemAuthenticationPasswordMethodsPasswordAuthenticationMethodItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a password authentication method object. +// ItemAuthenticationPasswordMethodsPasswordAuthenticationMethodItemRequestBuilderGetQueryParameters represents the details of the password authentication method registered to a user for authentication. type ItemAuthenticationPasswordMethodsPasswordAuthenticationMethodItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -40,12 +40,9 @@ func NewItemAuthenticationPasswordMethodsPasswordAuthenticationMethodItemRequest urlParams["request-raw-url"] = rawUrl return NewItemAuthenticationPasswordMethodsPasswordAuthenticationMethodItemRequestBuilderInternal(urlParams, requestAdapter) } -// Get retrieve the properties and relationships of a password authentication method object. +// Get represents the details of the password authentication method registered to a user for authentication. // returns a PasswordAuthenticationMethodable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/passwordauthenticationmethod-get?view=graph-rest-1.0 func (m *ItemAuthenticationPasswordMethodsPasswordAuthenticationMethodItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAuthenticationPasswordMethodsPasswordAuthenticationMethodItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PasswordAuthenticationMethodable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -63,7 +60,7 @@ func (m *ItemAuthenticationPasswordMethodsPasswordAuthenticationMethodItemReques } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PasswordAuthenticationMethodable), nil } -// ToGetRequestInformation retrieve the properties and relationships of a password authentication method object. +// ToGetRequestInformation represents the details of the password authentication method registered to a user for authentication. // returns a *RequestInformation when successful func (m *ItemAuthenticationPasswordMethodsPasswordAuthenticationMethodItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAuthenticationPasswordMethodsPasswordAuthenticationMethodItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_authentication_password_methods_request_builder.go b/users/item_authentication_password_methods_request_builder.go index f5fcaa65b22..ec042f85c96 100644 --- a/users/item_authentication_password_methods_request_builder.go +++ b/users/item_authentication_password_methods_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemAuthenticationPasswordMethodsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemAuthenticationPasswordMethodsRequestBuilderGetQueryParameters retrieve a list of password authentication method objects. This API returns exactly one object, as a user can have exactly one password. +// ItemAuthenticationPasswordMethodsRequestBuilderGetQueryParameters represents the details of the password authentication method registered to a user for authentication. type ItemAuthenticationPasswordMethodsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemAuthenticationPasswordMethodsRequestBuilder(rawUrl string, requestAd func (m *ItemAuthenticationPasswordMethodsRequestBuilder) Count()(*ItemAuthenticationPasswordMethodsCountRequestBuilder) { return NewItemAuthenticationPasswordMethodsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of password authentication method objects. This API returns exactly one object, as a user can have exactly one password. +// Get represents the details of the password authentication method registered to a user for authentication. // returns a PasswordAuthenticationMethodCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/authentication-list-passwordmethods?view=graph-rest-1.0 func (m *ItemAuthenticationPasswordMethodsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAuthenticationPasswordMethodsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PasswordAuthenticationMethodCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemAuthenticationPasswordMethodsRequestBuilder) Post(ctx context.Conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PasswordAuthenticationMethodable), nil } -// ToGetRequestInformation retrieve a list of password authentication method objects. This API returns exactly one object, as a user can have exactly one password. +// ToGetRequestInformation represents the details of the password authentication method registered to a user for authentication. // returns a *RequestInformation when successful func (m *ItemAuthenticationPasswordMethodsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAuthenticationPasswordMethodsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_authentication_passwordless_microsoft_authenticator_methods_passwordless_microsoft_authenticator_authentication_method_item_request_builder.go b/users/item_authentication_passwordless_microsoft_authenticator_methods_passwordless_microsoft_authenticator_authentication_method_item_request_builder.go index fe7b4752e75..ee7acdbfe7f 100644 --- a/users/item_authentication_passwordless_microsoft_authenticator_methods_passwordless_microsoft_authenticator_authentication_method_item_request_builder.go +++ b/users/item_authentication_passwordless_microsoft_authenticator_methods_passwordless_microsoft_authenticator_authentication_method_item_request_builder.go @@ -18,7 +18,7 @@ type ItemAuthenticationPasswordlessMicrosoftAuthenticatorMethodsPasswordlessMicr // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemAuthenticationPasswordlessMicrosoftAuthenticatorMethodsPasswordlessMicrosoftAuthenticatorAuthenticationMethodItemRequestBuilderGetQueryParameters retrieve a user's single Microsoft Authenticator Passwordless Phone Sign-in method object. +// ItemAuthenticationPasswordlessMicrosoftAuthenticatorMethodsPasswordlessMicrosoftAuthenticatorAuthenticationMethodItemRequestBuilderGetQueryParameters represents the Microsoft Authenticator Passwordless Phone Sign-in methods registered to a user for authentication. type ItemAuthenticationPasswordlessMicrosoftAuthenticatorMethodsPasswordlessMicrosoftAuthenticatorAuthenticationMethodItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemAuthenticationPasswordlessMicrosoftAuthenticatorMethodsPasswordlessM urlParams["request-raw-url"] = rawUrl return NewItemAuthenticationPasswordlessMicrosoftAuthenticatorMethodsPasswordlessMicrosoftAuthenticatorAuthenticationMethodItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a user's Microsoft Authenticator Passwordless Phone Sign-in method object. +// Delete delete navigation property passwordlessMicrosoftAuthenticatorMethods for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/passwordlessmicrosoftauthenticatorauthenticationmethod-delete?view=graph-rest-1.0 func (m *ItemAuthenticationPasswordlessMicrosoftAuthenticatorMethodsPasswordlessMicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemAuthenticationPasswordlessMicrosoftAuthenticatorMethodsPasswordlessMicrosoftAuthenticatorAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -71,12 +68,9 @@ func (m *ItemAuthenticationPasswordlessMicrosoftAuthenticatorMethodsPasswordless func (m *ItemAuthenticationPasswordlessMicrosoftAuthenticatorMethodsPasswordlessMicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder) Device()(*ItemAuthenticationPasswordlessMicrosoftAuthenticatorMethodsItemDeviceRequestBuilder) { return NewItemAuthenticationPasswordlessMicrosoftAuthenticatorMethodsItemDeviceRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a user's single Microsoft Authenticator Passwordless Phone Sign-in method object. +// Get represents the Microsoft Authenticator Passwordless Phone Sign-in methods registered to a user for authentication. // returns a PasswordlessMicrosoftAuthenticatorAuthenticationMethodable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/passwordlessmicrosoftauthenticatorauthenticationmethod-get?view=graph-rest-1.0 func (m *ItemAuthenticationPasswordlessMicrosoftAuthenticatorMethodsPasswordlessMicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAuthenticationPasswordlessMicrosoftAuthenticatorMethodsPasswordlessMicrosoftAuthenticatorAuthenticationMethodItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PasswordlessMicrosoftAuthenticatorAuthenticationMethodable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -94,7 +88,7 @@ func (m *ItemAuthenticationPasswordlessMicrosoftAuthenticatorMethodsPasswordless } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PasswordlessMicrosoftAuthenticatorAuthenticationMethodable), nil } -// ToDeleteRequestInformation deletes a user's Microsoft Authenticator Passwordless Phone Sign-in method object. +// ToDeleteRequestInformation delete navigation property passwordlessMicrosoftAuthenticatorMethods for users // returns a *RequestInformation when successful func (m *ItemAuthenticationPasswordlessMicrosoftAuthenticatorMethodsPasswordlessMicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemAuthenticationPasswordlessMicrosoftAuthenticatorMethodsPasswordlessMicrosoftAuthenticatorAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -105,7 +99,7 @@ func (m *ItemAuthenticationPasswordlessMicrosoftAuthenticatorMethodsPasswordless requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a user's single Microsoft Authenticator Passwordless Phone Sign-in method object. +// ToGetRequestInformation represents the Microsoft Authenticator Passwordless Phone Sign-in methods registered to a user for authentication. // returns a *RequestInformation when successful func (m *ItemAuthenticationPasswordlessMicrosoftAuthenticatorMethodsPasswordlessMicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAuthenticationPasswordlessMicrosoftAuthenticatorMethodsPasswordlessMicrosoftAuthenticatorAuthenticationMethodItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_authentication_passwordless_microsoft_authenticator_methods_request_builder.go b/users/item_authentication_passwordless_microsoft_authenticator_methods_request_builder.go index 6ec7fb043dd..e2a7babd4a5 100644 --- a/users/item_authentication_passwordless_microsoft_authenticator_methods_request_builder.go +++ b/users/item_authentication_passwordless_microsoft_authenticator_methods_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemAuthenticationPasswordlessMicrosoftAuthenticatorMethodsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemAuthenticationPasswordlessMicrosoftAuthenticatorMethodsRequestBuilderGetQueryParameters retrieve a list of a user's Microsoft Authenticator Passwordless Phone Sign-in method objects and their properties. +// ItemAuthenticationPasswordlessMicrosoftAuthenticatorMethodsRequestBuilderGetQueryParameters represents the Microsoft Authenticator Passwordless Phone Sign-in methods registered to a user for authentication. type ItemAuthenticationPasswordlessMicrosoftAuthenticatorMethodsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewItemAuthenticationPasswordlessMicrosoftAuthenticatorMethodsRequestBuilde func (m *ItemAuthenticationPasswordlessMicrosoftAuthenticatorMethodsRequestBuilder) Count()(*ItemAuthenticationPasswordlessMicrosoftAuthenticatorMethodsCountRequestBuilder) { return NewItemAuthenticationPasswordlessMicrosoftAuthenticatorMethodsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of a user's Microsoft Authenticator Passwordless Phone Sign-in method objects and their properties. +// Get represents the Microsoft Authenticator Passwordless Phone Sign-in methods registered to a user for authentication. // returns a PasswordlessMicrosoftAuthenticatorAuthenticationMethodCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/passwordlessmicrosoftauthenticatorauthenticationmethod-list?view=graph-rest-1.0 func (m *ItemAuthenticationPasswordlessMicrosoftAuthenticatorMethodsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAuthenticationPasswordlessMicrosoftAuthenticatorMethodsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PasswordlessMicrosoftAuthenticatorAuthenticationMethodCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *ItemAuthenticationPasswordlessMicrosoftAuthenticatorMethodsRequestBuild } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PasswordlessMicrosoftAuthenticatorAuthenticationMethodCollectionResponseable), nil } -// ToGetRequestInformation retrieve a list of a user's Microsoft Authenticator Passwordless Phone Sign-in method objects and their properties. +// ToGetRequestInformation represents the Microsoft Authenticator Passwordless Phone Sign-in methods registered to a user for authentication. // returns a *RequestInformation when successful func (m *ItemAuthenticationPasswordlessMicrosoftAuthenticatorMethodsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAuthenticationPasswordlessMicrosoftAuthenticatorMethodsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_authentication_phone_methods_phone_authentication_method_item_request_builder.go b/users/item_authentication_phone_methods_phone_authentication_method_item_request_builder.go index d200e5b33ca..8ad72f445de 100644 --- a/users/item_authentication_phone_methods_phone_authentication_method_item_request_builder.go +++ b/users/item_authentication_phone_methods_phone_authentication_method_item_request_builder.go @@ -18,7 +18,7 @@ type ItemAuthenticationPhoneMethodsPhoneAuthenticationMethodItemRequestBuilderDe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemAuthenticationPhoneMethodsPhoneAuthenticationMethodItemRequestBuilderGetQueryParameters retrieve a single phoneAuthenticationMethod object. This method is available only for standard Microsoft Entra ID and B2B users, but not B2C users. +// ItemAuthenticationPhoneMethodsPhoneAuthenticationMethodItemRequestBuilderGetQueryParameters represents the phone registered to a user for authentication. type ItemAuthenticationPhoneMethodsPhoneAuthenticationMethodItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemAuthenticationPhoneMethodsPhoneAuthenticationMethodItemRequestBuilde urlParams["request-raw-url"] = rawUrl return NewItemAuthenticationPhoneMethodsPhoneAuthenticationMethodItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a user's phone authentication method. Remember that a user may not have an alternateMobile number without a mobile number. If you want to remove a mobile number from a user that also has an alternateMobile number, first update the mobile number to the new number, then delete the alternateMobile number. If the phone number is the user's default Azure multifactor authentication (MFA) authentication method, it cannot be deleted. Have the user change their default authentication method, and then delete the number. +// Delete delete navigation property phoneMethods for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/phoneauthenticationmethod-delete?view=graph-rest-1.0 func (m *ItemAuthenticationPhoneMethodsPhoneAuthenticationMethodItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemAuthenticationPhoneMethodsPhoneAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemAuthenticationPhoneMethodsPhoneAuthenticationMethodItemRequestBuild } return nil } -// Get retrieve a single phoneAuthenticationMethod object. This method is available only for standard Microsoft Entra ID and B2B users, but not B2C users. +// Get represents the phone registered to a user for authentication. // returns a PhoneAuthenticationMethodable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/phoneauthenticationmethod-get?view=graph-rest-1.0 func (m *ItemAuthenticationPhoneMethodsPhoneAuthenticationMethodItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAuthenticationPhoneMethodsPhoneAuthenticationMethodItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PhoneAuthenticationMethodable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ItemAuthenticationPhoneMethodsPhoneAuthenticationMethodItemRequestBuild } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PhoneAuthenticationMethodable), nil } -// Patch update the phone number associated with a phone authentication method. You can't change a phone's type. To change a phone's type, add a new number of the desired type and then delete the object with the original type. If a user is enabled by policy to use SMS to sign in and the mobile number is changed, the system attempts to register the number for use in that system. +// Patch update the navigation property phoneMethods in users // returns a PhoneAuthenticationMethodable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/phoneauthenticationmethod-update?view=graph-rest-1.0 func (m *ItemAuthenticationPhoneMethodsPhoneAuthenticationMethodItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PhoneAuthenticationMethodable, requestConfiguration *ItemAuthenticationPhoneMethodsPhoneAuthenticationMethodItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PhoneAuthenticationMethodable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *ItemAuthenticationPhoneMethodsPhoneAuthenticationMethodItemRequestBuild } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PhoneAuthenticationMethodable), nil } -// ToDeleteRequestInformation delete a user's phone authentication method. Remember that a user may not have an alternateMobile number without a mobile number. If you want to remove a mobile number from a user that also has an alternateMobile number, first update the mobile number to the new number, then delete the alternateMobile number. If the phone number is the user's default Azure multifactor authentication (MFA) authentication method, it cannot be deleted. Have the user change their default authentication method, and then delete the number. +// ToDeleteRequestInformation delete navigation property phoneMethods for users // returns a *RequestInformation when successful func (m *ItemAuthenticationPhoneMethodsPhoneAuthenticationMethodItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemAuthenticationPhoneMethodsPhoneAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *ItemAuthenticationPhoneMethodsPhoneAuthenticationMethodItemRequestBuild requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a single phoneAuthenticationMethod object. This method is available only for standard Microsoft Entra ID and B2B users, but not B2C users. +// ToGetRequestInformation represents the phone registered to a user for authentication. // returns a *RequestInformation when successful func (m *ItemAuthenticationPhoneMethodsPhoneAuthenticationMethodItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAuthenticationPhoneMethodsPhoneAuthenticationMethodItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *ItemAuthenticationPhoneMethodsPhoneAuthenticationMethodItemRequestBuild requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the phone number associated with a phone authentication method. You can't change a phone's type. To change a phone's type, add a new number of the desired type and then delete the object with the original type. If a user is enabled by policy to use SMS to sign in and the mobile number is changed, the system attempts to register the number for use in that system. +// ToPatchRequestInformation update the navigation property phoneMethods in users // returns a *RequestInformation when successful func (m *ItemAuthenticationPhoneMethodsPhoneAuthenticationMethodItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PhoneAuthenticationMethodable, requestConfiguration *ItemAuthenticationPhoneMethodsPhoneAuthenticationMethodItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_authentication_phone_methods_request_builder.go b/users/item_authentication_phone_methods_request_builder.go index 1e13dfe0669..2d2e89fb11f 100644 --- a/users/item_authentication_phone_methods_request_builder.go +++ b/users/item_authentication_phone_methods_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemAuthenticationPhoneMethodsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemAuthenticationPhoneMethodsRequestBuilderGetQueryParameters retrieve a list of phone authentication method objects. This will return up to three objects, as a user can have up to three phones usable for authentication. This method is available only for standard Microsoft Entra ID and B2B users, but not B2C users. +// ItemAuthenticationPhoneMethodsRequestBuilderGetQueryParameters represents the phone registered to a user for authentication. type ItemAuthenticationPhoneMethodsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemAuthenticationPhoneMethodsRequestBuilder(rawUrl string, requestAdapt func (m *ItemAuthenticationPhoneMethodsRequestBuilder) Count()(*ItemAuthenticationPhoneMethodsCountRequestBuilder) { return NewItemAuthenticationPhoneMethodsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of phone authentication method objects. This will return up to three objects, as a user can have up to three phones usable for authentication. This method is available only for standard Microsoft Entra ID and B2B users, but not B2C users. +// Get represents the phone registered to a user for authentication. // returns a PhoneAuthenticationMethodCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/authentication-list-phonemethods?view=graph-rest-1.0 func (m *ItemAuthenticationPhoneMethodsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAuthenticationPhoneMethodsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PhoneAuthenticationMethodCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemAuthenticationPhoneMethodsRequestBuilder) Get(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PhoneAuthenticationMethodCollectionResponseable), nil } -// Post add a new phone authentication method. A user may only have one phone of each type, captured in the phoneType property. This means, for example, adding a mobile phone to a user with a preexisting mobile phone will fail. Additionally, a user must always have a mobile phone before adding an alternateMobile phone. Adding a phone number makes it available for use in both Azure multifactor authentication (MFA) and self-service password reset (SSPR), if enabled. Additionally, if a user is enabled by policy to use SMS sign-in and a mobile number is added, the system attempts to register the number for use in that system. +// Post create new navigation property to phoneMethods for users // returns a PhoneAuthenticationMethodable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/authentication-post-phonemethods?view=graph-rest-1.0 func (m *ItemAuthenticationPhoneMethodsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PhoneAuthenticationMethodable, requestConfiguration *ItemAuthenticationPhoneMethodsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PhoneAuthenticationMethodable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemAuthenticationPhoneMethodsRequestBuilder) Post(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PhoneAuthenticationMethodable), nil } -// ToGetRequestInformation retrieve a list of phone authentication method objects. This will return up to three objects, as a user can have up to three phones usable for authentication. This method is available only for standard Microsoft Entra ID and B2B users, but not B2C users. +// ToGetRequestInformation represents the phone registered to a user for authentication. // returns a *RequestInformation when successful func (m *ItemAuthenticationPhoneMethodsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAuthenticationPhoneMethodsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemAuthenticationPhoneMethodsRequestBuilder) ToGetRequestInformation(c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add a new phone authentication method. A user may only have one phone of each type, captured in the phoneType property. This means, for example, adding a mobile phone to a user with a preexisting mobile phone will fail. Additionally, a user must always have a mobile phone before adding an alternateMobile phone. Adding a phone number makes it available for use in both Azure multifactor authentication (MFA) and self-service password reset (SSPR), if enabled. Additionally, if a user is enabled by policy to use SMS sign-in and a mobile number is added, the system attempts to register the number for use in that system. +// ToPostRequestInformation create new navigation property to phoneMethods for users // returns a *RequestInformation when successful func (m *ItemAuthenticationPhoneMethodsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PhoneAuthenticationMethodable, requestConfiguration *ItemAuthenticationPhoneMethodsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_authentication_platform_credential_methods_platform_credential_authentication_method_item_request_builder.go b/users/item_authentication_platform_credential_methods_platform_credential_authentication_method_item_request_builder.go index 73d1b64426c..0d60c424547 100644 --- a/users/item_authentication_platform_credential_methods_platform_credential_authentication_method_item_request_builder.go +++ b/users/item_authentication_platform_credential_methods_platform_credential_authentication_method_item_request_builder.go @@ -18,7 +18,7 @@ type ItemAuthenticationPlatformCredentialMethodsPlatformCredentialAuthentication // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemAuthenticationPlatformCredentialMethodsPlatformCredentialAuthenticationMethodItemRequestBuilderGetQueryParameters read the properties and relationships of a platformCredentialAuthenticationMethod object. +// ItemAuthenticationPlatformCredentialMethodsPlatformCredentialAuthenticationMethodItemRequestBuilderGetQueryParameters get platformCredentialMethods from users type ItemAuthenticationPlatformCredentialMethodsPlatformCredentialAuthenticationMethodItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemAuthenticationPlatformCredentialMethodsPlatformCredentialAuthenticat urlParams["request-raw-url"] = rawUrl return NewItemAuthenticationPlatformCredentialMethodsPlatformCredentialAuthenticationMethodItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a platformCredentialAuthenticationMethod object. +// Delete delete navigation property platformCredentialMethods for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/platformcredentialauthenticationmethod-delete?view=graph-rest-1.0 func (m *ItemAuthenticationPlatformCredentialMethodsPlatformCredentialAuthenticationMethodItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemAuthenticationPlatformCredentialMethodsPlatformCredentialAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -71,12 +68,9 @@ func (m *ItemAuthenticationPlatformCredentialMethodsPlatformCredentialAuthentica func (m *ItemAuthenticationPlatformCredentialMethodsPlatformCredentialAuthenticationMethodItemRequestBuilder) Device()(*ItemAuthenticationPlatformCredentialMethodsItemDeviceRequestBuilder) { return NewItemAuthenticationPlatformCredentialMethodsItemDeviceRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of a platformCredentialAuthenticationMethod object. +// Get get platformCredentialMethods from users // returns a PlatformCredentialAuthenticationMethodable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/platformcredentialauthenticationmethod-get?view=graph-rest-1.0 func (m *ItemAuthenticationPlatformCredentialMethodsPlatformCredentialAuthenticationMethodItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAuthenticationPlatformCredentialMethodsPlatformCredentialAuthenticationMethodItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlatformCredentialAuthenticationMethodable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -94,7 +88,7 @@ func (m *ItemAuthenticationPlatformCredentialMethodsPlatformCredentialAuthentica } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlatformCredentialAuthenticationMethodable), nil } -// ToDeleteRequestInformation delete a platformCredentialAuthenticationMethod object. +// ToDeleteRequestInformation delete navigation property platformCredentialMethods for users // returns a *RequestInformation when successful func (m *ItemAuthenticationPlatformCredentialMethodsPlatformCredentialAuthenticationMethodItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemAuthenticationPlatformCredentialMethodsPlatformCredentialAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -105,7 +99,7 @@ func (m *ItemAuthenticationPlatformCredentialMethodsPlatformCredentialAuthentica requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a platformCredentialAuthenticationMethod object. +// ToGetRequestInformation get platformCredentialMethods from users // returns a *RequestInformation when successful func (m *ItemAuthenticationPlatformCredentialMethodsPlatformCredentialAuthenticationMethodItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAuthenticationPlatformCredentialMethodsPlatformCredentialAuthenticationMethodItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_authentication_platform_credential_methods_request_builder.go b/users/item_authentication_platform_credential_methods_request_builder.go index 0164ca012a8..10787e565ad 100644 --- a/users/item_authentication_platform_credential_methods_request_builder.go +++ b/users/item_authentication_platform_credential_methods_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemAuthenticationPlatformCredentialMethodsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemAuthenticationPlatformCredentialMethodsRequestBuilderGetQueryParameters get a list of the platformCredentialAuthenticationMethod objects and their properties. +// ItemAuthenticationPlatformCredentialMethodsRequestBuilderGetQueryParameters get platformCredentialMethods from users type ItemAuthenticationPlatformCredentialMethodsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewItemAuthenticationPlatformCredentialMethodsRequestBuilder(rawUrl string, func (m *ItemAuthenticationPlatformCredentialMethodsRequestBuilder) Count()(*ItemAuthenticationPlatformCredentialMethodsCountRequestBuilder) { return NewItemAuthenticationPlatformCredentialMethodsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the platformCredentialAuthenticationMethod objects and their properties. +// Get get platformCredentialMethods from users // returns a PlatformCredentialAuthenticationMethodCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/platformcredentialauthenticationmethod-list?view=graph-rest-1.0 func (m *ItemAuthenticationPlatformCredentialMethodsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAuthenticationPlatformCredentialMethodsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlatformCredentialAuthenticationMethodCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *ItemAuthenticationPlatformCredentialMethodsRequestBuilder) Get(ctx cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlatformCredentialAuthenticationMethodCollectionResponseable), nil } -// ToGetRequestInformation get a list of the platformCredentialAuthenticationMethod objects and their properties. +// ToGetRequestInformation get platformCredentialMethods from users // returns a *RequestInformation when successful func (m *ItemAuthenticationPlatformCredentialMethodsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAuthenticationPlatformCredentialMethodsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_authentication_software_oath_methods_request_builder.go b/users/item_authentication_software_oath_methods_request_builder.go index 9918e65e603..2bdb8e8780e 100644 --- a/users/item_authentication_software_oath_methods_request_builder.go +++ b/users/item_authentication_software_oath_methods_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemAuthenticationSoftwareOathMethodsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemAuthenticationSoftwareOathMethodsRequestBuilderGetQueryParameters retrieve a list of a user's software OATH token authentication method objects and their properties. +// ItemAuthenticationSoftwareOathMethodsRequestBuilderGetQueryParameters get softwareOathMethods from users type ItemAuthenticationSoftwareOathMethodsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewItemAuthenticationSoftwareOathMethodsRequestBuilder(rawUrl string, reque func (m *ItemAuthenticationSoftwareOathMethodsRequestBuilder) Count()(*ItemAuthenticationSoftwareOathMethodsCountRequestBuilder) { return NewItemAuthenticationSoftwareOathMethodsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of a user's software OATH token authentication method objects and their properties. +// Get get softwareOathMethods from users // returns a SoftwareOathAuthenticationMethodCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/authentication-list-softwareoathmethods?view=graph-rest-1.0 func (m *ItemAuthenticationSoftwareOathMethodsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAuthenticationSoftwareOathMethodsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SoftwareOathAuthenticationMethodCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *ItemAuthenticationSoftwareOathMethodsRequestBuilder) Get(ctx context.Co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SoftwareOathAuthenticationMethodCollectionResponseable), nil } -// ToGetRequestInformation retrieve a list of a user's software OATH token authentication method objects and their properties. +// ToGetRequestInformation get softwareOathMethods from users // returns a *RequestInformation when successful func (m *ItemAuthenticationSoftwareOathMethodsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAuthenticationSoftwareOathMethodsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_authentication_software_oath_methods_software_oath_authentication_method_item_request_builder.go b/users/item_authentication_software_oath_methods_software_oath_authentication_method_item_request_builder.go index f4b92cdd95c..fdcae3b781f 100644 --- a/users/item_authentication_software_oath_methods_software_oath_authentication_method_item_request_builder.go +++ b/users/item_authentication_software_oath_methods_software_oath_authentication_method_item_request_builder.go @@ -18,7 +18,7 @@ type ItemAuthenticationSoftwareOathMethodsSoftwareOathAuthenticationMethodItemRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemAuthenticationSoftwareOathMethodsSoftwareOathAuthenticationMethodItemRequestBuilderGetQueryParameters retrieve a user's single Software OATH token authentication method object and its properties. +// ItemAuthenticationSoftwareOathMethodsSoftwareOathAuthenticationMethodItemRequestBuilderGetQueryParameters get softwareOathMethods from users type ItemAuthenticationSoftwareOathMethodsSoftwareOathAuthenticationMethodItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemAuthenticationSoftwareOathMethodsSoftwareOathAuthenticationMethodIte urlParams["request-raw-url"] = rawUrl return NewItemAuthenticationSoftwareOathMethodsSoftwareOathAuthenticationMethodItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a user's Software OATH token authentication method object. +// Delete delete navigation property softwareOathMethods for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/softwareoathauthenticationmethod-delete?view=graph-rest-1.0 func (m *ItemAuthenticationSoftwareOathMethodsSoftwareOathAuthenticationMethodItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemAuthenticationSoftwareOathMethodsSoftwareOathAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemAuthenticationSoftwareOathMethodsSoftwareOathAuthenticationMethodIt } return nil } -// Get retrieve a user's single Software OATH token authentication method object and its properties. +// Get get softwareOathMethods from users // returns a SoftwareOathAuthenticationMethodable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/softwareoathauthenticationmethod-get?view=graph-rest-1.0 func (m *ItemAuthenticationSoftwareOathMethodsSoftwareOathAuthenticationMethodItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAuthenticationSoftwareOathMethodsSoftwareOathAuthenticationMethodItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SoftwareOathAuthenticationMethodable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemAuthenticationSoftwareOathMethodsSoftwareOathAuthenticationMethodIt } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SoftwareOathAuthenticationMethodable), nil } -// ToDeleteRequestInformation delete a user's Software OATH token authentication method object. +// ToDeleteRequestInformation delete navigation property softwareOathMethods for users // returns a *RequestInformation when successful func (m *ItemAuthenticationSoftwareOathMethodsSoftwareOathAuthenticationMethodItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemAuthenticationSoftwareOathMethodsSoftwareOathAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemAuthenticationSoftwareOathMethodsSoftwareOathAuthenticationMethodIt requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a user's single Software OATH token authentication method object and its properties. +// ToGetRequestInformation get softwareOathMethods from users // returns a *RequestInformation when successful func (m *ItemAuthenticationSoftwareOathMethodsSoftwareOathAuthenticationMethodItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAuthenticationSoftwareOathMethodsSoftwareOathAuthenticationMethodItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_authentication_temporary_access_pass_methods_request_builder.go b/users/item_authentication_temporary_access_pass_methods_request_builder.go index 49b96fe1f17..05ea99b7a80 100644 --- a/users/item_authentication_temporary_access_pass_methods_request_builder.go +++ b/users/item_authentication_temporary_access_pass_methods_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemAuthenticationTemporaryAccessPassMethodsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemAuthenticationTemporaryAccessPassMethodsRequestBuilderGetQueryParameters retrieve a list of a user's temporaryAccessPassAuthenticationMethod objects and their properties. This API will only return a single object in the collection as a user can have only one Temporary Access Pass (TAP) method. +// ItemAuthenticationTemporaryAccessPassMethodsRequestBuilderGetQueryParameters represents a Temporary Access Pass registered to a user for authentication through time-limited passcodes. type ItemAuthenticationTemporaryAccessPassMethodsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemAuthenticationTemporaryAccessPassMethodsRequestBuilder(rawUrl string func (m *ItemAuthenticationTemporaryAccessPassMethodsRequestBuilder) Count()(*ItemAuthenticationTemporaryAccessPassMethodsCountRequestBuilder) { return NewItemAuthenticationTemporaryAccessPassMethodsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of a user's temporaryAccessPassAuthenticationMethod objects and their properties. This API will only return a single object in the collection as a user can have only one Temporary Access Pass (TAP) method. +// Get represents a Temporary Access Pass registered to a user for authentication through time-limited passcodes. // returns a TemporaryAccessPassAuthenticationMethodCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/authentication-list-temporaryaccesspassmethods?view=graph-rest-1.0 func (m *ItemAuthenticationTemporaryAccessPassMethodsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAuthenticationTemporaryAccessPassMethodsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TemporaryAccessPassAuthenticationMethodCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemAuthenticationTemporaryAccessPassMethodsRequestBuilder) Get(ctx con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TemporaryAccessPassAuthenticationMethodCollectionResponseable), nil } -// Post create a new temporaryAccessPassAuthenticationMethod object on a user. A user can only have one Temporary Access Pass that's usable within its specified lifetime. If the user requires a new Temporary Access Pass while the current Temporary Access Pass is valid, the admin can create a new Temporary Access Pass for the user, the previous Temporary Access Pass will be deleted, and a new Temporary Access Pass will be created. +// Post create new navigation property to temporaryAccessPassMethods for users // returns a TemporaryAccessPassAuthenticationMethodable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/authentication-post-temporaryaccesspassmethods?view=graph-rest-1.0 func (m *ItemAuthenticationTemporaryAccessPassMethodsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TemporaryAccessPassAuthenticationMethodable, requestConfiguration *ItemAuthenticationTemporaryAccessPassMethodsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TemporaryAccessPassAuthenticationMethodable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemAuthenticationTemporaryAccessPassMethodsRequestBuilder) Post(ctx co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TemporaryAccessPassAuthenticationMethodable), nil } -// ToGetRequestInformation retrieve a list of a user's temporaryAccessPassAuthenticationMethod objects and their properties. This API will only return a single object in the collection as a user can have only one Temporary Access Pass (TAP) method. +// ToGetRequestInformation represents a Temporary Access Pass registered to a user for authentication through time-limited passcodes. // returns a *RequestInformation when successful func (m *ItemAuthenticationTemporaryAccessPassMethodsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAuthenticationTemporaryAccessPassMethodsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemAuthenticationTemporaryAccessPassMethodsRequestBuilder) ToGetReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new temporaryAccessPassAuthenticationMethod object on a user. A user can only have one Temporary Access Pass that's usable within its specified lifetime. If the user requires a new Temporary Access Pass while the current Temporary Access Pass is valid, the admin can create a new Temporary Access Pass for the user, the previous Temporary Access Pass will be deleted, and a new Temporary Access Pass will be created. +// ToPostRequestInformation create new navigation property to temporaryAccessPassMethods for users // returns a *RequestInformation when successful func (m *ItemAuthenticationTemporaryAccessPassMethodsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TemporaryAccessPassAuthenticationMethodable, requestConfiguration *ItemAuthenticationTemporaryAccessPassMethodsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_authentication_temporary_access_pass_methods_temporary_access_pass_authentication_method_item_request_builder.go b/users/item_authentication_temporary_access_pass_methods_temporary_access_pass_authentication_method_item_request_builder.go index 4ab2fd0e733..7b23e18994b 100644 --- a/users/item_authentication_temporary_access_pass_methods_temporary_access_pass_authentication_method_item_request_builder.go +++ b/users/item_authentication_temporary_access_pass_methods_temporary_access_pass_authentication_method_item_request_builder.go @@ -18,7 +18,7 @@ type ItemAuthenticationTemporaryAccessPassMethodsTemporaryAccessPassAuthenticati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemAuthenticationTemporaryAccessPassMethodsTemporaryAccessPassAuthenticationMethodItemRequestBuilderGetQueryParameters retrieve a user's single temporaryAccessPassAuthenticationMethod object. +// ItemAuthenticationTemporaryAccessPassMethodsTemporaryAccessPassAuthenticationMethodItemRequestBuilderGetQueryParameters represents a Temporary Access Pass registered to a user for authentication through time-limited passcodes. type ItemAuthenticationTemporaryAccessPassMethodsTemporaryAccessPassAuthenticationMethodItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemAuthenticationTemporaryAccessPassMethodsTemporaryAccessPassAuthentic urlParams["request-raw-url"] = rawUrl return NewItemAuthenticationTemporaryAccessPassMethodsTemporaryAccessPassAuthenticationMethodItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a users's temporaryAccessPassAuthenticationMethod object. +// Delete delete navigation property temporaryAccessPassMethods for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/temporaryaccesspassauthenticationmethod-delete?view=graph-rest-1.0 func (m *ItemAuthenticationTemporaryAccessPassMethodsTemporaryAccessPassAuthenticationMethodItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemAuthenticationTemporaryAccessPassMethodsTemporaryAccessPassAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemAuthenticationTemporaryAccessPassMethodsTemporaryAccessPassAuthenti } return nil } -// Get retrieve a user's single temporaryAccessPassAuthenticationMethod object. +// Get represents a Temporary Access Pass registered to a user for authentication through time-limited passcodes. // returns a TemporaryAccessPassAuthenticationMethodable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/temporaryaccesspassauthenticationmethod-get?view=graph-rest-1.0 func (m *ItemAuthenticationTemporaryAccessPassMethodsTemporaryAccessPassAuthenticationMethodItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAuthenticationTemporaryAccessPassMethodsTemporaryAccessPassAuthenticationMethodItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TemporaryAccessPassAuthenticationMethodable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemAuthenticationTemporaryAccessPassMethodsTemporaryAccessPassAuthenti } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TemporaryAccessPassAuthenticationMethodable), nil } -// ToDeleteRequestInformation delete a users's temporaryAccessPassAuthenticationMethod object. +// ToDeleteRequestInformation delete navigation property temporaryAccessPassMethods for users // returns a *RequestInformation when successful func (m *ItemAuthenticationTemporaryAccessPassMethodsTemporaryAccessPassAuthenticationMethodItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemAuthenticationTemporaryAccessPassMethodsTemporaryAccessPassAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemAuthenticationTemporaryAccessPassMethodsTemporaryAccessPassAuthenti requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a user's single temporaryAccessPassAuthenticationMethod object. +// ToGetRequestInformation represents a Temporary Access Pass registered to a user for authentication through time-limited passcodes. // returns a *RequestInformation when successful func (m *ItemAuthenticationTemporaryAccessPassMethodsTemporaryAccessPassAuthenticationMethodItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAuthenticationTemporaryAccessPassMethodsTemporaryAccessPassAuthenticationMethodItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_authentication_windows_hello_for_business_methods_request_builder.go b/users/item_authentication_windows_hello_for_business_methods_request_builder.go index cbc07a79a25..0f32d1be9f1 100644 --- a/users/item_authentication_windows_hello_for_business_methods_request_builder.go +++ b/users/item_authentication_windows_hello_for_business_methods_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemAuthenticationWindowsHelloForBusinessMethodsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemAuthenticationWindowsHelloForBusinessMethodsRequestBuilderGetQueryParameters get a list of the windowsHelloForBusinessAuthenticationMethod objects and their properties. +// ItemAuthenticationWindowsHelloForBusinessMethodsRequestBuilderGetQueryParameters represents the Windows Hello for Business authentication method registered to a user for authentication. type ItemAuthenticationWindowsHelloForBusinessMethodsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewItemAuthenticationWindowsHelloForBusinessMethodsRequestBuilder(rawUrl st func (m *ItemAuthenticationWindowsHelloForBusinessMethodsRequestBuilder) Count()(*ItemAuthenticationWindowsHelloForBusinessMethodsCountRequestBuilder) { return NewItemAuthenticationWindowsHelloForBusinessMethodsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the windowsHelloForBusinessAuthenticationMethod objects and their properties. +// Get represents the Windows Hello for Business authentication method registered to a user for authentication. // returns a WindowsHelloForBusinessAuthenticationMethodCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/windowshelloforbusinessauthenticationmethod-list?view=graph-rest-1.0 func (m *ItemAuthenticationWindowsHelloForBusinessMethodsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAuthenticationWindowsHelloForBusinessMethodsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WindowsHelloForBusinessAuthenticationMethodCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *ItemAuthenticationWindowsHelloForBusinessMethodsRequestBuilder) Get(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WindowsHelloForBusinessAuthenticationMethodCollectionResponseable), nil } -// ToGetRequestInformation get a list of the windowsHelloForBusinessAuthenticationMethod objects and their properties. +// ToGetRequestInformation represents the Windows Hello for Business authentication method registered to a user for authentication. // returns a *RequestInformation when successful func (m *ItemAuthenticationWindowsHelloForBusinessMethodsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAuthenticationWindowsHelloForBusinessMethodsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_authentication_windows_hello_for_business_methods_windows_hello_for_business_authentication_method_item_request_builder.go b/users/item_authentication_windows_hello_for_business_methods_windows_hello_for_business_authentication_method_item_request_builder.go index 9aab48d3bef..1dd4deeb613 100644 --- a/users/item_authentication_windows_hello_for_business_methods_windows_hello_for_business_authentication_method_item_request_builder.go +++ b/users/item_authentication_windows_hello_for_business_methods_windows_hello_for_business_authentication_method_item_request_builder.go @@ -18,7 +18,7 @@ type ItemAuthenticationWindowsHelloForBusinessMethodsWindowsHelloForBusinessAuth // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemAuthenticationWindowsHelloForBusinessMethodsWindowsHelloForBusinessAuthenticationMethodItemRequestBuilderGetQueryParameters read the properties and relationships of a windowsHelloForBusinessAuthenticationMethod object. +// ItemAuthenticationWindowsHelloForBusinessMethodsWindowsHelloForBusinessAuthenticationMethodItemRequestBuilderGetQueryParameters represents the Windows Hello for Business authentication method registered to a user for authentication. type ItemAuthenticationWindowsHelloForBusinessMethodsWindowsHelloForBusinessAuthenticationMethodItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemAuthenticationWindowsHelloForBusinessMethodsWindowsHelloForBusinessA urlParams["request-raw-url"] = rawUrl return NewItemAuthenticationWindowsHelloForBusinessMethodsWindowsHelloForBusinessAuthenticationMethodItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a windowsHelloForBusinessAuthenticationMethod object. +// Delete delete navigation property windowsHelloForBusinessMethods for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/windowshelloforbusinessauthenticationmethod-delete?view=graph-rest-1.0 func (m *ItemAuthenticationWindowsHelloForBusinessMethodsWindowsHelloForBusinessAuthenticationMethodItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemAuthenticationWindowsHelloForBusinessMethodsWindowsHelloForBusinessAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -71,12 +68,9 @@ func (m *ItemAuthenticationWindowsHelloForBusinessMethodsWindowsHelloForBusiness func (m *ItemAuthenticationWindowsHelloForBusinessMethodsWindowsHelloForBusinessAuthenticationMethodItemRequestBuilder) Device()(*ItemAuthenticationWindowsHelloForBusinessMethodsItemDeviceRequestBuilder) { return NewItemAuthenticationWindowsHelloForBusinessMethodsItemDeviceRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of a windowsHelloForBusinessAuthenticationMethod object. +// Get represents the Windows Hello for Business authentication method registered to a user for authentication. // returns a WindowsHelloForBusinessAuthenticationMethodable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/windowshelloforbusinessauthenticationmethod-get?view=graph-rest-1.0 func (m *ItemAuthenticationWindowsHelloForBusinessMethodsWindowsHelloForBusinessAuthenticationMethodItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAuthenticationWindowsHelloForBusinessMethodsWindowsHelloForBusinessAuthenticationMethodItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WindowsHelloForBusinessAuthenticationMethodable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -94,7 +88,7 @@ func (m *ItemAuthenticationWindowsHelloForBusinessMethodsWindowsHelloForBusiness } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WindowsHelloForBusinessAuthenticationMethodable), nil } -// ToDeleteRequestInformation deletes a windowsHelloForBusinessAuthenticationMethod object. +// ToDeleteRequestInformation delete navigation property windowsHelloForBusinessMethods for users // returns a *RequestInformation when successful func (m *ItemAuthenticationWindowsHelloForBusinessMethodsWindowsHelloForBusinessAuthenticationMethodItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemAuthenticationWindowsHelloForBusinessMethodsWindowsHelloForBusinessAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -105,7 +99,7 @@ func (m *ItemAuthenticationWindowsHelloForBusinessMethodsWindowsHelloForBusiness requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a windowsHelloForBusinessAuthenticationMethod object. +// ToGetRequestInformation represents the Windows Hello for Business authentication method registered to a user for authentication. // returns a *RequestInformation when successful func (m *ItemAuthenticationWindowsHelloForBusinessMethodsWindowsHelloForBusinessAuthenticationMethodItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAuthenticationWindowsHelloForBusinessMethodsWindowsHelloForBusinessAuthenticationMethodItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_calendar_permissions_calendar_permission_item_request_builder.go b/users/item_calendar_calendar_permissions_calendar_permission_item_request_builder.go index f0493761548..31a37633917 100644 --- a/users/item_calendar_calendar_permissions_calendar_permission_item_request_builder.go +++ b/users/item_calendar_calendar_permissions_calendar_permission_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilderDeleteRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilderGetQueryParameters get the specified permissions object of a user or group calendar that has been shared. +// ItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilderGetQueryParameters the permissions of the users with whom the calendar is shared. type ItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilderGetQueryParameters struct { // Select properties to be returned Select []string `uriparametername:"%24select"` @@ -52,11 +52,8 @@ func NewItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilder(rawU urlParams["request-raw-url"] = rawUrl return NewItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete calendarPermission. +// Delete delete navigation property calendarPermissions for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/calendarpermission-delete?view=graph-rest-1.0 func (m *ItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -71,12 +68,9 @@ func (m *ItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilder) De } return nil } -// Get get the specified permissions object of a user or group calendar that has been shared. +// Get the permissions of the users with whom the calendar is shared. // returns a CalendarPermissionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/calendarpermission-get?view=graph-rest-1.0 func (m *ItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarPermissionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -94,12 +88,9 @@ func (m *ItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilder) Ge } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarPermissionable), nil } -// Patch update the permissions assigned to an existing share recipient or delegate, through the corresponding calendarPermission object for a calendar. +// Patch update the navigation property calendarPermissions in users // returns a CalendarPermissionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/calendarpermission-update?view=graph-rest-1.0 func (m *ItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarPermissionable, requestConfiguration *ItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarPermissionable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +108,7 @@ func (m *ItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilder) Pa } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarPermissionable), nil } -// ToDeleteRequestInformation delete calendarPermission. +// ToDeleteRequestInformation delete navigation property calendarPermissions for users // returns a *RequestInformation when successful func (m *ItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -128,7 +119,7 @@ func (m *ItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilder) To requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the specified permissions object of a user or group calendar that has been shared. +// ToGetRequestInformation the permissions of the users with whom the calendar is shared. // returns a *RequestInformation when successful func (m *ItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -142,7 +133,7 @@ func (m *ItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilder) To requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the permissions assigned to an existing share recipient or delegate, through the corresponding calendarPermission object for a calendar. +// ToPatchRequestInformation update the navigation property calendarPermissions in users // returns a *RequestInformation when successful func (m *ItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarPermissionable, requestConfiguration *ItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_calendar_permissions_request_builder.go b/users/item_calendar_calendar_permissions_request_builder.go index 38f626685e7..50772926c43 100644 --- a/users/item_calendar_calendar_permissions_request_builder.go +++ b/users/item_calendar_calendar_permissions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarCalendarPermissionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarCalendarPermissionsRequestBuilderGetQueryParameters get the specified permissions object of a user or group calendar that has been shared. +// ItemCalendarCalendarPermissionsRequestBuilderGetQueryParameters the permissions of the users with whom the calendar is shared. type ItemCalendarCalendarPermissionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -72,7 +72,7 @@ func NewItemCalendarCalendarPermissionsRequestBuilder(rawUrl string, requestAdap func (m *ItemCalendarCalendarPermissionsRequestBuilder) Count()(*ItemCalendarCalendarPermissionsCountRequestBuilder) { return NewItemCalendarCalendarPermissionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the specified permissions object of a user or group calendar that has been shared. +// Get the permissions of the users with whom the calendar is shared. // returns a CalendarPermissionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemCalendarCalendarPermissionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarCalendarPermissionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarPermissionCollectionResponseable, error) { @@ -92,12 +92,9 @@ func (m *ItemCalendarCalendarPermissionsRequestBuilder) Get(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarPermissionCollectionResponseable), nil } -// Post create a calendarPermission resource to specify the identity and role of the user with whom the specified calendar is being shared or delegated. +// Post create new navigation property to calendarPermissions for users // returns a CalendarPermissionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/calendar-post-calendarpermissions?view=graph-rest-1.0 func (m *ItemCalendarCalendarPermissionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarPermissionable, requestConfiguration *ItemCalendarCalendarPermissionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarPermissionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -115,7 +112,7 @@ func (m *ItemCalendarCalendarPermissionsRequestBuilder) Post(ctx context.Context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarPermissionable), nil } -// ToGetRequestInformation get the specified permissions object of a user or group calendar that has been shared. +// ToGetRequestInformation the permissions of the users with whom the calendar is shared. // returns a *RequestInformation when successful func (m *ItemCalendarCalendarPermissionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarPermissionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -129,7 +126,7 @@ func (m *ItemCalendarCalendarPermissionsRequestBuilder) ToGetRequestInformation( requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a calendarPermission resource to specify the identity and role of the user with whom the specified calendar is being shared or delegated. +// ToPostRequestInformation create new navigation property to calendarPermissions for users // returns a *RequestInformation when successful func (m *ItemCalendarCalendarPermissionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarPermissionable, requestConfiguration *ItemCalendarCalendarPermissionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_calendar_view_delta_request_builder.go b/users/item_calendar_calendar_view_delta_request_builder.go index 8afba8b4a57..6a9cbe88c4a 100644 --- a/users/item_calendar_calendar_view_delta_request_builder.go +++ b/users/item_calendar_calendar_view_delta_request_builder.go @@ -61,7 +61,7 @@ func NewItemCalendarCalendarViewDeltaRequestBuilder(rawUrl string, requestAdapte // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarCalendarViewDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarCalendarViewDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -84,7 +84,7 @@ func (m *ItemCalendarCalendarViewDeltaRequestBuilder) Get(ctx context.Context, r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarCalendarViewDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarCalendarViewDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendar_calendar_view_item_accept_request_builder.go b/users/item_calendar_calendar_view_item_accept_request_builder.go index 9c03e2300d1..fcfc35d60bc 100644 --- a/users/item_calendar_calendar_view_item_accept_request_builder.go +++ b/users/item_calendar_calendar_view_item_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemAcceptRequestBuilder(rawUrl string, requestA // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemAcceptPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_calendar_view_item_attachments_attachment_item_request_builder.go b/users/item_calendar_calendar_view_item_attachments_attachment_item_request_builder.go index c7cecbd1fd3..3220ff0e03b 100644 --- a/users/item_calendar_calendar_view_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_calendar_view_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilderDeleteRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilder(rawU urlParams["request-raw-url"] = rawUrl return NewItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an attachment from a user calendar event, message, Outlook task, or post. +// Delete delete navigation property attachments for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilder) De } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilder) Ge } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToDeleteRequestInformation delete an attachment from a user calendar event, message, Outlook task, or post. +// ToDeleteRequestInformation delete navigation property attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilder) To requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_calendar_view_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_calendar_view_item_attachments_create_upload_session_request_builder.go index 33163c68466..31dcb3759e1 100644 --- a/users/item_calendar_calendar_view_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_calendar_view_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemCalendarCalendarViewItemAttachmentsCreateUploadSessionRequestBuilder // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_calendar_view_item_attachments_request_builder.go b/users/item_calendar_calendar_view_item_attachments_request_builder.go index f114df02629..3f5e554f0f6 100644 --- a/users/item_calendar_calendar_view_item_attachments_request_builder.go +++ b/users/item_calendar_calendar_view_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarCalendarViewItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarCalendarViewItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to an event. +// ItemCalendarCalendarViewItemAttachmentsRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarCalendarViewItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemCalendarCalendarViewItemAttachmentsRequestBuilder) Count()(*ItemCal func (m *ItemCalendarCalendarViewItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemCalendarCalendarViewItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemCalendarCalendarViewItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to an event. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemCalendarCalendarViewItemAttachmentsRequestBuilder) Get(ctx context. } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post create new navigation property to attachments for users // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarCalendarViewItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemCalendarCalendarViewItemAttachmentsRequestBuilder) Post(ctx context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to an event. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemCalendarCalendarViewItemAttachmentsRequestBuilder) ToGetRequestInfo requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation create new navigation property to attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarCalendarViewItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_calendar_view_item_cancel_request_builder.go b/users/item_calendar_calendar_view_item_cancel_request_builder.go index 5fe9df6a868..915ec74878e 100644 --- a/users/item_calendar_calendar_view_item_cancel_request_builder.go +++ b/users/item_calendar_calendar_view_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemCancelRequestBuilder(rawUrl string, requestA // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemCancelRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemCancelPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_calendar_view_item_decline_request_builder.go b/users/item_calendar_calendar_view_item_decline_request_builder.go index 80a6c95b881..9996ee76088 100644 --- a/users/item_calendar_calendar_view_item_decline_request_builder.go +++ b/users/item_calendar_calendar_view_item_decline_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemDeclineRequestBuilder(rawUrl string, request // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemDeclineRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemDeclinePostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemDeclineRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_calendar_view_item_dismiss_reminder_request_builder.go b/users/item_calendar_calendar_view_item_dismiss_reminder_request_builder.go index 268b2575305..f072ee041e7 100644 --- a/users/item_calendar_calendar_view_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_calendar_view_item_dismiss_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemDismissReminderRequestBuilder(rawUrl string, // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemDismissReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemDismissReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { 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 5586a67530d..1272da56fc0 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 @@ -61,7 +61,7 @@ func NewItemCalendarCalendarViewItemExceptionOccurrencesDeltaRequestBuilder(rawU // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemExceptionOccurrencesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarCalendarViewItemExceptionOccurrencesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -84,7 +84,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesDeltaRequestBuilder) Ge // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemExceptionOccurrencesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarCalendarViewItemExceptionOccurrencesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_accept_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_accept_request_builder.go index faf275b5079..10190c2082d 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_accept_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemExceptionOccurrencesItemAcceptRequestBuilder // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemExceptionOccurrencesItemAcceptPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index a39c24440dd..45bb2894cc9 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentIt // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmen urlParams["request-raw-url"] = rawUrl return NewItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an attachment from a user calendar event, message, Outlook task, or post. +// Delete delete navigation property attachments for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachme } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachme } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToDeleteRequestInformation delete an attachment from a user calendar event, message, Outlook task, or post. +// ToDeleteRequestInformation delete navigation property attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachme requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*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_attachments_create_upload_session_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index 033971a2202..74c3b686bbb 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUpl // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_attachments_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_attachments_request_builder.go index c19cc35ffc2..799ce5fc64e 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_attachments_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to an event. +// ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsRequestB func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to an event. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsRequestB } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post create new navigation property to attachments for users // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsRequestB } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to an event. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsRequestB requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation create new navigation property to attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_cancel_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_cancel_request_builder.go index cf73c59dc0d..bfce070ecf2 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_cancel_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemExceptionOccurrencesItemCancelRequestBuilder // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemCancelRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemExceptionOccurrencesItemCancelPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_decline_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_decline_request_builder.go index c036e1351d4..9fa3543e48c 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_decline_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_decline_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemExceptionOccurrencesItemDeclineRequestBuilde // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemDeclineRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemExceptionOccurrencesItemDeclinePostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemDeclineRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go index 1ef3064280b..bc0b0e0e6fa 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemExceptionOccurrencesItemDismissReminderReque // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemDismissReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemDismissReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go index c0458c694d2..9acb65ba16f 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItem // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsExtension } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsExtension requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*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_extensions_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_extensions_request_builder.go index 169144b3cb6..59fe67b18d6 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_extensions_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsRequestBui func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) Count()(*ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsCountRequestBuilder) { return NewItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -94,12 +94,9 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsRequestBu } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to extensions for users // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsRequestBu } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +128,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsRequestBu requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to extensions for users // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_forward_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_forward_request_builder.go index e328c7a0fa0..95f2c3fdb8c 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_forward_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemExceptionOccurrencesItemForwardRequestBuilde // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemForwardRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemExceptionOccurrencesItemForwardPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { 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 c3fe3deaff9..83ff2856c3a 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 @@ -61,7 +61,7 @@ func NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesDeltaReques // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -84,7 +84,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesDeltaReque // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go index 04d538f77e5..d6994d6d72c 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAcceptR // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAcceptPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go index 5bc8196e6b5..e3f45fa2bf9 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachment // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachm urlParams["request-raw-url"] = rawUrl return NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an attachment from a user calendar event, message, Outlook task, or post. +// Delete delete navigation property attachments for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttach } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttach } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToDeleteRequestInformation delete an attachment from a user calendar event, message, Outlook task, or post. +// ToDeleteRequestInformation delete navigation property attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttach requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*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_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go index 462acabfceb..6da43ac46a9 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachm // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go index d95f6dad465..7ff5fe33702 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to an event. +// ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttach func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to an event. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttach } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post create new navigation property to attachments for users // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttach } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to an event. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttach requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation create new navigation property to attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go index 62bc8553137..c4dc6ca0b17 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemCancelR // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemCancelRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemCancelPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go index a6522b25721..838a2490a95 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemDecline // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemDeclinePostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go index 1abf1f33d70..7c32bf67d89 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemDismiss // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemDismissReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemDismissReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go index 613d7c2df1d..08dec3d55b0 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensions // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtens } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtens requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*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_item_extensions_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go index 503556c6cea..5ec533a699a 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensi func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) Count()(*ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsCountRequestBuilder) { return NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -94,12 +94,9 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtens } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to extensions for users // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtens } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +128,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtens requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to extensions for users // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go index 0cdd4bea5ab..f8a3882dc44 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemForward // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemForwardRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemForwardPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go index 4a6f1c7642d..22a32cb4aab 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemSnoozeR // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemSnoozeReminderRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemSnoozeReminderPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemSnoozeReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go index b2833660ba7..9791a632f5a 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemTentati // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemTentativelyAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemTentativelyAcceptPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemTentativelyAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_request_builder.go index c7515455444..28dfc02bfe3 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_request_builder.go @@ -77,9 +77,6 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesRequestBui // Get the occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but doesn't include occurrences that have been canceled from the series. Navigation property. Read-only. Nullable. // returns a EventCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-instances?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EventCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go index deb28e469bb..78a49d42227 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemExceptionOccurrencesItemSnoozeReminderReques // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemExceptionOccurrencesItemSnoozeReminderPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemSnoozeReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go index 3fd5c1c75f0..af4b925ccfe 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemExceptionOccurrencesItemTentativelyAcceptReq // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemExceptionOccurrencesItemTentativelyAcceptPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemExceptionOccurrencesItemTentativelyAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_calendar_view_item_extensions_extension_item_request_builder.go b/users/item_calendar_calendar_view_item_extensions_extension_item_request_builder.go index 03d46943b88..da8022668fc 100644 --- a/users/item_calendar_calendar_view_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_calendar_view_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarCalendarViewItemExtensionsExtensionItemRequestBuilderDeleteRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarCalendarViewItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarCalendarViewItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarCalendarViewItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemCalendarCalendarViewItemExtensionsExtensionItemRequestBuilder) Dele } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemCalendarCalendarViewItemExtensionsExtensionItemRequestBuilder) ToDe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_calendar_view_item_extensions_request_builder.go b/users/item_calendar_calendar_view_item_extensions_request_builder.go index 48039a9e66c..e73269242a1 100644 --- a/users/item_calendar_calendar_view_item_extensions_request_builder.go +++ b/users/item_calendar_calendar_view_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarCalendarViewItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarCalendarViewItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarCalendarViewItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarCalendarViewItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemCalendarCalendarViewItemExtensionsRequestBuilder(rawUrl string, requ func (m *ItemCalendarCalendarViewItemExtensionsRequestBuilder) Count()(*ItemCalendarCalendarViewItemExtensionsCountRequestBuilder) { return NewItemCalendarCalendarViewItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemCalendarCalendarViewItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -94,12 +94,9 @@ func (m *ItemCalendarCalendarViewItemExtensionsRequestBuilder) Get(ctx context.C } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to extensions for users // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarCalendarViewItemExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemCalendarCalendarViewItemExtensionsRequestBuilder) Post(ctx context. } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +128,7 @@ func (m *ItemCalendarCalendarViewItemExtensionsRequestBuilder) ToGetRequestInfor requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to extensions for users // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarCalendarViewItemExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_calendar_view_item_forward_request_builder.go b/users/item_calendar_calendar_view_item_forward_request_builder.go index e532c7620f0..57e0e3a027b 100644 --- a/users/item_calendar_calendar_view_item_forward_request_builder.go +++ b/users/item_calendar_calendar_view_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemForwardRequestBuilder(rawUrl string, request // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemForwardRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemForwardPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { 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 349533352f6..04ea3f008e5 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 @@ -61,7 +61,7 @@ func NewItemCalendarCalendarViewItemInstancesDeltaRequestBuilder(rawUrl string, // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemInstancesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemInstancesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarCalendarViewItemInstancesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -84,7 +84,7 @@ func (m *ItemCalendarCalendarViewItemInstancesDeltaRequestBuilder) Get(ctx conte // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemInstancesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemInstancesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarCalendarViewItemInstancesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendar_calendar_view_item_instances_item_accept_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_accept_request_builder.go index d308298f027..d20af6c4955 100644 --- a/users/item_calendar_calendar_view_item_instances_item_accept_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemInstancesItemAcceptRequestBuilder(rawUrl str // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemInstancesItemAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemInstancesItemAcceptPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go index d98002d45be..efadf7238de 100644 --- a/users/item_calendar_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemReques urlParams["request-raw-url"] = rawUrl return NewItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an attachment from a user calendar event, message, Outlook task, or post. +// Delete delete navigation property attachments for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemReque } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemReque } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToDeleteRequestInformation delete an attachment from a user calendar event, message, Outlook task, or post. +// ToDeleteRequestInformation delete navigation property attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*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_attachments_create_upload_session_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go index 36264a68c11..6f08d4fe30c 100644 --- a/users/item_calendar_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemCalendarCalendarViewItemInstancesItemAttachmentsCreateUploadSessionR // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemInstancesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_calendar_view_item_instances_item_attachments_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_attachments_request_builder.go index 2bfb434e233..ff1a6c0dac0 100644 --- a/users/item_calendar_calendar_view_item_instances_item_attachments_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarCalendarViewItemInstancesItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarCalendarViewItemInstancesItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to an event. +// ItemCalendarCalendarViewItemInstancesItemAttachmentsRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarCalendarViewItemInstancesItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsRequestBuilder) Cou func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemCalendarCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemCalendarCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to an event. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsRequestBuilder) Get } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post create new navigation property to attachments for users // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsRequestBuilder) Pos } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to an event. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsRequestBuilder) ToG requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation create new navigation property to attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_calendar_view_item_instances_item_cancel_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_cancel_request_builder.go index 3422fadfbec..8a477372857 100644 --- a/users/item_calendar_calendar_view_item_instances_item_cancel_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemInstancesItemCancelRequestBuilder(rawUrl str // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemInstancesItemCancelRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemInstancesItemCancelPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_calendar_view_item_instances_item_decline_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_decline_request_builder.go index 1fdf888aa2e..7f1ceacd5f7 100644 --- a/users/item_calendar_calendar_view_item_instances_item_decline_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_decline_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemInstancesItemDeclineRequestBuilder(rawUrl st // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemInstancesItemDeclineRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemInstancesItemDeclinePostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemDeclineRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_calendar_view_item_instances_item_dismiss_reminder_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_dismiss_reminder_request_builder.go index 12fbb55460c..75a9605e983 100644 --- a/users/item_calendar_calendar_view_item_instances_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_dismiss_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemInstancesItemDismissReminderRequestBuilder(r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemInstancesItemDismissReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemDismissReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { 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 5f4ec37add6..9aea59e7138 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 @@ -61,7 +61,7 @@ func NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesDeltaReques // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -84,7 +84,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesDeltaReque // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go index bc8292e10fd..4ebdc14e8d6 100644 --- a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAcceptR // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAcceptPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index c4bc30f845f..870bf7e5b47 100644 --- a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachment // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachm urlParams["request-raw-url"] = rawUrl return NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an attachment from a user calendar event, message, Outlook task, or post. +// Delete delete navigation property attachments for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttach } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttach } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToDeleteRequestInformation delete an attachment from a user calendar event, message, Outlook task, or post. +// ToDeleteRequestInformation delete navigation property attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttach requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*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_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index ed204425fc0..593cac38894 100644 --- a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachm // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go index 8258582b506..c1a25246d34 100644 --- a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to an event. +// ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttach func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to an event. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttach } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post create new navigation property to attachments for users // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttach } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to an event. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttach requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation create new navigation property to attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go index 1ad0195bd5f..2d57fb08b18 100644 --- a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemCancelR // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemCancelRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemCancelPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go index 53478c2f7b7..16302a3a3a0 100644 --- a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemDecline // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemDeclinePostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go index a71a766c112..6aeb4538bc3 100644 --- a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemDismiss // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemDismissReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemDismissReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go index e4f79c5483c..07832b45dff 100644 --- a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensions // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtens } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtens requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*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_item_extensions_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go index 64f59a9bedf..e13ad12844a 100644 --- a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensi func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) Count()(*ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsCountRequestBuilder) { return NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -94,12 +94,9 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtens } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to extensions for users // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtens } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +128,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtens requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to extensions for users // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go index 330a09b8579..7d379fb98ec 100644 --- a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemForward // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemForwardRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemForwardPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go index b449043f10c..019ae0145fa 100644 --- a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemSnoozeR // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemSnoozeReminderPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemSnoozeReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go index 28ba89f224f..3c97cf00587 100644 --- a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemTentati // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemTentativelyAcceptPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemTentativelyAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_calendar_view_item_instances_item_extensions_extension_item_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_extensions_extension_item_request_builder.go index e4d805cd522..7aac5165fbc 100644 --- a/users/item_calendar_calendar_view_item_instances_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuil // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExtensionsExtensionItemRequest } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExtensionsExtensionItemRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*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_extensions_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_extensions_request_builder.go index 1a2cefdd5ff..ea375282b86 100644 --- a/users/item_calendar_calendar_view_item_instances_item_extensions_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarCalendarViewItemInstancesItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarCalendarViewItemInstancesItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarCalendarViewItemInstancesItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarCalendarViewItemInstancesItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemCalendarCalendarViewItemInstancesItemExtensionsRequestBuilder(rawUrl func (m *ItemCalendarCalendarViewItemInstancesItemExtensionsRequestBuilder) Count()(*ItemCalendarCalendarViewItemInstancesItemExtensionsCountRequestBuilder) { return NewItemCalendarCalendarViewItemInstancesItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemCalendarCalendarViewItemInstancesItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -94,12 +94,9 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExtensionsRequestBuilder) Get( } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to extensions for users // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemInstancesItemExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExtensionsRequestBuilder) Post } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemInstancesItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +128,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExtensionsRequestBuilder) ToGe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to extensions for users // returns a *RequestInformation when successful func (m *ItemCalendarCalendarViewItemInstancesItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_calendar_view_item_instances_item_forward_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_forward_request_builder.go index 02fb3b7ab78..36761402aca 100644 --- a/users/item_calendar_calendar_view_item_instances_item_forward_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemInstancesItemForwardRequestBuilder(rawUrl st // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemInstancesItemForwardRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemInstancesItemForwardPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_calendar_view_item_instances_item_snooze_reminder_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_snooze_reminder_request_builder.go index 8709990420e..568ff299980 100644 --- a/users/item_calendar_calendar_view_item_instances_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_snooze_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemInstancesItemSnoozeReminderRequestBuilder(ra // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemInstancesItemSnoozeReminderRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemInstancesItemSnoozeReminderPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemSnoozeReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_calendar_view_item_instances_item_tentatively_accept_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_tentatively_accept_request_builder.go index 6a00f21a0ca..1b7933a8643 100644 --- a/users/item_calendar_calendar_view_item_instances_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_tentatively_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemInstancesItemTentativelyAcceptRequestBuilder // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemInstancesItemTentativelyAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemInstancesItemTentativelyAcceptPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemInstancesItemTentativelyAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_calendar_view_item_instances_request_builder.go b/users/item_calendar_calendar_view_item_instances_request_builder.go index b011a22c83e..ad0a4bdb98e 100644 --- a/users/item_calendar_calendar_view_item_instances_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_request_builder.go @@ -77,9 +77,6 @@ func (m *ItemCalendarCalendarViewItemInstancesRequestBuilder) Delta()(*ItemCalen // Get the occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but doesn't include occurrences that have been canceled from the series. Navigation property. Read-only. Nullable. // returns a EventCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-instances?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewItemInstancesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewItemInstancesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EventCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendar_calendar_view_item_snooze_reminder_request_builder.go b/users/item_calendar_calendar_view_item_snooze_reminder_request_builder.go index 7fff067681a..5618ffe36f7 100644 --- a/users/item_calendar_calendar_view_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_calendar_view_item_snooze_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemSnoozeReminderRequestBuilder(rawUrl string, // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemSnoozeReminderRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemSnoozeReminderPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemSnoozeReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_calendar_view_item_tentatively_accept_request_builder.go b/users/item_calendar_calendar_view_item_tentatively_accept_request_builder.go index 7c775f04ead..1e56fbb575e 100644 --- a/users/item_calendar_calendar_view_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_calendar_view_item_tentatively_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarCalendarViewItemTentativelyAcceptRequestBuilder(rawUrl strin // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-beta func (m *ItemCalendarCalendarViewItemTentativelyAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarCalendarViewItemTentativelyAcceptPostRequestBodyable, requestConfiguration *ItemCalendarCalendarViewItemTentativelyAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_calendar_view_request_builder.go b/users/item_calendar_calendar_view_request_builder.go index 2577e70ed52..a3f0462ad2f 100644 --- a/users/item_calendar_calendar_view_request_builder.go +++ b/users/item_calendar_calendar_view_request_builder.go @@ -77,9 +77,6 @@ func (m *ItemCalendarCalendarViewRequestBuilder) Delta()(*ItemCalendarCalendarVi // Get the calendar view for the calendar. Navigation property. Read-only. // returns a EventCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/calendar-list-calendarview?view=graph-rest-1.0 func (m *ItemCalendarCalendarViewRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarCalendarViewRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EventCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendar_events_delta_request_builder.go b/users/item_calendar_events_delta_request_builder.go index fc6569fafcb..5dbccbcc9a5 100644 --- a/users/item_calendar_events_delta_request_builder.go +++ b/users/item_calendar_events_delta_request_builder.go @@ -61,7 +61,7 @@ func NewItemCalendarEventsDeltaRequestBuilder(rawUrl string, requestAdapter i2ae // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarEventsDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarEventsDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarEventsDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -84,7 +84,7 @@ func (m *ItemCalendarEventsDeltaRequestBuilder) Get(ctx context.Context, request // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarEventsDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemCalendarEventsDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarEventsDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendar_events_item_accept_request_builder.go b/users/item_calendar_events_item_accept_request_builder.go index aec2945905f..dd7adffb443 100644 --- a/users/item_calendar_events_item_accept_request_builder.go +++ b/users/item_calendar_events_item_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemAcceptRequestBuilder(rawUrl string, requestAdapter // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-beta func (m *ItemCalendarEventsItemAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemAcceptPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_events_item_attachments_attachment_item_request_builder.go b/users/item_calendar_events_item_attachments_attachment_item_request_builder.go index 35d3914ad09..f20da7876f1 100644 --- a/users/item_calendar_events_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_events_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilderDeleteRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilder(rawUrl str urlParams["request-raw-url"] = rawUrl return NewItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an attachment from a user calendar event, message, Outlook task, or post. +// Delete delete navigation property attachments for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0 func (m *ItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilder) Delete(c } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 func (m *ItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilder) Get(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToDeleteRequestInformation delete an attachment from a user calendar event, message, Outlook task, or post. +// ToDeleteRequestInformation delete navigation property attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilder) ToDelete requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_events_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_events_item_attachments_create_upload_session_request_builder.go index b0965fc62ae..6cce7bfcc63 100644 --- a/users/item_calendar_events_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_events_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemCalendarEventsItemAttachmentsCreateUploadSessionRequestBuilder(rawUr // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemCalendarEventsItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_events_item_attachments_request_builder.go b/users/item_calendar_events_item_attachments_request_builder.go index b35a8f8d990..6bb5362e144 100644 --- a/users/item_calendar_events_item_attachments_request_builder.go +++ b/users/item_calendar_events_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarEventsItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarEventsItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to an event. +// ItemCalendarEventsItemAttachmentsRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarEventsItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemCalendarEventsItemAttachmentsRequestBuilder) Count()(*ItemCalendarE func (m *ItemCalendarEventsItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemCalendarEventsItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemCalendarEventsItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to an event. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 func (m *ItemCalendarEventsItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarEventsItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemCalendarEventsItemAttachmentsRequestBuilder) Get(ctx context.Contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post create new navigation property to attachments for users // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemCalendarEventsItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarEventsItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemCalendarEventsItemAttachmentsRequestBuilder) Post(ctx context.Conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to an event. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemCalendarEventsItemAttachmentsRequestBuilder) ToGetRequestInformatio requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation create new navigation property to attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarEventsItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_events_item_cancel_request_builder.go b/users/item_calendar_events_item_cancel_request_builder.go index 0a224332c94..31ad84d63d5 100644 --- a/users/item_calendar_events_item_cancel_request_builder.go +++ b/users/item_calendar_events_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemCancelRequestBuilder(rawUrl string, requestAdapter // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-beta func (m *ItemCalendarEventsItemCancelRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemCancelPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_events_item_decline_request_builder.go b/users/item_calendar_events_item_decline_request_builder.go index 3a79c5fe159..a37317a4c6a 100644 --- a/users/item_calendar_events_item_decline_request_builder.go +++ b/users/item_calendar_events_item_decline_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemDeclineRequestBuilder(rawUrl string, requestAdapte // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-beta func (m *ItemCalendarEventsItemDeclineRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemDeclinePostRequestBodyable, requestConfiguration *ItemCalendarEventsItemDeclineRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_events_item_dismiss_reminder_request_builder.go b/users/item_calendar_events_item_dismiss_reminder_request_builder.go index c5bdc55ff55..49f9a00d786 100644 --- a/users/item_calendar_events_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_events_item_dismiss_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemDismissReminderRequestBuilder(rawUrl string, reque // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-beta func (m *ItemCalendarEventsItemDismissReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCalendarEventsItemDismissReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { 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 c61fc588101..0f7eb65c151 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 @@ -61,7 +61,7 @@ func NewItemCalendarEventsItemExceptionOccurrencesDeltaRequestBuilder(rawUrl str // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarEventsItemExceptionOccurrencesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarEventsItemExceptionOccurrencesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -84,7 +84,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesDeltaRequestBuilder) Get(ctx // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarEventsItemExceptionOccurrencesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarEventsItemExceptionOccurrencesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendar_events_item_exception_occurrences_item_accept_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_accept_request_builder.go index d65ddb887dc..865f0b25f35 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_accept_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemExceptionOccurrencesItemAcceptRequestBuilder(rawUr // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-beta func (m *ItemCalendarEventsItemExceptionOccurrencesItemAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemExceptionOccurrencesItemAcceptPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index faa265ca20f..f9110395ae9 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemR urlParams["request-raw-url"] = rawUrl return NewItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an attachment from a user calendar event, message, Outlook task, or post. +// Delete delete navigation property attachments for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0 func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItem } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItem } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToDeleteRequestInformation delete an attachment from a user calendar event, message, Outlook task, or post. +// ToDeleteRequestInformation delete navigation property attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItem requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*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_attachments_create_upload_session_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index fa94ceaaa51..0cd7ca6f24b 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemCalendarEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSes // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_events_item_exception_occurrences_item_attachments_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_attachments_request_builder.go index 01dcf63079f..bd927b69256 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_attachments_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to an event. +// ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemCalendarEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to an event. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post create new navigation property to attachments for users // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to an event. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation create new navigation property to attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_events_item_exception_occurrences_item_cancel_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_cancel_request_builder.go index a653aff64c6..7bb6b966d6f 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_cancel_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemExceptionOccurrencesItemCancelRequestBuilder(rawUr // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-beta func (m *ItemCalendarEventsItemExceptionOccurrencesItemCancelRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemExceptionOccurrencesItemCancelPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_events_item_exception_occurrences_item_decline_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_decline_request_builder.go index 215a06519c1..8d4d84ee1d0 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_decline_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_decline_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemExceptionOccurrencesItemDeclineRequestBuilder(rawU // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-beta func (m *ItemCalendarEventsItemExceptionOccurrencesItemDeclineRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemExceptionOccurrencesItemDeclinePostRequestBodyable, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemDeclineRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go index a43cd529722..0304dce6798 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemExceptionOccurrencesItemDismissReminderRequestBuil // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-beta func (m *ItemCalendarEventsItemExceptionOccurrencesItemDismissReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemDismissReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendar_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go index 18bbad443df..5fffaae2711 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarEventsItemExceptionOccurrencesItemExtensionsExtensionItemReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemExtensionsExtensionItemRe } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemCalendarEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemExtensionsExtensionItemRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*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_extensions_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_extensions_request_builder.go index 03a6ff97fd7..721d5a982b0 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_extensions_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarEventsItemExceptionOccurrencesItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarEventsItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarEventsItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarEventsItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemCalendarEventsItemExceptionOccurrencesItemExtensionsRequestBuilder(r func (m *ItemCalendarEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) Count()(*ItemCalendarEventsItemExceptionOccurrencesItemExtensionsCountRequestBuilder) { return NewItemCalendarEventsItemExceptionOccurrencesItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemCalendarEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -94,12 +94,9 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to extensions for users // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemCalendarEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +128,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to extensions for users // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_events_item_exception_occurrences_item_forward_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_forward_request_builder.go index 2eb0354fb0a..27dcf72a4d5 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_forward_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemExceptionOccurrencesItemForwardRequestBuilder(rawU // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-beta func (m *ItemCalendarEventsItemExceptionOccurrencesItemForwardRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemExceptionOccurrencesItemForwardPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { 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 a0be60a200c..a1c8b46f39e 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 @@ -61,7 +61,7 @@ func NewItemCalendarEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuild // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarEventsItemExceptionOccurrencesItemInstancesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -84,7 +84,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuil // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarEventsItemExceptionOccurrencesItemInstancesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendar_events_item_exception_occurrences_item_instances_item_accept_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_instances_item_accept_request_builder.go index eb9475b34a8..1533af4b0e6 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_instances_item_accept_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_instances_item_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAcceptRequest // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-beta func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAcceptPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go index 280bfd26a29..a803b1c45c3 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttac // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAt urlParams["request-raw-url"] = rawUrl return NewItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an attachment from a user calendar event, message, Outlook task, or post. +// Delete delete navigation property attachments for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0 func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsA } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsA } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToDeleteRequestInformation delete an attachment from a user calendar event, message, Outlook task, or post. +// ToDeleteRequestInformation delete navigation property attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsA requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*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_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go index dc3407eecf4..6680dd25005 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCr // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go index fcb32fd5566..cff0eead2e9 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to an event. +// ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsR func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to an event. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsR } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post create new navigation property to attachments for users // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsR } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to an event. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation create new navigation property to attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go index 83852b08b5f..eeb76d8004e 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemExceptionOccurrencesItemInstancesItemCancelRequest // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-beta func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemCancelRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemCancelPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_events_item_exception_occurrences_item_instances_item_decline_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_instances_item_decline_request_builder.go index 37d869ef138..dd839197188 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_instances_item_decline_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_instances_item_decline_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemExceptionOccurrencesItemInstancesItemDeclineReques // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-beta func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemDeclinePostRequestBodyable, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go index 50a0c1aafff..38cef9fb262 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemExceptionOccurrencesItemInstancesItemDismissRemind // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-beta func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemDismissReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemDismissReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendar_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go index f02e21302a9..d6b26cc790a 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtens // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsEx } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsEx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*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_item_extensions_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go index 22097936678..19f0df7780f 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsReq func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) Count()(*ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsCountRequestBuilder) { return NewItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -94,12 +94,9 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsRe } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to extensions for users // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsRe } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +128,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to extensions for users // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_events_item_exception_occurrences_item_instances_item_forward_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_instances_item_forward_request_builder.go index 7b0dadb7e06..7892d618643 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_instances_item_forward_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_instances_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemExceptionOccurrencesItemInstancesItemForwardReques // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-beta func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemForwardRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemForwardPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go index c93c6e10ab2..81a30557ca3 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemExceptionOccurrencesItemInstancesItemSnoozeReminde // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-beta func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemSnoozeReminderRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemSnoozeReminderPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemSnoozeReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go index 65fdfde1f1b..70ec9af76dd 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemExceptionOccurrencesItemInstancesItemTentativelyAc // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-beta func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemTentativelyAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemTentativelyAcceptPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemTentativelyAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_events_item_exception_occurrences_item_instances_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_instances_request_builder.go index 616829b00b0..c210ed8d21d 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_instances_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_instances_request_builder.go @@ -77,9 +77,6 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesRequestBuilder) // Get the occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but doesn't include occurrences that have been canceled from the series. Navigation property. Read-only. Nullable. // returns a EventCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-instances?view=graph-rest-1.0 func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemInstancesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EventCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendar_events_item_exception_occurrences_item_snooze_reminder_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_snooze_reminder_request_builder.go index c510d7c14bc..fada856ebda 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemExceptionOccurrencesItemSnoozeReminderRequestBuild // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-beta func (m *ItemCalendarEventsItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemExceptionOccurrencesItemSnoozeReminderPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemSnoozeReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_events_item_exception_occurrences_item_tentatively_accept_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_tentatively_accept_request_builder.go index 20447ab1062..4a1e2062d54 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemExceptionOccurrencesItemTentativelyAcceptRequestBu // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-beta func (m *ItemCalendarEventsItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemExceptionOccurrencesItemTentativelyAcceptPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemExceptionOccurrencesItemTentativelyAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_events_item_extensions_extension_item_request_builder.go b/users/item_calendar_events_item_extensions_extension_item_request_builder.go index 6ce8b66a55d..091598ff0bc 100644 --- a/users/item_calendar_events_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_events_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarEventsItemExtensionsExtensionItemRequestBuilderDeleteRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarEventsItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarEventsItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarEventsItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemCalendarEventsItemExtensionsExtensionItemRequestBuilder) Delete(ctx } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemCalendarEventsItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemCalendarEventsItemExtensionsExtensionItemRequestBuilder) ToDeleteRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_events_item_extensions_request_builder.go b/users/item_calendar_events_item_extensions_request_builder.go index 4194dda2197..2d65d367d9d 100644 --- a/users/item_calendar_events_item_extensions_request_builder.go +++ b/users/item_calendar_events_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarEventsItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarEventsItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarEventsItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarEventsItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemCalendarEventsItemExtensionsRequestBuilder(rawUrl string, requestAda func (m *ItemCalendarEventsItemExtensionsRequestBuilder) Count()(*ItemCalendarEventsItemExtensionsCountRequestBuilder) { return NewItemCalendarEventsItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemCalendarEventsItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -94,12 +94,9 @@ func (m *ItemCalendarEventsItemExtensionsRequestBuilder) Get(ctx context.Context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to extensions for users // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemCalendarEventsItemExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarEventsItemExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemCalendarEventsItemExtensionsRequestBuilder) Post(ctx context.Contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +128,7 @@ func (m *ItemCalendarEventsItemExtensionsRequestBuilder) ToGetRequestInformation requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to extensions for users // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarEventsItemExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_events_item_forward_request_builder.go b/users/item_calendar_events_item_forward_request_builder.go index 117f356f1a2..e2dd66fbfd5 100644 --- a/users/item_calendar_events_item_forward_request_builder.go +++ b/users/item_calendar_events_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemForwardRequestBuilder(rawUrl string, requestAdapte // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-beta func (m *ItemCalendarEventsItemForwardRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemForwardPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { 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 ed82bf37919..edb35f20bab 100644 --- a/users/item_calendar_events_item_instances_delta_request_builder.go +++ b/users/item_calendar_events_item_instances_delta_request_builder.go @@ -61,7 +61,7 @@ func NewItemCalendarEventsItemInstancesDeltaRequestBuilder(rawUrl string, reques // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarEventsItemInstancesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarEventsItemInstancesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarEventsItemInstancesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -84,7 +84,7 @@ func (m *ItemCalendarEventsItemInstancesDeltaRequestBuilder) Get(ctx context.Con // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarEventsItemInstancesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemCalendarEventsItemInstancesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarEventsItemInstancesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendar_events_item_instances_item_accept_request_builder.go b/users/item_calendar_events_item_instances_item_accept_request_builder.go index e86d3585a1d..fede64786b4 100644 --- a/users/item_calendar_events_item_instances_item_accept_request_builder.go +++ b/users/item_calendar_events_item_instances_item_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemInstancesItemAcceptRequestBuilder(rawUrl string, r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-beta func (m *ItemCalendarEventsItemInstancesItemAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemInstancesItemAcceptPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemInstancesItemAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_events_item_instances_item_attachments_attachment_item_request_builder.go b/users/item_calendar_events_item_instances_item_attachments_attachment_item_request_builder.go index b0f2d13c079..8cc925c95d0 100644 --- a/users/item_calendar_events_item_instances_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_events_item_instances_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderD // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuild urlParams["request-raw-url"] = rawUrl return NewItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an attachment from a user calendar event, message, Outlook task, or post. +// Delete delete navigation property attachments for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0 func (m *ItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuil } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 func (m *ItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuil } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToDeleteRequestInformation delete an attachment from a user calendar event, message, Outlook task, or post. +// ToDeleteRequestInformation delete navigation property attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuil requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_events_item_instances_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_events_item_instances_item_attachments_create_upload_session_request_builder.go index c3d791d8d80..8601549d502 100644 --- a/users/item_calendar_events_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_events_item_instances_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemCalendarEventsItemInstancesItemAttachmentsCreateUploadSessionRequest // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemCalendarEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemInstancesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_events_item_instances_item_attachments_request_builder.go b/users/item_calendar_events_item_instances_item_attachments_request_builder.go index dd1b7b03187..a671e006679 100644 --- a/users/item_calendar_events_item_instances_item_attachments_request_builder.go +++ b/users/item_calendar_events_item_instances_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to an event. +// ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilder) Count()(* func (m *ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemCalendarEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemCalendarEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to an event. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 func (m *ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilder) Get(ctx c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post create new navigation property to attachments for users // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilder) Post(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to an event. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilder) ToGetRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation create new navigation property to attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_events_item_instances_item_cancel_request_builder.go b/users/item_calendar_events_item_instances_item_cancel_request_builder.go index fbdfa693316..2ea47f81e80 100644 --- a/users/item_calendar_events_item_instances_item_cancel_request_builder.go +++ b/users/item_calendar_events_item_instances_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemInstancesItemCancelRequestBuilder(rawUrl string, r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-beta func (m *ItemCalendarEventsItemInstancesItemCancelRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemInstancesItemCancelPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemInstancesItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_events_item_instances_item_decline_request_builder.go b/users/item_calendar_events_item_instances_item_decline_request_builder.go index ead4677605e..483e911cd50 100644 --- a/users/item_calendar_events_item_instances_item_decline_request_builder.go +++ b/users/item_calendar_events_item_instances_item_decline_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemInstancesItemDeclineRequestBuilder(rawUrl string, // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-beta func (m *ItemCalendarEventsItemInstancesItemDeclineRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemInstancesItemDeclinePostRequestBodyable, requestConfiguration *ItemCalendarEventsItemInstancesItemDeclineRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_events_item_instances_item_dismiss_reminder_request_builder.go b/users/item_calendar_events_item_instances_item_dismiss_reminder_request_builder.go index edbec48edd2..f18d8ecbcc2 100644 --- a/users/item_calendar_events_item_instances_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_events_item_instances_item_dismiss_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemInstancesItemDismissReminderRequestBuilder(rawUrl // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-beta func (m *ItemCalendarEventsItemInstancesItemDismissReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCalendarEventsItemInstancesItemDismissReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { 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 a68d9fd1062..13979860bbc 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 @@ -61,7 +61,7 @@ func NewItemCalendarEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuild // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarEventsItemInstancesItemExceptionOccurrencesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -84,7 +84,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuil // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemCalendarEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarEventsItemInstancesItemExceptionOccurrencesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendar_events_item_instances_item_exception_occurrences_item_accept_request_builder.go b/users/item_calendar_events_item_instances_item_exception_occurrences_item_accept_request_builder.go index b24bc153fcf..fc1a63c8098 100644 --- a/users/item_calendar_events_item_instances_item_exception_occurrences_item_accept_request_builder.go +++ b/users/item_calendar_events_item_instances_item_exception_occurrences_item_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAcceptRequest // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-beta func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAcceptPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/users/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index c31469406a2..ca3e3df52d8 100644 --- a/users/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttac // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAt urlParams["request-raw-url"] = rawUrl return NewItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an attachment from a user calendar event, message, Outlook task, or post. +// Delete delete navigation property attachments for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0 func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsA } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsA } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToDeleteRequestInformation delete an attachment from a user calendar event, message, Outlook task, or post. +// ToDeleteRequestInformation delete navigation property attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsA requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*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_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index 81a3c2ed436..283cddfafe6 100644 --- a/users/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCr // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go b/users/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go index e1e4d07298c..2ce43d4ef77 100644 --- a/users/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go +++ b/users/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to an event. +// ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsR func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to an event. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsR } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post create new navigation property to attachments for users // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsR } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to an event. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation create new navigation property to attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go b/users/item_calendar_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go index 60ee9ff2484..eff4420e189 100644 --- a/users/item_calendar_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go +++ b/users/item_calendar_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemInstancesItemExceptionOccurrencesItemCancelRequest // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-beta func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemCancelRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemCancelPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_events_item_instances_item_exception_occurrences_item_decline_request_builder.go b/users/item_calendar_events_item_instances_item_exception_occurrences_item_decline_request_builder.go index 4e85aceda35..268c28fe2a8 100644 --- a/users/item_calendar_events_item_instances_item_exception_occurrences_item_decline_request_builder.go +++ b/users/item_calendar_events_item_instances_item_exception_occurrences_item_decline_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemInstancesItemExceptionOccurrencesItemDeclineReques // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-beta func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemDeclinePostRequestBodyable, requestConfiguration *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/users/item_calendar_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go index d4ceda365f1..43664512ef9 100644 --- a/users/item_calendar_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemInstancesItemExceptionOccurrencesItemDismissRemind // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-beta func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemDismissReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemDismissReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendar_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/users/item_calendar_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go index e7be50d6b64..464c773077b 100644 --- a/users/item_calendar_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtens // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsEx } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsEx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*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_item_extensions_request_builder.go b/users/item_calendar_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go index e324d90bc51..6c4ddc12d9f 100644 --- a/users/item_calendar_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go +++ b/users/item_calendar_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsReq func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) Count()(*ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsCountRequestBuilder) { return NewItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -94,12 +94,9 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsRe } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to extensions for users // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsRe } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +128,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to extensions for users // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_events_item_instances_item_exception_occurrences_item_forward_request_builder.go b/users/item_calendar_events_item_instances_item_exception_occurrences_item_forward_request_builder.go index 27c587df042..cb1bd7a90ce 100644 --- a/users/item_calendar_events_item_instances_item_exception_occurrences_item_forward_request_builder.go +++ b/users/item_calendar_events_item_instances_item_exception_occurrences_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemInstancesItemExceptionOccurrencesItemForwardReques // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-beta func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemForwardRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemForwardPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go b/users/item_calendar_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go index 7377c9f0c19..641b57e6f8a 100644 --- a/users/item_calendar_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemInstancesItemExceptionOccurrencesItemSnoozeReminde // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-beta func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemSnoozeReminderPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemSnoozeReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go b/users/item_calendar_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go index f5b35cd7375..732ac82421a 100644 --- a/users/item_calendar_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemInstancesItemExceptionOccurrencesItemTentativelyAc // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-beta func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemTentativelyAcceptPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemTentativelyAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_events_item_instances_item_extensions_extension_item_request_builder.go b/users/item_calendar_events_item_instances_item_extensions_extension_item_request_builder.go index 6c4116acd81..faf49a29c9d 100644 --- a/users/item_calendar_events_item_instances_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_events_item_instances_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarEventsItemInstancesItemExtensionsExtensionItemRequestBuilderDel // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarEventsItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarEventsItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarEventsItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemCalendarEventsItemInstancesItemExtensionsExtensionItemRequestBuilde } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemCalendarEventsItemInstancesItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarEventsItemInstancesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemCalendarEventsItemInstancesItemExtensionsExtensionItemRequestBuilde requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemInstancesItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemInstancesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_events_item_instances_item_extensions_request_builder.go b/users/item_calendar_events_item_instances_item_extensions_request_builder.go index 158a5a88147..ff2403a5c84 100644 --- a/users/item_calendar_events_item_instances_item_extensions_request_builder.go +++ b/users/item_calendar_events_item_instances_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarEventsItemInstancesItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarEventsItemInstancesItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarEventsItemInstancesItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarEventsItemInstancesItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemCalendarEventsItemInstancesItemExtensionsRequestBuilder(rawUrl strin func (m *ItemCalendarEventsItemInstancesItemExtensionsRequestBuilder) Count()(*ItemCalendarEventsItemInstancesItemExtensionsCountRequestBuilder) { return NewItemCalendarEventsItemInstancesItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemCalendarEventsItemInstancesItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarEventsItemInstancesItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -94,12 +94,9 @@ func (m *ItemCalendarEventsItemInstancesItemExtensionsRequestBuilder) Get(ctx co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to extensions for users // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemCalendarEventsItemInstancesItemExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarEventsItemInstancesItemExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemCalendarEventsItemInstancesItemExtensionsRequestBuilder) Post(ctx c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemInstancesItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsItemInstancesItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +128,7 @@ func (m *ItemCalendarEventsItemInstancesItemExtensionsRequestBuilder) ToGetReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to extensions for users // returns a *RequestInformation when successful func (m *ItemCalendarEventsItemInstancesItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarEventsItemInstancesItemExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_events_item_instances_item_forward_request_builder.go b/users/item_calendar_events_item_instances_item_forward_request_builder.go index 974bec83632..0d0475e3ed4 100644 --- a/users/item_calendar_events_item_instances_item_forward_request_builder.go +++ b/users/item_calendar_events_item_instances_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemInstancesItemForwardRequestBuilder(rawUrl string, // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-beta func (m *ItemCalendarEventsItemInstancesItemForwardRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemInstancesItemForwardPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemInstancesItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_events_item_instances_item_snooze_reminder_request_builder.go b/users/item_calendar_events_item_instances_item_snooze_reminder_request_builder.go index 531144f0aa3..bb65bf6d7a0 100644 --- a/users/item_calendar_events_item_instances_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_events_item_instances_item_snooze_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemInstancesItemSnoozeReminderRequestBuilder(rawUrl s // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-beta func (m *ItemCalendarEventsItemInstancesItemSnoozeReminderRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemInstancesItemSnoozeReminderPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemInstancesItemSnoozeReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_events_item_instances_item_tentatively_accept_request_builder.go b/users/item_calendar_events_item_instances_item_tentatively_accept_request_builder.go index b5c4f7d22c7..4ef5cade2f9 100644 --- a/users/item_calendar_events_item_instances_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_events_item_instances_item_tentatively_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemInstancesItemTentativelyAcceptRequestBuilder(rawUr // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-beta func (m *ItemCalendarEventsItemInstancesItemTentativelyAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemInstancesItemTentativelyAcceptPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemInstancesItemTentativelyAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_events_item_instances_request_builder.go b/users/item_calendar_events_item_instances_request_builder.go index c1d67380e35..94e299bdb9c 100644 --- a/users/item_calendar_events_item_instances_request_builder.go +++ b/users/item_calendar_events_item_instances_request_builder.go @@ -77,9 +77,6 @@ func (m *ItemCalendarEventsItemInstancesRequestBuilder) Delta()(*ItemCalendarEve // Get the occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but doesn't include occurrences that have been canceled from the series. Navigation property. Read-only. Nullable. // returns a EventCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-instances?view=graph-rest-1.0 func (m *ItemCalendarEventsItemInstancesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarEventsItemInstancesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EventCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendar_events_item_snooze_reminder_request_builder.go b/users/item_calendar_events_item_snooze_reminder_request_builder.go index cc68a01dbea..f10eb39e912 100644 --- a/users/item_calendar_events_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_events_item_snooze_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemSnoozeReminderRequestBuilder(rawUrl string, reques // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-beta func (m *ItemCalendarEventsItemSnoozeReminderRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemSnoozeReminderPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemSnoozeReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_events_item_tentatively_accept_request_builder.go b/users/item_calendar_events_item_tentatively_accept_request_builder.go index a9f62e7bfe8..069239b8135 100644 --- a/users/item_calendar_events_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_events_item_tentatively_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarEventsItemTentativelyAcceptRequestBuilder(rawUrl string, req // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-beta func (m *ItemCalendarEventsItemTentativelyAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarEventsItemTentativelyAcceptPostRequestBodyable, requestConfiguration *ItemCalendarEventsItemTentativelyAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_events_request_builder.go b/users/item_calendar_events_request_builder.go index 8ea558379e0..91a6fadfa71 100644 --- a/users/item_calendar_events_request_builder.go +++ b/users/item_calendar_events_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarEventsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarEventsRequestBuilderGetQueryParameters retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, orget the instances of an event. +// ItemCalendarEventsRequestBuilderGetQueryParameters the events in the calendar. Navigation property. Read-only. type ItemCalendarEventsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemCalendarEventsRequestBuilder) Count()(*ItemCalendarEventsCountReque func (m *ItemCalendarEventsRequestBuilder) Delta()(*ItemCalendarEventsDeltaRequestBuilder) { return NewItemCalendarEventsDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, orget the instances of an event. +// Get the events in the calendar. Navigation property. Read-only. // returns a EventCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/calendar-list-events?view=graph-rest-1.0 func (m *ItemCalendarEventsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarEventsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EventCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemCalendarEventsRequestBuilder) Get(ctx context.Context, requestConfi } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EventCollectionResponseable), nil } -// Post use this API to create a new event in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. +// Post create new navigation property to events for users // returns a Eventable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/calendar-post-events?view=graph-rest-1.0 func (m *ItemCalendarEventsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Eventable, requestConfiguration *ItemCalendarEventsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Eventable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemCalendarEventsRequestBuilder) Post(ctx context.Context, body ie233e } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Eventable), nil } -// ToGetRequestInformation retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, orget the instances of an event. +// ToGetRequestInformation the events in the calendar. Navigation property. Read-only. // returns a *RequestInformation when successful func (m *ItemCalendarEventsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarEventsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemCalendarEventsRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new event in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. +// ToPostRequestInformation create new navigation property to events for users // returns a *RequestInformation when successful func (m *ItemCalendarEventsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Eventable, requestConfiguration *ItemCalendarEventsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_get_schedule_request_builder.go b/users/item_calendar_get_schedule_request_builder.go index 45717933fac..4d50cd7d496 100644 --- a/users/item_calendar_get_schedule_request_builder.go +++ b/users/item_calendar_get_schedule_request_builder.go @@ -36,7 +36,7 @@ func NewItemCalendarGetScheduleRequestBuilder(rawUrl string, requestAdapter i2ae // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/calendar-getschedule?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/calendar-getschedule?view=graph-rest-beta func (m *ItemCalendarGetScheduleRequestBuilder) Post(ctx context.Context, body ItemCalendarGetSchedulePostRequestBodyable, requestConfiguration *ItemCalendarGetScheduleRequestBuilderPostRequestConfiguration)(ItemCalendarGetScheduleResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ItemCalendarGetScheduleRequestBuilder) Post(ctx context.Context, body I // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/calendar-getschedule?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/calendar-getschedule?view=graph-rest-beta func (m *ItemCalendarGetScheduleRequestBuilder) PostAsGetSchedulePostResponse(ctx context.Context, body ItemCalendarGetSchedulePostRequestBodyable, requestConfiguration *ItemCalendarGetScheduleRequestBuilderPostRequestConfiguration)(ItemCalendarGetSchedulePostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_calendar_group_item_request_builder.go b/users/item_calendar_groups_calendar_group_item_request_builder.go index f8f378160fd..80e0a2d018d 100644 --- a/users/item_calendar_groups_calendar_group_item_request_builder.go +++ b/users/item_calendar_groups_calendar_group_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarGroupsCalendarGroupItemRequestBuilderDeleteRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarGroupsCalendarGroupItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a calendar group object. +// ItemCalendarGroupsCalendarGroupItemRequestBuilderGetQueryParameters the user's calendar groups. Read-only. Nullable. type ItemCalendarGroupsCalendarGroupItemRequestBuilderGetQueryParameters struct { // Select properties to be returned Select []string `uriparametername:"%24select"` @@ -57,11 +57,8 @@ func NewItemCalendarGroupsCalendarGroupItemRequestBuilder(rawUrl string, request urlParams["request-raw-url"] = rawUrl return NewItemCalendarGroupsCalendarGroupItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a calendar group other than the default calendar group. +// Delete delete navigation property calendarGroups for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/calendargroup-delete?view=graph-rest-1.0 func (m *ItemCalendarGroupsCalendarGroupItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCalendarGroupsCalendarGroupItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -76,12 +73,9 @@ func (m *ItemCalendarGroupsCalendarGroupItemRequestBuilder) Delete(ctx context.C } return nil } -// Get retrieve the properties and relationships of a calendar group object. +// Get the user's calendar groups. Read-only. Nullable. // returns a CalendarGroupable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/calendargroup-get?view=graph-rest-1.0 func (m *ItemCalendarGroupsCalendarGroupItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarGroupsCalendarGroupItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarGroupable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +93,9 @@ func (m *ItemCalendarGroupsCalendarGroupItemRequestBuilder) Get(ctx context.Cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarGroupable), nil } -// Patch update the properties of calendargroup object. +// Patch update the navigation property calendarGroups in users // returns a CalendarGroupable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/calendargroup-update?view=graph-rest-1.0 func (m *ItemCalendarGroupsCalendarGroupItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarGroupable, requestConfiguration *ItemCalendarGroupsCalendarGroupItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarGroupable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +113,7 @@ func (m *ItemCalendarGroupsCalendarGroupItemRequestBuilder) Patch(ctx context.Co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarGroupable), nil } -// ToDeleteRequestInformation delete a calendar group other than the default calendar group. +// ToDeleteRequestInformation delete navigation property calendarGroups for users // returns a *RequestInformation when successful func (m *ItemCalendarGroupsCalendarGroupItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsCalendarGroupItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +124,7 @@ func (m *ItemCalendarGroupsCalendarGroupItemRequestBuilder) ToDeleteRequestInfor requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a calendar group object. +// ToGetRequestInformation the user's calendar groups. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarGroupsCalendarGroupItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsCalendarGroupItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -147,7 +138,7 @@ func (m *ItemCalendarGroupsCalendarGroupItemRequestBuilder) ToGetRequestInformat requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of calendargroup object. +// ToPatchRequestInformation update the navigation property calendarGroups in users // returns a *RequestInformation when successful func (m *ItemCalendarGroupsCalendarGroupItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarGroupable, requestConfiguration *ItemCalendarGroupsCalendarGroupItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_groups_item_calendars_item_calendar_permissions_calendar_permission_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_permissions_calendar_permission_item_request_builder.go index 43b7f7479e2..1bbb3234c38 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_permissions_calendar_permission_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_permissions_calendar_permission_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarGroupsItemCalendarsItemCalendarPermissionsCalendarPermissionIte // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarGroupsItemCalendarsItemCalendarPermissionsCalendarPermissionItemRequestBuilderGetQueryParameters get the specified permissions object of a user or group calendar that has been shared. +// ItemCalendarGroupsItemCalendarsItemCalendarPermissionsCalendarPermissionItemRequestBuilderGetQueryParameters the permissions of the users with whom the calendar is shared. type ItemCalendarGroupsItemCalendarsItemCalendarPermissionsCalendarPermissionItemRequestBuilderGetQueryParameters struct { // Select properties to be returned Select []string `uriparametername:"%24select"` @@ -52,11 +52,8 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarPermissionsCalendarPermission urlParams["request-raw-url"] = rawUrl return NewItemCalendarGroupsItemCalendarsItemCalendarPermissionsCalendarPermissionItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete calendarPermission. +// Delete delete navigation property calendarPermissions for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/calendarpermission-delete?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemCalendarPermissionsCalendarPermissionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarPermissionsCalendarPermissionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -71,12 +68,9 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarPermissionsCalendarPermissio } return nil } -// Get get the specified permissions object of a user or group calendar that has been shared. +// Get the permissions of the users with whom the calendar is shared. // returns a CalendarPermissionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/calendarpermission-get?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemCalendarPermissionsCalendarPermissionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarPermissionsCalendarPermissionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarPermissionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -94,12 +88,9 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarPermissionsCalendarPermissio } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarPermissionable), nil } -// Patch update the permissions assigned to an existing share recipient or delegate, through the corresponding calendarPermission object for a calendar. +// Patch update the navigation property calendarPermissions in users // returns a CalendarPermissionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/calendarpermission-update?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemCalendarPermissionsCalendarPermissionItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarPermissionable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarPermissionsCalendarPermissionItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarPermissionable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +108,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarPermissionsCalendarPermissio } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarPermissionable), nil } -// ToDeleteRequestInformation delete calendarPermission. +// ToDeleteRequestInformation delete navigation property calendarPermissions for users // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemCalendarPermissionsCalendarPermissionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarPermissionsCalendarPermissionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -128,7 +119,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarPermissionsCalendarPermissio requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the specified permissions object of a user or group calendar that has been shared. +// ToGetRequestInformation the permissions of the users with whom the calendar is shared. // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemCalendarPermissionsCalendarPermissionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarPermissionsCalendarPermissionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -142,7 +133,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarPermissionsCalendarPermissio requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the permissions assigned to an existing share recipient or delegate, through the corresponding calendarPermission object for a calendar. +// ToPatchRequestInformation update the navigation property calendarPermissions in users // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemCalendarPermissionsCalendarPermissionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarPermissionable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarPermissionsCalendarPermissionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_groups_item_calendars_item_calendar_permissions_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_permissions_request_builder.go index 9de98cf7d9f..57e2e154ef4 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_permissions_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_permissions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarGroupsItemCalendarsItemCalendarPermissionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarGroupsItemCalendarsItemCalendarPermissionsRequestBuilderGetQueryParameters get the specified permissions object of a user or group calendar that has been shared. +// ItemCalendarGroupsItemCalendarsItemCalendarPermissionsRequestBuilderGetQueryParameters the permissions of the users with whom the calendar is shared. type ItemCalendarGroupsItemCalendarsItemCalendarPermissionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -72,7 +72,7 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarPermissionsRequestBuilder(raw func (m *ItemCalendarGroupsItemCalendarsItemCalendarPermissionsRequestBuilder) Count()(*ItemCalendarGroupsItemCalendarsItemCalendarPermissionsCountRequestBuilder) { return NewItemCalendarGroupsItemCalendarsItemCalendarPermissionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the specified permissions object of a user or group calendar that has been shared. +// Get the permissions of the users with whom the calendar is shared. // returns a CalendarPermissionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemCalendarGroupsItemCalendarsItemCalendarPermissionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarPermissionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarPermissionCollectionResponseable, error) { @@ -92,12 +92,9 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarPermissionsRequestBuilder) G } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarPermissionCollectionResponseable), nil } -// Post create a calendarPermission resource to specify the identity and role of the user with whom the specified calendar is being shared or delegated. +// Post create new navigation property to calendarPermissions for users // returns a CalendarPermissionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/calendar-post-calendarpermissions?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemCalendarPermissionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarPermissionable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarPermissionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarPermissionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -115,7 +112,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarPermissionsRequestBuilder) P } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarPermissionable), nil } -// ToGetRequestInformation get the specified permissions object of a user or group calendar that has been shared. +// ToGetRequestInformation the permissions of the users with whom the calendar is shared. // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemCalendarPermissionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarPermissionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -129,7 +126,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarPermissionsRequestBuilder) T requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a calendarPermission resource to specify the identity and role of the user with whom the specified calendar is being shared or delegated. +// ToPostRequestInformation create new navigation property to calendarPermissions for users // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemCalendarPermissionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarPermissionable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarPermissionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, 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 dc43e4d4db2..3801e303520 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 @@ -61,7 +61,7 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewDeltaRequestBuilder(rawUr // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarGroupsItemCalendarsItemCalendarViewDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -84,7 +84,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewDeltaRequestBuilder) Get // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarGroupsItemCalendarsItemCalendarViewDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_accept_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_accept_request_builder.go index f804383dbef..e574f19fbad 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_accept_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewItemAcceptRequestBuilder( // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemCalendarViewItemAcceptPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_attachments_attachment_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_attachments_attachment_item_request_builder.go index ec52f2ef15d..1ef22b294dc 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsAttachmentIte // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsAttachment urlParams["request-raw-url"] = rawUrl return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsAttachmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an attachment from a user calendar event, message, Outlook task, or post. +// Delete delete navigation property attachments for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsAttachmen } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsAttachmen } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToDeleteRequestInformation delete an attachment from a user calendar event, message, Outlook task, or post. +// ToDeleteRequestInformation delete navigation property attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsAttachmen requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*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_attachments_create_upload_session_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_attachments_create_upload_session_request_builder.go index 97a330d29cf..083b47ea9c6 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsCreateUplo // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_attachments_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_attachments_request_builder.go index e6076f907fe..7e3a6209583 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_attachments_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to an event. +// ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsRequestBu func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to an event. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsRequestBu } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post create new navigation property to attachments for users // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsRequestBu } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to an event. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsRequestBu requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation create new navigation property to attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_cancel_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_cancel_request_builder.go index 14d3658bb52..c2f837560ae 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_cancel_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewItemCancelRequestBuilder( // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemCancelRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemCalendarViewItemCancelPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_decline_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_decline_request_builder.go index 9b6d0601f17..b91aea0d88a 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_decline_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_decline_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewItemDeclineRequestBuilder // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemDeclineRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemCalendarViewItemDeclinePostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemDeclineRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_dismiss_reminder_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_dismiss_reminder_request_builder.go index 83fedac54c2..969bea99e89 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_dismiss_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewItemDismissReminderReques // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemDismissReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemDismissReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_delta_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_delta_request_builder.go index ab1b9b0a167..4acd6c53b65 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_delta_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_delta_request_builder.go @@ -61,7 +61,7 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesD // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -84,7 +84,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_accept_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_accept_request_builder.go index a47105d3dc7..93be2f634ee 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_accept_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesI // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAcceptPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index 8800a07e206..d6463ffd5bc 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItem // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesI urlParams["request-raw-url"] = rawUrl return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an attachment from a user calendar event, message, Outlook task, or post. +// Delete delete navigation property attachments for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToDeleteRequestInformation delete an attachment from a user calendar event, message, Outlook task, or post. +// ToDeleteRequestInformation delete navigation property attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*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_exception_occurrences_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index 98cebb0dd7a..96c7e5c6459 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesI // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_request_builder.go index 9ecd8ee7041..bfba2d008d3 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to an event. +// ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to an event. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post create new navigation property to attachments for users // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to an event. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation create new navigation property to attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_cancel_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_cancel_request_builder.go index 0b4edb85c5a..270a446c04d 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_cancel_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesI // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemCancelRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemCancelPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_decline_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_decline_request_builder.go index e68bd9ab353..4a6a9a56b3b 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_decline_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_decline_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesI // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemDeclineRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemDeclinePostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemDeclineRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go index 32b654d943e..bc3294a03be 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesI // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemDismissReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemDismissReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go index d430a3f160c..78cca3cb52b 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItem // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*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_exception_occurrences_item_extensions_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_extensions_request_builder.go index 960e9d9d1d8..f7f0bf29a68 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_extensions_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesI func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) Count()(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsCountRequestBuilder) { return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -94,12 +94,9 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to extensions for users // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +128,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to extensions for users // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_forward_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_forward_request_builder.go index e3019f718fe..52dbab83b62 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_forward_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesI // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemForwardRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemForwardPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go index 90137c89a5c..e2125e37e59 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go @@ -61,7 +61,7 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesI // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -84,7 +84,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go index 4f5e286a5d5..91f1d8b6660 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesI // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAcceptPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go index 31e5b3884e5..fd59f59b37f 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItem // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesI urlParams["request-raw-url"] = rawUrl return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an attachment from a user calendar event, message, Outlook task, or post. +// Delete delete navigation property attachments for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToDeleteRequestInformation delete an attachment from a user calendar event, message, Outlook task, or post. +// ToDeleteRequestInformation delete navigation property attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*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_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go index d80a183ab1e..22b442c9d13 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesI // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go index 2cc5b303127..e30d63e5656 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to an event. +// ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to an event. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post create new navigation property to attachments for users // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to an event. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation create new navigation property to attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go index 5ca9f55ade9..ac5697cb730 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesI // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemCancelRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemCancelPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go index 0039841bcb0..d73c5f17213 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesI // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemDeclinePostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go index a8c91d036d5..13e7f312bd2 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesI // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemDismissReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemDismissReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go index 4b754d1a341..67acfd6390a 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItem // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*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_exception_occurrences_item_instances_item_extensions_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go index feae5689bb0..8f69c0590db 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesI func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) Count()(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsCountRequestBuilder) { return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -94,12 +94,9 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to extensions for users // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +128,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to extensions for users // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go index b3d39a48681..4f6d00394c8 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesI // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemForwardRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemForwardPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go index 90ffd0b824c..bf6e07c8ebd 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesI // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemSnoozeReminderRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemSnoozeReminderPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemSnoozeReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go index b2f9be0203d..292f8d0b127 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesI // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemTentativelyAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemTentativelyAcceptPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemTentativelyAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_request_builder.go index f1c28cd8e7f..d0a2c4dbc6d 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_request_builder.go @@ -77,9 +77,6 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences // Get the occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but doesn't include occurrences that have been canceled from the series. Navigation property. Read-only. Nullable. // returns a EventCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-instances?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EventCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go index a763255dff4..de6ac84fd0d 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesI // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemSnoozeReminderPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemSnoozeReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go index 1696b034ebf..26194aded0b 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesI // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemTentativelyAcceptPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrencesItemTentativelyAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_extensions_extension_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_extensions_extension_item_request_builder.go index ffe86785fa4..02f1ac48cc4 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarGroupsItemCalendarsItemCalendarViewItemExtensionsExtensionItemR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarGroupsItemCalendarsItemCalendarViewItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarGroupsItemCalendarsItemCalendarViewItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarGroupsItemCalendarsItemCalendarViewItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExtensionsExtensionI } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExtensionsExtensionI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*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_extensions_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_extensions_request_builder.go index f075be2d166..ed4b84275ed 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_extensions_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarGroupsItemCalendarsItemCalendarViewItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarGroupsItemCalendarsItemCalendarViewItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarGroupsItemCalendarsItemCalendarViewItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarGroupsItemCalendarsItemCalendarViewItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExtensionsRequestBuil func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExtensionsRequestBuilder) Count()(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemExtensionsCountRequestBuilder) { return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -94,12 +94,9 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExtensionsRequestBui } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to extensions for users // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExtensionsRequestBui } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +128,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExtensionsRequestBui requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to extensions for users // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_forward_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_forward_request_builder.go index 882c06106be..b93f639bf8d 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_forward_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewItemForwardRequestBuilder // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemForwardRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemCalendarViewItemForwardPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { 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 03e140c6793..cc3160bc1c8 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 @@ -61,7 +61,7 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesDeltaRequest // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -84,7 +84,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesDeltaReques // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_accept_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_accept_request_builder.go index 6d1c34d52d7..692010f74dc 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_accept_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAcceptRe // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAcceptPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go index 0b1b681629b..2af609b1ccc 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachments // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachme urlParams["request-raw-url"] = rawUrl return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an attachment from a user calendar event, message, Outlook task, or post. +// Delete delete navigation property attachments for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachm } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachm } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToDeleteRequestInformation delete an attachment from a user calendar event, message, Outlook task, or post. +// ToDeleteRequestInformation delete navigation property attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachm requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*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_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go index 40edb60c566..b88f4550914 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachme // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_attachments_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_attachments_request_builder.go index 9fee7af2778..6882c1a66cd 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_attachments_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to an event. +// ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachmentsRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachm func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to an event. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachm } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post create new navigation property to attachments for users // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachm } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to an event. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachm requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation create new navigation property to attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_cancel_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_cancel_request_builder.go index 63faea60705..a2a346759ed 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_cancel_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemCancelRe // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemCancelRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemCancelPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_decline_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_decline_request_builder.go index 46cf19cdc9c..20c385a8301 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_decline_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_decline_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemDeclineR // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemDeclineRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemDeclinePostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemDeclineRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_dismiss_reminder_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_dismiss_reminder_request_builder.go index 148ec19e7d3..7fa5c5c711b 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_dismiss_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemDismissR // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemDismissReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemDismissReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go index b486ed8a6c0..d936e8832e1 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go @@ -61,7 +61,7 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptio // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -84,7 +84,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExcepti // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go index 3d247df4888..ee929d86462 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptio // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAcceptPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index 6a902891b45..220a16cc9cf 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOc // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptio urlParams["request-raw-url"] = rawUrl return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an attachment from a user calendar event, message, Outlook task, or post. +// Delete delete navigation property attachments for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExcepti } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExcepti } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToDeleteRequestInformation delete an attachment from a user calendar event, message, Outlook task, or post. +// ToDeleteRequestInformation delete navigation property attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExcepti requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*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_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index 57c84a5cb4a..cfe2b02f67e 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptio // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go index 1df219c6194..ea2a5f776dd 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to an event. +// ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExcepti func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to an event. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExcepti } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post create new navigation property to attachments for users // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExcepti } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to an event. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExcepti requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation create new navigation property to attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go index 0e225f2bee6..a8b0a72ca25 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptio // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemCancelRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemCancelPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go index 940eea35fa7..1ba869b8f41 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptio // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemDeclinePostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go index 6670fea26c3..8ace45aabd2 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptio // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemDismissReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemDismissReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go index 3c2bfaa5937..bfc2ab2dc6f 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOc // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExcepti } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExcepti requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*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_item_exception_occurrences_item_extensions_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go index 51659e70382..b6741b934f5 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptio func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) Count()(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsCountRequestBuilder) { return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -94,12 +94,9 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExcepti } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to extensions for users // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExcepti } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +128,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExcepti requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to extensions for users // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go index f9099607985..70eefbd20a7 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptio // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemForwardRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemForwardPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go index a77e12fcf0e..0ffb8a85a3c 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptio // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemSnoozeReminderPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemSnoozeReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go index ff856c58ce7..d691834de1e 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptio // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemTentativelyAcceptPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemTentativelyAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_extensions_extension_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_extensions_extension_item_request_builder.go index dfcaa8198f4..f5fcedeba18 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExtensionsE // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExtensi } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExtensi requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*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_item_extensions_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_extensions_request_builder.go index 315c05f5586..0ff663e0db4 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_extensions_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExtensio func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExtensionsRequestBuilder) Count()(*ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExtensionsCountRequestBuilder) { return NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -94,12 +94,9 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExtensi } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to extensions for users // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExtensi } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +128,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExtensi requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to extensions for users // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_forward_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_forward_request_builder.go index dd4bb49c01b..2fbf616f48b 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_forward_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemForwardR // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemForwardRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemForwardPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_snooze_reminder_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_snooze_reminder_request_builder.go index edcad5868cb..769f1e13566 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_snooze_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemSnoozeRe // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemSnoozeReminderRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemSnoozeReminderPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemSnoozeReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_tentatively_accept_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_tentatively_accept_request_builder.go index b46deb77fdf..72457c82768 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_tentatively_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemTentativ // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemTentativelyAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemTentativelyAcceptPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemTentativelyAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_request_builder.go index 640e372ba8e..d7e4e69f70c 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_request_builder.go @@ -77,9 +77,6 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesRequestBuil // Get the occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but doesn't include occurrences that have been canceled from the series. Navigation property. Read-only. Nullable. // returns a EventCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-instances?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EventCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_snooze_reminder_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_snooze_reminder_request_builder.go index d49a2508cbb..a69af337d8c 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_snooze_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewItemSnoozeReminderRequest // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemSnoozeReminderRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemCalendarViewItemSnoozeReminderPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemSnoozeReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_tentatively_accept_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_tentatively_accept_request_builder.go index b99a7f4cfba..d3d7bd16b05 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_tentatively_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemCalendarViewItemTentativelyAcceptRequ // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemTentativelyAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemCalendarViewItemTentativelyAcceptPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewItemTentativelyAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_request_builder.go index b891df053ce..dab61e33911 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_request_builder.go @@ -77,9 +77,6 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewRequestBuilder) Delta()( // Get the calendar view for the calendar. Navigation property. Read-only. // returns a EventCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/calendar-list-calendarview?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemCalendarViewRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EventCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { 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 7a099928416..240e13568ff 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 @@ -61,7 +61,7 @@ func NewItemCalendarGroupsItemCalendarsItemEventsDeltaRequestBuilder(rawUrl stri // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemEventsDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarGroupsItemCalendarsItemEventsDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -84,7 +84,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsDeltaRequestBuilder) Get(ctx c // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemEventsDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarGroupsItemCalendarsItemEventsDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_events_item_accept_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_accept_request_builder.go index 92b801bc466..0e1d5eb0e09 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_accept_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemAcceptRequestBuilder(rawUrl // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemEventsItemAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemEventsItemAcceptPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_events_item_attachments_attachment_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_attachments_attachment_item_request_builder.go index 547a515c0f1..3df7adde708 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsAttachmentItemReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsAttachmentItemRe urlParams["request-raw-url"] = rawUrl return NewItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsAttachmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an attachment from a user calendar event, message, Outlook task, or post. +// Delete delete navigation property attachments for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsAttachmentItemR } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsAttachmentItemR } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToDeleteRequestInformation delete an attachment from a user calendar event, message, Outlook task, or post. +// ToDeleteRequestInformation delete navigation property attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsAttachmentItemR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*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_attachments_create_upload_session_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_attachments_create_upload_session_request_builder.go index 19711ad2cdf..da5d6088caf 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsCreateUploadSess // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_events_item_attachments_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_attachments_request_builder.go index ff7bb64b5b0..ac71b7983b5 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_attachments_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to an event. +// ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsRequestBuilder) func (m *ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to an event. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post create new navigation property to attachments for users // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to an event. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation create new navigation property to attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_groups_item_calendars_item_events_item_cancel_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_cancel_request_builder.go index 709c8cbc0fa..e67ab08819d 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_cancel_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemCancelRequestBuilder(rawUrl // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemEventsItemCancelRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemEventsItemCancelPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_events_item_decline_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_decline_request_builder.go index e0d51d959bb..c779cc7f6ef 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_decline_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_decline_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemDeclineRequestBuilder(rawUr // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemEventsItemDeclineRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemEventsItemDeclinePostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemDeclineRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_events_item_dismiss_reminder_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_dismiss_reminder_request_builder.go index e53ac6ca194..bf0e13ba3ef 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_dismiss_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemDismissReminderRequestBuild // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemEventsItemDismissReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemDismissReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { 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 3b0a0898295..4f5efce262b 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 @@ -61,7 +61,7 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesDeltaRe // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -84,7 +84,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesDeltaR // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_accept_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_accept_request_builder.go index 851dd565077..70aa580befc 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_accept_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAcc // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAcceptPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index dc865c1e8f1..3ba22162097 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAttach // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAtt urlParams["request-raw-url"] = rawUrl return NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an attachment from a user calendar event, message, Outlook task, or post. +// Delete delete navigation property attachments for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAt } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAt } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToDeleteRequestInformation delete an attachment from a user calendar event, message, Outlook task, or post. +// ToDeleteRequestInformation delete navigation property attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAt requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*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_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index be3f88e1b80..36123924995 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAtt // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_attachments_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_attachments_request_builder.go index f655a96dae7..fa39d665ad9 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_attachments_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to an event. +// ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAt func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to an event. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAt } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post create new navigation property to attachments for users // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAt } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to an event. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAt requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation create new navigation property to attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_cancel_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_cancel_request_builder.go index cac4b1351d9..44a266a0a59 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_cancel_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemCan // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemCancelRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemCancelPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_decline_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_decline_request_builder.go index 782fb07932b..9ced202b6a3 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_decline_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_decline_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemDec // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemDeclineRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemDeclinePostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemDeclineRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go index bb2609c9079..108ed14f8ff 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemDis // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemDismissReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemDismissReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go index e1db0313d52..ca12dbf3755 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemExtens // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemEx } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemEx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*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_item_extensions_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_extensions_request_builder.go index a97b581e78f..434c134fdf1 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_extensions_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemExt func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) Count()(*ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsCountRequestBuilder) { return NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -94,12 +94,9 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemEx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to extensions for users // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemEx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +128,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemEx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to extensions for users // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_forward_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_forward_request_builder.go index dbdc0196cb5..e042a6aa32b 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_forward_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemFor // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemForwardRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemForwardPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_delta_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_delta_request_builder.go index aa9846c46ec..8efc03f18a8 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_delta_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_delta_request_builder.go @@ -61,7 +61,7 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIns // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -84,7 +84,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIn // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_accept_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_accept_request_builder.go index c6afc7f0d49..7732f7d2d61 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_accept_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIns // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAcceptPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go index 92aef86d1f8..4bf8d907c22 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstan // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIns urlParams["request-raw-url"] = rawUrl return NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an attachment from a user calendar event, message, Outlook task, or post. +// Delete delete navigation property attachments for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIn } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIn } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToDeleteRequestInformation delete an attachment from a user calendar event, message, Outlook task, or post. +// ToDeleteRequestInformation delete navigation property attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIn requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*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_item_instances_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go index 70c2c48b6da..9457e392e46 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIns // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go index 2ab5a39cf82..0c4d8d45ee2 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to an event. +// ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIn func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to an event. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIn } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post create new navigation property to attachments for users // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIn } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to an event. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIn requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation create new navigation property to attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go index 4d99b6c41ee..4c68178d73f 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIns // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemCancelRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemCancelPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_decline_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_decline_request_builder.go index d8240b41935..79dd0bc234f 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_decline_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_decline_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIns // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemDeclinePostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go index 40ff5ce1500..d7eee819bb3 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIns // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemDismissReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemDismissReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go index 303adff8ae7..e8c78c231e1 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstan // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIn } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIn requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*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_item_instances_item_extensions_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go index 1821e612d41..7040d14e67b 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIns func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) Count()(*ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsCountRequestBuilder) { return NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -94,12 +94,9 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIn } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to extensions for users // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIn } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +128,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIn requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to extensions for users // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_forward_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_forward_request_builder.go index 371a160f170..24efd959999 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_forward_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIns // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemForwardRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemForwardPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go index c73893707ab..930921ccd64 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIns // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemSnoozeReminderRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemSnoozeReminderPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemSnoozeReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go index 498860ab6ef..24ad3af84c8 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIns // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemTentativelyAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemTentativelyAcceptPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemTentativelyAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_request_builder.go index d19238727a7..96ea0de0253 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_request_builder.go @@ -77,9 +77,6 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIn // Get the occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but doesn't include occurrences that have been canceled from the series. Navigation property. Read-only. Nullable. // returns a EventCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-instances?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EventCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_snooze_reminder_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_snooze_reminder_request_builder.go index 15d13b1e016..f3c6c489f4b 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemSno // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemSnoozeReminderPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemSnoozeReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_tentatively_accept_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_tentatively_accept_request_builder.go index a09d6dfdbfc..fd86c577336 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemTen // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemTentativelyAcceptPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemTentativelyAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_events_item_extensions_extension_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_extensions_extension_item_request_builder.go index f7d24d6c7cb..18fe07877bb 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarGroupsItemCalendarsItemEventsItemExtensionsExtensionItemRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarGroupsItemCalendarsItemEventsItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarGroupsItemCalendarsItemEventsItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarGroupsItemCalendarsItemEventsItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExtensionsExtensionItemReq } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExtensionsExtensionItemReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*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_extensions_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_extensions_request_builder.go index 856a9fec8f2..a23822514d3 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_extensions_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarGroupsItemCalendarsItemEventsItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarGroupsItemCalendarsItemEventsItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarGroupsItemCalendarsItemEventsItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarGroupsItemCalendarsItemEventsItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemExtensionsRequestBuilder(ra func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExtensionsRequestBuilder) Count()(*ItemCalendarGroupsItemCalendarsItemEventsItemExtensionsCountRequestBuilder) { return NewItemCalendarGroupsItemCalendarsItemEventsItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -94,12 +94,9 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExtensionsRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to extensions for users // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExtensionsRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +128,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExtensionsRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to extensions for users // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_groups_item_calendars_item_events_item_forward_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_forward_request_builder.go index 1d25357a96f..8f8634c56d0 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_forward_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemForwardRequestBuilder(rawUr // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemEventsItemForwardRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemEventsItemForwardPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { 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 2f0b1dc018e..6bd6ea4d0e7 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 @@ -61,7 +61,7 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesDeltaRequestBuilde // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarGroupsItemCalendarsItemEventsItemInstancesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -84,7 +84,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesDeltaRequestBuild // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarGroupsItemCalendarsItemEventsItemInstancesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_accept_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_accept_request_builder.go index a8149b83261..e00e86d5b80 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_accept_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAcceptRequestB // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAcceptPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_attachments_attachment_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_attachments_attachment_item_request_builder.go index cda20595315..e60341b2383 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsAttach // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsAtt urlParams["request-raw-url"] = rawUrl return NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an attachment from a user calendar event, message, Outlook task, or post. +// Delete delete navigation property attachments for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsAt } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsAt } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToDeleteRequestInformation delete an attachment from a user calendar event, message, Outlook task, or post. +// ToDeleteRequestInformation delete navigation property attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsAt requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*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_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_attachments_create_upload_session_request_builder.go index 588c9abd0f9..c593ac6dec7 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsCre // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_attachments_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_attachments_request_builder.go index bde9d677df8..d157460372f 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_attachments_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to an event. +// ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsRe func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to an event. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsRe } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post create new navigation property to attachments for users // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsRe } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to an event. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation create new navigation property to attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_cancel_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_cancel_request_builder.go index b0914e8fb9c..bb437ae9dc5 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_cancel_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemCancelRequestB // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemCancelRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemCancelPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_decline_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_decline_request_builder.go index 3d49db6c4bd..7982bf541d1 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_decline_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_decline_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemDeclineRequest // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemDeclineRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemDeclinePostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemDeclineRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_dismiss_reminder_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_dismiss_reminder_request_builder.go index b893f1e896c..5755feb953a 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_dismiss_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemDismissReminde // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemDismissReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemDismissReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_delta_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_delta_request_builder.go index e548fc03d8c..8cabedc8d51 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_delta_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_delta_request_builder.go @@ -61,7 +61,7 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccur // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -84,7 +84,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccu // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_accept_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_accept_request_builder.go index cb1c497e3b6..86aec9e482b 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_accept_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccur // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAcceptPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index 6f44891fe88..c62798a601e 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurren // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccur urlParams["request-raw-url"] = rawUrl return NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an attachment from a user calendar event, message, Outlook task, or post. +// Delete delete navigation property attachments for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccu } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccu } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToDeleteRequestInformation delete an attachment from a user calendar event, message, Outlook task, or post. +// ToDeleteRequestInformation delete navigation property attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccu requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*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_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index 7c71eb4f829..a6ab20c7a03 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccur // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go index 7a7fe6d17f7..5a4cdbeb048 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to an event. +// ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccu func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to an event. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccu } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post create new navigation property to attachments for users // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccu } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to an event. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccu requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation create new navigation property to attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go index 529f528810a..02741cb8122 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccur // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemCancelRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemCancelPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_decline_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_decline_request_builder.go index 50877603cd3..c4e0c347d30 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_decline_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_decline_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccur // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemDeclinePostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go index e37a0f65805..96a793b6072 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccur // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemDismissReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemDismissReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go index 66fe03a6a3f..a5d56151edf 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurren // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccu } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccu requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*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_item_exception_occurrences_item_extensions_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go index a82499b6f2e..8fbeabe1693 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccur func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) Count()(*ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsCountRequestBuilder) { return NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -94,12 +94,9 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccu } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to extensions for users // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccu } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +128,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccu requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to extensions for users // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_forward_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_forward_request_builder.go index 2b602ac2c2a..79f12c0e114 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_forward_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccur // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemForwardRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemForwardPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go index 4e5cb8816bd..b5606a12ed7 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccur // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemSnoozeReminderPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemSnoozeReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go index 7c5cc827287..1b2cadb2f60 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccur // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemTentativelyAcceptPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemTentativelyAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_extensions_extension_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_extensions_extension_item_request_builder.go index 1e88dabb9e7..2b43f8abf10 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExtensionsExtensi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExtensionsExt } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExtensionsExt requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*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_item_extensions_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_extensions_request_builder.go index 88854c8c366..e526a4cf99a 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_extensions_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExtensionsRequ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExtensionsRequestBuilder) Count()(*ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExtensionsCountRequestBuilder) { return NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -94,12 +94,9 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExtensionsReq } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to extensions for users // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExtensionsReq } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +128,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExtensionsReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to extensions for users // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_forward_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_forward_request_builder.go index 5973e81309f..1815ae88ff5 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_forward_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemForwardRequest // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemForwardRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemForwardPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_snooze_reminder_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_snooze_reminder_request_builder.go index 81fe1f0c382..20c8c184227 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_snooze_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemSnoozeReminder // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemSnoozeReminderRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemSnoozeReminderPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemSnoozeReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_tentatively_accept_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_tentatively_accept_request_builder.go index e704278fea6..985685f29b7 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_tentatively_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemTentativelyAcc // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemTentativelyAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemTentativelyAcceptPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemTentativelyAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_request_builder.go index 711c56ea257..0134481b797 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_request_builder.go @@ -77,9 +77,6 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesRequestBuilder) D // Get the occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but doesn't include occurrences that have been canceled from the series. Navigation property. Read-only. Nullable. // returns a EventCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-instances?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EventCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_events_item_snooze_reminder_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_snooze_reminder_request_builder.go index a304a3525f6..ad73c8d9ff3 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_snooze_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemSnoozeReminderRequestBuilde // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemEventsItemSnoozeReminderRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemEventsItemSnoozeReminderPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemSnoozeReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_events_item_tentatively_accept_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_tentatively_accept_request_builder.go index 06e2b99a4cd..147b9d925f6 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_tentatively_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarGroupsItemCalendarsItemEventsItemTentativelyAcceptRequestBui // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemEventsItemTentativelyAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemEventsItemTentativelyAcceptPostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsItemTentativelyAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_item_events_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_request_builder.go index a0804d732cc..b552a8a2061 100644 --- a/users/item_calendar_groups_item_calendars_item_events_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarGroupsItemCalendarsItemEventsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarGroupsItemCalendarsItemEventsRequestBuilderGetQueryParameters retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, orget the instances of an event. +// ItemCalendarGroupsItemCalendarsItemEventsRequestBuilderGetQueryParameters the events in the calendar. Navigation property. Read-only. type ItemCalendarGroupsItemCalendarsItemEventsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsRequestBuilder) Count()(*ItemC func (m *ItemCalendarGroupsItemCalendarsItemEventsRequestBuilder) Delta()(*ItemCalendarGroupsItemCalendarsItemEventsDeltaRequestBuilder) { return NewItemCalendarGroupsItemCalendarsItemEventsDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, orget the instances of an event. +// Get the events in the calendar. Navigation property. Read-only. // returns a EventCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/calendar-list-events?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemEventsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EventCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsRequestBuilder) Get(ctx contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EventCollectionResponseable), nil } -// Post use this API to create a new event in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. +// Post create new navigation property to events for users // returns a Eventable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/calendar-post-events?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsItemEventsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Eventable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Eventable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsRequestBuilder) Post(ctx conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Eventable), nil } -// ToGetRequestInformation retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, orget the instances of an event. +// ToGetRequestInformation the events in the calendar. Navigation property. Read-only. // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemEventsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsRequestBuilder) ToGetRequestIn requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new event in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. +// ToPostRequestInformation create new navigation property to events for users // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsItemEventsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Eventable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemEventsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_groups_item_calendars_item_get_schedule_request_builder.go b/users/item_calendar_groups_item_calendars_item_get_schedule_request_builder.go index f10ec46664b..ba3f0076078 100644 --- a/users/item_calendar_groups_item_calendars_item_get_schedule_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_get_schedule_request_builder.go @@ -36,7 +36,7 @@ func NewItemCalendarGroupsItemCalendarsItemGetScheduleRequestBuilder(rawUrl stri // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/calendar-getschedule?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/calendar-getschedule?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemGetScheduleRequestBuilder) Post(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemGetSchedulePostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemGetScheduleRequestBuilderPostRequestConfiguration)(ItemCalendarGroupsItemCalendarsItemGetScheduleResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemGetScheduleRequestBuilder) Post(ctx // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/calendar-getschedule?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/calendar-getschedule?view=graph-rest-beta func (m *ItemCalendarGroupsItemCalendarsItemGetScheduleRequestBuilder) PostAsGetSchedulePostResponse(ctx context.Context, body ItemCalendarGroupsItemCalendarsItemGetSchedulePostRequestBodyable, requestConfiguration *ItemCalendarGroupsItemCalendarsItemGetScheduleRequestBuilderPostRequestConfiguration)(ItemCalendarGroupsItemCalendarsItemGetSchedulePostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_groups_item_calendars_request_builder.go b/users/item_calendar_groups_item_calendars_request_builder.go index 754119b7167..60c452ecd22 100644 --- a/users/item_calendar_groups_item_calendars_request_builder.go +++ b/users/item_calendar_groups_item_calendars_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarGroupsItemCalendarsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarGroupsItemCalendarsRequestBuilderGetQueryParameters retrieve a list of calendars belonging to a calendar group. +// ItemCalendarGroupsItemCalendarsRequestBuilderGetQueryParameters the calendars in the calendar group. Navigation property. Read-only. Nullable. type ItemCalendarGroupsItemCalendarsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -72,12 +72,9 @@ func NewItemCalendarGroupsItemCalendarsRequestBuilder(rawUrl string, requestAdap func (m *ItemCalendarGroupsItemCalendarsRequestBuilder) Count()(*ItemCalendarGroupsItemCalendarsCountRequestBuilder) { return NewItemCalendarGroupsItemCalendarsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of calendars belonging to a calendar group. +// Get the calendars in the calendar group. Navigation property. Read-only. Nullable. // returns a CalendarCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/calendargroup-list-calendars?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,12 +92,9 @@ func (m *ItemCalendarGroupsItemCalendarsRequestBuilder) Get(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarCollectionResponseable), nil } -// Post use this API to create a new calendar in a calendar group for a user. +// Post create new navigation property to calendars for users // returns a Calendarable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/calendargroup-post-calendars?view=graph-rest-1.0 func (m *ItemCalendarGroupsItemCalendarsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Calendarable, requestConfiguration *ItemCalendarGroupsItemCalendarsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Calendarable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -118,7 +112,7 @@ func (m *ItemCalendarGroupsItemCalendarsRequestBuilder) Post(ctx context.Context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Calendarable), nil } -// ToGetRequestInformation retrieve a list of calendars belonging to a calendar group. +// ToGetRequestInformation the calendars in the calendar group. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsItemCalendarsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -132,7 +126,7 @@ func (m *ItemCalendarGroupsItemCalendarsRequestBuilder) ToGetRequestInformation( requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new calendar in a calendar group for a user. +// ToPostRequestInformation create new navigation property to calendars for users // returns a *RequestInformation when successful func (m *ItemCalendarGroupsItemCalendarsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Calendarable, requestConfiguration *ItemCalendarGroupsItemCalendarsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_groups_request_builder.go b/users/item_calendar_groups_request_builder.go index c63fa18e6ea..fde2c1bb2bf 100644 --- a/users/item_calendar_groups_request_builder.go +++ b/users/item_calendar_groups_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarGroupsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarGroupsRequestBuilderGetQueryParameters get the user's calendar groups. +// ItemCalendarGroupsRequestBuilderGetQueryParameters the user's calendar groups. Read-only. Nullable. type ItemCalendarGroupsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -72,12 +72,9 @@ func NewItemCalendarGroupsRequestBuilder(rawUrl string, requestAdapter i2ae4187f func (m *ItemCalendarGroupsRequestBuilder) Count()(*ItemCalendarGroupsCountRequestBuilder) { return NewItemCalendarGroupsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the user's calendar groups. +// Get the user's calendar groups. Read-only. Nullable. // returns a CalendarGroupCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/user-list-calendargroups?view=graph-rest-1.0 func (m *ItemCalendarGroupsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarGroupsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarGroupCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,12 +92,9 @@ func (m *ItemCalendarGroupsRequestBuilder) Get(ctx context.Context, requestConfi } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarGroupCollectionResponseable), nil } -// Post use this API to create a new CalendarGroup. +// Post create new navigation property to calendarGroups for users // returns a CalendarGroupable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/user-post-calendargroups?view=graph-rest-1.0 func (m *ItemCalendarGroupsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarGroupable, requestConfiguration *ItemCalendarGroupsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarGroupable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -118,7 +112,7 @@ func (m *ItemCalendarGroupsRequestBuilder) Post(ctx context.Context, body ie233e } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarGroupable), nil } -// ToGetRequestInformation get the user's calendar groups. +// ToGetRequestInformation the user's calendar groups. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarGroupsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarGroupsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -132,7 +126,7 @@ func (m *ItemCalendarGroupsRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new CalendarGroup. +// ToPostRequestInformation create new navigation property to calendarGroups for users // returns a *RequestInformation when successful func (m *ItemCalendarGroupsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarGroupable, requestConfiguration *ItemCalendarGroupsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_request_builder.go b/users/item_calendar_request_builder.go index 37e9d5553b6..4982f1363c1 100644 --- a/users/item_calendar_request_builder.go +++ b/users/item_calendar_request_builder.go @@ -11,14 +11,7 @@ import ( type ItemCalendarRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type ItemCalendarRequestBuilderDeleteRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// ItemCalendarRequestBuilderGetQueryParameters get the properties and relationships of a calendar object. The calendar can be one for a user,or the default calendar of a Microsoft 365 group. There are two scenarios where an app can get another user's calendar: +// ItemCalendarRequestBuilderGetQueryParameters the user's primary calendar. Read-only. type ItemCalendarRequestBuilderGetQueryParameters struct { // Select properties to be returned Select []string `uriparametername:"%24select"` @@ -67,36 +60,14 @@ func NewItemCalendarRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee2 urlParams["request-raw-url"] = rawUrl return NewItemCalendarRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a calendar other than the default calendar. -// returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/calendar-delete?view=graph-rest-1.0 -func (m *ItemCalendarRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCalendarRequestBuilderDeleteRequestConfiguration)(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 -} // Events provides operations to manage the events property of the microsoft.graph.calendar entity. // returns a *ItemCalendarEventsRequestBuilder when successful func (m *ItemCalendarRequestBuilder) Events()(*ItemCalendarEventsRequestBuilder) { return NewItemCalendarEventsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the properties and relationships of a calendar object. The calendar can be one for a user,or the default calendar of a Microsoft 365 group. There are two scenarios where an app can get another user's calendar: +// Get the user's primary calendar. Read-only. // returns a Calendarable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/calendar-get?view=graph-rest-1.0 func (m *ItemCalendarRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Calendarable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,12 +90,9 @@ func (m *ItemCalendarRequestBuilder) Get(ctx context.Context, requestConfigurati func (m *ItemCalendarRequestBuilder) GetSchedule()(*ItemCalendarGetScheduleRequestBuilder) { return NewItemCalendarGetScheduleRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of a calendar object. The calendar can be one for a user,or the default calendar of a Microsoft 365 group. +// Patch update the navigation property calendar in users // returns a Calendarable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/calendar-update?view=graph-rest-1.0 func (m *ItemCalendarRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Calendarable, requestConfiguration *ItemCalendarRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Calendarable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -142,18 +110,7 @@ func (m *ItemCalendarRequestBuilder) Patch(ctx context.Context, body ie233ee762e } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Calendarable), nil } -// ToDeleteRequestInformation delete a calendar other than the default calendar. -// returns a *RequestInformation when successful -func (m *ItemCalendarRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.Headers.TryAdd("Accept", "application/json") - return requestInfo, nil -} -// ToGetRequestInformation get the properties and relationships of a calendar object. The calendar can be one for a user,or the default calendar of a Microsoft 365 group. There are two scenarios where an app can get another user's calendar: +// ToGetRequestInformation the user's primary calendar. Read-only. // returns a *RequestInformation when successful func (m *ItemCalendarRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -167,7 +124,7 @@ func (m *ItemCalendarRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a calendar object. The calendar can be one for a user,or the default calendar of a Microsoft 365 group. +// ToPatchRequestInformation update the navigation property calendar in users // returns a *RequestInformation when successful func (m *ItemCalendarRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Calendarable, requestConfiguration *ItemCalendarRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, 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 e62cec53eaa..bfe1dc3cd92 100644 --- a/users/item_calendar_view_delta_request_builder.go +++ b/users/item_calendar_view_delta_request_builder.go @@ -61,7 +61,7 @@ func NewItemCalendarViewDeltaRequestBuilder(rawUrl string, requestAdapter i2ae41 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarViewDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarViewDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarViewDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -84,7 +84,7 @@ func (m *ItemCalendarViewDeltaRequestBuilder) Get(ctx context.Context, requestCo // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarViewDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemCalendarViewDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarViewDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendar_view_item_accept_request_builder.go b/users/item_calendar_view_item_accept_request_builder.go index 6e48f3fdd12..b06f807c7aa 100644 --- a/users/item_calendar_view_item_accept_request_builder.go +++ b/users/item_calendar_view_item_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemAcceptRequestBuilder(rawUrl string, requestAdapter i // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-beta func (m *ItemCalendarViewItemAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemAcceptPostRequestBodyable, requestConfiguration *ItemCalendarViewItemAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_view_item_attachments_attachment_item_request_builder.go b/users/item_calendar_view_item_attachments_attachment_item_request_builder.go index 1f6f780cfd4..1ed9c143835 100644 --- a/users/item_calendar_view_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_view_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarViewItemAttachmentsAttachmentItemRequestBuilderDeleteRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarViewItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarViewItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarViewItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemCalendarViewItemAttachmentsAttachmentItemRequestBuilder(rawUrl strin urlParams["request-raw-url"] = rawUrl return NewItemCalendarViewItemAttachmentsAttachmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an attachment from a user calendar event, message, Outlook task, or post. +// Delete delete navigation property attachments for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0 func (m *ItemCalendarViewItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCalendarViewItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemCalendarViewItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 func (m *ItemCalendarViewItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarViewItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemCalendarViewItemAttachmentsAttachmentItemRequestBuilder) Get(ctx co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToDeleteRequestInformation delete an attachment from a user calendar event, message, Outlook task, or post. +// ToDeleteRequestInformation delete navigation property attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarViewItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemCalendarViewItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarViewItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_view_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_view_item_attachments_create_upload_session_request_builder.go index 0bfc8aa01de..ec6d2f79b66 100644 --- a/users/item_calendar_view_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_view_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemCalendarViewItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemCalendarViewItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarViewItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_view_item_attachments_request_builder.go b/users/item_calendar_view_item_attachments_request_builder.go index 5d8fad0ef1e..b3cca3426ce 100644 --- a/users/item_calendar_view_item_attachments_request_builder.go +++ b/users/item_calendar_view_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarViewItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarViewItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to an event. +// ItemCalendarViewItemAttachmentsRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarViewItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemCalendarViewItemAttachmentsRequestBuilder) Count()(*ItemCalendarVie func (m *ItemCalendarViewItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemCalendarViewItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemCalendarViewItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to an event. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 func (m *ItemCalendarViewItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarViewItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemCalendarViewItemAttachmentsRequestBuilder) Get(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post create new navigation property to attachments for users // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemCalendarViewItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarViewItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemCalendarViewItemAttachmentsRequestBuilder) Post(ctx context.Context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to an event. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarViewItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemCalendarViewItemAttachmentsRequestBuilder) ToGetRequestInformation( requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation create new navigation property to attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarViewItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarViewItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_view_item_cancel_request_builder.go b/users/item_calendar_view_item_cancel_request_builder.go index e20f42f5d14..c8649d55950 100644 --- a/users/item_calendar_view_item_cancel_request_builder.go +++ b/users/item_calendar_view_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemCancelRequestBuilder(rawUrl string, requestAdapter i // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-beta func (m *ItemCalendarViewItemCancelRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemCancelPostRequestBodyable, requestConfiguration *ItemCalendarViewItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_view_item_decline_request_builder.go b/users/item_calendar_view_item_decline_request_builder.go index 1b3b36dde8d..027e8d717b3 100644 --- a/users/item_calendar_view_item_decline_request_builder.go +++ b/users/item_calendar_view_item_decline_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemDeclineRequestBuilder(rawUrl string, requestAdapter // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-beta func (m *ItemCalendarViewItemDeclineRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemDeclinePostRequestBodyable, requestConfiguration *ItemCalendarViewItemDeclineRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_view_item_dismiss_reminder_request_builder.go b/users/item_calendar_view_item_dismiss_reminder_request_builder.go index 739d4b37d2a..578d7b00b7b 100644 --- a/users/item_calendar_view_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_view_item_dismiss_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemDismissReminderRequestBuilder(rawUrl string, request // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-beta func (m *ItemCalendarViewItemDismissReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCalendarViewItemDismissReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { 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 2cc0edd7d91..ba1cfd333c8 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 @@ -61,7 +61,7 @@ func NewItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilder(rawUrl strin // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarViewItemExceptionOccurrencesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -84,7 +84,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilder) Get(ctx co // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarViewItemExceptionOccurrencesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendar_view_item_exception_occurrences_item_accept_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_accept_request_builder.go index ebb8da73b66..76b01d111ed 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_accept_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemExceptionOccurrencesItemAcceptRequestBuilder(rawUrl // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-beta func (m *ItemCalendarViewItemExceptionOccurrencesItemAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemExceptionOccurrencesItemAcceptPostRequestBodyable, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index 707ebbef007..c55e34a4ebd 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemReq urlParams["request-raw-url"] = rawUrl return NewItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an attachment from a user calendar event, message, Outlook task, or post. +// Delete delete navigation property attachments for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0 func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRe } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRe } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToDeleteRequestInformation delete an attachment from a user calendar event, message, Outlook task, or post. +// ToDeleteRequestInformation delete navigation property attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*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_attachments_create_upload_session_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index 21c275fa1d3..7d752a946af 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessi // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_view_item_exception_occurrences_item_attachments_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_attachments_request_builder.go index 8fa4e9b8a32..92ed762364f 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_attachments_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to an event. +// ItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to an event. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post create new navigation property to attachments for users // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to an event. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation create new navigation property to attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_view_item_exception_occurrences_item_cancel_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_cancel_request_builder.go index 7770c5d2adb..fc4aac09631 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_cancel_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemExceptionOccurrencesItemCancelRequestBuilder(rawUrl // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-beta func (m *ItemCalendarViewItemExceptionOccurrencesItemCancelRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemExceptionOccurrencesItemCancelPostRequestBodyable, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_view_item_exception_occurrences_item_decline_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_decline_request_builder.go index c0da43720be..63c95380dc3 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_decline_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_decline_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemExceptionOccurrencesItemDeclineRequestBuilder(rawUrl // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-beta func (m *ItemCalendarViewItemExceptionOccurrencesItemDeclineRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemExceptionOccurrencesItemDeclinePostRequestBodyable, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemDeclineRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go index ab0f7c7eade..2cc269029e4 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemExceptionOccurrencesItemDismissReminderRequestBuilde // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-beta func (m *ItemCalendarViewItemExceptionOccurrencesItemDismissReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemDismissReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go index 938a9cb616a..baa446c4bb0 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestB // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequ } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*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_extensions_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_extensions_request_builder.go index 88b44798ddb..311ee59a047 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_extensions_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder(raw func (m *ItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) Count()(*ItemCalendarViewItemExceptionOccurrencesItemExtensionsCountRequestBuilder) { return NewItemCalendarViewItemExceptionOccurrencesItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -94,12 +94,9 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) G } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to extensions for users // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) P } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +128,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) T requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to extensions for users // returns a *RequestInformation when successful func (m *ItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_view_item_exception_occurrences_item_forward_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_forward_request_builder.go index 071521876c5..aba71adcdbe 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_forward_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemExceptionOccurrencesItemForwardRequestBuilder(rawUrl // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-beta func (m *ItemCalendarViewItemExceptionOccurrencesItemForwardRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemExceptionOccurrencesItemForwardPostRequestBodyable, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { 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 4f0c9e6458d..97b19a4a8cb 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 @@ -61,7 +61,7 @@ func NewItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilder // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -84,7 +84,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilde // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go index efc833a5bbc..4fae79add1a 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemExceptionOccurrencesItemInstancesItemAcceptRequestBu // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-beta func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAcceptPostRequestBodyable, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go index f51f21ca38b..105a4e65221 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachm // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAtta urlParams["request-raw-url"] = rawUrl return NewItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an attachment from a user calendar event, message, Outlook task, or post. +// Delete delete navigation property attachments for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0 func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAtt } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAtt } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToDeleteRequestInformation delete an attachment from a user calendar event, message, Outlook task, or post. +// ToDeleteRequestInformation delete navigation property attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAtt requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*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_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go index f4792b2d849..78ebe57cc17 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCrea // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go index 8e54b0c52f6..4cfea4f19eb 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to an event. +// ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsReq func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to an event. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsReq } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post create new navigation property to attachments for users // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsReq } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to an event. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation create new navigation property to attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go index 41c8718a7cf..02151b5b79d 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemExceptionOccurrencesItemInstancesItemCancelRequestBu // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-beta func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemCancelRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemExceptionOccurrencesItemInstancesItemCancelPostRequestBodyable, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go index 1e1a86a8266..9da5b13dae6 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemExceptionOccurrencesItemInstancesItemDeclineRequestB // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-beta func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemExceptionOccurrencesItemInstancesItemDeclinePostRequestBodyable, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go index 890b615a1b8..8c34963ac67 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemExceptionOccurrencesItemInstancesItemDismissReminder // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-beta func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemDismissReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemDismissReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go index 66404e9bd85..7d6992a3870 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensio // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExte } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*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_item_extensions_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go index 66c269b8b4b..177c396b159 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsReque func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) Count()(*ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsCountRequestBuilder) { return NewItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -94,12 +94,9 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequ } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to extensions for users // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequ } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +128,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to extensions for users // returns a *RequestInformation when successful func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go index 47f92985247..b00cb3cfbc7 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemExceptionOccurrencesItemInstancesItemForwardRequestB // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-beta func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemForwardRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemExceptionOccurrencesItemInstancesItemForwardPostRequestBodyable, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go index ca42776c309..e0540e84290 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemExceptionOccurrencesItemInstancesItemSnoozeReminderR // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-beta func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemSnoozeReminderRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemExceptionOccurrencesItemInstancesItemSnoozeReminderPostRequestBodyable, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemSnoozeReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go index f7cda67da44..8188eb28118 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemExceptionOccurrencesItemInstancesItemTentativelyAcce // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-beta func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemTentativelyAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemExceptionOccurrencesItemInstancesItemTentativelyAcceptPostRequestBodyable, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemTentativelyAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_view_item_exception_occurrences_item_instances_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_instances_request_builder.go index 3f998baa995..6a7de913d4a 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_instances_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_instances_request_builder.go @@ -77,9 +77,6 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilder) De // Get the occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but doesn't include occurrences that have been canceled from the series. Navigation property. Read-only. Nullable. // returns a EventCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-instances?view=graph-rest-1.0 func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EventCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go index a48ae2c6dff..fdc763d7dfd 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemExceptionOccurrencesItemSnoozeReminderRequestBuilder // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-beta func (m *ItemCalendarViewItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemExceptionOccurrencesItemSnoozeReminderPostRequestBodyable, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemSnoozeReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go index f110dfc4d39..82f4806b218 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemExceptionOccurrencesItemTentativelyAcceptRequestBuil // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-beta func (m *ItemCalendarViewItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemExceptionOccurrencesItemTentativelyAcceptPostRequestBodyable, requestConfiguration *ItemCalendarViewItemExceptionOccurrencesItemTentativelyAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_view_item_extensions_extension_item_request_builder.go b/users/item_calendar_view_item_extensions_extension_item_request_builder.go index b0f213dd1f5..d216b84d7aa 100644 --- a/users/item_calendar_view_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_view_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarViewItemExtensionsExtensionItemRequestBuilderDeleteRequestConfi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarViewItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarViewItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarViewItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemCalendarViewItemExtensionsExtensionItemRequestBuilder) Delete(ctx c } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemCalendarViewItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarViewItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemCalendarViewItemExtensionsExtensionItemRequestBuilder) ToDeleteRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarViewItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_view_item_extensions_request_builder.go b/users/item_calendar_view_item_extensions_request_builder.go index 2d884e2face..565197c91e5 100644 --- a/users/item_calendar_view_item_extensions_request_builder.go +++ b/users/item_calendar_view_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarViewItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarViewItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarViewItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarViewItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemCalendarViewItemExtensionsRequestBuilder(rawUrl string, requestAdapt func (m *ItemCalendarViewItemExtensionsRequestBuilder) Count()(*ItemCalendarViewItemExtensionsCountRequestBuilder) { return NewItemCalendarViewItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemCalendarViewItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarViewItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -94,12 +94,9 @@ func (m *ItemCalendarViewItemExtensionsRequestBuilder) Get(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to extensions for users // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemCalendarViewItemExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarViewItemExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemCalendarViewItemExtensionsRequestBuilder) Post(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarViewItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +128,7 @@ func (m *ItemCalendarViewItemExtensionsRequestBuilder) ToGetRequestInformation(c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to extensions for users // returns a *RequestInformation when successful func (m *ItemCalendarViewItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarViewItemExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_view_item_forward_request_builder.go b/users/item_calendar_view_item_forward_request_builder.go index 9206079f229..83c1296a4eb 100644 --- a/users/item_calendar_view_item_forward_request_builder.go +++ b/users/item_calendar_view_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemForwardRequestBuilder(rawUrl string, requestAdapter // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-beta func (m *ItemCalendarViewItemForwardRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemForwardPostRequestBodyable, requestConfiguration *ItemCalendarViewItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { 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 ada60c8fccc..a92869cce3a 100644 --- a/users/item_calendar_view_item_instances_delta_request_builder.go +++ b/users/item_calendar_view_item_instances_delta_request_builder.go @@ -61,7 +61,7 @@ func NewItemCalendarViewItemInstancesDeltaRequestBuilder(rawUrl string, requestA // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarViewItemInstancesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarViewItemInstancesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarViewItemInstancesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -84,7 +84,7 @@ func (m *ItemCalendarViewItemInstancesDeltaRequestBuilder) Get(ctx context.Conte // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarViewItemInstancesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemCalendarViewItemInstancesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarViewItemInstancesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendar_view_item_instances_item_accept_request_builder.go b/users/item_calendar_view_item_instances_item_accept_request_builder.go index 745ea284cad..f025f2b1e86 100644 --- a/users/item_calendar_view_item_instances_item_accept_request_builder.go +++ b/users/item_calendar_view_item_instances_item_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemInstancesItemAcceptRequestBuilder(rawUrl string, req // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-beta func (m *ItemCalendarViewItemInstancesItemAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemInstancesItemAcceptPostRequestBodyable, requestConfiguration *ItemCalendarViewItemInstancesItemAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go b/users/item_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go index 4a36e96d50e..ce9ec2c7e3b 100644 --- a/users/item_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderDel // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilder urlParams["request-raw-url"] = rawUrl return NewItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an attachment from a user calendar event, message, Outlook task, or post. +// Delete delete navigation property attachments for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0 func (m *ItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilde } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 func (m *ItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilde } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToDeleteRequestInformation delete an attachment from a user calendar event, message, Outlook task, or post. +// ToDeleteRequestInformation delete navigation property attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilde requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go index 6a2051eb8f0..8194345446f 100644 --- a/users/item_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBu // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemInstancesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_view_item_instances_item_attachments_request_builder.go b/users/item_calendar_view_item_instances_item_attachments_request_builder.go index a7b759359fb..c82dbe951c3 100644 --- a/users/item_calendar_view_item_instances_item_attachments_request_builder.go +++ b/users/item_calendar_view_item_instances_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarViewItemInstancesItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarViewItemInstancesItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to an event. +// ItemCalendarViewItemInstancesItemAttachmentsRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarViewItemInstancesItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemCalendarViewItemInstancesItemAttachmentsRequestBuilder) Count()(*It func (m *ItemCalendarViewItemInstancesItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to an event. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 func (m *ItemCalendarViewItemInstancesItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarViewItemInstancesItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemCalendarViewItemInstancesItemAttachmentsRequestBuilder) Get(ctx con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post create new navigation property to attachments for users // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemCalendarViewItemInstancesItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarViewItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemCalendarViewItemInstancesItemAttachmentsRequestBuilder) Post(ctx co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to an event. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarViewItemInstancesItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemInstancesItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemCalendarViewItemInstancesItemAttachmentsRequestBuilder) ToGetReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation create new navigation property to attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarViewItemInstancesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarViewItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_view_item_instances_item_cancel_request_builder.go b/users/item_calendar_view_item_instances_item_cancel_request_builder.go index eebeca931e1..ed10716d4ab 100644 --- a/users/item_calendar_view_item_instances_item_cancel_request_builder.go +++ b/users/item_calendar_view_item_instances_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemInstancesItemCancelRequestBuilder(rawUrl string, req // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-beta func (m *ItemCalendarViewItemInstancesItemCancelRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemInstancesItemCancelPostRequestBodyable, requestConfiguration *ItemCalendarViewItemInstancesItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_view_item_instances_item_decline_request_builder.go b/users/item_calendar_view_item_instances_item_decline_request_builder.go index dc455a8aedf..0d72a180dd0 100644 --- a/users/item_calendar_view_item_instances_item_decline_request_builder.go +++ b/users/item_calendar_view_item_instances_item_decline_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemInstancesItemDeclineRequestBuilder(rawUrl string, re // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-beta func (m *ItemCalendarViewItemInstancesItemDeclineRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemInstancesItemDeclinePostRequestBodyable, requestConfiguration *ItemCalendarViewItemInstancesItemDeclineRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_view_item_instances_item_dismiss_reminder_request_builder.go b/users/item_calendar_view_item_instances_item_dismiss_reminder_request_builder.go index e9f97a11856..7b8efa19a95 100644 --- a/users/item_calendar_view_item_instances_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_view_item_instances_item_dismiss_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemInstancesItemDismissReminderRequestBuilder(rawUrl st // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-beta func (m *ItemCalendarViewItemInstancesItemDismissReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCalendarViewItemInstancesItemDismissReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { 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 2c9096e20ff..fdf07fb61b5 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 @@ -61,7 +61,7 @@ func NewItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilder // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -84,7 +84,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilde // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go b/users/item_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go index a7935444187..0292fe81aa5 100644 --- a/users/item_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go +++ b/users/item_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemInstancesItemExceptionOccurrencesItemAcceptRequestBu // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-beta func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAcceptPostRequestBodyable, requestConfiguration *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/users/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index f78432d3558..9cfd1566053 100644 --- a/users/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachm // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAtta urlParams["request-raw-url"] = rawUrl return NewItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an attachment from a user calendar event, message, Outlook task, or post. +// Delete delete navigation property attachments for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0 func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAtt } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAtt } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToDeleteRequestInformation delete an attachment from a user calendar event, message, Outlook task, or post. +// ToDeleteRequestInformation delete navigation property attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAtt requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*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_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index 3553809cddb..7143cc972cd 100644 --- a/users/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCrea // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go b/users/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go index 1cc518c6537..1c76d9af73e 100644 --- a/users/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go +++ b/users/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to an event. +// ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsReq func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to an event. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsReq } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post create new navigation property to attachments for users // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsReq } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to an event. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation create new navigation property to attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go b/users/item_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go index 3d2774a9ba5..76c861a0a70 100644 --- a/users/item_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go +++ b/users/item_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemInstancesItemExceptionOccurrencesItemCancelRequestBu // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-beta func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemCancelRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemInstancesItemExceptionOccurrencesItemCancelPostRequestBodyable, requestConfiguration *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go b/users/item_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go index e7f217cc2a5..4cd0567ec4d 100644 --- a/users/item_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go +++ b/users/item_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemInstancesItemExceptionOccurrencesItemDeclineRequestB // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-beta func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemInstancesItemExceptionOccurrencesItemDeclinePostRequestBodyable, requestConfiguration *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/users/item_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go index 61717cfbc4e..7d9c9c7b004 100644 --- a/users/item_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemInstancesItemExceptionOccurrencesItemDismissReminder // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-beta func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemDismissReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemDismissReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/users/item_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go index ef1d72c2844..e1f5a03acb7 100644 --- a/users/item_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensio // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExte } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*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_item_extensions_request_builder.go b/users/item_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go index 6bea3341a91..23756a67450 100644 --- a/users/item_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go +++ b/users/item_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsReque func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) Count()(*ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsCountRequestBuilder) { return NewItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -94,12 +94,9 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequ } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to extensions for users // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequ } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +128,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to extensions for users // returns a *RequestInformation when successful func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go b/users/item_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go index 77746941ead..51e24f08abe 100644 --- a/users/item_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go +++ b/users/item_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemInstancesItemExceptionOccurrencesItemForwardRequestB // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-beta func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemForwardRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemInstancesItemExceptionOccurrencesItemForwardPostRequestBodyable, requestConfiguration *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go b/users/item_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go index 3fa821123bd..609feed932a 100644 --- a/users/item_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemInstancesItemExceptionOccurrencesItemSnoozeReminderR // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-beta func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemInstancesItemExceptionOccurrencesItemSnoozeReminderPostRequestBodyable, requestConfiguration *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemSnoozeReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go b/users/item_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go index c00098f702b..6363d92c8dd 100644 --- a/users/item_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemInstancesItemExceptionOccurrencesItemTentativelyAcce // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-beta func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemInstancesItemExceptionOccurrencesItemTentativelyAcceptPostRequestBodyable, requestConfiguration *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemTentativelyAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_view_item_instances_item_extensions_extension_item_request_builder.go b/users/item_calendar_view_item_instances_item_extensions_extension_item_request_builder.go index 50fa26ba6b9..0efe09821e9 100644 --- a/users/item_calendar_view_item_instances_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_view_item_instances_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilderDelet // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilder) } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_view_item_instances_item_extensions_request_builder.go b/users/item_calendar_view_item_instances_item_extensions_request_builder.go index e3118d75bb1..6cbfacb943f 100644 --- a/users/item_calendar_view_item_instances_item_extensions_request_builder.go +++ b/users/item_calendar_view_item_instances_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarViewItemInstancesItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarViewItemInstancesItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarViewItemInstancesItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarViewItemInstancesItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemCalendarViewItemInstancesItemExtensionsRequestBuilder(rawUrl string, func (m *ItemCalendarViewItemInstancesItemExtensionsRequestBuilder) Count()(*ItemCalendarViewItemInstancesItemExtensionsCountRequestBuilder) { return NewItemCalendarViewItemInstancesItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemCalendarViewItemInstancesItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarViewItemInstancesItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -94,12 +94,9 @@ func (m *ItemCalendarViewItemInstancesItemExtensionsRequestBuilder) Get(ctx cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to extensions for users // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemCalendarViewItemInstancesItemExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarViewItemInstancesItemExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemCalendarViewItemInstancesItemExtensionsRequestBuilder) Post(ctx con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarViewItemInstancesItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarViewItemInstancesItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +128,7 @@ func (m *ItemCalendarViewItemInstancesItemExtensionsRequestBuilder) ToGetRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to extensions for users // returns a *RequestInformation when successful func (m *ItemCalendarViewItemInstancesItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarViewItemInstancesItemExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendar_view_item_instances_item_forward_request_builder.go b/users/item_calendar_view_item_instances_item_forward_request_builder.go index a7edaa97861..2bcc5f56291 100644 --- a/users/item_calendar_view_item_instances_item_forward_request_builder.go +++ b/users/item_calendar_view_item_instances_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemInstancesItemForwardRequestBuilder(rawUrl string, re // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-beta func (m *ItemCalendarViewItemInstancesItemForwardRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemInstancesItemForwardPostRequestBodyable, requestConfiguration *ItemCalendarViewItemInstancesItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_view_item_instances_item_snooze_reminder_request_builder.go b/users/item_calendar_view_item_instances_item_snooze_reminder_request_builder.go index 455faec8687..0173a7ac092 100644 --- a/users/item_calendar_view_item_instances_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_view_item_instances_item_snooze_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemInstancesItemSnoozeReminderRequestBuilder(rawUrl str // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-beta func (m *ItemCalendarViewItemInstancesItemSnoozeReminderRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemInstancesItemSnoozeReminderPostRequestBodyable, requestConfiguration *ItemCalendarViewItemInstancesItemSnoozeReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_view_item_instances_item_tentatively_accept_request_builder.go b/users/item_calendar_view_item_instances_item_tentatively_accept_request_builder.go index 24875c6f178..99f01261696 100644 --- a/users/item_calendar_view_item_instances_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_view_item_instances_item_tentatively_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemInstancesItemTentativelyAcceptRequestBuilder(rawUrl // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-beta func (m *ItemCalendarViewItemInstancesItemTentativelyAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemInstancesItemTentativelyAcceptPostRequestBodyable, requestConfiguration *ItemCalendarViewItemInstancesItemTentativelyAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_view_item_instances_request_builder.go b/users/item_calendar_view_item_instances_request_builder.go index adc20f7b3f7..f8ba27d5d59 100644 --- a/users/item_calendar_view_item_instances_request_builder.go +++ b/users/item_calendar_view_item_instances_request_builder.go @@ -77,9 +77,6 @@ func (m *ItemCalendarViewItemInstancesRequestBuilder) Delta()(*ItemCalendarViewI // Get the occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but doesn't include occurrences that have been canceled from the series. Navigation property. Read-only. Nullable. // returns a EventCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-instances?view=graph-rest-1.0 func (m *ItemCalendarViewItemInstancesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarViewItemInstancesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EventCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendar_view_item_snooze_reminder_request_builder.go b/users/item_calendar_view_item_snooze_reminder_request_builder.go index ac2c6713dfc..9a4a149e601 100644 --- a/users/item_calendar_view_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_view_item_snooze_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemSnoozeReminderRequestBuilder(rawUrl string, requestA // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-beta func (m *ItemCalendarViewItemSnoozeReminderRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemSnoozeReminderPostRequestBodyable, requestConfiguration *ItemCalendarViewItemSnoozeReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_view_item_tentatively_accept_request_builder.go b/users/item_calendar_view_item_tentatively_accept_request_builder.go index bd76da521be..2e7d974ca50 100644 --- a/users/item_calendar_view_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_view_item_tentatively_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarViewItemTentativelyAcceptRequestBuilder(rawUrl string, reque // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-beta func (m *ItemCalendarViewItemTentativelyAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarViewItemTentativelyAcceptPostRequestBodyable, requestConfiguration *ItemCalendarViewItemTentativelyAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendar_view_request_builder.go b/users/item_calendar_view_request_builder.go index f4da083a946..c5ecd37d5b5 100644 --- a/users/item_calendar_view_request_builder.go +++ b/users/item_calendar_view_request_builder.go @@ -79,9 +79,6 @@ func (m *ItemCalendarViewRequestBuilder) Delta()(*ItemCalendarViewDeltaRequestBu // Get the calendar view for the calendar. Read-only. Nullable. // returns a EventCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/user-list-calendarview?view=graph-rest-1.0 func (m *ItemCalendarViewRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarViewRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EventCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_calendar_permissions_calendar_permission_item_request_builder.go b/users/item_calendars_item_calendar_permissions_calendar_permission_item_request_builder.go index 77de780d259..a20fa7fbdc3 100644 --- a/users/item_calendars_item_calendar_permissions_calendar_permission_item_request_builder.go +++ b/users/item_calendars_item_calendar_permissions_calendar_permission_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarsItemCalendarPermissionsCalendarPermissionItemRequestBuilderDel // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarsItemCalendarPermissionsCalendarPermissionItemRequestBuilderGetQueryParameters get the specified permissions object of a user or group calendar that has been shared. +// ItemCalendarsItemCalendarPermissionsCalendarPermissionItemRequestBuilderGetQueryParameters the permissions of the users with whom the calendar is shared. type ItemCalendarsItemCalendarPermissionsCalendarPermissionItemRequestBuilderGetQueryParameters struct { // Select properties to be returned Select []string `uriparametername:"%24select"` @@ -52,11 +52,8 @@ func NewItemCalendarsItemCalendarPermissionsCalendarPermissionItemRequestBuilder urlParams["request-raw-url"] = rawUrl return NewItemCalendarsItemCalendarPermissionsCalendarPermissionItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete calendarPermission. +// Delete delete navigation property calendarPermissions for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/calendarpermission-delete?view=graph-rest-1.0 func (m *ItemCalendarsItemCalendarPermissionsCalendarPermissionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarPermissionsCalendarPermissionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -71,12 +68,9 @@ func (m *ItemCalendarsItemCalendarPermissionsCalendarPermissionItemRequestBuilde } return nil } -// Get get the specified permissions object of a user or group calendar that has been shared. +// Get the permissions of the users with whom the calendar is shared. // returns a CalendarPermissionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/calendarpermission-get?view=graph-rest-1.0 func (m *ItemCalendarsItemCalendarPermissionsCalendarPermissionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarPermissionsCalendarPermissionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarPermissionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -94,12 +88,9 @@ func (m *ItemCalendarsItemCalendarPermissionsCalendarPermissionItemRequestBuilde } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarPermissionable), nil } -// Patch update the permissions assigned to an existing share recipient or delegate, through the corresponding calendarPermission object for a calendar. +// Patch update the navigation property calendarPermissions in users // returns a CalendarPermissionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/calendarpermission-update?view=graph-rest-1.0 func (m *ItemCalendarsItemCalendarPermissionsCalendarPermissionItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarPermissionable, requestConfiguration *ItemCalendarsItemCalendarPermissionsCalendarPermissionItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarPermissionable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +108,7 @@ func (m *ItemCalendarsItemCalendarPermissionsCalendarPermissionItemRequestBuilde } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarPermissionable), nil } -// ToDeleteRequestInformation delete calendarPermission. +// ToDeleteRequestInformation delete navigation property calendarPermissions for users // returns a *RequestInformation when successful func (m *ItemCalendarsItemCalendarPermissionsCalendarPermissionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarPermissionsCalendarPermissionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -128,7 +119,7 @@ func (m *ItemCalendarsItemCalendarPermissionsCalendarPermissionItemRequestBuilde requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the specified permissions object of a user or group calendar that has been shared. +// ToGetRequestInformation the permissions of the users with whom the calendar is shared. // returns a *RequestInformation when successful func (m *ItemCalendarsItemCalendarPermissionsCalendarPermissionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarPermissionsCalendarPermissionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -142,7 +133,7 @@ func (m *ItemCalendarsItemCalendarPermissionsCalendarPermissionItemRequestBuilde requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the permissions assigned to an existing share recipient or delegate, through the corresponding calendarPermission object for a calendar. +// ToPatchRequestInformation update the navigation property calendarPermissions in users // returns a *RequestInformation when successful func (m *ItemCalendarsItemCalendarPermissionsCalendarPermissionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarPermissionable, requestConfiguration *ItemCalendarsItemCalendarPermissionsCalendarPermissionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendars_item_calendar_permissions_request_builder.go b/users/item_calendars_item_calendar_permissions_request_builder.go index 536e3fa30d5..eef12467d8d 100644 --- a/users/item_calendars_item_calendar_permissions_request_builder.go +++ b/users/item_calendars_item_calendar_permissions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarsItemCalendarPermissionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarsItemCalendarPermissionsRequestBuilderGetQueryParameters get the specified permissions object of a user or group calendar that has been shared. +// ItemCalendarsItemCalendarPermissionsRequestBuilderGetQueryParameters the permissions of the users with whom the calendar is shared. type ItemCalendarsItemCalendarPermissionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -72,7 +72,7 @@ func NewItemCalendarsItemCalendarPermissionsRequestBuilder(rawUrl string, reques func (m *ItemCalendarsItemCalendarPermissionsRequestBuilder) Count()(*ItemCalendarsItemCalendarPermissionsCountRequestBuilder) { return NewItemCalendarsItemCalendarPermissionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the specified permissions object of a user or group calendar that has been shared. +// Get the permissions of the users with whom the calendar is shared. // returns a CalendarPermissionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemCalendarsItemCalendarPermissionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarPermissionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarPermissionCollectionResponseable, error) { @@ -92,12 +92,9 @@ func (m *ItemCalendarsItemCalendarPermissionsRequestBuilder) Get(ctx context.Con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarPermissionCollectionResponseable), nil } -// Post create a calendarPermission resource to specify the identity and role of the user with whom the specified calendar is being shared or delegated. +// Post create new navigation property to calendarPermissions for users // returns a CalendarPermissionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/calendar-post-calendarpermissions?view=graph-rest-1.0 func (m *ItemCalendarsItemCalendarPermissionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarPermissionable, requestConfiguration *ItemCalendarsItemCalendarPermissionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarPermissionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -115,7 +112,7 @@ func (m *ItemCalendarsItemCalendarPermissionsRequestBuilder) Post(ctx context.Co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarPermissionable), nil } -// ToGetRequestInformation get the specified permissions object of a user or group calendar that has been shared. +// ToGetRequestInformation the permissions of the users with whom the calendar is shared. // returns a *RequestInformation when successful func (m *ItemCalendarsItemCalendarPermissionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarPermissionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -129,7 +126,7 @@ func (m *ItemCalendarsItemCalendarPermissionsRequestBuilder) ToGetRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a calendarPermission resource to specify the identity and role of the user with whom the specified calendar is being shared or delegated. +// ToPostRequestInformation create new navigation property to calendarPermissions for users // returns a *RequestInformation when successful func (m *ItemCalendarsItemCalendarPermissionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarPermissionable, requestConfiguration *ItemCalendarsItemCalendarPermissionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, 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 9cc977caf88..031f9a1ae25 100644 --- a/users/item_calendars_item_calendar_view_delta_request_builder.go +++ b/users/item_calendars_item_calendar_view_delta_request_builder.go @@ -61,7 +61,7 @@ func NewItemCalendarsItemCalendarViewDeltaRequestBuilder(rawUrl string, requestA // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarsItemCalendarViewDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarsItemCalendarViewDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -84,7 +84,7 @@ func (m *ItemCalendarsItemCalendarViewDeltaRequestBuilder) Get(ctx context.Conte // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarsItemCalendarViewDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarsItemCalendarViewDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_calendar_view_item_accept_request_builder.go b/users/item_calendars_item_calendar_view_item_accept_request_builder.go index ca81001f6c0..2f80e6c507a 100644 --- a/users/item_calendars_item_calendar_view_item_accept_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemCalendarViewItemAcceptRequestBuilder(rawUrl string, req // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-beta func (m *ItemCalendarsItemCalendarViewItemAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemCalendarViewItemAcceptPostRequestBodyable, requestConfiguration *ItemCalendarsItemCalendarViewItemAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_calendar_view_item_attachments_attachment_item_request_builder.go b/users/item_calendars_item_calendar_view_item_attachments_attachment_item_request_builder.go index 109314757ee..ce8063c7831 100644 --- a/users/item_calendars_item_calendar_view_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarsItemCalendarViewItemAttachmentsAttachmentItemRequestBuilderDel // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarsItemCalendarViewItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarsItemCalendarViewItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarsItemCalendarViewItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemCalendarsItemCalendarViewItemAttachmentsAttachmentItemRequestBuilder urlParams["request-raw-url"] = rawUrl return NewItemCalendarsItemCalendarViewItemAttachmentsAttachmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an attachment from a user calendar event, message, Outlook task, or post. +// Delete delete navigation property attachments for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0 func (m *ItemCalendarsItemCalendarViewItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemCalendarsItemCalendarViewItemAttachmentsAttachmentItemRequestBuilde } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 func (m *ItemCalendarsItemCalendarViewItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemCalendarsItemCalendarViewItemAttachmentsAttachmentItemRequestBuilde } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToDeleteRequestInformation delete an attachment from a user calendar event, message, Outlook task, or post. +// ToDeleteRequestInformation delete navigation property attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarsItemCalendarViewItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemCalendarsItemCalendarViewItemAttachmentsAttachmentItemRequestBuilde requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarsItemCalendarViewItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendars_item_calendar_view_item_attachments_create_upload_session_request_builder.go b/users/item_calendars_item_calendar_view_item_attachments_create_upload_session_request_builder.go index b843a8a604f..af3e9fe28dc 100644 --- a/users/item_calendars_item_calendar_view_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemCalendarsItemCalendarViewItemAttachmentsCreateUploadSessionRequestBu // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemCalendarsItemCalendarViewItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemCalendarViewItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarsItemCalendarViewItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_calendar_view_item_attachments_request_builder.go b/users/item_calendars_item_calendar_view_item_attachments_request_builder.go index 19ebc75ef54..41d4c444108 100644 --- a/users/item_calendars_item_calendar_view_item_attachments_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarsItemCalendarViewItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarsItemCalendarViewItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to an event. +// ItemCalendarsItemCalendarViewItemAttachmentsRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarsItemCalendarViewItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemCalendarsItemCalendarViewItemAttachmentsRequestBuilder) Count()(*It func (m *ItemCalendarsItemCalendarViewItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemCalendarsItemCalendarViewItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemCalendarsItemCalendarViewItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to an event. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 func (m *ItemCalendarsItemCalendarViewItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemCalendarsItemCalendarViewItemAttachmentsRequestBuilder) Get(ctx con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post create new navigation property to attachments for users // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemCalendarsItemCalendarViewItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarsItemCalendarViewItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemCalendarsItemCalendarViewItemAttachmentsRequestBuilder) Post(ctx co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to an event. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarsItemCalendarViewItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemCalendarsItemCalendarViewItemAttachmentsRequestBuilder) ToGetReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation create new navigation property to attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarsItemCalendarViewItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarsItemCalendarViewItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendars_item_calendar_view_item_cancel_request_builder.go b/users/item_calendars_item_calendar_view_item_cancel_request_builder.go index d6548739c6e..4d178e199bf 100644 --- a/users/item_calendars_item_calendar_view_item_cancel_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemCalendarViewItemCancelRequestBuilder(rawUrl string, req // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-beta func (m *ItemCalendarsItemCalendarViewItemCancelRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemCalendarViewItemCancelPostRequestBodyable, requestConfiguration *ItemCalendarsItemCalendarViewItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_calendar_view_item_decline_request_builder.go b/users/item_calendars_item_calendar_view_item_decline_request_builder.go index aef2f3d0e0e..b11cf5d3513 100644 --- a/users/item_calendars_item_calendar_view_item_decline_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_decline_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemCalendarViewItemDeclineRequestBuilder(rawUrl string, re // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-beta func (m *ItemCalendarsItemCalendarViewItemDeclineRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemCalendarViewItemDeclinePostRequestBodyable, requestConfiguration *ItemCalendarsItemCalendarViewItemDeclineRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_calendar_view_item_dismiss_reminder_request_builder.go b/users/item_calendars_item_calendar_view_item_dismiss_reminder_request_builder.go index 2635f8d2a70..5054ef16cfb 100644 --- a/users/item_calendars_item_calendar_view_item_dismiss_reminder_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_dismiss_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemCalendarViewItemDismissReminderRequestBuilder(rawUrl st // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-beta func (m *ItemCalendarsItemCalendarViewItemDismissReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemDismissReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { 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 4c7f39e3b58..08afaf3ecd1 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 @@ -61,7 +61,7 @@ func NewItemCalendarsItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilder // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarsItemCalendarViewItemExceptionOccurrencesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -84,7 +84,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilde // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarsItemCalendarViewItemExceptionOccurrencesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_accept_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_accept_request_builder.go index bf1e5a82b7a..bfc38300ac8 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_accept_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAcceptRequestBu // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-beta func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAcceptPostRequestBodyable, requestConfiguration *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index 634cf72fe01..2b74c4c2209 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachm // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsAtta urlParams["request-raw-url"] = rawUrl return NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an attachment from a user calendar event, message, Outlook task, or post. +// Delete delete navigation property attachments for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0 func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsAtt } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsAtt } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToDeleteRequestInformation delete an attachment from a user calendar event, message, Outlook task, or post. +// ToDeleteRequestInformation delete navigation property attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsAtt requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*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_attachments_create_upload_session_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index 622d956d672..1ec25307793 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsCrea // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_request_builder.go index e0373295b92..1cb680565a2 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to an event. +// ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsReq func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to an event. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsReq } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post create new navigation property to attachments for users // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsReq } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to an event. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation create new navigation property to attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_cancel_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_cancel_request_builder.go index 95859e9005c..f3bb041cc90 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_cancel_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemCancelRequestBu // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-beta func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemCancelRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemCancelPostRequestBodyable, requestConfiguration *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_decline_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_decline_request_builder.go index 3bbec37ed89..3c5761dd23c 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_decline_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_decline_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemDeclineRequestB // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-beta func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemDeclineRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemDeclinePostRequestBodyable, requestConfiguration *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemDeclineRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go index dfb8ed5eda6..3efd2a8817c 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemDismissReminder // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-beta func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemDismissReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemDismissReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go index 7462827fa24..f9fe0eb4961 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsExtensio // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsExte } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsExte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*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_extensions_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_extensions_request_builder.go index 3803f464329..b6e831744dc 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_extensions_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsReque func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) Count()(*ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsCountRequestBuilder) { return NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -94,12 +94,9 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsRequ } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to extensions for users // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsRequ } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +128,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to extensions for users // returns a *RequestInformation when successful func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_forward_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_forward_request_builder.go index dca03f83ea2..89b04b5f923 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_forward_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemForwardRequestB // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-beta func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemForwardRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemForwardPostRequestBodyable, requestConfiguration *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { 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 b958974f261..473fcea4910 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 @@ -61,7 +61,7 @@ func NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaR // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -84,7 +84,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesDelta // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go index fa06066b056..e6bcc785c51 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAc // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-beta func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAcceptPostRequestBodyable, requestConfiguration *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go index 452a953204e..fa71ea9d9a0 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttac // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAt urlParams["request-raw-url"] = rawUrl return NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an attachment from a user calendar event, message, Outlook task, or post. +// Delete delete navigation property attachments for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0 func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemA } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemA } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToDeleteRequestInformation delete an attachment from a user calendar event, message, Outlook task, or post. +// ToDeleteRequestInformation delete navigation property attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemA requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*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_item_attachments_create_upload_session_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go index cbe447333c6..6700e071262 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAt // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go index c9554a97ae5..2f3054bc39e 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to an event. +// ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemA func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to an event. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemA } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post create new navigation property to attachments for users // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemA } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to an event. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemA requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation create new navigation property to attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go index 4cfb51990b2..389116209b3 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemCa // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-beta func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemCancelRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemCancelPostRequestBodyable, requestConfiguration *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go index 67be0d18801..30b2fa3b9c7 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemDe // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-beta func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemDeclinePostRequestBodyable, requestConfiguration *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go index 0e9a397752c..d2f9d760bd9 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemDi // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-beta func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemDismissReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemDismissReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go index aa33fdcdcb1..fef8b705195 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExten // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemE } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemE requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*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_item_extensions_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go index 4a52d33f39d..00eae2b8690 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemEx func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) Count()(*ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsCountRequestBuilder) { return NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -94,12 +94,9 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemE } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to extensions for users // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemE } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +128,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemE requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to extensions for users // returns a *RequestInformation when successful func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go index 9c837db98c0..748c03aa6ac 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemFo // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-beta func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemForwardRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemForwardPostRequestBodyable, requestConfiguration *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go index a6142742aef..8deddd606dc 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemSn // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-beta func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemSnoozeReminderRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemSnoozeReminderPostRequestBodyable, requestConfiguration *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemSnoozeReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go index b1c266eb0c3..1ad0409bc49 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemTe // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-beta func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemTentativelyAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemTentativelyAcceptPostRequestBodyable, requestConfiguration *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemTentativelyAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_request_builder.go index df8927b51da..ff00e4d99fa 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_request_builder.go @@ -77,9 +77,6 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesReque // Get the occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but doesn't include occurrences that have been canceled from the series. Navigation property. Read-only. Nullable. // returns a EventCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-instances?view=graph-rest-1.0 func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EventCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go index 94cef5a5886..3b8ad46aea4 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemSnoozeReminderR // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-beta func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemSnoozeReminderPostRequestBodyable, requestConfiguration *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemSnoozeReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go index 0e7de17cb72..7bb990820cb 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemCalendarViewItemExceptionOccurrencesItemTentativelyAcce // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-beta func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemTentativelyAcceptPostRequestBodyable, requestConfiguration *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemTentativelyAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_calendar_view_item_extensions_extension_item_request_builder.go b/users/item_calendars_item_calendar_view_item_extensions_extension_item_request_builder.go index 91c81cba29c..a71b1ca13f1 100644 --- a/users/item_calendars_item_calendar_view_item_extensions_extension_item_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarsItemCalendarViewItemExtensionsExtensionItemRequestBuilderDelet // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarsItemCalendarViewItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarsItemCalendarViewItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarsItemCalendarViewItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemCalendarsItemCalendarViewItemExtensionsExtensionItemRequestBuilder) } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemCalendarsItemCalendarViewItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemCalendarsItemCalendarViewItemExtensionsExtensionItemRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarsItemCalendarViewItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendars_item_calendar_view_item_extensions_request_builder.go b/users/item_calendars_item_calendar_view_item_extensions_request_builder.go index ab8de5666d8..9cd92f461e8 100644 --- a/users/item_calendars_item_calendar_view_item_extensions_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarsItemCalendarViewItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarsItemCalendarViewItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarsItemCalendarViewItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarsItemCalendarViewItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemCalendarsItemCalendarViewItemExtensionsRequestBuilder(rawUrl string, func (m *ItemCalendarsItemCalendarViewItemExtensionsRequestBuilder) Count()(*ItemCalendarsItemCalendarViewItemExtensionsCountRequestBuilder) { return NewItemCalendarsItemCalendarViewItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemCalendarsItemCalendarViewItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -94,12 +94,9 @@ func (m *ItemCalendarsItemCalendarViewItemExtensionsRequestBuilder) Get(ctx cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to extensions for users // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemCalendarsItemCalendarViewItemExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarsItemCalendarViewItemExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemCalendarsItemCalendarViewItemExtensionsRequestBuilder) Post(ctx con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarsItemCalendarViewItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +128,7 @@ func (m *ItemCalendarsItemCalendarViewItemExtensionsRequestBuilder) ToGetRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to extensions for users // returns a *RequestInformation when successful func (m *ItemCalendarsItemCalendarViewItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarsItemCalendarViewItemExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendars_item_calendar_view_item_forward_request_builder.go b/users/item_calendars_item_calendar_view_item_forward_request_builder.go index ac7d37e368b..e8c2b5b8550 100644 --- a/users/item_calendars_item_calendar_view_item_forward_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemCalendarViewItemForwardRequestBuilder(rawUrl string, re // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-beta func (m *ItemCalendarsItemCalendarViewItemForwardRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemCalendarViewItemForwardPostRequestBodyable, requestConfiguration *ItemCalendarsItemCalendarViewItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { 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 c0764757e44..cb37e543807 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 @@ -61,7 +61,7 @@ func NewItemCalendarsItemCalendarViewItemInstancesDeltaRequestBuilder(rawUrl str // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarsItemCalendarViewItemInstancesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemInstancesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarsItemCalendarViewItemInstancesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -84,7 +84,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesDeltaRequestBuilder) Get(ctx // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarsItemCalendarViewItemInstancesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemInstancesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarsItemCalendarViewItemInstancesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_calendar_view_item_instances_item_accept_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_accept_request_builder.go index 98a12b1cfe6..936794eb112 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_accept_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemCalendarViewItemInstancesItemAcceptRequestBuilder(rawUr // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-beta func (m *ItemCalendarsItemCalendarViewItemInstancesItemAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemCalendarViewItemInstancesItemAcceptPostRequestBodyable, requestConfiguration *ItemCalendarsItemCalendarViewItemInstancesItemAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go index a6969d4b0a7..80a26a5e872 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemCalendarsItemCalendarViewItemInstancesItemAttachmentsAttachmentItemR urlParams["request-raw-url"] = rawUrl return NewItemCalendarsItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an attachment from a user calendar event, message, Outlook task, or post. +// Delete delete navigation property attachments for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0 func (m *ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsAttachmentItem } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 func (m *ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsAttachmentItem } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToDeleteRequestInformation delete an attachment from a user calendar event, message, Outlook task, or post. +// ToDeleteRequestInformation delete navigation property attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsAttachmentItem requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*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_attachments_create_upload_session_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go index f09eec87524..0540e7eff28 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemCalendarsItemCalendarViewItemInstancesItemAttachmentsCreateUploadSes // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_calendar_view_item_instances_item_attachments_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_attachments_request_builder.go index 03409e5158f..1e3db838c0a 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_attachments_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to an event. +// ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsRequestBuilder func (m *ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemCalendarsItemCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to an event. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 func (m *ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsRequestBuilder } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post create new navigation property to attachments for users // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsRequestBuilder } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to an event. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsRequestBuilder requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation create new navigation property to attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendars_item_calendar_view_item_instances_item_cancel_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_cancel_request_builder.go index bc66dd641db..dd07801ae59 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_cancel_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemCalendarViewItemInstancesItemCancelRequestBuilder(rawUr // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-beta func (m *ItemCalendarsItemCalendarViewItemInstancesItemCancelRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemCalendarViewItemInstancesItemCancelPostRequestBodyable, requestConfiguration *ItemCalendarsItemCalendarViewItemInstancesItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_calendar_view_item_instances_item_decline_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_decline_request_builder.go index 4c8d01a5d3c..0cc5bbef730 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_decline_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_decline_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemCalendarViewItemInstancesItemDeclineRequestBuilder(rawU // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-beta func (m *ItemCalendarsItemCalendarViewItemInstancesItemDeclineRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemCalendarViewItemInstancesItemDeclinePostRequestBodyable, requestConfiguration *ItemCalendarsItemCalendarViewItemInstancesItemDeclineRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_calendar_view_item_instances_item_dismiss_reminder_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_dismiss_reminder_request_builder.go index 6dd5f4d4f2f..2b034115019 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_dismiss_reminder_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_dismiss_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemCalendarViewItemInstancesItemDismissReminderRequestBuil // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-beta func (m *ItemCalendarsItemCalendarViewItemInstancesItemDismissReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemInstancesItemDismissReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { 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 5c1ca7c8b5f..0b0481da227 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 @@ -61,7 +61,7 @@ func NewItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaR // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -84,7 +84,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesDelta // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go index a4d3ac803b3..c0f0dd781e6 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAc // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-beta func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAcceptPostRequestBodyable, requestConfiguration *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index f001a45bdc4..4c05d9265c4 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttac // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAt urlParams["request-raw-url"] = rawUrl return NewItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an attachment from a user calendar event, message, Outlook task, or post. +// Delete delete navigation property attachments for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0 func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemA } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemA } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToDeleteRequestInformation delete an attachment from a user calendar event, message, Outlook task, or post. +// ToDeleteRequestInformation delete navigation property attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemA requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*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_item_attachments_create_upload_session_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index 56540320c15..9d89c5334ec 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAt // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go index daa50b79187..7ceff370da0 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to an event. +// ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemA func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to an event. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemA } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post create new navigation property to attachments for users // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemA } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to an event. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemA requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation create new navigation property to attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go index f1b8ba23d63..8b827e7942e 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemCa // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-beta func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemCancelRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemCancelPostRequestBodyable, requestConfiguration *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go index ce1796ede5a..1446dff1156 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemDe // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-beta func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemDeclinePostRequestBodyable, requestConfiguration *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go index 0f8efabb42b..744e0c8e6c0 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemDi // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-beta func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemDismissReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemDismissReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go index d03d6395df8..cfd9a60cc81 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExten // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemE } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemE requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*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_item_extensions_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go index b8446a9f382..7cadb724f17 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemEx func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) Count()(*ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsCountRequestBuilder) { return NewItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -94,12 +94,9 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemE } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to extensions for users // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemE } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +128,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemE requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to extensions for users // returns a *RequestInformation when successful func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go index 3c212ee061f..d00c515cc76 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemFo // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-beta func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemForwardRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemForwardPostRequestBodyable, requestConfiguration *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go index 330094c1850..b9689696c42 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemSn // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-beta func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemSnoozeReminderPostRequestBodyable, requestConfiguration *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemSnoozeReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go index 56cc9934c7e..230a26f652a 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemTe // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-beta func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemTentativelyAcceptPostRequestBodyable, requestConfiguration *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemTentativelyAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_calendar_view_item_instances_item_extensions_extension_item_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_extensions_extension_item_request_builder.go index 47a4b0af602..1e53f959df5 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_extensions_extension_item_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarsItemCalendarViewItemInstancesItemExtensionsExtensionItemReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarsItemCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarsItemCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarsItemCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExtensionsExtensionItemRe } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemCalendarsItemCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExtensionsExtensionItemRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarsItemCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*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_extensions_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_extensions_request_builder.go index f0af6fc0ab9..8d03589cd36 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_extensions_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarsItemCalendarViewItemInstancesItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarsItemCalendarViewItemInstancesItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarsItemCalendarViewItemInstancesItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarsItemCalendarViewItemInstancesItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemCalendarsItemCalendarViewItemInstancesItemExtensionsRequestBuilder(r func (m *ItemCalendarsItemCalendarViewItemInstancesItemExtensionsRequestBuilder) Count()(*ItemCalendarsItemCalendarViewItemInstancesItemExtensionsCountRequestBuilder) { return NewItemCalendarsItemCalendarViewItemInstancesItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemCalendarsItemCalendarViewItemInstancesItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemInstancesItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -94,12 +94,9 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExtensionsRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to extensions for users // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemCalendarsItemCalendarViewItemInstancesItemExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarsItemCalendarViewItemInstancesItemExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExtensionsRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarsItemCalendarViewItemInstancesItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemInstancesItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +128,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExtensionsRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to extensions for users // returns a *RequestInformation when successful func (m *ItemCalendarsItemCalendarViewItemInstancesItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarsItemCalendarViewItemInstancesItemExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendars_item_calendar_view_item_instances_item_forward_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_forward_request_builder.go index f554a9e2576..1d005fa9f11 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_forward_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemCalendarViewItemInstancesItemForwardRequestBuilder(rawU // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-beta func (m *ItemCalendarsItemCalendarViewItemInstancesItemForwardRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemCalendarViewItemInstancesItemForwardPostRequestBodyable, requestConfiguration *ItemCalendarsItemCalendarViewItemInstancesItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_calendar_view_item_instances_item_snooze_reminder_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_snooze_reminder_request_builder.go index 8216fbce5d8..7ba7cec86fb 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_snooze_reminder_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_snooze_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemCalendarViewItemInstancesItemSnoozeReminderRequestBuild // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-beta func (m *ItemCalendarsItemCalendarViewItemInstancesItemSnoozeReminderRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemCalendarViewItemInstancesItemSnoozeReminderPostRequestBodyable, requestConfiguration *ItemCalendarsItemCalendarViewItemInstancesItemSnoozeReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_calendar_view_item_instances_item_tentatively_accept_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_tentatively_accept_request_builder.go index bf26a54b2e0..8700e3674c8 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_tentatively_accept_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_tentatively_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemCalendarViewItemInstancesItemTentativelyAcceptRequestBu // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-beta func (m *ItemCalendarsItemCalendarViewItemInstancesItemTentativelyAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemCalendarViewItemInstancesItemTentativelyAcceptPostRequestBodyable, requestConfiguration *ItemCalendarsItemCalendarViewItemInstancesItemTentativelyAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_calendar_view_item_instances_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_request_builder.go index f60ab9f9d99..09ab23a0923 100644 --- a/users/item_calendars_item_calendar_view_item_instances_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_request_builder.go @@ -77,9 +77,6 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesRequestBuilder) Delta()(*Item // Get the occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but doesn't include occurrences that have been canceled from the series. Navigation property. Read-only. Nullable. // returns a EventCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-instances?view=graph-rest-1.0 func (m *ItemCalendarsItemCalendarViewItemInstancesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewItemInstancesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EventCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_calendar_view_item_snooze_reminder_request_builder.go b/users/item_calendars_item_calendar_view_item_snooze_reminder_request_builder.go index b7e60050524..e6e68c14a55 100644 --- a/users/item_calendars_item_calendar_view_item_snooze_reminder_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_snooze_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemCalendarViewItemSnoozeReminderRequestBuilder(rawUrl str // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-beta func (m *ItemCalendarsItemCalendarViewItemSnoozeReminderRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemCalendarViewItemSnoozeReminderPostRequestBodyable, requestConfiguration *ItemCalendarsItemCalendarViewItemSnoozeReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_calendar_view_item_tentatively_accept_request_builder.go b/users/item_calendars_item_calendar_view_item_tentatively_accept_request_builder.go index d789cce79b4..f2a99a06335 100644 --- a/users/item_calendars_item_calendar_view_item_tentatively_accept_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_tentatively_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemCalendarViewItemTentativelyAcceptRequestBuilder(rawUrl // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-beta func (m *ItemCalendarsItemCalendarViewItemTentativelyAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemCalendarViewItemTentativelyAcceptPostRequestBodyable, requestConfiguration *ItemCalendarsItemCalendarViewItemTentativelyAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_calendar_view_request_builder.go b/users/item_calendars_item_calendar_view_request_builder.go index f9d59e6e0e4..94b44307b3b 100644 --- a/users/item_calendars_item_calendar_view_request_builder.go +++ b/users/item_calendars_item_calendar_view_request_builder.go @@ -77,9 +77,6 @@ func (m *ItemCalendarsItemCalendarViewRequestBuilder) Delta()(*ItemCalendarsItem // Get the calendar view for the calendar. Navigation property. Read-only. // returns a EventCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/calendar-list-calendarview?view=graph-rest-1.0 func (m *ItemCalendarsItemCalendarViewRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarsItemCalendarViewRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EventCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_events_delta_request_builder.go b/users/item_calendars_item_events_delta_request_builder.go index 01c04e4e47e..6ad6edf637a 100644 --- a/users/item_calendars_item_events_delta_request_builder.go +++ b/users/item_calendars_item_events_delta_request_builder.go @@ -61,7 +61,7 @@ func NewItemCalendarsItemEventsDeltaRequestBuilder(rawUrl string, requestAdapter // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarsItemEventsDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarsItemEventsDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -84,7 +84,7 @@ func (m *ItemCalendarsItemEventsDeltaRequestBuilder) Get(ctx context.Context, re // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarsItemEventsDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarsItemEventsDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_events_item_accept_request_builder.go b/users/item_calendars_item_events_item_accept_request_builder.go index 0e633f76a4f..9354edb3684 100644 --- a/users/item_calendars_item_events_item_accept_request_builder.go +++ b/users/item_calendars_item_events_item_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemEventsItemAcceptRequestBuilder(rawUrl string, requestAd // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-beta func (m *ItemCalendarsItemEventsItemAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemEventsItemAcceptPostRequestBodyable, requestConfiguration *ItemCalendarsItemEventsItemAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_events_item_attachments_attachment_item_request_builder.go b/users/item_calendars_item_events_item_attachments_attachment_item_request_builder.go index 3f4db04ba29..5c185f873cd 100644 --- a/users/item_calendars_item_events_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendars_item_events_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarsItemEventsItemAttachmentsAttachmentItemRequestBuilderDeleteReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarsItemEventsItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarsItemEventsItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarsItemEventsItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemCalendarsItemEventsItemAttachmentsAttachmentItemRequestBuilder(rawUr urlParams["request-raw-url"] = rawUrl return NewItemCalendarsItemEventsItemAttachmentsAttachmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an attachment from a user calendar event, message, Outlook task, or post. +// Delete delete navigation property attachments for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0 func (m *ItemCalendarsItemEventsItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemCalendarsItemEventsItemAttachmentsAttachmentItemRequestBuilder) Del } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 func (m *ItemCalendarsItemEventsItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemCalendarsItemEventsItemAttachmentsAttachmentItemRequestBuilder) Get } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToDeleteRequestInformation delete an attachment from a user calendar event, message, Outlook task, or post. +// ToDeleteRequestInformation delete navigation property attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarsItemEventsItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemCalendarsItemEventsItemAttachmentsAttachmentItemRequestBuilder) ToD requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarsItemEventsItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendars_item_events_item_attachments_create_upload_session_request_builder.go b/users/item_calendars_item_events_item_attachments_create_upload_session_request_builder.go index e0b880d8dda..29df4de0edd 100644 --- a/users/item_calendars_item_events_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendars_item_events_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemCalendarsItemEventsItemAttachmentsCreateUploadSessionRequestBuilder( // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemCalendarsItemEventsItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemEventsItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarsItemEventsItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_events_item_attachments_request_builder.go b/users/item_calendars_item_events_item_attachments_request_builder.go index 5229ab2f946..f80b72a3821 100644 --- a/users/item_calendars_item_events_item_attachments_request_builder.go +++ b/users/item_calendars_item_events_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarsItemEventsItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarsItemEventsItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to an event. +// ItemCalendarsItemEventsItemAttachmentsRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarsItemEventsItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemCalendarsItemEventsItemAttachmentsRequestBuilder) Count()(*ItemCale func (m *ItemCalendarsItemEventsItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemCalendarsItemEventsItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemCalendarsItemEventsItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to an event. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 func (m *ItemCalendarsItemEventsItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemCalendarsItemEventsItemAttachmentsRequestBuilder) Get(ctx context.C } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post create new navigation property to attachments for users // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemCalendarsItemEventsItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarsItemEventsItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemCalendarsItemEventsItemAttachmentsRequestBuilder) Post(ctx context. } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to an event. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarsItemEventsItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemCalendarsItemEventsItemAttachmentsRequestBuilder) ToGetRequestInfor requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation create new navigation property to attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarsItemEventsItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarsItemEventsItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendars_item_events_item_cancel_request_builder.go b/users/item_calendars_item_events_item_cancel_request_builder.go index 6d6c3e05d07..df95f4a56db 100644 --- a/users/item_calendars_item_events_item_cancel_request_builder.go +++ b/users/item_calendars_item_events_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemEventsItemCancelRequestBuilder(rawUrl string, requestAd // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-beta func (m *ItemCalendarsItemEventsItemCancelRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemEventsItemCancelPostRequestBodyable, requestConfiguration *ItemCalendarsItemEventsItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_events_item_decline_request_builder.go b/users/item_calendars_item_events_item_decline_request_builder.go index aec65f018d4..c7fd7b2874d 100644 --- a/users/item_calendars_item_events_item_decline_request_builder.go +++ b/users/item_calendars_item_events_item_decline_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemEventsItemDeclineRequestBuilder(rawUrl string, requestA // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-beta func (m *ItemCalendarsItemEventsItemDeclineRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemEventsItemDeclinePostRequestBodyable, requestConfiguration *ItemCalendarsItemEventsItemDeclineRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_events_item_dismiss_reminder_request_builder.go b/users/item_calendars_item_events_item_dismiss_reminder_request_builder.go index 6e230bc0320..c45f0d2470c 100644 --- a/users/item_calendars_item_events_item_dismiss_reminder_request_builder.go +++ b/users/item_calendars_item_events_item_dismiss_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemEventsItemDismissReminderRequestBuilder(rawUrl string, // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-beta func (m *ItemCalendarsItemEventsItemDismissReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemDismissReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { 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 6454b8ef4da..2c0baef9067 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 @@ -61,7 +61,7 @@ func NewItemCalendarsItemEventsItemExceptionOccurrencesDeltaRequestBuilder(rawUr // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarsItemEventsItemExceptionOccurrencesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarsItemEventsItemExceptionOccurrencesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -84,7 +84,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesDeltaRequestBuilder) Get // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarsItemEventsItemExceptionOccurrencesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarsItemEventsItemExceptionOccurrencesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_accept_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_accept_request_builder.go index 4dffae4862f..c04f29b51e4 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_accept_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemEventsItemExceptionOccurrencesItemAcceptRequestBuilder( // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-beta func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemEventsItemExceptionOccurrencesItemAcceptPostRequestBodyable, requestConfiguration *ItemCalendarsItemEventsItemExceptionOccurrencesItemAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index b00381a5d30..5d26e8fa92c 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentIte // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsAttachment urlParams["request-raw-url"] = rawUrl return NewItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an attachment from a user calendar event, message, Outlook task, or post. +// Delete delete navigation property attachments for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0 func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsAttachmen } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsAttachmen } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToDeleteRequestInformation delete an attachment from a user calendar event, message, Outlook task, or post. +// ToDeleteRequestInformation delete navigation property attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsAttachmen requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*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_attachments_create_upload_session_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index 522845ffba4..73e25610a1a 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsCreateUplo // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_attachments_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_attachments_request_builder.go index f45a1d004ae..6a2d8781e53 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_attachments_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to an event. +// ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsRequestBu func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to an event. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsRequestBu } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post create new navigation property to attachments for users // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsRequestBu } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to an event. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsRequestBu requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation create new navigation property to attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_cancel_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_cancel_request_builder.go index 9374dd47dd5..2af11b257c2 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_cancel_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemEventsItemExceptionOccurrencesItemCancelRequestBuilder( // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-beta func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemCancelRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemEventsItemExceptionOccurrencesItemCancelPostRequestBodyable, requestConfiguration *ItemCalendarsItemEventsItemExceptionOccurrencesItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_decline_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_decline_request_builder.go index ec9b385b852..349d6cc1168 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_decline_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_decline_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemEventsItemExceptionOccurrencesItemDeclineRequestBuilder // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-beta func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemDeclineRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemEventsItemExceptionOccurrencesItemDeclinePostRequestBodyable, requestConfiguration *ItemCalendarsItemEventsItemExceptionOccurrencesItemDeclineRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go index b43de1752f4..c731be87dac 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemEventsItemExceptionOccurrencesItemDismissReminderReques // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-beta func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemDismissReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemExceptionOccurrencesItemDismissReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go index 6a0ce3b4fe3..47e80c4d318 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsExtensionItemR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsExtensionI } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsExtensionI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*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_extensions_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_extensions_request_builder.go index 62177e850af..920a8e6c7db 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_extensions_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsRequestBuil func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) Count()(*ItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsCountRequestBuilder) { return NewItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -94,12 +94,9 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsRequestBui } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to extensions for users // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsRequestBui } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +128,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsRequestBui requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to extensions for users // returns a *RequestInformation when successful func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_forward_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_forward_request_builder.go index d361a710a95..83625892f85 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_forward_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemEventsItemExceptionOccurrencesItemForwardRequestBuilder // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-beta func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemForwardRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemEventsItemExceptionOccurrencesItemForwardPostRequestBodyable, requestConfiguration *ItemCalendarsItemEventsItemExceptionOccurrencesItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { 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 e70c97d2d98..99f2c0b8ea3 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 @@ -61,7 +61,7 @@ func NewItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesDeltaRequest // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -84,7 +84,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesDeltaReques // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_accept_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_accept_request_builder.go index a1ed2626608..d654d210de8 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_accept_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAcceptRe // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-beta func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAcceptPostRequestBodyable, requestConfiguration *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go index c3fd44520e9..ddfd27b01ef 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachments // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachme urlParams["request-raw-url"] = rawUrl return NewItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an attachment from a user calendar event, message, Outlook task, or post. +// Delete delete navigation property attachments for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0 func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachm } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachm } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToDeleteRequestInformation delete an attachment from a user calendar event, message, Outlook task, or post. +// ToDeleteRequestInformation delete navigation property attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachm requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*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_item_attachments_create_upload_session_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go index bd2de417aac..f1c111d2e00 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachme // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go index d6eb7c41578..57fd46bb9fa 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to an event. +// ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachm func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to an event. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachm } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post create new navigation property to attachments for users // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachm } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to an event. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachm requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation create new navigation property to attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go index fad6228c385..1ce7bb30bb1 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemCancelRe // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-beta func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemCancelRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemCancelPostRequestBodyable, requestConfiguration *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_decline_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_decline_request_builder.go index 3b93b13aaec..c41f82ac9c6 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_decline_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_decline_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemDeclineR // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-beta func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemDeclinePostRequestBodyable, requestConfiguration *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go index cc800f2e8b7..487f6db9318 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemDismissR // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-beta func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemDismissReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemDismissReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go index e49b37bd495..3619598bcc5 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsE // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensi } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensi requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*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_item_extensions_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go index 73d6d45fba8..d05548dd332 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensio func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) Count()(*ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsCountRequestBuilder) { return NewItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -94,12 +94,9 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensi } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to extensions for users // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensi } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +128,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensi requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to extensions for users // returns a *RequestInformation when successful func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_forward_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_forward_request_builder.go index 4d54053da02..ebd276d93f8 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_forward_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemForwardR // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-beta func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemForwardRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemForwardPostRequestBodyable, requestConfiguration *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go index 6dbafbf9226..aa6f80e16ef 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemSnoozeRe // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-beta func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemSnoozeReminderRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemSnoozeReminderPostRequestBodyable, requestConfiguration *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemSnoozeReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go index 21bead1b40e..b42f83c2e24 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemTentativ // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-beta func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemTentativelyAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemTentativelyAcceptPostRequestBodyable, requestConfiguration *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemTentativelyAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_instances_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_instances_request_builder.go index 1ca9f6b5782..aa8a9931ba8 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_instances_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_instances_request_builder.go @@ -77,9 +77,6 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesRequestBuil // Get the occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but doesn't include occurrences that have been canceled from the series. Navigation property. Read-only. Nullable. // returns a EventCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-instances?view=graph-rest-1.0 func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EventCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_snooze_reminder_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_snooze_reminder_request_builder.go index a418d3aa783..8700eaec02d 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemEventsItemExceptionOccurrencesItemSnoozeReminderRequest // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-beta func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemEventsItemExceptionOccurrencesItemSnoozeReminderPostRequestBodyable, requestConfiguration *ItemCalendarsItemEventsItemExceptionOccurrencesItemSnoozeReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_tentatively_accept_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_tentatively_accept_request_builder.go index 2ec31d363e0..b317da627f0 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemEventsItemExceptionOccurrencesItemTentativelyAcceptRequ // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-beta func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemEventsItemExceptionOccurrencesItemTentativelyAcceptPostRequestBodyable, requestConfiguration *ItemCalendarsItemEventsItemExceptionOccurrencesItemTentativelyAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_events_item_extensions_extension_item_request_builder.go b/users/item_calendars_item_events_item_extensions_extension_item_request_builder.go index 7736c9780d4..8d20b19b436 100644 --- a/users/item_calendars_item_events_item_extensions_extension_item_request_builder.go +++ b/users/item_calendars_item_events_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarsItemEventsItemExtensionsExtensionItemRequestBuilderDeleteReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarsItemEventsItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarsItemEventsItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarsItemEventsItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemCalendarsItemEventsItemExtensionsExtensionItemRequestBuilder) Delet } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemCalendarsItemEventsItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemCalendarsItemEventsItemExtensionsExtensionItemRequestBuilder) ToDel requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarsItemEventsItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendars_item_events_item_extensions_request_builder.go b/users/item_calendars_item_events_item_extensions_request_builder.go index 900a14c7714..588d923ec58 100644 --- a/users/item_calendars_item_events_item_extensions_request_builder.go +++ b/users/item_calendars_item_events_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarsItemEventsItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarsItemEventsItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarsItemEventsItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarsItemEventsItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemCalendarsItemEventsItemExtensionsRequestBuilder(rawUrl string, reque func (m *ItemCalendarsItemEventsItemExtensionsRequestBuilder) Count()(*ItemCalendarsItemEventsItemExtensionsCountRequestBuilder) { return NewItemCalendarsItemEventsItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemCalendarsItemEventsItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -94,12 +94,9 @@ func (m *ItemCalendarsItemEventsItemExtensionsRequestBuilder) Get(ctx context.Co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to extensions for users // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemCalendarsItemEventsItemExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarsItemEventsItemExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemCalendarsItemEventsItemExtensionsRequestBuilder) Post(ctx context.C } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarsItemEventsItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +128,7 @@ func (m *ItemCalendarsItemEventsItemExtensionsRequestBuilder) ToGetRequestInform requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to extensions for users // returns a *RequestInformation when successful func (m *ItemCalendarsItemEventsItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarsItemEventsItemExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendars_item_events_item_forward_request_builder.go b/users/item_calendars_item_events_item_forward_request_builder.go index 3c3bade7e5a..b0f98b877ef 100644 --- a/users/item_calendars_item_events_item_forward_request_builder.go +++ b/users/item_calendars_item_events_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemEventsItemForwardRequestBuilder(rawUrl string, requestA // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-beta func (m *ItemCalendarsItemEventsItemForwardRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemEventsItemForwardPostRequestBodyable, requestConfiguration *ItemCalendarsItemEventsItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { 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 6f9317f739c..c8d190e67db 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 @@ -61,7 +61,7 @@ func NewItemCalendarsItemEventsItemInstancesDeltaRequestBuilder(rawUrl string, r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarsItemEventsItemInstancesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemInstancesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarsItemEventsItemInstancesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -84,7 +84,7 @@ func (m *ItemCalendarsItemEventsItemInstancesDeltaRequestBuilder) Get(ctx contex // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarsItemEventsItemInstancesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemInstancesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarsItemEventsItemInstancesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_events_item_instances_item_accept_request_builder.go b/users/item_calendars_item_events_item_instances_item_accept_request_builder.go index 30e2f15599e..13b606df24a 100644 --- a/users/item_calendars_item_events_item_instances_item_accept_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemEventsItemInstancesItemAcceptRequestBuilder(rawUrl stri // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-beta func (m *ItemCalendarsItemEventsItemInstancesItemAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemEventsItemInstancesItemAcceptPostRequestBodyable, requestConfiguration *ItemCalendarsItemEventsItemInstancesItemAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_events_item_instances_item_attachments_attachment_item_request_builder.go b/users/item_calendars_item_events_item_instances_item_attachments_attachment_item_request_builder.go index 3d75b72213e..4ee56512757 100644 --- a/users/item_calendars_item_events_item_instances_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarsItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBui // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarsItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarsItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarsItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemCalendarsItemEventsItemInstancesItemAttachmentsAttachmentItemRequest urlParams["request-raw-url"] = rawUrl return NewItemCalendarsItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an attachment from a user calendar event, message, Outlook task, or post. +// Delete delete navigation property attachments for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0 func (m *ItemCalendarsItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemCalendarsItemEventsItemInstancesItemAttachmentsAttachmentItemReques } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 func (m *ItemCalendarsItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemAttachmentsAttachmentItemReques } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToDeleteRequestInformation delete an attachment from a user calendar event, message, Outlook task, or post. +// ToDeleteRequestInformation delete navigation property attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarsItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemAttachmentsAttachmentItemReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarsItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*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_attachments_create_upload_session_request_builder.go b/users/item_calendars_item_events_item_instances_item_attachments_create_upload_session_request_builder.go index bf1627a8194..4a1639c73e2 100644 --- a/users/item_calendars_item_events_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemCalendarsItemEventsItemInstancesItemAttachmentsCreateUploadSessionRe // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemCalendarsItemEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemEventsItemInstancesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarsItemEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_events_item_instances_item_attachments_request_builder.go b/users/item_calendars_item_events_item_instances_item_attachments_request_builder.go index c143784337d..8375829aa48 100644 --- a/users/item_calendars_item_events_item_instances_item_attachments_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarsItemEventsItemInstancesItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarsItemEventsItemInstancesItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to an event. +// ItemCalendarsItemEventsItemInstancesItemAttachmentsRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarsItemEventsItemInstancesItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemCalendarsItemEventsItemInstancesItemAttachmentsRequestBuilder) Coun func (m *ItemCalendarsItemEventsItemInstancesItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemCalendarsItemEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemCalendarsItemEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to an event. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 func (m *ItemCalendarsItemEventsItemInstancesItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemInstancesItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemCalendarsItemEventsItemInstancesItemAttachmentsRequestBuilder) Get( } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post create new navigation property to attachments for users // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemCalendarsItemEventsItemInstancesItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarsItemEventsItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemAttachmentsRequestBuilder) Post } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to an event. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarsItemEventsItemInstancesItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemInstancesItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemAttachmentsRequestBuilder) ToGe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation create new navigation property to attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarsItemEventsItemInstancesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarsItemEventsItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendars_item_events_item_instances_item_cancel_request_builder.go b/users/item_calendars_item_events_item_instances_item_cancel_request_builder.go index e9c8723546c..4036bd90255 100644 --- a/users/item_calendars_item_events_item_instances_item_cancel_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemEventsItemInstancesItemCancelRequestBuilder(rawUrl stri // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-beta func (m *ItemCalendarsItemEventsItemInstancesItemCancelRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemEventsItemInstancesItemCancelPostRequestBodyable, requestConfiguration *ItemCalendarsItemEventsItemInstancesItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_events_item_instances_item_decline_request_builder.go b/users/item_calendars_item_events_item_instances_item_decline_request_builder.go index 5437c171f88..9336bda65dd 100644 --- a/users/item_calendars_item_events_item_instances_item_decline_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_decline_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemEventsItemInstancesItemDeclineRequestBuilder(rawUrl str // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-beta func (m *ItemCalendarsItemEventsItemInstancesItemDeclineRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemEventsItemInstancesItemDeclinePostRequestBodyable, requestConfiguration *ItemCalendarsItemEventsItemInstancesItemDeclineRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_events_item_instances_item_dismiss_reminder_request_builder.go b/users/item_calendars_item_events_item_instances_item_dismiss_reminder_request_builder.go index 7760beb930c..74496fd5772 100644 --- a/users/item_calendars_item_events_item_instances_item_dismiss_reminder_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_dismiss_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemEventsItemInstancesItemDismissReminderRequestBuilder(ra // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-beta func (m *ItemCalendarsItemEventsItemInstancesItemDismissReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemInstancesItemDismissReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { 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 ed03a62aa97..fe2cb967904 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 @@ -61,7 +61,7 @@ func NewItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesDeltaRequest // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -84,7 +84,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesDeltaReques // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_accept_request_builder.go b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_accept_request_builder.go index db3d80665c5..caa507dcfec 100644 --- a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_accept_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAcceptRe // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-beta func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAcceptPostRequestBodyable, requestConfiguration *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index d018eaf28b7..116e5b5b2a9 100644 --- a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachments // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachme urlParams["request-raw-url"] = rawUrl return NewItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an attachment from a user calendar event, message, Outlook task, or post. +// Delete delete navigation property attachments for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0 func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachm } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachm } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToDeleteRequestInformation delete an attachment from a user calendar event, message, Outlook task, or post. +// ToDeleteRequestInformation delete navigation property attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachm requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*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_item_attachments_create_upload_session_request_builder.go b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index 3c703978c21..89d4ddd7ab5 100644 --- a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachme // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go index f430665f254..4f1624c909a 100644 --- a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to an event. +// ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachm func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to an event. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachm } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post create new navigation property to attachments for users // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachm } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to an event. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachm requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation create new navigation property to attachments for users // returns a *RequestInformation when successful func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go index f307a0f800b..2fcb2194ac0 100644 --- a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemCancelRe // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-beta func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemCancelRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemCancelPostRequestBodyable, requestConfiguration *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_decline_request_builder.go b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_decline_request_builder.go index 80bd4a9e629..730b8a5f036 100644 --- a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_decline_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_decline_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemDeclineR // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-beta func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemDeclinePostRequestBodyable, requestConfiguration *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go index e390480ed52..906d871f5ce 100644 --- a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemDismissR // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-beta func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemDismissReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemDismissReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go index d3389afc2e5..dc994cfe5c2 100644 --- a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsE // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensi } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensi requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*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_item_extensions_request_builder.go b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go index bfbfdf25433..06184a7cee0 100644 --- a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensio func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) Count()(*ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsCountRequestBuilder) { return NewItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -94,12 +94,9 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensi } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to extensions for users // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensi } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +128,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensi requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to extensions for users // returns a *RequestInformation when successful func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_forward_request_builder.go b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_forward_request_builder.go index c8cbfc6e03c..ad7adaeadd1 100644 --- a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_forward_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemForwardR // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-beta func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemForwardRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemForwardPostRequestBodyable, requestConfiguration *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go index 6f6d19b9fc2..4d256e40194 100644 --- a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemSnoozeRe // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-beta func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemSnoozeReminderPostRequestBodyable, requestConfiguration *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemSnoozeReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go index 38fa7c4c1c6..498a3fa4135 100644 --- a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemTentativ // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-beta func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemTentativelyAcceptPostRequestBodyable, requestConfiguration *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemTentativelyAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_events_item_instances_item_extensions_extension_item_request_builder.go b/users/item_calendars_item_events_item_instances_item_extensions_extension_item_request_builder.go index 94d6d5ab31b..fc501ae92b4 100644 --- a/users/item_calendars_item_events_item_instances_item_extensions_extension_item_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCalendarsItemEventsItemInstancesItemExtensionsExtensionItemRequestBuild // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCalendarsItemEventsItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarsItemEventsItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarsItemEventsItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExtensionsExtensionItemRequestB } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemCalendarsItemEventsItemInstancesItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemInstancesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExtensionsExtensionItemRequestB requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarsItemEventsItemInstancesItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemInstancesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*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_extensions_request_builder.go b/users/item_calendars_item_events_item_instances_item_extensions_request_builder.go index 06e8b373ec5..9bd9ef98639 100644 --- a/users/item_calendars_item_events_item_instances_item_extensions_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarsItemEventsItemInstancesItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarsItemEventsItemInstancesItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemCalendarsItemEventsItemInstancesItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemCalendarsItemEventsItemInstancesItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemCalendarsItemEventsItemInstancesItemExtensionsRequestBuilder(rawUrl func (m *ItemCalendarsItemEventsItemInstancesItemExtensionsRequestBuilder) Count()(*ItemCalendarsItemEventsItemInstancesItemExtensionsCountRequestBuilder) { return NewItemCalendarsItemEventsItemInstancesItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemCalendarsItemEventsItemInstancesItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemInstancesItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -94,12 +94,9 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExtensionsRequestBuilder) Get(c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to extensions for users // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemCalendarsItemEventsItemInstancesItemExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarsItemEventsItemInstancesItemExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExtensionsRequestBuilder) Post( } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarsItemEventsItemInstancesItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemInstancesItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +128,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExtensionsRequestBuilder) ToGet requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to extensions for users // returns a *RequestInformation when successful func (m *ItemCalendarsItemEventsItemInstancesItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemCalendarsItemEventsItemInstancesItemExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendars_item_events_item_instances_item_forward_request_builder.go b/users/item_calendars_item_events_item_instances_item_forward_request_builder.go index 5325bce3bb4..d5cbe5c686a 100644 --- a/users/item_calendars_item_events_item_instances_item_forward_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemEventsItemInstancesItemForwardRequestBuilder(rawUrl str // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-beta func (m *ItemCalendarsItemEventsItemInstancesItemForwardRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemEventsItemInstancesItemForwardPostRequestBodyable, requestConfiguration *ItemCalendarsItemEventsItemInstancesItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_events_item_instances_item_snooze_reminder_request_builder.go b/users/item_calendars_item_events_item_instances_item_snooze_reminder_request_builder.go index c90aa605ef6..67d870c9f47 100644 --- a/users/item_calendars_item_events_item_instances_item_snooze_reminder_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_snooze_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemEventsItemInstancesItemSnoozeReminderRequestBuilder(raw // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-beta func (m *ItemCalendarsItemEventsItemInstancesItemSnoozeReminderRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemEventsItemInstancesItemSnoozeReminderPostRequestBodyable, requestConfiguration *ItemCalendarsItemEventsItemInstancesItemSnoozeReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_events_item_instances_item_tentatively_accept_request_builder.go b/users/item_calendars_item_events_item_instances_item_tentatively_accept_request_builder.go index 50424b331e0..ebedfa56e7f 100644 --- a/users/item_calendars_item_events_item_instances_item_tentatively_accept_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_tentatively_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemEventsItemInstancesItemTentativelyAcceptRequestBuilder( // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-beta func (m *ItemCalendarsItemEventsItemInstancesItemTentativelyAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemEventsItemInstancesItemTentativelyAcceptPostRequestBodyable, requestConfiguration *ItemCalendarsItemEventsItemInstancesItemTentativelyAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_events_item_instances_request_builder.go b/users/item_calendars_item_events_item_instances_request_builder.go index 6363c4c3aca..74849cdebfe 100644 --- a/users/item_calendars_item_events_item_instances_request_builder.go +++ b/users/item_calendars_item_events_item_instances_request_builder.go @@ -77,9 +77,6 @@ func (m *ItemCalendarsItemEventsItemInstancesRequestBuilder) Delta()(*ItemCalend // Get the occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but doesn't include occurrences that have been canceled from the series. Navigation property. Read-only. Nullable. // returns a EventCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-instances?view=graph-rest-1.0 func (m *ItemCalendarsItemEventsItemInstancesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsItemInstancesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EventCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_events_item_snooze_reminder_request_builder.go b/users/item_calendars_item_events_item_snooze_reminder_request_builder.go index d75f99bc1ee..b71332511c8 100644 --- a/users/item_calendars_item_events_item_snooze_reminder_request_builder.go +++ b/users/item_calendars_item_events_item_snooze_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemEventsItemSnoozeReminderRequestBuilder(rawUrl string, r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-beta func (m *ItemCalendarsItemEventsItemSnoozeReminderRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemEventsItemSnoozeReminderPostRequestBodyable, requestConfiguration *ItemCalendarsItemEventsItemSnoozeReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_events_item_tentatively_accept_request_builder.go b/users/item_calendars_item_events_item_tentatively_accept_request_builder.go index 0aecc40dec0..2bfa256340c 100644 --- a/users/item_calendars_item_events_item_tentatively_accept_request_builder.go +++ b/users/item_calendars_item_events_item_tentatively_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemCalendarsItemEventsItemTentativelyAcceptRequestBuilder(rawUrl string // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-beta func (m *ItemCalendarsItemEventsItemTentativelyAcceptRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemEventsItemTentativelyAcceptPostRequestBodyable, requestConfiguration *ItemCalendarsItemEventsItemTentativelyAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_item_events_request_builder.go b/users/item_calendars_item_events_request_builder.go index 96c32264207..8676bf811e2 100644 --- a/users/item_calendars_item_events_request_builder.go +++ b/users/item_calendars_item_events_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarsItemEventsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarsItemEventsRequestBuilderGetQueryParameters retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, orget the instances of an event. +// ItemCalendarsItemEventsRequestBuilderGetQueryParameters the events in the calendar. Navigation property. Read-only. type ItemCalendarsItemEventsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemCalendarsItemEventsRequestBuilder) Count()(*ItemCalendarsItemEvents func (m *ItemCalendarsItemEventsRequestBuilder) Delta()(*ItemCalendarsItemEventsDeltaRequestBuilder) { return NewItemCalendarsItemEventsDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, orget the instances of an event. +// Get the events in the calendar. Navigation property. Read-only. // returns a EventCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/calendar-list-events?view=graph-rest-1.0 func (m *ItemCalendarsItemEventsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EventCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemCalendarsItemEventsRequestBuilder) Get(ctx context.Context, request } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EventCollectionResponseable), nil } -// Post use this API to create a new event in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. +// Post create new navigation property to events for users // returns a Eventable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/calendar-post-events?view=graph-rest-1.0 func (m *ItemCalendarsItemEventsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Eventable, requestConfiguration *ItemCalendarsItemEventsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Eventable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemCalendarsItemEventsRequestBuilder) Post(ctx context.Context, body i } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Eventable), nil } -// ToGetRequestInformation retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, orget the instances of an event. +// ToGetRequestInformation the events in the calendar. Navigation property. Read-only. // returns a *RequestInformation when successful func (m *ItemCalendarsItemEventsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsItemEventsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemCalendarsItemEventsRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new event in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. +// ToPostRequestInformation create new navigation property to events for users // returns a *RequestInformation when successful func (m *ItemCalendarsItemEventsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Eventable, requestConfiguration *ItemCalendarsItemEventsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_calendars_item_get_schedule_request_builder.go b/users/item_calendars_item_get_schedule_request_builder.go index a3ea81105e8..eb11d7664d8 100644 --- a/users/item_calendars_item_get_schedule_request_builder.go +++ b/users/item_calendars_item_get_schedule_request_builder.go @@ -36,7 +36,7 @@ func NewItemCalendarsItemGetScheduleRequestBuilder(rawUrl string, requestAdapter // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/calendar-getschedule?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/calendar-getschedule?view=graph-rest-beta func (m *ItemCalendarsItemGetScheduleRequestBuilder) Post(ctx context.Context, body ItemCalendarsItemGetSchedulePostRequestBodyable, requestConfiguration *ItemCalendarsItemGetScheduleRequestBuilderPostRequestConfiguration)(ItemCalendarsItemGetScheduleResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemGetScheduleRequestBuilder) Post(ctx context.Context, b // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/calendar-getschedule?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/calendar-getschedule?view=graph-rest-beta func (m *ItemCalendarsItemGetScheduleRequestBuilder) PostAsGetSchedulePostResponse(ctx context.Context, body ItemCalendarsItemGetSchedulePostRequestBodyable, requestConfiguration *ItemCalendarsItemGetScheduleRequestBuilderPostRequestConfiguration)(ItemCalendarsItemGetSchedulePostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_calendars_request_builder.go b/users/item_calendars_request_builder.go index 12da0e41ba1..80c238a20ad 100644 --- a/users/item_calendars_request_builder.go +++ b/users/item_calendars_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCalendarsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCalendarsRequestBuilderGetQueryParameters get all the user's calendars (/calendars navigation property), get the calendars from the default calendar group or from a specific calendar group. +// ItemCalendarsRequestBuilderGetQueryParameters the user's calendars. Read-only. Nullable. type ItemCalendarsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,12 +74,9 @@ func NewItemCalendarsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee func (m *ItemCalendarsRequestBuilder) Count()(*ItemCalendarsCountRequestBuilder) { return NewItemCalendarsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get all the user's calendars (/calendars navigation property), get the calendars from the default calendar group or from a specific calendar group. +// Get the user's calendars. Read-only. Nullable. // returns a CalendarCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/user-list-calendars?view=graph-rest-1.0 func (m *ItemCalendarsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCalendarsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -97,12 +94,9 @@ func (m *ItemCalendarsRequestBuilder) Get(ctx context.Context, requestConfigurat } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CalendarCollectionResponseable), nil } -// Post create a new calendar for a user. +// Post create new navigation property to calendars for users // returns a Calendarable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/user-post-calendars?view=graph-rest-1.0 func (m *ItemCalendarsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Calendarable, requestConfiguration *ItemCalendarsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Calendarable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -120,7 +114,7 @@ func (m *ItemCalendarsRequestBuilder) Post(ctx context.Context, body ie233ee762e } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Calendarable), nil } -// ToGetRequestInformation get all the user's calendars (/calendars navigation property), get the calendars from the default calendar group or from a specific calendar group. +// ToGetRequestInformation the user's calendars. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCalendarsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCalendarsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -134,7 +128,7 @@ func (m *ItemCalendarsRequestBuilder) ToGetRequestInformation(ctx context.Contex requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new calendar for a user. +// ToPostRequestInformation create new navigation property to calendars for users // returns a *RequestInformation when successful func (m *ItemCalendarsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Calendarable, requestConfiguration *ItemCalendarsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_change_password_request_builder.go b/users/item_change_password_request_builder.go index f6037cf4d9d..3ebbf1c658f 100644 --- a/users/item_change_password_request_builder.go +++ b/users/item_change_password_request_builder.go @@ -34,7 +34,7 @@ func NewItemChangePasswordRequestBuilder(rawUrl string, requestAdapter i2ae4187f // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/user-changepassword?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/user-changepassword?view=graph-rest-beta func (m *ItemChangePasswordRequestBuilder) Post(ctx context.Context, body ItemChangePasswordPostRequestBodyable, requestConfiguration *ItemChangePasswordRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_chats_chat_item_request_builder.go b/users/item_chats_chat_item_request_builder.go index b96af60ed70..f1fb1981cc7 100644 --- a/users/item_chats_chat_item_request_builder.go +++ b/users/item_chats_chat_item_request_builder.go @@ -18,7 +18,7 @@ type ItemChatsChatItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemChatsChatItemRequestBuilderGetQueryParameters retrieve a single chat (without its messages). This method supports federation. To access a chat, at least one chat member must belong to the tenant the request initiated from. +// ItemChatsChatItemRequestBuilderGetQueryParameters get chats from users type ItemChatsChatItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemChatsChatItemRequestBuilder) Delete(ctx context.Context, requestCon } return nil } -// Get retrieve a single chat (without its messages). This method supports federation. To access a chat, at least one chat member must belong to the tenant the request initiated from. +// Get get chats from users // returns a Chatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-get?view=graph-rest-1.0 func (m *ItemChatsChatItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChatsChatItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Chatable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -189,7 +186,7 @@ func (m *ItemChatsChatItemRequestBuilder) ToDeleteRequestInformation(ctx context requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a single chat (without its messages). This method supports federation. To access a chat, at least one chat member must belong to the tenant the request initiated from. +// ToGetRequestInformation get chats from users // returns a *RequestInformation when successful func (m *ItemChatsChatItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChatsChatItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_chats_get_all_retained_messages_request_builder.go b/users/item_chats_get_all_retained_messages_request_builder.go index cff604f23e0..05a4a047f9d 100644 --- a/users/item_chats_get_all_retained_messages_request_builder.go +++ b/users/item_chats_get_all_retained_messages_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemChatsGetAllRetainedMessagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemChatsGetAllRetainedMessagesRequestBuilderGetQueryParameters invoke function getAllRetainedMessages +// ItemChatsGetAllRetainedMessagesRequestBuilderGetQueryParameters get all retained messages from all chats that a user is a participant in, including one-on-one chats, group chats, and meeting chats. type ItemChatsGetAllRetainedMessagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewItemChatsGetAllRetainedMessagesRequestBuilder(rawUrl string, requestAdap urlParams["request-raw-url"] = rawUrl return NewItemChatsGetAllRetainedMessagesRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getAllRetainedMessages +// Get get all retained messages from all chats that a user is a participant in, including one-on-one chats, group chats, and meeting chats. // Deprecated: This method is obsolete. Use GetAsGetAllRetainedMessagesGetResponse instead. // returns a ItemChatsGetAllRetainedMessagesResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chat-getallretainedmessages?view=graph-rest-beta func (m *ItemChatsGetAllRetainedMessagesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChatsGetAllRetainedMessagesRequestBuilderGetRequestConfiguration)(ItemChatsGetAllRetainedMessagesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ItemChatsGetAllRetainedMessagesRequestBuilder) Get(ctx context.Context, } return res.(ItemChatsGetAllRetainedMessagesResponseable), nil } -// GetAsGetAllRetainedMessagesGetResponse invoke function getAllRetainedMessages +// GetAsGetAllRetainedMessagesGetResponse get all retained messages from all chats that a user is a participant in, including one-on-one chats, group chats, and meeting chats. // returns a ItemChatsGetAllRetainedMessagesGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chat-getallretainedmessages?view=graph-rest-beta func (m *ItemChatsGetAllRetainedMessagesRequestBuilder) GetAsGetAllRetainedMessagesGetResponse(ctx context.Context, requestConfiguration *ItemChatsGetAllRetainedMessagesRequestBuilderGetRequestConfiguration)(ItemChatsGetAllRetainedMessagesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ItemChatsGetAllRetainedMessagesRequestBuilder) GetAsGetAllRetainedMessa } return res.(ItemChatsGetAllRetainedMessagesGetResponseable), nil } -// ToGetRequestInformation invoke function getAllRetainedMessages +// ToGetRequestInformation get all retained messages from all chats that a user is a participant in, including one-on-one chats, group chats, and meeting chats. // returns a *RequestInformation when successful func (m *ItemChatsGetAllRetainedMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChatsGetAllRetainedMessagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_chats_item_hide_for_user_request_builder.go b/users/item_chats_item_hide_for_user_request_builder.go index 6722d01616c..75abb0cc0b0 100644 --- a/users/item_chats_item_hide_for_user_request_builder.go +++ b/users/item_chats_item_hide_for_user_request_builder.go @@ -34,7 +34,7 @@ func NewItemChatsItemHideForUserRequestBuilder(rawUrl string, requestAdapter i2a // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-hideforuser?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chat-hideforuser?view=graph-rest-beta func (m *ItemChatsItemHideForUserRequestBuilder) Post(ctx context.Context, body ItemChatsItemHideForUserPostRequestBodyable, requestConfiguration *ItemChatsItemHideForUserRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_chats_item_installed_apps_item_upgrade_request_builder.go b/users/item_chats_item_installed_apps_item_upgrade_request_builder.go index 87d174a80bc..2650e2b5ca0 100644 --- a/users/item_chats_item_installed_apps_item_upgrade_request_builder.go +++ b/users/item_chats_item_installed_apps_item_upgrade_request_builder.go @@ -34,7 +34,7 @@ func NewItemChatsItemInstalledAppsItemUpgradeRequestBuilder(rawUrl string, reque // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-teamsappinstallation-upgrade?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chat-teamsappinstallation-upgrade?view=graph-rest-beta func (m *ItemChatsItemInstalledAppsItemUpgradeRequestBuilder) Post(ctx context.Context, body ItemChatsItemInstalledAppsItemUpgradePostRequestBodyable, requestConfiguration *ItemChatsItemInstalledAppsItemUpgradeRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_chats_item_installed_apps_request_builder.go b/users/item_chats_item_installed_apps_request_builder.go index 2e514e2bab1..41a53e138b2 100644 --- a/users/item_chats_item_installed_apps_request_builder.go +++ b/users/item_chats_item_installed_apps_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemChatsItemInstalledAppsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemChatsItemInstalledAppsRequestBuilderGetQueryParameters list all app installations within a chat. If the chat is associated with an onlineMeeting instance, then, effectively, the teamsApps installed in the meeting will be listed. +// ItemChatsItemInstalledAppsRequestBuilderGetQueryParameters a collection of all the apps in the chat. Nullable. type ItemChatsItemInstalledAppsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemChatsItemInstalledAppsRequestBuilder(rawUrl string, requestAdapter i func (m *ItemChatsItemInstalledAppsRequestBuilder) Count()(*ItemChatsItemInstalledAppsCountRequestBuilder) { return NewItemChatsItemInstalledAppsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list all app installations within a chat. If the chat is associated with an onlineMeeting instance, then, effectively, the teamsApps installed in the meeting will be listed. +// Get a collection of all the apps in the chat. Nullable. // returns a TeamsAppInstallationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-list-installedapps?view=graph-rest-1.0 func (m *ItemChatsItemInstalledAppsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChatsItemInstalledAppsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppInstallationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemChatsItemInstalledAppsRequestBuilder) Get(ctx context.Context, requ } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppInstallationCollectionResponseable), nil } -// Post install a teamsApp to the specified chat. +// Post create new navigation property to installedApps for users // returns a TeamsAppInstallationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-post-installedapps?view=graph-rest-1.0 func (m *ItemChatsItemInstalledAppsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppInstallationable, requestConfiguration *ItemChatsItemInstalledAppsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppInstallationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemChatsItemInstalledAppsRequestBuilder) Post(ctx context.Context, bod } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppInstallationable), nil } -// ToGetRequestInformation list all app installations within a chat. If the chat is associated with an onlineMeeting instance, then, effectively, the teamsApps installed in the meeting will be listed. +// ToGetRequestInformation a collection of all the apps in the chat. Nullable. // returns a *RequestInformation when successful func (m *ItemChatsItemInstalledAppsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChatsItemInstalledAppsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemChatsItemInstalledAppsRequestBuilder) ToGetRequestInformation(ctx c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation install a teamsApp to the specified chat. +// ToPostRequestInformation create new navigation property to installedApps for users // returns a *RequestInformation when successful func (m *ItemChatsItemInstalledAppsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppInstallationable, requestConfiguration *ItemChatsItemInstalledAppsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_chats_item_installed_apps_teams_app_installation_item_request_builder.go b/users/item_chats_item_installed_apps_teams_app_installation_item_request_builder.go index a6afaa07172..cdda12c56e9 100644 --- a/users/item_chats_item_installed_apps_teams_app_installation_item_request_builder.go +++ b/users/item_chats_item_installed_apps_teams_app_installation_item_request_builder.go @@ -18,7 +18,7 @@ type ItemChatsItemInstalledAppsTeamsAppInstallationItemRequestBuilderDeleteReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemChatsItemInstalledAppsTeamsAppInstallationItemRequestBuilderGetQueryParameters get an app installed in a chat. +// ItemChatsItemInstalledAppsTeamsAppInstallationItemRequestBuilderGetQueryParameters a collection of all the apps in the chat. Nullable. type ItemChatsItemInstalledAppsTeamsAppInstallationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemChatsItemInstalledAppsTeamsAppInstallationItemRequestBuilder(rawUrl urlParams["request-raw-url"] = rawUrl return NewItemChatsItemInstalledAppsTeamsAppInstallationItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete uninstall an app installed within a chat. +// Delete delete navigation property installedApps for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-delete-installedapps?view=graph-rest-1.0 func (m *ItemChatsItemInstalledAppsTeamsAppInstallationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemChatsItemInstalledAppsTeamsAppInstallationItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemChatsItemInstalledAppsTeamsAppInstallationItemRequestBuilder) Delet } return nil } -// Get get an app installed in a chat. +// Get a collection of all the apps in the chat. Nullable. // returns a TeamsAppInstallationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-get-installedapps?view=graph-rest-1.0 func (m *ItemChatsItemInstalledAppsTeamsAppInstallationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChatsItemInstalledAppsTeamsAppInstallationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppInstallationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -126,7 +120,7 @@ func (m *ItemChatsItemInstalledAppsTeamsAppInstallationItemRequestBuilder) Teams func (m *ItemChatsItemInstalledAppsTeamsAppInstallationItemRequestBuilder) TeamsAppDefinition()(*ItemChatsItemInstalledAppsItemTeamsAppDefinitionRequestBuilder) { return NewItemChatsItemInstalledAppsItemTeamsAppDefinitionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation uninstall an app installed within a chat. +// ToDeleteRequestInformation delete navigation property installedApps for users // returns a *RequestInformation when successful func (m *ItemChatsItemInstalledAppsTeamsAppInstallationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemChatsItemInstalledAppsTeamsAppInstallationItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -137,7 +131,7 @@ func (m *ItemChatsItemInstalledAppsTeamsAppInstallationItemRequestBuilder) ToDel requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an app installed in a chat. +// ToGetRequestInformation a collection of all the apps in the chat. Nullable. // returns a *RequestInformation when successful func (m *ItemChatsItemInstalledAppsTeamsAppInstallationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChatsItemInstalledAppsTeamsAppInstallationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_chats_item_mark_chat_read_for_user_request_builder.go b/users/item_chats_item_mark_chat_read_for_user_request_builder.go index cb93512c88d..94d97bb2f8d 100644 --- a/users/item_chats_item_mark_chat_read_for_user_request_builder.go +++ b/users/item_chats_item_mark_chat_read_for_user_request_builder.go @@ -34,7 +34,7 @@ func NewItemChatsItemMarkChatReadForUserRequestBuilder(rawUrl string, requestAda // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-markchatreadforuser?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chat-markchatreadforuser?view=graph-rest-beta func (m *ItemChatsItemMarkChatReadForUserRequestBuilder) Post(ctx context.Context, body ItemChatsItemMarkChatReadForUserPostRequestBodyable, requestConfiguration *ItemChatsItemMarkChatReadForUserRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_chats_item_mark_chat_unread_for_user_request_builder.go b/users/item_chats_item_mark_chat_unread_for_user_request_builder.go index 3ed6c5dc439..f9d07f2957b 100644 --- a/users/item_chats_item_mark_chat_unread_for_user_request_builder.go +++ b/users/item_chats_item_mark_chat_unread_for_user_request_builder.go @@ -34,7 +34,7 @@ func NewItemChatsItemMarkChatUnreadForUserRequestBuilder(rawUrl string, requestA // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-markchatunreadforuser?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chat-markchatunreadforuser?view=graph-rest-beta func (m *ItemChatsItemMarkChatUnreadForUserRequestBuilder) Post(ctx context.Context, body ItemChatsItemMarkChatUnreadForUserPostRequestBodyable, requestConfiguration *ItemChatsItemMarkChatUnreadForUserRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_chats_item_members_add_request_builder.go b/users/item_chats_item_members_add_request_builder.go index 717a0b72acb..4b03852b271 100644 --- a/users/item_chats_item_members_add_request_builder.go +++ b/users/item_chats_item_members_add_request_builder.go @@ -36,7 +36,7 @@ func NewItemChatsItemMembersAddRequestBuilder(rawUrl string, requestAdapter i2ae // returns a ODataError error 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-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-beta func (m *ItemChatsItemMembersAddRequestBuilder) Post(ctx context.Context, body ItemChatsItemMembersAddPostRequestBodyable, requestConfiguration *ItemChatsItemMembersAddRequestBuilderPostRequestConfiguration)(ItemChatsItemMembersAddResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ItemChatsItemMembersAddRequestBuilder) Post(ctx context.Context, body I // returns a ODataError error 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-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmembers-add?view=graph-rest-beta func (m *ItemChatsItemMembersAddRequestBuilder) PostAsAddPostResponse(ctx context.Context, body ItemChatsItemMembersAddPostRequestBodyable, requestConfiguration *ItemChatsItemMembersAddRequestBuilderPostRequestConfiguration)(ItemChatsItemMembersAddPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_chats_item_members_conversation_member_item_request_builder.go b/users/item_chats_item_members_conversation_member_item_request_builder.go index 4dc82cd24e5..09524d3cef3 100644 --- a/users/item_chats_item_members_conversation_member_item_request_builder.go +++ b/users/item_chats_item_members_conversation_member_item_request_builder.go @@ -18,7 +18,7 @@ type ItemChatsItemMembersConversationMemberItemRequestBuilderDeleteRequestConfig // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemChatsItemMembersConversationMemberItemRequestBuilderGetQueryParameters retrieve a conversationMember from a chat. +// ItemChatsItemMembersConversationMemberItemRequestBuilderGetQueryParameters a collection of all the members in the chat. Nullable. type ItemChatsItemMembersConversationMemberItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemChatsItemMembersConversationMemberItemRequestBuilder(rawUrl string, urlParams["request-raw-url"] = rawUrl return NewItemChatsItemMembersConversationMemberItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove a conversationMember from a chat. +// Delete delete navigation property members for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-delete-members?view=graph-rest-1.0 func (m *ItemChatsItemMembersConversationMemberItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemChatsItemMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemChatsItemMembersConversationMemberItemRequestBuilder) Delete(ctx co } return nil } -// Get retrieve a conversationMember from a chat. +// Get a collection of all the members in the chat. Nullable. // returns a ConversationMemberable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-get-members?view=graph-rest-1.0 func (m *ItemChatsItemMembersConversationMemberItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChatsItemMembersConversationMemberItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -116,7 +110,7 @@ func (m *ItemChatsItemMembersConversationMemberItemRequestBuilder) Patch(ctx con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil } -// ToDeleteRequestInformation remove a conversationMember from a chat. +// ToDeleteRequestInformation delete navigation property members for users // returns a *RequestInformation when successful func (m *ItemChatsItemMembersConversationMemberItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemChatsItemMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -127,7 +121,7 @@ func (m *ItemChatsItemMembersConversationMemberItemRequestBuilder) ToDeleteReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a conversationMember from a chat. +// ToGetRequestInformation a collection of all the members in the chat. Nullable. // returns a *RequestInformation when successful func (m *ItemChatsItemMembersConversationMemberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChatsItemMembersConversationMemberItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_chats_item_members_request_builder.go b/users/item_chats_item_members_request_builder.go index 3e382de7847..eb6bfdde0b2 100644 --- a/users/item_chats_item_members_request_builder.go +++ b/users/item_chats_item_members_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemChatsItemMembersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemChatsItemMembersRequestBuilderGetQueryParameters retrieve a conversationMember from a chat. +// ItemChatsItemMembersRequestBuilderGetQueryParameters a collection of all the members in the chat. Nullable. type ItemChatsItemMembersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func NewItemChatsItemMembersRequestBuilder(rawUrl string, requestAdapter i2ae418 func (m *ItemChatsItemMembersRequestBuilder) Count()(*ItemChatsItemMembersCountRequestBuilder) { return NewItemChatsItemMembersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a conversationMember from a chat. +// Get a collection of all the members in the chat. Nullable. // returns a ConversationMemberCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-list-members?view=graph-rest-1.0 func (m *ItemChatsItemMembersRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChatsItemMembersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *ItemChatsItemMembersRequestBuilder) Get(ctx context.Context, requestCon } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberCollectionResponseable), nil } -// Post add a conversationMember to a chat. +// Post create new navigation property to members for users // returns a ConversationMemberable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-post-members?view=graph-rest-1.0 func (m *ItemChatsItemMembersRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemChatsItemMembersRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemChatsItemMembersRequestBuilder) Post(ctx context.Context, body ie23 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil } -// ToGetRequestInformation retrieve a conversationMember from a chat. +// ToGetRequestInformation a collection of all the members in the chat. Nullable. // returns a *RequestInformation when successful func (m *ItemChatsItemMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChatsItemMembersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ItemChatsItemMembersRequestBuilder) ToGetRequestInformation(ctx context requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add a conversationMember to a chat. +// ToPostRequestInformation create new navigation property to members for users // returns a *RequestInformation when successful func (m *ItemChatsItemMembersRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemChatsItemMembersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_chats_item_messages_chat_message_item_request_builder.go b/users/item_chats_item_messages_chat_message_item_request_builder.go index d2fe3e15d11..722c1057852 100644 --- a/users/item_chats_item_messages_chat_message_item_request_builder.go +++ b/users/item_chats_item_messages_chat_message_item_request_builder.go @@ -18,7 +18,7 @@ type ItemChatsItemMessagesChatMessageItemRequestBuilderDeleteRequestConfiguratio // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemChatsItemMessagesChatMessageItemRequestBuilderGetQueryParameters retrieve a single message or a message reply in a channel or a chat. +// ItemChatsItemMessagesChatMessageItemRequestBuilderGetQueryParameters a collection of all the messages in the chat. Nullable. type ItemChatsItemMessagesChatMessageItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemChatsItemMessagesChatMessageItemRequestBuilder) Delete(ctx context. } return nil } -// Get retrieve a single message or a message reply in a channel or a chat. +// Get a collection of all the messages in the chat. Nullable. // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-get?view=graph-rest-1.0 func (m *ItemChatsItemMessagesChatMessageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChatsItemMessagesChatMessageItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -144,7 +141,7 @@ func (m *ItemChatsItemMessagesChatMessageItemRequestBuilder) ToDeleteRequestInfo requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a single message or a message reply in a channel or a chat. +// ToGetRequestInformation a collection of all the messages in the chat. Nullable. // returns a *RequestInformation when successful func (m *ItemChatsItemMessagesChatMessageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChatsItemMessagesChatMessageItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_chats_item_messages_delta_request_builder.go b/users/item_chats_item_messages_delta_request_builder.go index f6067fc2872..15a813d4edc 100644 --- a/users/item_chats_item_messages_delta_request_builder.go +++ b/users/item_chats_item_messages_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemChatsItemMessagesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemChatsItemMessagesDeltaRequestBuilderGetQueryParameters invoke function delta +// ItemChatsItemMessagesDeltaRequestBuilderGetQueryParameters retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. type ItemChatsItemMessagesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewItemChatsItemMessagesDeltaRequestBuilder(rawUrl string, requestAdapter i urlParams["request-raw-url"] = rawUrl return NewItemChatsItemMessagesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemChatsItemMessagesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-beta func (m *ItemChatsItemMessagesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChatsItemMessagesDeltaRequestBuilderGetRequestConfiguration)(ItemChatsItemMessagesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ItemChatsItemMessagesDeltaRequestBuilder) Get(ctx context.Context, requ } return res.(ItemChatsItemMessagesDeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // returns a ItemChatsItemMessagesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-beta func (m *ItemChatsItemMessagesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemChatsItemMessagesDeltaRequestBuilderGetRequestConfiguration)(ItemChatsItemMessagesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ItemChatsItemMessagesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx con } return res.(ItemChatsItemMessagesDeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // returns a *RequestInformation when successful func (m *ItemChatsItemMessagesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChatsItemMessagesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_chats_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/users/item_chats_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index 8bd8b259a83..68fde986433 100644 --- a/users/item_chats_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/users/item_chats_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -18,7 +18,7 @@ type ItemChatsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestB // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemChatsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters retrieve the properties and relationships of chatMessageHostedContent object. +// ItemChatsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters content in a message hosted by Microsoft Teams - for example, images or code snippets. type ItemChatsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *ItemChatsItemMessagesItemHostedContentsChatMessageHostedContentItemRequ } return nil } -// Get retrieve the properties and relationships of chatMessageHostedContent object. +// Get content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a ChatMessageHostedContentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessagehostedcontent-get?view=graph-rest-1.0 func (m *ItemChatsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChatsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *ItemChatsItemMessagesItemHostedContentsChatMessageHostedContentItemRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of chatMessageHostedContent object. +// ToGetRequestInformation content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a *RequestInformation when successful func (m *ItemChatsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChatsItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_chats_item_messages_item_hosted_contents_item_value_content_request_builder.go b/users/item_chats_item_messages_item_hosted_contents_item_value_content_request_builder.go index 462f836f1c1..6f8783b5284 100644 --- a/users/item_chats_item_messages_item_hosted_contents_item_value_content_request_builder.go +++ b/users/item_chats_item_messages_item_hosted_contents_item_value_content_request_builder.go @@ -40,9 +40,6 @@ func NewItemChatsItemMessagesItemHostedContentsItemValueContentRequestBuilder(ra // Get get media content for the navigation property hostedContents from users // 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/chatmessage-list-hostedcontents?view=graph-rest-1.0 func (m *ItemChatsItemMessagesItemHostedContentsItemValueContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChatsItemMessagesItemHostedContentsItemValueContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_chats_item_messages_item_hosted_contents_request_builder.go b/users/item_chats_item_messages_item_hosted_contents_request_builder.go index 136f4f8cd54..6a26202d26e 100644 --- a/users/item_chats_item_messages_item_hosted_contents_request_builder.go +++ b/users/item_chats_item_messages_item_hosted_contents_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemChatsItemMessagesItemHostedContentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemChatsItemMessagesItemHostedContentsRequestBuilderGetQueryParameters retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// ItemChatsItemMessagesItemHostedContentsRequestBuilderGetQueryParameters content in a message hosted by Microsoft Teams - for example, images or code snippets. type ItemChatsItemMessagesItemHostedContentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemChatsItemMessagesItemHostedContentsRequestBuilder(rawUrl string, req func (m *ItemChatsItemMessagesItemHostedContentsRequestBuilder) Count()(*ItemChatsItemMessagesItemHostedContentsCountRequestBuilder) { return NewItemChatsItemMessagesItemHostedContentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// Get content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a ChatMessageHostedContentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0 func (m *ItemChatsItemMessagesItemHostedContentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChatsItemMessagesItemHostedContentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemChatsItemMessagesItemHostedContentsRequestBuilder) Post(ctx context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentable), nil } -// ToGetRequestInformation retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// ToGetRequestInformation content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a *RequestInformation when successful func (m *ItemChatsItemMessagesItemHostedContentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChatsItemMessagesItemHostedContentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_chats_item_messages_item_replies_chat_message_item_request_builder.go b/users/item_chats_item_messages_item_replies_chat_message_item_request_builder.go index 33945463082..41f7f0c7189 100644 --- a/users/item_chats_item_messages_item_replies_chat_message_item_request_builder.go +++ b/users/item_chats_item_messages_item_replies_chat_message_item_request_builder.go @@ -18,7 +18,7 @@ type ItemChatsItemMessagesItemRepliesChatMessageItemRequestBuilderDeleteRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemChatsItemMessagesItemRepliesChatMessageItemRequestBuilderGetQueryParameters retrieve a single message or a message reply in a channel or a chat. +// ItemChatsItemMessagesItemRepliesChatMessageItemRequestBuilderGetQueryParameters replies for a specified message. Supports $expand for channel messages. type ItemChatsItemMessagesItemRepliesChatMessageItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemChatsItemMessagesItemRepliesChatMessageItemRequestBuilder) Delete(c } return nil } -// Get retrieve a single message or a message reply in a channel or a chat. +// Get replies for a specified message. Supports $expand for channel messages. // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-get?view=graph-rest-1.0 func (m *ItemChatsItemMessagesItemRepliesChatMessageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChatsItemMessagesItemRepliesChatMessageItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -139,7 +136,7 @@ func (m *ItemChatsItemMessagesItemRepliesChatMessageItemRequestBuilder) ToDelete requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a single message or a message reply in a channel or a chat. +// ToGetRequestInformation replies for a specified message. Supports $expand for channel messages. // returns a *RequestInformation when successful func (m *ItemChatsItemMessagesItemRepliesChatMessageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChatsItemMessagesItemRepliesChatMessageItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_chats_item_messages_item_replies_delta_request_builder.go b/users/item_chats_item_messages_item_replies_delta_request_builder.go index 71f0f81baa5..bc70d86177d 100644 --- a/users/item_chats_item_messages_item_replies_delta_request_builder.go +++ b/users/item_chats_item_messages_item_replies_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemChatsItemMessagesItemRepliesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemChatsItemMessagesItemRepliesDeltaRequestBuilderGetQueryParameters invoke function delta +// ItemChatsItemMessagesItemRepliesDeltaRequestBuilderGetQueryParameters retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. type ItemChatsItemMessagesItemRepliesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewItemChatsItemMessagesItemRepliesDeltaRequestBuilder(rawUrl string, reque urlParams["request-raw-url"] = rawUrl return NewItemChatsItemMessagesItemRepliesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemChatsItemMessagesItemRepliesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-beta func (m *ItemChatsItemMessagesItemRepliesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChatsItemMessagesItemRepliesDeltaRequestBuilderGetRequestConfiguration)(ItemChatsItemMessagesItemRepliesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ItemChatsItemMessagesItemRepliesDeltaRequestBuilder) Get(ctx context.Co } return res.(ItemChatsItemMessagesItemRepliesDeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // returns a ItemChatsItemMessagesItemRepliesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-delta?view=graph-rest-beta func (m *ItemChatsItemMessagesItemRepliesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemChatsItemMessagesItemRepliesDeltaRequestBuilderGetRequestConfiguration)(ItemChatsItemMessagesItemRepliesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ItemChatsItemMessagesItemRepliesDeltaRequestBuilder) GetAsDeltaGetRespo } return res.(ItemChatsItemMessagesItemRepliesDeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation retrieve the list of messages (without the replies) in a channel of a team. By using delta query, you can get new or updated messages in a channel. Delta query supports both full synchronization that retrieves all the messages in the specified channel, and incremental synchronization that retrieves those messages that have been added or changed in the channel since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that messages view periodically. To get the replies for a message, use the list message replies or the get message reply operation. A GET request with the delta function returns either: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call for that same calendar view. A @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin the to retrieve additional changes (messages changed or posted after acquiring @odata.deltaLink). For more information, see the delta query documentation. // returns a *RequestInformation when successful func (m *ItemChatsItemMessagesItemRepliesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChatsItemMessagesItemRepliesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_chats_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/users/item_chats_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index 4a061cdc730..c4d9c20ddc7 100644 --- a/users/item_chats_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/users/item_chats_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -18,7 +18,7 @@ type ItemChatsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentI // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemChatsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters retrieve the properties and relationships of chatMessageHostedContent object. +// ItemChatsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters content in a message hosted by Microsoft Teams - for example, images or code snippets. type ItemChatsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *ItemChatsItemMessagesItemRepliesItemHostedContentsChatMessageHostedCont } return nil } -// Get retrieve the properties and relationships of chatMessageHostedContent object. +// Get content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a ChatMessageHostedContentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessagehostedcontent-get?view=graph-rest-1.0 func (m *ItemChatsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChatsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *ItemChatsItemMessagesItemRepliesItemHostedContentsChatMessageHostedCont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of chatMessageHostedContent object. +// ToGetRequestInformation content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a *RequestInformation when successful func (m *ItemChatsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChatsItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_chats_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go b/users/item_chats_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go index 0ed4b57c42a..6e4cffb5037 100644 --- a/users/item_chats_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go +++ b/users/item_chats_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go @@ -40,9 +40,6 @@ func NewItemChatsItemMessagesItemRepliesItemHostedContentsItemValueContentReques // Get get media content for the navigation property hostedContents from users // 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/chatmessage-list-hostedcontents?view=graph-rest-1.0 func (m *ItemChatsItemMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChatsItemMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_chats_item_messages_item_replies_item_hosted_contents_request_builder.go b/users/item_chats_item_messages_item_replies_item_hosted_contents_request_builder.go index 184ff2c74df..8144d05f3ca 100644 --- a/users/item_chats_item_messages_item_replies_item_hosted_contents_request_builder.go +++ b/users/item_chats_item_messages_item_replies_item_hosted_contents_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemChatsItemMessagesItemRepliesItemHostedContentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemChatsItemMessagesItemRepliesItemHostedContentsRequestBuilderGetQueryParameters retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// ItemChatsItemMessagesItemRepliesItemHostedContentsRequestBuilderGetQueryParameters content in a message hosted by Microsoft Teams - for example, images or code snippets. type ItemChatsItemMessagesItemRepliesItemHostedContentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemChatsItemMessagesItemRepliesItemHostedContentsRequestBuilder(rawUrl func (m *ItemChatsItemMessagesItemRepliesItemHostedContentsRequestBuilder) Count()(*ItemChatsItemMessagesItemRepliesItemHostedContentsCountRequestBuilder) { return NewItemChatsItemMessagesItemRepliesItemHostedContentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// Get content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a ChatMessageHostedContentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0 func (m *ItemChatsItemMessagesItemRepliesItemHostedContentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChatsItemMessagesItemRepliesItemHostedContentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemChatsItemMessagesItemRepliesItemHostedContentsRequestBuilder) Post( } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageHostedContentable), nil } -// ToGetRequestInformation retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s +// ToGetRequestInformation content in a message hosted by Microsoft Teams - for example, images or code snippets. // returns a *RequestInformation when successful func (m *ItemChatsItemMessagesItemRepliesItemHostedContentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChatsItemMessagesItemRepliesItemHostedContentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_chats_item_messages_item_replies_item_soft_delete_request_builder.go b/users/item_chats_item_messages_item_replies_item_soft_delete_request_builder.go index d14f42c5b76..8291c63445c 100644 --- a/users/item_chats_item_messages_item_replies_item_soft_delete_request_builder.go +++ b/users/item_chats_item_messages_item_replies_item_soft_delete_request_builder.go @@ -34,7 +34,7 @@ func NewItemChatsItemMessagesItemRepliesItemSoftDeleteRequestBuilder(rawUrl stri // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-beta func (m *ItemChatsItemMessagesItemRepliesItemSoftDeleteRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemChatsItemMessagesItemRepliesItemSoftDeleteRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_chats_item_messages_item_replies_item_undo_soft_delete_request_builder.go b/users/item_chats_item_messages_item_replies_item_undo_soft_delete_request_builder.go index 534c70662b9..d45df0b3f54 100644 --- a/users/item_chats_item_messages_item_replies_item_undo_soft_delete_request_builder.go +++ b/users/item_chats_item_messages_item_replies_item_undo_soft_delete_request_builder.go @@ -34,7 +34,7 @@ func NewItemChatsItemMessagesItemRepliesItemUndoSoftDeleteRequestBuilder(rawUrl // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-beta func (m *ItemChatsItemMessagesItemRepliesItemUndoSoftDeleteRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemChatsItemMessagesItemRepliesItemUndoSoftDeleteRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_chats_item_messages_item_replies_request_builder.go b/users/item_chats_item_messages_item_replies_request_builder.go index 39e41b177ee..515447d8b95 100644 --- a/users/item_chats_item_messages_item_replies_request_builder.go +++ b/users/item_chats_item_messages_item_replies_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemChatsItemMessagesItemRepliesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemChatsItemMessagesItemRepliesRequestBuilderGetQueryParameters list all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, call get channel message. +// ItemChatsItemMessagesItemRepliesRequestBuilderGetQueryParameters replies for a specified message. Supports $expand for channel messages. type ItemChatsItemMessagesItemRepliesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *ItemChatsItemMessagesItemRepliesRequestBuilder) Count()(*ItemChatsItemM func (m *ItemChatsItemMessagesItemRepliesRequestBuilder) Delta()(*ItemChatsItemMessagesItemRepliesDeltaRequestBuilder) { return NewItemChatsItemMessagesItemRepliesDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, call get channel message. +// Get replies for a specified message. Supports $expand for channel messages. // returns a ChatMessageCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-list-replies?view=graph-rest-1.0 func (m *ItemChatsItemMessagesItemRepliesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChatsItemMessagesItemRepliesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *ItemChatsItemMessagesItemRepliesRequestBuilder) Get(ctx context.Context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageCollectionResponseable), nil } -// Post send a new reply to a chatMessage in a specified channel. +// Post create new navigation property to replies for users // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0 func (m *ItemChatsItemMessagesItemRepliesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemChatsItemMessagesItemRepliesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemChatsItemMessagesItemRepliesRequestBuilder) Post(ctx context.Contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable), nil } -// ToGetRequestInformation list all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, call get channel message. +// ToGetRequestInformation replies for a specified message. Supports $expand for channel messages. // returns a *RequestInformation when successful func (m *ItemChatsItemMessagesItemRepliesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChatsItemMessagesItemRepliesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ItemChatsItemMessagesItemRepliesRequestBuilder) ToGetRequestInformation requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation send a new reply to a chatMessage in a specified channel. +// ToPostRequestInformation create new navigation property to replies for users // returns a *RequestInformation when successful func (m *ItemChatsItemMessagesItemRepliesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemChatsItemMessagesItemRepliesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_chats_item_messages_item_soft_delete_request_builder.go b/users/item_chats_item_messages_item_soft_delete_request_builder.go index 3469208a7d1..1da36d513d9 100644 --- a/users/item_chats_item_messages_item_soft_delete_request_builder.go +++ b/users/item_chats_item_messages_item_soft_delete_request_builder.go @@ -34,7 +34,7 @@ func NewItemChatsItemMessagesItemSoftDeleteRequestBuilder(rawUrl string, request // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-softdelete?view=graph-rest-beta func (m *ItemChatsItemMessagesItemSoftDeleteRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemChatsItemMessagesItemSoftDeleteRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_chats_item_messages_item_undo_soft_delete_request_builder.go b/users/item_chats_item_messages_item_undo_soft_delete_request_builder.go index 4fcb7e0b73f..2e121c9c66c 100644 --- a/users/item_chats_item_messages_item_undo_soft_delete_request_builder.go +++ b/users/item_chats_item_messages_item_undo_soft_delete_request_builder.go @@ -34,7 +34,7 @@ func NewItemChatsItemMessagesItemUndoSoftDeleteRequestBuilder(rawUrl string, req // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-undosoftdelete?view=graph-rest-beta func (m *ItemChatsItemMessagesItemUndoSoftDeleteRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemChatsItemMessagesItemUndoSoftDeleteRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_chats_item_messages_request_builder.go b/users/item_chats_item_messages_request_builder.go index cc7f1f1e2d6..ea639f9eeaa 100644 --- a/users/item_chats_item_messages_request_builder.go +++ b/users/item_chats_item_messages_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemChatsItemMessagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemChatsItemMessagesRequestBuilderGetQueryParameters retrieve the list of messages in a chat. This method supports federation. To list chat messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). +// ItemChatsItemMessagesRequestBuilderGetQueryParameters a collection of all the messages in the chat. Nullable. type ItemChatsItemMessagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *ItemChatsItemMessagesRequestBuilder) Count()(*ItemChatsItemMessagesCoun func (m *ItemChatsItemMessagesRequestBuilder) Delta()(*ItemChatsItemMessagesDeltaRequestBuilder) { return NewItemChatsItemMessagesDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of messages in a chat. This method supports federation. To list chat messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). +// Get a collection of all the messages in the chat. Nullable. // returns a ChatMessageCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-list-messages?view=graph-rest-1.0 func (m *ItemChatsItemMessagesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChatsItemMessagesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *ItemChatsItemMessagesRequestBuilder) Get(ctx context.Context, requestCo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageCollectionResponseable), nil } -// Post send a new chatMessage in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating a chat message. +// Post create new navigation property to messages for users // returns a ChatMessageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-1.0 func (m *ItemChatsItemMessagesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemChatsItemMessagesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemChatsItemMessagesRequestBuilder) Post(ctx context.Context, body ie2 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable), nil } -// ToGetRequestInformation retrieve the list of messages in a chat. This method supports federation. To list chat messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). +// ToGetRequestInformation a collection of all the messages in the chat. Nullable. // returns a *RequestInformation when successful func (m *ItemChatsItemMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChatsItemMessagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ItemChatsItemMessagesRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation send a new chatMessage in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating a chat message. +// ToPostRequestInformation create new navigation property to messages for users // returns a *RequestInformation when successful func (m *ItemChatsItemMessagesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemChatsItemMessagesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_chats_item_operations_request_builder.go b/users/item_chats_item_operations_request_builder.go index 37477139c1d..0036c373357 100644 --- a/users/item_chats_item_operations_request_builder.go +++ b/users/item_chats_item_operations_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemChatsItemOperationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemChatsItemOperationsRequestBuilderGetQueryParameters list all Teams async operations that ran or are running on the specified chat. +// ItemChatsItemOperationsRequestBuilderGetQueryParameters a collection of all the Teams async operations that ran or are running on the chat. Nullable. type ItemChatsItemOperationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemChatsItemOperationsRequestBuilder(rawUrl string, requestAdapter i2ae func (m *ItemChatsItemOperationsRequestBuilder) Count()(*ItemChatsItemOperationsCountRequestBuilder) { return NewItemChatsItemOperationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list all Teams async operations that ran or are running on the specified chat. +// Get a collection of all the Teams async operations that ran or are running on the chat. Nullable. // returns a TeamsAsyncOperationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-list-operations?view=graph-rest-1.0 func (m *ItemChatsItemOperationsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChatsItemOperationsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAsyncOperationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemChatsItemOperationsRequestBuilder) Post(ctx context.Context, body i } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAsyncOperationable), nil } -// ToGetRequestInformation list all Teams async operations that ran or are running on the specified chat. +// ToGetRequestInformation a collection of all the Teams async operations that ran or are running on the chat. Nullable. // returns a *RequestInformation when successful func (m *ItemChatsItemOperationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChatsItemOperationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_chats_item_operations_teams_async_operation_item_request_builder.go b/users/item_chats_item_operations_teams_async_operation_item_request_builder.go index 7e22d740e3a..8f70e465af8 100644 --- a/users/item_chats_item_operations_teams_async_operation_item_request_builder.go +++ b/users/item_chats_item_operations_teams_async_operation_item_request_builder.go @@ -18,7 +18,7 @@ type ItemChatsItemOperationsTeamsAsyncOperationItemRequestBuilderDeleteRequestCo // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemChatsItemOperationsTeamsAsyncOperationItemRequestBuilderGetQueryParameters get the specified Teams async operation that ran or is running on a specific resource. +// ItemChatsItemOperationsTeamsAsyncOperationItemRequestBuilderGetQueryParameters a collection of all the Teams async operations that ran or are running on the chat. Nullable. type ItemChatsItemOperationsTeamsAsyncOperationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemChatsItemOperationsTeamsAsyncOperationItemRequestBuilder) Delete(ct } return nil } -// Get get the specified Teams async operation that ran or is running on a specific resource. +// Get a collection of all the Teams async operations that ran or are running on the chat. Nullable. // returns a TeamsAsyncOperationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/teamsasyncoperation-get?view=graph-rest-1.0 func (m *ItemChatsItemOperationsTeamsAsyncOperationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChatsItemOperationsTeamsAsyncOperationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAsyncOperationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemChatsItemOperationsTeamsAsyncOperationItemRequestBuilder) ToDeleteR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the specified Teams async operation that ran or is running on a specific resource. +// ToGetRequestInformation a collection of all the Teams async operations that ran or are running on the chat. Nullable. // returns a *RequestInformation when successful func (m *ItemChatsItemOperationsTeamsAsyncOperationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChatsItemOperationsTeamsAsyncOperationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_chats_item_permission_grants_request_builder.go b/users/item_chats_item_permission_grants_request_builder.go index 19ce0b1e9f4..bee663b08b8 100644 --- a/users/item_chats_item_permission_grants_request_builder.go +++ b/users/item_chats_item_permission_grants_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemChatsItemPermissionGrantsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemChatsItemPermissionGrantsRequestBuilderGetQueryParameters list all resource-specific permission grants on the chat. This list specifies the Microsoft Entra apps that have access to the chat, along with the corresponding resource-specific access that each app has. +// ItemChatsItemPermissionGrantsRequestBuilderGetQueryParameters a collection of permissions granted to apps for the chat. type ItemChatsItemPermissionGrantsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemChatsItemPermissionGrantsRequestBuilder(rawUrl string, requestAdapte func (m *ItemChatsItemPermissionGrantsRequestBuilder) Count()(*ItemChatsItemPermissionGrantsCountRequestBuilder) { return NewItemChatsItemPermissionGrantsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list all resource-specific permission grants on the chat. This list specifies the Microsoft Entra apps that have access to the chat, along with the corresponding resource-specific access that each app has. +// Get a collection of permissions granted to apps for the chat. // returns a ResourceSpecificPermissionGrantCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-list-permissiongrants?view=graph-rest-1.0 func (m *ItemChatsItemPermissionGrantsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChatsItemPermissionGrantsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ResourceSpecificPermissionGrantCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemChatsItemPermissionGrantsRequestBuilder) Post(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ResourceSpecificPermissionGrantable), nil } -// ToGetRequestInformation list all resource-specific permission grants on the chat. This list specifies the Microsoft Entra apps that have access to the chat, along with the corresponding resource-specific access that each app has. +// ToGetRequestInformation a collection of permissions granted to apps for the chat. // returns a *RequestInformation when successful func (m *ItemChatsItemPermissionGrantsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChatsItemPermissionGrantsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_chats_item_pinned_messages_pinned_chat_message_info_item_request_builder.go b/users/item_chats_item_pinned_messages_pinned_chat_message_info_item_request_builder.go index b11cf099c16..d063c058940 100644 --- a/users/item_chats_item_pinned_messages_pinned_chat_message_info_item_request_builder.go +++ b/users/item_chats_item_pinned_messages_pinned_chat_message_info_item_request_builder.go @@ -54,11 +54,8 @@ func NewItemChatsItemPinnedMessagesPinnedChatMessageInfoItemRequestBuilder(rawUr urlParams["request-raw-url"] = rawUrl return NewItemChatsItemPinnedMessagesPinnedChatMessageInfoItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete unpin a message from a chat. +// Delete delete navigation property pinnedMessages for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-delete-pinnedmessages?view=graph-rest-1.0 func (m *ItemChatsItemPinnedMessagesPinnedChatMessageInfoItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemChatsItemPinnedMessagesPinnedChatMessageInfoItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -118,7 +115,7 @@ func (m *ItemChatsItemPinnedMessagesPinnedChatMessageInfoItemRequestBuilder) Pat } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PinnedChatMessageInfoable), nil } -// ToDeleteRequestInformation unpin a message from a chat. +// ToDeleteRequestInformation delete navigation property pinnedMessages for users // returns a *RequestInformation when successful func (m *ItemChatsItemPinnedMessagesPinnedChatMessageInfoItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemChatsItemPinnedMessagesPinnedChatMessageInfoItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_chats_item_pinned_messages_request_builder.go b/users/item_chats_item_pinned_messages_request_builder.go index 06b32eac5f5..68c5d610222 100644 --- a/users/item_chats_item_pinned_messages_request_builder.go +++ b/users/item_chats_item_pinned_messages_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemChatsItemPinnedMessagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemChatsItemPinnedMessagesRequestBuilderGetQueryParameters get a list of pinnedChatMessages in a chat. +// ItemChatsItemPinnedMessagesRequestBuilderGetQueryParameters a collection of all the pinned messages in the chat. Nullable. type ItemChatsItemPinnedMessagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemChatsItemPinnedMessagesRequestBuilder(rawUrl string, requestAdapter func (m *ItemChatsItemPinnedMessagesRequestBuilder) Count()(*ItemChatsItemPinnedMessagesCountRequestBuilder) { return NewItemChatsItemPinnedMessagesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of pinnedChatMessages in a chat. +// Get a collection of all the pinned messages in the chat. Nullable. // returns a PinnedChatMessageInfoCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-list-pinnedmessages?view=graph-rest-1.0 func (m *ItemChatsItemPinnedMessagesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChatsItemPinnedMessagesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PinnedChatMessageInfoCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemChatsItemPinnedMessagesRequestBuilder) Get(ctx context.Context, req } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PinnedChatMessageInfoCollectionResponseable), nil } -// Post pin a chat message in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can pin a chat message. +// Post create new navigation property to pinnedMessages for users // returns a PinnedChatMessageInfoable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-post-pinnedmessages?view=graph-rest-1.0 func (m *ItemChatsItemPinnedMessagesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PinnedChatMessageInfoable, requestConfiguration *ItemChatsItemPinnedMessagesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PinnedChatMessageInfoable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemChatsItemPinnedMessagesRequestBuilder) Post(ctx context.Context, bo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PinnedChatMessageInfoable), nil } -// ToGetRequestInformation get a list of pinnedChatMessages in a chat. +// ToGetRequestInformation a collection of all the pinned messages in the chat. Nullable. // returns a *RequestInformation when successful func (m *ItemChatsItemPinnedMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChatsItemPinnedMessagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemChatsItemPinnedMessagesRequestBuilder) ToGetRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation pin a chat message in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can pin a chat message. +// ToPostRequestInformation create new navigation property to pinnedMessages for users // returns a *RequestInformation when successful func (m *ItemChatsItemPinnedMessagesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PinnedChatMessageInfoable, requestConfiguration *ItemChatsItemPinnedMessagesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_chats_item_remove_all_access_for_user_request_builder.go b/users/item_chats_item_remove_all_access_for_user_request_builder.go index efed5ccd0da..aeee033de70 100644 --- a/users/item_chats_item_remove_all_access_for_user_request_builder.go +++ b/users/item_chats_item_remove_all_access_for_user_request_builder.go @@ -34,7 +34,7 @@ func NewItemChatsItemRemoveAllAccessForUserRequestBuilder(rawUrl string, request // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-removeallaccessforuser?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chat-removeallaccessforuser?view=graph-rest-beta func (m *ItemChatsItemRemoveAllAccessForUserRequestBuilder) Post(ctx context.Context, body ItemChatsItemRemoveAllAccessForUserPostRequestBodyable, requestConfiguration *ItemChatsItemRemoveAllAccessForUserRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_chats_item_send_activity_notification_request_builder.go b/users/item_chats_item_send_activity_notification_request_builder.go index 2108d4f5486..ca55175f4c6 100644 --- a/users/item_chats_item_send_activity_notification_request_builder.go +++ b/users/item_chats_item_send_activity_notification_request_builder.go @@ -34,7 +34,7 @@ func NewItemChatsItemSendActivityNotificationRequestBuilder(rawUrl string, reque // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-sendactivitynotification?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chat-sendactivitynotification?view=graph-rest-beta func (m *ItemChatsItemSendActivityNotificationRequestBuilder) Post(ctx context.Context, body ItemChatsItemSendActivityNotificationPostRequestBodyable, requestConfiguration *ItemChatsItemSendActivityNotificationRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_chats_item_tabs_request_builder.go b/users/item_chats_item_tabs_request_builder.go index a48c6000d66..dd09a62d8f1 100644 --- a/users/item_chats_item_tabs_request_builder.go +++ b/users/item_chats_item_tabs_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemChatsItemTabsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemChatsItemTabsRequestBuilderGetQueryParameters retrieve the list of tabs in the specified chat. +// ItemChatsItemTabsRequestBuilderGetQueryParameters a collection of all the tabs in the chat. Nullable. type ItemChatsItemTabsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemChatsItemTabsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7 func (m *ItemChatsItemTabsRequestBuilder) Count()(*ItemChatsItemTabsCountRequestBuilder) { return NewItemChatsItemTabsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of tabs in the specified chat. +// Get a collection of all the tabs in the chat. Nullable. // returns a TeamsTabCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-list-tabs?view=graph-rest-1.0 func (m *ItemChatsItemTabsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChatsItemTabsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsTabCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemChatsItemTabsRequestBuilder) Get(ctx context.Context, requestConfig } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsTabCollectionResponseable), nil } -// Post add (pin) a tab to the specified chat. The corresponding app must already be installed in the chat. +// Post create new navigation property to tabs for users // returns a TeamsTabable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-post-tabs?view=graph-rest-1.0 func (m *ItemChatsItemTabsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsTabable, requestConfiguration *ItemChatsItemTabsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsTabable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemChatsItemTabsRequestBuilder) Post(ctx context.Context, body ie233ee } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsTabable), nil } -// ToGetRequestInformation retrieve the list of tabs in the specified chat. +// ToGetRequestInformation a collection of all the tabs in the chat. Nullable. // returns a *RequestInformation when successful func (m *ItemChatsItemTabsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChatsItemTabsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemChatsItemTabsRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add (pin) a tab to the specified chat. The corresponding app must already be installed in the chat. +// ToPostRequestInformation create new navigation property to tabs for users // returns a *RequestInformation when successful func (m *ItemChatsItemTabsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsTabable, requestConfiguration *ItemChatsItemTabsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_chats_item_tabs_teams_tab_item_request_builder.go b/users/item_chats_item_tabs_teams_tab_item_request_builder.go index 070cc1d8e11..d307b2c6654 100644 --- a/users/item_chats_item_tabs_teams_tab_item_request_builder.go +++ b/users/item_chats_item_tabs_teams_tab_item_request_builder.go @@ -18,7 +18,7 @@ type ItemChatsItemTabsTeamsTabItemRequestBuilderDeleteRequestConfiguration struc // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemChatsItemTabsTeamsTabItemRequestBuilderGetQueryParameters retrieve the properties and relationships of the specified tab in a chat. +// ItemChatsItemTabsTeamsTabItemRequestBuilderGetQueryParameters a collection of all the tabs in the chat. Nullable. type ItemChatsItemTabsTeamsTabItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemChatsItemTabsTeamsTabItemRequestBuilder(rawUrl string, requestAdapte urlParams["request-raw-url"] = rawUrl return NewItemChatsItemTabsTeamsTabItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove (unpin) a tab from the specified chat. +// Delete delete navigation property tabs for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-delete-tabs?view=graph-rest-1.0 func (m *ItemChatsItemTabsTeamsTabItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemChatsItemTabsTeamsTabItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemChatsItemTabsTeamsTabItemRequestBuilder) Delete(ctx context.Context } return nil } -// Get retrieve the properties and relationships of the specified tab in a chat. +// Get a collection of all the tabs in the chat. Nullable. // returns a TeamsTabable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-get-tabs?view=graph-rest-1.0 func (m *ItemChatsItemTabsTeamsTabItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChatsItemTabsTeamsTabItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsTabable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ItemChatsItemTabsTeamsTabItemRequestBuilder) Get(ctx context.Context, r } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsTabable), nil } -// Patch update the properties of the specified tab in a chat. This API can be used to configure the content of the tab. +// Patch update the navigation property tabs in users // returns a TeamsTabable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-patch-tabs?view=graph-rest-1.0 func (m *ItemChatsItemTabsTeamsTabItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsTabable, requestConfiguration *ItemChatsItemTabsTeamsTabItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsTabable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -124,7 +115,7 @@ func (m *ItemChatsItemTabsTeamsTabItemRequestBuilder) Patch(ctx context.Context, func (m *ItemChatsItemTabsTeamsTabItemRequestBuilder) TeamsApp()(*ItemChatsItemTabsItemTeamsAppRequestBuilder) { return NewItemChatsItemTabsItemTeamsAppRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation remove (unpin) a tab from the specified chat. +// ToDeleteRequestInformation delete navigation property tabs for users // returns a *RequestInformation when successful func (m *ItemChatsItemTabsTeamsTabItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemChatsItemTabsTeamsTabItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -135,7 +126,7 @@ func (m *ItemChatsItemTabsTeamsTabItemRequestBuilder) ToDeleteRequestInformation requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of the specified tab in a chat. +// ToGetRequestInformation a collection of all the tabs in the chat. Nullable. // returns a *RequestInformation when successful func (m *ItemChatsItemTabsTeamsTabItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChatsItemTabsTeamsTabItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -149,7 +140,7 @@ func (m *ItemChatsItemTabsTeamsTabItemRequestBuilder) ToGetRequestInformation(ct requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of the specified tab in a chat. This API can be used to configure the content of the tab. +// ToPatchRequestInformation update the navigation property tabs in users // returns a *RequestInformation when successful func (m *ItemChatsItemTabsTeamsTabItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsTabable, requestConfiguration *ItemChatsItemTabsTeamsTabItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_chats_item_unhide_for_user_request_builder.go b/users/item_chats_item_unhide_for_user_request_builder.go index 7ed62e4d723..dfee66193c1 100644 --- a/users/item_chats_item_unhide_for_user_request_builder.go +++ b/users/item_chats_item_unhide_for_user_request_builder.go @@ -34,7 +34,7 @@ func NewItemChatsItemUnhideForUserRequestBuilder(rawUrl string, requestAdapter i // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-unhideforuser?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chat-unhideforuser?view=graph-rest-beta func (m *ItemChatsItemUnhideForUserRequestBuilder) Post(ctx context.Context, body ItemChatsItemUnhideForUserPostRequestBodyable, requestConfiguration *ItemChatsItemUnhideForUserRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_chats_request_builder.go b/users/item_chats_request_builder.go index 885ecd4837d..ae5100b5fda 100644 --- a/users/item_chats_request_builder.go +++ b/users/item_chats_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemChatsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemChatsRequestBuilderGetQueryParameters retrieve the list of chats that the user is part of. This method supports federation. When a user ID is provided, the calling application must belong to the same tenant that the user belongs to. +// ItemChatsRequestBuilderGetQueryParameters get chats from users type ItemChatsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func NewItemChatsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee2633 func (m *ItemChatsRequestBuilder) Count()(*ItemChatsCountRequestBuilder) { return NewItemChatsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of chats that the user is part of. This method supports federation. When a user ID is provided, the calling application must belong to the same tenant that the user belongs to. +// Get get chats from users // returns a ChatCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-list?view=graph-rest-1.0 func (m *ItemChatsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemChatsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -134,7 +131,7 @@ func (m *ItemChatsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Chatable), nil } -// ToGetRequestInformation retrieve the list of chats that the user is part of. This method supports federation. When a user ID is provided, the calling application must belong to the same tenant that the user belongs to. +// ToGetRequestInformation get chats from users // returns a *RequestInformation when successful func (m *ItemChatsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChatsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_check_member_groups_request_builder.go b/users/item_check_member_groups_request_builder.go index f5a041a2812..47f6abf634c 100644 --- a/users/item_check_member_groups_request_builder.go +++ b/users/item_check_member_groups_request_builder.go @@ -36,7 +36,7 @@ func NewItemCheckMemberGroupsRequestBuilder(rawUrl string, requestAdapter i2ae41 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-beta func (m *ItemCheckMemberGroupsRequestBuilder) Post(ctx context.Context, body ItemCheckMemberGroupsPostRequestBodyable, requestConfiguration *ItemCheckMemberGroupsRequestBuilderPostRequestConfiguration)(ItemCheckMemberGroupsResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ItemCheckMemberGroupsRequestBuilder) Post(ctx context.Context, body Ite // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-beta func (m *ItemCheckMemberGroupsRequestBuilder) PostAsCheckMemberGroupsPostResponse(ctx context.Context, body ItemCheckMemberGroupsPostRequestBodyable, requestConfiguration *ItemCheckMemberGroupsRequestBuilderPostRequestConfiguration)(ItemCheckMemberGroupsPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_cloud_clipboard_items_request_builder.go b/users/item_cloud_clipboard_items_request_builder.go index 517d367162c..78c45bd05f7 100644 --- a/users/item_cloud_clipboard_items_request_builder.go +++ b/users/item_cloud_clipboard_items_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCloudClipboardItemsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCloudClipboardItemsRequestBuilderGetQueryParameters get a list of the cloudClipboardItem objects and their properties for a user. This API only allows you to get cloudClipboardItem objects for: This API doesn't support using another user's credentials to get a cloudClipboardItem for a user. +// ItemCloudClipboardItemsRequestBuilderGetQueryParameters represents a collection of Cloud Clipboard items. type ItemCloudClipboardItemsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemCloudClipboardItemsRequestBuilder(rawUrl string, requestAdapter i2ae func (m *ItemCloudClipboardItemsRequestBuilder) Count()(*ItemCloudClipboardItemsCountRequestBuilder) { return NewItemCloudClipboardItemsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the cloudClipboardItem objects and their properties for a user. This API only allows you to get cloudClipboardItem objects for: This API doesn't support using another user's credentials to get a cloudClipboardItem for a user. +// Get represents a collection of Cloud Clipboard items. // returns a CloudClipboardItemCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/cloudclipboardroot-list-items?view=graph-rest-1.0 func (m *ItemCloudClipboardItemsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCloudClipboardItemsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudClipboardItemCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemCloudClipboardItemsRequestBuilder) Post(ctx context.Context, body i } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudClipboardItemable), nil } -// ToGetRequestInformation get a list of the cloudClipboardItem objects and their properties for a user. This API only allows you to get cloudClipboardItem objects for: This API doesn't support using another user's credentials to get a cloudClipboardItem for a user. +// ToGetRequestInformation represents a collection of Cloud Clipboard items. // returns a *RequestInformation when successful func (m *ItemCloudClipboardItemsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCloudClipboardItemsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_cloud_p_cs_bulk_resize_request_builder.go b/users/item_cloud_p_cs_bulk_resize_request_builder.go index e7b15ba8476..10affba1ec8 100644 --- a/users/item_cloud_p_cs_bulk_resize_request_builder.go +++ b/users/item_cloud_p_cs_bulk_resize_request_builder.go @@ -36,7 +36,7 @@ func NewItemCloudPCsBulkResizeRequestBuilder(rawUrl string, requestAdapter i2ae4 // returns a ODataError error 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-bulkresize?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpc-bulkresize?view=graph-rest-beta func (m *ItemCloudPCsBulkResizeRequestBuilder) Post(ctx context.Context, body ItemCloudPCsBulkResizePostRequestBodyable, requestConfiguration *ItemCloudPCsBulkResizeRequestBuilderPostRequestConfiguration)(ItemCloudPCsBulkResizeResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -60,7 +60,7 @@ func (m *ItemCloudPCsBulkResizeRequestBuilder) Post(ctx context.Context, body 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/cloudpc-bulkresize?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpc-bulkresize?view=graph-rest-beta func (m *ItemCloudPCsBulkResizeRequestBuilder) PostAsBulkResizePostResponse(ctx context.Context, body ItemCloudPCsBulkResizePostRequestBodyable, requestConfiguration *ItemCloudPCsBulkResizeRequestBuilderPostRequestConfiguration)(ItemCloudPCsBulkResizePostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_cloud_p_cs_cloud_p_c_item_request_builder.go b/users/item_cloud_p_cs_cloud_p_c_item_request_builder.go index 207b937b9d1..4d33b4e8073 100644 --- a/users/item_cloud_p_cs_cloud_p_c_item_request_builder.go +++ b/users/item_cloud_p_cs_cloud_p_c_item_request_builder.go @@ -18,7 +18,7 @@ type ItemCloudPCsCloudPCItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemCloudPCsCloudPCItemRequestBuilderGetQueryParameters read the properties and relationships of a specific cloudPC object. +// ItemCloudPCsCloudPCItemRequestBuilderGetQueryParameters get cloudPCs from users type ItemCloudPCsCloudPCItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -85,12 +85,9 @@ func (m *ItemCloudPCsCloudPCItemRequestBuilder) Delete(ctx context.Context, requ func (m *ItemCloudPCsCloudPCItemRequestBuilder) EndGracePeriod()(*ItemCloudPCsItemEndGracePeriodRequestBuilder) { return NewItemCloudPCsItemEndGracePeriodRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of a specific cloudPC object. +// Get get cloudPCs from users // returns a CloudPCable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemCloudPCsCloudPCItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCloudPCsCloudPCItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPCable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -214,7 +211,7 @@ func (m *ItemCloudPCsCloudPCItemRequestBuilder) ToDeleteRequestInformation(ctx c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a specific cloudPC object. +// ToGetRequestInformation get cloudPCs from users // returns a *RequestInformation when successful func (m *ItemCloudPCsCloudPCItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCloudPCsCloudPCItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_cloud_p_cs_get_provisioned_cloud_p_cs_with_group_id_with_service_plan_id_request_builder.go b/users/item_cloud_p_cs_get_provisioned_cloud_p_cs_with_group_id_with_service_plan_id_request_builder.go index bd0d91e2bcb..ca9329791df 100644 --- a/users/item_cloud_p_cs_get_provisioned_cloud_p_cs_with_group_id_with_service_plan_id_request_builder.go +++ b/users/item_cloud_p_cs_get_provisioned_cloud_p_cs_with_group_id_with_service_plan_id_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemCloudPCsGetProvisionedCloudPCsWithGroupIdWithServicePlanIdRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCloudPCsGetProvisionedCloudPCsWithGroupIdWithServicePlanIdRequestBuilderGetQueryParameters invoke function getProvisionedCloudPCs +// ItemCloudPCsGetProvisionedCloudPCsWithGroupIdWithServicePlanIdRequestBuilderGetQueryParameters get all provisioned Cloud PCs of a specific service plan for users under a Microsoft Entra user group. type ItemCloudPCsGetProvisionedCloudPCsWithGroupIdWithServicePlanIdRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -57,10 +57,13 @@ func NewItemCloudPCsGetProvisionedCloudPCsWithGroupIdWithServicePlanIdRequestBui urlParams["request-raw-url"] = rawUrl return NewItemCloudPCsGetProvisionedCloudPCsWithGroupIdWithServicePlanIdRequestBuilderInternal(urlParams, requestAdapter, nil, nil) } -// Get invoke function getProvisionedCloudPCs +// Get get all provisioned Cloud PCs of a specific service plan for users under a Microsoft Entra user group. // Deprecated: This method is obsolete. Use GetAsGetProvisionedCloudPCsWithGroupIdWithServicePlanIdGetResponse instead. // returns a ItemCloudPCsGetProvisionedCloudPCsWithGroupIdWithServicePlanIdResponseable when successful // returns a ODataError error 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-getprovisionedcloudpcs?view=graph-rest-beta func (m *ItemCloudPCsGetProvisionedCloudPCsWithGroupIdWithServicePlanIdRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCloudPCsGetProvisionedCloudPCsWithGroupIdWithServicePlanIdRequestBuilderGetRequestConfiguration)(ItemCloudPCsGetProvisionedCloudPCsWithGroupIdWithServicePlanIdResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,9 +81,12 @@ func (m *ItemCloudPCsGetProvisionedCloudPCsWithGroupIdWithServicePlanIdRequestBu } return res.(ItemCloudPCsGetProvisionedCloudPCsWithGroupIdWithServicePlanIdResponseable), nil } -// GetAsGetProvisionedCloudPCsWithGroupIdWithServicePlanIdGetResponse invoke function getProvisionedCloudPCs +// GetAsGetProvisionedCloudPCsWithGroupIdWithServicePlanIdGetResponse get all provisioned Cloud PCs of a specific service plan for users under a Microsoft Entra user group. // returns a ItemCloudPCsGetProvisionedCloudPCsWithGroupIdWithServicePlanIdGetResponseable when successful // returns a ODataError error 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-getprovisionedcloudpcs?view=graph-rest-beta func (m *ItemCloudPCsGetProvisionedCloudPCsWithGroupIdWithServicePlanIdRequestBuilder) GetAsGetProvisionedCloudPCsWithGroupIdWithServicePlanIdGetResponse(ctx context.Context, requestConfiguration *ItemCloudPCsGetProvisionedCloudPCsWithGroupIdWithServicePlanIdRequestBuilderGetRequestConfiguration)(ItemCloudPCsGetProvisionedCloudPCsWithGroupIdWithServicePlanIdGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,7 +104,7 @@ func (m *ItemCloudPCsGetProvisionedCloudPCsWithGroupIdWithServicePlanIdRequestBu } return res.(ItemCloudPCsGetProvisionedCloudPCsWithGroupIdWithServicePlanIdGetResponseable), nil } -// ToGetRequestInformation invoke function getProvisionedCloudPCs +// ToGetRequestInformation get all provisioned Cloud PCs of a specific service plan for users under a Microsoft Entra user group. // returns a *RequestInformation when successful func (m *ItemCloudPCsGetProvisionedCloudPCsWithGroupIdWithServicePlanIdRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCloudPCsGetProvisionedCloudPCsWithGroupIdWithServicePlanIdRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_cloud_p_cs_item_change_user_account_type_request_builder.go b/users/item_cloud_p_cs_item_change_user_account_type_request_builder.go index 1e64ebbf6bf..db15c9ad576 100644 --- a/users/item_cloud_p_cs_item_change_user_account_type_request_builder.go +++ b/users/item_cloud_p_cs_item_change_user_account_type_request_builder.go @@ -34,7 +34,7 @@ func NewItemCloudPCsItemChangeUserAccountTypeRequestBuilder(rawUrl string, reque // returns a ODataError error 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-changeuseraccounttype?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpc-changeuseraccounttype?view=graph-rest-beta func (m *ItemCloudPCsItemChangeUserAccountTypeRequestBuilder) Post(ctx context.Context, body ItemCloudPCsItemChangeUserAccountTypePostRequestBodyable, requestConfiguration *ItemCloudPCsItemChangeUserAccountTypeRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_cloud_p_cs_item_end_grace_period_request_builder.go b/users/item_cloud_p_cs_item_end_grace_period_request_builder.go index b4ee85a682d..68a38711aff 100644 --- a/users/item_cloud_p_cs_item_end_grace_period_request_builder.go +++ b/users/item_cloud_p_cs_item_end_grace_period_request_builder.go @@ -34,7 +34,7 @@ func NewItemCloudPCsItemEndGracePeriodRequestBuilder(rawUrl string, requestAdapt // returns a ODataError error 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-endgraceperiod?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpc-endgraceperiod?view=graph-rest-beta func (m *ItemCloudPCsItemEndGracePeriodRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCloudPCsItemEndGracePeriodRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_cloud_p_cs_item_get_cloud_pc_connectivity_history_request_builder.go b/users/item_cloud_p_cs_item_get_cloud_pc_connectivity_history_request_builder.go index 22cb1cfc190..97f22d7f045 100644 --- a/users/item_cloud_p_cs_item_get_cloud_pc_connectivity_history_request_builder.go +++ b/users/item_cloud_p_cs_item_get_cloud_pc_connectivity_history_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemCloudPCsItemGetCloudPcConnectivityHistoryRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCloudPCsItemGetCloudPcConnectivityHistoryRequestBuilderGetQueryParameters invoke function getCloudPcConnectivityHistory +// ItemCloudPCsItemGetCloudPcConnectivityHistoryRequestBuilderGetQueryParameters get the connectivity history of a specific Cloud PC. type ItemCloudPCsItemGetCloudPcConnectivityHistoryRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -45,10 +45,13 @@ func NewItemCloudPCsItemGetCloudPcConnectivityHistoryRequestBuilder(rawUrl strin urlParams["request-raw-url"] = rawUrl return NewItemCloudPCsItemGetCloudPcConnectivityHistoryRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getCloudPcConnectivityHistory +// Get get the connectivity history of a specific Cloud PC. // Deprecated: This method is obsolete. Use GetAsGetCloudPcConnectivityHistoryGetResponse instead. // returns a ItemCloudPCsItemGetCloudPcConnectivityHistoryResponseable when successful // returns a ODataError error 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-getcloudpcconnectivityhistory?view=graph-rest-beta func (m *ItemCloudPCsItemGetCloudPcConnectivityHistoryRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCloudPCsItemGetCloudPcConnectivityHistoryRequestBuilderGetRequestConfiguration)(ItemCloudPCsItemGetCloudPcConnectivityHistoryResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,9 +69,12 @@ func (m *ItemCloudPCsItemGetCloudPcConnectivityHistoryRequestBuilder) Get(ctx co } return res.(ItemCloudPCsItemGetCloudPcConnectivityHistoryResponseable), nil } -// GetAsGetCloudPcConnectivityHistoryGetResponse invoke function getCloudPcConnectivityHistory +// GetAsGetCloudPcConnectivityHistoryGetResponse get the connectivity history of a specific Cloud PC. // returns a ItemCloudPCsItemGetCloudPcConnectivityHistoryGetResponseable when successful // returns a ODataError error 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-getcloudpcconnectivityhistory?view=graph-rest-beta func (m *ItemCloudPCsItemGetCloudPcConnectivityHistoryRequestBuilder) GetAsGetCloudPcConnectivityHistoryGetResponse(ctx context.Context, requestConfiguration *ItemCloudPCsItemGetCloudPcConnectivityHistoryRequestBuilderGetRequestConfiguration)(ItemCloudPCsItemGetCloudPcConnectivityHistoryGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -86,7 +92,7 @@ func (m *ItemCloudPCsItemGetCloudPcConnectivityHistoryRequestBuilder) GetAsGetCl } return res.(ItemCloudPCsItemGetCloudPcConnectivityHistoryGetResponseable), nil } -// ToGetRequestInformation invoke function getCloudPcConnectivityHistory +// ToGetRequestInformation get the connectivity history of a specific Cloud PC. // returns a *RequestInformation when successful func (m *ItemCloudPCsItemGetCloudPcConnectivityHistoryRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCloudPCsItemGetCloudPcConnectivityHistoryRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_cloud_p_cs_item_get_cloud_pc_launch_info_request_builder.go b/users/item_cloud_p_cs_item_get_cloud_pc_launch_info_request_builder.go index 523e4f6df18..d3adbefde9e 100644 --- a/users/item_cloud_p_cs_item_get_cloud_pc_launch_info_request_builder.go +++ b/users/item_cloud_p_cs_item_get_cloud_pc_launch_info_request_builder.go @@ -31,9 +31,12 @@ func NewItemCloudPCsItemGetCloudPcLaunchInfoRequestBuilder(rawUrl string, reques urlParams["request-raw-url"] = rawUrl return NewItemCloudPCsItemGetCloudPcLaunchInfoRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getCloudPcLaunchInfo +// Get get the cloudPCLaunchInfo for the signed-in user. // returns a CloudPcLaunchInfoable when successful // returns a ODataError error 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-getcloudpclaunchinfo?view=graph-rest-beta func (m *ItemCloudPCsItemGetCloudPcLaunchInfoRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCloudPCsItemGetCloudPcLaunchInfoRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcLaunchInfoable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -51,7 +54,7 @@ func (m *ItemCloudPCsItemGetCloudPcLaunchInfoRequestBuilder) Get(ctx context.Con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcLaunchInfoable), nil } -// ToGetRequestInformation invoke function getCloudPcLaunchInfo +// ToGetRequestInformation get the cloudPCLaunchInfo for the signed-in user. // returns a *RequestInformation when successful func (m *ItemCloudPCsItemGetCloudPcLaunchInfoRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCloudPCsItemGetCloudPcLaunchInfoRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_cloud_p_cs_item_get_frontline_cloud_pc_access_state_request_builder.go b/users/item_cloud_p_cs_item_get_frontline_cloud_pc_access_state_request_builder.go index 825bba42b14..b5fa7f62f57 100644 --- a/users/item_cloud_p_cs_item_get_frontline_cloud_pc_access_state_request_builder.go +++ b/users/item_cloud_p_cs_item_get_frontline_cloud_pc_access_state_request_builder.go @@ -31,9 +31,12 @@ func NewItemCloudPCsItemGetFrontlineCloudPcAccessStateRequestBuilder(rawUrl stri urlParams["request-raw-url"] = rawUrl return NewItemCloudPCsItemGetFrontlineCloudPcAccessStateRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getFrontlineCloudPcAccessState +// Get get the frontlineCloudPcAccessState of a frontline Cloud PC. This API only supports shared-use licenses. For more information, see cloudPcProvisioningPolicy. Shared-use licenses allow three users per license, with one user signed in at a time. Callers can get the latest frontline Cloud PC accessState and determine whether the frontline Cloud PC is accessible to a user. If a web client needs to connect to a frontline Cloud PC, the sharedCloudPcAccessState validates the bookmark scenario. If sharedCloudPcAccessState isn't active/activating/standbyMode, the web client shows a bad bookmark. // returns a *FrontlineCloudPcAccessState when successful // returns a ODataError error 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-getfrontlinecloudpcaccessstate?view=graph-rest-beta func (m *ItemCloudPCsItemGetFrontlineCloudPcAccessStateRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCloudPCsItemGetFrontlineCloudPcAccessStateRequestBuilderGetRequestConfiguration)(*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FrontlineCloudPcAccessState, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -51,7 +54,7 @@ func (m *ItemCloudPCsItemGetFrontlineCloudPcAccessStateRequestBuilder) Get(ctx c } return res.(*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FrontlineCloudPcAccessState), nil } -// ToGetRequestInformation invoke function getFrontlineCloudPcAccessState +// ToGetRequestInformation get the frontlineCloudPcAccessState of a frontline Cloud PC. This API only supports shared-use licenses. For more information, see cloudPcProvisioningPolicy. Shared-use licenses allow three users per license, with one user signed in at a time. Callers can get the latest frontline Cloud PC accessState and determine whether the frontline Cloud PC is accessible to a user. If a web client needs to connect to a frontline Cloud PC, the sharedCloudPcAccessState validates the bookmark scenario. If sharedCloudPcAccessState isn't active/activating/standbyMode, the web client shows a bad bookmark. // returns a *RequestInformation when successful func (m *ItemCloudPCsItemGetFrontlineCloudPcAccessStateRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCloudPCsItemGetFrontlineCloudPcAccessStateRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_cloud_p_cs_item_get_shift_work_cloud_pc_access_state_request_builder.go b/users/item_cloud_p_cs_item_get_shift_work_cloud_pc_access_state_request_builder.go index 0b4d2042280..69d3bc50a57 100644 --- a/users/item_cloud_p_cs_item_get_shift_work_cloud_pc_access_state_request_builder.go +++ b/users/item_cloud_p_cs_item_get_shift_work_cloud_pc_access_state_request_builder.go @@ -31,10 +31,13 @@ func NewItemCloudPCsItemGetShiftWorkCloudPcAccessStateRequestBuilder(rawUrl stri urlParams["request-raw-url"] = rawUrl return NewItemCloudPCsItemGetShiftWorkCloudPcAccessStateRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getShiftWorkCloudPcAccessState +// Get get the shiftWorkCloudPcAccessState of a shift work Cloud PC. This API only supports shared-use licenses. For more information, see cloudPcProvisioningPolicy. Shared-use licenses allow three users per license, with one user signed in at a time. Callers can get the latest shift work Cloud PC accessState and determine whether the shift work Cloud PC is accessible to the user. If a web client needs to connect to a shift work Cloud PC, the sharedCloudPcAccessState validates the bookmark scenario. If sharedCloudPcAccessState is not active/activating/standbyMode, the web client shows a 'bad bookmark'. // Deprecated: The getShiftWorkCloudPcAccessState API is deprecated and will stop returning data on Dec 31, 2023. Please use the new getFrontlineCloudPcAccessState API as of 2023-08/getShiftWorkCloudPcAccessState // returns a *ShiftWorkCloudPcAccessState when successful // returns a ODataError error 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-getshiftworkcloudpcaccessstate?view=graph-rest-beta func (m *ItemCloudPCsItemGetShiftWorkCloudPcAccessStateRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCloudPCsItemGetShiftWorkCloudPcAccessStateRequestBuilderGetRequestConfiguration)(*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ShiftWorkCloudPcAccessState, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -52,7 +55,7 @@ func (m *ItemCloudPCsItemGetShiftWorkCloudPcAccessStateRequestBuilder) Get(ctx c } return res.(*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ShiftWorkCloudPcAccessState), nil } -// ToGetRequestInformation invoke function getShiftWorkCloudPcAccessState +// ToGetRequestInformation get the shiftWorkCloudPcAccessState of a shift work Cloud PC. This API only supports shared-use licenses. For more information, see cloudPcProvisioningPolicy. Shared-use licenses allow three users per license, with one user signed in at a time. Callers can get the latest shift work Cloud PC accessState and determine whether the shift work Cloud PC is accessible to the user. If a web client needs to connect to a shift work Cloud PC, the sharedCloudPcAccessState validates the bookmark scenario. If sharedCloudPcAccessState is not active/activating/standbyMode, the web client shows a 'bad bookmark'. // Deprecated: The getShiftWorkCloudPcAccessState API is deprecated and will stop returning data on Dec 31, 2023. Please use the new getFrontlineCloudPcAccessState API as of 2023-08/getShiftWorkCloudPcAccessState // returns a *RequestInformation when successful func (m *ItemCloudPCsItemGetShiftWorkCloudPcAccessStateRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCloudPCsItemGetShiftWorkCloudPcAccessStateRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/users/item_cloud_p_cs_item_get_supported_cloud_pc_remote_actions_request_builder.go b/users/item_cloud_p_cs_item_get_supported_cloud_pc_remote_actions_request_builder.go index 307369e7ce5..f6b19c51426 100644 --- a/users/item_cloud_p_cs_item_get_supported_cloud_pc_remote_actions_request_builder.go +++ b/users/item_cloud_p_cs_item_get_supported_cloud_pc_remote_actions_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemCloudPCsItemGetSupportedCloudPcRemoteActionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCloudPCsItemGetSupportedCloudPcRemoteActionsRequestBuilderGetQueryParameters invoke function getSupportedCloudPcRemoteActions +// ItemCloudPCsItemGetSupportedCloudPcRemoteActionsRequestBuilderGetQueryParameters get a list of supported Cloud PC remote actions for a specific Cloud PC device, including the action names and capabilities. type ItemCloudPCsItemGetSupportedCloudPcRemoteActionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -45,10 +45,13 @@ func NewItemCloudPCsItemGetSupportedCloudPcRemoteActionsRequestBuilder(rawUrl st urlParams["request-raw-url"] = rawUrl return NewItemCloudPCsItemGetSupportedCloudPcRemoteActionsRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getSupportedCloudPcRemoteActions +// Get get a list of supported Cloud PC remote actions for a specific Cloud PC device, including the action names and capabilities. // Deprecated: This method is obsolete. Use GetAsGetSupportedCloudPcRemoteActionsGetResponse instead. // returns a ItemCloudPCsItemGetSupportedCloudPcRemoteActionsResponseable when successful // returns a ODataError error 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-getsupportedcloudpcremoteactions?view=graph-rest-beta func (m *ItemCloudPCsItemGetSupportedCloudPcRemoteActionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCloudPCsItemGetSupportedCloudPcRemoteActionsRequestBuilderGetRequestConfiguration)(ItemCloudPCsItemGetSupportedCloudPcRemoteActionsResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,9 +69,12 @@ func (m *ItemCloudPCsItemGetSupportedCloudPcRemoteActionsRequestBuilder) Get(ctx } return res.(ItemCloudPCsItemGetSupportedCloudPcRemoteActionsResponseable), nil } -// GetAsGetSupportedCloudPcRemoteActionsGetResponse invoke function getSupportedCloudPcRemoteActions +// GetAsGetSupportedCloudPcRemoteActionsGetResponse get a list of supported Cloud PC remote actions for a specific Cloud PC device, including the action names and capabilities. // returns a ItemCloudPCsItemGetSupportedCloudPcRemoteActionsGetResponseable when successful // returns a ODataError error 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-getsupportedcloudpcremoteactions?view=graph-rest-beta func (m *ItemCloudPCsItemGetSupportedCloudPcRemoteActionsRequestBuilder) GetAsGetSupportedCloudPcRemoteActionsGetResponse(ctx context.Context, requestConfiguration *ItemCloudPCsItemGetSupportedCloudPcRemoteActionsRequestBuilderGetRequestConfiguration)(ItemCloudPCsItemGetSupportedCloudPcRemoteActionsGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -86,7 +92,7 @@ func (m *ItemCloudPCsItemGetSupportedCloudPcRemoteActionsRequestBuilder) GetAsGe } return res.(ItemCloudPCsItemGetSupportedCloudPcRemoteActionsGetResponseable), nil } -// ToGetRequestInformation invoke function getSupportedCloudPcRemoteActions +// ToGetRequestInformation get a list of supported Cloud PC remote actions for a specific Cloud PC device, including the action names and capabilities. // returns a *RequestInformation when successful func (m *ItemCloudPCsItemGetSupportedCloudPcRemoteActionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCloudPCsItemGetSupportedCloudPcRemoteActionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_cloud_p_cs_item_power_off_request_builder.go b/users/item_cloud_p_cs_item_power_off_request_builder.go index ace555705f9..6ceefc510d4 100644 --- a/users/item_cloud_p_cs_item_power_off_request_builder.go +++ b/users/item_cloud_p_cs_item_power_off_request_builder.go @@ -34,7 +34,7 @@ func NewItemCloudPCsItemPowerOffRequestBuilder(rawUrl string, requestAdapter i2a // returns a ODataError error 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-poweroff?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpc-poweroff?view=graph-rest-beta func (m *ItemCloudPCsItemPowerOffRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCloudPCsItemPowerOffRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_cloud_p_cs_item_power_on_request_builder.go b/users/item_cloud_p_cs_item_power_on_request_builder.go index 6aec9f41c28..2db7b2bca64 100644 --- a/users/item_cloud_p_cs_item_power_on_request_builder.go +++ b/users/item_cloud_p_cs_item_power_on_request_builder.go @@ -34,7 +34,7 @@ func NewItemCloudPCsItemPowerOnRequestBuilder(rawUrl string, requestAdapter i2ae // returns a ODataError error 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-poweron?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpc-poweron?view=graph-rest-beta func (m *ItemCloudPCsItemPowerOnRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCloudPCsItemPowerOnRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_cloud_p_cs_item_reboot_request_builder.go b/users/item_cloud_p_cs_item_reboot_request_builder.go index 697ca46992b..ecb95fa723d 100644 --- a/users/item_cloud_p_cs_item_reboot_request_builder.go +++ b/users/item_cloud_p_cs_item_reboot_request_builder.go @@ -34,7 +34,7 @@ func NewItemCloudPCsItemRebootRequestBuilder(rawUrl string, requestAdapter i2ae4 // returns a ODataError error 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-reboot?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpc-reboot?view=graph-rest-beta func (m *ItemCloudPCsItemRebootRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCloudPCsItemRebootRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_cloud_p_cs_item_rename_request_builder.go b/users/item_cloud_p_cs_item_rename_request_builder.go index 84150004d3f..64bd45c8c2e 100644 --- a/users/item_cloud_p_cs_item_rename_request_builder.go +++ b/users/item_cloud_p_cs_item_rename_request_builder.go @@ -34,7 +34,7 @@ func NewItemCloudPCsItemRenameRequestBuilder(rawUrl string, requestAdapter i2ae4 // returns a ODataError error 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-rename?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpc-rename?view=graph-rest-beta func (m *ItemCloudPCsItemRenameRequestBuilder) Post(ctx context.Context, body ItemCloudPCsItemRenamePostRequestBodyable, requestConfiguration *ItemCloudPCsItemRenameRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_cloud_p_cs_item_reprovision_request_builder.go b/users/item_cloud_p_cs_item_reprovision_request_builder.go index 146f7a53339..f0f8f6f368e 100644 --- a/users/item_cloud_p_cs_item_reprovision_request_builder.go +++ b/users/item_cloud_p_cs_item_reprovision_request_builder.go @@ -34,7 +34,7 @@ func NewItemCloudPCsItemReprovisionRequestBuilder(rawUrl string, requestAdapter // returns a ODataError error 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-reprovision?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpc-reprovision?view=graph-rest-beta func (m *ItemCloudPCsItemReprovisionRequestBuilder) Post(ctx context.Context, body ItemCloudPCsItemReprovisionPostRequestBodyable, requestConfiguration *ItemCloudPCsItemReprovisionRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_cloud_p_cs_item_restore_request_builder.go b/users/item_cloud_p_cs_item_restore_request_builder.go index 25edf2904ba..c66b9eb4792 100644 --- a/users/item_cloud_p_cs_item_restore_request_builder.go +++ b/users/item_cloud_p_cs_item_restore_request_builder.go @@ -34,7 +34,7 @@ func NewItemCloudPCsItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae // returns a ODataError error 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-restore?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpc-restore?view=graph-rest-beta func (m *ItemCloudPCsItemRestoreRequestBuilder) Post(ctx context.Context, body ItemCloudPCsItemRestorePostRequestBodyable, requestConfiguration *ItemCloudPCsItemRestoreRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_cloud_p_cs_item_retry_partner_agent_installation_request_builder.go b/users/item_cloud_p_cs_item_retry_partner_agent_installation_request_builder.go index 2c717d12929..27efb18fb5c 100644 --- a/users/item_cloud_p_cs_item_retry_partner_agent_installation_request_builder.go +++ b/users/item_cloud_p_cs_item_retry_partner_agent_installation_request_builder.go @@ -34,7 +34,7 @@ func NewItemCloudPCsItemRetryPartnerAgentInstallationRequestBuilder(rawUrl strin // returns a ODataError error 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-retrypartneragentinstallation?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpc-retrypartneragentinstallation?view=graph-rest-beta func (m *ItemCloudPCsItemRetryPartnerAgentInstallationRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCloudPCsItemRetryPartnerAgentInstallationRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_cloud_p_cs_item_start_request_builder.go b/users/item_cloud_p_cs_item_start_request_builder.go index 7d2f1291778..a5defee9c2e 100644 --- a/users/item_cloud_p_cs_item_start_request_builder.go +++ b/users/item_cloud_p_cs_item_start_request_builder.go @@ -34,7 +34,7 @@ func NewItemCloudPCsItemStartRequestBuilder(rawUrl string, requestAdapter i2ae41 // returns a ODataError error 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-start?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpc-start?view=graph-rest-beta func (m *ItemCloudPCsItemStartRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCloudPCsItemStartRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_cloud_p_cs_item_stop_request_builder.go b/users/item_cloud_p_cs_item_stop_request_builder.go index 2c6915ef5cb..effdad74077 100644 --- a/users/item_cloud_p_cs_item_stop_request_builder.go +++ b/users/item_cloud_p_cs_item_stop_request_builder.go @@ -34,7 +34,7 @@ func NewItemCloudPCsItemStopRequestBuilder(rawUrl string, requestAdapter i2ae418 // returns a ODataError error 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-stop?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpc-stop?view=graph-rest-beta func (m *ItemCloudPCsItemStopRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCloudPCsItemStopRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_cloud_p_cs_item_troubleshoot_request_builder.go b/users/item_cloud_p_cs_item_troubleshoot_request_builder.go index 960bd3115b4..c9629b7d534 100644 --- a/users/item_cloud_p_cs_item_troubleshoot_request_builder.go +++ b/users/item_cloud_p_cs_item_troubleshoot_request_builder.go @@ -34,7 +34,7 @@ func NewItemCloudPCsItemTroubleshootRequestBuilder(rawUrl string, requestAdapter // returns a ODataError error 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-troubleshoot?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpc-troubleshoot?view=graph-rest-beta func (m *ItemCloudPCsItemTroubleshootRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemCloudPCsItemTroubleshootRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_cloud_p_cs_request_builder.go b/users/item_cloud_p_cs_request_builder.go index 3247c39b6bd..aea30d09536 100644 --- a/users/item_cloud_p_cs_request_builder.go +++ b/users/item_cloud_p_cs_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCloudPCsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCloudPCsRequestBuilderGetQueryParameters list the cloudPC devices that are attributed to the signed-in user. +// ItemCloudPCsRequestBuilderGetQueryParameters get cloudPCs from users type ItemCloudPCsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func NewItemCloudPCsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee2 func (m *ItemCloudPCsRequestBuilder) Count()(*ItemCloudPCsCountRequestBuilder) { return NewItemCloudPCsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list the cloudPC devices that are attributed to the signed-in user. +// Get get cloudPCs from users // returns a CloudPCCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/user-list-cloudpcs?view=graph-rest-1.0 func (m *ItemCloudPCsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCloudPCsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPCCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *ItemCloudPCsRequestBuilder) Post(ctx context.Context, body ie233ee762e2 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPCable), nil } -// ToGetRequestInformation list the cloudPC devices that are attributed to the signed-in user. +// ToGetRequestInformation get cloudPCs from users // returns a *RequestInformation when successful func (m *ItemCloudPCsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCloudPCsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_cloud_p_cs_validate_bulk_resize_request_builder.go b/users/item_cloud_p_cs_validate_bulk_resize_request_builder.go index 95182169887..006ebda04de 100644 --- a/users/item_cloud_p_cs_validate_bulk_resize_request_builder.go +++ b/users/item_cloud_p_cs_validate_bulk_resize_request_builder.go @@ -36,7 +36,7 @@ func NewItemCloudPCsValidateBulkResizeRequestBuilder(rawUrl string, requestAdapt // returns a ODataError error 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-validatebulkresize?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpc-validatebulkresize?view=graph-rest-beta func (m *ItemCloudPCsValidateBulkResizeRequestBuilder) Post(ctx context.Context, body ItemCloudPCsValidateBulkResizePostRequestBodyable, requestConfiguration *ItemCloudPCsValidateBulkResizeRequestBuilderPostRequestConfiguration)(ItemCloudPCsValidateBulkResizeResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ItemCloudPCsValidateBulkResizeRequestBuilder) Post(ctx context.Context, // returns a ODataError error 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-validatebulkresize?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/cloudpc-validatebulkresize?view=graph-rest-beta func (m *ItemCloudPCsValidateBulkResizeRequestBuilder) PostAsValidateBulkResizePostResponse(ctx context.Context, body ItemCloudPCsValidateBulkResizePostRequestBodyable, requestConfiguration *ItemCloudPCsValidateBulkResizeRequestBuilderPostRequestConfiguration)(ItemCloudPCsValidateBulkResizePostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_contact_folders_contact_folder_item_request_builder.go b/users/item_contact_folders_contact_folder_item_request_builder.go index 0bf99ed67f8..cda0c35727a 100644 --- a/users/item_contact_folders_contact_folder_item_request_builder.go +++ b/users/item_contact_folders_contact_folder_item_request_builder.go @@ -18,7 +18,7 @@ type ItemContactFoldersContactFolderItemRequestBuilderDeleteRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemContactFoldersContactFolderItemRequestBuilderGetQueryParameters get a contact folder by using the contact folder ID. There are two scenarios where an app can get another user's contact folder: +// ItemContactFoldersContactFolderItemRequestBuilderGetQueryParameters the user's contacts folders. Read-only. Nullable. type ItemContactFoldersContactFolderItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -64,11 +64,8 @@ func NewItemContactFoldersContactFolderItemRequestBuilder(rawUrl string, request func (m *ItemContactFoldersContactFolderItemRequestBuilder) Contacts()(*ItemContactFoldersItemContactsRequestBuilder) { return NewItemContactFoldersItemContactsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Delete delete contactFolder other than the default contactFolder. +// Delete delete navigation property contactFolders for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/contactfolder-delete?view=graph-rest-1.0 func (m *ItemContactFoldersContactFolderItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemContactFoldersContactFolderItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -83,12 +80,9 @@ func (m *ItemContactFoldersContactFolderItemRequestBuilder) Delete(ctx context.C } return nil } -// Get get a contact folder by using the contact folder ID. There are two scenarios where an app can get another user's contact folder: +// Get the user's contacts folders. Read-only. Nullable. // returns a ContactFolderable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/contactfolder-get?view=graph-rest-1.0 func (m *ItemContactFoldersContactFolderItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemContactFoldersContactFolderItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContactFolderable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -106,12 +100,9 @@ func (m *ItemContactFoldersContactFolderItemRequestBuilder) Get(ctx context.Cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContactFolderable), nil } -// Patch update the properties of contactfolder object. +// Patch update the navigation property contactFolders in users // returns a ContactFolderable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/contactfolder-update?view=graph-rest-1.0 func (m *ItemContactFoldersContactFolderItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContactFolderable, requestConfiguration *ItemContactFoldersContactFolderItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContactFolderable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -129,7 +120,7 @@ func (m *ItemContactFoldersContactFolderItemRequestBuilder) Patch(ctx context.Co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContactFolderable), nil } -// ToDeleteRequestInformation delete contactFolder other than the default contactFolder. +// ToDeleteRequestInformation delete navigation property contactFolders for users // returns a *RequestInformation when successful func (m *ItemContactFoldersContactFolderItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemContactFoldersContactFolderItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -140,7 +131,7 @@ func (m *ItemContactFoldersContactFolderItemRequestBuilder) ToDeleteRequestInfor requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a contact folder by using the contact folder ID. There are two scenarios where an app can get another user's contact folder: +// ToGetRequestInformation the user's contacts folders. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemContactFoldersContactFolderItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemContactFoldersContactFolderItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -154,7 +145,7 @@ func (m *ItemContactFoldersContactFolderItemRequestBuilder) ToGetRequestInformat requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of contactfolder object. +// ToPatchRequestInformation update the navigation property contactFolders in users // returns a *RequestInformation when successful func (m *ItemContactFoldersContactFolderItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContactFolderable, requestConfiguration *ItemContactFoldersContactFolderItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_contact_folders_delta_request_builder.go b/users/item_contact_folders_delta_request_builder.go index d3b9a324d3f..0b9defaafa3 100644 --- a/users/item_contact_folders_delta_request_builder.go +++ b/users/item_contact_folders_delta_request_builder.go @@ -57,7 +57,7 @@ func NewItemContactFoldersDeltaRequestBuilder(rawUrl string, requestAdapter i2ae // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/contactfolder-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/contactfolder-delta?view=graph-rest-beta func (m *ItemContactFoldersDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemContactFoldersDeltaRequestBuilderGetRequestConfiguration)(ItemContactFoldersDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -80,7 +80,7 @@ func (m *ItemContactFoldersDeltaRequestBuilder) Get(ctx context.Context, request // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/contactfolder-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/contactfolder-delta?view=graph-rest-beta func (m *ItemContactFoldersDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemContactFoldersDeltaRequestBuilderGetRequestConfiguration)(ItemContactFoldersDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_contact_folders_item_child_folders_delta_request_builder.go b/users/item_contact_folders_item_child_folders_delta_request_builder.go index d8d042a6266..0525b486c28 100644 --- a/users/item_contact_folders_item_child_folders_delta_request_builder.go +++ b/users/item_contact_folders_item_child_folders_delta_request_builder.go @@ -57,7 +57,7 @@ func NewItemContactFoldersItemChildFoldersDeltaRequestBuilder(rawUrl string, req // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/contactfolder-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/contactfolder-delta?view=graph-rest-beta func (m *ItemContactFoldersItemChildFoldersDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemContactFoldersItemChildFoldersDeltaRequestBuilderGetRequestConfiguration)(ItemContactFoldersItemChildFoldersDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -80,7 +80,7 @@ func (m *ItemContactFoldersItemChildFoldersDeltaRequestBuilder) Get(ctx context. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/contactfolder-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/contactfolder-delta?view=graph-rest-beta func (m *ItemContactFoldersItemChildFoldersDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemContactFoldersItemChildFoldersDeltaRequestBuilderGetRequestConfiguration)(ItemContactFoldersItemChildFoldersDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_contact_folders_item_child_folders_item_contacts_delta_request_builder.go b/users/item_contact_folders_item_child_folders_item_contacts_delta_request_builder.go index f6aa65843db..a0941e6cb72 100644 --- a/users/item_contact_folders_item_child_folders_item_contacts_delta_request_builder.go +++ b/users/item_contact_folders_item_child_folders_item_contacts_delta_request_builder.go @@ -57,7 +57,7 @@ func NewItemContactFoldersItemChildFoldersItemContactsDeltaRequestBuilder(rawUrl // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/contact-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/contact-delta?view=graph-rest-beta func (m *ItemContactFoldersItemChildFoldersItemContactsDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemContactFoldersItemChildFoldersItemContactsDeltaRequestBuilderGetRequestConfiguration)(ItemContactFoldersItemChildFoldersItemContactsDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -80,7 +80,7 @@ func (m *ItemContactFoldersItemChildFoldersItemContactsDeltaRequestBuilder) Get( // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/contact-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/contact-delta?view=graph-rest-beta func (m *ItemContactFoldersItemChildFoldersItemContactsDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemContactFoldersItemChildFoldersItemContactsDeltaRequestBuilderGetRequestConfiguration)(ItemContactFoldersItemChildFoldersItemContactsDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_contact_folders_item_child_folders_item_contacts_request_builder.go b/users/item_contact_folders_item_child_folders_item_contacts_request_builder.go index 260b626268e..973081e9bc6 100644 --- a/users/item_contact_folders_item_child_folders_item_contacts_request_builder.go +++ b/users/item_contact_folders_item_child_folders_item_contacts_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemContactFoldersItemChildFoldersItemContactsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemContactFoldersItemChildFoldersItemContactsRequestBuilderGetQueryParameters get all the contacts in the signed-in user's mailbox (.../me/contacts), or from the specified contact folder. +// ItemContactFoldersItemChildFoldersItemContactsRequestBuilderGetQueryParameters the contacts in the folder. Navigation property. Read-only. Nullable. type ItemContactFoldersItemChildFoldersItemContactsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemContactFoldersItemChildFoldersItemContactsRequestBuilder) Count()(* func (m *ItemContactFoldersItemChildFoldersItemContactsRequestBuilder) Delta()(*ItemContactFoldersItemChildFoldersItemContactsDeltaRequestBuilder) { return NewItemContactFoldersItemChildFoldersItemContactsDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get all the contacts in the signed-in user's mailbox (.../me/contacts), or from the specified contact folder. +// Get the contacts in the folder. Navigation property. Read-only. Nullable. // returns a ContactCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/contactfolder-list-contacts?view=graph-rest-1.0 func (m *ItemContactFoldersItemChildFoldersItemContactsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemContactFoldersItemChildFoldersItemContactsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContactCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemContactFoldersItemChildFoldersItemContactsRequestBuilder) Get(ctx c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContactCollectionResponseable), nil } -// Post add a contact to the root Contacts folder or to the contacts endpoint of another contact folder. +// Post create new navigation property to contacts for users // returns a Contactable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/contactfolder-post-contacts?view=graph-rest-1.0 func (m *ItemContactFoldersItemChildFoldersItemContactsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Contactable, requestConfiguration *ItemContactFoldersItemChildFoldersItemContactsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Contactable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemContactFoldersItemChildFoldersItemContactsRequestBuilder) Post(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Contactable), nil } -// ToGetRequestInformation get all the contacts in the signed-in user's mailbox (.../me/contacts), or from the specified contact folder. +// ToGetRequestInformation the contacts in the folder. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemContactFoldersItemChildFoldersItemContactsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemContactFoldersItemChildFoldersItemContactsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemContactFoldersItemChildFoldersItemContactsRequestBuilder) ToGetRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add a contact to the root Contacts folder or to the contacts endpoint of another contact folder. +// ToPostRequestInformation create new navigation property to contacts for users // returns a *RequestInformation when successful func (m *ItemContactFoldersItemChildFoldersItemContactsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Contactable, requestConfiguration *ItemContactFoldersItemChildFoldersItemContactsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_contact_folders_item_child_folders_request_builder.go b/users/item_contact_folders_item_child_folders_request_builder.go index 41a7c526df8..4e330e833ce 100644 --- a/users/item_contact_folders_item_child_folders_request_builder.go +++ b/users/item_contact_folders_item_child_folders_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemContactFoldersItemChildFoldersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemContactFoldersItemChildFoldersRequestBuilderGetQueryParameters get a collection of child folders under the specified contact folder. +// ItemContactFoldersItemChildFoldersRequestBuilderGetQueryParameters the collection of child folders in the folder. Navigation property. Read-only. Nullable. type ItemContactFoldersItemChildFoldersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemContactFoldersItemChildFoldersRequestBuilder) Count()(*ItemContactF func (m *ItemContactFoldersItemChildFoldersRequestBuilder) Delta()(*ItemContactFoldersItemChildFoldersDeltaRequestBuilder) { return NewItemContactFoldersItemChildFoldersDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a collection of child folders under the specified contact folder. +// Get the collection of child folders in the folder. Navigation property. Read-only. Nullable. // returns a ContactFolderCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/contactfolder-list-childfolders?view=graph-rest-1.0 func (m *ItemContactFoldersItemChildFoldersRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemContactFoldersItemChildFoldersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContactFolderCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemContactFoldersItemChildFoldersRequestBuilder) Get(ctx context.Conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContactFolderCollectionResponseable), nil } -// Post create a new contactFolder as a child of a specified folder. You can also create a new contactFolder under the user's default contact folder. +// Post create new navigation property to childFolders for users // returns a ContactFolderable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/contactfolder-post-childfolders?view=graph-rest-1.0 func (m *ItemContactFoldersItemChildFoldersRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContactFolderable, requestConfiguration *ItemContactFoldersItemChildFoldersRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContactFolderable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemContactFoldersItemChildFoldersRequestBuilder) Post(ctx context.Cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContactFolderable), nil } -// ToGetRequestInformation get a collection of child folders under the specified contact folder. +// ToGetRequestInformation the collection of child folders in the folder. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemContactFoldersItemChildFoldersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemContactFoldersItemChildFoldersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemContactFoldersItemChildFoldersRequestBuilder) ToGetRequestInformati requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new contactFolder as a child of a specified folder. You can also create a new contactFolder under the user's default contact folder. +// ToPostRequestInformation create new navigation property to childFolders for users // returns a *RequestInformation when successful func (m *ItemContactFoldersItemChildFoldersRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContactFolderable, requestConfiguration *ItemContactFoldersItemChildFoldersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_contact_folders_item_contacts_delta_request_builder.go b/users/item_contact_folders_item_contacts_delta_request_builder.go index f8a463bd90d..960aa700ec0 100644 --- a/users/item_contact_folders_item_contacts_delta_request_builder.go +++ b/users/item_contact_folders_item_contacts_delta_request_builder.go @@ -57,7 +57,7 @@ func NewItemContactFoldersItemContactsDeltaRequestBuilder(rawUrl string, request // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/contact-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/contact-delta?view=graph-rest-beta func (m *ItemContactFoldersItemContactsDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemContactFoldersItemContactsDeltaRequestBuilderGetRequestConfiguration)(ItemContactFoldersItemContactsDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -80,7 +80,7 @@ func (m *ItemContactFoldersItemContactsDeltaRequestBuilder) Get(ctx context.Cont // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/contact-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/contact-delta?view=graph-rest-beta func (m *ItemContactFoldersItemContactsDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemContactFoldersItemContactsDeltaRequestBuilderGetRequestConfiguration)(ItemContactFoldersItemContactsDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_contact_folders_item_contacts_request_builder.go b/users/item_contact_folders_item_contacts_request_builder.go index 4c8fbd50944..5a25cedf881 100644 --- a/users/item_contact_folders_item_contacts_request_builder.go +++ b/users/item_contact_folders_item_contacts_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemContactFoldersItemContactsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemContactFoldersItemContactsRequestBuilderGetQueryParameters get all the contacts in the signed-in user's mailbox (.../me/contacts), or from the specified contact folder. +// ItemContactFoldersItemContactsRequestBuilderGetQueryParameters the contacts in the folder. Navigation property. Read-only. Nullable. type ItemContactFoldersItemContactsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemContactFoldersItemContactsRequestBuilder) Count()(*ItemContactFolde func (m *ItemContactFoldersItemContactsRequestBuilder) Delta()(*ItemContactFoldersItemContactsDeltaRequestBuilder) { return NewItemContactFoldersItemContactsDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get all the contacts in the signed-in user's mailbox (.../me/contacts), or from the specified contact folder. +// Get the contacts in the folder. Navigation property. Read-only. Nullable. // returns a ContactCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/contactfolder-list-contacts?view=graph-rest-1.0 func (m *ItemContactFoldersItemContactsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemContactFoldersItemContactsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContactCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemContactFoldersItemContactsRequestBuilder) Get(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContactCollectionResponseable), nil } -// Post add a contact to the root Contacts folder or to the contacts endpoint of another contact folder. +// Post create new navigation property to contacts for users // returns a Contactable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/contactfolder-post-contacts?view=graph-rest-1.0 func (m *ItemContactFoldersItemContactsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Contactable, requestConfiguration *ItemContactFoldersItemContactsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Contactable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemContactFoldersItemContactsRequestBuilder) Post(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Contactable), nil } -// ToGetRequestInformation get all the contacts in the signed-in user's mailbox (.../me/contacts), or from the specified contact folder. +// ToGetRequestInformation the contacts in the folder. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemContactFoldersItemContactsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemContactFoldersItemContactsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemContactFoldersItemContactsRequestBuilder) ToGetRequestInformation(c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add a contact to the root Contacts folder or to the contacts endpoint of another contact folder. +// ToPostRequestInformation create new navigation property to contacts for users // returns a *RequestInformation when successful func (m *ItemContactFoldersItemContactsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Contactable, requestConfiguration *ItemContactFoldersItemContactsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_contact_folders_request_builder.go b/users/item_contact_folders_request_builder.go index 1864166ce3c..8b3f0f4af76 100644 --- a/users/item_contact_folders_request_builder.go +++ b/users/item_contact_folders_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemContactFoldersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemContactFoldersRequestBuilderGetQueryParameters get all the contact folders in the signed-in user's mailbox. +// ItemContactFoldersRequestBuilderGetQueryParameters the user's contacts folders. Read-only. Nullable. type ItemContactFoldersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemContactFoldersRequestBuilder) Count()(*ItemContactFoldersCountReque func (m *ItemContactFoldersRequestBuilder) Delta()(*ItemContactFoldersDeltaRequestBuilder) { return NewItemContactFoldersDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get all the contact folders in the signed-in user's mailbox. +// Get the user's contacts folders. Read-only. Nullable. // returns a ContactFolderCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/user-list-contactfolders?view=graph-rest-1.0 func (m *ItemContactFoldersRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemContactFoldersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContactFolderCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemContactFoldersRequestBuilder) Get(ctx context.Context, requestConfi } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContactFolderCollectionResponseable), nil } -// Post create a new contactFolder under the user's default contacts folder. You can also create a new contactfolder as a child of any specified contact folder. +// Post create new navigation property to contactFolders for users // returns a ContactFolderable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/user-post-contactfolders?view=graph-rest-1.0 func (m *ItemContactFoldersRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContactFolderable, requestConfiguration *ItemContactFoldersRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContactFolderable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemContactFoldersRequestBuilder) Post(ctx context.Context, body ie233e } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContactFolderable), nil } -// ToGetRequestInformation get all the contact folders in the signed-in user's mailbox. +// ToGetRequestInformation the user's contacts folders. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemContactFoldersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemContactFoldersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemContactFoldersRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new contactFolder under the user's default contacts folder. You can also create a new contactfolder as a child of any specified contact folder. +// ToPostRequestInformation create new navigation property to contactFolders for users // returns a *RequestInformation when successful func (m *ItemContactFoldersRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContactFolderable, requestConfiguration *ItemContactFoldersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_contacts_contact_item_request_builder.go b/users/item_contacts_contact_item_request_builder.go index 330b459503a..d6e260557b7 100644 --- a/users/item_contacts_contact_item_request_builder.go +++ b/users/item_contacts_contact_item_request_builder.go @@ -18,7 +18,7 @@ type ItemContactsContactItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemContactsContactItemRequestBuilderGetQueryParameters retrieve the properties and relationships of contact object. There are two scenarios where an app can get a contact in another user's contact folder: +// ItemContactsContactItemRequestBuilderGetQueryParameters the user's contacts. Read-only. Nullable. type ItemContactsContactItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemContactsContactItemRequestBuilder(rawUrl string, requestAdapter i2ae urlParams["request-raw-url"] = rawUrl return NewItemContactsContactItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete contact. +// Delete delete navigation property contacts for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/contact-delete?view=graph-rest-1.0 func (m *ItemContactsContactItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemContactsContactItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *ItemContactsContactItemRequestBuilder) Delete(ctx context.Context, requ func (m *ItemContactsContactItemRequestBuilder) Extensions()(*ItemContactsItemExtensionsRequestBuilder) { return NewItemContactsItemExtensionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties and relationships of contact object. There are two scenarios where an app can get a contact in another user's contact folder: +// Get the user's contacts. Read-only. Nullable. // returns a Contactable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/contact-get?view=graph-rest-1.0 func (m *ItemContactsContactItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemContactsContactItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Contactable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,12 +95,9 @@ func (m *ItemContactsContactItemRequestBuilder) Get(ctx context.Context, request } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Contactable), nil } -// Patch update the properties of contact object. +// Patch update the navigation property contacts in users // returns a Contactable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/contact-update?view=graph-rest-1.0 func (m *ItemContactsContactItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Contactable, requestConfiguration *ItemContactsContactItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Contactable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -129,7 +120,7 @@ func (m *ItemContactsContactItemRequestBuilder) Patch(ctx context.Context, body func (m *ItemContactsContactItemRequestBuilder) Photo()(*ItemContactsItemPhotoRequestBuilder) { return NewItemContactsItemPhotoRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete contact. +// ToDeleteRequestInformation delete navigation property contacts for users // returns a *RequestInformation when successful func (m *ItemContactsContactItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemContactsContactItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -140,7 +131,7 @@ func (m *ItemContactsContactItemRequestBuilder) ToDeleteRequestInformation(ctx c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of contact object. There are two scenarios where an app can get a contact in another user's contact folder: +// ToGetRequestInformation the user's contacts. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemContactsContactItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemContactsContactItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -154,7 +145,7 @@ func (m *ItemContactsContactItemRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of contact object. +// ToPatchRequestInformation update the navigation property contacts in users // returns a *RequestInformation when successful func (m *ItemContactsContactItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Contactable, requestConfiguration *ItemContactsContactItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_contacts_delta_request_builder.go b/users/item_contacts_delta_request_builder.go index cf1779641e5..20900454e5e 100644 --- a/users/item_contacts_delta_request_builder.go +++ b/users/item_contacts_delta_request_builder.go @@ -57,7 +57,7 @@ func NewItemContactsDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/contact-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/contact-delta?view=graph-rest-beta func (m *ItemContactsDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemContactsDeltaRequestBuilderGetRequestConfiguration)(ItemContactsDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -80,7 +80,7 @@ func (m *ItemContactsDeltaRequestBuilder) Get(ctx context.Context, requestConfig // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/contact-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/contact-delta?view=graph-rest-beta func (m *ItemContactsDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemContactsDeltaRequestBuilderGetRequestConfiguration)(ItemContactsDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_contacts_request_builder.go b/users/item_contacts_request_builder.go index c7f39086969..520d687bf14 100644 --- a/users/item_contacts_request_builder.go +++ b/users/item_contacts_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemContactsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemContactsRequestBuilderGetQueryParameters get contacts in the user's mailbox. There are two scenarios where an app can get contacts in another user's contact folder: +// ItemContactsRequestBuilderGetQueryParameters the user's contacts. Read-only. Nullable. type ItemContactsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *ItemContactsRequestBuilder) Count()(*ItemContactsCountRequestBuilder) { func (m *ItemContactsRequestBuilder) Delta()(*ItemContactsDeltaRequestBuilder) { return NewItemContactsDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get contacts in the user's mailbox. There are two scenarios where an app can get contacts in another user's contact folder: +// Get the user's contacts. Read-only. Nullable. // returns a ContactCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/user-list-contacts?view=graph-rest-1.0 func (m *ItemContactsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemContactsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContactCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *ItemContactsRequestBuilder) Get(ctx context.Context, requestConfigurati } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContactCollectionResponseable), nil } -// Post add a contact to the root Contacts folder or to the contacts endpoint of another contact folder. +// Post create new navigation property to contacts for users // returns a Contactable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/user-post-contacts?view=graph-rest-1.0 func (m *ItemContactsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Contactable, requestConfiguration *ItemContactsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Contactable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemContactsRequestBuilder) Post(ctx context.Context, body ie233ee762e2 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Contactable), nil } -// ToGetRequestInformation get contacts in the user's mailbox. There are two scenarios where an app can get contacts in another user's contact folder: +// ToGetRequestInformation the user's contacts. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemContactsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemContactsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ItemContactsRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add a contact to the root Contacts folder or to the contacts endpoint of another contact folder. +// ToPostRequestInformation create new navigation property to contacts for users // returns a *RequestInformation when successful func (m *ItemContactsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Contactable, requestConfiguration *ItemContactsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_convert_external_to_internal_member_user_request_builder.go b/users/item_convert_external_to_internal_member_user_request_builder.go index 26d086187bc..8d6225e97d4 100644 --- a/users/item_convert_external_to_internal_member_user_request_builder.go +++ b/users/item_convert_external_to_internal_member_user_request_builder.go @@ -36,7 +36,7 @@ func NewItemConvertExternalToInternalMemberUserRequestBuilder(rawUrl string, req // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/user-convertexternaltointernalmemberuser?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/user-convertexternaltointernalmemberuser?view=graph-rest-beta func (m *ItemConvertExternalToInternalMemberUserRequestBuilder) Post(ctx context.Context, body ItemConvertExternalToInternalMemberUserPostRequestBodyable, requestConfiguration *ItemConvertExternalToInternalMemberUserRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversionUserDetailsable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_created_objects_request_builder.go b/users/item_created_objects_request_builder.go index 96058a7fd5c..ec121d137d8 100644 --- a/users/item_created_objects_request_builder.go +++ b/users/item_created_objects_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCreatedObjectsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCreatedObjectsRequestBuilderGetQueryParameters get a list of directory objects that were created by the user. This API returns only those directory objects that were created by a user who isn't in any administrator role; otherwise, it returns an empty object. +// ItemCreatedObjectsRequestBuilderGetQueryParameters directory objects that the user created. Read-only. Nullable. type ItemCreatedObjectsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewItemCreatedObjectsRequestBuilder(rawUrl string, requestAdapter i2ae4187f func (m *ItemCreatedObjectsRequestBuilder) Count()(*ItemCreatedObjectsCountRequestBuilder) { return NewItemCreatedObjectsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of directory objects that were created by the user. This API returns only those directory objects that were created by a user who isn't in any administrator role; otherwise, it returns an empty object. +// Get directory objects that the user created. Read-only. Nullable. // returns a DirectoryObjectCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/user-list-createdobjects?view=graph-rest-1.0 func (m *ItemCreatedObjectsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCreatedObjectsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -97,7 +94,7 @@ func (m *ItemCreatedObjectsRequestBuilder) Get(ctx context.Context, requestConfi func (m *ItemCreatedObjectsRequestBuilder) GraphServicePrincipal()(*ItemCreatedObjectsGraphServicePrincipalRequestBuilder) { return NewItemCreatedObjectsGraphServicePrincipalRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation get a list of directory objects that were created by the user. This API returns only those directory objects that were created by a user who isn't in any administrator role; otherwise, it returns an empty object. +// ToGetRequestInformation directory objects that the user created. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemCreatedObjectsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCreatedObjectsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_delete_password_single_sign_on_credentials_request_builder.go b/users/item_delete_password_single_sign_on_credentials_request_builder.go index fa14db8e50d..e59c48ef5ea 100644 --- a/users/item_delete_password_single_sign_on_credentials_request_builder.go +++ b/users/item_delete_password_single_sign_on_credentials_request_builder.go @@ -34,7 +34,7 @@ func NewItemDeletePasswordSingleSignOnCredentialsRequestBuilder(rawUrl string, r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/user-deletepasswordsinglesignoncredentials?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/user-deletepasswordsinglesignoncredentials?view=graph-rest-beta func (m *ItemDeletePasswordSingleSignOnCredentialsRequestBuilder) Post(ctx context.Context, body ItemDeletePasswordSingleSignOnCredentialsPostRequestBodyable, requestConfiguration *ItemDeletePasswordSingleSignOnCredentialsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_devices_delta_request_builder.go b/users/item_devices_delta_request_builder.go index a5b7772f486..6634806faca 100644 --- a/users/item_devices_delta_request_builder.go +++ b/users/item_devices_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemDevicesDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemDevicesDeltaRequestBuilderGetQueryParameters invoke function delta +// ItemDevicesDeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted devices without performing a full read of the entire resource collection. For more information, see Using delta query. type ItemDevicesDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewItemDevicesDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7d urlParams["request-raw-url"] = rawUrl return NewItemDevicesDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get get newly created, updated, or deleted devices without performing a full read of the entire resource collection. For more information, see Using delta query. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemDevicesDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/device-delta?view=graph-rest-beta func (m *ItemDevicesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemDevicesDeltaRequestBuilderGetRequestConfiguration)(ItemDevicesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ItemDevicesDeltaRequestBuilder) Get(ctx context.Context, requestConfigu } return res.(ItemDevicesDeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse get newly created, updated, or deleted devices without performing a full read of the entire resource collection. For more information, see Using delta query. // returns a ItemDevicesDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/device-delta?view=graph-rest-beta func (m *ItemDevicesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemDevicesDeltaRequestBuilderGetRequestConfiguration)(ItemDevicesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ItemDevicesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Conte } return res.(ItemDevicesDeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation get newly created, updated, or deleted devices without performing a full read of the entire resource collection. For more information, see Using delta query. // returns a *RequestInformation when successful func (m *ItemDevicesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemDevicesDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_devices_item_member_of_request_builder.go b/users/item_devices_item_member_of_request_builder.go index 91ef413b858..940b0df9b26 100644 --- a/users/item_devices_item_member_of_request_builder.go +++ b/users/item_devices_item_member_of_request_builder.go @@ -72,9 +72,6 @@ func (m *ItemDevicesItemMemberOfRequestBuilder) Count()(*ItemDevicesItemMemberOf // Get groups and administrative units that this device is a member of. Read-only. Nullable. Supports $expand. // returns a DirectoryObjectCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/device-list-memberof?view=graph-rest-1.0 func (m *ItemDevicesItemMemberOfRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemDevicesItemMemberOfRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_devices_item_registered_owners_item_ref_request_builder.go b/users/item_devices_item_registered_owners_item_ref_request_builder.go index 04d86d90483..9b450172aa7 100644 --- a/users/item_devices_item_registered_owners_item_ref_request_builder.go +++ b/users/item_devices_item_registered_owners_item_ref_request_builder.go @@ -30,11 +30,8 @@ func NewItemDevicesItemRegisteredOwnersItemRefRequestBuilder(rawUrl string, requ urlParams["request-raw-url"] = rawUrl return NewItemDevicesItemRegisteredOwnersItemRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove a user as a registered owner of the device. +// Delete delete ref of navigation property registeredOwners for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/device-delete-registeredowners?view=graph-rest-1.0 func (m *ItemDevicesItemRegisteredOwnersItemRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemDevicesItemRegisteredOwnersItemRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -49,7 +46,7 @@ func (m *ItemDevicesItemRegisteredOwnersItemRefRequestBuilder) Delete(ctx contex } return nil } -// ToDeleteRequestInformation remove a user as a registered owner of the device. +// ToDeleteRequestInformation delete ref of navigation property registeredOwners for users // returns a *RequestInformation when successful func (m *ItemDevicesItemRegisteredOwnersItemRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemDevicesItemRegisteredOwnersItemRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_devices_item_registered_owners_ref_request_builder.go b/users/item_devices_item_registered_owners_ref_request_builder.go index a332c27d918..bf5574c0bbc 100644 --- a/users/item_devices_item_registered_owners_ref_request_builder.go +++ b/users/item_devices_item_registered_owners_ref_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemDevicesItemRegisteredOwnersRefRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemDevicesItemRegisteredOwnersRefRequestBuilderDeleteQueryParameters remove a user as a registered owner of the device. +// ItemDevicesItemRegisteredOwnersRefRequestBuilderDeleteQueryParameters delete ref of navigation property registeredOwners for users type ItemDevicesItemRegisteredOwnersRefRequestBuilderDeleteQueryParameters struct { // The delete Uri Id *string `uriparametername:"%40id"` @@ -69,11 +69,8 @@ func NewItemDevicesItemRegisteredOwnersRefRequestBuilder(rawUrl string, requestA urlParams["request-raw-url"] = rawUrl return NewItemDevicesItemRegisteredOwnersRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove a user as a registered owner of the device. +// Delete delete ref of navigation property registeredOwners for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/device-delete-registeredowners?view=graph-rest-1.0 func (m *ItemDevicesItemRegisteredOwnersRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemDevicesItemRegisteredOwnersRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -91,9 +88,6 @@ func (m *ItemDevicesItemRegisteredOwnersRefRequestBuilder) Delete(ctx context.Co // Get the user that cloud joined the device or registered their personal device. The registered owner is set at the time of registration. Read-only. Nullable. Supports $expand. // returns a StringCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/device-list-registeredowners?view=graph-rest-1.0 func (m *ItemDevicesItemRegisteredOwnersRefRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemDevicesItemRegisteredOwnersRefRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -111,11 +105,8 @@ func (m *ItemDevicesItemRegisteredOwnersRefRequestBuilder) Get(ctx context.Conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable), nil } -// Post add a user as a registered owner of the device. +// Post create new navigation property ref to registeredOwners for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/device-post-registeredowners?view=graph-rest-1.0 func (m *ItemDevicesItemRegisteredOwnersRefRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *ItemDevicesItemRegisteredOwnersRefRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -130,7 +121,7 @@ func (m *ItemDevicesItemRegisteredOwnersRefRequestBuilder) Post(ctx context.Cont } return nil } -// ToDeleteRequestInformation remove a user as a registered owner of the device. +// ToDeleteRequestInformation delete ref of navigation property registeredOwners for users // returns a *RequestInformation when successful func (m *ItemDevicesItemRegisteredOwnersRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemDevicesItemRegisteredOwnersRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, "{+baseurl}/users/{user%2Did}/devices/{device%2Did}/registeredOwners/$ref?@id={%40id}", m.BaseRequestBuilder.PathParameters) @@ -158,7 +149,7 @@ func (m *ItemDevicesItemRegisteredOwnersRefRequestBuilder) ToGetRequestInformati requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add a user as a registered owner of the device. +// ToPostRequestInformation create new navigation property ref to registeredOwners for users // returns a *RequestInformation when successful func (m *ItemDevicesItemRegisteredOwnersRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *ItemDevicesItemRegisteredOwnersRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/users/{user%2Did}/devices/{device%2Did}/registeredOwners/$ref", m.BaseRequestBuilder.PathParameters) diff --git a/users/item_devices_item_registered_owners_request_builder.go b/users/item_devices_item_registered_owners_request_builder.go index 3e623739b2d..2108dd05921 100644 --- a/users/item_devices_item_registered_owners_request_builder.go +++ b/users/item_devices_item_registered_owners_request_builder.go @@ -72,9 +72,6 @@ func (m *ItemDevicesItemRegisteredOwnersRequestBuilder) Count()(*ItemDevicesItem // Get the user that cloud joined the device or registered their personal device. The registered owner is set at the time of registration. Read-only. Nullable. Supports $expand. // returns a DirectoryObjectCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/device-list-registeredowners?view=graph-rest-1.0 func (m *ItemDevicesItemRegisteredOwnersRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemDevicesItemRegisteredOwnersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_devices_item_registered_users_item_ref_request_builder.go b/users/item_devices_item_registered_users_item_ref_request_builder.go index 2e3e7e37d3b..91cd836e61c 100644 --- a/users/item_devices_item_registered_users_item_ref_request_builder.go +++ b/users/item_devices_item_registered_users_item_ref_request_builder.go @@ -30,11 +30,8 @@ func NewItemDevicesItemRegisteredUsersItemRefRequestBuilder(rawUrl string, reque urlParams["request-raw-url"] = rawUrl return NewItemDevicesItemRegisteredUsersItemRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove a user as a registered user of the device. +// Delete delete ref of navigation property registeredUsers for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/device-delete-registeredusers?view=graph-rest-1.0 func (m *ItemDevicesItemRegisteredUsersItemRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemDevicesItemRegisteredUsersItemRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -49,7 +46,7 @@ func (m *ItemDevicesItemRegisteredUsersItemRefRequestBuilder) Delete(ctx context } return nil } -// ToDeleteRequestInformation remove a user as a registered user of the device. +// ToDeleteRequestInformation delete ref of navigation property registeredUsers for users // returns a *RequestInformation when successful func (m *ItemDevicesItemRegisteredUsersItemRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemDevicesItemRegisteredUsersItemRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_devices_item_registered_users_ref_request_builder.go b/users/item_devices_item_registered_users_ref_request_builder.go index 98ee612dacf..62fff29540a 100644 --- a/users/item_devices_item_registered_users_ref_request_builder.go +++ b/users/item_devices_item_registered_users_ref_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemDevicesItemRegisteredUsersRefRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemDevicesItemRegisteredUsersRefRequestBuilderDeleteQueryParameters remove a user as a registered user of the device. +// ItemDevicesItemRegisteredUsersRefRequestBuilderDeleteQueryParameters delete ref of navigation property registeredUsers for users type ItemDevicesItemRegisteredUsersRefRequestBuilderDeleteQueryParameters struct { // The delete Uri Id *string `uriparametername:"%40id"` @@ -69,11 +69,8 @@ func NewItemDevicesItemRegisteredUsersRefRequestBuilder(rawUrl string, requestAd urlParams["request-raw-url"] = rawUrl return NewItemDevicesItemRegisteredUsersRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove a user as a registered user of the device. +// Delete delete ref of navigation property registeredUsers for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/device-delete-registeredusers?view=graph-rest-1.0 func (m *ItemDevicesItemRegisteredUsersRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemDevicesItemRegisteredUsersRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -91,9 +88,6 @@ func (m *ItemDevicesItemRegisteredUsersRefRequestBuilder) Delete(ctx context.Con // Get collection of registered users of the device. For cloud joined devices and registered personal devices, registered users are set to the same value as registered owners at the time of registration. Read-only. Nullable. Supports $expand. // returns a StringCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/device-list-registeredusers?view=graph-rest-1.0 func (m *ItemDevicesItemRegisteredUsersRefRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemDevicesItemRegisteredUsersRefRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -111,11 +105,8 @@ func (m *ItemDevicesItemRegisteredUsersRefRequestBuilder) Get(ctx context.Contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable), nil } -// Post add a registered user for the device. +// Post create new navigation property ref to registeredUsers for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/device-post-registeredusers?view=graph-rest-1.0 func (m *ItemDevicesItemRegisteredUsersRefRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *ItemDevicesItemRegisteredUsersRefRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -130,7 +121,7 @@ func (m *ItemDevicesItemRegisteredUsersRefRequestBuilder) Post(ctx context.Conte } return nil } -// ToDeleteRequestInformation remove a user as a registered user of the device. +// ToDeleteRequestInformation delete ref of navigation property registeredUsers for users // returns a *RequestInformation when successful func (m *ItemDevicesItemRegisteredUsersRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemDevicesItemRegisteredUsersRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, "{+baseurl}/users/{user%2Did}/devices/{device%2Did}/registeredUsers/$ref?@id={%40id}", m.BaseRequestBuilder.PathParameters) @@ -158,7 +149,7 @@ func (m *ItemDevicesItemRegisteredUsersRefRequestBuilder) ToGetRequestInformatio requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add a registered user for the device. +// ToPostRequestInformation create new navigation property ref to registeredUsers for users // returns a *RequestInformation when successful func (m *ItemDevicesItemRegisteredUsersRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *ItemDevicesItemRegisteredUsersRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/users/{user%2Did}/devices/{device%2Did}/registeredUsers/$ref", m.BaseRequestBuilder.PathParameters) diff --git a/users/item_devices_item_registered_users_request_builder.go b/users/item_devices_item_registered_users_request_builder.go index c1b21f5efe2..d85b7ee08fd 100644 --- a/users/item_devices_item_registered_users_request_builder.go +++ b/users/item_devices_item_registered_users_request_builder.go @@ -72,9 +72,6 @@ func (m *ItemDevicesItemRegisteredUsersRequestBuilder) Count()(*ItemDevicesItemR // Get collection of registered users of the device. For cloud joined devices and registered personal devices, registered users are set to the same value as registered owners at the time of registration. Read-only. Nullable. Supports $expand. // returns a DirectoryObjectCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/device-list-registeredusers?view=graph-rest-1.0 func (m *ItemDevicesItemRegisteredUsersRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemDevicesItemRegisteredUsersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_devices_item_transitive_member_of_request_builder.go b/users/item_devices_item_transitive_member_of_request_builder.go index 326d4c1a44b..8c184715c2f 100644 --- a/users/item_devices_item_transitive_member_of_request_builder.go +++ b/users/item_devices_item_transitive_member_of_request_builder.go @@ -72,9 +72,6 @@ func (m *ItemDevicesItemTransitiveMemberOfRequestBuilder) Count()(*ItemDevicesIt // Get groups and administrative units that this device is a member of. This operation is transitive. Supports $expand. // returns a DirectoryObjectCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/device-list-transitivememberof?view=graph-rest-1.0 func (m *ItemDevicesItemTransitiveMemberOfRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemDevicesItemTransitiveMemberOfRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_devices_item_usage_rights_request_builder.go b/users/item_devices_item_usage_rights_request_builder.go index 206a209cfab..da7723a29bf 100644 --- a/users/item_devices_item_usage_rights_request_builder.go +++ b/users/item_devices_item_usage_rights_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemDevicesItemUsageRightsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemDevicesItemUsageRightsRequestBuilderGetQueryParameters retrieve a list of usageRight objects for a given device. +// ItemDevicesItemUsageRightsRequestBuilderGetQueryParameters represents the usage rights a device has been granted. type ItemDevicesItemUsageRightsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemDevicesItemUsageRightsRequestBuilder(rawUrl string, requestAdapter i func (m *ItemDevicesItemUsageRightsRequestBuilder) Count()(*ItemDevicesItemUsageRightsCountRequestBuilder) { return NewItemDevicesItemUsageRightsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of usageRight objects for a given device. +// Get represents the usage rights a device has been granted. // returns a UsageRightCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/device-list-usagerights?view=graph-rest-1.0 func (m *ItemDevicesItemUsageRightsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemDevicesItemUsageRightsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UsageRightCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemDevicesItemUsageRightsRequestBuilder) Post(ctx context.Context, bod } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UsageRightable), nil } -// ToGetRequestInformation retrieve a list of usageRight objects for a given device. +// ToGetRequestInformation represents the usage rights a device has been granted. // returns a *RequestInformation when successful func (m *ItemDevicesItemUsageRightsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemDevicesItemUsageRightsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_direct_reports_request_builder.go b/users/item_direct_reports_request_builder.go index f99f7da4036..76e3319e176 100644 --- a/users/item_direct_reports_request_builder.go +++ b/users/item_direct_reports_request_builder.go @@ -72,9 +72,6 @@ func (m *ItemDirectReportsRequestBuilder) Count()(*ItemDirectReportsCountRequest // Get the users and contacts that report to the user. (The users and contacts with their manager property set to this user.) Read-only. Nullable. Supports $expand. // returns a DirectoryObjectCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/user-list-directreports?view=graph-rest-1.0 func (m *ItemDirectReportsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemDirectReportsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_drive_request_builder.go b/users/item_drive_request_builder.go index 429080f1f6d..b3f166bbae4 100644 --- a/users/item_drive_request_builder.go +++ b/users/item_drive_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemDriveRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemDriveRequestBuilderGetQueryParameters retrieve the properties and relationships of a drive resource. A drive is the top-level container for a file system, such as OneDrive or SharePoint document libraries. +// ItemDriveRequestBuilderGetQueryParameters the user's OneDrive. Read-only. type ItemDriveRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -40,12 +40,9 @@ func NewItemDriveRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee2633 urlParams["request-raw-url"] = rawUrl return NewItemDriveRequestBuilderInternal(urlParams, requestAdapter) } -// Get retrieve the properties and relationships of a drive resource. A drive is the top-level container for a file system, such as OneDrive or SharePoint document libraries. +// Get the user's OneDrive. Read-only. // returns a Driveable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/drive-get?view=graph-rest-1.0 func (m *ItemDriveRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemDriveRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Driveable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -63,7 +60,7 @@ func (m *ItemDriveRequestBuilder) Get(ctx context.Context, requestConfiguration } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Driveable), nil } -// ToGetRequestInformation retrieve the properties and relationships of a drive resource. A drive is the top-level container for a file system, such as OneDrive or SharePoint document libraries. +// ToGetRequestInformation the user's OneDrive. Read-only. // returns a *RequestInformation when successful func (m *ItemDriveRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemDriveRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_drives_request_builder.go b/users/item_drives_request_builder.go index 35aa38b3e73..75141c8b621 100644 --- a/users/item_drives_request_builder.go +++ b/users/item_drives_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemDrivesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemDrivesRequestBuilderGetQueryParameters retrieve the list of drive resources available for a target user, group, or site. +// ItemDrivesRequestBuilderGetQueryParameters a collection of drives available for this user. Read-only. type ItemDrivesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewItemDrivesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263 func (m *ItemDrivesRequestBuilder) Count()(*ItemDrivesCountRequestBuilder) { return NewItemDrivesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of drive resources available for a target user, group, or site. +// Get a collection of drives available for this user. Read-only. // returns a DriveCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/drive-list?view=graph-rest-1.0 func (m *ItemDrivesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemDrivesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *ItemDrivesRequestBuilder) Get(ctx context.Context, requestConfiguration } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveCollectionResponseable), nil } -// ToGetRequestInformation retrieve the list of drive resources available for a target user, group, or site. +// ToGetRequestInformation a collection of drives available for this user. Read-only. // returns a *RequestInformation when successful func (m *ItemDrivesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemDrivesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_employee_experience_learning_course_activities_learning_course_activity_item_request_builder.go b/users/item_employee_experience_learning_course_activities_learning_course_activity_item_request_builder.go index a4da9de4aa4..f72cf106a45 100644 --- a/users/item_employee_experience_learning_course_activities_learning_course_activity_item_request_builder.go +++ b/users/item_employee_experience_learning_course_activities_learning_course_activity_item_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemEmployeeExperienceLearningCourseActivitiesLearningCourseActivityItemRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemEmployeeExperienceLearningCourseActivitiesLearningCourseActivityItemRequestBuilderGetQueryParameters get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user. +// ItemEmployeeExperienceLearningCourseActivitiesLearningCourseActivityItemRequestBuilderGetQueryParameters get learningCourseActivities from users type ItemEmployeeExperienceLearningCourseActivitiesLearningCourseActivityItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -40,12 +40,9 @@ func NewItemEmployeeExperienceLearningCourseActivitiesLearningCourseActivityItem urlParams["request-raw-url"] = rawUrl return NewItemEmployeeExperienceLearningCourseActivitiesLearningCourseActivityItemRequestBuilderInternal(urlParams, requestAdapter) } -// Get get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user. +// Get get learningCourseActivities from users // returns a LearningCourseActivityable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/learningcourseactivity-get?view=graph-rest-1.0 func (m *ItemEmployeeExperienceLearningCourseActivitiesLearningCourseActivityItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEmployeeExperienceLearningCourseActivitiesLearningCourseActivityItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LearningCourseActivityable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -63,7 +60,7 @@ func (m *ItemEmployeeExperienceLearningCourseActivitiesLearningCourseActivityIte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LearningCourseActivityable), nil } -// ToGetRequestInformation get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user. +// ToGetRequestInformation get learningCourseActivities from users // returns a *RequestInformation when successful func (m *ItemEmployeeExperienceLearningCourseActivitiesLearningCourseActivityItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEmployeeExperienceLearningCourseActivitiesLearningCourseActivityItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_employee_experience_learning_course_activities_request_builder.go b/users/item_employee_experience_learning_course_activities_request_builder.go index f138075ed8e..3f709d46b2f 100644 --- a/users/item_employee_experience_learning_course_activities_request_builder.go +++ b/users/item_employee_experience_learning_course_activities_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemEmployeeExperienceLearningCourseActivitiesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemEmployeeExperienceLearningCourseActivitiesRequestBuilderGetQueryParameters get a list of the learningCourseActivity objects (assigned or self-initiated) for a user. +// ItemEmployeeExperienceLearningCourseActivitiesRequestBuilderGetQueryParameters get learningCourseActivities from users type ItemEmployeeExperienceLearningCourseActivitiesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewItemEmployeeExperienceLearningCourseActivitiesRequestBuilder(rawUrl stri func (m *ItemEmployeeExperienceLearningCourseActivitiesRequestBuilder) Count()(*ItemEmployeeExperienceLearningCourseActivitiesCountRequestBuilder) { return NewItemEmployeeExperienceLearningCourseActivitiesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the learningCourseActivity objects (assigned or self-initiated) for a user. +// Get get learningCourseActivities from users // returns a LearningCourseActivityCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/learningcourseactivity-list?view=graph-rest-1.0 func (m *ItemEmployeeExperienceLearningCourseActivitiesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEmployeeExperienceLearningCourseActivitiesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LearningCourseActivityCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *ItemEmployeeExperienceLearningCourseActivitiesRequestBuilder) Get(ctx c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LearningCourseActivityCollectionResponseable), nil } -// ToGetRequestInformation get a list of the learningCourseActivity objects (assigned or self-initiated) for a user. +// ToGetRequestInformation get learningCourseActivities from users // returns a *RequestInformation when successful func (m *ItemEmployeeExperienceLearningCourseActivitiesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEmployeeExperienceLearningCourseActivitiesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_employee_experience_learning_course_activities_with_externalcourse_activity_id_request_builder.go b/users/item_employee_experience_learning_course_activities_with_externalcourse_activity_id_request_builder.go index 37257b3534a..574162dccd5 100644 --- a/users/item_employee_experience_learning_course_activities_with_externalcourse_activity_id_request_builder.go +++ b/users/item_employee_experience_learning_course_activities_with_externalcourse_activity_id_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemEmployeeExperienceLearningCourseActivitiesWithExternalcourseActivityIdRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemEmployeeExperienceLearningCourseActivitiesWithExternalcourseActivityIdRequestBuilderGetQueryParameters get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user. +// ItemEmployeeExperienceLearningCourseActivitiesWithExternalcourseActivityIdRequestBuilderGetQueryParameters get learningCourseActivities from users type ItemEmployeeExperienceLearningCourseActivitiesWithExternalcourseActivityIdRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -43,12 +43,9 @@ func NewItemEmployeeExperienceLearningCourseActivitiesWithExternalcourseActivity urlParams["request-raw-url"] = rawUrl return NewItemEmployeeExperienceLearningCourseActivitiesWithExternalcourseActivityIdRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user. +// Get get learningCourseActivities from users // returns a LearningCourseActivityable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/learningcourseactivity-get?view=graph-rest-1.0 func (m *ItemEmployeeExperienceLearningCourseActivitiesWithExternalcourseActivityIdRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEmployeeExperienceLearningCourseActivitiesWithExternalcourseActivityIdRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LearningCourseActivityable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,7 +63,7 @@ func (m *ItemEmployeeExperienceLearningCourseActivitiesWithExternalcourseActivit } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LearningCourseActivityable), nil } -// ToGetRequestInformation get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user. +// ToGetRequestInformation get learningCourseActivities from users // returns a *RequestInformation when successful func (m *ItemEmployeeExperienceLearningCourseActivitiesWithExternalcourseActivityIdRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEmployeeExperienceLearningCourseActivitiesWithExternalcourseActivityIdRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, 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 c2036a2b0cf..78e13c99347 100644 --- a/users/item_events_delta_request_builder.go +++ b/users/item_events_delta_request_builder.go @@ -61,7 +61,7 @@ func NewItemEventsDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7da // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemEventsDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEventsDeltaRequestBuilderGetRequestConfiguration)(ItemEventsDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -84,7 +84,7 @@ func (m *ItemEventsDeltaRequestBuilder) Get(ctx context.Context, requestConfigur // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemEventsDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemEventsDeltaRequestBuilderGetRequestConfiguration)(ItemEventsDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_events_event_item_request_builder.go b/users/item_events_event_item_request_builder.go index ed3feeb9041..7c80e53b577 100644 --- a/users/item_events_event_item_request_builder.go +++ b/users/item_events_event_item_request_builder.go @@ -18,7 +18,7 @@ type ItemEventsEventItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemEventsEventItemRequestBuilderGetQueryParameters get the properties and relationships of the specified event object. An app can get an event in another user's calendar if: Because the event resource supports extensions, you can also use the GET operation to get custom properties and extension data in an event instance. +// ItemEventsEventItemRequestBuilderGetQueryParameters the user's events. The default is to show events under the Default Calendar. Read-only. Nullable. type ItemEventsEventItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -79,11 +79,8 @@ func NewItemEventsEventItemRequestBuilder(rawUrl string, requestAdapter i2ae4187 func (m *ItemEventsEventItemRequestBuilder) Decline()(*ItemEventsItemDeclineRequestBuilder) { return NewItemEventsItemDeclineRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Delete removes the specified event from the containing calendar. If the event is a meeting, deleting the event on the organizer's calendar sends a cancellation message to the meeting attendees. +// Delete delete navigation property events for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delete?view=graph-rest-1.0 func (m *ItemEventsEventItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemEventsEventItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -118,12 +115,9 @@ func (m *ItemEventsEventItemRequestBuilder) Extensions()(*ItemEventsItemExtensio func (m *ItemEventsEventItemRequestBuilder) Forward()(*ItemEventsItemForwardRequestBuilder) { return NewItemEventsItemForwardRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the properties and relationships of the specified event object. An app can get an event in another user's calendar if: Because the event resource supports extensions, you can also use the GET operation to get custom properties and extension data in an event instance. +// Get the user's events. The default is to show events under the Default Calendar. Read-only. Nullable. // returns a Eventable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-get?view=graph-rest-1.0 func (m *ItemEventsEventItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEventsEventItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Eventable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -146,12 +140,9 @@ func (m *ItemEventsEventItemRequestBuilder) Get(ctx context.Context, requestConf func (m *ItemEventsEventItemRequestBuilder) Instances()(*ItemEventsItemInstancesRequestBuilder) { return NewItemEventsItemInstancesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of the event object. +// Patch update the navigation property events in users // returns a Eventable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-update?view=graph-rest-1.0 func (m *ItemEventsEventItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Eventable, requestConfiguration *ItemEventsEventItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Eventable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -179,7 +170,7 @@ func (m *ItemEventsEventItemRequestBuilder) SnoozeReminder()(*ItemEventsItemSnoo func (m *ItemEventsEventItemRequestBuilder) TentativelyAccept()(*ItemEventsItemTentativelyAcceptRequestBuilder) { return NewItemEventsItemTentativelyAcceptRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation removes the specified event from the containing calendar. If the event is a meeting, deleting the event on the organizer's calendar sends a cancellation message to the meeting attendees. +// ToDeleteRequestInformation delete navigation property events for users // returns a *RequestInformation when successful func (m *ItemEventsEventItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemEventsEventItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -190,7 +181,7 @@ func (m *ItemEventsEventItemRequestBuilder) ToDeleteRequestInformation(ctx conte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties and relationships of the specified event object. An app can get an event in another user's calendar if: Because the event resource supports extensions, you can also use the GET operation to get custom properties and extension data in an event instance. +// ToGetRequestInformation the user's events. The default is to show events under the Default Calendar. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemEventsEventItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsEventItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -204,7 +195,7 @@ func (m *ItemEventsEventItemRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of the event object. +// ToPatchRequestInformation update the navigation property events in users // returns a *RequestInformation when successful func (m *ItemEventsEventItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Eventable, requestConfiguration *ItemEventsEventItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_events_item_accept_request_builder.go b/users/item_events_item_accept_request_builder.go index cb4bdfca91e..dc683e8db17 100644 --- a/users/item_events_item_accept_request_builder.go +++ b/users/item_events_item_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemAcceptRequestBuilder(rawUrl string, requestAdapter i2ae418 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-beta func (m *ItemEventsItemAcceptRequestBuilder) Post(ctx context.Context, body ItemEventsItemAcceptPostRequestBodyable, requestConfiguration *ItemEventsItemAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_events_item_attachments_attachment_item_request_builder.go b/users/item_events_item_attachments_attachment_item_request_builder.go index 1eca06fc22c..29f7a2752fc 100644 --- a/users/item_events_item_attachments_attachment_item_request_builder.go +++ b/users/item_events_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemEventsItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfigura // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemEventsItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemEventsItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemEventsItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemEventsItemAttachmentsAttachmentItemRequestBuilder(rawUrl string, req urlParams["request-raw-url"] = rawUrl return NewItemEventsItemAttachmentsAttachmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an attachment from a user calendar event, message, Outlook task, or post. +// Delete delete navigation property attachments for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0 func (m *ItemEventsItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemEventsItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemEventsItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx conte } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 func (m *ItemEventsItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEventsItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemEventsItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context. } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToDeleteRequestInformation delete an attachment from a user calendar event, message, Outlook task, or post. +// ToDeleteRequestInformation delete navigation property attachments for users // returns a *RequestInformation when successful func (m *ItemEventsItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemEventsItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemEventsItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_events_item_attachments_create_upload_session_request_builder.go b/users/item_events_item_attachments_create_upload_session_request_builder.go index ad3084cb1da..ad3c6fa4e76 100644 --- a/users/item_events_item_attachments_create_upload_session_request_builder.go +++ b/users/item_events_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemEventsItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl string // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemEventsItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemEventsItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemEventsItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_events_item_attachments_request_builder.go b/users/item_events_item_attachments_request_builder.go index 097654d374a..6c8af14b11b 100644 --- a/users/item_events_item_attachments_request_builder.go +++ b/users/item_events_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemEventsItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemEventsItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to an event. +// ItemEventsItemAttachmentsRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemEventsItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemEventsItemAttachmentsRequestBuilder) Count()(*ItemEventsItemAttachm func (m *ItemEventsItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemEventsItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemEventsItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to an event. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 func (m *ItemEventsItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEventsItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemEventsItemAttachmentsRequestBuilder) Get(ctx context.Context, reque } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post create new navigation property to attachments for users // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemEventsItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemEventsItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemEventsItemAttachmentsRequestBuilder) Post(ctx context.Context, body } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to an event. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemEventsItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemEventsItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx co requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation create new navigation property to attachments for users // returns a *RequestInformation when successful func (m *ItemEventsItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemEventsItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_events_item_cancel_request_builder.go b/users/item_events_item_cancel_request_builder.go index d01d1459fd1..a92438c1535 100644 --- a/users/item_events_item_cancel_request_builder.go +++ b/users/item_events_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemCancelRequestBuilder(rawUrl string, requestAdapter i2ae418 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-beta func (m *ItemEventsItemCancelRequestBuilder) Post(ctx context.Context, body ItemEventsItemCancelPostRequestBodyable, requestConfiguration *ItemEventsItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_events_item_decline_request_builder.go b/users/item_events_item_decline_request_builder.go index c7656a26f40..c492ef65087 100644 --- a/users/item_events_item_decline_request_builder.go +++ b/users/item_events_item_decline_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemDeclineRequestBuilder(rawUrl string, requestAdapter i2ae41 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-beta func (m *ItemEventsItemDeclineRequestBuilder) Post(ctx context.Context, body ItemEventsItemDeclinePostRequestBodyable, requestConfiguration *ItemEventsItemDeclineRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_events_item_dismiss_reminder_request_builder.go b/users/item_events_item_dismiss_reminder_request_builder.go index a4945978500..8bbebffde1c 100644 --- a/users/item_events_item_dismiss_reminder_request_builder.go +++ b/users/item_events_item_dismiss_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemDismissReminderRequestBuilder(rawUrl string, requestAdapte // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-beta func (m *ItemEventsItemDismissReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemEventsItemDismissReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { 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 3e2c3f02b43..59fa0f447fa 100644 --- a/users/item_events_item_exception_occurrences_delta_request_builder.go +++ b/users/item_events_item_exception_occurrences_delta_request_builder.go @@ -61,7 +61,7 @@ func NewItemEventsItemExceptionOccurrencesDeltaRequestBuilder(rawUrl string, req // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemEventsItemExceptionOccurrencesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEventsItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(ItemEventsItemExceptionOccurrencesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -84,7 +84,7 @@ func (m *ItemEventsItemExceptionOccurrencesDeltaRequestBuilder) Get(ctx context. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemEventsItemExceptionOccurrencesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemEventsItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(ItemEventsItemExceptionOccurrencesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_events_item_exception_occurrences_item_accept_request_builder.go b/users/item_events_item_exception_occurrences_item_accept_request_builder.go index 673038e9a10..76d9fdead00 100644 --- a/users/item_events_item_exception_occurrences_item_accept_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemExceptionOccurrencesItemAcceptRequestBuilder(rawUrl string // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-beta func (m *ItemEventsItemExceptionOccurrencesItemAcceptRequestBuilder) Post(ctx context.Context, body ItemEventsItemExceptionOccurrencesItemAcceptPostRequestBodyable, requestConfiguration *ItemEventsItemExceptionOccurrencesItemAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/users/item_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index e8057325b61..a6e7fcc4b20 100644 --- a/users/item_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuild // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBu urlParams["request-raw-url"] = rawUrl return NewItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an attachment from a user calendar event, message, Outlook task, or post. +// Delete delete navigation property attachments for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0 func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestB } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestB } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToDeleteRequestInformation delete an attachment from a user calendar event, message, Outlook task, or post. +// ToDeleteRequestInformation delete navigation property attachments for users // returns a *RequestInformation when successful func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestB requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go b/users/item_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index ee49103c1a6..cda21ec5af3 100644 --- a/users/item_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequ // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_events_item_exception_occurrences_item_attachments_request_builder.go b/users/item_events_item_exception_occurrences_item_attachments_request_builder.go index 26d47d072ac..23b79b85656 100644 --- a/users/item_events_item_exception_occurrences_item_attachments_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to an event. +// ItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) Count( func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to an event. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) Get(ct } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post create new navigation property to attachments for users // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) Post(c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to an event. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToGetR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation create new navigation property to attachments for users // returns a *RequestInformation when successful func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_events_item_exception_occurrences_item_cancel_request_builder.go b/users/item_events_item_exception_occurrences_item_cancel_request_builder.go index 27ae45f6bf4..17f19b299a1 100644 --- a/users/item_events_item_exception_occurrences_item_cancel_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemExceptionOccurrencesItemCancelRequestBuilder(rawUrl string // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-beta func (m *ItemEventsItemExceptionOccurrencesItemCancelRequestBuilder) Post(ctx context.Context, body ItemEventsItemExceptionOccurrencesItemCancelPostRequestBodyable, requestConfiguration *ItemEventsItemExceptionOccurrencesItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_events_item_exception_occurrences_item_decline_request_builder.go b/users/item_events_item_exception_occurrences_item_decline_request_builder.go index 9d23c20069b..c24e216df72 100644 --- a/users/item_events_item_exception_occurrences_item_decline_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_decline_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemExceptionOccurrencesItemDeclineRequestBuilder(rawUrl strin // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-beta func (m *ItemEventsItemExceptionOccurrencesItemDeclineRequestBuilder) Post(ctx context.Context, body ItemEventsItemExceptionOccurrencesItemDeclinePostRequestBodyable, requestConfiguration *ItemEventsItemExceptionOccurrencesItemDeclineRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/users/item_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go index 5e04c438c34..0de8cc295e2 100644 --- a/users/item_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemExceptionOccurrencesItemDismissReminderRequestBuilder(rawU // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-beta func (m *ItemEventsItemExceptionOccurrencesItemDismissReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemEventsItemExceptionOccurrencesItemDismissReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/users/item_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go index 9aa58f9b810..95fa5bf0108 100644 --- a/users/item_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBui } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBui requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_events_item_exception_occurrences_item_extensions_request_builder.go b/users/item_events_item_exception_occurrences_item_extensions_request_builder.go index c6a357dc392..dbd72d47b1a 100644 --- a/users/item_events_item_exception_occurrences_item_extensions_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilder(rawUrl st func (m *ItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) Count()(*ItemEventsItemExceptionOccurrencesItemExtensionsCountRequestBuilder) { return NewItemEventsItemExceptionOccurrencesItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -94,12 +94,9 @@ func (m *ItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) Get(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to extensions for users // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) Post(ct } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +128,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) ToGetRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to extensions for users // returns a *RequestInformation when successful func (m *ItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_events_item_exception_occurrences_item_forward_request_builder.go b/users/item_events_item_exception_occurrences_item_forward_request_builder.go index d901d56deef..0c425646750 100644 --- a/users/item_events_item_exception_occurrences_item_forward_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemExceptionOccurrencesItemForwardRequestBuilder(rawUrl strin // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-beta func (m *ItemEventsItemExceptionOccurrencesItemForwardRequestBuilder) Post(ctx context.Context, body ItemEventsItemExceptionOccurrencesItemForwardPostRequestBodyable, requestConfiguration *ItemEventsItemExceptionOccurrencesItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { 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 6930df1ff25..d1ef70eba9c 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 @@ -61,7 +61,7 @@ func NewItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilder(rawUr // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetRequestConfiguration)(ItemEventsItemExceptionOccurrencesItemInstancesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -84,7 +84,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) Get // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilderGetRequestConfiguration)(ItemEventsItemExceptionOccurrencesItemInstancesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_events_item_exception_occurrences_item_instances_item_accept_request_builder.go b/users/item_events_item_exception_occurrences_item_instances_item_accept_request_builder.go index 01bdd80099f..d717db2952a 100644 --- a/users/item_events_item_exception_occurrences_item_instances_item_accept_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_instances_item_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilder( // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-beta func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilder) Post(ctx context.Context, body ItemEventsItemExceptionOccurrencesItemInstancesItemAcceptPostRequestBodyable, requestConfiguration *ItemEventsItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go b/users/item_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go index a7c35f10198..bdc362fa61c 100644 --- a/users/item_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentIte // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachment urlParams["request-raw-url"] = rawUrl return NewItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an attachment from a user calendar event, message, Outlook task, or post. +// Delete delete navigation property attachments for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0 func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmen } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmen } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToDeleteRequestInformation delete an attachment from a user calendar event, message, Outlook task, or post. +// ToDeleteRequestInformation delete navigation property attachments for users // returns a *RequestInformation when successful func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmen requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*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_item_attachments_create_upload_session_request_builder.go b/users/item_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go index e27d8b166f3..046a275bb7c 100644 --- a/users/item_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUplo // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go b/users/item_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go index eb80c02aa07..11396aa5b0d 100644 --- a/users/item_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to an event. +// ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBu func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to an event. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBu } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post create new navigation property to attachments for users // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBu } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to an event. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBu requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation create new navigation property to attachments for users // returns a *RequestInformation when successful func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go b/users/item_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go index a1475d47c72..06d5775ab07 100644 --- a/users/item_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemExceptionOccurrencesItemInstancesItemCancelRequestBuilder( // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-beta func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemCancelRequestBuilder) Post(ctx context.Context, body ItemEventsItemExceptionOccurrencesItemInstancesItemCancelPostRequestBodyable, requestConfiguration *ItemEventsItemExceptionOccurrencesItemInstancesItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_events_item_exception_occurrences_item_instances_item_decline_request_builder.go b/users/item_events_item_exception_occurrences_item_instances_item_decline_request_builder.go index 218721dcb2b..5d7d93390a9 100644 --- a/users/item_events_item_exception_occurrences_item_instances_item_decline_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_instances_item_decline_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilder // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-beta func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilder) Post(ctx context.Context, body ItemEventsItemExceptionOccurrencesItemInstancesItemDeclinePostRequestBodyable, requestConfiguration *ItemEventsItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go b/users/item_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go index e25e5f86bfb..77d8cb14aa6 100644 --- a/users/item_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemExceptionOccurrencesItemInstancesItemDismissReminderReques // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-beta func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemDismissReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemEventsItemExceptionOccurrencesItemInstancesItemDismissReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go b/users/item_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go index b9c7d70d606..24b3d1f9155 100644 --- a/users/item_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionI } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*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_item_extensions_request_builder.go b/users/item_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go index c1742711f59..6344bdb2afc 100644 --- a/users/item_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuil func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) Count()(*ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsCountRequestBuilder) { return NewItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -94,12 +94,9 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBui } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to extensions for users // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBui } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +128,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBui requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to extensions for users // returns a *RequestInformation when successful func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_events_item_exception_occurrences_item_instances_item_forward_request_builder.go b/users/item_events_item_exception_occurrences_item_instances_item_forward_request_builder.go index 7fbbda4f939..35d4515daa2 100644 --- a/users/item_events_item_exception_occurrences_item_instances_item_forward_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_instances_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemExceptionOccurrencesItemInstancesItemForwardRequestBuilder // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-beta func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemForwardRequestBuilder) Post(ctx context.Context, body ItemEventsItemExceptionOccurrencesItemInstancesItemForwardPostRequestBodyable, requestConfiguration *ItemEventsItemExceptionOccurrencesItemInstancesItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go b/users/item_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go index 31622593203..eafdf808693 100644 --- a/users/item_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemExceptionOccurrencesItemInstancesItemSnoozeReminderRequest // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-beta func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemSnoozeReminderRequestBuilder) Post(ctx context.Context, body ItemEventsItemExceptionOccurrencesItemInstancesItemSnoozeReminderPostRequestBodyable, requestConfiguration *ItemEventsItemExceptionOccurrencesItemInstancesItemSnoozeReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go b/users/item_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go index cb2ca5bf422..5940a0f6e91 100644 --- a/users/item_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemExceptionOccurrencesItemInstancesItemTentativelyAcceptRequ // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-beta func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemTentativelyAcceptRequestBuilder) Post(ctx context.Context, body ItemEventsItemExceptionOccurrencesItemInstancesItemTentativelyAcceptPostRequestBodyable, requestConfiguration *ItemEventsItemExceptionOccurrencesItemInstancesItemTentativelyAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_events_item_exception_occurrences_item_instances_request_builder.go b/users/item_events_item_exception_occurrences_item_instances_request_builder.go index 3ce9bae8302..a6cafcbc9e4 100644 --- a/users/item_events_item_exception_occurrences_item_instances_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_instances_request_builder.go @@ -77,9 +77,6 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesRequestBuilder) Delta()( // Get the occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but doesn't include occurrences that have been canceled from the series. Navigation property. Read-only. Nullable. // returns a EventCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-instances?view=graph-rest-1.0 func (m *ItemEventsItemExceptionOccurrencesItemInstancesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEventsItemExceptionOccurrencesItemInstancesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EventCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_events_item_exception_occurrences_item_snooze_reminder_request_builder.go b/users/item_events_item_exception_occurrences_item_snooze_reminder_request_builder.go index c5e8e5ce9d5..db6908c62de 100644 --- a/users/item_events_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemExceptionOccurrencesItemSnoozeReminderRequestBuilder(rawUr // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-beta func (m *ItemEventsItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) Post(ctx context.Context, body ItemEventsItemExceptionOccurrencesItemSnoozeReminderPostRequestBodyable, requestConfiguration *ItemEventsItemExceptionOccurrencesItemSnoozeReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_events_item_exception_occurrences_item_tentatively_accept_request_builder.go b/users/item_events_item_exception_occurrences_item_tentatively_accept_request_builder.go index 357bb14723d..c16407992d9 100644 --- a/users/item_events_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder(ra // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-beta func (m *ItemEventsItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) Post(ctx context.Context, body ItemEventsItemExceptionOccurrencesItemTentativelyAcceptPostRequestBodyable, requestConfiguration *ItemEventsItemExceptionOccurrencesItemTentativelyAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_events_item_extensions_extension_item_request_builder.go b/users/item_events_item_extensions_extension_item_request_builder.go index 10694ee4547..992033352c4 100644 --- a/users/item_events_item_extensions_extension_item_request_builder.go +++ b/users/item_events_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemEventsItemExtensionsExtensionItemRequestBuilderDeleteRequestConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemEventsItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemEventsItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemEventsItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemEventsItemExtensionsExtensionItemRequestBuilder) Delete(ctx context } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemEventsItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEventsItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemEventsItemExtensionsExtensionItemRequestBuilder) ToDeleteRequestInf requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemEventsItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_events_item_extensions_request_builder.go b/users/item_events_item_extensions_request_builder.go index 8b51da6c606..9bd5135e247 100644 --- a/users/item_events_item_extensions_request_builder.go +++ b/users/item_events_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemEventsItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemEventsItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemEventsItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemEventsItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemEventsItemExtensionsRequestBuilder(rawUrl string, requestAdapter i2a func (m *ItemEventsItemExtensionsRequestBuilder) Count()(*ItemEventsItemExtensionsCountRequestBuilder) { return NewItemEventsItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemEventsItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEventsItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -94,12 +94,9 @@ func (m *ItemEventsItemExtensionsRequestBuilder) Get(ctx context.Context, reques } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to extensions for users // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemEventsItemExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemEventsItemExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemEventsItemExtensionsRequestBuilder) Post(ctx context.Context, body } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemEventsItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +128,7 @@ func (m *ItemEventsItemExtensionsRequestBuilder) ToGetRequestInformation(ctx con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to extensions for users // returns a *RequestInformation when successful func (m *ItemEventsItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemEventsItemExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_events_item_forward_request_builder.go b/users/item_events_item_forward_request_builder.go index 272e612efab..2f06b1414d0 100644 --- a/users/item_events_item_forward_request_builder.go +++ b/users/item_events_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemForwardRequestBuilder(rawUrl string, requestAdapter i2ae41 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-beta func (m *ItemEventsItemForwardRequestBuilder) Post(ctx context.Context, body ItemEventsItemForwardPostRequestBodyable, requestConfiguration *ItemEventsItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_events_item_instances_delta_request_builder.go b/users/item_events_item_instances_delta_request_builder.go index 2daed00eeb7..8dddbdac8e5 100644 --- a/users/item_events_item_instances_delta_request_builder.go +++ b/users/item_events_item_instances_delta_request_builder.go @@ -61,7 +61,7 @@ func NewItemEventsItemInstancesDeltaRequestBuilder(rawUrl string, requestAdapter // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemEventsItemInstancesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEventsItemInstancesDeltaRequestBuilderGetRequestConfiguration)(ItemEventsItemInstancesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -84,7 +84,7 @@ func (m *ItemEventsItemInstancesDeltaRequestBuilder) Get(ctx context.Context, re // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemEventsItemInstancesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemEventsItemInstancesDeltaRequestBuilderGetRequestConfiguration)(ItemEventsItemInstancesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_events_item_instances_item_accept_request_builder.go b/users/item_events_item_instances_item_accept_request_builder.go index 0eefee28a1a..3f2707838c3 100644 --- a/users/item_events_item_instances_item_accept_request_builder.go +++ b/users/item_events_item_instances_item_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemInstancesItemAcceptRequestBuilder(rawUrl string, requestAd // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-beta func (m *ItemEventsItemInstancesItemAcceptRequestBuilder) Post(ctx context.Context, body ItemEventsItemInstancesItemAcceptPostRequestBodyable, requestConfiguration *ItemEventsItemInstancesItemAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_events_item_instances_item_attachments_attachment_item_request_builder.go b/users/item_events_item_instances_item_attachments_attachment_item_request_builder.go index 36fec550206..9106c9c73f6 100644 --- a/users/item_events_item_instances_item_attachments_attachment_item_request_builder.go +++ b/users/item_events_item_instances_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderDeleteReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder(rawUr urlParams["request-raw-url"] = rawUrl return NewItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an attachment from a user calendar event, message, Outlook task, or post. +// Delete delete navigation property attachments for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0 func (m *ItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) Del } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 func (m *ItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) Get } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToDeleteRequestInformation delete an attachment from a user calendar event, message, Outlook task, or post. +// ToDeleteRequestInformation delete navigation property attachments for users // returns a *RequestInformation when successful func (m *ItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToD requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_events_item_instances_item_attachments_create_upload_session_request_builder.go b/users/item_events_item_instances_item_attachments_create_upload_session_request_builder.go index 8a6af6aabff..872b27a5443 100644 --- a/users/item_events_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/users/item_events_item_instances_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder( // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemEventsItemInstancesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_events_item_instances_item_attachments_request_builder.go b/users/item_events_item_instances_item_attachments_request_builder.go index 0ffbbb52900..6e1f5785862 100644 --- a/users/item_events_item_instances_item_attachments_request_builder.go +++ b/users/item_events_item_instances_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemEventsItemInstancesItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemEventsItemInstancesItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to an event. +// ItemEventsItemInstancesItemAttachmentsRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemEventsItemInstancesItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemEventsItemInstancesItemAttachmentsRequestBuilder) Count()(*ItemEven func (m *ItemEventsItemInstancesItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to an event. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 func (m *ItemEventsItemInstancesItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEventsItemInstancesItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemEventsItemInstancesItemAttachmentsRequestBuilder) Get(ctx context.C } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post create new navigation property to attachments for users // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemEventsItemInstancesItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemEventsItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemEventsItemInstancesItemAttachmentsRequestBuilder) Post(ctx context. } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to an event. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemEventsItemInstancesItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemInstancesItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemEventsItemInstancesItemAttachmentsRequestBuilder) ToGetRequestInfor requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation create new navigation property to attachments for users // returns a *RequestInformation when successful func (m *ItemEventsItemInstancesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemEventsItemInstancesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_events_item_instances_item_cancel_request_builder.go b/users/item_events_item_instances_item_cancel_request_builder.go index 2e6cb9c0af4..0bdd2538eca 100644 --- a/users/item_events_item_instances_item_cancel_request_builder.go +++ b/users/item_events_item_instances_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemInstancesItemCancelRequestBuilder(rawUrl string, requestAd // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-beta func (m *ItemEventsItemInstancesItemCancelRequestBuilder) Post(ctx context.Context, body ItemEventsItemInstancesItemCancelPostRequestBodyable, requestConfiguration *ItemEventsItemInstancesItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_events_item_instances_item_decline_request_builder.go b/users/item_events_item_instances_item_decline_request_builder.go index aba019499b6..3565acf705f 100644 --- a/users/item_events_item_instances_item_decline_request_builder.go +++ b/users/item_events_item_instances_item_decline_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemInstancesItemDeclineRequestBuilder(rawUrl string, requestA // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-beta func (m *ItemEventsItemInstancesItemDeclineRequestBuilder) Post(ctx context.Context, body ItemEventsItemInstancesItemDeclinePostRequestBodyable, requestConfiguration *ItemEventsItemInstancesItemDeclineRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_events_item_instances_item_dismiss_reminder_request_builder.go b/users/item_events_item_instances_item_dismiss_reminder_request_builder.go index 5656d6ab81f..8aa0e443483 100644 --- a/users/item_events_item_instances_item_dismiss_reminder_request_builder.go +++ b/users/item_events_item_instances_item_dismiss_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemInstancesItemDismissReminderRequestBuilder(rawUrl string, // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-beta func (m *ItemEventsItemInstancesItemDismissReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemEventsItemInstancesItemDismissReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { 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 6c1dfb38aca..b40efe8507d 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 @@ -61,7 +61,7 @@ func NewItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilder(rawUr // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(ItemEventsItemInstancesItemExceptionOccurrencesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -84,7 +84,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) Get // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-beta func (m *ItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilderGetRequestConfiguration)(ItemEventsItemInstancesItemExceptionOccurrencesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_events_item_instances_item_exception_occurrences_item_accept_request_builder.go b/users/item_events_item_instances_item_exception_occurrences_item_accept_request_builder.go index 8c0ca402c2e..79fc6ceb1b2 100644 --- a/users/item_events_item_instances_item_exception_occurrences_item_accept_request_builder.go +++ b/users/item_events_item_instances_item_exception_occurrences_item_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilder( // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-accept?view=graph-rest-beta func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilder) Post(ctx context.Context, body ItemEventsItemInstancesItemExceptionOccurrencesItemAcceptPostRequestBodyable, requestConfiguration *ItemEventsItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/users/item_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index ddab9d6f9b9..d8326d126cb 100644 --- a/users/item_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/users/item_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentIte // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -47,11 +47,8 @@ func NewItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachment urlParams["request-raw-url"] = rawUrl return NewItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an attachment from a user calendar event, message, Outlook task, or post. +// Delete delete navigation property attachments for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-delete?view=graph-rest-1.0 func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,12 +63,9 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmen } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -89,7 +83,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmen } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToDeleteRequestInformation delete an attachment from a user calendar event, message, Outlook task, or post. +// ToDeleteRequestInformation delete navigation property attachments for users // returns a *RequestInformation when successful func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -100,7 +94,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmen requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*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_item_attachments_create_upload_session_request_builder.go b/users/item_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index cf70f95098c..a297347f334 100644 --- a/users/item_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/users/item_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUplo // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go b/users/item_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go index f748c9c2309..39a708ce140 100644 --- a/users/item_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go +++ b/users/item_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to an event. +// ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. type ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBu func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to an event. +// Get the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBu } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post create new navigation property to attachments for users // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBu } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to an event. +// ToGetRequestInformation the collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBu requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation create new navigation property to attachments for users // returns a *RequestInformation when successful func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go b/users/item_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go index 5bf7f16528e..5dc6c75b8a9 100644 --- a/users/item_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go +++ b/users/item_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemInstancesItemExceptionOccurrencesItemCancelRequestBuilder( // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-cancel?view=graph-rest-beta func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemCancelRequestBuilder) Post(ctx context.Context, body ItemEventsItemInstancesItemExceptionOccurrencesItemCancelPostRequestBodyable, requestConfiguration *ItemEventsItemInstancesItemExceptionOccurrencesItemCancelRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_events_item_instances_item_exception_occurrences_item_decline_request_builder.go b/users/item_events_item_instances_item_exception_occurrences_item_decline_request_builder.go index dae6d927d72..50b43107315 100644 --- a/users/item_events_item_instances_item_exception_occurrences_item_decline_request_builder.go +++ b/users/item_events_item_instances_item_exception_occurrences_item_decline_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilder // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-decline?view=graph-rest-beta func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilder) Post(ctx context.Context, body ItemEventsItemInstancesItemExceptionOccurrencesItemDeclinePostRequestBodyable, requestConfiguration *ItemEventsItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/users/item_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go index d6f04d06d6a..678c643ca3e 100644 --- a/users/item_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/users/item_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemInstancesItemExceptionOccurrencesItemDismissReminderReques // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-dismissreminder?view=graph-rest-beta func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemDismissReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemEventsItemInstancesItemExceptionOccurrencesItemDismissReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/users/item_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go index 269d9ac2557..3d94923b186 100644 --- a/users/item_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/users/item_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionI } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*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_item_extensions_request_builder.go b/users/item_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go index 9516e7eb7a7..70890397d3a 100644 --- a/users/item_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go +++ b/users/item_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuil func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) Count()(*ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsCountRequestBuilder) { return NewItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -94,12 +94,9 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBui } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to extensions for users // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBui } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +128,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBui requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to extensions for users // returns a *RequestInformation when successful func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_events_item_instances_item_exception_occurrences_item_forward_request_builder.go b/users/item_events_item_instances_item_exception_occurrences_item_forward_request_builder.go index cf98e2ed0f7..ba476189f41 100644 --- a/users/item_events_item_instances_item_exception_occurrences_item_forward_request_builder.go +++ b/users/item_events_item_instances_item_exception_occurrences_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemInstancesItemExceptionOccurrencesItemForwardRequestBuilder // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-beta func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemForwardRequestBuilder) Post(ctx context.Context, body ItemEventsItemInstancesItemExceptionOccurrencesItemForwardPostRequestBodyable, requestConfiguration *ItemEventsItemInstancesItemExceptionOccurrencesItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go b/users/item_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go index e2220bedb37..7fccf14e95f 100644 --- a/users/item_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/users/item_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemInstancesItemExceptionOccurrencesItemSnoozeReminderRequest // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-beta func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) Post(ctx context.Context, body ItemEventsItemInstancesItemExceptionOccurrencesItemSnoozeReminderPostRequestBodyable, requestConfiguration *ItemEventsItemInstancesItemExceptionOccurrencesItemSnoozeReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go b/users/item_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go index 08e91850b8a..0b0b60bc800 100644 --- a/users/item_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/users/item_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemInstancesItemExceptionOccurrencesItemTentativelyAcceptRequ // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-beta func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) Post(ctx context.Context, body ItemEventsItemInstancesItemExceptionOccurrencesItemTentativelyAcceptPostRequestBodyable, requestConfiguration *ItemEventsItemInstancesItemExceptionOccurrencesItemTentativelyAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_events_item_instances_item_extensions_extension_item_request_builder.go b/users/item_events_item_instances_item_extensions_extension_item_request_builder.go index 4791ae76c8d..ef2ceb23cc8 100644 --- a/users/item_events_item_instances_item_extensions_extension_item_request_builder.go +++ b/users/item_events_item_instances_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemEventsItemInstancesItemExtensionsExtensionItemRequestBuilderDeleteReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemEventsItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemEventsItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemEventsItemInstancesItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemEventsItemInstancesItemExtensionsExtensionItemRequestBuilder) Delet } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemEventsItemInstancesItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEventsItemInstancesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemEventsItemInstancesItemExtensionsExtensionItemRequestBuilder) ToDel requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemEventsItemInstancesItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemInstancesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_events_item_instances_item_extensions_request_builder.go b/users/item_events_item_instances_item_extensions_request_builder.go index cea9dd58a27..a0730ffa399 100644 --- a/users/item_events_item_instances_item_extensions_request_builder.go +++ b/users/item_events_item_instances_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemEventsItemInstancesItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemEventsItemInstancesItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemEventsItemInstancesItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the event. Nullable. type ItemEventsItemInstancesItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemEventsItemInstancesItemExtensionsRequestBuilder(rawUrl string, reque func (m *ItemEventsItemInstancesItemExtensionsRequestBuilder) Count()(*ItemEventsItemInstancesItemExtensionsCountRequestBuilder) { return NewItemEventsItemInstancesItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the event. Nullable. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemEventsItemInstancesItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEventsItemInstancesItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -94,12 +94,9 @@ func (m *ItemEventsItemInstancesItemExtensionsRequestBuilder) Get(ctx context.Co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to extensions for users // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemEventsItemInstancesItemExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemEventsItemInstancesItemExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemEventsItemInstancesItemExtensionsRequestBuilder) Post(ctx context.C } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the event. Nullable. // returns a *RequestInformation when successful func (m *ItemEventsItemInstancesItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsItemInstancesItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +128,7 @@ func (m *ItemEventsItemInstancesItemExtensionsRequestBuilder) ToGetRequestInform requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to extensions for users // returns a *RequestInformation when successful func (m *ItemEventsItemInstancesItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemEventsItemInstancesItemExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_events_item_instances_item_forward_request_builder.go b/users/item_events_item_instances_item_forward_request_builder.go index 5759fb1ea69..d2fd98781b1 100644 --- a/users/item_events_item_instances_item_forward_request_builder.go +++ b/users/item_events_item_instances_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemInstancesItemForwardRequestBuilder(rawUrl string, requestA // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-forward?view=graph-rest-beta func (m *ItemEventsItemInstancesItemForwardRequestBuilder) Post(ctx context.Context, body ItemEventsItemInstancesItemForwardPostRequestBodyable, requestConfiguration *ItemEventsItemInstancesItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_events_item_instances_item_snooze_reminder_request_builder.go b/users/item_events_item_instances_item_snooze_reminder_request_builder.go index 38d9cb6b2e9..24a5e15d788 100644 --- a/users/item_events_item_instances_item_snooze_reminder_request_builder.go +++ b/users/item_events_item_instances_item_snooze_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemInstancesItemSnoozeReminderRequestBuilder(rawUrl string, r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-beta func (m *ItemEventsItemInstancesItemSnoozeReminderRequestBuilder) Post(ctx context.Context, body ItemEventsItemInstancesItemSnoozeReminderPostRequestBodyable, requestConfiguration *ItemEventsItemInstancesItemSnoozeReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_events_item_instances_item_tentatively_accept_request_builder.go b/users/item_events_item_instances_item_tentatively_accept_request_builder.go index 55fe9fae4b0..83d98384f94 100644 --- a/users/item_events_item_instances_item_tentatively_accept_request_builder.go +++ b/users/item_events_item_instances_item_tentatively_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemInstancesItemTentativelyAcceptRequestBuilder(rawUrl string // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-beta func (m *ItemEventsItemInstancesItemTentativelyAcceptRequestBuilder) Post(ctx context.Context, body ItemEventsItemInstancesItemTentativelyAcceptPostRequestBodyable, requestConfiguration *ItemEventsItemInstancesItemTentativelyAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_events_item_instances_request_builder.go b/users/item_events_item_instances_request_builder.go index dede90b53ed..a61ab004d17 100644 --- a/users/item_events_item_instances_request_builder.go +++ b/users/item_events_item_instances_request_builder.go @@ -77,9 +77,6 @@ func (m *ItemEventsItemInstancesRequestBuilder) Delta()(*ItemEventsItemInstances // Get the occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but doesn't include occurrences that have been canceled from the series. Navigation property. Read-only. Nullable. // returns a EventCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/event-list-instances?view=graph-rest-1.0 func (m *ItemEventsItemInstancesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEventsItemInstancesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EventCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_events_item_snooze_reminder_request_builder.go b/users/item_events_item_snooze_reminder_request_builder.go index 4008e63de8f..8e4880952e1 100644 --- a/users/item_events_item_snooze_reminder_request_builder.go +++ b/users/item_events_item_snooze_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemSnoozeReminderRequestBuilder(rawUrl string, requestAdapter // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-snoozereminder?view=graph-rest-beta func (m *ItemEventsItemSnoozeReminderRequestBuilder) Post(ctx context.Context, body ItemEventsItemSnoozeReminderPostRequestBodyable, requestConfiguration *ItemEventsItemSnoozeReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_events_item_tentatively_accept_request_builder.go b/users/item_events_item_tentatively_accept_request_builder.go index 4394e65589f..5acbc0cae45 100644 --- a/users/item_events_item_tentatively_accept_request_builder.go +++ b/users/item_events_item_tentatively_accept_request_builder.go @@ -34,7 +34,7 @@ func NewItemEventsItemTentativelyAcceptRequestBuilder(rawUrl string, requestAdap // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/event-tentativelyaccept?view=graph-rest-beta func (m *ItemEventsItemTentativelyAcceptRequestBuilder) Post(ctx context.Context, body ItemEventsItemTentativelyAcceptPostRequestBodyable, requestConfiguration *ItemEventsItemTentativelyAcceptRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_events_request_builder.go b/users/item_events_request_builder.go index 706061541bc..dc087756b28 100644 --- a/users/item_events_request_builder.go +++ b/users/item_events_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemEventsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemEventsRequestBuilderGetQueryParameters get a list of event objects from the user's default calendar orfrom a specified calendar. The list contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, orget the instances of an event. There are two scenarios where an app can get events in another user's calendar: +// ItemEventsRequestBuilderGetQueryParameters the user's events. The default is to show events under the Default Calendar. Read-only. Nullable. type ItemEventsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,9 @@ func (m *ItemEventsRequestBuilder) Count()(*ItemEventsCountRequestBuilder) { func (m *ItemEventsRequestBuilder) Delta()(*ItemEventsDeltaRequestBuilder) { return NewItemEventsDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of event objects from the user's default calendar orfrom a specified calendar. The list contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, orget the instances of an event. There are two scenarios where an app can get events in another user's calendar: +// Get the user's events. The default is to show events under the Default Calendar. Read-only. Nullable. // returns a EventCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/user-list-events?view=graph-rest-1.0 func (m *ItemEventsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEventsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EventCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,12 +99,9 @@ func (m *ItemEventsRequestBuilder) Get(ctx context.Context, requestConfiguration } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EventCollectionResponseable), nil } -// Post create an event in the user's default calendar or specified calendar. By default, the allowNewTimeProposals property is set to true when an event is created, which means invitees can propose a different date/time for the event. See Propose new meeting times for more information on how to propose a time, and how to receive and accept a new time proposal. You can specify the time zone for each of the start and end times of the event as part of their values, because thestart and end properties are of dateTimeTimeZone type. First find the supported time zones to make sure you set only time zones that have been configured for the user's mailbox server. When an event is sent, the server sends invitations to all the attendees. Setting the location in an event An Exchange administrator can set up a mailbox and an email address for a resource such as a meeting room, or equipmentlike a projector. Users can then invite the resource as an attendee to a meeting. On behalf of the resource, the server accepts or rejectsthe meeting request based on the free/busy schedule of the resource.If the server accepts a meeting for the resource, it creates an event for the meeting in the resource's calendar. If the meeting is rescheduled,the server automatically updates the event in the resource's calendar. Another advantage of setting up a mailbox for a resource is to control scheduling of the resource, for example, only executivesor their delegates can book a private meeting room. If you're organizing an event that involves a meeting location: Additionally, if the meeting location has been set up as a resource, or if the event involves some equipment that has been set up as a resource: +// Post create new navigation property to events for users // returns a Eventable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/user-post-events?view=graph-rest-1.0 func (m *ItemEventsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Eventable, requestConfiguration *ItemEventsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Eventable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +119,7 @@ func (m *ItemEventsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Eventable), nil } -// ToGetRequestInformation get a list of event objects from the user's default calendar orfrom a specified calendar. The list contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, orget the instances of an event. There are two scenarios where an app can get events in another user's calendar: +// ToGetRequestInformation the user's events. The default is to show events under the Default Calendar. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemEventsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemEventsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an event in the user's default calendar or specified calendar. By default, the allowNewTimeProposals property is set to true when an event is created, which means invitees can propose a different date/time for the event. See Propose new meeting times for more information on how to propose a time, and how to receive and accept a new time proposal. You can specify the time zone for each of the start and end times of the event as part of their values, because thestart and end properties are of dateTimeTimeZone type. First find the supported time zones to make sure you set only time zones that have been configured for the user's mailbox server. When an event is sent, the server sends invitations to all the attendees. Setting the location in an event An Exchange administrator can set up a mailbox and an email address for a resource such as a meeting room, or equipmentlike a projector. Users can then invite the resource as an attendee to a meeting. On behalf of the resource, the server accepts or rejectsthe meeting request based on the free/busy schedule of the resource.If the server accepts a meeting for the resource, it creates an event for the meeting in the resource's calendar. If the meeting is rescheduled,the server automatically updates the event in the resource's calendar. Another advantage of setting up a mailbox for a resource is to control scheduling of the resource, for example, only executivesor their delegates can book a private meeting room. If you're organizing an event that involves a meeting location: Additionally, if the meeting location has been set up as a resource, or if the event involves some equipment that has been set up as a resource: +// ToPostRequestInformation create new navigation property to events for users // returns a *RequestInformation when successful func (m *ItemEventsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Eventable, requestConfiguration *ItemEventsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_export_personal_data_request_builder.go b/users/item_export_personal_data_request_builder.go index 61e88f5e0a0..0cad55e2469 100644 --- a/users/item_export_personal_data_request_builder.go +++ b/users/item_export_personal_data_request_builder.go @@ -30,11 +30,11 @@ func NewItemExportPersonalDataRequestBuilder(rawUrl string, requestAdapter i2ae4 urlParams["request-raw-url"] = rawUrl return NewItemExportPersonalDataRequestBuilderInternal(urlParams, requestAdapter) } -// Post submit a data policy operation request from a company administrator or an application to export an organizational user's data. This data includes the user's data stored in OneDrive and their activity reports. For more guidance about exporting data while complying with regulations, see Data Subject Requests and the GDPR and CCPA. +// Post submit a data policy operation request from a company administrator or an application to export an organizational user's data. This data includes the user's data stored in OneDrive and their activity reports. For more information about exporting data while complying with regulations, see Data Subject Requests and the GDPR and CCPA. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/user-exportpersonaldata?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/user-exportpersonaldata?view=graph-rest-beta func (m *ItemExportPersonalDataRequestBuilder) Post(ctx context.Context, body ItemExportPersonalDataPostRequestBodyable, requestConfiguration *ItemExportPersonalDataRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -49,7 +49,7 @@ func (m *ItemExportPersonalDataRequestBuilder) Post(ctx context.Context, body It } return nil } -// ToPostRequestInformation submit a data policy operation request from a company administrator or an application to export an organizational user's data. This data includes the user's data stored in OneDrive and their activity reports. For more guidance about exporting data while complying with regulations, see Data Subject Requests and the GDPR and CCPA. +// ToPostRequestInformation submit a data policy operation request from a company administrator or an application to export an organizational user's data. This data includes the user's data stored in OneDrive and their activity reports. For more information about exporting data while complying with regulations, see Data Subject Requests and the GDPR and CCPA. // returns a *RequestInformation when successful func (m *ItemExportPersonalDataRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemExportPersonalDataPostRequestBodyable, requestConfiguration *ItemExportPersonalDataRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_find_meeting_times_request_builder.go b/users/item_find_meeting_times_request_builder.go index eef27a34829..9b928db87ac 100644 --- a/users/item_find_meeting_times_request_builder.go +++ b/users/item_find_meeting_times_request_builder.go @@ -36,7 +36,7 @@ func NewItemFindMeetingTimesRequestBuilder(rawUrl string, requestAdapter i2ae418 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/user-findmeetingtimes?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/user-findmeetingtimes?view=graph-rest-beta func (m *ItemFindMeetingTimesRequestBuilder) Post(ctx context.Context, body ItemFindMeetingTimesPostRequestBodyable, requestConfiguration *ItemFindMeetingTimesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingTimeSuggestionsResultable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_find_room_lists_request_builder.go b/users/item_find_room_lists_request_builder.go index fcf6aa84a43..4bf94ea4c38 100644 --- a/users/item_find_room_lists_request_builder.go +++ b/users/item_find_room_lists_request_builder.go @@ -51,7 +51,7 @@ func NewItemFindRoomListsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/user-findroomlists?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/user-findroomlists?view=graph-rest-beta func (m *ItemFindRoomListsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemFindRoomListsRequestBuilderGetRequestConfiguration)(ItemFindRoomListsResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -74,7 +74,7 @@ func (m *ItemFindRoomListsRequestBuilder) Get(ctx context.Context, requestConfig // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/user-findroomlists?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/user-findroomlists?view=graph-rest-beta func (m *ItemFindRoomListsRequestBuilder) GetAsFindRoomListsGetResponse(ctx context.Context, requestConfiguration *ItemFindRoomListsRequestBuilderGetRequestConfiguration)(ItemFindRoomListsGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_followed_sites_add_request_builder.go b/users/item_followed_sites_add_request_builder.go index 85fcdc9f3f0..b6fc2ee4c88 100644 --- a/users/item_followed_sites_add_request_builder.go +++ b/users/item_followed_sites_add_request_builder.go @@ -36,7 +36,7 @@ func NewItemFollowedSitesAddRequestBuilder(rawUrl string, requestAdapter i2ae418 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/site-follow?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/site-follow?view=graph-rest-beta func (m *ItemFollowedSitesAddRequestBuilder) Post(ctx context.Context, body ItemFollowedSitesAddPostRequestBodyable, requestConfiguration *ItemFollowedSitesAddRequestBuilderPostRequestConfiguration)(ItemFollowedSitesAddResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ItemFollowedSitesAddRequestBuilder) Post(ctx context.Context, body Item // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/site-follow?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/site-follow?view=graph-rest-beta func (m *ItemFollowedSitesAddRequestBuilder) PostAsAddPostResponse(ctx context.Context, body ItemFollowedSitesAddPostRequestBodyable, requestConfiguration *ItemFollowedSitesAddRequestBuilderPostRequestConfiguration)(ItemFollowedSitesAddPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_followed_sites_remove_request_builder.go b/users/item_followed_sites_remove_request_builder.go index 8eddba84b7b..534fefbbf41 100644 --- a/users/item_followed_sites_remove_request_builder.go +++ b/users/item_followed_sites_remove_request_builder.go @@ -36,7 +36,7 @@ func NewItemFollowedSitesRemoveRequestBuilder(rawUrl string, requestAdapter i2ae // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/site-unfollow?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/site-unfollow?view=graph-rest-beta func (m *ItemFollowedSitesRemoveRequestBuilder) Post(ctx context.Context, body ItemFollowedSitesRemovePostRequestBodyable, requestConfiguration *ItemFollowedSitesRemoveRequestBuilderPostRequestConfiguration)(ItemFollowedSitesRemoveResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ItemFollowedSitesRemoveRequestBuilder) Post(ctx context.Context, body I // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/site-unfollow?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/site-unfollow?view=graph-rest-beta func (m *ItemFollowedSitesRemoveRequestBuilder) PostAsRemovePostResponse(ctx context.Context, body ItemFollowedSitesRemovePostRequestBodyable, requestConfiguration *ItemFollowedSitesRemoveRequestBuilderPostRequestConfiguration)(ItemFollowedSitesRemovePostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_followed_sites_request_builder.go b/users/item_followed_sites_request_builder.go index 10c4c4c984a..a177adbb666 100644 --- a/users/item_followed_sites_request_builder.go +++ b/users/item_followed_sites_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemFollowedSitesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemFollowedSitesRequestBuilderGetQueryParameters list the sites that have been followed by the signed in user. +// ItemFollowedSitesRequestBuilderGetQueryParameters get followedSites from users type ItemFollowedSitesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,12 +74,9 @@ func NewItemFollowedSitesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7 func (m *ItemFollowedSitesRequestBuilder) Count()(*ItemFollowedSitesCountRequestBuilder) { return NewItemFollowedSitesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list the sites that have been followed by the signed in user. +// Get get followedSites from users // returns a SiteCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sites-list-followed?view=graph-rest-1.0 func (m *ItemFollowedSitesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemFollowedSitesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,7 +99,7 @@ func (m *ItemFollowedSitesRequestBuilder) Get(ctx context.Context, requestConfig func (m *ItemFollowedSitesRequestBuilder) Remove()(*ItemFollowedSitesRemoveRequestBuilder) { return NewItemFollowedSitesRemoveRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation list the sites that have been followed by the signed in user. +// ToGetRequestInformation get followedSites from users // returns a *RequestInformation when successful func (m *ItemFollowedSitesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemFollowedSitesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_get_mail_tips_request_builder.go b/users/item_get_mail_tips_request_builder.go index 2881f52ca6f..74b6a3e1d5a 100644 --- a/users/item_get_mail_tips_request_builder.go +++ b/users/item_get_mail_tips_request_builder.go @@ -36,7 +36,7 @@ func NewItemGetMailTipsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7da // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/user-getmailtips?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/user-getmailtips?view=graph-rest-beta func (m *ItemGetMailTipsRequestBuilder) Post(ctx context.Context, body ItemGetMailTipsPostRequestBodyable, requestConfiguration *ItemGetMailTipsRequestBuilderPostRequestConfiguration)(ItemGetMailTipsResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ItemGetMailTipsRequestBuilder) Post(ctx context.Context, body ItemGetMa // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/user-getmailtips?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/user-getmailtips?view=graph-rest-beta func (m *ItemGetMailTipsRequestBuilder) PostAsGetMailTipsPostResponse(ctx context.Context, body ItemGetMailTipsPostRequestBodyable, requestConfiguration *ItemGetMailTipsRequestBuilderPostRequestConfiguration)(ItemGetMailTipsPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_get_member_groups_request_builder.go b/users/item_get_member_groups_request_builder.go index 9781a14209b..c155d7c9108 100644 --- a/users/item_get_member_groups_request_builder.go +++ b/users/item_get_member_groups_request_builder.go @@ -36,7 +36,7 @@ func NewItemGetMemberGroupsRequestBuilder(rawUrl string, requestAdapter i2ae4187 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-beta func (m *ItemGetMemberGroupsRequestBuilder) Post(ctx context.Context, body ItemGetMemberGroupsPostRequestBodyable, requestConfiguration *ItemGetMemberGroupsRequestBuilderPostRequestConfiguration)(ItemGetMemberGroupsResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ItemGetMemberGroupsRequestBuilder) Post(ctx context.Context, body ItemG // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-beta func (m *ItemGetMemberGroupsRequestBuilder) PostAsGetMemberGroupsPostResponse(ctx context.Context, body ItemGetMemberGroupsPostRequestBodyable, requestConfiguration *ItemGetMemberGroupsRequestBuilderPostRequestConfiguration)(ItemGetMemberGroupsPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_get_password_single_sign_on_credentials_request_builder.go b/users/item_get_password_single_sign_on_credentials_request_builder.go index af5897495cb..0de88f3ff0c 100644 --- a/users/item_get_password_single_sign_on_credentials_request_builder.go +++ b/users/item_get_password_single_sign_on_credentials_request_builder.go @@ -36,7 +36,7 @@ func NewItemGetPasswordSingleSignOnCredentialsRequestBuilder(rawUrl string, requ // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/user-getpasswordsinglesignoncredentials?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/user-getpasswordsinglesignoncredentials?view=graph-rest-beta func (m *ItemGetPasswordSingleSignOnCredentialsRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemGetPasswordSingleSignOnCredentialsRequestBuilderPostRequestConfiguration)(ItemGetPasswordSingleSignOnCredentialsResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ItemGetPasswordSingleSignOnCredentialsRequestBuilder) Post(ctx context. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/user-getpasswordsinglesignoncredentials?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/user-getpasswordsinglesignoncredentials?view=graph-rest-beta func (m *ItemGetPasswordSingleSignOnCredentialsRequestBuilder) PostAsGetPasswordSingleSignOnCredentialsPostResponse(ctx context.Context, requestConfiguration *ItemGetPasswordSingleSignOnCredentialsRequestBuilderPostRequestConfiguration)(ItemGetPasswordSingleSignOnCredentialsPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_inference_classification_overrides_inference_classification_override_item_request_builder.go b/users/item_inference_classification_overrides_inference_classification_override_item_request_builder.go index 8960016cfd8..793a17a4638 100644 --- a/users/item_inference_classification_overrides_inference_classification_override_item_request_builder.go +++ b/users/item_inference_classification_overrides_inference_classification_override_item_request_builder.go @@ -52,11 +52,8 @@ func NewItemInferenceClassificationOverridesInferenceClassificationOverrideItemR urlParams["request-raw-url"] = rawUrl return NewItemInferenceClassificationOverridesInferenceClassificationOverrideItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a focused Inbox override specified by its ID. +// Delete delete navigation property overrides for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/inferenceclassificationoverride-delete?view=graph-rest-1.0 func (m *ItemInferenceClassificationOverridesInferenceClassificationOverrideItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemInferenceClassificationOverridesInferenceClassificationOverrideItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -91,12 +88,9 @@ func (m *ItemInferenceClassificationOverridesInferenceClassificationOverrideItem } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InferenceClassificationOverrideable), nil } -// Patch change the classifyAs field of a focused Inbox override as specified. You cannot use PATCH to change any other fields in an inferenceClassificationOverride instance. If an override exists for a sender and the sender changes his/her display name, you can use POST to force an update to the name field in the existing override. If an override exists for a sender and the sender changes his/her SMTP address, deleting the existing override and creating a new one withthe new SMTP address is the only way to 'update' the override for this sender. +// Patch update the navigation property overrides in users // returns a InferenceClassificationOverrideable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/inferenceclassificationoverride-update?view=graph-rest-1.0 func (m *ItemInferenceClassificationOverridesInferenceClassificationOverrideItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InferenceClassificationOverrideable, requestConfiguration *ItemInferenceClassificationOverridesInferenceClassificationOverrideItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InferenceClassificationOverrideable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -114,7 +108,7 @@ func (m *ItemInferenceClassificationOverridesInferenceClassificationOverrideItem } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InferenceClassificationOverrideable), nil } -// ToDeleteRequestInformation delete a focused Inbox override specified by its ID. +// ToDeleteRequestInformation delete navigation property overrides for users // returns a *RequestInformation when successful func (m *ItemInferenceClassificationOverridesInferenceClassificationOverrideItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemInferenceClassificationOverridesInferenceClassificationOverrideItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -139,7 +133,7 @@ func (m *ItemInferenceClassificationOverridesInferenceClassificationOverrideItem requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation change the classifyAs field of a focused Inbox override as specified. You cannot use PATCH to change any other fields in an inferenceClassificationOverride instance. If an override exists for a sender and the sender changes his/her display name, you can use POST to force an update to the name field in the existing override. If an override exists for a sender and the sender changes his/her SMTP address, deleting the existing override and creating a new one withthe new SMTP address is the only way to 'update' the override for this sender. +// ToPatchRequestInformation update the navigation property overrides in users // returns a *RequestInformation when successful func (m *ItemInferenceClassificationOverridesInferenceClassificationOverrideItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InferenceClassificationOverrideable, requestConfiguration *ItemInferenceClassificationOverridesInferenceClassificationOverrideItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_inference_classification_overrides_request_builder.go b/users/item_inference_classification_overrides_request_builder.go index 7574b3facf3..f27c0ecfd8a 100644 --- a/users/item_inference_classification_overrides_request_builder.go +++ b/users/item_inference_classification_overrides_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemInferenceClassificationOverridesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemInferenceClassificationOverridesRequestBuilderGetQueryParameters get the Focused Inbox overrides that a user has set up to always classify messages from certain senders in specific ways. Each override corresponds to an SMTP address of a sender. Initially, a user does not have any overrides. +// ItemInferenceClassificationOverridesRequestBuilderGetQueryParameters a set of overrides for a user to always classify messages from specific senders in certain ways: focused, or other. Read-only. Nullable. type ItemInferenceClassificationOverridesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -72,12 +72,9 @@ func NewItemInferenceClassificationOverridesRequestBuilder(rawUrl string, reques func (m *ItemInferenceClassificationOverridesRequestBuilder) Count()(*ItemInferenceClassificationOverridesCountRequestBuilder) { return NewItemInferenceClassificationOverridesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the Focused Inbox overrides that a user has set up to always classify messages from certain senders in specific ways. Each override corresponds to an SMTP address of a sender. Initially, a user does not have any overrides. +// Get a set of overrides for a user to always classify messages from specific senders in certain ways: focused, or other. Read-only. Nullable. // returns a InferenceClassificationOverrideCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/inferenceclassification-list-overrides?view=graph-rest-1.0 func (m *ItemInferenceClassificationOverridesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemInferenceClassificationOverridesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InferenceClassificationOverrideCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,12 +92,9 @@ func (m *ItemInferenceClassificationOverridesRequestBuilder) Get(ctx context.Con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InferenceClassificationOverrideCollectionResponseable), nil } -// Post create a focused Inbox override for a sender identified by an SMTP address. Future messages from that SMTP address will be consistently classifiedas specified in the override. +// Post create new navigation property to overrides for users // returns a InferenceClassificationOverrideable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/inferenceclassification-post-overrides?view=graph-rest-1.0 func (m *ItemInferenceClassificationOverridesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InferenceClassificationOverrideable, requestConfiguration *ItemInferenceClassificationOverridesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InferenceClassificationOverrideable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -118,7 +112,7 @@ func (m *ItemInferenceClassificationOverridesRequestBuilder) Post(ctx context.Co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InferenceClassificationOverrideable), nil } -// ToGetRequestInformation get the Focused Inbox overrides that a user has set up to always classify messages from certain senders in specific ways. Each override corresponds to an SMTP address of a sender. Initially, a user does not have any overrides. +// ToGetRequestInformation a set of overrides for a user to always classify messages from specific senders in certain ways: focused, or other. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemInferenceClassificationOverridesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemInferenceClassificationOverridesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -132,7 +126,7 @@ func (m *ItemInferenceClassificationOverridesRequestBuilder) ToGetRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a focused Inbox override for a sender identified by an SMTP address. Future messages from that SMTP address will be consistently classifiedas specified in the override. +// ToPostRequestInformation create new navigation property to overrides for users // returns a *RequestInformation when successful func (m *ItemInferenceClassificationOverridesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InferenceClassificationOverrideable, requestConfiguration *ItemInferenceClassificationOverridesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_information_protection_bitlocker_recovery_keys_bitlocker_recovery_key_item_request_builder.go b/users/item_information_protection_bitlocker_recovery_keys_bitlocker_recovery_key_item_request_builder.go index 6a7588c3b51..72ad7c5b7bc 100644 --- a/users/item_information_protection_bitlocker_recovery_keys_bitlocker_recovery_key_item_request_builder.go +++ b/users/item_information_protection_bitlocker_recovery_keys_bitlocker_recovery_key_item_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemInformationProtectionBitlockerRecoveryKeysBitlockerRecoveryKeyItemRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemInformationProtectionBitlockerRecoveryKeysBitlockerRecoveryKeyItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a bitlockerRecoveryKey object. By default, this operation does not return the key property that represents the actual recovery key. To include the key property in the response, use the $select OData query parameter. Including the $select query parameter triggers a Microsoft Entra audit of the operation and generates an audit log. You can find the log in Microsoft Entra audit logs under the KeyManagement category. +// ItemInformationProtectionBitlockerRecoveryKeysBitlockerRecoveryKeyItemRequestBuilderGetQueryParameters the recovery keys associated with the bitlocker entity. type ItemInformationProtectionBitlockerRecoveryKeysBitlockerRecoveryKeyItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -40,12 +40,9 @@ func NewItemInformationProtectionBitlockerRecoveryKeysBitlockerRecoveryKeyItemRe urlParams["request-raw-url"] = rawUrl return NewItemInformationProtectionBitlockerRecoveryKeysBitlockerRecoveryKeyItemRequestBuilderInternal(urlParams, requestAdapter) } -// Get retrieve the properties and relationships of a bitlockerRecoveryKey object. By default, this operation does not return the key property that represents the actual recovery key. To include the key property in the response, use the $select OData query parameter. Including the $select query parameter triggers a Microsoft Entra audit of the operation and generates an audit log. You can find the log in Microsoft Entra audit logs under the KeyManagement category. +// Get the recovery keys associated with the bitlocker entity. // returns a BitlockerRecoveryKeyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/bitlockerrecoverykey-get?view=graph-rest-1.0 func (m *ItemInformationProtectionBitlockerRecoveryKeysBitlockerRecoveryKeyItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemInformationProtectionBitlockerRecoveryKeysBitlockerRecoveryKeyItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BitlockerRecoveryKeyable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -63,7 +60,7 @@ func (m *ItemInformationProtectionBitlockerRecoveryKeysBitlockerRecoveryKeyItemR } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BitlockerRecoveryKeyable), nil } -// ToGetRequestInformation retrieve the properties and relationships of a bitlockerRecoveryKey object. By default, this operation does not return the key property that represents the actual recovery key. To include the key property in the response, use the $select OData query parameter. Including the $select query parameter triggers a Microsoft Entra audit of the operation and generates an audit log. You can find the log in Microsoft Entra audit logs under the KeyManagement category. +// ToGetRequestInformation the recovery keys associated with the bitlocker entity. // returns a *RequestInformation when successful func (m *ItemInformationProtectionBitlockerRecoveryKeysBitlockerRecoveryKeyItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemInformationProtectionBitlockerRecoveryKeysBitlockerRecoveryKeyItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_information_protection_bitlocker_recovery_keys_request_builder.go b/users/item_information_protection_bitlocker_recovery_keys_request_builder.go index d2c131fc683..c6a3b7a57b7 100644 --- a/users/item_information_protection_bitlocker_recovery_keys_request_builder.go +++ b/users/item_information_protection_bitlocker_recovery_keys_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemInformationProtectionBitlockerRecoveryKeysRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemInformationProtectionBitlockerRecoveryKeysRequestBuilderGetQueryParameters 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. +// ItemInformationProtectionBitlockerRecoveryKeysRequestBuilderGetQueryParameters the recovery keys associated with the bitlocker entity. type ItemInformationProtectionBitlockerRecoveryKeysRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewItemInformationProtectionBitlockerRecoveryKeysRequestBuilder(rawUrl stri func (m *ItemInformationProtectionBitlockerRecoveryKeysRequestBuilder) Count()(*ItemInformationProtectionBitlockerRecoveryKeysCountRequestBuilder) { return NewItemInformationProtectionBitlockerRecoveryKeysCountRequestBuilderInternal(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 the recovery keys associated with the bitlocker entity. // returns a BitlockerRecoveryKeyCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/bitlocker-list-recoverykeys?view=graph-rest-1.0 func (m *ItemInformationProtectionBitlockerRecoveryKeysRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemInformationProtectionBitlockerRecoveryKeysRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BitlockerRecoveryKeyCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *ItemInformationProtectionBitlockerRecoveryKeysRequestBuilder) Get(ctx c } 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 the recovery keys associated with the bitlocker entity. // returns a *RequestInformation when successful func (m *ItemInformationProtectionBitlockerRecoveryKeysRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemInformationProtectionBitlockerRecoveryKeysRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_information_protection_policy_labels_evaluate_application_request_builder.go b/users/item_information_protection_policy_labels_evaluate_application_request_builder.go index 5970886f296..59a1aa918fa 100644 --- a/users/item_information_protection_policy_labels_evaluate_application_request_builder.go +++ b/users/item_information_protection_policy_labels_evaluate_application_request_builder.go @@ -36,7 +36,7 @@ func NewItemInformationProtectionPolicyLabelsEvaluateApplicationRequestBuilder(r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionlabel-evaluateapplication?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionlabel-evaluateapplication?view=graph-rest-beta func (m *ItemInformationProtectionPolicyLabelsEvaluateApplicationRequestBuilder) Post(ctx context.Context, body ItemInformationProtectionPolicyLabelsEvaluateApplicationPostRequestBodyable, requestConfiguration *ItemInformationProtectionPolicyLabelsEvaluateApplicationRequestBuilderPostRequestConfiguration)(ItemInformationProtectionPolicyLabelsEvaluateApplicationResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -60,7 +60,7 @@ func (m *ItemInformationProtectionPolicyLabelsEvaluateApplicationRequestBuilder) // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionlabel-evaluateapplication?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionlabel-evaluateapplication?view=graph-rest-beta func (m *ItemInformationProtectionPolicyLabelsEvaluateApplicationRequestBuilder) PostAsEvaluateApplicationPostResponse(ctx context.Context, body ItemInformationProtectionPolicyLabelsEvaluateApplicationPostRequestBodyable, requestConfiguration *ItemInformationProtectionPolicyLabelsEvaluateApplicationRequestBuilderPostRequestConfiguration)(ItemInformationProtectionPolicyLabelsEvaluateApplicationPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_information_protection_policy_labels_evaluate_classification_results_request_builder.go b/users/item_information_protection_policy_labels_evaluate_classification_results_request_builder.go index 1a1fc8269b0..512240cfa3d 100644 --- a/users/item_information_protection_policy_labels_evaluate_classification_results_request_builder.go +++ b/users/item_information_protection_policy_labels_evaluate_classification_results_request_builder.go @@ -36,7 +36,7 @@ func NewItemInformationProtectionPolicyLabelsEvaluateClassificationResultsReques // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionlabel-evaluateclassificationresults?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionlabel-evaluateclassificationresults?view=graph-rest-beta func (m *ItemInformationProtectionPolicyLabelsEvaluateClassificationResultsRequestBuilder) Post(ctx context.Context, body ItemInformationProtectionPolicyLabelsEvaluateClassificationResultsPostRequestBodyable, requestConfiguration *ItemInformationProtectionPolicyLabelsEvaluateClassificationResultsRequestBuilderPostRequestConfiguration)(ItemInformationProtectionPolicyLabelsEvaluateClassificationResultsResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -60,7 +60,7 @@ func (m *ItemInformationProtectionPolicyLabelsEvaluateClassificationResultsReque // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionlabel-evaluateclassificationresults?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionlabel-evaluateclassificationresults?view=graph-rest-beta func (m *ItemInformationProtectionPolicyLabelsEvaluateClassificationResultsRequestBuilder) PostAsEvaluateClassificationResultsPostResponse(ctx context.Context, body ItemInformationProtectionPolicyLabelsEvaluateClassificationResultsPostRequestBodyable, requestConfiguration *ItemInformationProtectionPolicyLabelsEvaluateClassificationResultsRequestBuilderPostRequestConfiguration)(ItemInformationProtectionPolicyLabelsEvaluateClassificationResultsPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_information_protection_policy_labels_evaluate_removal_request_builder.go b/users/item_information_protection_policy_labels_evaluate_removal_request_builder.go index 543594d093b..478bafe9aa4 100644 --- a/users/item_information_protection_policy_labels_evaluate_removal_request_builder.go +++ b/users/item_information_protection_policy_labels_evaluate_removal_request_builder.go @@ -36,7 +36,7 @@ func NewItemInformationProtectionPolicyLabelsEvaluateRemovalRequestBuilder(rawUr // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionlabel-evaluateremoval?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionlabel-evaluateremoval?view=graph-rest-beta func (m *ItemInformationProtectionPolicyLabelsEvaluateRemovalRequestBuilder) Post(ctx context.Context, body ItemInformationProtectionPolicyLabelsEvaluateRemovalPostRequestBodyable, requestConfiguration *ItemInformationProtectionPolicyLabelsEvaluateRemovalRequestBuilderPostRequestConfiguration)(ItemInformationProtectionPolicyLabelsEvaluateRemovalResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -60,7 +60,7 @@ func (m *ItemInformationProtectionPolicyLabelsEvaluateRemovalRequestBuilder) Pos // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionlabel-evaluateremoval?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionlabel-evaluateremoval?view=graph-rest-beta func (m *ItemInformationProtectionPolicyLabelsEvaluateRemovalRequestBuilder) PostAsEvaluateRemovalPostResponse(ctx context.Context, body ItemInformationProtectionPolicyLabelsEvaluateRemovalPostRequestBodyable, requestConfiguration *ItemInformationProtectionPolicyLabelsEvaluateRemovalRequestBuilderPostRequestConfiguration)(ItemInformationProtectionPolicyLabelsEvaluateRemovalPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_information_protection_policy_labels_extract_label_request_builder.go b/users/item_information_protection_policy_labels_extract_label_request_builder.go index 08e3c67e209..5f6e70c4737 100644 --- a/users/item_information_protection_policy_labels_extract_label_request_builder.go +++ b/users/item_information_protection_policy_labels_extract_label_request_builder.go @@ -37,7 +37,7 @@ func NewItemInformationProtectionPolicyLabelsExtractLabelRequestBuilder(rawUrl s // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionlabel-extractlabel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionlabel-extractlabel?view=graph-rest-beta func (m *ItemInformationProtectionPolicyLabelsExtractLabelRequestBuilder) Post(ctx context.Context, body ItemInformationProtectionPolicyLabelsExtractLabelPostRequestBodyable, requestConfiguration *ItemInformationProtectionPolicyLabelsExtractLabelRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InformationProtectionContentLabelable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_information_protection_policy_labels_information_protection_label_item_request_builder.go b/users/item_information_protection_policy_labels_information_protection_label_item_request_builder.go index bbbd8b70a32..c601cc69332 100644 --- a/users/item_information_protection_policy_labels_information_protection_label_item_request_builder.go +++ b/users/item_information_protection_policy_labels_information_protection_label_item_request_builder.go @@ -18,7 +18,7 @@ type ItemInformationProtectionPolicyLabelsInformationProtectionLabelItemRequestB // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemInformationProtectionPolicyLabelsInformationProtectionLabelItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an informationProtectionLabel object. +// ItemInformationProtectionPolicyLabelsInformationProtectionLabelItemRequestBuilderGetQueryParameters get labels from users type ItemInformationProtectionPolicyLabelsInformationProtectionLabelItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -71,13 +71,10 @@ func (m *ItemInformationProtectionPolicyLabelsInformationProtectionLabelItemRequ } return nil } -// Get retrieve the properties and relationships of an informationProtectionLabel object. +// Get get labels from users // Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels // returns a InformationProtectionLabelable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionlabel-get?view=graph-rest-1.0 func (m *ItemInformationProtectionPolicyLabelsInformationProtectionLabelItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemInformationProtectionPolicyLabelsInformationProtectionLabelItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InformationProtectionLabelable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -128,7 +125,7 @@ func (m *ItemInformationProtectionPolicyLabelsInformationProtectionLabelItemRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of an informationProtectionLabel object. +// ToGetRequestInformation get labels from users // Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels // returns a *RequestInformation when successful func (m *ItemInformationProtectionPolicyLabelsInformationProtectionLabelItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemInformationProtectionPolicyLabelsInformationProtectionLabelItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/users/item_information_protection_policy_labels_request_builder.go b/users/item_information_protection_policy_labels_request_builder.go index 33b70e7d34f..01fb50fca33 100644 --- a/users/item_information_protection_policy_labels_request_builder.go +++ b/users/item_information_protection_policy_labels_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemInformationProtectionPolicyLabelsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemInformationProtectionPolicyLabelsRequestBuilderGetQueryParameters get a collection of information protection labels available to the user or to the organization. +// ItemInformationProtectionPolicyLabelsRequestBuilderGetQueryParameters get labels from users type ItemInformationProtectionPolicyLabelsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -97,13 +97,10 @@ func (m *ItemInformationProtectionPolicyLabelsRequestBuilder) EvaluateRemoval()( func (m *ItemInformationProtectionPolicyLabelsRequestBuilder) ExtractLabel()(*ItemInformationProtectionPolicyLabelsExtractLabelRequestBuilder) { return NewItemInformationProtectionPolicyLabelsExtractLabelRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a collection of information protection labels available to the user or to the organization. +// Get get labels from users // Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels // returns a InformationProtectionLabelCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotectionpolicy-list-labels?view=graph-rest-1.0 func (m *ItemInformationProtectionPolicyLabelsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemInformationProtectionPolicyLabelsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InformationProtectionLabelCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -142,7 +139,7 @@ func (m *ItemInformationProtectionPolicyLabelsRequestBuilder) Post(ctx context.C } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InformationProtectionLabelable), nil } -// ToGetRequestInformation get a collection of information protection labels available to the user or to the organization. +// ToGetRequestInformation get labels from users // Deprecated: This API will no longer be accessible, please see microsoft.graph.security.informationProtection APIs. as of 2021-02/Beta_SensitivityLabels // returns a *RequestInformation when successful func (m *ItemInformationProtectionPolicyLabelsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemInformationProtectionPolicyLabelsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/users/item_information_protection_threat_assessment_requests_request_builder.go b/users/item_information_protection_threat_assessment_requests_request_builder.go index 8bd4b87d9bb..834e84333cf 100644 --- a/users/item_information_protection_threat_assessment_requests_request_builder.go +++ b/users/item_information_protection_threat_assessment_requests_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemInformationProtectionThreatAssessmentRequestsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemInformationProtectionThreatAssessmentRequestsRequestBuilderGetQueryParameters retrieve a list of threatAssessmentRequest objects. A threat assessment request can be one of the following types: +// ItemInformationProtectionThreatAssessmentRequestsRequestBuilderGetQueryParameters get threatAssessmentRequests from users type ItemInformationProtectionThreatAssessmentRequestsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemInformationProtectionThreatAssessmentRequestsRequestBuilder(rawUrl s func (m *ItemInformationProtectionThreatAssessmentRequestsRequestBuilder) Count()(*ItemInformationProtectionThreatAssessmentRequestsCountRequestBuilder) { return NewItemInformationProtectionThreatAssessmentRequestsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of threatAssessmentRequest objects. A threat assessment request can be one of the following types: +// Get get threatAssessmentRequests from users // returns a ThreatAssessmentRequestCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotection-list-threatassessmentrequests?view=graph-rest-1.0 func (m *ItemInformationProtectionThreatAssessmentRequestsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemInformationProtectionThreatAssessmentRequestsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ThreatAssessmentRequestCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemInformationProtectionThreatAssessmentRequestsRequestBuilder) Get(ct } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ThreatAssessmentRequestCollectionResponseable), nil } -// Post create a new threat assessment request. A threat assessment request can be one of the following types: +// Post create new navigation property to threatAssessmentRequests for users // returns a ThreatAssessmentRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/informationprotection-post-threatassessmentrequests?view=graph-rest-1.0 func (m *ItemInformationProtectionThreatAssessmentRequestsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ThreatAssessmentRequestable, requestConfiguration *ItemInformationProtectionThreatAssessmentRequestsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ThreatAssessmentRequestable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemInformationProtectionThreatAssessmentRequestsRequestBuilder) Post(c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ThreatAssessmentRequestable), nil } -// ToGetRequestInformation retrieve a list of threatAssessmentRequest objects. A threat assessment request can be one of the following types: +// ToGetRequestInformation get threatAssessmentRequests from users // returns a *RequestInformation when successful func (m *ItemInformationProtectionThreatAssessmentRequestsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemInformationProtectionThreatAssessmentRequestsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemInformationProtectionThreatAssessmentRequestsRequestBuilder) ToGetR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new threat assessment request. A threat assessment request can be one of the following types: +// ToPostRequestInformation create new navigation property to threatAssessmentRequests for users // returns a *RequestInformation when successful func (m *ItemInformationProtectionThreatAssessmentRequestsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ThreatAssessmentRequestable, requestConfiguration *ItemInformationProtectionThreatAssessmentRequestsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_information_protection_threat_assessment_requests_threat_assessment_request_item_request_builder.go b/users/item_information_protection_threat_assessment_requests_threat_assessment_request_item_request_builder.go index bc88cdccb1a..35544a05094 100644 --- a/users/item_information_protection_threat_assessment_requests_threat_assessment_request_item_request_builder.go +++ b/users/item_information_protection_threat_assessment_requests_threat_assessment_request_item_request_builder.go @@ -18,7 +18,7 @@ type ItemInformationProtectionThreatAssessmentRequestsThreatAssessmentRequestIte // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemInformationProtectionThreatAssessmentRequestsThreatAssessmentRequestItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a specified threatAssessmentRequest object. A threat assessment request can be one of the following types: +// ItemInformationProtectionThreatAssessmentRequestsThreatAssessmentRequestItemRequestBuilderGetQueryParameters get threatAssessmentRequests from users type ItemInformationProtectionThreatAssessmentRequestsThreatAssessmentRequestItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemInformationProtectionThreatAssessmentRequestsThreatAssessmentReques } return nil } -// Get retrieve the properties and relationships of a specified threatAssessmentRequest object. A threat assessment request can be one of the following types: +// Get get threatAssessmentRequests from users // returns a ThreatAssessmentRequestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/threatassessmentrequest-get?view=graph-rest-1.0 func (m *ItemInformationProtectionThreatAssessmentRequestsThreatAssessmentRequestItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemInformationProtectionThreatAssessmentRequestsThreatAssessmentRequestItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ThreatAssessmentRequestable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *ItemInformationProtectionThreatAssessmentRequestsThreatAssessmentReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a specified threatAssessmentRequest object. A threat assessment request can be one of the following types: +// ToGetRequestInformation get threatAssessmentRequests from users // returns a *RequestInformation when successful func (m *ItemInformationProtectionThreatAssessmentRequestsThreatAssessmentRequestItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemInformationProtectionThreatAssessmentRequestsThreatAssessmentRequestItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_invalidate_all_refresh_tokens_request_builder.go b/users/item_invalidate_all_refresh_tokens_request_builder.go index ceae80bd299..8bc166e8078 100644 --- a/users/item_invalidate_all_refresh_tokens_request_builder.go +++ b/users/item_invalidate_all_refresh_tokens_request_builder.go @@ -36,7 +36,7 @@ func NewItemInvalidateAllRefreshTokensRequestBuilder(rawUrl string, requestAdapt // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/user-invalidateallrefreshtokens?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/user-invalidateallrefreshtokens?view=graph-rest-beta func (m *ItemInvalidateAllRefreshTokensRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemInvalidateAllRefreshTokensRequestBuilderPostRequestConfiguration)(ItemInvalidateAllRefreshTokensResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ItemInvalidateAllRefreshTokensRequestBuilder) Post(ctx context.Context, // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/user-invalidateallrefreshtokens?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/user-invalidateallrefreshtokens?view=graph-rest-beta func (m *ItemInvalidateAllRefreshTokensRequestBuilder) PostAsInvalidateAllRefreshTokensPostResponse(ctx context.Context, requestConfiguration *ItemInvalidateAllRefreshTokensRequestBuilderPostRequestConfiguration)(ItemInvalidateAllRefreshTokensPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_joined_groups_delta_request_builder.go b/users/item_joined_groups_delta_request_builder.go index b10c85ea0ee..dfdeaae215e 100644 --- a/users/item_joined_groups_delta_request_builder.go +++ b/users/item_joined_groups_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemJoinedGroupsDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemJoinedGroupsDeltaRequestBuilderGetQueryParameters invoke function delta +// ItemJoinedGroupsDeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted groups, including group membership changes, without having to perform a full read of the entire group collection. See Using Delta Query for details. type ItemJoinedGroupsDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewItemJoinedGroupsDeltaRequestBuilder(rawUrl string, requestAdapter i2ae41 urlParams["request-raw-url"] = rawUrl return NewItemJoinedGroupsDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get get newly created, updated, or deleted groups, including group membership changes, without having to perform a full read of the entire group collection. See Using Delta Query for details. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemJoinedGroupsDeltaResponseable when successful // returns a ODataError error 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-delta?view=graph-rest-beta func (m *ItemJoinedGroupsDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemJoinedGroupsDeltaRequestBuilderGetRequestConfiguration)(ItemJoinedGroupsDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ItemJoinedGroupsDeltaRequestBuilder) Get(ctx context.Context, requestCo } return res.(ItemJoinedGroupsDeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse get newly created, updated, or deleted groups, including group membership changes, without having to perform a full read of the entire group collection. See Using Delta Query for details. // returns a ItemJoinedGroupsDeltaGetResponseable when successful // returns a ODataError error 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-delta?view=graph-rest-beta func (m *ItemJoinedGroupsDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemJoinedGroupsDeltaRequestBuilderGetRequestConfiguration)(ItemJoinedGroupsDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ItemJoinedGroupsDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context. } return res.(ItemJoinedGroupsDeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation get newly created, updated, or deleted groups, including group membership changes, without having to perform a full read of the entire group collection. See Using Delta Query for details. // returns a *RequestInformation when successful func (m *ItemJoinedGroupsDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemJoinedGroupsDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_joined_groups_evaluate_dynamic_membership_request_builder.go b/users/item_joined_groups_evaluate_dynamic_membership_request_builder.go index 4976018320e..768dd63be95 100644 --- a/users/item_joined_groups_evaluate_dynamic_membership_request_builder.go +++ b/users/item_joined_groups_evaluate_dynamic_membership_request_builder.go @@ -36,7 +36,7 @@ func NewItemJoinedGroupsEvaluateDynamicMembershipRequestBuilder(rawUrl string, r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/group-evaluatedynamicmembership?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/group-evaluatedynamicmembership?view=graph-rest-beta func (m *ItemJoinedGroupsEvaluateDynamicMembershipRequestBuilder) Post(ctx context.Context, body ItemJoinedGroupsEvaluateDynamicMembershipPostRequestBodyable, requestConfiguration *ItemJoinedGroupsEvaluateDynamicMembershipRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EvaluateDynamicMembershipResultable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_joined_teams_request_builder.go b/users/item_joined_teams_request_builder.go index 6626ef5e055..6e22652cae2 100644 --- a/users/item_joined_teams_request_builder.go +++ b/users/item_joined_teams_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemJoinedTeamsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemJoinedTeamsRequestBuilderGetQueryParameters get the teams in Microsoft Teams that the user is a direct member of. +// ItemJoinedTeamsRequestBuilderGetQueryParameters the Microsoft Teams teams the user is a member of. Read-only. Nullable. type ItemJoinedTeamsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewItemJoinedTeamsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7da func (m *ItemJoinedTeamsRequestBuilder) Count()(*ItemJoinedTeamsCountRequestBuilder) { return NewItemJoinedTeamsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the teams in Microsoft Teams that the user is a direct member of. +// Get the Microsoft Teams teams the user is a member of. Read-only. Nullable. // returns a TeamCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/user-list-joinedteams?view=graph-rest-1.0 func (m *ItemJoinedTeamsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemJoinedTeamsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *ItemJoinedTeamsRequestBuilder) Get(ctx context.Context, requestConfigur } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamCollectionResponseable), nil } -// ToGetRequestInformation get the teams in Microsoft Teams that the user is a direct member of. +// ToGetRequestInformation the Microsoft Teams teams the user is a member of. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemJoinedTeamsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemJoinedTeamsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_license_details_get_teams_licensing_details_request_builder.go b/users/item_license_details_get_teams_licensing_details_request_builder.go index 208ca4c45f0..3100037b22b 100644 --- a/users/item_license_details_get_teams_licensing_details_request_builder.go +++ b/users/item_license_details_get_teams_licensing_details_request_builder.go @@ -31,9 +31,12 @@ func NewItemLicenseDetailsGetTeamsLicensingDetailsRequestBuilder(rawUrl string, urlParams["request-raw-url"] = rawUrl return NewItemLicenseDetailsGetTeamsLicensingDetailsRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getTeamsLicensingDetails +// Get get the license status of a user in Microsoft Teams. // returns a TeamsLicensingDetailsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/licensedetails-getteamslicensingdetails?view=graph-rest-beta func (m *ItemLicenseDetailsGetTeamsLicensingDetailsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemLicenseDetailsGetTeamsLicensingDetailsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsLicensingDetailsable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -51,7 +54,7 @@ func (m *ItemLicenseDetailsGetTeamsLicensingDetailsRequestBuilder) Get(ctx conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsLicensingDetailsable), nil } -// ToGetRequestInformation invoke function getTeamsLicensingDetails +// ToGetRequestInformation get the license status of a user in Microsoft Teams. // returns a *RequestInformation when successful func (m *ItemLicenseDetailsGetTeamsLicensingDetailsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemLicenseDetailsGetTeamsLicensingDetailsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_license_details_request_builder.go b/users/item_license_details_request_builder.go index d7191654959..873a47ed076 100644 --- a/users/item_license_details_request_builder.go +++ b/users/item_license_details_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemLicenseDetailsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemLicenseDetailsRequestBuilderGetQueryParameters retrieve a list of licenseDetails objects for enterprise users. This API returns details for licenses that are directly assigned and those transitively assigned through memberships in licensed groups. +// ItemLicenseDetailsRequestBuilderGetQueryParameters get licenseDetails from users type ItemLicenseDetailsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemLicenseDetailsRequestBuilder(rawUrl string, requestAdapter i2ae4187f func (m *ItemLicenseDetailsRequestBuilder) Count()(*ItemLicenseDetailsCountRequestBuilder) { return NewItemLicenseDetailsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of licenseDetails objects for enterprise users. This API returns details for licenses that are directly assigned and those transitively assigned through memberships in licensed groups. +// Get get licenseDetails from users // returns a LicenseDetailsCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/user-list-licensedetails?view=graph-rest-1.0 func (m *ItemLicenseDetailsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemLicenseDetailsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LicenseDetailsCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemLicenseDetailsRequestBuilder) Post(ctx context.Context, body ie233e } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LicenseDetailsable), nil } -// ToGetRequestInformation retrieve a list of licenseDetails objects for enterprise users. This API returns details for licenses that are directly assigned and those transitively assigned through memberships in licensed groups. +// ToGetRequestInformation get licenseDetails from users // returns a *RequestInformation when successful func (m *ItemLicenseDetailsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemLicenseDetailsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_mail_folders_delta_request_builder.go b/users/item_mail_folders_delta_request_builder.go index 9e2894c2886..823db191e90 100644 --- a/users/item_mail_folders_delta_request_builder.go +++ b/users/item_mail_folders_delta_request_builder.go @@ -57,7 +57,7 @@ func NewItemMailFoldersDeltaRequestBuilder(rawUrl string, requestAdapter i2ae418 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/mailfolder-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/mailfolder-delta?view=graph-rest-beta func (m *ItemMailFoldersDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMailFoldersDeltaRequestBuilderGetRequestConfiguration)(ItemMailFoldersDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -80,7 +80,7 @@ func (m *ItemMailFoldersDeltaRequestBuilder) Get(ctx context.Context, requestCon // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/mailfolder-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/mailfolder-delta?view=graph-rest-beta func (m *ItemMailFoldersDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemMailFoldersDeltaRequestBuilderGetRequestConfiguration)(ItemMailFoldersDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_mail_folders_item_child_folders_delta_request_builder.go b/users/item_mail_folders_item_child_folders_delta_request_builder.go index 0bbc20d9e8d..6267e1f70a3 100644 --- a/users/item_mail_folders_item_child_folders_delta_request_builder.go +++ b/users/item_mail_folders_item_child_folders_delta_request_builder.go @@ -57,7 +57,7 @@ func NewItemMailFoldersItemChildFoldersDeltaRequestBuilder(rawUrl string, reques // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/mailfolder-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/mailfolder-delta?view=graph-rest-beta func (m *ItemMailFoldersItemChildFoldersDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMailFoldersItemChildFoldersDeltaRequestBuilderGetRequestConfiguration)(ItemMailFoldersItemChildFoldersDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -80,7 +80,7 @@ func (m *ItemMailFoldersItemChildFoldersDeltaRequestBuilder) Get(ctx context.Con // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/mailfolder-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/mailfolder-delta?view=graph-rest-beta func (m *ItemMailFoldersItemChildFoldersDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemMailFoldersItemChildFoldersDeltaRequestBuilderGetRequestConfiguration)(ItemMailFoldersItemChildFoldersDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_mail_folders_item_child_folders_item_copy_request_builder.go b/users/item_mail_folders_item_child_folders_item_copy_request_builder.go index 5a404df1d7c..5ee231c6525 100644 --- a/users/item_mail_folders_item_child_folders_item_copy_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_copy_request_builder.go @@ -36,7 +36,7 @@ func NewItemMailFoldersItemChildFoldersItemCopyRequestBuilder(rawUrl string, req // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/mailfolder-copy?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/mailfolder-copy?view=graph-rest-beta func (m *ItemMailFoldersItemChildFoldersItemCopyRequestBuilder) Post(ctx context.Context, body ItemMailFoldersItemChildFoldersItemCopyPostRequestBodyable, requestConfiguration *ItemMailFoldersItemChildFoldersItemCopyRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailFolderable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_mail_folders_item_child_folders_item_message_rules_message_rule_item_request_builder.go b/users/item_mail_folders_item_child_folders_item_message_rules_message_rule_item_request_builder.go index 2712eb61014..2f8b34cde9e 100644 --- a/users/item_mail_folders_item_child_folders_item_message_rules_message_rule_item_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_message_rules_message_rule_item_request_builder.go @@ -18,7 +18,7 @@ type ItemMailFoldersItemChildFoldersItemMessageRulesMessageRuleItemRequestBuilde // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemMailFoldersItemChildFoldersItemMessageRulesMessageRuleItemRequestBuilderGetQueryParameters get the properties and relationships of a messageRule object. +// ItemMailFoldersItemChildFoldersItemMessageRulesMessageRuleItemRequestBuilderGetQueryParameters the collection of rules that apply to the user's Inbox folder. type ItemMailFoldersItemChildFoldersItemMessageRulesMessageRuleItemRequestBuilderGetQueryParameters struct { // Select properties to be returned Select []string `uriparametername:"%24select"` @@ -52,11 +52,8 @@ func NewItemMailFoldersItemChildFoldersItemMessageRulesMessageRuleItemRequestBui urlParams["request-raw-url"] = rawUrl return NewItemMailFoldersItemChildFoldersItemMessageRulesMessageRuleItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete the specified messageRule object. +// Delete delete navigation property messageRules for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/messagerule-delete?view=graph-rest-1.0 func (m *ItemMailFoldersItemChildFoldersItemMessageRulesMessageRuleItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemMailFoldersItemChildFoldersItemMessageRulesMessageRuleItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -71,12 +68,9 @@ func (m *ItemMailFoldersItemChildFoldersItemMessageRulesMessageRuleItemRequestBu } return nil } -// Get get the properties and relationships of a messageRule object. +// Get the collection of rules that apply to the user's Inbox folder. // returns a MessageRuleable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/messagerule-get?view=graph-rest-1.0 func (m *ItemMailFoldersItemChildFoldersItemMessageRulesMessageRuleItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMailFoldersItemChildFoldersItemMessageRulesMessageRuleItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MessageRuleable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -94,12 +88,9 @@ func (m *ItemMailFoldersItemChildFoldersItemMessageRulesMessageRuleItemRequestBu } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MessageRuleable), nil } -// Patch change writable properties on a messageRule object and save the changes. +// Patch update the navigation property messageRules in users // returns a MessageRuleable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/messagerule-update?view=graph-rest-1.0 func (m *ItemMailFoldersItemChildFoldersItemMessageRulesMessageRuleItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MessageRuleable, requestConfiguration *ItemMailFoldersItemChildFoldersItemMessageRulesMessageRuleItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MessageRuleable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +108,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessageRulesMessageRuleItemRequestBu } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MessageRuleable), nil } -// ToDeleteRequestInformation delete the specified messageRule object. +// ToDeleteRequestInformation delete navigation property messageRules for users // returns a *RequestInformation when successful func (m *ItemMailFoldersItemChildFoldersItemMessageRulesMessageRuleItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemMailFoldersItemChildFoldersItemMessageRulesMessageRuleItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -128,7 +119,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessageRulesMessageRuleItemRequestBu requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties and relationships of a messageRule object. +// ToGetRequestInformation the collection of rules that apply to the user's Inbox folder. // returns a *RequestInformation when successful func (m *ItemMailFoldersItemChildFoldersItemMessageRulesMessageRuleItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMailFoldersItemChildFoldersItemMessageRulesMessageRuleItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -142,7 +133,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessageRulesMessageRuleItemRequestBu requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation change writable properties on a messageRule object and save the changes. +// ToPatchRequestInformation update the navigation property messageRules in users // returns a *RequestInformation when successful func (m *ItemMailFoldersItemChildFoldersItemMessageRulesMessageRuleItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MessageRuleable, requestConfiguration *ItemMailFoldersItemChildFoldersItemMessageRulesMessageRuleItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_mail_folders_item_child_folders_item_message_rules_request_builder.go b/users/item_mail_folders_item_child_folders_item_message_rules_request_builder.go index b578f6ed6b7..9b47cc99bb2 100644 --- a/users/item_mail_folders_item_child_folders_item_message_rules_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_message_rules_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemMailFoldersItemChildFoldersItemMessageRulesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemMailFoldersItemChildFoldersItemMessageRulesRequestBuilderGetQueryParameters get all the messageRule objects defined for the user's inbox. +// ItemMailFoldersItemChildFoldersItemMessageRulesRequestBuilderGetQueryParameters the collection of rules that apply to the user's Inbox folder. type ItemMailFoldersItemChildFoldersItemMessageRulesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -72,12 +72,9 @@ func NewItemMailFoldersItemChildFoldersItemMessageRulesRequestBuilder(rawUrl str func (m *ItemMailFoldersItemChildFoldersItemMessageRulesRequestBuilder) Count()(*ItemMailFoldersItemChildFoldersItemMessageRulesCountRequestBuilder) { return NewItemMailFoldersItemChildFoldersItemMessageRulesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get all the messageRule objects defined for the user's inbox. +// Get the collection of rules that apply to the user's Inbox folder. // returns a MessageRuleCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/mailfolder-list-messagerules?view=graph-rest-1.0 func (m *ItemMailFoldersItemChildFoldersItemMessageRulesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMailFoldersItemChildFoldersItemMessageRulesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MessageRuleCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,12 +92,9 @@ func (m *ItemMailFoldersItemChildFoldersItemMessageRulesRequestBuilder) Get(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MessageRuleCollectionResponseable), nil } -// Post create a messageRule object by specifying a set of conditions and actions. Outlook carries out those actions if an incoming message in the user's Inbox meets the specified conditions. +// Post create new navigation property to messageRules for users // returns a MessageRuleable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/mailfolder-post-messagerules?view=graph-rest-1.0 func (m *ItemMailFoldersItemChildFoldersItemMessageRulesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MessageRuleable, requestConfiguration *ItemMailFoldersItemChildFoldersItemMessageRulesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MessageRuleable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -118,7 +112,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessageRulesRequestBuilder) Post(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MessageRuleable), nil } -// ToGetRequestInformation get all the messageRule objects defined for the user's inbox. +// ToGetRequestInformation the collection of rules that apply to the user's Inbox folder. // returns a *RequestInformation when successful func (m *ItemMailFoldersItemChildFoldersItemMessageRulesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMailFoldersItemChildFoldersItemMessageRulesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -132,7 +126,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessageRulesRequestBuilder) ToGetReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a messageRule object by specifying a set of conditions and actions. Outlook carries out those actions if an incoming message in the user's Inbox meets the specified conditions. +// ToPostRequestInformation create new navigation property to messageRules for users // returns a *RequestInformation when successful func (m *ItemMailFoldersItemChildFoldersItemMessageRulesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MessageRuleable, requestConfiguration *ItemMailFoldersItemChildFoldersItemMessageRulesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, 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 fb782307ef7..bb4c7a9ddbe 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 @@ -59,7 +59,7 @@ func NewItemMailFoldersItemChildFoldersItemMessagesDeltaRequestBuilder(rawUrl st // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/message-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/message-delta?view=graph-rest-beta func (m *ItemMailFoldersItemChildFoldersItemMessagesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMailFoldersItemChildFoldersItemMessagesDeltaRequestBuilderGetRequestConfiguration)(ItemMailFoldersItemChildFoldersItemMessagesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -82,7 +82,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesDeltaRequestBuilder) Get(ctx // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/message-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/message-delta?view=graph-rest-beta func (m *ItemMailFoldersItemChildFoldersItemMessagesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemMailFoldersItemChildFoldersItemMessagesDeltaRequestBuilderGetRequestConfiguration)(ItemMailFoldersItemChildFoldersItemMessagesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_mail_folders_item_child_folders_item_messages_item_attachments_attachment_item_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_item_attachments_attachment_item_request_builder.go index 794a044444a..9a027f04867 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_item_attachments_attachment_item_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsAttachmentItemReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters the fileAttachment and itemAttachment attachments for the message. type ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -63,12 +63,9 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsAttachmentIte } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get the fileAttachment and itemAttachment attachments for the message. // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 func (m *ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -97,7 +94,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsAttachmentIte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation the fileAttachment and itemAttachment attachments for the message. // returns a *RequestInformation when successful func (m *ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*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_item_attachments_create_upload_session_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_item_attachments_create_upload_session_request_builder.go index 6792248d042..016e64cce46 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_item_attachments_create_upload_session_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsCreateUploadSe // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_mail_folders_item_child_folders_item_messages_item_attachments_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_item_attachments_request_builder.go index 5b125125fd9..205b8f368a8 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_item_attachments_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to a message. +// ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsRequestBuilderGetQueryParameters the fileAttachment and itemAttachment attachments for the message. type ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -75,12 +75,9 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsRequestBuilde func (m *ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to a message. +// Get the fileAttachment and itemAttachment attachments for the message. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/message-list-attachments?view=graph-rest-1.0 func (m *ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,12 +95,9 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsRequestBuilde } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post create new navigation property to attachments for users // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -121,7 +115,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsRequestBuilde } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to a message. +// ToGetRequestInformation the fileAttachment and itemAttachment attachments for the message. // returns a *RequestInformation when successful func (m *ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -135,7 +129,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsRequestBuilde requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation create new navigation property to attachments for users // returns a *RequestInformation when successful func (m *ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_mail_folders_item_child_folders_item_messages_item_copy_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_item_copy_request_builder.go index 473f834c666..8b483c70899 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_item_copy_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_item_copy_request_builder.go @@ -36,7 +36,7 @@ func NewItemMailFoldersItemChildFoldersItemMessagesItemCopyRequestBuilder(rawUrl // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/message-copy?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/message-copy?view=graph-rest-beta func (m *ItemMailFoldersItemChildFoldersItemMessagesItemCopyRequestBuilder) Post(ctx context.Context, body ItemMailFoldersItemChildFoldersItemMessagesItemCopyPostRequestBodyable, requestConfiguration *ItemMailFoldersItemChildFoldersItemMessagesItemCopyRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Messageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_mail_folders_item_child_folders_item_messages_item_create_forward_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_item_create_forward_request_builder.go index 583c38cfe21..b40d49b062a 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_item_create_forward_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_item_create_forward_request_builder.go @@ -36,7 +36,7 @@ func NewItemMailFoldersItemChildFoldersItemMessagesItemCreateForwardRequestBuild // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/message-createforward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/message-createforward?view=graph-rest-beta func (m *ItemMailFoldersItemChildFoldersItemMessagesItemCreateForwardRequestBuilder) Post(ctx context.Context, body ItemMailFoldersItemChildFoldersItemMessagesItemCreateForwardPostRequestBodyable, requestConfiguration *ItemMailFoldersItemChildFoldersItemMessagesItemCreateForwardRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Messageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_mail_folders_item_child_folders_item_messages_item_create_reply_all_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_item_create_reply_all_request_builder.go index c0e192ef7a1..2da93ed7ec9 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_item_create_reply_all_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_item_create_reply_all_request_builder.go @@ -36,7 +36,7 @@ func NewItemMailFoldersItemChildFoldersItemMessagesItemCreateReplyAllRequestBuil // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/message-createreplyall?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/message-createreplyall?view=graph-rest-beta func (m *ItemMailFoldersItemChildFoldersItemMessagesItemCreateReplyAllRequestBuilder) Post(ctx context.Context, body ItemMailFoldersItemChildFoldersItemMessagesItemCreateReplyAllPostRequestBodyable, requestConfiguration *ItemMailFoldersItemChildFoldersItemMessagesItemCreateReplyAllRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Messageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_mail_folders_item_child_folders_item_messages_item_create_reply_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_item_create_reply_request_builder.go index 248625371d6..9d298fbbf44 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_item_create_reply_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_item_create_reply_request_builder.go @@ -36,7 +36,7 @@ func NewItemMailFoldersItemChildFoldersItemMessagesItemCreateReplyRequestBuilder // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/message-createreply?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/message-createreply?view=graph-rest-beta func (m *ItemMailFoldersItemChildFoldersItemMessagesItemCreateReplyRequestBuilder) Post(ctx context.Context, body ItemMailFoldersItemChildFoldersItemMessagesItemCreateReplyPostRequestBodyable, requestConfiguration *ItemMailFoldersItemChildFoldersItemMessagesItemCreateReplyRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Messageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_mail_folders_item_child_folders_item_messages_item_extensions_extension_item_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_item_extensions_extension_item_request_builder.go index 6b59f887610..fce0f447a47 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_item_extensions_extension_item_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemMailFoldersItemChildFoldersItemMessagesItemExtensionsExtensionItemReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemMailFoldersItemChildFoldersItemMessagesItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemMailFoldersItemChildFoldersItemMessagesItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the message. Nullable. type ItemMailFoldersItemChildFoldersItemMessagesItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemMailFoldersItemChildFoldersItemMessagesItemExtensionsExtensionItemRe urlParams["request-raw-url"] = rawUrl return NewItemMailFoldersItemChildFoldersItemMessagesItemExtensionsExtensionItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an open extension (openTypeExtension object) from the specified instance of a resource. For the list of resources that support open extensions, see the table in the Permissions section. +// Delete delete navigation property extensions for users // returns a ODataError error 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-delete?view=graph-rest-1.0 func (m *ItemMailFoldersItemChildFoldersItemMessagesItemExtensionsExtensionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemMailFoldersItemChildFoldersItemMessagesItemExtensionsExtensionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemExtensionsExtensionItemR } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the message. Nullable. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemMailFoldersItemChildFoldersItemMessagesItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMailFoldersItemChildFoldersItemMessagesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -116,7 +110,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemExtensionsExtensionItemR } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToDeleteRequestInformation delete an open extension (openTypeExtension object) from the specified instance of a resource. For the list of resources that support open extensions, see the table in the Permissions section. +// ToDeleteRequestInformation delete navigation property extensions for users // returns a *RequestInformation when successful func (m *ItemMailFoldersItemChildFoldersItemMessagesItemExtensionsExtensionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemMailFoldersItemChildFoldersItemMessagesItemExtensionsExtensionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -127,7 +121,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemExtensionsExtensionItemR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the message. Nullable. // returns a *RequestInformation when successful func (m *ItemMailFoldersItemChildFoldersItemMessagesItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMailFoldersItemChildFoldersItemMessagesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*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_item_extensions_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_item_extensions_request_builder.go index a0adba2526d..c33c805ca75 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_item_extensions_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemMailFoldersItemChildFoldersItemMessagesItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemMailFoldersItemChildFoldersItemMessagesItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemMailFoldersItemChildFoldersItemMessagesItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the message. Nullable. type ItemMailFoldersItemChildFoldersItemMessagesItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemMailFoldersItemChildFoldersItemMessagesItemExtensionsRequestBuilder( func (m *ItemMailFoldersItemChildFoldersItemMessagesItemExtensionsRequestBuilder) Count()(*ItemMailFoldersItemChildFoldersItemMessagesItemExtensionsCountRequestBuilder) { return NewItemMailFoldersItemChildFoldersItemMessagesItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the message. Nullable. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemMailFoldersItemChildFoldersItemMessagesItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMailFoldersItemChildFoldersItemMessagesItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -94,12 +94,9 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemExtensionsRequestBuilder } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to extensions for users // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemMailFoldersItemChildFoldersItemMessagesItemExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemMailFoldersItemChildFoldersItemMessagesItemExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemExtensionsRequestBuilder } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the message. Nullable. // returns a *RequestInformation when successful func (m *ItemMailFoldersItemChildFoldersItemMessagesItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMailFoldersItemChildFoldersItemMessagesItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +128,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemExtensionsRequestBuilder requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to extensions for users // returns a *RequestInformation when successful func (m *ItemMailFoldersItemChildFoldersItemMessagesItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemMailFoldersItemChildFoldersItemMessagesItemExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_mail_folders_item_child_folders_item_messages_item_forward_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_item_forward_request_builder.go index 04c92b1ecc7..e2695edf335 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_item_forward_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemMailFoldersItemChildFoldersItemMessagesItemForwardRequestBuilder(raw // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/message-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/message-forward?view=graph-rest-beta func (m *ItemMailFoldersItemChildFoldersItemMessagesItemForwardRequestBuilder) Post(ctx context.Context, body ItemMailFoldersItemChildFoldersItemMessagesItemForwardPostRequestBodyable, requestConfiguration *ItemMailFoldersItemChildFoldersItemMessagesItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_mail_folders_item_child_folders_item_messages_item_mark_as_junk_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_item_mark_as_junk_request_builder.go index b48e4dc1976..d44c1812bdb 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_item_mark_as_junk_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_item_mark_as_junk_request_builder.go @@ -36,7 +36,7 @@ func NewItemMailFoldersItemChildFoldersItemMessagesItemMarkAsJunkRequestBuilder( // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/message-markasjunk?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/message-markasjunk?view=graph-rest-beta func (m *ItemMailFoldersItemChildFoldersItemMessagesItemMarkAsJunkRequestBuilder) Post(ctx context.Context, body ItemMailFoldersItemChildFoldersItemMessagesItemMarkAsJunkPostRequestBodyable, requestConfiguration *ItemMailFoldersItemChildFoldersItemMessagesItemMarkAsJunkRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Messageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_mail_folders_item_child_folders_item_messages_item_mark_as_not_junk_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_item_mark_as_not_junk_request_builder.go index 0739f181c19..994c6a8f649 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_item_mark_as_not_junk_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_item_mark_as_not_junk_request_builder.go @@ -36,7 +36,7 @@ func NewItemMailFoldersItemChildFoldersItemMessagesItemMarkAsNotJunkRequestBuild // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/message-markasnotjunk?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/message-markasnotjunk?view=graph-rest-beta func (m *ItemMailFoldersItemChildFoldersItemMessagesItemMarkAsNotJunkRequestBuilder) Post(ctx context.Context, body ItemMailFoldersItemChildFoldersItemMessagesItemMarkAsNotJunkPostRequestBodyable, requestConfiguration *ItemMailFoldersItemChildFoldersItemMessagesItemMarkAsNotJunkRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Messageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_mail_folders_item_child_folders_item_messages_item_mentions_mention_item_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_item_mentions_mention_item_request_builder.go index ddddd8b2373..dab6ea5b678 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_item_mentions_mention_item_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_item_mentions_mention_item_request_builder.go @@ -47,11 +47,8 @@ func NewItemMailFoldersItemChildFoldersItemMessagesItemMentionsMentionItemReques urlParams["request-raw-url"] = rawUrl return NewItemMailFoldersItemChildFoldersItemMessagesItemMentionsMentionItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a message in the specified user's mailbox, or delete a relationship of the message. For example, you can delete a specific @-mention of the specified user in the message. +// Delete delete navigation property mentions for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/message-delete?view=graph-rest-1.0 func (m *ItemMailFoldersItemChildFoldersItemMessagesItemMentionsMentionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemMailFoldersItemChildFoldersItemMessagesItemMentionsMentionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -86,7 +83,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemMentionsMentionItemReque } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Mentionable), nil } -// ToDeleteRequestInformation delete a message in the specified user's mailbox, or delete a relationship of the message. For example, you can delete a specific @-mention of the specified user in the message. +// ToDeleteRequestInformation delete navigation property mentions for users // returns a *RequestInformation when successful func (m *ItemMailFoldersItemChildFoldersItemMessagesItemMentionsMentionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemMailFoldersItemChildFoldersItemMessagesItemMentionsMentionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_mail_folders_item_child_folders_item_messages_item_move_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_item_move_request_builder.go index 8edf466a2d7..99954995b0c 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_item_move_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_item_move_request_builder.go @@ -36,7 +36,7 @@ func NewItemMailFoldersItemChildFoldersItemMessagesItemMoveRequestBuilder(rawUrl // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/message-move?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/message-move?view=graph-rest-beta func (m *ItemMailFoldersItemChildFoldersItemMessagesItemMoveRequestBuilder) Post(ctx context.Context, body ItemMailFoldersItemChildFoldersItemMessagesItemMovePostRequestBodyable, requestConfiguration *ItemMailFoldersItemChildFoldersItemMessagesItemMoveRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Messageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_mail_folders_item_child_folders_item_messages_item_reply_all_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_item_reply_all_request_builder.go index d5755e58746..317abd7b787 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_item_reply_all_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_item_reply_all_request_builder.go @@ -34,7 +34,7 @@ func NewItemMailFoldersItemChildFoldersItemMessagesItemReplyAllRequestBuilder(ra // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/message-replyall?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/message-replyall?view=graph-rest-beta func (m *ItemMailFoldersItemChildFoldersItemMessagesItemReplyAllRequestBuilder) Post(ctx context.Context, body ItemMailFoldersItemChildFoldersItemMessagesItemReplyAllPostRequestBodyable, requestConfiguration *ItemMailFoldersItemChildFoldersItemMessagesItemReplyAllRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_mail_folders_item_child_folders_item_messages_item_reply_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_item_reply_request_builder.go index f470b560a2f..403fab144f8 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_item_reply_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_item_reply_request_builder.go @@ -34,7 +34,7 @@ func NewItemMailFoldersItemChildFoldersItemMessagesItemReplyRequestBuilder(rawUr // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/message-reply?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/message-reply?view=graph-rest-beta func (m *ItemMailFoldersItemChildFoldersItemMessagesItemReplyRequestBuilder) Post(ctx context.Context, body ItemMailFoldersItemChildFoldersItemMessagesItemReplyPostRequestBodyable, requestConfiguration *ItemMailFoldersItemChildFoldersItemMessagesItemReplyRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_mail_folders_item_child_folders_item_messages_item_send_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_item_send_request_builder.go index b32deb27f7c..768d40095f5 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_item_send_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_item_send_request_builder.go @@ -34,7 +34,7 @@ func NewItemMailFoldersItemChildFoldersItemMessagesItemSendRequestBuilder(rawUrl // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/message-send?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/message-send?view=graph-rest-beta func (m *ItemMailFoldersItemChildFoldersItemMessagesItemSendRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemMailFoldersItemChildFoldersItemMessagesItemSendRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_mail_folders_item_child_folders_item_messages_item_unsubscribe_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_item_unsubscribe_request_builder.go index 6e79bb54cfa..d3445c2fd32 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_item_unsubscribe_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_item_unsubscribe_request_builder.go @@ -34,7 +34,7 @@ func NewItemMailFoldersItemChildFoldersItemMessagesItemUnsubscribeRequestBuilder // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/message-unsubscribe?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/message-unsubscribe?view=graph-rest-beta func (m *ItemMailFoldersItemChildFoldersItemMessagesItemUnsubscribeRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemMailFoldersItemChildFoldersItemMessagesItemUnsubscribeRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_mail_folders_item_child_folders_item_messages_item_value_content_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_item_value_content_request_builder.go index 6164ddcc35a..1b3fd8f1d34 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_item_value_content_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_item_value_content_request_builder.go @@ -40,9 +40,6 @@ func NewItemMailFoldersItemChildFoldersItemMessagesItemValueContentRequestBuilde // Get get media content for the navigation property messages from users // 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/mailfolder-list-messages?view=graph-rest-1.0 func (m *ItemMailFoldersItemChildFoldersItemMessagesItemValueContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMailFoldersItemChildFoldersItemMessagesItemValueContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_mail_folders_item_child_folders_item_messages_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_request_builder.go index a946cc65449..55535839816 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemMailFoldersItemChildFoldersItemMessagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemMailFoldersItemChildFoldersItemMessagesRequestBuilderGetQueryParameters list all the messages in the specified user's mailbox, or those messages in a specified folder in the mailbox. +// ItemMailFoldersItemChildFoldersItemMessagesRequestBuilderGetQueryParameters the collection of messages in the mailFolder. type ItemMailFoldersItemChildFoldersItemMessagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesRequestBuilder) Count()(*Ite func (m *ItemMailFoldersItemChildFoldersItemMessagesRequestBuilder) Delta()(*ItemMailFoldersItemChildFoldersItemMessagesDeltaRequestBuilder) { return NewItemMailFoldersItemChildFoldersItemMessagesDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list all the messages in the specified user's mailbox, or those messages in a specified folder in the mailbox. +// Get the collection of messages in the mailFolder. // returns a MessageCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/mailfolder-list-messages?view=graph-rest-1.0 func (m *ItemMailFoldersItemChildFoldersItemMessagesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMailFoldersItemChildFoldersItemMessagesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MessageCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesRequestBuilder) Get(ctx cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MessageCollectionResponseable), nil } -// Post use this API to create a new Message in a mailfolder. +// Post create new navigation property to messages for users // returns a Messageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/mailfolder-post-messages?view=graph-rest-1.0 func (m *ItemMailFoldersItemChildFoldersItemMessagesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Messageable, requestConfiguration *ItemMailFoldersItemChildFoldersItemMessagesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Messageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesRequestBuilder) Post(ctx con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Messageable), nil } -// ToGetRequestInformation list all the messages in the specified user's mailbox, or those messages in a specified folder in the mailbox. +// ToGetRequestInformation the collection of messages in the mailFolder. // returns a *RequestInformation when successful func (m *ItemMailFoldersItemChildFoldersItemMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMailFoldersItemChildFoldersItemMessagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesRequestBuilder) ToGetRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Message in a mailfolder. +// ToPostRequestInformation create new navigation property to messages for users // returns a *RequestInformation when successful func (m *ItemMailFoldersItemChildFoldersItemMessagesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Messageable, requestConfiguration *ItemMailFoldersItemChildFoldersItemMessagesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_mail_folders_item_child_folders_item_move_request_builder.go b/users/item_mail_folders_item_child_folders_item_move_request_builder.go index 82995cf33de..b6ba3554a59 100644 --- a/users/item_mail_folders_item_child_folders_item_move_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_move_request_builder.go @@ -36,7 +36,7 @@ func NewItemMailFoldersItemChildFoldersItemMoveRequestBuilder(rawUrl string, req // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/mailfolder-move?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/mailfolder-move?view=graph-rest-beta func (m *ItemMailFoldersItemChildFoldersItemMoveRequestBuilder) Post(ctx context.Context, body ItemMailFoldersItemChildFoldersItemMovePostRequestBodyable, requestConfiguration *ItemMailFoldersItemChildFoldersItemMoveRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailFolderable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_mail_folders_item_child_folders_request_builder.go b/users/item_mail_folders_item_child_folders_request_builder.go index d9b1db1aed9..27f0deb36c6 100644 --- a/users/item_mail_folders_item_child_folders_request_builder.go +++ b/users/item_mail_folders_item_child_folders_request_builder.go @@ -84,9 +84,6 @@ func (m *ItemMailFoldersItemChildFoldersRequestBuilder) Delta()(*ItemMailFolders // Get the collection of child folders in the mailFolder. // returns a MailFolderCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/mailfolder-list-childfolders?view=graph-rest-1.0 func (m *ItemMailFoldersItemChildFoldersRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMailFoldersItemChildFoldersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailFolderCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *ItemMailFoldersItemChildFoldersRequestBuilder) Get(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailFolderCollectionResponseable), nil } -// Post create a new mailSearchFolder in the specified user's mailbox. +// Post create new navigation property to childFolders for users // returns a MailFolderable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/mailsearchfolder-post?view=graph-rest-1.0 func (m *ItemMailFoldersItemChildFoldersRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailFolderable, requestConfiguration *ItemMailFoldersItemChildFoldersRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailFolderable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -141,7 +135,7 @@ func (m *ItemMailFoldersItemChildFoldersRequestBuilder) ToGetRequestInformation( requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new mailSearchFolder in the specified user's mailbox. +// ToPostRequestInformation create new navigation property to childFolders for users // returns a *RequestInformation when successful func (m *ItemMailFoldersItemChildFoldersRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailFolderable, requestConfiguration *ItemMailFoldersItemChildFoldersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_mail_folders_item_copy_request_builder.go b/users/item_mail_folders_item_copy_request_builder.go index 6451ea5fc86..213c45389cc 100644 --- a/users/item_mail_folders_item_copy_request_builder.go +++ b/users/item_mail_folders_item_copy_request_builder.go @@ -36,7 +36,7 @@ func NewItemMailFoldersItemCopyRequestBuilder(rawUrl string, requestAdapter i2ae // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/mailfolder-copy?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/mailfolder-copy?view=graph-rest-beta func (m *ItemMailFoldersItemCopyRequestBuilder) Post(ctx context.Context, body ItemMailFoldersItemCopyPostRequestBodyable, requestConfiguration *ItemMailFoldersItemCopyRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailFolderable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_mail_folders_item_message_rules_message_rule_item_request_builder.go b/users/item_mail_folders_item_message_rules_message_rule_item_request_builder.go index 02073d4a837..9db6bb80bee 100644 --- a/users/item_mail_folders_item_message_rules_message_rule_item_request_builder.go +++ b/users/item_mail_folders_item_message_rules_message_rule_item_request_builder.go @@ -18,7 +18,7 @@ type ItemMailFoldersItemMessageRulesMessageRuleItemRequestBuilderDeleteRequestCo // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemMailFoldersItemMessageRulesMessageRuleItemRequestBuilderGetQueryParameters get the properties and relationships of a messageRule object. +// ItemMailFoldersItemMessageRulesMessageRuleItemRequestBuilderGetQueryParameters the collection of rules that apply to the user's Inbox folder. type ItemMailFoldersItemMessageRulesMessageRuleItemRequestBuilderGetQueryParameters struct { // Select properties to be returned Select []string `uriparametername:"%24select"` @@ -52,11 +52,8 @@ func NewItemMailFoldersItemMessageRulesMessageRuleItemRequestBuilder(rawUrl stri urlParams["request-raw-url"] = rawUrl return NewItemMailFoldersItemMessageRulesMessageRuleItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete the specified messageRule object. +// Delete delete navigation property messageRules for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/messagerule-delete?view=graph-rest-1.0 func (m *ItemMailFoldersItemMessageRulesMessageRuleItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemMailFoldersItemMessageRulesMessageRuleItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -71,12 +68,9 @@ func (m *ItemMailFoldersItemMessageRulesMessageRuleItemRequestBuilder) Delete(ct } return nil } -// Get get the properties and relationships of a messageRule object. +// Get the collection of rules that apply to the user's Inbox folder. // returns a MessageRuleable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/messagerule-get?view=graph-rest-1.0 func (m *ItemMailFoldersItemMessageRulesMessageRuleItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMailFoldersItemMessageRulesMessageRuleItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MessageRuleable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -94,12 +88,9 @@ func (m *ItemMailFoldersItemMessageRulesMessageRuleItemRequestBuilder) Get(ctx c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MessageRuleable), nil } -// Patch change writable properties on a messageRule object and save the changes. +// Patch update the navigation property messageRules in users // returns a MessageRuleable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/messagerule-update?view=graph-rest-1.0 func (m *ItemMailFoldersItemMessageRulesMessageRuleItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MessageRuleable, requestConfiguration *ItemMailFoldersItemMessageRulesMessageRuleItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MessageRuleable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +108,7 @@ func (m *ItemMailFoldersItemMessageRulesMessageRuleItemRequestBuilder) Patch(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MessageRuleable), nil } -// ToDeleteRequestInformation delete the specified messageRule object. +// ToDeleteRequestInformation delete navigation property messageRules for users // returns a *RequestInformation when successful func (m *ItemMailFoldersItemMessageRulesMessageRuleItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemMailFoldersItemMessageRulesMessageRuleItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -128,7 +119,7 @@ func (m *ItemMailFoldersItemMessageRulesMessageRuleItemRequestBuilder) ToDeleteR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties and relationships of a messageRule object. +// ToGetRequestInformation the collection of rules that apply to the user's Inbox folder. // returns a *RequestInformation when successful func (m *ItemMailFoldersItemMessageRulesMessageRuleItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMailFoldersItemMessageRulesMessageRuleItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -142,7 +133,7 @@ func (m *ItemMailFoldersItemMessageRulesMessageRuleItemRequestBuilder) ToGetRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation change writable properties on a messageRule object and save the changes. +// ToPatchRequestInformation update the navigation property messageRules in users // returns a *RequestInformation when successful func (m *ItemMailFoldersItemMessageRulesMessageRuleItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MessageRuleable, requestConfiguration *ItemMailFoldersItemMessageRulesMessageRuleItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_mail_folders_item_message_rules_request_builder.go b/users/item_mail_folders_item_message_rules_request_builder.go index 5cdaecd5fb5..cc215803b54 100644 --- a/users/item_mail_folders_item_message_rules_request_builder.go +++ b/users/item_mail_folders_item_message_rules_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemMailFoldersItemMessageRulesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemMailFoldersItemMessageRulesRequestBuilderGetQueryParameters get all the messageRule objects defined for the user's inbox. +// ItemMailFoldersItemMessageRulesRequestBuilderGetQueryParameters the collection of rules that apply to the user's Inbox folder. type ItemMailFoldersItemMessageRulesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -72,12 +72,9 @@ func NewItemMailFoldersItemMessageRulesRequestBuilder(rawUrl string, requestAdap func (m *ItemMailFoldersItemMessageRulesRequestBuilder) Count()(*ItemMailFoldersItemMessageRulesCountRequestBuilder) { return NewItemMailFoldersItemMessageRulesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get all the messageRule objects defined for the user's inbox. +// Get the collection of rules that apply to the user's Inbox folder. // returns a MessageRuleCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/mailfolder-list-messagerules?view=graph-rest-1.0 func (m *ItemMailFoldersItemMessageRulesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMailFoldersItemMessageRulesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MessageRuleCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,12 +92,9 @@ func (m *ItemMailFoldersItemMessageRulesRequestBuilder) Get(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MessageRuleCollectionResponseable), nil } -// Post create a messageRule object by specifying a set of conditions and actions. Outlook carries out those actions if an incoming message in the user's Inbox meets the specified conditions. +// Post create new navigation property to messageRules for users // returns a MessageRuleable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/mailfolder-post-messagerules?view=graph-rest-1.0 func (m *ItemMailFoldersItemMessageRulesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MessageRuleable, requestConfiguration *ItemMailFoldersItemMessageRulesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MessageRuleable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -118,7 +112,7 @@ func (m *ItemMailFoldersItemMessageRulesRequestBuilder) Post(ctx context.Context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MessageRuleable), nil } -// ToGetRequestInformation get all the messageRule objects defined for the user's inbox. +// ToGetRequestInformation the collection of rules that apply to the user's Inbox folder. // returns a *RequestInformation when successful func (m *ItemMailFoldersItemMessageRulesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMailFoldersItemMessageRulesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -132,7 +126,7 @@ func (m *ItemMailFoldersItemMessageRulesRequestBuilder) ToGetRequestInformation( requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a messageRule object by specifying a set of conditions and actions. Outlook carries out those actions if an incoming message in the user's Inbox meets the specified conditions. +// ToPostRequestInformation create new navigation property to messageRules for users // returns a *RequestInformation when successful func (m *ItemMailFoldersItemMessageRulesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MessageRuleable, requestConfiguration *ItemMailFoldersItemMessageRulesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, 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 240310f0e92..c5615b5a341 100644 --- a/users/item_mail_folders_item_messages_delta_request_builder.go +++ b/users/item_mail_folders_item_messages_delta_request_builder.go @@ -59,7 +59,7 @@ func NewItemMailFoldersItemMessagesDeltaRequestBuilder(rawUrl string, requestAda // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/message-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/message-delta?view=graph-rest-beta func (m *ItemMailFoldersItemMessagesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMailFoldersItemMessagesDeltaRequestBuilderGetRequestConfiguration)(ItemMailFoldersItemMessagesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -82,7 +82,7 @@ func (m *ItemMailFoldersItemMessagesDeltaRequestBuilder) Get(ctx context.Context // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/message-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/message-delta?view=graph-rest-beta func (m *ItemMailFoldersItemMessagesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemMailFoldersItemMessagesDeltaRequestBuilderGetRequestConfiguration)(ItemMailFoldersItemMessagesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_mail_folders_item_messages_item_attachments_attachment_item_request_builder.go b/users/item_mail_folders_item_messages_item_attachments_attachment_item_request_builder.go index cb2545a0c0e..3b04e020dda 100644 --- a/users/item_mail_folders_item_messages_item_attachments_attachment_item_request_builder.go +++ b/users/item_mail_folders_item_messages_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemMailFoldersItemMessagesItemAttachmentsAttachmentItemRequestBuilderDelet // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemMailFoldersItemMessagesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemMailFoldersItemMessagesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters the fileAttachment and itemAttachment attachments for the message. type ItemMailFoldersItemMessagesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -63,12 +63,9 @@ func (m *ItemMailFoldersItemMessagesItemAttachmentsAttachmentItemRequestBuilder) } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get the fileAttachment and itemAttachment attachments for the message. // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 func (m *ItemMailFoldersItemMessagesItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMailFoldersItemMessagesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -97,7 +94,7 @@ func (m *ItemMailFoldersItemMessagesItemAttachmentsAttachmentItemRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation the fileAttachment and itemAttachment attachments for the message. // returns a *RequestInformation when successful func (m *ItemMailFoldersItemMessagesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMailFoldersItemMessagesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_mail_folders_item_messages_item_attachments_create_upload_session_request_builder.go b/users/item_mail_folders_item_messages_item_attachments_create_upload_session_request_builder.go index e0bc1e11f39..cb541971ca9 100644 --- a/users/item_mail_folders_item_messages_item_attachments_create_upload_session_request_builder.go +++ b/users/item_mail_folders_item_messages_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemMailFoldersItemMessagesItemAttachmentsCreateUploadSessionRequestBuil // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemMailFoldersItemMessagesItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemMailFoldersItemMessagesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemMailFoldersItemMessagesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_mail_folders_item_messages_item_attachments_request_builder.go b/users/item_mail_folders_item_messages_item_attachments_request_builder.go index 616fb263ae7..0d5eb3162d0 100644 --- a/users/item_mail_folders_item_messages_item_attachments_request_builder.go +++ b/users/item_mail_folders_item_messages_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemMailFoldersItemMessagesItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemMailFoldersItemMessagesItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to a message. +// ItemMailFoldersItemMessagesItemAttachmentsRequestBuilderGetQueryParameters the fileAttachment and itemAttachment attachments for the message. type ItemMailFoldersItemMessagesItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -75,12 +75,9 @@ func (m *ItemMailFoldersItemMessagesItemAttachmentsRequestBuilder) Count()(*Item func (m *ItemMailFoldersItemMessagesItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemMailFoldersItemMessagesItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemMailFoldersItemMessagesItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to a message. +// Get the fileAttachment and itemAttachment attachments for the message. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/message-list-attachments?view=graph-rest-1.0 func (m *ItemMailFoldersItemMessagesItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMailFoldersItemMessagesItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,12 +95,9 @@ func (m *ItemMailFoldersItemMessagesItemAttachmentsRequestBuilder) Get(ctx conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post create new navigation property to attachments for users // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemMailFoldersItemMessagesItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemMailFoldersItemMessagesItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -121,7 +115,7 @@ func (m *ItemMailFoldersItemMessagesItemAttachmentsRequestBuilder) Post(ctx cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to a message. +// ToGetRequestInformation the fileAttachment and itemAttachment attachments for the message. // returns a *RequestInformation when successful func (m *ItemMailFoldersItemMessagesItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMailFoldersItemMessagesItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -135,7 +129,7 @@ func (m *ItemMailFoldersItemMessagesItemAttachmentsRequestBuilder) ToGetRequestI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation create new navigation property to attachments for users // returns a *RequestInformation when successful func (m *ItemMailFoldersItemMessagesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemMailFoldersItemMessagesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_mail_folders_item_messages_item_copy_request_builder.go b/users/item_mail_folders_item_messages_item_copy_request_builder.go index 5bb26355b0d..0707e451ac9 100644 --- a/users/item_mail_folders_item_messages_item_copy_request_builder.go +++ b/users/item_mail_folders_item_messages_item_copy_request_builder.go @@ -36,7 +36,7 @@ func NewItemMailFoldersItemMessagesItemCopyRequestBuilder(rawUrl string, request // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/message-copy?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/message-copy?view=graph-rest-beta func (m *ItemMailFoldersItemMessagesItemCopyRequestBuilder) Post(ctx context.Context, body ItemMailFoldersItemMessagesItemCopyPostRequestBodyable, requestConfiguration *ItemMailFoldersItemMessagesItemCopyRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Messageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_mail_folders_item_messages_item_create_forward_request_builder.go b/users/item_mail_folders_item_messages_item_create_forward_request_builder.go index bb3c84ff7ff..ce028b06763 100644 --- a/users/item_mail_folders_item_messages_item_create_forward_request_builder.go +++ b/users/item_mail_folders_item_messages_item_create_forward_request_builder.go @@ -36,7 +36,7 @@ func NewItemMailFoldersItemMessagesItemCreateForwardRequestBuilder(rawUrl string // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/message-createforward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/message-createforward?view=graph-rest-beta func (m *ItemMailFoldersItemMessagesItemCreateForwardRequestBuilder) Post(ctx context.Context, body ItemMailFoldersItemMessagesItemCreateForwardPostRequestBodyable, requestConfiguration *ItemMailFoldersItemMessagesItemCreateForwardRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Messageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_mail_folders_item_messages_item_create_reply_all_request_builder.go b/users/item_mail_folders_item_messages_item_create_reply_all_request_builder.go index 3b2528cb365..3bda948cfe3 100644 --- a/users/item_mail_folders_item_messages_item_create_reply_all_request_builder.go +++ b/users/item_mail_folders_item_messages_item_create_reply_all_request_builder.go @@ -36,7 +36,7 @@ func NewItemMailFoldersItemMessagesItemCreateReplyAllRequestBuilder(rawUrl strin // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/message-createreplyall?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/message-createreplyall?view=graph-rest-beta func (m *ItemMailFoldersItemMessagesItemCreateReplyAllRequestBuilder) Post(ctx context.Context, body ItemMailFoldersItemMessagesItemCreateReplyAllPostRequestBodyable, requestConfiguration *ItemMailFoldersItemMessagesItemCreateReplyAllRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Messageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_mail_folders_item_messages_item_create_reply_request_builder.go b/users/item_mail_folders_item_messages_item_create_reply_request_builder.go index 50956863527..e30c15cf590 100644 --- a/users/item_mail_folders_item_messages_item_create_reply_request_builder.go +++ b/users/item_mail_folders_item_messages_item_create_reply_request_builder.go @@ -36,7 +36,7 @@ func NewItemMailFoldersItemMessagesItemCreateReplyRequestBuilder(rawUrl string, // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/message-createreply?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/message-createreply?view=graph-rest-beta func (m *ItemMailFoldersItemMessagesItemCreateReplyRequestBuilder) Post(ctx context.Context, body ItemMailFoldersItemMessagesItemCreateReplyPostRequestBodyable, requestConfiguration *ItemMailFoldersItemMessagesItemCreateReplyRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Messageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_mail_folders_item_messages_item_extensions_extension_item_request_builder.go b/users/item_mail_folders_item_messages_item_extensions_extension_item_request_builder.go index d942f2cb64d..2269f4347f7 100644 --- a/users/item_mail_folders_item_messages_item_extensions_extension_item_request_builder.go +++ b/users/item_mail_folders_item_messages_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemMailFoldersItemMessagesItemExtensionsExtensionItemRequestBuilderDeleteR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemMailFoldersItemMessagesItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemMailFoldersItemMessagesItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the message. Nullable. type ItemMailFoldersItemMessagesItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemMailFoldersItemMessagesItemExtensionsExtensionItemRequestBuilder(raw urlParams["request-raw-url"] = rawUrl return NewItemMailFoldersItemMessagesItemExtensionsExtensionItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an open extension (openTypeExtension object) from the specified instance of a resource. For the list of resources that support open extensions, see the table in the Permissions section. +// Delete delete navigation property extensions for users // returns a ODataError error 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-delete?view=graph-rest-1.0 func (m *ItemMailFoldersItemMessagesItemExtensionsExtensionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemMailFoldersItemMessagesItemExtensionsExtensionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemMailFoldersItemMessagesItemExtensionsExtensionItemRequestBuilder) D } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the message. Nullable. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemMailFoldersItemMessagesItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMailFoldersItemMessagesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -116,7 +110,7 @@ func (m *ItemMailFoldersItemMessagesItemExtensionsExtensionItemRequestBuilder) P } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToDeleteRequestInformation delete an open extension (openTypeExtension object) from the specified instance of a resource. For the list of resources that support open extensions, see the table in the Permissions section. +// ToDeleteRequestInformation delete navigation property extensions for users // returns a *RequestInformation when successful func (m *ItemMailFoldersItemMessagesItemExtensionsExtensionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemMailFoldersItemMessagesItemExtensionsExtensionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -127,7 +121,7 @@ func (m *ItemMailFoldersItemMessagesItemExtensionsExtensionItemRequestBuilder) T requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the message. Nullable. // returns a *RequestInformation when successful func (m *ItemMailFoldersItemMessagesItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMailFoldersItemMessagesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_mail_folders_item_messages_item_extensions_request_builder.go b/users/item_mail_folders_item_messages_item_extensions_request_builder.go index 4e33e15445c..fc293a724e9 100644 --- a/users/item_mail_folders_item_messages_item_extensions_request_builder.go +++ b/users/item_mail_folders_item_messages_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemMailFoldersItemMessagesItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemMailFoldersItemMessagesItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemMailFoldersItemMessagesItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the message. Nullable. type ItemMailFoldersItemMessagesItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemMailFoldersItemMessagesItemExtensionsRequestBuilder(rawUrl string, r func (m *ItemMailFoldersItemMessagesItemExtensionsRequestBuilder) Count()(*ItemMailFoldersItemMessagesItemExtensionsCountRequestBuilder) { return NewItemMailFoldersItemMessagesItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the message. Nullable. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemMailFoldersItemMessagesItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMailFoldersItemMessagesItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -94,12 +94,9 @@ func (m *ItemMailFoldersItemMessagesItemExtensionsRequestBuilder) Get(ctx contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to extensions for users // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemMailFoldersItemMessagesItemExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemMailFoldersItemMessagesItemExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemMailFoldersItemMessagesItemExtensionsRequestBuilder) Post(ctx conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the message. Nullable. // returns a *RequestInformation when successful func (m *ItemMailFoldersItemMessagesItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMailFoldersItemMessagesItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +128,7 @@ func (m *ItemMailFoldersItemMessagesItemExtensionsRequestBuilder) ToGetRequestIn requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to extensions for users // returns a *RequestInformation when successful func (m *ItemMailFoldersItemMessagesItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemMailFoldersItemMessagesItemExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_mail_folders_item_messages_item_forward_request_builder.go b/users/item_mail_folders_item_messages_item_forward_request_builder.go index 4f43c22de87..3fceff7d954 100644 --- a/users/item_mail_folders_item_messages_item_forward_request_builder.go +++ b/users/item_mail_folders_item_messages_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemMailFoldersItemMessagesItemForwardRequestBuilder(rawUrl string, requ // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/message-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/message-forward?view=graph-rest-beta func (m *ItemMailFoldersItemMessagesItemForwardRequestBuilder) Post(ctx context.Context, body ItemMailFoldersItemMessagesItemForwardPostRequestBodyable, requestConfiguration *ItemMailFoldersItemMessagesItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_mail_folders_item_messages_item_mark_as_junk_request_builder.go b/users/item_mail_folders_item_messages_item_mark_as_junk_request_builder.go index edef9a7a2ea..a3149fc7842 100644 --- a/users/item_mail_folders_item_messages_item_mark_as_junk_request_builder.go +++ b/users/item_mail_folders_item_messages_item_mark_as_junk_request_builder.go @@ -36,7 +36,7 @@ func NewItemMailFoldersItemMessagesItemMarkAsJunkRequestBuilder(rawUrl string, r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/message-markasjunk?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/message-markasjunk?view=graph-rest-beta func (m *ItemMailFoldersItemMessagesItemMarkAsJunkRequestBuilder) Post(ctx context.Context, body ItemMailFoldersItemMessagesItemMarkAsJunkPostRequestBodyable, requestConfiguration *ItemMailFoldersItemMessagesItemMarkAsJunkRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Messageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_mail_folders_item_messages_item_mark_as_not_junk_request_builder.go b/users/item_mail_folders_item_messages_item_mark_as_not_junk_request_builder.go index 1980962e31b..07f537e2ded 100644 --- a/users/item_mail_folders_item_messages_item_mark_as_not_junk_request_builder.go +++ b/users/item_mail_folders_item_messages_item_mark_as_not_junk_request_builder.go @@ -36,7 +36,7 @@ func NewItemMailFoldersItemMessagesItemMarkAsNotJunkRequestBuilder(rawUrl string // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/message-markasnotjunk?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/message-markasnotjunk?view=graph-rest-beta func (m *ItemMailFoldersItemMessagesItemMarkAsNotJunkRequestBuilder) Post(ctx context.Context, body ItemMailFoldersItemMessagesItemMarkAsNotJunkPostRequestBodyable, requestConfiguration *ItemMailFoldersItemMessagesItemMarkAsNotJunkRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Messageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_mail_folders_item_messages_item_mentions_mention_item_request_builder.go b/users/item_mail_folders_item_messages_item_mentions_mention_item_request_builder.go index 2848e1ad1dd..c9efabd2772 100644 --- a/users/item_mail_folders_item_messages_item_mentions_mention_item_request_builder.go +++ b/users/item_mail_folders_item_messages_item_mentions_mention_item_request_builder.go @@ -47,11 +47,8 @@ func NewItemMailFoldersItemMessagesItemMentionsMentionItemRequestBuilder(rawUrl urlParams["request-raw-url"] = rawUrl return NewItemMailFoldersItemMessagesItemMentionsMentionItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a message in the specified user's mailbox, or delete a relationship of the message. For example, you can delete a specific @-mention of the specified user in the message. +// Delete delete navigation property mentions for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/message-delete?view=graph-rest-1.0 func (m *ItemMailFoldersItemMessagesItemMentionsMentionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemMailFoldersItemMessagesItemMentionsMentionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -86,7 +83,7 @@ func (m *ItemMailFoldersItemMessagesItemMentionsMentionItemRequestBuilder) Get(c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Mentionable), nil } -// ToDeleteRequestInformation delete a message in the specified user's mailbox, or delete a relationship of the message. For example, you can delete a specific @-mention of the specified user in the message. +// ToDeleteRequestInformation delete navigation property mentions for users // returns a *RequestInformation when successful func (m *ItemMailFoldersItemMessagesItemMentionsMentionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemMailFoldersItemMessagesItemMentionsMentionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_mail_folders_item_messages_item_move_request_builder.go b/users/item_mail_folders_item_messages_item_move_request_builder.go index 63137bb205b..81591f41f21 100644 --- a/users/item_mail_folders_item_messages_item_move_request_builder.go +++ b/users/item_mail_folders_item_messages_item_move_request_builder.go @@ -36,7 +36,7 @@ func NewItemMailFoldersItemMessagesItemMoveRequestBuilder(rawUrl string, request // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/message-move?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/message-move?view=graph-rest-beta func (m *ItemMailFoldersItemMessagesItemMoveRequestBuilder) Post(ctx context.Context, body ItemMailFoldersItemMessagesItemMovePostRequestBodyable, requestConfiguration *ItemMailFoldersItemMessagesItemMoveRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Messageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_mail_folders_item_messages_item_reply_all_request_builder.go b/users/item_mail_folders_item_messages_item_reply_all_request_builder.go index f01d58876d1..00e6cd7a27a 100644 --- a/users/item_mail_folders_item_messages_item_reply_all_request_builder.go +++ b/users/item_mail_folders_item_messages_item_reply_all_request_builder.go @@ -34,7 +34,7 @@ func NewItemMailFoldersItemMessagesItemReplyAllRequestBuilder(rawUrl string, req // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/message-replyall?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/message-replyall?view=graph-rest-beta func (m *ItemMailFoldersItemMessagesItemReplyAllRequestBuilder) Post(ctx context.Context, body ItemMailFoldersItemMessagesItemReplyAllPostRequestBodyable, requestConfiguration *ItemMailFoldersItemMessagesItemReplyAllRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_mail_folders_item_messages_item_reply_request_builder.go b/users/item_mail_folders_item_messages_item_reply_request_builder.go index 3e8c0aad71d..da1f615f18e 100644 --- a/users/item_mail_folders_item_messages_item_reply_request_builder.go +++ b/users/item_mail_folders_item_messages_item_reply_request_builder.go @@ -34,7 +34,7 @@ func NewItemMailFoldersItemMessagesItemReplyRequestBuilder(rawUrl string, reques // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/message-reply?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/message-reply?view=graph-rest-beta func (m *ItemMailFoldersItemMessagesItemReplyRequestBuilder) Post(ctx context.Context, body ItemMailFoldersItemMessagesItemReplyPostRequestBodyable, requestConfiguration *ItemMailFoldersItemMessagesItemReplyRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_mail_folders_item_messages_item_send_request_builder.go b/users/item_mail_folders_item_messages_item_send_request_builder.go index 1e21c86a216..ef5d14df242 100644 --- a/users/item_mail_folders_item_messages_item_send_request_builder.go +++ b/users/item_mail_folders_item_messages_item_send_request_builder.go @@ -34,7 +34,7 @@ func NewItemMailFoldersItemMessagesItemSendRequestBuilder(rawUrl string, request // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/message-send?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/message-send?view=graph-rest-beta func (m *ItemMailFoldersItemMessagesItemSendRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemMailFoldersItemMessagesItemSendRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_mail_folders_item_messages_item_unsubscribe_request_builder.go b/users/item_mail_folders_item_messages_item_unsubscribe_request_builder.go index f3b3998e7cd..0e617067b8b 100644 --- a/users/item_mail_folders_item_messages_item_unsubscribe_request_builder.go +++ b/users/item_mail_folders_item_messages_item_unsubscribe_request_builder.go @@ -34,7 +34,7 @@ func NewItemMailFoldersItemMessagesItemUnsubscribeRequestBuilder(rawUrl string, // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/message-unsubscribe?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/message-unsubscribe?view=graph-rest-beta func (m *ItemMailFoldersItemMessagesItemUnsubscribeRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemMailFoldersItemMessagesItemUnsubscribeRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_mail_folders_item_messages_item_value_content_request_builder.go b/users/item_mail_folders_item_messages_item_value_content_request_builder.go index bd9ddbb012c..b8713a392e2 100644 --- a/users/item_mail_folders_item_messages_item_value_content_request_builder.go +++ b/users/item_mail_folders_item_messages_item_value_content_request_builder.go @@ -40,9 +40,6 @@ func NewItemMailFoldersItemMessagesItemValueContentRequestBuilder(rawUrl string, // Get get media content for the navigation property messages from users // 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/mailfolder-list-messages?view=graph-rest-1.0 func (m *ItemMailFoldersItemMessagesItemValueContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMailFoldersItemMessagesItemValueContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_mail_folders_item_messages_request_builder.go b/users/item_mail_folders_item_messages_request_builder.go index b0c222d2cbc..7c1d88a70a7 100644 --- a/users/item_mail_folders_item_messages_request_builder.go +++ b/users/item_mail_folders_item_messages_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemMailFoldersItemMessagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemMailFoldersItemMessagesRequestBuilderGetQueryParameters list all the messages in the specified user's mailbox, or those messages in a specified folder in the mailbox. +// ItemMailFoldersItemMessagesRequestBuilderGetQueryParameters the collection of messages in the mailFolder. type ItemMailFoldersItemMessagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *ItemMailFoldersItemMessagesRequestBuilder) Count()(*ItemMailFoldersItem func (m *ItemMailFoldersItemMessagesRequestBuilder) Delta()(*ItemMailFoldersItemMessagesDeltaRequestBuilder) { return NewItemMailFoldersItemMessagesDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list all the messages in the specified user's mailbox, or those messages in a specified folder in the mailbox. +// Get the collection of messages in the mailFolder. // returns a MessageCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/mailfolder-list-messages?view=graph-rest-1.0 func (m *ItemMailFoldersItemMessagesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMailFoldersItemMessagesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MessageCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *ItemMailFoldersItemMessagesRequestBuilder) Get(ctx context.Context, req } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MessageCollectionResponseable), nil } -// Post use this API to create a new Message in a mailfolder. +// Post create new navigation property to messages for users // returns a Messageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/mailfolder-post-messages?view=graph-rest-1.0 func (m *ItemMailFoldersItemMessagesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Messageable, requestConfiguration *ItemMailFoldersItemMessagesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Messageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemMailFoldersItemMessagesRequestBuilder) Post(ctx context.Context, bo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Messageable), nil } -// ToGetRequestInformation list all the messages in the specified user's mailbox, or those messages in a specified folder in the mailbox. +// ToGetRequestInformation the collection of messages in the mailFolder. // returns a *RequestInformation when successful func (m *ItemMailFoldersItemMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMailFoldersItemMessagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ItemMailFoldersItemMessagesRequestBuilder) ToGetRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Message in a mailfolder. +// ToPostRequestInformation create new navigation property to messages for users // returns a *RequestInformation when successful func (m *ItemMailFoldersItemMessagesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Messageable, requestConfiguration *ItemMailFoldersItemMessagesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_mail_folders_item_move_request_builder.go b/users/item_mail_folders_item_move_request_builder.go index c90e9066073..86cab225304 100644 --- a/users/item_mail_folders_item_move_request_builder.go +++ b/users/item_mail_folders_item_move_request_builder.go @@ -36,7 +36,7 @@ func NewItemMailFoldersItemMoveRequestBuilder(rawUrl string, requestAdapter i2ae // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/mailfolder-move?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/mailfolder-move?view=graph-rest-beta func (m *ItemMailFoldersItemMoveRequestBuilder) Post(ctx context.Context, body ItemMailFoldersItemMovePostRequestBodyable, requestConfiguration *ItemMailFoldersItemMoveRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailFolderable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_mail_folders_mail_folder_item_request_builder.go b/users/item_mail_folders_mail_folder_item_request_builder.go index b2f8cbf943c..c6303f37c6d 100644 --- a/users/item_mail_folders_mail_folder_item_request_builder.go +++ b/users/item_mail_folders_mail_folder_item_request_builder.go @@ -66,11 +66,8 @@ func NewItemMailFoldersMailFolderItemRequestBuilder(rawUrl string, requestAdapte func (m *ItemMailFoldersMailFolderItemRequestBuilder) Copy()(*ItemMailFoldersItemCopyRequestBuilder) { return NewItemMailFoldersItemCopyRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Delete delete the specified mailFolder. The folder can be a mailSearchFolder. You can specify a mail folder by its folder ID, or by its well-known folder name, if one exists. +// Delete delete navigation property mailFolders for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/mailfolder-delete?view=graph-rest-1.0 func (m *ItemMailFoldersMailFolderItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemMailFoldersMailFolderItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -88,9 +85,6 @@ func (m *ItemMailFoldersMailFolderItemRequestBuilder) Delete(ctx context.Context // Get the user's mail folders. Read-only. Nullable. // returns a MailFolderable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/mailfolder-get?view=graph-rest-1.0 func (m *ItemMailFoldersMailFolderItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMailFoldersMailFolderItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailFolderable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -123,12 +117,9 @@ func (m *ItemMailFoldersMailFolderItemRequestBuilder) Messages()(*ItemMailFolder func (m *ItemMailFoldersMailFolderItemRequestBuilder) Move()(*ItemMailFoldersItemMoveRequestBuilder) { return NewItemMailFoldersItemMoveRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of mailFolder object. +// Patch update the navigation property mailFolders in users // returns a MailFolderable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/mailfolder-update?view=graph-rest-1.0 func (m *ItemMailFoldersMailFolderItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailFolderable, requestConfiguration *ItemMailFoldersMailFolderItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailFolderable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -146,7 +137,7 @@ func (m *ItemMailFoldersMailFolderItemRequestBuilder) Patch(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailFolderable), nil } -// ToDeleteRequestInformation delete the specified mailFolder. The folder can be a mailSearchFolder. You can specify a mail folder by its folder ID, or by its well-known folder name, if one exists. +// ToDeleteRequestInformation delete navigation property mailFolders for users // returns a *RequestInformation when successful func (m *ItemMailFoldersMailFolderItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemMailFoldersMailFolderItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -171,7 +162,7 @@ func (m *ItemMailFoldersMailFolderItemRequestBuilder) ToGetRequestInformation(ct requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of mailFolder object. +// ToPatchRequestInformation update the navigation property mailFolders in users // returns a *RequestInformation when successful func (m *ItemMailFoldersMailFolderItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailFolderable, requestConfiguration *ItemMailFoldersMailFolderItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_mail_folders_request_builder.go b/users/item_mail_folders_request_builder.go index 54daca03a3a..dc138495ea8 100644 --- a/users/item_mail_folders_request_builder.go +++ b/users/item_mail_folders_request_builder.go @@ -84,9 +84,6 @@ func (m *ItemMailFoldersRequestBuilder) Delta()(*ItemMailFoldersDeltaRequestBuil // Get the user's mail folders. Read-only. Nullable. // returns a MailFolderCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/user-list-mailfolders?view=graph-rest-1.0 func (m *ItemMailFoldersRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMailFoldersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailFolderCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *ItemMailFoldersRequestBuilder) Get(ctx context.Context, requestConfigur } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailFolderCollectionResponseable), nil } -// Post use this API to create a new mail folder in the root folder of the user's mailbox. If you intend a new folder to be hidden, you must set the isHidden property to true on creation. +// Post create new navigation property to mailFolders for users // returns a MailFolderable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/user-post-mailfolders?view=graph-rest-1.0 func (m *ItemMailFoldersRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailFolderable, requestConfiguration *ItemMailFoldersRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailFolderable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -141,7 +135,7 @@ func (m *ItemMailFoldersRequestBuilder) ToGetRequestInformation(ctx context.Cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new mail folder in the root folder of the user's mailbox. If you intend a new folder to be hidden, you must set the isHidden property to true on creation. +// ToPostRequestInformation create new navigation property to mailFolders for users // returns a *RequestInformation when successful func (m *ItemMailFoldersRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailFolderable, requestConfiguration *ItemMailFoldersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_managed_devices_bulk_reprovision_cloud_pc_request_builder.go b/users/item_managed_devices_bulk_reprovision_cloud_pc_request_builder.go index 7cfa046cbff..0528f000c90 100644 --- a/users/item_managed_devices_bulk_reprovision_cloud_pc_request_builder.go +++ b/users/item_managed_devices_bulk_reprovision_cloud_pc_request_builder.go @@ -37,7 +37,7 @@ func NewItemManagedDevicesBulkReprovisionCloudPcRequestBuilder(rawUrl string, re // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/manageddevice-bulkreprovisioncloudpc?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/manageddevice-bulkreprovisioncloudpc?view=graph-rest-beta func (m *ItemManagedDevicesBulkReprovisionCloudPcRequestBuilder) Post(ctx context.Context, body ItemManagedDevicesBulkReprovisionCloudPcPostRequestBodyable, requestConfiguration *ItemManagedDevicesBulkReprovisionCloudPcRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcBulkRemoteActionResultable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_managed_devices_bulk_restore_cloud_pc_request_builder.go b/users/item_managed_devices_bulk_restore_cloud_pc_request_builder.go index f10c8db1149..1d18c133c0a 100644 --- a/users/item_managed_devices_bulk_restore_cloud_pc_request_builder.go +++ b/users/item_managed_devices_bulk_restore_cloud_pc_request_builder.go @@ -37,7 +37,7 @@ func NewItemManagedDevicesBulkRestoreCloudPcRequestBuilder(rawUrl string, reques // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/manageddevice-bulkrestorecloudpc?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/manageddevice-bulkrestorecloudpc?view=graph-rest-beta func (m *ItemManagedDevicesBulkRestoreCloudPcRequestBuilder) Post(ctx context.Context, body ItemManagedDevicesBulkRestoreCloudPcPostRequestBodyable, requestConfiguration *ItemManagedDevicesBulkRestoreCloudPcRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcBulkRemoteActionResultable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_managed_devices_bulk_set_cloud_pc_review_status_request_builder.go b/users/item_managed_devices_bulk_set_cloud_pc_review_status_request_builder.go index 883950cea63..077350944d8 100644 --- a/users/item_managed_devices_bulk_set_cloud_pc_review_status_request_builder.go +++ b/users/item_managed_devices_bulk_set_cloud_pc_review_status_request_builder.go @@ -36,7 +36,7 @@ func NewItemManagedDevicesBulkSetCloudPcReviewStatusRequestBuilder(rawUrl string // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/manageddevice-bulksetcloudpcreviewstatus?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/manageddevice-bulksetcloudpcreviewstatus?view=graph-rest-beta func (m *ItemManagedDevicesBulkSetCloudPcReviewStatusRequestBuilder) Post(ctx context.Context, body ItemManagedDevicesBulkSetCloudPcReviewStatusPostRequestBodyable, requestConfiguration *ItemManagedDevicesBulkSetCloudPcReviewStatusRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcBulkRemoteActionResultable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_managed_devices_item_get_cloud_pc_remote_action_results_request_builder.go b/users/item_managed_devices_item_get_cloud_pc_remote_action_results_request_builder.go index c72c1d15c9d..5185853e94f 100644 --- a/users/item_managed_devices_item_get_cloud_pc_remote_action_results_request_builder.go +++ b/users/item_managed_devices_item_get_cloud_pc_remote_action_results_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemManagedDevicesItemGetCloudPcRemoteActionResultsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemManagedDevicesItemGetCloudPcRemoteActionResultsRequestBuilderGetQueryParameters invoke function getCloudPcRemoteActionResults +// ItemManagedDevicesItemGetCloudPcRemoteActionResultsRequestBuilderGetQueryParameters check the Cloud PC-specified remote action results for a Cloud PC device. Cloud PC supports reprovision and resize remote actions. type ItemManagedDevicesItemGetCloudPcRemoteActionResultsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -45,10 +45,13 @@ func NewItemManagedDevicesItemGetCloudPcRemoteActionResultsRequestBuilder(rawUrl urlParams["request-raw-url"] = rawUrl return NewItemManagedDevicesItemGetCloudPcRemoteActionResultsRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getCloudPcRemoteActionResults +// Get check the Cloud PC-specified remote action results for a Cloud PC device. Cloud PC supports reprovision and resize remote actions. // Deprecated: This method is obsolete. Use GetAsGetCloudPcRemoteActionResultsGetResponse instead. // returns a ItemManagedDevicesItemGetCloudPcRemoteActionResultsResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/manageddevice-getcloudpcremoteactionresults?view=graph-rest-beta func (m *ItemManagedDevicesItemGetCloudPcRemoteActionResultsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemManagedDevicesItemGetCloudPcRemoteActionResultsRequestBuilderGetRequestConfiguration)(ItemManagedDevicesItemGetCloudPcRemoteActionResultsResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -66,9 +69,12 @@ func (m *ItemManagedDevicesItemGetCloudPcRemoteActionResultsRequestBuilder) Get( } return res.(ItemManagedDevicesItemGetCloudPcRemoteActionResultsResponseable), nil } -// GetAsGetCloudPcRemoteActionResultsGetResponse invoke function getCloudPcRemoteActionResults +// GetAsGetCloudPcRemoteActionResultsGetResponse check the Cloud PC-specified remote action results for a Cloud PC device. Cloud PC supports reprovision and resize remote actions. // returns a ItemManagedDevicesItemGetCloudPcRemoteActionResultsGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/manageddevice-getcloudpcremoteactionresults?view=graph-rest-beta func (m *ItemManagedDevicesItemGetCloudPcRemoteActionResultsRequestBuilder) GetAsGetCloudPcRemoteActionResultsGetResponse(ctx context.Context, requestConfiguration *ItemManagedDevicesItemGetCloudPcRemoteActionResultsRequestBuilderGetRequestConfiguration)(ItemManagedDevicesItemGetCloudPcRemoteActionResultsGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -86,7 +92,7 @@ func (m *ItemManagedDevicesItemGetCloudPcRemoteActionResultsRequestBuilder) GetA } return res.(ItemManagedDevicesItemGetCloudPcRemoteActionResultsGetResponseable), nil } -// ToGetRequestInformation invoke function getCloudPcRemoteActionResults +// ToGetRequestInformation check the Cloud PC-specified remote action results for a Cloud PC device. Cloud PC supports reprovision and resize remote actions. // returns a *RequestInformation when successful func (m *ItemManagedDevicesItemGetCloudPcRemoteActionResultsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemManagedDevicesItemGetCloudPcRemoteActionResultsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_managed_devices_item_get_cloud_pc_review_status_request_builder.go b/users/item_managed_devices_item_get_cloud_pc_review_status_request_builder.go index 98c10bfed20..0e9f0fff824 100644 --- a/users/item_managed_devices_item_get_cloud_pc_review_status_request_builder.go +++ b/users/item_managed_devices_item_get_cloud_pc_review_status_request_builder.go @@ -31,9 +31,12 @@ func NewItemManagedDevicesItemGetCloudPcReviewStatusRequestBuilder(rawUrl string urlParams["request-raw-url"] = rawUrl return NewItemManagedDevicesItemGetCloudPcReviewStatusRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getCloudPcReviewStatus +// Get get the review status of a specific Cloud PC device. // 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/manageddevice-getcloudpcreviewstatus?view=graph-rest-beta func (m *ItemManagedDevicesItemGetCloudPcReviewStatusRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemManagedDevicesItemGetCloudPcReviewStatusRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcReviewStatusable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -51,7 +54,7 @@ func (m *ItemManagedDevicesItemGetCloudPcReviewStatusRequestBuilder) Get(ctx con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcReviewStatusable), nil } -// ToGetRequestInformation invoke function getCloudPcReviewStatus +// ToGetRequestInformation get the review status of a specific Cloud PC device. // returns a *RequestInformation when successful func (m *ItemManagedDevicesItemGetCloudPcReviewStatusRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemManagedDevicesItemGetCloudPcReviewStatusRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_managed_devices_item_reprovision_cloud_pc_request_builder.go b/users/item_managed_devices_item_reprovision_cloud_pc_request_builder.go index bbba2a0c09c..74a9fdc1ebb 100644 --- a/users/item_managed_devices_item_reprovision_cloud_pc_request_builder.go +++ b/users/item_managed_devices_item_reprovision_cloud_pc_request_builder.go @@ -35,7 +35,7 @@ func NewItemManagedDevicesItemReprovisionCloudPcRequestBuilder(rawUrl string, re // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/manageddevice-reprovisioncloudpc?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/manageddevice-reprovisioncloudpc?view=graph-rest-beta func (m *ItemManagedDevicesItemReprovisionCloudPcRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemManagedDevicesItemReprovisionCloudPcRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_managed_devices_item_resize_cloud_pc_request_builder.go b/users/item_managed_devices_item_resize_cloud_pc_request_builder.go index c11b06ae69a..4c56d9737d1 100644 --- a/users/item_managed_devices_item_resize_cloud_pc_request_builder.go +++ b/users/item_managed_devices_item_resize_cloud_pc_request_builder.go @@ -35,7 +35,7 @@ func NewItemManagedDevicesItemResizeCloudPcRequestBuilder(rawUrl string, request // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/manageddevice-resizecloudpc?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/manageddevice-resizecloudpc?view=graph-rest-beta func (m *ItemManagedDevicesItemResizeCloudPcRequestBuilder) Post(ctx context.Context, body ItemManagedDevicesItemResizeCloudPcPostRequestBodyable, requestConfiguration *ItemManagedDevicesItemResizeCloudPcRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_managed_devices_item_restore_cloud_pc_request_builder.go b/users/item_managed_devices_item_restore_cloud_pc_request_builder.go index 5eabe8156b4..b18b05200d9 100644 --- a/users/item_managed_devices_item_restore_cloud_pc_request_builder.go +++ b/users/item_managed_devices_item_restore_cloud_pc_request_builder.go @@ -35,7 +35,7 @@ func NewItemManagedDevicesItemRestoreCloudPcRequestBuilder(rawUrl string, reques // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/manageddevice-restorecloudpc?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/manageddevice-restorecloudpc?view=graph-rest-beta func (m *ItemManagedDevicesItemRestoreCloudPcRequestBuilder) Post(ctx context.Context, body ItemManagedDevicesItemRestoreCloudPcPostRequestBodyable, requestConfiguration *ItemManagedDevicesItemRestoreCloudPcRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_managed_devices_item_set_cloud_pc_review_status_request_builder.go b/users/item_managed_devices_item_set_cloud_pc_review_status_request_builder.go index 631b5186349..2410e4613d0 100644 --- a/users/item_managed_devices_item_set_cloud_pc_review_status_request_builder.go +++ b/users/item_managed_devices_item_set_cloud_pc_review_status_request_builder.go @@ -34,7 +34,7 @@ func NewItemManagedDevicesItemSetCloudPcReviewStatusRequestBuilder(rawUrl string // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/manageddevice-setcloudpcreviewstatus?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/manageddevice-setcloudpcreviewstatus?view=graph-rest-beta func (m *ItemManagedDevicesItemSetCloudPcReviewStatusRequestBuilder) Post(ctx context.Context, body ItemManagedDevicesItemSetCloudPcReviewStatusPostRequestBodyable, requestConfiguration *ItemManagedDevicesItemSetCloudPcReviewStatusRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_manager_ref_request_builder.go b/users/item_manager_ref_request_builder.go index 9efc1aac48e..3936fa90e2d 100644 --- a/users/item_manager_ref_request_builder.go +++ b/users/item_manager_ref_request_builder.go @@ -45,11 +45,8 @@ func NewItemManagerRefRequestBuilder(rawUrl string, requestAdapter i2ae4187f7dae urlParams["request-raw-url"] = rawUrl return NewItemManagerRefRequestBuilderInternal(urlParams, requestAdapter) } -// Delete remove a user's manager. +// Delete delete ref of navigation property manager for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/user-delete-manager?view=graph-rest-1.0 func (m *ItemManagerRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemManagerRefRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -64,12 +61,9 @@ func (m *ItemManagerRefRequestBuilder) Delete(ctx context.Context, requestConfig } return nil } -// Get returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node. +// Get the user or contact that is this user's manager. Read-only. Supports $expand. // returns a *string when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/user-list-manager?view=graph-rest-1.0 func (m *ItemManagerRefRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemManagerRefRequestBuilderGetRequestConfiguration)(*string, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -87,11 +81,8 @@ func (m *ItemManagerRefRequestBuilder) Get(ctx context.Context, requestConfigura } return res.(*string), nil } -// Put assign a user's manager. +// Put update the ref of navigation property manager in users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/user-post-manager?view=graph-rest-1.0 func (m *ItemManagerRefRequestBuilder) Put(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceUpdateable, requestConfiguration *ItemManagerRefRequestBuilderPutRequestConfiguration)(error) { requestInfo, err := m.ToPutRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -106,7 +97,7 @@ func (m *ItemManagerRefRequestBuilder) Put(ctx context.Context, body ie233ee762e } return nil } -// ToDeleteRequestInformation remove a user's manager. +// ToDeleteRequestInformation delete ref of navigation property manager for users // returns a *RequestInformation when successful func (m *ItemManagerRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemManagerRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -117,7 +108,7 @@ func (m *ItemManagerRefRequestBuilder) ToDeleteRequestInformation(ctx context.Co requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node. +// ToGetRequestInformation the user or contact that is this user's manager. Read-only. Supports $expand. // returns a *RequestInformation when successful func (m *ItemManagerRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemManagerRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -128,7 +119,7 @@ func (m *ItemManagerRefRequestBuilder) ToGetRequestInformation(ctx context.Conte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPutRequestInformation assign a user's manager. +// ToPutRequestInformation update the ref of navigation property manager in users // returns a *RequestInformation when successful func (m *ItemManagerRefRequestBuilder) ToPutRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceUpdateable, requestConfiguration *ItemManagerRefRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_manager_request_builder.go b/users/item_manager_request_builder.go index d752afe987d..08949bbd57f 100644 --- a/users/item_manager_request_builder.go +++ b/users/item_manager_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemManagerRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemManagerRequestBuilderGetQueryParameters returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node. +// ItemManagerRequestBuilderGetQueryParameters the user or contact that is this user's manager. Read-only. Supports $expand. type ItemManagerRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -40,12 +40,9 @@ func NewItemManagerRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 urlParams["request-raw-url"] = rawUrl return NewItemManagerRequestBuilderInternal(urlParams, requestAdapter) } -// Get returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node. +// Get the user or contact that is this user's manager. Read-only. Supports $expand. // returns a DirectoryObjectable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/user-list-manager?view=graph-rest-1.0 func (m *ItemManagerRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemManagerRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -68,7 +65,7 @@ func (m *ItemManagerRequestBuilder) Get(ctx context.Context, requestConfiguratio func (m *ItemManagerRequestBuilder) Ref()(*ItemManagerRefRequestBuilder) { return NewItemManagerRefRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node. +// ToGetRequestInformation the user or contact that is this user's manager. Read-only. Supports $expand. // returns a *RequestInformation when successful func (m *ItemManagerRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemManagerRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_member_of_request_builder.go b/users/item_member_of_request_builder.go index a175648f398..66794bdf7cf 100644 --- a/users/item_member_of_request_builder.go +++ b/users/item_member_of_request_builder.go @@ -72,9 +72,6 @@ func (m *ItemMemberOfRequestBuilder) Count()(*ItemMemberOfCountRequestBuilder) { // Get the groups, directory roles, and administrative units that the user is a member of. Read-only. Nullable. Supports $expand. // returns a DirectoryObjectCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/user-list-memberof?view=graph-rest-1.0 func (m *ItemMemberOfRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMemberOfRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_messages_delta_request_builder.go b/users/item_messages_delta_request_builder.go index 81464ee290d..599fa2f2242 100644 --- a/users/item_messages_delta_request_builder.go +++ b/users/item_messages_delta_request_builder.go @@ -59,7 +59,7 @@ func NewItemMessagesDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/message-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/message-delta?view=graph-rest-beta func (m *ItemMessagesDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMessagesDeltaRequestBuilderGetRequestConfiguration)(ItemMessagesDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -82,7 +82,7 @@ func (m *ItemMessagesDeltaRequestBuilder) Get(ctx context.Context, requestConfig // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/message-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/message-delta?view=graph-rest-beta func (m *ItemMessagesDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemMessagesDeltaRequestBuilderGetRequestConfiguration)(ItemMessagesDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_messages_item_attachments_attachment_item_request_builder.go b/users/item_messages_item_attachments_attachment_item_request_builder.go index 6986a5206b2..d84e9395c54 100644 --- a/users/item_messages_item_attachments_attachment_item_request_builder.go +++ b/users/item_messages_item_attachments_attachment_item_request_builder.go @@ -18,7 +18,7 @@ type ItemMessagesItemAttachmentsAttachmentItemRequestBuilderDeleteRequestConfigu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemMessagesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ItemMessagesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters the fileAttachment and itemAttachment attachments for the message. type ItemMessagesItemAttachmentsAttachmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -63,12 +63,9 @@ func (m *ItemMessagesItemAttachmentsAttachmentItemRequestBuilder) Delete(ctx con } return nil } -// Get read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// Get the fileAttachment and itemAttachment attachments for the message. // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-get?view=graph-rest-1.0 func (m *ItemMessagesItemAttachmentsAttachmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMessagesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -97,7 +94,7 @@ func (m *ItemMessagesItemAttachmentsAttachmentItemRequestBuilder) ToDeleteReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. +// ToGetRequestInformation the fileAttachment and itemAttachment attachments for the message. // returns a *RequestInformation when successful func (m *ItemMessagesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMessagesItemAttachmentsAttachmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_messages_item_attachments_create_upload_session_request_builder.go b/users/item_messages_item_attachments_create_upload_session_request_builder.go index ae7b16c3ad2..982c38d2dd3 100644 --- a/users/item_messages_item_attachments_create_upload_session_request_builder.go +++ b/users/item_messages_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemMessagesItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl stri // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemMessagesItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemMessagesItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemMessagesItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_messages_item_attachments_request_builder.go b/users/item_messages_item_attachments_request_builder.go index c36847d810b..75b1c57dd4d 100644 --- a/users/item_messages_item_attachments_request_builder.go +++ b/users/item_messages_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemMessagesItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemMessagesItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to a message. +// ItemMessagesItemAttachmentsRequestBuilderGetQueryParameters the fileAttachment and itemAttachment attachments for the message. type ItemMessagesItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -75,12 +75,9 @@ func (m *ItemMessagesItemAttachmentsRequestBuilder) Count()(*ItemMessagesItemAtt func (m *ItemMessagesItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemMessagesItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemMessagesItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to a message. +// Get the fileAttachment and itemAttachment attachments for the message. // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/message-list-attachments?view=graph-rest-1.0 func (m *ItemMessagesItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMessagesItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,12 +95,9 @@ func (m *ItemMessagesItemAttachmentsRequestBuilder) Get(ctx context.Context, req } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// Post create new navigation property to attachments for users // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 func (m *ItemMessagesItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemMessagesItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -121,7 +115,7 @@ func (m *ItemMessagesItemAttachmentsRequestBuilder) Post(ctx context.Context, bo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to a message. +// ToGetRequestInformation the fileAttachment and itemAttachment attachments for the message. // returns a *RequestInformation when successful func (m *ItemMessagesItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMessagesItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -135,7 +129,7 @@ func (m *ItemMessagesItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. +// ToPostRequestInformation create new navigation property to attachments for users // returns a *RequestInformation when successful func (m *ItemMessagesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemMessagesItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_messages_item_copy_request_builder.go b/users/item_messages_item_copy_request_builder.go index fdc8094bc4d..0f9b65c8132 100644 --- a/users/item_messages_item_copy_request_builder.go +++ b/users/item_messages_item_copy_request_builder.go @@ -36,7 +36,7 @@ func NewItemMessagesItemCopyRequestBuilder(rawUrl string, requestAdapter i2ae418 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/message-copy?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/message-copy?view=graph-rest-beta func (m *ItemMessagesItemCopyRequestBuilder) Post(ctx context.Context, body ItemMessagesItemCopyPostRequestBodyable, requestConfiguration *ItemMessagesItemCopyRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Messageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_messages_item_create_forward_request_builder.go b/users/item_messages_item_create_forward_request_builder.go index 1022beb65a4..b1f5288c4f2 100644 --- a/users/item_messages_item_create_forward_request_builder.go +++ b/users/item_messages_item_create_forward_request_builder.go @@ -36,7 +36,7 @@ func NewItemMessagesItemCreateForwardRequestBuilder(rawUrl string, requestAdapte // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/message-createforward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/message-createforward?view=graph-rest-beta func (m *ItemMessagesItemCreateForwardRequestBuilder) Post(ctx context.Context, body ItemMessagesItemCreateForwardPostRequestBodyable, requestConfiguration *ItemMessagesItemCreateForwardRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Messageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_messages_item_create_reply_all_request_builder.go b/users/item_messages_item_create_reply_all_request_builder.go index cf70d3b3ea1..de5c71ee00e 100644 --- a/users/item_messages_item_create_reply_all_request_builder.go +++ b/users/item_messages_item_create_reply_all_request_builder.go @@ -36,7 +36,7 @@ func NewItemMessagesItemCreateReplyAllRequestBuilder(rawUrl string, requestAdapt // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/message-createreplyall?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/message-createreplyall?view=graph-rest-beta func (m *ItemMessagesItemCreateReplyAllRequestBuilder) Post(ctx context.Context, body ItemMessagesItemCreateReplyAllPostRequestBodyable, requestConfiguration *ItemMessagesItemCreateReplyAllRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Messageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_messages_item_create_reply_request_builder.go b/users/item_messages_item_create_reply_request_builder.go index d685ad63913..591575fafef 100644 --- a/users/item_messages_item_create_reply_request_builder.go +++ b/users/item_messages_item_create_reply_request_builder.go @@ -36,7 +36,7 @@ func NewItemMessagesItemCreateReplyRequestBuilder(rawUrl string, requestAdapter // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/message-createreply?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/message-createreply?view=graph-rest-beta func (m *ItemMessagesItemCreateReplyRequestBuilder) Post(ctx context.Context, body ItemMessagesItemCreateReplyPostRequestBodyable, requestConfiguration *ItemMessagesItemCreateReplyRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Messageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_messages_item_extensions_extension_item_request_builder.go b/users/item_messages_item_extensions_extension_item_request_builder.go index 6e2706d3e74..dc672b79333 100644 --- a/users/item_messages_item_extensions_extension_item_request_builder.go +++ b/users/item_messages_item_extensions_extension_item_request_builder.go @@ -18,7 +18,7 @@ type ItemMessagesItemExtensionsExtensionItemRequestBuilderDeleteRequestConfigura // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemMessagesItemExtensionsExtensionItemRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemMessagesItemExtensionsExtensionItemRequestBuilderGetQueryParameters the collection of open extensions defined for the message. Nullable. type ItemMessagesItemExtensionsExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemMessagesItemExtensionsExtensionItemRequestBuilder(rawUrl string, req urlParams["request-raw-url"] = rawUrl return NewItemMessagesItemExtensionsExtensionItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an open extension (openTypeExtension object) from the specified instance of a resource. For the list of resources that support open extensions, see the table in the Permissions section. +// Delete delete navigation property extensions for users // returns a ODataError error 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-delete?view=graph-rest-1.0 func (m *ItemMessagesItemExtensionsExtensionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemMessagesItemExtensionsExtensionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemMessagesItemExtensionsExtensionItemRequestBuilder) Delete(ctx conte } return nil } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the message. Nullable. // returns a Extensionable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemMessagesItemExtensionsExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMessagesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -116,7 +110,7 @@ func (m *ItemMessagesItemExtensionsExtensionItemRequestBuilder) Patch(ctx contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToDeleteRequestInformation delete an open extension (openTypeExtension object) from the specified instance of a resource. For the list of resources that support open extensions, see the table in the Permissions section. +// ToDeleteRequestInformation delete navigation property extensions for users // returns a *RequestInformation when successful func (m *ItemMessagesItemExtensionsExtensionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemMessagesItemExtensionsExtensionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -127,7 +121,7 @@ func (m *ItemMessagesItemExtensionsExtensionItemRequestBuilder) ToDeleteRequestI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the message. Nullable. // returns a *RequestInformation when successful func (m *ItemMessagesItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMessagesItemExtensionsExtensionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_messages_item_extensions_request_builder.go b/users/item_messages_item_extensions_request_builder.go index a37accbd218..dbff354aee8 100644 --- a/users/item_messages_item_extensions_request_builder.go +++ b/users/item_messages_item_extensions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemMessagesItemExtensionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemMessagesItemExtensionsRequestBuilderGetQueryParameters get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ItemMessagesItemExtensionsRequestBuilderGetQueryParameters the collection of open extensions defined for the message. Nullable. type ItemMessagesItemExtensionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewItemMessagesItemExtensionsRequestBuilder(rawUrl string, requestAdapter i func (m *ItemMessagesItemExtensionsRequestBuilder) Count()(*ItemMessagesItemExtensionsCountRequestBuilder) { return NewItemMessagesItemExtensionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// Get the collection of open extensions defined for the message. Nullable. // returns a ExtensionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemMessagesItemExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMessagesItemExtensionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable, error) { @@ -94,12 +94,9 @@ func (m *ItemMessagesItemExtensionsRequestBuilder) Get(ctx context.Context, requ } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExtensionCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to extensions for users // returns a Extensionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemMessagesItemExtensionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemMessagesItemExtensionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +114,7 @@ func (m *ItemMessagesItemExtensionsRequestBuilder) Post(ctx context.Context, bod } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable), nil } -// ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. +// ToGetRequestInformation the collection of open extensions defined for the message. Nullable. // returns a *RequestInformation when successful func (m *ItemMessagesItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMessagesItemExtensionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -131,7 +128,7 @@ func (m *ItemMessagesItemExtensionsRequestBuilder) ToGetRequestInformation(ctx c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to extensions for users // returns a *RequestInformation when successful func (m *ItemMessagesItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Extensionable, requestConfiguration *ItemMessagesItemExtensionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_messages_item_forward_request_builder.go b/users/item_messages_item_forward_request_builder.go index aae4ad33b96..e01aaf914fa 100644 --- a/users/item_messages_item_forward_request_builder.go +++ b/users/item_messages_item_forward_request_builder.go @@ -34,7 +34,7 @@ func NewItemMessagesItemForwardRequestBuilder(rawUrl string, requestAdapter i2ae // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/message-forward?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/message-forward?view=graph-rest-beta func (m *ItemMessagesItemForwardRequestBuilder) Post(ctx context.Context, body ItemMessagesItemForwardPostRequestBodyable, requestConfiguration *ItemMessagesItemForwardRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_messages_item_mark_as_junk_request_builder.go b/users/item_messages_item_mark_as_junk_request_builder.go index 8636539d1e2..269985d14c7 100644 --- a/users/item_messages_item_mark_as_junk_request_builder.go +++ b/users/item_messages_item_mark_as_junk_request_builder.go @@ -36,7 +36,7 @@ func NewItemMessagesItemMarkAsJunkRequestBuilder(rawUrl string, requestAdapter i // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/message-markasjunk?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/message-markasjunk?view=graph-rest-beta func (m *ItemMessagesItemMarkAsJunkRequestBuilder) Post(ctx context.Context, body ItemMessagesItemMarkAsJunkPostRequestBodyable, requestConfiguration *ItemMessagesItemMarkAsJunkRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Messageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_messages_item_mark_as_not_junk_request_builder.go b/users/item_messages_item_mark_as_not_junk_request_builder.go index 8906c393224..ef962ed693d 100644 --- a/users/item_messages_item_mark_as_not_junk_request_builder.go +++ b/users/item_messages_item_mark_as_not_junk_request_builder.go @@ -36,7 +36,7 @@ func NewItemMessagesItemMarkAsNotJunkRequestBuilder(rawUrl string, requestAdapte // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/message-markasnotjunk?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/message-markasnotjunk?view=graph-rest-beta func (m *ItemMessagesItemMarkAsNotJunkRequestBuilder) Post(ctx context.Context, body ItemMessagesItemMarkAsNotJunkPostRequestBodyable, requestConfiguration *ItemMessagesItemMarkAsNotJunkRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Messageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_messages_item_mentions_mention_item_request_builder.go b/users/item_messages_item_mentions_mention_item_request_builder.go index dc790eb1634..364f8689eb4 100644 --- a/users/item_messages_item_mentions_mention_item_request_builder.go +++ b/users/item_messages_item_mentions_mention_item_request_builder.go @@ -47,11 +47,8 @@ func NewItemMessagesItemMentionsMentionItemRequestBuilder(rawUrl string, request urlParams["request-raw-url"] = rawUrl return NewItemMessagesItemMentionsMentionItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a message in the specified user's mailbox, or delete a relationship of the message. For example, you can delete a specific @-mention of the specified user in the message. +// Delete delete navigation property mentions for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/message-delete?view=graph-rest-1.0 func (m *ItemMessagesItemMentionsMentionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemMessagesItemMentionsMentionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -86,7 +83,7 @@ func (m *ItemMessagesItemMentionsMentionItemRequestBuilder) Get(ctx context.Cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Mentionable), nil } -// ToDeleteRequestInformation delete a message in the specified user's mailbox, or delete a relationship of the message. For example, you can delete a specific @-mention of the specified user in the message. +// ToDeleteRequestInformation delete navigation property mentions for users // returns a *RequestInformation when successful func (m *ItemMessagesItemMentionsMentionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemMessagesItemMentionsMentionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_messages_item_move_request_builder.go b/users/item_messages_item_move_request_builder.go index 656bcd54ad2..05af7eb1300 100644 --- a/users/item_messages_item_move_request_builder.go +++ b/users/item_messages_item_move_request_builder.go @@ -36,7 +36,7 @@ func NewItemMessagesItemMoveRequestBuilder(rawUrl string, requestAdapter i2ae418 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/message-move?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/message-move?view=graph-rest-beta func (m *ItemMessagesItemMoveRequestBuilder) Post(ctx context.Context, body ItemMessagesItemMovePostRequestBodyable, requestConfiguration *ItemMessagesItemMoveRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Messageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_messages_item_reply_all_request_builder.go b/users/item_messages_item_reply_all_request_builder.go index 37814940bfa..990deb22a14 100644 --- a/users/item_messages_item_reply_all_request_builder.go +++ b/users/item_messages_item_reply_all_request_builder.go @@ -34,7 +34,7 @@ func NewItemMessagesItemReplyAllRequestBuilder(rawUrl string, requestAdapter i2a // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/message-replyall?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/message-replyall?view=graph-rest-beta func (m *ItemMessagesItemReplyAllRequestBuilder) Post(ctx context.Context, body ItemMessagesItemReplyAllPostRequestBodyable, requestConfiguration *ItemMessagesItemReplyAllRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_messages_item_reply_request_builder.go b/users/item_messages_item_reply_request_builder.go index f297ca0c124..401437061db 100644 --- a/users/item_messages_item_reply_request_builder.go +++ b/users/item_messages_item_reply_request_builder.go @@ -34,7 +34,7 @@ func NewItemMessagesItemReplyRequestBuilder(rawUrl string, requestAdapter i2ae41 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/message-reply?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/message-reply?view=graph-rest-beta func (m *ItemMessagesItemReplyRequestBuilder) Post(ctx context.Context, body ItemMessagesItemReplyPostRequestBodyable, requestConfiguration *ItemMessagesItemReplyRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_messages_item_send_request_builder.go b/users/item_messages_item_send_request_builder.go index 2c2dd9d27ab..9ffb723f355 100644 --- a/users/item_messages_item_send_request_builder.go +++ b/users/item_messages_item_send_request_builder.go @@ -34,7 +34,7 @@ func NewItemMessagesItemSendRequestBuilder(rawUrl string, requestAdapter i2ae418 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/message-send?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/message-send?view=graph-rest-beta func (m *ItemMessagesItemSendRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemMessagesItemSendRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_messages_item_unsubscribe_request_builder.go b/users/item_messages_item_unsubscribe_request_builder.go index f75856b984c..82b37ae4d52 100644 --- a/users/item_messages_item_unsubscribe_request_builder.go +++ b/users/item_messages_item_unsubscribe_request_builder.go @@ -34,7 +34,7 @@ func NewItemMessagesItemUnsubscribeRequestBuilder(rawUrl string, requestAdapter // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/message-unsubscribe?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/message-unsubscribe?view=graph-rest-beta func (m *ItemMessagesItemUnsubscribeRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemMessagesItemUnsubscribeRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_messages_item_value_content_request_builder.go b/users/item_messages_item_value_content_request_builder.go index c049ea5d73d..6ae07b83f80 100644 --- a/users/item_messages_item_value_content_request_builder.go +++ b/users/item_messages_item_value_content_request_builder.go @@ -40,9 +40,6 @@ func NewItemMessagesItemValueContentRequestBuilder(rawUrl string, requestAdapter // Get get media content for the navigation property messages from users // 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/opentypeextension-get?view=graph-rest-1.0 func (m *ItemMessagesItemValueContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMessagesItemValueContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_messages_message_item_request_builder.go b/users/item_messages_message_item_request_builder.go index 2da45640024..b93a58b6703 100644 --- a/users/item_messages_message_item_request_builder.go +++ b/users/item_messages_message_item_request_builder.go @@ -86,11 +86,8 @@ func (m *ItemMessagesMessageItemRequestBuilder) CreateReply()(*ItemMessagesItemC func (m *ItemMessagesMessageItemRequestBuilder) CreateReplyAll()(*ItemMessagesItemCreateReplyAllRequestBuilder) { return NewItemMessagesItemCreateReplyAllRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Delete delete eventMessage. +// Delete delete navigation property messages for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-delete?view=graph-rest-1.0 func (m *ItemMessagesMessageItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemMessagesMessageItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -118,9 +115,6 @@ func (m *ItemMessagesMessageItemRequestBuilder) Forward()(*ItemMessagesItemForwa // Get the messages in a mailbox or folder. Read-only. Nullable. // returns a Messageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/message-get?view=graph-rest-1.0 func (m *ItemMessagesMessageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMessagesMessageItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Messageable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -158,12 +152,9 @@ func (m *ItemMessagesMessageItemRequestBuilder) Mentions()(*ItemMessagesItemMent func (m *ItemMessagesMessageItemRequestBuilder) Move()(*ItemMessagesItemMoveRequestBuilder) { return NewItemMessagesItemMoveRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of a message object. +// Patch update the navigation property messages in users // returns a Messageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/message-update?view=graph-rest-1.0 func (m *ItemMessagesMessageItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Messageable, requestConfiguration *ItemMessagesMessageItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Messageable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -196,7 +187,7 @@ func (m *ItemMessagesMessageItemRequestBuilder) ReplyAll()(*ItemMessagesItemRepl func (m *ItemMessagesMessageItemRequestBuilder) Send()(*ItemMessagesItemSendRequestBuilder) { return NewItemMessagesItemSendRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete eventMessage. +// ToDeleteRequestInformation delete navigation property messages for users // returns a *RequestInformation when successful func (m *ItemMessagesMessageItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemMessagesMessageItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -221,7 +212,7 @@ func (m *ItemMessagesMessageItemRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a message object. +// ToPatchRequestInformation update the navigation property messages in users // returns a *RequestInformation when successful func (m *ItemMessagesMessageItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Messageable, requestConfiguration *ItemMessagesMessageItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_messages_request_builder.go b/users/item_messages_request_builder.go index ffd3686d0b0..a8acadfa76f 100644 --- a/users/item_messages_request_builder.go +++ b/users/item_messages_request_builder.go @@ -86,9 +86,6 @@ func (m *ItemMessagesRequestBuilder) Delta()(*ItemMessagesDeltaRequestBuilder) { // Get the messages in a mailbox or folder. Read-only. Nullable. // returns a MessageCollectionResponseable when successful // returns a ODataError error 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-get?view=graph-rest-1.0 func (m *ItemMessagesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMessagesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MessageCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -106,12 +103,9 @@ func (m *ItemMessagesRequestBuilder) Get(ctx context.Context, requestConfigurati } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MessageCollectionResponseable), nil } -// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// Post create new navigation property to messages for users // returns a Messageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 func (m *ItemMessagesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Messageable, requestConfiguration *ItemMessagesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Messageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -143,7 +137,7 @@ func (m *ItemMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. +// ToPostRequestInformation create new navigation property to messages for users // returns a *RequestInformation when successful func (m *ItemMessagesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Messageable, requestConfiguration *ItemMessagesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_mobile_app_troubleshooting_events_item_app_log_collection_requests_app_log_collection_request_item_request_builder.go b/users/item_mobile_app_troubleshooting_events_item_app_log_collection_requests_app_log_collection_request_item_request_builder.go index 86ebce4db7e..e5338e10c72 100644 --- a/users/item_mobile_app_troubleshooting_events_item_app_log_collection_requests_app_log_collection_request_item_request_builder.go +++ b/users/item_mobile_app_troubleshooting_events_item_app_log_collection_requests_app_log_collection_request_item_request_builder.go @@ -18,7 +18,7 @@ type ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollect // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionRequestItemRequestBuilderGetQueryParameters the collection property of AppLogUploadRequest. +// ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionRequestItemRequestBuilderGetQueryParameters indicates collection of App Log Upload Request. type ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollectionRequestItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,7 +75,7 @@ func (m *ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCol } return nil } -// Get the collection property of AppLogUploadRequest. +// Get indicates collection of App Log Upload Request. // 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 the collection property of AppLogUploadRequest. +// ToGetRequestInformation indicates collection of App Log Upload Request. // 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/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 e40d68e6607..47bd7d95a6b 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 the collection property of AppLogUploadRequest. +// ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilderGetQueryParameters indicates collection of App Log Upload Request. 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 the collection property of AppLogUploadRequest. +// Get indicates collection of App Log Upload Request. // 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 the collection property of AppLogUploadRequest. +// ToGetRequestInformation indicates collection of App Log Upload Request. // 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_oauth2_permission_grants_request_builder.go b/users/item_oauth2_permission_grants_request_builder.go index e229354bcc5..302168495b7 100644 --- a/users/item_oauth2_permission_grants_request_builder.go +++ b/users/item_oauth2_permission_grants_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOauth2PermissionGrantsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOauth2PermissionGrantsRequestBuilderGetQueryParameters retrieve a list of oAuth2PermissionGrant entities, which represent delegated permissions granted to enable a client application to access an API on behalf of the user. +// ItemOauth2PermissionGrantsRequestBuilderGetQueryParameters get oauth2PermissionGrants from users type ItemOauth2PermissionGrantsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewItemOauth2PermissionGrantsRequestBuilder(rawUrl string, requestAdapter i func (m *ItemOauth2PermissionGrantsRequestBuilder) Count()(*ItemOauth2PermissionGrantsCountRequestBuilder) { return NewItemOauth2PermissionGrantsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of oAuth2PermissionGrant entities, which represent delegated permissions granted to enable a client application to access an API on behalf of the user. +// Get get oauth2PermissionGrants from users // returns a OAuth2PermissionGrantCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/user-list-oauth2permissiongrants?view=graph-rest-1.0 func (m *ItemOauth2PermissionGrantsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOauth2PermissionGrantsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OAuth2PermissionGrantCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *ItemOauth2PermissionGrantsRequestBuilder) Get(ctx context.Context, requ } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OAuth2PermissionGrantCollectionResponseable), nil } -// ToGetRequestInformation retrieve a list of oAuth2PermissionGrant entities, which represent delegated permissions granted to enable a client application to access an API on behalf of the user. +// ToGetRequestInformation get oauth2PermissionGrants from users // returns a *RequestInformation when successful func (m *ItemOauth2PermissionGrantsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOauth2PermissionGrantsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_onenote_notebooks_get_notebook_from_web_url_request_builder.go b/users/item_onenote_notebooks_get_notebook_from_web_url_request_builder.go index a300c7537b3..b4f0e990259 100644 --- a/users/item_onenote_notebooks_get_notebook_from_web_url_request_builder.go +++ b/users/item_onenote_notebooks_get_notebook_from_web_url_request_builder.go @@ -36,7 +36,7 @@ func NewItemOnenoteNotebooksGetNotebookFromWebUrlRequestBuilder(rawUrl string, r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/notebook-getnotebookfromweburl?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/notebook-getnotebookfromweburl?view=graph-rest-beta func (m *ItemOnenoteNotebooksGetNotebookFromWebUrlRequestBuilder) Post(ctx context.Context, body ItemOnenoteNotebooksGetNotebookFromWebUrlPostRequestBodyable, requestConfiguration *ItemOnenoteNotebooksGetNotebookFromWebUrlRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CopyNotebookModelable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_onenote_notebooks_get_recent_notebooks_with_include_personal_notebooks_request_builder.go b/users/item_onenote_notebooks_get_recent_notebooks_with_include_personal_notebooks_request_builder.go index 9dabf0ce88b..946fbf9f9f3 100644 --- a/users/item_onenote_notebooks_get_recent_notebooks_with_include_personal_notebooks_request_builder.go +++ b/users/item_onenote_notebooks_get_recent_notebooks_with_include_personal_notebooks_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilderGetQueryParameters invoke function getRecentNotebooks +// ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilderGetQueryParameters get a list of recentNotebook instances that have been accessed by the signed-in user. type ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -49,10 +49,13 @@ func NewItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksReques urlParams["request-raw-url"] = rawUrl return NewItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function getRecentNotebooks +// Get get a list of recentNotebook instances that have been accessed by the signed-in user. // Deprecated: This method is obsolete. Use GetAsGetRecentNotebooksWithIncludePersonalNotebooksGetResponse instead. // returns a ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/notebook-getrecentnotebooks?view=graph-rest-beta func (m *ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilderGetRequestConfiguration)(ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -70,9 +73,12 @@ func (m *ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksReque } return res.(ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksResponseable), nil } -// GetAsGetRecentNotebooksWithIncludePersonalNotebooksGetResponse invoke function getRecentNotebooks +// GetAsGetRecentNotebooksWithIncludePersonalNotebooksGetResponse get a list of recentNotebook instances that have been accessed by the signed-in user. // returns a ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/notebook-getrecentnotebooks?view=graph-rest-beta func (m *ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder) GetAsGetRecentNotebooksWithIncludePersonalNotebooksGetResponse(ctx context.Context, requestConfiguration *ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilderGetRequestConfiguration)(ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -90,7 +96,7 @@ func (m *ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksReque } return res.(ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksGetResponseable), nil } -// ToGetRequestInformation invoke function getRecentNotebooks +// ToGetRequestInformation get a list of recentNotebook instances that have been accessed by the signed-in user. // returns a *RequestInformation when successful func (m *ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_onenote_notebooks_item_copy_notebook_request_builder.go b/users/item_onenote_notebooks_item_copy_notebook_request_builder.go index 12a256b34c1..5717e1cba22 100644 --- a/users/item_onenote_notebooks_item_copy_notebook_request_builder.go +++ b/users/item_onenote_notebooks_item_copy_notebook_request_builder.go @@ -36,7 +36,7 @@ func NewItemOnenoteNotebooksItemCopyNotebookRequestBuilder(rawUrl string, reques // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/notebook-copynotebook?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/notebook-copynotebook?view=graph-rest-beta func (m *ItemOnenoteNotebooksItemCopyNotebookRequestBuilder) Post(ctx context.Context, body ItemOnenoteNotebooksItemCopyNotebookPostRequestBodyable, requestConfiguration *ItemOnenoteNotebooksItemCopyNotebookRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_onenote_notebooks_item_section_groups_item_section_groups_request_builder.go b/users/item_onenote_notebooks_item_section_groups_item_section_groups_request_builder.go index a5df9fd7176..aeae7a450b5 100644 --- a/users/item_onenote_notebooks_item_section_groups_item_section_groups_request_builder.go +++ b/users/item_onenote_notebooks_item_section_groups_item_section_groups_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilderGetQueryParameters retrieve a list of section groups from the specified section group. +// ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilderGetQueryParameters the section groups in the section. Read-only. Nullable. type ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilder(raw func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilder) Count()(*ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsCountRequestBuilder) { return NewItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of section groups from the specified section group. +// Get the section groups in the section. Read-only. Nullable. // returns a SectionGroupCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sectiongroup-list-sectiongroups?view=graph-rest-1.0 func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilder) G } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupCollectionResponseable), nil } -// ToGetRequestInformation retrieve a list of section groups from the specified section group. +// ToGetRequestInformation the section groups in the section. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_notebook_request_builder.go b/users/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_notebook_request_builder.go index a0ef449aa30..0b4a0b0dcd9 100644 --- a/users/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_notebook_request_builder.go +++ b/users/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_notebook_request_builder.go @@ -36,7 +36,7 @@ func NewItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookReque // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytonotebook?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytonotebook?view=graph-rest-beta func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookRequestBuilder) Post(ctx context.Context, body ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookPostRequestBodyable, requestConfiguration *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_section_group_request_builder.go b/users/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_section_group_request_builder.go index 9e19f98f4b6..71056e8d64e 100644 --- a/users/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_section_group_request_builder.go +++ b/users/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_section_group_request_builder.go @@ -36,7 +36,7 @@ func NewItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupR // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytosectiongroup?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytosectiongroup?view=graph-rest-beta func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupRequestBuilder) Post(ctx context.Context, body ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBodyable, requestConfiguration *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go b/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go index 5c6c3bb02bf..6e7db1b2323 100644 --- a/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go +++ b/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go @@ -36,7 +36,7 @@ func NewItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSect // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/page-copytosection?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/page-copytosection?view=graph-rest-beta func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionRequestBuilder) Post(ctx context.Context, body ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBodyable, requestConfiguration *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_onenote_notebooks_item_section_groups_item_sections_request_builder.go b/users/item_onenote_notebooks_item_section_groups_item_sections_request_builder.go index 731e55c5033..740b7b03510 100644 --- a/users/item_onenote_notebooks_item_section_groups_item_sections_request_builder.go +++ b/users/item_onenote_notebooks_item_section_groups_item_sections_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilderGetQueryParameters retrieve a list of onenoteSection objects from the specified section group. +// ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilderGetQueryParameters the sections in the section group. Read-only. Nullable. type ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder(rawUrl s func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder) Count()(*ItemOnenoteNotebooksItemSectionGroupsItemSectionsCountRequestBuilder) { return NewItemOnenoteNotebooksItemSectionGroupsItemSectionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of onenoteSection objects from the specified section group. +// Get the sections in the section group. Read-only. Nullable. // returns a OnenoteSectionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sectiongroup-list-sections?view=graph-rest-1.0 func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder) Get(ct } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionCollectionResponseable), nil } -// Post create a new section in the specified section group. +// Post create new navigation property to sections for users // returns a OnenoteSectionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sectiongroup-post-sections?view=graph-rest-1.0 func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable, requestConfiguration *ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder) Post(c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable), nil } -// ToGetRequestInformation retrieve a list of onenoteSection objects from the specified section group. +// ToGetRequestInformation the sections in the section group. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder) ToGetR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new section in the specified section group. +// ToPostRequestInformation create new navigation property to sections for users // returns a *RequestInformation when successful func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable, requestConfiguration *ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_onenote_notebooks_item_section_groups_request_builder.go b/users/item_onenote_notebooks_item_section_groups_request_builder.go index 496e0afeb23..ff3ebede0c9 100644 --- a/users/item_onenote_notebooks_item_section_groups_request_builder.go +++ b/users/item_onenote_notebooks_item_section_groups_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOnenoteNotebooksItemSectionGroupsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOnenoteNotebooksItemSectionGroupsRequestBuilderGetQueryParameters retrieve a list of section groups from the specified notebook. +// ItemOnenoteNotebooksItemSectionGroupsRequestBuilderGetQueryParameters the section groups in the notebook. Read-only. Nullable. type ItemOnenoteNotebooksItemSectionGroupsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemOnenoteNotebooksItemSectionGroupsRequestBuilder(rawUrl string, reque func (m *ItemOnenoteNotebooksItemSectionGroupsRequestBuilder) Count()(*ItemOnenoteNotebooksItemSectionGroupsCountRequestBuilder) { return NewItemOnenoteNotebooksItemSectionGroupsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of section groups from the specified notebook. +// Get the section groups in the notebook. Read-only. Nullable. // returns a SectionGroupCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/notebook-list-sectiongroups?view=graph-rest-1.0 func (m *ItemOnenoteNotebooksItemSectionGroupsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteNotebooksItemSectionGroupsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsRequestBuilder) Get(ctx context.Co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupCollectionResponseable), nil } -// Post create a new section group in the specified notebook. +// Post create new navigation property to sectionGroups for users // returns a SectionGroupable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/notebook-post-sectiongroups?view=graph-rest-1.0 func (m *ItemOnenoteNotebooksItemSectionGroupsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupable, requestConfiguration *ItemOnenoteNotebooksItemSectionGroupsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsRequestBuilder) Post(ctx context.C } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupable), nil } -// ToGetRequestInformation retrieve a list of section groups from the specified notebook. +// ToGetRequestInformation the section groups in the notebook. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemOnenoteNotebooksItemSectionGroupsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnenoteNotebooksItemSectionGroupsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsRequestBuilder) ToGetRequestInform requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new section group in the specified notebook. +// ToPostRequestInformation create new navigation property to sectionGroups for users // returns a *RequestInformation when successful func (m *ItemOnenoteNotebooksItemSectionGroupsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupable, requestConfiguration *ItemOnenoteNotebooksItemSectionGroupsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_onenote_notebooks_item_sections_item_copy_to_notebook_request_builder.go b/users/item_onenote_notebooks_item_sections_item_copy_to_notebook_request_builder.go index cd65784a3f9..2696cdf8436 100644 --- a/users/item_onenote_notebooks_item_sections_item_copy_to_notebook_request_builder.go +++ b/users/item_onenote_notebooks_item_sections_item_copy_to_notebook_request_builder.go @@ -36,7 +36,7 @@ func NewItemOnenoteNotebooksItemSectionsItemCopyToNotebookRequestBuilder(rawUrl // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytonotebook?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytonotebook?view=graph-rest-beta func (m *ItemOnenoteNotebooksItemSectionsItemCopyToNotebookRequestBuilder) Post(ctx context.Context, body ItemOnenoteNotebooksItemSectionsItemCopyToNotebookPostRequestBodyable, requestConfiguration *ItemOnenoteNotebooksItemSectionsItemCopyToNotebookRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_onenote_notebooks_item_sections_item_copy_to_section_group_request_builder.go b/users/item_onenote_notebooks_item_sections_item_copy_to_section_group_request_builder.go index 39c8263bb14..8cbbccab7c4 100644 --- a/users/item_onenote_notebooks_item_sections_item_copy_to_section_group_request_builder.go +++ b/users/item_onenote_notebooks_item_sections_item_copy_to_section_group_request_builder.go @@ -36,7 +36,7 @@ func NewItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupRequestBuilder(raw // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytosectiongroup?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytosectiongroup?view=graph-rest-beta func (m *ItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupRequestBuilder) Post(ctx context.Context, body ItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupPostRequestBodyable, requestConfiguration *ItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_onenote_notebooks_item_sections_item_pages_item_copy_to_section_request_builder.go b/users/item_onenote_notebooks_item_sections_item_pages_item_copy_to_section_request_builder.go index 7aafc05144c..4f652dcea61 100644 --- a/users/item_onenote_notebooks_item_sections_item_pages_item_copy_to_section_request_builder.go +++ b/users/item_onenote_notebooks_item_sections_item_pages_item_copy_to_section_request_builder.go @@ -36,7 +36,7 @@ func NewItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionRequestBuilder // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/page-copytosection?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/page-copytosection?view=graph-rest-beta func (m *ItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionRequestBuilder) Post(ctx context.Context, body ItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionPostRequestBodyable, requestConfiguration *ItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_onenote_notebooks_item_sections_request_builder.go b/users/item_onenote_notebooks_item_sections_request_builder.go index e7c1182c9b8..1b4b0a43cc1 100644 --- a/users/item_onenote_notebooks_item_sections_request_builder.go +++ b/users/item_onenote_notebooks_item_sections_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOnenoteNotebooksItemSectionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOnenoteNotebooksItemSectionsRequestBuilderGetQueryParameters retrieve a list of section objects from the specified notebook. +// ItemOnenoteNotebooksItemSectionsRequestBuilderGetQueryParameters the sections in the notebook. Read-only. Nullable. type ItemOnenoteNotebooksItemSectionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemOnenoteNotebooksItemSectionsRequestBuilder(rawUrl string, requestAda func (m *ItemOnenoteNotebooksItemSectionsRequestBuilder) Count()(*ItemOnenoteNotebooksItemSectionsCountRequestBuilder) { return NewItemOnenoteNotebooksItemSectionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of section objects from the specified notebook. +// Get the sections in the notebook. Read-only. Nullable. // returns a OnenoteSectionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/notebook-list-sections?view=graph-rest-1.0 func (m *ItemOnenoteNotebooksItemSectionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteNotebooksItemSectionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemOnenoteNotebooksItemSectionsRequestBuilder) Get(ctx context.Context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionCollectionResponseable), nil } -// Post create a new section in the specified notebook. +// Post create new navigation property to sections for users // returns a OnenoteSectionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/notebook-post-sections?view=graph-rest-1.0 func (m *ItemOnenoteNotebooksItemSectionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable, requestConfiguration *ItemOnenoteNotebooksItemSectionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemOnenoteNotebooksItemSectionsRequestBuilder) Post(ctx context.Contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable), nil } -// ToGetRequestInformation retrieve a list of section objects from the specified notebook. +// ToGetRequestInformation the sections in the notebook. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemOnenoteNotebooksItemSectionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnenoteNotebooksItemSectionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemOnenoteNotebooksItemSectionsRequestBuilder) ToGetRequestInformation requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new section in the specified notebook. +// ToPostRequestInformation create new navigation property to sections for users // returns a *RequestInformation when successful func (m *ItemOnenoteNotebooksItemSectionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable, requestConfiguration *ItemOnenoteNotebooksItemSectionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, 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 34fea42afa6..aeec3f5db72 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 retrieve the properties and relationships of a notebook object. +// ItemOnenoteNotebooksNotebookItemRequestBuilderGetQueryParameters the collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable. type ItemOnenoteNotebooksNotebookItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *ItemOnenoteNotebooksNotebookItemRequestBuilder) Delete(ctx context.Cont } return nil } -// Get retrieve the properties and relationships of a notebook object. +// Get the collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable. // returns a Notebookable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/notebook-get?view=graph-rest-1.0 func (m *ItemOnenoteNotebooksNotebookItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteNotebooksNotebookItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Notebookable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -139,7 +136,7 @@ func (m *ItemOnenoteNotebooksNotebookItemRequestBuilder) ToDeleteRequestInformat requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a notebook object. +// ToGetRequestInformation the collection of OneNote notebooks that are owned by the user or group. 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 471b0276f41..5e16578e556 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 retrieve a list of notebook objects. +// ItemOnenoteNotebooksRequestBuilderGetQueryParameters the collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable. type ItemOnenoteNotebooksRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemOnenoteNotebooksRequestBuilder(rawUrl string, requestAdapter i2ae418 func (m *ItemOnenoteNotebooksRequestBuilder) Count()(*ItemOnenoteNotebooksCountRequestBuilder) { return NewItemOnenoteNotebooksCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of notebook objects. +// Get the collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable. // returns a NotebookCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/onenote-list-notebooks?view=graph-rest-1.0 func (m *ItemOnenoteNotebooksRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteNotebooksRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NotebookCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -109,12 +106,9 @@ func (m *ItemOnenoteNotebooksRequestBuilder) GetNotebookFromWebUrl()(*ItemOnenot func (m *ItemOnenoteNotebooksRequestBuilder) GetRecentNotebooksWithIncludePersonalNotebooks(includePersonalNotebooks *bool)(*ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder) { return NewItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, includePersonalNotebooks) } -// Post create a new OneNote notebook. +// Post create new navigation property to notebooks for users // returns a Notebookable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/onenote-post-notebooks?view=graph-rest-1.0 func (m *ItemOnenoteNotebooksRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Notebookable, requestConfiguration *ItemOnenoteNotebooksRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Notebookable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -132,7 +126,7 @@ func (m *ItemOnenoteNotebooksRequestBuilder) Post(ctx context.Context, body ie23 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Notebookable), nil } -// ToGetRequestInformation retrieve a list of notebook objects. +// ToGetRequestInformation the collection of OneNote notebooks that are owned by the user or group. 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) @@ -146,7 +140,7 @@ func (m *ItemOnenoteNotebooksRequestBuilder) ToGetRequestInformation(ctx context requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new OneNote notebook. +// ToPostRequestInformation create new navigation property to notebooks for users // returns a *RequestInformation when successful func (m *ItemOnenoteNotebooksRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Notebookable, requestConfiguration *ItemOnenoteNotebooksRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_onenote_operations_onenote_operation_item_request_builder.go b/users/item_onenote_operations_onenote_operation_item_request_builder.go index 0ae31777225..85f7d4cb54a 100644 --- a/users/item_onenote_operations_onenote_operation_item_request_builder.go +++ b/users/item_onenote_operations_onenote_operation_item_request_builder.go @@ -18,7 +18,7 @@ type ItemOnenoteOperationsOnenoteOperationItemRequestBuilderDeleteRequestConfigu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemOnenoteOperationsOnenoteOperationItemRequestBuilderGetQueryParameters get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. +// ItemOnenoteOperationsOnenoteOperationItemRequestBuilderGetQueryParameters the status of OneNote operations. Getting an operations collection isn't supported, but you can get the status of long-running operations if the Operation-Location header is returned in the response. Read-only. Nullable. type ItemOnenoteOperationsOnenoteOperationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemOnenoteOperationsOnenoteOperationItemRequestBuilder) Delete(ctx con } return nil } -// Get get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. +// Get the status of OneNote operations. Getting an operations collection isn't supported, but you can get the status of long-running operations if the Operation-Location header is returned in the response. Read-only. Nullable. // returns a OnenoteOperationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/onenoteoperation-get?view=graph-rest-1.0 func (m *ItemOnenoteOperationsOnenoteOperationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteOperationsOnenoteOperationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemOnenoteOperationsOnenoteOperationItemRequestBuilder) ToDeleteReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. +// ToGetRequestInformation the status of OneNote operations. Getting an operations collection isn't supported, but you can get the status of long-running operations if the Operation-Location header is returned in the response. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemOnenoteOperationsOnenoteOperationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnenoteOperationsOnenoteOperationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_onenote_operations_request_builder.go b/users/item_onenote_operations_request_builder.go index 15f2cf932f4..e3df23e0780 100644 --- a/users/item_onenote_operations_request_builder.go +++ b/users/item_onenote_operations_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOnenoteOperationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOnenoteOperationsRequestBuilderGetQueryParameters get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. +// ItemOnenoteOperationsRequestBuilderGetQueryParameters the status of OneNote operations. Getting an operations collection isn't supported, but you can get the status of long-running operations if the Operation-Location header is returned in the response. Read-only. Nullable. type ItemOnenoteOperationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewItemOnenoteOperationsRequestBuilder(rawUrl string, requestAdapter i2ae41 func (m *ItemOnenoteOperationsRequestBuilder) Count()(*ItemOnenoteOperationsCountRequestBuilder) { return NewItemOnenoteOperationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. +// Get the status of OneNote operations. Getting an operations collection isn't supported, but you can get the status of long-running operations if the Operation-Location header is returned in the response. Read-only. Nullable. // returns a OnenoteOperationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemOnenoteOperationsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteOperationsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *ItemOnenoteOperationsRequestBuilder) Post(ctx context.Context, body ie2 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable), nil } -// ToGetRequestInformation get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. +// ToGetRequestInformation the status of OneNote operations. Getting an operations collection isn't supported, but you can get the status of long-running operations if the Operation-Location header is returned in the response. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemOnenoteOperationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnenoteOperationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_onenote_pages_item_copy_to_section_request_builder.go b/users/item_onenote_pages_item_copy_to_section_request_builder.go index 832cdcd4b6a..8b9cbd94810 100644 --- a/users/item_onenote_pages_item_copy_to_section_request_builder.go +++ b/users/item_onenote_pages_item_copy_to_section_request_builder.go @@ -36,7 +36,7 @@ func NewItemOnenotePagesItemCopyToSectionRequestBuilder(rawUrl string, requestAd // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/page-copytosection?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/page-copytosection?view=graph-rest-beta func (m *ItemOnenotePagesItemCopyToSectionRequestBuilder) Post(ctx context.Context, body ItemOnenotePagesItemCopyToSectionPostRequestBodyable, requestConfiguration *ItemOnenotePagesItemCopyToSectionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { 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 dd49f2deb41..912bf7bde8e 100644 --- a/users/item_onenote_pages_onenote_page_item_request_builder.go +++ b/users/item_onenote_pages_onenote_page_item_request_builder.go @@ -64,11 +64,8 @@ func (m *ItemOnenotePagesOnenotePageItemRequestBuilder) Content()(*ItemOnenotePa func (m *ItemOnenotePagesOnenotePageItemRequestBuilder) CopyToSection()(*ItemOnenotePagesItemCopyToSectionRequestBuilder) { return NewItemOnenotePagesItemCopyToSectionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Delete delete a OneNote page. +// Delete delete navigation property pages for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/page-delete?view=graph-rest-1.0 func (m *ItemOnenotePagesOnenotePageItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemOnenotePagesOnenotePageItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -143,7 +140,7 @@ func (m *ItemOnenotePagesOnenotePageItemRequestBuilder) Patch(ctx context.Contex func (m *ItemOnenotePagesOnenotePageItemRequestBuilder) Preview()(*ItemOnenotePagesItemPreviewRequestBuilder) { return NewItemOnenotePagesItemPreviewRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a OneNote page. +// ToDeleteRequestInformation delete navigation property pages for users // returns a *RequestInformation when successful func (m *ItemOnenotePagesOnenotePageItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemOnenotePagesOnenotePageItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_onenote_section_groups_item_section_groups_request_builder.go b/users/item_onenote_section_groups_item_section_groups_request_builder.go index 14cceae3e09..4bf09469d9e 100644 --- a/users/item_onenote_section_groups_item_section_groups_request_builder.go +++ b/users/item_onenote_section_groups_item_section_groups_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOnenoteSectionGroupsItemSectionGroupsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOnenoteSectionGroupsItemSectionGroupsRequestBuilderGetQueryParameters retrieve a list of section groups from the specified section group. +// ItemOnenoteSectionGroupsItemSectionGroupsRequestBuilderGetQueryParameters the section groups in the section. Read-only. Nullable. type ItemOnenoteSectionGroupsItemSectionGroupsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewItemOnenoteSectionGroupsItemSectionGroupsRequestBuilder(rawUrl string, r func (m *ItemOnenoteSectionGroupsItemSectionGroupsRequestBuilder) Count()(*ItemOnenoteSectionGroupsItemSectionGroupsCountRequestBuilder) { return NewItemOnenoteSectionGroupsItemSectionGroupsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of section groups from the specified section group. +// Get the section groups in the section. Read-only. Nullable. // returns a SectionGroupCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sectiongroup-list-sectiongroups?view=graph-rest-1.0 func (m *ItemOnenoteSectionGroupsItemSectionGroupsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteSectionGroupsItemSectionGroupsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionGroupsRequestBuilder) Get(ctx contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupCollectionResponseable), nil } -// ToGetRequestInformation retrieve a list of section groups from the specified section group. +// ToGetRequestInformation the section groups in the section. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemOnenoteSectionGroupsItemSectionGroupsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnenoteSectionGroupsItemSectionGroupsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_onenote_section_groups_item_sections_item_copy_to_notebook_request_builder.go b/users/item_onenote_section_groups_item_sections_item_copy_to_notebook_request_builder.go index 6b363a0ba25..e07895f3bad 100644 --- a/users/item_onenote_section_groups_item_sections_item_copy_to_notebook_request_builder.go +++ b/users/item_onenote_section_groups_item_sections_item_copy_to_notebook_request_builder.go @@ -36,7 +36,7 @@ func NewItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookRequestBuilder(raw // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytonotebook?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytonotebook?view=graph-rest-beta func (m *ItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookRequestBuilder) Post(ctx context.Context, body ItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookPostRequestBodyable, requestConfiguration *ItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_onenote_section_groups_item_sections_item_copy_to_section_group_request_builder.go b/users/item_onenote_section_groups_item_sections_item_copy_to_section_group_request_builder.go index c8d33be7841..ce794abe749 100644 --- a/users/item_onenote_section_groups_item_sections_item_copy_to_section_group_request_builder.go +++ b/users/item_onenote_section_groups_item_sections_item_copy_to_section_group_request_builder.go @@ -36,7 +36,7 @@ func NewItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupRequestBuilder // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytosectiongroup?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytosectiongroup?view=graph-rest-beta func (m *ItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupRequestBuilder) Post(ctx context.Context, body ItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBodyable, requestConfiguration *ItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_onenote_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go b/users/item_onenote_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go index 59317c55541..460278a2576 100644 --- a/users/item_onenote_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go +++ b/users/item_onenote_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go @@ -36,7 +36,7 @@ func NewItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionRequestBui // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/page-copytosection?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/page-copytosection?view=graph-rest-beta func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionRequestBuilder) Post(ctx context.Context, body ItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBodyable, requestConfiguration *ItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_onenote_section_groups_item_sections_request_builder.go b/users/item_onenote_section_groups_item_sections_request_builder.go index bcf40c3eff8..94369be283f 100644 --- a/users/item_onenote_section_groups_item_sections_request_builder.go +++ b/users/item_onenote_section_groups_item_sections_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOnenoteSectionGroupsItemSectionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOnenoteSectionGroupsItemSectionsRequestBuilderGetQueryParameters retrieve a list of onenoteSection objects from the specified section group. +// ItemOnenoteSectionGroupsItemSectionsRequestBuilderGetQueryParameters the sections in the section group. Read-only. Nullable. type ItemOnenoteSectionGroupsItemSectionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemOnenoteSectionGroupsItemSectionsRequestBuilder(rawUrl string, reques func (m *ItemOnenoteSectionGroupsItemSectionsRequestBuilder) Count()(*ItemOnenoteSectionGroupsItemSectionsCountRequestBuilder) { return NewItemOnenoteSectionGroupsItemSectionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of onenoteSection objects from the specified section group. +// Get the sections in the section group. Read-only. Nullable. // returns a OnenoteSectionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sectiongroup-list-sections?view=graph-rest-1.0 func (m *ItemOnenoteSectionGroupsItemSectionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteSectionGroupsItemSectionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemOnenoteSectionGroupsItemSectionsRequestBuilder) Get(ctx context.Con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionCollectionResponseable), nil } -// Post create a new section in the specified section group. +// Post create new navigation property to sections for users // returns a OnenoteSectionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sectiongroup-post-sections?view=graph-rest-1.0 func (m *ItemOnenoteSectionGroupsItemSectionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable, requestConfiguration *ItemOnenoteSectionGroupsItemSectionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsRequestBuilder) Post(ctx context.Co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable), nil } -// ToGetRequestInformation retrieve a list of onenoteSection objects from the specified section group. +// ToGetRequestInformation the sections in the section group. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemOnenoteSectionGroupsItemSectionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnenoteSectionGroupsItemSectionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsRequestBuilder) ToGetRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new section in the specified section group. +// ToPostRequestInformation create new navigation property to sections for users // returns a *RequestInformation when successful func (m *ItemOnenoteSectionGroupsItemSectionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable, requestConfiguration *ItemOnenoteSectionGroupsItemSectionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, 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 d53ad410c01..8b7ee7340e3 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 retrieve a list of sectionGroup objects. +// ItemOnenoteSectionGroupsRequestBuilderGetQueryParameters the section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. type ItemOnenoteSectionGroupsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemOnenoteSectionGroupsRequestBuilder(rawUrl string, requestAdapter i2a func (m *ItemOnenoteSectionGroupsRequestBuilder) Count()(*ItemOnenoteSectionGroupsCountRequestBuilder) { return NewItemOnenoteSectionGroupsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of sectionGroup objects. +// Get the section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. // returns a SectionGroupCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/onenote-list-sectiongroups?view=graph-rest-1.0 func (m *ItemOnenoteSectionGroupsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteSectionGroupsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemOnenoteSectionGroupsRequestBuilder) Post(ctx context.Context, body } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupable), nil } -// ToGetRequestInformation retrieve a list of sectionGroup objects. +// ToGetRequestInformation the section groups in all OneNote notebooks that are owned by the user or group. 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 6b1962fb880..32dde34b9f5 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 retrieve the properties and relationships of a sectionGroup object. +// ItemOnenoteSectionGroupsSectionGroupItemRequestBuilderGetQueryParameters the section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. type ItemOnenoteSectionGroupsSectionGroupItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemOnenoteSectionGroupsSectionGroupItemRequestBuilder) Delete(ctx cont } return nil } -// Get retrieve the properties and relationships of a sectionGroup object. +// Get the section groups in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. // returns a SectionGroupable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/sectiongroup-get?view=graph-rest-1.0 func (m *ItemOnenoteSectionGroupsSectionGroupItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteSectionGroupsSectionGroupItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SectionGroupable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -144,7 +141,7 @@ func (m *ItemOnenoteSectionGroupsSectionGroupItemRequestBuilder) ToDeleteRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a sectionGroup object. +// ToGetRequestInformation the section groups in all OneNote notebooks that are owned by the user or group. 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_item_copy_to_notebook_request_builder.go b/users/item_onenote_sections_item_copy_to_notebook_request_builder.go index 674c014f0cc..36febea380f 100644 --- a/users/item_onenote_sections_item_copy_to_notebook_request_builder.go +++ b/users/item_onenote_sections_item_copy_to_notebook_request_builder.go @@ -36,7 +36,7 @@ func NewItemOnenoteSectionsItemCopyToNotebookRequestBuilder(rawUrl string, reque // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytonotebook?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytonotebook?view=graph-rest-beta func (m *ItemOnenoteSectionsItemCopyToNotebookRequestBuilder) Post(ctx context.Context, body ItemOnenoteSectionsItemCopyToNotebookPostRequestBodyable, requestConfiguration *ItemOnenoteSectionsItemCopyToNotebookRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_onenote_sections_item_copy_to_section_group_request_builder.go b/users/item_onenote_sections_item_copy_to_section_group_request_builder.go index a482e00c68d..9d0f5aedf65 100644 --- a/users/item_onenote_sections_item_copy_to_section_group_request_builder.go +++ b/users/item_onenote_sections_item_copy_to_section_group_request_builder.go @@ -36,7 +36,7 @@ func NewItemOnenoteSectionsItemCopyToSectionGroupRequestBuilder(rawUrl string, r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytosectiongroup?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/section-copytosectiongroup?view=graph-rest-beta func (m *ItemOnenoteSectionsItemCopyToSectionGroupRequestBuilder) Post(ctx context.Context, body ItemOnenoteSectionsItemCopyToSectionGroupPostRequestBodyable, requestConfiguration *ItemOnenoteSectionsItemCopyToSectionGroupRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_onenote_sections_item_pages_item_copy_to_section_request_builder.go b/users/item_onenote_sections_item_pages_item_copy_to_section_request_builder.go index 697e561029c..a02a650ac2c 100644 --- a/users/item_onenote_sections_item_pages_item_copy_to_section_request_builder.go +++ b/users/item_onenote_sections_item_pages_item_copy_to_section_request_builder.go @@ -36,7 +36,7 @@ func NewItemOnenoteSectionsItemPagesItemCopyToSectionRequestBuilder(rawUrl strin // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/page-copytosection?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/page-copytosection?view=graph-rest-beta func (m *ItemOnenoteSectionsItemPagesItemCopyToSectionRequestBuilder) Post(ctx context.Context, body ItemOnenoteSectionsItemPagesItemCopyToSectionPostRequestBodyable, requestConfiguration *ItemOnenoteSectionsItemPagesItemCopyToSectionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { 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 2f7f2daf226..a41d98b731a 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 retrieve the properties and relationships of a section object. +// ItemOnenoteSectionsOnenoteSectionItemRequestBuilderGetQueryParameters the sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. type ItemOnenoteSectionsOnenoteSectionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -80,12 +80,9 @@ func (m *ItemOnenoteSectionsOnenoteSectionItemRequestBuilder) Delete(ctx context } return nil } -// Get retrieve the properties and relationships of a section object. +// Get the sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. // returns a OnenoteSectionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/section-get?view=graph-rest-1.0 func (m *ItemOnenoteSectionsOnenoteSectionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteSectionsOnenoteSectionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -149,7 +146,7 @@ func (m *ItemOnenoteSectionsOnenoteSectionItemRequestBuilder) ToDeleteRequestInf requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a section object. +// ToGetRequestInformation the sections in all OneNote notebooks that are owned by the user or group. 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 ceb5477cfa0..f3c7eac294e 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 retrieve a list of section objects. +// ItemOnenoteSectionsRequestBuilderGetQueryParameters the sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. type ItemOnenoteSectionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemOnenoteSectionsRequestBuilder(rawUrl string, requestAdapter i2ae4187 func (m *ItemOnenoteSectionsRequestBuilder) Count()(*ItemOnenoteSectionsCountRequestBuilder) { return NewItemOnenoteSectionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of section objects. +// Get the sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. // returns a OnenoteSectionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/onenote-list-sections?view=graph-rest-1.0 func (m *ItemOnenoteSectionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnenoteSectionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemOnenoteSectionsRequestBuilder) Post(ctx context.Context, body ie233 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnenoteSectionable), nil } -// ToGetRequestInformation retrieve a list of section objects. +// ToGetRequestInformation the sections in all OneNote notebooks that are owned by the user or group. 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/users/item_online_meetings_create_or_get_request_builder.go b/users/item_online_meetings_create_or_get_request_builder.go index 8f3896445a6..2f94c482b64 100644 --- a/users/item_online_meetings_create_or_get_request_builder.go +++ b/users/item_online_meetings_create_or_get_request_builder.go @@ -36,7 +36,7 @@ func NewItemOnlineMeetingsCreateOrGetRequestBuilder(rawUrl string, requestAdapte // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/onlinemeeting-createorget?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/onlinemeeting-createorget?view=graph-rest-beta func (m *ItemOnlineMeetingsCreateOrGetRequestBuilder) Post(ctx context.Context, body ItemOnlineMeetingsCreateOrGetPostRequestBodyable, requestConfiguration *ItemOnlineMeetingsCreateOrGetRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnlineMeetingable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_online_meetings_get_all_transcripts_request_builder.go b/users/item_online_meetings_get_all_transcripts_request_builder.go index 5d58981e6f6..f3c557655a8 100644 --- a/users/item_online_meetings_get_all_transcripts_request_builder.go +++ b/users/item_online_meetings_get_all_transcripts_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemOnlineMeetingsGetAllTranscriptsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOnlineMeetingsGetAllTranscriptsRequestBuilderGetQueryParameters invoke function getAllTranscripts +// ItemOnlineMeetingsGetAllTranscriptsRequestBuilderGetQueryParameters get all transcripts from scheduled onlineMeeting instances for which the specified user is the organizer. This API currently doesn't support getting call transcripts from channel meetings. You can apply the delta function on getAllTranscripts to synchronize and get callTranscript resources as they are added for onlineMeeting instances organized by the specified user. Delta query supports both full synchronization that gets all the transcripts for online meetings organized by the user, and incremental synchronization that gets transcripts that have been added since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that transcript view periodically. Find more information in the delta query documentation. For additional examples, see callTranscript: delta. To learn more about using the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. type ItemOnlineMeetingsGetAllTranscriptsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewItemOnlineMeetingsGetAllTranscriptsRequestBuilder(rawUrl string, request urlParams["request-raw-url"] = rawUrl return NewItemOnlineMeetingsGetAllTranscriptsRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getAllTranscripts +// Get get all transcripts from scheduled onlineMeeting instances for which the specified user is the organizer. This API currently doesn't support getting call transcripts from channel meetings. You can apply the delta function on getAllTranscripts to synchronize and get callTranscript resources as they are added for onlineMeeting instances organized by the specified user. Delta query supports both full synchronization that gets all the transcripts for online meetings organized by the user, and incremental synchronization that gets transcripts that have been added since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that transcript view periodically. Find more information in the delta query documentation. For additional examples, see callTranscript: delta. To learn more about using the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. // Deprecated: This method is obsolete. Use GetAsGetAllTranscriptsGetResponse instead. // returns a ItemOnlineMeetingsGetAllTranscriptsResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/onlinemeeting-getalltranscripts?view=graph-rest-beta func (m *ItemOnlineMeetingsGetAllTranscriptsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnlineMeetingsGetAllTranscriptsRequestBuilderGetRequestConfiguration)(ItemOnlineMeetingsGetAllTranscriptsResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ItemOnlineMeetingsGetAllTranscriptsRequestBuilder) Get(ctx context.Cont } return res.(ItemOnlineMeetingsGetAllTranscriptsResponseable), nil } -// GetAsGetAllTranscriptsGetResponse invoke function getAllTranscripts +// GetAsGetAllTranscriptsGetResponse get all transcripts from scheduled onlineMeeting instances for which the specified user is the organizer. This API currently doesn't support getting call transcripts from channel meetings. You can apply the delta function on getAllTranscripts to synchronize and get callTranscript resources as they are added for onlineMeeting instances organized by the specified user. Delta query supports both full synchronization that gets all the transcripts for online meetings organized by the user, and incremental synchronization that gets transcripts that have been added since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that transcript view periodically. Find more information in the delta query documentation. For additional examples, see callTranscript: delta. To learn more about using the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. // returns a ItemOnlineMeetingsGetAllTranscriptsGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/onlinemeeting-getalltranscripts?view=graph-rest-beta func (m *ItemOnlineMeetingsGetAllTranscriptsRequestBuilder) GetAsGetAllTranscriptsGetResponse(ctx context.Context, requestConfiguration *ItemOnlineMeetingsGetAllTranscriptsRequestBuilderGetRequestConfiguration)(ItemOnlineMeetingsGetAllTranscriptsGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ItemOnlineMeetingsGetAllTranscriptsRequestBuilder) GetAsGetAllTranscrip } return res.(ItemOnlineMeetingsGetAllTranscriptsGetResponseable), nil } -// ToGetRequestInformation invoke function getAllTranscripts +// ToGetRequestInformation get all transcripts from scheduled onlineMeeting instances for which the specified user is the organizer. This API currently doesn't support getting call transcripts from channel meetings. You can apply the delta function on getAllTranscripts to synchronize and get callTranscript resources as they are added for onlineMeeting instances organized by the specified user. Delta query supports both full synchronization that gets all the transcripts for online meetings organized by the user, and incremental synchronization that gets transcripts that have been added since the last synchronization. Typically, you would do an initial full synchronization, and then get incremental changes to that transcript view periodically. Find more information in the delta query documentation. For additional examples, see callTranscript: delta. To learn more about using the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs. // returns a *RequestInformation when successful func (m *ItemOnlineMeetingsGetAllTranscriptsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnlineMeetingsGetAllTranscriptsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_online_meetings_item_alternative_recording_request_builder.go b/users/item_online_meetings_item_alternative_recording_request_builder.go index e94089cfe37..648a93ffa2c 100644 --- a/users/item_online_meetings_item_alternative_recording_request_builder.go +++ b/users/item_online_meetings_item_alternative_recording_request_builder.go @@ -40,9 +40,6 @@ func NewItemOnlineMeetingsItemAlternativeRecordingRequestBuilder(rawUrl string, // Get get alternativeRecording for the navigation property onlineMeetings from users // 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/onlinemeeting-get?view=graph-rest-1.0 func (m *ItemOnlineMeetingsItemAlternativeRecordingRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemAlternativeRecordingRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_online_meetings_item_attendance_reports_item_attendance_records_request_builder.go b/users/item_online_meetings_item_attendance_reports_item_attendance_records_request_builder.go index 8f75c96bec8..06624097edd 100644 --- a/users/item_online_meetings_item_attendance_reports_item_attendance_records_request_builder.go +++ b/users/item_online_meetings_item_attendance_reports_item_attendance_records_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOnlineMeetingsItemAttendanceReportsItemAttendanceRecordsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOnlineMeetingsItemAttendanceReportsItemAttendanceRecordsRequestBuilderGetQueryParameters get a list of attendanceRecord objects and their properties. +// ItemOnlineMeetingsItemAttendanceReportsItemAttendanceRecordsRequestBuilderGetQueryParameters list of attendance records of an attendance report. Read-only. type ItemOnlineMeetingsItemAttendanceReportsItemAttendanceRecordsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemOnlineMeetingsItemAttendanceReportsItemAttendanceRecordsRequestBuild func (m *ItemOnlineMeetingsItemAttendanceReportsItemAttendanceRecordsRequestBuilder) Count()(*ItemOnlineMeetingsItemAttendanceReportsItemAttendanceRecordsCountRequestBuilder) { return NewItemOnlineMeetingsItemAttendanceReportsItemAttendanceRecordsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of attendanceRecord objects and their properties. +// Get list of attendance records of an attendance report. Read-only. // returns a AttendanceRecordCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attendancerecord-list?view=graph-rest-1.0 func (m *ItemOnlineMeetingsItemAttendanceReportsItemAttendanceRecordsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemAttendanceReportsItemAttendanceRecordsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttendanceRecordCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemOnlineMeetingsItemAttendanceReportsItemAttendanceRecordsRequestBuil } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttendanceRecordable), nil } -// ToGetRequestInformation get a list of attendanceRecord objects and their properties. +// ToGetRequestInformation list of attendance records of an attendance report. Read-only. // returns a *RequestInformation when successful func (m *ItemOnlineMeetingsItemAttendanceReportsItemAttendanceRecordsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemAttendanceReportsItemAttendanceRecordsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_online_meetings_item_attendee_report_request_builder.go b/users/item_online_meetings_item_attendee_report_request_builder.go index 834861337d3..f17c36a6876 100644 --- a/users/item_online_meetings_item_attendee_report_request_builder.go +++ b/users/item_online_meetings_item_attendee_report_request_builder.go @@ -40,9 +40,6 @@ func NewItemOnlineMeetingsItemAttendeeReportRequestBuilder(rawUrl string, reques // Get get attendeeReport for the navigation property onlineMeetings from users // 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/onlinemeeting-get?view=graph-rest-1.0 func (m *ItemOnlineMeetingsItemAttendeeReportRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemAttendeeReportRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_online_meetings_item_broadcast_recording_request_builder.go b/users/item_online_meetings_item_broadcast_recording_request_builder.go index 30606733b45..ef2e1e8dcec 100644 --- a/users/item_online_meetings_item_broadcast_recording_request_builder.go +++ b/users/item_online_meetings_item_broadcast_recording_request_builder.go @@ -40,9 +40,6 @@ func NewItemOnlineMeetingsItemBroadcastRecordingRequestBuilder(rawUrl string, re // Get get broadcastRecording for the navigation property onlineMeetings from users // 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/onlinemeeting-get?view=graph-rest-1.0 func (m *ItemOnlineMeetingsItemBroadcastRecordingRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemBroadcastRecordingRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_online_meetings_item_get_virtual_appointment_join_web_url_request_builder.go b/users/item_online_meetings_item_get_virtual_appointment_join_web_url_request_builder.go index a84a464739c..e1629080ddd 100644 --- a/users/item_online_meetings_item_get_virtual_appointment_join_web_url_request_builder.go +++ b/users/item_online_meetings_item_get_virtual_appointment_join_web_url_request_builder.go @@ -30,10 +30,13 @@ func NewItemOnlineMeetingsItemGetVirtualAppointmentJoinWebUrlRequestBuilder(rawU urlParams["request-raw-url"] = rawUrl return NewItemOnlineMeetingsItemGetVirtualAppointmentJoinWebUrlRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getVirtualAppointmentJoinWebUrl +// Get get a join web URL for a Teams Virtual Appointment. This web URL includes enhanced business-to-customer experiences such as mobile browser join and virtual lobby rooms. With Teams Premium, you can configure a custom lobby room experience for attendees by adding your company logo and access the Virtual Appointments usage report for organizational analytics. // Deprecated: This method is obsolete. Use GetAsGetVirtualAppointmentJoinWebUrlGetResponse instead. // returns a ItemOnlineMeetingsItemGetVirtualAppointmentJoinWebUrlResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/virtualappointment-getvirtualappointmentjoinweburl?view=graph-rest-beta func (m *ItemOnlineMeetingsItemGetVirtualAppointmentJoinWebUrlRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemGetVirtualAppointmentJoinWebUrlRequestBuilderGetRequestConfiguration)(ItemOnlineMeetingsItemGetVirtualAppointmentJoinWebUrlResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -51,9 +54,12 @@ func (m *ItemOnlineMeetingsItemGetVirtualAppointmentJoinWebUrlRequestBuilder) Ge } return res.(ItemOnlineMeetingsItemGetVirtualAppointmentJoinWebUrlResponseable), nil } -// GetAsGetVirtualAppointmentJoinWebUrlGetResponse invoke function getVirtualAppointmentJoinWebUrl +// GetAsGetVirtualAppointmentJoinWebUrlGetResponse get a join web URL for a Teams Virtual Appointment. This web URL includes enhanced business-to-customer experiences such as mobile browser join and virtual lobby rooms. With Teams Premium, you can configure a custom lobby room experience for attendees by adding your company logo and access the Virtual Appointments usage report for organizational analytics. // returns a ItemOnlineMeetingsItemGetVirtualAppointmentJoinWebUrlGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/virtualappointment-getvirtualappointmentjoinweburl?view=graph-rest-beta func (m *ItemOnlineMeetingsItemGetVirtualAppointmentJoinWebUrlRequestBuilder) GetAsGetVirtualAppointmentJoinWebUrlGetResponse(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemGetVirtualAppointmentJoinWebUrlRequestBuilderGetRequestConfiguration)(ItemOnlineMeetingsItemGetVirtualAppointmentJoinWebUrlGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -71,7 +77,7 @@ func (m *ItemOnlineMeetingsItemGetVirtualAppointmentJoinWebUrlRequestBuilder) Ge } return res.(ItemOnlineMeetingsItemGetVirtualAppointmentJoinWebUrlGetResponseable), nil } -// ToGetRequestInformation invoke function getVirtualAppointmentJoinWebUrl +// ToGetRequestInformation get a join web URL for a Teams Virtual Appointment. This web URL includes enhanced business-to-customer experiences such as mobile browser join and virtual lobby rooms. With Teams Premium, you can configure a custom lobby room experience for attendees by adding your company logo and access the Virtual Appointments usage report for organizational analytics. // returns a *RequestInformation when successful func (m *ItemOnlineMeetingsItemGetVirtualAppointmentJoinWebUrlRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemGetVirtualAppointmentJoinWebUrlRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_online_meetings_item_meeting_attendance_report_attendance_records_request_builder.go b/users/item_online_meetings_item_meeting_attendance_report_attendance_records_request_builder.go index 884e6c56a64..75b7217b63e 100644 --- a/users/item_online_meetings_item_meeting_attendance_report_attendance_records_request_builder.go +++ b/users/item_online_meetings_item_meeting_attendance_report_attendance_records_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsRequestBuilderGetQueryParameters get a list of attendanceRecord objects and their properties. +// ItemOnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsRequestBuilderGetQueryParameters list of attendance records of an attendance report. Read-only. type ItemOnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemOnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsRequestBui func (m *ItemOnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder) Count()(*ItemOnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilder) { return NewItemOnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of attendanceRecord objects and their properties. +// Get list of attendance records of an attendance report. Read-only. // returns a AttendanceRecordCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attendancerecord-list?view=graph-rest-1.0 func (m *ItemOnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttendanceRecordCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemOnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsRequestBu } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttendanceRecordable), nil } -// ToGetRequestInformation get a list of attendanceRecord objects and their properties. +// ToGetRequestInformation list of attendance records of an attendance report. Read-only. // returns a *RequestInformation when successful func (m *ItemOnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_online_meetings_item_meeting_attendance_report_request_builder.go b/users/item_online_meetings_item_meeting_attendance_report_request_builder.go index 9d50eb9a4e5..866118049da 100644 --- a/users/item_online_meetings_item_meeting_attendance_report_request_builder.go +++ b/users/item_online_meetings_item_meeting_attendance_report_request_builder.go @@ -18,7 +18,7 @@ type ItemOnlineMeetingsItemMeetingAttendanceReportRequestBuilderDeleteRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemOnlineMeetingsItemMeetingAttendanceReportRequestBuilderGetQueryParameters get the meetingAttendanceReport for an onlineMeeting or a virtualEvent. Each time an online meeting ends, an attendance report is generated for that session. +// ItemOnlineMeetingsItemMeetingAttendanceReportRequestBuilderGetQueryParameters get meetingAttendanceReport from users type ItemOnlineMeetingsItemMeetingAttendanceReportRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *ItemOnlineMeetingsItemMeetingAttendanceReportRequestBuilder) Delete(ctx } return nil } -// Get get the meetingAttendanceReport for an onlineMeeting or a virtualEvent. Each time an online meeting ends, an attendance report is generated for that session. +// Get get meetingAttendanceReport from users // returns a MeetingAttendanceReportable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/meetingattendancereport-get?view=graph-rest-1.0 func (m *ItemOnlineMeetingsItemMeetingAttendanceReportRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemMeetingAttendanceReportRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingAttendanceReportable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *ItemOnlineMeetingsItemMeetingAttendanceReportRequestBuilder) ToDeleteRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the meetingAttendanceReport for an onlineMeeting or a virtualEvent. Each time an online meeting ends, an attendance report is generated for that session. +// ToGetRequestInformation get meetingAttendanceReport from users // returns a *RequestInformation when successful func (m *ItemOnlineMeetingsItemMeetingAttendanceReportRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemMeetingAttendanceReportRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_online_meetings_item_recording_request_builder.go b/users/item_online_meetings_item_recording_request_builder.go index ce702382c28..c7b287cb0cb 100644 --- a/users/item_online_meetings_item_recording_request_builder.go +++ b/users/item_online_meetings_item_recording_request_builder.go @@ -40,9 +40,6 @@ func NewItemOnlineMeetingsItemRecordingRequestBuilder(rawUrl string, requestAdap // Get get recording for the navigation property onlineMeetings from users // 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/onlinemeeting-get?view=graph-rest-1.0 func (m *ItemOnlineMeetingsItemRecordingRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemRecordingRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_online_meetings_item_recordings_call_recording_item_request_builder.go b/users/item_online_meetings_item_recordings_call_recording_item_request_builder.go index 3fe7b267a60..0dad96caa04 100644 --- a/users/item_online_meetings_item_recordings_call_recording_item_request_builder.go +++ b/users/item_online_meetings_item_recordings_call_recording_item_request_builder.go @@ -18,7 +18,7 @@ type ItemOnlineMeetingsItemRecordingsCallRecordingItemRequestBuilderDeleteReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemOnlineMeetingsItemRecordingsCallRecordingItemRequestBuilderGetQueryParameters get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. +// ItemOnlineMeetingsItemRecordingsCallRecordingItemRequestBuilderGetQueryParameters the recordings of an online meeting. Read-only. type ItemOnlineMeetingsItemRecordingsCallRecordingItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *ItemOnlineMeetingsItemRecordingsCallRecordingItemRequestBuilder) Delete } return nil } -// Get get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. +// Get the recordings of an online meeting. Read-only. // returns a CallRecordingable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/callrecording-get?view=graph-rest-1.0 func (m *ItemOnlineMeetingsItemRecordingsCallRecordingItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemRecordingsCallRecordingItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *ItemOnlineMeetingsItemRecordingsCallRecordingItemRequestBuilder) ToDele requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. +// ToGetRequestInformation the recordings of an online meeting. Read-only. // returns a *RequestInformation when successful func (m *ItemOnlineMeetingsItemRecordingsCallRecordingItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemRecordingsCallRecordingItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_online_meetings_item_recordings_request_builder.go b/users/item_online_meetings_item_recordings_request_builder.go index 0990fbc08dc..d6baa43dd79 100644 --- a/users/item_online_meetings_item_recordings_request_builder.go +++ b/users/item_online_meetings_item_recordings_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOnlineMeetingsItemRecordingsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOnlineMeetingsItemRecordingsRequestBuilderGetQueryParameters get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. +// ItemOnlineMeetingsItemRecordingsRequestBuilderGetQueryParameters the recordings of an online meeting. Read-only. type ItemOnlineMeetingsItemRecordingsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,7 +81,7 @@ func (m *ItemOnlineMeetingsItemRecordingsRequestBuilder) Count()(*ItemOnlineMeet func (m *ItemOnlineMeetingsItemRecordingsRequestBuilder) Delta()(*ItemOnlineMeetingsItemRecordingsDeltaRequestBuilder) { return NewItemOnlineMeetingsItemRecordingsDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. +// Get the recordings of an online meeting. Read-only. // returns a CallRecordingCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemOnlineMeetingsItemRecordingsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemRecordingsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingCollectionResponseable, error) { @@ -121,7 +121,7 @@ func (m *ItemOnlineMeetingsItemRecordingsRequestBuilder) Post(ctx context.Contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable), nil } -// ToGetRequestInformation get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. +// ToGetRequestInformation the recordings of an online meeting. Read-only. // returns a *RequestInformation when successful func (m *ItemOnlineMeetingsItemRecordingsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemRecordingsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_online_meetings_item_registration_custom_questions_meeting_registration_question_item_request_builder.go b/users/item_online_meetings_item_registration_custom_questions_meeting_registration_question_item_request_builder.go index a6568be3460..2b34eb001ef 100644 --- a/users/item_online_meetings_item_registration_custom_questions_meeting_registration_question_item_request_builder.go +++ b/users/item_online_meetings_item_registration_custom_questions_meeting_registration_question_item_request_builder.go @@ -18,7 +18,7 @@ type ItemOnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestio // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemOnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderGetQueryParameters get a custom registration question associated with a meetingRegistration object on behalf of the organizer. +// ItemOnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderGetQueryParameters custom registration questions. type ItemOnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemOnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQues urlParams["request-raw-url"] = rawUrl return NewItemOnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a custom registration question from a meetingRegistration object on behalf of the organizer. +// Delete delete navigation property customQuestions for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/meetingregistrationquestion-delete?view=graph-rest-1.0 func (m *ItemOnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemOnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQue } return nil } -// Get get a custom registration question associated with a meetingRegistration object on behalf of the organizer. +// Get custom registration questions. // returns a MeetingRegistrationQuestionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/meetingregistrationquestion-get?view=graph-rest-1.0 func (m *ItemOnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationQuestionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ItemOnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQue } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationQuestionable), nil } -// Patch update a custom registration question associated with a meetingRegistration object on behalf of the organizer. +// Patch update the navigation property customQuestions in users // returns a MeetingRegistrationQuestionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/meetingregistrationquestion-update?view=graph-rest-1.0 func (m *ItemOnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationQuestionable, requestConfiguration *ItemOnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationQuestionable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *ItemOnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQue } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationQuestionable), nil } -// ToDeleteRequestInformation delete a custom registration question from a meetingRegistration object on behalf of the organizer. +// ToDeleteRequestInformation delete navigation property customQuestions for users // returns a *RequestInformation when successful func (m *ItemOnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *ItemOnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQue requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a custom registration question associated with a meetingRegistration object on behalf of the organizer. +// ToGetRequestInformation custom registration questions. // returns a *RequestInformation when successful func (m *ItemOnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *ItemOnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQue requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update a custom registration question associated with a meetingRegistration object on behalf of the organizer. +// ToPatchRequestInformation update the navigation property customQuestions in users // returns a *RequestInformation when successful func (m *ItemOnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationQuestionable, requestConfiguration *ItemOnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_online_meetings_item_registration_custom_questions_request_builder.go b/users/item_online_meetings_item_registration_custom_questions_request_builder.go index 2ac2c33ad00..b98a4aceae9 100644 --- a/users/item_online_meetings_item_registration_custom_questions_request_builder.go +++ b/users/item_online_meetings_item_registration_custom_questions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOnlineMeetingsItemRegistrationCustomQuestionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOnlineMeetingsItemRegistrationCustomQuestionsRequestBuilderGetQueryParameters get a custom registration question associated with a meetingRegistration object on behalf of the organizer. +// ItemOnlineMeetingsItemRegistrationCustomQuestionsRequestBuilderGetQueryParameters custom registration questions. type ItemOnlineMeetingsItemRegistrationCustomQuestionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemOnlineMeetingsItemRegistrationCustomQuestionsRequestBuilder(rawUrl s func (m *ItemOnlineMeetingsItemRegistrationCustomQuestionsRequestBuilder) Count()(*ItemOnlineMeetingsItemRegistrationCustomQuestionsCountRequestBuilder) { return NewItemOnlineMeetingsItemRegistrationCustomQuestionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a custom registration question associated with a meetingRegistration object on behalf of the organizer. +// Get custom registration questions. // returns a MeetingRegistrationQuestionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/meetingregistration-list-customquestions?view=graph-rest-1.0 func (m *ItemOnlineMeetingsItemRegistrationCustomQuestionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemRegistrationCustomQuestionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationQuestionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemOnlineMeetingsItemRegistrationCustomQuestionsRequestBuilder) Get(ct } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationQuestionCollectionResponseable), nil } -// Post create a custom registration question associated with a meetingRegistration object on behalf of the organizer. +// Post create new navigation property to customQuestions for users // returns a MeetingRegistrationQuestionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/meetingregistration-post-customquestions?view=graph-rest-1.0 func (m *ItemOnlineMeetingsItemRegistrationCustomQuestionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationQuestionable, requestConfiguration *ItemOnlineMeetingsItemRegistrationCustomQuestionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationQuestionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemOnlineMeetingsItemRegistrationCustomQuestionsRequestBuilder) Post(c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationQuestionable), nil } -// ToGetRequestInformation get a custom registration question associated with a meetingRegistration object on behalf of the organizer. +// ToGetRequestInformation custom registration questions. // returns a *RequestInformation when successful func (m *ItemOnlineMeetingsItemRegistrationCustomQuestionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemRegistrationCustomQuestionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemOnlineMeetingsItemRegistrationCustomQuestionsRequestBuilder) ToGetR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a custom registration question associated with a meetingRegistration object on behalf of the organizer. +// ToPostRequestInformation create new navigation property to customQuestions for users // returns a *RequestInformation when successful func (m *ItemOnlineMeetingsItemRegistrationCustomQuestionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationQuestionable, requestConfiguration *ItemOnlineMeetingsItemRegistrationCustomQuestionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_online_meetings_item_registration_request_builder.go b/users/item_online_meetings_item_registration_request_builder.go index 413fe165ab2..c77226196cc 100644 --- a/users/item_online_meetings_item_registration_request_builder.go +++ b/users/item_online_meetings_item_registration_request_builder.go @@ -18,7 +18,7 @@ type ItemOnlineMeetingsItemRegistrationRequestBuilderDeleteRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemOnlineMeetingsItemRegistrationRequestBuilderGetQueryParameters get the meetingRegistration details associated with an onlineMeeting on behalf of the organizer. +// ItemOnlineMeetingsItemRegistrationRequestBuilderGetQueryParameters the registration that is enabled for an online meeting. One online meeting can only have one registration enabled. type ItemOnlineMeetingsItemRegistrationRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewItemOnlineMeetingsItemRegistrationRequestBuilder(rawUrl string, requestA func (m *ItemOnlineMeetingsItemRegistrationRequestBuilder) CustomQuestions()(*ItemOnlineMeetingsItemRegistrationCustomQuestionsRequestBuilder) { return NewItemOnlineMeetingsItemRegistrationCustomQuestionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Delete disable and delete the externalMeetingRegistration of an onlineMeeting. +// Delete delete navigation property registration for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/externalmeetingregistration-delete?view=graph-rest-1.0 func (m *ItemOnlineMeetingsItemRegistrationRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemRegistrationRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *ItemOnlineMeetingsItemRegistrationRequestBuilder) Delete(ctx context.Co } return nil } -// Get get the meetingRegistration details associated with an onlineMeeting on behalf of the organizer. +// Get the registration that is enabled for an online meeting. One online meeting can only have one registration enabled. // returns a MeetingRegistrationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/meetingregistration-get?view=graph-rest-1.0 func (m *ItemOnlineMeetingsItemRegistrationRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemRegistrationRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,12 +95,9 @@ func (m *ItemOnlineMeetingsItemRegistrationRequestBuilder) Get(ctx context.Conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationable), nil } -// Patch update the details of a meetingRegistration object assciated with an onlineMeeting on behalf of the organizer. +// Patch update the navigation property registration in users // returns a MeetingRegistrationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/meetingregistration-update?view=graph-rest-1.0 func (m *ItemOnlineMeetingsItemRegistrationRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationable, requestConfiguration *ItemOnlineMeetingsItemRegistrationRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -129,7 +120,7 @@ func (m *ItemOnlineMeetingsItemRegistrationRequestBuilder) Patch(ctx context.Con func (m *ItemOnlineMeetingsItemRegistrationRequestBuilder) Registrants()(*ItemOnlineMeetingsItemRegistrationRegistrantsRequestBuilder) { return NewItemOnlineMeetingsItemRegistrationRegistrantsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation disable and delete the externalMeetingRegistration of an onlineMeeting. +// ToDeleteRequestInformation delete navigation property registration for users // returns a *RequestInformation when successful func (m *ItemOnlineMeetingsItemRegistrationRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemRegistrationRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -140,7 +131,7 @@ func (m *ItemOnlineMeetingsItemRegistrationRequestBuilder) ToDeleteRequestInform requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the meetingRegistration details associated with an onlineMeeting on behalf of the organizer. +// ToGetRequestInformation the registration that is enabled for an online meeting. One online meeting can only have one registration enabled. // returns a *RequestInformation when successful func (m *ItemOnlineMeetingsItemRegistrationRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemRegistrationRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -154,7 +145,7 @@ func (m *ItemOnlineMeetingsItemRegistrationRequestBuilder) ToGetRequestInformati requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the details of a meetingRegistration object assciated with an onlineMeeting on behalf of the organizer. +// ToPatchRequestInformation update the navigation property registration in users // returns a *RequestInformation when successful func (m *ItemOnlineMeetingsItemRegistrationRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationable, requestConfiguration *ItemOnlineMeetingsItemRegistrationRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_online_meetings_item_send_virtual_appointment_reminder_sms_request_builder.go b/users/item_online_meetings_item_send_virtual_appointment_reminder_sms_request_builder.go index 5d8209d2f33..8508acdc18b 100644 --- a/users/item_online_meetings_item_send_virtual_appointment_reminder_sms_request_builder.go +++ b/users/item_online_meetings_item_send_virtual_appointment_reminder_sms_request_builder.go @@ -34,7 +34,7 @@ func NewItemOnlineMeetingsItemSendVirtualAppointmentReminderSmsRequestBuilder(ra // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/virtualappointment-sendvirtualappointmentremindersms?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/virtualappointment-sendvirtualappointmentremindersms?view=graph-rest-beta func (m *ItemOnlineMeetingsItemSendVirtualAppointmentReminderSmsRequestBuilder) Post(ctx context.Context, body ItemOnlineMeetingsItemSendVirtualAppointmentReminderSmsPostRequestBodyable, requestConfiguration *ItemOnlineMeetingsItemSendVirtualAppointmentReminderSmsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_online_meetings_item_send_virtual_appointment_sms_request_builder.go b/users/item_online_meetings_item_send_virtual_appointment_sms_request_builder.go index 9e30998a7cc..9af685a891b 100644 --- a/users/item_online_meetings_item_send_virtual_appointment_sms_request_builder.go +++ b/users/item_online_meetings_item_send_virtual_appointment_sms_request_builder.go @@ -34,7 +34,7 @@ func NewItemOnlineMeetingsItemSendVirtualAppointmentSmsRequestBuilder(rawUrl str // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/virtualappointment-sendvirtualappointmentsms?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/virtualappointment-sendvirtualappointmentsms?view=graph-rest-beta func (m *ItemOnlineMeetingsItemSendVirtualAppointmentSmsRequestBuilder) Post(ctx context.Context, body ItemOnlineMeetingsItemSendVirtualAppointmentSmsPostRequestBodyable, requestConfiguration *ItemOnlineMeetingsItemSendVirtualAppointmentSmsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_online_meetings_item_transcripts_call_transcript_item_request_builder.go b/users/item_online_meetings_item_transcripts_call_transcript_item_request_builder.go index 930e2738a43..e8f6ff607b0 100644 --- a/users/item_online_meetings_item_transcripts_call_transcript_item_request_builder.go +++ b/users/item_online_meetings_item_transcripts_call_transcript_item_request_builder.go @@ -18,7 +18,7 @@ type ItemOnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilderDeleteRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemOnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilderGetQueryParameters retrieve a callTranscript object associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. +// ItemOnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilderGetQueryParameters the transcripts of an online meeting. Read-only. type ItemOnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *ItemOnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilder) Dele } return nil } -// Get retrieve a callTranscript object associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. +// Get the transcripts of an online meeting. Read-only. // returns a CallTranscriptable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/calltranscript-get?view=graph-rest-1.0 func (m *ItemOnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -134,7 +131,7 @@ func (m *ItemOnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilder) ToDe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve a callTranscript object associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. +// ToGetRequestInformation the transcripts of an online meeting. Read-only. // returns a *RequestInformation when successful func (m *ItemOnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_online_meetings_item_transcripts_item_content_request_builder.go b/users/item_online_meetings_item_transcripts_item_content_request_builder.go index 80c56cf21b9..7d7f46b9594 100644 --- a/users/item_online_meetings_item_transcripts_item_content_request_builder.go +++ b/users/item_online_meetings_item_transcripts_item_content_request_builder.go @@ -41,9 +41,6 @@ func NewItemOnlineMeetingsItemTranscriptsItemContentRequestBuilder(rawUrl string // Get the content of the transcript. Read-only. // 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/onlinemeeting-list-transcripts?view=graph-rest-1.0 func (m *ItemOnlineMeetingsItemTranscriptsItemContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemTranscriptsItemContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_online_meetings_item_transcripts_item_metadata_content_request_builder.go b/users/item_online_meetings_item_transcripts_item_metadata_content_request_builder.go index e23c15d5fbe..7c6d6762064 100644 --- a/users/item_online_meetings_item_transcripts_item_metadata_content_request_builder.go +++ b/users/item_online_meetings_item_transcripts_item_metadata_content_request_builder.go @@ -40,9 +40,6 @@ func NewItemOnlineMeetingsItemTranscriptsItemMetadataContentRequestBuilder(rawUr // Get the time-aligned metadata of the utterances in the transcript. Read-only. // 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/onlinemeeting-list-transcripts?view=graph-rest-1.0 func (m *ItemOnlineMeetingsItemTranscriptsItemMetadataContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemTranscriptsItemMetadataContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_online_meetings_item_transcripts_request_builder.go b/users/item_online_meetings_item_transcripts_request_builder.go index 70913305a8e..219f8e39b29 100644 --- a/users/item_online_meetings_item_transcripts_request_builder.go +++ b/users/item_online_meetings_item_transcripts_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOnlineMeetingsItemTranscriptsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOnlineMeetingsItemTranscriptsRequestBuilderGetQueryParameters retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. +// ItemOnlineMeetingsItemTranscriptsRequestBuilderGetQueryParameters the transcripts of an online meeting. Read-only. type ItemOnlineMeetingsItemTranscriptsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *ItemOnlineMeetingsItemTranscriptsRequestBuilder) Count()(*ItemOnlineMee func (m *ItemOnlineMeetingsItemTranscriptsRequestBuilder) Delta()(*ItemOnlineMeetingsItemTranscriptsDeltaRequestBuilder) { return NewItemOnlineMeetingsItemTranscriptsDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. +// Get the transcripts of an online meeting. Read-only. // returns a CallTranscriptCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/onlinemeeting-list-transcripts?view=graph-rest-1.0 func (m *ItemOnlineMeetingsItemTranscriptsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemTranscriptsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemOnlineMeetingsItemTranscriptsRequestBuilder) Post(ctx context.Conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable), nil } -// ToGetRequestInformation retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. +// ToGetRequestInformation the transcripts of an online meeting. Read-only. // returns a *RequestInformation when successful func (m *ItemOnlineMeetingsItemTranscriptsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemTranscriptsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_online_meetings_online_meeting_item_request_builder.go b/users/item_online_meetings_online_meeting_item_request_builder.go index 3146681eee0..e0a134699d8 100644 --- a/users/item_online_meetings_online_meeting_item_request_builder.go +++ b/users/item_online_meetings_online_meeting_item_request_builder.go @@ -74,11 +74,8 @@ func NewItemOnlineMeetingsOnlineMeetingItemRequestBuilder(rawUrl string, request urlParams["request-raw-url"] = rawUrl return NewItemOnlineMeetingsOnlineMeetingItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an onlineMeeting object. +// Delete delete navigation property onlineMeetings for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/onlinemeeting-delete?view=graph-rest-1.0 func (m *ItemOnlineMeetingsOnlineMeetingItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemOnlineMeetingsOnlineMeetingItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -123,12 +120,9 @@ func (m *ItemOnlineMeetingsOnlineMeetingItemRequestBuilder) GetVirtualAppointmen func (m *ItemOnlineMeetingsOnlineMeetingItemRequestBuilder) MeetingAttendanceReport()(*ItemOnlineMeetingsItemMeetingAttendanceReportRequestBuilder) { return NewItemOnlineMeetingsItemMeetingAttendanceReportRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of the specified onlineMeeting object. Please see Request body section for the list of properties that support updating. +// Patch update the navigation property onlineMeetings in users // returns a OnlineMeetingable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/onlinemeeting-update?view=graph-rest-1.0 func (m *ItemOnlineMeetingsOnlineMeetingItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnlineMeetingable, requestConfiguration *ItemOnlineMeetingsOnlineMeetingItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnlineMeetingable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -171,7 +165,7 @@ func (m *ItemOnlineMeetingsOnlineMeetingItemRequestBuilder) SendVirtualAppointme func (m *ItemOnlineMeetingsOnlineMeetingItemRequestBuilder) SendVirtualAppointmentSms()(*ItemOnlineMeetingsItemSendVirtualAppointmentSmsRequestBuilder) { return NewItemOnlineMeetingsItemSendVirtualAppointmentSmsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete an onlineMeeting object. +// ToDeleteRequestInformation delete navigation property onlineMeetings for users // returns a *RequestInformation when successful func (m *ItemOnlineMeetingsOnlineMeetingItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemOnlineMeetingsOnlineMeetingItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -196,7 +190,7 @@ func (m *ItemOnlineMeetingsOnlineMeetingItemRequestBuilder) ToGetRequestInformat requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of the specified onlineMeeting object. Please see Request body section for the list of properties that support updating. +// ToPatchRequestInformation update the navigation property onlineMeetings in users // returns a *RequestInformation when successful func (m *ItemOnlineMeetingsOnlineMeetingItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnlineMeetingable, requestConfiguration *ItemOnlineMeetingsOnlineMeetingItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_online_meetings_request_builder.go b/users/item_online_meetings_request_builder.go index 3479d3c808f..fd7bd281860 100644 --- a/users/item_online_meetings_request_builder.go +++ b/users/item_online_meetings_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOnlineMeetingsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOnlineMeetingsRequestBuilderGetQueryParameters retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) and Teams live event recordings (deprecated) are online meeting artifacts. For details, see Online meeting artifacts and permissions. +// ItemOnlineMeetingsRequestBuilderGetQueryParameters information about a meeting, including the URL used to join a meeting, the attendees list, and the description. type ItemOnlineMeetingsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *ItemOnlineMeetingsRequestBuilder) Count()(*ItemOnlineMeetingsCountReque func (m *ItemOnlineMeetingsRequestBuilder) CreateOrGet()(*ItemOnlineMeetingsCreateOrGetRequestBuilder) { return NewItemOnlineMeetingsCreateOrGetRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) and Teams live event recordings (deprecated) are online meeting artifacts. For details, see Online meeting artifacts and permissions. +// Get information about a meeting, including the URL used to join a meeting, the attendees list, and the description. // returns a OnlineMeetingCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/onlinemeeting-get?view=graph-rest-1.0 func (m *ItemOnlineMeetingsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnlineMeetingsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnlineMeetingCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -114,12 +111,9 @@ func (m *ItemOnlineMeetingsRequestBuilder) GetAllRecordings()(*ItemOnlineMeeting func (m *ItemOnlineMeetingsRequestBuilder) GetAllTranscripts()(*ItemOnlineMeetingsGetAllTranscriptsRequestBuilder) { return NewItemOnlineMeetingsGetAllTranscriptsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Post create an online meeting on behalf of a user. +// Post create new navigation property to onlineMeetings for users // returns a OnlineMeetingable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/application-post-onlinemeetings?view=graph-rest-1.0 func (m *ItemOnlineMeetingsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnlineMeetingable, requestConfiguration *ItemOnlineMeetingsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnlineMeetingable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -137,7 +131,7 @@ func (m *ItemOnlineMeetingsRequestBuilder) Post(ctx context.Context, body ie233e } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnlineMeetingable), nil } -// ToGetRequestInformation retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) and Teams live event recordings (deprecated) are online meeting artifacts. For details, see Online meeting artifacts and permissions. +// ToGetRequestInformation information about a meeting, including the URL used to join a meeting, the attendees list, and the description. // returns a *RequestInformation when successful func (m *ItemOnlineMeetingsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnlineMeetingsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -151,7 +145,7 @@ func (m *ItemOnlineMeetingsRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an online meeting on behalf of a user. +// ToPostRequestInformation create new navigation property to onlineMeetings for users // returns a *RequestInformation when successful func (m *ItemOnlineMeetingsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnlineMeetingable, requestConfiguration *ItemOnlineMeetingsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_online_meetings_with_join_web_url_get_virtual_appointment_join_web_url_request_builder.go b/users/item_online_meetings_with_join_web_url_get_virtual_appointment_join_web_url_request_builder.go index 38a1e045c4f..8d1c45fca36 100644 --- a/users/item_online_meetings_with_join_web_url_get_virtual_appointment_join_web_url_request_builder.go +++ b/users/item_online_meetings_with_join_web_url_get_virtual_appointment_join_web_url_request_builder.go @@ -30,10 +30,13 @@ func NewItemOnlineMeetingsWithJoinWebUrlGetVirtualAppointmentJoinWebUrlRequestBu urlParams["request-raw-url"] = rawUrl return NewItemOnlineMeetingsWithJoinWebUrlGetVirtualAppointmentJoinWebUrlRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function getVirtualAppointmentJoinWebUrl +// Get get a join web URL for a Teams Virtual Appointment. This web URL includes enhanced business-to-customer experiences such as mobile browser join and virtual lobby rooms. With Teams Premium, you can configure a custom lobby room experience for attendees by adding your company logo and access the Virtual Appointments usage report for organizational analytics. // Deprecated: This method is obsolete. Use GetAsGetVirtualAppointmentJoinWebUrlGetResponse instead. // returns a ItemOnlineMeetingsWithJoinWebUrlGetVirtualAppointmentJoinWebUrlResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/virtualappointment-getvirtualappointmentjoinweburl?view=graph-rest-beta func (m *ItemOnlineMeetingsWithJoinWebUrlGetVirtualAppointmentJoinWebUrlRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnlineMeetingsWithJoinWebUrlGetVirtualAppointmentJoinWebUrlRequestBuilderGetRequestConfiguration)(ItemOnlineMeetingsWithJoinWebUrlGetVirtualAppointmentJoinWebUrlResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -51,9 +54,12 @@ func (m *ItemOnlineMeetingsWithJoinWebUrlGetVirtualAppointmentJoinWebUrlRequestB } return res.(ItemOnlineMeetingsWithJoinWebUrlGetVirtualAppointmentJoinWebUrlResponseable), nil } -// GetAsGetVirtualAppointmentJoinWebUrlGetResponse invoke function getVirtualAppointmentJoinWebUrl +// GetAsGetVirtualAppointmentJoinWebUrlGetResponse get a join web URL for a Teams Virtual Appointment. This web URL includes enhanced business-to-customer experiences such as mobile browser join and virtual lobby rooms. With Teams Premium, you can configure a custom lobby room experience for attendees by adding your company logo and access the Virtual Appointments usage report for organizational analytics. // returns a ItemOnlineMeetingsWithJoinWebUrlGetVirtualAppointmentJoinWebUrlGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/virtualappointment-getvirtualappointmentjoinweburl?view=graph-rest-beta func (m *ItemOnlineMeetingsWithJoinWebUrlGetVirtualAppointmentJoinWebUrlRequestBuilder) GetAsGetVirtualAppointmentJoinWebUrlGetResponse(ctx context.Context, requestConfiguration *ItemOnlineMeetingsWithJoinWebUrlGetVirtualAppointmentJoinWebUrlRequestBuilderGetRequestConfiguration)(ItemOnlineMeetingsWithJoinWebUrlGetVirtualAppointmentJoinWebUrlGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -71,7 +77,7 @@ func (m *ItemOnlineMeetingsWithJoinWebUrlGetVirtualAppointmentJoinWebUrlRequestB } return res.(ItemOnlineMeetingsWithJoinWebUrlGetVirtualAppointmentJoinWebUrlGetResponseable), nil } -// ToGetRequestInformation invoke function getVirtualAppointmentJoinWebUrl +// ToGetRequestInformation get a join web URL for a Teams Virtual Appointment. This web URL includes enhanced business-to-customer experiences such as mobile browser join and virtual lobby rooms. With Teams Premium, you can configure a custom lobby room experience for attendees by adding your company logo and access the Virtual Appointments usage report for organizational analytics. // returns a *RequestInformation when successful func (m *ItemOnlineMeetingsWithJoinWebUrlGetVirtualAppointmentJoinWebUrlRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnlineMeetingsWithJoinWebUrlGetVirtualAppointmentJoinWebUrlRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_online_meetings_with_join_web_url_request_builder.go b/users/item_online_meetings_with_join_web_url_request_builder.go index 7e2a542fb55..fa1e8e4dffd 100644 --- a/users/item_online_meetings_with_join_web_url_request_builder.go +++ b/users/item_online_meetings_with_join_web_url_request_builder.go @@ -57,11 +57,8 @@ func NewItemOnlineMeetingsWithJoinWebUrlRequestBuilder(rawUrl string, requestAda urlParams["request-raw-url"] = rawUrl return NewItemOnlineMeetingsWithJoinWebUrlRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Delete delete an onlineMeeting object. +// Delete delete navigation property onlineMeetings for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/onlinemeeting-delete?view=graph-rest-1.0 func (m *ItemOnlineMeetingsWithJoinWebUrlRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemOnlineMeetingsWithJoinWebUrlRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,12 +98,9 @@ func (m *ItemOnlineMeetingsWithJoinWebUrlRequestBuilder) Get(ctx context.Context func (m *ItemOnlineMeetingsWithJoinWebUrlRequestBuilder) GetVirtualAppointmentJoinWebUrl()(*ItemOnlineMeetingsWithJoinWebUrlGetVirtualAppointmentJoinWebUrlRequestBuilder) { return NewItemOnlineMeetingsWithJoinWebUrlGetVirtualAppointmentJoinWebUrlRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of the specified onlineMeeting object. Please see Request body section for the list of properties that support updating. +// Patch update the navigation property onlineMeetings in users // returns a OnlineMeetingable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/onlinemeeting-update?view=graph-rest-1.0 func (m *ItemOnlineMeetingsWithJoinWebUrlRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnlineMeetingable, requestConfiguration *ItemOnlineMeetingsWithJoinWebUrlRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnlineMeetingable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -134,7 +128,7 @@ func (m *ItemOnlineMeetingsWithJoinWebUrlRequestBuilder) SendVirtualAppointmentR func (m *ItemOnlineMeetingsWithJoinWebUrlRequestBuilder) SendVirtualAppointmentSms()(*ItemOnlineMeetingsWithJoinWebUrlSendVirtualAppointmentSmsRequestBuilder) { return NewItemOnlineMeetingsWithJoinWebUrlSendVirtualAppointmentSmsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete an onlineMeeting object. +// ToDeleteRequestInformation delete navigation property onlineMeetings for users // returns a *RequestInformation when successful func (m *ItemOnlineMeetingsWithJoinWebUrlRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemOnlineMeetingsWithJoinWebUrlRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -159,7 +153,7 @@ func (m *ItemOnlineMeetingsWithJoinWebUrlRequestBuilder) ToGetRequestInformation requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of the specified onlineMeeting object. Please see Request body section for the list of properties that support updating. +// ToPatchRequestInformation update the navigation property onlineMeetings in users // returns a *RequestInformation when successful func (m *ItemOnlineMeetingsWithJoinWebUrlRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OnlineMeetingable, requestConfiguration *ItemOnlineMeetingsWithJoinWebUrlRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_online_meetings_with_join_web_url_send_virtual_appointment_reminder_sms_request_builder.go b/users/item_online_meetings_with_join_web_url_send_virtual_appointment_reminder_sms_request_builder.go index 6e8b0b5aa60..295344b0220 100644 --- a/users/item_online_meetings_with_join_web_url_send_virtual_appointment_reminder_sms_request_builder.go +++ b/users/item_online_meetings_with_join_web_url_send_virtual_appointment_reminder_sms_request_builder.go @@ -34,7 +34,7 @@ func NewItemOnlineMeetingsWithJoinWebUrlSendVirtualAppointmentReminderSmsRequest // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/virtualappointment-sendvirtualappointmentremindersms?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/virtualappointment-sendvirtualappointmentremindersms?view=graph-rest-beta func (m *ItemOnlineMeetingsWithJoinWebUrlSendVirtualAppointmentReminderSmsRequestBuilder) Post(ctx context.Context, body ItemOnlineMeetingsWithJoinWebUrlSendVirtualAppointmentReminderSmsPostRequestBodyable, requestConfiguration *ItemOnlineMeetingsWithJoinWebUrlSendVirtualAppointmentReminderSmsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_online_meetings_with_join_web_url_send_virtual_appointment_sms_request_builder.go b/users/item_online_meetings_with_join_web_url_send_virtual_appointment_sms_request_builder.go index eba9bbfc8f9..7f807eb0b55 100644 --- a/users/item_online_meetings_with_join_web_url_send_virtual_appointment_sms_request_builder.go +++ b/users/item_online_meetings_with_join_web_url_send_virtual_appointment_sms_request_builder.go @@ -34,7 +34,7 @@ func NewItemOnlineMeetingsWithJoinWebUrlSendVirtualAppointmentSmsRequestBuilder( // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/virtualappointment-sendvirtualappointmentsms?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/virtualappointment-sendvirtualappointmentsms?view=graph-rest-beta func (m *ItemOnlineMeetingsWithJoinWebUrlSendVirtualAppointmentSmsRequestBuilder) Post(ctx context.Context, body ItemOnlineMeetingsWithJoinWebUrlSendVirtualAppointmentSmsPostRequestBodyable, requestConfiguration *ItemOnlineMeetingsWithJoinWebUrlSendVirtualAppointmentSmsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_outlook_master_categories_outlook_category_item_request_builder.go b/users/item_outlook_master_categories_outlook_category_item_request_builder.go index 6b146719dd8..6f81c275af3 100644 --- a/users/item_outlook_master_categories_outlook_category_item_request_builder.go +++ b/users/item_outlook_master_categories_outlook_category_item_request_builder.go @@ -18,7 +18,7 @@ type ItemOutlookMasterCategoriesOutlookCategoryItemRequestBuilderDeleteRequestCo // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemOutlookMasterCategoriesOutlookCategoryItemRequestBuilderGetQueryParameters get the properties and relationships of the specified outlookCategory object. +// ItemOutlookMasterCategoriesOutlookCategoryItemRequestBuilderGetQueryParameters a list of categories defined for the user. type ItemOutlookMasterCategoriesOutlookCategoryItemRequestBuilderGetQueryParameters struct { // Select properties to be returned Select []string `uriparametername:"%24select"` @@ -52,11 +52,8 @@ func NewItemOutlookMasterCategoriesOutlookCategoryItemRequestBuilder(rawUrl stri urlParams["request-raw-url"] = rawUrl return NewItemOutlookMasterCategoriesOutlookCategoryItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete the specified outlookCategory object. +// Delete delete navigation property masterCategories for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/outlookcategory-delete?view=graph-rest-1.0 func (m *ItemOutlookMasterCategoriesOutlookCategoryItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemOutlookMasterCategoriesOutlookCategoryItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -71,12 +68,9 @@ func (m *ItemOutlookMasterCategoriesOutlookCategoryItemRequestBuilder) Delete(ct } return nil } -// Get get the properties and relationships of the specified outlookCategory object. +// Get a list of categories defined for the user. // returns a OutlookCategoryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/outlookcategory-get?view=graph-rest-1.0 func (m *ItemOutlookMasterCategoriesOutlookCategoryItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOutlookMasterCategoriesOutlookCategoryItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutlookCategoryable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -94,12 +88,9 @@ func (m *ItemOutlookMasterCategoriesOutlookCategoryItemRequestBuilder) Get(ctx c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutlookCategoryable), nil } -// Patch update the writable property, color, of the specified outlookCategory object. You can't modify the displayName property once you have created the category. +// Patch update the navigation property masterCategories in users // returns a OutlookCategoryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/outlookcategory-update?view=graph-rest-1.0 func (m *ItemOutlookMasterCategoriesOutlookCategoryItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutlookCategoryable, requestConfiguration *ItemOutlookMasterCategoriesOutlookCategoryItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutlookCategoryable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +108,7 @@ func (m *ItemOutlookMasterCategoriesOutlookCategoryItemRequestBuilder) Patch(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutlookCategoryable), nil } -// ToDeleteRequestInformation delete the specified outlookCategory object. +// ToDeleteRequestInformation delete navigation property masterCategories for users // returns a *RequestInformation when successful func (m *ItemOutlookMasterCategoriesOutlookCategoryItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemOutlookMasterCategoriesOutlookCategoryItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -128,7 +119,7 @@ func (m *ItemOutlookMasterCategoriesOutlookCategoryItemRequestBuilder) ToDeleteR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties and relationships of the specified outlookCategory object. +// ToGetRequestInformation a list of categories defined for the user. // returns a *RequestInformation when successful func (m *ItemOutlookMasterCategoriesOutlookCategoryItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOutlookMasterCategoriesOutlookCategoryItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -142,7 +133,7 @@ func (m *ItemOutlookMasterCategoriesOutlookCategoryItemRequestBuilder) ToGetRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the writable property, color, of the specified outlookCategory object. You can't modify the displayName property once you have created the category. +// ToPatchRequestInformation update the navigation property masterCategories in users // returns a *RequestInformation when successful func (m *ItemOutlookMasterCategoriesOutlookCategoryItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutlookCategoryable, requestConfiguration *ItemOutlookMasterCategoriesOutlookCategoryItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_outlook_master_categories_request_builder.go b/users/item_outlook_master_categories_request_builder.go index e731e852c3a..18e30fa6b51 100644 --- a/users/item_outlook_master_categories_request_builder.go +++ b/users/item_outlook_master_categories_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOutlookMasterCategoriesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOutlookMasterCategoriesRequestBuilderGetQueryParameters get all the categories that have been defined for a user. +// ItemOutlookMasterCategoriesRequestBuilderGetQueryParameters a list of categories defined for the user. type ItemOutlookMasterCategoriesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -72,12 +72,9 @@ func NewItemOutlookMasterCategoriesRequestBuilder(rawUrl string, requestAdapter func (m *ItemOutlookMasterCategoriesRequestBuilder) Count()(*ItemOutlookMasterCategoriesCountRequestBuilder) { return NewItemOutlookMasterCategoriesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get all the categories that have been defined for a user. +// Get a list of categories defined for the user. // returns a OutlookCategoryCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/outlookuser-list-mastercategories?view=graph-rest-1.0 func (m *ItemOutlookMasterCategoriesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOutlookMasterCategoriesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutlookCategoryCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,12 +92,9 @@ func (m *ItemOutlookMasterCategoriesRequestBuilder) Get(ctx context.Context, req } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutlookCategoryCollectionResponseable), nil } -// Post create an outlookCategory object in the user's master list of categories. +// Post create new navigation property to masterCategories for users // returns a OutlookCategoryable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/outlookuser-post-mastercategories?view=graph-rest-1.0 func (m *ItemOutlookMasterCategoriesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutlookCategoryable, requestConfiguration *ItemOutlookMasterCategoriesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutlookCategoryable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -118,7 +112,7 @@ func (m *ItemOutlookMasterCategoriesRequestBuilder) Post(ctx context.Context, bo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutlookCategoryable), nil } -// ToGetRequestInformation get all the categories that have been defined for a user. +// ToGetRequestInformation a list of categories defined for the user. // returns a *RequestInformation when successful func (m *ItemOutlookMasterCategoriesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOutlookMasterCategoriesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -132,7 +126,7 @@ func (m *ItemOutlookMasterCategoriesRequestBuilder) ToGetRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an outlookCategory object in the user's master list of categories. +// ToPostRequestInformation create new navigation property to masterCategories for users // returns a *RequestInformation when successful func (m *ItemOutlookMasterCategoriesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutlookCategoryable, requestConfiguration *ItemOutlookMasterCategoriesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_outlook_supported_languages_request_builder.go b/users/item_outlook_supported_languages_request_builder.go index 33b6906d90d..76263dc234b 100644 --- a/users/item_outlook_supported_languages_request_builder.go +++ b/users/item_outlook_supported_languages_request_builder.go @@ -51,7 +51,7 @@ func NewItemOutlookSupportedLanguagesRequestBuilder(rawUrl string, requestAdapte // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/outlookuser-supportedlanguages?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/outlookuser-supportedlanguages?view=graph-rest-beta func (m *ItemOutlookSupportedLanguagesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOutlookSupportedLanguagesRequestBuilderGetRequestConfiguration)(ItemOutlookSupportedLanguagesResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -74,7 +74,7 @@ func (m *ItemOutlookSupportedLanguagesRequestBuilder) Get(ctx context.Context, r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/outlookuser-supportedlanguages?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/outlookuser-supportedlanguages?view=graph-rest-beta func (m *ItemOutlookSupportedLanguagesRequestBuilder) GetAsSupportedLanguagesGetResponse(ctx context.Context, requestConfiguration *ItemOutlookSupportedLanguagesRequestBuilderGetRequestConfiguration)(ItemOutlookSupportedLanguagesGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_outlook_task_folders_item_tasks_item_attachments_create_upload_session_request_builder.go b/users/item_outlook_task_folders_item_tasks_item_attachments_create_upload_session_request_builder.go index 384fe8e54a8..eaa714b80cd 100644 --- a/users/item_outlook_task_folders_item_tasks_item_attachments_create_upload_session_request_builder.go +++ b/users/item_outlook_task_folders_item_tasks_item_attachments_create_upload_session_request_builder.go @@ -37,7 +37,7 @@ func NewItemOutlookTaskFoldersItemTasksItemAttachmentsCreateUploadSessionRequest // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemOutlookTaskFoldersItemTasksItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemOutlookTaskFoldersItemTasksItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemOutlookTaskFoldersItemTasksItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_outlook_task_folders_item_tasks_item_attachments_request_builder.go b/users/item_outlook_task_folders_item_tasks_item_attachments_request_builder.go index e48e6d44bee..8b3b0067acc 100644 --- a/users/item_outlook_task_folders_item_tasks_item_attachments_request_builder.go +++ b/users/item_outlook_task_folders_item_tasks_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOutlookTaskFoldersItemTasksItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOutlookTaskFoldersItemTasksItemAttachmentsRequestBuilderGetQueryParameters get a list of attachment objects attached to an Outlook task. +// ItemOutlookTaskFoldersItemTasksItemAttachmentsRequestBuilderGetQueryParameters the collection of fileAttachment, itemAttachment, and referenceAttachment attachments for the task. Read-only. Nullable. type ItemOutlookTaskFoldersItemTasksItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -80,13 +80,10 @@ func (m *ItemOutlookTaskFoldersItemTasksItemAttachmentsRequestBuilder) Count()(* func (m *ItemOutlookTaskFoldersItemTasksItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemOutlookTaskFoldersItemTasksItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemOutlookTaskFoldersItemTasksItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of attachment objects attached to an Outlook task. +// Get the collection of fileAttachment, itemAttachment, and referenceAttachment attachments for the task. Read-only. Nullable. // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/outlooktask-list-attachments?view=graph-rest-1.0 func (m *ItemOutlookTaskFoldersItemTasksItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOutlookTaskFoldersItemTasksItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,13 +101,10 @@ func (m *ItemOutlookTaskFoldersItemTasksItemAttachmentsRequestBuilder) Get(ctx c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to add an attachment to an outlookTask. The attachment can be a file (of fileAttachment type) or Outlook item (itemAttachment type). +// Post create new navigation property to attachments for users // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/outlooktask-post-attachments?view=graph-rest-1.0 func (m *ItemOutlookTaskFoldersItemTasksItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemOutlookTaskFoldersItemTasksItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -128,7 +122,7 @@ func (m *ItemOutlookTaskFoldersItemTasksItemAttachmentsRequestBuilder) Post(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation get a list of attachment objects attached to an Outlook task. +// ToGetRequestInformation the collection of fileAttachment, itemAttachment, and referenceAttachment attachments for the task. Read-only. Nullable. // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks // returns a *RequestInformation when successful func (m *ItemOutlookTaskFoldersItemTasksItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOutlookTaskFoldersItemTasksItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -143,7 +137,7 @@ func (m *ItemOutlookTaskFoldersItemTasksItemAttachmentsRequestBuilder) ToGetRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to add an attachment to an outlookTask. The attachment can be a file (of fileAttachment type) or Outlook item (itemAttachment type). +// ToPostRequestInformation create new navigation property to attachments for users // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks // returns a *RequestInformation when successful func (m *ItemOutlookTaskFoldersItemTasksItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemOutlookTaskFoldersItemTasksItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/users/item_outlook_task_folders_item_tasks_item_complete_request_builder.go b/users/item_outlook_task_folders_item_tasks_item_complete_request_builder.go index 8356f0e03f7..c44c441c2f3 100644 --- a/users/item_outlook_task_folders_item_tasks_item_complete_request_builder.go +++ b/users/item_outlook_task_folders_item_tasks_item_complete_request_builder.go @@ -36,7 +36,7 @@ func NewItemOutlookTaskFoldersItemTasksItemCompleteRequestBuilder(rawUrl string, // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/outlooktask-complete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/outlooktask-complete?view=graph-rest-beta func (m *ItemOutlookTaskFoldersItemTasksItemCompleteRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemOutlookTaskFoldersItemTasksItemCompleteRequestBuilderPostRequestConfiguration)(ItemOutlookTaskFoldersItemTasksItemCompleteResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { @@ -60,7 +60,7 @@ func (m *ItemOutlookTaskFoldersItemTasksItemCompleteRequestBuilder) Post(ctx con // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/outlooktask-complete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/outlooktask-complete?view=graph-rest-beta func (m *ItemOutlookTaskFoldersItemTasksItemCompleteRequestBuilder) PostAsCompletePostResponse(ctx context.Context, requestConfiguration *ItemOutlookTaskFoldersItemTasksItemCompleteRequestBuilderPostRequestConfiguration)(ItemOutlookTaskFoldersItemTasksItemCompletePostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_outlook_task_folders_item_tasks_request_builder.go b/users/item_outlook_task_folders_item_tasks_request_builder.go index ef3e9a05561..888e127ba6e 100644 --- a/users/item_outlook_task_folders_item_tasks_request_builder.go +++ b/users/item_outlook_task_folders_item_tasks_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOutlookTaskFoldersItemTasksRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOutlookTaskFoldersItemTasksRequestBuilderGetQueryParameters get all the Outlook tasks in the specified folder. By default, this operation (and the POST, PATCH, and complete task operations) returnsdate-related properties in UTC. You can use a Prefer: outlook.timezone request header to have all the date-related properties in the response represented in a time zonedifferent than UTC. See an example for getting a single task. You can apply the header similarly to get multiple tasks. If there is more than one task group, and you want to get all the tasks in a specific task group, firstget all the task folders in that task group,and then get the tasks in each of these task folders. +// ItemOutlookTaskFoldersItemTasksRequestBuilderGetQueryParameters the tasks in this task folder. Read-only. Nullable. type ItemOutlookTaskFoldersItemTasksRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -73,13 +73,10 @@ func NewItemOutlookTaskFoldersItemTasksRequestBuilder(rawUrl string, requestAdap func (m *ItemOutlookTaskFoldersItemTasksRequestBuilder) Count()(*ItemOutlookTaskFoldersItemTasksCountRequestBuilder) { return NewItemOutlookTaskFoldersItemTasksCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get all the Outlook tasks in the specified folder. By default, this operation (and the POST, PATCH, and complete task operations) returnsdate-related properties in UTC. You can use a Prefer: outlook.timezone request header to have all the date-related properties in the response represented in a time zonedifferent than UTC. See an example for getting a single task. You can apply the header similarly to get multiple tasks. If there is more than one task group, and you want to get all the tasks in a specific task group, firstget all the task folders in that task group,and then get the tasks in each of these task folders. +// Get the tasks in this task folder. Read-only. Nullable. // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks // returns a OutlookTaskCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/outlooktaskfolder-list-tasks?view=graph-rest-1.0 func (m *ItemOutlookTaskFoldersItemTasksRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOutlookTaskFoldersItemTasksRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutlookTaskCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -97,13 +94,10 @@ func (m *ItemOutlookTaskFoldersItemTasksRequestBuilder) Get(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutlookTaskCollectionResponseable), nil } -// Post create an Outlook task in the specified task folder. The POST method always ignores the time portion of startDateTime and dueDateTime in the request body, and assumes the time to be always midnight in the specified time zone. +// Post create new navigation property to tasks for users // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks // returns a OutlookTaskable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/outlooktaskfolder-post-tasks?view=graph-rest-1.0 func (m *ItemOutlookTaskFoldersItemTasksRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutlookTaskable, requestConfiguration *ItemOutlookTaskFoldersItemTasksRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutlookTaskable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -121,7 +115,7 @@ func (m *ItemOutlookTaskFoldersItemTasksRequestBuilder) Post(ctx context.Context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutlookTaskable), nil } -// ToGetRequestInformation get all the Outlook tasks in the specified folder. By default, this operation (and the POST, PATCH, and complete task operations) returnsdate-related properties in UTC. You can use a Prefer: outlook.timezone request header to have all the date-related properties in the response represented in a time zonedifferent than UTC. See an example for getting a single task. You can apply the header similarly to get multiple tasks. If there is more than one task group, and you want to get all the tasks in a specific task group, firstget all the task folders in that task group,and then get the tasks in each of these task folders. +// ToGetRequestInformation the tasks in this task folder. Read-only. Nullable. // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks // returns a *RequestInformation when successful func (m *ItemOutlookTaskFoldersItemTasksRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOutlookTaskFoldersItemTasksRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -136,7 +130,7 @@ func (m *ItemOutlookTaskFoldersItemTasksRequestBuilder) ToGetRequestInformation( requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an Outlook task in the specified task folder. The POST method always ignores the time portion of startDateTime and dueDateTime in the request body, and assumes the time to be always midnight in the specified time zone. +// ToPostRequestInformation create new navigation property to tasks for users // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks // returns a *RequestInformation when successful func (m *ItemOutlookTaskFoldersItemTasksRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutlookTaskable, requestConfiguration *ItemOutlookTaskFoldersItemTasksRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/users/item_outlook_task_folders_outlook_task_folder_item_request_builder.go b/users/item_outlook_task_folders_outlook_task_folder_item_request_builder.go index 4da98ea13ff..6eb39a06947 100644 --- a/users/item_outlook_task_folders_outlook_task_folder_item_request_builder.go +++ b/users/item_outlook_task_folders_outlook_task_folder_item_request_builder.go @@ -18,7 +18,7 @@ type ItemOutlookTaskFoldersOutlookTaskFolderItemRequestBuilderDeleteRequestConfi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemOutlookTaskFoldersOutlookTaskFolderItemRequestBuilderGetQueryParameters get the properties and relationships of the specified Outlook task folder. +// ItemOutlookTaskFoldersOutlookTaskFolderItemRequestBuilderGetQueryParameters get taskFolders from users type ItemOutlookTaskFoldersOutlookTaskFolderItemRequestBuilderGetQueryParameters struct { // Select properties to be returned Select []string `uriparametername:"%24select"` @@ -52,12 +52,9 @@ func NewItemOutlookTaskFoldersOutlookTaskFolderItemRequestBuilder(rawUrl string, urlParams["request-raw-url"] = rawUrl return NewItemOutlookTaskFoldersOutlookTaskFolderItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete the specified Outlook task folder. +// Delete delete navigation property taskFolders for users // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/outlooktaskfolder-delete?view=graph-rest-1.0 func (m *ItemOutlookTaskFoldersOutlookTaskFolderItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemOutlookTaskFoldersOutlookTaskFolderItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,13 +69,10 @@ func (m *ItemOutlookTaskFoldersOutlookTaskFolderItemRequestBuilder) Delete(ctx c } return nil } -// Get get the properties and relationships of the specified Outlook task folder. +// Get get taskFolders from users // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks // returns a OutlookTaskFolderable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/outlooktaskfolder-get?view=graph-rest-1.0 func (m *ItemOutlookTaskFoldersOutlookTaskFolderItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOutlookTaskFoldersOutlookTaskFolderItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutlookTaskFolderable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,13 +90,10 @@ func (m *ItemOutlookTaskFoldersOutlookTaskFolderItemRequestBuilder) Get(ctx cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutlookTaskFolderable), nil } -// Patch update the writable properties of an Outlook task folder. You cannot change the name property value of the default task folder, 'Tasks'. +// Patch update the navigation property taskFolders in users // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks // returns a OutlookTaskFolderable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/outlooktaskfolder-update?view=graph-rest-1.0 func (m *ItemOutlookTaskFoldersOutlookTaskFolderItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutlookTaskFolderable, requestConfiguration *ItemOutlookTaskFoldersOutlookTaskFolderItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutlookTaskFolderable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +116,7 @@ func (m *ItemOutlookTaskFoldersOutlookTaskFolderItemRequestBuilder) Patch(ctx co func (m *ItemOutlookTaskFoldersOutlookTaskFolderItemRequestBuilder) Tasks()(*ItemOutlookTaskFoldersItemTasksRequestBuilder) { return NewItemOutlookTaskFoldersItemTasksRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete the specified Outlook task folder. +// ToDeleteRequestInformation delete navigation property taskFolders for users // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks // returns a *RequestInformation when successful func (m *ItemOutlookTaskFoldersOutlookTaskFolderItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemOutlookTaskFoldersOutlookTaskFolderItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -137,7 +128,7 @@ func (m *ItemOutlookTaskFoldersOutlookTaskFolderItemRequestBuilder) ToDeleteRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties and relationships of the specified Outlook task folder. +// ToGetRequestInformation get taskFolders from users // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks // returns a *RequestInformation when successful func (m *ItemOutlookTaskFoldersOutlookTaskFolderItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOutlookTaskFoldersOutlookTaskFolderItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -152,7 +143,7 @@ func (m *ItemOutlookTaskFoldersOutlookTaskFolderItemRequestBuilder) ToGetRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the writable properties of an Outlook task folder. You cannot change the name property value of the default task folder, 'Tasks'. +// ToPatchRequestInformation update the navigation property taskFolders in users // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks // returns a *RequestInformation when successful func (m *ItemOutlookTaskFoldersOutlookTaskFolderItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutlookTaskFolderable, requestConfiguration *ItemOutlookTaskFoldersOutlookTaskFolderItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/users/item_outlook_task_folders_request_builder.go b/users/item_outlook_task_folders_request_builder.go index 4b38c5c7467..8443c913b99 100644 --- a/users/item_outlook_task_folders_request_builder.go +++ b/users/item_outlook_task_folders_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOutlookTaskFoldersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOutlookTaskFoldersRequestBuilderGetQueryParameters get all the Outlook task folders in the user's mailbox. +// ItemOutlookTaskFoldersRequestBuilderGetQueryParameters get taskFolders from users type ItemOutlookTaskFoldersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -73,13 +73,10 @@ func NewItemOutlookTaskFoldersRequestBuilder(rawUrl string, requestAdapter i2ae4 func (m *ItemOutlookTaskFoldersRequestBuilder) Count()(*ItemOutlookTaskFoldersCountRequestBuilder) { return NewItemOutlookTaskFoldersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get all the Outlook task folders in the user's mailbox. +// Get get taskFolders from users // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks // returns a OutlookTaskFolderCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/outlookuser-list-taskfolders?view=graph-rest-1.0 func (m *ItemOutlookTaskFoldersRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOutlookTaskFoldersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutlookTaskFolderCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -97,13 +94,10 @@ func (m *ItemOutlookTaskFoldersRequestBuilder) Get(ctx context.Context, requestC } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutlookTaskFolderCollectionResponseable), nil } -// Post create a task folder in the default task group (My Tasks) of the user's mailbox. +// Post create new navigation property to taskFolders for users // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks // returns a OutlookTaskFolderable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/outlookuser-post-taskfolders?view=graph-rest-1.0 func (m *ItemOutlookTaskFoldersRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutlookTaskFolderable, requestConfiguration *ItemOutlookTaskFoldersRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutlookTaskFolderable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -121,7 +115,7 @@ func (m *ItemOutlookTaskFoldersRequestBuilder) Post(ctx context.Context, body ie } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutlookTaskFolderable), nil } -// ToGetRequestInformation get all the Outlook task folders in the user's mailbox. +// ToGetRequestInformation get taskFolders from users // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks // returns a *RequestInformation when successful func (m *ItemOutlookTaskFoldersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOutlookTaskFoldersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -136,7 +130,7 @@ func (m *ItemOutlookTaskFoldersRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a task folder in the default task group (My Tasks) of the user's mailbox. +// ToPostRequestInformation create new navigation property to taskFolders for users // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks // returns a *RequestInformation when successful func (m *ItemOutlookTaskFoldersRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutlookTaskFolderable, requestConfiguration *ItemOutlookTaskFoldersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/users/item_outlook_task_groups_item_task_folders_item_tasks_item_attachments_create_upload_session_request_builder.go b/users/item_outlook_task_groups_item_task_folders_item_tasks_item_attachments_create_upload_session_request_builder.go index b306a30ec89..75e972d0ebf 100644 --- a/users/item_outlook_task_groups_item_task_folders_item_tasks_item_attachments_create_upload_session_request_builder.go +++ b/users/item_outlook_task_groups_item_task_folders_item_tasks_item_attachments_create_upload_session_request_builder.go @@ -37,7 +37,7 @@ func NewItemOutlookTaskGroupsItemTaskFoldersItemTasksItemAttachmentsCreateUpload // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemOutlookTaskGroupsItemTaskFoldersItemTasksItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemOutlookTaskGroupsItemTaskFoldersItemTasksItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemOutlookTaskGroupsItemTaskFoldersItemTasksItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_outlook_task_groups_item_task_folders_item_tasks_item_attachments_request_builder.go b/users/item_outlook_task_groups_item_task_folders_item_tasks_item_attachments_request_builder.go index 43baa6a1599..c74e77fc3d0 100644 --- a/users/item_outlook_task_groups_item_task_folders_item_tasks_item_attachments_request_builder.go +++ b/users/item_outlook_task_groups_item_task_folders_item_tasks_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOutlookTaskGroupsItemTaskFoldersItemTasksItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOutlookTaskGroupsItemTaskFoldersItemTasksItemAttachmentsRequestBuilderGetQueryParameters get a list of attachment objects attached to an Outlook task. +// ItemOutlookTaskGroupsItemTaskFoldersItemTasksItemAttachmentsRequestBuilderGetQueryParameters the collection of fileAttachment, itemAttachment, and referenceAttachment attachments for the task. Read-only. Nullable. type ItemOutlookTaskGroupsItemTaskFoldersItemTasksItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -80,13 +80,10 @@ func (m *ItemOutlookTaskGroupsItemTaskFoldersItemTasksItemAttachmentsRequestBuil func (m *ItemOutlookTaskGroupsItemTaskFoldersItemTasksItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemOutlookTaskGroupsItemTaskFoldersItemTasksItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemOutlookTaskGroupsItemTaskFoldersItemTasksItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of attachment objects attached to an Outlook task. +// Get the collection of fileAttachment, itemAttachment, and referenceAttachment attachments for the task. Read-only. Nullable. // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/outlooktask-list-attachments?view=graph-rest-1.0 func (m *ItemOutlookTaskGroupsItemTaskFoldersItemTasksItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOutlookTaskGroupsItemTaskFoldersItemTasksItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,13 +101,10 @@ func (m *ItemOutlookTaskGroupsItemTaskFoldersItemTasksItemAttachmentsRequestBuil } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to add an attachment to an outlookTask. The attachment can be a file (of fileAttachment type) or Outlook item (itemAttachment type). +// Post create new navigation property to attachments for users // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/outlooktask-post-attachments?view=graph-rest-1.0 func (m *ItemOutlookTaskGroupsItemTaskFoldersItemTasksItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemOutlookTaskGroupsItemTaskFoldersItemTasksItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -128,7 +122,7 @@ func (m *ItemOutlookTaskGroupsItemTaskFoldersItemTasksItemAttachmentsRequestBuil } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation get a list of attachment objects attached to an Outlook task. +// ToGetRequestInformation the collection of fileAttachment, itemAttachment, and referenceAttachment attachments for the task. Read-only. Nullable. // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks // returns a *RequestInformation when successful func (m *ItemOutlookTaskGroupsItemTaskFoldersItemTasksItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOutlookTaskGroupsItemTaskFoldersItemTasksItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -143,7 +137,7 @@ func (m *ItemOutlookTaskGroupsItemTaskFoldersItemTasksItemAttachmentsRequestBuil requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to add an attachment to an outlookTask. The attachment can be a file (of fileAttachment type) or Outlook item (itemAttachment type). +// ToPostRequestInformation create new navigation property to attachments for users // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks // returns a *RequestInformation when successful func (m *ItemOutlookTaskGroupsItemTaskFoldersItemTasksItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemOutlookTaskGroupsItemTaskFoldersItemTasksItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/users/item_outlook_task_groups_item_task_folders_item_tasks_item_complete_request_builder.go b/users/item_outlook_task_groups_item_task_folders_item_tasks_item_complete_request_builder.go index f26e285c58c..66b5e7f3720 100644 --- a/users/item_outlook_task_groups_item_task_folders_item_tasks_item_complete_request_builder.go +++ b/users/item_outlook_task_groups_item_task_folders_item_tasks_item_complete_request_builder.go @@ -36,7 +36,7 @@ func NewItemOutlookTaskGroupsItemTaskFoldersItemTasksItemCompleteRequestBuilder( // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/outlooktask-complete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/outlooktask-complete?view=graph-rest-beta func (m *ItemOutlookTaskGroupsItemTaskFoldersItemTasksItemCompleteRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemOutlookTaskGroupsItemTaskFoldersItemTasksItemCompleteRequestBuilderPostRequestConfiguration)(ItemOutlookTaskGroupsItemTaskFoldersItemTasksItemCompleteResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { @@ -60,7 +60,7 @@ func (m *ItemOutlookTaskGroupsItemTaskFoldersItemTasksItemCompleteRequestBuilder // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/outlooktask-complete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/outlooktask-complete?view=graph-rest-beta func (m *ItemOutlookTaskGroupsItemTaskFoldersItemTasksItemCompleteRequestBuilder) PostAsCompletePostResponse(ctx context.Context, requestConfiguration *ItemOutlookTaskGroupsItemTaskFoldersItemTasksItemCompleteRequestBuilderPostRequestConfiguration)(ItemOutlookTaskGroupsItemTaskFoldersItemTasksItemCompletePostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_outlook_task_groups_item_task_folders_item_tasks_request_builder.go b/users/item_outlook_task_groups_item_task_folders_item_tasks_request_builder.go index 14e9ef6c368..37e956620b1 100644 --- a/users/item_outlook_task_groups_item_task_folders_item_tasks_request_builder.go +++ b/users/item_outlook_task_groups_item_task_folders_item_tasks_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOutlookTaskGroupsItemTaskFoldersItemTasksRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOutlookTaskGroupsItemTaskFoldersItemTasksRequestBuilderGetQueryParameters get all the Outlook tasks in the specified folder. By default, this operation (and the POST, PATCH, and complete task operations) returnsdate-related properties in UTC. You can use a Prefer: outlook.timezone request header to have all the date-related properties in the response represented in a time zonedifferent than UTC. See an example for getting a single task. You can apply the header similarly to get multiple tasks. If there is more than one task group, and you want to get all the tasks in a specific task group, firstget all the task folders in that task group,and then get the tasks in each of these task folders. +// ItemOutlookTaskGroupsItemTaskFoldersItemTasksRequestBuilderGetQueryParameters the tasks in this task folder. Read-only. Nullable. type ItemOutlookTaskGroupsItemTaskFoldersItemTasksRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -73,13 +73,10 @@ func NewItemOutlookTaskGroupsItemTaskFoldersItemTasksRequestBuilder(rawUrl strin func (m *ItemOutlookTaskGroupsItemTaskFoldersItemTasksRequestBuilder) Count()(*ItemOutlookTaskGroupsItemTaskFoldersItemTasksCountRequestBuilder) { return NewItemOutlookTaskGroupsItemTaskFoldersItemTasksCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get all the Outlook tasks in the specified folder. By default, this operation (and the POST, PATCH, and complete task operations) returnsdate-related properties in UTC. You can use a Prefer: outlook.timezone request header to have all the date-related properties in the response represented in a time zonedifferent than UTC. See an example for getting a single task. You can apply the header similarly to get multiple tasks. If there is more than one task group, and you want to get all the tasks in a specific task group, firstget all the task folders in that task group,and then get the tasks in each of these task folders. +// Get the tasks in this task folder. Read-only. Nullable. // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks // returns a OutlookTaskCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/outlooktaskfolder-list-tasks?view=graph-rest-1.0 func (m *ItemOutlookTaskGroupsItemTaskFoldersItemTasksRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOutlookTaskGroupsItemTaskFoldersItemTasksRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutlookTaskCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -97,13 +94,10 @@ func (m *ItemOutlookTaskGroupsItemTaskFoldersItemTasksRequestBuilder) Get(ctx co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutlookTaskCollectionResponseable), nil } -// Post create an Outlook task in the specified task folder. The POST method always ignores the time portion of startDateTime and dueDateTime in the request body, and assumes the time to be always midnight in the specified time zone. +// Post create new navigation property to tasks for users // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks // returns a OutlookTaskable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/outlooktaskfolder-post-tasks?view=graph-rest-1.0 func (m *ItemOutlookTaskGroupsItemTaskFoldersItemTasksRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutlookTaskable, requestConfiguration *ItemOutlookTaskGroupsItemTaskFoldersItemTasksRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutlookTaskable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -121,7 +115,7 @@ func (m *ItemOutlookTaskGroupsItemTaskFoldersItemTasksRequestBuilder) Post(ctx c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutlookTaskable), nil } -// ToGetRequestInformation get all the Outlook tasks in the specified folder. By default, this operation (and the POST, PATCH, and complete task operations) returnsdate-related properties in UTC. You can use a Prefer: outlook.timezone request header to have all the date-related properties in the response represented in a time zonedifferent than UTC. See an example for getting a single task. You can apply the header similarly to get multiple tasks. If there is more than one task group, and you want to get all the tasks in a specific task group, firstget all the task folders in that task group,and then get the tasks in each of these task folders. +// ToGetRequestInformation the tasks in this task folder. Read-only. Nullable. // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks // returns a *RequestInformation when successful func (m *ItemOutlookTaskGroupsItemTaskFoldersItemTasksRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOutlookTaskGroupsItemTaskFoldersItemTasksRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -136,7 +130,7 @@ func (m *ItemOutlookTaskGroupsItemTaskFoldersItemTasksRequestBuilder) ToGetReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an Outlook task in the specified task folder. The POST method always ignores the time portion of startDateTime and dueDateTime in the request body, and assumes the time to be always midnight in the specified time zone. +// ToPostRequestInformation create new navigation property to tasks for users // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks // returns a *RequestInformation when successful func (m *ItemOutlookTaskGroupsItemTaskFoldersItemTasksRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutlookTaskable, requestConfiguration *ItemOutlookTaskGroupsItemTaskFoldersItemTasksRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/users/item_outlook_task_groups_item_task_folders_request_builder.go b/users/item_outlook_task_groups_item_task_folders_request_builder.go index 8c31fd8471e..e8ab6595e72 100644 --- a/users/item_outlook_task_groups_item_task_folders_request_builder.go +++ b/users/item_outlook_task_groups_item_task_folders_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOutlookTaskGroupsItemTaskFoldersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOutlookTaskGroupsItemTaskFoldersRequestBuilderGetQueryParameters get Outlook task folders in a specific outlookTaskGroup. +// ItemOutlookTaskGroupsItemTaskFoldersRequestBuilderGetQueryParameters the collection of task folders in the task group. Read-only. Nullable. type ItemOutlookTaskGroupsItemTaskFoldersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -73,13 +73,10 @@ func NewItemOutlookTaskGroupsItemTaskFoldersRequestBuilder(rawUrl string, reques func (m *ItemOutlookTaskGroupsItemTaskFoldersRequestBuilder) Count()(*ItemOutlookTaskGroupsItemTaskFoldersCountRequestBuilder) { return NewItemOutlookTaskGroupsItemTaskFoldersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get Outlook task folders in a specific outlookTaskGroup. +// Get the collection of task folders in the task group. Read-only. Nullable. // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks // returns a OutlookTaskFolderCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/outlooktaskgroup-list-taskfolders?view=graph-rest-1.0 func (m *ItemOutlookTaskGroupsItemTaskFoldersRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOutlookTaskGroupsItemTaskFoldersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutlookTaskFolderCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -97,13 +94,10 @@ func (m *ItemOutlookTaskGroupsItemTaskFoldersRequestBuilder) Get(ctx context.Con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutlookTaskFolderCollectionResponseable), nil } -// Post create an Outlook task folder under a specified outlookTaskGroup. +// Post create new navigation property to taskFolders for users // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks // returns a OutlookTaskFolderable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/outlooktaskgroup-post-taskfolders?view=graph-rest-1.0 func (m *ItemOutlookTaskGroupsItemTaskFoldersRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutlookTaskFolderable, requestConfiguration *ItemOutlookTaskGroupsItemTaskFoldersRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutlookTaskFolderable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -121,7 +115,7 @@ func (m *ItemOutlookTaskGroupsItemTaskFoldersRequestBuilder) Post(ctx context.Co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutlookTaskFolderable), nil } -// ToGetRequestInformation get Outlook task folders in a specific outlookTaskGroup. +// ToGetRequestInformation the collection of task folders in the task group. Read-only. Nullable. // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks // returns a *RequestInformation when successful func (m *ItemOutlookTaskGroupsItemTaskFoldersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOutlookTaskGroupsItemTaskFoldersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -136,7 +130,7 @@ func (m *ItemOutlookTaskGroupsItemTaskFoldersRequestBuilder) ToGetRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an Outlook task folder under a specified outlookTaskGroup. +// ToPostRequestInformation create new navigation property to taskFolders for users // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks // returns a *RequestInformation when successful func (m *ItemOutlookTaskGroupsItemTaskFoldersRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutlookTaskFolderable, requestConfiguration *ItemOutlookTaskGroupsItemTaskFoldersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/users/item_outlook_task_groups_outlook_task_group_item_request_builder.go b/users/item_outlook_task_groups_outlook_task_group_item_request_builder.go index 548da165c60..cb01bec259e 100644 --- a/users/item_outlook_task_groups_outlook_task_group_item_request_builder.go +++ b/users/item_outlook_task_groups_outlook_task_group_item_request_builder.go @@ -18,7 +18,7 @@ type ItemOutlookTaskGroupsOutlookTaskGroupItemRequestBuilderDeleteRequestConfigu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemOutlookTaskGroupsOutlookTaskGroupItemRequestBuilderGetQueryParameters get the properties and relationships of the specified Outlook task group. +// ItemOutlookTaskGroupsOutlookTaskGroupItemRequestBuilderGetQueryParameters get taskGroups from users type ItemOutlookTaskGroupsOutlookTaskGroupItemRequestBuilderGetQueryParameters struct { // Select properties to be returned Select []string `uriparametername:"%24select"` @@ -69,13 +69,10 @@ func (m *ItemOutlookTaskGroupsOutlookTaskGroupItemRequestBuilder) Delete(ctx con } return nil } -// Get get the properties and relationships of the specified Outlook task group. +// Get get taskGroups from users // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks // returns a OutlookTaskGroupable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/outlooktaskgroup-get?view=graph-rest-1.0 func (m *ItemOutlookTaskGroupsOutlookTaskGroupItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOutlookTaskGroupsOutlookTaskGroupItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutlookTaskGroupable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -131,7 +128,7 @@ func (m *ItemOutlookTaskGroupsOutlookTaskGroupItemRequestBuilder) ToDeleteReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties and relationships of the specified Outlook task group. +// ToGetRequestInformation get taskGroups from users // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks // returns a *RequestInformation when successful func (m *ItemOutlookTaskGroupsOutlookTaskGroupItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOutlookTaskGroupsOutlookTaskGroupItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/users/item_outlook_task_groups_request_builder.go b/users/item_outlook_task_groups_request_builder.go index d6824829f11..20d65a7c6a3 100644 --- a/users/item_outlook_task_groups_request_builder.go +++ b/users/item_outlook_task_groups_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOutlookTaskGroupsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOutlookTaskGroupsRequestBuilderGetQueryParameters get all the Outlook task groups in the user's mailbox. The response always includes the default task group My Tasks, and any other task groups that have been created in the mailbox. +// ItemOutlookTaskGroupsRequestBuilderGetQueryParameters get taskGroups from users type ItemOutlookTaskGroupsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -73,13 +73,10 @@ func NewItemOutlookTaskGroupsRequestBuilder(rawUrl string, requestAdapter i2ae41 func (m *ItemOutlookTaskGroupsRequestBuilder) Count()(*ItemOutlookTaskGroupsCountRequestBuilder) { return NewItemOutlookTaskGroupsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get all the Outlook task groups in the user's mailbox. The response always includes the default task group My Tasks, and any other task groups that have been created in the mailbox. +// Get get taskGroups from users // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks // returns a OutlookTaskGroupCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/outlookuser-list-taskgroups?view=graph-rest-1.0 func (m *ItemOutlookTaskGroupsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOutlookTaskGroupsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutlookTaskGroupCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -97,13 +94,10 @@ func (m *ItemOutlookTaskGroupsRequestBuilder) Get(ctx context.Context, requestCo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutlookTaskGroupCollectionResponseable), nil } -// Post create an Outlook task group in the user's mailbox. +// Post create new navigation property to taskGroups for users // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks // returns a OutlookTaskGroupable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/outlookuser-post-taskgroups?view=graph-rest-1.0 func (m *ItemOutlookTaskGroupsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutlookTaskGroupable, requestConfiguration *ItemOutlookTaskGroupsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutlookTaskGroupable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -121,7 +115,7 @@ func (m *ItemOutlookTaskGroupsRequestBuilder) Post(ctx context.Context, body ie2 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutlookTaskGroupable), nil } -// ToGetRequestInformation get all the Outlook task groups in the user's mailbox. The response always includes the default task group My Tasks, and any other task groups that have been created in the mailbox. +// ToGetRequestInformation get taskGroups from users // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks // returns a *RequestInformation when successful func (m *ItemOutlookTaskGroupsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOutlookTaskGroupsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -136,7 +130,7 @@ func (m *ItemOutlookTaskGroupsRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an Outlook task group in the user's mailbox. +// ToPostRequestInformation create new navigation property to taskGroups for users // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks // returns a *RequestInformation when successful func (m *ItemOutlookTaskGroupsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutlookTaskGroupable, requestConfiguration *ItemOutlookTaskGroupsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/users/item_outlook_tasks_item_attachments_create_upload_session_request_builder.go b/users/item_outlook_tasks_item_attachments_create_upload_session_request_builder.go index de45ca6ec2a..ff0bc51b665 100644 --- a/users/item_outlook_tasks_item_attachments_create_upload_session_request_builder.go +++ b/users/item_outlook_tasks_item_attachments_create_upload_session_request_builder.go @@ -37,7 +37,7 @@ func NewItemOutlookTasksItemAttachmentsCreateUploadSessionRequestBuilder(rawUrl // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/attachment-createuploadsession?view=graph-rest-beta func (m *ItemOutlookTasksItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemOutlookTasksItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemOutlookTasksItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_outlook_tasks_item_attachments_request_builder.go b/users/item_outlook_tasks_item_attachments_request_builder.go index c721b02bb35..a45bc908721 100644 --- a/users/item_outlook_tasks_item_attachments_request_builder.go +++ b/users/item_outlook_tasks_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOutlookTasksItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOutlookTasksItemAttachmentsRequestBuilderGetQueryParameters get a list of attachment objects attached to an Outlook task. +// ItemOutlookTasksItemAttachmentsRequestBuilderGetQueryParameters the collection of fileAttachment, itemAttachment, and referenceAttachment attachments for the task. Read-only. Nullable. type ItemOutlookTasksItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -80,13 +80,10 @@ func (m *ItemOutlookTasksItemAttachmentsRequestBuilder) Count()(*ItemOutlookTask func (m *ItemOutlookTasksItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemOutlookTasksItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemOutlookTasksItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of attachment objects attached to an Outlook task. +// Get the collection of fileAttachment, itemAttachment, and referenceAttachment attachments for the task. Read-only. Nullable. // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks // returns a AttachmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/outlooktask-list-attachments?view=graph-rest-1.0 func (m *ItemOutlookTasksItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOutlookTasksItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,13 +101,10 @@ func (m *ItemOutlookTasksItemAttachmentsRequestBuilder) Get(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable), nil } -// Post use this API to add an attachment to an outlookTask. The attachment can be a file (of fileAttachment type) or Outlook item (itemAttachment type). +// Post create new navigation property to attachments for users // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks // returns a Attachmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/outlooktask-post-attachments?view=graph-rest-1.0 func (m *ItemOutlookTasksItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemOutlookTasksItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -128,7 +122,7 @@ func (m *ItemOutlookTasksItemAttachmentsRequestBuilder) Post(ctx context.Context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation get a list of attachment objects attached to an Outlook task. +// ToGetRequestInformation the collection of fileAttachment, itemAttachment, and referenceAttachment attachments for the task. Read-only. Nullable. // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks // returns a *RequestInformation when successful func (m *ItemOutlookTasksItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOutlookTasksItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -143,7 +137,7 @@ func (m *ItemOutlookTasksItemAttachmentsRequestBuilder) ToGetRequestInformation( requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to add an attachment to an outlookTask. The attachment can be a file (of fileAttachment type) or Outlook item (itemAttachment type). +// ToPostRequestInformation create new navigation property to attachments for users // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks // returns a *RequestInformation when successful func (m *ItemOutlookTasksItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable, requestConfiguration *ItemOutlookTasksItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/users/item_outlook_tasks_item_complete_request_builder.go b/users/item_outlook_tasks_item_complete_request_builder.go index fe5aa156d31..dcc8a4c9f50 100644 --- a/users/item_outlook_tasks_item_complete_request_builder.go +++ b/users/item_outlook_tasks_item_complete_request_builder.go @@ -36,7 +36,7 @@ func NewItemOutlookTasksItemCompleteRequestBuilder(rawUrl string, requestAdapter // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/outlooktask-complete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/outlooktask-complete?view=graph-rest-beta func (m *ItemOutlookTasksItemCompleteRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemOutlookTasksItemCompleteRequestBuilderPostRequestConfiguration)(ItemOutlookTasksItemCompleteResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { @@ -60,7 +60,7 @@ func (m *ItemOutlookTasksItemCompleteRequestBuilder) Post(ctx context.Context, r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/outlooktask-complete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/outlooktask-complete?view=graph-rest-beta func (m *ItemOutlookTasksItemCompleteRequestBuilder) PostAsCompletePostResponse(ctx context.Context, requestConfiguration *ItemOutlookTasksItemCompleteRequestBuilderPostRequestConfiguration)(ItemOutlookTasksItemCompletePostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_outlook_tasks_outlook_task_item_request_builder.go b/users/item_outlook_tasks_outlook_task_item_request_builder.go index e6b9fe5fe72..5bcb14f1a24 100644 --- a/users/item_outlook_tasks_outlook_task_item_request_builder.go +++ b/users/item_outlook_tasks_outlook_task_item_request_builder.go @@ -18,7 +18,7 @@ type ItemOutlookTasksOutlookTaskItemRequestBuilderDeleteRequestConfiguration str // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemOutlookTasksOutlookTaskItemRequestBuilderGetQueryParameters get the properties and relationships of an Outlook task in the user's mailbox. By default, this operation (and the POST, PATCH, and complete task operations) returns date-related properties in UTC. You can use the Prefer: outlook.timezone header to have all the date-related properties in the response represented in a time zone different than UTC. +// ItemOutlookTasksOutlookTaskItemRequestBuilderGetQueryParameters get tasks from users type ItemOutlookTasksOutlookTaskItemRequestBuilderGetQueryParameters struct { // Select properties to be returned Select []string `uriparametername:"%24select"` @@ -62,12 +62,9 @@ func NewItemOutlookTasksOutlookTaskItemRequestBuilder(rawUrl string, requestAdap urlParams["request-raw-url"] = rawUrl return NewItemOutlookTasksOutlookTaskItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete the specified Outlook task in the user's mailbox. +// Delete delete navigation property tasks for users // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/outlooktask-delete?view=graph-rest-1.0 func (m *ItemOutlookTasksOutlookTaskItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemOutlookTasksOutlookTaskItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -82,13 +79,10 @@ func (m *ItemOutlookTasksOutlookTaskItemRequestBuilder) Delete(ctx context.Conte } return nil } -// Get get the properties and relationships of an Outlook task in the user's mailbox. By default, this operation (and the POST, PATCH, and complete task operations) returns date-related properties in UTC. You can use the Prefer: outlook.timezone header to have all the date-related properties in the response represented in a time zone different than UTC. +// Get get tasks from users // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks // returns a OutlookTaskable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/outlooktask-get?view=graph-rest-1.0 func (m *ItemOutlookTasksOutlookTaskItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOutlookTasksOutlookTaskItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutlookTaskable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -106,13 +100,10 @@ func (m *ItemOutlookTasksOutlookTaskItemRequestBuilder) Get(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutlookTaskable), nil } -// Patch change writable properties of an Outlook task. The completedDateTime property can be set by the complete action, or explicitly by a PATCH operation. If you use PATCH to set completedDateTime, make sure you set status to completed as well. By default, this operation (and the POST, GET, and complete task operations) returns date-related properties in UTC. You can use the Prefer: outlook.timezone header to have all the date-related properties in the response represented in a time zone different than UTC. +// Patch update the navigation property tasks in users // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks // returns a OutlookTaskable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/outlooktask-update?view=graph-rest-1.0 func (m *ItemOutlookTasksOutlookTaskItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutlookTaskable, requestConfiguration *ItemOutlookTasksOutlookTaskItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutlookTaskable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -130,7 +121,7 @@ func (m *ItemOutlookTasksOutlookTaskItemRequestBuilder) Patch(ctx context.Contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutlookTaskable), nil } -// ToDeleteRequestInformation delete the specified Outlook task in the user's mailbox. +// ToDeleteRequestInformation delete navigation property tasks for users // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks // returns a *RequestInformation when successful func (m *ItemOutlookTasksOutlookTaskItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemOutlookTasksOutlookTaskItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -142,7 +133,7 @@ func (m *ItemOutlookTasksOutlookTaskItemRequestBuilder) ToDeleteRequestInformati requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties and relationships of an Outlook task in the user's mailbox. By default, this operation (and the POST, PATCH, and complete task operations) returns date-related properties in UTC. You can use the Prefer: outlook.timezone header to have all the date-related properties in the response represented in a time zone different than UTC. +// ToGetRequestInformation get tasks from users // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks // returns a *RequestInformation when successful func (m *ItemOutlookTasksOutlookTaskItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOutlookTasksOutlookTaskItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -157,7 +148,7 @@ func (m *ItemOutlookTasksOutlookTaskItemRequestBuilder) ToGetRequestInformation( requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation change writable properties of an Outlook task. The completedDateTime property can be set by the complete action, or explicitly by a PATCH operation. If you use PATCH to set completedDateTime, make sure you set status to completed as well. By default, this operation (and the POST, GET, and complete task operations) returns date-related properties in UTC. You can use the Prefer: outlook.timezone header to have all the date-related properties in the response represented in a time zone different than UTC. +// ToPatchRequestInformation update the navigation property tasks in users // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks // returns a *RequestInformation when successful func (m *ItemOutlookTasksOutlookTaskItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutlookTaskable, requestConfiguration *ItemOutlookTasksOutlookTaskItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/users/item_outlook_tasks_request_builder.go b/users/item_outlook_tasks_request_builder.go index de737e74793..cb9ae519ca0 100644 --- a/users/item_outlook_tasks_request_builder.go +++ b/users/item_outlook_tasks_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOutlookTasksRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOutlookTasksRequestBuilderGetQueryParameters get all the Outlook tasks in the user's mailbox. By default, this operation (and the POST, PATCH, and complete task operations) returns date-related properties in UTC.You can use the Prefer: outlook.timezone header to have all the date-related properties in the response represented in a time zonedifferent than UTC. See an example for getting a single task. You can apply the header similarly to get multiple tasks. +// ItemOutlookTasksRequestBuilderGetQueryParameters get tasks from users type ItemOutlookTasksRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -73,13 +73,10 @@ func NewItemOutlookTasksRequestBuilder(rawUrl string, requestAdapter i2ae4187f7d func (m *ItemOutlookTasksRequestBuilder) Count()(*ItemOutlookTasksCountRequestBuilder) { return NewItemOutlookTasksCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get all the Outlook tasks in the user's mailbox. By default, this operation (and the POST, PATCH, and complete task operations) returns date-related properties in UTC.You can use the Prefer: outlook.timezone header to have all the date-related properties in the response represented in a time zonedifferent than UTC. See an example for getting a single task. You can apply the header similarly to get multiple tasks. +// Get get tasks from users // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks // returns a OutlookTaskCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/outlookuser-list-tasks?view=graph-rest-1.0 func (m *ItemOutlookTasksRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOutlookTasksRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutlookTaskCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -97,13 +94,10 @@ func (m *ItemOutlookTasksRequestBuilder) Get(ctx context.Context, requestConfigu } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutlookTaskCollectionResponseable), nil } -// Post create an Outlook task in the default task group (My Tasks) and default task folder (Tasks) in the user's mailbox. The POST method always ignores the time portion of startDateTime and dueDateTime in the request body, and assumes the time to be always midnight in the specified time zone. By default, this operation (and the GET, PATCH, and complete task operations) returns date-related properties in UTC. You can use the Prefer: outlook.timezone header to have all the date-related properties in the response represented in a time zone different than UTC. +// Post create new navigation property to tasks for users // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks // returns a OutlookTaskable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/outlookuser-post-tasks?view=graph-rest-1.0 func (m *ItemOutlookTasksRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutlookTaskable, requestConfiguration *ItemOutlookTasksRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutlookTaskable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -121,7 +115,7 @@ func (m *ItemOutlookTasksRequestBuilder) Post(ctx context.Context, body ie233ee7 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutlookTaskable), nil } -// ToGetRequestInformation get all the Outlook tasks in the user's mailbox. By default, this operation (and the POST, PATCH, and complete task operations) returns date-related properties in UTC.You can use the Prefer: outlook.timezone header to have all the date-related properties in the response represented in a time zonedifferent than UTC. See an example for getting a single task. You can apply the header similarly to get multiple tasks. +// ToGetRequestInformation get tasks from users // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks // returns a *RequestInformation when successful func (m *ItemOutlookTasksRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOutlookTasksRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -136,7 +130,7 @@ func (m *ItemOutlookTasksRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create an Outlook task in the default task group (My Tasks) and default task folder (Tasks) in the user's mailbox. The POST method always ignores the time portion of startDateTime and dueDateTime in the request body, and assumes the time to be always midnight in the specified time zone. By default, this operation (and the GET, PATCH, and complete task operations) returns date-related properties in UTC. You can use the Prefer: outlook.timezone header to have all the date-related properties in the response represented in a time zone different than UTC. +// ToPostRequestInformation create new navigation property to tasks for users // Deprecated: The Outlook tasks API is deprecated and will stop returning data on February 20, 2023. Please use the new To Do API. For more details, please visit https://developer.microsoft.com/en-us/office/blogs/announcing-the-general-availability-of-microsoft-to-do-apis-on-graph/ as of 2020-08/Outlook_Tasks // returns a *RequestInformation when successful func (m *ItemOutlookTasksRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OutlookTaskable, requestConfiguration *ItemOutlookTasksRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/users/item_owned_devices_request_builder.go b/users/item_owned_devices_request_builder.go index 7ef42be50a3..21faa556412 100644 --- a/users/item_owned_devices_request_builder.go +++ b/users/item_owned_devices_request_builder.go @@ -72,9 +72,6 @@ func (m *ItemOwnedDevicesRequestBuilder) Count()(*ItemOwnedDevicesCountRequestBu // Get devices owned by the user. Read-only. Nullable. Supports $expand. // returns a DirectoryObjectCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/user-list-owneddevices?view=graph-rest-1.0 func (m *ItemOwnedDevicesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOwnedDevicesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_owned_objects_request_builder.go b/users/item_owned_objects_request_builder.go index 8ff6c13c6db..12bda9434f7 100644 --- a/users/item_owned_objects_request_builder.go +++ b/users/item_owned_objects_request_builder.go @@ -72,9 +72,6 @@ func (m *ItemOwnedObjectsRequestBuilder) Count()(*ItemOwnedObjectsCountRequestBu // Get directory objects owned by the user. Read-only. Nullable. Supports $expand, $select nested in $expand, and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). // returns a DirectoryObjectCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/user-list-ownedobjects?view=graph-rest-1.0 func (m *ItemOwnedObjectsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOwnedObjectsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_pending_access_review_instances_filter_by_current_user_with_on_request_builder.go b/users/item_pending_access_review_instances_filter_by_current_user_with_on_request_builder.go index 9e7e9ec37de..2fff0136956 100644 --- a/users/item_pending_access_review_instances_filter_by_current_user_with_on_request_builder.go +++ b/users/item_pending_access_review_instances_filter_by_current_user_with_on_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemPendingAccessReviewInstancesFilterByCurrentUserWithOnRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemPendingAccessReviewInstancesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters invoke function filterByCurrentUser +// ItemPendingAccessReviewInstancesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters returns all accessReviewInstance objects on a given accessReviewScheduleDefinition where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. type ItemPendingAccessReviewInstancesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewItemPendingAccessReviewInstancesFilterByCurrentUserWithOnRequestBuilder( urlParams["request-raw-url"] = rawUrl return NewItemPendingAccessReviewInstancesFilterByCurrentUserWithOnRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function filterByCurrentUser +// Get returns all accessReviewInstance objects on a given accessReviewScheduleDefinition where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. // Deprecated: This method is obsolete. Use GetAsFilterByCurrentUserWithOnGetResponse instead. // returns a ItemPendingAccessReviewInstancesFilterByCurrentUserWithOnResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-filterbycurrentuser?view=graph-rest-beta func (m *ItemPendingAccessReviewInstancesFilterByCurrentUserWithOnRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(ItemPendingAccessReviewInstancesFilterByCurrentUserWithOnResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *ItemPendingAccessReviewInstancesFilterByCurrentUserWithOnRequestBuilder } return res.(ItemPendingAccessReviewInstancesFilterByCurrentUserWithOnResponseable), nil } -// GetAsFilterByCurrentUserWithOnGetResponse invoke function filterByCurrentUser +// GetAsFilterByCurrentUserWithOnGetResponse returns all accessReviewInstance objects on a given accessReviewScheduleDefinition where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. // returns a ItemPendingAccessReviewInstancesFilterByCurrentUserWithOnGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-filterbycurrentuser?view=graph-rest-beta func (m *ItemPendingAccessReviewInstancesFilterByCurrentUserWithOnRequestBuilder) GetAsFilterByCurrentUserWithOnGetResponse(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(ItemPendingAccessReviewInstancesFilterByCurrentUserWithOnGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *ItemPendingAccessReviewInstancesFilterByCurrentUserWithOnRequestBuilder } return res.(ItemPendingAccessReviewInstancesFilterByCurrentUserWithOnGetResponseable), nil } -// ToGetRequestInformation invoke function filterByCurrentUser +// ToGetRequestInformation returns all accessReviewInstance objects on a given accessReviewScheduleDefinition where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. // returns a *RequestInformation when successful func (m *ItemPendingAccessReviewInstancesFilterByCurrentUserWithOnRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_pending_access_review_instances_item_accept_recommendations_request_builder.go b/users/item_pending_access_review_instances_item_accept_recommendations_request_builder.go index 6b6d2f110c2..792531b45ee 100644 --- a/users/item_pending_access_review_instances_item_accept_recommendations_request_builder.go +++ b/users/item_pending_access_review_instances_item_accept_recommendations_request_builder.go @@ -34,7 +34,7 @@ func NewItemPendingAccessReviewInstancesItemAcceptRecommendationsRequestBuilder( // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-acceptrecommendations?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-acceptrecommendations?view=graph-rest-beta func (m *ItemPendingAccessReviewInstancesItemAcceptRecommendationsRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemAcceptRecommendationsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_pending_access_review_instances_item_apply_decisions_request_builder.go b/users/item_pending_access_review_instances_item_apply_decisions_request_builder.go index e11a2b5f8a2..62ee530348c 100644 --- a/users/item_pending_access_review_instances_item_apply_decisions_request_builder.go +++ b/users/item_pending_access_review_instances_item_apply_decisions_request_builder.go @@ -34,7 +34,7 @@ func NewItemPendingAccessReviewInstancesItemApplyDecisionsRequestBuilder(rawUrl // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-applydecisions?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-applydecisions?view=graph-rest-beta func (m *ItemPendingAccessReviewInstancesItemApplyDecisionsRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemApplyDecisionsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_pending_access_review_instances_item_batch_record_decisions_request_builder.go b/users/item_pending_access_review_instances_item_batch_record_decisions_request_builder.go index 6ffc7e24a0e..db46f084d86 100644 --- a/users/item_pending_access_review_instances_item_batch_record_decisions_request_builder.go +++ b/users/item_pending_access_review_instances_item_batch_record_decisions_request_builder.go @@ -34,7 +34,7 @@ func NewItemPendingAccessReviewInstancesItemBatchRecordDecisionsRequestBuilder(r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-batchrecorddecisions?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-batchrecorddecisions?view=graph-rest-beta func (m *ItemPendingAccessReviewInstancesItemBatchRecordDecisionsRequestBuilder) Post(ctx context.Context, body ItemPendingAccessReviewInstancesItemBatchRecordDecisionsPostRequestBodyable, requestConfiguration *ItemPendingAccessReviewInstancesItemBatchRecordDecisionsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_pending_access_review_instances_item_contacted_reviewers_request_builder.go b/users/item_pending_access_review_instances_item_contacted_reviewers_request_builder.go index e15e086a3a7..dd6508b7017 100644 --- a/users/item_pending_access_review_instances_item_contacted_reviewers_request_builder.go +++ b/users/item_pending_access_review_instances_item_contacted_reviewers_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemPendingAccessReviewInstancesItemContactedReviewersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemPendingAccessReviewInstancesItemContactedReviewersRequestBuilderGetQueryParameters get the reviewers for an access review instance, irrespective of whether or not they have received a notification. The reviewers are represented by an accessReviewReviewer object. A list of zero or more objects are returned, including all of their nested properties. +// ItemPendingAccessReviewInstancesItemContactedReviewersRequestBuilderGetQueryParameters returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. type ItemPendingAccessReviewInstancesItemContactedReviewersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemPendingAccessReviewInstancesItemContactedReviewersRequestBuilder(raw func (m *ItemPendingAccessReviewInstancesItemContactedReviewersRequestBuilder) Count()(*ItemPendingAccessReviewInstancesItemContactedReviewersCountRequestBuilder) { return NewItemPendingAccessReviewInstancesItemContactedReviewersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the reviewers for an access review instance, irrespective of whether or not they have received a notification. The reviewers are represented by an accessReviewReviewer object. A list of zero or more objects are returned, including all of their nested properties. +// Get returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. // returns a AccessReviewReviewerCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-list-contactedreviewers?view=graph-rest-1.0 func (m *ItemPendingAccessReviewInstancesItemContactedReviewersRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemContactedReviewersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewReviewerCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemPendingAccessReviewInstancesItemContactedReviewersRequestBuilder) P } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewReviewerable), nil } -// ToGetRequestInformation get the reviewers for an access review instance, irrespective of whether or not they have received a notification. The reviewers are represented by an accessReviewReviewer object. A list of zero or more objects are returned, including all of their nested properties. +// ToGetRequestInformation returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. // returns a *RequestInformation when successful func (m *ItemPendingAccessReviewInstancesItemContactedReviewersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemContactedReviewersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_pending_access_review_instances_item_decisions_access_review_instance_decision_item_item_request_builder.go b/users/item_pending_access_review_instances_item_decisions_access_review_instance_decision_item_item_request_builder.go index 4e85639deb6..b35648a77f6 100644 --- a/users/item_pending_access_review_instances_item_decisions_access_review_instance_decision_item_item_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_access_review_instance_decision_item_item_request_builder.go @@ -18,7 +18,7 @@ type ItemPendingAccessReviewInstancesItemDecisionsAccessReviewInstanceDecisionIt // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemPendingAccessReviewInstancesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderGetQueryParameters read the properties and relationships of an accessReviewInstanceDecisionItem object. +// ItemPendingAccessReviewInstancesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderGetQueryParameters each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. type ItemPendingAccessReviewInstancesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsAccessReviewInstanceDecisi } return nil } -// Get read the properties and relationships of an accessReviewInstanceDecisionItem object. +// Get each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. // returns a AccessReviewInstanceDecisionItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-get?view=graph-rest-1.0 func (m *ItemPendingAccessReviewInstancesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewInstanceDecisionItemable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -134,7 +131,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsAccessReviewInstanceDecisi requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an accessReviewInstanceDecisionItem object. +// ToGetRequestInformation each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. // returns a *RequestInformation when successful func (m *ItemPendingAccessReviewInstancesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_pending_access_review_instances_item_decisions_filter_by_current_user_with_on_request_builder.go b/users/item_pending_access_review_instances_item_decisions_filter_by_current_user_with_on_request_builder.go index 993ad79693e..74fe5be5447 100644 --- a/users/item_pending_access_review_instances_item_decisions_filter_by_current_user_with_on_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_filter_by_current_user_with_on_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemPendingAccessReviewInstancesItemDecisionsFilterByCurrentUserWithOnRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemPendingAccessReviewInstancesItemDecisionsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters invoke function filterByCurrentUser +// ItemPendingAccessReviewInstancesItemDecisionsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. type ItemPendingAccessReviewInstancesItemDecisionsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewItemPendingAccessReviewInstancesItemDecisionsFilterByCurrentUserWithOnRe urlParams["request-raw-url"] = rawUrl return NewItemPendingAccessReviewInstancesItemDecisionsFilterByCurrentUserWithOnRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function filterByCurrentUser +// Get retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. // Deprecated: This method is obsolete. Use GetAsFilterByCurrentUserWithOnGetResponse instead. // returns a ItemPendingAccessReviewInstancesItemDecisionsFilterByCurrentUserWithOnResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-list-decisions?view=graph-rest-beta func (m *ItemPendingAccessReviewInstancesItemDecisionsFilterByCurrentUserWithOnRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemDecisionsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(ItemPendingAccessReviewInstancesItemDecisionsFilterByCurrentUserWithOnResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsFilterByCurrentUserWithOnR } return res.(ItemPendingAccessReviewInstancesItemDecisionsFilterByCurrentUserWithOnResponseable), nil } -// GetAsFilterByCurrentUserWithOnGetResponse invoke function filterByCurrentUser +// GetAsFilterByCurrentUserWithOnGetResponse retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. // returns a ItemPendingAccessReviewInstancesItemDecisionsFilterByCurrentUserWithOnGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-list-decisions?view=graph-rest-beta func (m *ItemPendingAccessReviewInstancesItemDecisionsFilterByCurrentUserWithOnRequestBuilder) GetAsFilterByCurrentUserWithOnGetResponse(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemDecisionsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(ItemPendingAccessReviewInstancesItemDecisionsFilterByCurrentUserWithOnGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsFilterByCurrentUserWithOnR } return res.(ItemPendingAccessReviewInstancesItemDecisionsFilterByCurrentUserWithOnGetResponseable), nil } -// ToGetRequestInformation invoke function filterByCurrentUser +// ToGetRequestInformation retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. // returns a *RequestInformation when successful func (m *ItemPendingAccessReviewInstancesItemDecisionsFilterByCurrentUserWithOnRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemDecisionsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_pending_access_review_instances_item_decisions_item_instance_accept_recommendations_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_instance_accept_recommendations_request_builder.go index 07d16d6a73e..b5378b87e23 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_instance_accept_recommendations_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_instance_accept_recommendations_request_builder.go @@ -34,7 +34,7 @@ func NewItemPendingAccessReviewInstancesItemDecisionsItemInstanceAcceptRecommend // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-acceptrecommendations?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-acceptrecommendations?view=graph-rest-beta func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceAcceptRecommendationsRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceAcceptRecommendationsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_pending_access_review_instances_item_decisions_item_instance_apply_decisions_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_instance_apply_decisions_request_builder.go index 0f31093103d..00889d1b3fe 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_instance_apply_decisions_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_instance_apply_decisions_request_builder.go @@ -34,7 +34,7 @@ func NewItemPendingAccessReviewInstancesItemDecisionsItemInstanceApplyDecisionsR // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-applydecisions?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-applydecisions?view=graph-rest-beta func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceApplyDecisionsRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceApplyDecisionsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_pending_access_review_instances_item_decisions_item_instance_batch_record_decisions_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_instance_batch_record_decisions_request_builder.go index 5185b7a0ee9..857ff7d97c3 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_instance_batch_record_decisions_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_instance_batch_record_decisions_request_builder.go @@ -34,7 +34,7 @@ func NewItemPendingAccessReviewInstancesItemDecisionsItemInstanceBatchRecordDeci // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-batchrecorddecisions?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-batchrecorddecisions?view=graph-rest-beta func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceBatchRecordDecisionsRequestBuilder) Post(ctx context.Context, body ItemPendingAccessReviewInstancesItemDecisionsItemInstanceBatchRecordDecisionsPostRequestBodyable, requestConfiguration *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceBatchRecordDecisionsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_pending_access_review_instances_item_decisions_item_instance_contacted_reviewers_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_instance_contacted_reviewers_request_builder.go index 95b3b727198..00299dbdc5b 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_instance_contacted_reviewers_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_instance_contacted_reviewers_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemPendingAccessReviewInstancesItemDecisionsItemInstanceContactedReviewersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemPendingAccessReviewInstancesItemDecisionsItemInstanceContactedReviewersRequestBuilderGetQueryParameters get the reviewers for an access review instance, irrespective of whether or not they have received a notification. The reviewers are represented by an accessReviewReviewer object. A list of zero or more objects are returned, including all of their nested properties. +// ItemPendingAccessReviewInstancesItemDecisionsItemInstanceContactedReviewersRequestBuilderGetQueryParameters returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. type ItemPendingAccessReviewInstancesItemDecisionsItemInstanceContactedReviewersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemPendingAccessReviewInstancesItemDecisionsItemInstanceContactedReview func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceContactedReviewersRequestBuilder) Count()(*ItemPendingAccessReviewInstancesItemDecisionsItemInstanceContactedReviewersCountRequestBuilder) { return NewItemPendingAccessReviewInstancesItemDecisionsItemInstanceContactedReviewersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the reviewers for an access review instance, irrespective of whether or not they have received a notification. The reviewers are represented by an accessReviewReviewer object. A list of zero or more objects are returned, including all of their nested properties. +// Get returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. // returns a AccessReviewReviewerCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-list-contactedreviewers?view=graph-rest-1.0 func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceContactedReviewersRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceContactedReviewersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewReviewerCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceContactedRevie } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewReviewerable), nil } -// ToGetRequestInformation get the reviewers for an access review instance, irrespective of whether or not they have received a notification. The reviewers are represented by an accessReviewReviewer object. A list of zero or more objects are returned, including all of their nested properties. +// ToGetRequestInformation returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. // returns a *RequestInformation when successful func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceContactedReviewersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceContactedReviewersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_pending_access_review_instances_item_decisions_item_instance_reset_decisions_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_instance_reset_decisions_request_builder.go index 91f04c27d13..558d39530e6 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_instance_reset_decisions_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_instance_reset_decisions_request_builder.go @@ -34,7 +34,7 @@ func NewItemPendingAccessReviewInstancesItemDecisionsItemInstanceResetDecisionsR // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-resetdecisions?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-resetdecisions?view=graph-rest-beta func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceResetDecisionsRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceResetDecisionsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_pending_access_review_instances_item_decisions_item_instance_send_reminder_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_instance_send_reminder_request_builder.go index 1347e2e019d..9c4162f61e8 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_instance_send_reminder_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_instance_send_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemPendingAccessReviewInstancesItemDecisionsItemInstanceSendReminderReq // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-sendreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-sendreminder?view=graph-rest-beta func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceSendReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceSendReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_pending_access_review_instances_item_decisions_item_instance_stages_access_review_stage_item_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_instance_stages_access_review_stage_item_request_builder.go index f947e09ce1b..99d7e22340a 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_instance_stages_access_review_stage_item_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_instance_stages_access_review_stage_item_request_builder.go @@ -18,7 +18,7 @@ type ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesAccessReview // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesAccessReviewStageItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an accessReviewStage object. +// ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesAccessReviewStageItemRequestBuilderGetQueryParameters if the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. type ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesAccessReviewStageItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesAccessRe } return nil } -// Get retrieve the properties and relationships of an accessReviewStage object. +// Get if the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. // returns a AccessReviewStageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewstage-get?view=graph-rest-1.0 func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesAccessReviewStageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesAccessReviewStageItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewStageable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,12 +95,9 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesAccessRe } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewStageable), nil } -// Patch update the properties of an accessReviewStage object. Only the reviewers and fallbackReviewers properties can be updated. You can only add reviewers to the fallbackReviewers property but can't remove existing fallbackReviewers. To update an accessReviewStage, its status must be NotStarted, Initializing, or InProgress. +// Patch update the navigation property stages in users // returns a AccessReviewStageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewstage-update?view=graph-rest-1.0 func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesAccessReviewStageItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewStageable, requestConfiguration *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesAccessReviewStageItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewStageable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -137,7 +131,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesAccessRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of an accessReviewStage object. +// ToGetRequestInformation if the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. // returns a *RequestInformation when successful func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesAccessReviewStageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesAccessReviewStageItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -151,7 +145,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesAccessRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an accessReviewStage object. Only the reviewers and fallbackReviewers properties can be updated. You can only add reviewers to the fallbackReviewers property but can't remove existing fallbackReviewers. To update an accessReviewStage, its status must be NotStarted, Initializing, or InProgress. +// ToPatchRequestInformation update the navigation property stages in users // returns a *RequestInformation when successful func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesAccessReviewStageItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewStageable, requestConfiguration *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesAccessReviewStageItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_pending_access_review_instances_item_decisions_item_instance_stages_filter_by_current_user_with_on_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_instance_stages_filter_by_current_user_with_on_request_builder.go index d2389a6a165..2da8fd745a8 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_instance_stages_filter_by_current_user_with_on_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_instance_stages_filter_by_current_user_with_on_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesFilterByCurrentUserWithOnRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters invoke function filterByCurrentUser +// ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters return all accessReviewStage objects on a given accessReviewInstance where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. type ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesFilterByC urlParams["request-raw-url"] = rawUrl return NewItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesFilterByCurrentUserWithOnRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function filterByCurrentUser +// Get return all accessReviewStage objects on a given accessReviewInstance where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. // Deprecated: This method is obsolete. Use GetAsFilterByCurrentUserWithOnGetResponse instead. // returns a ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesFilterByCurrentUserWithOnResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewstage-filterbycurrentuser?view=graph-rest-beta func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesFilterByCurrentUserWithOnRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesFilterByCurrentUserWithOnResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesFilterBy } return res.(ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesFilterByCurrentUserWithOnResponseable), nil } -// GetAsFilterByCurrentUserWithOnGetResponse invoke function filterByCurrentUser +// GetAsFilterByCurrentUserWithOnGetResponse return all accessReviewStage objects on a given accessReviewInstance where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. // returns a ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesFilterByCurrentUserWithOnGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewstage-filterbycurrentuser?view=graph-rest-beta func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesFilterByCurrentUserWithOnRequestBuilder) GetAsFilterByCurrentUserWithOnGetResponse(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesFilterByCurrentUserWithOnGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesFilterBy } return res.(ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesFilterByCurrentUserWithOnGetResponseable), nil } -// ToGetRequestInformation invoke function filterByCurrentUser +// ToGetRequestInformation return all accessReviewStage objects on a given accessReviewInstance where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. // returns a *RequestInformation when successful func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesFilterByCurrentUserWithOnRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go index c5be899b196..a335ca27092 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go @@ -18,7 +18,7 @@ type ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecision // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderGetQueryParameters read the properties and relationships of an accessReviewInstanceDecisionItem object. +// ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderGetQueryParameters each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. type ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDeci } return nil } -// Get read the properties and relationships of an accessReviewInstanceDecisionItem object. +// Get each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. // returns a AccessReviewInstanceDecisionItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-get?view=graph-rest-1.0 func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewInstanceDecisionItemable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,12 +95,9 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDeci func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) Insights()(*ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsItemInsightsRequestBuilder) { return NewItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsItemInsightsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update access decisions, known as accessReviewInstanceDecisionItems, for which the user is the reviewer. +// Patch update the navigation property decisions in users // returns a AccessReviewInstanceDecisionItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-update?view=graph-rest-1.0 func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewInstanceDecisionItemable, requestConfiguration *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewInstanceDecisionItemable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -132,7 +126,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDeci requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an accessReviewInstanceDecisionItem object. +// ToGetRequestInformation each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. // returns a *RequestInformation when successful func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -146,7 +140,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDeci requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update access decisions, known as accessReviewInstanceDecisionItems, for which the user is the reviewer. +// ToPatchRequestInformation update the navigation property decisions in users // returns a *RequestInformation when successful func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewInstanceDecisionItemable, requestConfiguration *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_filter_by_current_user_with_on_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_filter_by_current_user_with_on_request_builder.go index e154c8acf75..72089a9f4f7 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_filter_by_current_user_with_on_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_filter_by_current_user_with_on_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters invoke function filterByCurrentUser +// ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. type ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecis urlParams["request-raw-url"] = rawUrl return NewItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function filterByCurrentUser +// Get retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. // Deprecated: This method is obsolete. Use GetAsFilterByCurrentUserWithOnGetResponse instead. // returns a ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-list-decisions?view=graph-rest-beta func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDeci } return res.(ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnResponseable), nil } -// GetAsFilterByCurrentUserWithOnGetResponse invoke function filterByCurrentUser +// GetAsFilterByCurrentUserWithOnGetResponse retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. // returns a ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-list-decisions?view=graph-rest-beta func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilder) GetAsFilterByCurrentUserWithOnGetResponse(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDeci } return res.(ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnGetResponseable), nil } -// ToGetRequestInformation invoke function filterByCurrentUser +// ToGetRequestInformation retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. // returns a *RequestInformation when successful func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_record_all_decisions_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_record_all_decisions_request_builder.go index 7fc5343265a..dadadf7e624 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_record_all_decisions_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_record_all_decisions_request_builder.go @@ -34,7 +34,7 @@ func NewItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecis // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-recordalldecisions?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-recordalldecisions?view=graph-rest-beta func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsRecordAllDecisionsRequestBuilder) Post(ctx context.Context, body ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsRecordAllDecisionsPostRequestBodyable, requestConfiguration *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsRecordAllDecisionsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_request_builder.go index 4e934b984e1..57b6eff4b8c 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsRequestBuilderGetQueryParameters get the decisions from a stage in a multi-stage access review. The decisions in an accessReviewStage object are represented by an accessReviewInstanceDecisionItem object. +// ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsRequestBuilderGetQueryParameters each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. type ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDeci func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsRequestBuilder) FilterByCurrentUserWithOn(on *string)(*ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilder) { return NewItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, on) } -// Get get the decisions from a stage in a multi-stage access review. The decisions in an accessReviewStage object are represented by an accessReviewInstanceDecisionItem object. +// Get each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. // returns a AccessReviewInstanceDecisionItemCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewstage-list-decisions?view=graph-rest-1.0 func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewInstanceDecisionItemCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDeci func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsRequestBuilder) RecordAllDecisions()(*ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsRecordAllDecisionsRequestBuilder) { return NewItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsRecordAllDecisionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation get the decisions from a stage in a multi-stage access review. The decisions in an accessReviewStage object are represented by an accessReviewInstanceDecisionItem object. +// ToGetRequestInformation each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. // returns a *RequestInformation when successful func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDecisionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_stop_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_stop_request_builder.go index a7c406cb063..1d52ecbfaf6 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_stop_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_stop_request_builder.go @@ -34,7 +34,7 @@ func NewItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemStopR // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewstage-stop?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewstage-stop?view=graph-rest-beta func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemStopRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemStopRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_pending_access_review_instances_item_decisions_item_instance_stages_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_instance_stages_request_builder.go index 7c9f5d19481..1165a535c64 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_instance_stages_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_instance_stages_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesRequestBuilderGetQueryParameters retrieve the stages in a multi-stage access review instance. +// ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesRequestBuilderGetQueryParameters if the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. type ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesRequestB func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesRequestBuilder) FilterByCurrentUserWithOn(on *string)(*ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesFilterByCurrentUserWithOnRequestBuilder) { return NewItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesFilterByCurrentUserWithOnRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, on) } -// Get retrieve the stages in a multi-stage access review instance. +// Get if the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. // returns a AccessReviewStageCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-list-stages?view=graph-rest-1.0 func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewStageCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesRequestB } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewStageable), nil } -// ToGetRequestInformation retrieve the stages in a multi-stage access review instance. +// ToGetRequestInformation if the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. // returns a *RequestInformation when successful func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_pending_access_review_instances_item_decisions_item_instance_stop_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_instance_stop_request_builder.go index 00bfd69abd4..3192be70b08 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_instance_stop_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_instance_stop_request_builder.go @@ -34,7 +34,7 @@ func NewItemPendingAccessReviewInstancesItemDecisionsItemInstanceStopRequestBuil // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-stop?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-stop?view=graph-rest-beta func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStopRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStopRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_pending_access_review_instances_item_decisions_record_all_decisions_request_builder.go b/users/item_pending_access_review_instances_item_decisions_record_all_decisions_request_builder.go index 472f2496e57..e829275011c 100644 --- a/users/item_pending_access_review_instances_item_decisions_record_all_decisions_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_record_all_decisions_request_builder.go @@ -34,7 +34,7 @@ func NewItemPendingAccessReviewInstancesItemDecisionsRecordAllDecisionsRequestBu // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-recordalldecisions?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-recordalldecisions?view=graph-rest-beta func (m *ItemPendingAccessReviewInstancesItemDecisionsRecordAllDecisionsRequestBuilder) Post(ctx context.Context, body ItemPendingAccessReviewInstancesItemDecisionsRecordAllDecisionsPostRequestBodyable, requestConfiguration *ItemPendingAccessReviewInstancesItemDecisionsRecordAllDecisionsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_pending_access_review_instances_item_decisions_request_builder.go b/users/item_pending_access_review_instances_item_decisions_request_builder.go index 4018c0511db..a7e0adb6251 100644 --- a/users/item_pending_access_review_instances_item_decisions_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemPendingAccessReviewInstancesItemDecisionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemPendingAccessReviewInstancesItemDecisionsRequestBuilderGetQueryParameters retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. +// ItemPendingAccessReviewInstancesItemDecisionsRequestBuilderGetQueryParameters each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. type ItemPendingAccessReviewInstancesItemDecisionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsRequestBuilder) Count()(*I func (m *ItemPendingAccessReviewInstancesItemDecisionsRequestBuilder) FilterByCurrentUserWithOn(on *string)(*ItemPendingAccessReviewInstancesItemDecisionsFilterByCurrentUserWithOnRequestBuilder) { return NewItemPendingAccessReviewInstancesItemDecisionsFilterByCurrentUserWithOnRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, on) } -// Get retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. +// Get each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. // returns a AccessReviewInstanceDecisionItemCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-list-decisions?view=graph-rest-1.0 func (m *ItemPendingAccessReviewInstancesItemDecisionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemDecisionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewInstanceDecisionItemCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsRequestBuilder) Post(ctx c func (m *ItemPendingAccessReviewInstancesItemDecisionsRequestBuilder) RecordAllDecisions()(*ItemPendingAccessReviewInstancesItemDecisionsRecordAllDecisionsRequestBuilder) { return NewItemPendingAccessReviewInstancesItemDecisionsRecordAllDecisionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. +// ToGetRequestInformation each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. // returns a *RequestInformation when successful func (m *ItemPendingAccessReviewInstancesItemDecisionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemDecisionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_pending_access_review_instances_item_reset_decisions_request_builder.go b/users/item_pending_access_review_instances_item_reset_decisions_request_builder.go index 6e2757a325c..14a2988da4d 100644 --- a/users/item_pending_access_review_instances_item_reset_decisions_request_builder.go +++ b/users/item_pending_access_review_instances_item_reset_decisions_request_builder.go @@ -34,7 +34,7 @@ func NewItemPendingAccessReviewInstancesItemResetDecisionsRequestBuilder(rawUrl // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-resetdecisions?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-resetdecisions?view=graph-rest-beta func (m *ItemPendingAccessReviewInstancesItemResetDecisionsRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemResetDecisionsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_pending_access_review_instances_item_send_reminder_request_builder.go b/users/item_pending_access_review_instances_item_send_reminder_request_builder.go index 85a553f6e35..0379ae3b235 100644 --- a/users/item_pending_access_review_instances_item_send_reminder_request_builder.go +++ b/users/item_pending_access_review_instances_item_send_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemPendingAccessReviewInstancesItemSendReminderRequestBuilder(rawUrl st // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-sendreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-sendreminder?view=graph-rest-beta func (m *ItemPendingAccessReviewInstancesItemSendReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemSendReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_pending_access_review_instances_item_stages_access_review_stage_item_request_builder.go b/users/item_pending_access_review_instances_item_stages_access_review_stage_item_request_builder.go index 83914252fe1..1d366c4ae7f 100644 --- a/users/item_pending_access_review_instances_item_stages_access_review_stage_item_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_access_review_stage_item_request_builder.go @@ -18,7 +18,7 @@ type ItemPendingAccessReviewInstancesItemStagesAccessReviewStageItemRequestBuild // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemPendingAccessReviewInstancesItemStagesAccessReviewStageItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an accessReviewStage object. +// ItemPendingAccessReviewInstancesItemStagesAccessReviewStageItemRequestBuilderGetQueryParameters if the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. type ItemPendingAccessReviewInstancesItemStagesAccessReviewStageItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *ItemPendingAccessReviewInstancesItemStagesAccessReviewStageItemRequestB } return nil } -// Get retrieve the properties and relationships of an accessReviewStage object. +// Get if the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. // returns a AccessReviewStageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewstage-get?view=graph-rest-1.0 func (m *ItemPendingAccessReviewInstancesItemStagesAccessReviewStageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemStagesAccessReviewStageItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewStageable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,12 +95,9 @@ func (m *ItemPendingAccessReviewInstancesItemStagesAccessReviewStageItemRequestB } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewStageable), nil } -// Patch update the properties of an accessReviewStage object. Only the reviewers and fallbackReviewers properties can be updated. You can only add reviewers to the fallbackReviewers property but can't remove existing fallbackReviewers. To update an accessReviewStage, its status must be NotStarted, Initializing, or InProgress. +// Patch update the navigation property stages in users // returns a AccessReviewStageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewstage-update?view=graph-rest-1.0 func (m *ItemPendingAccessReviewInstancesItemStagesAccessReviewStageItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewStageable, requestConfiguration *ItemPendingAccessReviewInstancesItemStagesAccessReviewStageItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewStageable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -137,7 +131,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesAccessReviewStageItemRequestB requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of an accessReviewStage object. +// ToGetRequestInformation if the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. // returns a *RequestInformation when successful func (m *ItemPendingAccessReviewInstancesItemStagesAccessReviewStageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemStagesAccessReviewStageItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -151,7 +145,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesAccessReviewStageItemRequestB requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an accessReviewStage object. Only the reviewers and fallbackReviewers properties can be updated. You can only add reviewers to the fallbackReviewers property but can't remove existing fallbackReviewers. To update an accessReviewStage, its status must be NotStarted, Initializing, or InProgress. +// ToPatchRequestInformation update the navigation property stages in users // returns a *RequestInformation when successful func (m *ItemPendingAccessReviewInstancesItemStagesAccessReviewStageItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewStageable, requestConfiguration *ItemPendingAccessReviewInstancesItemStagesAccessReviewStageItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_pending_access_review_instances_item_stages_filter_by_current_user_with_on_request_builder.go b/users/item_pending_access_review_instances_item_stages_filter_by_current_user_with_on_request_builder.go index 34ad3229f84..872856c6679 100644 --- a/users/item_pending_access_review_instances_item_stages_filter_by_current_user_with_on_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_filter_by_current_user_with_on_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemPendingAccessReviewInstancesItemStagesFilterByCurrentUserWithOnRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemPendingAccessReviewInstancesItemStagesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters invoke function filterByCurrentUser +// ItemPendingAccessReviewInstancesItemStagesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters return all accessReviewStage objects on a given accessReviewInstance where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. type ItemPendingAccessReviewInstancesItemStagesFilterByCurrentUserWithOnRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewItemPendingAccessReviewInstancesItemStagesFilterByCurrentUserWithOnReque urlParams["request-raw-url"] = rawUrl return NewItemPendingAccessReviewInstancesItemStagesFilterByCurrentUserWithOnRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function filterByCurrentUser +// Get return all accessReviewStage objects on a given accessReviewInstance where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. // Deprecated: This method is obsolete. Use GetAsFilterByCurrentUserWithOnGetResponse instead. // returns a ItemPendingAccessReviewInstancesItemStagesFilterByCurrentUserWithOnResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewstage-filterbycurrentuser?view=graph-rest-beta func (m *ItemPendingAccessReviewInstancesItemStagesFilterByCurrentUserWithOnRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemStagesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(ItemPendingAccessReviewInstancesItemStagesFilterByCurrentUserWithOnResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *ItemPendingAccessReviewInstancesItemStagesFilterByCurrentUserWithOnRequ } return res.(ItemPendingAccessReviewInstancesItemStagesFilterByCurrentUserWithOnResponseable), nil } -// GetAsFilterByCurrentUserWithOnGetResponse invoke function filterByCurrentUser +// GetAsFilterByCurrentUserWithOnGetResponse return all accessReviewStage objects on a given accessReviewInstance where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. // returns a ItemPendingAccessReviewInstancesItemStagesFilterByCurrentUserWithOnGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewstage-filterbycurrentuser?view=graph-rest-beta func (m *ItemPendingAccessReviewInstancesItemStagesFilterByCurrentUserWithOnRequestBuilder) GetAsFilterByCurrentUserWithOnGetResponse(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemStagesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(ItemPendingAccessReviewInstancesItemStagesFilterByCurrentUserWithOnGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesFilterByCurrentUserWithOnRequ } return res.(ItemPendingAccessReviewInstancesItemStagesFilterByCurrentUserWithOnGetResponseable), nil } -// ToGetRequestInformation invoke function filterByCurrentUser +// ToGetRequestInformation return all accessReviewStage objects on a given accessReviewInstance where the calling user is a reviewer on one or more accessReviewInstanceDecisionItem objects. // returns a *RequestInformation when successful func (m *ItemPendingAccessReviewInstancesItemStagesFilterByCurrentUserWithOnRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemStagesFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go index 7ca3154910e..d9fb6ccc88b 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go @@ -18,7 +18,7 @@ type ItemPendingAccessReviewInstancesItemStagesItemDecisionsAccessReviewInstance // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemPendingAccessReviewInstancesItemStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderGetQueryParameters read the properties and relationships of an accessReviewInstanceDecisionItem object. +// ItemPendingAccessReviewInstancesItemStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderGetQueryParameters each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. type ItemPendingAccessReviewInstancesItemStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsAccessReviewInst } return nil } -// Get read the properties and relationships of an accessReviewInstanceDecisionItem object. +// Get each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. // returns a AccessReviewInstanceDecisionItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-get?view=graph-rest-1.0 func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewInstanceDecisionItemable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -103,12 +100,9 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsAccessReviewInst func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) Instance()(*ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceRequestBuilder) { return NewItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update access decisions, known as accessReviewInstanceDecisionItems, for which the user is the reviewer. +// Patch update the navigation property decisions in users // returns a AccessReviewInstanceDecisionItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-update?view=graph-rest-1.0 func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewInstanceDecisionItemable, requestConfiguration *ItemPendingAccessReviewInstancesItemStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewInstanceDecisionItemable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -137,7 +131,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsAccessReviewInst requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an accessReviewInstanceDecisionItem object. +// ToGetRequestInformation each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. // returns a *RequestInformation when successful func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -151,7 +145,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsAccessReviewInst requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update access decisions, known as accessReviewInstanceDecisionItems, for which the user is the reviewer. +// ToPatchRequestInformation update the navigation property decisions in users // returns a *RequestInformation when successful func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewInstanceDecisionItemable, requestConfiguration *ItemPendingAccessReviewInstancesItemStagesItemDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_filter_by_current_user_with_on_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_filter_by_current_user_with_on_request_builder.go index c15a7722dcb..919e3eabc3e 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_filter_by_current_user_with_on_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_filter_by_current_user_with_on_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemPendingAccessReviewInstancesItemStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemPendingAccessReviewInstancesItemStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters invoke function filterByCurrentUser +// ItemPendingAccessReviewInstancesItemStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. type ItemPendingAccessReviewInstancesItemStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewItemPendingAccessReviewInstancesItemStagesItemDecisionsFilterByCurrentUs urlParams["request-raw-url"] = rawUrl return NewItemPendingAccessReviewInstancesItemStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function filterByCurrentUser +// Get retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. // Deprecated: This method is obsolete. Use GetAsFilterByCurrentUserWithOnGetResponse instead. // returns a ItemPendingAccessReviewInstancesItemStagesItemDecisionsFilterByCurrentUserWithOnResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-list-decisions?view=graph-rest-beta func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(ItemPendingAccessReviewInstancesItemStagesItemDecisionsFilterByCurrentUserWithOnResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsFilterByCurrentU } return res.(ItemPendingAccessReviewInstancesItemStagesItemDecisionsFilterByCurrentUserWithOnResponseable), nil } -// GetAsFilterByCurrentUserWithOnGetResponse invoke function filterByCurrentUser +// GetAsFilterByCurrentUserWithOnGetResponse retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. // returns a ItemPendingAccessReviewInstancesItemStagesItemDecisionsFilterByCurrentUserWithOnGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-list-decisions?view=graph-rest-beta func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilder) GetAsFilterByCurrentUserWithOnGetResponse(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(ItemPendingAccessReviewInstancesItemStagesItemDecisionsFilterByCurrentUserWithOnGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsFilterByCurrentU } return res.(ItemPendingAccessReviewInstancesItemStagesItemDecisionsFilterByCurrentUserWithOnGetResponseable), nil } -// ToGetRequestInformation invoke function filterByCurrentUser +// ToGetRequestInformation retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. // returns a *RequestInformation when successful func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_accept_recommendations_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_accept_recommendations_request_builder.go index 1d506cd4524..b033bf1c155 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_accept_recommendations_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_accept_recommendations_request_builder.go @@ -34,7 +34,7 @@ func NewItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceAccep // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-acceptrecommendations?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-acceptrecommendations?view=graph-rest-beta func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceAcceptRecommendationsRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceAcceptRecommendationsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_apply_decisions_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_apply_decisions_request_builder.go index 62789b74e8b..141ffcdbdac 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_apply_decisions_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_apply_decisions_request_builder.go @@ -34,7 +34,7 @@ func NewItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceApply // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-applydecisions?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-applydecisions?view=graph-rest-beta func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceApplyDecisionsRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceApplyDecisionsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_batch_record_decisions_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_batch_record_decisions_request_builder.go index 33b56b9601e..ce3d6bfbdc7 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_batch_record_decisions_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_batch_record_decisions_request_builder.go @@ -34,7 +34,7 @@ func NewItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceBatch // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-batchrecorddecisions?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-batchrecorddecisions?view=graph-rest-beta func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceBatchRecordDecisionsRequestBuilder) Post(ctx context.Context, body ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceBatchRecordDecisionsPostRequestBodyable, requestConfiguration *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceBatchRecordDecisionsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_contacted_reviewers_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_contacted_reviewers_request_builder.go index 252880fb5c6..361a4e63c7d 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_contacted_reviewers_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_contacted_reviewers_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceContactedReviewersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceContactedReviewersRequestBuilderGetQueryParameters get the reviewers for an access review instance, irrespective of whether or not they have received a notification. The reviewers are represented by an accessReviewReviewer object. A list of zero or more objects are returned, including all of their nested properties. +// ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceContactedReviewersRequestBuilderGetQueryParameters returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. type ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceContactedReviewersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceConta func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceContactedReviewersRequestBuilder) Count()(*ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceContactedReviewersCountRequestBuilder) { return NewItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceContactedReviewersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the reviewers for an access review instance, irrespective of whether or not they have received a notification. The reviewers are represented by an accessReviewReviewer object. A list of zero or more objects are returned, including all of their nested properties. +// Get returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. // returns a AccessReviewReviewerCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-list-contactedreviewers?view=graph-rest-1.0 func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceContactedReviewersRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceContactedReviewersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewReviewerCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceCont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewReviewerable), nil } -// ToGetRequestInformation get the reviewers for an access review instance, irrespective of whether or not they have received a notification. The reviewers are represented by an accessReviewReviewer object. A list of zero or more objects are returned, including all of their nested properties. +// ToGetRequestInformation returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. // returns a *RequestInformation when successful func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceContactedReviewersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceContactedReviewersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_access_review_instance_decision_item_item_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_access_review_instance_decision_item_item_request_builder.go index 1d8b8139568..ae2e435eba4 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_access_review_instance_decision_item_item_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_access_review_instance_decision_item_item_request_builder.go @@ -18,7 +18,7 @@ type ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecision // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderGetQueryParameters read the properties and relationships of an accessReviewInstanceDecisionItem object. +// ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderGetQueryParameters each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. type ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDeci } return nil } -// Get read the properties and relationships of an accessReviewInstanceDecisionItem object. +// Get each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. // returns a AccessReviewInstanceDecisionItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-get?view=graph-rest-1.0 func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewInstanceDecisionItemable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDeci requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an accessReviewInstanceDecisionItem object. +// ToGetRequestInformation each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. // returns a *RequestInformation when successful func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsAccessReviewInstanceDecisionItemItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsAccessReviewInstanceDecisionItemItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_filter_by_current_user_with_on_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_filter_by_current_user_with_on_request_builder.go index 8a7f2f821da..c97add61163 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_filter_by_current_user_with_on_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_filter_by_current_user_with_on_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters invoke function filterByCurrentUser +// ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. type ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,10 +54,13 @@ func NewItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecis urlParams["request-raw-url"] = rawUrl return NewItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Get invoke function filterByCurrentUser +// Get retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. // Deprecated: This method is obsolete. Use GetAsFilterByCurrentUserWithOnGetResponse instead. // returns a ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-list-decisions?view=graph-rest-beta func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,9 +78,12 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDeci } return res.(ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnResponseable), nil } -// GetAsFilterByCurrentUserWithOnGetResponse invoke function filterByCurrentUser +// GetAsFilterByCurrentUserWithOnGetResponse retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. // returns a ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-list-decisions?view=graph-rest-beta func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnRequestBuilder) GetAsFilterByCurrentUserWithOnGetResponse(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,7 +101,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDeci } return res.(ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnGetResponseable), nil } -// ToGetRequestInformation invoke function filterByCurrentUser +// ToGetRequestInformation retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. // returns a *RequestInformation when successful func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_record_all_decisions_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_record_all_decisions_request_builder.go index d172e7c4433..00ef5e0b77c 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_record_all_decisions_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_record_all_decisions_request_builder.go @@ -34,7 +34,7 @@ func NewItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecis // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-recordalldecisions?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-recordalldecisions?view=graph-rest-beta func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsRecordAllDecisionsRequestBuilder) Post(ctx context.Context, body ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsRecordAllDecisionsPostRequestBodyable, requestConfiguration *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsRecordAllDecisionsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_request_builder.go index 0dc8c70c0cd..a98c592e594 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsRequestBuilderGetQueryParameters retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. +// ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsRequestBuilderGetQueryParameters each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. type ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDeci func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsRequestBuilder) FilterByCurrentUserWithOn(on *string)(*ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnRequestBuilder) { return NewItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, on) } -// Get retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. +// Get each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. // returns a AccessReviewInstanceDecisionItemCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-list-decisions?view=graph-rest-1.0 func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewInstanceDecisionItemCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDeci func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsRequestBuilder) RecordAllDecisions()(*ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsRecordAllDecisionsRequestBuilder) { return NewItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsRecordAllDecisionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. +// ToGetRequestInformation each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. // returns a *RequestInformation when successful func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDecisionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_reset_decisions_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_reset_decisions_request_builder.go index b367f9948e5..9f6554608cd 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_reset_decisions_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_reset_decisions_request_builder.go @@ -34,7 +34,7 @@ func NewItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceReset // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-resetdecisions?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-resetdecisions?view=graph-rest-beta func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceResetDecisionsRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceResetDecisionsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_send_reminder_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_send_reminder_request_builder.go index 36b46f45469..7c7d6a3b988 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_send_reminder_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_send_reminder_request_builder.go @@ -34,7 +34,7 @@ func NewItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceSendR // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-sendreminder?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-sendreminder?view=graph-rest-beta func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceSendReminderRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceSendReminderRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_stop_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_stop_request_builder.go index e04876b4803..663b2613a00 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_stop_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_stop_request_builder.go @@ -34,7 +34,7 @@ func NewItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceStopR // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-stop?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-stop?view=graph-rest-beta func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceStopRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceStopRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_record_all_decisions_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_record_all_decisions_request_builder.go index f40be48f331..007657663f1 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_record_all_decisions_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_record_all_decisions_request_builder.go @@ -34,7 +34,7 @@ func NewItemPendingAccessReviewInstancesItemStagesItemDecisionsRecordAllDecision // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-recordalldecisions?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-recordalldecisions?view=graph-rest-beta func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsRecordAllDecisionsRequestBuilder) Post(ctx context.Context, body ItemPendingAccessReviewInstancesItemStagesItemDecisionsRecordAllDecisionsPostRequestBodyable, requestConfiguration *ItemPendingAccessReviewInstancesItemStagesItemDecisionsRecordAllDecisionsRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_request_builder.go index 1ac436487db..e92f458a348 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemPendingAccessReviewInstancesItemStagesItemDecisionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemPendingAccessReviewInstancesItemStagesItemDecisionsRequestBuilderGetQueryParameters get the decisions from a stage in a multi-stage access review. The decisions in an accessReviewStage object are represented by an accessReviewInstanceDecisionItem object. +// ItemPendingAccessReviewInstancesItemStagesItemDecisionsRequestBuilderGetQueryParameters each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. type ItemPendingAccessReviewInstancesItemStagesItemDecisionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsRequestBuilder) func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsRequestBuilder) FilterByCurrentUserWithOn(on *string)(*ItemPendingAccessReviewInstancesItemStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilder) { return NewItemPendingAccessReviewInstancesItemStagesItemDecisionsFilterByCurrentUserWithOnRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, on) } -// Get get the decisions from a stage in a multi-stage access review. The decisions in an accessReviewStage object are represented by an accessReviewInstanceDecisionItem object. +// Get each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. // returns a AccessReviewInstanceDecisionItemCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewstage-list-decisions?view=graph-rest-1.0 func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemStagesItemDecisionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewInstanceDecisionItemCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsRequestBuilder) func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsRequestBuilder) RecordAllDecisions()(*ItemPendingAccessReviewInstancesItemStagesItemDecisionsRecordAllDecisionsRequestBuilder) { return NewItemPendingAccessReviewInstancesItemStagesItemDecisionsRecordAllDecisionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation get the decisions from a stage in a multi-stage access review. The decisions in an accessReviewStage object are represented by an accessReviewInstanceDecisionItem object. +// ToGetRequestInformation each user reviewed in an accessReviewStage has a decision item representing if they were approved, denied, or not yet reviewed. // returns a *RequestInformation when successful func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemStagesItemDecisionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_pending_access_review_instances_item_stages_item_stop_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_stop_request_builder.go index ec84deebaaa..4437b30d2fc 100644 --- a/users/item_pending_access_review_instances_item_stages_item_stop_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_stop_request_builder.go @@ -34,7 +34,7 @@ func NewItemPendingAccessReviewInstancesItemStagesItemStopRequestBuilder(rawUrl // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewstage-stop?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewstage-stop?view=graph-rest-beta func (m *ItemPendingAccessReviewInstancesItemStagesItemStopRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemStagesItemStopRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_pending_access_review_instances_item_stages_request_builder.go b/users/item_pending_access_review_instances_item_stages_request_builder.go index 01636ab3127..b3ac79f8751 100644 --- a/users/item_pending_access_review_instances_item_stages_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemPendingAccessReviewInstancesItemStagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemPendingAccessReviewInstancesItemStagesRequestBuilderGetQueryParameters retrieve the stages in a multi-stage access review instance. +// ItemPendingAccessReviewInstancesItemStagesRequestBuilderGetQueryParameters if the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. type ItemPendingAccessReviewInstancesItemStagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *ItemPendingAccessReviewInstancesItemStagesRequestBuilder) Count()(*Item func (m *ItemPendingAccessReviewInstancesItemStagesRequestBuilder) FilterByCurrentUserWithOn(on *string)(*ItemPendingAccessReviewInstancesItemStagesFilterByCurrentUserWithOnRequestBuilder) { return NewItemPendingAccessReviewInstancesItemStagesFilterByCurrentUserWithOnRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, on) } -// Get retrieve the stages in a multi-stage access review instance. +// Get if the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. // returns a AccessReviewStageCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-list-stages?view=graph-rest-1.0 func (m *ItemPendingAccessReviewInstancesItemStagesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemStagesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewStageCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesRequestBuilder) Post(ctx cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewStageable), nil } -// ToGetRequestInformation retrieve the stages in a multi-stage access review instance. +// ToGetRequestInformation if the instance has multiple stages, this returns the collection of stages. A new stage will only be created when the previous stage ends. The existence, number, and settings of stages on a review instance are created based on the accessReviewStageSettings on the parent accessReviewScheduleDefinition. // returns a *RequestInformation when successful func (m *ItemPendingAccessReviewInstancesItemStagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemStagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_pending_access_review_instances_item_stop_request_builder.go b/users/item_pending_access_review_instances_item_stop_request_builder.go index 51bd5d03516..b94db1cab6e 100644 --- a/users/item_pending_access_review_instances_item_stop_request_builder.go +++ b/users/item_pending_access_review_instances_item_stop_request_builder.go @@ -34,7 +34,7 @@ func NewItemPendingAccessReviewInstancesItemStopRequestBuilder(rawUrl string, re // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-stop?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-stop?view=graph-rest-beta func (m *ItemPendingAccessReviewInstancesItemStopRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesItemStopRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_pending_access_review_instances_request_builder.go b/users/item_pending_access_review_instances_request_builder.go index e22f7a59e26..d7943ea2a74 100644 --- a/users/item_pending_access_review_instances_request_builder.go +++ b/users/item_pending_access_review_instances_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemPendingAccessReviewInstancesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemPendingAccessReviewInstancesRequestBuilderGetQueryParameters retrieve the accessReviewInstance objects pending approval by the calling user. A list of zero or more accessReviewInstance objects are returned, of which the calling user is an assigned reviewer. +// ItemPendingAccessReviewInstancesRequestBuilderGetQueryParameters navigation property to get a list of access reviews pending approval by the reviewer. type ItemPendingAccessReviewInstancesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *ItemPendingAccessReviewInstancesRequestBuilder) Count()(*ItemPendingAcc func (m *ItemPendingAccessReviewInstancesRequestBuilder) FilterByCurrentUserWithOn(on *string)(*ItemPendingAccessReviewInstancesFilterByCurrentUserWithOnRequestBuilder) { return NewItemPendingAccessReviewInstancesFilterByCurrentUserWithOnRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, on) } -// Get retrieve the accessReviewInstance objects pending approval by the calling user. A list of zero or more accessReviewInstance objects are returned, of which the calling user is an assigned reviewer. +// Get navigation property to get a list of access reviews pending approval by the reviewer. // returns a AccessReviewInstanceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/accessreviewinstance-pendingaccessreviewinstances?view=graph-rest-1.0 func (m *ItemPendingAccessReviewInstancesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewInstanceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemPendingAccessReviewInstancesRequestBuilder) Post(ctx context.Contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewInstanceable), nil } -// ToGetRequestInformation retrieve the accessReviewInstance objects pending approval by the calling user. A list of zero or more accessReviewInstance objects are returned, of which the calling user is an assigned reviewer. +// ToGetRequestInformation navigation property to get a list of access reviews pending approval by the reviewer. // returns a *RequestInformation when successful func (m *ItemPendingAccessReviewInstancesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPendingAccessReviewInstancesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_people_request_builder.go b/users/item_people_request_builder.go index 235c1ee7ab8..c8198add15c 100644 --- a/users/item_people_request_builder.go +++ b/users/item_people_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemPeopleRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemPeopleRequestBuilderGetQueryParameters retrieve a list of person objects ordered by their relevance to the user, which is determined by the user's communication and collaboration patterns, and business relationships. +// ItemPeopleRequestBuilderGetQueryParameters read-only. The most relevant people to the user. The collection is ordered by their relevance to the user, which is determined by the user's communication, collaboration, and business relationships. A person aggregates information from mail, contacts, and social networks. type ItemPeopleRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -67,12 +67,9 @@ func NewItemPeopleRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263 func (m *ItemPeopleRequestBuilder) Count()(*ItemPeopleCountRequestBuilder) { return NewItemPeopleCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of person objects ordered by their relevance to the user, which is determined by the user's communication and collaboration patterns, and business relationships. +// Get read-only. The most relevant people to the user. The collection is ordered by their relevance to the user, which is determined by the user's communication, collaboration, and business relationships. A person aggregates information from mail, contacts, and social networks. // returns a PersonCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/user-list-people?view=graph-rest-1.0 func (m *ItemPeopleRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPeopleRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -90,7 +87,7 @@ func (m *ItemPeopleRequestBuilder) Get(ctx context.Context, requestConfiguration } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonCollectionResponseable), nil } -// ToGetRequestInformation retrieve a list of person objects ordered by their relevance to the user, which is determined by the user's communication and collaboration patterns, and business relationships. +// ToGetRequestInformation read-only. The most relevant people to the user. The collection is ordered by their relevance to the user, which is determined by the user's communication, collaboration, and business relationships. A person aggregates information from mail, contacts, and social networks. // returns a *RequestInformation when successful func (m *ItemPeopleRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPeopleRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_permission_grants_request_builder.go b/users/item_permission_grants_request_builder.go index 562d2f328be..8945570cce9 100644 --- a/users/item_permission_grants_request_builder.go +++ b/users/item_permission_grants_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemPermissionGrantsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemPermissionGrantsRequestBuilderGetQueryParameters list all resource-specific permission grants of a user. This list specifies the Microsoft Entra apps that have access to the user, along with the corresponding kind of resource-specific access that each app has. +// ItemPermissionGrantsRequestBuilderGetQueryParameters list all resource-specific permission grants of a user. type ItemPermissionGrantsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ 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 of a user. This list specifies the Microsoft Entra apps that have access to the user, along with the corresponding kind of resource-specific access that each app has. +// Get list all resource-specific permission grants of a user. // returns a ResourceSpecificPermissionGrantCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/user-list-permissiongrants?view=graph-rest-1.0 func (m *ItemPermissionGrantsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPermissionGrantsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ResourceSpecificPermissionGrantCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemPermissionGrantsRequestBuilder) Post(ctx context.Context, body ie23 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ResourceSpecificPermissionGrantable), nil } -// ToGetRequestInformation list all resource-specific permission grants of a user. This list specifies the Microsoft Entra apps that have access to the user, along with the corresponding kind of resource-specific access that each app has. +// ToGetRequestInformation list all resource-specific permission grants of a user. // 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/users/item_planner_all_delta_request_builder.go b/users/item_planner_all_delta_request_builder.go index 966b7da5be9..35cb707fe0e 100644 --- a/users/item_planner_all_delta_request_builder.go +++ b/users/item_planner_all_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemPlannerAllDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemPlannerAllDeltaRequestBuilderGetQueryParameters invoke function delta +// ItemPlannerAllDeltaRequestBuilderGetQueryParameters retrieves changes to objects that the user is subscribed to. This method allows your application to track changes to objects that the user can access from within Planner over time. The return value of this method might contain heterogeneous types of objects from Planner. For more information about tracking changes in Microsoft Graph data, see Use delta query to track changes in Microsoft Graph data. type ItemPlannerAllDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewItemPlannerAllDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187 urlParams["request-raw-url"] = rawUrl return NewItemPlannerAllDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get retrieves changes to objects that the user is subscribed to. This method allows your application to track changes to objects that the user can access from within Planner over time. The return value of this method might contain heterogeneous types of objects from Planner. For more information about tracking changes in Microsoft Graph data, see Use delta query to track changes in Microsoft Graph data. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemPlannerAllDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/planneruser-list-delta?view=graph-rest-beta func (m *ItemPlannerAllDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPlannerAllDeltaRequestBuilderGetRequestConfiguration)(ItemPlannerAllDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ItemPlannerAllDeltaRequestBuilder) Get(ctx context.Context, requestConf } return res.(ItemPlannerAllDeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse retrieves changes to objects that the user is subscribed to. This method allows your application to track changes to objects that the user can access from within Planner over time. The return value of this method might contain heterogeneous types of objects from Planner. For more information about tracking changes in Microsoft Graph data, see Use delta query to track changes in Microsoft Graph data. // returns a ItemPlannerAllDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/planneruser-list-delta?view=graph-rest-beta func (m *ItemPlannerAllDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemPlannerAllDeltaRequestBuilderGetRequestConfiguration)(ItemPlannerAllDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ItemPlannerAllDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Co } return res.(ItemPlannerAllDeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation retrieves changes to objects that the user is subscribed to. This method allows your application to track changes to objects that the user can access from within Planner over time. The return value of this method might contain heterogeneous types of objects from Planner. For more information about tracking changes in Microsoft Graph data, see Use delta query to track changes in Microsoft Graph data. // returns a *RequestInformation when successful func (m *ItemPlannerAllDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPlannerAllDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_planner_favorite_plans_request_builder.go b/users/item_planner_favorite_plans_request_builder.go index 39fc48bff9f..95d23a8d6de 100644 --- a/users/item_planner_favorite_plans_request_builder.go +++ b/users/item_planner_favorite_plans_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemPlannerFavoritePlansRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemPlannerFavoritePlansRequestBuilderGetQueryParameters retrieve a list of plannerPlans that are marked as favorite by a user. You can mark a plan as favorite by updating the plannerUser resource. +// ItemPlannerFavoritePlansRequestBuilderGetQueryParameters read-only. Nullable. Returns the plannerPlans that the user marked as favorites. type ItemPlannerFavoritePlansRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewItemPlannerFavoritePlansRequestBuilder(rawUrl string, requestAdapter i2a func (m *ItemPlannerFavoritePlansRequestBuilder) Count()(*ItemPlannerFavoritePlansCountRequestBuilder) { return NewItemPlannerFavoritePlansCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of plannerPlans that are marked as favorite by a user. You can mark a plan as favorite by updating the plannerUser resource. +// Get read-only. Nullable. Returns the plannerPlans that the user marked as favorites. // returns a PlannerPlanCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/planneruser-list-favoriteplans?view=graph-rest-1.0 func (m *ItemPlannerFavoritePlansRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPlannerFavoritePlansRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *ItemPlannerFavoritePlansRequestBuilder) Get(ctx context.Context, reques } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanCollectionResponseable), nil } -// ToGetRequestInformation retrieve a list of plannerPlans that are marked as favorite by a user. You can mark a plan as favorite by updating the plannerUser resource. +// ToGetRequestInformation read-only. Nullable. Returns the plannerPlans that the user marked as favorites. // returns a *RequestInformation when successful func (m *ItemPlannerFavoritePlansRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPlannerFavoritePlansRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_planner_plans_delta_request_builder.go b/users/item_planner_plans_delta_request_builder.go index 7ae1c2bab6d..48e11081629 100644 --- a/users/item_planner_plans_delta_request_builder.go +++ b/users/item_planner_plans_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemPlannerPlansDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemPlannerPlansDeltaRequestBuilderGetQueryParameters invoke function delta +// ItemPlannerPlansDeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted Planner plans in either a group or a Planner roster without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. type ItemPlannerPlansDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewItemPlannerPlansDeltaRequestBuilder(rawUrl string, requestAdapter i2ae41 urlParams["request-raw-url"] = rawUrl return NewItemPlannerPlansDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get get newly created, updated, or deleted Planner plans in either a group or a Planner roster without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemPlannerPlansDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/plannerplan-delta?view=graph-rest-beta func (m *ItemPlannerPlansDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPlannerPlansDeltaRequestBuilderGetRequestConfiguration)(ItemPlannerPlansDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ItemPlannerPlansDeltaRequestBuilder) Get(ctx context.Context, requestCo } return res.(ItemPlannerPlansDeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse get newly created, updated, or deleted Planner plans in either a group or a Planner roster without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. // returns a ItemPlannerPlansDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/plannerplan-delta?view=graph-rest-beta func (m *ItemPlannerPlansDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemPlannerPlansDeltaRequestBuilderGetRequestConfiguration)(ItemPlannerPlansDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ItemPlannerPlansDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context. } return res.(ItemPlannerPlansDeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation get newly created, updated, or deleted Planner plans in either a group or a Planner roster without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. // returns a *RequestInformation when successful func (m *ItemPlannerPlansDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPlannerPlansDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_planner_plans_item_buckets_delta_request_builder.go b/users/item_planner_plans_item_buckets_delta_request_builder.go index 64ee19050f8..a5ed46bac31 100644 --- a/users/item_planner_plans_item_buckets_delta_request_builder.go +++ b/users/item_planner_plans_item_buckets_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemPlannerPlansItemBucketsDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemPlannerPlansItemBucketsDeltaRequestBuilderGetQueryParameters invoke function delta +// ItemPlannerPlansItemBucketsDeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted buckets in a Planner plan without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. type ItemPlannerPlansItemBucketsDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewItemPlannerPlansItemBucketsDeltaRequestBuilder(rawUrl string, requestAda urlParams["request-raw-url"] = rawUrl return NewItemPlannerPlansItemBucketsDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get get newly created, updated, or deleted buckets in a Planner plan without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemPlannerPlansItemBucketsDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/plannerbucket-delta?view=graph-rest-beta func (m *ItemPlannerPlansItemBucketsDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPlannerPlansItemBucketsDeltaRequestBuilderGetRequestConfiguration)(ItemPlannerPlansItemBucketsDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ItemPlannerPlansItemBucketsDeltaRequestBuilder) Get(ctx context.Context } return res.(ItemPlannerPlansItemBucketsDeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse get newly created, updated, or deleted buckets in a Planner plan without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. // returns a ItemPlannerPlansItemBucketsDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/plannerbucket-delta?view=graph-rest-beta func (m *ItemPlannerPlansItemBucketsDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemPlannerPlansItemBucketsDeltaRequestBuilderGetRequestConfiguration)(ItemPlannerPlansItemBucketsDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ItemPlannerPlansItemBucketsDeltaRequestBuilder) GetAsDeltaGetResponse(c } return res.(ItemPlannerPlansItemBucketsDeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation get newly created, updated, or deleted buckets in a Planner plan without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. // returns a *RequestInformation when successful func (m *ItemPlannerPlansItemBucketsDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPlannerPlansItemBucketsDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_planner_plans_item_buckets_item_tasks_delta_request_builder.go b/users/item_planner_plans_item_buckets_item_tasks_delta_request_builder.go index 35db83aa718..9141de37ee5 100644 --- a/users/item_planner_plans_item_buckets_item_tasks_delta_request_builder.go +++ b/users/item_planner_plans_item_buckets_item_tasks_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemPlannerPlansItemBucketsItemTasksDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemPlannerPlansItemBucketsItemTasksDeltaRequestBuilderGetQueryParameters invoke function delta +// ItemPlannerPlansItemBucketsItemTasksDeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted tasks in either a Planner plan or assigned to the signed-in user without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. type ItemPlannerPlansItemBucketsItemTasksDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewItemPlannerPlansItemBucketsItemTasksDeltaRequestBuilder(rawUrl string, r urlParams["request-raw-url"] = rawUrl return NewItemPlannerPlansItemBucketsItemTasksDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get get newly created, updated, or deleted tasks in either a Planner plan or assigned to the signed-in user without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemPlannerPlansItemBucketsItemTasksDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/plannertask-delta?view=graph-rest-beta func (m *ItemPlannerPlansItemBucketsItemTasksDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPlannerPlansItemBucketsItemTasksDeltaRequestBuilderGetRequestConfiguration)(ItemPlannerPlansItemBucketsItemTasksDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ItemPlannerPlansItemBucketsItemTasksDeltaRequestBuilder) Get(ctx contex } return res.(ItemPlannerPlansItemBucketsItemTasksDeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse get newly created, updated, or deleted tasks in either a Planner plan or assigned to the signed-in user without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. // returns a ItemPlannerPlansItemBucketsItemTasksDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/plannertask-delta?view=graph-rest-beta func (m *ItemPlannerPlansItemBucketsItemTasksDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemPlannerPlansItemBucketsItemTasksDeltaRequestBuilderGetRequestConfiguration)(ItemPlannerPlansItemBucketsItemTasksDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksDeltaRequestBuilder) GetAsDeltaGetR } return res.(ItemPlannerPlansItemBucketsItemTasksDeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation get newly created, updated, or deleted tasks in either a Planner plan or assigned to the signed-in user without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. // returns a *RequestInformation when successful func (m *ItemPlannerPlansItemBucketsItemTasksDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPlannerPlansItemBucketsItemTasksDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_planner_plans_item_buckets_item_tasks_item_assigned_to_task_board_format_request_builder.go b/users/item_planner_plans_item_buckets_item_tasks_item_assigned_to_task_board_format_request_builder.go index 3addc0a8ddf..b4495292e6c 100644 --- a/users/item_planner_plans_item_buckets_item_tasks_item_assigned_to_task_board_format_request_builder.go +++ b/users/item_planner_plans_item_buckets_item_tasks_item_assigned_to_task_board_format_request_builder.go @@ -18,7 +18,7 @@ type ItemPlannerPlansItemBucketsItemTasksItemAssignedToTaskBoardFormatRequestBui // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemPlannerPlansItemBucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilderGetQueryParameters retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. +// ItemPlannerPlansItemBucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilderGetQueryParameters read-only. Nullable. Used to render the task correctly in the task board view when grouped by assignedTo. type ItemPlannerPlansItemBucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemPlannerPlansItemBucketsItemTasksItemAssignedToTaskBoardFormatReques } return nil } -// Get retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. +// Get read-only. Nullable. Used to render the task correctly in the task board view when grouped by assignedTo. // returns a PlannerAssignedToTaskBoardTaskFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerassignedtotaskboardtaskformat-get?view=graph-rest-1.0 func (m *ItemPlannerPlansItemBucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPlannerPlansItemBucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerAssignedToTaskBoardTaskFormatable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,9 +93,6 @@ func (m *ItemPlannerPlansItemBucketsItemTasksItemAssignedToTaskBoardFormatReques // Patch update the navigation property assignedToTaskBoardFormat in users // returns a PlannerAssignedToTaskBoardTaskFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerassignedtotaskboardtaskformat-update?view=graph-rest-1.0 func (m *ItemPlannerPlansItemBucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerAssignedToTaskBoardTaskFormatable, requestConfiguration *ItemPlannerPlansItemBucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerAssignedToTaskBoardTaskFormatable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksItemAssignedToTaskBoardFormatReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. +// ToGetRequestInformation read-only. Nullable. Used to render the task correctly in the task board view when grouped by assignedTo. // returns a *RequestInformation when successful func (m *ItemPlannerPlansItemBucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPlannerPlansItemBucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_planner_plans_item_buckets_item_tasks_item_bucket_task_board_format_request_builder.go b/users/item_planner_plans_item_buckets_item_tasks_item_bucket_task_board_format_request_builder.go index ba0744c875c..371cf85d0fc 100644 --- a/users/item_planner_plans_item_buckets_item_tasks_item_bucket_task_board_format_request_builder.go +++ b/users/item_planner_plans_item_buckets_item_tasks_item_bucket_task_board_format_request_builder.go @@ -18,7 +18,7 @@ type ItemPlannerPlansItemBucketsItemTasksItemBucketTaskBoardFormatRequestBuilder // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemPlannerPlansItemBucketsItemTasksItemBucketTaskBoardFormatRequestBuilderGetQueryParameters retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. +// ItemPlannerPlansItemBucketsItemTasksItemBucketTaskBoardFormatRequestBuilderGetQueryParameters read-only. Nullable. Used to render the task correctly in the task board view when grouped by bucket. type ItemPlannerPlansItemBucketsItemTasksItemBucketTaskBoardFormatRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemPlannerPlansItemBucketsItemTasksItemBucketTaskBoardFormatRequestBui } return nil } -// Get retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. +// Get read-only. Nullable. Used to render the task correctly in the task board view when grouped by bucket. // returns a PlannerBucketTaskBoardTaskFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerbuckettaskboardtaskformat-get?view=graph-rest-1.0 func (m *ItemPlannerPlansItemBucketsItemTasksItemBucketTaskBoardFormatRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPlannerPlansItemBucketsItemTasksItemBucketTaskBoardFormatRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerBucketTaskBoardTaskFormatable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,9 +93,6 @@ func (m *ItemPlannerPlansItemBucketsItemTasksItemBucketTaskBoardFormatRequestBui // Patch update the navigation property bucketTaskBoardFormat in users // returns a PlannerBucketTaskBoardTaskFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerbuckettaskboardtaskformat-update?view=graph-rest-1.0 func (m *ItemPlannerPlansItemBucketsItemTasksItemBucketTaskBoardFormatRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerBucketTaskBoardTaskFormatable, requestConfiguration *ItemPlannerPlansItemBucketsItemTasksItemBucketTaskBoardFormatRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerBucketTaskBoardTaskFormatable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksItemBucketTaskBoardFormatRequestBui requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. +// ToGetRequestInformation read-only. Nullable. Used to render the task correctly in the task board view when grouped by bucket. // returns a *RequestInformation when successful func (m *ItemPlannerPlansItemBucketsItemTasksItemBucketTaskBoardFormatRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPlannerPlansItemBucketsItemTasksItemBucketTaskBoardFormatRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_planner_plans_item_buckets_item_tasks_item_details_request_builder.go b/users/item_planner_plans_item_buckets_item_tasks_item_details_request_builder.go index 53870416a4c..8810c23d61f 100644 --- a/users/item_planner_plans_item_buckets_item_tasks_item_details_request_builder.go +++ b/users/item_planner_plans_item_buckets_item_tasks_item_details_request_builder.go @@ -18,7 +18,7 @@ type ItemPlannerPlansItemBucketsItemTasksItemDetailsRequestBuilderDeleteRequestC // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemPlannerPlansItemBucketsItemTasksItemDetailsRequestBuilderGetQueryParameters retrieve the properties and relationships of a plannerTaskDetails object. +// ItemPlannerPlansItemBucketsItemTasksItemDetailsRequestBuilderGetQueryParameters read-only. Nullable. More details about the task. type ItemPlannerPlansItemBucketsItemTasksItemDetailsRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemPlannerPlansItemBucketsItemTasksItemDetailsRequestBuilder) Delete(c } return nil } -// Get retrieve the properties and relationships of a plannerTaskDetails object. +// Get read-only. Nullable. More details about the task. // returns a PlannerTaskDetailsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannertaskdetails-get?view=graph-rest-1.0 func (m *ItemPlannerPlansItemBucketsItemTasksItemDetailsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPlannerPlansItemBucketsItemTasksItemDetailsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskDetailsable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,9 +93,6 @@ func (m *ItemPlannerPlansItemBucketsItemTasksItemDetailsRequestBuilder) Get(ctx // Patch update the navigation property details in users // returns a PlannerTaskDetailsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannertaskdetails-update?view=graph-rest-1.0 func (m *ItemPlannerPlansItemBucketsItemTasksItemDetailsRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskDetailsable, requestConfiguration *ItemPlannerPlansItemBucketsItemTasksItemDetailsRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskDetailsable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksItemDetailsRequestBuilder) ToDelete requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a plannerTaskDetails object. +// ToGetRequestInformation read-only. Nullable. More details about the task. // returns a *RequestInformation when successful func (m *ItemPlannerPlansItemBucketsItemTasksItemDetailsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPlannerPlansItemBucketsItemTasksItemDetailsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_planner_plans_item_buckets_item_tasks_item_progress_task_board_format_request_builder.go b/users/item_planner_plans_item_buckets_item_tasks_item_progress_task_board_format_request_builder.go index 6c0af55ea10..5c47721438e 100644 --- a/users/item_planner_plans_item_buckets_item_tasks_item_progress_task_board_format_request_builder.go +++ b/users/item_planner_plans_item_buckets_item_tasks_item_progress_task_board_format_request_builder.go @@ -18,7 +18,7 @@ type ItemPlannerPlansItemBucketsItemTasksItemProgressTaskBoardFormatRequestBuild // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemPlannerPlansItemBucketsItemTasksItemProgressTaskBoardFormatRequestBuilderGetQueryParameters retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. +// ItemPlannerPlansItemBucketsItemTasksItemProgressTaskBoardFormatRequestBuilderGetQueryParameters read-only. Nullable. Used to render the task correctly in the task board view when grouped by progress. type ItemPlannerPlansItemBucketsItemTasksItemProgressTaskBoardFormatRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemPlannerPlansItemBucketsItemTasksItemProgressTaskBoardFormatRequestB } return nil } -// Get retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. +// Get read-only. Nullable. Used to render the task correctly in the task board view when grouped by progress. // returns a PlannerProgressTaskBoardTaskFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerprogresstaskboardtaskformat-get?view=graph-rest-1.0 func (m *ItemPlannerPlansItemBucketsItemTasksItemProgressTaskBoardFormatRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPlannerPlansItemBucketsItemTasksItemProgressTaskBoardFormatRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerProgressTaskBoardTaskFormatable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,9 +93,6 @@ func (m *ItemPlannerPlansItemBucketsItemTasksItemProgressTaskBoardFormatRequestB // Patch update the navigation property progressTaskBoardFormat in users // returns a PlannerProgressTaskBoardTaskFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerprogresstaskboardtaskformat-update?view=graph-rest-1.0 func (m *ItemPlannerPlansItemBucketsItemTasksItemProgressTaskBoardFormatRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerProgressTaskBoardTaskFormatable, requestConfiguration *ItemPlannerPlansItemBucketsItemTasksItemProgressTaskBoardFormatRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerProgressTaskBoardTaskFormatable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksItemProgressTaskBoardFormatRequestB requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. +// ToGetRequestInformation read-only. Nullable. Used to render the task correctly in the task board view when grouped by progress. // returns a *RequestInformation when successful func (m *ItemPlannerPlansItemBucketsItemTasksItemProgressTaskBoardFormatRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPlannerPlansItemBucketsItemTasksItemProgressTaskBoardFormatRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_planner_plans_item_buckets_item_tasks_request_builder.go b/users/item_planner_plans_item_buckets_item_tasks_request_builder.go index 4d51fa95e40..6d00b660171 100644 --- a/users/item_planner_plans_item_buckets_item_tasks_request_builder.go +++ b/users/item_planner_plans_item_buckets_item_tasks_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemPlannerPlansItemBucketsItemTasksRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemPlannerPlansItemBucketsItemTasksRequestBuilderGetQueryParameters retrieve a list of plannerTask objects associated to a plannerBucket object. +// ItemPlannerPlansItemBucketsItemTasksRequestBuilderGetQueryParameters read-only. Nullable. The collection of tasks in the bucket. type ItemPlannerPlansItemBucketsItemTasksRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *ItemPlannerPlansItemBucketsItemTasksRequestBuilder) Count()(*ItemPlanne func (m *ItemPlannerPlansItemBucketsItemTasksRequestBuilder) Delta()(*ItemPlannerPlansItemBucketsItemTasksDeltaRequestBuilder) { return NewItemPlannerPlansItemBucketsItemTasksDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of plannerTask objects associated to a plannerBucket object. +// Get read-only. Nullable. The collection of tasks in the bucket. // returns a PlannerTaskCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerbucket-list-tasks?view=graph-rest-1.0 func (m *ItemPlannerPlansItemBucketsItemTasksRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPlannerPlansItemBucketsItemTasksRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksRequestBuilder) Post(ctx context.Co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskable), nil } -// ToGetRequestInformation retrieve a list of plannerTask objects associated to a plannerBucket object. +// ToGetRequestInformation read-only. Nullable. The collection of tasks in the bucket. // returns a *RequestInformation when successful func (m *ItemPlannerPlansItemBucketsItemTasksRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPlannerPlansItemBucketsItemTasksRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_planner_plans_item_buckets_request_builder.go b/users/item_planner_plans_item_buckets_request_builder.go index 9186d59304d..6fbbdde3ea3 100644 --- a/users/item_planner_plans_item_buckets_request_builder.go +++ b/users/item_planner_plans_item_buckets_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemPlannerPlansItemBucketsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemPlannerPlansItemBucketsRequestBuilderGetQueryParameters retrieve a list of plannerBucket objects contained by a plannerPlan object. +// ItemPlannerPlansItemBucketsRequestBuilderGetQueryParameters collection of buckets in the plan. Read-only. Nullable. type ItemPlannerPlansItemBucketsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *ItemPlannerPlansItemBucketsRequestBuilder) Count()(*ItemPlannerPlansIte func (m *ItemPlannerPlansItemBucketsRequestBuilder) Delta()(*ItemPlannerPlansItemBucketsDeltaRequestBuilder) { return NewItemPlannerPlansItemBucketsDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of plannerBucket objects contained by a plannerPlan object. +// Get collection of buckets in the plan. Read-only. Nullable. // returns a PlannerBucketCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerplan-list-buckets?view=graph-rest-1.0 func (m *ItemPlannerPlansItemBucketsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPlannerPlansItemBucketsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerBucketCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemPlannerPlansItemBucketsRequestBuilder) Post(ctx context.Context, bo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerBucketable), nil } -// ToGetRequestInformation retrieve a list of plannerBucket objects contained by a plannerPlan object. +// ToGetRequestInformation collection of buckets in the plan. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemPlannerPlansItemBucketsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPlannerPlansItemBucketsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_planner_plans_item_details_request_builder.go b/users/item_planner_plans_item_details_request_builder.go index d5870738bc6..389a3954779 100644 --- a/users/item_planner_plans_item_details_request_builder.go +++ b/users/item_planner_plans_item_details_request_builder.go @@ -18,7 +18,7 @@ type ItemPlannerPlansItemDetailsRequestBuilderDeleteRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemPlannerPlansItemDetailsRequestBuilderGetQueryParameters retrieve the properties and relationships of a plannerPlanDetails object. +// ItemPlannerPlansItemDetailsRequestBuilderGetQueryParameters extra details about the plan. Read-only. Nullable. type ItemPlannerPlansItemDetailsRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemPlannerPlansItemDetailsRequestBuilder) Delete(ctx context.Context, } return nil } -// Get retrieve the properties and relationships of a plannerPlanDetails object. +// Get extra details about the plan. Read-only. Nullable. // returns a PlannerPlanDetailsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerplandetails-get?view=graph-rest-1.0 func (m *ItemPlannerPlansItemDetailsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPlannerPlansItemDetailsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanDetailsable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,9 +93,6 @@ func (m *ItemPlannerPlansItemDetailsRequestBuilder) Get(ctx context.Context, req // Patch update the navigation property details in users // returns a PlannerPlanDetailsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerplandetails-update?view=graph-rest-1.0 func (m *ItemPlannerPlansItemDetailsRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanDetailsable, requestConfiguration *ItemPlannerPlansItemDetailsRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanDetailsable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemPlannerPlansItemDetailsRequestBuilder) ToDeleteRequestInformation(c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a plannerPlanDetails object. +// ToGetRequestInformation extra details about the plan. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemPlannerPlansItemDetailsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPlannerPlansItemDetailsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_planner_plans_item_move_to_container_request_builder.go b/users/item_planner_plans_item_move_to_container_request_builder.go index 78a713c58fa..ac14693e9bc 100644 --- a/users/item_planner_plans_item_move_to_container_request_builder.go +++ b/users/item_planner_plans_item_move_to_container_request_builder.go @@ -36,7 +36,7 @@ func NewItemPlannerPlansItemMoveToContainerRequestBuilder(rawUrl string, request // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerplan-movetocontainer?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/plannerplan-movetocontainer?view=graph-rest-beta func (m *ItemPlannerPlansItemMoveToContainerRequestBuilder) Post(ctx context.Context, body ItemPlannerPlansItemMoveToContainerPostRequestBodyable, requestConfiguration *ItemPlannerPlansItemMoveToContainerRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_planner_plans_item_tasks_delta_request_builder.go b/users/item_planner_plans_item_tasks_delta_request_builder.go index f5589cf87e7..822e6d0e940 100644 --- a/users/item_planner_plans_item_tasks_delta_request_builder.go +++ b/users/item_planner_plans_item_tasks_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemPlannerPlansItemTasksDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemPlannerPlansItemTasksDeltaRequestBuilderGetQueryParameters invoke function delta +// ItemPlannerPlansItemTasksDeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted tasks in either a Planner plan or assigned to the signed-in user without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. type ItemPlannerPlansItemTasksDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewItemPlannerPlansItemTasksDeltaRequestBuilder(rawUrl string, requestAdapt urlParams["request-raw-url"] = rawUrl return NewItemPlannerPlansItemTasksDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get get newly created, updated, or deleted tasks in either a Planner plan or assigned to the signed-in user without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemPlannerPlansItemTasksDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/plannertask-delta?view=graph-rest-beta func (m *ItemPlannerPlansItemTasksDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPlannerPlansItemTasksDeltaRequestBuilderGetRequestConfiguration)(ItemPlannerPlansItemTasksDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ItemPlannerPlansItemTasksDeltaRequestBuilder) Get(ctx context.Context, } return res.(ItemPlannerPlansItemTasksDeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse get newly created, updated, or deleted tasks in either a Planner plan or assigned to the signed-in user without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. // returns a ItemPlannerPlansItemTasksDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/plannertask-delta?view=graph-rest-beta func (m *ItemPlannerPlansItemTasksDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemPlannerPlansItemTasksDeltaRequestBuilderGetRequestConfiguration)(ItemPlannerPlansItemTasksDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ItemPlannerPlansItemTasksDeltaRequestBuilder) GetAsDeltaGetResponse(ctx } return res.(ItemPlannerPlansItemTasksDeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation get newly created, updated, or deleted tasks in either a Planner plan or assigned to the signed-in user without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. // returns a *RequestInformation when successful func (m *ItemPlannerPlansItemTasksDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPlannerPlansItemTasksDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_planner_plans_item_tasks_item_assigned_to_task_board_format_request_builder.go b/users/item_planner_plans_item_tasks_item_assigned_to_task_board_format_request_builder.go index 551a1fa4e99..a5ab60fd962 100644 --- a/users/item_planner_plans_item_tasks_item_assigned_to_task_board_format_request_builder.go +++ b/users/item_planner_plans_item_tasks_item_assigned_to_task_board_format_request_builder.go @@ -18,7 +18,7 @@ type ItemPlannerPlansItemTasksItemAssignedToTaskBoardFormatRequestBuilderDeleteR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemPlannerPlansItemTasksItemAssignedToTaskBoardFormatRequestBuilderGetQueryParameters retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. +// ItemPlannerPlansItemTasksItemAssignedToTaskBoardFormatRequestBuilderGetQueryParameters read-only. Nullable. Used to render the task correctly in the task board view when grouped by assignedTo. type ItemPlannerPlansItemTasksItemAssignedToTaskBoardFormatRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemPlannerPlansItemTasksItemAssignedToTaskBoardFormatRequestBuilder) D } return nil } -// Get retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. +// Get read-only. Nullable. Used to render the task correctly in the task board view when grouped by assignedTo. // returns a PlannerAssignedToTaskBoardTaskFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerassignedtotaskboardtaskformat-get?view=graph-rest-1.0 func (m *ItemPlannerPlansItemTasksItemAssignedToTaskBoardFormatRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPlannerPlansItemTasksItemAssignedToTaskBoardFormatRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerAssignedToTaskBoardTaskFormatable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,9 +93,6 @@ func (m *ItemPlannerPlansItemTasksItemAssignedToTaskBoardFormatRequestBuilder) G // Patch update the navigation property assignedToTaskBoardFormat in users // returns a PlannerAssignedToTaskBoardTaskFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerassignedtotaskboardtaskformat-update?view=graph-rest-1.0 func (m *ItemPlannerPlansItemTasksItemAssignedToTaskBoardFormatRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerAssignedToTaskBoardTaskFormatable, requestConfiguration *ItemPlannerPlansItemTasksItemAssignedToTaskBoardFormatRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerAssignedToTaskBoardTaskFormatable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemPlannerPlansItemTasksItemAssignedToTaskBoardFormatRequestBuilder) T requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. +// ToGetRequestInformation read-only. Nullable. Used to render the task correctly in the task board view when grouped by assignedTo. // returns a *RequestInformation when successful func (m *ItemPlannerPlansItemTasksItemAssignedToTaskBoardFormatRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPlannerPlansItemTasksItemAssignedToTaskBoardFormatRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_planner_plans_item_tasks_item_bucket_task_board_format_request_builder.go b/users/item_planner_plans_item_tasks_item_bucket_task_board_format_request_builder.go index a4872e307c7..0914780a325 100644 --- a/users/item_planner_plans_item_tasks_item_bucket_task_board_format_request_builder.go +++ b/users/item_planner_plans_item_tasks_item_bucket_task_board_format_request_builder.go @@ -18,7 +18,7 @@ type ItemPlannerPlansItemTasksItemBucketTaskBoardFormatRequestBuilderDeleteReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemPlannerPlansItemTasksItemBucketTaskBoardFormatRequestBuilderGetQueryParameters retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. +// ItemPlannerPlansItemTasksItemBucketTaskBoardFormatRequestBuilderGetQueryParameters read-only. Nullable. Used to render the task correctly in the task board view when grouped by bucket. type ItemPlannerPlansItemTasksItemBucketTaskBoardFormatRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemPlannerPlansItemTasksItemBucketTaskBoardFormatRequestBuilder) Delet } return nil } -// Get retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. +// Get read-only. Nullable. Used to render the task correctly in the task board view when grouped by bucket. // returns a PlannerBucketTaskBoardTaskFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerbuckettaskboardtaskformat-get?view=graph-rest-1.0 func (m *ItemPlannerPlansItemTasksItemBucketTaskBoardFormatRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPlannerPlansItemTasksItemBucketTaskBoardFormatRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerBucketTaskBoardTaskFormatable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,9 +93,6 @@ func (m *ItemPlannerPlansItemTasksItemBucketTaskBoardFormatRequestBuilder) Get(c // Patch update the navigation property bucketTaskBoardFormat in users // returns a PlannerBucketTaskBoardTaskFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerbuckettaskboardtaskformat-update?view=graph-rest-1.0 func (m *ItemPlannerPlansItemTasksItemBucketTaskBoardFormatRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerBucketTaskBoardTaskFormatable, requestConfiguration *ItemPlannerPlansItemTasksItemBucketTaskBoardFormatRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerBucketTaskBoardTaskFormatable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemPlannerPlansItemTasksItemBucketTaskBoardFormatRequestBuilder) ToDel requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. +// ToGetRequestInformation read-only. Nullable. Used to render the task correctly in the task board view when grouped by bucket. // returns a *RequestInformation when successful func (m *ItemPlannerPlansItemTasksItemBucketTaskBoardFormatRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPlannerPlansItemTasksItemBucketTaskBoardFormatRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_planner_plans_item_tasks_item_details_request_builder.go b/users/item_planner_plans_item_tasks_item_details_request_builder.go index 5e0d53ba65b..bfcd7fb1690 100644 --- a/users/item_planner_plans_item_tasks_item_details_request_builder.go +++ b/users/item_planner_plans_item_tasks_item_details_request_builder.go @@ -18,7 +18,7 @@ type ItemPlannerPlansItemTasksItemDetailsRequestBuilderDeleteRequestConfiguratio // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemPlannerPlansItemTasksItemDetailsRequestBuilderGetQueryParameters retrieve the properties and relationships of a plannerTaskDetails object. +// ItemPlannerPlansItemTasksItemDetailsRequestBuilderGetQueryParameters read-only. Nullable. More details about the task. type ItemPlannerPlansItemTasksItemDetailsRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemPlannerPlansItemTasksItemDetailsRequestBuilder) Delete(ctx context. } return nil } -// Get retrieve the properties and relationships of a plannerTaskDetails object. +// Get read-only. Nullable. More details about the task. // returns a PlannerTaskDetailsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannertaskdetails-get?view=graph-rest-1.0 func (m *ItemPlannerPlansItemTasksItemDetailsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPlannerPlansItemTasksItemDetailsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskDetailsable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,9 +93,6 @@ func (m *ItemPlannerPlansItemTasksItemDetailsRequestBuilder) Get(ctx context.Con // Patch update the navigation property details in users // returns a PlannerTaskDetailsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannertaskdetails-update?view=graph-rest-1.0 func (m *ItemPlannerPlansItemTasksItemDetailsRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskDetailsable, requestConfiguration *ItemPlannerPlansItemTasksItemDetailsRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskDetailsable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemPlannerPlansItemTasksItemDetailsRequestBuilder) ToDeleteRequestInfo requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a plannerTaskDetails object. +// ToGetRequestInformation read-only. Nullable. More details about the task. // returns a *RequestInformation when successful func (m *ItemPlannerPlansItemTasksItemDetailsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPlannerPlansItemTasksItemDetailsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_planner_plans_item_tasks_item_progress_task_board_format_request_builder.go b/users/item_planner_plans_item_tasks_item_progress_task_board_format_request_builder.go index d20f200affe..848e8ac56cd 100644 --- a/users/item_planner_plans_item_tasks_item_progress_task_board_format_request_builder.go +++ b/users/item_planner_plans_item_tasks_item_progress_task_board_format_request_builder.go @@ -18,7 +18,7 @@ type ItemPlannerPlansItemTasksItemProgressTaskBoardFormatRequestBuilderDeleteReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemPlannerPlansItemTasksItemProgressTaskBoardFormatRequestBuilderGetQueryParameters retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. +// ItemPlannerPlansItemTasksItemProgressTaskBoardFormatRequestBuilderGetQueryParameters read-only. Nullable. Used to render the task correctly in the task board view when grouped by progress. type ItemPlannerPlansItemTasksItemProgressTaskBoardFormatRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemPlannerPlansItemTasksItemProgressTaskBoardFormatRequestBuilder) Del } return nil } -// Get retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. +// Get read-only. Nullable. Used to render the task correctly in the task board view when grouped by progress. // returns a PlannerProgressTaskBoardTaskFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerprogresstaskboardtaskformat-get?view=graph-rest-1.0 func (m *ItemPlannerPlansItemTasksItemProgressTaskBoardFormatRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPlannerPlansItemTasksItemProgressTaskBoardFormatRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerProgressTaskBoardTaskFormatable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,9 +93,6 @@ func (m *ItemPlannerPlansItemTasksItemProgressTaskBoardFormatRequestBuilder) Get // Patch update the navigation property progressTaskBoardFormat in users // returns a PlannerProgressTaskBoardTaskFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerprogresstaskboardtaskformat-update?view=graph-rest-1.0 func (m *ItemPlannerPlansItemTasksItemProgressTaskBoardFormatRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerProgressTaskBoardTaskFormatable, requestConfiguration *ItemPlannerPlansItemTasksItemProgressTaskBoardFormatRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerProgressTaskBoardTaskFormatable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemPlannerPlansItemTasksItemProgressTaskBoardFormatRequestBuilder) ToD requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. +// ToGetRequestInformation read-only. Nullable. Used to render the task correctly in the task board view when grouped by progress. // returns a *RequestInformation when successful func (m *ItemPlannerPlansItemTasksItemProgressTaskBoardFormatRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPlannerPlansItemTasksItemProgressTaskBoardFormatRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_planner_plans_item_tasks_request_builder.go b/users/item_planner_plans_item_tasks_request_builder.go index ed7e01cc45c..a5db8180d5b 100644 --- a/users/item_planner_plans_item_tasks_request_builder.go +++ b/users/item_planner_plans_item_tasks_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemPlannerPlansItemTasksRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemPlannerPlansItemTasksRequestBuilderGetQueryParameters retrieve a list of plannerTask objects associated with a plannerPlan object. +// ItemPlannerPlansItemTasksRequestBuilderGetQueryParameters collection of tasks in the plan. Read-only. Nullable. type ItemPlannerPlansItemTasksRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *ItemPlannerPlansItemTasksRequestBuilder) Count()(*ItemPlannerPlansItemT func (m *ItemPlannerPlansItemTasksRequestBuilder) Delta()(*ItemPlannerPlansItemTasksDeltaRequestBuilder) { return NewItemPlannerPlansItemTasksDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of plannerTask objects associated with a plannerPlan object. +// Get collection of tasks in the plan. Read-only. Nullable. // returns a PlannerTaskCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerplan-list-tasks?view=graph-rest-1.0 func (m *ItemPlannerPlansItemTasksRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPlannerPlansItemTasksRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemPlannerPlansItemTasksRequestBuilder) Post(ctx context.Context, body } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskable), nil } -// ToGetRequestInformation retrieve a list of plannerTask objects associated with a plannerPlan object. +// ToGetRequestInformation collection of tasks in the plan. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemPlannerPlansItemTasksRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPlannerPlansItemTasksRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_planner_plans_request_builder.go b/users/item_planner_plans_request_builder.go index f6b8f7ccfbc..42059a83dc3 100644 --- a/users/item_planner_plans_request_builder.go +++ b/users/item_planner_plans_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemPlannerPlansRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemPlannerPlansRequestBuilderGetQueryParameters retrieve a list of plannerplan objects shared with a user object. +// ItemPlannerPlansRequestBuilderGetQueryParameters get plans from users type ItemPlannerPlansRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *ItemPlannerPlansRequestBuilder) Count()(*ItemPlannerPlansCountRequestBu func (m *ItemPlannerPlansRequestBuilder) Delta()(*ItemPlannerPlansDeltaRequestBuilder) { return NewItemPlannerPlansDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of plannerplan objects shared with a user object. +// Get get plans from users // returns a PlannerPlanCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/planneruser-list-plans?view=graph-rest-1.0 func (m *ItemPlannerPlansRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPlannerPlansRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemPlannerPlansRequestBuilder) Post(ctx context.Context, body ie233ee7 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanable), nil } -// ToGetRequestInformation retrieve a list of plannerplan objects shared with a user object. +// ToGetRequestInformation get plans from users // returns a *RequestInformation when successful func (m *ItemPlannerPlansRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPlannerPlansRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_planner_recent_plans_request_builder.go b/users/item_planner_recent_plans_request_builder.go index 55abfe815f1..c380cd4430b 100644 --- a/users/item_planner_recent_plans_request_builder.go +++ b/users/item_planner_recent_plans_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemPlannerRecentPlansRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemPlannerRecentPlansRequestBuilderGetQueryParameters retrieve a list of plannerPlans recently viewed by a user. You can update recently viewed plans by updating the plannerUser resource. +// ItemPlannerRecentPlansRequestBuilderGetQueryParameters read-only. Nullable. Returns the plannerPlans that have been recently viewed by the user in apps that support recent plans. type ItemPlannerRecentPlansRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewItemPlannerRecentPlansRequestBuilder(rawUrl string, requestAdapter i2ae4 func (m *ItemPlannerRecentPlansRequestBuilder) Count()(*ItemPlannerRecentPlansCountRequestBuilder) { return NewItemPlannerRecentPlansCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of plannerPlans recently viewed by a user. You can update recently viewed plans by updating the plannerUser resource. +// Get read-only. Nullable. Returns the plannerPlans that have been recently viewed by the user in apps that support recent plans. // returns a PlannerPlanCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/planneruser-list-recentplans?view=graph-rest-1.0 func (m *ItemPlannerRecentPlansRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPlannerRecentPlansRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *ItemPlannerRecentPlansRequestBuilder) Get(ctx context.Context, requestC } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanCollectionResponseable), nil } -// ToGetRequestInformation retrieve a list of plannerPlans recently viewed by a user. You can update recently viewed plans by updating the plannerUser resource. +// ToGetRequestInformation read-only. Nullable. Returns the plannerPlans that have been recently viewed by the user in apps that support recent plans. // returns a *RequestInformation when successful func (m *ItemPlannerRecentPlansRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPlannerRecentPlansRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_planner_request_builder.go b/users/item_planner_request_builder.go index 70e07870204..3fb6960b347 100644 --- a/users/item_planner_request_builder.go +++ b/users/item_planner_request_builder.go @@ -18,7 +18,7 @@ type ItemPlannerRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemPlannerRequestBuilderGetQueryParameters retrieve the properties and relationships of a plannerUser object. The returned properties include the user's favorite plans and recently viewed plans. +// ItemPlannerRequestBuilderGetQueryParameters selective Planner services available to the user. Read-only. Nullable. type ItemPlannerRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -80,12 +80,9 @@ func (m *ItemPlannerRequestBuilder) Delete(ctx context.Context, requestConfigura func (m *ItemPlannerRequestBuilder) FavoritePlans()(*ItemPlannerFavoritePlansRequestBuilder) { return NewItemPlannerFavoritePlansRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties and relationships of a plannerUser object. The returned properties include the user's favorite plans and recently viewed plans. +// Get selective Planner services available to the user. Read-only. Nullable. // returns a PlannerUserable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/planneruser-get?view=graph-rest-1.0 func (m *ItemPlannerRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPlannerRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerUserable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -111,9 +108,6 @@ func (m *ItemPlannerRequestBuilder) MyDayTasks()(*ItemPlannerMyDayTasksRequestBu // Patch update the navigation property planner in users // returns a PlannerUserable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/planneruser-update?view=graph-rest-1.0 func (m *ItemPlannerRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerUserable, requestConfiguration *ItemPlannerRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerUserable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -162,7 +156,7 @@ func (m *ItemPlannerRequestBuilder) ToDeleteRequestInformation(ctx context.Conte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a plannerUser object. The returned properties include the user's favorite plans and recently viewed plans. +// ToGetRequestInformation selective Planner services available to the user. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemPlannerRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPlannerRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_planner_roster_plans_request_builder.go b/users/item_planner_roster_plans_request_builder.go index 01eb2dcba74..a8a15ed24cb 100644 --- a/users/item_planner_roster_plans_request_builder.go +++ b/users/item_planner_roster_plans_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemPlannerRosterPlansRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemPlannerRosterPlansRequestBuilderGetQueryParameters get the list of plannerPlans that are contained by the plannerRosters of which the user is a member. +// ItemPlannerRosterPlansRequestBuilderGetQueryParameters read-only. Nullable. Returns the plannerPlans contained by the plannerRosters the user is a member. type ItemPlannerRosterPlansRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewItemPlannerRosterPlansRequestBuilder(rawUrl string, requestAdapter i2ae4 func (m *ItemPlannerRosterPlansRequestBuilder) Count()(*ItemPlannerRosterPlansCountRequestBuilder) { return NewItemPlannerRosterPlansCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of plannerPlans that are contained by the plannerRosters of which the user is a member. +// Get read-only. Nullable. Returns the plannerPlans contained by the plannerRosters the user is a member. // returns a PlannerPlanCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/planneruser-list-rosterplans?view=graph-rest-1.0 func (m *ItemPlannerRosterPlansRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPlannerRosterPlansRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *ItemPlannerRosterPlansRequestBuilder) Get(ctx context.Context, requestC } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerPlanCollectionResponseable), nil } -// ToGetRequestInformation get the list of plannerPlans that are contained by the plannerRosters of which the user is a member. +// ToGetRequestInformation read-only. Nullable. Returns the plannerPlans contained by the plannerRosters the user is a member. // returns a *RequestInformation when successful func (m *ItemPlannerRosterPlansRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPlannerRosterPlansRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_planner_tasks_delta_request_builder.go b/users/item_planner_tasks_delta_request_builder.go index 7c2b46c652a..67a09897c67 100644 --- a/users/item_planner_tasks_delta_request_builder.go +++ b/users/item_planner_tasks_delta_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemPlannerTasksDeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemPlannerTasksDeltaRequestBuilderGetQueryParameters invoke function delta +// ItemPlannerTasksDeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted tasks in either a Planner plan or assigned to the signed-in user without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. type ItemPlannerTasksDeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewItemPlannerTasksDeltaRequestBuilder(rawUrl string, requestAdapter i2ae41 urlParams["request-raw-url"] = rawUrl return NewItemPlannerTasksDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get invoke function delta +// Get get newly created, updated, or deleted tasks in either a Planner plan or assigned to the signed-in user without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a ItemPlannerTasksDeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/plannertask-delta?view=graph-rest-beta func (m *ItemPlannerTasksDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPlannerTasksDeltaRequestBuilderGetRequestConfiguration)(ItemPlannerTasksDeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ItemPlannerTasksDeltaRequestBuilder) Get(ctx context.Context, requestCo } return res.(ItemPlannerTasksDeltaResponseable), nil } -// GetAsDeltaGetResponse invoke function delta +// GetAsDeltaGetResponse get newly created, updated, or deleted tasks in either a Planner plan or assigned to the signed-in user without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. // returns a ItemPlannerTasksDeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/plannertask-delta?view=graph-rest-beta func (m *ItemPlannerTasksDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *ItemPlannerTasksDeltaRequestBuilderGetRequestConfiguration)(ItemPlannerTasksDeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ItemPlannerTasksDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context. } return res.(ItemPlannerTasksDeltaGetResponseable), nil } -// ToGetRequestInformation invoke function delta +// ToGetRequestInformation get newly created, updated, or deleted tasks in either a Planner plan or assigned to the signed-in user without having to perform a full read of the entire resource collection. For details, see Use delta query to track changes in Microsoft Graph data. // returns a *RequestInformation when successful func (m *ItemPlannerTasksDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPlannerTasksDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_planner_tasks_item_assigned_to_task_board_format_request_builder.go b/users/item_planner_tasks_item_assigned_to_task_board_format_request_builder.go index b73e8474dcb..5a5c6c69153 100644 --- a/users/item_planner_tasks_item_assigned_to_task_board_format_request_builder.go +++ b/users/item_planner_tasks_item_assigned_to_task_board_format_request_builder.go @@ -18,7 +18,7 @@ type ItemPlannerTasksItemAssignedToTaskBoardFormatRequestBuilderDeleteRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemPlannerTasksItemAssignedToTaskBoardFormatRequestBuilderGetQueryParameters retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. +// ItemPlannerTasksItemAssignedToTaskBoardFormatRequestBuilderGetQueryParameters read-only. Nullable. Used to render the task correctly in the task board view when grouped by assignedTo. type ItemPlannerTasksItemAssignedToTaskBoardFormatRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemPlannerTasksItemAssignedToTaskBoardFormatRequestBuilder) Delete(ctx } return nil } -// Get retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. +// Get read-only. Nullable. Used to render the task correctly in the task board view when grouped by assignedTo. // returns a PlannerAssignedToTaskBoardTaskFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerassignedtotaskboardtaskformat-get?view=graph-rest-1.0 func (m *ItemPlannerTasksItemAssignedToTaskBoardFormatRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPlannerTasksItemAssignedToTaskBoardFormatRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerAssignedToTaskBoardTaskFormatable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,9 +93,6 @@ func (m *ItemPlannerTasksItemAssignedToTaskBoardFormatRequestBuilder) Get(ctx co // Patch update the navigation property assignedToTaskBoardFormat in users // returns a PlannerAssignedToTaskBoardTaskFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerassignedtotaskboardtaskformat-update?view=graph-rest-1.0 func (m *ItemPlannerTasksItemAssignedToTaskBoardFormatRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerAssignedToTaskBoardTaskFormatable, requestConfiguration *ItemPlannerTasksItemAssignedToTaskBoardFormatRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerAssignedToTaskBoardTaskFormatable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemPlannerTasksItemAssignedToTaskBoardFormatRequestBuilder) ToDeleteRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. +// ToGetRequestInformation read-only. Nullable. Used to render the task correctly in the task board view when grouped by assignedTo. // returns a *RequestInformation when successful func (m *ItemPlannerTasksItemAssignedToTaskBoardFormatRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPlannerTasksItemAssignedToTaskBoardFormatRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_planner_tasks_item_bucket_task_board_format_request_builder.go b/users/item_planner_tasks_item_bucket_task_board_format_request_builder.go index 543bec7a036..f6c76384b29 100644 --- a/users/item_planner_tasks_item_bucket_task_board_format_request_builder.go +++ b/users/item_planner_tasks_item_bucket_task_board_format_request_builder.go @@ -18,7 +18,7 @@ type ItemPlannerTasksItemBucketTaskBoardFormatRequestBuilderDeleteRequestConfigu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemPlannerTasksItemBucketTaskBoardFormatRequestBuilderGetQueryParameters retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. +// ItemPlannerTasksItemBucketTaskBoardFormatRequestBuilderGetQueryParameters read-only. Nullable. Used to render the task correctly in the task board view when grouped by bucket. type ItemPlannerTasksItemBucketTaskBoardFormatRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemPlannerTasksItemBucketTaskBoardFormatRequestBuilder) Delete(ctx con } return nil } -// Get retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. +// Get read-only. Nullable. Used to render the task correctly in the task board view when grouped by bucket. // returns a PlannerBucketTaskBoardTaskFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerbuckettaskboardtaskformat-get?view=graph-rest-1.0 func (m *ItemPlannerTasksItemBucketTaskBoardFormatRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPlannerTasksItemBucketTaskBoardFormatRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerBucketTaskBoardTaskFormatable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,9 +93,6 @@ func (m *ItemPlannerTasksItemBucketTaskBoardFormatRequestBuilder) Get(ctx contex // Patch update the navigation property bucketTaskBoardFormat in users // returns a PlannerBucketTaskBoardTaskFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerbuckettaskboardtaskformat-update?view=graph-rest-1.0 func (m *ItemPlannerTasksItemBucketTaskBoardFormatRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerBucketTaskBoardTaskFormatable, requestConfiguration *ItemPlannerTasksItemBucketTaskBoardFormatRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerBucketTaskBoardTaskFormatable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemPlannerTasksItemBucketTaskBoardFormatRequestBuilder) ToDeleteReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. +// ToGetRequestInformation read-only. Nullable. Used to render the task correctly in the task board view when grouped by bucket. // returns a *RequestInformation when successful func (m *ItemPlannerTasksItemBucketTaskBoardFormatRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPlannerTasksItemBucketTaskBoardFormatRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_planner_tasks_item_details_request_builder.go b/users/item_planner_tasks_item_details_request_builder.go index 1efa0c3b04d..0965fc166e8 100644 --- a/users/item_planner_tasks_item_details_request_builder.go +++ b/users/item_planner_tasks_item_details_request_builder.go @@ -18,7 +18,7 @@ type ItemPlannerTasksItemDetailsRequestBuilderDeleteRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemPlannerTasksItemDetailsRequestBuilderGetQueryParameters retrieve the properties and relationships of a plannerTaskDetails object. +// ItemPlannerTasksItemDetailsRequestBuilderGetQueryParameters read-only. Nullable. More details about the task. type ItemPlannerTasksItemDetailsRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemPlannerTasksItemDetailsRequestBuilder) Delete(ctx context.Context, } return nil } -// Get retrieve the properties and relationships of a plannerTaskDetails object. +// Get read-only. Nullable. More details about the task. // returns a PlannerTaskDetailsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannertaskdetails-get?view=graph-rest-1.0 func (m *ItemPlannerTasksItemDetailsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPlannerTasksItemDetailsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskDetailsable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,9 +93,6 @@ func (m *ItemPlannerTasksItemDetailsRequestBuilder) Get(ctx context.Context, req // Patch update the navigation property details in users // returns a PlannerTaskDetailsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannertaskdetails-update?view=graph-rest-1.0 func (m *ItemPlannerTasksItemDetailsRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskDetailsable, requestConfiguration *ItemPlannerTasksItemDetailsRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskDetailsable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemPlannerTasksItemDetailsRequestBuilder) ToDeleteRequestInformation(c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a plannerTaskDetails object. +// ToGetRequestInformation read-only. Nullable. More details about the task. // returns a *RequestInformation when successful func (m *ItemPlannerTasksItemDetailsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPlannerTasksItemDetailsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_planner_tasks_item_progress_task_board_format_request_builder.go b/users/item_planner_tasks_item_progress_task_board_format_request_builder.go index efb2ba1a66d..43b4a9b5540 100644 --- a/users/item_planner_tasks_item_progress_task_board_format_request_builder.go +++ b/users/item_planner_tasks_item_progress_task_board_format_request_builder.go @@ -18,7 +18,7 @@ type ItemPlannerTasksItemProgressTaskBoardFormatRequestBuilderDeleteRequestConfi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemPlannerTasksItemProgressTaskBoardFormatRequestBuilderGetQueryParameters retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. +// ItemPlannerTasksItemProgressTaskBoardFormatRequestBuilderGetQueryParameters read-only. Nullable. Used to render the task correctly in the task board view when grouped by progress. type ItemPlannerTasksItemProgressTaskBoardFormatRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemPlannerTasksItemProgressTaskBoardFormatRequestBuilder) Delete(ctx c } return nil } -// Get retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. +// Get read-only. Nullable. Used to render the task correctly in the task board view when grouped by progress. // returns a PlannerProgressTaskBoardTaskFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerprogresstaskboardtaskformat-get?view=graph-rest-1.0 func (m *ItemPlannerTasksItemProgressTaskBoardFormatRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPlannerTasksItemProgressTaskBoardFormatRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerProgressTaskBoardTaskFormatable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,9 +93,6 @@ func (m *ItemPlannerTasksItemProgressTaskBoardFormatRequestBuilder) Get(ctx cont // Patch update the navigation property progressTaskBoardFormat in users // returns a PlannerProgressTaskBoardTaskFormatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/plannerprogresstaskboardtaskformat-update?view=graph-rest-1.0 func (m *ItemPlannerTasksItemProgressTaskBoardFormatRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerProgressTaskBoardTaskFormatable, requestConfiguration *ItemPlannerTasksItemProgressTaskBoardFormatRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerProgressTaskBoardTaskFormatable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemPlannerTasksItemProgressTaskBoardFormatRequestBuilder) ToDeleteRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. +// ToGetRequestInformation read-only. Nullable. Used to render the task correctly in the task board view when grouped by progress. // returns a *RequestInformation when successful func (m *ItemPlannerTasksItemProgressTaskBoardFormatRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPlannerTasksItemProgressTaskBoardFormatRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_planner_tasks_request_builder.go b/users/item_planner_tasks_request_builder.go index 11a03cc585e..8ae983a9944 100644 --- a/users/item_planner_tasks_request_builder.go +++ b/users/item_planner_tasks_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemPlannerTasksRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemPlannerTasksRequestBuilderGetQueryParameters retrieve a list of plannertask objects assigned to a User. +// ItemPlannerTasksRequestBuilderGetQueryParameters read-only. Nullable. Returns the plannerTasks assigned to the user. type ItemPlannerTasksRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *ItemPlannerTasksRequestBuilder) Count()(*ItemPlannerTasksCountRequestBu func (m *ItemPlannerTasksRequestBuilder) Delta()(*ItemPlannerTasksDeltaRequestBuilder) { return NewItemPlannerTasksDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of plannertask objects assigned to a User. +// Get read-only. Nullable. Returns the plannerTasks assigned to the user. // returns a PlannerTaskCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/planneruser-list-tasks?view=graph-rest-1.0 func (m *ItemPlannerTasksRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPlannerTasksRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemPlannerTasksRequestBuilder) Post(ctx context.Context, body ie233ee7 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PlannerTaskable), nil } -// ToGetRequestInformation retrieve a list of plannertask objects assigned to a User. +// ToGetRequestInformation read-only. Nullable. Returns the plannerTasks assigned to the user. // returns a *RequestInformation when successful func (m *ItemPlannerTasksRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPlannerTasksRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_presence_clear_presence_request_builder.go b/users/item_presence_clear_presence_request_builder.go index 61574401374..aeb19509d04 100644 --- a/users/item_presence_clear_presence_request_builder.go +++ b/users/item_presence_clear_presence_request_builder.go @@ -34,7 +34,7 @@ func NewItemPresenceClearPresenceRequestBuilder(rawUrl string, requestAdapter i2 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/presence-clearpresence?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/presence-clearpresence?view=graph-rest-beta func (m *ItemPresenceClearPresenceRequestBuilder) Post(ctx context.Context, body ItemPresenceClearPresencePostRequestBodyable, requestConfiguration *ItemPresenceClearPresenceRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_presence_clear_user_preferred_presence_request_builder.go b/users/item_presence_clear_user_preferred_presence_request_builder.go index ea6f9efc216..aaeea7115d3 100644 --- a/users/item_presence_clear_user_preferred_presence_request_builder.go +++ b/users/item_presence_clear_user_preferred_presence_request_builder.go @@ -34,7 +34,7 @@ func NewItemPresenceClearUserPreferredPresenceRequestBuilder(rawUrl string, requ // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/presence-clearuserpreferredpresence?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/presence-clearuserpreferredpresence?view=graph-rest-beta func (m *ItemPresenceClearUserPreferredPresenceRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemPresenceClearUserPreferredPresenceRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_presence_request_builder.go b/users/item_presence_request_builder.go index bd38265e8e9..59171c81b10 100644 --- a/users/item_presence_request_builder.go +++ b/users/item_presence_request_builder.go @@ -18,7 +18,7 @@ type ItemPresenceRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemPresenceRequestBuilderGetQueryParameters get a user's presence information. +// ItemPresenceRequestBuilderGetQueryParameters get presence from users type ItemPresenceRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -80,12 +80,9 @@ func (m *ItemPresenceRequestBuilder) Delete(ctx context.Context, requestConfigur } return nil } -// Get get a user's presence information. +// Get get presence from users // returns a Presenceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/presence-get?view=graph-rest-1.0 func (m *ItemPresenceRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPresenceRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Presenceable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -149,7 +146,7 @@ func (m *ItemPresenceRequestBuilder) ToDeleteRequestInformation(ctx context.Cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a user's presence information. +// ToGetRequestInformation get presence from users // returns a *RequestInformation when successful func (m *ItemPresenceRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPresenceRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_presence_set_presence_request_builder.go b/users/item_presence_set_presence_request_builder.go index fcebaa95a61..49d645b5d84 100644 --- a/users/item_presence_set_presence_request_builder.go +++ b/users/item_presence_set_presence_request_builder.go @@ -34,7 +34,7 @@ func NewItemPresenceSetPresenceRequestBuilder(rawUrl string, requestAdapter i2ae // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/presence-setpresence?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/presence-setpresence?view=graph-rest-beta func (m *ItemPresenceSetPresenceRequestBuilder) Post(ctx context.Context, body ItemPresenceSetPresencePostRequestBodyable, requestConfiguration *ItemPresenceSetPresenceRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_presence_set_status_message_request_builder.go b/users/item_presence_set_status_message_request_builder.go index e786fe708d0..fa982fe0ae0 100644 --- a/users/item_presence_set_status_message_request_builder.go +++ b/users/item_presence_set_status_message_request_builder.go @@ -34,7 +34,7 @@ func NewItemPresenceSetStatusMessageRequestBuilder(rawUrl string, requestAdapter // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/presence-setstatusmessage?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/presence-setstatusmessage?view=graph-rest-beta func (m *ItemPresenceSetStatusMessageRequestBuilder) Post(ctx context.Context, body ItemPresenceSetStatusMessagePostRequestBodyable, requestConfiguration *ItemPresenceSetStatusMessageRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_presence_set_user_preferred_presence_request_builder.go b/users/item_presence_set_user_preferred_presence_request_builder.go index 537e40d6564..bc3356c1cbf 100644 --- a/users/item_presence_set_user_preferred_presence_request_builder.go +++ b/users/item_presence_set_user_preferred_presence_request_builder.go @@ -34,7 +34,7 @@ func NewItemPresenceSetUserPreferredPresenceRequestBuilder(rawUrl string, reques // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/presence-setuserpreferredpresence?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/presence-setuserpreferredpresence?view=graph-rest-beta func (m *ItemPresenceSetUserPreferredPresenceRequestBuilder) Post(ctx context.Context, body ItemPresenceSetUserPreferredPresencePostRequestBodyable, requestConfiguration *ItemPresenceSetUserPreferredPresenceRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_profile_account_request_builder.go b/users/item_profile_account_request_builder.go index 40c154f61c9..daa2ba3c5d6 100644 --- a/users/item_profile_account_request_builder.go +++ b/users/item_profile_account_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemProfileAccountRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemProfileAccountRequestBuilderGetQueryParameters retrieves properties related to the user's accounts from the profile. +// ItemProfileAccountRequestBuilderGetQueryParameters get account from users type ItemProfileAccountRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemProfileAccountRequestBuilder(rawUrl string, requestAdapter i2ae4187f func (m *ItemProfileAccountRequestBuilder) Count()(*ItemProfileAccountCountRequestBuilder) { return NewItemProfileAccountCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieves properties related to the user's accounts from the profile. +// Get get account from users // returns a UserAccountInformationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/profile-list-accounts?view=graph-rest-1.0 func (m *ItemProfileAccountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemProfileAccountRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserAccountInformationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemProfileAccountRequestBuilder) Get(ctx context.Context, requestConfi } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserAccountInformationCollectionResponseable), nil } -// Post create a new userAccountInformation object in a user's profile. +// Post create new navigation property to account for users // returns a UserAccountInformationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/profile-post-accounts?view=graph-rest-1.0 func (m *ItemProfileAccountRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserAccountInformationable, requestConfiguration *ItemProfileAccountRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserAccountInformationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemProfileAccountRequestBuilder) Post(ctx context.Context, body ie233e } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserAccountInformationable), nil } -// ToGetRequestInformation retrieves properties related to the user's accounts from the profile. +// ToGetRequestInformation get account from users // returns a *RequestInformation when successful func (m *ItemProfileAccountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemProfileAccountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemProfileAccountRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new userAccountInformation object in a user's profile. +// ToPostRequestInformation create new navigation property to account for users // returns a *RequestInformation when successful func (m *ItemProfileAccountRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserAccountInformationable, requestConfiguration *ItemProfileAccountRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_profile_account_user_account_information_item_request_builder.go b/users/item_profile_account_user_account_information_item_request_builder.go index eaca65c0808..955101b2792 100644 --- a/users/item_profile_account_user_account_information_item_request_builder.go +++ b/users/item_profile_account_user_account_information_item_request_builder.go @@ -18,7 +18,7 @@ type ItemProfileAccountUserAccountInformationItemRequestBuilderDeleteRequestConf // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemProfileAccountUserAccountInformationItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an userAccountInformation object in a user's profile. +// ItemProfileAccountUserAccountInformationItemRequestBuilderGetQueryParameters get account from users type ItemProfileAccountUserAccountInformationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemProfileAccountUserAccountInformationItemRequestBuilder(rawUrl string urlParams["request-raw-url"] = rawUrl return NewItemProfileAccountUserAccountInformationItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an userAccountInformation object from a user's profile. +// Delete delete navigation property account for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/useraccountinformation-delete?view=graph-rest-1.0 func (m *ItemProfileAccountUserAccountInformationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemProfileAccountUserAccountInformationItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemProfileAccountUserAccountInformationItemRequestBuilder) Delete(ctx } return nil } -// Get retrieve the properties and relationships of an userAccountInformation object in a user's profile. +// Get get account from users // returns a UserAccountInformationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/useraccountinformation-get?view=graph-rest-1.0 func (m *ItemProfileAccountUserAccountInformationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemProfileAccountUserAccountInformationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserAccountInformationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ItemProfileAccountUserAccountInformationItemRequestBuilder) Get(ctx con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserAccountInformationable), nil } -// Patch update the properties of an userAccountInformation object in a user's profile. +// Patch update the navigation property account in users // returns a UserAccountInformationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/useraccountinformation-update?view=graph-rest-1.0 func (m *ItemProfileAccountUserAccountInformationItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserAccountInformationable, requestConfiguration *ItemProfileAccountUserAccountInformationItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserAccountInformationable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *ItemProfileAccountUserAccountInformationItemRequestBuilder) Patch(ctx c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserAccountInformationable), nil } -// ToDeleteRequestInformation delete an userAccountInformation object from a user's profile. +// ToDeleteRequestInformation delete navigation property account for users // returns a *RequestInformation when successful func (m *ItemProfileAccountUserAccountInformationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemProfileAccountUserAccountInformationItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *ItemProfileAccountUserAccountInformationItemRequestBuilder) ToDeleteReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of an userAccountInformation object in a user's profile. +// ToGetRequestInformation get account from users // returns a *RequestInformation when successful func (m *ItemProfileAccountUserAccountInformationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemProfileAccountUserAccountInformationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *ItemProfileAccountUserAccountInformationItemRequestBuilder) ToGetReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an userAccountInformation object in a user's profile. +// ToPatchRequestInformation update the navigation property account in users // returns a *RequestInformation when successful func (m *ItemProfileAccountUserAccountInformationItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserAccountInformationable, requestConfiguration *ItemProfileAccountUserAccountInformationItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_profile_addresses_item_address_item_request_builder.go b/users/item_profile_addresses_item_address_item_request_builder.go index 2eb0284ef88..bfe78ad3893 100644 --- a/users/item_profile_addresses_item_address_item_request_builder.go +++ b/users/item_profile_addresses_item_address_item_request_builder.go @@ -18,7 +18,7 @@ type ItemProfileAddressesItemAddressItemRequestBuilderDeleteRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemProfileAddressesItemAddressItemRequestBuilderGetQueryParameters read the properties and relationships of an itemAddress object. +// ItemProfileAddressesItemAddressItemRequestBuilderGetQueryParameters represents details of addresses associated with the user. type ItemProfileAddressesItemAddressItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemProfileAddressesItemAddressItemRequestBuilder(rawUrl string, request urlParams["request-raw-url"] = rawUrl return NewItemProfileAddressesItemAddressItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes an itemAddress object. +// Delete delete navigation property addresses for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/itemaddress-delete?view=graph-rest-1.0 func (m *ItemProfileAddressesItemAddressItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemProfileAddressesItemAddressItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemProfileAddressesItemAddressItemRequestBuilder) Delete(ctx context.C } return nil } -// Get read the properties and relationships of an itemAddress object. +// Get represents details of addresses associated with the user. // returns a ItemAddressable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/itemaddress-get?view=graph-rest-1.0 func (m *ItemProfileAddressesItemAddressItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemProfileAddressesItemAddressItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemAddressable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ItemProfileAddressesItemAddressItemRequestBuilder) Get(ctx context.Cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemAddressable), nil } -// Patch update the properties of an itemAddress object. +// Patch update the navigation property addresses in users // returns a ItemAddressable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/itemaddress-update?view=graph-rest-1.0 func (m *ItemProfileAddressesItemAddressItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemAddressable, requestConfiguration *ItemProfileAddressesItemAddressItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemAddressable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *ItemProfileAddressesItemAddressItemRequestBuilder) Patch(ctx context.Co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemAddressable), nil } -// ToDeleteRequestInformation deletes an itemAddress object. +// ToDeleteRequestInformation delete navigation property addresses for users // returns a *RequestInformation when successful func (m *ItemProfileAddressesItemAddressItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemProfileAddressesItemAddressItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *ItemProfileAddressesItemAddressItemRequestBuilder) ToDeleteRequestInfor requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an itemAddress object. +// ToGetRequestInformation represents details of addresses associated with the user. // returns a *RequestInformation when successful func (m *ItemProfileAddressesItemAddressItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemProfileAddressesItemAddressItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *ItemProfileAddressesItemAddressItemRequestBuilder) ToGetRequestInformat requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an itemAddress object. +// ToPatchRequestInformation update the navigation property addresses in users // returns a *RequestInformation when successful func (m *ItemProfileAddressesItemAddressItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemAddressable, requestConfiguration *ItemProfileAddressesItemAddressItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_profile_addresses_request_builder.go b/users/item_profile_addresses_request_builder.go index 17898dd6fda..6765c83d59a 100644 --- a/users/item_profile_addresses_request_builder.go +++ b/users/item_profile_addresses_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemProfileAddressesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemProfileAddressesRequestBuilderGetQueryParameters get the itemAddress resources from the addresses navigation property. +// ItemProfileAddressesRequestBuilderGetQueryParameters represents details of addresses associated with the user. type ItemProfileAddressesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemProfileAddressesRequestBuilder(rawUrl string, requestAdapter i2ae418 func (m *ItemProfileAddressesRequestBuilder) Count()(*ItemProfileAddressesCountRequestBuilder) { return NewItemProfileAddressesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the itemAddress resources from the addresses navigation property. +// Get represents details of addresses associated with the user. // returns a ItemAddressCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/profile-list-addresses?view=graph-rest-1.0 func (m *ItemProfileAddressesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemProfileAddressesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemAddressCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemProfileAddressesRequestBuilder) Get(ctx context.Context, requestCon } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemAddressCollectionResponseable), nil } -// Post create a new itemAddress object in a user's profile. +// Post create new navigation property to addresses for users // returns a ItemAddressable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/profile-post-addresses?view=graph-rest-1.0 func (m *ItemProfileAddressesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemAddressable, requestConfiguration *ItemProfileAddressesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemAddressable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemProfileAddressesRequestBuilder) Post(ctx context.Context, body ie23 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemAddressable), nil } -// ToGetRequestInformation get the itemAddress resources from the addresses navigation property. +// ToGetRequestInformation represents details of addresses associated with the user. // returns a *RequestInformation when successful func (m *ItemProfileAddressesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemProfileAddressesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemProfileAddressesRequestBuilder) ToGetRequestInformation(ctx context requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new itemAddress object in a user's profile. +// ToPostRequestInformation create new navigation property to addresses for users // returns a *RequestInformation when successful func (m *ItemProfileAddressesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemAddressable, requestConfiguration *ItemProfileAddressesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_profile_anniversaries_person_annual_event_item_request_builder.go b/users/item_profile_anniversaries_person_annual_event_item_request_builder.go index 320119d7cf6..d1dc5e5952f 100644 --- a/users/item_profile_anniversaries_person_annual_event_item_request_builder.go +++ b/users/item_profile_anniversaries_person_annual_event_item_request_builder.go @@ -18,7 +18,7 @@ type ItemProfileAnniversariesPersonAnnualEventItemRequestBuilderDeleteRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemProfileAnniversariesPersonAnnualEventItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a personAnniversary object in a user's profile. +// ItemProfileAnniversariesPersonAnnualEventItemRequestBuilderGetQueryParameters represents the details of meaningful dates associated with a person. type ItemProfileAnniversariesPersonAnnualEventItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemProfileAnniversariesPersonAnnualEventItemRequestBuilder(rawUrl strin urlParams["request-raw-url"] = rawUrl return NewItemProfileAnniversariesPersonAnnualEventItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a personAnniversary object from the user's profile. +// Delete delete navigation property anniversaries for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/personanniversary-delete?view=graph-rest-1.0 func (m *ItemProfileAnniversariesPersonAnnualEventItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemProfileAnniversariesPersonAnnualEventItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemProfileAnniversariesPersonAnnualEventItemRequestBuilder) Delete(ctx } return nil } -// Get retrieve the properties and relationships of a personAnniversary object in a user's profile. +// Get represents the details of meaningful dates associated with a person. // returns a PersonAnnualEventable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/personanniversary-get?view=graph-rest-1.0 func (m *ItemProfileAnniversariesPersonAnnualEventItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemProfileAnniversariesPersonAnnualEventItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonAnnualEventable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ItemProfileAnniversariesPersonAnnualEventItemRequestBuilder) Get(ctx co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonAnnualEventable), nil } -// Patch update the properties of a personAnniversary object in a user's profile. +// Patch update the navigation property anniversaries in users // returns a PersonAnnualEventable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/personanniversary-update?view=graph-rest-1.0 func (m *ItemProfileAnniversariesPersonAnnualEventItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonAnnualEventable, requestConfiguration *ItemProfileAnniversariesPersonAnnualEventItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonAnnualEventable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *ItemProfileAnniversariesPersonAnnualEventItemRequestBuilder) Patch(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonAnnualEventable), nil } -// ToDeleteRequestInformation delete a personAnniversary object from the user's profile. +// ToDeleteRequestInformation delete navigation property anniversaries for users // returns a *RequestInformation when successful func (m *ItemProfileAnniversariesPersonAnnualEventItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemProfileAnniversariesPersonAnnualEventItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *ItemProfileAnniversariesPersonAnnualEventItemRequestBuilder) ToDeleteRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a personAnniversary object in a user's profile. +// ToGetRequestInformation represents the details of meaningful dates associated with a person. // returns a *RequestInformation when successful func (m *ItemProfileAnniversariesPersonAnnualEventItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemProfileAnniversariesPersonAnnualEventItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *ItemProfileAnniversariesPersonAnnualEventItemRequestBuilder) ToGetReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a personAnniversary object in a user's profile. +// ToPatchRequestInformation update the navigation property anniversaries in users // returns a *RequestInformation when successful func (m *ItemProfileAnniversariesPersonAnnualEventItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonAnnualEventable, requestConfiguration *ItemProfileAnniversariesPersonAnnualEventItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_profile_anniversaries_request_builder.go b/users/item_profile_anniversaries_request_builder.go index 46aef88dfc1..8dff1b8c95f 100644 --- a/users/item_profile_anniversaries_request_builder.go +++ b/users/item_profile_anniversaries_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemProfileAnniversariesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemProfileAnniversariesRequestBuilderGetQueryParameters retrieve a list of personAnniversary objects for the given user from their profile. +// ItemProfileAnniversariesRequestBuilderGetQueryParameters represents the details of meaningful dates associated with a person. type ItemProfileAnniversariesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemProfileAnniversariesRequestBuilder(rawUrl string, requestAdapter i2a func (m *ItemProfileAnniversariesRequestBuilder) Count()(*ItemProfileAnniversariesCountRequestBuilder) { return NewItemProfileAnniversariesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of personAnniversary objects for the given user from their profile. +// Get represents the details of meaningful dates associated with a person. // returns a PersonAnnualEventCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/profile-list-anniversaries?view=graph-rest-1.0 func (m *ItemProfileAnniversariesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemProfileAnniversariesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonAnnualEventCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemProfileAnniversariesRequestBuilder) Get(ctx context.Context, reques } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonAnnualEventCollectionResponseable), nil } -// Post use this API to create a new personAnniversary object in a user's profile. +// Post create new navigation property to anniversaries for users // returns a PersonAnnualEventable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/profile-post-anniversaries?view=graph-rest-1.0 func (m *ItemProfileAnniversariesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonAnnualEventable, requestConfiguration *ItemProfileAnniversariesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonAnnualEventable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemProfileAnniversariesRequestBuilder) Post(ctx context.Context, body } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonAnnualEventable), nil } -// ToGetRequestInformation retrieve a list of personAnniversary objects for the given user from their profile. +// ToGetRequestInformation represents the details of meaningful dates associated with a person. // returns a *RequestInformation when successful func (m *ItemProfileAnniversariesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemProfileAnniversariesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemProfileAnniversariesRequestBuilder) ToGetRequestInformation(ctx con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new personAnniversary object in a user's profile. +// ToPostRequestInformation create new navigation property to anniversaries for users // returns a *RequestInformation when successful func (m *ItemProfileAnniversariesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonAnnualEventable, requestConfiguration *ItemProfileAnniversariesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_profile_awards_person_award_item_request_builder.go b/users/item_profile_awards_person_award_item_request_builder.go index 98deeddd4e4..426a83a2dd6 100644 --- a/users/item_profile_awards_person_award_item_request_builder.go +++ b/users/item_profile_awards_person_award_item_request_builder.go @@ -18,7 +18,7 @@ type ItemProfileAwardsPersonAwardItemRequestBuilderDeleteRequestConfiguration st // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemProfileAwardsPersonAwardItemRequestBuilderGetQueryParameters read the properties and relationships of a personAward object from a user's profile. +// ItemProfileAwardsPersonAwardItemRequestBuilderGetQueryParameters represents the details of awards or honors associated with a person. type ItemProfileAwardsPersonAwardItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemProfileAwardsPersonAwardItemRequestBuilder(rawUrl string, requestAda urlParams["request-raw-url"] = rawUrl return NewItemProfileAwardsPersonAwardItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a personAward object from a user's profile. +// Delete delete navigation property awards for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/personaward-delete?view=graph-rest-1.0 func (m *ItemProfileAwardsPersonAwardItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemProfileAwardsPersonAwardItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemProfileAwardsPersonAwardItemRequestBuilder) Delete(ctx context.Cont } return nil } -// Get read the properties and relationships of a personAward object from a user's profile. +// Get represents the details of awards or honors associated with a person. // returns a PersonAwardable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/personaward-get?view=graph-rest-1.0 func (m *ItemProfileAwardsPersonAwardItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemProfileAwardsPersonAwardItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonAwardable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ItemProfileAwardsPersonAwardItemRequestBuilder) Get(ctx context.Context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonAwardable), nil } -// Patch update the properties of a personAward object from a user's profile. +// Patch update the navigation property awards in users // returns a PersonAwardable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/personaward-update?view=graph-rest-1.0 func (m *ItemProfileAwardsPersonAwardItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonAwardable, requestConfiguration *ItemProfileAwardsPersonAwardItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonAwardable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *ItemProfileAwardsPersonAwardItemRequestBuilder) Patch(ctx context.Conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonAwardable), nil } -// ToDeleteRequestInformation deletes a personAward object from a user's profile. +// ToDeleteRequestInformation delete navigation property awards for users // returns a *RequestInformation when successful func (m *ItemProfileAwardsPersonAwardItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemProfileAwardsPersonAwardItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *ItemProfileAwardsPersonAwardItemRequestBuilder) ToDeleteRequestInformat requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a personAward object from a user's profile. +// ToGetRequestInformation represents the details of awards or honors associated with a person. // returns a *RequestInformation when successful func (m *ItemProfileAwardsPersonAwardItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemProfileAwardsPersonAwardItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *ItemProfileAwardsPersonAwardItemRequestBuilder) ToGetRequestInformation requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a personAward object from a user's profile. +// ToPatchRequestInformation update the navigation property awards in users // returns a *RequestInformation when successful func (m *ItemProfileAwardsPersonAwardItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonAwardable, requestConfiguration *ItemProfileAwardsPersonAwardItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_profile_awards_request_builder.go b/users/item_profile_awards_request_builder.go index af755bedaf4..48b66d06334 100644 --- a/users/item_profile_awards_request_builder.go +++ b/users/item_profile_awards_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemProfileAwardsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemProfileAwardsRequestBuilderGetQueryParameters retrieve a list of personAward objects from a user's profile. +// ItemProfileAwardsRequestBuilderGetQueryParameters represents the details of awards or honors associated with a person. type ItemProfileAwardsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemProfileAwardsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7 func (m *ItemProfileAwardsRequestBuilder) Count()(*ItemProfileAwardsCountRequestBuilder) { return NewItemProfileAwardsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of personAward objects from a user's profile. +// Get represents the details of awards or honors associated with a person. // returns a PersonAwardCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/profile-list-awards?view=graph-rest-1.0 func (m *ItemProfileAwardsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemProfileAwardsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonAwardCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemProfileAwardsRequestBuilder) Get(ctx context.Context, requestConfig } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonAwardCollectionResponseable), nil } -// Post create a new personAward object in a user's profile. +// Post create new navigation property to awards for users // returns a PersonAwardable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/profile-post-awards?view=graph-rest-1.0 func (m *ItemProfileAwardsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonAwardable, requestConfiguration *ItemProfileAwardsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonAwardable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemProfileAwardsRequestBuilder) Post(ctx context.Context, body ie233ee } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonAwardable), nil } -// ToGetRequestInformation retrieve a list of personAward objects from a user's profile. +// ToGetRequestInformation represents the details of awards or honors associated with a person. // returns a *RequestInformation when successful func (m *ItemProfileAwardsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemProfileAwardsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemProfileAwardsRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new personAward object in a user's profile. +// ToPostRequestInformation create new navigation property to awards for users // returns a *RequestInformation when successful func (m *ItemProfileAwardsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonAwardable, requestConfiguration *ItemProfileAwardsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_profile_certifications_person_certification_item_request_builder.go b/users/item_profile_certifications_person_certification_item_request_builder.go index e33345cab1d..499b03ee826 100644 --- a/users/item_profile_certifications_person_certification_item_request_builder.go +++ b/users/item_profile_certifications_person_certification_item_request_builder.go @@ -18,7 +18,7 @@ type ItemProfileCertificationsPersonCertificationItemRequestBuilderDeleteRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemProfileCertificationsPersonCertificationItemRequestBuilderGetQueryParameters read the properties and relationships of a personCertification object in a user's profile. +// ItemProfileCertificationsPersonCertificationItemRequestBuilderGetQueryParameters represents the details of certifications associated with a person. type ItemProfileCertificationsPersonCertificationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemProfileCertificationsPersonCertificationItemRequestBuilder(rawUrl st urlParams["request-raw-url"] = rawUrl return NewItemProfileCertificationsPersonCertificationItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a personCertification object from a user's profile. +// Delete delete navigation property certifications for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/personcertification-delete?view=graph-rest-1.0 func (m *ItemProfileCertificationsPersonCertificationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemProfileCertificationsPersonCertificationItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemProfileCertificationsPersonCertificationItemRequestBuilder) Delete( } return nil } -// Get read the properties and relationships of a personCertification object in a user's profile. +// Get represents the details of certifications associated with a person. // returns a PersonCertificationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/personcertification-get?view=graph-rest-1.0 func (m *ItemProfileCertificationsPersonCertificationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemProfileCertificationsPersonCertificationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonCertificationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ItemProfileCertificationsPersonCertificationItemRequestBuilder) Get(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonCertificationable), nil } -// Patch update the properties of a personCertification object from a user's profile. +// Patch update the navigation property certifications in users // returns a PersonCertificationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/personcertification-update?view=graph-rest-1.0 func (m *ItemProfileCertificationsPersonCertificationItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonCertificationable, requestConfiguration *ItemProfileCertificationsPersonCertificationItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonCertificationable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *ItemProfileCertificationsPersonCertificationItemRequestBuilder) Patch(c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonCertificationable), nil } -// ToDeleteRequestInformation deletes a personCertification object from a user's profile. +// ToDeleteRequestInformation delete navigation property certifications for users // returns a *RequestInformation when successful func (m *ItemProfileCertificationsPersonCertificationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemProfileCertificationsPersonCertificationItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *ItemProfileCertificationsPersonCertificationItemRequestBuilder) ToDelet requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a personCertification object in a user's profile. +// ToGetRequestInformation represents the details of certifications associated with a person. // returns a *RequestInformation when successful func (m *ItemProfileCertificationsPersonCertificationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemProfileCertificationsPersonCertificationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *ItemProfileCertificationsPersonCertificationItemRequestBuilder) ToGetRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a personCertification object from a user's profile. +// ToPatchRequestInformation update the navigation property certifications in users // returns a *RequestInformation when successful func (m *ItemProfileCertificationsPersonCertificationItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonCertificationable, requestConfiguration *ItemProfileCertificationsPersonCertificationItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_profile_certifications_request_builder.go b/users/item_profile_certifications_request_builder.go index 34361af2dbb..793da8cc458 100644 --- a/users/item_profile_certifications_request_builder.go +++ b/users/item_profile_certifications_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemProfileCertificationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemProfileCertificationsRequestBuilderGetQueryParameters retrieve a list of personCertification objects from a user's profile. +// ItemProfileCertificationsRequestBuilderGetQueryParameters represents the details of certifications associated with a person. type ItemProfileCertificationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemProfileCertificationsRequestBuilder(rawUrl string, requestAdapter i2 func (m *ItemProfileCertificationsRequestBuilder) Count()(*ItemProfileCertificationsCountRequestBuilder) { return NewItemProfileCertificationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of personCertification objects from a user's profile. +// Get represents the details of certifications associated with a person. // returns a PersonCertificationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/profile-list-certifications?view=graph-rest-1.0 func (m *ItemProfileCertificationsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemProfileCertificationsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonCertificationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemProfileCertificationsRequestBuilder) Get(ctx context.Context, reque } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonCertificationCollectionResponseable), nil } -// Post create a new personCertification object in a user's profile. +// Post create new navigation property to certifications for users // returns a PersonCertificationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/profile-post-certifications?view=graph-rest-1.0 func (m *ItemProfileCertificationsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonCertificationable, requestConfiguration *ItemProfileCertificationsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonCertificationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemProfileCertificationsRequestBuilder) Post(ctx context.Context, body } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonCertificationable), nil } -// ToGetRequestInformation retrieve a list of personCertification objects from a user's profile. +// ToGetRequestInformation represents the details of certifications associated with a person. // returns a *RequestInformation when successful func (m *ItemProfileCertificationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemProfileCertificationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemProfileCertificationsRequestBuilder) ToGetRequestInformation(ctx co requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new personCertification object in a user's profile. +// ToPostRequestInformation create new navigation property to certifications for users // returns a *RequestInformation when successful func (m *ItemProfileCertificationsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonCertificationable, requestConfiguration *ItemProfileCertificationsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_profile_educational_activities_educational_activity_item_request_builder.go b/users/item_profile_educational_activities_educational_activity_item_request_builder.go index 6b30b45fa5a..925589ed9df 100644 --- a/users/item_profile_educational_activities_educational_activity_item_request_builder.go +++ b/users/item_profile_educational_activities_educational_activity_item_request_builder.go @@ -18,7 +18,7 @@ type ItemProfileEducationalActivitiesEducationalActivityItemRequestBuilderDelete // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemProfileEducationalActivitiesEducationalActivityItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an educationalActivity object from a users profile. +// ItemProfileEducationalActivitiesEducationalActivityItemRequestBuilderGetQueryParameters represents data that a user has supplied related to undergraduate, graduate, postgraduate or other educational activities. type ItemProfileEducationalActivitiesEducationalActivityItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemProfileEducationalActivitiesEducationalActivityItemRequestBuilder(ra urlParams["request-raw-url"] = rawUrl return NewItemProfileEducationalActivitiesEducationalActivityItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an educationalActivity object from a user's profile. +// Delete delete navigation property educationalActivities for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationalactivity-delete?view=graph-rest-1.0 func (m *ItemProfileEducationalActivitiesEducationalActivityItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemProfileEducationalActivitiesEducationalActivityItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemProfileEducationalActivitiesEducationalActivityItemRequestBuilder) } return nil } -// Get retrieve the properties and relationships of an educationalActivity object from a users profile. +// Get represents data that a user has supplied related to undergraduate, graduate, postgraduate or other educational activities. // returns a EducationalActivityable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationalactivity-get?view=graph-rest-1.0 func (m *ItemProfileEducationalActivitiesEducationalActivityItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemProfileEducationalActivitiesEducationalActivityItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationalActivityable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ItemProfileEducationalActivitiesEducationalActivityItemRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationalActivityable), nil } -// Patch update the properties of an educationalActivity object within a user's profile. +// Patch update the navigation property educationalActivities in users // returns a EducationalActivityable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/educationalactivity-update?view=graph-rest-1.0 func (m *ItemProfileEducationalActivitiesEducationalActivityItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationalActivityable, requestConfiguration *ItemProfileEducationalActivitiesEducationalActivityItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationalActivityable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *ItemProfileEducationalActivitiesEducationalActivityItemRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationalActivityable), nil } -// ToDeleteRequestInformation delete an educationalActivity object from a user's profile. +// ToDeleteRequestInformation delete navigation property educationalActivities for users // returns a *RequestInformation when successful func (m *ItemProfileEducationalActivitiesEducationalActivityItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemProfileEducationalActivitiesEducationalActivityItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *ItemProfileEducationalActivitiesEducationalActivityItemRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of an educationalActivity object from a users profile. +// ToGetRequestInformation represents data that a user has supplied related to undergraduate, graduate, postgraduate or other educational activities. // returns a *RequestInformation when successful func (m *ItemProfileEducationalActivitiesEducationalActivityItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemProfileEducationalActivitiesEducationalActivityItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *ItemProfileEducationalActivitiesEducationalActivityItemRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an educationalActivity object within a user's profile. +// ToPatchRequestInformation update the navigation property educationalActivities in users // returns a *RequestInformation when successful func (m *ItemProfileEducationalActivitiesEducationalActivityItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationalActivityable, requestConfiguration *ItemProfileEducationalActivitiesEducationalActivityItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_profile_educational_activities_request_builder.go b/users/item_profile_educational_activities_request_builder.go index 68d8d449d2e..ba649dbfaeb 100644 --- a/users/item_profile_educational_activities_request_builder.go +++ b/users/item_profile_educational_activities_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemProfileEducationalActivitiesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemProfileEducationalActivitiesRequestBuilderGetQueryParameters retrieve a list of educationalActivity objects from a user's profile. +// ItemProfileEducationalActivitiesRequestBuilderGetQueryParameters represents data that a user has supplied related to undergraduate, graduate, postgraduate or other educational activities. type ItemProfileEducationalActivitiesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemProfileEducationalActivitiesRequestBuilder(rawUrl string, requestAda func (m *ItemProfileEducationalActivitiesRequestBuilder) Count()(*ItemProfileEducationalActivitiesCountRequestBuilder) { return NewItemProfileEducationalActivitiesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of educationalActivity objects from a user's profile. +// Get represents data that a user has supplied related to undergraduate, graduate, postgraduate or other educational activities. // returns a EducationalActivityCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/profile-list-educationalactivities?view=graph-rest-1.0 func (m *ItemProfileEducationalActivitiesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemProfileEducationalActivitiesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationalActivityCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemProfileEducationalActivitiesRequestBuilder) Get(ctx context.Context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationalActivityCollectionResponseable), nil } -// Post create a new educationalActivity in a user's profile. +// Post create new navigation property to educationalActivities for users // returns a EducationalActivityable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/profile-post-educationalactivities?view=graph-rest-1.0 func (m *ItemProfileEducationalActivitiesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationalActivityable, requestConfiguration *ItemProfileEducationalActivitiesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationalActivityable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemProfileEducationalActivitiesRequestBuilder) Post(ctx context.Contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationalActivityable), nil } -// ToGetRequestInformation retrieve a list of educationalActivity objects from a user's profile. +// ToGetRequestInformation represents data that a user has supplied related to undergraduate, graduate, postgraduate or other educational activities. // returns a *RequestInformation when successful func (m *ItemProfileEducationalActivitiesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemProfileEducationalActivitiesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemProfileEducationalActivitiesRequestBuilder) ToGetRequestInformation requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new educationalActivity in a user's profile. +// ToPostRequestInformation create new navigation property to educationalActivities for users // returns a *RequestInformation when successful func (m *ItemProfileEducationalActivitiesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationalActivityable, requestConfiguration *ItemProfileEducationalActivitiesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_profile_emails_item_email_item_request_builder.go b/users/item_profile_emails_item_email_item_request_builder.go index 6714130948f..8b4f9dfd4e0 100644 --- a/users/item_profile_emails_item_email_item_request_builder.go +++ b/users/item_profile_emails_item_email_item_request_builder.go @@ -18,7 +18,7 @@ type ItemProfileEmailsItemEmailItemRequestBuilderDeleteRequestConfiguration stru // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemProfileEmailsItemEmailItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an itemEmail object in a user's profile. +// ItemProfileEmailsItemEmailItemRequestBuilderGetQueryParameters represents detailed information about email addresses associated with the user. type ItemProfileEmailsItemEmailItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemProfileEmailsItemEmailItemRequestBuilder(rawUrl string, requestAdapt urlParams["request-raw-url"] = rawUrl return NewItemProfileEmailsItemEmailItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an itemEmail object from a user's profile. +// Delete delete navigation property emails for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/itememail-delete?view=graph-rest-1.0 func (m *ItemProfileEmailsItemEmailItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemProfileEmailsItemEmailItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemProfileEmailsItemEmailItemRequestBuilder) Delete(ctx context.Contex } return nil } -// Get retrieve the properties and relationships of an itemEmail object in a user's profile. +// Get represents detailed information about email addresses associated with the user. // returns a ItemEmailable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/itememail-get?view=graph-rest-1.0 func (m *ItemProfileEmailsItemEmailItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemProfileEmailsItemEmailItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemEmailable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ItemProfileEmailsItemEmailItemRequestBuilder) Get(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemEmailable), nil } -// Patch update the properties of an itemEmail object in a user's profile. +// Patch update the navigation property emails in users // returns a ItemEmailable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/itememail-update?view=graph-rest-1.0 func (m *ItemProfileEmailsItemEmailItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemEmailable, requestConfiguration *ItemProfileEmailsItemEmailItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemEmailable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *ItemProfileEmailsItemEmailItemRequestBuilder) Patch(ctx context.Context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemEmailable), nil } -// ToDeleteRequestInformation delete an itemEmail object from a user's profile. +// ToDeleteRequestInformation delete navigation property emails for users // returns a *RequestInformation when successful func (m *ItemProfileEmailsItemEmailItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemProfileEmailsItemEmailItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *ItemProfileEmailsItemEmailItemRequestBuilder) ToDeleteRequestInformatio requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of an itemEmail object in a user's profile. +// ToGetRequestInformation represents detailed information about email addresses associated with the user. // returns a *RequestInformation when successful func (m *ItemProfileEmailsItemEmailItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemProfileEmailsItemEmailItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *ItemProfileEmailsItemEmailItemRequestBuilder) ToGetRequestInformation(c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an itemEmail object in a user's profile. +// ToPatchRequestInformation update the navigation property emails in users // returns a *RequestInformation when successful func (m *ItemProfileEmailsItemEmailItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemEmailable, requestConfiguration *ItemProfileEmailsItemEmailItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_profile_emails_request_builder.go b/users/item_profile_emails_request_builder.go index ceab289b215..ca1549459b3 100644 --- a/users/item_profile_emails_request_builder.go +++ b/users/item_profile_emails_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemProfileEmailsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemProfileEmailsRequestBuilderGetQueryParameters retrieve the properties and relationships of an itemEmail object in a user's profile. +// ItemProfileEmailsRequestBuilderGetQueryParameters represents detailed information about email addresses associated with the user. type ItemProfileEmailsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemProfileEmailsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7 func (m *ItemProfileEmailsRequestBuilder) Count()(*ItemProfileEmailsCountRequestBuilder) { return NewItemProfileEmailsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties and relationships of an itemEmail object in a user's profile. +// Get represents detailed information about email addresses associated with the user. // returns a ItemEmailCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/profile-list-emails?view=graph-rest-1.0 func (m *ItemProfileEmailsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemProfileEmailsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemEmailCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemProfileEmailsRequestBuilder) Get(ctx context.Context, requestConfig } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemEmailCollectionResponseable), nil } -// Post create a new itemEmail object in a user's profile. +// Post create new navigation property to emails for users // returns a ItemEmailable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/profile-post-emails?view=graph-rest-1.0 func (m *ItemProfileEmailsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemEmailable, requestConfiguration *ItemProfileEmailsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemEmailable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemProfileEmailsRequestBuilder) Post(ctx context.Context, body ie233ee } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemEmailable), nil } -// ToGetRequestInformation retrieve the properties and relationships of an itemEmail object in a user's profile. +// ToGetRequestInformation represents detailed information about email addresses associated with the user. // returns a *RequestInformation when successful func (m *ItemProfileEmailsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemProfileEmailsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemProfileEmailsRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new itemEmail object in a user's profile. +// ToPostRequestInformation create new navigation property to emails for users // returns a *RequestInformation when successful func (m *ItemProfileEmailsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemEmailable, requestConfiguration *ItemProfileEmailsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_profile_interests_person_interest_item_request_builder.go b/users/item_profile_interests_person_interest_item_request_builder.go index 290c8980dc1..2e918f3a5d5 100644 --- a/users/item_profile_interests_person_interest_item_request_builder.go +++ b/users/item_profile_interests_person_interest_item_request_builder.go @@ -18,7 +18,7 @@ type ItemProfileInterestsPersonInterestItemRequestBuilderDeleteRequestConfigurat // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemProfileInterestsPersonInterestItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a personInterest object in a user's profile. +// ItemProfileInterestsPersonInterestItemRequestBuilderGetQueryParameters provides detailed information about interests the user has associated with themselves in various services. type ItemProfileInterestsPersonInterestItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemProfileInterestsPersonInterestItemRequestBuilder(rawUrl string, requ urlParams["request-raw-url"] = rawUrl return NewItemProfileInterestsPersonInterestItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a personInterest object from a user's profile. +// Delete delete navigation property interests for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/personinterest-delete?view=graph-rest-1.0 func (m *ItemProfileInterestsPersonInterestItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemProfileInterestsPersonInterestItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemProfileInterestsPersonInterestItemRequestBuilder) Delete(ctx contex } return nil } -// Get retrieve the properties and relationships of a personInterest object in a user's profile. +// Get provides detailed information about interests the user has associated with themselves in various services. // returns a PersonInterestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/personinterest-get?view=graph-rest-1.0 func (m *ItemProfileInterestsPersonInterestItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemProfileInterestsPersonInterestItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonInterestable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ItemProfileInterestsPersonInterestItemRequestBuilder) Get(ctx context.C } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonInterestable), nil } -// Patch update the properties of a personInterest object in a user's profile. +// Patch update the navigation property interests in users // returns a PersonInterestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/personinterest-update?view=graph-rest-1.0 func (m *ItemProfileInterestsPersonInterestItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonInterestable, requestConfiguration *ItemProfileInterestsPersonInterestItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonInterestable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *ItemProfileInterestsPersonInterestItemRequestBuilder) Patch(ctx context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonInterestable), nil } -// ToDeleteRequestInformation deletes a personInterest object from a user's profile. +// ToDeleteRequestInformation delete navigation property interests for users // returns a *RequestInformation when successful func (m *ItemProfileInterestsPersonInterestItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemProfileInterestsPersonInterestItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *ItemProfileInterestsPersonInterestItemRequestBuilder) ToDeleteRequestIn requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a personInterest object in a user's profile. +// ToGetRequestInformation provides detailed information about interests the user has associated with themselves in various services. // returns a *RequestInformation when successful func (m *ItemProfileInterestsPersonInterestItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemProfileInterestsPersonInterestItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *ItemProfileInterestsPersonInterestItemRequestBuilder) ToGetRequestInfor requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a personInterest object in a user's profile. +// ToPatchRequestInformation update the navigation property interests in users // returns a *RequestInformation when successful func (m *ItemProfileInterestsPersonInterestItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonInterestable, requestConfiguration *ItemProfileInterestsPersonInterestItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_profile_interests_request_builder.go b/users/item_profile_interests_request_builder.go index c2a13e2b968..9991c4c7790 100644 --- a/users/item_profile_interests_request_builder.go +++ b/users/item_profile_interests_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemProfileInterestsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemProfileInterestsRequestBuilderGetQueryParameters retrieve a list of personInterest objects from a user's profile. +// ItemProfileInterestsRequestBuilderGetQueryParameters provides detailed information about interests the user has associated with themselves in various services. type ItemProfileInterestsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemProfileInterestsRequestBuilder(rawUrl string, requestAdapter i2ae418 func (m *ItemProfileInterestsRequestBuilder) Count()(*ItemProfileInterestsCountRequestBuilder) { return NewItemProfileInterestsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of personInterest objects from a user's profile. +// Get provides detailed information about interests the user has associated with themselves in various services. // returns a PersonInterestCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/profile-list-interests?view=graph-rest-1.0 func (m *ItemProfileInterestsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemProfileInterestsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonInterestCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemProfileInterestsRequestBuilder) Get(ctx context.Context, requestCon } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonInterestCollectionResponseable), nil } -// Post create a new personInterest. +// Post create new navigation property to interests for users // returns a PersonInterestable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/profile-post-interests?view=graph-rest-1.0 func (m *ItemProfileInterestsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonInterestable, requestConfiguration *ItemProfileInterestsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonInterestable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemProfileInterestsRequestBuilder) Post(ctx context.Context, body ie23 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonInterestable), nil } -// ToGetRequestInformation retrieve a list of personInterest objects from a user's profile. +// ToGetRequestInformation provides detailed information about interests the user has associated with themselves in various services. // returns a *RequestInformation when successful func (m *ItemProfileInterestsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemProfileInterestsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemProfileInterestsRequestBuilder) ToGetRequestInformation(ctx context requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new personInterest. +// ToPostRequestInformation create new navigation property to interests for users // returns a *RequestInformation when successful func (m *ItemProfileInterestsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonInterestable, requestConfiguration *ItemProfileInterestsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_profile_languages_language_proficiency_item_request_builder.go b/users/item_profile_languages_language_proficiency_item_request_builder.go index 3c702109dd5..6a9094be5bd 100644 --- a/users/item_profile_languages_language_proficiency_item_request_builder.go +++ b/users/item_profile_languages_language_proficiency_item_request_builder.go @@ -18,7 +18,7 @@ type ItemProfileLanguagesLanguageProficiencyItemRequestBuilderDeleteRequestConfi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemProfileLanguagesLanguageProficiencyItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a languageProficiency object within a user's profile. +// ItemProfileLanguagesLanguageProficiencyItemRequestBuilderGetQueryParameters represents detailed information about languages that a user has added to their profile. type ItemProfileLanguagesLanguageProficiencyItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemProfileLanguagesLanguageProficiencyItemRequestBuilder(rawUrl string, urlParams["request-raw-url"] = rawUrl return NewItemProfileLanguagesLanguageProficiencyItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a languageProficiency object from a user's profile. +// Delete delete navigation property languages for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/languageproficiency-delete?view=graph-rest-1.0 func (m *ItemProfileLanguagesLanguageProficiencyItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemProfileLanguagesLanguageProficiencyItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemProfileLanguagesLanguageProficiencyItemRequestBuilder) Delete(ctx c } return nil } -// Get retrieve the properties and relationships of a languageProficiency object within a user's profile. +// Get represents detailed information about languages that a user has added to their profile. // returns a LanguageProficiencyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/languageproficiency-get?view=graph-rest-1.0 func (m *ItemProfileLanguagesLanguageProficiencyItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemProfileLanguagesLanguageProficiencyItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LanguageProficiencyable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ItemProfileLanguagesLanguageProficiencyItemRequestBuilder) Get(ctx cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LanguageProficiencyable), nil } -// Patch update the properties of a languageProficiency object in a user's profile. +// Patch update the navigation property languages in users // returns a LanguageProficiencyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/languageproficiency-update?view=graph-rest-1.0 func (m *ItemProfileLanguagesLanguageProficiencyItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LanguageProficiencyable, requestConfiguration *ItemProfileLanguagesLanguageProficiencyItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LanguageProficiencyable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *ItemProfileLanguagesLanguageProficiencyItemRequestBuilder) Patch(ctx co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LanguageProficiencyable), nil } -// ToDeleteRequestInformation delete a languageProficiency object from a user's profile. +// ToDeleteRequestInformation delete navigation property languages for users // returns a *RequestInformation when successful func (m *ItemProfileLanguagesLanguageProficiencyItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemProfileLanguagesLanguageProficiencyItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *ItemProfileLanguagesLanguageProficiencyItemRequestBuilder) ToDeleteRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a languageProficiency object within a user's profile. +// ToGetRequestInformation represents detailed information about languages that a user has added to their profile. // returns a *RequestInformation when successful func (m *ItemProfileLanguagesLanguageProficiencyItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemProfileLanguagesLanguageProficiencyItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *ItemProfileLanguagesLanguageProficiencyItemRequestBuilder) ToGetRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a languageProficiency object in a user's profile. +// ToPatchRequestInformation update the navigation property languages in users // returns a *RequestInformation when successful func (m *ItemProfileLanguagesLanguageProficiencyItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LanguageProficiencyable, requestConfiguration *ItemProfileLanguagesLanguageProficiencyItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_profile_languages_request_builder.go b/users/item_profile_languages_request_builder.go index adca3bf84bc..5e2606b841c 100644 --- a/users/item_profile_languages_request_builder.go +++ b/users/item_profile_languages_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemProfileLanguagesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemProfileLanguagesRequestBuilderGetQueryParameters retrieve a list of languageProficiency objects from a user's profile. +// ItemProfileLanguagesRequestBuilderGetQueryParameters represents detailed information about languages that a user has added to their profile. type ItemProfileLanguagesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemProfileLanguagesRequestBuilder(rawUrl string, requestAdapter i2ae418 func (m *ItemProfileLanguagesRequestBuilder) Count()(*ItemProfileLanguagesCountRequestBuilder) { return NewItemProfileLanguagesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of languageProficiency objects from a user's profile. +// Get represents detailed information about languages that a user has added to their profile. // returns a LanguageProficiencyCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/profile-list-languages?view=graph-rest-1.0 func (m *ItemProfileLanguagesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemProfileLanguagesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LanguageProficiencyCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemProfileLanguagesRequestBuilder) Get(ctx context.Context, requestCon } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LanguageProficiencyCollectionResponseable), nil } -// Post use this API to create a new languageProficiency object in a user's profile. +// Post create new navigation property to languages for users // returns a LanguageProficiencyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/profile-post-languages?view=graph-rest-1.0 func (m *ItemProfileLanguagesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LanguageProficiencyable, requestConfiguration *ItemProfileLanguagesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LanguageProficiencyable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemProfileLanguagesRequestBuilder) Post(ctx context.Context, body ie23 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LanguageProficiencyable), nil } -// ToGetRequestInformation retrieve a list of languageProficiency objects from a user's profile. +// ToGetRequestInformation represents detailed information about languages that a user has added to their profile. // returns a *RequestInformation when successful func (m *ItemProfileLanguagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemProfileLanguagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemProfileLanguagesRequestBuilder) ToGetRequestInformation(ctx context requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new languageProficiency object in a user's profile. +// ToPostRequestInformation create new navigation property to languages for users // returns a *RequestInformation when successful func (m *ItemProfileLanguagesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LanguageProficiencyable, requestConfiguration *ItemProfileLanguagesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_profile_names_person_name_item_request_builder.go b/users/item_profile_names_person_name_item_request_builder.go index 6d460dc3006..0a05e8a99fe 100644 --- a/users/item_profile_names_person_name_item_request_builder.go +++ b/users/item_profile_names_person_name_item_request_builder.go @@ -18,7 +18,7 @@ type ItemProfileNamesPersonNameItemRequestBuilderDeleteRequestConfiguration stru // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemProfileNamesPersonNameItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a personName object in a user's profile. +// ItemProfileNamesPersonNameItemRequestBuilderGetQueryParameters represents the names a user has added to their profile. type ItemProfileNamesPersonNameItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemProfileNamesPersonNameItemRequestBuilder(rawUrl string, requestAdapt urlParams["request-raw-url"] = rawUrl return NewItemProfileNamesPersonNameItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a personName object from a user's profile. +// Delete delete navigation property names for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/personname-delete?view=graph-rest-1.0 func (m *ItemProfileNamesPersonNameItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemProfileNamesPersonNameItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemProfileNamesPersonNameItemRequestBuilder) Delete(ctx context.Contex } return nil } -// Get retrieve the properties and relationships of a personName object in a user's profile. +// Get represents the names a user has added to their profile. // returns a PersonNameable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/personname-get?view=graph-rest-1.0 func (m *ItemProfileNamesPersonNameItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemProfileNamesPersonNameItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonNameable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ItemProfileNamesPersonNameItemRequestBuilder) Get(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonNameable), nil } -// Patch update the properties of a personName object in a user's profile. +// Patch update the navigation property names in users // returns a PersonNameable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/personname-update?view=graph-rest-1.0 func (m *ItemProfileNamesPersonNameItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonNameable, requestConfiguration *ItemProfileNamesPersonNameItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonNameable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *ItemProfileNamesPersonNameItemRequestBuilder) Patch(ctx context.Context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonNameable), nil } -// ToDeleteRequestInformation delete a personName object from a user's profile. +// ToDeleteRequestInformation delete navigation property names for users // returns a *RequestInformation when successful func (m *ItemProfileNamesPersonNameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemProfileNamesPersonNameItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *ItemProfileNamesPersonNameItemRequestBuilder) ToDeleteRequestInformatio requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a personName object in a user's profile. +// ToGetRequestInformation represents the names a user has added to their profile. // returns a *RequestInformation when successful func (m *ItemProfileNamesPersonNameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemProfileNamesPersonNameItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *ItemProfileNamesPersonNameItemRequestBuilder) ToGetRequestInformation(c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a personName object in a user's profile. +// ToPatchRequestInformation update the navigation property names in users // returns a *RequestInformation when successful func (m *ItemProfileNamesPersonNameItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonNameable, requestConfiguration *ItemProfileNamesPersonNameItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_profile_names_request_builder.go b/users/item_profile_names_request_builder.go index be55d38729f..6d84f7de2a7 100644 --- a/users/item_profile_names_request_builder.go +++ b/users/item_profile_names_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemProfileNamesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemProfileNamesRequestBuilderGetQueryParameters retrieve a list of personName objects from a user's profile. +// ItemProfileNamesRequestBuilderGetQueryParameters represents the names a user has added to their profile. type ItemProfileNamesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemProfileNamesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7d func (m *ItemProfileNamesRequestBuilder) Count()(*ItemProfileNamesCountRequestBuilder) { return NewItemProfileNamesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of personName objects from a user's profile. +// Get represents the names a user has added to their profile. // returns a PersonNameCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/profile-list-names?view=graph-rest-1.0 func (m *ItemProfileNamesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemProfileNamesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonNameCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemProfileNamesRequestBuilder) Get(ctx context.Context, requestConfigu } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonNameCollectionResponseable), nil } -// Post use this API to create a new personName object in a user's profile. +// Post create new navigation property to names for users // returns a PersonNameable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/profile-post-names?view=graph-rest-1.0 func (m *ItemProfileNamesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonNameable, requestConfiguration *ItemProfileNamesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonNameable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemProfileNamesRequestBuilder) Post(ctx context.Context, body ie233ee7 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonNameable), nil } -// ToGetRequestInformation retrieve a list of personName objects from a user's profile. +// ToGetRequestInformation represents the names a user has added to their profile. // returns a *RequestInformation when successful func (m *ItemProfileNamesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemProfileNamesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemProfileNamesRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new personName object in a user's profile. +// ToPostRequestInformation create new navigation property to names for users // returns a *RequestInformation when successful func (m *ItemProfileNamesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonNameable, requestConfiguration *ItemProfileNamesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_profile_notes_person_annotation_item_request_builder.go b/users/item_profile_notes_person_annotation_item_request_builder.go index de33a836163..a49d35c1e1c 100644 --- a/users/item_profile_notes_person_annotation_item_request_builder.go +++ b/users/item_profile_notes_person_annotation_item_request_builder.go @@ -18,7 +18,7 @@ type ItemProfileNotesPersonAnnotationItemRequestBuilderDeleteRequestConfiguratio // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemProfileNotesPersonAnnotationItemRequestBuilderGetQueryParameters read the properties and relationships of a personAnnotation object from a user's profile. +// ItemProfileNotesPersonAnnotationItemRequestBuilderGetQueryParameters represents notes that a user has added to their profile. type ItemProfileNotesPersonAnnotationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemProfileNotesPersonAnnotationItemRequestBuilder(rawUrl string, reques urlParams["request-raw-url"] = rawUrl return NewItemProfileNotesPersonAnnotationItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a personAnnotation object from a user's profile. +// Delete delete navigation property notes for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/personannotation-delete?view=graph-rest-1.0 func (m *ItemProfileNotesPersonAnnotationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemProfileNotesPersonAnnotationItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemProfileNotesPersonAnnotationItemRequestBuilder) Delete(ctx context. } return nil } -// Get read the properties and relationships of a personAnnotation object from a user's profile. +// Get represents notes that a user has added to their profile. // returns a PersonAnnotationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/personannotation-get?view=graph-rest-1.0 func (m *ItemProfileNotesPersonAnnotationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemProfileNotesPersonAnnotationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonAnnotationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ItemProfileNotesPersonAnnotationItemRequestBuilder) Get(ctx context.Con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonAnnotationable), nil } -// Patch update the properties of a personAnnotation object in a user's profile. +// Patch update the navigation property notes in users // returns a PersonAnnotationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/personannotation-update?view=graph-rest-1.0 func (m *ItemProfileNotesPersonAnnotationItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonAnnotationable, requestConfiguration *ItemProfileNotesPersonAnnotationItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonAnnotationable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *ItemProfileNotesPersonAnnotationItemRequestBuilder) Patch(ctx context.C } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonAnnotationable), nil } -// ToDeleteRequestInformation deletes a personAnnotation object from a user's profile. +// ToDeleteRequestInformation delete navigation property notes for users // returns a *RequestInformation when successful func (m *ItemProfileNotesPersonAnnotationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemProfileNotesPersonAnnotationItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *ItemProfileNotesPersonAnnotationItemRequestBuilder) ToDeleteRequestInfo requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a personAnnotation object from a user's profile. +// ToGetRequestInformation represents notes that a user has added to their profile. // returns a *RequestInformation when successful func (m *ItemProfileNotesPersonAnnotationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemProfileNotesPersonAnnotationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *ItemProfileNotesPersonAnnotationItemRequestBuilder) ToGetRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a personAnnotation object in a user's profile. +// ToPatchRequestInformation update the navigation property notes in users // returns a *RequestInformation when successful func (m *ItemProfileNotesPersonAnnotationItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonAnnotationable, requestConfiguration *ItemProfileNotesPersonAnnotationItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_profile_notes_request_builder.go b/users/item_profile_notes_request_builder.go index fc5718ccc07..6665e0925e6 100644 --- a/users/item_profile_notes_request_builder.go +++ b/users/item_profile_notes_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemProfileNotesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemProfileNotesRequestBuilderGetQueryParameters retrieve a list of personAnnotation objects from a user's profile. +// ItemProfileNotesRequestBuilderGetQueryParameters represents notes that a user has added to their profile. type ItemProfileNotesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemProfileNotesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7d func (m *ItemProfileNotesRequestBuilder) Count()(*ItemProfileNotesCountRequestBuilder) { return NewItemProfileNotesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of personAnnotation objects from a user's profile. +// Get represents notes that a user has added to their profile. // returns a PersonAnnotationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/profile-list-notes?view=graph-rest-1.0 func (m *ItemProfileNotesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemProfileNotesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonAnnotationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemProfileNotesRequestBuilder) Get(ctx context.Context, requestConfigu } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonAnnotationCollectionResponseable), nil } -// Post create a new personAnnotation object in a user's profile. +// Post create new navigation property to notes for users // returns a PersonAnnotationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/profile-post-notes?view=graph-rest-1.0 func (m *ItemProfileNotesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonAnnotationable, requestConfiguration *ItemProfileNotesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonAnnotationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemProfileNotesRequestBuilder) Post(ctx context.Context, body ie233ee7 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonAnnotationable), nil } -// ToGetRequestInformation retrieve a list of personAnnotation objects from a user's profile. +// ToGetRequestInformation represents notes that a user has added to their profile. // returns a *RequestInformation when successful func (m *ItemProfileNotesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemProfileNotesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemProfileNotesRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new personAnnotation object in a user's profile. +// ToPostRequestInformation create new navigation property to notes for users // returns a *RequestInformation when successful func (m *ItemProfileNotesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonAnnotationable, requestConfiguration *ItemProfileNotesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_profile_patents_item_patent_item_request_builder.go b/users/item_profile_patents_item_patent_item_request_builder.go index c2a3c2c20a6..d1bda33028b 100644 --- a/users/item_profile_patents_item_patent_item_request_builder.go +++ b/users/item_profile_patents_item_patent_item_request_builder.go @@ -18,7 +18,7 @@ type ItemProfilePatentsItemPatentItemRequestBuilderDeleteRequestConfiguration st // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemProfilePatentsItemPatentItemRequestBuilderGetQueryParameters read the properties and relationships of an itemPatent object. +// ItemProfilePatentsItemPatentItemRequestBuilderGetQueryParameters represents patents that a user has added to their profile. type ItemProfilePatentsItemPatentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemProfilePatentsItemPatentItemRequestBuilder(rawUrl string, requestAda urlParams["request-raw-url"] = rawUrl return NewItemProfilePatentsItemPatentItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes an itemPatent object. +// Delete delete navigation property patents for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/itempatent-delete?view=graph-rest-1.0 func (m *ItemProfilePatentsItemPatentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemProfilePatentsItemPatentItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemProfilePatentsItemPatentItemRequestBuilder) Delete(ctx context.Cont } return nil } -// Get read the properties and relationships of an itemPatent object. +// Get represents patents that a user has added to their profile. // returns a ItemPatentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/itempatent-get?view=graph-rest-1.0 func (m *ItemProfilePatentsItemPatentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemProfilePatentsItemPatentItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemPatentable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ItemProfilePatentsItemPatentItemRequestBuilder) Get(ctx context.Context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemPatentable), nil } -// Patch update the properties of an itemPatent object. +// Patch update the navigation property patents in users // returns a ItemPatentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/itempatent-update?view=graph-rest-1.0 func (m *ItemProfilePatentsItemPatentItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemPatentable, requestConfiguration *ItemProfilePatentsItemPatentItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemPatentable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *ItemProfilePatentsItemPatentItemRequestBuilder) Patch(ctx context.Conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemPatentable), nil } -// ToDeleteRequestInformation deletes an itemPatent object. +// ToDeleteRequestInformation delete navigation property patents for users // returns a *RequestInformation when successful func (m *ItemProfilePatentsItemPatentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemProfilePatentsItemPatentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *ItemProfilePatentsItemPatentItemRequestBuilder) ToDeleteRequestInformat requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an itemPatent object. +// ToGetRequestInformation represents patents that a user has added to their profile. // returns a *RequestInformation when successful func (m *ItemProfilePatentsItemPatentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemProfilePatentsItemPatentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *ItemProfilePatentsItemPatentItemRequestBuilder) ToGetRequestInformation requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an itemPatent object. +// ToPatchRequestInformation update the navigation property patents in users // returns a *RequestInformation when successful func (m *ItemProfilePatentsItemPatentItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemPatentable, requestConfiguration *ItemProfilePatentsItemPatentItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_profile_patents_request_builder.go b/users/item_profile_patents_request_builder.go index e5e0c759ded..a2576efcc5c 100644 --- a/users/item_profile_patents_request_builder.go +++ b/users/item_profile_patents_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemProfilePatentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemProfilePatentsRequestBuilderGetQueryParameters retrieve a list of itemPatent objects from a user's profile. +// ItemProfilePatentsRequestBuilderGetQueryParameters represents patents that a user has added to their profile. type ItemProfilePatentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemProfilePatentsRequestBuilder(rawUrl string, requestAdapter i2ae4187f func (m *ItemProfilePatentsRequestBuilder) Count()(*ItemProfilePatentsCountRequestBuilder) { return NewItemProfilePatentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of itemPatent objects from a user's profile. +// Get represents patents that a user has added to their profile. // returns a ItemPatentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/profile-list-patents?view=graph-rest-1.0 func (m *ItemProfilePatentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemProfilePatentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemPatentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemProfilePatentsRequestBuilder) Get(ctx context.Context, requestConfi } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemPatentCollectionResponseable), nil } -// Post create a new itemPatent object within a user's profile. +// Post create new navigation property to patents for users // returns a ItemPatentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/profile-post-patents?view=graph-rest-1.0 func (m *ItemProfilePatentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemPatentable, requestConfiguration *ItemProfilePatentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemPatentable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemProfilePatentsRequestBuilder) Post(ctx context.Context, body ie233e } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemPatentable), nil } -// ToGetRequestInformation retrieve a list of itemPatent objects from a user's profile. +// ToGetRequestInformation represents patents that a user has added to their profile. // returns a *RequestInformation when successful func (m *ItemProfilePatentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemProfilePatentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemProfilePatentsRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new itemPatent object within a user's profile. +// ToPostRequestInformation create new navigation property to patents for users // returns a *RequestInformation when successful func (m *ItemProfilePatentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemPatentable, requestConfiguration *ItemProfilePatentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_profile_phones_item_phone_item_request_builder.go b/users/item_profile_phones_item_phone_item_request_builder.go index ebbc6d20006..128b07e658a 100644 --- a/users/item_profile_phones_item_phone_item_request_builder.go +++ b/users/item_profile_phones_item_phone_item_request_builder.go @@ -18,7 +18,7 @@ type ItemProfilePhonesItemPhoneItemRequestBuilderDeleteRequestConfiguration stru // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemProfilePhonesItemPhoneItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an itemPhone object in a user's profile. +// ItemProfilePhonesItemPhoneItemRequestBuilderGetQueryParameters represents detailed information about phone numbers associated with a user in various services. type ItemProfilePhonesItemPhoneItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemProfilePhonesItemPhoneItemRequestBuilder(rawUrl string, requestAdapt urlParams["request-raw-url"] = rawUrl return NewItemProfilePhonesItemPhoneItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an itemPhone object from the user's profile. +// Delete delete navigation property phones for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/itemphone-delete?view=graph-rest-1.0 func (m *ItemProfilePhonesItemPhoneItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemProfilePhonesItemPhoneItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemProfilePhonesItemPhoneItemRequestBuilder) Delete(ctx context.Contex } return nil } -// Get retrieve the properties and relationships of an itemPhone object in a user's profile. +// Get represents detailed information about phone numbers associated with a user in various services. // returns a ItemPhoneable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/itemphone-get?view=graph-rest-1.0 func (m *ItemProfilePhonesItemPhoneItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemProfilePhonesItemPhoneItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemPhoneable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ItemProfilePhonesItemPhoneItemRequestBuilder) Get(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemPhoneable), nil } -// Patch update the properties of an itemPhone object in a user's profile. +// Patch update the navigation property phones in users // returns a ItemPhoneable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/itemphone-update?view=graph-rest-1.0 func (m *ItemProfilePhonesItemPhoneItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemPhoneable, requestConfiguration *ItemProfilePhonesItemPhoneItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemPhoneable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *ItemProfilePhonesItemPhoneItemRequestBuilder) Patch(ctx context.Context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemPhoneable), nil } -// ToDeleteRequestInformation delete an itemPhone object from the user's profile. +// ToDeleteRequestInformation delete navigation property phones for users // returns a *RequestInformation when successful func (m *ItemProfilePhonesItemPhoneItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemProfilePhonesItemPhoneItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *ItemProfilePhonesItemPhoneItemRequestBuilder) ToDeleteRequestInformatio requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of an itemPhone object in a user's profile. +// ToGetRequestInformation represents detailed information about phone numbers associated with a user in various services. // returns a *RequestInformation when successful func (m *ItemProfilePhonesItemPhoneItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemProfilePhonesItemPhoneItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *ItemProfilePhonesItemPhoneItemRequestBuilder) ToGetRequestInformation(c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an itemPhone object in a user's profile. +// ToPatchRequestInformation update the navigation property phones in users // returns a *RequestInformation when successful func (m *ItemProfilePhonesItemPhoneItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemPhoneable, requestConfiguration *ItemProfilePhonesItemPhoneItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_profile_phones_request_builder.go b/users/item_profile_phones_request_builder.go index 069aa44c3df..05aaf0bdf5a 100644 --- a/users/item_profile_phones_request_builder.go +++ b/users/item_profile_phones_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemProfilePhonesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemProfilePhonesRequestBuilderGetQueryParameters retrieve a list of itemPhone objects from a user's profile. +// ItemProfilePhonesRequestBuilderGetQueryParameters represents detailed information about phone numbers associated with a user in various services. type ItemProfilePhonesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemProfilePhonesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7 func (m *ItemProfilePhonesRequestBuilder) Count()(*ItemProfilePhonesCountRequestBuilder) { return NewItemProfilePhonesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of itemPhone objects from a user's profile. +// Get represents detailed information about phone numbers associated with a user in various services. // returns a ItemPhoneCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/profile-list-phones?view=graph-rest-1.0 func (m *ItemProfilePhonesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemProfilePhonesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemPhoneCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemProfilePhonesRequestBuilder) Get(ctx context.Context, requestConfig } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemPhoneCollectionResponseable), nil } -// Post use this API to create a new itemPhone object in a user's profile. +// Post create new navigation property to phones for users // returns a ItemPhoneable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/profile-post-phones?view=graph-rest-1.0 func (m *ItemProfilePhonesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemPhoneable, requestConfiguration *ItemProfilePhonesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemPhoneable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemProfilePhonesRequestBuilder) Post(ctx context.Context, body ie233ee } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemPhoneable), nil } -// ToGetRequestInformation retrieve a list of itemPhone objects from a user's profile. +// ToGetRequestInformation represents detailed information about phone numbers associated with a user in various services. // returns a *RequestInformation when successful func (m *ItemProfilePhonesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemProfilePhonesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemProfilePhonesRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new itemPhone object in a user's profile. +// ToPostRequestInformation create new navigation property to phones for users // returns a *RequestInformation when successful func (m *ItemProfilePhonesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemPhoneable, requestConfiguration *ItemProfilePhonesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_profile_positions_request_builder.go b/users/item_profile_positions_request_builder.go index 7da1a9898a1..634ba1d045b 100644 --- a/users/item_profile_positions_request_builder.go +++ b/users/item_profile_positions_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemProfilePositionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemProfilePositionsRequestBuilderGetQueryParameters retrieve a list of workPosition objects from a user's profile. +// ItemProfilePositionsRequestBuilderGetQueryParameters represents detailed information about work positions associated with a user's profile. type ItemProfilePositionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemProfilePositionsRequestBuilder(rawUrl string, requestAdapter i2ae418 func (m *ItemProfilePositionsRequestBuilder) Count()(*ItemProfilePositionsCountRequestBuilder) { return NewItemProfilePositionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of workPosition objects from a user's profile. +// Get represents detailed information about work positions associated with a user's profile. // returns a WorkPositionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/profile-list-positions?view=graph-rest-1.0 func (m *ItemProfilePositionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemProfilePositionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkPositionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemProfilePositionsRequestBuilder) Get(ctx context.Context, requestCon } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkPositionCollectionResponseable), nil } -// Post use this API to create a new workPosition in a user's profile. +// Post create new navigation property to positions for users // returns a WorkPositionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/profile-post-positions?view=graph-rest-1.0 func (m *ItemProfilePositionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkPositionable, requestConfiguration *ItemProfilePositionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkPositionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemProfilePositionsRequestBuilder) Post(ctx context.Context, body ie23 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkPositionable), nil } -// ToGetRequestInformation retrieve a list of workPosition objects from a user's profile. +// ToGetRequestInformation represents detailed information about work positions associated with a user's profile. // returns a *RequestInformation when successful func (m *ItemProfilePositionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemProfilePositionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemProfilePositionsRequestBuilder) ToGetRequestInformation(ctx context requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new workPosition in a user's profile. +// ToPostRequestInformation create new navigation property to positions for users // returns a *RequestInformation when successful func (m *ItemProfilePositionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkPositionable, requestConfiguration *ItemProfilePositionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_profile_positions_work_position_item_request_builder.go b/users/item_profile_positions_work_position_item_request_builder.go index d74d83ec759..6a1e3b74ae9 100644 --- a/users/item_profile_positions_work_position_item_request_builder.go +++ b/users/item_profile_positions_work_position_item_request_builder.go @@ -18,7 +18,7 @@ type ItemProfilePositionsWorkPositionItemRequestBuilderDeleteRequestConfiguratio // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemProfilePositionsWorkPositionItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a workPosition object in a user's profile. +// ItemProfilePositionsWorkPositionItemRequestBuilderGetQueryParameters represents detailed information about work positions associated with a user's profile. type ItemProfilePositionsWorkPositionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemProfilePositionsWorkPositionItemRequestBuilder(rawUrl string, reques urlParams["request-raw-url"] = rawUrl return NewItemProfilePositionsWorkPositionItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a specific workPosition object from a user's profile. +// Delete delete navigation property positions for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/workposition-delete?view=graph-rest-1.0 func (m *ItemProfilePositionsWorkPositionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemProfilePositionsWorkPositionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemProfilePositionsWorkPositionItemRequestBuilder) Delete(ctx context. } return nil } -// Get retrieve the properties and relationships of a workPosition object in a user's profile. +// Get represents detailed information about work positions associated with a user's profile. // returns a WorkPositionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/workposition-get?view=graph-rest-1.0 func (m *ItemProfilePositionsWorkPositionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemProfilePositionsWorkPositionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkPositionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ItemProfilePositionsWorkPositionItemRequestBuilder) Get(ctx context.Con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkPositionable), nil } -// Patch update the properties of a workPosition object in a user's profile. +// Patch update the navigation property positions in users // returns a WorkPositionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/workposition-update?view=graph-rest-1.0 func (m *ItemProfilePositionsWorkPositionItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkPositionable, requestConfiguration *ItemProfilePositionsWorkPositionItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkPositionable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *ItemProfilePositionsWorkPositionItemRequestBuilder) Patch(ctx context.C } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkPositionable), nil } -// ToDeleteRequestInformation delete a specific workPosition object from a user's profile. +// ToDeleteRequestInformation delete navigation property positions for users // returns a *RequestInformation when successful func (m *ItemProfilePositionsWorkPositionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemProfilePositionsWorkPositionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *ItemProfilePositionsWorkPositionItemRequestBuilder) ToDeleteRequestInfo requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a workPosition object in a user's profile. +// ToGetRequestInformation represents detailed information about work positions associated with a user's profile. // returns a *RequestInformation when successful func (m *ItemProfilePositionsWorkPositionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemProfilePositionsWorkPositionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *ItemProfilePositionsWorkPositionItemRequestBuilder) ToGetRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a workPosition object in a user's profile. +// ToPatchRequestInformation update the navigation property positions in users // returns a *RequestInformation when successful func (m *ItemProfilePositionsWorkPositionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkPositionable, requestConfiguration *ItemProfilePositionsWorkPositionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_profile_projects_project_participation_item_request_builder.go b/users/item_profile_projects_project_participation_item_request_builder.go index 552c3894ac3..92175251e3a 100644 --- a/users/item_profile_projects_project_participation_item_request_builder.go +++ b/users/item_profile_projects_project_participation_item_request_builder.go @@ -18,7 +18,7 @@ type ItemProfileProjectsProjectParticipationItemRequestBuilderDeleteRequestConfi // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemProfileProjectsProjectParticipationItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a projectParticipation object in a user's profile. +// ItemProfileProjectsProjectParticipationItemRequestBuilderGetQueryParameters represents detailed information about projects associated with a user. type ItemProfileProjectsProjectParticipationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemProfileProjectsProjectParticipationItemRequestBuilder(rawUrl string, urlParams["request-raw-url"] = rawUrl return NewItemProfileProjectsProjectParticipationItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a projectParticipation object from a user's profile. +// Delete delete navigation property projects for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/projectparticipation-delete?view=graph-rest-1.0 func (m *ItemProfileProjectsProjectParticipationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemProfileProjectsProjectParticipationItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemProfileProjectsProjectParticipationItemRequestBuilder) Delete(ctx c } return nil } -// Get retrieve the properties and relationships of a projectParticipation object in a user's profile. +// Get represents detailed information about projects associated with a user. // returns a ProjectParticipationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/projectparticipation-get?view=graph-rest-1.0 func (m *ItemProfileProjectsProjectParticipationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemProfileProjectsProjectParticipationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProjectParticipationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ItemProfileProjectsProjectParticipationItemRequestBuilder) Get(ctx cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProjectParticipationable), nil } -// Patch update the properties of a projectParticipation object in a user's profile. +// Patch update the navigation property projects in users // returns a ProjectParticipationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/projectparticipation-update?view=graph-rest-1.0 func (m *ItemProfileProjectsProjectParticipationItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProjectParticipationable, requestConfiguration *ItemProfileProjectsProjectParticipationItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProjectParticipationable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *ItemProfileProjectsProjectParticipationItemRequestBuilder) Patch(ctx co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProjectParticipationable), nil } -// ToDeleteRequestInformation delete a projectParticipation object from a user's profile. +// ToDeleteRequestInformation delete navigation property projects for users // returns a *RequestInformation when successful func (m *ItemProfileProjectsProjectParticipationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemProfileProjectsProjectParticipationItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *ItemProfileProjectsProjectParticipationItemRequestBuilder) ToDeleteRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a projectParticipation object in a user's profile. +// ToGetRequestInformation represents detailed information about projects associated with a user. // returns a *RequestInformation when successful func (m *ItemProfileProjectsProjectParticipationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemProfileProjectsProjectParticipationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *ItemProfileProjectsProjectParticipationItemRequestBuilder) ToGetRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a projectParticipation object in a user's profile. +// ToPatchRequestInformation update the navigation property projects in users // returns a *RequestInformation when successful func (m *ItemProfileProjectsProjectParticipationItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProjectParticipationable, requestConfiguration *ItemProfileProjectsProjectParticipationItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_profile_projects_request_builder.go b/users/item_profile_projects_request_builder.go index 0151a704adc..a2fb89a85d3 100644 --- a/users/item_profile_projects_request_builder.go +++ b/users/item_profile_projects_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemProfileProjectsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemProfileProjectsRequestBuilderGetQueryParameters retrieve a list of projectParticipation objects from a user's profile. +// ItemProfileProjectsRequestBuilderGetQueryParameters represents detailed information about projects associated with a user. type ItemProfileProjectsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemProfileProjectsRequestBuilder(rawUrl string, requestAdapter i2ae4187 func (m *ItemProfileProjectsRequestBuilder) Count()(*ItemProfileProjectsCountRequestBuilder) { return NewItemProfileProjectsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of projectParticipation objects from a user's profile. +// Get represents detailed information about projects associated with a user. // returns a ProjectParticipationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/profile-list-projects?view=graph-rest-1.0 func (m *ItemProfileProjectsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemProfileProjectsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProjectParticipationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemProfileProjectsRequestBuilder) Get(ctx context.Context, requestConf } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProjectParticipationCollectionResponseable), nil } -// Post use this API to create a new projectParticipation object in a user's profile. +// Post create new navigation property to projects for users // returns a ProjectParticipationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/profile-post-projects?view=graph-rest-1.0 func (m *ItemProfileProjectsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProjectParticipationable, requestConfiguration *ItemProfileProjectsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProjectParticipationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemProfileProjectsRequestBuilder) Post(ctx context.Context, body ie233 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProjectParticipationable), nil } -// ToGetRequestInformation retrieve a list of projectParticipation objects from a user's profile. +// ToGetRequestInformation represents detailed information about projects associated with a user. // returns a *RequestInformation when successful func (m *ItemProfileProjectsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemProfileProjectsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemProfileProjectsRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new projectParticipation object in a user's profile. +// ToPostRequestInformation create new navigation property to projects for users // returns a *RequestInformation when successful func (m *ItemProfileProjectsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ProjectParticipationable, requestConfiguration *ItemProfileProjectsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_profile_publications_item_publication_item_request_builder.go b/users/item_profile_publications_item_publication_item_request_builder.go index 3df85f9b569..a97eed5b2a7 100644 --- a/users/item_profile_publications_item_publication_item_request_builder.go +++ b/users/item_profile_publications_item_publication_item_request_builder.go @@ -18,7 +18,7 @@ type ItemProfilePublicationsItemPublicationItemRequestBuilderDeleteRequestConfig // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemProfilePublicationsItemPublicationItemRequestBuilderGetQueryParameters read the properties and relationships of an itemPublication object in a user's profile. +// ItemProfilePublicationsItemPublicationItemRequestBuilderGetQueryParameters represents details of any publications a user has added to their profile. type ItemProfilePublicationsItemPublicationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemProfilePublicationsItemPublicationItemRequestBuilder(rawUrl string, urlParams["request-raw-url"] = rawUrl return NewItemProfilePublicationsItemPublicationItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes an itemPublication object. +// Delete delete navigation property publications for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/itempublication-delete?view=graph-rest-1.0 func (m *ItemProfilePublicationsItemPublicationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemProfilePublicationsItemPublicationItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemProfilePublicationsItemPublicationItemRequestBuilder) Delete(ctx co } return nil } -// Get read the properties and relationships of an itemPublication object in a user's profile. +// Get represents details of any publications a user has added to their profile. // returns a ItemPublicationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/itempublication-get?view=graph-rest-1.0 func (m *ItemProfilePublicationsItemPublicationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemProfilePublicationsItemPublicationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemPublicationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ItemProfilePublicationsItemPublicationItemRequestBuilder) Get(ctx conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemPublicationable), nil } -// Patch update the properties of an itemPublication object in a user's profile. +// Patch update the navigation property publications in users // returns a ItemPublicationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/itempublication-update?view=graph-rest-1.0 func (m *ItemProfilePublicationsItemPublicationItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemPublicationable, requestConfiguration *ItemProfilePublicationsItemPublicationItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemPublicationable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *ItemProfilePublicationsItemPublicationItemRequestBuilder) Patch(ctx con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemPublicationable), nil } -// ToDeleteRequestInformation deletes an itemPublication object. +// ToDeleteRequestInformation delete navigation property publications for users // returns a *RequestInformation when successful func (m *ItemProfilePublicationsItemPublicationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemProfilePublicationsItemPublicationItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *ItemProfilePublicationsItemPublicationItemRequestBuilder) ToDeleteReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an itemPublication object in a user's profile. +// ToGetRequestInformation represents details of any publications a user has added to their profile. // returns a *RequestInformation when successful func (m *ItemProfilePublicationsItemPublicationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemProfilePublicationsItemPublicationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *ItemProfilePublicationsItemPublicationItemRequestBuilder) ToGetRequestI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an itemPublication object in a user's profile. +// ToPatchRequestInformation update the navigation property publications in users // returns a *RequestInformation when successful func (m *ItemProfilePublicationsItemPublicationItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemPublicationable, requestConfiguration *ItemProfilePublicationsItemPublicationItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_profile_publications_request_builder.go b/users/item_profile_publications_request_builder.go index b9c513bf13f..ed41d32bf58 100644 --- a/users/item_profile_publications_request_builder.go +++ b/users/item_profile_publications_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemProfilePublicationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemProfilePublicationsRequestBuilderGetQueryParameters retrieve a list of itemPublication objects from a user's profile. +// ItemProfilePublicationsRequestBuilderGetQueryParameters represents details of any publications a user has added to their profile. type ItemProfilePublicationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemProfilePublicationsRequestBuilder(rawUrl string, requestAdapter i2ae func (m *ItemProfilePublicationsRequestBuilder) Count()(*ItemProfilePublicationsCountRequestBuilder) { return NewItemProfilePublicationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of itemPublication objects from a user's profile. +// Get represents details of any publications a user has added to their profile. // returns a ItemPublicationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/profile-list-publications?view=graph-rest-1.0 func (m *ItemProfilePublicationsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemProfilePublicationsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemPublicationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemProfilePublicationsRequestBuilder) Get(ctx context.Context, request } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemPublicationCollectionResponseable), nil } -// Post create a new itemPublication object in a user's profile. +// Post create new navigation property to publications for users // returns a ItemPublicationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/profile-post-publications?view=graph-rest-1.0 func (m *ItemProfilePublicationsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemPublicationable, requestConfiguration *ItemProfilePublicationsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemPublicationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemProfilePublicationsRequestBuilder) Post(ctx context.Context, body i } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemPublicationable), nil } -// ToGetRequestInformation retrieve a list of itemPublication objects from a user's profile. +// ToGetRequestInformation represents details of any publications a user has added to their profile. // returns a *RequestInformation when successful func (m *ItemProfilePublicationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemProfilePublicationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemProfilePublicationsRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new itemPublication object in a user's profile. +// ToPostRequestInformation create new navigation property to publications for users // returns a *RequestInformation when successful func (m *ItemProfilePublicationsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemPublicationable, requestConfiguration *ItemProfilePublicationsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_profile_request_builder.go b/users/item_profile_request_builder.go index e7b3567d745..3da280cc04a 100644 --- a/users/item_profile_request_builder.go +++ b/users/item_profile_request_builder.go @@ -18,7 +18,7 @@ type ItemProfileRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemProfileRequestBuilderGetQueryParameters retrieve the properties and relationships of a profile object for a given user. The profile resource exposes various rich properties that are descriptive of the user as relationships, for example, anniversaries and education activities. To get one of these navigation properties, use the corresponding GET method on that property. See the methods exposed by profile. +// ItemProfileRequestBuilderGetQueryParameters represents properties that are descriptive of a user in a tenant. type ItemProfileRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -79,11 +79,8 @@ func NewItemProfileRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 urlParams["request-raw-url"] = rawUrl return NewItemProfileRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a profile object from a user's account. +// Delete delete navigation property profile for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/profile-delete?view=graph-rest-1.0 func (m *ItemProfileRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemProfileRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -108,12 +105,9 @@ func (m *ItemProfileRequestBuilder) EducationalActivities()(*ItemProfileEducatio func (m *ItemProfileRequestBuilder) Emails()(*ItemProfileEmailsRequestBuilder) { return NewItemProfileEmailsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties and relationships of a profile object for a given user. The profile resource exposes various rich properties that are descriptive of the user as relationships, for example, anniversaries and education activities. To get one of these navigation properties, use the corresponding GET method on that property. See the methods exposed by profile. +// Get represents properties that are descriptive of a user in a tenant. // returns a Profileable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/profile-get?view=graph-rest-1.0 func (m *ItemProfileRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemProfileRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Profileable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -201,7 +195,7 @@ func (m *ItemProfileRequestBuilder) Publications()(*ItemProfilePublicationsReque func (m *ItemProfileRequestBuilder) Skills()(*ItemProfileSkillsRequestBuilder) { return NewItemProfileSkillsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation deletes a profile object from a user's account. +// ToDeleteRequestInformation delete navigation property profile for users // returns a *RequestInformation when successful func (m *ItemProfileRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemProfileRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -212,7 +206,7 @@ func (m *ItemProfileRequestBuilder) ToDeleteRequestInformation(ctx context.Conte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a profile object for a given user. The profile resource exposes various rich properties that are descriptive of the user as relationships, for example, anniversaries and education activities. To get one of these navigation properties, use the corresponding GET method on that property. See the methods exposed by profile. +// ToGetRequestInformation represents properties that are descriptive of a user in a tenant. // returns a *RequestInformation when successful func (m *ItemProfileRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemProfileRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_profile_skills_request_builder.go b/users/item_profile_skills_request_builder.go index 0c3c1227b73..a9b6d9757cc 100644 --- a/users/item_profile_skills_request_builder.go +++ b/users/item_profile_skills_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemProfileSkillsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemProfileSkillsRequestBuilderGetQueryParameters retrieve a list of skillProficiency objects in a user's profile. +// ItemProfileSkillsRequestBuilderGetQueryParameters represents detailed information about skills associated with a user in various services. type ItemProfileSkillsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemProfileSkillsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7 func (m *ItemProfileSkillsRequestBuilder) Count()(*ItemProfileSkillsCountRequestBuilder) { return NewItemProfileSkillsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of skillProficiency objects in a user's profile. +// Get represents detailed information about skills associated with a user in various services. // returns a SkillProficiencyCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/profile-list-skills?view=graph-rest-1.0 func (m *ItemProfileSkillsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemProfileSkillsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SkillProficiencyCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemProfileSkillsRequestBuilder) Get(ctx context.Context, requestConfig } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SkillProficiencyCollectionResponseable), nil } -// Post use this API to create a new skillProficiency object in a user's profile. +// Post create new navigation property to skills for users // returns a SkillProficiencyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/profile-post-skills?view=graph-rest-1.0 func (m *ItemProfileSkillsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SkillProficiencyable, requestConfiguration *ItemProfileSkillsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SkillProficiencyable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemProfileSkillsRequestBuilder) Post(ctx context.Context, body ie233ee } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SkillProficiencyable), nil } -// ToGetRequestInformation retrieve a list of skillProficiency objects in a user's profile. +// ToGetRequestInformation represents detailed information about skills associated with a user in various services. // returns a *RequestInformation when successful func (m *ItemProfileSkillsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemProfileSkillsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemProfileSkillsRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation use this API to create a new skillProficiency object in a user's profile. +// ToPostRequestInformation create new navigation property to skills for users // returns a *RequestInformation when successful func (m *ItemProfileSkillsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SkillProficiencyable, requestConfiguration *ItemProfileSkillsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_profile_skills_skill_proficiency_item_request_builder.go b/users/item_profile_skills_skill_proficiency_item_request_builder.go index 151a28cba91..ea512dbd068 100644 --- a/users/item_profile_skills_skill_proficiency_item_request_builder.go +++ b/users/item_profile_skills_skill_proficiency_item_request_builder.go @@ -18,7 +18,7 @@ type ItemProfileSkillsSkillProficiencyItemRequestBuilderDeleteRequestConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemProfileSkillsSkillProficiencyItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a skillproficiency object in a user's profile. +// ItemProfileSkillsSkillProficiencyItemRequestBuilderGetQueryParameters represents detailed information about skills associated with a user in various services. type ItemProfileSkillsSkillProficiencyItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemProfileSkillsSkillProficiencyItemRequestBuilder(rawUrl string, reque urlParams["request-raw-url"] = rawUrl return NewItemProfileSkillsSkillProficiencyItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a skillProficiency object from a user's profile. +// Delete delete navigation property skills for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/skillproficiency-delete?view=graph-rest-1.0 func (m *ItemProfileSkillsSkillProficiencyItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemProfileSkillsSkillProficiencyItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemProfileSkillsSkillProficiencyItemRequestBuilder) Delete(ctx context } return nil } -// Get retrieve the properties and relationships of a skillproficiency object in a user's profile. +// Get represents detailed information about skills associated with a user in various services. // returns a SkillProficiencyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/skillproficiency-get?view=graph-rest-1.0 func (m *ItemProfileSkillsSkillProficiencyItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemProfileSkillsSkillProficiencyItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SkillProficiencyable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ItemProfileSkillsSkillProficiencyItemRequestBuilder) Get(ctx context.Co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SkillProficiencyable), nil } -// Patch update the properties of a skillProficiency object in a user's profile. +// Patch update the navigation property skills in users // returns a SkillProficiencyable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/skillproficiency-update?view=graph-rest-1.0 func (m *ItemProfileSkillsSkillProficiencyItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SkillProficiencyable, requestConfiguration *ItemProfileSkillsSkillProficiencyItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SkillProficiencyable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *ItemProfileSkillsSkillProficiencyItemRequestBuilder) Patch(ctx context. } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SkillProficiencyable), nil } -// ToDeleteRequestInformation delete a skillProficiency object from a user's profile. +// ToDeleteRequestInformation delete navigation property skills for users // returns a *RequestInformation when successful func (m *ItemProfileSkillsSkillProficiencyItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemProfileSkillsSkillProficiencyItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *ItemProfileSkillsSkillProficiencyItemRequestBuilder) ToDeleteRequestInf requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a skillproficiency object in a user's profile. +// ToGetRequestInformation represents detailed information about skills associated with a user in various services. // returns a *RequestInformation when successful func (m *ItemProfileSkillsSkillProficiencyItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemProfileSkillsSkillProficiencyItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *ItemProfileSkillsSkillProficiencyItemRequestBuilder) ToGetRequestInform requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a skillProficiency object in a user's profile. +// ToPatchRequestInformation update the navigation property skills in users // returns a *RequestInformation when successful func (m *ItemProfileSkillsSkillProficiencyItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SkillProficiencyable, requestConfiguration *ItemProfileSkillsSkillProficiencyItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_profile_web_accounts_request_builder.go b/users/item_profile_web_accounts_request_builder.go index c16e7a69011..6348e02be13 100644 --- a/users/item_profile_web_accounts_request_builder.go +++ b/users/item_profile_web_accounts_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemProfileWebAccountsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemProfileWebAccountsRequestBuilderGetQueryParameters retrieve a list of webAccounts objects from the user's profile. +// ItemProfileWebAccountsRequestBuilderGetQueryParameters represents web accounts the user has indicated they use or has added to their user profile. type ItemProfileWebAccountsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemProfileWebAccountsRequestBuilder(rawUrl string, requestAdapter i2ae4 func (m *ItemProfileWebAccountsRequestBuilder) Count()(*ItemProfileWebAccountsCountRequestBuilder) { return NewItemProfileWebAccountsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of webAccounts objects from the user's profile. +// Get represents web accounts the user has indicated they use or has added to their user profile. // returns a WebAccountCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/profile-list-webaccounts?view=graph-rest-1.0 func (m *ItemProfileWebAccountsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemProfileWebAccountsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WebAccountCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemProfileWebAccountsRequestBuilder) Get(ctx context.Context, requestC } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WebAccountCollectionResponseable), nil } -// Post create a new webAccount object in a user's profile. +// Post create new navigation property to webAccounts for users // returns a WebAccountable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/profile-post-webaccounts?view=graph-rest-1.0 func (m *ItemProfileWebAccountsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WebAccountable, requestConfiguration *ItemProfileWebAccountsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WebAccountable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemProfileWebAccountsRequestBuilder) Post(ctx context.Context, body ie } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WebAccountable), nil } -// ToGetRequestInformation retrieve a list of webAccounts objects from the user's profile. +// ToGetRequestInformation represents web accounts the user has indicated they use or has added to their user profile. // returns a *RequestInformation when successful func (m *ItemProfileWebAccountsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemProfileWebAccountsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemProfileWebAccountsRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new webAccount object in a user's profile. +// ToPostRequestInformation create new navigation property to webAccounts for users // returns a *RequestInformation when successful func (m *ItemProfileWebAccountsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WebAccountable, requestConfiguration *ItemProfileWebAccountsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_profile_web_accounts_web_account_item_request_builder.go b/users/item_profile_web_accounts_web_account_item_request_builder.go index 079def60884..0c77e50e51a 100644 --- a/users/item_profile_web_accounts_web_account_item_request_builder.go +++ b/users/item_profile_web_accounts_web_account_item_request_builder.go @@ -18,7 +18,7 @@ type ItemProfileWebAccountsWebAccountItemRequestBuilderDeleteRequestConfiguratio // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemProfileWebAccountsWebAccountItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a webAccount object from a user's profile. +// ItemProfileWebAccountsWebAccountItemRequestBuilderGetQueryParameters represents web accounts the user has indicated they use or has added to their user profile. type ItemProfileWebAccountsWebAccountItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemProfileWebAccountsWebAccountItemRequestBuilder(rawUrl string, reques urlParams["request-raw-url"] = rawUrl return NewItemProfileWebAccountsWebAccountItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a webAccount object from a user's profile. +// Delete delete navigation property webAccounts for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/webaccount-delete?view=graph-rest-1.0 func (m *ItemProfileWebAccountsWebAccountItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemProfileWebAccountsWebAccountItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemProfileWebAccountsWebAccountItemRequestBuilder) Delete(ctx context. } return nil } -// Get retrieve the properties and relationships of a webAccount object from a user's profile. +// Get represents web accounts the user has indicated they use or has added to their user profile. // returns a WebAccountable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/webaccount-get?view=graph-rest-1.0 func (m *ItemProfileWebAccountsWebAccountItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemProfileWebAccountsWebAccountItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WebAccountable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ItemProfileWebAccountsWebAccountItemRequestBuilder) Get(ctx context.Con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WebAccountable), nil } -// Patch update the properties of a webAccount object in a user's profile. +// Patch update the navigation property webAccounts in users // returns a WebAccountable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/webaccount-update?view=graph-rest-1.0 func (m *ItemProfileWebAccountsWebAccountItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WebAccountable, requestConfiguration *ItemProfileWebAccountsWebAccountItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WebAccountable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *ItemProfileWebAccountsWebAccountItemRequestBuilder) Patch(ctx context.C } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WebAccountable), nil } -// ToDeleteRequestInformation delete a webAccount object from a user's profile. +// ToDeleteRequestInformation delete navigation property webAccounts for users // returns a *RequestInformation when successful func (m *ItemProfileWebAccountsWebAccountItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemProfileWebAccountsWebAccountItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *ItemProfileWebAccountsWebAccountItemRequestBuilder) ToDeleteRequestInfo requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a webAccount object from a user's profile. +// ToGetRequestInformation represents web accounts the user has indicated they use or has added to their user profile. // returns a *RequestInformation when successful func (m *ItemProfileWebAccountsWebAccountItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemProfileWebAccountsWebAccountItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *ItemProfileWebAccountsWebAccountItemRequestBuilder) ToGetRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a webAccount object in a user's profile. +// ToPatchRequestInformation update the navigation property webAccounts in users // returns a *RequestInformation when successful func (m *ItemProfileWebAccountsWebAccountItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WebAccountable, requestConfiguration *ItemProfileWebAccountsWebAccountItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_profile_websites_person_website_item_request_builder.go b/users/item_profile_websites_person_website_item_request_builder.go index d17959ef0cb..04ad9b76b2a 100644 --- a/users/item_profile_websites_person_website_item_request_builder.go +++ b/users/item_profile_websites_person_website_item_request_builder.go @@ -18,7 +18,7 @@ type ItemProfileWebsitesPersonWebsiteItemRequestBuilderDeleteRequestConfiguratio // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemProfileWebsitesPersonWebsiteItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a personWebsite object from a user's profile. +// ItemProfileWebsitesPersonWebsiteItemRequestBuilderGetQueryParameters represents detailed information about websites associated with a user in various services. type ItemProfileWebsitesPersonWebsiteItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemProfileWebsitesPersonWebsiteItemRequestBuilder(rawUrl string, reques urlParams["request-raw-url"] = rawUrl return NewItemProfileWebsitesPersonWebsiteItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a personWebsite object from a user's profile. +// Delete delete navigation property websites for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/personwebsite-delete?view=graph-rest-1.0 func (m *ItemProfileWebsitesPersonWebsiteItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemProfileWebsitesPersonWebsiteItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemProfileWebsitesPersonWebsiteItemRequestBuilder) Delete(ctx context. } return nil } -// Get retrieve the properties and relationships of a personWebsite object from a user's profile. +// Get represents detailed information about websites associated with a user in various services. // returns a PersonWebsiteable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/personwebsite-get?view=graph-rest-1.0 func (m *ItemProfileWebsitesPersonWebsiteItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemProfileWebsitesPersonWebsiteItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonWebsiteable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ItemProfileWebsitesPersonWebsiteItemRequestBuilder) Get(ctx context.Con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonWebsiteable), nil } -// Patch update the properties of personWebsite object in a user's profile. +// Patch update the navigation property websites in users // returns a PersonWebsiteable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/personwebsite-update?view=graph-rest-1.0 func (m *ItemProfileWebsitesPersonWebsiteItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonWebsiteable, requestConfiguration *ItemProfileWebsitesPersonWebsiteItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonWebsiteable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *ItemProfileWebsitesPersonWebsiteItemRequestBuilder) Patch(ctx context.C } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonWebsiteable), nil } -// ToDeleteRequestInformation deletes a personWebsite object from a user's profile. +// ToDeleteRequestInformation delete navigation property websites for users // returns a *RequestInformation when successful func (m *ItemProfileWebsitesPersonWebsiteItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemProfileWebsitesPersonWebsiteItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *ItemProfileWebsitesPersonWebsiteItemRequestBuilder) ToDeleteRequestInfo requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a personWebsite object from a user's profile. +// ToGetRequestInformation represents detailed information about websites associated with a user in various services. // returns a *RequestInformation when successful func (m *ItemProfileWebsitesPersonWebsiteItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemProfileWebsitesPersonWebsiteItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *ItemProfileWebsitesPersonWebsiteItemRequestBuilder) ToGetRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of personWebsite object in a user's profile. +// ToPatchRequestInformation update the navigation property websites in users // returns a *RequestInformation when successful func (m *ItemProfileWebsitesPersonWebsiteItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonWebsiteable, requestConfiguration *ItemProfileWebsitesPersonWebsiteItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_profile_websites_request_builder.go b/users/item_profile_websites_request_builder.go index 1f930b2c013..335980b2422 100644 --- a/users/item_profile_websites_request_builder.go +++ b/users/item_profile_websites_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemProfileWebsitesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemProfileWebsitesRequestBuilderGetQueryParameters retrieve a list of personWebsite objects from a user's profile. +// ItemProfileWebsitesRequestBuilderGetQueryParameters represents detailed information about websites associated with a user in various services. type ItemProfileWebsitesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemProfileWebsitesRequestBuilder(rawUrl string, requestAdapter i2ae4187 func (m *ItemProfileWebsitesRequestBuilder) Count()(*ItemProfileWebsitesCountRequestBuilder) { return NewItemProfileWebsitesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of personWebsite objects from a user's profile. +// Get represents detailed information about websites associated with a user in various services. // returns a PersonWebsiteCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/profile-list-websites?view=graph-rest-1.0 func (m *ItemProfileWebsitesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemProfileWebsitesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonWebsiteCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemProfileWebsitesRequestBuilder) Get(ctx context.Context, requestConf } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonWebsiteCollectionResponseable), nil } -// Post create a new personWebsite object in a user's profile. +// Post create new navigation property to websites for users // returns a PersonWebsiteable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/profile-post-websites?view=graph-rest-1.0 func (m *ItemProfileWebsitesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonWebsiteable, requestConfiguration *ItemProfileWebsitesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonWebsiteable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemProfileWebsitesRequestBuilder) Post(ctx context.Context, body ie233 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonWebsiteable), nil } -// ToGetRequestInformation retrieve a list of personWebsite objects from a user's profile. +// ToGetRequestInformation represents detailed information about websites associated with a user in various services. // returns a *RequestInformation when successful func (m *ItemProfileWebsitesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemProfileWebsitesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemProfileWebsitesRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new personWebsite object in a user's profile. +// ToPostRequestInformation create new navigation property to websites for users // returns a *RequestInformation when successful func (m *ItemProfileWebsitesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PersonWebsiteable, requestConfiguration *ItemProfileWebsitesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_registered_devices_request_builder.go b/users/item_registered_devices_request_builder.go index 1ac15d27d8e..7db56bb6ea3 100644 --- a/users/item_registered_devices_request_builder.go +++ b/users/item_registered_devices_request_builder.go @@ -72,9 +72,6 @@ func (m *ItemRegisteredDevicesRequestBuilder) Count()(*ItemRegisteredDevicesCoun // Get devices that are registered for the user. Read-only. Nullable. Supports $expand and returns up to 100 objects. // returns a DirectoryObjectCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/user-list-registereddevices?view=graph-rest-1.0 func (m *ItemRegisteredDevicesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemRegisteredDevicesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_reminder_view_with_start_date_time_with_end_date_time_request_builder.go b/users/item_reminder_view_with_start_date_time_with_end_date_time_request_builder.go index 5052e2fc5ad..08c3db140b1 100644 --- a/users/item_reminder_view_with_start_date_time_with_end_date_time_request_builder.go +++ b/users/item_reminder_view_with_start_date_time_with_end_date_time_request_builder.go @@ -10,7 +10,7 @@ import ( type ItemReminderViewWithStartDateTimeWithEndDateTimeRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemReminderViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters invoke function reminderView +// ItemReminderViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters return a list of event reminders in a user calendar within the specified start and end times. type ItemReminderViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -51,10 +51,13 @@ func NewItemReminderViewWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl st urlParams["request-raw-url"] = rawUrl return NewItemReminderViewWithStartDateTimeWithEndDateTimeRequestBuilderInternal(urlParams, requestAdapter, nil, nil) } -// Get invoke function reminderView +// Get return a list of event reminders in a user calendar within the specified start and end times. // Deprecated: This method is obsolete. Use GetAsReminderViewWithStartDateTimeWithEndDateTimeGetResponse instead. // returns a ItemReminderViewWithStartDateTimeWithEndDateTimeResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/user-reminderview?view=graph-rest-beta func (m *ItemReminderViewWithStartDateTimeWithEndDateTimeRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemReminderViewWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration)(ItemReminderViewWithStartDateTimeWithEndDateTimeResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -72,9 +75,12 @@ func (m *ItemReminderViewWithStartDateTimeWithEndDateTimeRequestBuilder) Get(ctx } return res.(ItemReminderViewWithStartDateTimeWithEndDateTimeResponseable), nil } -// GetAsReminderViewWithStartDateTimeWithEndDateTimeGetResponse invoke function reminderView +// GetAsReminderViewWithStartDateTimeWithEndDateTimeGetResponse return a list of event reminders in a user calendar within the specified start and end times. // returns a ItemReminderViewWithStartDateTimeWithEndDateTimeGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/user-reminderview?view=graph-rest-beta func (m *ItemReminderViewWithStartDateTimeWithEndDateTimeRequestBuilder) GetAsReminderViewWithStartDateTimeWithEndDateTimeGetResponse(ctx context.Context, requestConfiguration *ItemReminderViewWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration)(ItemReminderViewWithStartDateTimeWithEndDateTimeGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +98,7 @@ func (m *ItemReminderViewWithStartDateTimeWithEndDateTimeRequestBuilder) GetAsRe } return res.(ItemReminderViewWithStartDateTimeWithEndDateTimeGetResponseable), nil } -// ToGetRequestInformation invoke function reminderView +// ToGetRequestInformation return a list of event reminders in a user calendar within the specified start and end times. // returns a *RequestInformation when successful func (m *ItemReminderViewWithStartDateTimeWithEndDateTimeRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemReminderViewWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_reprocess_license_assignment_request_builder.go b/users/item_reprocess_license_assignment_request_builder.go index b541435be84..8bf720eb6fb 100644 --- a/users/item_reprocess_license_assignment_request_builder.go +++ b/users/item_reprocess_license_assignment_request_builder.go @@ -36,7 +36,7 @@ func NewItemReprocessLicenseAssignmentRequestBuilder(rawUrl string, requestAdapt // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/user-reprocesslicenseassignment?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/user-reprocesslicenseassignment?view=graph-rest-beta func (m *ItemReprocessLicenseAssignmentRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemReprocessLicenseAssignmentRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Userable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_restore_request_builder.go b/users/item_restore_request_builder.go index 05726d424a8..bb1298272fe 100644 --- a/users/item_restore_request_builder.go +++ b/users/item_restore_request_builder.go @@ -36,7 +36,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-beta func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemRestoreRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_retry_service_provisioning_request_builder.go b/users/item_retry_service_provisioning_request_builder.go index 7bc6bddc905..6b296bbede8 100644 --- a/users/item_retry_service_provisioning_request_builder.go +++ b/users/item_retry_service_provisioning_request_builder.go @@ -34,7 +34,7 @@ func NewItemRetryServiceProvisioningRequestBuilder(rawUrl string, requestAdapter // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/user-retryserviceprovisioning?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/user-retryserviceprovisioning?view=graph-rest-beta func (m *ItemRetryServiceProvisioningRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemRetryServiceProvisioningRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_revoke_sign_in_sessions_request_builder.go b/users/item_revoke_sign_in_sessions_request_builder.go index b38d8514ec8..1cc46a67767 100644 --- a/users/item_revoke_sign_in_sessions_request_builder.go +++ b/users/item_revoke_sign_in_sessions_request_builder.go @@ -36,7 +36,7 @@ func NewItemRevokeSignInSessionsRequestBuilder(rawUrl string, requestAdapter i2a // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/user-revokesigninsessions?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/user-revokesigninsessions?view=graph-rest-beta func (m *ItemRevokeSignInSessionsRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemRevokeSignInSessionsRequestBuilderPostRequestConfiguration)(ItemRevokeSignInSessionsResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ItemRevokeSignInSessionsRequestBuilder) Post(ctx context.Context, reque // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/user-revokesigninsessions?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/user-revokesigninsessions?view=graph-rest-beta func (m *ItemRevokeSignInSessionsRequestBuilder) PostAsRevokeSignInSessionsPostResponse(ctx context.Context, requestConfiguration *ItemRevokeSignInSessionsRequestBuilderPostRequestConfiguration)(ItemRevokeSignInSessionsPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_scoped_role_member_of_request_builder.go b/users/item_scoped_role_member_of_request_builder.go index e9122e80995..f6d79ba6274 100644 --- a/users/item_scoped_role_member_of_request_builder.go +++ b/users/item_scoped_role_member_of_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemScopedRoleMemberOfRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemScopedRoleMemberOfRequestBuilderGetQueryParameters retrieve a list of scopedRoleMembership for the user. +// ItemScopedRoleMemberOfRequestBuilderGetQueryParameters the scoped-role administrative unit memberships for this user. Read-only. Nullable. type ItemScopedRoleMemberOfRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemScopedRoleMemberOfRequestBuilder(rawUrl string, requestAdapter i2ae4 func (m *ItemScopedRoleMemberOfRequestBuilder) Count()(*ItemScopedRoleMemberOfCountRequestBuilder) { return NewItemScopedRoleMemberOfCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of scopedRoleMembership for the user. +// Get the scoped-role administrative unit memberships for this user. Read-only. Nullable. // returns a ScopedRoleMembershipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/user-list-scopedrolememberof?view=graph-rest-1.0 func (m *ItemScopedRoleMemberOfRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemScopedRoleMemberOfRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ScopedRoleMembershipCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemScopedRoleMemberOfRequestBuilder) Post(ctx context.Context, body ie } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ScopedRoleMembershipable), nil } -// ToGetRequestInformation retrieve a list of scopedRoleMembership for the user. +// ToGetRequestInformation the scoped-role administrative unit memberships for this user. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemScopedRoleMemberOfRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemScopedRoleMemberOfRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_security_information_protection_label_policy_settings_request_builder.go b/users/item_security_information_protection_label_policy_settings_request_builder.go index a21367a9c60..276a2ad848c 100644 --- a/users/item_security_information_protection_label_policy_settings_request_builder.go +++ b/users/item_security_information_protection_label_policy_settings_request_builder.go @@ -18,7 +18,7 @@ type ItemSecurityInformationProtectionLabelPolicySettingsRequestBuilderDeleteReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemSecurityInformationProtectionLabelPolicySettingsRequestBuilderGetQueryParameters read the properties and relationships of an informationProtectionPolicySetting object. The settings exposed by this API should be used in applications to populate the moreInfoUrl property for Microsoft Purview Information Protection help, and indicate whether labeling is mandatory for the user and whether justification must be provided on downgrade. +// ItemSecurityInformationProtectionLabelPolicySettingsRequestBuilderGetQueryParameters read the Microsoft Purview Information Protection policy settings for the user or organization. type ItemSecurityInformationProtectionLabelPolicySettingsRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemSecurityInformationProtectionLabelPolicySettingsRequestBuilder) Del } return nil } -// Get read the properties and relationships of an informationProtectionPolicySetting object. The settings exposed by this API should be used in applications to populate the moreInfoUrl property for Microsoft Purview Information Protection help, and indicate whether labeling is mandatory for the user and whether justification must be provided on downgrade. +// Get read the Microsoft Purview Information Protection policy settings for the user or organization. // returns a InformationProtectionPolicySettingable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-informationprotectionpolicysetting-get?view=graph-rest-1.0 func (m *ItemSecurityInformationProtectionLabelPolicySettingsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSecurityInformationProtectionLabelPolicySettingsRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.InformationProtectionPolicySettingable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemSecurityInformationProtectionLabelPolicySettingsRequestBuilder) ToD requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an informationProtectionPolicySetting object. The settings exposed by this API should be used in applications to populate the moreInfoUrl property for Microsoft Purview Information Protection help, and indicate whether labeling is mandatory for the user and whether justification must be provided on downgrade. +// ToGetRequestInformation read the Microsoft Purview Information Protection policy settings for the user or organization. // returns a *RequestInformation when successful func (m *ItemSecurityInformationProtectionLabelPolicySettingsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSecurityInformationProtectionLabelPolicySettingsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_security_information_protection_sensitivity_labels_microsoft_graph_security_evaluate_application_request_builder.go b/users/item_security_information_protection_sensitivity_labels_microsoft_graph_security_evaluate_application_request_builder.go index b3725e46255..b9a9cc184ca 100644 --- a/users/item_security_information_protection_sensitivity_labels_microsoft_graph_security_evaluate_application_request_builder.go +++ b/users/item_security_information_protection_sensitivity_labels_microsoft_graph_security_evaluate_application_request_builder.go @@ -36,7 +36,7 @@ func NewItemSecurityInformationProtectionSensitivityLabelsMicrosoftGraphSecurity // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/security-sensitivitylabel-evaluateapplication?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/security-sensitivitylabel-evaluateapplication?view=graph-rest-beta func (m *ItemSecurityInformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateApplicationRequestBuilder) Post(ctx context.Context, body ItemSecurityInformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateApplicationEvaluateApplicationPostRequestBodyable, requestConfiguration *ItemSecurityInformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateApplicationRequestBuilderPostRequestConfiguration)(ItemSecurityInformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateApplicationEvaluateApplicationResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ItemSecurityInformationProtectionSensitivityLabelsMicrosoftGraphSecurit // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/security-sensitivitylabel-evaluateapplication?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/security-sensitivitylabel-evaluateapplication?view=graph-rest-beta func (m *ItemSecurityInformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateApplicationRequestBuilder) PostAsEvaluateApplicationPostResponse(ctx context.Context, body ItemSecurityInformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateApplicationEvaluateApplicationPostRequestBodyable, requestConfiguration *ItemSecurityInformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateApplicationRequestBuilderPostRequestConfiguration)(ItemSecurityInformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateApplicationEvaluateApplicationPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_security_information_protection_sensitivity_labels_microsoft_graph_security_evaluate_classification_results_request_builder.go b/users/item_security_information_protection_sensitivity_labels_microsoft_graph_security_evaluate_classification_results_request_builder.go index da14ecbad1c..1bb47206123 100644 --- a/users/item_security_information_protection_sensitivity_labels_microsoft_graph_security_evaluate_classification_results_request_builder.go +++ b/users/item_security_information_protection_sensitivity_labels_microsoft_graph_security_evaluate_classification_results_request_builder.go @@ -36,7 +36,7 @@ func NewItemSecurityInformationProtectionSensitivityLabelsMicrosoftGraphSecurity // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/security-sensitivitylabel-evaluateclassificationresults?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/security-sensitivitylabel-evaluateclassificationresults?view=graph-rest-beta func (m *ItemSecurityInformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateClassificationResultsRequestBuilder) Post(ctx context.Context, body ItemSecurityInformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateClassificationResultsEvaluateClassificationResultsPostRequestBodyable, requestConfiguration *ItemSecurityInformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateClassificationResultsRequestBuilderPostRequestConfiguration)(ItemSecurityInformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateClassificationResultsEvaluateClassificationResultsResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ItemSecurityInformationProtectionSensitivityLabelsMicrosoftGraphSecurit // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/security-sensitivitylabel-evaluateclassificationresults?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/security-sensitivitylabel-evaluateclassificationresults?view=graph-rest-beta func (m *ItemSecurityInformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateClassificationResultsRequestBuilder) PostAsEvaluateClassificationResultsPostResponse(ctx context.Context, body ItemSecurityInformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateClassificationResultsEvaluateClassificationResultsPostRequestBodyable, requestConfiguration *ItemSecurityInformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateClassificationResultsRequestBuilderPostRequestConfiguration)(ItemSecurityInformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateClassificationResultsEvaluateClassificationResultsPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_security_information_protection_sensitivity_labels_microsoft_graph_security_evaluate_removal_request_builder.go b/users/item_security_information_protection_sensitivity_labels_microsoft_graph_security_evaluate_removal_request_builder.go index 355bcd65ea8..be13d8c7d9e 100644 --- a/users/item_security_information_protection_sensitivity_labels_microsoft_graph_security_evaluate_removal_request_builder.go +++ b/users/item_security_information_protection_sensitivity_labels_microsoft_graph_security_evaluate_removal_request_builder.go @@ -36,7 +36,7 @@ func NewItemSecurityInformationProtectionSensitivityLabelsMicrosoftGraphSecurity // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/security-sensitivitylabel-evaluateremoval?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/security-sensitivitylabel-evaluateremoval?view=graph-rest-beta func (m *ItemSecurityInformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateRemovalRequestBuilder) Post(ctx context.Context, body ItemSecurityInformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateRemovalEvaluateRemovalPostRequestBodyable, requestConfiguration *ItemSecurityInformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateRemovalRequestBuilderPostRequestConfiguration)(ItemSecurityInformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateRemovalEvaluateRemovalResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ItemSecurityInformationProtectionSensitivityLabelsMicrosoftGraphSecurit // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/security-sensitivitylabel-evaluateremoval?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/security-sensitivitylabel-evaluateremoval?view=graph-rest-beta func (m *ItemSecurityInformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateRemovalRequestBuilder) PostAsEvaluateRemovalPostResponse(ctx context.Context, body ItemSecurityInformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateRemovalEvaluateRemovalPostRequestBodyable, requestConfiguration *ItemSecurityInformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateRemovalRequestBuilderPostRequestConfiguration)(ItemSecurityInformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateRemovalEvaluateRemovalPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_security_information_protection_sensitivity_labels_microsoft_graph_security_extract_content_label_request_builder.go b/users/item_security_information_protection_sensitivity_labels_microsoft_graph_security_extract_content_label_request_builder.go index 7dcff2b3bff..19e451eea44 100644 --- a/users/item_security_information_protection_sensitivity_labels_microsoft_graph_security_extract_content_label_request_builder.go +++ b/users/item_security_information_protection_sensitivity_labels_microsoft_graph_security_extract_content_label_request_builder.go @@ -36,7 +36,7 @@ func NewItemSecurityInformationProtectionSensitivityLabelsMicrosoftGraphSecurity // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/security-sensitivitylabel-extractcontentlabel?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/security-sensitivitylabel-extractcontentlabel?view=graph-rest-beta func (m *ItemSecurityInformationProtectionSensitivityLabelsMicrosoftGraphSecurityExtractContentLabelRequestBuilder) Post(ctx context.Context, body ItemSecurityInformationProtectionSensitivityLabelsMicrosoftGraphSecurityExtractContentLabelExtractContentLabelPostRequestBodyable, requestConfiguration *ItemSecurityInformationProtectionSensitivityLabelsMicrosoftGraphSecurityExtractContentLabelRequestBuilderPostRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.ContentLabelable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_security_information_protection_sensitivity_labels_request_builder.go b/users/item_security_information_protection_sensitivity_labels_request_builder.go index b08003950d4..02acd70dff2 100644 --- a/users/item_security_information_protection_sensitivity_labels_request_builder.go +++ b/users/item_security_information_protection_sensitivity_labels_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSecurityInformationProtectionSensitivityLabelsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSecurityInformationProtectionSensitivityLabelsRequestBuilderGetQueryParameters get a list of sensitivityLabel objects associated with a user or organization. +// ItemSecurityInformationProtectionSensitivityLabelsRequestBuilderGetQueryParameters read the Microsoft Purview Information Protection labels for the user or organization. type ItemSecurityInformationProtectionSensitivityLabelsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemSecurityInformationProtectionSensitivityLabelsRequestBuilder(rawUrl func (m *ItemSecurityInformationProtectionSensitivityLabelsRequestBuilder) Count()(*ItemSecurityInformationProtectionSensitivityLabelsCountRequestBuilder) { return NewItemSecurityInformationProtectionSensitivityLabelsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of sensitivityLabel objects associated with a user or organization. +// Get read the Microsoft Purview Information Protection labels for the user or organization. // returns a SensitivityLabelCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/security-informationprotection-list-sensitivitylabels?view=graph-rest-1.0 func (m *ItemSecurityInformationProtectionSensitivityLabelsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSecurityInformationProtectionSensitivityLabelsRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.SensitivityLabelCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -139,7 +136,7 @@ func (m *ItemSecurityInformationProtectionSensitivityLabelsRequestBuilder) Post( } return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.SensitivityLabelable), nil } -// ToGetRequestInformation get a list of sensitivityLabel objects associated with a user or organization. +// ToGetRequestInformation read the Microsoft Purview Information Protection labels for the user or organization. // returns a *RequestInformation when successful func (m *ItemSecurityInformationProtectionSensitivityLabelsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSecurityInformationProtectionSensitivityLabelsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_send_mail_request_builder.go b/users/item_send_mail_request_builder.go index 2f920425432..637c18d46fa 100644 --- a/users/item_send_mail_request_builder.go +++ b/users/item_send_mail_request_builder.go @@ -34,7 +34,7 @@ func NewItemSendMailRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee2 // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/user-sendmail?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/user-sendmail?view=graph-rest-beta func (m *ItemSendMailRequestBuilder) Post(ctx context.Context, body ItemSendMailPostRequestBodyable, requestConfiguration *ItemSendMailRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_settings_contact_merge_suggestions_request_builder.go b/users/item_settings_contact_merge_suggestions_request_builder.go index ea53c0ef508..1a6c215a224 100644 --- a/users/item_settings_contact_merge_suggestions_request_builder.go +++ b/users/item_settings_contact_merge_suggestions_request_builder.go @@ -18,7 +18,7 @@ type ItemSettingsContactMergeSuggestionsRequestBuilderDeleteRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemSettingsContactMergeSuggestionsRequestBuilderGetQueryParameters read the properties and relationships of a contactMergeSuggestions object. +// ItemSettingsContactMergeSuggestionsRequestBuilderGetQueryParameters the user's settings for the visibility of merge suggestion for the duplicate contacts in the user's contact list. type ItemSettingsContactMergeSuggestionsRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemSettingsContactMergeSuggestionsRequestBuilder) Delete(ctx context.C } return nil } -// Get read the properties and relationships of a contactMergeSuggestions object. +// Get the user's settings for the visibility of merge suggestion for the duplicate contacts in the user's contact list. // returns a ContactMergeSuggestionsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/contactmergesuggestions-get?view=graph-rest-1.0 func (m *ItemSettingsContactMergeSuggestionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSettingsContactMergeSuggestionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContactMergeSuggestionsable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *ItemSettingsContactMergeSuggestionsRequestBuilder) Get(ctx context.Cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContactMergeSuggestionsable), nil } -// Patch update the properties of a contactMergeSuggestions object. +// Patch update the navigation property contactMergeSuggestions in users // returns a ContactMergeSuggestionsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/contactmergesuggestions-update?view=graph-rest-1.0 func (m *ItemSettingsContactMergeSuggestionsRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContactMergeSuggestionsable, requestConfiguration *ItemSettingsContactMergeSuggestionsRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContactMergeSuggestionsable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemSettingsContactMergeSuggestionsRequestBuilder) ToDeleteRequestInfor requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a contactMergeSuggestions object. +// ToGetRequestInformation the user's settings for the visibility of merge suggestion for the duplicate contacts in the user's contact list. // returns a *RequestInformation when successful func (m *ItemSettingsContactMergeSuggestionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSettingsContactMergeSuggestionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ItemSettingsContactMergeSuggestionsRequestBuilder) ToGetRequestInformat requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a contactMergeSuggestions object. +// ToPatchRequestInformation update the navigation property contactMergeSuggestions in users // returns a *RequestInformation when successful func (m *ItemSettingsContactMergeSuggestionsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ContactMergeSuggestionsable, requestConfiguration *ItemSettingsContactMergeSuggestionsRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_settings_item_insights_request_builder.go b/users/item_settings_item_insights_request_builder.go index 130f6784a5b..62ee9b10783 100644 --- a/users/item_settings_item_insights_request_builder.go +++ b/users/item_settings_item_insights_request_builder.go @@ -18,7 +18,7 @@ type ItemSettingsItemInsightsRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemSettingsItemInsightsRequestBuilderGetQueryParameters get the user-customizable privacy settings for itemInsights and meeting hours insights. +// ItemSettingsItemInsightsRequestBuilderGetQueryParameters the user's settings for the visibility of meeting hour insights, and insights derived between a user and other items in Microsoft 365, such as documents or sites. Get userInsightsSettings through this navigation property. type ItemSettingsItemInsightsRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemSettingsItemInsightsRequestBuilder) Delete(ctx context.Context, req } return nil } -// Get get the user-customizable privacy settings for itemInsights and meeting hours insights. +// Get the user's settings for the visibility of meeting hour insights, and insights derived between a user and other items in Microsoft 365, such as documents or sites. Get userInsightsSettings through this navigation property. // returns a UserInsightsSettingsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/userinsightssettings-get?view=graph-rest-1.0 func (m *ItemSettingsItemInsightsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSettingsItemInsightsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserInsightsSettingsable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *ItemSettingsItemInsightsRequestBuilder) Get(ctx context.Context, reques } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserInsightsSettingsable), nil } -// Patch update the privacy settings for itemInsights and meeting hours insights of a user. +// Patch update the navigation property itemInsights in users // returns a UserInsightsSettingsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/userinsightssettings-update?view=graph-rest-1.0 func (m *ItemSettingsItemInsightsRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserInsightsSettingsable, requestConfiguration *ItemSettingsItemInsightsRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserInsightsSettingsable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemSettingsItemInsightsRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the user-customizable privacy settings for itemInsights and meeting hours insights. +// ToGetRequestInformation the user's settings for the visibility of meeting hour insights, and insights derived between a user and other items in Microsoft 365, such as documents or sites. Get userInsightsSettings through this navigation property. // returns a *RequestInformation when successful func (m *ItemSettingsItemInsightsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSettingsItemInsightsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ItemSettingsItemInsightsRequestBuilder) ToGetRequestInformation(ctx con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the privacy settings for itemInsights and meeting hours insights of a user. +// ToPatchRequestInformation update the navigation property itemInsights in users // returns a *RequestInformation when successful func (m *ItemSettingsItemInsightsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserInsightsSettingsable, requestConfiguration *ItemSettingsItemInsightsRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_settings_regional_and_language_settings_request_builder.go b/users/item_settings_regional_and_language_settings_request_builder.go index 8d270696c7d..ddec465d37a 100644 --- a/users/item_settings_regional_and_language_settings_request_builder.go +++ b/users/item_settings_regional_and_language_settings_request_builder.go @@ -18,7 +18,7 @@ type ItemSettingsRegionalAndLanguageSettingsRequestBuilderDeleteRequestConfigura // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemSettingsRegionalAndLanguageSettingsRequestBuilderGetQueryParameters retrieve the properties of a user's regionalAndLanguageSettings. +// ItemSettingsRegionalAndLanguageSettingsRequestBuilderGetQueryParameters the user's preferences for languages, regional locale and date/time formatting. type ItemSettingsRegionalAndLanguageSettingsRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemSettingsRegionalAndLanguageSettingsRequestBuilder) Delete(ctx conte } return nil } -// Get retrieve the properties of a user's regionalAndLanguageSettings. +// Get the user's preferences for languages, regional locale and date/time formatting. // returns a RegionalAndLanguageSettingsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/regionalandlanguagesettings-get?view=graph-rest-1.0 func (m *ItemSettingsRegionalAndLanguageSettingsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSettingsRegionalAndLanguageSettingsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RegionalAndLanguageSettingsable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *ItemSettingsRegionalAndLanguageSettingsRequestBuilder) Get(ctx context. } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RegionalAndLanguageSettingsable), nil } -// Patch update some or all of the properties of a regionalAndLanguageSettings object. +// Patch update the navigation property regionalAndLanguageSettings in users // returns a RegionalAndLanguageSettingsable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/regionalandlanguagesettings-update?view=graph-rest-1.0 func (m *ItemSettingsRegionalAndLanguageSettingsRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RegionalAndLanguageSettingsable, requestConfiguration *ItemSettingsRegionalAndLanguageSettingsRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RegionalAndLanguageSettingsable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemSettingsRegionalAndLanguageSettingsRequestBuilder) ToDeleteRequestI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties of a user's regionalAndLanguageSettings. +// ToGetRequestInformation the user's preferences for languages, regional locale and date/time formatting. // returns a *RequestInformation when successful func (m *ItemSettingsRegionalAndLanguageSettingsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSettingsRegionalAndLanguageSettingsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ItemSettingsRegionalAndLanguageSettingsRequestBuilder) ToGetRequestInfo requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update some or all of the properties of a regionalAndLanguageSettings object. +// ToPatchRequestInformation update the navigation property regionalAndLanguageSettings in users // returns a *RequestInformation when successful func (m *ItemSettingsRegionalAndLanguageSettingsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RegionalAndLanguageSettingsable, requestConfiguration *ItemSettingsRegionalAndLanguageSettingsRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_settings_shift_preferences_request_builder.go b/users/item_settings_shift_preferences_request_builder.go index ce657a03be0..2d8f1e5ab46 100644 --- a/users/item_settings_shift_preferences_request_builder.go +++ b/users/item_settings_shift_preferences_request_builder.go @@ -18,7 +18,7 @@ type ItemSettingsShiftPreferencesRequestBuilderDeleteRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemSettingsShiftPreferencesRequestBuilderGetQueryParameters retrieve the properties and relationships of a shiftPreferences object by ID. +// ItemSettingsShiftPreferencesRequestBuilderGetQueryParameters the shift preferences for the user. type ItemSettingsShiftPreferencesRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemSettingsShiftPreferencesRequestBuilder) Delete(ctx context.Context, } return nil } -// Get retrieve the properties and relationships of a shiftPreferences object by ID. +// Get the shift preferences for the user. // returns a ShiftPreferencesable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/shiftpreferences-get?view=graph-rest-1.0 func (m *ItemSettingsShiftPreferencesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSettingsShiftPreferencesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ShiftPreferencesable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *ItemSettingsShiftPreferencesRequestBuilder) Get(ctx context.Context, re } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ShiftPreferencesable), nil } -// Patch update the properties and relationships of a shiftPreferences object. +// Patch update the navigation property shiftPreferences in users // returns a ShiftPreferencesable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/shiftpreferences-put?view=graph-rest-1.0 func (m *ItemSettingsShiftPreferencesRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ShiftPreferencesable, requestConfiguration *ItemSettingsShiftPreferencesRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ShiftPreferencesable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemSettingsShiftPreferencesRequestBuilder) ToDeleteRequestInformation( requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a shiftPreferences object by ID. +// ToGetRequestInformation the shift preferences for the user. // returns a *RequestInformation when successful func (m *ItemSettingsShiftPreferencesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSettingsShiftPreferencesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ItemSettingsShiftPreferencesRequestBuilder) ToGetRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties and relationships of a shiftPreferences object. +// ToPatchRequestInformation update the navigation property shiftPreferences in users // returns a *RequestInformation when successful func (m *ItemSettingsShiftPreferencesRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ShiftPreferencesable, requestConfiguration *ItemSettingsShiftPreferencesRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_settings_storage_quota_request_builder.go b/users/item_settings_storage_quota_request_builder.go index fa083ac3aeb..34908ef49da 100644 --- a/users/item_settings_storage_quota_request_builder.go +++ b/users/item_settings_storage_quota_request_builder.go @@ -18,7 +18,7 @@ type ItemSettingsStorageQuotaRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemSettingsStorageQuotaRequestBuilderGetQueryParameters read the properties and relationships of a unifiedStorageQuota object. +// ItemSettingsStorageQuotaRequestBuilderGetQueryParameters get quota from users type ItemSettingsStorageQuotaRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemSettingsStorageQuotaRequestBuilder) Delete(ctx context.Context, req } return nil } -// Get read the properties and relationships of a unifiedStorageQuota object. +// Get get quota from users // returns a UnifiedStorageQuotaable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedstoragequota-get?view=graph-rest-1.0 func (m *ItemSettingsStorageQuotaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSettingsStorageQuotaRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedStorageQuotaable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *ItemSettingsStorageQuotaRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a unifiedStorageQuota object. +// ToGetRequestInformation get quota from users // returns a *RequestInformation when successful func (m *ItemSettingsStorageQuotaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSettingsStorageQuotaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_settings_storage_quota_services_request_builder.go b/users/item_settings_storage_quota_services_request_builder.go index 5d1dff66bb8..3d464ef17f0 100644 --- a/users/item_settings_storage_quota_services_request_builder.go +++ b/users/item_settings_storage_quota_services_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSettingsStorageQuotaServicesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSettingsStorageQuotaServicesRequestBuilderGetQueryParameters get a list of serviceStorageQuotaBreakdown objects and their properties. +// ItemSettingsStorageQuotaServicesRequestBuilderGetQueryParameters the breakdown of services contributing to the user's quota usage. type ItemSettingsStorageQuotaServicesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemSettingsStorageQuotaServicesRequestBuilder(rawUrl string, requestAda func (m *ItemSettingsStorageQuotaServicesRequestBuilder) Count()(*ItemSettingsStorageQuotaServicesCountRequestBuilder) { return NewItemSettingsStorageQuotaServicesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of serviceStorageQuotaBreakdown objects and their properties. +// Get the breakdown of services contributing to the user's quota usage. // returns a ServiceStorageQuotaBreakdownCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/unifiedstoragequota-list-services?view=graph-rest-1.0 func (m *ItemSettingsStorageQuotaServicesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSettingsStorageQuotaServicesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceStorageQuotaBreakdownCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemSettingsStorageQuotaServicesRequestBuilder) Post(ctx context.Contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceStorageQuotaBreakdownable), nil } -// ToGetRequestInformation get a list of serviceStorageQuotaBreakdown objects and their properties. +// ToGetRequestInformation the breakdown of services contributing to the user's quota usage. // returns a *RequestInformation when successful func (m *ItemSettingsStorageQuotaServicesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSettingsStorageQuotaServicesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_settings_windows_item_instances_request_builder.go b/users/item_settings_windows_item_instances_request_builder.go index a54f7551c31..68bbf8589a8 100644 --- a/users/item_settings_windows_item_instances_request_builder.go +++ b/users/item_settings_windows_item_instances_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSettingsWindowsItemInstancesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSettingsWindowsItemInstancesRequestBuilderGetQueryParameters get a list of windowsSettingInstance objects and their properties for the signed-in user. +// ItemSettingsWindowsItemInstancesRequestBuilderGetQueryParameters a collection of setting values for a given windowsSetting. type ItemSettingsWindowsItemInstancesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemSettingsWindowsItemInstancesRequestBuilder(rawUrl string, requestAda func (m *ItemSettingsWindowsItemInstancesRequestBuilder) Count()(*ItemSettingsWindowsItemInstancesCountRequestBuilder) { return NewItemSettingsWindowsItemInstancesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of windowsSettingInstance objects and their properties for the signed-in user. +// Get a collection of setting values for a given windowsSetting. // returns a WindowsSettingInstanceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/windowssetting-list-instances?view=graph-rest-1.0 func (m *ItemSettingsWindowsItemInstancesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSettingsWindowsItemInstancesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WindowsSettingInstanceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemSettingsWindowsItemInstancesRequestBuilder) Post(ctx context.Contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WindowsSettingInstanceable), nil } -// ToGetRequestInformation get a list of windowsSettingInstance objects and their properties for the signed-in user. +// ToGetRequestInformation a collection of setting values for a given windowsSetting. // returns a *RequestInformation when successful func (m *ItemSettingsWindowsItemInstancesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSettingsWindowsItemInstancesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_settings_windows_item_instances_windows_setting_instance_item_request_builder.go b/users/item_settings_windows_item_instances_windows_setting_instance_item_request_builder.go index d5142795716..d0677ed9a16 100644 --- a/users/item_settings_windows_item_instances_windows_setting_instance_item_request_builder.go +++ b/users/item_settings_windows_item_instances_windows_setting_instance_item_request_builder.go @@ -18,7 +18,7 @@ type ItemSettingsWindowsItemInstancesWindowsSettingInstanceItemRequestBuilderDel // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemSettingsWindowsItemInstancesWindowsSettingInstanceItemRequestBuilderGetQueryParameters read the properties and relationships of a windowsSettingInstance object by passing the Windows setting ID and Windows setting instance ID in the URL. This method gets a windowsSettingInstance for the signed-in user. +// ItemSettingsWindowsItemInstancesWindowsSettingInstanceItemRequestBuilderGetQueryParameters a collection of setting values for a given windowsSetting. type ItemSettingsWindowsItemInstancesWindowsSettingInstanceItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemSettingsWindowsItemInstancesWindowsSettingInstanceItemRequestBuilde } return nil } -// Get read the properties and relationships of a windowsSettingInstance object by passing the Windows setting ID and Windows setting instance ID in the URL. This method gets a windowsSettingInstance for the signed-in user. +// Get a collection of setting values for a given windowsSetting. // returns a WindowsSettingInstanceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/windowssettinginstance-get?view=graph-rest-1.0 func (m *ItemSettingsWindowsItemInstancesWindowsSettingInstanceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSettingsWindowsItemInstancesWindowsSettingInstanceItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WindowsSettingInstanceable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +121,7 @@ func (m *ItemSettingsWindowsItemInstancesWindowsSettingInstanceItemRequestBuilde requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a windowsSettingInstance object by passing the Windows setting ID and Windows setting instance ID in the URL. This method gets a windowsSettingInstance for the signed-in user. +// ToGetRequestInformation a collection of setting values for a given windowsSetting. // returns a *RequestInformation when successful func (m *ItemSettingsWindowsItemInstancesWindowsSettingInstanceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSettingsWindowsItemInstancesWindowsSettingInstanceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_settings_windows_request_builder.go b/users/item_settings_windows_request_builder.go index bf7716ab1f1..e5c6e92c686 100644 --- a/users/item_settings_windows_request_builder.go +++ b/users/item_settings_windows_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSettingsWindowsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSettingsWindowsRequestBuilderGetQueryParameters get a list of windowsSetting objects and their properties for the signed in user. +// ItemSettingsWindowsRequestBuilderGetQueryParameters the Windows settings of the user stored in the cloud. type ItemSettingsWindowsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemSettingsWindowsRequestBuilder(rawUrl string, requestAdapter i2ae4187 func (m *ItemSettingsWindowsRequestBuilder) Count()(*ItemSettingsWindowsCountRequestBuilder) { return NewItemSettingsWindowsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of windowsSetting objects and their properties for the signed in user. +// Get the Windows settings of the user stored in the cloud. // returns a WindowsSettingCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/usersettings-list-windows?view=graph-rest-1.0 func (m *ItemSettingsWindowsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSettingsWindowsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WindowsSettingCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemSettingsWindowsRequestBuilder) Post(ctx context.Context, body ie233 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WindowsSettingable), nil } -// ToGetRequestInformation get a list of windowsSetting objects and their properties for the signed in user. +// ToGetRequestInformation the Windows settings of the user stored in the cloud. // returns a *RequestInformation when successful func (m *ItemSettingsWindowsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSettingsWindowsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_settings_windows_windows_setting_item_request_builder.go b/users/item_settings_windows_windows_setting_item_request_builder.go index 0212b838e9c..8b89d5b5a7f 100644 --- a/users/item_settings_windows_windows_setting_item_request_builder.go +++ b/users/item_settings_windows_windows_setting_item_request_builder.go @@ -18,7 +18,7 @@ type ItemSettingsWindowsWindowsSettingItemRequestBuilderDeleteRequestConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemSettingsWindowsWindowsSettingItemRequestBuilderGetQueryParameters read the properties and relationships of a windowsSetting object by passing the ID of the setting in the URL. This method gets the setting for the signed-in user. +// ItemSettingsWindowsWindowsSettingItemRequestBuilderGetQueryParameters the Windows settings of the user stored in the cloud. type ItemSettingsWindowsWindowsSettingItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,9 @@ func (m *ItemSettingsWindowsWindowsSettingItemRequestBuilder) Delete(ctx context } return nil } -// Get read the properties and relationships of a windowsSetting object by passing the ID of the setting in the URL. This method gets the setting for the signed-in user. +// Get the Windows settings of the user stored in the cloud. // returns a WindowsSettingable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/windowssetting-get?view=graph-rest-1.0 func (m *ItemSettingsWindowsWindowsSettingItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSettingsWindowsWindowsSettingItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WindowsSettingable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +126,7 @@ func (m *ItemSettingsWindowsWindowsSettingItemRequestBuilder) ToDeleteRequestInf requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a windowsSetting object by passing the ID of the setting in the URL. This method gets the setting for the signed-in user. +// ToGetRequestInformation the Windows settings of the user stored in the cloud. // returns a *RequestInformation when successful func (m *ItemSettingsWindowsWindowsSettingItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSettingsWindowsWindowsSettingItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_sponsors_request_builder.go b/users/item_sponsors_request_builder.go index 664c19e024a..db1b4b573d7 100644 --- a/users/item_sponsors_request_builder.go +++ b/users/item_sponsors_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSponsorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSponsorsRequestBuilderGetQueryParameters get a user's sponsors. Sponsors are users and groups that are responsible for this guest's privileges in the tenant and for keeping the guest's information and access up to date. +// ItemSponsorsRequestBuilderGetQueryParameters the users and groups responsible for this guest user's privileges in the tenant and keep the guest user's information and access updated. (HTTP Methods: GET, POST, DELETE.). Supports $expand. type ItemSponsorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -69,12 +69,9 @@ func NewItemSponsorsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee2 func (m *ItemSponsorsRequestBuilder) Count()(*ItemSponsorsCountRequestBuilder) { return NewItemSponsorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a user's sponsors. Sponsors are users and groups that are responsible for this guest's privileges in the tenant and for keeping the guest's information and access up to date. +// Get the users and groups responsible for this guest user's privileges in the tenant and keep the guest user's information and access updated. (HTTP Methods: GET, POST, DELETE.). Supports $expand. // returns a DirectoryObjectCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/user-list-sponsors?view=graph-rest-1.0 func (m *ItemSponsorsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSponsorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +89,7 @@ func (m *ItemSponsorsRequestBuilder) Get(ctx context.Context, requestConfigurati } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectCollectionResponseable), nil } -// ToGetRequestInformation get a user's sponsors. Sponsors are users and groups that are responsible for this guest's privileges in the tenant and for keeping the guest's information and access up to date. +// ToGetRequestInformation the users and groups responsible for this guest user's privileges in the tenant and keep the guest user's information and access updated. (HTTP Methods: GET, POST, DELETE.). Supports $expand. // returns a *RequestInformation when successful func (m *ItemSponsorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSponsorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_teamwork_associated_teams_request_builder.go b/users/item_teamwork_associated_teams_request_builder.go index f688ca2d2f0..aa55f127d5b 100644 --- a/users/item_teamwork_associated_teams_request_builder.go +++ b/users/item_teamwork_associated_teams_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamworkAssociatedTeamsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamworkAssociatedTeamsRequestBuilderGetQueryParameters get the list of teams in Microsoft Teams that a user is associated with.Currently, a user can be associated with a team in two different ways:* A user can be a direct member of a team.* A user can be a member of a shared channel that is hosted inside a team. +// ItemTeamworkAssociatedTeamsRequestBuilderGetQueryParameters the list of associatedTeamInfo objects that a user is associated with. type ItemTeamworkAssociatedTeamsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemTeamworkAssociatedTeamsRequestBuilder(rawUrl string, requestAdapter func (m *ItemTeamworkAssociatedTeamsRequestBuilder) Count()(*ItemTeamworkAssociatedTeamsCountRequestBuilder) { return NewItemTeamworkAssociatedTeamsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of teams in Microsoft Teams that a user is associated with.Currently, a user can be associated with a team in two different ways:* A user can be a direct member of a team.* A user can be a member of a shared channel that is hosted inside a team. +// Get the list of associatedTeamInfo objects that a user is associated with. // returns a AssociatedTeamInfoCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/associatedteaminfo-list?view=graph-rest-1.0 func (m *ItemTeamworkAssociatedTeamsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamworkAssociatedTeamsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AssociatedTeamInfoCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemTeamworkAssociatedTeamsRequestBuilder) Post(ctx context.Context, bo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AssociatedTeamInfoable), nil } -// ToGetRequestInformation get the list of teams in Microsoft Teams that a user is associated with.Currently, a user can be associated with a team in two different ways:* A user can be a direct member of a team.* A user can be a member of a shared channel that is hosted inside a team. +// ToGetRequestInformation the list of associatedTeamInfo objects that a user is associated with. // returns a *RequestInformation when successful func (m *ItemTeamworkAssociatedTeamsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamworkAssociatedTeamsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_teamwork_installed_apps_item_chat_request_builder.go b/users/item_teamwork_installed_apps_item_chat_request_builder.go index f404dbd2395..aedc9fa064c 100644 --- a/users/item_teamwork_installed_apps_item_chat_request_builder.go +++ b/users/item_teamwork_installed_apps_item_chat_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamworkInstalledAppsItemChatRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamworkInstalledAppsItemChatRequestBuilderGetQueryParameters retrieve the chat of the specified user and Teams app. +// ItemTeamworkInstalledAppsItemChatRequestBuilderGetQueryParameters the chat between the user and Teams app. type ItemTeamworkInstalledAppsItemChatRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -40,12 +40,9 @@ func NewItemTeamworkInstalledAppsItemChatRequestBuilder(rawUrl string, requestAd urlParams["request-raw-url"] = rawUrl return NewItemTeamworkInstalledAppsItemChatRequestBuilderInternal(urlParams, requestAdapter) } -// Get retrieve the chat of the specified user and Teams app. +// Get the chat between the user and Teams app. // returns a Chatable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/userscopeteamsappinstallation-get-chat?view=graph-rest-1.0 func (m *ItemTeamworkInstalledAppsItemChatRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamworkInstalledAppsItemChatRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Chatable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -63,7 +60,7 @@ func (m *ItemTeamworkInstalledAppsItemChatRequestBuilder) Get(ctx context.Contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Chatable), nil } -// ToGetRequestInformation retrieve the chat of the specified user and Teams app. +// ToGetRequestInformation the chat between the user and Teams app. // returns a *RequestInformation when successful func (m *ItemTeamworkInstalledAppsItemChatRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamworkInstalledAppsItemChatRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_teamwork_installed_apps_request_builder.go b/users/item_teamwork_installed_apps_request_builder.go index bb4a855f4aa..77d1b462be5 100644 --- a/users/item_teamwork_installed_apps_request_builder.go +++ b/users/item_teamwork_installed_apps_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamworkInstalledAppsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamworkInstalledAppsRequestBuilderGetQueryParameters retrieve the list of apps installed in the personal scope of the specified user. +// ItemTeamworkInstalledAppsRequestBuilderGetQueryParameters the apps installed in the personal scope of this user. type ItemTeamworkInstalledAppsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemTeamworkInstalledAppsRequestBuilder(rawUrl string, requestAdapter i2 func (m *ItemTeamworkInstalledAppsRequestBuilder) Count()(*ItemTeamworkInstalledAppsCountRequestBuilder) { return NewItemTeamworkInstalledAppsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the list of apps installed in the personal scope of the specified user. +// Get the apps installed in the personal scope of this user. // returns a UserScopeTeamsAppInstallationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/userteamwork-list-installedapps?view=graph-rest-1.0 func (m *ItemTeamworkInstalledAppsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamworkInstalledAppsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserScopeTeamsAppInstallationCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemTeamworkInstalledAppsRequestBuilder) Get(ctx context.Context, reque } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserScopeTeamsAppInstallationCollectionResponseable), nil } -// Post install an app in the personal scope of the specified user. +// Post create new navigation property to installedApps for users // returns a UserScopeTeamsAppInstallationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/userteamwork-post-installedapps?view=graph-rest-1.0 func (m *ItemTeamworkInstalledAppsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserScopeTeamsAppInstallationable, requestConfiguration *ItemTeamworkInstalledAppsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserScopeTeamsAppInstallationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemTeamworkInstalledAppsRequestBuilder) Post(ctx context.Context, body } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserScopeTeamsAppInstallationable), nil } -// ToGetRequestInformation retrieve the list of apps installed in the personal scope of the specified user. +// ToGetRequestInformation the apps installed in the personal scope of this user. // returns a *RequestInformation when successful func (m *ItemTeamworkInstalledAppsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamworkInstalledAppsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemTeamworkInstalledAppsRequestBuilder) ToGetRequestInformation(ctx co requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation install an app in the personal scope of the specified user. +// ToPostRequestInformation create new navigation property to installedApps for users // returns a *RequestInformation when successful func (m *ItemTeamworkInstalledAppsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserScopeTeamsAppInstallationable, requestConfiguration *ItemTeamworkInstalledAppsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_teamwork_installed_apps_user_scope_teams_app_installation_item_request_builder.go b/users/item_teamwork_installed_apps_user_scope_teams_app_installation_item_request_builder.go index 0d655a66654..c1bd9e88f2b 100644 --- a/users/item_teamwork_installed_apps_user_scope_teams_app_installation_item_request_builder.go +++ b/users/item_teamwork_installed_apps_user_scope_teams_app_installation_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamworkInstalledAppsUserScopeTeamsAppInstallationItemRequestBuilderDel // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamworkInstalledAppsUserScopeTeamsAppInstallationItemRequestBuilderGetQueryParameters retrieve the app installed in the personal scope of the specified user. +// ItemTeamworkInstalledAppsUserScopeTeamsAppInstallationItemRequestBuilderGetQueryParameters the apps installed in the personal scope of this user. type ItemTeamworkInstalledAppsUserScopeTeamsAppInstallationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -59,11 +59,8 @@ func NewItemTeamworkInstalledAppsUserScopeTeamsAppInstallationItemRequestBuilder urlParams["request-raw-url"] = rawUrl return NewItemTeamworkInstalledAppsUserScopeTeamsAppInstallationItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete uninstall an app from the personal scope of the specified user. +// Delete delete navigation property installedApps for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/userteamwork-delete-installedapps?view=graph-rest-1.0 func (m *ItemTeamworkInstalledAppsUserScopeTeamsAppInstallationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTeamworkInstalledAppsUserScopeTeamsAppInstallationItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *ItemTeamworkInstalledAppsUserScopeTeamsAppInstallationItemRequestBuilde } return nil } -// Get retrieve the app installed in the personal scope of the specified user. +// Get the apps installed in the personal scope of this user. // returns a UserScopeTeamsAppInstallationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/userteamwork-get-installedapps?view=graph-rest-1.0 func (m *ItemTeamworkInstalledAppsUserScopeTeamsAppInstallationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamworkInstalledAppsUserScopeTeamsAppInstallationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserScopeTeamsAppInstallationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -131,7 +125,7 @@ func (m *ItemTeamworkInstalledAppsUserScopeTeamsAppInstallationItemRequestBuilde func (m *ItemTeamworkInstalledAppsUserScopeTeamsAppInstallationItemRequestBuilder) TeamsAppDefinition()(*ItemTeamworkInstalledAppsItemTeamsAppDefinitionRequestBuilder) { return NewItemTeamworkInstalledAppsItemTeamsAppDefinitionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation uninstall an app from the personal scope of the specified user. +// ToDeleteRequestInformation delete navigation property installedApps for users // returns a *RequestInformation when successful func (m *ItemTeamworkInstalledAppsUserScopeTeamsAppInstallationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTeamworkInstalledAppsUserScopeTeamsAppInstallationItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -142,7 +136,7 @@ func (m *ItemTeamworkInstalledAppsUserScopeTeamsAppInstallationItemRequestBuilde requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the app installed in the personal scope of the specified user. +// ToGetRequestInformation the apps installed in the personal scope of this user. // returns a *RequestInformation when successful func (m *ItemTeamworkInstalledAppsUserScopeTeamsAppInstallationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamworkInstalledAppsUserScopeTeamsAppInstallationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_teamwork_request_builder.go b/users/item_teamwork_request_builder.go index b3db0121efa..fc92758acc5 100644 --- a/users/item_teamwork_request_builder.go +++ b/users/item_teamwork_request_builder.go @@ -18,7 +18,7 @@ type ItemTeamworkRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamworkRequestBuilderGetQueryParameters get the userTeamwork settings for a specified user, which includes the Microsoft Teams region and the locale chosen by the user. +// ItemTeamworkRequestBuilderGetQueryParameters a container for Microsoft Teams features available for the user. Read-only. Nullable. type ItemTeamworkRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -75,12 +75,9 @@ func (m *ItemTeamworkRequestBuilder) Delete(ctx context.Context, requestConfigur } return nil } -// Get get the userTeamwork settings for a specified user, which includes the Microsoft Teams region and the locale chosen by the user. +// Get a container for Microsoft Teams features available for the user. Read-only. Nullable. // returns a UserTeamworkable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/userteamwork-get?view=graph-rest-1.0 func (m *ItemTeamworkRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamworkRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserTeamworkable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -139,7 +136,7 @@ func (m *ItemTeamworkRequestBuilder) ToDeleteRequestInformation(ctx context.Cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the userTeamwork settings for a specified user, which includes the Microsoft Teams region and the locale chosen by the user. +// ToGetRequestInformation a container for Microsoft Teams features available for the user. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemTeamworkRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamworkRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_teamwork_send_activity_notification_request_builder.go b/users/item_teamwork_send_activity_notification_request_builder.go index 9dd70915402..01682b93bb7 100644 --- a/users/item_teamwork_send_activity_notification_request_builder.go +++ b/users/item_teamwork_send_activity_notification_request_builder.go @@ -34,7 +34,7 @@ func NewItemTeamworkSendActivityNotificationRequestBuilder(rawUrl string, reques // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/userteamwork-sendactivitynotification?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/userteamwork-sendactivitynotification?view=graph-rest-beta func (m *ItemTeamworkSendActivityNotificationRequestBuilder) Post(ctx context.Context, body ItemTeamworkSendActivityNotificationPostRequestBodyable, requestConfiguration *ItemTeamworkSendActivityNotificationRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_todo_lists_item_tasks_item_attachments_attachment_base_item_request_builder.go b/users/item_todo_lists_item_tasks_item_attachments_attachment_base_item_request_builder.go index 12bdce2b4b8..dcbc201b427 100644 --- a/users/item_todo_lists_item_tasks_item_attachments_attachment_base_item_request_builder.go +++ b/users/item_todo_lists_item_tasks_item_attachments_attachment_base_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTodoListsItemTasksItemAttachmentsAttachmentBaseItemRequestBuilderDelete // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTodoListsItemTasksItemAttachmentsAttachmentBaseItemRequestBuilderGetQueryParameters read the properties and relationships of a taskFileAttachment object. +// ItemTodoListsItemTasksItemAttachmentsAttachmentBaseItemRequestBuilderGetQueryParameters a collection of file attachments for the task. type ItemTodoListsItemTasksItemAttachmentsAttachmentBaseItemRequestBuilderGetQueryParameters struct { // Select properties to be returned Select []string `uriparametername:"%24select"` @@ -50,11 +50,8 @@ func NewItemTodoListsItemTasksItemAttachmentsAttachmentBaseItemRequestBuilder(ra func (m *ItemTodoListsItemTasksItemAttachmentsAttachmentBaseItemRequestBuilder) Content()(*ItemTodoListsItemTasksItemAttachmentsItemValueContentRequestBuilder) { return NewItemTodoListsItemTasksItemAttachmentsItemValueContentRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Delete delete a taskFileAttachment object from a todoTask resource. +// Delete delete navigation property attachments for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/taskfileattachment-delete?view=graph-rest-1.0 func (m *ItemTodoListsItemTasksItemAttachmentsAttachmentBaseItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTodoListsItemTasksItemAttachmentsAttachmentBaseItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -69,12 +66,9 @@ func (m *ItemTodoListsItemTasksItemAttachmentsAttachmentBaseItemRequestBuilder) } return nil } -// Get read the properties and relationships of a taskFileAttachment object. +// Get a collection of file attachments for the task. // returns a AttachmentBaseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/taskfileattachment-get?view=graph-rest-1.0 func (m *ItemTodoListsItemTasksItemAttachmentsAttachmentBaseItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTodoListsItemTasksItemAttachmentsAttachmentBaseItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentBaseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -92,7 +86,7 @@ func (m *ItemTodoListsItemTasksItemAttachmentsAttachmentBaseItemRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentBaseable), nil } -// ToDeleteRequestInformation delete a taskFileAttachment object from a todoTask resource. +// ToDeleteRequestInformation delete navigation property attachments for users // returns a *RequestInformation when successful func (m *ItemTodoListsItemTasksItemAttachmentsAttachmentBaseItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTodoListsItemTasksItemAttachmentsAttachmentBaseItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -103,7 +97,7 @@ func (m *ItemTodoListsItemTasksItemAttachmentsAttachmentBaseItemRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a taskFileAttachment object. +// ToGetRequestInformation a collection of file attachments for the task. // returns a *RequestInformation when successful func (m *ItemTodoListsItemTasksItemAttachmentsAttachmentBaseItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTodoListsItemTasksItemAttachmentsAttachmentBaseItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_todo_lists_item_tasks_item_attachments_create_upload_session_request_builder.go b/users/item_todo_lists_item_tasks_item_attachments_create_upload_session_request_builder.go index 4405c6d89a3..de82d6a5125 100644 --- a/users/item_todo_lists_item_tasks_item_attachments_create_upload_session_request_builder.go +++ b/users/item_todo_lists_item_tasks_item_attachments_create_upload_session_request_builder.go @@ -36,7 +36,7 @@ func NewItemTodoListsItemTasksItemAttachmentsCreateUploadSessionRequestBuilder(r // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/taskfileattachment-createuploadsession?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/taskfileattachment-createuploadsession?view=graph-rest-beta func (m *ItemTodoListsItemTasksItemAttachmentsCreateUploadSessionRequestBuilder) Post(ctx context.Context, body ItemTodoListsItemTasksItemAttachmentsCreateUploadSessionPostRequestBodyable, requestConfiguration *ItemTodoListsItemTasksItemAttachmentsCreateUploadSessionRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UploadSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_todo_lists_item_tasks_item_attachments_item_value_content_request_builder.go b/users/item_todo_lists_item_tasks_item_attachments_item_value_content_request_builder.go index 74f1c7da2b8..263fe371f64 100644 --- a/users/item_todo_lists_item_tasks_item_attachments_item_value_content_request_builder.go +++ b/users/item_todo_lists_item_tasks_item_attachments_item_value_content_request_builder.go @@ -40,9 +40,6 @@ func NewItemTodoListsItemTasksItemAttachmentsItemValueContentRequestBuilder(rawU // Get get media content for the navigation property attachments from users // 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/todotask-list-attachments?view=graph-rest-1.0 func (m *ItemTodoListsItemTasksItemAttachmentsItemValueContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTodoListsItemTasksItemAttachmentsItemValueContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_todo_lists_item_tasks_item_attachments_request_builder.go b/users/item_todo_lists_item_tasks_item_attachments_request_builder.go index 531a816bdea..2b473982ad0 100644 --- a/users/item_todo_lists_item_tasks_item_attachments_request_builder.go +++ b/users/item_todo_lists_item_tasks_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTodoListsItemTasksItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTodoListsItemTasksItemAttachmentsRequestBuilderGetQueryParameters get a list of the taskFileAttachment objects and their properties. The contentBytes property will not be returned in the response. Use the Get attachment API to view the contentBytes. +// ItemTodoListsItemTasksItemAttachmentsRequestBuilderGetQueryParameters a collection of file attachments for the task. type ItemTodoListsItemTasksItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -77,12 +77,9 @@ func (m *ItemTodoListsItemTasksItemAttachmentsRequestBuilder) Count()(*ItemTodoL func (m *ItemTodoListsItemTasksItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemTodoListsItemTasksItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemTodoListsItemTasksItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the taskFileAttachment objects and their properties. The contentBytes property will not be returned in the response. Use the Get attachment API to view the contentBytes. +// Get a collection of file attachments for the task. // returns a AttachmentBaseCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/todotask-list-attachments?view=graph-rest-1.0 func (m *ItemTodoListsItemTasksItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTodoListsItemTasksItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentBaseCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -100,12 +97,9 @@ func (m *ItemTodoListsItemTasksItemAttachmentsRequestBuilder) Get(ctx context.Co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentBaseCollectionResponseable), nil } -// Post add a new taskFileAttachment object to a todoTask. This operation limits the size of the attachment you can add to under 3 MB. If the size of the file attachments is more than 3 MB, create an upload session to upload the attachments. +// Post create new navigation property to attachments for users // returns a AttachmentBaseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/todotask-post-attachments?view=graph-rest-1.0 func (m *ItemTodoListsItemTasksItemAttachmentsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentBaseable, requestConfiguration *ItemTodoListsItemTasksItemAttachmentsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentBaseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -123,7 +117,7 @@ func (m *ItemTodoListsItemTasksItemAttachmentsRequestBuilder) Post(ctx context.C } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentBaseable), nil } -// ToGetRequestInformation get a list of the taskFileAttachment objects and their properties. The contentBytes property will not be returned in the response. Use the Get attachment API to view the contentBytes. +// ToGetRequestInformation a collection of file attachments for the task. // returns a *RequestInformation when successful func (m *ItemTodoListsItemTasksItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTodoListsItemTasksItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -137,7 +131,7 @@ func (m *ItemTodoListsItemTasksItemAttachmentsRequestBuilder) ToGetRequestInform requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation add a new taskFileAttachment object to a todoTask. This operation limits the size of the attachment you can add to under 3 MB. If the size of the file attachments is more than 3 MB, create an upload session to upload the attachments. +// ToPostRequestInformation create new navigation property to attachments for users // returns a *RequestInformation when successful func (m *ItemTodoListsItemTasksItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentBaseable, requestConfiguration *ItemTodoListsItemTasksItemAttachmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_todo_lists_item_tasks_item_checklist_items_checklist_item_item_request_builder.go b/users/item_todo_lists_item_tasks_item_checklist_items_checklist_item_item_request_builder.go index 3a201dafa4d..50d8da84d9e 100644 --- a/users/item_todo_lists_item_tasks_item_checklist_items_checklist_item_item_request_builder.go +++ b/users/item_todo_lists_item_tasks_item_checklist_items_checklist_item_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTodoListsItemTasksItemChecklistItemsChecklistItemItemRequestBuilderDele // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTodoListsItemTasksItemChecklistItemsChecklistItemItemRequestBuilderGetQueryParameters read the properties and relationships of a checklistItem object. +// ItemTodoListsItemTasksItemChecklistItemsChecklistItemItemRequestBuilderGetQueryParameters a collection of smaller subtasks linked to the more complex parent task. type ItemTodoListsItemTasksItemChecklistItemsChecklistItemItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemTodoListsItemTasksItemChecklistItemsChecklistItemItemRequestBuilder( urlParams["request-raw-url"] = rawUrl return NewItemTodoListsItemTasksItemChecklistItemsChecklistItemItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a checklistItem object. +// Delete delete navigation property checklistItems for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/checklistitem-delete?view=graph-rest-1.0 func (m *ItemTodoListsItemTasksItemChecklistItemsChecklistItemItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTodoListsItemTasksItemChecklistItemsChecklistItemItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemTodoListsItemTasksItemChecklistItemsChecklistItemItemRequestBuilder } return nil } -// Get read the properties and relationships of a checklistItem object. +// Get a collection of smaller subtasks linked to the more complex parent task. // returns a ChecklistItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/checklistitem-get?view=graph-rest-1.0 func (m *ItemTodoListsItemTasksItemChecklistItemsChecklistItemItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTodoListsItemTasksItemChecklistItemsChecklistItemItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChecklistItemable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ItemTodoListsItemTasksItemChecklistItemsChecklistItemItemRequestBuilder } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChecklistItemable), nil } -// Patch update the properties of a checklistItem object. +// Patch update the navigation property checklistItems in users // returns a ChecklistItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/checklistitem-update?view=graph-rest-1.0 func (m *ItemTodoListsItemTasksItemChecklistItemsChecklistItemItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChecklistItemable, requestConfiguration *ItemTodoListsItemTasksItemChecklistItemsChecklistItemItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChecklistItemable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *ItemTodoListsItemTasksItemChecklistItemsChecklistItemItemRequestBuilder } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChecklistItemable), nil } -// ToDeleteRequestInformation delete a checklistItem object. +// ToDeleteRequestInformation delete navigation property checklistItems for users // returns a *RequestInformation when successful func (m *ItemTodoListsItemTasksItemChecklistItemsChecklistItemItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTodoListsItemTasksItemChecklistItemsChecklistItemItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *ItemTodoListsItemTasksItemChecklistItemsChecklistItemItemRequestBuilder requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a checklistItem object. +// ToGetRequestInformation a collection of smaller subtasks linked to the more complex parent task. // returns a *RequestInformation when successful func (m *ItemTodoListsItemTasksItemChecklistItemsChecklistItemItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTodoListsItemTasksItemChecklistItemsChecklistItemItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *ItemTodoListsItemTasksItemChecklistItemsChecklistItemItemRequestBuilder requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a checklistItem object. +// ToPatchRequestInformation update the navigation property checklistItems in users // returns a *RequestInformation when successful func (m *ItemTodoListsItemTasksItemChecklistItemsChecklistItemItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChecklistItemable, requestConfiguration *ItemTodoListsItemTasksItemChecklistItemsChecklistItemItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_todo_lists_item_tasks_item_checklist_items_request_builder.go b/users/item_todo_lists_item_tasks_item_checklist_items_request_builder.go index fe234f61e48..f0fd172001f 100644 --- a/users/item_todo_lists_item_tasks_item_checklist_items_request_builder.go +++ b/users/item_todo_lists_item_tasks_item_checklist_items_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTodoListsItemTasksItemChecklistItemsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTodoListsItemTasksItemChecklistItemsRequestBuilderGetQueryParameters get the checklistItem resources associated to the checklistItems navigation property of a todoTask. +// ItemTodoListsItemTasksItemChecklistItemsRequestBuilderGetQueryParameters a collection of smaller subtasks linked to the more complex parent task. type ItemTodoListsItemTasksItemChecklistItemsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemTodoListsItemTasksItemChecklistItemsRequestBuilder(rawUrl string, re func (m *ItemTodoListsItemTasksItemChecklistItemsRequestBuilder) Count()(*ItemTodoListsItemTasksItemChecklistItemsCountRequestBuilder) { return NewItemTodoListsItemTasksItemChecklistItemsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the checklistItem resources associated to the checklistItems navigation property of a todoTask. +// Get a collection of smaller subtasks linked to the more complex parent task. // returns a ChecklistItemCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/todotask-list-checklistitems?view=graph-rest-1.0 func (m *ItemTodoListsItemTasksItemChecklistItemsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTodoListsItemTasksItemChecklistItemsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChecklistItemCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemTodoListsItemTasksItemChecklistItemsRequestBuilder) Get(ctx context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChecklistItemCollectionResponseable), nil } -// Post create a new checklistItem object as a subtask in a bigger todoTask. +// Post create new navigation property to checklistItems for users // returns a ChecklistItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/todotask-post-checklistitems?view=graph-rest-1.0 func (m *ItemTodoListsItemTasksItemChecklistItemsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChecklistItemable, requestConfiguration *ItemTodoListsItemTasksItemChecklistItemsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChecklistItemable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemTodoListsItemTasksItemChecklistItemsRequestBuilder) Post(ctx contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChecklistItemable), nil } -// ToGetRequestInformation get the checklistItem resources associated to the checklistItems navigation property of a todoTask. +// ToGetRequestInformation a collection of smaller subtasks linked to the more complex parent task. // returns a *RequestInformation when successful func (m *ItemTodoListsItemTasksItemChecklistItemsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTodoListsItemTasksItemChecklistItemsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemTodoListsItemTasksItemChecklistItemsRequestBuilder) ToGetRequestInf requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new checklistItem object as a subtask in a bigger todoTask. +// ToPostRequestInformation create new navigation property to checklistItems for users // returns a *RequestInformation when successful func (m *ItemTodoListsItemTasksItemChecklistItemsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChecklistItemable, requestConfiguration *ItemTodoListsItemTasksItemChecklistItemsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_todo_lists_item_tasks_item_linked_resources_linked_resource_item_request_builder.go b/users/item_todo_lists_item_tasks_item_linked_resources_linked_resource_item_request_builder.go index 62431c87ef0..9a01fd7bcd1 100644 --- a/users/item_todo_lists_item_tasks_item_linked_resources_linked_resource_item_request_builder.go +++ b/users/item_todo_lists_item_tasks_item_linked_resources_linked_resource_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTodoListsItemTasksItemLinkedResourcesLinkedResourceItemRequestBuilderDe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTodoListsItemTasksItemLinkedResourcesLinkedResourceItemRequestBuilderGetQueryParameters read the properties and relationships of a linkedResource object. +// ItemTodoListsItemTasksItemLinkedResourcesLinkedResourceItemRequestBuilderGetQueryParameters a collection of resources linked to the task. type ItemTodoListsItemTasksItemLinkedResourcesLinkedResourceItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemTodoListsItemTasksItemLinkedResourcesLinkedResourceItemRequestBuilde urlParams["request-raw-url"] = rawUrl return NewItemTodoListsItemTasksItemLinkedResourcesLinkedResourceItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a linkedResource object. +// Delete delete navigation property linkedResources for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/linkedresource-delete?view=graph-rest-1.0 func (m *ItemTodoListsItemTasksItemLinkedResourcesLinkedResourceItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTodoListsItemTasksItemLinkedResourcesLinkedResourceItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *ItemTodoListsItemTasksItemLinkedResourcesLinkedResourceItemRequestBuild } return nil } -// Get read the properties and relationships of a linkedResource object. +// Get a collection of resources linked to the task. // returns a LinkedResourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/linkedresource-get?view=graph-rest-1.0 func (m *ItemTodoListsItemTasksItemLinkedResourcesLinkedResourceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTodoListsItemTasksItemLinkedResourcesLinkedResourceItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LinkedResourceable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *ItemTodoListsItemTasksItemLinkedResourcesLinkedResourceItemRequestBuild } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LinkedResourceable), nil } -// Patch update the properties of a linkedResource object. +// Patch update the navigation property linkedResources in users // returns a LinkedResourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/linkedresource-update?view=graph-rest-1.0 func (m *ItemTodoListsItemTasksItemLinkedResourcesLinkedResourceItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LinkedResourceable, requestConfiguration *ItemTodoListsItemTasksItemLinkedResourcesLinkedResourceItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LinkedResourceable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *ItemTodoListsItemTasksItemLinkedResourcesLinkedResourceItemRequestBuild } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LinkedResourceable), nil } -// ToDeleteRequestInformation delete a linkedResource object. +// ToDeleteRequestInformation delete navigation property linkedResources for users // returns a *RequestInformation when successful func (m *ItemTodoListsItemTasksItemLinkedResourcesLinkedResourceItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTodoListsItemTasksItemLinkedResourcesLinkedResourceItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *ItemTodoListsItemTasksItemLinkedResourcesLinkedResourceItemRequestBuild requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a linkedResource object. +// ToGetRequestInformation a collection of resources linked to the task. // returns a *RequestInformation when successful func (m *ItemTodoListsItemTasksItemLinkedResourcesLinkedResourceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTodoListsItemTasksItemLinkedResourcesLinkedResourceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *ItemTodoListsItemTasksItemLinkedResourcesLinkedResourceItemRequestBuild requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a linkedResource object. +// ToPatchRequestInformation update the navigation property linkedResources in users // returns a *RequestInformation when successful func (m *ItemTodoListsItemTasksItemLinkedResourcesLinkedResourceItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LinkedResourceable, requestConfiguration *ItemTodoListsItemTasksItemLinkedResourcesLinkedResourceItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_todo_lists_item_tasks_item_linked_resources_request_builder.go b/users/item_todo_lists_item_tasks_item_linked_resources_request_builder.go index d43910b6d88..694a78d150f 100644 --- a/users/item_todo_lists_item_tasks_item_linked_resources_request_builder.go +++ b/users/item_todo_lists_item_tasks_item_linked_resources_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTodoListsItemTasksItemLinkedResourcesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTodoListsItemTasksItemLinkedResourcesRequestBuilderGetQueryParameters get information of one or more items in a partner application, based on which a specified task was created. The information is represented in a linkedResource object for each item. It includes an external ID for the item in the partner application, and if applicable, a deep link to that item in the application. +// ItemTodoListsItemTasksItemLinkedResourcesRequestBuilderGetQueryParameters a collection of resources linked to the task. type ItemTodoListsItemTasksItemLinkedResourcesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemTodoListsItemTasksItemLinkedResourcesRequestBuilder(rawUrl string, r func (m *ItemTodoListsItemTasksItemLinkedResourcesRequestBuilder) Count()(*ItemTodoListsItemTasksItemLinkedResourcesCountRequestBuilder) { return NewItemTodoListsItemTasksItemLinkedResourcesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get information of one or more items in a partner application, based on which a specified task was created. The information is represented in a linkedResource object for each item. It includes an external ID for the item in the partner application, and if applicable, a deep link to that item in the application. +// Get a collection of resources linked to the task. // returns a LinkedResourceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/todotask-list-linkedresources?view=graph-rest-1.0 func (m *ItemTodoListsItemTasksItemLinkedResourcesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTodoListsItemTasksItemLinkedResourcesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LinkedResourceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +96,9 @@ func (m *ItemTodoListsItemTasksItemLinkedResourcesRequestBuilder) Get(ctx contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LinkedResourceCollectionResponseable), nil } -// Post create a linkedResource object to associate a specified task with an item in a partner application. For example, you can associate a task with an email item in Outlook that spurred the task, and you can create a linkedResource object to track its association. You can also create a linkedResource object while creating a todoTask. +// Post create new navigation property to linkedResources for users // returns a LinkedResourceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/todotask-post-linkedresources?view=graph-rest-1.0 func (m *ItemTodoListsItemTasksItemLinkedResourcesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LinkedResourceable, requestConfiguration *ItemTodoListsItemTasksItemLinkedResourcesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LinkedResourceable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +116,7 @@ func (m *ItemTodoListsItemTasksItemLinkedResourcesRequestBuilder) Post(ctx conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LinkedResourceable), nil } -// ToGetRequestInformation get information of one or more items in a partner application, based on which a specified task was created. The information is represented in a linkedResource object for each item. It includes an external ID for the item in the partner application, and if applicable, a deep link to that item in the application. +// ToGetRequestInformation a collection of resources linked to the task. // returns a *RequestInformation when successful func (m *ItemTodoListsItemTasksItemLinkedResourcesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTodoListsItemTasksItemLinkedResourcesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +130,7 @@ func (m *ItemTodoListsItemTasksItemLinkedResourcesRequestBuilder) ToGetRequestIn requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a linkedResource object to associate a specified task with an item in a partner application. For example, you can associate a task with an email item in Outlook that spurred the task, and you can create a linkedResource object to track its association. You can also create a linkedResource object while creating a todoTask. +// ToPostRequestInformation create new navigation property to linkedResources for users // returns a *RequestInformation when successful func (m *ItemTodoListsItemTasksItemLinkedResourcesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.LinkedResourceable, requestConfiguration *ItemTodoListsItemTasksItemLinkedResourcesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_todo_lists_item_tasks_request_builder.go b/users/item_todo_lists_item_tasks_request_builder.go index ba91d5fb965..4dab759bc88 100644 --- a/users/item_todo_lists_item_tasks_request_builder.go +++ b/users/item_todo_lists_item_tasks_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTodoListsItemTasksRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTodoListsItemTasksRequestBuilderGetQueryParameters get the todoTask resources from the tasks navigation property of a specified todoTaskList. +// ItemTodoListsItemTasksRequestBuilderGetQueryParameters the tasks in this task list. Read-only. Nullable. type ItemTodoListsItemTasksRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *ItemTodoListsItemTasksRequestBuilder) Count()(*ItemTodoListsItemTasksCo func (m *ItemTodoListsItemTasksRequestBuilder) Delta()(*ItemTodoListsItemTasksDeltaRequestBuilder) { return NewItemTodoListsItemTasksDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the todoTask resources from the tasks navigation property of a specified todoTaskList. +// Get the tasks in this task list. Read-only. Nullable. // returns a TodoTaskCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/todotasklist-list-tasks?view=graph-rest-1.0 func (m *ItemTodoListsItemTasksRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTodoListsItemTasksRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TodoTaskCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *ItemTodoListsItemTasksRequestBuilder) Get(ctx context.Context, requestC } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TodoTaskCollectionResponseable), nil } -// Post create a new task object in a specified todoTaskList. +// Post create new navigation property to tasks for users // returns a TodoTaskable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/todotasklist-post-tasks?view=graph-rest-1.0 func (m *ItemTodoListsItemTasksRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TodoTaskable, requestConfiguration *ItemTodoListsItemTasksRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TodoTaskable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemTodoListsItemTasksRequestBuilder) Post(ctx context.Context, body ie } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TodoTaskable), nil } -// ToGetRequestInformation get the todoTask resources from the tasks navigation property of a specified todoTaskList. +// ToGetRequestInformation the tasks in this task list. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemTodoListsItemTasksRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTodoListsItemTasksRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ItemTodoListsItemTasksRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new task object in a specified todoTaskList. +// ToPostRequestInformation create new navigation property to tasks for users // returns a *RequestInformation when successful func (m *ItemTodoListsItemTasksRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TodoTaskable, requestConfiguration *ItemTodoListsItemTasksRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_todo_lists_item_tasks_todo_task_item_request_builder.go b/users/item_todo_lists_item_tasks_todo_task_item_request_builder.go index 0d9e11bd3ce..06fa969ddc4 100644 --- a/users/item_todo_lists_item_tasks_todo_task_item_request_builder.go +++ b/users/item_todo_lists_item_tasks_todo_task_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTodoListsItemTasksTodoTaskItemRequestBuilderDeleteRequestConfiguration // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTodoListsItemTasksTodoTaskItemRequestBuilderGetQueryParameters read the properties and relationships of a todoTask object. +// ItemTodoListsItemTasksTodoTaskItemRequestBuilderGetQueryParameters the tasks in this task list. Read-only. Nullable. type ItemTodoListsItemTasksTodoTaskItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -69,11 +69,8 @@ func NewItemTodoListsItemTasksTodoTaskItemRequestBuilder(rawUrl string, requestA urlParams["request-raw-url"] = rawUrl return NewItemTodoListsItemTasksTodoTaskItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a todoTask object. +// Delete delete navigation property tasks for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/todotask-delete?view=graph-rest-1.0 func (m *ItemTodoListsItemTasksTodoTaskItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTodoListsItemTasksTodoTaskItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,12 +90,9 @@ func (m *ItemTodoListsItemTasksTodoTaskItemRequestBuilder) Delete(ctx context.Co func (m *ItemTodoListsItemTasksTodoTaskItemRequestBuilder) Extensions()(*ItemTodoListsItemTasksItemExtensionsRequestBuilder) { return NewItemTodoListsItemTasksItemExtensionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of a todoTask object. +// Get the tasks in this task list. Read-only. Nullable. // returns a TodoTaskable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/todotask-get?view=graph-rest-1.0 func (m *ItemTodoListsItemTasksTodoTaskItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTodoListsItemTasksTodoTaskItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TodoTaskable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -121,12 +115,9 @@ func (m *ItemTodoListsItemTasksTodoTaskItemRequestBuilder) Get(ctx context.Conte func (m *ItemTodoListsItemTasksTodoTaskItemRequestBuilder) LinkedResources()(*ItemTodoListsItemTasksItemLinkedResourcesRequestBuilder) { return NewItemTodoListsItemTasksItemLinkedResourcesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of a todoTask object. +// Patch update the navigation property tasks in users // returns a TodoTaskable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/todotask-update?view=graph-rest-1.0 func (m *ItemTodoListsItemTasksTodoTaskItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TodoTaskable, requestConfiguration *ItemTodoListsItemTasksTodoTaskItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TodoTaskable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -144,7 +135,7 @@ func (m *ItemTodoListsItemTasksTodoTaskItemRequestBuilder) Patch(ctx context.Con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TodoTaskable), nil } -// ToDeleteRequestInformation deletes a todoTask object. +// ToDeleteRequestInformation delete navigation property tasks for users // returns a *RequestInformation when successful func (m *ItemTodoListsItemTasksTodoTaskItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTodoListsItemTasksTodoTaskItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -155,7 +146,7 @@ func (m *ItemTodoListsItemTasksTodoTaskItemRequestBuilder) ToDeleteRequestInform requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a todoTask object. +// ToGetRequestInformation the tasks in this task list. Read-only. Nullable. // returns a *RequestInformation when successful func (m *ItemTodoListsItemTasksTodoTaskItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTodoListsItemTasksTodoTaskItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -169,7 +160,7 @@ func (m *ItemTodoListsItemTasksTodoTaskItemRequestBuilder) ToGetRequestInformati requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a todoTask object. +// ToPatchRequestInformation update the navigation property tasks in users // returns a *RequestInformation when successful func (m *ItemTodoListsItemTasksTodoTaskItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TodoTaskable, requestConfiguration *ItemTodoListsItemTasksTodoTaskItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_todo_lists_request_builder.go b/users/item_todo_lists_request_builder.go index 0af3d089b25..6e606b7a561 100644 --- a/users/item_todo_lists_request_builder.go +++ b/users/item_todo_lists_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTodoListsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTodoListsRequestBuilderGetQueryParameters get a list of the todoTaskList objects and their properties. +// ItemTodoListsRequestBuilderGetQueryParameters the task lists in the users mailbox. type ItemTodoListsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -81,12 +81,9 @@ func (m *ItemTodoListsRequestBuilder) Count()(*ItemTodoListsCountRequestBuilder) func (m *ItemTodoListsRequestBuilder) Delta()(*ItemTodoListsDeltaRequestBuilder) { return NewItemTodoListsDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the todoTaskList objects and their properties. +// Get the task lists in the users mailbox. // returns a TodoTaskListCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/todo-list-lists?view=graph-rest-1.0 func (m *ItemTodoListsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTodoListsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TodoTaskListCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *ItemTodoListsRequestBuilder) Get(ctx context.Context, requestConfigurat } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TodoTaskListCollectionResponseable), nil } -// Post create a new lists object. +// Post create new navigation property to lists for users // returns a TodoTaskListable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/todo-post-lists?view=graph-rest-1.0 func (m *ItemTodoListsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TodoTaskListable, requestConfiguration *ItemTodoListsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TodoTaskListable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *ItemTodoListsRequestBuilder) Post(ctx context.Context, body ie233ee762e } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TodoTaskListable), nil } -// ToGetRequestInformation get a list of the todoTaskList objects and their properties. +// ToGetRequestInformation the task lists in the users mailbox. // returns a *RequestInformation when successful func (m *ItemTodoListsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTodoListsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *ItemTodoListsRequestBuilder) ToGetRequestInformation(ctx context.Contex requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new lists object. +// ToPostRequestInformation create new navigation property to lists for users // returns a *RequestInformation when successful func (m *ItemTodoListsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TodoTaskListable, requestConfiguration *ItemTodoListsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_todo_lists_todo_task_list_item_request_builder.go b/users/item_todo_lists_todo_task_list_item_request_builder.go index 35692e64282..2bba19b73de 100644 --- a/users/item_todo_lists_todo_task_list_item_request_builder.go +++ b/users/item_todo_lists_todo_task_list_item_request_builder.go @@ -18,7 +18,7 @@ type ItemTodoListsTodoTaskListItemRequestBuilderDeleteRequestConfiguration struc // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTodoListsTodoTaskListItemRequestBuilderGetQueryParameters read the properties and relationships of a todoTaskList object. +// ItemTodoListsTodoTaskListItemRequestBuilderGetQueryParameters the task lists in the users mailbox. type ItemTodoListsTodoTaskListItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewItemTodoListsTodoTaskListItemRequestBuilder(rawUrl string, requestAdapte urlParams["request-raw-url"] = rawUrl return NewItemTodoListsTodoTaskListItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete deletes a todoTaskList object. +// Delete delete navigation property lists for users // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/todotasklist-delete?view=graph-rest-1.0 func (m *ItemTodoListsTodoTaskListItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTodoListsTodoTaskListItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +75,9 @@ func (m *ItemTodoListsTodoTaskListItemRequestBuilder) Delete(ctx context.Context func (m *ItemTodoListsTodoTaskListItemRequestBuilder) Extensions()(*ItemTodoListsItemExtensionsRequestBuilder) { return NewItemTodoListsItemExtensionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get read the properties and relationships of a todoTaskList object. +// Get the task lists in the users mailbox. // returns a TodoTaskListable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/todotasklist-get?view=graph-rest-1.0 func (m *ItemTodoListsTodoTaskListItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTodoListsTodoTaskListItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TodoTaskListable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,12 +95,9 @@ func (m *ItemTodoListsTodoTaskListItemRequestBuilder) Get(ctx context.Context, r } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TodoTaskListable), nil } -// Patch update the properties of a todoTaskList object. +// Patch update the navigation property lists in users // returns a TodoTaskListable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/todotasklist-update?view=graph-rest-1.0 func (m *ItemTodoListsTodoTaskListItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TodoTaskListable, requestConfiguration *ItemTodoListsTodoTaskListItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TodoTaskListable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -129,7 +120,7 @@ func (m *ItemTodoListsTodoTaskListItemRequestBuilder) Patch(ctx context.Context, func (m *ItemTodoListsTodoTaskListItemRequestBuilder) Tasks()(*ItemTodoListsItemTasksRequestBuilder) { return NewItemTodoListsItemTasksRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation deletes a todoTaskList object. +// ToDeleteRequestInformation delete navigation property lists for users // returns a *RequestInformation when successful func (m *ItemTodoListsTodoTaskListItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTodoListsTodoTaskListItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -140,7 +131,7 @@ func (m *ItemTodoListsTodoTaskListItemRequestBuilder) ToDeleteRequestInformation requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a todoTaskList object. +// ToGetRequestInformation the task lists in the users mailbox. // returns a *RequestInformation when successful func (m *ItemTodoListsTodoTaskListItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTodoListsTodoTaskListItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -154,7 +145,7 @@ func (m *ItemTodoListsTodoTaskListItemRequestBuilder) ToGetRequestInformation(ct requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a todoTaskList object. +// ToPatchRequestInformation update the navigation property lists in users // returns a *RequestInformation when successful func (m *ItemTodoListsTodoTaskListItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TodoTaskListable, requestConfiguration *ItemTodoListsTodoTaskListItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_transitive_member_of_request_builder.go b/users/item_transitive_member_of_request_builder.go index 333ac10d897..7f9f4b5c356 100644 --- a/users/item_transitive_member_of_request_builder.go +++ b/users/item_transitive_member_of_request_builder.go @@ -72,9 +72,6 @@ func (m *ItemTransitiveMemberOfRequestBuilder) Count()(*ItemTransitiveMemberOfCo // Get the groups, including nested groups and directory roles that a user is a member of. Nullable. // returns a DirectoryObjectCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/user-list-transitivememberof?view=graph-rest-1.0 func (m *ItemTransitiveMemberOfRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTransitiveMemberOfRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { diff --git a/users/item_translate_exchange_ids_request_builder.go b/users/item_translate_exchange_ids_request_builder.go index 89c0eaa374b..ecf9fa11c15 100644 --- a/users/item_translate_exchange_ids_request_builder.go +++ b/users/item_translate_exchange_ids_request_builder.go @@ -36,7 +36,7 @@ func NewItemTranslateExchangeIdsRequestBuilder(rawUrl string, requestAdapter i2a // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/user-translateexchangeids?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/user-translateexchangeids?view=graph-rest-beta func (m *ItemTranslateExchangeIdsRequestBuilder) Post(ctx context.Context, body ItemTranslateExchangeIdsPostRequestBodyable, requestConfiguration *ItemTranslateExchangeIdsRequestBuilderPostRequestConfiguration)(ItemTranslateExchangeIdsResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -59,7 +59,7 @@ func (m *ItemTranslateExchangeIdsRequestBuilder) Post(ctx context.Context, body // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/user-translateexchangeids?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/user-translateexchangeids?view=graph-rest-beta func (m *ItemTranslateExchangeIdsRequestBuilder) PostAsTranslateExchangeIdsPostResponse(ctx context.Context, body ItemTranslateExchangeIdsPostRequestBodyable, requestConfiguration *ItemTranslateExchangeIdsRequestBuilderPostRequestConfiguration)(ItemTranslateExchangeIdsPostResponseable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/item_usage_rights_request_builder.go b/users/item_usage_rights_request_builder.go index 6198267d058..4e2c6725a22 100644 --- a/users/item_usage_rights_request_builder.go +++ b/users/item_usage_rights_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemUsageRightsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemUsageRightsRequestBuilderGetQueryParameters retrieve a list of usageRight objects for a given user. +// ItemUsageRightsRequestBuilderGetQueryParameters represents the usage rights a user has been granted. type ItemUsageRightsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewItemUsageRightsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7da func (m *ItemUsageRightsRequestBuilder) Count()(*ItemUsageRightsCountRequestBuilder) { return NewItemUsageRightsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of usageRight objects for a given user. +// Get represents the usage rights a user has been granted. // returns a UsageRightCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/user-list-usagerights?view=graph-rest-1.0 func (m *ItemUsageRightsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemUsageRightsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UsageRightCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +116,7 @@ func (m *ItemUsageRightsRequestBuilder) Post(ctx context.Context, body ie233ee76 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UsageRightable), nil } -// ToGetRequestInformation retrieve a list of usageRight objects for a given user. +// ToGetRequestInformation represents the usage rights a user has been granted. // returns a *RequestInformation when successful func (m *ItemUsageRightsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemUsageRightsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/user_item_request_builder.go b/users/user_item_request_builder.go index 5cdcfcfa88e..aa1ed1e8ffb 100644 --- a/users/user_item_request_builder.go +++ b/users/user_item_request_builder.go @@ -178,7 +178,7 @@ func (m *UserItemRequestBuilder) CreatedObjects()(*ItemCreatedObjectsRequestBuil // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/user-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/user-delete?view=graph-rest-beta func (m *UserItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *UserItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -293,7 +293,7 @@ func (m *UserItemRequestBuilder) FollowedSites()(*ItemFollowedSitesRequestBuilde // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/user-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/user-get?view=graph-rest-beta func (m *UserItemRequestBuilder) Get(ctx context.Context, requestConfiguration *UserItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Userable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -501,7 +501,7 @@ func (m *UserItemRequestBuilder) OwnedObjects()(*ItemOwnedObjectsRequestBuilder) // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/user-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/user-update?view=graph-rest-beta func (m *UserItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Userable, requestConfiguration *UserItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Userable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/users_request_builder.go b/users/users_request_builder.go index 9c4e9c023b4..a13a2449f76 100644 --- a/users/users_request_builder.go +++ b/users/users_request_builder.go @@ -84,7 +84,7 @@ func (m *UsersRequestBuilder) Delta()(*DeltaRequestBuilder) { // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/user-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/user-list?view=graph-rest-beta func (m *UsersRequestBuilder) Get(ctx context.Context, requestConfiguration *UsersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -122,7 +122,7 @@ func (m *UsersRequestBuilder) GetUserOwnedObjects()(*GetUserOwnedObjectsRequestB // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/user-post-users?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/user-post-users?view=graph-rest-beta func (m *UsersRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Userable, requestConfiguration *UsersRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Userable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/validate_password_request_builder.go b/users/validate_password_request_builder.go index c4aa157401e..f38abf983dc 100644 --- a/users/validate_password_request_builder.go +++ b/users/validate_password_request_builder.go @@ -36,7 +36,7 @@ func NewValidatePasswordRequestBuilder(rawUrl string, requestAdapter i2ae4187f7d // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/user-validatepassword?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/user-validatepassword?view=graph-rest-beta func (m *ValidatePasswordRequestBuilder) Post(ctx context.Context, body ValidatePasswordPostRequestBodyable, requestConfiguration *ValidatePasswordRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.PasswordValidationInformationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/users/validate_properties_request_builder.go b/users/validate_properties_request_builder.go index bdc2fe4325f..ff71f7bab30 100644 --- a/users/validate_properties_request_builder.go +++ b/users/validate_properties_request_builder.go @@ -34,7 +34,7 @@ func NewValidatePropertiesRequestBuilder(rawUrl string, requestAdapter i2ae4187f // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-validateproperties?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-validateproperties?view=graph-rest-beta func (m *ValidatePropertiesRequestBuilder) Post(ctx context.Context, body ValidatePropertiesPostRequestBodyable, requestConfiguration *ValidatePropertiesRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/workplace/sensor_devices_ingest_telemetry_request_builder.go b/workplace/sensor_devices_ingest_telemetry_request_builder.go index 43bdea64390..27621132556 100644 --- a/workplace/sensor_devices_ingest_telemetry_request_builder.go +++ b/workplace/sensor_devices_ingest_telemetry_request_builder.go @@ -34,7 +34,7 @@ func NewSensorDevicesIngestTelemetryRequestBuilder(rawUrl string, requestAdapter // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/workplacesensordevice-ingesttelemetry?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/workplacesensordevice-ingesttelemetry?view=graph-rest-beta func (m *SensorDevicesIngestTelemetryRequestBuilder) Post(ctx context.Context, body SensorDevicesIngestTelemetryPostRequestBodyable, requestConfiguration *SensorDevicesIngestTelemetryRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { diff --git a/workplace/sensor_devices_request_builder.go b/workplace/sensor_devices_request_builder.go index 487d0123e64..7ef89c1be26 100644 --- a/workplace/sensor_devices_request_builder.go +++ b/workplace/sensor_devices_request_builder.go @@ -11,7 +11,7 @@ import ( type SensorDevicesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// SensorDevicesRequestBuilderGetQueryParameters get a list of all workplace sensor devices created for a tenant. +// SensorDevicesRequestBuilderGetQueryParameters a collection of sensor devices. type SensorDevicesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,9 @@ func NewSensorDevicesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee func (m *SensorDevicesRequestBuilder) Count()(*SensorDevicesCountRequestBuilder) { return NewSensorDevicesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of all workplace sensor devices created for a tenant. +// Get a collection of sensor devices. // returns a WorkplaceSensorDeviceCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/workplace-list-sensordevices?view=graph-rest-1.0 func (m *SensorDevicesRequestBuilder) Get(ctx context.Context, requestConfiguration *SensorDevicesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkplaceSensorDeviceCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -104,12 +101,9 @@ func (m *SensorDevicesRequestBuilder) Get(ctx context.Context, requestConfigurat func (m *SensorDevicesRequestBuilder) IngestTelemetry()(*SensorDevicesIngestTelemetryRequestBuilder) { return NewSensorDevicesIngestTelemetryRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Post create a new workplace sensor device. +// Post create new navigation property to sensorDevices for workplace // returns a WorkplaceSensorDeviceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/workplace-post-sensordevices?view=graph-rest-1.0 func (m *SensorDevicesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkplaceSensorDeviceable, requestConfiguration *SensorDevicesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkplaceSensorDeviceable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +121,7 @@ func (m *SensorDevicesRequestBuilder) Post(ctx context.Context, body ie233ee762e } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkplaceSensorDeviceable), nil } -// ToGetRequestInformation get a list of all workplace sensor devices created for a tenant. +// ToGetRequestInformation a collection of sensor devices. // returns a *RequestInformation when successful func (m *SensorDevicesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SensorDevicesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -141,7 +135,7 @@ func (m *SensorDevicesRequestBuilder) ToGetRequestInformation(ctx context.Contex requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new workplace sensor device. +// ToPostRequestInformation create new navigation property to sensorDevices for workplace // returns a *RequestInformation when successful func (m *SensorDevicesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkplaceSensorDeviceable, requestConfiguration *SensorDevicesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/workplace/sensor_devices_with_device_id_request_builder.go b/workplace/sensor_devices_with_device_id_request_builder.go index f9af7628573..630b62dbea0 100644 --- a/workplace/sensor_devices_with_device_id_request_builder.go +++ b/workplace/sensor_devices_with_device_id_request_builder.go @@ -18,7 +18,7 @@ type SensorDevicesWithDeviceIdRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// SensorDevicesWithDeviceIdRequestBuilderGetQueryParameters get the properties of a workplace sensor device, including tags, MAC address, sensors, and more. +// SensorDevicesWithDeviceIdRequestBuilderGetQueryParameters a collection of sensor devices. type SensorDevicesWithDeviceIdRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,11 +57,8 @@ func NewSensorDevicesWithDeviceIdRequestBuilder(rawUrl string, requestAdapter i2 urlParams["request-raw-url"] = rawUrl return NewSensorDevicesWithDeviceIdRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Delete delete a workplace sensor device. +// Delete delete navigation property sensorDevices for workplace // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/workplacesensordevice-delete?view=graph-rest-1.0 func (m *SensorDevicesWithDeviceIdRequestBuilder) Delete(ctx context.Context, requestConfiguration *SensorDevicesWithDeviceIdRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -76,12 +73,9 @@ func (m *SensorDevicesWithDeviceIdRequestBuilder) Delete(ctx context.Context, re } return nil } -// Get get the properties of a workplace sensor device, including tags, MAC address, sensors, and more. +// Get a collection of sensor devices. // returns a WorkplaceSensorDeviceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/workplacesensordevice-get?view=graph-rest-1.0 func (m *SensorDevicesWithDeviceIdRequestBuilder) Get(ctx context.Context, requestConfiguration *SensorDevicesWithDeviceIdRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkplaceSensorDeviceable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,12 +93,9 @@ func (m *SensorDevicesWithDeviceIdRequestBuilder) Get(ctx context.Context, reque } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkplaceSensorDeviceable), nil } -// Patch update the properties of a workplace sensor device. +// Patch update the navigation property sensorDevices in workplace // returns a WorkplaceSensorDeviceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/workplacesensordevice-update?view=graph-rest-1.0 func (m *SensorDevicesWithDeviceIdRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkplaceSensorDeviceable, requestConfiguration *SensorDevicesWithDeviceIdRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkplaceSensorDeviceable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -122,7 +113,7 @@ func (m *SensorDevicesWithDeviceIdRequestBuilder) Patch(ctx context.Context, bod } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkplaceSensorDeviceable), nil } -// ToDeleteRequestInformation delete a workplace sensor device. +// ToDeleteRequestInformation delete navigation property sensorDevices for workplace // returns a *RequestInformation when successful func (m *SensorDevicesWithDeviceIdRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *SensorDevicesWithDeviceIdRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +124,7 @@ func (m *SensorDevicesWithDeviceIdRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties of a workplace sensor device, including tags, MAC address, sensors, and more. +// ToGetRequestInformation a collection of sensor devices. // returns a *RequestInformation when successful func (m *SensorDevicesWithDeviceIdRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SensorDevicesWithDeviceIdRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -147,7 +138,7 @@ func (m *SensorDevicesWithDeviceIdRequestBuilder) ToGetRequestInformation(ctx co requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a workplace sensor device. +// ToPatchRequestInformation update the navigation property sensorDevices in workplace // returns a *RequestInformation when successful func (m *SensorDevicesWithDeviceIdRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkplaceSensorDeviceable, requestConfiguration *SensorDevicesWithDeviceIdRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/workplace/sensor_devices_workplace_sensor_device_item_request_builder.go b/workplace/sensor_devices_workplace_sensor_device_item_request_builder.go index ccc46edb1f6..85d25a792a6 100644 --- a/workplace/sensor_devices_workplace_sensor_device_item_request_builder.go +++ b/workplace/sensor_devices_workplace_sensor_device_item_request_builder.go @@ -18,7 +18,7 @@ type SensorDevicesWorkplaceSensorDeviceItemRequestBuilderDeleteRequestConfigurat // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// SensorDevicesWorkplaceSensorDeviceItemRequestBuilderGetQueryParameters get the properties of a workplace sensor device, including tags, MAC address, sensors, and more. +// SensorDevicesWorkplaceSensorDeviceItemRequestBuilderGetQueryParameters a collection of sensor devices. type SensorDevicesWorkplaceSensorDeviceItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,8 @@ func NewSensorDevicesWorkplaceSensorDeviceItemRequestBuilder(rawUrl string, requ urlParams["request-raw-url"] = rawUrl return NewSensorDevicesWorkplaceSensorDeviceItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a workplace sensor device. +// Delete delete navigation property sensorDevices for workplace // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/workplacesensordevice-delete?view=graph-rest-1.0 func (m *SensorDevicesWorkplaceSensorDeviceItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *SensorDevicesWorkplaceSensorDeviceItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +70,9 @@ func (m *SensorDevicesWorkplaceSensorDeviceItemRequestBuilder) Delete(ctx contex } return nil } -// Get get the properties of a workplace sensor device, including tags, MAC address, sensors, and more. +// Get a collection of sensor devices. // returns a WorkplaceSensorDeviceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/workplacesensordevice-get?view=graph-rest-1.0 func (m *SensorDevicesWorkplaceSensorDeviceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *SensorDevicesWorkplaceSensorDeviceItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkplaceSensorDeviceable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,12 +90,9 @@ func (m *SensorDevicesWorkplaceSensorDeviceItemRequestBuilder) Get(ctx context.C } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkplaceSensorDeviceable), nil } -// Patch update the properties of a workplace sensor device. +// Patch update the navigation property sensorDevices in workplace // returns a WorkplaceSensorDeviceable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/workplacesensordevice-update?view=graph-rest-1.0 func (m *SensorDevicesWorkplaceSensorDeviceItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkplaceSensorDeviceable, requestConfiguration *SensorDevicesWorkplaceSensorDeviceItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkplaceSensorDeviceable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +110,7 @@ func (m *SensorDevicesWorkplaceSensorDeviceItemRequestBuilder) Patch(ctx context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkplaceSensorDeviceable), nil } -// ToDeleteRequestInformation delete a workplace sensor device. +// ToDeleteRequestInformation delete navigation property sensorDevices for workplace // returns a *RequestInformation when successful func (m *SensorDevicesWorkplaceSensorDeviceItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *SensorDevicesWorkplaceSensorDeviceItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +121,7 @@ func (m *SensorDevicesWorkplaceSensorDeviceItemRequestBuilder) ToDeleteRequestIn requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties of a workplace sensor device, including tags, MAC address, sensors, and more. +// ToGetRequestInformation a collection of sensor devices. // returns a *RequestInformation when successful func (m *SensorDevicesWorkplaceSensorDeviceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SensorDevicesWorkplaceSensorDeviceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,7 +135,7 @@ func (m *SensorDevicesWorkplaceSensorDeviceItemRequestBuilder) ToGetRequestInfor requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a workplace sensor device. +// ToPatchRequestInformation update the navigation property sensorDevices in workplace // returns a *RequestInformation when successful func (m *SensorDevicesWorkplaceSensorDeviceItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkplaceSensorDeviceable, requestConfiguration *SensorDevicesWorkplaceSensorDeviceItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) From f6af4946ae78970267fb47b40f8742d8b1a33fd1 Mon Sep 17 00:00:00 2001 From: rkodev <43806892+rkodev@users.noreply.github.com> Date: Thu, 25 Apr 2024 11:38:18 +0300 Subject: [PATCH 2/4] Fix build --- ...indows.go => apps_installation_options_for_windows_escaped.go} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename models/{apps_installation_options_for_windows.go => apps_installation_options_for_windows_escaped.go} (100%) diff --git a/models/apps_installation_options_for_windows.go b/models/apps_installation_options_for_windows_escaped.go similarity index 100% rename from models/apps_installation_options_for_windows.go rename to models/apps_installation_options_for_windows_escaped.go From 744e482260eeaf3947705c54ca2c14680b71d14e Mon Sep 17 00:00:00 2001 From: rkodev <43806892+rkodev@users.noreply.github.com> Date: Thu, 25 Apr 2024 11:39:26 +0300 Subject: [PATCH 3/4] Update changelog --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index d2fd51a850b..d662ebd3bac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +## [0.100.0]- 2024-04-25 + +### Changed + +- Weekly generation. + ## [0.99.0]- 2024-04-16 ### Changed From d1c433b12438916e29c5e00ff3cac126ab4fe79d Mon Sep 17 00:00:00 2001 From: rkodev <43806892+rkodev@users.noreply.github.com> Date: Thu, 25 Apr 2024 11:41:47 +0300 Subject: [PATCH 4/4] Fix build --- models/{admin_windows.go => admin_windows_escaped.go} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename models/{admin_windows.go => admin_windows_escaped.go} (100%) diff --git a/models/admin_windows.go b/models/admin_windows_escaped.go similarity index 100% rename from models/admin_windows.go rename to models/admin_windows_escaped.go